CN104461857B - The detection method and device of software reliability - Google Patents

The detection method and device of software reliability Download PDF

Info

Publication number
CN104461857B
CN104461857B CN201310437097.8A CN201310437097A CN104461857B CN 104461857 B CN104461857 B CN 104461857B CN 201310437097 A CN201310437097 A CN 201310437097A CN 104461857 B CN104461857 B CN 104461857B
Authority
CN
China
Prior art keywords
location information
mobile terminal
software
information
point
Prior art date
Application number
CN201310437097.8A
Other languages
Chinese (zh)
Other versions
CN104461857A (en
Inventor
吴英
李凌虹
Original Assignee
腾讯科技(深圳)有限公司
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 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Priority to CN201310437097.8A priority Critical patent/CN104461857B/en
Publication of CN104461857A publication Critical patent/CN104461857A/en
Application granted granted Critical
Publication of CN104461857B publication Critical patent/CN104461857B/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; 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

Abstract

The invention discloses the detection methods and device of a kind of software reliability.Wherein, this method includes:Obtain the figure that the software run in mobile terminal is shown in the touch screen area of mobile terminal;The marginal information for acquiring the edge for being used to indicate figure by carrying out edge detection to figure;The location information of the test point of the reliability for inspection software is obtained according to marginal information;Solicitation message is sent to mobile terminal, wherein, the location information of test point and contact action command information are at least carried in solicitation message;The testing result that mobile terminal is returned in response to solicitation message is received, wherein, testing result is obtained as performing the operation that contact action command information indicates on the position indicated by location information of the mobile terminal in test point.The present invention solves the technical issues of detection efficiency is relatively low, has reached the technique effect for improving detection efficiency.

Description

The detection method and device of software reliability

Technical field

The present invention relates to software detection field, in particular to the detection method and device of a kind of software reliability.

Background technology

Reliability test for cell phone software especially completely disengages program source code or third party software Black-box Testing, current general scheme are using completely random to carry out long-time click, dragging etc. to the interface of application program Operation(MTTF random key testing tools), the collapse of statistical software long-play, abnormal rate, so as to weigh the reliable of software Property and stability.

However, above-mentioned technical proposal there are it is following the problem of:The mode of completely random operation, many operations can not hit true Just manipulable control causes many action events to become invalid event, influences testing efficiency.

For it is above-mentioned the problem of, currently no effective solution has been proposed.

The content of the invention

An embodiment of the present invention provides the detection method and device of a kind of software reliability, at least solve detection efficiency compared with The technical issues of low.

An optional embodiment of the present invention provides a kind of detection method of software reliability, including:It obtains and moves The figure that the software run in dynamic terminal is shown in the touch screen area of mobile terminal;By carrying out edge detection acquisition to figure Obtain being used to indicate the marginal information at the edge of figure;The test point of the reliability for inspection software is obtained according to marginal information Location information;Solicitation message is sent to mobile terminal, wherein, the position of test point is at least carried in solicitation message Confidence ceases and contact action command information;The testing result that mobile terminal is returned in response to solicitation message is received, wherein, inspection Survey the behaviour that result is indicated as performing contact action command information on the position indicated by location information of the mobile terminal in test point It obtains.

An optional embodiment of the present invention provides a kind of detection device of software reliability, including:First obtains Unit is taken, for obtaining the figure that the software run in mobile terminal is shown in the touch screen area of mobile terminal;Edge detection Unit, for the marginal information for acquiring the edge for being used to indicate figure by carrying out edge detection to figure;Second obtains Unit, for obtaining the location information of the test point of the reliability for inspection software according to marginal information;First transmission unit, For sending solicitation message to mobile terminal, wherein, the location information of test point is at least carried in solicitation message With contact action command information;Second transmission unit, for receiving the detection that mobile terminal is returned in response to solicitation message As a result, wherein, testing result is as performing contact action instruction on the position indicated by location information of the mobile terminal in test point The operation of information instruction obtains.

In embodiments of the present invention, edge detection is carried out to the runnable interface of software to be detected, then, is detecting side Point on edge is detected operation on the point of perimeter, avoids and performs detection operation in incoherent point, solves inspection The technical issues of less efficient is surveyed, has reached the technical purpose for improving detection efficiency.

Description of the drawings

Attached drawing described herein is used for providing a further understanding of the present invention, forms the part of the application, this hair Bright schematic description and description does not constitute improper limitations of the present invention for explaining the present invention.In the accompanying drawings:

Fig. 1 is a kind of schematic diagram of the detecting system of optional software reliability according to embodiments of the present invention;

Fig. 2 is a kind of flow chart of the detection method of optional software reliability according to embodiments of the present invention;

Fig. 3 is a kind of schematic diagram of optional image edge according to embodiments of the present invention;

Fig. 4 is the flow chart of the detection method of the optional software reliability of another kind according to embodiments of the present invention;

Fig. 5 is the flow chart of the detection method of another optional software reliability according to embodiments of the present invention;

Fig. 6 is the flow chart of the detection method of another optional software reliability according to embodiments of the present invention;

Fig. 7 is the flow chart of the detection method of another optional software reliability according to embodiments of the present invention;

Fig. 8 is the flow chart of the detection method of another optional software reliability according to embodiments of the present invention;

Fig. 9 is a kind of structure diagram of the detection device of optional software reliability according to embodiments of the present invention;

Figure 10 is the structure diagram of the detection device of the optional software reliability of another kind according to embodiments of the present invention;

Figure 11 is the structure diagram of the detection device of another optional software reliability according to embodiments of the present invention;

Figure 12 is the structure diagram of the detection device of another optional software reliability according to embodiments of the present invention;

Figure 13 is the structure diagram of the detection device of another optional software reliability according to embodiments of the present invention; And

Figure 14 is the structure diagram of the detection device of another optional software reliability according to embodiments of the present invention.

Specific embodiment

First, the part noun or term occurred during the embodiment of the present invention is described is suitable for following solution It releases:

In order to which those skilled in the art is made to more fully understand the present invention program, below in conjunction in the embodiment of the present invention The technical solution in the embodiment of the present invention is clearly and completely described in attached drawing, it is clear that described embodiment is only The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people Member's all other embodiments obtained without making creative work should all belong to the model that the present invention protects It encloses.

It should be noted that term " first " in description and claims of this specification and above-mentioned attached drawing, " Two " etc. be the object for distinguishing similar, without being used to describe specific order or precedence.It should be appreciated that it so uses Data can exchange in the appropriate case, so as to the embodiment of the present invention described herein can with except illustrating herein or Order beyond those of description is implemented.In addition, term " comprising " and " having " and their any deformation, it is intended that cover Cover it is non-exclusive include, be not necessarily limited to for example, containing the process of series of steps or unit, method, system, product or equipment Those steps or unit clearly listed, but may include not list clearly or for these processes, method, product Or the intrinsic other steps of equipment or unit.

Embodiment 1

According to embodiments of the present invention, a kind of detecting system of software reliability is provided, as shown in Figure 1, the system includes: Mobile phone 102 and the computer 104 being connected with mobile phone 102.In the present embodiment, computer 104 is right by being interacted with mobile phone 102 The software run on mobile phone 102 carries out the detection of reliability.

As a kind of optional embodiment, as shown in Fig. 2, a kind of detection method of optional software reliability is included but not It is limited to following steps:

S202 obtains the figure that the software run in mobile terminal is shown in the touch screen area of mobile terminal;

As a kind of optional realization method, as shown in Figure 1, computer 104 passes through data cable and the hand for being used as mobile terminal Machine 102 connects, and computer 104 sends the instruction for obtaining sectional drawing, certainly, data here by above-mentioned data cable to mobile phone 102 Line is a kind of connection mode, and the present embodiment is not construed as limiting this, for example, computer 104 can also by radio connection with Mobile phone 102 establishes connection.

After the instruction of acquisition sectional drawing of the transmission of computer 104 is received, mobile phone 102 responds the instruction to currently running Software is intercepted in the figure of the tactile screen display of mobile phone 102, is then sent to computer 104 by above-mentioned data cable, wherein, The above-mentioned figure being truncated to can be, but not limited to as shown in the left hand side in Fig. 3.

S204, the marginal information for acquiring the edge for being used to indicate figure by carrying out edge detection to figure;

As a kind of optional realization method, as shown in Figure 1, computer 104 receive the transmission of mobile phone 102 figure it Afterwards, corresponding Edge-Detection Algorithm is called to carry out edge detection to received figure.In the present embodiment, image side Edge detection algorithm includes but not limited to canny Edge-Detection Algorithms.Figure is obtained as in Fig. 3 by above-mentioned edge detection Shown in right views.

S206 obtains the location information of the test point of the reliability for inspection software according to marginal information;

In the present embodiment, the location information can be, but not limited to the seat of the point in the touch screen area for mobile terminal Mark.

S208 sends solicitation message to mobile terminal, wherein, test point is at least carried in solicitation message Location information and contact action command information;

In the present embodiment, the contact action command information includes but not limited at least one of:Click on, pull, Long-press.

S210 receives the testing result that mobile terminal is returned in response to solicitation message, wherein, testing result is by moving The operation that the instruction of contact action command information is performed on position indicated by location information of the terminal in test point obtains.

As a kind of optional realization method, as shown in Figure 1, mobile phone 102 is receiving the location information of test point and is touching Shield operation instruction information, the behaviour of contact action command information instruction is performed on the position of the location information instruction of the test point Make, and the testing result that execution aforesaid operations are obtained returns to computer 104.

The process of above-mentioned execution operation is described below in conjunction with Fig. 3.Based on the edge shown in the right views in Fig. 3, electricity Brain 104 select in " Chinese chess " four words " in " coordinate of the word on the touch screen of mobile phone for test point location information, and Corresponding contact action command information is set to perform " click " operation.Then, computer 104 will " in " word is on the touch screen of mobile phone Coordinate and be used to indicate execution " click " operation contact action command information be sent to mobile phone 102.Mobile phone 102 is receiving To after above-mentioned coordinate and contact action command information, " click " operation is performed on above-mentioned coordinate, and knot is performed by corresponding Fruit returns to computer 104 as testing result.

Certainly, in above-mentioned four words of selection " Chinese chess " " in " coordinate of the word on the touch screen of mobile phone is test point Location information, this is an example, in order to improve accuracy of detection, can also with " in " one in word gesticulate touching in mobile phone Coordinate on screen is the location information of test point, more even can with " in " one in word gesticulate in a point in mobile phone Coordinate on touch screen is the location information of test point, and the present embodiment is not construed as limiting this.

In embodiments of the present invention, edge detection is carried out to the runnable interface of software to be detected, then, is detecting side Point on edge is detected operation on the point of perimeter, avoids and performs detection operation in incoherent point, solves inspection The technical issues of less efficient is surveyed, has reached the technical purpose for improving detection efficiency.

In order to obtain the location information of the test point of the reliability for inspection software according to marginal information, the present embodiment carries Following two realization methods are supplied, certainly, it is necessary to which explanation, the present embodiment are not limited to that:

Mode 1):As shown in figure 4, according to the marginal information obtain for detect the software reliability test point Location information include:S402 chooses one or more points from the edge that the marginal information indicates at random;Selected by acquisition One or more points location information as detecting the location information of the test point of the reliability of the software.In this reality It applies in example, the point on above-mentioned edge is needs the test point being detected, in this way, only being carried out to the test point that needs detect corresponding Detection operation, so as to improve detection efficiency.

