CN108803981A - The control method of user terminal and test equipment, device, storage medium and processor - Google Patents

The control method of user terminal and test equipment, device, storage medium and processor Download PDF

Info

Publication number
CN108803981A
CN108803981A CN201710310452.3A CN201710310452A CN108803981A CN 108803981 A CN108803981 A CN 108803981A CN 201710310452 A CN201710310452 A CN 201710310452A CN 108803981 A CN108803981 A CN 108803981A
Authority
CN
China
Prior art keywords
screen
test equipment
user terminal
control
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710310452.3A
Other languages
Chinese (zh)
Inventor
余跃
李辉
谢守军
罗刚
王昕辰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BEYONDSOFT Corp
Original Assignee
BEYONDSOFT Corp
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 BEYONDSOFT Corp filed Critical BEYONDSOFT Corp
Priority to CN201710310452.3A priority Critical patent/CN108803981A/en
Priority to PCT/CN2018/078426 priority patent/WO2018201792A1/en
Publication of CN108803981A publication Critical patent/CN108803981A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range

Abstract

The invention discloses the control method of a kind of user terminal and test equipment, device, storage medium and processors.Wherein, this method includes:The image information of user terminal sweep test equipment obtains facility information, wherein test equipment is one or more;User terminal is established network communication with test equipment and is connect, wherein connection is established according to after facility information mandate;Shown content in the screen of user terminal screen projection test equipment, wherein shown content is corresponding with equipment to be tested in the screen of test equipment;User terminal returns to operation information to test equipment, wherein operation information is the information of content shown in the screen for control test equipment.It solves the problems, such as that control test equipment inconvenient in the prior art is tested through the invention, improves the efficiency that control test equipment is tested.

Description

