CN107360295A - A kind of test main frame and method - Google Patents

A kind of test main frame and method Download PDF

Info

Publication number
CN107360295A
CN107360295A CN201710597989.2A CN201710597989A CN107360295A CN 107360295 A CN107360295 A CN 107360295A CN 201710597989 A CN201710597989 A CN 201710597989A CN 107360295 A CN107360295 A CN 107360295A
Authority
CN
China
Prior art keywords
wireless modem
power
main frame
function
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.)
Pending
Application number
CN201710597989.2A
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.)
Comba Telecom Technology Guangzhou Ltd
Comba Telecom Systems Guangzhou Co Ltd
Tianjin Comba Telecom Systems Co Ltd
Comba Network Systems Co Ltd
Original Assignee
Comba Telecom Technology Guangzhou Ltd
Comba Telecom Systems China Ltd
Comba Telecom Systems Guangzhou Co Ltd
Tianjin Comba Telecom Systems 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 Comba Telecom Technology Guangzhou Ltd, Comba Telecom Systems China Ltd, Comba Telecom Systems Guangzhou Co Ltd, Tianjin Comba Telecom Systems Co Ltd filed Critical Comba Telecom Technology Guangzhou Ltd
Priority to CN201710597989.2A priority Critical patent/CN107360295A/en
Publication of CN107360295A publication Critical patent/CN107360295A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/24Arrangements for testing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M11/00Telephonic communication systems specially adapted for combination with other electrical systems
    • H04M11/06Simultaneous speech and data transmission, e.g. telegraphic transmission over the same conductors
    • H04M11/066Telephone sets adapted for data transmision
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the present invention, which provides a kind of test main frame and method, the test main frame, to be included:Memory, for storing radio modem Modem mark and the mapping of AT command set;First communication interface, for being connected with wireless Modem;Processor, it is used for:The first mark of the wireless Modem is obtained by first communication interface;The first AT command set according to corresponding to the described first mark and the mapping determine first mark;At least one AT instructions are transferred out from first AT command set, and at least one AT instructions are sent to by the wireless Modem by first communication interface, and the success response message of the wireless Modem return is received by first communication interface, and determine that the AT command functions of the wireless Modem are normal after the success response message is received.

Description