Mode 2):As shown in figure 5, according to the marginal information obtain for detect the software reliability test point Location information include:S502 obtains the one or more points that the edge away from marginal information instruction is less than predetermined space;It obtains The location information of selected one or more points is taken to believe as detecting the position of the test point of the reliability of the software Breath.In the present embodiment, the point of perimeter is chosen as test point, so as to add the applicable scene of detection so that this reality It applies example and is also suitable the point to perimeter is needed to be detected in the scene of operation.

In order to receive the testing result that mobile terminal is returned in response to solicitation message, following two are present embodiments provided Kind realization method, certainly, it is necessary to which explanation, the present embodiment are not limited to that:

Mode 1):As shown in fig. 6, include when described for detecting the location information of the test point of the reliability of the software During the location information of the multiple point, the detection knot for receiving the mobile terminal and being returned in response to the solicitation message Fruit includes:S602 is sequentially received the position indicated by the location information of each point of the mobile terminal in the multiple point It puts and performs the testing result that the operation of the contact action command information instruction obtains.

For Fig. 1, in the present embodiment, mobile phone 102 is stood after corresponding operation can have been performed on a point The testing result that will be obtained returns to computer 104, so that computer 104 can get testing result in real time.

Mode 2):As shown in fig. 7, include when described for detecting the location information of the test point of the reliability of the software During the location information of the multiple point, the detection knot for receiving the mobile terminal and being returned in response to the solicitation message Fruit includes:S702 receives the detection response message that the mobile terminal returns, wherein, the detection response message includes institute It states and the contact action instruction is performed on the position indicated by the location information of each point of the mobile terminal in the multiple point The testing result that the operation of information instruction obtains.

