CN106708688B - Module test method and terminal - Google Patents

Module test method and terminal Download PDF

Info

Publication number
CN106708688B
CN106708688B CN201510780081.6A CN201510780081A CN106708688B CN 106708688 B CN106708688 B CN 106708688B CN 201510780081 A CN201510780081 A CN 201510780081A CN 106708688 B CN106708688 B CN 106708688B
Authority
CN
China
Prior art keywords
module
tested
test
information
output interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510780081.6A
Other languages
Chinese (zh)
Other versions
CN106708688A (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.)
TD Tech Ltd
Original Assignee
TD Tech 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 TD Tech Ltd filed Critical TD Tech Ltd
Priority to CN201510780081.6A priority Critical patent/CN106708688B/en
Publication of CN106708688A publication Critical patent/CN106708688A/en
Application granted granted Critical
Publication of CN106708688B publication Critical patent/CN106708688B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing
    • G06F11/267Reconfiguring circuits for testing, e.g. LSSD, partitioning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the present invention provides a kind of module test method and terminal, this method comprises: determining the output interface of the first module to be tested of the terminal, the output interface of first module to be tested is used to export the test information that the described first module operation to be tested generates;The first test information that the described first module operation to be tested generates is obtained from the output interface of the described first module to be tested;According to the first test information and the corresponding test index of first module to be tested, the test result of the described first module to be tested is determined.For after terminal is installed, the module in terminal is tested without carrying out tearing machine open can be realized to terminal, it is simple to operate, improve testing efficiency.

Description

