CN108123937B - Multithreading monitoring method and system for monitoring mobile terminal application - Google Patents

Multithreading monitoring method and system for monitoring mobile terminal application Download PDF

Info

Publication number
CN108123937B
CN108123937B CN201711332158.9A CN201711332158A CN108123937B CN 108123937 B CN108123937 B CN 108123937B CN 201711332158 A CN201711332158 A CN 201711332158A CN 108123937 B CN108123937 B CN 108123937B
Authority
CN
China
Prior art keywords
page
mobile terminal
thread
sensitive
display
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
CN201711332158.9A
Other languages
Chinese (zh)
Other versions
CN108123937A (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.)
Guangzhou Taier Zhixin Technology Co ltd
Original Assignee
Guangzhou Taier Zhixin 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 Guangzhou Taier Zhixin Technology Co ltd filed Critical Guangzhou Taier Zhixin Technology Co ltd
Priority to CN201711332158.9A priority Critical patent/CN108123937B/en
Publication of CN108123937A publication Critical patent/CN108123937A/en
Application granted granted Critical
Publication of CN108123937B publication Critical patent/CN108123937B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/30Network architectures or network communication protocols for network security for supporting lawful interception, monitoring or retaining of communications or communication related information
    • H04L63/302Network architectures or network communication protocols for network security for supporting lawful interception, monitoring or retaining of communications or communication related information gathering intelligence information for situation awareness or reconnaissance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/951Indexing; Web crawling techniques
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/30Network architectures or network communication protocols for network security for supporting lawful interception, monitoring or retaining of communications or communication related information
    • H04L63/308Network architectures or network communication protocols for network security for supporting lawful interception, monitoring or retaining of communications or communication related information retaining data, e.g. retaining successful, unsuccessful communication attempts, internet access, or e-mail, internet telephony, intercept related information or call content

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Technology Law (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Evolutionary Computation (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention relates to a multithread monitoring method and a multithread monitoring system for supervising mobile terminal application, wherein the method comprises the steps of detecting channels accessed to a mobile terminal and allocating a thread to each channel accessed to the mobile terminal; each thread independently performs the following steps: the method comprises the steps of generating a click operation instruction through an interface analyzer, sending the click operation instruction to a mobile terminal of a thread, generating the click operation instruction through the interface analyzer of the thread, sending the click operation instruction to the mobile terminal of the thread, acquiring the content of a page currently displayed by the mobile terminal, detecting the content of the page, sending a page turning instruction to the mobile terminal through a simulator, enabling the mobile terminal to display the next page, continuously acquiring the content of the page currently displayed by the mobile terminal, and detecting the content of the page.

Description

Multithreading monitoring method and system for monitoring mobile terminal application
Technical Field
The invention relates to the technical field of network information supervision, in particular to a multithreading monitoring method and a multithreading monitoring system for supervising mobile terminal application.
Background
In recent years, as the functions of smart phones are becoming powerful, social networking is being shifted to mobile terminals from the internet, so that the chances of the public to acquire various resource information are increased, and meanwhile, the mobile terminals are also utilized by lawless persons to spread network rumors. At present, the monitoring mode applied in the mobile terminal is manual monitoring, the monitoring method has low efficiency, and omission easily occurs.
Disclosure of Invention
Aiming at the defects in the prior art, the multithreading monitoring method and the multithreading monitoring system for monitoring the mobile terminal application, which are provided by the invention, adopt a multithreading detection method, can flexibly configure the application and the channel detected by the terminal equipment, and all threads do not interfere with each other, so that the simultaneous and parallel monitoring of multiple applications and multiple channels is realized, the detection efficiency is improved, and the phenomena of blockage, false death and the like in the detection process are reduced.
In a first aspect, the present invention provides a multithread monitoring method for supervising mobile terminal applications, including:
step S1, detecting the access mobile terminal channel, and distributing a thread for each access mobile terminal channel;
step S2, each thread includes an interface analyzer and a simulator, and each thread executes the following steps independently:
step S21, generating a click operation instruction through the interface analyzer of the thread and sending the click operation instruction to the mobile terminal of the thread, so that the mobile terminal opens a certain channel of a certain application;
step S22, acquiring the currently displayed page content of the mobile terminal through the interface analyzer;
step S23, detecting the page content;
and step S24, after the content of the current page is detected, sending a page turning instruction to the mobile terminal through the simulator of the thread, so that the mobile terminal displays the next page, and continuously acquiring and detecting the content of the page currently displayed by the mobile terminal.
The multithreading monitoring method for monitoring the mobile terminal application adopts the multithreading detection method, can flexibly configure the application and the channel detected by the terminal equipment, does not interfere with each other among threads, realizes the simultaneous and parallel monitoring of a plurality of applications and a plurality of channels, improves the detection efficiency, and reduces the phenomena of blocking, false death and the like in the detection process; the page content displayed by each mobile terminal can be simultaneously displayed to the monitoring personnel through the display interface of the system display screen, so that the monitoring personnel can simultaneously acquire the detection conditions of a plurality of page contents of a plurality of applications and a plurality of channels through the display interface, and the monitoring efficiency of the mobile terminal is improved.
Preferably, the step S24 specifically includes:
if the illegal page is not detected, sending a page turning instruction to the mobile terminal through the simulator of the thread, so that the mobile terminal displays the next page;
and if the violation page is detected, sending abnormal information to remind a supervisor, and stopping detection of the thread.
Preferably, in step S23, the detecting the page content includes: and detecting whether sensitive words exist in the page content through a keyword word bank, and if the sensitive words exist, determining that the page is an illegal page.
Preferably, the page content acquired through the step S22 includes: the text information in the page and the coordinates of the text information;
in step S24, after detecting the violation page, the method further includes: and calling a drawing program, and drawing a positioning frame of the sensitive word according to the coordinate of the sensitive word in the page detected in the step S23.
Preferably, the acquired page contents of the mobile terminal are all displayed simultaneously through a display screen;
in the step S24, the invoking of the drawing program draws the positioning frame of the sensitive word according to the coordinates of the sensitive word in the page detected in the step S23, and includes:
obtaining display coordinates of the sensitive words in a display interface of the display screen according to the mobile terminal to which the sensitive word source page belongs and the coordinates of the sensitive words in the page to which the sensitive words belong;
and calling a drawing program, and drawing a positioning frame of the sensitive word in a display picture according to the display coordinate of the sensitive word.
Preferably, the step S24 specifically includes:
if the illegal page is not detected, sending a page turning instruction to the mobile terminal through the simulator of the thread, so that the mobile terminal displays the next page;
and if the violation page is detected, automatically storing the violation page and sending abnormal information to remind a supervisor.
Preferably, in step S23, the detecting the page content includes: and detecting whether sensitive words exist in the page content through a keyword word bank, and if the sensitive words exist, determining that the page is an illegal page.
Preferably, the page content acquired through the step S22 includes: the text information in the page and the coordinates of the text information;
in step S24, the automatically storing the violation page includes:
obtaining display coordinates of the sensitive words in a display interface of the display screen according to the mobile terminal to which the sensitive word source page belongs and the coordinates of the sensitive words in the page to which the sensitive words belong;
calling a screenshot program, determining a screenshot area according to the display coordinates of the sensitive words, and intercepting a display picture in the screenshot area, wherein the screenshot area is a display area of a page where the sensitive words are located;
and calling a drawing program, drawing a positioning frame of the sensitive word in the screenshot according to the coordinate of the sensitive word in the page to which the sensitive word belongs, and storing the positioning frame.
In a second aspect, the present invention provides a multithread monitoring system for monitoring and managing a mobile terminal application, including: the mobile terminal comprises a plurality of transmission interfaces for connecting with the mobile terminal, a processor, a memory, a display screen, a mouse and a keyboard; the processor is a multi-thread parallel processor, wherein each thread is provided with a simulator and an interface analyzer;
the transmission interface, the memory, the simulator, the interface analyzer, the display screen, the mouse and the keyboard are all connected with the processor;
the processor is configured to execute a program in the memory to perform the method of any of the first aspects.
The multithreading monitoring system for monitoring the mobile terminal application adopts the multithreading detection method, can flexibly configure the application and the channel detected by the terminal equipment, does not interfere with each other among threads, realizes the simultaneous and parallel monitoring of a plurality of applications and a plurality of channels, improves the detection efficiency, and reduces the probability of phenomena of blocking, false death and the like in the detection process; the page content displayed by each mobile terminal can be simultaneously displayed to the monitoring personnel through the display interface of the system display screen, so that the monitoring personnel can simultaneously acquire the detection conditions of a plurality of page contents of a plurality of applications and a plurality of channels through the display interface, and the monitoring efficiency of the mobile terminal is improved.
In a third aspect, the invention provides a computer-readable storage medium having a computer program stored thereon, the program being characterized in that it, when executed by a processor, implements the method of any of the first aspects.
The computer readable storage medium provided by the invention can flexibly configure the group to which the mobile terminal belongs to carry out grouping detection on the applications and the channels, realize the simultaneous monitoring of a plurality of applications and a plurality of channels, improve the detection efficiency, and simultaneously display the page content displayed by each mobile terminal to a supervisor through the display interface of the system display screen, so that the supervisor can simultaneously acquire the detection conditions of a plurality of page contents of a plurality of applications and a plurality of channels through the display interface, thereby improving the supervision efficiency of the mobile terminal.
Drawings
Fig. 1 is a flowchart of a multithread monitoring method for supervising a mobile terminal application according to an embodiment of the present invention;
fig. 2 is a block diagram of a multithread monitoring system for monitoring applications of a mobile terminal according to an embodiment of the present invention;
fig. 3 is a schematic display interface diagram of a multithread monitoring system for monitoring a mobile terminal application according to an embodiment of the present invention.
Detailed Description
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. The following examples are only for illustrating the technical solutions of the present invention more clearly, and therefore are only examples, and the protection scope of the present invention is not limited thereby.
It is to be noted that, unless otherwise specified, technical or scientific terms used herein shall have the ordinary meaning as understood by those skilled in the art to which the invention pertains.
As shown in fig. 1, the present embodiment provides a multithread monitoring method for supervising a mobile terminal application, including:
step S1, detecting the channels of the access mobile terminals, and allocating a thread to each channel of the access mobile terminals.
Each channel is accessed to a mobile terminal and has a unique channel number, each thread is independent and not interfered with each other, and a plurality of threads can be used for monitoring a plurality of channels of a plurality of applications.
Step S2, each thread includes an interface analyzer and a simulator, and each thread executes the following steps independently:
step S21, the interface analyzer of the thread generates a click operation instruction and sends the click operation instruction to the mobile terminal of the thread, so that the mobile terminal opens a certain channel of a certain application.
The same application can be positioned in different positions in the display screens of the mobile terminals on different mobile terminals, and the same channel of the same application on different mobile terminals can be opened simultaneously through the interface analyzer.
The sliding operation instructions sent by each thread to the corresponding mobile terminal are different, and each accessed mobile terminal opens different applications or different channels of the same application.
And step S22, acquiring the content of the page currently displayed by the mobile terminal through the interface analyzer.
The range of one page of the mobile terminal refers to the range displayed by a screen of the mobile terminal, the starting end of the range of the second page is the ending end of the first page, the content in one channel cannot be completely displayed in the screen, and all pages in the channel can be browsed only after multiple sliding operations are required.
The interface analyzer in the steps S21-S22 is an Android UI automation analyzer, which is a tool specially used for UI automation test of the mobile terminal of the Android system, and operations such as simulated clicking, sliding, text input and the like can be realized through the Android UI automation analyzer without manual operation, so that automatic detection is realized, and detection efficiency is greatly improved. The method for realizing operations such as simulated clicking, sliding and text inputting by using the android ui automator belongs to the prior art, and is not described herein again.
And in the steps S21-S22, the application and the channel are automatically clicked through the android automation to finish the automatic batch opening of the application accessed to the mobile terminal, so that each accessed terminal can display different channels of different applications, and the page content displayed by each mobile terminal is obtained. Furthermore, the page content displayed by each mobile terminal can be simultaneously displayed to the monitoring personnel through the display interface of the system display screen, so that the monitoring personnel can simultaneously monitor the page content of different applications and different channels, and the monitoring efficiency is improved.
In step S23, the page content is detected.
The method mainly detects whether illegal behaviors such as broadcasting rumors and illegal information exist in page content.
Step S24, after detecting all the current page contents, sending a page turning instruction to the mobile terminal through the thread simulator, so that the mobile terminal displays the next page, continuously acquiring the current page contents displayed by the mobile terminal and detecting, namely returning to step S22.
And in the running process of the first thread, other threads synchronously run and monitor the application of the corresponding terminal equipment.
The simulator specifically uses an adb (android Debug bridge) tool of android, which is a service for the android official to operate the mobile phone through other devices, and plays a role in debugging a bridge. By Adb we can debug Android programs in Eclipse conveniently by DDMS. By means of the Adb tool, the state of the device or the mobile phone simulator can be managed, and a plurality of mobile phone operations can be carried out, such as software installation, system upgrade, shell command running and the like. Part of the code that invokes the ADB command to launch the application is as follows:
Figure BDA0001506844210000061
part of codes for realizing the automatic page turning function by using the ADB are as follows:
Figure BDA0001506844210000062
Figure BDA0001506844210000071
the method for controlling the mobile terminal to perform the page turning operation by using the Adb tool belongs to the prior art, and is not described herein again.
At present, the monitoring mode applied in the mobile terminal is manually page-turning and human eye detection mode page by page, the monitoring method has low efficiency, needs to spend a large amount of labor cost, and is easy to omit. All programs in the single-thread system need to be operated in series, if interface conflict is called, blocking or even false death occurs, and the second operation needs to be performed after the first operation is completed, so that the response speed is much slower, the multi-thread monitoring method for monitoring the application of the mobile terminal provided by the embodiment adopts a multi-thread detection method, can flexibly configure the application and the channel detected by the terminal equipment, does not interfere with each other among threads, realizes the simultaneous and parallel monitoring of multiple applications and multiple channels, improves the detection efficiency, and reduces the probability of blocking, false death and other phenomena in the detection process; the page content displayed by each mobile terminal can be simultaneously displayed to the monitoring personnel through the display interface of the system display screen, so that the monitoring personnel can simultaneously acquire the detection conditions of a plurality of page contents of a plurality of applications and a plurality of channels through the display interface, and the monitoring efficiency of the mobile terminal is improved.
Preferably, step S23 specifically includes: and detecting whether sensitive words exist in the page content through the keyword word bank, and if the sensitive words exist, determining that the page is an illegal page.
The keyword lexicon is established in advance, a large number of sensitive words are stored in the keyword lexicon, the sensitive words generally refer to words with sensitive political tendency (or anti-political party tendency), violence tendency and unhealthy colors or non-civilized language, and the sensitive words in the keyword lexicon can be adjusted according to actual detection requirements and monitoring objects. The keyword lexicon is not specifically limited, and the conventional keyword retrieval technology is used for detecting whether sensitive words exist in the page content by using the keyword lexicon, and is not repeated herein.
The page content acquired in step S22 includes: text information in the page and coordinates of the text information. Each character corresponds to a coordinate, and the coordinate here is the coordinate of each character in the corresponding terminal page.
Preferably, a preferred embodiment of step S24 specifically includes:
step S511, if no violation page is detected, sending a page turning instruction to the mobile terminal through the thread simulator, so that the mobile terminal displays the next page.
Step S512, if the violation page is detected, sending abnormal information to remind a supervisor, and stopping detection of the thread.
Because the threads are independent, only the thread which detects the violation page stops running, and other threads still run normally. For the thread which stops running, the page displayed on the display interface of the system display screen stays on the violation page for the monitoring personnel to check, and the monitoring personnel enters the next round of detection after processing the abnormal group.
As shown in fig. 3, a schematic diagram of a display interface of a display screen is provided, and the display interface includes a display area and a control area. In fig. 3, the page of the mobile terminal of thread one (i.e., channel one) is displayed at the first position, the page of the mobile terminal of thread two (i.e., channel two) is displayed at the second position, the page of the mobile terminal of thread three (i.e., channel three) is displayed at the third position, the page of the mobile terminal of thread four (i.e., channel four) is displayed at the fourth position, and the threads one, two, three, and four are independent from each other and do not interfere with each other. As shown in fig. 3, the thread one displays the "headline" channel of the application one, where "headline", "video", "beijing" and "entertainment" are channels, each channel has a corresponding news page, the displayed page content includes pictures (grid area in fig. 3) and text content (gray area), and after the current page is detected, the thread displays the next page of the channel "headline" for a while; thread two shows the "video" channel to which one applies; the thread three displays a hot spot channel of the application two; thread four shows the "recommended" channel for application two. The control area is provided with control buttons for realizing the functions mentioned in the method embodiments such as initialization, equipment management, thread allocation, starting detection, stopping detection, screenshot and the like, a supervisor can complete corresponding operations by clicking the control buttons through a mouse and a keyboard control system, and the functions of the control buttons can be manually clicked and realized or can be automatically realized. For example: stopping page turning operation after detecting the illegal page; the method comprises the steps that a supervisor needs to store screenshots of violation pages, clicks a single-image screenshot button, moves a mouse to the page needing screenshots, determines the violation pages needing storage according to the position of the mouse, automatically calls a screenshot program by the system, intercepts the violation pages, automatically calls a drawing program to draw a positioning box of sensitive words, stores the positioning box, automatically returns to the execution steps S22 and S23 after the steps are executed, and carries out next detection.
Based on the above preferred embodiment of step S24, step S24 further includes step S513 after detecting the violation page: and calling a drawing program, and drawing a positioning frame of the sensitive word according to the coordinate of the sensitive word in the page detected in the step S23.
Wherein, step S513 specifically includes:
obtaining display coordinates of the sensitive words in a display interface of a display screen according to the mobile terminal to which the sensitive word source page belongs and the coordinates of the sensitive words in the page to which the sensitive words belong;
and calling a drawing program, and drawing a positioning frame of the sensitive words in the display picture according to the display coordinates of the sensitive words.
Because the coordinates of each character are the coordinates in the corresponding terminal page, the page of each mobile terminal has a fixed display position in the display interface, as shown in fig. 3, the page of the mobile terminal of channel one is displayed at the position one, and the page of the mobile terminal of channel two is displayed at the position two. The positioning frame is drawn in the display interface, not on the mobile terminal, and therefore, the coordinates of the sensitive word in the mobile terminal are converted into the display coordinates in the display interface in step S513, so that the sensitive word can be accurately framed out in the display interface. For example, if the sensitive word is from the mobile terminal of the first channel, the coordinates of the first pixel point at the upper left corner of the page of the mobile terminal of the first channel are obtained, and the coordinates of the sensitive word in the mobile terminal to which the sensitive word belongs are added, so that the display coordinates of the sensitive word can be obtained.
The sensitive words are more striking in the display interface by drawing the positioning frames of the sensitive words, so that the supervision personnel can conveniently and quickly acquire suspicious places and check and confirm the suspicious places. As shown in fig. 3, when a sensitive word is detected in the page of the first mobile terminal, the corresponding text is selected and displayed.
In order to further improve the detection efficiency, another preferred implementation method of step S24 includes:
in step S521, if no violation page is detected, a page turning instruction is sent to the mobile terminal through the thread simulator, so that the mobile terminal displays a next page.
In step S522, if an illegal page is detected, the illegal page is automatically stored, and abnormal information is sent to remind a supervisor.
After the above steps are performed, the process returns to the steps S22 and S23, and the next round of detection is performed. By the steps, the suspicious page can be automatically saved when the supervisor is not on site, and the supervisor can conveniently perform investigation and confirmation when returning to a working position. Through the steps, 24-hour automatic monitoring can be realized, the monitoring efficiency is further improved, and the monitoring cost is reduced.
Preferably, in step S522, the automatically storing the violation page includes:
obtaining display coordinates of the sensitive words in a display interface of a display screen according to the mobile terminal to which the sensitive word source page belongs and the coordinates of the sensitive words in the page to which the sensitive words belong;
calling a screenshot program, determining a screenshot area according to the display coordinates of the sensitive words, and intercepting a display picture in the screenshot area, wherein the screenshot area is a display area of a page where the sensitive words are located;
and calling a drawing program, drawing a positioning frame of the sensitive words in the screenshot according to the coordinates of the sensitive words in the page to which the sensitive words belong, and storing the positioning frame.
Because the coordinates of each character are the coordinates in the corresponding terminal page, the page of each mobile terminal has a fixed display position in the display interface, as shown in fig. 3, the page of the mobile terminal of channel one is displayed at the position one, and the page of the mobile terminal of channel two is displayed at the position two. The positioning frame is drawn in the display interface, not on the mobile terminal, and therefore, the coordinates of the sensitive word in the mobile terminal to which the sensitive word belongs need to be converted into the display coordinates in the display interface by the preferred embodiment of step S522, so that the sensitive word can be accurately framed out in the display interface. For example, if the sensitive word is from the mobile terminal of the first channel, the coordinates of the first pixel point at the upper left corner of the page of the mobile terminal of the first channel are obtained, and the coordinates of the sensitive word in the mobile terminal to which the sensitive word belongs are added, so that the display coordinates of the sensitive word can be obtained.
By the steps, the suspicious page containing the sensitive words can be independently intercepted, the function of screenshot with the frame is realized, the sensitive words are more striking in the display interface by drawing the positioning frame of the sensitive words, and therefore supervision personnel can conveniently and quickly acquire the suspicious places and check and confirm the suspicious places.
The screenshot program and the drawing program are prior art and are not described herein again.
As shown in fig. 2, the present embodiment further provides a multithread monitoring system for supervising mobile terminal applications, including: the mobile terminal comprises a plurality of transmission interfaces for connecting with the mobile terminal, a processor, a memory, a simulator, an interface analyzer, a display screen, a mouse and a keyboard. The processor is a multi-thread parallel processor, and each thread is provided with a simulator and an interface analyzer.
The transmission interface, the memory, the simulator, the interface analyzer, the display screen, the mouse and the keyboard are all connected with the processor. The display screen is used for displaying a monitoring display interface, the display interface comprises control buttons for realizing the functions mentioned in the method embodiments such as initialization, detection, screenshot and the like, a supervisor can complete corresponding operations by clicking the control buttons through a mouse and a keyboard control system, and the functions of the control buttons can be manually clicked and realized or can be automatically realized.
The processor is configured to run a program in the memory to perform any of the above described method embodiments of the method of supervising a multi-threaded monitoring method of a mobile terminal application. Each thread in the processor is independent of the other for performing steps S21-S24 in the above method embodiment.
The multithreading monitoring system for supervising mobile terminal application provided by the embodiment and the multithreading monitoring method for supervising mobile terminal application have the same beneficial effects based on the same inventive concept, and are not repeated herein.
The present embodiment also provides a computer-readable storage medium, on which a computer program is stored, wherein the computer program, when executed by a processor, implements the multithread monitoring method for supervising mobile terminal applications in any of the above method embodiments.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; such modifications and substitutions do not depart from the spirit and scope of the present invention, and they should be construed as being included in the following claims and description.

Claims (10)

1. A multithread monitoring method for supervising mobile terminal application is characterized by comprising the following steps:
step S1, detecting the access mobile terminal channel, and distributing a thread for each access mobile terminal channel; each channel is accessed to a mobile terminal and has a unique channel number, and each thread is independent and not interfered with each other;
step S2, each thread includes an interface analyzer and a simulator, and each thread executes the following steps independently:
step S21, generating a click operation instruction through the interface analyzer of the thread and sending the click operation instruction to the mobile terminal of the thread, so that the mobile terminal opens a certain channel of a certain application;
step S22, acquiring the currently displayed page content of the mobile terminal through the interface analyzer;
step S23, detecting the page content;
and step S24, after the content of the current page is detected, sending a page turning instruction to the mobile terminal through the simulator of the thread, so that the mobile terminal displays the next page, and continuously acquiring and detecting the content of the page currently displayed by the mobile terminal.
2. The method according to claim 1, wherein the step S24 specifically includes:
if the illegal page is not detected, sending a page turning instruction to the mobile terminal through the simulator of the thread, so that the mobile terminal displays the next page;
and if the violation page is detected, sending abnormal information to remind a supervisor, and stopping detection of the thread.
3. The method according to claim 2, wherein the step S23 of detecting the page content includes: and detecting whether sensitive words exist in the page content through a keyword word bank, and if the sensitive words exist, determining that the page is an illegal page.
4. The method according to claim 3, wherein the page content obtained through step S22 includes: the text information in the page and the coordinates of the text information;
in step S24, after detecting the violation page, the method further includes: and calling a drawing program, and drawing a positioning frame of the sensitive word according to the coordinate of the sensitive word in the page detected in the step S23.
5. The method according to claim 4, wherein the page contents of the mobile terminal are all acquired and displayed simultaneously through a display screen;
in the step S24, the invoking of the drawing program draws the positioning frame of the sensitive word according to the coordinates of the sensitive word in the page detected in the step S23, and includes:
obtaining display coordinates of the sensitive words in a display interface of the display screen according to the mobile terminal to which the sensitive word source page belongs and the coordinates of the sensitive words in the page to which the sensitive words belong;
and calling a drawing program, and drawing a positioning frame of the sensitive word in a display picture according to the display coordinate of the sensitive word.
6. The method according to claim 1, wherein the step S24 specifically includes:
if the illegal page is not detected, sending a page turning instruction to the mobile terminal through the simulator of the thread, so that the mobile terminal displays the next page;
and if the violation page is detected, automatically storing the violation page and sending abnormal information to remind a supervisor.
7. The method according to claim 6, wherein the step S23, the detecting the page content, comprises: and detecting whether sensitive words exist in the page content through a keyword word bank, and if the sensitive words exist, determining that the page is an illegal page.
8. The method according to claim 7, wherein the page content obtained through step S22 includes: the text information in the page and the coordinates of the text information;
in step S24, the automatically storing the violation page includes:
obtaining display coordinates of the sensitive words in a display interface of a display screen according to the mobile terminal to which the sensitive word source page belongs and the coordinates of the sensitive words in the page to which the sensitive words belong;
calling a screenshot program, determining a screenshot area according to the display coordinates of the sensitive words, and intercepting a display picture in the screenshot area, wherein the screenshot area is a display area of a page where the sensitive words are located;
and calling a drawing program, drawing a positioning frame of the sensitive word in the screenshot according to the coordinate of the sensitive word in the page to which the sensitive word belongs, and storing the positioning frame.
9. A multithreading monitoring system for monitoring and supervising mobile terminal applications in multithreading monitoring and supervision of mobile terminal applications is characterized by comprising: the mobile terminal comprises a plurality of transmission interfaces for connecting with the mobile terminal, a processor, a memory, a display screen, a mouse and a keyboard; the processor is a multi-thread parallel processor, wherein each thread is provided with a simulator and an interface analyzer;
the transmission interface, the memory, the simulator, the interface analyzer, the display screen, the mouse and the keyboard are all connected with the processor;
the processor is configured to execute a program in the memory to perform the method of any of claims 1-8.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method of one of claims 1 to 8.
CN201711332158.9A 2017-12-13 2017-12-13 Multithreading monitoring method and system for monitoring mobile terminal application Active CN108123937B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711332158.9A CN108123937B (en) 2017-12-13 2017-12-13 Multithreading monitoring method and system for monitoring mobile terminal application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711332158.9A CN108123937B (en) 2017-12-13 2017-12-13 Multithreading monitoring method and system for monitoring mobile terminal application

Publications (2)

Publication Number Publication Date
CN108123937A CN108123937A (en) 2018-06-05
CN108123937B true CN108123937B (en) 2020-09-29

Family

ID=62229111

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711332158.9A Active CN108123937B (en) 2017-12-13 2017-12-13 Multithreading monitoring method and system for monitoring mobile terminal application

Country Status (1)

Country Link
CN (1) CN108123937B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109508229A (en) * 2018-09-19 2019-03-22 安徽慧视金瞳科技有限公司 A kind of matching process that multiple spot is drawn simultaneously
CN111179268B (en) * 2020-03-18 2023-06-23 宁波均联智行科技股份有限公司 Abnormality detection method and device for vehicle-mounted terminal and vehicle-mounted terminal
CN115379263A (en) * 2022-08-23 2022-11-22 京东方科技集团股份有限公司 Control method and control system for playing content of terminal equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1860538A2 (en) * 2006-05-24 2007-11-28 LG Electronics Inc. Touch screen device and method of displaying images thereon
CN103561421A (en) * 2013-10-30 2014-02-05 上海天奕达电子科技有限公司 Method and device for monitoring multiple application programs in intelligent terminal
CN104166610A (en) * 2014-07-24 2014-11-26 深圳天珑无线科技有限公司 Mobile terminal detection method and detection system
CN106570394A (en) * 2016-11-10 2017-04-19 厦门安胜网络科技有限公司 Method for detecting rogue programs
CN106776286A (en) * 2016-11-24 2017-05-31 工业和信息化部电信研究院 Mobile terminal APP remote detecting methods, mobile terminal and client
CN107392012A (en) * 2017-07-25 2017-11-24 广州平云信息科技有限公司 Application method for managing and monitoring, device and the mobile device of mobile device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140280913A1 (en) * 2013-03-15 2014-09-18 Moki Mobility, Inc. Device and settings management platform
CN103400076B (en) * 2013-07-30 2016-01-06 腾讯科技(深圳)有限公司 Malware detection methods, devices and systems on a kind of mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1860538A2 (en) * 2006-05-24 2007-11-28 LG Electronics Inc. Touch screen device and method of displaying images thereon
CN103561421A (en) * 2013-10-30 2014-02-05 上海天奕达电子科技有限公司 Method and device for monitoring multiple application programs in intelligent terminal
CN104166610A (en) * 2014-07-24 2014-11-26 深圳天珑无线科技有限公司 Mobile terminal detection method and detection system
CN106570394A (en) * 2016-11-10 2017-04-19 厦门安胜网络科技有限公司 Method for detecting rogue programs
CN106776286A (en) * 2016-11-24 2017-05-31 工业和信息化部电信研究院 Mobile terminal APP remote detecting methods, mobile terminal and client
CN107392012A (en) * 2017-07-25 2017-11-24 广州平云信息科技有限公司 Application method for managing and monitoring, device and the mobile device of mobile device

Also Published As

Publication number Publication date
CN108123937A (en) 2018-06-05

Similar Documents

Publication Publication Date Title
US11016641B2 (en) Method and apparatus for taking screenshot of screen of application in mobile terminal
KR102436987B1 (en) Method and terminal device for extracting web page content
CN105204797B (en) Screen sharing method and device using same
US8863157B2 (en) Method, device, and mobile terminal for API interception
CN108123937B (en) Multithreading monitoring method and system for monitoring mobile terminal application
CN107911388B (en) Method and system for supervising mobile terminal application
US20200293385A1 (en) Input operation processing method and processing apparatus and computer-readable storage medium
CN111897502A (en) Split screen control system and method
CN108089737B (en) Multi-mouse control method and device for single computer
CN112612436A (en) Screen projection switching method, device, equipment and storage medium
CN106250374B (en) Word-taking translation method and system
CN103488508B (en) Browser working method, browser and terminal equipment
CN106855772A (en) A kind of information displaying method and device
CN103377228A (en) Page content presenting method and device for browser
CN111158806A (en) Interface display method and device, computer equipment and storage medium
CN108023892B (en) Method and system for supervising mobile terminal application
US20140331238A1 (en) Electronic device and method for controlling application to execute input command
CN105138458A (en) Method and system for recording automatic testing scripts by combining intelligent terminal and computer terminal
CN112636978A (en) Security event processing method, device, equipment and computer readable storage medium
EP2911045A1 (en) Method and device for controlling switching of virtual navigation bar
CN107390981B (en) Global menu control method, device, equipment and storage medium
CN113961064A (en) Method, device and equipment for controlling equipment interaction based on workstation and storage medium
CN111552572A (en) Task processing method, readable storage medium and electronic device
CN105653386A (en) Process breakdown processing method and terminal equipment
US10511701B2 (en) Information processing apparatus, and control method and control program thereof

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