For Fig. 1, in the present embodiment, mobile phone 102 will after corresponding operation can have been performed on multiple points Obtained testing result returns to computer 104 together, so that computer 104 can obtain the corresponding detection knot of multiple points in batches Fruit.

As a kind of optional realization method, receiving what the mobile terminal was returned in response to the solicitation message After testing result, as shown in figure 8, the detection method of above-mentioned software reliability further includes:S802, according to predetermined keyword pair The testing result is scanned;If scanning obtains information corresponding with the keyword in the testing result, judge Go out the software and exception occur.

It illustrates with reference to Fig. 1, in the present embodiment, computer 104 is after corresponding testing result is received with daily record Form record in memory.Then, computer 104 using "abnormal" as keyword search memory in the above-mentioned daily record that stores, Judge whether occur information corresponding with "abnormal" in the testing result recorded in above-mentioned daily record, if so, then carrying out the information It marks and shows.

It should be noted that for foregoing each method embodiment, in order to be briefly described, therefore it is all expressed as a series of Combination of actions, but those skilled in the art should know, the present invention and from the limitation of described sequence of movement because According to the present invention, some steps may be employed other orders or be carried out at the same time.Secondly, those skilled in the art should also know It knows, embodiment described in this description belongs to preferred embodiment, and involved action and module are not necessarily of the invention It is necessary.

Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation The method of example can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but it is very much In the case of the former be more preferably embodiment.Based on such understanding, technical scheme is substantially in other words to existing The part that technology contributes can be embodied in the form of software product, which is stored in a storage Medium(Such as ROM/RAM, magnetic disc, CD)In, it is used including some instructions so that a station terminal equipment(It can be mobile phone, calculate Machine, server or network equipment etc.)Perform the method described in each embodiment of the present invention.

