[go: up one dir, main page]

CN103379014A - Data communication method between test terminals and test server - Google Patents

Data communication method between test terminals and test server Download PDF

Info

Publication number
CN103379014A
CN103379014A CN2012101073161A CN201210107316A CN103379014A CN 103379014 A CN103379014 A CN 103379014A CN 2012101073161 A CN2012101073161 A CN 2012101073161A CN 201210107316 A CN201210107316 A CN 201210107316A CN 103379014 A CN103379014 A CN 103379014A
Authority
CN
China
Prior art keywords
email
test terminal
mail
testing server
test
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2012101073161A
Other languages
Chinese (zh)
Other versions
CN103379014B (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.)
BEIJING HUAHENG MINGSHENG TECHNOLOGY DEVELOPMENT Co Ltd
Original Assignee
BEIJING HUAHENG MINGSHENG TECHNOLOGY DEVELOPMENT 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 BEIJING HUAHENG MINGSHENG TECHNOLOGY DEVELOPMENT Co Ltd filed Critical BEIJING HUAHENG MINGSHENG TECHNOLOGY DEVELOPMENT Co Ltd
Priority to CN201210107316.1A priority Critical patent/CN103379014B/en
Publication of CN103379014A publication Critical patent/CN103379014A/en
Application granted granted Critical
Publication of CN103379014B publication Critical patent/CN103379014B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a data communication method between test terminals and a test server in a wireless network automatic test system. The method is in combination with electronic mails; a plurality of test terminals share a same electronic mail address; a mail template at least including fields used for distinguishing the test terminals is arranged, wherein the test terminals and the test server all send and receive electronic mails based on the mail template; the test terminals are all in communication with the test server based on the electronic mail address and based on the fields for distinguishing the test terminals, determine which test terminal an electronic mail relates to. According to the invention, communication between the test terminals and the test server avoids a process of setting an IP (Internet Protocol) address for a server in a preset communication mode and the influence to system deployment caused by incapability of obtaining effective IP addresses frequently occurring in a system deployment process.

Description

