CN112910940B - Novel continuous intelligent picture cleaning method - Google Patents
Novel continuous intelligent picture cleaning method Download PDFInfo
- Publication number
- CN112910940B CN112910940B CN201911224805.3A CN201911224805A CN112910940B CN 112910940 B CN112910940 B CN 112910940B CN 201911224805 A CN201911224805 A CN 201911224805A CN 112910940 B CN112910940 B CN 112910940B
- Authority
- CN
- China
- Prior art keywords
- server
- network
- web
- feature
- pictures
- 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
Links
Images
Classifications
-
- 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/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- 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/957—Browsing optimisation, e.g. caching or content distillation
- G06F16/9577—Optimising the visualization of content, e.g. distillation of HTML documents
-
- 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/958—Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
-
- 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/958—Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
- G06F16/972—Access to data in other repository systems, e.g. legacy data or dynamic Web page generation
-
- 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/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1001—Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
- H04L67/1004—Server selection for load balancing
-
- 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/50—Network services
- H04L67/56—Provisioning of proxy services
Abstract
The invention discloses a novel continuous intelligent picture cleaning method, which comprises the following steps: the method comprises the following steps of setting up a server architecture, wherein the server architecture consists of a web browser, a web server, a reverse proxy server, a feature server and a database, the web browser layer provides a one-key intelligent cleaning button, and the feature server accesses the database; clicking a one-key cleaning button on a network browser terminal, and initiating an ajax request by a browser; the reverse proxy server performs load balancing on the request and distributes the request to the corresponding network server; calling a feature server in the network server to obtain picture resource information isolated from the current h5 work, and returning the picture resource information to the network server; the invention provides a function of intelligently clearing unused picture resources by one key, which can efficiently find out and delete the unused pictures of the terminal so as to prevent the pictures used in the terminal from being deleted by mistake.
Description
Technical Field
The invention relates to the technical field of Web application, in particular to a novel continuous intelligent picture cleaning method.
Background
At present, each large website or app is managed manually one by a user for resources uploaded by the application user. If an application user wants to clean up unused resources in a current website or app application, it needs to be checked and deleted one by one. Such operations requiring excessive manual coring and deletion are not applicable in some scenarios and are inefficient; in addition, some careless users may delete some picture resources already used in the work, which results in incomplete work, so a novel continuous picture intelligent cleaning method is proposed.
Disclosure of Invention
Based on the technical problems in the background art, the invention provides a novel continuous intelligent picture cleaning method.
The invention provides a novel continuous intelligent picture cleaning method, which comprises the following steps:
s1: the method comprises the steps of setting up a server architecture, wherein the server architecture consists of a network browser, a network server, a reverse proxy server, a feature server and a database, the network browser layer provides a one-key intelligent cleaning button, and the feature server accesses the database.
S2: clicking a one-key cleaning button on a network browser terminal, and initiating an ajax request by a browser;
s3: the reverse proxy server performs load balancing on the request and distributes the request to the corresponding network server;
s4: calling a feature server in the network server to obtain picture resource information isolated from the current h5 work, and returning the picture resource information to the network server;
s5: performing logic judgment in the network server, comparing used picture resources in the current h5 work, recording unused picture resource id, and returning to the network browser terminal;
s6: a popup window in the network browser terminal prompts the number of searched unused picture resources, and the popup window comprises two buttons of all cleaning and selective cleaning;
s7: and the terminal selects one key to completely clean all unused picture resources or enters a selective cleaning module.
Preferably, the web browser is connected with a reverse proxy server, the reverse proxy server is connected with a web server, the web server is connected with a feature server, the feature server is connected with a database, the reverse proxy server is located on the upper layer of the web browser, the web server is located on the upper layer of the reverse proxy server, the feature server is located on the upper layer of the web server, and the database is located on the upper layer of the feature server.
Preferably, the network server adopts a resin server.
Preferably, the reverse proxy server employs nginx.
Preferably, the feature server is an independently running network process written in java.
Preferably, the database employs mysql.
Preferably, the web browser layer provides a one-key smart scrubbing button through jQuery + webpage layout style div + setup layout format css.
Preferably, the selection cleaning comprises selecting unused pictures, selecting at all, displaying the number of selected pictures, deleting and exiting management.
The beneficial effects of the invention are as follows:
the resource of a certain h5 work is isolated in the website application, the resource uploaded by a user can be isolated independently, after the user manufactures the h5 work, the function of intelligently clearing the picture resource without use by one key is provided, the picture which is not used by the terminal can be efficiently found out and deleted, and the picture which is used by the terminal is prevented from being deleted by mistake.
Drawings
FIG. 1 is a system architecture diagram of a novel continuous intelligent image cleaning method according to the present invention;
FIG. 2 is a flowchart illustrating a novel continuous intelligent image cleaning method according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments.
Referring to fig. 1-2, a novel continuous intelligent picture cleaning method includes the following steps:
building a server architecture, wherein the server architecture consists of a web browser web-browser, a web server http-server, a reverse proxy server nginx, a feature server feature-server and a database;
the web browser web-browser is connected with a reverse proxy server nginx, the reverse proxy server nginx is connected with a web server http-server, the web server http-server is connected with a feature server feature-server, the feature server feature-server is connected with a database, the reverse proxy server nginx is positioned on the upper layer of the web browser web-browser, the web server http-server is positioned on the upper layer of the reverse proxy server nginx, the feature server feature-server is positioned on the upper layer of the web server http-server, and the database is positioned on the upper layer of the feature server feature-server;
the web-browser layer provides a one-key intelligent cleaning button through jQuery + webpage layout style div + setting layout format css, a reverse proxy server nginx performs load balancing on a request, a web server http-server adopts a resume server, a feature server feature-server is an independently running network process written by java, a database adopts mysql and is accessed by the feature server feature-server;
a user clicks a one-key cleaning button on a web browser, and the browser initiates an ajax request; the reverse proxy server nginx performs load balancing on the request and distributes the request to a corresponding network server resin; calling a feature server feature-server in a network server, thereby acquiring picture resource information isolated in the current h5 work and returning the picture resource information to the network server; performing logic judgment in the resin, comparing used picture resources in the current h5 work, recording unused picture resource id, and returning to the network browser;
the method comprises the steps that a popup window in a network browser terminal prompts the number of unused picture resources searched by a user, wherein the popup window comprises two buttons of all cleaning and selecting cleaning, and the user can select one key to clean all or select cleaning; a user selects one key at a terminal to completely clean all unused picture resources or enters a selective cleaning module; if entering the selection cleaning module, the user can select cleaning the unused pictures according to personal needs, and the selection cleaning comprises selecting the unused pictures, fully selecting, displaying the number of the selected pictures, deleting and exiting the management.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art should be considered to be within the technical scope of the present invention, and the technical solutions and the inventive concepts thereof according to the present invention should be equivalent or changed within the scope of the present invention.
Claims (8)
1. A novel continuous intelligent picture cleaning method is characterized by comprising the following steps:
s1: the method comprises the following steps of setting up a server architecture, wherein the server architecture consists of a web browser, a web server, a reverse proxy server, a feature server and a database, the web browser layer provides a one-key intelligent cleaning button, and the feature server accesses the database;
s2: clicking a one-key cleaning button on a network browser terminal, and initiating an ajax request by a browser;
s3: the reverse proxy server performs load balancing on the request and distributes the request to the corresponding network server;
s4: calling a feature server in the network server, acquiring picture resource information isolated in the current h5 work, and returning the picture resource information to the network server;
s5: performing logic judgment in the network server, comparing used picture resources in the current h5 work, recording unused picture resource id, and returning to the network browser terminal;
s6: a popup window in the network browser terminal prompts the number of searched unused picture resources, and the popup window comprises two buttons of all cleaning and selective cleaning;
s7: and the terminal selects one key to completely clean all unused picture resources or enters a selective cleaning module.
2. The intelligent cleaning method for continuous novel pictures as claimed in claim 1, wherein the web browser is connected with a reverse proxy server, the reverse proxy server is connected with a web server, the web server is connected with a feature server, the feature server is connected with a database, the reverse proxy server is located on the upper layer of the web browser, the web server is located on the upper layer of the reverse proxy server, the feature server is located on the upper layer of the web server, and the database is located on the upper layer of the feature server.
3. The intelligent cleaning method for continuous novel pictures as claimed in claim 2, characterized in that the network server adopts a resin server.
4. The intelligent cleaning method for continuous new pictures as claimed in claim 3, wherein said reverse proxy server employs nginx.
5. The intelligent cleaning method for continuous novel pictures as claimed in claim 4, wherein the feature server adopts java to write an independently running network process.
6. The intelligent cleaning method for continuous new pictures as claimed in claim 5, wherein the database is mysql.
7. The method as claimed in claim 6, wherein the web browser layer provides a one-key intelligent cleaning button through jQuery + web page layout style div + setting layout format css.
8. The intelligent cleaning method for continuous novel pictures as claimed in claim 7, wherein the selecting cleaning comprises selecting unused pictures, selecting completely, displaying the number of selected pictures, deleting and exiting management.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911224805.3A CN112910940B (en) | 2019-12-04 | 2019-12-04 | Novel continuous intelligent picture cleaning method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911224805.3A CN112910940B (en) | 2019-12-04 | 2019-12-04 | Novel continuous intelligent picture cleaning method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112910940A CN112910940A (en) | 2021-06-04 |
CN112910940B true CN112910940B (en) | 2022-06-17 |
Family
ID=76104444
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911224805.3A Active CN112910940B (en) | 2019-12-04 | 2019-12-04 | Novel continuous intelligent picture cleaning method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112910940B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101593207A (en) * | 2009-07-06 | 2009-12-02 | 孟智平 | The method and system of a kind of structure and generation webpage |
CN103475749A (en) * | 2013-09-11 | 2013-12-25 | 北京思特奇信息技术股份有限公司 | Cross-domain communication method and device |
CN103927183A (en) * | 2014-04-29 | 2014-07-16 | 广州凡科信息科技有限公司 | Mobile phone website system and working method thereof |
CN110196957A (en) * | 2019-06-03 | 2019-09-03 | 广州凡科互联网科技股份有限公司 | A kind of continous way static resource update method |
CN110489576A (en) * | 2019-07-18 | 2019-11-22 | 五八有限公司 | Picture resource processing method and system, client, server, processor and medium |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107197462B (en) * | 2017-06-28 | 2020-04-07 | 阿里巴巴集团控股有限公司 | Wireless network type detection method and device and electronic equipment |
-
2019
- 2019-12-04 CN CN201911224805.3A patent/CN112910940B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101593207A (en) * | 2009-07-06 | 2009-12-02 | 孟智平 | The method and system of a kind of structure and generation webpage |
CN103475749A (en) * | 2013-09-11 | 2013-12-25 | 北京思特奇信息技术股份有限公司 | Cross-domain communication method and device |
CN103927183A (en) * | 2014-04-29 | 2014-07-16 | 广州凡科信息科技有限公司 | Mobile phone website system and working method thereof |
CN110196957A (en) * | 2019-06-03 | 2019-09-03 | 广州凡科互联网科技股份有限公司 | A kind of continous way static resource update method |
CN110489576A (en) * | 2019-07-18 | 2019-11-22 | 五八有限公司 | Picture resource processing method and system, client, server, processor and medium |
Non-Patent Citations (1)
Title |
---|
巧用网络资源制作部门网页;文华;《电脑知识与技术》;20080715(第20期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN112910940A (en) | 2021-06-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105279535B (en) | A kind of identification code intellectual analysis processing system and its processing method | |
US20230229718A1 (en) | Shared User Driven Clipping of Multiple Web Pages | |
US20200073903A1 (en) | Method and device of tagging links included in a screenshot of webpage | |
US20130339337A1 (en) | Auto tagging method and system | |
CN104142964A (en) | Information matching method and device | |
JP5199939B2 (en) | Image search apparatus, image search method and program | |
US20120084657A1 (en) | Providing content to a user from multiple sources based on interest tag(s) that are included in an interest cloud | |
CN108369600A (en) | Web browser extends | |
US10061806B2 (en) | Presenting previously selected search results | |
CN109308337A (en) | Page sharing method and device | |
CN105824863A (en) | Desktop theme recommending method and terminal | |
CN104598467B (en) | Webpage picture display method and device | |
CN104537049A (en) | Picture browsing method and device | |
CN102663070B (en) | Method and system for supporting browser application | |
WO2015096358A1 (en) | Webpage layout method and apparatus | |
CN110457610A (en) | Information recommendation method, device, terminal, server and storage medium | |
CN112910940B (en) | Novel continuous intelligent picture cleaning method | |
CN104808891A (en) | Page information processing method and device | |
CN109240664A (en) | A kind of method and terminal acquiring user behavior information | |
WO2016101583A1 (en) | Display method, device and terminal | |
CN104850608A (en) | Method for searching keywords on information exhibiting page | |
CN104866545A (en) | Method for searching keywords on information display page | |
CN104965633A (en) | Service jumping method and apparatus | |
CN111310093B (en) | Information processing method and device, electronic equipment and storage medium | |
CN106445522A (en) | Storage interface display method based on floating window |
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 | ||
CP02 | Change in the address of a patent holder |
Address after: Room 301, Building 8, No. 67 Industrial Avenue North Road, Haizhu District, Guangzhou City, Guangdong Province, 510000 Patentee after: GUANGZHOU FAISCO INTERNET TECHNOLOGY CO.,LTD. Address before: 510250 first floor, building 5, NO.67, North Industrial Avenue, Haizhu District, Guangzhou, Guangdong Province Patentee before: GUANGZHOU FAISCO INTERNET TECHNOLOGY CO.,LTD. |
|
CP02 | Change in the address of a patent holder |