Embodiment 2

According to embodiments of the present invention, additionally providing a kind of software of the detection method for implementing above-mentioned software reliability can By the detection device of property, as shown in figure 9, the detection device of the software reliability in the present embodiment can include but is not limited to it is following At least one:Desktop computer, laptop, tablet computer, mobile phone.

By taking desktop computer as an example, the detection device of the software reliability in the present embodiment includes:

1)First acquisition unit 902, for obtaining the software run in mobile terminal in the touch screen area of the mobile terminal The figure shown in domain;

As a kind of optional realization method, as shown in Figure 1, computer 104 passes through data cable and the hand for being used as mobile terminal Machine 102 connects, and computer 104 sends the instruction for obtaining sectional drawing, certainly, data here by above-mentioned data cable to mobile phone 102 Line is a kind of connection mode, and the present embodiment is not construed as limiting this, for example, computer 104 can also by radio connection with Mobile phone 102 establishes connection.

After the instruction of acquisition sectional drawing of the transmission of computer 104 is received, mobile phone 102 responds the instruction to currently running Software is intercepted in the figure of the tactile screen display of mobile phone 102, be then sent to by above-mentioned data cable in computer 104 One acquiring unit 902, wherein, the above-mentioned figure being 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 the figure is carried out edge detection acquire be used to indicate it is described The marginal information at the edge of figure;

