CN104035813B - The detection method and device of cross-platform interchange - Google Patents
The detection method and device of cross-platform interchange Download PDFInfo
- Publication number
- CN104035813B CN104035813B CN201310071241.0A CN201310071241A CN104035813B CN 104035813 B CN104035813 B CN 104035813B CN 201310071241 A CN201310071241 A CN 201310071241A CN 104035813 B CN104035813 B CN 104035813B
- Authority
- CN
- China
- Prior art keywords
- picture
- cross
- measured
- platform
- platform interchange
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the invention discloses a kind of detection method and device of cross-platform interchange, are related to field of terminal technology, and the detection for solving the cross-platform interchange of the prior art is relatively complicated, it is less efficient the problem of.The method includes:Two terminal devices under remote control different operating system platform carry out cross-platform interchange, and show the cross-platform interchange interface of two terminal devices;The cross-platform interchange interface of the terminal device is intercepted, to form picture to be measured;The picture to be measured and pre-set expected picture are compared, if the content in the picture to be measured is identical with the content in the expected picture, then the picture to be measured is normal picture, if the content in the picture to be measured is differed with the content in the expected picture, the picture to be measured is abnormal picture;According to the quantity of the normal picture and the abnormal picture, the detection percent of pass of cross-platform interchange is calculated.The present invention is suitable for cross-platform interchange environment.
Description
Technical field
The present invention relates to field of terminal technology more particularly to a kind of detection method and device of cross-platform interchange.
Background technology
Currently, with the development of the terminal devices such as smart mobile phone, tablet computer, the system platform of terminal device is also a variety of
It is various.For example, in smart mobile phone field, current mainstream cell phone platform has Windows Phone7 platforms, apple ios platform
And Android platform etc..For current terminal device when interacting, there is no dependent on the same operating system platform of needs
Environment, same application program may be applied under different operating system platforms.One operation is related at least two behaviour
Make system platform, need the terminal device under two or more operating system platforms to complete the process of operation and be known as cross-platform friendship
Mutually.In cross-platform interchange, the first terminal equipment transmission data of one of which operating system platform, another kind operation system are needed
The second terminal equipment of system platform receives the data, and can be to the first terminal equipment returned data for sending the data.For example,
Operation has chat software in terminal device under two kinds of operating system platforms, then two station terminal equipment are carried out by chat software
The process of chat can be considered as a kind of cross-platform interchange.
At present, in order to ensure the stability of cross-platform interchange, usually the process of cross-platform interchange is detected, generally
In the case of, it needs artificially to carry out cross-platform interchange on the terminal device of two or more, and need artificially to judge cross-platform interchange
Data whether have loss and the error degree of cross-platform interchange etc..It is artificial right when the data volume of cross-platform interchange is larger
The workload increase that the process of cross-platform interchange is detected, and detection process is relatively complicated, the detection process of cross-platform interchange
It is less efficient.
Invention content
The embodiment of the present invention provides a kind of detection method and device of cross-platform interchange, can solve in the prior art by
It is larger in the workload that the process to cross-platform interchange is detected, cause detection process relatively complicated, the inspection of cross-platform interchange
Survey the problem of process efficiency is relatively low.
In order to achieve the above objectives, the present invention adopts the following technical scheme that:
A kind of detection method of cross-platform interchange, including:
Two terminal devices under remote control different operating system platform carry out cross-platform interchange, and show two terminals
The cross-platform interchange interface of equipment;
The cross-platform interchange interface of the terminal device is intercepted, to form picture to be measured;
The picture to be measured and pre-set expected picture are compared, if content and institute in the picture to be measured
The content stated in expected picture is identical, then the picture to be measured is normal picture, if content in the picture to be measured with it is described
It is expected that the content in picture differs, then the picture to be measured is abnormal picture;
According to the quantity of the normal picture and the abnormal picture, the detection percent of pass of cross-platform interchange is calculated.
A kind of detection device of cross-platform interchange, including:
Remote control unit carries out cross-platform friendship for two terminal devices under remote control different operating system platform
Mutually, and show two terminal devices cross-platform interchange interface;
Picture generation unit, for intercepting the cross-platform interchange interface of the terminal device, to form picture to be measured;
Comparing unit, for the picture to be measured and the pre-set expected picture for generating the picture generation unit
It is compared, if the content in the picture to be measured is identical with the content in the expected picture, the picture to be measured is just
Normal picture, if the content in the picture to be measured is differed with the content in the expected picture, the picture to be measured is different
Normal picture;
Computing unit for the quantity according to the normal picture and the abnormal picture, calculates the inspection of cross-platform interchange
Survey percent of pass.
The detection method and device of cross-platform interchange provided in an embodiment of the present invention, due to remote control different operating system
Two terminal devices under platform carry out cross-platform interchange, and show the cross-platform interchange interface of two terminal devices;Interception institute
The cross-platform interchange interface of terminal device is stated, to form picture to be measured;By the picture to be measured and pre-set expected picture
It is compared, if the content in the picture to be measured is identical with the content in the expected picture, the picture to be measured is just
Normal picture, if the content in the picture to be measured is differed with the content in the expected picture, the picture to be measured is different
Normal picture;According to the quantity of the normal picture and the abnormal picture, the detection percent of pass of cross-platform interchange is calculated.In this way,
It is cross-platform to carry out cross-platform interchange, and pass through the quantity calculating of the normal picture judged and abnormal picture by remote control
Interactive detection percent of pass realizes the percent of pass automatic detection of cross-platform interchange.And in the prior art, cross-platform interchange
Process need it is artificial realize, the detection process of cross-platform interchange is relatively complicated, detection process it is less efficient.Therefore, this hair
The detection mode of the cross-platform interchange of bright embodiment is relatively simple, and the efficiency of detection process is higher.
Description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, to embodiment or will show below
There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention, for those of ordinary skill in the art, without creative efforts, can be with
Other attached drawings are obtained according to these attached drawings.
Fig. 1 is the flow chart of the detection method of cross-platform interchange provided in an embodiment of the present invention;
Fig. 2 is the flow chart of the detection method of cross-platform interchange that further embodiment of this invention provides;
Fig. 3 is the schematic diagram of the display interface on the PC in the embodiment of the present invention;
Fig. 4 is the structure diagram one of the detection device of cross-platform interchange provided in an embodiment of the present invention;
Fig. 5 is the structure diagram two of the detection device of cross-platform interchange provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other without creative efforts
Embodiment shall fall within the protection scope of the present invention.
The advantages of to make technical solution of the present invention, is clearer, and the present invention is made specifically with reference to the accompanying drawings and examples
It is bright.
As shown in Figure 1, the detection method of cross-platform interchange provided in an embodiment of the present invention, including:
101st, two terminal devices under remote control different operating system platform carry out cross-platform interchange, and show two
The cross-platform interchange interface of terminal device.
Specifically, in cross-platform interchange, described two terminal devices can be two smart mobile phones or two tablets
Computer or a smart mobile phone and a tablet computer, the operating system platform of described two terminal devices can be
Two kinds in Windows Phone7 platforms, apple ios platform and Android platform, but it is not only limited to this.
Specifically, above-mentioned remote control can be by Virtual network computer (Virtual Network
Computing, abbreviation VNC) it realizes.VNC is a remote control tool software.VNC is substantially made of two parts:One
Part is the application program of client;Another part is the application program of server end, and terminal device can be realized by VNC
The screen synch and long-range control of (smart mobile phone, by computer etc.) with personal computer (Personal Computer, abbreviation PC)
System.In the present invention, the terminal device can be the server end, and PC machine can be client.
102nd, the cross-platform interchange interface of the terminal device is intercepted, to form picture to be measured.
Specifically, the cross-platform interchange can be the chat software that cross-platform interchange is run in two station terminal equipment
Deng, but it is not only limited to this.The cross-platform interchange interface can be interface of above-mentioned chat software etc., but be not only limited to
This.The mode of timing interception may be used, but is not only limited to this in the cross-platform interchange interface of the interception terminal device.
103rd, the picture to be measured and pre-set expected picture are compared, if the content in the picture to be measured
Identical with the content in the expected picture, then the picture to be measured is normal picture, if content in the picture to be measured with
Content in the expected picture differs, then the picture to be measured is abnormal picture.
Specifically, the content in the expected picture can be character, icon etc., but be not only limited to this.
104th, according to the quantity of the normal picture and the abnormal picture, the detection percent of pass of cross-platform interchange is calculated.
Specifically, the quantity that the detection percent of pass of the cross-platform interchange can be normal picture accounts for whole picture sums
The ratio of (normal picture quantity with abnormal picture number and).
The detection method of cross-platform interchange provided in an embodiment of the present invention, due under remote control different operating system platform
Two terminal devices carry out cross-platform interchange, and show two terminal devices cross-platform interchange interface;Intercept the terminal
The cross-platform interchange interface of equipment, to form picture to be measured;The picture to be measured and pre-set expected picture are compared
Compared with, if the content in the picture to be measured is identical with the content in the expected picture, the picture to be measured is normal picture,
If the content in the picture to be measured is differed with the content in the expected picture, the picture to be measured is abnormal picture;
According to the quantity of the normal picture and the abnormal picture, the detection percent of pass of cross-platform interchange is calculated.In this way, by long-range
It controls to carry out cross-platform interchange, and passes through the inspection of the quantity calculating cross-platform interchange of the normal picture judged and abnormal picture
Percent of pass is surveyed, realizes the percent of pass automatic detection of cross-platform interchange.And in the prior art, the process of cross-platform interchange needs
Very important person for realize, the detection process of cross-platform interchange is relatively complicated, detection process it is less efficient.Therefore, the embodiment of the present invention
Cross-platform interchange detection mode it is relatively simple, and the efficiency of detection process is higher.
Further, as shown in Fig. 2, further embodiment of this invention provide cross-platform interchange detection method, including:
201st, the first terminal equipment in the described two terminal devices of remote control, in the first terminal equipment across flat
Generation detection character on platform interactive interface.
Specifically, in cross-platform interchange, described two terminal devices can be two smart mobile phones or two tablets
Computer or a smart mobile phone and a tablet computer, the operating system platform of described two terminal devices can be
Two kinds in Windows Phone7 platforms, apple ios platform and Android platform, but it is not only limited to this.
Specifically, above-mentioned remote control can be realized by VNC.VNC is a remote control tool software.
VNC is substantially made of two parts:A part is the application program of client;Another part is the application journey of server end
Sequence can realize the screen synch and remote control of terminal device (smart mobile phone, by computer etc.) and PC by VNC.At this
In invention, the terminal device can be the server end, and PC machine can be client.
For example, PC and two mobile terminal device can be being ensured in the case of same Wi-Fi network, with two
The terminal device of a different operating system platform is the server end of VNC, using PC as the client of VNC, is logged in respectively on PC
The screen of two station terminal equipment is synchronized on the display of same PC by upper two station terminals equipment simultaneously.Two are determined after synchronizing
The location information at the interface that platform mobile phone synchronizes, such as the interface of two terminal devices can be enabled to account for the 50% of PC displays respectively.
At this point, after the software of operation cross-platform interchange, the cross-platform interchange interface of two station terminal equipment appears in PC displays simultaneously
On, thus the operation to two terminal devices can be carried out with the mouse-keyboard of PC.
Specifically, it is described detection character be after PC is loaded with the cross-platform interchange interface of two station terminal equipment, by
The script disposed on PC detects character, the inspection PC to be controlled to be generated on the cross-platform interchange interface of the first terminal equipment
Glyphomancy symbol can be such as the character " 1a2b3c4d " shown in Fig. 3.
For example, the schematic diagram of the display interface on PC as shown in Figure 3, figure includes first terminal equipment and second terminal
The cross-platform interchange interface 31 of equipment, accounts for the 50% of the display interface of PC respectively, general to wrap in cross-platform interchange interface 31
Two parts character input part 311 and character display portion point 312 are included, wherein the character input part 311 is used to input character,
And character display portion point is for showing the character of itself input and receive the character that another terminal device sends over.Such as the
Character input part 311 in the cross-platform interchange interface of one terminal device has input " 1a2b3c4d ", in first terminal equipment
It is shown " 1a2b3c4d " with the character display portion point 312 of second terminal equipment, certain second terminal equipment can
Show that " 1a2b3c4d " is normal in the cross-platform interchange, and the present invention is detecting the logical of entire cross-platform interchange
Rate is crossed, i.e., described second terminal equipment is also possible to not receive above-mentioned character " 1a2b3c4d ".
202nd, at the second terminal equipment that the detection character is sent in described two terminal devices.
Specifically, the second terminal equipment has different operating system platforms from the first terminal equipment.
203rd, second terminal equipment described in remote control generates on the cross-platform interchange interface of the second terminal equipment
Detect character.
Its specific implementation controls the first terminal equipment with step 201 medium-long range, in the first terminal equipment
Cross-platform interchange interface on generation detection character mode it is identical, details are not described herein again.The cross-platform interchange interface can be with
It is for example, interface of the chat software of cross-platform interchange etc., but is not only limited to this.
204th, the detection character is sent at the first terminal equipment.It performs step 205 or performs step
206。
Specifically, above-mentioned steps 201-204 is the process of cross-platform interchange, in order to detect passing through for entire cross-platform interchange
Rate can repeatedly carry out above-mentioned steps 201-204, can obtain several when subsequently intercepting and forming picture to be measured
Picture to be measured.
When the 205th, there is program crashing at the cross-platform interchange interface of any one terminal device of described two terminal devices,
Cross-platform interchange interface described in the restarting terminal device is controlled, described two terminal devices is controlled to carry out cross-platform friendship again
Mutually.Perform step 206.
Must surprisingly occur collapse in the process of running specifically, so-called program crashing is program, dodge the phenomenon that moving back.
206th, the cross-platform interchange interface of the terminal device is periodically intercepted, and forms the picture to be measured when intercepting every time.
For example, timing intercepts the display interface of PC, detection character when interacting is carried on the picture to be measured of formation.Example
Such as can be inferior with every five seconds for example interception one, but it is not only limited to this.
207th, the picture to be measured and pre-set expected picture are compared, determine the inspection in the picture to be measured
Whether glyphomancy symbol is identical with the preset character in the expected picture.If detection character in the picture to be measured with it is described pre-
Preset character in phase picture is identical, performs step 208.If detection character and the expected picture in the picture to be measured
In preset character differ, perform step 209.
Specifically, the content in the expected picture can be character, icon etc., but be not only limited to this.
208th, it is normal picture to determine the picture to be measured.
Specifically, the detection character carried in for example described expected picture is 3 rows " 1a2b3c4d ", and the picture to be measured
In the character with 3 rows " 1a2b3c4d ", then the picture to be measured can be confirmed to be normal picture.
209th, it is abnormal picture to determine the picture to be measured.
Specifically, the detection character carried in for example described expected picture is 3 rows " 1a2b3c4d ", and the picture to be measured
In also only have the characters of 2 rows " 1a2b3c4d " (such as the detection character for having a line " 1a2b3c4d " be not received by, this may be
The loss of detection character is caused during cross-platform interchange), then the picture to be measured can be confirmed to be abnormal picture.
Specifically, the matching of the picture to be measured of step 207-209 and expected picture can be by the default script on PC
To realize, such as realized, but be not only limited to this by figure script Sikuli.It is not needed to by Sikuli language
A line line code is write out, but the mode of screenshot capture can be used, the pattern primitive come out with screenshotss usually forms program.
210th, after the picture to be measured in each interception is confirmed as normal picture or abnormal picture, the normogram is recorded
The quantity of piece and the abnormal picture.
Specifically, counter can be provided in the PC, when it is just into picture to determine picture to be measured every time, normal
Count is incremented for picture, and when it is abnormal picture to determine picture to be measured, in abnormal picture, count is incremented.
211st, according to the quantity of the normal picture and the abnormal picture, the detection percent of pass of cross-platform interchange is calculated.
Specifically, the quantity that the detection percent of pass of the cross-platform interchange can be normal picture accounts for whole picture sums
The ratio of (normal picture quantity with abnormal picture number and).
The detection method for the cross-platform interchange that further embodiment of this invention provides, since remote control different operating system is put down
Two terminal devices under platform carry out cross-platform interchange, and show the cross-platform interchange interface of two terminal devices;Described in interception
The cross-platform interchange interface of terminal device, to form picture to be measured;By the picture to be measured and pre-set expected picture into
Row compares, if the content in the picture to be measured is identical with the content in the expected picture, the picture to be measured is normal
Picture, if the content in the picture to be measured is differed with the content in the expected picture, the picture to be measured is abnormal
Picture;According to the quantity of the normal picture and the abnormal picture, the detection percent of pass of cross-platform interchange is calculated.It is in this way, logical
It crosses remote control and calculates cross-platform friendship to carry out cross-platform interchange, and pass through the quantity of the normal picture judged and abnormal picture
Mutual detection percent of pass realizes the percent of pass automatic detection of cross-platform interchange.And in the prior art, cross-platform interchange
Process need it is artificial realize, the detection process of cross-platform interchange is relatively complicated, detection process it is less efficient.Therefore, it is of the invention
The detection mode of the cross-platform interchange of embodiment is relatively simple, and the efficiency of detection process is higher.
As shown in figure 4, the detection device of cross-platform interchange provided in an embodiment of the present invention, including:
Remote control unit 41 carries out cross-platform for two terminal devices under remote control different operating system platform
Interaction, and show the cross-platform interchange interface of two terminal devices.Its specific implementation referring to shown in step 101 in Fig. 1, this
Place repeats no more.
Picture generation unit 42, for intercepting the cross-platform interchange interface of the terminal device, to form picture to be measured.Its
Specific implementation is referring to shown in step 102 in Fig. 1, and details are not described herein again.
Comparing unit 43, for the picture to be measured and the pre-set expection for generating the picture generation unit 42
Picture is compared, if the content in the picture to be measured is identical with the content in the expected picture, the picture to be measured
For normal picture, if the content in the picture to be measured is differed with the content in the expected picture, the picture to be measured
For abnormal picture.Its specific implementation is referring to shown in step 103 in Fig. 1, and details are not described herein again.
Computing unit 44 for the quantity according to the normal picture and the abnormal picture, calculates cross-platform interchange
Detect percent of pass.Its specific implementation is referring to shown in step 104 in Fig. 1, and details are not described herein again.
Further, as shown in figure 5, the remote control unit 41, including:
First control module 411, for the first terminal equipment in the described two terminal devices of remote control, described
Generation detection character on the cross-platform interchange interface of one terminal device.
Sending module 412, at the second terminal equipment for detecting character and being sent in described two terminal devices.
First control module 411, is additionally operable to second terminal equipment described in remote control, in the second terminal equipment
Cross-platform interchange interface on generation detection character.
The sending module 412 is additionally operable to the detection character being sent at the first terminal equipment.
Further, as shown in figure 5, the content in the expected picture is preset character;
The comparing unit 43, including:
The picture to be measured and pre-set expected picture are compared, if the detection character in the picture to be measured
Identical with the preset character in the expected picture, then the picture to be measured is normal picture, if in the picture to be measured
Detection character is differed with the preset character in the expected picture, then the picture to be measured is abnormal picture.
Specifically, as shown in figure 5, the picture generation unit 42, is specifically used for:
Timing intercepts the cross-platform interchange interface of the terminal device, and forms the picture to be measured when intercepting every time.
Described device further includes:
Recording unit 45, after being confirmed as normal picture or abnormal picture for the picture to be measured in each interception, note
Record the quantity of the normal picture and the abnormal picture.
Further, as shown in figure 5, the remote control unit 41, is additionally operable to:
When there is program crashing at the cross-platform interchange interface of any one terminal device of described two terminal devices, control
Cross-platform interchange interface described in the restarting terminal device controls described two terminal devices to carry out cross-platform interchange again.
The specific implementation of the detection device of the cross-platform interchange of Fig. 5 may refer to the specific embodiment in Fig. 2, herein
It repeats no more.
The detection device of cross-platform interchange provided in an embodiment of the present invention, due under remote control different operating system platform
Two terminal devices carry out cross-platform interchange, and show two terminal devices cross-platform interchange interface;Intercept the terminal
The cross-platform interchange interface of equipment, to form picture to be measured;The picture to be measured and pre-set expected picture are compared
Compared with, if the content in the picture to be measured is identical with the content in the expected picture, the picture to be measured is normal picture,
If the content in the picture to be measured is differed with the content in the expected picture, the picture to be measured is abnormal picture;
According to the quantity of the normal picture and the abnormal picture, the detection percent of pass of cross-platform interchange is calculated.In this way, by long-range
It controls to carry out cross-platform interchange, and passes through the inspection of the quantity calculating cross-platform interchange of the normal picture judged and abnormal picture
Percent of pass is surveyed, realizes the percent of pass automatic detection of cross-platform interchange.And in the prior art, the process of cross-platform interchange needs
Very important person for realize, the detection process of cross-platform interchange is relatively complicated, detection process it is less efficient.Therefore, the embodiment of the present invention
Cross-platform interchange detection mode it is relatively simple, and the efficiency of detection process is higher.
The above description is merely a specific embodiment, but protection scope of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can readily occur in change or replacement, should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention described should be subject to the protection scope in claims.
Claims (8)
1. a kind of detection method of cross-platform interchange, which is characterized in that including:
Two terminal devices under remote control different operating system platform carry out cross-platform interchange, and show two terminal devices
Cross-platform interchange interface;
The cross-platform interchange interface of the terminal device is intercepted, to form picture to be measured;
The picture to be measured and pre-set expected picture are compared, if the content in the picture to be measured with it is described pre-
Content in phase picture is identical, then the picture to be measured is normal picture, if content and the expection in the picture to be measured
Content in picture differs, then the picture to be measured is abnormal picture;
According to the quantity of the normal picture and the abnormal picture, the detection percent of pass of cross-platform interchange is calculated;
Wherein, two terminal devices under the remote control different operating system platform carry out cross-platform interchange, and show two
The cross-platform interchange interface of a terminal device, including:First terminal equipment in the described two terminal devices of remote control, in institute
State generation detection character on the cross-platform interchange interface of first terminal equipment;The detection character is sent to described two terminals
At second terminal equipment in equipment;Second terminal equipment described in remote control, in the cross-platform friendship of the second terminal equipment
Generation detection character on mutual interface;The detection character is sent at the first terminal equipment.
2. the detection method of cross-platform interchange according to claim 1, which is characterized in that the content in the expected picture
For preset character;
It is described to be compared the picture to be measured and pre-set expected picture, if content and institute in the picture to be measured
The content stated in expected picture is identical, then the picture to be measured is normal picture, if content in the picture to be measured with it is described
It is expected that the content in picture differs, then the picture to be measured is abnormal picture, including:
The picture to be measured and pre-set expected picture are compared, if detection character and institute in the picture to be measured
The preset character stated in expected picture is identical, then the picture to be measured is normal picture, if the detection in the picture to be measured
Character is differed with the preset character in the expected picture, then the picture to be measured is abnormal picture.
3. the detection method of cross-platform interchange according to claim 2, which is characterized in that the interception terminal device
Cross-platform interchange interface, to form picture to be measured, including:
Timing intercepts the cross-platform interchange interface of the terminal device, and forms the picture to be measured when intercepting every time;
Described according to the normal picture and the quantity of the abnormal picture, calculate cross-platform interchange detection percent of pass it
Before, the method further includes:
After picture to be measured in each interception is confirmed as normal picture or abnormal picture, the normal picture and described is recorded
The quantity of abnormal picture.
4. the detection method of cross-platform interchange according to claim 3, which is characterized in that in remote control different operation system
Two terminal devices united under platform carry out cross-platform interchange, and after the cross-platform interchange interface of two terminal devices of display,
The method further includes:
When there is program crashing at the cross-platform interchange interface of any one terminal device of described two terminal devices, described in control
Cross-platform interchange interface described in restarting terminal device controls described two terminal devices to carry out cross-platform interchange again.
5. a kind of detection device of cross-platform interchange, which is characterized in that including:
Remote control unit carries out cross-platform interchange for two terminal devices under remote control different operating system platform,
And show the cross-platform interchange interface of two terminal devices;
Picture generation unit, for intercepting the cross-platform interchange interface of the terminal device, to form picture to be measured;
Comparing unit, the picture to be measured and pre-set expected picture for the picture generation unit to be generated carry out
Compare, if the content in the picture to be measured is identical with the content in the expected picture, the picture to be measured is normogram
Piece, if the content in the picture to be measured is differed with the content in the expected picture, the picture to be measured is Abnormal Map
Piece;
Computing unit, for the quantity according to the normal picture and the abnormal picture, the detection for calculating cross-platform interchange is led to
Cross rate;
Wherein, the remote control unit, including:First control module, in the described two terminal devices of remote control
First terminal equipment, the generation detection character on the cross-platform interchange interface of the first terminal equipment;Sending module, by described in
Detection character is sent at the second terminal equipment in described two terminal devices;First control module is additionally operable to long-range
The second terminal equipment is controlled, the generation detection character on the cross-platform interchange interface of the second terminal equipment;The hair
Module is sent, is additionally operable to the detection character being sent at the first terminal equipment.
6. the detection device of cross-platform interchange according to claim 5, which is characterized in that the content in the expected picture
For preset character;
The comparing unit, including:
The picture to be measured and pre-set expected picture are compared, if detection character and institute in the picture to be measured
The preset character stated in expected picture is identical, then the picture to be measured is normal picture, if the detection in the picture to be measured
Character is differed with the preset character in the expected picture, then the picture to be measured is abnormal picture.
7. the detection device of cross-platform interchange according to claim 6, which is characterized in that the picture generation unit, tool
Body is used for:
Timing intercepts the cross-platform interchange interface of the terminal device, and forms the picture to be measured when intercepting every time;
Described device further includes:
Recording unit, after being confirmed as normal picture or abnormal picture for the picture to be measured in each interception, described in record
The quantity of normal picture and the abnormal picture.
8. the detection device of cross-platform interchange according to claim 7, which is characterized in that the remote control unit, also
For:
When there is program crashing at the cross-platform interchange interface of any one terminal device of described two terminal devices, described in control
Cross-platform interchange interface described in restarting terminal device controls described two terminal devices to carry out cross-platform interchange again.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310071241.0A CN104035813B (en) | 2013-03-06 | 2013-03-06 | The detection method and device of cross-platform interchange |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310071241.0A CN104035813B (en) | 2013-03-06 | 2013-03-06 | The detection method and device of cross-platform interchange |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN104035813A CN104035813A (en) | 2014-09-10 |
| CN104035813B true CN104035813B (en) | 2018-07-03 |
Family
ID=51466588
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201310071241.0A Active CN104035813B (en) | 2013-03-06 | 2013-03-06 | The detection method and device of cross-platform interchange |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN104035813B (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105205503B (en) * | 2015-08-28 | 2018-09-18 | 重庆恢恢信息技术有限公司 | The method for being used to detect abnormal picture based on crowdsourcing Active Learning |
| US10521590B2 (en) * | 2016-09-01 | 2019-12-31 | Microsoft Technology Licensing Llc | Detection dictionary system supporting anomaly detection across multiple operating environments |
| CN110658963B (en) * | 2019-09-30 | 2021-04-06 | 上海沣沅星科技有限公司 | Multi-screen interaction system, equipment, medium and interaction system of human-computer interaction interface |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101175285A (en) * | 2006-11-01 | 2008-05-07 | 联想移动通信科技有限公司 | Automatic testing method and system for mobile phone software |
| CN102156672A (en) * | 2011-04-19 | 2011-08-17 | 广东欧珀移动通信有限公司 | Method for realizing automated test on mobile phone calculator |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9152521B2 (en) * | 2011-03-09 | 2015-10-06 | Asset Science Llc | Systems and methods for testing content of mobile communication devices |
-
2013
- 2013-03-06 CN CN201310071241.0A patent/CN104035813B/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101175285A (en) * | 2006-11-01 | 2008-05-07 | 联想移动通信科技有限公司 | Automatic testing method and system for mobile phone software |
| CN102156672A (en) * | 2011-04-19 | 2011-08-17 | 广东欧珀移动通信有限公司 | Method for realizing automated test on mobile phone calculator |
Non-Patent Citations (1)
| Title |
|---|
| "vnc server配置、启动重启与连接,图形管理linux系统";SkyLine;《http://blog.sina.cn/s/blog_7cb9b3b801017a5x.html》;20121011;第2页 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN104035813A (en) | 2014-09-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN106462325B (en) | Method of controlling display and electronic device providing same | |
| CN108566312A (en) | Off-line checking method, device and computer readable storage medium | |
| CN105262627B (en) | Firmware upgrading method, device and system | |
| CN111088998B (en) | Coal mine central station monitoring system testing method and device and substation simulation system | |
| CN102651856A (en) | Method, system and device for improving Internet surfing security of terminal | |
| CN113132183B (en) | Data transmission test method, device, electronic equipment and medium | |
| CN103176684A (en) | Method and device for switching multi-zone interface | |
| EP3329371A1 (en) | Changelog transformation and correlation in a multi-tenant cloud service | |
| CN107247637A (en) | A kind of APP fault determination methods and device | |
| CN104035813B (en) | The detection method and device of cross-platform interchange | |
| CN106897095A (en) | The multiple method of application program hot repair, device and readable storage medium storing program for executing | |
| CN105260082A (en) | Display method for test data and development terminal | |
| CN103716356A (en) | Storage process operation method, device and system based on Web | |
| CN106886331A (en) | A kind of data processing method of touch terminal, device and touch terminal | |
| CN109688427A (en) | A kind of smart television and its system repair | |
| CN108683556A (en) | Detect the method, apparatus and computer storage media of network interface card functional status | |
| CN105426076B (en) | Information processing method and electronic equipment | |
| CN104331372B (en) | A kind of method and device that long-range positioning problems are carried out to application program | |
| CN104038518B (en) | information processing method, server and terminal device | |
| CN103812982A (en) | Method and system for monitoring and testing cell phone client side by computer through cross-operating system | |
| CN104133869B (en) | A kind of Webpage method for refreshing | |
| CN106713446A (en) | Relocation method and device, server and mobile terminal | |
| CN103838466B (en) | Information processing method, device and electronic equipment | |
| CN107220543A (en) | The method and apparatus for handling the service request of mobile terminal | |
| CN106293312A (en) | The method and apparatus that terminal movable control shows |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| EXSB | Decision made by sipo to initiate substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |