CN105357030B - Offline restoration methods, the device and system of a kind of terminal device on test platform - Google Patents

Offline restoration methods, the device and system of a kind of terminal device on test platform Download PDF

Info

Publication number
CN105357030B
CN105357030B CN201510641131.2A CN201510641131A CN105357030B CN 105357030 B CN105357030 B CN 105357030B CN 201510641131 A CN201510641131 A CN 201510641131A CN 105357030 B CN105357030 B CN 105357030B
Authority
CN
China
Prior art keywords
terminal device
instruction
virtual machine
offline
central server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510641131.2A
Other languages
Chinese (zh)
Other versions
CN105357030A (en
Inventor
赵玉婷
王欣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201510641131.2A priority Critical patent/CN105357030B/en
Publication of CN105357030A publication Critical patent/CN105357030A/en
Application granted granted Critical
Publication of CN105357030B publication Critical patent/CN105357030B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0659Management of faults, events, alarms or notifications using network fault recovery by isolating or reconfiguring faulty entities
    • H04L41/0661Management of faults, events, alarms or notifications using network fault recovery by isolating or reconfiguring faulty entities by reconfiguring faulty entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/08Protocols specially adapted for terminal emulation, e.g. Telnet
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/131Protocols for games, networked simulations or virtual reality

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses offline restoration methods, the device and system of the terminal device on a kind of test platform, this method comprises: disposing multiple virtual machines in PC machine, it disposes each virtual machine and establishes connection with one or more terminal devices for completing test assignment, create corresponding connection snapshot;Virtual machine is monitored the connection status of connected one or more terminal devices, obtains corresponding monitoring data;The offline recovery that virtual machine obtains the terminal device being connected for itself generated according to monitoring data instructs, and restores the corresponding connection snapshot of the terminal device according to the offline recovery instruction.Technical solution provided by the invention is by being arranged virtual machine for test platform, establish connection snapshot, it monitors tested equipment connection status and restores the mode of corresponding connection snapshot, restore to connect for offline measurement equipment, the self-repairing capability of test platform is enhanced, rapid reaction is timely, improves operational efficiency, and scheme high degree of automation, save human cost.

Description

Offline restoration methods, the device and system of a kind of terminal device on test platform
Technical field
The present invention relates to computer technologies, and in particular to the offline restoration methods of terminal device, dress on a kind of test platform It sets and system.
Background technique
With the continuous development of electronic information technology, the application software on the intelligent terminals such as mobile phone is more and more, is Convenient for the exploitation and improvement of software, and judge equipment to the compatibility of software, needs using test platform to equipment application It is tested.It is increasing however as intelligent terminal type, quantity, test platform scale is increasing, need to survey The number of devices of test tube reason is also more and more, when encounter measurement equipment break down disconnect into off-line mode when, need Largely manpower goes to safeguard, higher cost, and reaction is also not prompt enough quick, influences the progress and quality of test.
Summary of the invention
In view of the above problems, it proposes on the present invention overcomes the above problem or at least be partially solved in order to provide one kind State the offline restoration methods of terminal device, the device and system on a kind of test platform of problem.
According to one aspect of the present invention, a kind of offline restoration methods of the terminal device on test platform are provided, it should Method includes:
Multiple virtual machines are disposed in PC machine, dispose each virtual machine and the one or more for completing test assignment is whole End equipment establishes connection, creates corresponding connection snapshot;
Virtual machine is monitored the connection status of connected one or more terminal devices, obtains corresponding monitoring number According to;
The offline recovery that virtual machine obtains the terminal device being connected for itself generated according to monitoring data instructs, foundation The offline recovery instruction restores the corresponding connection snapshot of the terminal device.
Optionally, this method further comprises:
Monitoring programme is disposed on each terminal device;
The connection status of terminal device where monitoring programme monitoring, when monitoring that the terminal device is in off-line state When, restart the Android debugging bridge process operated on the terminal device.
Optionally, virtual machine is obtained refers to according to the offline of terminal device being connected for itself that monitoring data generates Order includes:
Virtual machine analyzes monitoring data, determines that itself connected terminal device is in offline shape based on the analysis results State generates the offline recovery instruction for the terminal device being connected for itself.
Optionally, virtual machine is obtained refers to according to the offline of terminal device being connected for itself that monitoring data generates Order includes:
Monitoring data is uploaded to central server by virtual machine;
Virtual machine receive central server according to monitoring data generates be directed to the corresponding terminal device of the virtual machine from Line restores instruction.
Optionally, this method further comprises:
Telescript is disposed in the PC machine;
The Telescript obtains monitoring data from each virtual machine in the PC machine and is sent to central server, and The offline recovery instruction that central server generates is transmitted to corresponding virtual machine;
The Telescript obtains during the corresponding implementing result of offline the recoverys instruction feeds back to from corresponding virtual machine Central server.
Optionally, this method further comprises:
The Telescript receives the task-performance instructions that central server issues and is forwarded to corresponding virtual machine;
Virtual machine executes instruction according to received task and executes corresponding task on corresponding terminal device;
Wherein, the task-performance instructions include one of following or a variety of;
Application program installation instruction comprising Android installation kit APK;
Application program installation instruction comprising APK download address;
Restart the instruction of terminal device;
The instruction of application program in discharging terminal equipment;
Clear up the instruction of the memory of terminal device;
Refresh the instruction of the plan of terminal device;
Clear up the instruction of the external memory space of terminal device;
Clear up the instruction of journal file caused by the designated program on terminal device.
According to another aspect of the invention, a kind of offline recovery device of the terminal device on test platform is provided, The device includes: multiple virtual machine units;
Each virtual machine unit is created suitable for establishing connection with one or more terminal devices for completing test assignment Build corresponding connection snapshot;The connection status of connected one or more terminal devices is monitored, corresponding monitoring is obtained Data;The offline recovery for obtaining the terminal device being connected for itself generated according to monitoring data instructs, offline extensive according to this Multiple instruction restores the corresponding connection snapshot of the terminal device.
Optionally, which further comprises: being deployed in the monitoring unit of terminal device;
Monitoring unit, suitable for the connection status of terminal device where monitoring, when monitoring that the terminal device is in offline shape When state, the Android debugging bridge process operated on the terminal device is restarted.
Optionally, each virtual machine unit determines that itself is connected suitable for analyzing monitoring data based on the analysis results Terminal device be in off-line state, the offline recovery for generating the terminal device being connected for itself instructs.
Optionally, each virtual machine unit, suitable for monitoring data is uploaded to central server;Receive central server root It is instructed according to the offline recovery for the corresponding terminal device of virtual machine unit that monitoring data generates.
Optionally, which further comprises:
Communication unit, suitable for obtaining monitoring data from each virtual machine unit and be sent to central server, and by center The offline recovery instruction that server generates is transmitted to corresponding virtual machine unit;It is obtained from corresponding virtual machine unit described offline Restore that corresponding implementing result is instructed to feed back to central server.
Optionally, the communication unit is further adapted for receiving task-performance instructions and the forwarding that central server issues To corresponding virtual machine unit;
Each virtual machine unit executes accordingly on corresponding terminal device suitable for being executed instruction according to received task Task;
Wherein, the task-performance instructions include one of following or a variety of;
Application program installation instruction comprising Android installation kit APK;
Application program installation instruction comprising APK download address;
Restart the instruction of terminal device;
The instruction of application program in discharging terminal equipment;
Clear up the instruction of the memory of terminal device;
Refresh the instruction of the plan of terminal device;
Clear up the instruction of the external memory space of terminal device;
Clear up the instruction of journal file caused by the designated program on terminal device.
Another aspect according to the present invention provides a kind of offline recovery system of the terminal device on test platform, Wherein, which includes: the terminal device on central server and one or more test platforms as described in any one of the above embodiments Offline recovery device;
Described device, suitable for sending central server for monitoring data;
The central server is generated suitable for being shown and analyzing to monitoring data for terminal device It is offline to restore to instruct and be handed down to described device;
Described device is further adapted for according to the offline connection shape for restoring instruction and restoring counterpart terminal equipment received State.
Optionally, the central server is further adapted for reception and refers to what is issued for the offline of terminal device Corresponding implementing result is enabled, passes through preset alarm channel alert when implementing result indicates offline recovery failure.
Optionally, the central server is further adapted for issuing task-performance instructions to described device;
Wherein, the task-performance instructions include one of following or a variety of;
Application program installation instruction comprising Android installation kit APK;
Application program installation instruction comprising APK download address;
Restart the instruction of terminal device;
The instruction of application program in discharging terminal equipment;
Clear up the instruction of the memory of terminal device;
Refresh the instruction of the plan of terminal device;
Clear up the instruction of the external memory space of terminal device;
Clear up the instruction of journal file caused by the designated program on terminal device.
Optionally, the central server is further adapted for reception task corresponding with the task-performance instructions issued and holds Row is as a result, pass through preset alarm channel alert when task action result indicates task execution failure.
Optionally, which further comprises:
Deployment machine is suitable for Telnet described device, disposes a multiple virtual machine units on such devices and starts, And preset Telescript is disposed on such devices and is started.
It can be seen from the above, technical solution provided by the invention creates virtual machine by disposing multiple virtual machines in PC machine Connection between the terminal device for completing test assignment and it is corresponding connect snapshot, when monitoring that terminal device occurs It is virtual to instruct the corresponding connection snapshot of the recovery terminal device according to offline recoverys generated when offline situation, it may be implemented pair The connection status of offline terminal equipment on test platform is restored;Wherein, the mode for restoring the connection snapshot can reach and insert firmly Similar recovery effects are pulled out, power height is reverted to terminal device offline, ensure that the reliability of test platform;Virtual machine prison Control terminal equipment, and instructed according to the offline recovery that monitoring data generates the terminal device being connected for itself, it is offline according to this Restore instruction and restore corresponding connection snapshot, restore connection, eliminate the work of staff to on-site supervision and processing, improves The degree of automation of test platform maintenance, saves manpower.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention, And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows the offline restoration methods of the terminal device on a kind of test platform according to an embodiment of the invention Flow chart;
Fig. 2 shows the offline recovery devices of the terminal device on a kind of test platform according to an embodiment of the invention Schematic diagram;
Fig. 3 shows the offline recovery dress of the terminal device on a kind of test platform in accordance with another embodiment of the present invention The schematic diagram set;
Fig. 4 shows the offline recovery system of the terminal device on a kind of test platform according to an embodiment of the invention Schematic diagram;
Fig. 5 shows the offline restorer of the terminal device on a kind of test platform in accordance with another embodiment of the present invention The schematic diagram of system.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure It is fully disclosed to those skilled in the art.
Fig. 1 shows the offline restoration methods of the terminal device on a kind of test platform according to an embodiment of the invention Flow chart, as shown in Figure 1, this method comprises:
Step S110 disposes multiple virtual machines in PC machine, disposes each virtual machine and is used to complete the one of test assignment A or multiple terminal devices establish connection, create corresponding connection snapshot.
Step S120, virtual machine are monitored the connection status of connected one or more terminal devices, obtain corresponding Monitoring data.
Step S130, virtual machine obtain the offline recovery of the terminal device being connected for itself generated according to monitoring data Instruction restores the corresponding connection snapshot of the terminal device according to the offline recovery instruction.
As it can be seen that method shown in FIG. 1 is tested by disposing multiple virtual machines, creation virtual machine in PC machine with for completion Connection between the terminal device of task and snapshot is connected accordingly, it is empty when monitoring that offline situation occurs in terminal device It is quasi- instruct the corresponding connection snapshot of the recovery terminal device according to offline recoverys generated, may be implemented on test platform from The connection status of line terminal equipment is restored;Wherein, the mode for restoring the connection snapshot can reach imitates with the similar recovery of plug firmly Fruit reverts to power height to terminal device offline, ensure that the reliability of test platform;Virtual machine monitoring terminal device, and According to monitoring data generation for the offline recovery instruction for the terminal device itself being connected, according to offline recovery instruction recovery pair The connection snapshot answered restores connection, eliminates the work of staff to on-site supervision and processing, improves test platform maintenance The degree of automation, save manpower.
It includes: Telnet PC machine that multiple virtual machines are disposed in PC machine, and one or more virtual machines are disposed in PC machine And start.
In one embodiment of the invention, method shown in FIG. 1 further comprises:
Step S140 disposes monitoring programme on each terminal device.
The connection status of terminal device where the monitoring of step S150 monitoring programme, when monitoring that the terminal device is in offline When state, the Android debugging bridge process operated on the terminal device is restarted.
As it can be seen that the present embodiment is by disposing monitoring programme APP on the terminal device, to the connection state of the terminal device into Row monitoring, when monitoring that the terminal device be in off-line state, restart operate on the terminal device Android debugging bridge into The autonomous recovery of terminal device off-line state may be implemented in journey, timely and convenient, does not need artificial or other equipment interventions.
In one embodiment of the invention, in method as shown in Figure 1, step S130, virtual machine is obtained according to monitoring The offline recovery instruction for the terminal device being connected for itself that data generate includes: that virtual machine analyzes monitoring data, Determine that itself connected terminal device be in off-line state based on the analysis results, generate for itself connected terminal device from Line restores instruction;Alternatively, monitoring data is uploaded to central server by virtual machine, virtual machine receives central server according to monitoring The offline recovery for the corresponding terminal device of the virtual machine that data generate instructs.
Wherein, in the scheme that monitoring data is uploaded to central server by above-mentioned virtual machine, virtual machine and center service Communication between device is realized by a Telescript, and specifically, method shown in FIG. 1 further comprises:
Step S160, disposes Telescript in PC machine.
In this step, disposing Telescript in the PC machine includes: Telnet PC machine, is disposed in PC machine preset Telescript simultaneously starts;Specifically, which is that Daemon program is guarded on the backstage of PC machine, can pass through Python script Operation.
Step S170, Telescript obtain monitoring data from each virtual machine in the PC machine and are sent to center service Device, and the offline recovery instruction that central server generates is transmitted to corresponding virtual machine.
Step S180, Telescript obtain offline restore to instruct during corresponding implementing result feeds back to from corresponding virtual machine Central server.
On the basis of the above, method shown in FIG. 1 further comprises:
Step S190, Telescript receive the task-performance instructions that central server issues and are forwarded to corresponding virtual Machine.
Step S200, virtual machine execute instruction according to received task and execute corresponding appoint on corresponding terminal device Business.
Wherein, the task-performance instructions include one of following or a variety of: the application journey comprising Android installation kit APK Sequence installation instruction;Application program installation instruction comprising APK download address;Restart the instruction of terminal device;Discharging terminal equipment On application program instruction;Clear up the instruction of the memory of terminal device;Refresh the instruction of the plan of terminal device;Cleaning is eventually The instruction of the external memory space of end equipment;Clear up the instruction of journal file caused by the designated program on terminal device.
As it can be seen that on the one hand being restarted by being deployed in the monitoring programme of terminal device when off-line state occurs in terminal device Android debugs bridge process, independently restores connection status;On the other hand, monitoring number is obtained by the virtual machine being connected with terminal device According to, by virtual machine analyze monitoring data generate for itself be connected terminal device offline recoverys instruct, or utilize lead to Believe that monitoring data is sent central server by script, monitoring data is analyzed by central server, generates and is directed to the virtual machine pair The offline recovery for the terminal device answered instructs, and is instructed according to the offline recovery to terminal device of generation, calls corresponding virtual Machine order restores the connection snapshot of virtual machine and counterpart terminal equipment, restores the connection status of terminal device, and reaction is fast in time Speed does not need manual intervention, improves the degree of automation to the offline recovery process of terminal device on test platform.
In addition, this programme, which further obtains offline recovery from corresponding virtual machine using Telescript, instructs corresponding execution As a result it feeds back to central server and carries out feedback display, it is extensive when implementing result Display Realization counterpart terminal equipment off-line state When multiple, it will not be alarmed by pre-set programs, otherwise, be alarmed by pre-set programs, inform the platform management personnel offline end The information such as position, IP address and the model of end equipment carry out manual reversion processing convenient for administrative staff, improve the reliable of platform Property.
Fig. 2 shows the offline recovery devices of the terminal device on a kind of test platform according to an embodiment of the invention Schematic diagram, as shown in Fig. 2, the offline recovery device 200 of the terminal device on the test platform includes: multiple virtual machine units 210。
Each virtual machine unit 210, suitable for establishing connection with one or more terminal devices for completing test assignment, Create corresponding connection snapshot;The connection status of connected one or more terminal devices is monitored, corresponding prison is obtained Control data;The offline recovery for obtaining the terminal device being connected for itself generated according to monitoring data instructs, offline according to this Restore instruction and restores the corresponding connection snapshot of the terminal device.
Specifically, each virtual machine unit 210 determines itself suitable for analyzing monitoring data based on the analysis results Connected terminal device is in off-line state, generates the offline recovery instruction for the terminal device being connected for itself;Alternatively, each Virtual machine unit 210, suitable for monitoring data is uploaded to central server;Receive what central server was generated according to monitoring data For the offline recovery instruction of the corresponding terminal device of virtual machine unit 210.
Fig. 3 shows the offline recovery dress of the terminal device on a kind of test platform in accordance with another embodiment of the present invention The offline recovery device 300 of the schematic diagram set, the terminal device on the test platform includes: multiple virtual machine units 310, deployment In the monitoring unit 320 and communication unit 330 of terminal device.
Virtual machine unit 310 is identical as 210 function of virtual machine unit shown in Fig. 2, and details are not described herein.
Monitoring unit 320, suitable for the connection status of terminal device where monitoring, when monitoring that the terminal device is in offline When state, the Android debugging bridge process operated on the terminal device is restarted.
Communication unit 330 monitoring data and is sent to central server suitable for obtaining from each virtual machine unit 310, and The offline recovery instruction that central server generates is transmitted to corresponding virtual machine unit 310;From corresponding virtual machine unit 310 Obtaining the offline recovery instructs corresponding implementing result to feed back to central server.
On this basis, communication unit 330 are further adapted for the task-performance instructions that reception central server issues and turn It is dealt into corresponding virtual machine unit 310.
Each virtual machine unit 310, executes on corresponding terminal device suitable for being executed instruction according to received task Corresponding task.
Wherein, the task-performance instructions include one of following or a variety of: the application journey comprising Android installation kit APK Sequence installation instruction;Application program installation instruction comprising APK download address;Restart the instruction of terminal device;Discharging terminal equipment On application program instruction;Clear up the instruction of the memory of terminal device;Refresh the instruction of the plan of terminal device;Cleaning is eventually The instruction of the external memory space of end equipment;Clear up the instruction etc. of journal file caused by the designated program on terminal device.
It should be noted that each embodiment pair of method shown in each embodiment of Fig. 2 to Fig. 3 shown device and figure 1 above It answers identical, has been described in detail above, details are not described herein.
Fig. 4 shows the offline recovery system of the terminal device on a kind of test platform according to an embodiment of the invention Schematic diagram, as shown in figure 4, the offline recovery system 400 of the terminal device on the test platform includes: central server 420 With the offline recovery device 410 of the terminal device on one or more test platforms, terminal device on the test platform from Line recovery device 410 is identical as the offline recovery device 200/300 of terminal device on described in any item test platforms as above, Details are not described herein.
The offline recovery device 410 of terminal device on test platform, suitable for sending central server for monitoring data.
Central server 420, suitable for being shown and analyze to monitoring data, generate for terminal device from The offline recovery device 410 of line recovery instruction and the terminal device being handed down on test platform.
The offline recovery device 410 of terminal device on test platform is further adapted for according to the offline recovery received Instruction restores the connection status of counterpart terminal equipment.
In one embodiment of the invention, central server 420 are further adapted for reception and set with what is issued for terminal Standby offline recovery instructs corresponding implementing result, passes through preset alarm channel when implementing result indicates offline recovery failure Alert illustrates that position, IP address and the model of the terminal device of task execution failure, fast and easy search out the end End equipment is handled.
In one embodiment of the invention, the central server 420, is further adapted for the terminal on test platform The offline recovery device 410 of equipment issues task-performance instructions.
Wherein, the task-performance instructions include one of following or a variety of: the application journey comprising Android installation kit APK Sequence installation instruction;Application program installation instruction comprising APK download address;Restart the instruction of terminal device;Discharging terminal equipment On application program instruction;Clear up the instruction of the memory of terminal device;Refresh the instruction of the plan of terminal device;Cleaning is eventually The instruction of the external memory space of end equipment;Clear up the instruction of journal file caused by the designated program on terminal device.
On this basis, the central server 420 is further adapted for receiving corresponding with the task-performance instructions issued Task action result passes through preset alarm channel alert when task action result indicates task execution failure.
Fig. 5 shows the offline restorer of the terminal device on a kind of test platform in accordance with another embodiment of the present invention The schematic diagram of system, as shown in figure 5, the offline recovery system 500 of the terminal device on the test platform includes: central server 520, the offline recovery device 510 and deployment machine 530 of the terminal device on one or more test platforms.
End on the offline recovery device 510 of terminal device on test platform and described in any item test platforms as above The offline recovery device 200/300 of end equipment is identical, and details are not described herein.
Deployment machine 530, is suitable for Telnet described device 510, and the offline recovery of the terminal device on test platform fills It sets and disposes a multiple virtual machine units on 510 and start, and the offline recovery device of the terminal device on test platform Preset Telescript is disposed on 510 and is started.
In conclusion the present invention is appointed by disposing multiple virtual machines, creation virtual machine in PC machine with for completing test Connection between the terminal device of business and snapshot is connected accordingly, when monitoring that offline situation occurs in terminal device, virtually Restore the corresponding connection snapshot of the terminal device according to the offline recovery instruction generated, may be implemented to offline on test platform The connection status of terminal device is restored;And dispose monitoring programme on the terminal device, when monitor the terminal device be in from When linear state, restarts the Android debugging bridge process operated on the terminal device, restore the connection status of terminal device.The program Have it is following the utility model has the advantages that 1, create virtual machine and terminal device connection snapshot, restore the connection snapshot mode be equivalent to by USB device does primary connection again, can reach and plug similar recovery effects firmly, revert to power offline to terminal device It is high;2, monitoring programme will be disposed in the way of recovery connection snapshot and on tested terminal device restart Android debugging bridge process Mode combine, and implementing result feedback element and alert program are set, ensure that test platform restores terminal device connection Timeliness and reliability;3, restore the company of tested terminal device by way of restarting Android and debugging bridge and recovery connection snapshot State is connect, high degree of automation does not need human intervention, eliminates the work of staff to on-site supervision and processing, saves Manpower.
Technical solution provided by the invention is common by simulation using the multiple monitoring nodes for being distributed in diverse geographic location Netizen's behavior accesses appointed website system, then obtains the performance point of appointed website system by the access result data that analysis returns Analysis is as a result, realize the scheme of monitoring website system performance.This programme passes through mostly access of the monitoring node to appointed website system Situation reflects common netizen and experiences for the access of the web station system, can find that each monitoring node is specified in access in real time Abnormal conditions when web station system, and then user (manager of web station system) can timely and effectively be helped to analyze the website system The performance issue that the system node different in the whole nation faces when accessing assists user to improve the access experience of the web station system.
It should be understood that
Algorithm and display be not inherently related to any certain computer, virtual bench or other equipment provided herein. Various fexible units can also be used together with teachings based herein.As described above, it constructs required by this kind of device Structure be obvious.In addition, the present invention is also not directed to any particular programming language.It should be understood that can use various Programming language realizes summary of the invention described herein, and the description done above to language-specific is to disclose this hair Bright preferred forms.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects, Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, as following Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore, Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself All as a separate embodiment of the present invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the invention Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed Meaning one of can in any combination mode come using.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processors Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice Microprocessor or digital signal processor (DSP) realize that the terminal on a kind of test platform according to an embodiment of the present invention is set The some or all functions of some or all components in standby offline recovery device and system and system.The present invention may be used also To be embodied as some or all device or device programs for executing method as described herein (for example, calculating Machine program and computer program product).It is such to realize that program of the invention can store on a computer-readable medium, or It may be in the form of one or more signals.Such signal can be downloaded from an internet website to obtain, or carry It provides, or is provided in any other form on body signal.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch To embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fame Claim.
The invention discloses a kind of offline restoration methods of the terminal device on A1, test platform, wherein this method packet It includes:
Multiple virtual machines are disposed in PC machine, dispose each virtual machine and the one or more for completing test assignment is whole End equipment establishes connection, creates corresponding connection snapshot;
Virtual machine is monitored the connection status of connected one or more terminal devices, obtains corresponding monitoring number According to;
The offline recovery that virtual machine obtains the terminal device being connected for itself generated according to monitoring data instructs, foundation The offline recovery instruction restores the corresponding connection snapshot of the terminal device.
A2, method as described in a1, wherein this method further comprises:
Monitoring programme is disposed on each terminal device;
The connection status of terminal device where monitoring programme monitoring, when monitoring that the terminal device is in off-line state When, restart the Android debugging bridge process operated on the terminal device.
A3, method as described in a1 or a2, wherein virtual machine, which is obtained, is directed to what itself was connected according to what monitoring data generated The offline recovery of terminal device instructs
Virtual machine analyzes monitoring data, determines that itself connected terminal device is in offline shape based on the analysis results State generates the offline recovery instruction for the terminal device being connected for itself.
A4, method as described in a1 or a2, wherein virtual machine, which is obtained, is directed to what itself was connected according to what monitoring data generated The offline recovery of terminal device instructs
Monitoring data is uploaded to central server by virtual machine;
Virtual machine receive central server according to monitoring data generates be directed to the corresponding terminal device of the virtual machine from Line restores instruction.
A5, the method as described in A4, wherein this method further comprises:
Telescript is disposed in the PC machine;
The Telescript obtains monitoring data from each virtual machine in the PC machine and is sent to central server, and The offline recovery instruction that central server generates is transmitted to corresponding virtual machine;
The Telescript obtains during the corresponding implementing result of offline the recoverys instruction feeds back to from corresponding virtual machine Central server.
A6, method as described in a5, wherein this method further comprises:
The Telescript receives the task-performance instructions that central server issues and is forwarded to corresponding virtual machine;
Virtual machine executes instruction according to received task and executes corresponding task on corresponding terminal device;
Wherein, the task-performance instructions include one of following or a variety of;
Application program installation instruction comprising Android installation kit APK;
Application program installation instruction comprising APK download address;
Restart the instruction of terminal device;
The instruction of application program in discharging terminal equipment;
Clear up the instruction of the memory of terminal device;
Refresh the instruction of the plan of terminal device;
Clear up the instruction of the external memory space of terminal device;
Clear up the instruction of journal file caused by the designated program on terminal device.
The invention also discloses a kind of offline recovery devices of the terminal device on B7, test platform, wherein the device packet It includes: multiple virtual machine units;
Each virtual machine unit is created suitable for establishing connection with one or more terminal devices for completing test assignment Build corresponding connection snapshot;The connection status of connected one or more terminal devices is monitored, corresponding monitoring is obtained Data;The offline recovery for obtaining the terminal device being connected for itself generated according to monitoring data instructs, offline extensive according to this Multiple instruction restores the corresponding connection snapshot of the terminal device.
B8, device as described in b7, wherein the device further comprises: it is deployed in the monitoring unit of terminal device;
Monitoring unit, suitable for the connection status of terminal device where monitoring, when monitoring that the terminal device is in offline shape When state, the Android debugging bridge process operated on the terminal device is restarted.
B9, device as described in b7 or b8, wherein
Each virtual machine unit determines itself connected terminal suitable for analyzing monitoring data based on the analysis results Equipment is in off-line state, generates the offline recovery instruction for the terminal device being connected for itself.
B10, device as described in b7 or b8, wherein
Each virtual machine unit, suitable for monitoring data is uploaded to central server;Central server is received according to monitoring The offline recovery for the corresponding terminal device of virtual machine unit that data generate instructs.
B11, the device as described in B10, wherein the device further comprises:
Communication unit, suitable for obtaining monitoring data from each virtual machine unit and be sent to central server, and by center The offline recovery instruction that server generates is transmitted to corresponding virtual machine unit;It is obtained from corresponding virtual machine unit described offline Restore that corresponding implementing result is instructed to feed back to central server.
B12, device as described in b11, wherein
The communication unit is further adapted for the task-performance instructions that reception central server issues and is forwarded to corresponding Virtual machine unit;
Each virtual machine unit executes accordingly on corresponding terminal device suitable for being executed instruction according to received task Task;
Wherein, the task-performance instructions include one of following or a variety of;
Application program installation instruction comprising Android installation kit APK;
Application program installation instruction comprising APK download address;
Restart the instruction of terminal device;
The instruction of application program in discharging terminal equipment;
Clear up the instruction of the memory of terminal device;
Refresh the instruction of the plan of terminal device;
Clear up the instruction of the external memory space of terminal device;
Clear up the instruction of journal file caused by the designated program on terminal device.
The invention also discloses a kind of offline recovery systems of the terminal device on C13, test platform, wherein the system It include: the offline extensive of the terminal device of central server and one or more on the test platform as described in any one of B7-B12 Apparatus for coating;
Described device, suitable for sending central server for monitoring data;
The central server is generated suitable for being shown and analyzing to monitoring data for terminal device It is offline to restore to instruct and be handed down to described device;
Described device is further adapted for according to the offline connection shape for restoring instruction and restoring counterpart terminal equipment received State.
C14, the system as described in C13, wherein
The central server is further adapted for receiving corresponding for the offline recovery instruction of terminal device with what is issued Implementing result passes through preset alarm channel alert when implementing result indicates offline recovery failure.
C15, the system as described in C13, wherein the central server is further adapted for issuing task to described device It executes instruction;
Wherein, the task-performance instructions include one of following or a variety of;
Application program installation instruction comprising Android installation kit APK;
Application program installation instruction comprising APK download address;
Restart the instruction of terminal device;
The instruction of application program in discharging terminal equipment;
Clear up the instruction of the memory of terminal device;
Refresh the instruction of the plan of terminal device;
Clear up the instruction of the external memory space of terminal device;
Clear up the instruction of journal file caused by the designated program on terminal device.
C16, the system as described in C15, wherein the central server is further adapted for receiving and hold with issuing for task Row instructs corresponding task action result, is sent out when task action result indicates task execution failure by preset alarm channel Warning message out.
C17, the system as described in C13, wherein the system further comprises:
Deployment machine is suitable for Telnet described device, disposes one or more virtual machine units on such devices and opens It is dynamic, and dispose preset Telescript on such devices and start.

Claims (17)

1. a kind of offline restoration methods of the terminal device on test platform, wherein this method comprises:
Multiple virtual machines are disposed in PC machine, are disposed each virtual machine and are set with one or more terminals for completing test assignment It is standby to establish connection, create corresponding connection snapshot;
Virtual machine is monitored the connection status of connected one or more terminal devices, obtains corresponding monitoring data;
Virtual machine obtain according to monitoring data generates for itself be connected terminal device offline recoverys instruction, foundation be somebody's turn to do from Line restores instruction and restores the corresponding connection snapshot of the terminal device, to realize the connection shape of terminal device offline on test platform State is restored.
2. the method for claim 1, wherein this method further comprises:
Monitoring programme is disposed on each terminal device;
The connection status of terminal device where the monitoring programme monitoring, when monitoring that the terminal device is in off-line state, Restart the Android debugging bridge process operated on the terminal device.
3. method according to claim 1 or 2, wherein virtual machine, which is obtained, to be connected according to what monitoring data generated for itself Terminal device offline recovery instruction include:
Virtual machine analyzes monitoring data, determines that itself connected terminal device is in off-line state based on the analysis results, Generate the offline recovery instruction for the terminal device being connected for itself.
4. method according to claim 1 or 2, wherein virtual machine, which is obtained, to be connected according to what monitoring data generated for itself Terminal device offline recovery instruction include:
Monitoring data is uploaded to central server by virtual machine;
Virtual machine receives central server and is directed to the offline extensive of the corresponding terminal device of the virtual machine according to what monitoring data generated Multiple instruction.
5. method as claimed in claim 4, wherein this method further comprises:
Telescript is disposed in the PC machine;
The Telescript obtains monitoring data from each virtual machine in the PC machine and is sent to central server, and will in The offline recovery instruction that central server generates is transmitted to corresponding virtual machine;
The Telescript from corresponding virtual machine obtain the corresponding implementing result of offline the recoverys instruction feed back in it is genuinely convinced Business device.
6. method as claimed in claim 5, wherein this method further comprises:
The Telescript receives the task-performance instructions that central server issues and is forwarded to corresponding virtual machine;
Virtual machine executes instruction according to received task and executes corresponding task on corresponding terminal device;
Wherein, the task-performance instructions include one of following or a variety of;
Application program installation instruction comprising Android installation kit APK;
Application program installation instruction comprising APK download address;
Restart the instruction of terminal device;
The instruction of application program in discharging terminal equipment;
Clear up the instruction of the memory of terminal device;
Refresh the instruction of the plan of terminal device;
Clear up the instruction of the external memory space of terminal device;
Clear up the instruction of journal file caused by the designated program on terminal device.
7. a kind of offline recovery device of the terminal device on test platform, wherein the device includes: multiple virtual machine units;
Each virtual machine unit, suitable for establishing connection, creation pair with one or more terminal devices for completing test assignment The connection snapshot answered;The connection status of connected one or more terminal devices is monitored, corresponding monitoring data is obtained; The offline recovery for obtaining the terminal device being connected for itself generated according to monitoring data instructs, and instructs according to the offline recovery Restore the corresponding connection snapshot of the terminal device, to realize that the connection status of terminal device offline on test platform is restored.
8. device as claimed in claim 7, wherein the device further comprises: being deployed in the monitoring unit of terminal device;
Monitoring unit, suitable for the connection status of terminal device where monitoring, when monitoring that the terminal device is in off-line state, Restart the Android debugging bridge process operated on the terminal device.
9. device as claimed in claim 7 or 8, wherein
Each virtual machine unit determines itself connected terminal device suitable for analyzing monitoring data based on the analysis results In off-line state, the offline recovery instruction for the terminal device being connected for itself is generated.
10. device as claimed in claim 7 or 8, wherein
Each virtual machine unit, suitable for monitoring data is uploaded to central server;Central server is received according to monitoring data The offline recovery for the corresponding terminal device of virtual machine unit generated instructs.
11. device as claimed in claim 10, wherein the device further comprises:
Communication unit, suitable for obtaining monitoring data from each virtual machine unit and be sent to central server, and by center service The offline recovery instruction that device generates is transmitted to corresponding virtual machine unit;The offline recovery is obtained from corresponding virtual machine unit Corresponding implementing result is instructed to feed back to central server.
12. device as claimed in claim 11, wherein
The communication unit is further adapted for the task-performance instructions that reception central server issues and is forwarded to corresponding virtual Machine unit;
Each virtual machine unit executes corresponding appoint suitable for executing instruction according to received task on corresponding terminal device Business;
Wherein, the task-performance instructions include one of following or a variety of;
Application program installation instruction comprising Android installation kit APK;
Application program installation instruction comprising APK download address;
Restart the instruction of terminal device;
The instruction of application program in discharging terminal equipment;
Clear up the instruction of the memory of terminal device;
Refresh the instruction of the plan of terminal device;
Clear up the instruction of the external memory space of terminal device;
Clear up the instruction of journal file caused by the designated program on terminal device.
13. a kind of offline recovery system of the terminal device on test platform, wherein the system includes: central server and one The offline recovery device of terminal device on a or multiple test platforms as described in any one of claim 7-12;
Described device, suitable for sending central server for monitoring data;
The central server is generated suitable for being shown and analyzing to monitoring data for the offline of terminal device Restore to instruct and is handed down to described device;
Described device is further adapted for according to the offline connection status restored instruction and restore counterpart terminal equipment received.
14. system as claimed in claim 13, wherein
The central server, is further adapted for receiving and is directed to the corresponding execution of the offline recovery instruction of terminal device with what is issued As a result, passing through preset alarm channel alert when implementing result indicates offline recovery failure.
15. system as claimed in claim 13, wherein the central server is further adapted on the test platform The offline recovery device of terminal device issue task-performance instructions;
Wherein, the task-performance instructions include one of following or a variety of;
Application program installation instruction comprising Android installation kit APK;
Application program installation instruction comprising APK download address;
Restart the instruction of terminal device;
The instruction of application program in discharging terminal equipment;
Clear up the instruction of the memory of terminal device;
Refresh the instruction of the plan of terminal device;
Clear up the instruction of the external memory space of terminal device;
Clear up the instruction of journal file caused by the designated program on terminal device.
16. system as claimed in claim 15, wherein the central server is further adapted for receiving with issuing for task Corresponding task action result is executed instruction, passes through preset alarm channel when task action result indicates task execution failure Alert.
17. system as claimed in claim 13, wherein the system further comprises:
Deployment machine, suitable for the offline recovery device of the terminal device on test platform described in Telnet, in the test platform On terminal device offline recovery device on dispose one or more virtual machine units and start, and in the test platform On terminal device offline recovery device on dispose preset Telescript and start.
CN201510641131.2A 2015-09-30 2015-09-30 Offline restoration methods, the device and system of a kind of terminal device on test platform Active CN105357030B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510641131.2A CN105357030B (en) 2015-09-30 2015-09-30 Offline restoration methods, the device and system of a kind of terminal device on test platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510641131.2A CN105357030B (en) 2015-09-30 2015-09-30 Offline restoration methods, the device and system of a kind of terminal device on test platform

Publications (2)

Publication Number Publication Date
CN105357030A CN105357030A (en) 2016-02-24
CN105357030B true CN105357030B (en) 2019-02-22

Family

ID=55332907

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510641131.2A Active CN105357030B (en) 2015-09-30 2015-09-30 Offline restoration methods, the device and system of a kind of terminal device on test platform

Country Status (1)

Country Link
CN (1) CN105357030B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108092839B (en) * 2016-11-23 2020-08-14 杭州海康威视数字技术股份有限公司 Method and device for establishing network connection
CN107272031A (en) * 2017-06-02 2017-10-20 广东侍卫长卫星应用安全股份公司 Remote monitoring system and its line off instruction processing method based on BDS/GPS
CN111382048B (en) * 2018-12-28 2023-10-20 三六零科技集团有限公司 Management method and device for mobile equipment on true machine test platform
CN113971059A (en) * 2020-07-22 2022-01-25 北京奇虎科技有限公司 Method, device, equipment and storage medium for recovering equipment connection state
CN113918397A (en) * 2021-10-28 2022-01-11 浪潮(山东)计算机科技有限公司 Pressure testing method, device, equipment and storage medium
CN114968456B (en) * 2022-05-07 2024-03-08 麒麟合盛网络技术股份有限公司 Method and device for controlling terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101754187A (en) * 2009-12-30 2010-06-23 中兴通讯股份有限公司 Management method for connection setting and terminal thereof
CN101986280A (en) * 2010-11-29 2011-03-16 浙江大学 Automatic testing platform for virtual computing system
CN101996107A (en) * 2009-08-31 2011-03-30 中国工商银行股份有限公司 Operation interruption automatic recovering system and method
CN103049383A (en) * 2012-12-31 2013-04-17 博彦科技(上海)有限公司 Development and testing cloud system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9009532B2 (en) * 2011-03-15 2015-04-14 Hyundai Motor Company Communication test apparatus and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101996107A (en) * 2009-08-31 2011-03-30 中国工商银行股份有限公司 Operation interruption automatic recovering system and method
CN101754187A (en) * 2009-12-30 2010-06-23 中兴通讯股份有限公司 Management method for connection setting and terminal thereof
CN101986280A (en) * 2010-11-29 2011-03-16 浙江大学 Automatic testing platform for virtual computing system
CN103049383A (en) * 2012-12-31 2013-04-17 博彦科技(上海)有限公司 Development and testing cloud system

Also Published As

Publication number Publication date
CN105357030A (en) 2016-02-24

Similar Documents

Publication Publication Date Title
CN105357030B (en) Offline restoration methods, the device and system of a kind of terminal device on test platform
CN105243016B (en) The methods, devices and systems being monitored to the terminal device on test platform
Voyiatzis et al. A modbus/tcp fuzzer for testing internetworked industrial systems
CN103051496B (en) The monitoring method of a kind of monitoring point server and device
CN105868109B (en) A kind of improved mobile terminal application testing method and system
CN103812726A (en) Automated testing method and device for data communication equipment
CN106484611B (en) Fuzzy test method and device based on automatic protocol adaptation
CN111382048B (en) Management method and device for mobile equipment on true machine test platform
WO2019173100A1 (en) Automated application testing system
CN105095046B (en) The method and device of Mission Monitor
WO2018006702A1 (en) Abnormality processing method, apparatus and system in automation test
CN107807545B (en) Debugging method and device for remote control end
CN105468490A (en) Server performance automatic test method and system and device
CN110825985B (en) Data acquisition system, method, device, control equipment and proxy equipment
CN103731663B (en) The testing method of a kind of intelligent television and device
CN110781089B (en) Method and device for automatically testing UI of equipment, electronic equipment and medium
CN109543417B (en) Vulnerability mining method and device based on Qemu platform
CN111258913A (en) Automatic algorithm testing method and device, computer system and readable storage medium
CN113110864A (en) Application program updating method and device and storage medium
CN104125504A (en) Deployment method, device and system based on continuous integration
CN111554219A (en) Display equipment testing method and device, electronic product and storage medium
CN108241545B (en) Debugging method and device for system fault
CN106817265A (en) A kind of application performance monitoring method and device
CN110413437B (en) Network namespace exception handling method, device and equipment and readable storage medium
CN105808422A (en) Network-based software test method, client and to-be-tested equipment

Legal Events

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

Effective date of registration: 20220706

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.

TR01 Transfer of patent right