Data communications method between a kind of test terminal and the testing server
Technical field
The present invention relates to data communication field, the method for particularly carrying out data communication between a plurality of test terminals and the testing server in a kind of automatic testing system for wireless network.
Background technology
In the present automatic testing system for wireless network, data interaction between foreground (being the test terminal) and the backstage (being testing server or Control Server end) (comprising that control information issues and uploading of image data etc.) is normally carried out based on the data channel of available public's wireless network, such as HTTP (HyperText Transfer Protocol, HTML (Hypertext Markup Language)) downloads and FTP (File Transfer Protocol, file transfer protocol (FTP)) uploads, the prerequisite that realizes the method be server end should have one fixing can be from global I P (Internet Protocol, the Internet protocol) address of external reference.Because current IP address is more and more rare, often appearance can't be obtained the situation of valid ip address thereby also be had influence on the deployment of this type systematic in the process of disposing.
Summary of the invention
In view of this, the invention provides a kind of in automatic testing system for wireless network in conjunction with the test terminal of E-mail mode and the data communications method between the testing server, so that the communication between test terminal and the testing server has got around the process that must set to server the IP address in the existing communication mode.
Technical scheme of the present invention is achieved in that
Data communications method between a kind of test terminal and the testing server comprises:
Steps A: before carrying out data communication between test terminal and the testing server, generate the mail masterplate that comprises at least for the field of distinguishing tests terminal, and all test terminals are all arranged same e-mail address;
Step B: the generation Email is all edited with the data based described mail masterplate that will send to testing server in all test terminals, and sends to described testing server based on set same e-mail address;
Step C: all test terminals all receive the Email that described testing server is replied based on the e-mail address of described test terminal, and according to the field of the distinguishing tests terminal in the received Email, determine that whether this Email is to send to its oneself Email, if then this Email is processed, otherwise do not process this Email.
Further, testing server described in the step C comprises based on the Email of the e-mail address answer of described test terminal:
Step D: described testing server receives the Email that all test terminals send based on set same e-mail address, and according to the field of the distinguishing tests terminal in the received Email, determine to send the test terminal of Email, and the data in the Email are processed;
Step e: testing server is edited the generation Email with the data based described mail masterplate that will send to the test terminal, and sends to set same e-mail address.
Further, described mail masterplate also comprises:
Initiation, response identification field are used for the difference Email for initiating mail or responding mail;
Mutual ID (Identity, identify label number) field is used for Email is identified;
The time field is for the initiation time of sign Email.
Further, described field for the distinguishing tests terminal is the device numbering field; Described device numbering is intrinsic coding, IMEI code (the International Mobile Equipment Identity of test terminal, the International Mobile Equipment Identity code), MDN code (Mobile Directory Number, Mobile Directory Number) or enterprises are to the coding of described test terminal.
Further, described step B specifically comprises:
Step b1: data collection task is all independently carried out in all test terminals;
Step b2: the generation Email is edited with the data based mail masterplate of himself device numbering field that comprises that gathers in the test terminal;
Step b3: the test terminal sends the Email that generates by set same e-mail address to testing server.
Further, described step C comprises:
Step c1: all test terminals all receive the Email that described testing server sends based on set same e-mail address;
Step c2: the test terminal determines that according to the device numbering field in the received Email whether this mail is the Email that sends to himself, if then this Email content is processed, otherwise does not process this Email content.
Further, described step D specifically comprises:
Steps d 1: testing server receives the Email that all test terminals send based on set same e-mail address;
Steps d 2: testing server determines to send the test terminal of this Email according to the device numbering field in the received Email;
Steps d 3: testing server is processed the data that the test terminal that comprises in this Email gathers.
Further, described step e specifically comprises:
Step e1: testing server is edited the generation Email with the data based mail masterplate of the device numbering field of the test terminal that receives these data that comprises that will send to the test terminal;
Step e2: testing server sends to set same e-mail address with this Email.
Further, in described step B, step C, step D and the step e: if described Email is the initiation mail, the then initiation of this Email, response identification field are REQUEST (initiation); If described Email is the response mail, the then initiation of this Email, response identification field are RESPONSE (response).
Further, among the described step C: if initiation, response identification field that the received described testing server in described test terminal sends in its oneself the Email are REQUEST, then described test terminal based on described mail masterplate generate comprise initiation, the response identification field is the response mail of RESPONSE, and sends to described testing server based on set same e-mail address.
In the described step e: if initiation, response identification field in the received Email of described testing server are REQUEST, then described testing server generates that to comprise initiation, response identification field be RESPONSE with the device numbering field contents with the identical response mail of the device numbering field contents of received Email based on described mail masterplate, and sends to described test terminal based on set same e-mail address.
Can find out from such scheme, the present invention in automatic testing system for wireless network in conjunction with the test terminal of E-mail mode and the data communications method between the testing server, must set to server the process of IP address so that the communication between test terminal and the testing server has got around in the existing communication mode, thereby avoid in the process of disposing often appearance can't obtain the situation of valid ip address and have influence on the problem that this type systematic is disposed.
In addition; in traditional automatic testing system for wireless network, dispose operator's local side machine room of testing server, usually can dispose the multiple tracks fire compartment wall; but still can conduct interviews from the outside because of this testing server, thereby bring security risk can for the internal network of operator.And the present invention adopts E-mail mode, and testing server can be deployed in the local side machine room of operator like this, thereby brings security risk can for the internal network of operator; In addition, E-mail mode among the present invention is a kind of improved mode, namely same e-mail address is all adopted in all test terminals, and setting contains the E-mail subject with set form or the content of distinguishing tests terminal, thereby realized the data communication of the many test terminals under the single addresses of items of mail, adopt E-mail subject or the content of set form to guarantee sender (test terminal, testing server) mail can be by the correct recipient's (testing server that is delivered to, the test terminal) side has guaranteed the integrality of data.
Description of drawings
Fig. 1 is the automatic testing system for wireless network structure chart among the present invention;
Fig. 2 is the reciprocal process schematic diagram between test terminal provided by the invention and the testing server;
Fig. 3 is the flow chart of steps that the test terminal sends data among the present invention to testing server;
Fig. 4 is the flow chart of steps that testing server sends data among the present invention to the test terminal.
In the accompanying drawing, the component names of each label representative is as follows:
1, testing server, 2, the test terminal, a1~a5, step, b1~b3, step
Embodiment
For making purpose of the present invention, technical scheme and advantage clearer, referring to the accompanying drawing embodiment that develops simultaneously, the present invention is described in further detail.
E-mail system is to utilize computer network (internet) to carry out a kind of mode of communication, each user has a unique e-mail address, the sender sends to the mail of finishing writing by Mail Clients or WEB (network) client sender's electronic post office, sender's electronic post office is forwarded to recipient's electronic post office with mail, and the recipient fetches mail by client or WEB client.Present mailing system by e-mail address as unique sign, realized the data communication between the sole user and be widely used, do not guaranteed that sender's mail can correctly be delivered to recipient one side but present mailing system defines effective mechanism.Data communications method between test terminal of the present invention and the testing server is applied to automatic testing system for wireless network by E-mail mode, thereby has got around the process that must set to server the IP address in the existing communication mode.
As shown in Figure 1, automatic testing system for wireless network among the present invention comprises testing server 1 and corresponding and carry out a plurality of test terminals 2 of information interaction with it, comprises the first test terminal, the second test terminal, the 3rd test terminal in the test terminal 2 ... the N test terminal.Among Fig. 1, the test terminal is N, N 〉=1 wherein, and the quantity of test terminal decide according to the needs of automatic testing system for wireless network, and is as illustrative purposes only shown in Figure 1, is not used in restriction content of the present invention.Among Fig. 1, test terminal 2 gathers the data message of the part of detecting of wanting in the tested network, and the data message that gathers sent to testing server 1,1 pair of test terminal of testing server, 2 collected next data messages receive and Treatment Analysis, checking the operation conditions of each part of detecting in the tested network, and to the test terminal 2 transmission information.
Method Email-based mode provided by the invention, detailed process is as follows.
Steps A: before carrying out data communication between test terminal and the testing server, generate the mail masterplate that comprises at least for the field of distinguishing tests terminal, and all test terminals are all arranged same e-mail address.
Wherein, described mail masterplate has guaranteed that the Email that comes and goes between test terminal and the testing server all has unified form, is convenient to test terminal and testing server the Email of transmitting-receiving is distinguished; The field that is used for the distinguishing tests terminal can guarantee that the Email institute that can both receive and dispatch with himself based on all test terminals of same e-mail address is corresponding, and allow testing server distinguish the transmitting-receiving test terminal of Email.
Step B: all test terminals all will will send to the data of testing server and send to described testing server based on set same e-mail address.
Step C: all test terminals all receive the Email that described testing server is replied based on the e-mail address of described test terminal, and according to the field of the distinguishing tests terminal in the received Email, determine that whether this Email is to send to its oneself Email, if then this Email is processed, otherwise do not process this Email.
Wherein, step B further comprises:
Step b1: data collection task is all independently carried out in all test terminals;
Step b2: the generation Email is edited with the data based mail masterplate of himself device numbering field that comprises that gathers in the test terminal;
Step b3: the test terminal sends the Email that generates by set same e-mail address to testing server.
Step C further comprises:
Step c1: all test terminals all receive the Email that described testing server sends based on set same e-mail address;
Step c2: the test terminal determines that according to the device numbering field in the received Email whether this mail is the Email that sends to himself, if then this Email content is processed, otherwise does not process this Email content.
The Email that testing server described in the step C is replied based on the e-mail address of described test terminal comprises:
Step D: described testing server receives the Email that all test terminals send based on set same e-mail address, and according to the field of the distinguishing tests terminal in the received Email, determine to send the test terminal of Email, and the data in the Email are processed;
Step e: testing server is edited the generation Email with the data based described mail masterplate that will send to the test terminal, and sends to set same e-mail address.
Wherein step D further comprises:
Steps d 1: testing server receives the Email that all test terminals send based on set same e-mail address;
Steps d 2: testing server determines to send the test terminal of this Email according to the device numbering field in the received Email;
Steps d 3: testing server is processed the data that the test terminal that comprises in this Email gathers.
Step e further comprises:
Step e1: testing server is edited the generation Email with the data based mail masterplate of the device numbering field of the test terminal that receives these data that comprises that will send to the test terminal;
Step e2: testing server sends to set same e-mail address with this Email.
Now in conjunction with Fig. 2, the data communications method between above-mentioned test terminal and the testing server is further set forth.
Before carrying out data communication between test terminal 2 and the testing server 1, to all test terminals 2 (such as the first test terminal that comprises among Fig. 1, the second test terminal, the 3rd test terminal ... with the N test terminal) same e-mail address (such as all test terminals e-mail address being set all is group@yyy.com) all is set, and generate and to comprise for distinguishing each test terminal 2 and (namely distinguish the first test terminal, the second test terminal, the mail masterplate of field the 3rd test terminal ... N test terminal), particularly this mail masterplate will comprise the mail masterplate for the field of distinguishing each test terminal 2 at least.Such as, the mail masterplate can comprise [device numbering] field, [initiation, response identification] field, [mutual ID] field, [time] field etc., wherein:
[device numbering] field: the number that is used for each test terminal of difference, as intrinsic coding, IMEI code, MDN code or the enterprises of test terminal to as described in the coding etc. of test terminal, because the mobile terminal devices such as mobile phone can be adopted in the test terminal in the automatic testing system for wireless network, therefore adopt IMEI code or MDN code more convenient as device numbering;
[initiation, response identification] field: be that this Email of difference itself is to initiate mail or the coding of response mail, then be expressed as the initiation mail such as initiation, response identification for " REQUEST (request) ", initiation, response identification then are expressed as the response mail for " RESPONSE (response) ";
[mutual ID] field: the flowline numbering of mail, the flowline numbering that is used for the own mail that sends of sign that is generated by sender's (terminal or server) when namely sending " REQUEST (request) " mail; The flowline numbering of original " REQUEST (the request) " mail of replying for this mail of sign when replying " RESPONES (response) " mail; The sender of " REQUEST (request) " mail can determine whether the own mail that sends has correctly arrived the recipient according to the flowline numbering in its replied mail of receiving;
[time] field: be used for the initiation time of sign Email, i.e. the initiation timestamp of mail.
Mail masterplate form is for example:
[device numbering] [initiation, response identification] [mutual ID] [time]
The Email that generates according to this mail masterplate is for example:
[13800000001][REQUEST][00001][2011-09-07]
Wherein, 13800000001 device numberings for certain test terminal of sign, REQUEST represents that this mail is for initiating mail, 00001 is the mutual ID of this mail, namely this equipment is the flowline numbering that this envelope mail generates, and its flowline numbering is 00002 when this equipment sends the second envelope mail, the like, 2011-09-07 is the initiation timestamp of this mail, and above-mentioned mail masterplate form can be arranged in the theme or content of mail.
Setting by above-mentioned mail masterplate, a plurality of test terminals 2 all utilize between same e-mail address (such as group@yyy.com) and the testing server 1 carries out in the process of information interaction, and respectively to seal Email be any communication between testing server 1 and which test terminal 2 on earth just can distinguish.Such as, the device numbering of the first test terminal among Fig. 1 is 13800000001, the device numbering of the second test terminal is 13800000002, device numbering in the Email of set form part is if there is 13800000001 mails that are expressed as the first test terminal so, 13800000002 mails that are expressed as the second test terminal.
2 when sending data to testing server 1 in the test terminal:
Referring to step B, step b1~b3, all test terminals 2 are all edited the generation Email with the data (such as the data that gather) that will send to testing server 1 according to the mail masterplate, the device numbering of test terminal self is write in [device numbering] field, and send to testing server 1 based on set same e-mail address; Referring to step D, steps d 1~d3, testing server 1 receives the Email that all test terminals 2 send based on set same e-mail address, and according to [device numbering] field in each the envelope Email that receives, the test terminal 2 that determine to send every envelope Email is the first test terminal, the second test terminal, the 3rd test terminal ... or N test terminal, and the data in the Email are processed.
At testing server 1 to the test terminal 2 when sending data:
Referring to step e, step e1, e2, testing server 1 is edited the data based mail masterplate that will send to test terminal 2, the device numbering that will receive the test terminal 2 of this Email is write in [device numbering] field, and send to set same e-mail address (such as group yyy.com); Referring to step C, step c1, c2, because test terminal 2 (comprises the first test terminal, the second test terminal, the 3rd test terminal ... with the N test terminal) same e-mail address has all been adopted in N all test terminals in, so all N all can receive the Email that testing server 1 sends in a test terminal, all N test terminal all determines that according to [device numbering] field in the Email that receives whether this received Email is to send to its oneself Email in the test terminal 2, if then this Email content is processed, otherwise do not process this Email content.
Referring to Fig. 3, test terminal 2 specifically comprises the steps: to the process that testing server 1 sends data
Step s1: data collection task is all independently carried out in each test terminal 2 (comprising the first test terminal, the second test terminal, the 3rd test terminal ... with the N test terminal);
Step s2: test terminal 2 generates Email with the data based mail masterplate that gathers, and himself device numbering is write [device numbering] field, and the mail flowline numbering of generation writes [mutual ID] field;
Step s3: test terminal 2 sends the Email that generates by set same e-mail address to testing server 1;
Step s4: testing server 1 receives this Email;
Step s5: testing server 1 determine to send the test terminal 2 of this Email according to [device numbering] field in this Email, and the data that the test terminal 2 that comprises in this Email gathers are processed.
Device numbering take the device numbering of the first test terminal as 13800000001, the second test terminals is 13800000002 to be example.
Among the step s1, data collection task is independently carried out respectively in the first test terminal and the second test terminal;
Among the step s2, the first test terminal and the second test terminal generate Email with the data based mail masterplate that gathers respectively, himself device numbering are write [device numbering] field, wherein
The electronic mail formats that the first test terminal generates according to the mail masterplate is for example:
[13800000001][REQUEST][00001][2011-09-07]
The electronic mail formats that the second test terminal generates according to the mail masterplate is for example:
[13800000002][REQUEST][00001][2011-09-07]
Among the step s3, the first test terminal and the second test terminal send the Email that generates all by set same e-mail address (such as group@yyy.com) to testing server 1;
Among the step s4, the Email that testing server 1 receives from this e-mail address (such as group@yyy.com), it should be noted that the mail that testing server 1 receives is two envelopes, is respectively the Email that send the first test terminal and the second test terminal;
Among the step s5, testing server 1 determines that for the Email of [13800000001] [REQUEST] [00001] [2011-09-07] test terminal of this Email of transmission is the first test terminal according to form, and the data that the first test terminal that comprises in this Email gathers are processed, testing server 1 determines that for the Email of [13800000002] [REQUEST] [00001] [2011-09-07] test terminal of this Email of transmission is the second test terminal according to form, and the data that the test terminal 2 that comprises in this Email gathers are processed.
Referring to Fig. 4,2 processes when sending data specifically comprise the steps: testing server 1 to the test terminal
Step s1 ': testing server 1 generates Email with the data based mail masterplate that will issue test terminal 2 (comprising the first test terminal, the second test terminal, the 3rd test terminal ... with the N test terminal), the device numbering that will receive the test terminal 2 of this Email is write in [device numbering] field, and the mail flowline numbering of generation writes [mutual ID] field;
Step s2 ': testing server 1 sends to set same e-mail address (such as group@yyy.com) with this Email;
Step s3 ': test terminal 2 (comprising the first test terminal, the second test terminal, the 3rd test terminal ... with the N test terminal) receives this Email;
Step s4 ': test terminal 2 (comprise the first test terminal, the second test terminal, the 3rd test terminal ... and the N test terminal) determine that according to [device numbering] field in this Email whether this Email is to send to its oneself Email, if then this Email content is processed, otherwise do not process this Email content.
Device numbering take the device numbering of the first test terminal as 13800000001, the second test terminals is 13800000002, and testing server 1 sends data instance to the first test terminal and the second test terminal.
Among the step s1 ', testing server 1 generates two envelope Emails according to the mail masterplate respectively with the data that will issue the first test terminal and the second test terminal, the device numbering of the first test terminal and the second test terminal is write respectively in [device numbering] field of two envelope Emails, the mail flowline numbering that generates writes in [mutual ID] field, wherein
For example issue the electronic mail formats of the first test terminal:
[13800000001][REQUEST][00001][2011-09-07]
For example issue the electronic mail formats of the second test terminal:
[13800000002][REQUEST][00002][2011-09-07]
Among the step s2 ', testing server 1 will be issued the Email of the first test terminal and issue the Email of the second test terminal, all be sent to set same e-mail address (such as group@yyy.com);
Among the step s3 ', because test terminal 2 (comprise the first test terminal, the second test terminal, the 3rd test terminal ... and the N test terminal) all be provided with same e-mail address, therefore the first test terminal, the second test terminal, the 3rd test terminal ... and the N test terminal all receives the Email of issuing the first test terminal that testing server 1 sends out and issues the Email of the second test terminal;
Among the step s4 ', the first test terminal determines that according to [13800000001] field information in the Email that receives this Email is to send to its oneself Email and this Email content is processed, determine that according to [13800000002] field information in the Email that receives this Email is not to send to its oneself Email, does not process this Email content; The second test terminal determines that according to [13800000001] field information in the Email that receives this Email is not to send to its oneself Email, do not process this Email content, determine that according to [13800000002] field information in the Email that receives this Email is to send to its oneself Email and this Email content is processed; N test terminal, the 3rd test terminal to the all determines that according to [13800000001] field information in the Email that receives and [13800000002] field information in the Email this two envelopes Email is not to send to its oneself Email, does not process this two envelopes Email content.
In above-mentioned steps B, step C, step D and the step e: if described Email is the initiation mail, the then initiation of this Email, response identification field are REQUEST; If described Email is the response mail, the then initiation of this Email, response identification field are RESPONSE.
Among the described step C: if the received described testing server in described test terminal sends to the initiation in its oneself the Email, the response identification field is REQUEST, then described test terminal generates based on described mail masterplate and comprises initiation, the response identification field is RESPONSE, the device numbering field contents is identical with the device numbering field contents of received Email, and mutual id field content is with the identical response mail of the mutual id field content of received Email, and sends to described testing server based on set same e-mail address;
In the described step e: if initiation, response identification field in the received Email of described testing server are REQUEST, then described testing server based on described mail masterplate generate comprise initiation, the response identification field is RESPONSE, the device numbering field contents is identical with the device numbering field contents of received Email, and mutual id field content is with the identical response mail of the mutual id field content of received Email, and sends to described test terminal based on set same e-mail address.
Specifically, among the above-mentioned steps s2
The electronic mail formats that the first test terminal generates according to the mail masterplate is for example:
[13800000001][REQUEST][00001][2011-09-07]
The electronic mail formats that the second test terminal generates according to the mail masterplate is for example:
[13800000002][REQUEST][00001][2011-09-07]
And among the above-mentioned steps s1 '
For example issue the electronic mail formats of the first test terminal:
[13800000001][REQUEST][00001][2011-09-07]
For example issue the electronic mail formats of the second test terminal:
[13800000002][REQUEST][00002][2011-09-07]
Above-mentioned Email is the initiation mail.
Play mail for every seal, it is received with its mail that is sent of initiator of informing mail that the receiving terminal of mail is all replied envelope response mail.Specifically:
For among the above-mentioned steps s2
The electronic mail formats that the first test terminal generates according to the mail masterplate is for example:
[13800000001][REQUEST][00001][2011-09-07]
The electronic mail formats that the second test terminal generates according to the mail masterplate is for example:
[13800000002][REQUEST][00001][2011-09-07]
After testing server 1 receives above-mentioned two envelope Emails, generate the response mail of the following form of two envelopes based on described mail masterplate correspondence, and send to the same e-mail address (such as group yyy.com) of setting:
[13800000001][RESPONSE][00001][2011-09-07]
[13800000002][RESPONSE][00001][2011-09-07]
Test terminal 2 adopts the process of step s3 ' and step s 4 ' to receive this response mail so that the first test terminal and the second test terminal confirm Email that they send correct tested server 1 receive.
For among the above-mentioned steps s1 '
For example issue the electronic mail formats of the first test terminal:
[13800000001][REQUEST][00001][2011-09-07]
For example issue the electronic mail formats of the second test terminal:
[13800000002][REQUEST][00002][2011-09-07]
After the first test terminal and the second test terminal receive respectively above-mentioned two envelope Emails, send to testing server 1 all based on the corresponding response mail that generates the following form of two envelopes of described mail masterplate, and based on same e-mail address (such as group@yyy.com):
The response mail of the first test terminal
[13800000001][RESPONSE][00001][2011-09-07]
The response mail of the second test terminal
[13800000002][RESPONSE][00002][2011-09-07]
Testing server 1 adopts the process of step s4 and step s 5 to receive this response mail, is received by the first test terminal and the second test terminal so that testing server 1 its Email that sends of affirmation is correct.
Said method, test terminal 2 (is comprised the first test terminal, the second test terminal, the 3rd test terminal ... with the N test terminal) all is set to a unified e-mail address (such as group@yyy.com), and comprise at least mail masterplate for the field of distinguishing tests terminal based on this e-mail address and setting, intercom mutually with testing server 1, avoided in the process that system disposes often appearance can't obtain the situation of valid ip address and have influence on the problem that system disposes, avoided simultaneously bringing security risk to the internal network of operator; Utilize this mail masterplate to guarantee that the mail of sender (test terminal, testing server) can be delivered to recipient (testing server, a test terminal) side by correct, has guaranteed the integrality of data.
The above only is preferred embodiment of the present invention, and is in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of making, is equal to replacement, improvement etc., all should be included within the scope of protection of the invention.

