CN104461857A - Software reliability detection method and device - Google Patents

Software reliability detection method and device Download PDF

Info

Publication number
CN104461857A
CN104461857A CN201310437097.8A CN201310437097A CN104461857A CN 104461857 A CN104461857 A CN 104461857A CN 201310437097 A CN201310437097 A CN 201310437097A CN 104461857 A CN104461857 A CN 104461857A
Authority
CN
China
Prior art keywords
positional information
mobile terminal
information
software
point
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201310437097.8A
Other languages
Chinese (zh)
Other versions
CN104461857B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201310437097.8A priority Critical patent/CN104461857B/en
Priority to PCT/CN2014/086389 priority patent/WO2015039585A1/en
Publication of CN104461857A publication Critical patent/CN104461857A/en
Application granted granted Critical
Publication of CN104461857B publication Critical patent/CN104461857B/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/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a software reliability detection method and device. the method includes the steps of obtaining a pattern, displayed in a touch screen area of a mobile terminal, of software running in the mobile terminal, obtaining edge information used for indicating the edge of the pattern through edge detection of the pattern, obtaining position information of a detection point used for detecting the software reliability according to the edge information, sending detection request information to the mobile terminal, and receiving a detection result fed back by the mobile terminal for responding to the detection request information, wherein the detection request information at least carries the position information of the detection point and touch screen operation instruction information, and the detection result is obtained due to the fact that the mobile terminal executes operation indicated by the touch screen operation instruction information on the position indicated by the position information of the detection point. The method and device solve the technical problem that detection efficiency is low, and has the technical effect of improving detection efficiency.

Description