As a kind of optional realization method, as shown in Figure 1, the first acquisition unit 902 in computer 104 is in one's hands in reception After the figure that machine 102 is sent, the edge detection unit 904 in computer 104 calls corresponding Edge-Detection Algorithm to institute The figure received carries out edge detection.In the present embodiment, Edge-Detection Algorithm includes but not limited to canny images side Edge detection algorithm.Figure is obtained as shown in the right views in Fig. 3 by above-mentioned edge detection.

3)Second acquisition unit 906, for detecting the reliability of the software according to marginal information acquisition The location information of test point;

In the present embodiment, the location information can be, but not limited to the seat of the point in the touch screen area for mobile terminal Mark.

4)First transmission unit 908, for sending solicitation message to the mobile terminal, wherein, the detection please It asks and the location information of the test point and contact action command information is at least carried in message;

In the present embodiment, the contact action command information includes but not limited at least one of:Click on, pull, Long-press.

5)Second transmission unit 910, for receiving the inspection that the mobile terminal is returned in response to the solicitation message It surveys as a result, wherein, the testing result on the position indicated by location information of the mobile terminal in the test point as holding The operation of the row contact action command information instruction obtains.

As a kind of optional realization method, as shown in Figure 1, mobile phone 102 is receiving the location information of test point and is touching Shield operation instruction information, the behaviour of contact action command information instruction is performed on the position of the location information instruction of the test point Make, and the testing result that execution aforesaid operations are obtained returns to the second transmission unit 910 in computer 104.

The process of above-mentioned execution operation is described below in conjunction with Fig. 3.Based on the edge shown in the right views in Fig. 3, electricity Second acquisition unit 906 in brain 104 select in " Chinese chess " four words " in " coordinate of the word on the touch screen of mobile phone for The location information of test point, and corresponding contact action command information is set to perform " click " operation.Then, in computer 104 The first transmission unit 908 by " in " coordinate of the word on the touch screen of mobile phone and be used to indicate the touch screen of execution " click " operation Operation instruction information is sent to mobile phone 102.Mobile phone 102 is after above-mentioned coordinate and contact action command information is received, upper It states and " click " operation is performed on coordinate, and corresponding implementing result is returned to second in computer 104 as testing result and is passed Defeated unit 910.

Certainly, in above-mentioned four words of selection " Chinese chess " " in " coordinate of the word on the touch screen of mobile phone is test point Location information, this is an example, in order to improve accuracy of detection, can also with " in " one in word gesticulate touching in mobile phone Coordinate on screen is the location information of test point, more even can with " in " one in word gesticulate in a point in mobile phone Coordinate on touch screen is the location information of test point, and the present embodiment is not construed as limiting this.

In embodiments of the present invention, edge detection is carried out to the runnable interface of software to be detected, then, is detecting side Point on edge is detected operation on the point of perimeter, avoids and performs detection operation in incoherent point, solves inspection The technical issues of less efficient is surveyed, has reached the technical purpose for improving detection efficiency.

In order to obtain the location information of the test point of the reliability for inspection software according to marginal information, the present embodiment carries Following two realization methods are supplied, certainly, it is necessary to which explanation, the present embodiment are not limited to that:

Mode 1):As shown in Figure 10, the second acquisition unit 906 includes:First choose module 1002, at random from One or more points is chosen on the edge of the marginal information instruction;First acquisition module 1004, for obtaining selected one The location information of a or multiple points is as detecting the location information of the test point of the reliability of the software.In the present embodiment In, the point on above-mentioned edge is needs the test point being detected, in this way, the test point only detected to needs is examined accordingly Operation is surveyed, so as to improve detection efficiency.