Module test method and terminal
Technical field
The present embodiments relate to field of communication technology more particularly to a kind of module test method and terminals.
Background technique
Currently, terminal is generally by multiple module compositions, in the terminal for the ease of the exploitation and later maintenance of terminal After the completion of Development of Module, in order to guarantee that module can work normally, need to test module.
In the prior art, before installing to terminal, generally the module in terminal is carried out by the following method Test: it in the process of development, for the reserved input interface and output interface tested of each module, is tested to module When, it is connected using the testing tool of profession and the input interface and output interface of module, the input by testing tool to module Interface input test parameter makes module starting operation, during module operation, by testing tool from module Output interface obtains module and runs test information generated, is analyzed by test information of the testing tool to module, with Determine whether the module is working properly.
However, each module of terminal is in the inside of the shell of terminal, therefore tests after installing to terminal Tool can not from exterior of terminal obtain module input interface and output interface, need to the module in the terminal after installation into When row test, needs to carry out terminal to tear machine open and obtain the input interface and output interface of module to be tested, and pass through testing tool It treats test module to be tested, since the process for tear open machine to terminal is complex, needs to consume the more time, cause Testing efficiency is low.
Summary of the invention
The embodiment of the present invention provides a kind of module test method and terminal, after terminal installation, without tearing open to terminal Machine, which can be realized, tests the module in terminal, simple to operate, and then improves testing efficiency.
In a first aspect, the embodiment of the present invention provides a kind of module test method, it is applied to terminal, which comprises
Determine that the output interface of the first module to be tested of the terminal, the output interface of first module to be tested are used In the test information for exporting the described first module operation generation to be tested;
The first survey that the described first module operation to be tested generates is obtained from the output interface of the described first module to be tested Try information;
According to the first test information and the corresponding test index of first module to be tested, described first is determined The test result of module to be tested.
Second aspect, the embodiment of the present invention provide a kind of terminal, and the terminal includes:
Determining module, the output interface of the first module to be tested for determining the terminal, first die trial to be measured The output interface of block is used to export the test information that the described first module operation to be tested generates;
Module is obtained, for obtaining the described first module operation to be tested from the output interface of the described first module to be tested The the first test information generated;
Test module, for being referred to according to the first test information and corresponding test of the first module to be tested Mark, determines the test result of the described first module to be tested.
Module test method provided in an embodiment of the present invention and terminal, after terminal is installed, when needing in terminal The first module to be tested when being tested, the output interface of the first module to be tested by determining terminal, first is to be tested The output interface of module is used to export the test information that the first module operation to be tested generates;From the output of the first module to be tested Interface obtains the first test information that the first module operation to be tested generates;According to the first test information and the first die trial to be measured The corresponding test index of block determines the test result of the first module to be tested, from the foregoing, it will be observed that need to the module in terminal into When row test, in the case where not carrying out tearing machine open to terminal, it still may be implemented to test the module in terminal, and above-mentioned It is simple to operate, the testing efficiency to module in terminal is improved, further, due to keeping away without carrying out tearing machine open to terminal Exempt from damage during tearing machine open to component in terminal, and then improves user experience.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair Bright some embodiments for those of ordinary skill in the art without any creative labor, can be with It obtains other drawings based on these drawings.
Fig. 1 is the flow diagram one of module test method provided by the invention;
Fig. 2 is the flow diagram two of module test method provided by the invention;
Fig. 3 is the flow diagram three of module test method provided by the invention;
Fig. 4 is the flow diagram four of module test method provided by the invention;
Fig. 5 is the structural schematic diagram one of terminal provided by the invention;
Fig. 6 is the structural schematic diagram two of terminal provided by the invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Terminal involved in the embodiment of the present invention can include but is not limited to the mobile communication equipments such as mobile phone, tablet computer, It include multiple hardware modules in terminal, such as public network communication module, network-off direct-passing (Direct Mode Operation, abbreviation DMO) module etc. can still test the module in terminal by terminal after installing to terminal, and the present invention is real Apply module test method involved in example, it is intended to, can not be to the mould in terminal after solution in the prior art installs to terminal The problem of block is tested below is described in detail module test method using specific embodiment.
Fig. 1 is the flow diagram one of module test method provided by the invention, and the executing subject of this method is terminal, eventually End can please refer to Fig. 1 by software and or hardware realization, and this method may include:
S101, determine terminal the first module to be tested output interface, the output interface of the first module to be tested is used for Export the test information that the first module operation to be tested generates;
S102, the first test letter that the first module operation to be tested generates is obtained from the output interface of the first module to be tested Breath;
S103, according to the first test information and the corresponding test index of the first module to be tested, determine that first is to be tested The test result of module.
During practical application, each of terminal module all has output interface, and module can at runtime Test information is generated, and test information to export by the output interface of the module, in the embodiment shown in fig. 1, terminal The output interface of each module in available terminal, and the test letter of the module can be obtained by the output interface of module Breath, is also preset with the corresponding test index of each module, terminal can be according to the test information of module and survey in the terminal Try the test result of index determining module;In the following, with the mistake tested the module to be tested of any one in terminal first For journey, the method described in Fig. 1 is described in detail.
When needing to test the first module to be tested in terminal, it is necessary first to start first die trial to be measured Block, so that the first module starting operation to be tested, specifically, terminal can receive the to be measured for starting first of user's input The enabling signal of die trial block, and the first module to be tested is started according to enabling signal;After the first module starting operation to be tested, It determines the output interface of the first module to be tested, and obtains the first module fortune to be tested from the output interface of the first module to be tested The first test information that row generates, optionally, user can be set according to actual needs the content for including in test information, then The corresponding test index of preset first module to be tested in terminal is obtained, by carrying out the first test information and test index Matching comparison, determines the test result of the first module to be tested.In above process, after installing to terminal, terminal The test information that can be still acquired from the output interface of module, and according to test index preset in terminal and test The test result of information determination module is torn machine open without carrying out to terminal, is avoided during tearing machine open to end during the test The damage of component in end, and aforesaid operations are simple and convenient, improve the testing efficiency to module in terminal.
In the following, method shown in FIG. 1 is described in detail by specific example.
Illustratively, it is needing to network-off direct-passing (Direct Mode Operation, abbreviation DMO) module in terminal When being tested, start and run the DMO module of terminal first, during the operation of DMO module, DMO module pair can be generated The test data answered, such as DMO module at runtime received signal strength, receive signal frequency, receive power parameter.
During running DMO module, terminal obtains the output interface of DMO module, and obtains DMO by output interface The test information of module, for example, the test information for the DMO test module that terminal acquires is as follows: received signal strength are as follows:- 120dBm emits signal power are as follows: 2 watts (Watt, abbreviation W), receives signal frequency are as follows: 1000 megahertzs (Mega Hertz, Abbreviation MHz);And corresponding test index of DMO module are as follows: received signal strength: -70dBm to -100dBm emits signal function Rate: 1.5W to 3W, reception signal frequency are 800MHz to 2000MHz, the survey for the DMO module that terminal is got according to DMO module Information and the corresponding test index of DMO module are tried, determines that the received signal strength of DMO does not meet test index, emits signal Power and reception signal frequency meet test index, know test result for the ease of user, can be in display circle of terminal Face shows the test result;From the foregoing, it will be observed that still may be implemented to carry out the module in terminal after installing to terminal Test.
Module test method provided in an embodiment of the present invention, after terminal is installed, when needing to first in terminal When module to be tested is tested, the output interface of the first module to be tested by determining terminal, the first module to be tested Output interface is used to export the test information that the first module operation to be tested generates;It is obtained from the output interface of the first module to be tested The the first test information for taking the first module operation to be tested to generate;It is corresponding according to the first test information and the first module to be tested Test index, the test result of the first module to be tested is determined, from the foregoing, it will be observed that needing to test the module in terminal When, it in the case where not carrying out tearing machine open to terminal, still may be implemented to test the module in terminal, and aforesaid operations letter Folk prescription just, improves the testing efficiency to module in terminal, further, due to avoiding without carrying out tearing machine open to terminal It tears damage of the machine in the process to component in terminal open, and then improves user experience.
On the basis of embodiment shown in Fig. 1, in order to enhance flexibility to module testing and comprehensive, to terminal In module tested during, can also to module input test parameter, and to run the test parameter module into Row test, specifically, embodiment shown in referring to figure 2..
Fig. 2 is the flow diagram two of module test method provided by the invention, and the executing subject of this method is terminal, eventually End can be by software and or hardware realization, and on the basis of embodiment shown in Fig. 1, referring to figure 2., this method may include:
S201, determine terminal the first module to be tested output interface, the output interface of the first module to be tested is used for Export the test information that the first module operation to be tested generates;
The input interface of S202, the input interface for determining the first module to be tested, the first module to be tested are surveyed for inputting Try parameter;
S203, by the input interface of the first module to be tested to the first module input test parameter to be tested;
S204, obtain that the first module to be tested operation test parameter generates from the output interface of the first module to be tested the One test information;
S205, information and the corresponding test index of test parameter are tested according to first, determines the first module to be tested Test result.
S201 is identical as S101, is no longer repeated herein.
In S202-S203, the input interface of the first module to be tested is determined, and pass through the input of the first module to be tested Interface is to the first module input test parameter to be tested, so that the first module is run under the test parameter of input, in reality In application process, test parameter can be set according to actual needs.
Illustratively, for the DMO module in terminal, the test parameter that can be inputted includes: setting frequency point and infrasonic Number, be set as simulating Chang Fazhuan state (can send the audio signal that simulation needs from host) is set as simulating normal receipts state (can be real When show the output Signal-to-Noise-and-distortion ratio of demodulation audio), be set as digital often hair nonce state, be set as digital often receipts state, setting For digit time slot hair-like state, setting and reads automatic power control value, setting and read automatic frequency control value etc.;Further , the content for including in test information can be also set, if the content tested in information may include: current operating temperature, number The reception bit error rate under standard, analog system show received signal strength indication, current SQ grade and the level that antenna opening receives, aobvious Show the power consumption etc. of current DMO card.
It should be noted that executing sequence, S201 and S202- there is no temporal between S201 and S202-S203 S203 can be executed sequentially and also be may be performed simultaneously, and the present invention is not especially limited this.
In S204-S205, in the output interface for determining the first module to be tested, and in the input of the first module to be tested After interface input test parameter, terminal obtains the first module operation test ginseng to be tested in the output interface of the first module to be tested Number the first test information generated, and according to the first test information and in the corresponding survey of test parameter of input interface input Index is tried, determines the test result of the first module to be tested, S204-S205 is similar with S102-S103, no longer goes to live in the household of one's in-laws on getting married herein It states.
In above process, when needing to test the module to be tested in terminal, in the input of module to be tested Interface input test parameter, so that module to be tested is run under the test parameter, then according to the output from module to be tested The test information and the corresponding test index of test parameter that interface obtains, determine test result, in actual application, It can be set in the test parameter of module input interface input to be tested according to actual needs, so that terminal can be to different Under the conditions of run module to be tested and tested, and then increase test flexibility and comprehensive.
It can be realized in the case where not carrying out tearing machine open to terminal in terminal by Fig. 1-embodiment shown in Fig. 2 Module is tested, further, can also be between disparate modules in terminal in the case where not carrying out tearing machine open to terminal Connection relationship is tested, to judge whether the connecting link in terminal between disparate modules is normal, specifically, referring to Fig. 3- Embodiment shown in Fig. 4.
Fig. 3 is the flow diagram three of module test method provided by the invention, and the executing subject of this method is terminal, eventually End can be by software and or hardware realization, on the basis of Fig. 1 or embodiment illustrated in fig. 2, referring to figure 3., and this method can be with Include:
S301, the working condition that the first module to be tested is determined according to the test result of the first module to be tested are normal shape State;
S302, the output interface for determining the second module to be tested, and the is obtained from the output interface of the second module to be tested The second test information that two module operations to be tested generate;
Wherein, the output interface of the first module to be tested is connect with the input interface of the second module to be tested, and second to The working condition of test module is normal condition;
S303, information and the first module to be tested and the second module to be tested are tested according to the first test information, second Corresponding cascade test index determines the cascade test result between the first module to be tested and the second module to be tested.
In the embodiment shown in fig. 3, the first module to be tested and the second module to be tested are to be tested in terminal Module, the output interface of the first module to be tested are connect with the input interface of the second module to be tested;Implemented by Fig. 1 or Fig. 2 Method shown in example can determine the working condition of the first module to be tested and the second module to be tested, in the following, to have determined that the For the working condition of one module to be tested and the second module to be tested is normal condition, method shown in Fig. 3 is carried out detailed It describes in detail bright.
After obtaining the first test information of the first module to be tested by method shown in Fig. 1 or Fig. 2 embodiment, determine The output interface of second module to be tested, and the second module operation life to be tested is obtained from the output interface of the second module to be tested At the second test information, then obtain preset first module to be tested and the corresponding cascade of the second module to be tested in terminal Condition, and it is corresponding according to the first test information, the second test information and the first module to be tested and the second module to be tested Concatenation condition determines the cascade test result of the first module to be tested and the second module to be tested.
Optionally, the first module to be tested and the second module to be tested can be determined by following feasible implementation Test result is cascaded, specifically, determining that second is to be measured according to the processing function of the second module to be tested and the second test information The estimated information of the signal of die trial block input;Determine the difference information of the first test information and estimated information;It is to be measured according to first Die trial block and the corresponding cascade test index of the second module to be tested and difference information, determine the first module to be tested and second Cascade test result between module to be tested;This kind of feasible implementation is described in detail with specific example below.
It illustratively, will treated that signal is sent to second is to be measured after the first module to be tested handles signal Die trial block is handled the signal after the first resume module to be tested by the second module to be tested again;Assuming that first is to be measured The corresponding first test information of die trial block treated signal is A, the signal corresponding second after the second resume module to be tested Test information is A1.
According to the processing function of the second module to be tested and the second test information A1, available second module to be tested The estimated information A2 of the signal of input, if the connection line between the first module to be tested and the second module to be tested is normal Words, then estimated information A2 should test the difference between information A consistent or estimated information A2 and the first test information A with first Value information within default maximum magnitude, i.e. the test of estimated information A2 and first information A should meet the first module to be tested and The corresponding cascade test index of second module to be tested, if the difference information between the test information of estimated information A2 and first meets First module to be tested and the corresponding cascade test index of the second module to be tested can then determine the first module to be tested and the Connection relationship between two modules to be tested is normal.
In the method shown in Fig. 3 embodiment, when needing to test the cascade connection between the module in terminal, Without carrying out tearing machine open to terminal, so that it may which the cascade connection between the module in terminal is tested in realization, and aforesaid operations It is simple and convenient, improve in terminal between module cascade connection testing efficiency, further, due to without to terminal carry out It tears machine open, avoids damage during tearing machine open to component in terminal, and then improve user experience.
On the basis of embodiment shown in Fig. 3, in order to enhance the flexibility tested to cascade connection between module and complete Face property, during testing the cascade connection between the module in terminal, can also to module input test parameter, And two modules for running the test parameter are tested, specifically, embodiment shown in referring to figure 4..
Fig. 4 is the flow diagram four of module test method provided by the invention, and the executing subject of this method is terminal, eventually End can be by software and or hardware realization, and on the basis of embodiment shown in Fig. 3, referring to figure 4., this method may include:
S401, the working condition that the first module to be tested is determined according to the test result of the first module to be tested are normal shape State;
S402, test parameter is joined by the input interface input stage of the first module to be tested, so that the first module to be tested Join test parameter with the second module runtime class to be tested;
S403, the output interface for determining the second module to be tested, and the is obtained from the output interface of the second module to be tested The second test information that two module runtime class connection test parameters to be tested generate;
Wherein, the output interface of the first module to be tested is connect with the input interface of the second module to be tested, and second to The working condition of test module is normal condition;
S404, referred to according to the first test information, the second test information and the corresponding cascade test of cascade test parameter Mark, determines the cascade test result between the first test module and the second test module.
S401 is identical as S301, and S404 is similar with S303, is no longer repeated herein.
In S402, since the first module to be tested and the second module to be tested have cascade connection, the first die trial to be measured The signal of block output is the input signal of the second module to be tested, and therefore, ginseng is tested in the cascade inputted to the first module to be tested Number influences whether the signal of the first module output to be tested, and then influences the input signal of the second module to be tested, therefore, to First module input stage to be tested joins test parameter, so that the first module to be tested and the second equal runtime class translocation of module to be tested Try parameter;Wherein, the cascade test parameter inputted to the first module to be tested, and inputs to the first module to be tested in S203 Test parameter is similar, is no longer repeated herein.
In the method shown in Fig. 4 embodiment, needing to carry out the cascade connection between the module to be tested in terminal When test, in the input interface input test parameter of module to be tested, so that two modules to be tested with cascade connection are equal It is run under the test parameter, and the cascade connection between this two modules to be tested with cascade connection is tested, In actual application, it can be set in the test parameter of module input interface input to be tested according to actual needs, so that Terminal can test the cascade connection run between module to be tested under different conditions, and then increase test spirit It is active and comprehensive.
Fig. 5 is the structural schematic diagram one of terminal provided by the invention, and referring to figure 5., which may include:
Determining module 501, the output interface of the first module to be tested for determining terminal, the first module to be tested it is defeated Outgoing interface is used to export the test information that the first module operation to be tested generates;
Module 502 is obtained, is generated for obtaining the first module operation to be tested from the output interface of the first module to be tested First test information;
Test module 503, for determining according to the first test information and the corresponding test index of the first module to be tested The test result of first module to be tested.
Fig. 6 is the structural schematic diagram two of terminal provided by the invention, on the basis of embodiment shown in Fig. 5, please refers to figure 6, which can also include input module 504, wherein
Determining module 501 can be also used for, and obtain first from the output interface of the first module to be tested obtaining module 502 Before the first test information that module operation to be tested generates, the input interface of the first module to be tested is determined, first is to be tested The input interface of module is used for input test parameter;
Input module 504 is used for, by the input interface of the first module to be tested to the first module input test to be tested Parameter;
It is specifically used for correspondingly, obtaining module 502, obtains the first die trial to be measured from the output interface of the first module to be tested Block runs the first test information that test parameter generates;
Correspondingly, test module 503 is specifically used for, referred to according to the first test information and the corresponding test of test parameter Mark, determines the test result of the first module to be tested.
In the examples shown in figure 5 and figure 6, terminal can also include starting module 505, and starting module 505 is used for, In the determining terminal of determining module 501 before the output interface for exporting test information of first module to be tested, user is received Input starts the first module to be tested for starting the enabling signal of the first module to be tested, and according to enabling signal.
Further, determining module 501 can be also used for, according to the test result of the first module to be tested determine first to The working condition of test module is normal condition;Determine the output interface of the second module to be tested;
Correspondingly, obtaining module 502 can be also used for, determine that the output of the second module to be tested connects in determining module 501 After mouthful, the second test information generated from the module operation to be tested of the output interface of the second module to be tested acquisition second, first The output interface of module to be tested is connect with the input interface of the second module to be tested, and the working condition of the second module to be tested For normal condition;
Correspondingly, test module 503 can be also used for, according to the first test information, the second test information and first to Test module and the corresponding cascade test index of the second module to be tested, determine the first module to be tested and the second module to be tested Between cascade test result.
Optionally, test module 503 specifically can be used for,
According to the processing function of the second module to be tested and the second test information, the second module input to be tested is determined The estimated information of signal;
Determine the difference information of the first test information and estimated information;
According to the first module to be tested and the corresponding cascade test index of the second module to be tested and difference information, determine Cascade test result between first module to be tested and the second module to be tested.
Further, input module 504 can be also used for, and connect obtaining module 502 from the output of the second module to be tested Before mouth obtains the second test information, test parameter is joined by the input interface input stage of the first module to be tested, so that first Module to be tested and the second module runtime class to be tested join test parameter;
Correspondingly, obtaining module 502 can be also used for, it is to be tested to obtain second from the output interface of the second module to be tested Module runtime class joins the second test information that test parameter generates;
Correspondingly, test module 503 can be also used for, according to the first test information, the second test information and grade translocation The corresponding cascade test index of parameter is tried, determines the cascade test result between the first test module and the second test module.
The technical solution of above method embodiment, implementing principle and technical effect class can be performed in the device of the present embodiment Seemingly, details are not described herein again for the present embodiment.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above-mentioned each method embodiment can lead to The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer readable storage medium.The journey When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned include: ROM, RAM, magnetic disk or The various media that can store program code such as person's CD.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution The range of scheme.