The control method of user terminal and test equipment, device, storage medium and processor
Technical field
The present invention relates to testing field, in particular to the control method of a kind of user terminal and test equipment, device, Storage medium and processor.
Background technology
It is typically directly to be tested respectively in each equipment when being tested in the prior art, due to being needed when test The operations such as gradually being clicked, slided in each test equipment makes troubles so test volume is big to test job, causes Testing cost is high, efficiency is low.Meanwhile directly being carried out in test equipment when being tested in the prior art, it is tested When need the verification informations such as the encrypted message for starting each test equipment, and inputting the equipment, but due to input verification Time is longer, and when testing plurality of mobile phones, validation information wastes tester's time one by one, and is easy input error, In the prior art without a kind of method that can simply control startup test equipment.
The problem of being tested for control test equipment inconvenient in the prior art not yet proposes effective solution at present Certainly scheme.
Invention content
An embodiment of the present invention provides the control method of a kind of user terminal and test equipment, device, storage medium and processing Device is tested with the control test equipment for solving the problems, such as inconvenient in the prior art.
One side according to the ... of the embodiment of the present invention provides a kind of control method of user terminal, including:User terminal scans The image information of test equipment obtains facility information, wherein the test equipment is one or more;The user terminal and institute It states test equipment and establishes network communication connection, wherein the connection is established according to after the facility information mandate;It is described User terminal screen projects content shown in the screen of the test equipment, wherein is shown in the screen of the test equipment The content shown is corresponding with equipment to be tested;The user terminal returns to operation information to the test equipment, wherein the operation Information is the information of content shown in the screen for control the test equipment.
One side according to the ... of the embodiment of the present invention additionally provides a kind of control method of test equipment, including:Test is set It is standby to generate image information;The test equipment is sent to the corresponding facility information of user terminal described image information;The test is set It is standby to establish network communication with the user terminal and connect, wherein the connection is established according to after the facility information mandate; The test equipment projects content shown in its screen on the screen of the user terminal, wherein the test equipment Screen in shown content it is corresponding with equipment to be tested;The test equipment receives the operation letter that the user terminal returns Breath, wherein the operation information is the information of content shown in the screen for control the test equipment.
Further, it is described after the user terminal screen projects content shown in the screen of the test equipment Before user terminal returns to operation information to the test equipment, further include:In test equipment described in the user terminal screen control Shown content, wherein shown content is corresponding with equipment to be tested in the test equipment.
Further, the control method of the control method and test equipment of user terminal further includes:According to the facility information And user information obtains the authorized user message of the test equipment, wherein the authorized user message is to allow to establish network Communicate the user information of connection.
Further, the control method of the control method and test equipment of user terminal further includes:Establish the user terminal with The throwing screen network communication of the test equipment connects, wherein the throwing screen is in the user terminal projects the test equipment Shown content;The communications protocol information for throwing screen network communication connection is initialized;According to the communication of initialization Protocol information makes the throwing and shields content;According in the screen size control throwing screen thrown and shield content and the user terminal Hold the display situation on the screen of the user terminal.
Further, after test equipment projects content shown in its screen on the screen of the user terminal, Further include:The communications protocol of encapsulation control screen object and the test equipment, wherein the control screen object is in the user terminal control Make the operational motion of its screen.
Further, content shown in test equipment described in user terminal screen control further includes:The vertical and test The control screen network communication of equipment connects, wherein control screen is to control to show in the test equipment on the screen of the user terminal Content;Initialize the coordinate ratio of control the screen object and the user terminal screen;Execute the corresponding operation of the control screen object It acts and sends corresponding operation information to the test equipment and tested.
Further, the control method of user terminal further includes:Described image information is Quick Response Code.
Another aspect according to the ... of the embodiment of the present invention additionally provides a kind of control device of user terminal, including:First obtains Unit, for user terminal sweep test equipment image information obtain facility information, wherein the test equipment be one or It is multiple;First communication unit is established network communication with the test equipment for the user terminal and is connect, wherein the connection It is to be established according to after the facility information mandate;First projecting unit projects the test for the user terminal screen Shown content in the screen of equipment, wherein shown content and equipment phase to be tested in the screen of the test equipment It is corresponding;First feedback unit returns to operation information, wherein the operation information for the user terminal to the test equipment It is the information of content shown in the screen for control the test equipment.
Another aspect according to the ... of the embodiment of the present invention additionally provides a kind of control device of test equipment, including:It generates single Member generates image information for test equipment;Transmission unit is sent to user terminal described image information for the test equipment Corresponding facility information;Second communication unit is established network communication with the user terminal for the test equipment and is connect, In, the connection is established according to after the facility information mandate;Second projecting unit, for the test equipment by its Shown content projects on the screen of the user terminal in screen, wherein shown by the screen of the test equipment Content is corresponding with equipment to be tested;Second feedback unit receives the operation that the user terminal returns for the test equipment Information, wherein the operation information is the information of content shown in the screen for control the test equipment.
Further, after the first projecting unit, and before the first feedback unit, further include:First control unit, For content shown in test equipment described in the user terminal screen control, wherein shown by the test equipment Content is corresponding with equipment to be tested.
Further, the control device of the control device of user terminal and test equipment further includes:Second acquisition unit is used In the authorized user message for obtaining the test equipment according to the facility information and user information, wherein the user authorizes Information is the user information for allowing to establish network communication connection.
Further, the control device of the control device of user terminal and test equipment further includes:Third communication unit is used It is connect with the throwing screen network communication of the test equipment in establishing the user terminal, wherein the throwing screen is in the user terminal Project content shown in the test equipment;Beginningization unit, for throwing the communications protocol shielded network communication and connected by described Information is initialized;Make unit, shields content for making the throwing according to the communications protocol information of initialization;Second control is single Member, for according to it is described throw shield content and the user terminal screen size control it is described throw screen content the user terminal screen Display situation on curtain.
Further, after the second projecting unit, further include:Encapsulation unit, for encapsulating control screen object and the test The communications protocol of equipment, wherein the control screen object is the operational motion that its screen is controlled in the user terminal.
Further, first control unit further includes:Communication module, for establishing and the control of the test equipment Shield network communication connection, wherein control screen is to control the content shown in the test equipment on the screen of the user terminal;Just Beginningization module, the coordinate ratio for initializing control the screen object and the user terminal screen;Execution module, for executing It states the corresponding operational motion of control screen object and sends corresponding operation information to the test equipment and tested.
Further, the control device of user terminal further includes:Described image information is Quick Response Code.
Other side according to the ... of the embodiment of the present invention has been also provided to a kind of storage medium, has been protected on the storage medium Computer program stored executes the upper method when described program is run.
Other side according to the ... of the embodiment of the present invention has been also provided to a kind of processor, has been held when described program is run The above-mentioned method of row.
According to inventive embodiments, the image information for using user terminal sweep test equipment obtains facility information, wherein surveys It is one or more to try equipment;User terminal is established network communication with test equipment and is connect, wherein connection is according to facility information What mandate was established later;Shown content in the screen of user terminal screen projection test equipment, wherein the screen of test equipment In shown content it is corresponding with equipment to be tested;User terminal returns to operation information to test equipment, wherein operation information is Control the information of content shown in the screen of test equipment.Solves control inconvenient in the prior art through the invention The problem of test equipment is tested improves the efficiency that control test equipment is tested.
Description of the drawings
The attached drawing constituted part of this application is used to provide further understanding of the present invention, schematic reality of the invention Example and its explanation are applied for explaining the present invention, is not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is a kind of flow chart of the control method of user terminal according to the ... of the embodiment of the present invention;
Fig. 2 is a kind of flow chart of the control method of test equipment according to the ... of the embodiment of the present invention;
Fig. 3 is the flow chart of the control method of a kind of user terminal according to the ... of the embodiment of the present invention and test equipment;
Fig. 4 is the socket message flows of the control method of a kind of user terminal according to the ... of the embodiment of the present invention and test equipment Figure;
Fig. 5 is a kind of schematic diagram of the control device of user terminal according to the ... of the embodiment of the present invention;
Fig. 6 is a kind of schematic diagram of the control device of test equipment according to the ... of the embodiment of the present invention.
Specific implementation mode
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, 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 The every other embodiment that member is 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 for distinguishing similar object, without being used to describe specific sequence or precedence.It should be appreciated that using in this way Data can be interchanged in the appropriate case, so as to the embodiment of the present invention described herein can in addition to illustrating herein or Sequence other than those of description is implemented.In addition, term " comprising " and " having " and their any deformation, it is intended that cover It includes to be not necessarily limited to for example, containing the process of series of steps or unit, method, system, product or equipment to cover non-exclusive Those of clearly list step or unit, but may include not listing clearly or for these processes, method, product Or the other steps or unit that equipment is intrinsic.
According to embodiments of the present invention, a kind of control method embodiment of user terminal is provided, it should be noted that in attached drawing Flow the step of illustrating can be executed in the computer system of such as a group of computer-executable instructions, although also, Logical order is shown in flow charts, but in some cases, can with different from sequence herein execute it is shown or The step of description.
Fig. 1 is a kind of flow chart of the control method of user terminal according to the ... of the embodiment of the present invention, as shown in Figure 1, this method Include the following steps:
The image information of step S102, user terminal sweep test equipment obtain facility information, wherein test equipment is one Or it is multiple;
Step S104, user terminal are established network communication with test equipment and are connect, wherein connection is according to facility information mandate It establishes later;
Step S106, user terminal screen project content shown in the screen of test equipment, wherein the screen of test equipment Shown content is corresponding with equipment to be tested in curtain;
Step S108, user terminal return to operation information to test equipment, wherein operation information is to control the screen of test equipment The information of shown content in curtain.
In above-mentioned steps, test equipment is scanned quickly to establish communication with test equipment by controlling user terminal Connection, and carry out content shown on display test equipment in user terminal, this is different from the prior art directly in each test It is tested in equipment, to solve the problems, such as that being inconvenient to control test equipment in the prior art is tested, and control is improved The efficiency that test equipment processed is tested.
The embodiment mainly illustrated from the angle of user terminal in above-mentioned steps S102- step S108 steps, is provided below A kind of embodiment illustrated from test equipment angle, an embodiment of the present invention provides a kind of control methods of test equipment.Fig. 2 is The flow chart of the control method of a kind of test equipment according to the ... of the embodiment of the present invention, as shown in Fig. 2, this method includes following step Suddenly:
Step S202, test equipment generate image information;
Step S204, test equipment are sent to the corresponding facility information of user terminal image information;
Step S206, test equipment are established network communication with user terminal and are connect, wherein connection is according to facility information mandate It establishes later;
Step S208, test equipment project content shown in its screen on the screen of user terminal, wherein test Shown content is corresponding with equipment to be tested in the screen of equipment;
Step S210, test equipment receive the operation information that user terminal returns, wherein operation information is control test equipment Screen in shown content information.
In above-mentioned steps, image information corresponding with user terminal is generated by controlling test equipment, it is logical to establish network News connection, and needs to be manually entered verification information in the prior art, directly be surveyed one by one to test equipment in test equipment Examination is different, the present embodiment and solve the problems, such as that control test equipment inconvenient in the prior art is tested, improve control The efficiency that test equipment processed is tested.
In the screen of user terminal screen projection test equipment after shown content, user terminal is returned to test equipment and is grasped Before making information, in an optional embodiment, content shown in user terminal screen control test equipment is needed, In, shown content is corresponding with equipment to be tested in test equipment.
In above-mentioned steps, in user terminal screen display test equipment after shown content, directly carried out in user terminal The test operations such as various operations, such as click, sliding, text input are surveyed by these operation and controls on user terminal screen The test operation in equipment is tried, the information for being then back to these operations on user terminal arrives test equipment, to indicate to survey It tries to carry out same operation corresponding with user terminal in equipment, is equivalent to control the test behaviour in test equipment on user terminal Make.
Through the above steps, the operation conducted in a test equipment or multiple test equipments is concentrated on into client End is controlled, and to which efficiently operation test equipment is tested, or operation test equipment is to other equipment to be tested Carry out test operation.
Verification is needed in above-mentioned user terminal and test equipment communication connection procedure to ensure the communication security of test, one In a optional embodiment, the authorized user message of test equipment is obtained according to facility information and user information, wherein Yong Hushou Power information is the user information for allowing to establish network communication connection.
So that the content shown in test equipment is projected on the screen of user terminal, in an optional embodiment, establishes The throwing screen network communication of user terminal and test equipment connects, wherein it is shown in user terminal projects test equipment to throw screen Content;The communications protocol information for throwing screen network communication connection is initialized;It is made according to the communications protocol information of initialization Throw screen content;Display shape of the screen content on the screen of user terminal is thrown according to the screen size control for throwing screen content and user terminal Condition.
It carries out throwing screen network communication connection in above-mentioned steps, relevant information be initialized, while making needs from survey Examination equipment projects the content on user terminal screen, then adjusts the throwing according to the intrinsic screen size of the content and user terminal Penetrate content so that the screen for projecting content and user terminal on user terminal screen matches, or reaches scheduled matching item Part, for example, width of the content projected on user's screen is less than user's screen.
By the method for displayed content in above-mentioned projection test equipment, more convenient is set using user terminal control test It is standby to be tested, and accurately can show and control test equipment.
After test equipment projects content shown in its screen on the screen of user terminal, need to being shown in use Content on the screen of family end is controlled, and to complete the work tested test equipment, and is tested in control screen Before, then need to carry out some preparations in advance, in an optional embodiment, encapsulation control screen object and test equipment it is logical Interrogate agreement, wherein control screen object is the operational motion that its screen is controlled in user terminal.
Control screen object can be the operations such as click, sliding, text input, sectional drawing, transverse screen, the vertical screen done to test equipment Action, is the operational motions such as click, sliding, text input, sectional drawing, transverse screen, the vertical screen done to the screen of user terminal.
Simplify the operating process of control screen by above-mentioned advance encapsulation control screen object, user terminal can be made more convenient quickly Ground controls test equipment.
Shown content, optional at one in the screen control test equipment for passing through user terminal in conjunction with above-mentioned control screen object In embodiment, first, foundation is connect with the control screen network communication of test equipment, wherein control screen is controlled on the screen of user terminal The content shown in test equipment processed;Secondly, the coordinate ratio of initialization control screen object and user terminal screen;Finally, control is executed The corresponding operational motion of screen object is simultaneously tested to the corresponding operation information of test equipment transmission.
By the above method, the more convenient screen by user terminal tests control test equipment.
Image information appeared in above-mentioned steps, in an optional embodiment can be Quick Response Code, bar code or Person is the image information that other can carry out image recognition.Pass through the identification of image information, it is not necessary to again as in traditional approach It is manually entered verification information, it is more convenient, when testing a large amount of test equipments simultaneously, save the time.
The above method is described in detail below according to an optional embodiment, step is as shown in figure 3, Fig. 3 is The flow chart of the control method of a kind of user terminal according to the ... of the embodiment of the present invention and test equipment is as follows shown:
Test equipment can be the equipment such as mobile phone, and user terminal can be mobile phone or apparatus such as computer, and user terminal passes through APP The Quick Response Code of software scans testing mobile phone, testing mobile phone provide its Quick Response Code to user terminal, user by the control screen page of software The 2 D code information of the control screen page in software is read at end, and user information API is fed back and called after reading, passes through user information The authorization message of user, that is, the process of verification user information are updated, when updating the authorization message of user, first, obtains JWT API URL:userApiUrl+/user/updateOwn?Token=+token;Return again to awarding for the user comprising JWT attributes Weigh information;Finally, the authorization message (API URL) of authorized user is updated:appUrl+/app/api/v1/updateJWT?jwt =+res.data.jwt.For example the corresponding user information of test equipment is A123, then is using user terminal sweep test equipment After Quick Response Code, user terminal also obtains the user information, and checks whether the user information updates, if with updated use Family authorization message is consistent, then carries out network connection, to ensure the safety of communication.The control screen page of software is in addition to providing test equipment Quick Response Code except also store and for user terminal provide the corresponding user information of test equipment and communication link information, such as Websocket link informations.
In the above process after the 2 D code information for reading the control screen page, the json data of Quick Response Code are fed back, are fed back The programming of the json data formats of Quick Response Code is as follows:
Judge whether network is unimpeded, terminates to test if not smooth or there is no network (such as wifi), if there is net Network then initiates to throw screen network communication connection or control screen network communication connection (websocket connections),
After establishing control screen network communication connection, the communications protocol information that screen network communication connects will be thrown and initialized; For example, initializing websocket and drawing throwing screen picture, programming in messageListener () function by canvas It is as follows:
context.drawImage(img,0,0,img.width,img.height);
It is made according to the communications protocol information of initialization and throws screen content;According to the screen size control for throwing screen content and user terminal System throws display situation of the screen content on the screen of user terminal, which can be the screen size of user terminal, can also It is the screen size of test equipment, when for the screen size of test equipment, can be monitored according to different screen sizes Resize events call updateBounds () function to be subject to height and take display, and width is left white.
Finally, test equipment receives the operation information that user terminal returns, wherein operation information is to control the screen of test equipment The information of shown content in curtain.
After test equipment projects content shown in its screen on the screen of user terminal, foundation and test equipment Control screen network communication connection before, need encapsulation control screen object and test equipment communications protocol.For example, being established with equipment Websocket throws screen and control screen connection, and the connection of control screen carries out long connection by socketio encapsulation and the channel of equipment.
Foundation is connect with the control screen network communication of test equipment, the coordinate ratio of initialization control screen object and user terminal screen Example;For example, initialization control screen object control, encapsulate in coordinate scale object scaler, control touchDown, The controls screen method of operating such as touchUp, touchMove, client are acted corresponding to equipment transmission by one control screen of every completion Socket message, such as event is clicked, generate message flow as shown in Figure 4, wherein Fig. 4 is according to the ... of the embodiment of the present invention one The socket message flow diagrams of the control method of kind user terminal and test equipment.
The embodiment of the present invention additionally provides a kind of control device of user terminal, which can pass through first acquisition unit 52, the first communication unit 54, the first projecting unit 56 and the first feedback unit 58 realize its function.It should be noted that this hair A kind of control device of user terminal of bright embodiment can be used for executing a kind of control for user terminal that the embodiment of the present invention is provided Method processed, a kind of use that the control method of user terminal of the embodiment of the present invention a kind of can also be provided through the embodiment of the present invention The control device at family end executes.
Fig. 5 is a kind of schematic diagram of the control device of user terminal according to the ... of the embodiment of the present invention.As shown in figure 5, a kind of survey Examination equipment control device include:First acquisition unit 52, the image information for user terminal sweep test equipment obtain equipment Information, wherein test equipment is one or more;First communication unit 54 establishes network for user terminal and test equipment Communication connection, wherein connection is established according to after facility information mandate;First projecting unit 56 is used for user terminal screen Project content shown in the screen of test equipment, wherein shown content is set with to be tested in the screen of test equipment It is standby corresponding;First feedback unit 58 returns to operation information, wherein operation information is control for user terminal to test equipment The information of shown content in the screen of test equipment.
The embodiment of the present invention additionally provides a kind of control device of test equipment, the device can by generation unit 62, Transmission unit 64, the second communication unit 66, the second projecting unit 68 and the second feedback unit 610 realize its function.It needs to illustrate , the control device of test equipment of the embodiment of the present invention a kind of can be used for executing one kind that the embodiment of the present invention is provided The control method of the control method of test equipment, a kind of test equipment of the embodiment of the present invention can also be through the embodiment of the present invention The control device of the test equipment provided a kind of executes.
Fig. 6 is a kind of schematic diagram of the control device of test equipment according to the ... of the embodiment of the present invention.As shown in fig. 6, a kind of The control device of test equipment includes:Generation unit 62 generates image information for test equipment;Transmission unit 64, for surveying Examination equipment is sent to the corresponding facility information of user terminal image information;Second communication unit 66 is used for test equipment and user terminal Establish network communication connection, wherein connection is established according to after facility information mandate;Second projecting unit 68, for surveying Examination equipment projects content shown in its screen on the screen of user terminal, wherein shown in the screen of test equipment Content it is corresponding with equipment to be tested;Second feedback unit 610 receives the operation letter that user terminal returns for test equipment Breath, wherein operation information is the information of content shown in the screen for control test equipment.
In the optional embodiment, the control device of user terminal further includes:First control unit, in user terminal screen In the screen of curtain projection test equipment after shown content, and user terminal to test equipment return operation information it Before, shown content in user terminal screen control test equipment, wherein shown content is set with to be tested in test equipment It is standby corresponding.
In the optional embodiment, the control device of user terminal and the control device of test equipment further include:Second obtains Unit is taken, the authorized user message for obtaining test equipment according to facility information and user information, wherein authorized user message To allow to establish the user information of network communication connection.
In the optional embodiment, the control device of user terminal and the control device of test equipment further include:Third is logical Unit is interrogated, the throwing screen network communication for establishing user terminal and test equipment connects, wherein it is to project to test in user terminal to throw screen Shown content in equipment;Initialization unit, for initializing the communications protocol information for throwing screen network communication connection; Production unit throws screen content for being made according to the communications protocol information of initialization;Second control unit, for according in throwing screen Hold and display situation of the screen content on the screen of user terminal is thrown in the control of the screen size of user terminal.
In the optional embodiment, the control device of test equipment further includes:Encapsulation unit, being used for will in test equipment After shown content projects on the screen of user terminal in its screen, the communication association of encapsulation control screen object and test equipment View, wherein control screen object is the operational motion that its screen is controlled in user terminal.
In the optional embodiment, the first control unit includes:Communication module, for establishing and the control screen of test equipment Network communication connects, wherein control screen is to control the content shown in test equipment on the screen of user terminal;Initialization module is used The coordinate ratio of screen object and user terminal screen is controlled in initialization;Execution module, it is dynamic for executing the corresponding operation of control screen object Make and is tested to the corresponding operation information of test equipment transmission.
In the optional embodiment, the control device of user terminal further includes:Image information is Quick Response Code.
In the present embodiment, a kind of storage medium is provided, storage medium includes the program of storage, wherein is transported in program Equipment executes the above method where controlling storage medium when row.
In the present embodiment, a kind of processor is provided, processor includes the program of processor, wherein run in program When control processor where equipment execute the above method.
The embodiments of the present invention are for illustration only, can not represent the quality of embodiment.
In the above embodiment of the present invention, all emphasizes 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.
The control device embodiment of a kind of above-mentioned user terminal and test equipment is the control with a kind of user terminal and test equipment Method processed is corresponding, so being repeated no more for advantageous effect.
In several embodiments provided herein, it should be understood that disclosed technology contents can pass through others Mode is realized.Wherein, device embodiment described above is only illustrative, for example, unit division, can be patrolled for one kind Volume function divides, formula that in actual implementation, there may be another division manner, such as multiple units or component can combine or can be with It is integrated into another system, or some features can be ignored or not executed.Another point, it is shown or discussed mutual Coupling, direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING or communication connection of unit or module, can By be it is electrical or other in the form of.
The unit illustrated as separating component may or may not be physically separated, and be shown as unit Component may or may not be physical unit, you can be located at a place, or may be distributed over multiple units On.Some or all of unit therein can be selected according to the actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
It, can if integrated unit is realized in the form of SFU software functional unit and when sold or used as an independent product To be stored in a computer read/write memory medium.Based on this understanding, technical scheme of the present invention substantially or Say that all or part of the part that contributes to existing technology or the technical solution can embody in the form of software products Out, which is stored in a storage medium, including some instructions are used so that a computer equipment (can be personal computer, server or network equipment etc.) executes all or part of step of each embodiment method of the present invention Suddenly.And storage medium above-mentioned includes:USB flash disk, read-only memory (ROM, Read-Only Memory), random access memory The various media that can store program code such as (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD.
It the above is only the preferred embodiment of the present invention, it is noted that those skilled in the art are come It says, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications also should be regarded as Protection scope of the present invention.

Claims (18)

1. a kind of control method of user terminal, which is characterized in that including:
The image information of user terminal sweep test equipment obtains facility information, wherein the test equipment is one or more;
The user terminal is established network communication with the test equipment and is connect, wherein the connection is according to the facility information What mandate was established later;
The user terminal screen projects content shown in the screen of the test equipment, wherein the screen of the test equipment Shown content is corresponding with equipment to be tested in curtain;
The user terminal returns to operation information to the test equipment, wherein the operation information is the control test equipment Screen in shown content information.
2. a kind of control method of test equipment, which is characterized in that including:
Test equipment generates image information;
The test equipment is sent to the corresponding facility information of user terminal described image information;
The test equipment is established network communication with the user terminal and is connect, wherein the connection is according to the facility information What mandate was established later;
The test equipment projects content shown in its screen on the screen of the user terminal, wherein the test Shown content is corresponding with equipment to be tested in the screen of equipment;
The test equipment receives the operation information that the user terminal returns, wherein the operation information is the control test The information of shown content in the screen of equipment.
3. according to the method described in claim 1, it is characterized in that, the user terminal screen projects the screen of the test equipment In after shown content, the user terminal return to operation information to the test equipment before include:
Shown content in test equipment described in the user terminal screen control, wherein shown by the test equipment Content is corresponding with equipment to be tested.
4. method according to claim 1 or 2, which is characterized in that further include:
The authorized user message of the test equipment is obtained according to the facility information and user information, wherein the user awards Power information is the user information for allowing to establish network communication connection.
5. method according to claim 1 or 2, which is characterized in that further include:
It establishes the user terminal to connect with the throwing screen network communication of the test equipment, wherein the throwing screen is in the user End projects content shown in the test equipment;
The communications protocol information for throwing screen network communication connection is initialized;
It is made according to the communications protocol information of initialization and throws screen content;
The screen thrown and shield content in the user terminal is controlled according to the screen size for throwing screen content and the user terminal On display situation.
6. according to the method described in claim 2, it is characterized in that, the test equipment throws content shown in its screen Include after being mapped on the screen of the user terminal:
The communications protocol of encapsulation control screen object and the test equipment, wherein the control screen object is to be controlled in the user terminal The operational motion of its screen.
7. according to the method described in claim 3, it is characterized in that, being shown in test equipment described in the user terminal screen control The content shown includes:
Foundation is connect with the control screen network communication of the test equipment, wherein control screen is to control institute on the screen of the user terminal State the content shown in test equipment;
The coordinate ratio of initialization control screen object and the user terminal screen;
It executes the corresponding operational motion of the control screen object and sends corresponding operation information to the test equipment and tested.
8. according to the method described in claim 1, it is characterised in that it includes:
Described image information is Quick Response Code.
9. a kind of control device of user terminal, which is characterized in that including:
First acquisition unit, the image information for user terminal sweep test equipment obtain facility information, wherein the test is set Standby is one or more;
First communication unit is established network communication with the test equipment for the user terminal and is connect, wherein the connection is According to what is established after the facility information mandate;
First projecting unit projects content shown in the screen of the test equipment for the user terminal screen, wherein Shown content is corresponding with equipment to be tested in the screen of the test equipment;
First feedback unit returns to operation information, wherein the operation information is for the user terminal to the test equipment Control the information of content shown in the screen of the test equipment.
10. a kind of control device of test equipment, which is characterized in that including:
Generation unit generates image information for test equipment;
Transmission unit is sent to the corresponding facility information of user terminal described image information for the test equipment;
Second communication unit is established network communication with the user terminal for the test equipment and is connect, wherein the connection is According to what is established after the facility information mandate;
Content shown in its screen is projected the screen of the user terminal for the test equipment by the second projecting unit On, wherein shown content is corresponding with equipment to be tested in the screen of the test equipment;
Second feedback unit receives the operation information that the user terminal returns for the test equipment, wherein the operation letter Breath is the information of content shown in the screen for control the test equipment.
11. device according to claim 9, which is characterized in that described device further includes:
First control unit, for shown content in the screen that the user terminal screen projects the test equipment it Afterwards, it and before the user terminal returns to operation information to the test equipment, is tested described in the user terminal screen control Shown content in equipment, wherein shown content is corresponding with equipment to be tested in the test equipment.
12. device according to claim 9 or 10, which is characterized in that described device further includes:
Second acquisition unit, the user for obtaining the test equipment according to the facility information and user information authorize letter Breath, wherein the authorized user message is the user information for allowing to establish network communication connection.
13. device according to claim 9 or 10, which is characterized in that described device further includes:
Third communication unit is connect for establishing the user terminal with the throwing screen network communication of the test equipment, wherein described Throw the content that screen is shown in the user terminal projects the test equipment;
Initialization unit, for initializing the communications protocol information for throwing screen network communication connection;
Production unit shields content for making the throwing according to the communications protocol information of initialization;
Second control unit, for being existed according to the screen size control for throwing screen content and the user terminal throwing screen content Display situation on the screen of the user terminal.
14. device according to claim 10, which is characterized in that described device further includes:
Encapsulation unit, the screen for content shown in its screen to be projected to the user terminal in the test equipment Later, the communications protocol of encapsulation control screen object and the test equipment, wherein the control screen object is to be controlled in the user terminal The operational motion of its screen.
15. according to the devices described in claim 11, which is characterized in that first control unit includes:
Communication module, the control screen network communication for being used to establish with the test equipment are connect, wherein control screen is in the user terminal Screen on control the content shown in the test equipment;
Initialization module, the coordinate ratio for initializing control the screen object and the user terminal screen;
Execution module, for executing the corresponding operational motion of the control screen object and sending corresponding operation to the test equipment Information is tested.
16. device according to claim 9, which is characterized in that described device further includes:
Described image information is Quick Response Code.
17. a kind of storage medium, which is characterized in that the storage medium includes the program of storage, wherein described program right of execution Profit requires the control method of the user terminal described in any one of 1 to 8 and the control method of test equipment.
18. a kind of processor, which is characterized in that the processor is for running program, wherein right of execution when described program is run Profit requires the control method of the user terminal described in any one of 1 to 8 and the control method of test equipment.
CN201710310452.3A 2017-05-04 2017-05-04 The control method of user terminal and test equipment, device, storage medium and processor Pending CN108803981A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710310452.3A CN108803981A (en) 2017-05-04 2017-05-04 The control method of user terminal and test equipment, device, storage medium and processor
PCT/CN2018/078426 WO2018201792A1 (en) 2017-05-04 2018-03-08 Method, device, storage medium and processor for controlling user end and test device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710310452.3A CN108803981A (en) 2017-05-04 2017-05-04 The control method of user terminal and test equipment, device, storage medium and processor

Publications (1)

Publication Number Publication Date
CN108803981A true CN108803981A (en) 2018-11-13

Family

ID=64016424

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710310452.3A Pending CN108803981A (en) 2017-05-04 2017-05-04 The control method of user terminal and test equipment, device, storage medium and processor

Country Status (2)

Country Link
CN (1) CN108803981A (en)
WO (1) WO2018201792A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112055040A (en) * 2019-06-06 2020-12-08 百度在线网络技术(北京)有限公司 Screen projection processing method, device, equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101325625A (en) * 2008-07-25 2008-12-17 余纯龙 System, apparatus and method for testing remote handset
CN104836840A (en) * 2015-03-30 2015-08-12 北京奇虎科技有限公司 Control method of mobile terminal, server, device and system
CN104994073A (en) * 2015-05-29 2015-10-21 北京奇虎科技有限公司 Cell phone terminal, server and account-device linking control and executing method
US20150331789A1 (en) * 2014-05-14 2015-11-19 International Business Machines Corporation Correlating out-of-band process data during mobile test automation
CN105354118A (en) * 2015-10-27 2016-02-24 广东欧珀移动通信有限公司 Method, apparatus and system for automatically testing intelligent terminal
CN106572139A (en) * 2015-10-13 2017-04-19 阿里巴巴集团控股有限公司 Multi-terminal control method and system, terminal, and server

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101165637A (en) * 2006-10-18 2008-04-23 英业达股份有限公司 Input system and method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101325625A (en) * 2008-07-25 2008-12-17 余纯龙 System, apparatus and method for testing remote handset
US20150331789A1 (en) * 2014-05-14 2015-11-19 International Business Machines Corporation Correlating out-of-band process data during mobile test automation
CN104836840A (en) * 2015-03-30 2015-08-12 北京奇虎科技有限公司 Control method of mobile terminal, server, device and system
CN104994073A (en) * 2015-05-29 2015-10-21 北京奇虎科技有限公司 Cell phone terminal, server and account-device linking control and executing method
CN106572139A (en) * 2015-10-13 2017-04-19 阿里巴巴集团控股有限公司 Multi-terminal control method and system, terminal, and server
CN105354118A (en) * 2015-10-27 2016-02-24 广东欧珀移动通信有限公司 Method, apparatus and system for automatically testing intelligent terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112055040A (en) * 2019-06-06 2020-12-08 百度在线网络技术(北京)有限公司 Screen projection processing method, device, equipment and storage medium

Also Published As

Publication number Publication date
WO2018201792A1 (en) 2018-11-08

Similar Documents

Publication Publication Date Title
CN103701927B (en) A kind of image sharing method of terminal room, terminal device and communication system
CN104182687B (en) The safety detection method of mobile terminal input window and safety detection device
CN107832226A (en) Report-generating method, device, equipment and computer media based on performance test
CN107688530A (en) Method for testing software and device
CN109635211B (en) Method for realizing promotion page and server
CN109388532A (en) Test method, device, electronic equipment and computer-readable storage medium
CN110311912A (en) Cloud server, Intranet scanning client, system and Intranet remote scanning method
CN104834530A (en) Method for developing POS application program and cloud server
CN108228288A (en) A kind of component system and its call method and device
CN107563181A (en) A kind of verification method and system for clicking graphical verification code
CN110659569A (en) Electronic signature method, device, storage medium and electronic equipment
CN110800314B (en) Computer system, remote operation notification method, and recording medium
CN106406839A (en) Processing method and device of screen adaption file
CN106228364A (en) A kind of information demonstrating method and present device
CN105740670A (en) Application encryption method and device, and application startup method and device
CN112085078A (en) Image classification model generation system, method and device and computer equipment
TWI619042B (en) System and method for online transaction security, SIM card, mobile phone and online transaction system realized by the method
CN105718571A (en) Information pushing method and device
CN108803981A (en) The control method of user terminal and test equipment, device, storage medium and processor
CN109582401B (en) Promotion picture generation method and device, storage medium and computer equipment
CN110140144A (en) For verifying the image processing system of the data of rendering
CN112950443A (en) Adaptive privacy protection method, system, device and medium based on image sticker
CN111083018B (en) Production detection method and device for wireless equipment
CN105512020B (en) Test method and device
CN107046686A (en) The treating method and apparatus of radio network information

Legal Events

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

Application publication date: 20181113