Claims (10)

1. the data communications method between a test terminal and the testing server is characterized in that, comprising:
Steps A: before carrying out data communication between test terminal and the testing server, generate the mail masterplate that comprises at least for the field of distinguishing tests terminal, and all test terminals are all arranged same e-mail address;
Step B: the generation Email is all edited with the data based described mail masterplate that will send to testing server in all test terminals, and sends to described testing server based on set same e-mail address;
Step C: all test terminals all receive the Email that described testing server is replied based on the e-mail address of described test terminal, and according to the field of the distinguishing tests terminal in the received Email, determine that whether this Email is to send to its oneself Email, if then this Email is processed, otherwise do not process this Email.
2. according to the data communications method between claim ball 1 described test terminal and the testing server, it is characterized in that the Email that testing server described in the step C is replied based on the e-mail address of described test terminal comprises:
Step D: described testing server receives the Email that all test terminals send based on set same e-mail address, and according to the field of the distinguishing tests terminal in the received Email, determine to send the test terminal of Email, and the data in the Email are processed;
Step e: testing server is edited the generation Email with the data based described mail masterplate that will send to the test terminal, and sends to set same e-mail address.
3. the data communications method between test terminal according to claim 1 and 2 and the testing server is characterized in that, described mail masterplate also comprises:
Initiation, response identification field are used for the difference Email for initiating mail or responding mail;
Mutual identify label number id field is used for Email is identified;
The time field is for the initiation time of sign Email.
4. the data communications method between test terminal according to claim 3 and the testing server is characterized in that,
Described field for the distinguishing tests terminal is the device numbering field;
Described device numbering is that intrinsic coding, International Mobile Equipment Identity code IMEI code, Mobile Directory Number MDN code or the enterprises of test terminal are to the coding of described test terminal.
5. the data communications method between test terminal according to claim 4 and the testing server is characterized in that, described step B specifically comprises:
Step b1: data collection task is all independently carried out in all test terminals;
Step b2: the generation Email is edited with the data based mail masterplate of himself device numbering field that comprises that gathers in the test terminal;
Step b3: the test terminal sends the Email that generates by set same e-mail address to testing server.
6. the data communications method between test terminal according to claim 4 and the testing server is characterized in that, described step C comprises:
Step c1: all test terminals all receive the Email that described testing server sends based on set same e-mail address;
Step c2: the test terminal determines that according to the device numbering field in the received Email whether this mail is the Email that sends to himself, if then this Email content is processed, otherwise does not process this Email content.
7. according to the data communications method between claim ball 4 described test terminals and the testing server, it is characterized in that described step D specifically comprises:
Steps d 1: testing server receives the Email that all test terminals send based on set same e-mail address;
Steps d 2: testing server determines to send the test terminal of this Email according to the device numbering field in the received Email;
Steps d 3: testing server is processed the data that the test terminal that comprises in this Email gathers.
8. the data communications method between test terminal according to claim 4 and the testing server is characterized in that, described step e specifically comprises:
Step e1: testing server is edited the generation Email with the data based mail masterplate of the device numbering field of the test terminal that receives these data that comprises that will send to the test terminal;
Step e2: testing server sends to set same e-mail address with this Email.
9. the data communications method between test terminal according to claim 3 and the testing server, it is characterized in that, in described step B, step C, step D and the step e: if described Email is the initiation mail, the then initiation of this Email, response identification field are for initiating REQUEST; If described Email is the response mail, the then initiation of this Email, response identification field are response RESPONSE.
10. the data communications method between test terminal according to claim 9 and the testing server is characterized in that,
Among the described step C: if initiation, response identification field that the received described testing server in described test terminal sends in its oneself the Email are REQUEST, then described test terminal based on described mail masterplate generate comprise initiation, the response identification field is the response mail of RESPONSE, and sends to described testing server based on set same e-mail address;
In the described step e: if initiation, response identification field in the received Email of described testing server are REQUEST, then described testing server generates that to comprise initiation, response identification field be RESPONSE with the device numbering field contents with the identical response mail of the device numbering field contents of received Email based on described mail masterplate, and sends to described test terminal based on set same e-mail address.
CN201210107316.1A 2012-04-12 2012-04-12 A kind of data communications method between test terminal and testing service device Active CN103379014B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210107316.1A CN103379014B (en) 2012-04-12 2012-04-12 A kind of data communications method between test terminal and testing service device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210107316.1A CN103379014B (en) 2012-04-12 2012-04-12 A kind of data communications method between test terminal and testing service device