The detection method of software reliability and device
Technical field
The present invention relates to software detection field, in particular to a kind of detection method and device of software reliability.
Background technology
For the reliability testing of cell phone software, especially completely depart from program source code or the Black-box Testing of third party software, current general scheme uses the interface of application programs completely randomly to click for a long time, the operation (MTTF random key testing tool) such as to pull, the long playing collapse of statistical software, abnormal rate, thus the reliability and stability weighing software.
But technique scheme exists following problem: the mode of completely random operation, a lot of operation cannot hit real manipulable control, causes a lot of Action Events to become invalid event, affects testing efficiency.
For above-mentioned problem, at present effective solution is not yet proposed.
Summary of the invention
Embodiments provide a kind of detection method and device of software reliability, at least to solve the lower technical matters of detection efficiency.
An optional embodiment of the present invention provides a kind of detection method of software reliability, and it comprises: the figure that the software run in acquisition mobile terminal shows in the touch screen area of mobile terminal; By carrying out to figure the marginal information that rim detection acquires the edge being used to indicate figure; The positional information of the check point of the reliability being used for inspection software is obtained according to marginal information; Send solicitation message to mobile terminal, wherein, in solicitation message, at least carry positional information and the contact action command information of check point; The testing result that mobile terminal receive returns in response to solicitation message, wherein, the operation that testing result performs the instruction of contact action command information by mobile terminal on the position indicated by the positional information of check point obtains.
An optional embodiment of the present invention provides a kind of pick-up unit of software reliability, and it comprises: the first acquiring unit, for obtaining the figure that the software that runs in mobile terminal shows in the touch screen area of mobile terminal; Edge detection unit, for by carrying out to figure the marginal information that rim detection acquires the edge being used to indicate figure; Second acquisition unit, for obtaining the positional information of the check point of the reliability being used for inspection software according to marginal information; First transmission unit, for sending solicitation message to mobile terminal, wherein, at least carries positional information and the contact action command information of check point in solicitation message; Second transmission unit, for the testing result that mobile terminal receive returns in response to solicitation message, wherein, the operation that testing result performs the instruction of contact action command information by mobile terminal on the position indicated by the positional information of check point obtains.
In embodiments of the present invention, rim detection is carried out to the runnable interface of software to be detected, then, the point of the point detected on edge or perimeter carries out detection operation, avoid and detect operation in incoherent execution, solve the technical matters that detection efficiency is lower, reach the technical purpose improving detection efficiency.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, and form a application's part, schematic description and description of the present invention, for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the schematic diagram of the detection system of a kind of optional software reliability according to the embodiment of the present invention;
Fig. 2 is the process flow diagram of the detection method of a kind of optional software reliability according to the embodiment of the present invention;
Fig. 3 is the schematic diagram of a kind of optional image edge according to the embodiment of the present invention;
Fig. 4 is the process flow diagram of the detection method according to the optional software reliability of the another kind of the embodiment of the present invention;
Fig. 5 is the process flow diagram of the detection method of another optional software reliability according to the embodiment of the present invention;
Fig. 6 is the process flow diagram of the detection method of another optional software reliability according to the embodiment of the present invention;
Fig. 7 is the process flow diagram of the detection method of another optional software reliability according to the embodiment of the present invention;
Fig. 8 is the process flow diagram of the detection method of another optional software reliability according to the embodiment of the present invention;
Fig. 9 is the structural representation of the pick-up unit of a kind of optional software reliability according to the embodiment of the present invention;
Figure 10 is the structural representation of the pick-up unit according to the optional software reliability of the another kind of the embodiment of the present invention;
Figure 11 is the structural representation of the pick-up unit of another optional software reliability according to the embodiment of the present invention;
Figure 12 is the structural representation of the pick-up unit of another optional software reliability according to the embodiment of the present invention;
Figure 13 is the structural representation of the pick-up unit of another optional software reliability according to the embodiment of the present invention; And
Figure 14 is the structural representation of the pick-up unit of another optional software reliability according to the embodiment of the present invention.
Embodiment
First, the part noun occurred in the process be described the embodiment of the present invention or term are applicable to description below:
The present invention program is understood better in order to make those skilled in the art person, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the embodiment of a part of the present invention, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, should belong to the scope of protection of the invention.
It should be noted that, term " first ", " second " etc. in instructions of the present invention and claims and above-mentioned accompanying drawing are for distinguishing similar object, and need not be used for describing specific order or precedence.Should be appreciated that the data used like this can be exchanged in the appropriate case, so as embodiments of the invention described herein can with except here diagram or describe those except order implement.In addition, term " comprises " and " having " and their any distortion, intention is to cover not exclusive comprising, such as, contain those steps or unit that the process of series of steps or unit, method, system, product or equipment is not necessarily limited to clearly list, but can comprise clearly do not list or for intrinsic other step of these processes, method, product or equipment or unit.
Embodiment 1
According to the embodiment of the present invention, provide a kind of detection system of software reliability, as shown in Figure 1, this system comprises: mobile phone 102 and the computer 104 be connected with mobile phone 102.In the present embodiment, computer 104, by carrying out alternately with mobile phone 102, carries out the detection of reliability to the software that mobile phone 102 runs.
As a kind of optional embodiment, as shown in Figure 2, a kind of detection method of optional software reliability includes but not limited to following steps:
S202, the figure that the software run in acquisition mobile terminal shows in the touch screen area of mobile terminal;
As the optional implementation of one, as shown in Figure 1, computer 104 is connected with the mobile phone 102 as mobile terminal by data line, computer 104 sends the instruction obtaining sectional drawing to mobile phone 102 by above-mentioned data line, certainly, data line is here a kind of connected mode, and the present embodiment is not construed as limiting this, such as, computer 104 can also be connected by radio connection and mobile phone 102.
After the instruction receiving the acquisition sectional drawing that computer 104 sends, mobile phone 102 responds this instruction and intercepts the figure of the software of current operation in the tactile screen display of mobile phone 102, then computer 104 is sent to by above-mentioned data line, wherein, the above-mentioned figure be truncated to can be, but not limited to as shown in the left hand side in Fig. 3.
S204, by carrying out to figure the marginal information that rim detection acquires the edge being used to indicate figure;
As the optional implementation of one, as shown in Figure 1, computer 104, after the figure receiving mobile phone 102 transmission, calls corresponding Edge-Detection Algorithm and carries out rim detection to received figure.In the present embodiment, Edge-Detection Algorithm includes but not limited to canny Edge-Detection Algorithm.Figure is obtained as shown in the right views in Fig. 3 by above-mentioned rim detection.
S206, obtains the positional information of the check point of the reliability being used for inspection software according to marginal information;
In the present embodiment, described positional information can be, but not limited to the coordinate into the point in the touch screen area of mobile terminal.
S208, sends solicitation message to mobile terminal, wherein, at least carries positional information and the contact action command information of check point in solicitation message;
In the present embodiment, described contact action command information include but not limited to following one of at least: click, pull, long by.
S210, the testing result that mobile terminal receive returns in response to solicitation message, wherein, the operation that testing result performs the instruction of contact action command information by mobile terminal on the position indicated by the positional information of check point obtains.
As the optional implementation of one, as shown in Figure 1, mobile phone 102 is receiving positional information and the contact action command information of check point, the position that the positional information of this check point indicates performs the operation of contact action command information instruction, and the testing result that execution aforesaid operations obtains is returned to computer 104.
The process of above-mentioned executable operations is described below in conjunction with Fig. 3.Based on the edge shown in the right views in Fig. 3, computer 104 select in " Chinese chess " four words " in " coordinate of word on the touch screen of mobile phone be the positional information of check point, and corresponding contact action command information be set operate for performing " clicks ".Then, computer 104 by " in " coordinate of word on the touch screen of mobile phone and be used to indicate the contact action command information that execution " click " operates and send to mobile phone 102.Mobile phone 102, after receiving above-mentioned coordinate and contact action command information, above-mentioned coordinate performs " click " operation, and the execution result of correspondence is returned to computer 104 as testing result.
Certainly, above-mentioned choose in " Chinese chess " four words " in " coordinate of word on the touch screen of mobile phone be the positional information of check point, this is an example, in order to improve accuracy of detection, can also with " in " coordinate gesticulated on the touch screen of mobile phone in word is the positional information of check point, more even can with " in " in word one gesticulate in the coordinate of a point on the touch screen of mobile phone be the positional information of check point, the present embodiment is not construed as limiting this.
In embodiments of the present invention, rim detection is carried out to the runnable interface of software to be detected, then, the point of the point detected on edge or perimeter carries out detection operation, avoid and detect operation in incoherent execution, solve the technical matters that detection efficiency is lower, reach the technical purpose improving detection efficiency.
In order to obtain the positional information of the check point of the reliability being used for inspection software according to marginal information, present embodiments provide following two kinds of implementations, certainly, it should be noted that, the present embodiment is not limited in this:
Mode 1): as shown in Figure 4, the positional information obtaining the check point of the reliability for detecting described software according to described marginal information comprises: S402, and one or more point is chosen at the edge indicated from described marginal information at random; The positional information of the one or more points selected by acquisition is as the positional information of the check point of the reliability for detecting described software.In the present embodiment, the point on above-mentioned edge is the check point needing to carry out detecting, and like this, only to needing the check point detected to detect operation accordingly, thus improves detection efficiency.
Mode 2): as shown in Figure 5, the positional information obtaining the check point of the reliability for detecting described software according to described marginal information comprises: S502, obtains one or more points that the edge indicated apart from described marginal information is less than predetermined space; The positional information of the one or more points selected by acquisition is as the positional information of the check point of the reliability for detecting described software.In the present embodiment, choose the point of perimeter as check point, thus add the applicable scene of detection, make the present embodiment carry out also being suitable in the scene of detection operation needing the point around edge.
In order to the testing result that mobile terminal receive returns in response to solicitation message, present embodiments provide following two kinds of implementations, certainly, it should be noted that, the present embodiment is not limited in this:
Mode 1): as shown in Figure 6, when the positional information of the check point of the described reliability for detecting described software comprises the positional information of described multiple point, the testing result that the described mobile terminal of described reception returns in response to described solicitation message comprises: S602, the position indicated by positional information receiving each point of described mobile terminal in described multiple point successively performs the testing result that obtains of operation of described contact action command information instruction.
Composition graphs 1, in the present embodiment, the testing result obtained is returned to computer 104 can execute corresponding operation on a point after by mobile phone 102 immediately, thus makes computer 104 can get testing result in real time.
Mode 2): as shown in Figure 7, when the positional information of the check point of the described reliability for detecting described software comprises the positional information of described multiple point, the testing result that the described mobile terminal of described reception returns in response to described solicitation message comprises: S702, receive the detection response message that described mobile terminal returns, wherein, position indicated by positional information that described detection response message comprises each point of described mobile terminal in described multiple point performs the testing result that obtains of operation of described contact action command information instruction.
Composition graphs 1, in the present embodiment, the testing result obtained is returned to computer 104 can execute corresponding operation on multiple point after by mobile phone 102 together, thus makes computer 104 can obtain multiple corresponding testing result in batches.
As the optional implementation of one, after the testing result that the described mobile terminal of reception returns in response to described solicitation message, as shown in Figure 8, the detection method of above-mentioned software reliability also comprises: S802, scans described testing result according to predetermined keyword; If scanning obtains the information corresponding with described keyword in described testing result, then judge that described software occurs abnormal.
Composition graphs 1 is illustrated, in the present embodiment, computer 104 after receiving corresponding testing result with the form record of daily record in memory.Then, computer 104 take "abnormal" as the above-mentioned daily record stored in keyword search storer, judges whether occur the information corresponding with "abnormal" in the testing result recorded in above-mentioned daily record, if having, then this information is carried out marking and showing.
It should be noted that, for aforesaid each embodiment of the method, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not by the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in instructions all belongs to preferred embodiment, and involved action and module might not be that the present invention is necessary.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that can add required general hardware platform by software according to the method for above-described embodiment and realize, hardware can certainly be passed through, but in a lot of situation, the former is better embodiment.Based on such understanding, technical scheme of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in a storage medium (as ROM/RAM, magnetic disc, CD), comprising some instructions in order to make a station terminal equipment (can be mobile phone, computing machine, server, or the network equipment etc.) perform method described in each embodiment of the present invention.
Embodiment 2
According to the embodiment of the present invention, additionally provide a kind of pick-up unit of software reliability of the detection method for implementing above-mentioned software reliability, as shown in Figure 9, the pick-up unit of the software reliability in the present embodiment can include but not limited to following one of at least: desktop computer, notebook computer, panel computer, mobile phone.
For desktop computer, the pick-up unit of the software reliability in the present embodiment comprises:
1) the first acquiring unit 902, for obtaining the figure that the software that runs in mobile terminal shows in the touch screen area of described mobile terminal;
As the optional implementation of one, as shown in Figure 1, computer 104 is connected with the mobile phone 102 as mobile terminal by data line, computer 104 sends the instruction obtaining sectional drawing to mobile phone 102 by above-mentioned data line, certainly, data line is here a kind of connected mode, and the present embodiment is not construed as limiting this, such as, computer 104 can also be connected by radio connection and mobile phone 102.
After the instruction receiving the acquisition sectional drawing that computer 104 sends, mobile phone 102 responds this instruction and intercepts the figure of the software of current operation in the tactile screen display of mobile phone 102, then the first acquiring unit 902 in computer 104 is sent to by above-mentioned data line, wherein, the above-mentioned figure be truncated to can be, but not limited to as shown in the left hand side in Fig. 3.
2) edge detection unit 904, for by carrying out to described figure the marginal information that rim detection acquires the edge being used to indicate described figure;
As the optional implementation of one, as shown in Figure 1, the first acquiring unit 902 in computer 104 is after the figure receiving mobile phone 102 transmission, and the edge detection unit 904 in computer 104 is called corresponding Edge-Detection Algorithm and carried out rim detection to received figure.In the present embodiment, Edge-Detection Algorithm includes but not limited to canny Edge-Detection Algorithm.Figure is obtained as shown in the right views in Fig. 3 by above-mentioned rim detection.
3) second acquisition unit 906, for obtaining the positional information of the check point of the reliability for detecting described software according to described marginal information;
In the present embodiment, described positional information can be, but not limited to the coordinate into the point in the touch screen area of mobile terminal.
4) the first transmission unit 908, for sending solicitation message to described mobile terminal, wherein, at least carries positional information and the contact action command information of described check point in described solicitation message;
In the present embodiment, described contact action command information include but not limited to following one of at least: click, pull, long by.
5) the second transmission unit 910, for receiving the testing result that described mobile terminal returns in response to described solicitation message, wherein, the operation that described testing result performs the instruction of described contact action command information by described mobile terminal on the position indicated by the positional information of described check point obtains.
As the optional implementation of one, as shown in Figure 1, mobile phone 102 is receiving positional information and the contact action command information of check point, the position that the positional information of this check point indicates performs the operation of contact action command information instruction, and the testing result that execution aforesaid operations obtains is returned to the second transmission unit 910 in computer 104.
The process of above-mentioned executable operations is described below in conjunction with Fig. 3.Based on the edge shown in the right views in Fig. 3, second acquisition unit 906 in computer 104 select in " Chinese chess " four words " in " coordinate of word on the touch screen of mobile phone be the positional information of check point, and corresponding contact action command information be set operate for performing " clicks ".Then, the first transmission unit 908 in computer 104 by " in " coordinate of word on the touch screen of mobile phone and be used to indicate the contact action command information that execution " click " operates and send to mobile phone 102.Mobile phone 102, after receiving above-mentioned coordinate and contact action command information, above-mentioned coordinate performs " click " operation, and the execution result of correspondence is returned to the second transmission unit 910 in computer 104 as testing result.
Certainly, above-mentioned choose in " Chinese chess " four words " in " coordinate of word on the touch screen of mobile phone be the positional information of check point, this is an example, in order to improve accuracy of detection, can also with " in " coordinate gesticulated on the touch screen of mobile phone in word is the positional information of check point, more even can with " in " in word one gesticulate in the coordinate of a point on the touch screen of mobile phone be the positional information of check point, the present embodiment is not construed as limiting this.
In embodiments of the present invention, rim detection is carried out to the runnable interface of software to be detected, then, the point of the point detected on edge or perimeter carries out detection operation, avoid and detect operation in incoherent execution, solve the technical matters that detection efficiency is lower, reach the technical purpose improving detection efficiency.
In order to obtain the positional information of the check point of the reliability being used for inspection software according to marginal information, present embodiments provide following two kinds of implementations, certainly, it should be noted that, the present embodiment is not limited in this:
Mode 1): as shown in Figure 10, described second acquisition unit 906 comprises: first chooses module 1002, chooses one or more point for the random edge indicated from described marginal information; First acquisition module 1004, for obtaining the positional information of positional information as the check point of the reliability for detecting described software of selected one or more points.In the present embodiment, the point on above-mentioned edge is the check point needing to carry out detecting, and like this, only to needing the check point detected to detect operation accordingly, thus improves detection efficiency.
Mode 2): as shown in figure 11, described second acquisition unit 906 comprises: the second acquisition module 1102, is less than one or more points of predetermined space for obtaining the edge indicated apart from described marginal information; 3rd acquisition module 1104, for obtaining the positional information of positional information as the check point of the reliability for detecting described software of selected one or more points.In the present embodiment, choose the point of perimeter as check point, thus add the applicable scene of detection, make the present embodiment carry out also being suitable in the scene of detection operation needing the point around edge.
In order to the testing result that mobile terminal receive returns in response to solicitation message, present embodiments provide following two kinds of implementations, certainly, it should be noted that, the present embodiment is not limited in this:
Mode 1): as shown in figure 12, when the positional information of the check point of the described reliability for detecting described software comprises the positional information of described multiple point, described second transmission unit 910 comprises: the first transport module 1202, for receive each point of described mobile terminal in described multiple point successively positional information indicated by position on perform the testing result that obtains of operation of described contact action command information instruction.
Composition graphs 1, in the present embodiment, the testing result obtained is returned to the first transport module 1202 in computer 104 by mobile phone 102 immediately can execute corresponding operation on a point after, thus makes computer 104 can get testing result in real time.
Mode 2): as shown in figure 13, when the positional information of the check point of the described reliability for detecting described software comprises the positional information of described multiple point, described second transmission unit 910 comprises: the second transport module 1302, for receiving the detection response message that described mobile terminal returns, wherein, position indicated by positional information that described detection response message comprises each point of described mobile terminal in described multiple point performs the testing result that obtains of operation of described contact action command information instruction.
Composition graphs 1, in the present embodiment, the testing result obtained to be returned to the second transport module 1302 in computer 104 by mobile phone 102 together can execute corresponding operation on multiple point after, thus makes computer 104 can obtain the testing result of multiple correspondence in batches.
As the optional implementation of one, as shown in figure 14, the pick-up unit of the software reliability in the present embodiment also comprises:
1) scanning element 1402, for after receiving the testing result that returns in response to described solicitation message of described mobile terminal, scans described testing result according to predetermined keyword;
2) judging unit 1404, if obtain the information corresponding with described keyword for scanning in described testing result, then judges that described software occurs abnormal.
Composition graphs 1 is illustrated, in the present embodiment, computer 104 after receiving corresponding testing result with the form record of daily record in memory.Then, scanning element 1402 in computer 104 take "abnormal" as the above-mentioned daily record stored in keyword search storer, judging unit 1404 judges whether occur the information corresponding with "abnormal" in the testing result recorded in above-mentioned daily record, if having, then this information is carried out marking and showing.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
In the above embodiment of the present invention, the description of each embodiment is all emphasized particularly on different fields, in certain embodiment, there is no the part described in detail, can see the associated description of other embodiments.
In several embodiments that the application provides, described device embodiment is only schematic, the such as division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of unit or module or communication connection can be electrical or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form of SFU software functional unit also can be adopted to realize.
If described integrated unit using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words or all or part of of this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprises all or part of step of some instructions in order to make a computer equipment (can be personal computer, server or the network equipment etc.) perform method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, ROM (read-only memory) (ROM, Read-OnlyMemory), random access memory (RAM, Random Access Memory), portable hard drive, magnetic disc or CD etc. various can be program code stored medium.
The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (16)