A kind of test main frame and method
Technical field
The present invention relates to electronic technology field, more particularly to a kind of test main frame and method.
Background technology
With the continuous development of mobile radio telecommunications technology, the application of wireless broadband Internet access is increasingly popularized, and is answered this With in environment, radio modem (Modulator De-Modulator, Modem) serves as between the equipment being in communication with each other Bridge beam action, is the part for realizing that equipment radio communication is indispensable.
In order to develop the wireless communications products of stable performance, it is necessary to carry out functional test to wireless Modem.But at present The manufacturer of in the market production wireless Modem is more, and the AT instructions for the wireless Modem adaptation that different vendor produces have larger difference It is different, therefore need to use different method of testings for different wireless Modems, difficulty of test is big, while existing method of testing Substantial amounts of manual operation is required to, automaticity is low, and then causes testing cost height.
The content of the invention
The embodiment of the present invention provides a kind of test main frame and method, for solving the work(of prior art test wireless Modem The energy technical problem that difficulty is big, automaticity is low.
On the one hand the embodiment of the present invention provides a kind of test main frame, including:
Memory, for storing radio modem Modem mark and the mapping of AT command set;
First communication interface, for being connected with wireless Modem;
Processor, it is used for:The first mark of the wireless Modem is obtained by first communication interface;According to described First mark and the mapping determine the first AT command set corresponding to first mark;Transferred from first AT command set Go out at least one AT instruction, and by first communication interface be sent at least one AT instructions described wireless Modem, and the success response message returned by first communication interface reception wireless Modem, and receiving Determine that the AT command functions of the wireless Modem are normal after the success response message;Wherein, the success response message is institute State wireless Modem returned to after at least one AT instructions described at least one AT instruction and successful execution are received it is described The message of test main frame.
It can be realized by such scheme and AT command function tests are carried out to different type wireless Modem, greatly reduced Difficulty of test;Moreover, such scheme can control whole test process by test main frame, it is not necessary to substantial amounts of artificial behaviour Make, improve the efficiency of the AT command functions of test wireless Modem 50, saved cost.
Optionally, the test main frame also includes the second communication interface, for being communicated to connect with first server;The place Reason device is additionally operable to:First instruction is sent to the first server by second communication interface, described first instructs and be used for Indicate that the first server sends at least one short message enquiry to the wireless Modem, at least one short message enquiry is Need the short message being responded;Inquire about whether the first server receives the answer short message, and in the first server When receiving the answer short message, determine that the SMS of the wireless Modem is normal.By the manner, can test wireless Modem SMS, and substantial amounts of manual operation is not needed, testing efficiency is high.
Optionally, the processor is additionally operable to:Before the first instruction is sent to the first server, the nothing is controlled Line Modem power supply stops powering for the wireless Modem;And sent in the first server to the wireless Modem After at least one short message enquiry, the power up is controlled to be powered for the wireless Modem., can be with by the manner Short message pressure test is carried out to wireless Modem, and does not need substantial amounts of manual operation, testing efficiency is high.
Optionally, the processor also includes third communication interface, for being communicated to connect with second server;The processing Device is additionally operable to:Second instruction is sent to the second server by the third communication interface, described second instructs for referring to Show that the second server sends packet to the wireless Modem;Detecting the pseudo-terminal being connected with the wireless Modem is It is no to receive the packet, and when the pseudo-terminal receives the packet, determine the data of the wireless Modem Transfer function is normal;Wherein, the packet at the pseudo-terminal is the wireless Modem from the second server The packet is received to send afterwards to the pseudo-terminal.Pass through the manner, it is possible to achieve to the data transfer of wireless Modem Functional test, and substantial amounts of manual operation is not needed, testing efficiency is high.
Optionally, the test main frame also includes fourth communication interface, for be connected with the wireless Modem/fall Electric switch is connected;The processor is additionally operable to:3rd finger is sent to the upper/power down switch by the fourth communication interface Order, the described 3rd instructs for indicating that described/power down switch carries out M power on operation to the wireless Modem and power down is grasped Make and the wireless Modem is in power-up state, wherein, the M power on operation and power on operation in power-down operation And power-down operation is alternately carried out, M is the positive integer more than or equal to 1;After the described 3rd instruction is performed, to the nothing Line Modem function is tested, and the function includes at least one in AT command functions, SMS, data-transformation facility ;After it is determined that the function of the wireless Modem is normal, determine that the wireless Modem can be steady after upper/power down of high frequency Fixed work.Pass through the manner, it is possible to achieve on the high frequency of wireless Modem/power down functional test, and need not be largely artificial Operation, testing efficiency are high.
Optionally, the test main frame also includes fifth communication interface, for the signal hair being connected with the wireless Modem Raw device is connected;The processor is additionally operable to:Occurred by the fifth communication interface to the signal being connected with the wireless Modem Device sends the 4th instruction, and the described 4th instructs for indicating that the signal generator inputs predetermined power to the wireless Modem Signal, it is the predetermined work(that the signal of the predetermined power, which is used to control the wireless Modem receiving power and transmission power, Rate;When the wireless Modem receiving power and transmission power are the predetermined power, the function of the wireless Modem is entered Row test, the function include at least one in AT command functions, SMS, data-transformation facility;It is determined that the nothing After line Modem function is normal, determine that the wireless Modem being capable of steady operation under designated signal strength.Pass through we Formula, it is possible to achieve whether can under designated signal strength steady operation, and do not need substantial amounts of if testing the wireless Modem Manual operation, testing efficiency are high.
Optionally, the test main frame also includes the 6th communication interface, for the change incubator with placing the wireless Modem It is connected;The processor is additionally operable to:5th instruction, the five fingers are sent to the change incubator by the 6th communication interface Make for indicating that the temperature inside the box of the change incubator switches to second temperature from the first temperature, first temperature is not equal to described Second temperature;In described the temperature inside the box for becoming incubator after the first temperature value switches to second temperature value, to described wireless Modem function is tested, and the function includes at least one in AT command functions, SMS, data-transformation facility; After it is determined that the function of the wireless Modem is normal, determine that the wireless Modem being capable of steady operation under not equality of temperature.It is logical Cross the manner, it is possible to achieve high/low temperature working condition test is carried out to wireless Modem, and does not need substantial amounts of manual operation, is surveyed Try efficiency high.
The aspect of the embodiment of the present invention two provides a kind of method of testing, applied to test main frame, is stored in the test main frame There are the mark of wireless Modem and the mapping of AT command set;Methods described includes:Acquisition is connected wireless with the test main frame Modem the first mark;The first AT command set according to corresponding to the described first mark and the mapping determine first mark; At least one AT instruction is transferred out from first AT command set, and at least one AT instructions are sent to described wireless Modem;The success response message that the wireless Modem returns is received, and institute is determined after the success response message is received The AT command functions for stating wireless Modem are normal;Wherein, the success response message be the wireless Modem receive it is described The message of the test main frame is returned to after at least one AT instructions described at least one AT instructions and successful execution.
Optionally, methods described also includes:The first instruction is sent to first server, described first instructs for indicating institute State first server to the wireless Modem send at least one short message enquiry, at least one short message enquiry for need by The short message of reply;Inquire about whether the first server receives the answer short message, and received in the first server During the answer short message, determine that the SMS of the wireless Modem is normal.
Optionally, methods described also includes:Before first instruction is sent to the first server, described in control The power supply of wireless Modem stops powering for the wireless Modem;And sent out in the first server to the wireless Modem After sending at least one short message enquiry, the power up is controlled to be powered for the wireless Modem.
Optionally, methods described also includes:The second instruction is sent to second server, described second instructs for indicating institute State second server and send packet to the wireless Modem;Detect whether the pseudo-terminal being connected with the wireless Modem connects The packet is received, and when the pseudo-terminal receives the packet, determines the data transfer of the wireless Modem Function is normal;Wherein, the packet at the pseudo-terminal is that the wireless Modem receives from the second server Sent after the packet to the pseudo-terminal.
Optionally, methods described also includes:The 3rd instruction is sent to the upper/power down switch being connected with the wireless Modem, Described 3rd instructs for indicating that described/power down switch carries out M power on operation and power-down operation simultaneously to the wireless Modem The wireless Modem is in power-up state, wherein, in the M power on operation and power-down operation power on operation and Power-down operation is alternately carried out, and M is the positive integer more than or equal to 1;After the described 3rd instruction is performed, to described wireless Modem function is tested, and the function includes at least one in AT command functions, SMS, data-transformation facility; After it is determined that the function of the wireless Modem is normal, determine that the wireless Modem can be stablized after upper/power down of high frequency Work.
Optionally, methods described also includes:The 4th instruction is sent to the signal generator being connected with the wireless Modem, Described 4th instructs for indicating the signal generator to the signal of wireless Modem input predetermined power, described predetermined It is the predetermined power that the signal of power, which is used to control the wireless Modem receiving power and transmission power,;Described wireless When Modem receiving powers and transmission power are the predetermined power, the function of the wireless Modem is tested, the work( At least one in AT command functions, SMS, data-transformation facility can be included;It is determined that the function of the wireless Modem After normal, determine that the wireless Modem being capable of steady operation under designated signal strength.
Optionally, methods described also includes:The 5th instruction is sent to the change incubator for placing the wireless Modem, described the Five instruct for indicating that the temperature inside the box of the change incubator switches to second temperature from the first temperature, and first temperature is not equal to The second temperature;In described the temperature inside the box for becoming incubator after the first temperature value switches to second temperature value, to the nothing Line Modem function is tested, and the function includes at least one in AT command functions, SMS, data-transformation facility ;After it is determined that the function of the wireless Modem is normal, determine that the wireless Modem being capable of steady operation under not equality of temperature.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, make required in being described below to embodiment Accompanying drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for this For the those of ordinary skill in field, without having to pay creative labor, it can also be obtained according to these accompanying drawings His accompanying drawing.
Fig. 1 is the structural representation of test system in the embodiment of the present invention;
Fig. 2 is the structural representation of test main frame in the embodiment of the present invention;
Fig. 3 is the schematic flow sheet of method of testing in the embodiment of the present invention.
Embodiment
Technical solution of the present invention is described in detail below by accompanying drawing and specific embodiment, it should be understood that the present invention Specific features in embodiment and embodiment are the detailed description to technical solution of the present invention, rather than to the technology of the present invention The restriction of scheme, in the case where not conflicting, the technical characteristic in the embodiment of the present invention and embodiment can be mutually combined.
Embodiment one
The embodiment of the present invention one provides a kind of test system, for solving the function of prior art test wireless Modem 50 The technical problem that difficulty is big, automaticity is low.
Reference picture 1, the system comprise at least test main frame 10 and Devices to test wireless Modem 50, test main frame 10 with Wireless Modem 50 is connected by cable, and test main frame 10 is stored with the mark and AT command set of different types of wireless Modem Mapping, AT command set corresponding to the mark of each wireless Modem adapt to wireless Modem corresponding to the mark.
The test system can be used for carrying out AT command function tests to wireless Modem 50, and method of testing is:
After system starts the AT command functions test of wireless Modem 50, test main frame 10 has detected whether wirelessly Modem50 is accessed, and the first mark of wireless Modem 50 is obtained when detecting that wireless Modem 50 accesses;The basis of test main frame 10 First mark and the mapping are determined and the described first mark corresponding first from multiple AT command sets of its storage AT command set;Test main frame 10 transfers out at least one AT instructions from first AT command set, and will be described at least one AT instructions are sent to wireless Modem 50;If the AT command functions of wireless Modem 50 are normal, wireless Modem 50 can receive simultaneously Success response message corresponding to being returned after at least one AT instructions described in successful execution.Therefore, test main frame 10 can be by institute State after at least one AT instruction is sent to wireless Modem 50, detect whether successfully to ring corresponding to receiving wireless Modem 50 returns Message is answered, and judges whether the AT command functions of the wireless Modem 50 are normal according to testing result.
In specific implementation process, at least one AT that wireless Modem 50 is sent in successful execution test main frame 10 The success response message returned after instruction can be one, or multiple, the embodiment of the present invention is not particularly limited to this. The success response message returned after wireless Modem 50 is at least one AT instructions described in successful execution disappears for multiple success responses During breath, wireless Modem 50 can return again to the multiple success after all AT instructions that successful execution test main frame 10 is sent Response message, can also be at least one AT instruction process be performed per one AT instruction of successful execution to test main frame 10 A success response message is returned to test main frame 10, the embodiment of the present invention is not particularly limited to this.
In specific implementation process, the test main frame 10 detects whether to receive the successful sound of the return of wireless Modem 50 Message is answered to be specifically as follows:The test main frame 10 detect whether to receive in the given time the return of wireless Modem 50 into Work(response message.For example, the test main frame 10 can detect within the 10s times after having sent at least one AT instructions Whether the success response message of wireless Modem 50 return is received.
In specific implementation process, whether the AT command functions according to the testing result judgement wireless Modem 50 Normally it is specifically as follows:When testing result characterization test main frame 10 have received the success response of the transmission of wireless Modem 50 During message, determine that the AT command functions of the wireless Modem 50 are normal;When testing result characterization test main frame 10 is not received by The success response message that wireless Modem 50 returns, it is determined that the AT command functions of the wireless Modem 50 are abnormal.
In specific implementation process, returned after wireless Modem 50 is at least one AT instruction described in successful execution into It is described to judge that the AT of the wireless Modem 50 instructs work(according to testing result when work(response message is multiple success response message Can whether can be normally:When the success response that the wireless Modem 50 that testing result characterization test main frame 10 receives returns disappears When the quantity of breath is more than first predetermined value, determine that the AT command functions of the wireless Modem 50 are normal;Surveyed when testing result characterizes When the quantity for the success response message that the wireless Modem 50 that examination main frame 10 receives returns is less than or equal to the first predetermined value, Determine that the AT command functions of the wireless Modem 50 are abnormal.Wherein, the first predetermined value can be more than or equal to 0 be less than etc. In the arbitrary value of the total quantity of at least one AT instructions.Instructed for example, test main frame 10 sends 100 AT to wireless Modem50, if the corresponding success response message number that the wireless Modem 50 that test main frame 10 receives returns is more than first Predetermined value 98, it is determined that the AT command functions of the Modem50 are normal, if the wireless Modem 50 that test main frame 10 receives The success response message number of return is less than or equal to 98, it is determined that the AT command functions of the Modem50 are abnormal.Certainly, it is Ensure that the AT command functions of wireless Modem are reliable, the first predetermined value can be set as at least one AT instructions Total quantity, i.e., the success response message that the wireless Modem 50 only received when testing result characterization test main frame 10 returns Quantity when being equal to the total quantity at least one AT instruction that test main frame 10 is sent, just determine the wireless Modem 50 AT command functions it is normal.
Such scheme provide test system in, the mark of test main frame storage inside different type wireless Modem with The mapping of AT command set, when test main frame detects wireless Modem access, test main frame obtains the mark of the wireless Modem And the AT command set for determining to be adapted to the wireless Modem according to the mapping, and transferred out from the AT command set determined AT instruction be sent to the wireless Modem, finally by judge test main frame whether receive the wireless Modem return successful sound Message is answered to determine whether the AT command functions of the wireless Modem are normal.Such scheme provides test system and can realized to difference Type wireless Modem carries out AT command function tests, greatly reduces difficulty of test;Moreover, such scheme can pass through Test main frame controls whole test process, it is not necessary to substantial amounts of manual operation, improves the AT instruction work(of test wireless Modem 50 The efficiency of energy, has saved cost.
Optionally, above-mentioned test system can also include pseudo-terminal 20, pass through cable and the wireless Modem 50 and institute State test main frame 10 to be connected, the pseudo-terminal 20 can be in communication with each other with the wireless Modem 50 and the test main frame 10. The pseudo-terminal 20 is specifically as follows combination of integrated circuit, integrated chip or integrated circuit and integrated chip etc., the present invention Embodiment is not particularly limited, for example the pseudo-terminal 20 can be one chip microcomputer.The test main frame 10 can be with The first network management system is logged in, and by logging in remote control of first network management system realization to first server.It is wherein described First server, be it is a possess city-level network meassge hook system institute functional equipment, can be set for repeater The alarm pretreatment of standby management characteristic and customer demand customization function enhancing, blacklist function, off-grid alarm, average opinion value (Mean Opinion Score, MOS) assessment etc., it can be realized by modes such as short message, sms center and number biographies to repeater Remote monitoring.
The test system can be also used for testing the SMS of wireless Modem 50, the specific side of test short message function Method includes but is not limited to following three kinds:
1st kind:The individually short message sending function of test wireless Modem 50.
Specifically, after test system starts the short message sending function of test wireless Modem 50, test main frame 10 detects institute The type of the SIM card of wireless Modem 50 is stated, and short message centre number is set according to the type of the SIM card, and is taken to described first Business device reports so that the wireless Modem 50 can communicate with the first server;Then the control of test main frame 10 simulation is whole End 20 will send short message sending to wireless Modem 50.If the short message sending function of wireless Modem 50 is normal, then wireless Modem50 can be handled after the transmission short message of the transmission of pseudo-terminal 20 is received and be passed through mobile data network The first server is sent to, therefore test main frame 10 can inquire about the first server by logging in the first network management system Whether the transmission short message is received it may determine that whether the short message sending function of the wireless Modem 50 is normal, i.e.,:Institute State first server receive it is described transmission short message when, determine that the short message sending function of the wireless Modem 50 is normal.
Wherein, the test main frame 10 inquires about whether the first server receives institute by logging in the first network management system Transmission short message is stated to be specifically as follows:The test main frame 10 logs in the first network management system and whether inquires about the first server in institute The transmission short message will be received in the scheduled time after the transmission short message sending by stating wireless Modem 50.The test main frame 10, when the first server receives the transmission short message within the scheduled time, determine the wireless Modem 50 Short message sending function is normal.
In specific implementation process, in order to improve the reliability of short message sending functional test, test main frame 10 can control The pseudo-terminal 20 disposably sends a plurality of transmission short message.
2nd kind:The individually short message receive capabilities of test wireless Modem 50.
Specifically, after test system starts the short message receive capabilities test of test wireless Modem 50, test main frame 10 is examined Survey the type of the SIM card of the wireless Modem 50, and short message centre number is set according to the type of the SIM card, and to described the One server reports so that the wireless Modem 50 can communicate with the first server;Then test main frame 10 logs in institute The transmission reception of pseudo-terminal 20 stated the first network management system and control the first server to be connected to the wireless Modem 50 is short Letter.If the short message receive capabilities of wireless Modem 50 are normal, then wireless Modem 50 can receive the first server Prompting message is sent after the short message sent to pseudo-terminal 20, pseudo-terminal 20 is after the prompting message is received from nothing The reception short message is read in line Modem50.Therefore test main frame 10 can be by detecting whether the pseudo-terminal 20 receives Judge whether the short message receive capabilities of the wireless Modem 50 are normal to the reception short message, i.e.,:Detecting the simulation When terminal 20 receives the reception short message, determine that the short message receive capabilities of the wireless Modem 50 are normal.
Wherein, the test main frame 10 detect the pseudo-terminal 20 whether receive it is described reception short message be specially:Institute State test main frame 10 and detect whether the pseudo-terminal 20 in the first server sends described connect to the pseudo-terminal 20 The reception short message is received in the scheduled time after receipts short message.The test main frame 10 is detecting the pseudo-terminal 20 Be received within the scheduled time after the first server sends to the pseudo-terminal 20 the reception short message it is described When receiving short message, determine that the short message receive capabilities of the wireless Modem 50 are normal.
In specific implementation process, in order to improve the reliability of short message receive capabilities test, the test main frame 10 can be with The first server is controlled disposably to send a plurality of reception short message.
3rd kind:The short message sending function and receive capabilities of wireless Modem 50 are tested simultaneously.
Specifically, after test system starts the short message receive capabilities test of test wireless Modem 50, test main frame 10 is examined Survey the type of the SIM card of the wireless Modem 50, and short message centre number is set according to the type of the SIM card, and to described the One server reports so that the wireless Modem 50 can communicate with the first server;Then test main frame 10 passes through institute State the first network management system and send the first instruction to the first server, to indicate the first server to described wireless The pseudo-terminal 20 of Modem50 connections sends short message enquiry, and the short message enquiry is used to indicate that the pseudo-terminal 20 returns Answer short message corresponding to returning.If the short message sending function and receive capabilities of the wireless Modem 50 are all normal, then wireless Modem50 can forward it to the pseudo-terminal 20 after the short message enquiry of the first server transmission is received, And the pseudo-terminal 20 is returned into the answer short message and feeds back to the first server.Therefore test main frame 10 can pass through Detect the first server whether receive the answer short message judge the short message sending function of the wireless Modem 50 and Whether receive capabilities are normal, i.e.,:When the first server receives the answer short message, the wireless Modem 50 is determined Short message sending function and receive capabilities it is normal.
Wherein, the test main frame 10, which detects the first server and whether receives the answer short message, is specially:Institute State test main frame 10 and detect whether the first server in the first server sends described look into the pseudo-terminal 20 The answer short message is received in the scheduled time after inquiry short message.The test main frame 10 is detecting the first server It is to receive the answer short message in the scheduled time for sending the first instruction to the first server in the test main frame 10 When, determine that the short message sending function of the wireless Modem 50 and receive capabilities are normal.
In specific implementation process, in order to improve the reliability of short message sending function and receive capabilities test, test main frame 10 can control the first server disposably to send a plurality of short message enquiry.
By the manner, the short message sending function and short message receive capabilities of wireless Modem can be individually tested, also may be used To test the short message sending function and short message receive capabilities of wireless Modem simultaneously, and substantial amounts of manual operation is not needed, test effect Rate is high.
Optionally, said system can be also used for carrying out short message pressure test to wireless Modem 50, and method of testing can be with For:
In the test of above-mentioned 3rd kind of SMS, the test main frame 10 can send the to the first server Before one instruction, the power supply of the Modem50 is controlled to stop powering for the wireless Modem 50, and in the first server After sending at least one short message enquiry to the pseudo-terminal 20 via the wireless Modem 50, the power up is controlled Powered for the wireless Modem 50.Test main frame 10 is predetermined after the power up is the wireless Modem 50 power supply The quantity for the answer short message that the detection first server receives in time, if the quantity of the answer short message and the inquiry The ratio of the quantity of short message is more than second predetermined value, it is determined that the SMS of the wireless Modem 50 is reliable.
For example, first instruction is specifically used for the institute for indicating that the first server connects to the wireless Modem 50 State pseudo-terminal 20 and send 100 short message enquiries, if test main frame 10 is that the wireless Modem 50 supplies in the power up The quantity for the answer short message that the first server receives and the quantity of the short message enquiry are detected in 10min after electricity Ratio is more than 90%, i.e., the quantity for the answer short message that described first server receives is more than 90, it is determined that described wireless Modem50 SMS is reliable.
By the manner, short message pressure test can be carried out to wireless Modem, and not need substantial amounts of manual operation, surveyed Try efficiency high.
Optionally, above-mentioned test system can be also used for testing the data-transformation facility of wireless Modem 50, method of testing For:
When the system start-up data transfer function is tested, the test main frame 10 can be according to the wireless Modem 50 SIM card type to set access point (Access Point Name, APN) code, control wireless Modem 50 turn-on data passes Transmission function simultaneously obtains Internet protocol address (Internet Protocol Address, IP) according to the APN from public network, makes Obtaining the wireless Modem 50 can communicate with second server;Then the test main frame 10 sends second to second server Instruction, described second instructs for indicating that the second server is sent out via the wireless Modem 50 to the pseudo-terminal 20 Send packet.When the data-transformation facility of the wireless Modem 50 is normal, the wireless Modem 50 can receive the data Wrap and be sent to the pseudo-terminal 20, therefore the test main frame 10 can be by detecting whether the pseudo-terminal 20 receives Judge whether the data-transformation facility of the wireless Modem 50 is normal to the packet.
Wherein, the test main frame 10, which detects the pseudo-terminal 20 and whether receives the packet, is specifically as follows: The test main frame 10 detects whether the pseudo-terminal 20 is to send institute to the second server in the test main frame 10 State in the scheduled time after the second instruction and receive the packet.When the pseudo-terminal 20 is in the test main frame 10 When receiving the packet into the scheduled time after second server transmission second instruction, the test master Machine 10 determines that the data-transformation facility of the wireless Modem 50 is normal.
For example, the second server can be software download platform, second instruction is specifically as follows described in instruction Second server sends software upgrade data bag to the pseudo-terminal 20, and the test main frame 10 detects the pseudo-terminal 20 Whether receiving the packet specifically can be by detecting whether the software upgrading of pseudo-terminal 20 is successfully realized, i.e.,:Such as The software upgrade success of pseudo-terminal 20 described in fruit, it is determined that the data-transformation facility of the wireless Modem 50 is normal.
In specific implementation process, in order to improve the reliability of the data-transformation facility of above-mentioned wireless Modem 50 test, institute Multiple software upgrade data bag can be sent to the pseudo-terminal 20 by stating test main frame 10, when detecting the soft of pseudo-terminal 20 When part success rate for upgrading exceedes third predetermined value, determine that the data-transformation facility reliability of the wireless Modem 50 is high.Such as institute State test main frame 10 and send 100 software upgrade data bags to the pseudo-terminal 20 altogether, when detecting pseudo-terminal 20 When software upgrade success rate more than 95% is that software upgrade success number is more than 95 times, the data of the wireless Modem 50 are determined Transfer function is reliable.
Pass through the manner, it is possible to achieve the data-transformation facility of wireless Modem is tested, and largely need not manually be grasped Make, testing efficiency is high.
Optionally, the system also includes upper/power down switch, with the wireless Modem 50 and the phase of the test main frame 10 Even, the specific implementation of the upper/power down switch can be a Metal-oxide-semicondutor (metal oxide Semiconductor, MOS) pipe.
Above-mentioned test system can be also used for powering on/off test, method of testing to the wireless Modem 50 progress high frequency For:
When system starts upper/power down test, the test main frame 10 sends the 3rd instruction to the upper/power down switch, To indicate the upper/power down switch to M power on operation of the wireless Modem 50 progress and power-down operation and finally make the nothing Line Modem50 is in power-up state, wherein, the M power on operation is handed over power on operation in power-down operation and power-down operation Alternately carry out, M is the positive integer more than or equal to 1;The described 3rd instruction by described/after power down switch performs, the survey Examination main frame 10 is tested the function of the wireless Modem 50, if the various functions of the wireless Modem 50 are normal, Determine that the wireless Modem 50 being capable of steady operation after upper/power down of high frequency.Wherein, the various functions instruct including AT At least one of in function, SMS, voice dialling function and data-transformation facility.
For example, when system starts on high frequency to the wireless Modem 50/power down test when, the test main frame 10 The parameters such as frequency, the number of upper/power down are set automatically according to the type of the wireless Modem 50, for example set described wireless Modem50 power-up state is that 20s is opened, 10s is closed, and according to said short message function test method after cycling switch 500 times Verify whether the SMS of the wireless Modem 50 is normal, and institute is verified according to above-mentioned data-transformation facility method of testing Whether the data-transformation facility for stating wireless Modem 50 is normal.If the SMS of the wireless Modem 50 is normal, it is determined that The wireless Modem 50 can normally send and receive short message after upper/power down of high frequency.
Pass through the manner, it is possible to achieve on the high frequency of wireless Modem/power down functional test, and do not need substantial amounts of people Work operates, and testing efficiency is high.
Optionally, the system also includes signal generator 30, with the wireless Modem 50 and the phase of the test main frame 10 Even.
The test system can be also used for testing whether the wireless Modem 50 can be stablized under designated signal strength Work, method of testing are:
When the system enabling signal is tested, the test main frame 10 is to the signal being connected with the wireless Modem 50 Generator 30 sends the 4th instruction, to indicate that the signal generator inputs in advance to the antenna input of the wireless Modem 50 Determine the signal of power so that the receiving power and transmission power of the wireless Modem 50 are the predetermined power;Then to described The various functions of wireless Modem 50 are tested, if the various functions of the wireless Modem 50 are normal, it is determined that the nothing Line Modem50 being capable of steady operation under designated signal strength.Wherein, the various functions include AT command functions, short message work( At least one of in energy, voice dialling function and data-transformation facility.
For example, test main frame 10 control antenna input from the signal generator 30 to the wireless Modem 50 input- 30dBm~-110dBm signal, the short message work(of the wireless Modem 50 is then verified according to said short message function test method Can whether normal, and the data-transformation facility according to the above-mentioned data-transformation facility method of testing checking wireless Modem 50 It is whether normal, if the SMS and data-transformation facility of the wireless Modem 50 are normal, it is determined that described wireless Modem50 being capable of steady operation under -30dBm~-110dBm weak signal strength.
Pass through the manner, it is possible to achieve whether test the wireless Modem can be in the stable work under designated signal strength Make, and do not need substantial amounts of manual operation, testing efficiency is high.
Optionally, the system can also include becoming incubator 40, be connected with the test main frame 10, described wireless Modem50 is arranged in the change incubator 40.
The system can be also used for carrying out high/low temperature working condition test to the wireless Modem 50, and method of testing is:
Specifically, when system starts the test of high/low temperature working condition, the test main frame 10 is sent out to the change incubator 40 The 5th instruction is sent, to indicate that the temperature inside the box of the change incubator switches to second temperature from the first temperature, first temperature is not Equal to the second temperature;In described the temperature inside the box for becoming incubator after the first temperature value switches to second temperature value, to institute The function of stating wireless Modem 50 is tested;If the various functions of the wireless Modem 50 are normal, it is determined that described wireless Modem50 being capable of steady operation under not equality of temperature.Wherein, the various functions include AT command functions, SMS, language At least one of in sound dialling function and data-transformation facility.
For example, when system starts the test of high/low temperature working condition, test main frame 10 is automatic according to the wireless Modem 50 The maximum operating temperature and minimum operating temperature of the wireless Modem 50 are set, and control the temperature inside the box of the change incubator 40 Temperature is progressively preferably minimized from the maximum temperature, or the maximum temperature, such as temperature are progressively raised to from the minimum temperature Degree change turns to each 10 DEG C of stepping and is incubated 1 hour, after temperature is changed every time, is verified according to said short message function test method Whether the SMS of the wireless Modem 50 is normal, and verifies the nothing according to above-mentioned data-transformation facility method of testing Whether line Modem50 data-transformation facility is normal, if the SMS and data-transformation facility of the wireless Modem 50 are just Often, it is determined that the wireless Modem 50 being capable of steady operation under not equality of temperature.
Pass through the manner, it is possible to achieve high/low temperature working condition test is carried out to wireless Modem, and does not need substantial amounts of people Work operates, and testing efficiency is high.
Optionally, in specific implementation process, the AT command functions that above-mentioned test main frame 10 is carried out to wireless Modem 50 are surveyed Examination, short breath functional test, data-transformation facility, upper/power down test, signal testing and the test of high/low temperature working condition etc., can All to realize testing and control by the same application software in testing results main frame 10.For example it can pacify in test main frame 10 A tool software is filled, after user starts the tool software and selection target test function, all phases of the target detection function Close testing process all can automatically control completion by tool software.
In specific implementation process, the tool software can record all test process in detail and generate test log, Test process can be recorded and the display interface of test results main frame 10 is presented.
For example, when the objective function that test result characterizes wireless Modem 50 is normal in the display interface of test main frame 10 The messages such as " test passes through ", " PASS " are shown, in the objective function exception of wireless Modem 50 in display circle of test main frame 10 Face shows the messages such as " test is abnormal ", " FAIL ".
In another example a dual-colored LED lamp can be set in test main frame 10, when test result characterizes wireless Modem 50 AT command functions it is normal when, control dual-colored LED lamp display green, when test result characterize wireless Modem 50 objective function When abnormal, control dual-colored LED lamp display is red.
In another example warning device can also be installed in test main frame 10, when test result characterizes the AT of wireless Modem 50 Control warning device to send abnormality alarm during command function exception, for example send voice warning or control LED glittering.
In another example the test main frame 10 can possess Serial Port Information printing function, test main frame 10 is in each subfunction Test prints the test log of generation after terminating.
Pass through the manner, it is possible to achieve many functional tests are carried out to different type wireless Modem, while will can be surveyed Test result is intuitively presented in a variety of forms, and test process does not need substantial amounts of manual operation, reduces difficulty of test, improves survey Efficiency is tried, further saves cost.
Optionally, when carrying out functional test to wireless Modem 50 using above-mentioned tool software, once test can a pin Single target function is tested, once test can also be tested for multinomial objective function, and the embodiment of the present invention is not Do concrete restriction.
(1) when being tested using above-mentioned tool software the single target function of wireless Modem 50, testing process can To comprise the following steps:
Step 1, initialize system.Specifically, test system modules are communicated to connect and switched on power, wherein respectively The specific connected mode of module can be depending on the objective function to be tested;The pseudo-terminal 20 is initialized, The pseudo-terminal 20 opens the tool software in the test main frame 10 after the completion of initializing.
Step 2, select the objective function to be tested.Specifically, select to survey on the interface that the tool software is presented The objective function of examination, then start test.For example, it is assumed that the objective function to be tested is AT command functions, then selects the mesh The mode for marking function can be to be ticked in option position corresponding to AT command functions, then click on the start menu on interface, with Start the test to the AT command functions of wireless Modem 50.
Step 3, testing results.Specifically, the operation of tool software control system and monitor test process whether have it is different Often, the concrete condition according to test during test is reported.For example, in the test of AT command functions, if referring to Order returns to mistake, and test main frame 10 is repeatable to perform the instruction, if test main frame 10 repeats the instruction and exceeded predetermined time Still success response message is not received after number, then reports exception, and exits this test;In another example in SMS test, If wireless Modem 50 and first server interaction still do not receive or sent short message after exceeding pre-determined number, report It is abnormal, and exit this test;In another example on high frequency/power down test in, if wireless Modem 50 occurs what be cannot be started up Situation, then exception is reported, and exit this test;In another example in high/low temperature test, if wireless Modem 50 is in some temperature It is in the presence of crashing under degree, then reports exception, and exits this test.
Step 4, test are completed, and show test result.
(2) it is specific to survey when being tested simultaneously multiple objective functions of wireless Modem 50 using above-mentioned tool software Examination flow may comprise steps of:
Step 1, initialize system.Specific implementation can refer to the implementation of step 1 in above-mentioned (1).
Step 2, select the objective function to be tested.Specifically, select to survey on the interface that the tool software is presented Multiple objective functions of examination, then start test.For example, it is assumed that the objective function to be tested is AT command functions and short message work( Can, then select the mode of the objective function can be for corresponding to option position corresponding to AT command functions and SMS Option position ticks simultaneously, then clicks on the start menu on interface, to start to the AT command functions of wireless Modem 50 and The test of SMS.
Step 3, testing results.Specifically, tool software control and the operation of monitoring system, the multiple objective function Testing sequence can be given tacit consent to by tool software, can also be specified by user, the embodiment of the present invention is not particularly limited.Testing During, receive user if the testing time of a certain item objective function exceedes scheduled duration or have and terminate this test Instruction, then tool software just terminates this and tests and be switched to the test of next objective function.In test process, every After the completion of one target functional test, the test result of this objective function can be presented in tool software to user immediately.Surveying During examination, tested if objective function and exception occur, then reported according to the concrete condition of test, the tool reported extremely Body implementation can refer to the implementation reported extremely in the step of above-mentioned (1) three, no longer be repeated herein.
Step 4, show final testing result.Specifically, it is fully completed detecting that the multiple objective function is tested Afterwards, tool software is all shown the test result of the multiple objective function.
Pass through the manner, it is possible to achieve many functional tests are carried out to different type wireless Modem 50, while can be incited somebody to action Test result is intuitively presented in a variety of forms, and test process does not need substantial amounts of manual operation, reduces difficulty of test, improves Testing efficiency, further save cost.
Embodiment two
The embodiment of the present invention two is used to provide a kind of test main frame, reference picture 2, and the test main frame comprises at least memory 101st, the first communication interface 102 and processor 103, first communication interface 102 can be COM (cluster communication port, com port) or USB (Universal Serial Bus, USB) are held Mouthful.
Wherein, memory 101 is used for mark and the mapping of AT command set for storing radio modem Modem;First Communication interface 102 is used to be connected with wireless Modem;Processor 103 is used for:Obtained by first communication interface 102 described First mark of wireless Modem;The first AT according to corresponding to the described first mark and the mapping determine first mark refers to Order collection;At least one AT instructions are transferred out from first AT command set, and by first communication interface 102 by described in At least one AT instruction is sent to the wireless Modem, and is received by first communication interface 102 described wireless The success response message that Modem is returned, and determine that the AT of the wireless Modem is instructed after the success response message is received Function is normal.Wherein, to be the wireless Modem receiving at least one AT instruction and successfully to the success response message Perform the message that the test main frame is returned to after at least one AT is instructed.
Optionally, the test main frame also includes the second communication interface 104, for being communicated to connect with first server, institute It can be that same communication interface or different communication connect to state the second communication interface 104 and first communication interface 102 Mouthful, the embodiment of the present invention is not particularly limited to this;The processor 103 is additionally operable to:By second communication interface 104 to The first server sends the first instruction, and described first instructs for indicating the first server by described wireless Modem sends at least one short message enquiry, the short message that at least one short message enquiry is responded for needs;Inquire about described first Whether server receives the answer short message, and when the first server receives the answer short message, it is determined that described The SMS of wireless Modem is normal.
Optionally, the processor 103 is additionally operable to:Before the first instruction is sent to the first server, institute is controlled The power supply for stating wireless Modem stops powering for the wireless Modem;And in the first server to the wireless Modem After sending at least one short message enquiry, the power up is controlled to be powered for the wireless Modem.
Optionally, the processor 103 also includes the second communication interface 105, for being communicated to connect with second server, institute It can be that same communication interface or different communication connect to state the second communication interface 105 and first communication interface 102 Mouthful, the embodiment of the present invention is not particularly limited to this;The processor 103 is additionally operable to:By second communication interface 105 to The second server sends the second instruction, and described second instructs for indicating that the second server passes through mobile data data Network sends packet to the wireless Modem;Whether the pseudo-terminal that detection is connected with the wireless Modem receives described Packet, and when the pseudo-terminal receives the packet, determining the data-transformation facility of the wireless Modem just Often;Wherein, the packet at the pseudo-terminal is that the wireless Modem is receiving the number from the second server According to transmission after bag to the pseudo-terminal.
Optionally, the test main frame also includes the second communication interface 106, for be connected with the wireless Modem/ Power down switch is connected, and second communication interface 106 and first communication interface 102 can be same communication interfaces, also may be used To be different communication interface, the embodiment of the present invention is not particularly limited to this;The processor 103 is additionally operable to:Pass through described Two communication interfaces 106 send the 3rd instruction to the upper/power down switch, and the described 3rd instructs for indicating described/power down Switch carries out M power on operation and power-down operation to the wireless Modem and the wireless Modem is in upper electric shape State, wherein, the M power on operation is alternately carried out with power on operation in power-down operation and power-down operation, M be more than or equal to 1 positive integer;After the described 3rd instruction is performed, the function of the wireless Modem is tested, the function includes At least one of in AT command functions, SMS, data-transformation facility;It is determined that the function of the wireless Modem it is normal it Afterwards, determine that the wireless Modem being capable of steady operation after upper/power down of high frequency.
Optionally, the test main frame also includes the second communication interface 107, for the letter being connected with the wireless Modem Number generator is connected, and second communication interface 107 and first communication interface 102 can be same communication interfaces, also may be used To be different communication interface, the embodiment of the present invention is not particularly limited to this;The processor 103 is additionally operable to:Pass through described Two communication interfaces 107 send the 4th instruction to the signal generator being connected with the wireless Modem, and the described 4th instructs for referring to Show that the signal generator inputs the signal of predetermined power to the wireless Modem, the signal of the predetermined power is used to control The wireless Modem receiving power and transmission power are the predetermined power;In the wireless Modem receiving power and transmitting work( When rate is the predetermined power, the function of the wireless Modem is tested, the function includes AT command functions, short message At least one of in function, data-transformation facility;After it is determined that the function of the wireless Modem is normal, determine described wireless Modem being capable of steady operation under designated signal strength.
Optionally, the test main frame also includes the second communication interface 108, for the change with placing the wireless Modem Incubator is connected, second communication interface 108 and first communication interface 102 can be same communication interface or Different communication interface, the embodiment of the present invention are not particularly limited to this;The processor 103 is additionally operable to:It is logical by described second Believe interface 108 to it is described change incubator send the 5th instruction, the described 5th instruct for indicate it is described change incubator the temperature inside the box from First temperature switches to second temperature, and first temperature is not equal to the second temperature;In the temperature inside the box of the change incubator After the first temperature value switches to second temperature value, the function of the wireless Modem is tested, the function includes AT At least one of in command function, SMS, data-transformation facility;After it is determined that the function of the wireless Modem is normal, Determine that the wireless Modem being capable of steady operation under not equality of temperature.
Embodiment three
The embodiment of the present invention three provides a kind of method of testing, applied to the test master in above-described embodiment one or embodiment two Machine.Reference picture 3, methods described includes:
Step 201:Obtain the first mark of the wireless Modem being connected with the test main frame;
Step 202:The first AT command set according to corresponding to the described first mark and the mapping determine first mark;
Step 203:At least one AT instructions are transferred out from first AT command set, and at least one AT is referred to Order is sent to the wireless Modem;
Step 204:The success response message that the wireless Modem returns is received, and is disappeared receiving the success response Determine that the AT command functions of the wireless Modem are normal after breath.
Wherein, to be the wireless Modem receiving at least one AT instruction and successfully to the success response message Perform the message that the test main frame is returned to after at least one AT is instructed.
Optionally, methods described also includes:The first instruction is sent to first server, described first instructs for indicating institute State first server to the wireless Modem send at least one short message enquiry, at least one short message enquiry for need by The short message of reply;Inquire about whether the first server receives the answer short message, and received in the first server During the answer short message, determine that the SMS of the wireless Modem is normal.
Optionally, methods described also includes:Before first instruction is sent to the first server, described in control The power supply of wireless Modem stops powering for the wireless Modem;And sent out in the first server to the wireless Modem After sending at least one short message enquiry, the power up is controlled to be powered for the wireless Modem.
Optionally, methods described also includes:The second instruction is sent to second server, described second instructs for indicating institute State second server and send packet to the wireless Modem;Detect whether the pseudo-terminal being connected with the wireless Modem connects The packet is received, and when the pseudo-terminal receives the packet, determines the data transfer of the wireless Modem Function is normal;Wherein, the packet at the pseudo-terminal is that the wireless Modem receives from the second server Sent after the packet to the pseudo-terminal.
Optionally, methods described also includes:The 3rd instruction is sent to the upper/power down switch being connected with the wireless Modem, Described 3rd instructs for indicating that described/power down switch carries out M power on operation and power-down operation simultaneously to the wireless Modem The wireless Modem is in power-up state, wherein, in the M power on operation and power-down operation power on operation and Power-down operation is alternately carried out, and M is the positive integer more than or equal to 1;After the described 3rd instruction is performed, to described wireless Modem function is tested, and the function includes at least one in AT command functions, SMS, data-transformation facility; After it is determined that the function of the wireless Modem is normal, determine that the wireless Modem can be stablized after upper/power down of high frequency Work.
Optionally, methods described also includes:The 4th instruction is sent to the signal generator being connected with the wireless Modem, Described 4th instructs for indicating the signal generator to the signal of wireless Modem input predetermined power, described predetermined It is the predetermined power that the signal of power, which is used to control the wireless Modem receiving power and transmission power,;Described wireless When Modem receiving powers and transmission power are the predetermined power, the function of the wireless Modem is tested, the work( At least one in AT command functions, SMS, data-transformation facility can be included;It is determined that the function of the wireless Modem After normal, determine that the wireless Modem being capable of steady operation under designated signal strength.
Optionally, methods described also includes:The 5th instruction is sent to the change incubator for placing the wireless Modem, described the Five instruct for indicating that the temperature inside the box of the change incubator switches to second temperature from the first temperature, and first temperature is not equal to The second temperature;In described the temperature inside the box for becoming incubator after the first temperature value switches to second temperature value, to the nothing Line Modem function is tested, and the function includes at least one in AT command functions, SMS, data-transformation facility ;After it is determined that the function of the wireless Modem is normal, determine that the wireless Modem being capable of steady operation under not equality of temperature.
The specific implementation of above various method steps is referred to be held by test main frame 10 in the embodiment of the present invention one The specific implementation of capable corresponding operating, the embodiment of the present invention repeat no more.
The one or more technical schemes provided in the embodiment of the present invention, have at least the following technical effects or advantages:
1st, the embodiment of the present invention can be realized carries out AT command function tests to different type wireless Modem, substantially reduces Difficulty of test;Whole test process is controlled by test main frame simultaneously, it is not necessary to substantial amounts of manual operation, improve test nothing The efficiency of line Modem50 AT command functions, has saved testing cost.
2nd, the embodiment of the present invention can also realize the short breath function to wireless Modem, short breath functional test, data transfer work( Energy, upper/power down test, signal testing and the test of high/low temperature working condition etc. so that the functional test of wireless Modem is more complete Face, and substantial amounts of manual operation is not needed, save testing cost.
3rd, the embodiment of the present invention can also be intuitively presented test process and test result in many ways, further Testing efficiency is improved, improves Consumer's Experience.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program Product.Therefore, the present invention can use the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Apply the form of example.Moreover, the present invention can use the computer for wherein including computer usable program code in one or more The computer program production that usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention God and scope.So, if these modifications and variations of the present invention belong to the scope of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to comprising including these changes and modification.

Claims (14)

  1. A kind of 1. test main frame, it is characterised in that including:
    Memory, for storing radio modem Modem mark and the mapping of AT command set;
    First communication interface, for being connected with wireless Modem;
    Processor, it is used for:The first mark of the wireless Modem is obtained by first communication interface;According to described first Mark and the mapping determine the first AT command set corresponding to first mark;Transferred out from first AT command set to Few AT instructions, and at least one AT instructions are sent to by the wireless Modem by first communication interface, with And the success response message of the wireless Modem return is received by first communication interface, and receiving the success Determine that the AT command functions of the wireless Modem are normal after response message;Wherein, the success response message is described wireless Modem returns to the test master after at least one AT instructions described at least one AT instructions and successful execution are received The message of machine.
  2. 2. test main frame as claimed in claim 1, it is characterised in that the test main frame also includes the second communication interface, uses Communicated to connect in first server;
    The processor is additionally operable to:First instruction is sent to the first server by second communication interface, described the One instruct for indicate the first server to the wireless Modem send at least one short message enquiry, described at least one The short message that short message enquiry is responded for needs;
    Inquire about whether the first server receives the answer short message, and the reply is received in the first server During short message, determine that the SMS of the wireless Modem is normal.
  3. 3. test main frame as claimed in claim 2, it is characterised in that the processor is additionally operable to:To the first service Before device sends the first instruction, the power supply of the wireless Modem is controlled to stop powering for the wireless Modem;And
    After the first server sends at least one short message enquiry to the wireless Modem, the power supply is controlled Revert to the wireless Modem power supply.
  4. 4. test main frame as claimed in claim 1, it is characterised in that the processor also includes third communication interface, is used for Communicated to connect with second server;
    The processor is additionally operable to:Second instruction is sent to the second server by the third communication interface, described the Two instruct for indicating that the second server sends packet to the wireless Modem;
    Detect whether the pseudo-terminal being connected with the wireless Modem receives the packet, and connect in the pseudo-terminal When receiving the packet, determine that the data-transformation facility of the wireless Modem is normal;Wherein, the institute at the pseudo-terminal Packet is stated to send to the simulation eventually after the packet is received from the second server for the wireless Modem End.
  5. 5. the test main frame as described in claim any one of 1-4, it is characterised in that the test main frame also includes fourth communication Interface, for be connected with the wireless Modem/power down switch be connected;
    The processor is additionally operable to:3rd instruction is sent to the upper/power down switch by the fourth communication interface, it is described 3rd instructs for indicating described/power down switch to wireless Modem progress M power on operation and power-down operation and final The wireless Modem is set to be in power-up state, wherein, the M power on operation and power on operation and power down in power-down operation Operation is alternately carried out, and M is the positive integer more than or equal to 1;
    After the described 3rd instruction is performed, the function of the wireless Modem is tested, the function instructs including AT At least one of in function, SMS, data-transformation facility;After it is determined that the function of the wireless Modem is normal, it is determined that The wireless Modem being capable of steady operation after upper/power down of high frequency.
  6. 6. the test main frame as described in claim any one of 1-4, it is characterised in that the test main frame also includes fifth communication Interface, the signal generator for being connected with the wireless Modem are connected;
    The processor is additionally operable to:Sent out by the fifth communication interface to the signal generator being connected with the wireless Modem The 4th instruction is sent, the described 4th instructs for indicating the signal generator to the letter of wireless Modem input predetermined power Number, it is the predetermined power that the signal of the predetermined power, which is used to control the wireless Modem receiving power and transmission power,;
    When the wireless Modem receiving power and transmission power are the predetermined power, the function of the wireless Modem is entered Row test, the function include at least one in AT command functions, SMS, data-transformation facility;It is determined that the nothing After line Modem function is normal, determine that the wireless Modem being capable of steady operation under designated signal strength.
  7. 7. the test main frame as described in claim any one of 1-4, it is characterised in that the test main frame also includes the 6th communication Interface, it is connected for the change incubator with placing the wireless Modem;
    The processor is additionally operable to:5th instruction, the five fingers are sent to the change incubator by the 6th communication interface Make for indicating that the temperature inside the box of the change incubator switches to second temperature from the first temperature, first temperature is not equal to described Second temperature;
    In described the temperature inside the box for becoming incubator after the first temperature value switches to second temperature value, to the wireless Modem Function is tested, and the function includes at least one in AT command functions, SMS, data-transformation facility;It is determined that After the function of the wireless Modem is normal, determine that the wireless Modem being capable of steady operation under not equality of temperature.
  8. 8. a kind of method of testing, it is characterised in that applied to test main frame, wireless Modem is stored in the test main frame Mark and the mapping of AT command set;Methods described includes:
    Obtain the first mark of the wireless Modem being connected with the test main frame;
    The first AT command set according to corresponding to the described first mark and the mapping determine first mark;
    At least one AT instruction is transferred out from first AT command set, and at least one AT instructions are sent to described Wireless Modem;
    The success response message that the wireless Modem returns is received, and after the success response message is received described in determination The AT command functions of wireless Modem are normal;
    Wherein, the success response message is that the wireless Modem is receiving at least one AT instructions and successful execution The message of the test main frame is returned to after at least one AT instructions.
  9. 9. method as claimed in claim 8, it is characterised in that also include:
    The first instruction is sent to first server, and described first instructs for indicating the first server to described wireless Modem sends at least one short message enquiry, the short message that at least one short message enquiry is responded for needs;Inquire about described first Whether server receives the answer short message, and when the first server receives the answer short message, it is determined that described The SMS of wireless Modem is normal.
  10. 10. method as claimed in claim 9, it is characterised in that also include:
    Before first instruction is sent to the first server, the power supply of the wireless Modem is controlled to stop being described Wireless Modem is powered;And
    After the first server sends at least one short message enquiry to the wireless Modem, the power supply is controlled Revert to the wireless Modem power supply.
  11. 11. method as claimed in claim 8, it is characterised in that also include:
    The second instruction is sent to second server, and described second instructs for indicating the second server to described wireless Modem sends packet;
    Detect whether the pseudo-terminal being connected with the wireless Modem receives the packet, and connect in the pseudo-terminal When receiving the packet, determine that the data-transformation facility of the wireless Modem is normal;Wherein, the institute at the pseudo-terminal Packet is stated to send to the simulation eventually after the packet is received from the second server for the wireless Modem End.
  12. 12. the method as described in claim any one of 8-11, it is characterised in that also include:
    Send the 3rd instruction to the upper/power down switch being connected with the wireless Modem, the described 3rd instruct it is described for indicating Upper/power down switch is in power-down operation and finally the wireless Modem wireless Modem M power on operation of progress Power-up state, wherein, the M power on operation is alternately carried out with power on operation in power-down operation and power-down operation, and M is big In the positive integer equal to 1;
    After the described 3rd instruction is performed, the function of the wireless Modem is tested, the function instructs including AT At least one of in function, SMS, data-transformation facility;After it is determined that the function of the wireless Modem is normal, it is determined that The wireless Modem being capable of steady operation after upper/power down of high frequency.
  13. 13. the method as described in claim any one of 8-11, it is characterised in that also include:
    The 4th instruction is sent to the signal generator being connected with the wireless Modem, the described 4th instructs for indicating the letter Number generator inputs the signal of predetermined power to the wireless Modem, and the signal of the predetermined power is used to controlling described wireless Modem receiving powers and transmission power are the predetermined power;And
    When the wireless Modem receiving power and transmission power are the predetermined power, the function of the wireless Modem is entered Row test, the function include at least one in AT command functions, SMS, data-transformation facility;And
    After it is determined that the function of the wireless Modem is normal, determine that the wireless Modem can be steady under designated signal strength Fixed work.
  14. 14. the method as described in claim any one of 8-11, it is characterised in that also include:To the placement wireless Modem Become incubator and send the 5th instruction, the described 5th instructs for indicating that the temperature inside the box of the change incubator switches to the from the first temperature Two temperature, first temperature are not equal to the second temperature;And
    In described the temperature inside the box for becoming incubator after the first temperature value switches to second temperature value, to the wireless Modem Function is tested, and the function includes at least one in AT command functions, SMS, data-transformation facility;And
    After it is determined that the function of the wireless Modem is normal, determine that the wireless Modem can stablize work under not equality of temperature Make.
CN201710597989.2A 2017-07-20 2017-07-20 A kind of test main frame and method Pending CN107360295A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710597989.2A CN107360295A (en) 2017-07-20 2017-07-20 A kind of test main frame and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710597989.2A CN107360295A (en) 2017-07-20 2017-07-20 A kind of test main frame and method

Publications (1)

Publication Number Publication Date
CN107360295A true CN107360295A (en) 2017-11-17

Family

ID=60284595

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710597989.2A Pending CN107360295A (en) 2017-07-20 2017-07-20 A kind of test main frame and method

Country Status (1)

Country Link
CN (1) CN107360295A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108733560A (en) * 2018-04-19 2018-11-02 北京京东尚科信息技术有限公司 A kind of test method and device
CN109710473A (en) * 2018-12-19 2019-05-03 四川虹美智能科技有限公司 A kind of SOC board measuring method, apparatus and system
CN114070721A (en) * 2021-11-16 2022-02-18 中国联合网络通信集团有限公司 Method for determining module information, terminal and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101626431A (en) * 2009-08-12 2010-01-13 厦门敏讯信息技术股份有限公司 Processing method and processing system capable of adapting to communication mode

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101626431A (en) * 2009-08-12 2010-01-13 厦门敏讯信息技术股份有限公司 Processing method and processing system capable of adapting to communication mode

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108733560A (en) * 2018-04-19 2018-11-02 北京京东尚科信息技术有限公司 A kind of test method and device
CN109710473A (en) * 2018-12-19 2019-05-03 四川虹美智能科技有限公司 A kind of SOC board measuring method, apparatus and system
CN114070721A (en) * 2021-11-16 2022-02-18 中国联合网络通信集团有限公司 Method for determining module information, terminal and storage medium

Similar Documents

Publication Publication Date Title
CN105933888B (en) A kind of eSIM card method for burn-recording and device based on NFC
WO2020107905A1 (en) Monitoring and managing methods for device, and terminal device
CN108366006A (en) A kind of intelligent appliance distribution method, apparatus and system
CN108621829A (en) Battery management method, system and computer readable storage medium
CN101931477B (en) System and method for automatically testing performance of TD-LTE (Time Division-Long Term Evolution) terminal
CN107360295A (en) A kind of test main frame and method
CN108770008A (en) Configuration method, device and the storage medium that household appliance networks
CN112948217B (en) Server repair checking method and device, storage medium and electronic equipment
CN112601211B (en) Intelligent household appliance control equipment, mobile terminal and testing method
CN109873728A (en) A kind of terminal test method, device and storage medium
CN103249069A (en) Method, equipment and system for testing mobile terminal
US7623856B2 (en) Method for testing communication protocol having collection of internal information of a mobile communication terminal by an external module
US7339367B2 (en) Interface for detection and control of multiple test probes
CN110519741A (en) A kind of Bluetooth connecting method and system
CN106776350A (en) The accurate method of testing and device of a kind of program
CN105827333A (en) System and method of baseband chip automatic test
CN110505712A (en) A kind of method and terminal for transmitting file
CN103516851A (en) Cloud testing platform system for wireless products
CN208188814U (en) A kind of embedded device and its remote update system
CN105138373A (en) Vehicle diagnosis device firmware upgrading method and device
US20070270195A1 (en) Roaming function test system and method
CN111597083A (en) Test system of intelligent terminal
JP2000201223A (en) Radio communication equipment
CN114554466A (en) Equipment detection method and device
CN107231276A (en) Multi-purpose intelligent Internet of Things communication means and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20171117

RJ01 Rejection of invention patent application after publication