Publications (2)

Publication Number Publication Date
CN103379014A true CN103379014A (en) 2013-10-30
CN103379014B CN103379014B (en) 2016-08-03

Family

ID=49463590

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210107316.1A Active CN103379014B (en) 2012-04-12 2012-04-12 A kind of data communications method between test terminal and testing service device

Country Status (1)

Country Link
CN (1) CN103379014B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108574625A (en) * 2017-03-13 2018-09-25 腾讯科技(深圳)有限公司 Using test invitation method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1200514A (en) * 1997-05-27 1998-12-02 国际商业机器公司 Information processing method and device, and storage medium storing server control program
CN1777319A (en) * 2005-12-01 2006-05-24 中国移动通信集团公司 MMS center system performance test system and test method
CN1794284A (en) * 2005-12-26 2006-06-28 上海洲信信息技术有限公司 Method and system of realizing single account multiuser of electron mail box

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1200514A (en) * 1997-05-27 1998-12-02 国际商业机器公司 Information processing method and device, and storage medium storing server control program
CN1777319A (en) * 2005-12-01 2006-05-24 中国移动通信集团公司 MMS center system performance test system and test method
CN1794284A (en) * 2005-12-26 2006-06-28 上海洲信信息技术有限公司 Method and system of realizing single account multiuser of electron mail box

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108574625A (en) * 2017-03-13 2018-09-25 腾讯科技(深圳)有限公司 Using test invitation method and device