Mode 2):As shown in figure 11, the second acquisition unit 906 includes:Second acquisition module 1102, for obtain away from The edge of the marginal information instruction is less than the one or more points of predetermined space;3rd acquisition module 1104, for obtaining The location information of the one or more points of selection is as detecting the location information of the test point of the reliability of the software. In the present embodiment, the point of perimeter is chosen as test point, so as to add the applicable scene of detection so that the present embodiment exists It needs to be detected in the scene of operation the point of perimeter and be also suitable.

In order to receive the testing result that mobile terminal is returned in response to solicitation message, following two are present embodiments provided Kind realization method, certainly, it is necessary to which explanation, the present embodiment are not limited to that:

Mode 1):As shown in figure 12, when it is described for detect the software reliability test point location information bag When including the location information of the multiple point, second transmission unit 910 includes:First transport module 1202, for connecing successively It receives and the touch screen behaviour is performed on the position indicated by the location information of each point of the mobile terminal in the multiple point Make the testing result that the operation of command information instruction obtains.

For Fig. 1, in the present embodiment, mobile phone 102 is stood after corresponding operation can have been performed on a point The testing result that will be obtained returns to the first transport module 1202 in computer 104, so that computer 104 can be in real time Get testing result.

Mode 2):As shown in figure 13, when it is described for detect the software reliability test point location information bag When including the location information of the multiple point, second transmission unit 910 includes:Second transport module 1302, for receiving The detection response message of mobile terminal return is stated, wherein, the detection response message includes the mobile terminal described more The operation that the contact action command information instruction is performed on position indicated by the location information of each point in a point obtains Testing result.

For Fig. 1, in the present embodiment, mobile phone 102 will after corresponding operation can have been performed on multiple points Obtained testing result returns to the second transport module 1302 in computer 104 together, so that computer 104 can obtain in batches To the corresponding testing result of multiple points.

As a kind of optional realization method, as shown in figure 14, the detection device of the software reliability in the present embodiment is also Including:

1)Scanning element 1402, for the detection returned in the reception mobile terminal in response to the solicitation message As a result after, the testing result is scanned according to predetermined keyword;

2)Judging unit 1404, if obtaining information corresponding with the keyword for being scanned in the testing result, It is abnormal then to judge that the software occurs.

It illustrates with reference to Fig. 1, in the present embodiment, computer 104 is after corresponding testing result is received with daily record Form record in memory.Then, the scanning element 1402 in computer 104 is using "abnormal" as in keyword search memory The above-mentioned daily record of storage, it is corresponding with "abnormal" whether judging unit 1404 judges to occur in the testing result recorded in above-mentioned daily record Information, if so, then the information is labeled and is shown.

The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.

In the above embodiment of the present invention, all emphasize particularly on different fields to the description of each embodiment, do not have in some embodiment The part of detailed description may refer to the associated description of other embodiment.

In several embodiments provided herein, described device embodiment is only schematical, such as institute The division of unit is stated, is only a kind of division of logic function, can there is other dividing mode, such as multiple lists in actual implementation Member or component may be combined or can be integrated into another system or some features can be ignored or does not perform.It is another, Shown or discussed mutual coupling, direct-coupling or communication connection can be by some interfaces, unit or module INDIRECT COUPLING or communication connection, can be electrical or other forms.

The unit illustrated as separating component may or may not be physically separate, be shown as unit The component shown may or may not be physical location, you can be located at a place or can also be distributed to multiple In network element.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.

In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also That unit is individually physically present, can also two or more units integrate in a unit.Above-mentioned integrated list The form that hardware had both may be employed in member is realized, can also be realized in the form of SFU software functional unit.

If the integrated unit is realized in the form of SFU software functional unit and is independent production marketing or use When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially The part to contribute in other words to the prior art or all or part of the technical solution can be in the form of software products It embodies, which is stored in a storage medium, is used including some instructions so that a computer Equipment(Can be personal computer, server or network equipment etc.)Perform each embodiment the method for the present invention whole or Part steps.And foregoing storage medium includes:USB flash disk, read-only memory(ROM, Read-Only Memory), arbitrary access deposits Reservoir(RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. are various can store program code Medium.

The above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications also should It is considered as protection scope of the present invention.

Claims (16)

1. a kind of detection method of software reliability, which is characterized in that including:
Obtain the figure that the software run in mobile terminal is shown in the touch screen area of the mobile terminal;
The marginal information for being used to indicate the edge of the figure by carrying out edge detection acquisition to the figure;
According to the marginal information obtain for detect the software reliability test point location information;
Solicitation message is sent to the mobile terminal, wherein, the detection is at least carried in the solicitation message The location information of point and contact action command information;
Receive the testing result that the mobile terminal is returned in response to the solicitation message, wherein, the testing result by The contact action command information instruction is performed on position indicated by location information of the mobile terminal in the test point Operation obtain.
2. it according to the method described in claim 1, it is characterized in that, is obtained to detect the software according to the marginal information The location information of test point of reliability include:
At random one or more points is chosen from the edge that the marginal information indicates;
The location information of selected one or more points is obtained as detecting the test point of the reliability of the software Location information.
3. it according to the method described in claim 1, it is characterized in that, is obtained to detect the software according to the marginal information The location information of test point of reliability include:
Obtain the one or more points that the edge away from marginal information instruction is less than predetermined space;
The location information of selected one or more points is obtained as detecting the test point of the reliability of the software Location information.
4. according to the method in claim 2 or 3, which is characterized in that when the reliability for being used to detect the software It is described to receive the mobile terminal in response to the detection when location information of test point includes the location information of the multiple point The testing result that request message returns includes:
It is sequentially received on the position indicated by the location information of each point of the mobile terminal in the multiple point and performs The testing result that the operation of the contact action command information instruction obtains.
5. according to the method in claim 2 or 3, which is characterized in that when the reliability for being used to detect the software It is described to receive the mobile terminal in response to the detection when location information of test point includes the location information of the multiple point The testing result that request message returns includes:
The detection response message that the mobile terminal returns is received, wherein, the detection response message includes described mobile whole It holds and the contact action command information instruction is performed on the position indicated by the location information of each point in the multiple point The obtained testing result of operation.
6. according to the method in any one of claims 1 to 3, which is characterized in that receive the mobile terminal in response to After the testing result that the solicitation message returns, further include:
The testing result is scanned according to predetermined keyword;
If scanning obtains information corresponding with the keyword in the testing result, it is different to judge that the software occurs Often.
7. according to the method in any one of claims 1 to 3, which is characterized in that the location information is the touch screen area The coordinate of point in domain.
8. according to the method in any one of claims 1 to 3, which is characterized in that the contact action command information includes At least one of:It clicks on, pull, long-press.
9. a kind of detection device of software reliability, which is characterized in that including:
First acquisition unit is shown in the touch screen area of the mobile terminal for obtaining the software run in mobile terminal Figure;
Edge detection unit, for the side for being used to indicate the edge of the figure by carrying out edge detection acquisition to the figure Edge information;
Second acquisition unit, for being obtained to detect the position of the test point of the reliability of the software according to the marginal information Confidence ceases;
First transmission unit, for sending solicitation message to the mobile terminal, wherein, in the solicitation message extremely The location information of the test point and contact action command information are carried less;
Second transmission unit, for receiving the testing result that the mobile terminal is returned in response to the solicitation message, In, the testing result on the position indicated by location information of the mobile terminal in the test point as performing the touch screen The operation of operation instruction information instruction obtains.
10. device according to claim 9, which is characterized in that the second acquisition unit includes:
First chooses module, for choosing one or more points from the edge that the marginal information indicates at random;
First acquisition module, for obtaining the location information of selected one or more points as detecting the software The location information of the test point of reliability.
11. device according to claim 9, which is characterized in that the second acquisition unit includes:
Second acquisition module, for obtaining the one or more points that the edge away from marginal information instruction is less than predetermined space;
3rd acquisition module, for obtaining the location information of selected one or more points as detecting the software The location information of the test point of reliability.
12. the device according to claim 10 or 11, which is characterized in that when the reliability for being used to detect the software Test point location information including the multiple point location information when, second transmission unit includes:
First transport module, for being sequentially received the location information institute of each point of the mobile terminal in the multiple point The testing result that the operation of the contact action command information instruction obtains is performed on the position of instruction.
13. the device according to claim 10 or 11, which is characterized in that when the reliability for being used to detect the software Test point location information including the multiple point location information when, second transmission unit includes:
Second transport module, for receiving the detection response message that the mobile terminal returns, wherein, the detection response message Include performing the touch screen on the position indicated by the location information of each point of the mobile terminal in the multiple point The testing result that the operation of operation instruction information instruction obtains.
14. the device according to any one of claim 9 to 11, which is characterized in that further include:
Scanning element, for after the testing result that the mobile terminal is returned in response to the solicitation message is received, The testing result is scanned according to predetermined keyword;
Judging unit if obtaining information corresponding with the keyword for being scanned in the testing result, judges institute It states software and exception occurs.
15. the device according to any one of claim 9 to 11, which is characterized in that the location information is the touch screen The coordinate of point in region.
16. the device according to any one of claim 9 to 11, which is characterized in that the detection device include with down toward It is one of few:Desktop computer, laptop, tablet computer, mobile phone.
CN201310437097.8A 2013-09-23 2013-09-23 The detection method and device of software reliability CN104461857B (en)

Priority Applications (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

Applications Claiming Priority (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

Publications (2)

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

Family

ID=52688237

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310437097.8A 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)

Families Citing this family (3)

* 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
CN110830319A (en) * 2018-08-10 2020-02-21 长鑫存储技术有限公司 Management method, device and system for integrated circuit test

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

Also Published As

Publication number Publication date
CN104461857A (en) 2015-03-25
WO2015039585A1 (en) 2015-03-26

Similar Documents

Publication Publication Date Title
US10395120B2 (en) Method, apparatus, and system for identifying objects in video images and displaying information of same
CN104484273B (en) The method of testing of application program, equipment and system
JP5947131B2 (en) Search input method and system by region selection method
CN104584513B (en) Select the apparatus and method for sharing the device of operation for content
EP2778875B1 (en) Mobile terminal and method of controlling the mobile terminal
US20160239724A1 (en) Systems and methods for inferential sharing of photos
CN102326185B (en) Information processing device, information processing method, program, and information processing system
US9122341B2 (en) Resolving merged touch contacts
US8953835B2 (en) Mobile terminal and method for forming human network using the same
CN103309561B (en) Method and device for processing information
CN103713843A (en) Method and apparatus for generating task recommendation icon in mobile device
CN103518393A (en) Systems and methods for testing content of mobile communication devices
JP2017504121A5 (en)
CN106331361B (en) A kind of protection processing method that mobile terminal falls, apparatus and system
CN103189864A (en) Methods and apparatuses for determining shared friends in images or videos
US20150058766A1 (en) Information processing methods and electronic devices
WO2016000432A1 (en) Method and apparatus of switching interfaces related application
CN104391625B (en) A kind of chat content display methods and device
CN107077295A (en) A kind of method, device, electronic equipment, display interface and the storage medium of quick split screen
CN104978180B (en) Unprocessed event prompting method and device and mobile terminal
CN105302458B (en) A kind of message display method and device
CN104395882A (en) Creation and context-aware presentation of customized emoticon item sets
CN106528432A (en) Construction method and apparatus for test scene data, and buried point test method
US20160077711A1 (en) Method and electronic device for providing information
CN106844067B (en) A kind of processing method and mobile terminal of content

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