Claims (8)

1. a kind of module test method, which is characterized in that be applied to terminal, which comprises
Determine the output interface of the first module to be tested of the terminal, the output interface of first module to be tested is for defeated The first test information that described first module operation to be tested generates out;
The first test letter that the described first module operation to be tested generates is obtained from the output interface of the described first module to be tested Breath;
According to the first test information and the corresponding test index of first module to be tested, determine that described first is to be measured The test result of die trial block;
The working condition that the described first module to be tested is determined according to the test result of the described first module to be tested is normal shape State;
It determines the output interface of the second module to be tested, and obtains described second from the output interface of the described second module to be tested The second test information that module to be tested operation generates, the output interface of first module to be tested and described second to be tested The input interface of module connects, and the working condition of second module to be tested is normal condition;
According to the first test information, the second test information and first module to be tested and described second to be measured The corresponding cascade test index of die trial block determines the cascade between the described first module to be tested and second module to be tested Test result;
It is described that information and first module to be tested and described second are tested according to the first test information, described second The corresponding cascade test index of module to be tested, determines between the described first module to be tested and second module to be tested Cascade test result, comprising:
According to the processing function of the described second module to be tested and the second test information, determine that the second module to be tested is defeated The estimated information of the signal entered;
Determine the difference information of the first test information and the estimated information;
According to the described first module to be tested and the second corresponding cascade test index of module to be tested and the difference Information determines the cascade test result between the described first module to be tested and second module to be tested.
2. the method according to claim 1, wherein being obtained from the output interface of the described first module to be tested Before the first test information that the first module operation to be tested generates, further includes:
Determine that the input interface of the described first module to be tested, the input interface of first module to be tested are used for input test Parameter;
By the input interface of the described first module to be tested to the described first module input test parameter to be tested;
Correspondingly, obtaining first that the described first module operation to be tested generates from the output interface of the described first module to be tested Test information, comprising:
The described first module to be tested, which is obtained, from the output interface of the described first module to be tested runs the test parameter generation It is described first test information;
Correspondingly, according to the first test information and the corresponding test index of first module to be tested, determine described in The test result of first module to be tested, comprising:
According to the first test information and the corresponding test index of the test parameter, the described first module to be tested is determined Test result.
3. according to the method described in claim 2, it is characterized in that, the first module to be tested of the determination terminal it is defeated Before outgoing interface, the method also includes:
Receive the enabling signal for being used to start the described first module to be tested of user's input;
Start first module to be tested according to the enabling signal.
4. the method according to claim 1, wherein the output interface from the described second module to be tested obtains Before the second test information for taking the described second module operation to be tested to generate, the method also includes:
Join test parameter by the input interface input stage of the described first module to be tested so that first module to be tested and Second module to be tested runs the cascade test parameter;
Correspondingly, obtaining the second test that the described second module operation to be tested generates from the output interface of the second module to be tested Information, comprising:
The described second module to be tested, which is obtained, from the output interface of the second module to be tested runs the cascade test parameter generation Second test information;
Correspondingly, according to the first test information, the second test information and first module to be tested and described The corresponding cascade test index of second module to be tested, determine the described first module to be tested and the described second module to be tested it Between cascade test result, comprising:
Referred to according to the first test information, the second test information and the corresponding cascade test of the cascade test parameter Mark, determines the cascade test result between first test module and second test module.
5. a kind of module testing terminal, which is characterized in that the module testing terminal includes:
Determining module, the output interface of the first module to be tested for determining the module testing terminal, described first is to be measured The output interface of die trial block is used to export the first test information that the described first module operation to be tested generates;
Module is obtained, is generated for obtaining the described first module operation to be tested from the output interface of the described first module to be tested First test information;
Test module, for according to the first test information and the corresponding test index of first module to be tested, really The test result of fixed first module to be tested;
The determining module is also used to, and determines the described first module to be tested according to the test result of the described first module to be tested Working condition be normal condition;Determine the output interface of the second module to be tested;
The acquisition module is also used to, after the output interface that the determining module determines the described second module to be tested, from institute The output interface for stating the second module to be tested obtains the second test information that the described second module to be tested operation generates, and described the The output interface of one module to be tested is connect with the input interface of the described second module to be tested, and second module to be tested Working condition be normal condition;
Correspondingly, the test module is also used to, according to the first test information, the second test information and described the One module to be tested and the corresponding cascade test index of second module to be tested, determine the described first module to be tested and institute State the cascade test result between the second module to be tested;
The test module is specifically used for,
According to the processing function of the described second module to be tested and the second test information, determine that the second module to be tested is defeated The estimated information of the signal entered;
Determine the difference information of the first test information and the estimated information;
According to the described first module to be tested and the second corresponding cascade test index of module to be tested and the difference Information determines the cascade test result between the described first module to be tested and second module to be tested.
6. module testing terminal according to claim 5, which is characterized in that the module testing terminal further includes input mould Block, wherein
The determining module is also used to, and obtains described the from the output interface of the described first module to be tested in the acquisition module Before the first test information that one module operation to be tested generates, the input interface of the described first module to be tested is determined, it is described The input interface of first module to be tested is used for input test parameter;
The input module is used for, and is inputted by the input interface of the described first module to be tested to the described first module to be tested Test parameter;
Correspondingly, the acquisition module is specifically used for, from the output interface of the described first module to be tested obtain described first to Test module runs the first test information that the test parameter generates;
Correspondingly, the test module is specifically used for, according to the first test information and the corresponding survey of the test parameter Index is tried, determines the test result of the described first module to be tested.
7. module testing terminal according to claim 6, which is characterized in that the module testing terminal further includes starting mould Block, the starting module are used for, and determine the output of the first module to be tested of the module testing terminal in the determining module Before interface, believing for starting the enabling signal of the described first module to be tested, and according to the starting for user's input is received Number starting first module to be tested.
8. module testing terminal according to claim 5, which is characterized in that
The input module is also used to, and obtains described the from the output interface of the described second module to be tested in the acquisition module Before the second test information that two module operations to be tested generate, pass through the input interface input stage of the described first module to be tested Join test parameter, so that first module to be tested and second module to be tested run the cascade test parameter;
Correspondingly, the acquisition module is also used to, second die trial to be measured is obtained from the output interface of the second module to be tested Block runs the second test information that the cascade test parameter generates;
Correspondingly, the test module is also used to, according to the first test information, the second test information and the grade Join the corresponding cascade test index of test parameter, determines the cascade between first test module and second test module Test result.
CN201510780081.6A 2015-11-13 2015-11-13 Module test method and terminal Active CN106708688B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510780081.6A CN106708688B (en) 2015-11-13 2015-11-13 Module test method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510780081.6A CN106708688B (en) 2015-11-13 2015-11-13 Module test method and terminal

