CN106970942A - A kind of method and terminal for relating to yellow content Initiative Defense - Google Patents
A kind of method and terminal for relating to yellow content Initiative Defense Download PDFInfo
- Publication number
- CN106970942A CN106970942A CN201710089628.7A CN201710089628A CN106970942A CN 106970942 A CN106970942 A CN 106970942A CN 201710089628 A CN201710089628 A CN 201710089628A CN 106970942 A CN106970942 A CN 106970942A
- Authority
- CN
- China
- Prior art keywords
- window
- yellow
- area
- screen
- windows
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9535—Search customisation based on user profiles and personalisation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
Abstract
The invention discloses a kind of method and terminal for relating to yellow content Initiative Defense, method includes:The window handle of all windows under timing acquisition operating system;Obtain the coordinate position at each window four angles on screen successively according to window handle;Each window is ranked up according to the coordinate points of window;The area that each window of cycle calculations is shown on screen;Blocked if window has by other windows, calculate the area not being blocked;If window shows that area is more than preset value, sectional drawing is carried out to window;The yellow model of mirror is called to carry out yellow content discriminating to the window sectional drawing;If judgement belongs to yellow content, the screen locking operation for operation of forbidding manufacture is performed, and is locally preserving picture and the operation note of user;The yellow result of mirror is uploaded to management and control Cloud Server, default contact person is notified.The present invention can have found that user relates to yellow content being checked using software programs such as web browser, video jukebox software, image software, game in real time, and prevent and report parent or manager in time.
Description
Technical field
The present invention relates to communication technical field, more particularly to a kind of method and terminal for relating to yellow content Initiative Defense.
Background technology
At present, teenager using network crowd amount it is growing, teenager using terminal such as PC computers, mobile phone, put down
When plate computer or Web TV, often in face of the temptation of various yellow pictures, video or word, some are passive, and some are
Active, because teenager's ability of self control is not strong, parent is as having found that with management and control many adverse consequences can be caused not in time.But,
Currently for the yellow service of picture mirror, all in cloud service, called for some Dropbox classes, live class service background, only realize thing
Image authentication afterwards.And for carrying out management and control operation directly in terminal, similar product and case are had no at present.But actually
There are substantial amounts of students in middle and primary schools, network bar users also carrying out various application operatings using PC computers, this process needs to be monitored,
Especially relate to yellow party face.
The content of the invention
It is an object of the invention to overcome the deficiencies in the prior art, propose that one kind overcomes above mentioned problem or at least in part
A kind of method and terminal for relating to yellow content Initiative Defense solved the above problems, realizes and management and control operation is directly carried out in terminal,
It can find that user is related to being checked using software programs such as web browser, video jukebox software, image software, game in real time
Yellow content, and parent or manager are prevented and reported in time.
The technical solution adopted for the present invention to solve the technical problems is:
On the one hand the embodiments of the invention provide a kind of method for relating to yellow content Initiative Defense, including:
The window handle of all windows under timing acquisition operating system;
Obtain the coordinate position at each window four angles on screen successively according to window handle, and by the seat of all windows
Punctuate is stored into array;
Each window is ranked up according to the coordinate points of window;
The area that each window of cycle calculations is shown on screen;Blocked if window has by other windows, calculate and do not hidden
The area of gear, the area not being blocked is set to the area of display;If window shows that area is more than preset value, window is carried out
Sectional drawing;
The yellow model of mirror is called to carry out yellow content discriminating to the window sectional drawing;If judgement belongs to yellow content, perform
Forbid manufacture the screen locking operation of operation, and in the operation note for locally preserving picture and user;
The yellow result of mirror is uploaded to management and control Cloud Server, default contact person is notified by management and control Cloud Server.
In a kind of optional implementation, the window handle of all windows under the timing acquisition operating system, including:
The timing of execution time that timing automatic execution task is set is received, is grasped according to the timing of execution time timing acquisition
Make the window handle of all windows under system.
The operating system includes Windows, Android, Linux or IOS.
In a kind of optional implementation, the coordinate points according to window are ranked up to each window, including:
According to the coordinate points of window, each window is pressed from the upper left corner forefront of screen to the order of lower right corner rearmost
It is ranked up.
In a kind of optional implementation, the area that each window of cycle calculations is shown on screen, including:
Since the window of foremost, the area that each window of cycle calculations is shown on screen.
It is described to call the yellow model of mirror to carry out yellow picture mirror to the window sectional drawing in a kind of optional implementation
Not, including:The yellow model of offline mirror is called to carry out yellow picture discriminating to the window sectional drawing.
The two aspect embodiment of the present invention additionally provide a kind of terminal, including:
Information reading unit, for receiving the timing of execution time that timing automatic execution task is set, according to the timing
The window handle of all windows under execution time timing acquisition operating system;
Information process unit, the coordinate bit for obtaining each window four angles on screen successively according to window handle
Put, and the coordinate points of all windows are stored into array;Each window is ranked up according to the coordinate points of window;Circulation meter
Calculate the area that each window is shown on screen;Blocked if window has by other windows, calculate the area not being blocked, will not by
The area blocked is set to the area of display;If window shows that area is more than preset value, sectional drawing is carried out to window;Call the yellow mould of mirror
Type carries out yellow content discriminating to the window sectional drawing, if judging to be related to yellow content, performs the screen locking operation for operation of forbidding manufacture,
And locally preserving picture and the operation note of user;
Information transmitting unit, for the yellow result of mirror to be uploaded into management and control Cloud Server, notifies default by management and control Cloud Server
Contact person.
The terminal includes PC, mobile phone, tablet personal computer or Web TV.
The three aspect present invention implement row and provide a kind of terminal, including:Wireless Telecom Equipment, storage device, processor and aobvious
Display screen;The memory storage has executable program;The processor is used to run the executable program execution present invention in fact
The method that any one of example offer is provided.
The terminal includes PC, mobile phone, tablet personal computer or Web TV.
As can be seen from the above technical solutions, the embodiment of the present invention has advantages below:There is provided a kind of directly in terminal
The yellow content active defense method that relates to of management and control operation is carried out, realizes and management and control operation is directly carried out in terminal, can send out in real time
Existing user relates to yellow content being checked using software programs such as web browser, video jukebox software, image software, game, and and
When prevent and report parent or manager.
Described above is only the general introduction of technical solution of the present invention, in order to more clearly understand the technology hand of the present invention
Section, be practiced so as to the content according to specification, and in order to allow the present invention above and other objects, features and advantages
It can become apparent, be exemplified below the embodiment of the present invention.
According to the accompanying drawings to the detailed description of the specific embodiment of the invention, those skilled in the art will be brighter
Above-mentioned and other purpose, the advantages and features of the present invention.
Brief description of the drawings
Fig. 1 is flow chart of the method for the present invention;
Fig. 2 is implementation process figure of the inventive method under Windows systems;
Fig. 3 is terminal structure of embodiment of the present invention schematic diagram one;
Fig. 4 is terminal structure of embodiment of the present invention schematic diagram two.
Embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention
Formula is described in further detail.
It should be noted that the executive agent of the method for present embodiment is terminal, the terminal includes PC, mobile phone, put down
Plate computer or Web TV, the present invention do not do unique restriction, it is corresponding, the PC and Web TV can be used Windows or
Android or IOS can be used in (SuSE) Linux OS, the mobile phone and tablet personal computer, and the present invention does not do unique limit
It is fixed, a kind of method flow diagram for relating to yellow content Initiative Defense of the present invention as shown in figure 1, including:
Step 101, under timing acquisition operating system all windows window handle;
Specifically, being performed including receiving the timing of execution time that timing automatic execution task is set, and according to the timing
The window handle of all windows under time timing acquisition operating system.Further, the setting of timing automatic execution task can make
The function that operating system is carried is realized, oneself can also be realized, the present invention does not do unique restriction.The subsequent processes root of the present invention
The timing of execution time that task is set is performed according to automatic, performs and once checks every the timing of execution time.
Further, various ways can be used in the acquisition for screen window handle, such as under Windows operating system,
The handle of desktop window can be first obtained using GetDesktopWindow functions, GetWindow function loops is reused and obtains table
The handle of all subwindows under face.
Step 102, the coordinate position at each window four angles on screen is obtained successively according to window handle, and will be all
The coordinate points of window are stored into array;
Step 103, each window is ranked up according to the coordinate points of window;
Specifically, can be pressed according to the coordinate points of window to each window from the upper left corner forefront of screen to the lower right corner most
The order at rear is ranked up.
Step 104, the area that each window of cycle calculations is shown on screen;Blocked, count by other windows if window has
The area not being blocked is calculated, the area not being blocked is set to the area of display;If window shows that area is more than preset value, right
Window carries out sectional drawing;
Specifically, since the window of foremost, the area that each window of cycle calculations is shown on screen,;If window has
Blocked by other windows, then calculate the area not being blocked, the area not being blocked is set to the area of display;If window is shown
Area is more than preset value, then carries out sectional drawing to window.
Step 105, the yellow model of mirror is called to carry out yellow content discriminating to the window sectional drawing;If judgement belongs in yellow
Hold, then perform the screen locking operation for operation of forbidding manufacture, and locally preserving picture and the operation note of user;
Specifically, calling the yellow model of offline mirror to carry out yellow picture discriminating to the window sectional drawing, the yellow content can
To be the information of picture, video or word or other forms.
Step 106, the yellow result of mirror is uploaded to management and control Cloud Server, default contact person is notified by management and control Cloud Server.
Implementation process figure of the inventive method under Windows systems is illustrated in figure 2, including:
One timer system process is set, according to the time of setting, surface sweeping is timed;
Timing cycle obtains all window handles of Windows, and whether be empty, if not being if judging the window handle got
Sky, obtains four angular coordinate positions of window, and be stored in window data array;If sky, obtain window handle and complete, then basis
Window coordinates point, is ranked up to window by from the upper left corner forefront of desktop to the order of lower right corner rearmost;
Since the window of foremost, the area that cycle calculations window is shown on the table judges the window sentence got
Whether handle is empty, if sky, terminates process;If being not sky, judge that window shows whether area is more than the threshold value of setting, such as
Fruit is not more than, and calculates the area that next window is shown on the table;Otherwise, sectional drawing is carried out to window, calls the yellow mould of offline mirror
Type differentiates sectional drawing content, if identification result calculates the area that next window is shown on the table not relate to Huang;If related to
Huang, by PC computer screen locks, preserves picture and operation note, and uploads the yellow result of mirror to management and control Cloud Server, is led to by Cloud Server
Know parent or keeper.
The embodiment of the present invention additionally provides a kind of terminal, as shown in figure 3, including:
Information reading unit 301, for receiving the timing of execution time that timing automatic execution task is set, according to described fixed
The window handle of all windows under Shi Zhihang time timing acquisition operating systems;
Information process unit 302, the coordinate for obtaining each window four angles on screen successively according to window handle
Position, and the coordinate points of all windows are stored into array;Each window is ranked up according to the coordinate points of window;Circulation
Calculate the area that each window is shown on screen;Blocked if window has by other windows, calculate the area not being blocked, will not
The area being blocked is set to the area of display;If window shows that area is more than preset value, sectional drawing is carried out to window;Call mirror yellow
Model carries out yellow content discriminating to the window sectional drawing, if judging to be related to yellow content, performs the screen locking behaviour for operation of forbidding manufacture
Make, and locally preserving picture and the operation note of user;
Information transmitting unit 303, for the yellow result of mirror to be uploaded into management and control Cloud Server, notifies pre- by management and control Cloud Server
If contact person.
The embodiment of the present invention additionally provides another terminal, includes as shown in Figure 4:Wireless Telecom Equipment 401, storage device
402nd, processor 403 and display screen 404;Each hardware device can be communicated using bus above.
Wherein, storage device 402 can be stored with executable program;
Above-mentioned processor 403 then can be used for running above-mentioned executable program performing following method and step:
The window handle of all windows under timing acquisition operating system;
Specifically, being performed including receiving the timing of execution time that timing automatic execution task is set, and according to the timing
The window handle of all windows under time timing acquisition operating system.Further, the setting of timing automatic execution task can make
The function that operating system is carried is realized, oneself can also be realized, the present invention does not do unique restriction.The subsequent processes root of the present invention
The timing of execution time that task is set is performed according to automatic, performs and once checks every the timing of execution time.
Further, various ways can be used in the acquisition for screen window handle, such as under Windows operating system,
The handle of desktop window can be first obtained using GetDesktopWindow functions, GetWindow function loops is reused and obtains table
The handle of all subwindows under face.
Obtain the coordinate position at each window four angles on screen successively according to window handle, and by the seat of all windows
Punctuate is stored into array;
Each window is ranked up according to the coordinate points of window;
Specifically, can be pressed according to the coordinate points of window to each window from the upper left corner forefront of screen to the lower right corner most
The order at rear is ranked up.
The area that each window of cycle calculations is shown on screen;Blocked if window has by other windows, calculate and do not hidden
The area of gear, the area not being blocked is set to the area of display;If window shows that area is more than preset value, window is carried out
Sectional drawing;
Specifically, since the window of foremost, the area that each window of cycle calculations is shown on screen,;If window has
Blocked by other windows, then calculate the area not being blocked, the area not being blocked is set to the area of display;If window is shown
Area is more than preset value, then carries out sectional drawing to window.
The yellow model of mirror is called to carry out yellow content discriminating to the window sectional drawing;If judgement belongs to yellow content, perform
Forbid manufacture the screen locking operation of operation, and in the operation note for locally preserving picture and user;
Specifically, calling the yellow model of offline mirror to carry out yellow picture discriminating to the window sectional drawing, the yellow content can
To be the information of picture, video or word or other forms.
The yellow result of mirror is uploaded to management and control Cloud Server, default contact person is notified by management and control Cloud Server.
In the embodiment of the present invention yellow content Initiative Defense side is related to there is provided a kind of progress management and control operation directly in terminal
Method, realizes and management and control operation is directly carried out in terminal, can find user soft using web browser, video playback in real time
The software programs such as part, image software, game, which are checked, relates to yellow content, and prevents and report parent or manager in time.
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all the present invention spirit and
Within principle, any modification, equivalent substitution and improvements made etc. should be included in the scope of the protection.
Claims (10)
1. a kind of method for relating to yellow content Initiative Defense, including:
The window handle of all windows under timing acquisition operating system;
Obtain the coordinate position at each window four angles on screen successively according to window handle, and by the coordinate points of all windows
Store in array;
Each window is ranked up according to the coordinate points of window;
The area that each window of cycle calculations is shown on screen;Blocked if window has by other windows, calculate what is be not blocked
Area, the area not being blocked is set to the area of display;If window shows that area is more than preset value, window is cut
Figure;
The yellow model of mirror is called to carry out yellow content discriminating to the window sectional drawing;If judgement belongs to yellow content, execution is forbidden manufacture
The screen locking operation of operation, and locally preserving picture and the operation note of user;
The yellow result of mirror is uploaded to management and control Cloud Server, default contact person is notified by management and control Cloud Server.
2. the method according to claim 1 for relating to yellow content Initiative Defense, it is characterised in that the timing acquisition operation system
The window handle of all windows under system, including:
The timing of execution time that timing automatic execution task is set is received, system is operated according to the timing of execution time timing acquisition
The window handle of all windows under system.
3. the method according to claim 1 for relating to yellow content Initiative Defense, it is characterised in that the operating system includes
Windows, Android, Linux or IOS.
4. the method according to claim 1 for relating to yellow content Initiative Defense, it is characterised in that the coordinate according to window
Point is ranked up to each window, including:
According to the coordinate points of window, each window is carried out by the order from the upper left corner forefront of screen to lower right corner rearmost
Sequence.
5. the method according to claim 1 for relating to yellow content Initiative Defense, it is characterised in that each window of cycle calculations
The area shown on screen, including:
Since the window of foremost, the area that each window of cycle calculations is shown on screen.
6. the method according to claim 1 for relating to yellow content Initiative Defense, it is characterised in that described to call the yellow model pair of mirror
The window sectional drawing carries out yellow picture discriminating, including:The yellow model of offline mirror is called to carry out yellow picture to the window sectional drawing
Differentiate.
7. a kind of terminal, including:
Information reading unit, for receiving the timing of execution time that timing automatic execution task is set, is performed according to the timing
The window handle of all windows under time timing acquisition operating system;
Information process unit, the coordinate position for obtaining each window four angles on screen successively according to window handle, and
The coordinate points of all windows are stored into array;Each window is ranked up according to the coordinate points of window;Cycle calculations are each
The area that window is shown on screen;Blocked if window has by other windows, calculate the area not being blocked, will be blocked
Area be set to display area;If window shows that area is more than preset value, sectional drawing is carried out to window;Call the yellow model pair of mirror
The window sectional drawing carries out yellow content discriminating, if judging to be related to yellow content, the screen locking for performing operation of forbidding manufacture is operated, and
It is local to preserve picture and the operation note of user;
Information transmitting unit, for the yellow result of mirror to be uploaded into management and control Cloud Server, default contact is notified by management and control Cloud Server
People.
8. terminal according to claim 7, it is characterised in that the terminal includes PC, mobile phone, tablet personal computer or network electricity
Depending on.
9. a kind of terminal, including:Wireless Telecom Equipment, storage device, processor and display screen;Characterized in that, the storage
Device is stored with executable program;The processor is used to run 1~6 any one institute of executable program perform claim requirement
The method stated.
10. terminal according to claim 9, it is characterised in that the terminal includes PC, mobile phone, tablet personal computer or network
TV.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710089628.7A CN106970942B (en) | 2017-02-20 | 2017-02-20 | Method and terminal for actively defending yellow-related content |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710089628.7A CN106970942B (en) | 2017-02-20 | 2017-02-20 | Method and terminal for actively defending yellow-related content |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106970942A true CN106970942A (en) | 2017-07-21 |
CN106970942B CN106970942B (en) | 2020-08-11 |
Family
ID=59334616
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710089628.7A Active CN106970942B (en) | 2017-02-20 | 2017-02-20 | Method and terminal for actively defending yellow-related content |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106970942B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107426239A (en) * | 2017-08-17 | 2017-12-01 | 绿网天下(福建)网络科技股份有限公司 | A kind of method and terminal for relating to yellow content active interception |
CN108229535A (en) * | 2017-12-01 | 2018-06-29 | 百度在线网络技术(北京)有限公司 | Relate to yellow image audit method, apparatus, computer equipment and storage medium |
CN109815090A (en) * | 2019-01-22 | 2019-05-28 | 厦门美柚信息科技有限公司 | A kind of calculation method, system, equipment and its storage medium of forms effective area |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101931646A (en) * | 2010-08-04 | 2010-12-29 | 宇龙计算机通信科技(深圳)有限公司 | Internet brows management method, system and terminal |
CN101930368A (en) * | 2010-08-31 | 2010-12-29 | 广东威创视讯科技股份有限公司 | Computer screen interception method and system thereof |
US20110191337A1 (en) * | 2010-02-03 | 2011-08-04 | Xobni Corporation | Providing User Input Suggestions for Conflicting Data Using Rank Determinations |
CN103532918A (en) * | 2012-07-06 | 2014-01-22 | 天讯天网(福建)网络科技有限公司 | Mobile-terminal monitoring method and system based on mobile Internet and cloud computing |
-
2017
- 2017-02-20 CN CN201710089628.7A patent/CN106970942B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110191337A1 (en) * | 2010-02-03 | 2011-08-04 | Xobni Corporation | Providing User Input Suggestions for Conflicting Data Using Rank Determinations |
CN101931646A (en) * | 2010-08-04 | 2010-12-29 | 宇龙计算机通信科技(深圳)有限公司 | Internet brows management method, system and terminal |
CN101930368A (en) * | 2010-08-31 | 2010-12-29 | 广东威创视讯科技股份有限公司 | Computer screen interception method and system thereof |
CN103532918A (en) * | 2012-07-06 | 2014-01-22 | 天讯天网(福建)网络科技有限公司 | Mobile-terminal monitoring method and system based on mobile Internet and cloud computing |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107426239A (en) * | 2017-08-17 | 2017-12-01 | 绿网天下(福建)网络科技股份有限公司 | A kind of method and terminal for relating to yellow content active interception |
CN108229535A (en) * | 2017-12-01 | 2018-06-29 | 百度在线网络技术(北京)有限公司 | Relate to yellow image audit method, apparatus, computer equipment and storage medium |
CN109815090A (en) * | 2019-01-22 | 2019-05-28 | 厦门美柚信息科技有限公司 | A kind of calculation method, system, equipment and its storage medium of forms effective area |
Also Published As
Publication number | Publication date |
---|---|
CN106970942B (en) | 2020-08-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20230237141A1 (en) | Security verification method and relevant device | |
CN104333863B (en) | Connection management method and device, electronic equipment | |
JP2018529148A (en) | Group message prompt method and apparatus for instant messaging application | |
CN104978739B (en) | A kind of image object choosing method and device | |
CN106970942A (en) | A kind of method and terminal for relating to yellow content Initiative Defense | |
CN106412917A (en) | Network expansion method and device | |
CN102801649A (en) | Method and terminal for establishing shortcut of instant messaging interactive interface | |
CN105335633B (en) | A kind of mobile terminal glance prevention method and mobile terminal | |
CN108829468B (en) | Three-dimensional space model skipping processing method and device | |
US20170366564A1 (en) | Identity authentication method, apparatus, and system | |
WO2015157984A1 (en) | Method, device and electronic terminal for information reminding | |
CN107071556A (en) | A kind of interface rendering intent and device | |
CN106331572A (en) | Image-based control method and device | |
CN107145280A (en) | A kind of image processing method and device | |
CN104836696B (en) | A kind of detection method and device of IP address | |
CN108920037B (en) | Method and device for displaying virtual three-dimensional space of house | |
CN104601603B (en) | A kind of game resource processing method and equipment | |
CN107590015A (en) | The method and apparatus for monitoring the obstruction of main thread | |
CN107608613A (en) | A kind of method and terminal for preventing maloperation | |
CN110928397B (en) | User interface refreshing method and device, storage medium and electronic device | |
CN107426239A (en) | A kind of method and terminal for relating to yellow content active interception | |
KR102445530B1 (en) | Method and apparatus for visualization of public welfare activities | |
CN111901318A (en) | Method, system and equipment for detecting command injection attack | |
CN105446516A (en) | Information input method and device | |
CN106775217A (en) | A kind of application identities processing method, device and terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
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 |