1. a detection method for software reliability, is characterized in that, comprising:
The figure that the software run in acquisition mobile terminal shows in the touch screen area of described mobile terminal;
By carrying out to described figure the marginal information that rim detection acquires the edge being used to indicate described figure;
The positional information of the check point of the reliability for detecting described software is obtained according to described marginal information;
Send solicitation message to described mobile terminal, wherein, in described solicitation message, at least carry positional information and the contact action command information of described check point;
Receive the testing result that described mobile terminal returns in response to described solicitation message, wherein, the operation that described testing result performs the instruction of described contact action command information by described mobile terminal on the position indicated by the positional information of described check point obtains.
2. method according to claim 1, is characterized in that, the positional information obtaining the check point of the reliability for detecting described software according to described marginal information comprises:
One or more point is chosen at random from the edge that described marginal information indicates;
The positional information of the one or more points selected by acquisition is as the positional information of the check point of the reliability for detecting described software.
3. method according to claim 1, is characterized in that, the positional information obtaining the check point of the reliability for detecting described software according to described marginal information comprises:
Obtain the one or more points being less than predetermined space apart from the edge that described marginal information indicates;
The positional information of the one or more points selected by acquisition is as the positional information of the check point of the reliability for detecting described software.
4. according to the method in claim 2 or 3, it is characterized in that, when the positional information of the check point of the described reliability for detecting described software comprises the positional information of described multiple point, the testing result that the described mobile terminal of described reception returns in response to described solicitation message comprises:
The position indicated by positional information receiving each point of described mobile terminal in described multiple point successively performs the testing result that obtains of operation of described contact action command information instruction.
5. according to the method in claim 2 or 3, it is characterized in that, when the positional information of the check point of the described reliability for detecting described software comprises the positional information of described multiple point, the testing result that the described mobile terminal of described reception returns in response to described solicitation message comprises:
Receive the detection response message that described mobile terminal returns, wherein, position indicated by positional information that described detection response message comprises each point of described mobile terminal in described multiple point performs the testing result that obtains of operation of described contact action command information instruction.
6. according to the method in any one of claims 1 to 3, it is characterized in that, after the testing result that the described mobile terminal of reception returns in response to described solicitation message, also comprise:
According to predetermined keyword, described testing result is scanned;
If scanning obtains the information corresponding with described keyword in described testing result, then judge that described software occurs abnormal.
7. according to the method in any one of claims 1 to 3, it is characterized in that, described positional information is the coordinate of the point in described touch screen area.
8. according to the method in any one of claims 1 to 3, it is characterized in that, described contact action command information comprise following one of at least: click, pull, long by.
9. a pick-up unit for software reliability, is characterized in that, comprising:
First acquiring unit, for obtaining the figure that the software that runs in mobile terminal shows in the touch screen area of described mobile terminal;
Edge detection unit, for by carrying out to described figure the marginal information that rim detection acquires the edge being used to indicate described figure;
Second acquisition unit, for obtaining the positional information of the check point of the reliability for detecting described software according to described marginal information;
First transmission unit, for sending solicitation message to described mobile terminal, wherein, at least carries positional information and the contact action command information of described check point in described solicitation message;
Second transmission unit, for receiving the testing result that described mobile terminal returns in response to described solicitation message, wherein, the operation that described testing result performs the instruction of described contact action command information by described mobile terminal on the position indicated by the positional information of described check point obtains.
10. device according to claim 9, is characterized in that, described second acquisition unit comprises:
First chooses module, chooses one or more point for the random edge indicated from described marginal information;
First acquisition module, for obtaining the positional information of positional information as the check point of the reliability for detecting described software of selected one or more points.
11. devices according to claim 9, is characterized in that, described second acquisition unit comprises:
Second acquisition module, is less than one or more points of predetermined space for obtaining the edge indicated apart from described marginal information;
3rd acquisition module, for obtaining the positional information of positional information as the check point of the reliability for detecting described software of selected one or more points.
12. devices according to claim 10 or 11, it is characterized in that, when the positional information of the check point of the described reliability for detecting described software comprises the positional information of described multiple point, described second transmission unit comprises:
First transport module, for receive each point of described mobile terminal in described multiple point successively positional information indicated by position on perform the testing result that obtains of operation of described contact action command information instruction.
13. devices according to claim 10 or 11, it is characterized in that, when the positional information of the check point of the described reliability for detecting described software comprises the positional information of described multiple point, described second transmission unit comprises:
Second transport module, for receiving the detection response message that described mobile terminal returns, wherein, position indicated by positional information that described detection response message comprises each point of described mobile terminal in described multiple point performs the testing result that obtains of operation of described contact action command information instruction.
14. devices according to any one of claim 9 to 11, is characterized in that, also comprise:
Scanning element, for after receiving the testing result that returns in response to described solicitation message of described mobile terminal, scans described testing result according to predetermined keyword;
Judging unit, if obtain the information corresponding with described keyword for scanning in described testing result, then judges that described software occurs abnormal.
15. devices according to any one of claim 9 to 11, it is characterized in that, described positional information is the coordinate of the point in described touch screen area.
16. devices according to any one of claim 9 to 11, is characterized in that, described pick-up unit comprise following one of at least: desktop computer, notebook computer, panel computer, mobile phone.
CN201310437097.8A 2013-09-23 2013-09-23 The detection method and device of software reliability Active CN104461857B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310437097.8A CN104461857B (en) 2013-09-23 2013-09-23 The detection method and device of software reliability
PCT/CN2014/086389 WO2015039585A1 (en) 2013-09-23 2014-09-12 Method and device for testing software reliability

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310437097.8A CN104461857B (en) 2013-09-23 2013-09-23 The detection method and device of software reliability

Publications (2)

Publication Number Publication Date
CN104461857A true CN104461857A (en) 2015-03-25
CN104461857B CN104461857B (en) 2018-05-18

Family

ID=52688237

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310437097.8A Active CN104461857B (en) 2013-09-23 2013-09-23 The detection method and device of software reliability

Country Status (2)

Country Link
CN (1) CN104461857B (en)
WO (1) WO2015039585A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110830319A (en) * 2018-08-10 2020-02-21 长鑫存储技术有限公司 Management method, device and system for integrated circuit test

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9804955B2 (en) 2015-07-28 2017-10-31 TestPlant Europe Limited Method and apparatus for creating reference images for an automated test of software with a graphical user interface
CN105955861A (en) * 2016-05-19 2016-09-21 努比亚技术有限公司 Fault detection apparatus and method as well as mobile terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7143391B1 (en) * 2002-12-11 2006-11-28 Oracle International Corporation Method and apparatus for globalization testing computer software
CN101521834A (en) * 2009-04-02 2009-09-02 深圳市茁壮网络技术有限公司 Automatic testing method, device and system
CN102420712A (en) * 2010-09-28 2012-04-18 ***通信集团公司 Testing method and equipment
CN103312850A (en) * 2013-05-10 2013-09-18 江苏科技大学 Mobile phone automation testing system and work method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7143391B1 (en) * 2002-12-11 2006-11-28 Oracle International Corporation Method and apparatus for globalization testing computer software
CN101521834A (en) * 2009-04-02 2009-09-02 深圳市茁壮网络技术有限公司 Automatic testing method, device and system
CN102420712A (en) * 2010-09-28 2012-04-18 ***通信集团公司 Testing method and equipment
CN103312850A (en) * 2013-05-10 2013-09-18 江苏科技大学 Mobile phone automation testing system and work method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110830319A (en) * 2018-08-10 2020-02-21 长鑫存储技术有限公司 Management method, device and system for integrated circuit test
CN110830319B (en) * 2018-08-10 2021-07-20 长鑫存储技术有限公司 Management method, device and system for integrated circuit test