Publications (2)

Publication Number Publication Date
CN106708688A CN106708688A (en) 2017-05-24
CN106708688B true CN106708688B (en) 2019-08-20

Family

ID=58930298

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510780081.6A Active CN106708688B (en) 2015-11-13 2015-11-13 Module test method and terminal

Country Status (1)

Country Link
CN (1) CN106708688B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108519939B (en) * 2018-03-12 2022-05-24 深圳市道通智能航空技术股份有限公司 Module testing method, device and system
CN109120358B (en) * 2018-06-13 2021-10-22 北京星网锐捷网络技术有限公司 Wireless radio frequency signal testing method, mobile terminal, surveying equipment and system
CN110825577B (en) * 2018-08-13 2023-07-04 成都鼎桥通信技术有限公司 Frozen screen testing method and device for terminal equipment
CN112035175B (en) * 2019-05-17 2023-04-07 成都鼎桥通信技术有限公司 Application setting method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102307121A (en) * 2011-08-25 2012-01-04 中兴通讯股份有限公司 Self-checking method and device for multimedia terminal
CN103686146A (en) * 2013-11-14 2014-03-26 乐视致新电子科技(天津)有限公司 Online fault diagnosis device and method
CN104639713A (en) * 2015-02-05 2015-05-20 络达科技股份有限公司 Operation state self-detection type communication module, communication device and detection method of communication device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104133745A (en) * 2013-04-30 2014-11-05 鸿富锦精密工业(深圳)有限公司 Electronic device with test function, test method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102307121A (en) * 2011-08-25 2012-01-04 中兴通讯股份有限公司 Self-checking method and device for multimedia terminal
CN103686146A (en) * 2013-11-14 2014-03-26 乐视致新电子科技(天津)有限公司 Online fault diagnosis device and method
CN104639713A (en) * 2015-02-05 2015-05-20 络达科技股份有限公司 Operation state self-detection type communication module, communication device and detection method of communication device