Also Published As

Publication number Publication date
CN103379014B (en) 2016-08-03

Similar Documents

Publication Publication Date Title
EP3402136B1 (en) Information interaction method, client and device
US7831673B1 (en) Methods and systems for processing offline chat messages
CN101355529B (en) Method, system and client terminal for transmitting e-mail to instant communication contact
CN102710548A (en) Method and system for tracking operation of each email receiver over email
TWI587660B (en) Methods, devices and systems for publishing information to websites
CN101217510A (en) An integrated information interactive system and the corresponding method
CN101588290A (en) Method for reminding user to check e-mails by means of instant communication client
AU2009284000B2 (en) A communication device
CN103152353A (en) Unified management method and device of interactive information
CN102299868A (en) Method, client and system for transmitting and receiving email
WO2013116824A1 (en) Method and system for electronic collaboration
CN106294345A (en) The treating method and apparatus of the log content of application program
CN105721274B (en) Method and device for integrating multiple instant messaging
CN106888149A (en) Subscribe to mail unsubscription method and device
CN103379014B (en) A kind of data communications method between test terminal and testing service device
CN102291328A (en) Multi-protocol supporting webpage-based third-party email account transmission and receiving method and system
EP3013007B1 (en) Apparatus and method for quickly sending messages
CN102946589B (en) Determine the method for short message serving, system and application thereof
CN102469031A (en) Method and system for monitoring group members by local area network instant communication group
CN105991353A (en) Fault location method and device
CN109981386B (en) Network quality testing method, testing server and testing system
US20180376328A1 (en) Passive wireless electronics detection system
CN113938311B (en) Mail attack tracing method and system
KR100702704B1 (en) Notification system and method using messenger
CN102223607B (en) A kind of mobile terminal and method for processing business thereof

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