Also Published As

Publication number Publication date
CN104461857B (en) 2018-05-18
WO2015039585A1 (en) 2015-03-26

Similar Documents

Publication Publication Date Title
CN106778440B (en) Two-dimensional code identification method and device
CN104866414A (en) Method, device and system for testing application program
CN105404585A (en) Method and apparatus for acquiring code coverage rate
US20140002396A1 (en) Information processing method, information processing apparatus and electronic device
CN105955576A (en) User operation data-based application icon display method
CN104978180B (en) Unprocessed event prompting method and device and mobile terminal
CN105487966A (en) Program testing method, device and system
CN104378406B (en) Information-pushing method and device
CN103631483A (en) Positioning method and positioning device
CN109547335B (en) Session message processing method and device
CN104978739A (en) Image object selection method and apparatus
CN103226442A (en) Method and device for processing files in batches
CN102902943A (en) Two-dimension code scanning method, processing device and terminal
CN107451501B (en) Method and device for realizing dynamic graphic coding
CN104461857A (en) Software reliability detection method and device
US20170242498A1 (en) Passive Chopsticks Stylus System for Capacitive Touch Screens
CN112749074A (en) Test case recommendation method and device
CN110914810B (en) Monkey testing method and terminal
CN106604363B (en) A kind of Wireless Fidelity Wi-Fi scan method, mobile terminal and storage medium
CN111859322A (en) Identity verification method and device and electronic equipment
CN110709822B (en) Fault processing method of terminal equipment and terminal equipment
CN105243315B (en) Method, apparatus and system for the input of single type picture validation code
CN105549822A (en) Icon moving method and mobile terminal
CN109144379B (en) Method for operating terminal, terminal detection device, system and storage medium
CN104572349A (en) Data backup method

Legal Events

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