Also Published As

Publication number Publication date
CN106708688A (en) 2017-05-24

Similar Documents

Publication Publication Date Title
CN106708688B (en) Module test method and terminal
CN103313216B (en) Message prompt method, system and device for communication account
CN102520272B (en) Test system of power down protection function of smart card and method
CN102521122B (en) Dynamic scene oriented method and system for generating test sequence
CN105338550B (en) A kind of management method and device of the connection for wireless network
CN104483959A (en) Fault simulation and test system
US20090036115A1 (en) System and method for testing gsm modules
CN105677420A (en) Method and device for interface pin configuration
CN107018523A (en) WIFI module method of testing and device
CN113407393B (en) Chip verification method, terminal device, verification platform and storage medium
CN104866418A (en) Automatic testing method and system
CN104994459B (en) Terminal digital power amplifier configuration method and device
CN103873322A (en) Information processing method and communication terminal
CN111756858A (en) Remote development processing system, method and device of embedded equipment
CN105335192B (en) A kind of information processing method and electronic equipment
CN105320604A (en) Automated testing system and method
CN108006925A (en) Air-conditioning stress test method, computer installation, computer-readable recording medium
CN104834586A (en) Automatic test method, device and system of Android interface
CN106528199A (en) Method and terminal for updating automobile instrument panel system
CN110035496A (en) A kind of cloud platform switching method, system and electronic equipment
US8971944B2 (en) Method and devices of communicating physical cell identifier information to mobile stations
CN109960485A (en) A kind of audio adjustment method, audio debugging apparatus and terminal device
CN103428745A (en) Test system and test method of Cu interface between UICC (Universal Integrated Circuit Card) and WCDMA (Wideband Code Division Multiple Access) mobile terminal
CN111541589B (en) Method, device and equipment for testing expansion module interface of intelligent terminal
CN107885674A (en) Bluetooth equipment simulator and its method of work, bluetooth equipment operating system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant