CN108491483A - A kind of method and apparatus of remote supervisor operating status - Google Patents

A kind of method and apparatus of remote supervisor operating status Download PDF

Info

Publication number
CN108491483A
CN108491483A CN201810201542.3A CN201810201542A CN108491483A CN 108491483 A CN108491483 A CN 108491483A CN 201810201542 A CN201810201542 A CN 201810201542A CN 108491483 A CN108491483 A CN 108491483A
Authority
CN
China
Prior art keywords
script file
daily record
terminal
information
monitoring
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810201542.3A
Other languages
Chinese (zh)
Other versions
CN108491483B (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
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 filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201810201542.3A priority Critical patent/CN108491483B/en
Publication of CN108491483A publication Critical patent/CN108491483A/en
Application granted granted Critical
Publication of CN108491483B publication Critical patent/CN108491483B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3089Monitoring arrangements determined by the means or processing involved in sensing the monitored data, e.g. interfaces, connectors, sensors, probes, agents

Abstract

The present invention provides a kind of method and apparatus of remote supervisor operating status, and by obtaining monitoring script file, the monitoring script file is used to obtain the access rights of the user journal information in the second terminal;It obtains and takes out daily record script file, the daily record script file that takes out is used to take out the user journal information in the second terminal;Obtain daily record process-kill script file;It obtains daily record and uploads script file automatically;The monitoring script file, the taking-up daily record script file, the daily record process-kill script file, the daily record are uploaded script file and be sent to the second terminal automatically.It is inconvenient to solve operation personnel's remote supervisor operating status in the prior art, it is not easy to detect user mobile phone, the technical issues of user experience reduces, during realizing remote contact Android phone user, daily record on automatable acquisition user mobile phone, it is user-friendly, improve the technique effect of working efficiency.

Description

A kind of method and apparatus of remote supervisor operating status
Technical field
The present invention relates to technical field of communication equipment more particularly to a kind of methods and dress of remote supervisor operating status It sets.
Background technology
Android phone user can record some daily records during operating handset, to go wrong in system When, it can be with auxiliary program person's positioning system internal error.
But present inventor has found above-mentioned technology extremely during inventive technique scheme in realizing the embodiment of the present application It has the following technical problems less:
Operation personnel's remote supervisor operating status in the prior art is inconvenient, is not easy to detect user mobile phone, User experience reduces, while the waste of manpower time.
Invention content
An embodiment of the present invention provides a kind of method and apparatus of remote supervisor operating status, solve in the prior art Operation personnel's remote supervisor operating status is inconvenient, is not easy to detect user mobile phone, and user experience reduces, while wave The technical issues of taking human time, during realizing remote contact Android phone user, automatable acquisition user Daily record on mobile phone, it is user-friendly, improve the technique effect of working efficiency.
In view of the above problems, it is proposed that the embodiment of the present application is in order to provide a kind of method of remote supervisor operating status And device.
In a first aspect, the present invention provides a kind of method of remote supervisor operating status, it is applied to first terminal, In, remote control between the first terminal and second terminal, and, include user journal information, institute in the second terminal The method of stating includes:
Monitoring script file is obtained, the monitoring script file is used to obtain the user journal information in the second terminal Access rights;It obtains and takes out daily record script file, the taking-up daily record script file is for taking out in the second terminal User journal information;Daily record process-kill script file is obtained, the daily record process-kill script file is for deleting described the The progress information in user journal information in two terminals;It obtains daily record and uploads script file automatically, the daily record uploads automatically Script file is used to the user journal information of deletion process information being uploaded to third terminal, wherein the third terminal is different In the second terminal;By the monitoring script file, the taking-up daily record script file, daily record process-kill script text Part, the daily record upload script file and are sent to the second terminal automatically, and, the first terminal passes through monitoring described above Script file, the taking-up daily record script file, the daily record process-kill script file, the daily record upload script text automatically Part remotely obtains the user journal information of the second terminal.
Preferably, the method further includes:
Bridge tool will be called to be sent to the second terminal.
Preferably, the method further includes:
By the monitoring script file, the taking-up daily record script file, the daily record process-kill script file, described Daily record uploads script file automatically, the calling bridge tool is sent to the second terminal after being packaged.
Preferably, the method further includes:
It obtains daily record and generates closing script file, the daily record, which generates, closes script file for the big of monitoring journal file Small, when journal file is more than predetermined threshold, the daily record, which generates, closes script file stopping from second terminal taking-up institute State user journal information.
Second aspect, the present invention provides the methods of another remote supervisor operating status, are applied to second terminal, Wherein, remote control between the second terminal and first terminal, and, include user journal information in the second terminal, The method includes:
Monitoring script file is obtained, the monitoring script file obtains the visit of the user journal information in the second terminal Ask permission;It obtains and takes out daily record script file, the taking-up daily record script file takes out the user journal in the second terminal Information;Daily record process-kill script file is obtained, the daily record process-kill script file deletes the use in the second terminal Progress information in the log information of family;It obtains daily record and uploads script file automatically, the daily record uploads script file and will delete automatically Except the user journal information of progress information is uploaded to third terminal, wherein the third terminal is different from the second terminal.
Preferably, before obtaining monitoring script file, the method further includes:
It obtains and calls bridge tool;The monitoring script file is transferred according to the calling bridge tool.
Preferably, the method further includes:
Obtain compressed package, the compressed package includes the monitoring script file, the taking-up daily record script file, described Daily record process-kill script file, the daily record upload script file, the calling bridge tool automatically.
Preferably, the method further includes:
It obtains daily record and generates closing script file, the daily record, which generates, closes script file for the big of monitoring journal file Small, when journal file is more than predetermined threshold, the daily record, which generates, closes script file stopping from second terminal taking-up institute State user journal information.
The third aspect, the present invention provides a kind of device of remote supervisor operating status, described device includes:
First obtains unit, the first obtains unit are used for obtaining monitoring script file, the monitoring script file In the access rights for obtaining the user journal information in the second terminal;
Second obtaining unit, second obtaining unit take out daily record script file, the taking-up daily record foot for obtaining This document is used to take out the user journal information in the second terminal;
Third obtaining unit, the third obtaining unit for obtaining daily record process-kill script file, the daily record into Journey deletes script file and is used to delete the progress information in the user journal information in the second terminal;
4th obtaining unit, the 4th obtaining unit upload script file automatically for obtaining daily record, and the daily record is certainly The dynamic script file that uploads is used to the user journal information of deletion process information being uploaded to third terminal, wherein the third is whole End is different from the second terminal;
5th obtaining unit, the 5th obtaining unit are used for the monitoring script file, the taking-up daily record script File, the daily record process-kill script file, the daily record upload script file and are sent to the second terminal automatically, and, The first terminal passes through monitoring script file described above, the taking-up daily record script file, the daily record process-kill foot This document, the daily record upload the user journal information that script file remotely obtains the second terminal automatically.
Preferably, described device further includes:
First transmission unit, first transmission unit will be for that will call bridge tool to be sent to the second terminal.
Preferably, described device further includes:
Second transmission unit, second transmission unit are used for the monitoring script file, the taking-up daily record script File, the daily record process-kill script file, the daily record uploads script file automatically, the calling bridge tool is sent out after being packaged Give the second terminal.
Preferably, described device further includes:
First execution unit, first execution unit generate closing script file, the daily record life for obtaining daily record At size of the script file for monitoring journal file is closed, when journal file is more than predetermined threshold, the daily record, which generates, closes Script file is closed to stop taking out the user journal information from the second terminal.
Fourth aspect, the present invention provides a kind of devices of remote supervisor operating status, including memory, processor And storage is on a memory and the computer program that can run on a processor, when the processor executes described program realization with Lower step:Monitoring script file is obtained, the monitoring script file is used to obtain the user journal information in the second terminal Access rights;It obtains and takes out daily record script file, the taking-up daily record script file is for taking out in the second terminal User journal information;Daily record process-kill script file is obtained, the daily record process-kill script file is for deleting described the The progress information in user journal information in two terminals;It obtains daily record and uploads script file automatically, the daily record uploads automatically Script file is used to the user journal information of deletion process information being uploaded to third terminal, wherein the third terminal is different In the second terminal;By the monitoring script file, the taking-up daily record script file, daily record process-kill script text Part, the daily record upload script file and are sent to the second terminal automatically, and, the first terminal passes through monitoring described above Script file, the taking-up daily record script file, the daily record process-kill script file, the daily record upload script text automatically Part remotely obtains the user journal information of the second terminal.
5th aspect, the present invention provides the device of another remote supervisor operating status, described device includes:
6th obtaining unit, for obtaining monitoring script file, the monitoring script file obtains the 6th obtaining unit Obtain the access rights of the user journal information in the second terminal;
7th obtaining unit, the 7th obtaining unit take out daily record script file, the taking-up daily record foot for obtaining This document takes out the user journal information in the second terminal;
8th obtaining unit, the 8th obtaining unit for obtaining daily record process-kill script file, the daily record into Journey deletes script file and deletes the progress information in the user journal information in the second terminal;
9th obtaining unit, the 9th obtaining unit upload script file automatically for obtaining daily record, and the daily record is certainly The user journal information of deletion process information is uploaded to third terminal by the dynamic script file that uploads, wherein the third terminal is not It is same as the second terminal.
Preferably, before obtaining monitoring script file, described device further includes:
Tenth obtaining unit, the tenth obtaining unit call bridge tool for obtaining;
First transfers unit, and described first transfers unit for transferring the monitoring script text according to the calling bridge tool Part.
Preferably, described device further includes:
11st obtaining unit, the 11st obtaining unit include described for obtaining compressed package, the compressed package Monitoring script file, the taking-up daily record script file, the daily record process-kill script file, the daily record upload foot automatically This document, the calling bridge tool.
Preferably, described device further includes:
Second execution unit, second execution unit generate closing script file, the daily record life for obtaining daily record At size of the script file for monitoring journal file is closed, when journal file is more than predetermined threshold, the daily record, which generates, closes Script file is closed to stop taking out the user journal information from the second terminal.
6th aspect, the present invention provides the devices of another remote supervisor operating status, including memory, processing On a memory and the computer program that can run on a processor, when processor execution described program, is realized for device and storage Following steps:Monitoring script file is obtained, the monitoring script file obtains the user journal information in the second terminal Access rights;It obtains and takes out daily record script file, the taking-up daily record script file takes out the user in the second terminal day Will information;Daily record process-kill script file is obtained, the daily record process-kill script file is deleted in the second terminal Progress information in user journal information;It obtains daily record and uploads script file automatically, the daily record uploads script file automatically will The user journal information of deletion process information is uploaded to third terminal, wherein the third terminal is different from the second terminal.
Said one in the embodiment of the present application or multiple technical solutions at least have following one or more technology effects Fruit:
1. the method and apparatus of a kind of remote supervisor operating status provided by the embodiments of the present application, by being monitored Script file, the monitoring script file are used to obtain the access rights of the user journal information in the second terminal;It obtains Daily record script file is taken out, the daily record script file that takes out is used to take out the user journal information in the second terminal;It obtains Daily record process-kill script file is obtained, the daily record process-kill script file is used to delete the user day in the second terminal Progress information in will information;It obtains daily record and uploads script file automatically, the daily record uploads script file for that will delete automatically Except the user journal information of progress information is uploaded to third terminal, wherein the third terminal is different from the second terminal;It will On the monitoring script file, the taking-up daily record script file, the daily record process-kill script file, the daily record are automatic It passes script file and is sent to the second terminal, and, the first terminal passes through monitoring script file described above, the taking-up Daily record script file, the daily record process-kill script file, the daily record upload script file and remotely obtain described automatically The user journal information of two terminals.It is inconvenient to solve operation personnel's remote supervisor operating status in the prior art, is not easy to User mobile phone is detected, user experience reduces, while the technical issues of the waste of manpower time, realizing remote contact During Android phone user, daily record on automatable acquisition user mobile phone is user-friendly, improves work effect The technique effect of rate.
2. the embodiment of the present application by by the monitoring script file, the taking-up daily record script file, the daily record into Journey deletes script file, the daily record uploads script file automatically, the calling bridge tool is sent to described second eventually after being packaged End.The technical issues of further solving operation personnel's inconvenience remote supervisor operating status.It, can be straight when contacting user It connects and the monitoring script file, taking-up daily record script file, daily record process-kill script file, daily record is uploaded into script text automatically Part is sent to user after calling bridge tool to be packaged, and user can directly operate, and improves working efficiency and user experience Sense.
Above description is only the general introduction of technical solution of the present invention, in order to better understand the technical means of the present invention, And 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, below the special specific implementation mode for lifting the present invention.
Description of the drawings
Fig. 1 is a kind of flow diagram of the method for remote supervisor operating status in the embodiment of the present invention;
Fig. 2 is the flow diagram of the method for another remote supervisor operating status in the embodiment of the present invention;
Fig. 3 is a kind of structural schematic diagram of the device of remote supervisor operating status in the embodiment of the present invention;
Fig. 4 is the structural schematic diagram of the device of another remote supervisor operating status in the embodiment of the present invention.
Specific implementation mode
An embodiment of the present invention provides a kind of method and apparatus of remote supervisor operating status, skills provided by the invention Art scheme general thought is as follows:Monitoring script file is obtained, the monitoring script file is for obtaining in the second terminal The access rights of user journal information;It obtains and takes out daily record script file, the taking-up daily record script file is described for taking out User journal information in second terminal;Daily record process-kill script file is obtained, the daily record process-kill script file is used The progress information in user journal information in the deletion second terminal;It obtains daily record and uploads script file automatically, it is described Daily record uploads script file for the user journal information of deletion process information to be uploaded to third terminal automatically, wherein described Third terminal is different from the second terminal;By the monitoring script file, the taking-up daily record script file, the daily record into Journey deletes script file, the daily record uploads script file and is sent to the second terminal automatically, and, the first terminal passes through Monitoring script file described above, the taking-up daily record script file, the daily record process-kill script file, the daily record from The dynamic user journal information for uploading script file and remotely obtaining the second terminal.Operation personnel in the prior art is solved remotely to supervise It is inconvenient to control running state of programs, is not easy to detect user mobile phone, user experience reduces, while the skill of waste of manpower time Art problem, during realizing remote contact Android phone user, daily record on automatable acquisition user mobile phone, side Just user's operation improves the technique effect of working efficiency.
Technical solution of the present invention is described in detail below by attached drawing and specific embodiment, it should be understood that the application Specific features in embodiment and embodiment are the detailed description to technical scheme, rather than to present techniques The restriction of scheme, in the absence of conflict, the technical characteristic in the embodiment of the present application and embodiment can be combined with each other.
Embodiment 1
Fig. 1 is a kind of flow diagram of the method for remote supervisor operating status in the embodiment of the present invention.Such as Fig. 1 institutes Show, is applied to first terminal, wherein remote control between the first terminal and second terminal, and, packet in the second terminal User's log information has been included, the method includes:
Step 110:Monitoring script file is obtained, the monitoring script file is used to obtain the user in the second terminal The access rights of log information.
Specifically, the first terminal obtains the monitoring script file, by the monitoring script file for obtaining Obtain the access rights of the user journal information in the second terminal.Wherein, user journal information is described in record user's operation Second terminal operation in hardware, software and system problem information, while can be to occur in monitoring system event.Pass through institute The access rights for the user journal information that first terminal obtains in the second terminal are stated, the second terminal is can get and operated All operation problems in journey.In the present embodiment, second terminal can be the terminal of Android operation system, specifically, The mobile phone or notebook of Android operation system can be equipped with.For example, operation personnel is in remote contact Android hands During machine user, the monitoring script file in the first terminal used by operation personnel obtains Android phone The access rights of user journal information, when operation personnel passes through the access rights of first terminal acquisition user journal information When, next step operation can be just carried out, and the only described first terminal has the access for obtaining Android phone user journal information The function of permission.The program that acquisition monitoring script file is write in the embodiment of the present invention is as follows:
adb kill-server
adb start-server
adb push logcat.jar/data/local/tmp
adb shell uiautomator runtest logcat.jar–nohup
Step 120:It obtains and takes out daily record script file, the taking-up daily record script file is for taking out the second terminal In user journal information.
Specifically, the first terminal, which obtains, takes out daily record script file, used by the taking-up daily record script file User journal information in the taking-up second terminal, and the desktop path of the second terminal is obtained, for storing daily record. The program that acquisition taking-up daily record script file is write in the embodiment of the present invention is as follows:
For/f " tokens=2, * " %%i in (' reg query " HKCU Software Microsoft Windows\CurrentVersion\Explorer\
Shell Folders "/v " Desktop " ') do Set a=%%j
Adb pull/data/local/tmp/logcat.txt%a%/logcat.txt
adb shell ps|findstr"uiautomator"
Step 130:Daily record process-kill script file is obtained, the daily record process-kill script file is described for deleting The progress information in user journal information in second terminal.
Specifically, the first terminal obtains daily record process-kill script file, operation personnel is by operating the day Will process-kill script file is used to delete the progress information in user journal information in the second terminal, avoid it is described into Journey information, which occupies memory, influences the speed of service of the second terminal.That is, being deleted by the daily record process-kill script file User uses the operation progress information (i.e. intermediate file) in user journal information in Android phone.In the embodiment of the present invention Under the daily record process-kill script file write:
Adb shell kill-9%1
Step 140:Obtain daily record and upload script file automatically, the daily record upload automatically script file for will delete into The user journal information of journey information is uploaded to third terminal, wherein the third terminal is different from the second terminal.
Specifically, the first terminal obtains daily record uploads script file automatically, foot is uploaded by the daily record automatically This document is used to the user journal information of deletion process information being uploaded to third terminal, wherein the third terminal is different from The second terminal, the third terminal can also be the second terminal, and the embodiment of the present invention does not limit.
Step 150:By the monitoring script file, the taking-up daily record script file, the daily record process-kill script File, the daily record upload script file and are sent to the second terminal automatically, and, the first terminal passes through prison described above Control script file, the taking-up daily record script file, the daily record process-kill script file, the daily record upload script automatically File remotely obtains the user journal information of the second terminal.
Further, the method further includes:Bridge tool will be called to be sent to the second terminal.
Further, the method further includes:By the monitoring script file, the taking-up daily record script file, described Described in daily record process-kill script file, the daily record upload script file automatically, the calling bridge tool is sent to after being packaged Second terminal.
Specifically, the first terminal passes through monitoring script file described above, the taking-up daily record script write File, the daily record process-kill script file, the daily record upload script file and remotely obtain the second terminal automatically The user journal information of (Android phone).The first terminal will call bridge tool to be sent to the second terminal.The fortune Battalion personnel are by the monitoring script file, the taking-up daily record script file, the daily record process-kill script file, the day Will uploads script file automatically, the calling bridge tool is sent to the second terminal after being packaged.Wherein, the calling bridge tool (adb) it is multiple use tool, management equipment and simulator state can be helped, the Anrdoid hands in the embodiment of the present invention The calling bridge tools selection adb tool sets (adb.exe, AdbWinApi.dll AdbWinUsbApi.dll) of machine.It is described When operation personnel contacts with user, directly by four script files of packing and bridge tool can be called to send a user, Yong Huke Directly to be operated, the inconvenience of operation personnel's remote supervisor operating status generation is avoided.
Further, the method further includes:It obtains daily record and generates closing script file, the daily record, which generates, closes script File is used for the size of monitoring journal file, and when journal file is more than predetermined threshold, the daily record, which generates, closes script file Stop taking out the user journal information from the second terminal.
Specifically, the first terminal, which obtains daily record, generates closing script file, the daily record, which generates, closes script text Part is mainly used as the size of monitoring journal file.When writing the daily record generation closing script file, journal file is set Predetermined threshold, when the journal file generated when Anrdoid mobile phones are run is more than predetermined threshold, the daily record, which generates, closes script File stops taking out the user journal information from the second terminal (Anrdoid mobile phones), can effectively prevent journal file It is excessive, avoid the memory headroom and the speed of service that influence Anrdoid mobile phones.
Embodiment 2
Fig. 2 is the flow diagram of the method for another remote supervisor operating status in the embodiment of the present invention.Such as Fig. 2 It is shown, it is applied to second terminal, wherein remote control between the second terminal and first terminal, and, in the second terminal Include user journal information, which is characterized in that the method includes:
Step 210:Monitoring script file is obtained, the monitoring script file obtains the user journal in the second terminal The access rights of information.
Specifically, the first terminal obtains the monitoring script file, institute is obtained by the monitoring script file State the access rights of the user journal information in second terminal.Wherein, log information is to record in the second terminal operation firmly The information of part, software and system problem, at the same can be to occur in monitoring system event.In the present embodiment, second terminal Can be the terminal of Android operation system, specifically, the mobile phone or notebook of Android operation system can be equipped with. For example, operation personnel is during remote contact Android phone user, described first used by operation personnel Monitoring script file in terminal obtains the access rights of Android phone user journal information, when operation personnel is described in When first terminal obtains the access rights of user journal information, next step operation, and the only described first terminal tool can be just carried out There is the function for the access rights for obtaining Android phone user journal information.Acquisition monitoring script is write in the embodiment of the present invention The program of file is as follows:
adb kill-server
adb start-server
adb push logcat.jar/data/local/tmp
adb shell uiautomator runtest logcat.jar–nohup
Step 220:It obtains and takes out daily record script file, the taking-up daily record script file takes out in the second terminal User journal information.
Specifically, the first terminal, which obtains, takes out daily record script file, taken by the taking-up daily record script file Go out the user journal information in the second terminal, and obtain the desktop path of the second terminal, for storing daily record.This hair The taking-up daily record script file write in bright embodiment is as follows:
For/f " tokens=2, * " %%i in (' reg query " HKCU Software Microsoft Windows\CurrentVersion\Explorer\
Shell Folders "/v " Desktop " ') do Set a=%%j
Adb pull/data/local/tmp/logcat.txt%a%/logcat.txt
adb shell ps|findstr"uiautomator"
Step 230:Daily record process-kill script file is obtained, the daily record process-kill script file deletes described second The progress information in user journal information in terminal.
Specifically, the first terminal obtains daily record process-kill script file, operation personnel is by operating the day Will process-kill script file deletes the progress information in the user journal information in the second terminal, and the process is avoided to believe Breath, which occupies memory, influences the speed of service of the second terminal.That is, deleting user by the daily record process-kill script file Use the operation progress information (i.e. intermediate file) in user journal information in Android phone.It is write in the embodiment of the present invention Daily record process-kill script file under:
Adb shell kill-9%1
Step 240:It obtains daily record and uploads script file automatically, the daily record uploads script file and believes deletion process automatically The user journal information of breath is uploaded to third terminal, wherein the third terminal is different from the second terminal.
Specifically, the first terminal obtains daily record uploads script file automatically, foot is uploaded by the daily record automatically The user journal information of deletion process information is uploaded to third terminal by this document, wherein the third terminal is different from described Second terminal, the third terminal can also be the second terminal, and the embodiment of the present invention does not do second terminal, third terminal It limits.
Further, before obtaining monitoring script file, the method further includes:It obtains and calls bridge tool;According to institute It states and bridge tool is called to transfer the monitoring script file.
Further, the method further includes:Obtain compressed package, the compressed package include the monitoring script file, The taking-up daily record script file, the daily record process-kill script file, the daily record upload script file, the tune automatically With bridge tool.
Specifically, before obtaining monitoring script file, the first terminal will call bridge tool to be sent to described the Two terminals, the second terminal, which obtains, to be called bridge tool and transfers the monitoring script file according to the calling bridge tool.Its In, the calling bridge tool (adb) is multiple use tool, and management equipment and simulator state, the present invention can be helped real Apply described calling bridge tools selection adb tool sets (adb.exe, AdbWinApi.dll of the Anrdoid mobile phones in example AdbWinUsbApi.dll).The first terminal is by the monitoring script file, the taking-up daily record script file, the day Will process-kill script file, the daily record upload script file automatically, the calling bridge tool is sent to described the after being packaged Two terminals, the second terminal obtain compressed package.When the operation personnel contacts with user, directly the compressed package can be sent A user, user can directly operate, and avoid the inconvenience of operation personnel's remote supervisor operating status generation.
Further, the method further includes:It obtains daily record and generates closing script file, the daily record, which generates, closes script File is used for the size of monitoring journal file, and when journal file is more than predetermined threshold, the daily record, which generates, closes script file Stop taking out the user journal information from the second terminal.
Specifically, the first terminal, which obtains daily record, generates closing script file, the daily record, which generates, closes script text Part is mainly used as the size of monitoring journal file.When writing the daily record generation closing script file, journal file is set Predetermined threshold, when the journal file generated when Anrdoid mobile phones are run is more than predetermined threshold, the daily record, which generates, closes script File stops taking out the user journal information from the second terminal (Anrdoid mobile phones), can effectively prevent journal file It is excessive, avoid the memory headroom and the speed of service that influence Anrdoid mobile phones.
Embodiment 3
Based on inventive concept same as a kind of method of remote supervisor operating status in previous embodiment, the present invention A kind of device of remote supervisor operating status is also provided, as shown in figure 3, including:
First obtains unit 11, the first obtains unit 11 is for obtaining monitoring script file, the monitoring script text Part is used to obtain the access rights of the user journal information in the second terminal;
Second obtaining unit 12, second obtaining unit 12 take out daily record script file, the taking-up day for obtaining Will script file is used to take out the user journal information in the second terminal;
Third obtaining unit 13, the third obtaining unit 13 is for obtaining daily record process-kill script file, the day Will process-kill script file is used to delete the progress information in the user journal information in the second terminal;
4th obtaining unit 14, the 4th obtaining unit 14 upload script file, the day automatically for obtaining daily record Will uploads script file for the user journal information of deletion process information to be uploaded to third terminal automatically, wherein described the Three terminals are different from the second terminal;
5th obtaining unit 15, the 5th obtaining unit 15 are used for the monitoring script file, the taking-up daily record Script file, the daily record process-kill script file, the daily record upload script file and are sent to the second terminal automatically, And the first terminal passes through monitoring script file described above, the taking-up daily record script file, the daily record process-kill Script file, the daily record upload the user journal information that script file remotely obtains the second terminal automatically.
Further, described device further includes:
First transmission unit, first transmission unit will be for that will call bridge tool to be sent to the second terminal.
Further, described device further includes:
Second transmission unit, second transmission unit are used for the monitoring script file, the taking-up daily record script File, the daily record process-kill script file, the daily record uploads script file automatically, the calling bridge tool is sent out after being packaged Give the second terminal.
Further, described device further includes:
First execution unit, first execution unit generate closing script file, the daily record life for obtaining daily record At size of the script file for monitoring journal file is closed, when journal file is more than predetermined threshold, the daily record, which generates, closes Script file is closed to stop taking out the user journal information from the second terminal.
The various change mode of the method for a kind of remote supervisor operating status in 1 embodiment 1 of earlier figures and specific Example is equally applicable to a kind of device of remote supervisor operating status of the present embodiment, by aforementioned to a kind of remote monitoring The detailed description of the method for running state of programs, those skilled in the art are clear that in the present embodiment a kind of long-range prison The implementation of the device of running state of programs is controlled, so in order to illustrate the succinct of book, this will not be detailed here.
Embodiment 4
Based on inventive concept same as another method of remote supervisor operating status in previous embodiment, this hair The bright device that another remote supervisor operating status is also provided, as shown in figure 4, including:
6th obtaining unit 21, the 6th obtaining unit 21 is for obtaining monitoring script file, the monitoring script text Part obtains the access rights of the user journal information in the second terminal;
7th obtaining unit 22, the 7th obtaining unit 22 take out daily record script file, the taking-up day for obtaining Will script file takes out the user journal information in the second terminal;
8th obtaining unit 23, the 8th obtaining unit 23 is for obtaining daily record process-kill script file, the day Will process-kill script file deletes the progress information in the user journal information in the second terminal;
9th obtaining unit 24, the 9th obtaining unit 24 upload script file, the day automatically for obtaining daily record Will uploads script file and the user journal information of deletion process information is uploaded to third terminal automatically, wherein the third is whole End is different from the second terminal.
Further, before obtaining monitoring script file, described device further includes:
Tenth obtaining unit, the tenth obtaining unit call bridge tool for obtaining;
First transfers unit, and described first transfers unit for transferring the monitoring script text according to the calling bridge tool Part.
Further, described device further includes:
11st obtaining unit, the 11st obtaining unit include described for obtaining compressed package, the compressed package Monitoring script file, the taking-up daily record script file, the daily record process-kill script file, the daily record upload foot automatically This document, the calling bridge tool.
Further, described device further includes:
Second execution unit, second execution unit generate closing script file, the daily record life for obtaining daily record At size of the script file for monitoring journal file is closed, when journal file is more than predetermined threshold, the daily record, which generates, closes Script file is closed to stop taking out the user journal information from the second terminal.
The various change mode and tool of the method for another remote supervisor operating status in 2 embodiment 2 of earlier figures Body example is equally applicable to the device of another remote supervisor operating status of the present embodiment, by aforementioned to another remote The detailed description of the method for range monitoring running state of programs, those skilled in the art are clear that another in the present embodiment The implementation of the device of kind remote supervisor operating status, so in order to illustrate the succinct of book, this will not be detailed here.
Said one in the embodiment of the present application or multiple technical solutions at least have following one or more technology effects Fruit:
1. the method and apparatus of a kind of remote supervisor operating status provided by the embodiments of the present application, by being monitored Script file, the monitoring script file are used to obtain the access rights of the user journal information in the second terminal;It obtains Daily record script file is taken out, the daily record script file that takes out is used to take out the user journal information in the second terminal;It obtains Daily record process-kill script file is obtained, the daily record process-kill script file is used to delete the user day in the second terminal Progress information in will information;It obtains daily record and uploads script file automatically, the daily record uploads script file for that will delete automatically Except the user journal information of progress information is uploaded to third terminal, wherein the third terminal is different from the second terminal;It will On the monitoring script file, the taking-up daily record script file, the daily record process-kill script file, the daily record are automatic It passes script file and is sent to the second terminal, and, the first terminal passes through monitoring script file described above, the taking-up Daily record script file, the daily record process-kill script file, the daily record upload script file and remotely obtain described automatically The user journal information of two terminals.It is inconvenient to solve operation personnel's remote supervisor operating status in the prior art, is not easy to User mobile phone is detected, user experience reduces, while the technical issues of the waste of manpower time, realizing remote contact During Android phone user, daily record on automatable acquisition user mobile phone is user-friendly, improves work effect The technique effect of rate.
2. the embodiment of the present application by by the monitoring script file, the taking-up daily record script file, the daily record into Journey deletes script file, the daily record uploads script file automatically, the calling bridge tool is sent to described second eventually after being packaged End.The technical issues of further solving operation personnel's inconvenience remote supervisor operating status.It, can be straight when contacting user It connects and the monitoring script file, taking-up daily record script file, daily record process-kill script file, daily record is uploaded into script text automatically Part is sent to user after calling bridge tool to be packaged, and user can directly operate, and improves working efficiency and user experience Sense.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, the present invention can be used in one or more wherein include computer usable program code computer The computer program production implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions every first-class in flowchart and/or the block diagram The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided Instruct the processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine so that the instruction executed by computer or the processor of other programmable data processing devices is generated for real The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device so that count Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or The instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in a box or multiple boxes.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art God and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (10)

1. a kind of method of remote supervisor operating status is applied to first terminal, wherein the first terminal and second is eventually Remote control between end, and, include user journal information in the second terminal, which is characterized in that the method includes:
Monitoring script file is obtained, the monitoring script file is used to obtain the visit of the user journal information in the second terminal Ask permission;
It obtains and takes out daily record script file, the daily record script file that takes out is used to take out the user journal in the second terminal Information;
Daily record process-kill script file is obtained, the daily record process-kill script file is for deleting in the second terminal Progress information in user journal information;
It obtains daily record and uploads script file automatically, the daily record uploads script file and is used for the user of deletion process information automatically Log information is uploaded to third terminal, wherein the third terminal is different from the second terminal;
By the monitoring script file, the taking-up daily record script file, the daily record process-kill script file, the daily record The automatic script file that uploads is sent to the second terminal, and, the first terminal passes through monitoring script file described above, institute It states and takes out daily record script file, the daily record process-kill script file, the daily record upload script file and remotely obtain automatically The user journal information of the second terminal.
2. the method as described in claim 1, which is characterized in that the method further includes:
Bridge tool will be called to be sent to the second terminal.
3. method as claimed in claim 2, which is characterized in that the method further includes:
By the monitoring script file, the taking-up daily record script file, the daily record process-kill script file, the daily record Automatic upload script file, the calling bridge tool are sent to the second terminal after being packaged.
4. a kind of method of remote supervisor operating status is applied to second terminal, wherein the second terminal is whole with first Remote control between end, and, include user journal information in the second terminal, which is characterized in that the method includes:
Monitoring script file is obtained, the monitoring script file obtains the access right of the user journal information in the second terminal Limit;
It obtains and takes out daily record script file, the taking-up daily record script file takes out the letter of the user journal in the second terminal Breath;
Daily record process-kill script file is obtained, the daily record process-kill script file deletes the user in the second terminal Progress information in log information;
It obtains daily record and uploads script file automatically, the daily record uploads script file by the user journal of deletion process information automatically Information is uploaded to third terminal, wherein the third terminal is different from the second terminal.
5. method as claimed in claim 4, which is characterized in that before obtaining monitoring script file, the method further includes:
It obtains and calls bridge tool;
The monitoring script file is transferred according to the calling bridge tool.
6. method as claimed in claim 5, which is characterized in that the method further includes:
Compressed package is obtained, the compressed package includes the monitoring script file, the taking-up daily record script file, the daily record Process-kill script file, the daily record upload script file, the calling bridge tool automatically.
7. a kind of device of remote supervisor operating status, which is characterized in that described device includes:
First obtains unit, the first obtains unit is for obtaining monitoring script file, and the monitoring script file is for obtaining Obtain the access rights of the user journal information in the second terminal;
Second obtaining unit, second obtaining unit take out daily record script file for obtaining, the taking-up daily record script text Part is used to take out the user journal information in the second terminal;
Third obtaining unit, the third obtaining unit for obtaining daily record process-kill script file, delete by the daily record process Except script file is used to delete the progress information in the user journal information in the second terminal;
4th obtaining unit, the 4th obtaining unit upload script file for obtaining daily record automatically, on the daily record is automatic It passes script file to be used to the user journal information of deletion process information being uploaded to third terminal, wherein the third terminal is not It is same as the second terminal;
5th obtaining unit, the 5th obtaining unit be used for by the monitoring script file, the taking-up daily record script file, The daily record process-kill script file, the daily record upload script file and are sent to the second terminal automatically, and, described One terminal by monitoring script file described above, the taking-up daily record script file, the daily record process-kill script file, The daily record uploads the user journal information that script file remotely obtains the second terminal automatically.
8. a kind of device of remote supervisor operating status, including memory, processor and storage are on a memory and can be The computer program run on processor, which is characterized in that the processor realizes following steps when executing described program:
Monitoring script file is obtained, the monitoring script file is used to obtain the visit of the user journal information in the second terminal Ask permission;
It obtains and takes out daily record script file, the daily record script file that takes out is used to take out the user journal in the second terminal Information;
Daily record process-kill script file is obtained, the daily record process-kill script file is for deleting in the second terminal Progress information in user journal information;
It obtains daily record and uploads script file automatically, the daily record uploads script file and is used for the user of deletion process information automatically Log information is uploaded to third terminal, wherein the third terminal is different from the second terminal;
By the monitoring script file, the taking-up daily record script file, the daily record process-kill script file, the daily record The automatic script file that uploads is sent to the second terminal, and, the first terminal passes through monitoring script file described above, institute It states and takes out daily record script file, the daily record process-kill script file, the daily record upload script file and remotely obtain automatically The user journal information of the second terminal.
9. a kind of device of remote supervisor operating status, which is characterized in that described device includes:
6th obtaining unit, the 6th obtaining unit obtain institute for obtaining monitoring script file, the monitoring script file State the access rights of the user journal information in second terminal;
7th obtaining unit, the 7th obtaining unit take out daily record script file for obtaining, the taking-up daily record script text Part takes out the user journal information in the second terminal;
8th obtaining unit, the 8th obtaining unit for obtaining daily record process-kill script file, delete by the daily record process Except script file deletes the progress information in the user journal information in the second terminal;
9th obtaining unit, the 9th obtaining unit upload script file for obtaining daily record automatically, on the daily record is automatic It passes script file and the user journal information of deletion process information is uploaded to third terminal, wherein the third terminal is different from The second terminal.
10. a kind of device of remote supervisor operating status, including memory, processor and storage are on a memory and can be The computer program run on processor, which is characterized in that the processor realizes following steps when executing described program:
Monitoring script file is obtained, the monitoring script file obtains the access right of the user journal information in the second terminal Limit;
It obtains and takes out daily record script file, the taking-up daily record script file takes out the letter of the user journal in the second terminal Breath;
Daily record process-kill script file is obtained, the daily record process-kill script file deletes the user in the second terminal Progress information in log information;
It obtains daily record and uploads script file automatically, the daily record uploads script file by the user journal of deletion process information automatically Information is uploaded to third terminal, wherein the third terminal is different from the second terminal.
CN201810201542.3A 2018-03-12 2018-03-12 Method and device for remotely monitoring running state of program Expired - Fee Related CN108491483B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810201542.3A CN108491483B (en) 2018-03-12 2018-03-12 Method and device for remotely monitoring running state of program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810201542.3A CN108491483B (en) 2018-03-12 2018-03-12 Method and device for remotely monitoring running state of program

Publications (2)

Publication Number Publication Date
CN108491483A true CN108491483A (en) 2018-09-04
CN108491483B CN108491483B (en) 2021-10-08

Family

ID=63338610

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810201542.3A Expired - Fee Related CN108491483B (en) 2018-03-12 2018-03-12 Method and device for remotely monitoring running state of program

Country Status (1)

Country Link
CN (1) CN108491483B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110188056A (en) * 2019-07-24 2019-08-30 翱捷科技(上海)有限公司 The physical layer logs output device and method of a kind of electronic equipment
CN112115102A (en) * 2020-08-25 2020-12-22 广州锦行网络科技有限公司 Method for cleaning remote login log records

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5334739B2 (en) * 2009-08-10 2013-11-06 株式会社日立ソリューションズ Log monitoring program, log monitoring system
CN104754608A (en) * 2013-12-25 2015-07-01 腾讯科技(深圳)有限公司 Method and system for monitoring performances of mobile terminal
CN104935621A (en) * 2014-03-20 2015-09-23 中芯国际集成电路制造(上海)有限公司 Remote monitoring system and remote monitoring method
CN105959802A (en) * 2016-05-27 2016-09-21 深圳Tcl数字技术有限公司 Intelligent television fault information collection method and device
CN107179979A (en) * 2016-03-10 2017-09-19 阿里巴巴集团控股有限公司 A kind of acquisition of remote terminal information, analysis method, apparatus and system
CN107506149A (en) * 2017-08-29 2017-12-22 郑州云海信息技术有限公司 System management memory journal dump method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5334739B2 (en) * 2009-08-10 2013-11-06 株式会社日立ソリューションズ Log monitoring program, log monitoring system
CN104754608A (en) * 2013-12-25 2015-07-01 腾讯科技(深圳)有限公司 Method and system for monitoring performances of mobile terminal
CN104935621A (en) * 2014-03-20 2015-09-23 中芯国际集成电路制造(上海)有限公司 Remote monitoring system and remote monitoring method
CN107179979A (en) * 2016-03-10 2017-09-19 阿里巴巴集团控股有限公司 A kind of acquisition of remote terminal information, analysis method, apparatus and system
CN105959802A (en) * 2016-05-27 2016-09-21 深圳Tcl数字技术有限公司 Intelligent television fault information collection method and device
CN107506149A (en) * 2017-08-29 2017-12-22 郑州云海信息技术有限公司 System management memory journal dump method and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110188056A (en) * 2019-07-24 2019-08-30 翱捷科技(上海)有限公司 The physical layer logs output device and method of a kind of electronic equipment
CN112115102A (en) * 2020-08-25 2020-12-22 广州锦行网络科技有限公司 Method for cleaning remote login log records
CN112115102B (en) * 2020-08-25 2021-05-14 广州锦行网络科技有限公司 Method for cleaning remote login log records

Also Published As

Publication number Publication date
CN108491483B (en) 2021-10-08

Similar Documents

Publication Publication Date Title
CN103809857B (en) A kind of information processing method and electronic equipment
CN104899016B (en) Allocating stack Relation acquisition method and device
US9348579B2 (en) Integration of social networks with integrated development environment (IDE)
CN107943572B (en) Data migration method, device, computer equipment and storage medium
CN107357718A (en) One kind structure method of testing and device
CN103577309A (en) Automatic test method and device
CN108491483A (en) A kind of method and apparatus of remote supervisor operating status
WO2019047442A1 (en) Method and system for bypassing function call chain detection in ios application
CN110457260A (en) Document handling method, device, equipment and computer readable storage medium
CN104461953A (en) Method and system for carrying out linux log management through virtual serial port
CN103176899A (en) Mobile phone emulator and method for emulating mobile phone functions on host machine
CN106201747B (en) Method for accessing intelligent password equipment under limited user of WINDOWS system
CN106528133A (en) Equipment request processing method and device applied to multiple systems
CN107908480A (en) Wages computational methods, application server and computer-readable recording medium
US10061690B2 (en) Computing device and method for performing test of rehosting
CN109271247A (en) Memory Optimize Method, device, computer installation and storage medium
US20200319993A1 (en) Servers and computer programs for debugging of native programs and virtual machine programs on integrated development environment
KR20210130694A (en) Universal runtime verification system between source language and language converted through transpiler
CN103440213A (en) Network card driving method applied to system with multiple CPUs (Central Processing Unit) and network cards
EP4162357A1 (en) Efficient packaging of components
CN108089930A (en) The sending method and device of data
CN109343838A (en) Chat feature development approach and system, terminal and computer readable storage medium
CN107368403A (en) A kind of mobile terminal and its log information output control method and storage medium
CN107967172A (en) A kind of Spark tasks dynamic migration method and system towards isomery storage
WO2015047289A1 (en) Infrastructure migration tool

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
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20211008