CN112860772A - Static file replacing service storage information data processing system - Google Patents
Static file replacing service storage information data processing system Download PDFInfo
- Publication number
- CN112860772A CN112860772A CN201911102614.XA CN201911102614A CN112860772A CN 112860772 A CN112860772 A CN 112860772A CN 201911102614 A CN201911102614 A CN 201911102614A CN 112860772 A CN112860772 A CN 112860772A
- Authority
- CN
- China
- Prior art keywords
- data processing
- file
- data
- server
- database
- 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
Images
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/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/25—Integrating or interfacing systems involving database management systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/28—Databases characterised by their database models, e.g. relational or object models
- G06F16/284—Relational databases
-
- 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/986—Document structures and storage, e.g. HTML extensions
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a static file replacing service storage information data processing system, which comprises a server and a personal user end, wherein the server comprises a front end request interface module, a js file processing module and a js data sending module; the personal user side comprises a server demand interface, a front-end interface and a background data processing module; the background data processing module comprises a mysql database and a redis database. In the invention, a static file local reading and writing mode is adopted, so that the used data requests are reduced, the pressure of a server is reduced, and the data is written into the js file and the js file acquisition number, so that the realization mode is simple and the cost is low.
Description
Technical Field
The invention belongs to the technical field of computers, and particularly relates to a static file replacement service storage information data processing system.
Background
The data service is an information technology driven service for providing various survival form evolution of data such as data acquisition, data transmission, data storage, data processing, data exchange, data destruction and the like.
Data service is an indispensable technology in various software at present, however, in order to solve data display of information software products, most of software in the market at present adopts front-end and back-end separation, and if the back-end service is down or the server pressure is too large, the response is slow, the page cannot be opened or no data is displayed after the page is opened.
Disclosure of Invention
The invention aims to: in order to solve the technical problem in reality, a static file replacing service storage information data processing system is provided.
The technical scheme adopted by the invention is as follows:
a static file replacing service storage information data processing system comprises a server and a personal user end,
the server comprises a front-end request interface module, a js file processing module and a js data sending module;
the personal user side comprises a server demand interface, a front-end interface and a background data processing module;
the background data processing module comprises a mysql database and a redis database.
The front-end request interface module comprises an internet information transmission interface and a server response interface;
on which a service process supporting the response protocol of HTTP or WebRTC or equivalent transport protocol of P2P is deployed.
And the js file processing module and the js file sending module transcode and store the information data on the server.
The mysql database is a permanently-stored relational database, a data processing basic module is deployed on the mysql database, the redis database is a non-relational database, and data on the redis database is obtained through the js data sending module to obtain js file data in a json format.
Wherein, the front end request interface and the server request interface transmit data through a TCP/IP communication protocol.
The js file processing module directly generates js files from information data, such as news, information, brief introduction and the like, and the redis database stores the js files acquired by the server side.
And the mysql database analyzes the js file stored in the redis database.
And the js file data analyzed by the mysql database is visually displayed through front-end interface data display hardware in the background data processing module.
In summary, due to the adoption of the technical scheme, the invention has the beneficial effects that:
1. in the invention, a local reading and writing mode of a static file is adopted, a piece of data is inserted into a background, the data is respectively inserted into a mysql database and a redis database, when the data is acquired, the data is required to be acquired by a server through an interface, the server directly sends a js file to an individual user end and stores the js file through a non-relational database, and because the js file belongs to the static file, the server end does not exist, including the server end is down at the moment, and the data acquired from the js is not influenced.
2. In the invention, the data is written into the js file and the js file acquisition number is adopted, and the data writing into the js file and the js file acquisition belong to basic technologies in use, so the scheme has simple implementation mode and lower cost.
3. In the invention, the used data requests are reduced, so that the system downtime caused by the service pressure is reduced, the operation and maintenance cost of the server caused by online troubleshooting is reduced, and the pressure of the server can be met.
Drawings
FIG. 1 is a schematic diagram of the structure of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of description and simplicity of description, but do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be construed as limiting the present invention; the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance; furthermore, unless expressly stated or limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly, as they may be fixedly connected, detachably connected, or integrally connected, for example; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
First embodiment, referring to fig. 1, a static file replacement service stored information class data processing system includes two parts, namely a server and a personal user end,
the server comprises a front-end request interface module, a js (JavaScript is an transliterated script language, is a dynamic type, a weak type, a prototype-based language, and is internally provided with a support type, an interpreter of the JavaScript engine is called a JavaScript engine, is a part of a browser, is widely used for the script language of a client, is used on an HTML webpage at first and is used for adding dynamic functions to the HTML webpage) file processing module and a js data sending module;
the personal user side comprises a server demand interface, a front-end interface and a background data processing module;
the background data processing module comprises a MySQL (MySQL is a relational database management system of open source codes, and uses the most common database management language-structured query language to perform database management) database, a Redis (Redis is an open source log-type and Key-Value database written by ANSIC language, supporting network, and being based on memory and also being durable, and provides API of multiple languages) database, and the personal user side decodes the data on the server through data communication between the server and the personal user side, and the MySQL database and the Redis database arranged on the personal user side, so as to reduce the burden of the server and the request response time of the server.
In a second embodiment, referring to fig. 1, the front-end request interface module includes an internet information transmission and server response interface;
deployed thereon is a service process supporting HTTP (HTTP is a simple request-response protocol, which usually runs on TCP) response protocol or WebRTC (the name is derived from the acronym of web instant messaging, is an API supporting web browsers for real-time voice or video dialogs, which is open at 6/1/2011 and is incorporated into the W3C recommendation of the world wide web consortium under the support of Google, Mozilla, Opera) or equivalent transport protocols supporting P2P (peer-to-peer networks, i.e. peer-to-peer computer networks, are a distributed application architecture that distributes tasks and workloads between peers, are a networking or networking form of peer-to-peer computing models formed at the application layer); the js file processing module and the js file sending module transcode and store the information data on the server; the mysql database is a permanently-stored relational database, a data processing basic module is deployed on the mysql database, the redis database is a non-relational database, data on the redis database is obtained through a js data sending module, js file data in a json format is obtained, and therefore the received js file data are written into the non-relational database for caching and then are calculated and processed through the relational database to obtain a static file.
In a third embodiment, referring to fig. 1, data is transmitted between the front-end request interface and the server request interface based on a TCP/IP communication protocol, the js file processing module directly generates js files from information data, such as news, information, and profiles, and the redis database stores the js files acquired by the server, so that the server directly transmits fixed information (such as news, information, profiles) of a website to the personal user side during the first information transmission with the personal user side, thereby reducing multiple data requests of the personal user side to the server and reducing the load of the server.
In the fourth embodiment, referring to fig. 1, the mysql database analyzes the js file stored in the redis database, and the js file data analyzed by the mysql database is visually displayed through front-end interface data display hardware in the background data processing module, so that the data in the js file is directly processed and displayed inside the personal user side, and the data transmission of the service storage information performed for many times is reduced.
The working principle is as follows: firstly, when information display data is added in a background, data is inserted into a relational database (permanent storage) and a non-relational database (data acquisition), and when the front end acquires the data each time, the information data can be directly acquired from the local without a server, even if the server is down, page information still exists, so that the problem that the server is over stressed due to data requests is solved, and meanwhile, the problem that the data cannot be displayed due to the fact that the server is down in the case of the data requests is avoided, and therefore poor post-use experience is caused; secondly, inserting a piece of data in a background, respectively inserting the data into a mysql database and a redis database, then when the data is acquired, acquiring the data through an interface to a server, at the moment, directly sending a js file to a personal user end by the server, and storing the js file through a non-relational database.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.
Claims (8)
1. The static file replaces the service storage information class data processing system, including server and personal user end two major parts, characterized by that:
the server comprises a front-end request interface module, a js file processing module and a js data sending module;
the personal user side comprises a server demand interface, a front-end interface and a background data processing module;
the background data processing module comprises a mysql database and a redis database.
2. The static file replacement service stored information class data processing system of claim 1, wherein: the front-end request interface module comprises an internet information transmission interface and a server response interface;
on which a service process supporting the response protocol of HTTP or WebRTC or equivalent transport protocol of P2P is deployed.
3. The static file replacement service stored information class data processing system of claim 1, wherein: and the js file processing module and the js file sending module transcode and store the information data on the server.
4. The static file replacement service stored information class data processing system of claim 1, wherein: the mysql database is a permanently-stored relational database, a data processing basic module is deployed on the mysql database, the redis database is a non-relational database, and data on the redis database is obtained through the js data sending module to obtain js file data in a json format.
5. The static file replacement service stored information class data processing system of claim 1, wherein: the front-end request interface and the server request interface transfer data through a TCP/IP communication protocol.
6. The static file replacement service stored information class data processing system of claim 1, wherein: the js file processing module directly generates js files from information data, such as news, information, brief introduction and the like, and the redis database stores the js files acquired by the server side.
7. The static file replacement service stored information class data processing system of claim 1, wherein: and the mysql database analyzes the js file stored in the redis database.
8. The static file replacement service stored information class data processing system of claim 1, wherein: and the js file data analyzed by the mysql database is visually displayed through front-end interface data display hardware in the background data processing module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911102614.XA CN112860772B (en) | 2019-11-12 | 2019-11-12 | Static file substitution service storage information class data processing system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911102614.XA CN112860772B (en) | 2019-11-12 | 2019-11-12 | Static file substitution service storage information class data processing system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112860772A true CN112860772A (en) | 2021-05-28 |
CN112860772B CN112860772B (en) | 2023-05-26 |
Family
ID=75984453
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911102614.XA Active CN112860772B (en) | 2019-11-12 | 2019-11-12 | Static file substitution service storage information class data processing system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112860772B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103237003A (en) * | 2013-01-17 | 2013-08-07 | 北京印天网真科技有限公司 | Method and device for responding to high visiting flow in network |
CN108668149A (en) * | 2018-03-13 | 2018-10-16 | 百途新媒体技术(北京)有限公司 | A kind of data generation system based on IPTV EPG static datas |
EP3467679A1 (en) * | 2016-06-06 | 2019-04-10 | Alibaba Group Holding Limited | Data processing method and device |
CN109933329A (en) * | 2019-03-01 | 2019-06-25 | 深圳微品致远信息科技有限公司 | A kind of method that software product carries out intelligent deployment O&M by cloud |
CN110083616A (en) * | 2019-04-19 | 2019-08-02 | 深圳前海微众银行股份有限公司 | Page data processing method, device, equipment and computer readable storage medium |
-
2019
- 2019-11-12 CN CN201911102614.XA patent/CN112860772B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103237003A (en) * | 2013-01-17 | 2013-08-07 | 北京印天网真科技有限公司 | Method and device for responding to high visiting flow in network |
EP3467679A1 (en) * | 2016-06-06 | 2019-04-10 | Alibaba Group Holding Limited | Data processing method and device |
CN108668149A (en) * | 2018-03-13 | 2018-10-16 | 百途新媒体技术(北京)有限公司 | A kind of data generation system based on IPTV EPG static datas |
CN109933329A (en) * | 2019-03-01 | 2019-06-25 | 深圳微品致远信息科技有限公司 | A kind of method that software product carries out intelligent deployment O&M by cloud |
CN110083616A (en) * | 2019-04-19 | 2019-08-02 | 深圳前海微众银行股份有限公司 | Page data processing method, device, equipment and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN112860772B (en) | 2023-05-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9866612B2 (en) | Server-based browser system | |
CN102684986B (en) | Method and system for displaying pictures at terminal | |
CN1749998B (en) | Method for scaling images for usage on a mobile communication device | |
CN110866204B (en) | Page processing method and device | |
US9313015B2 (en) | HTTP-based synchronization method and apparatus | |
US20130305140A1 (en) | Apparatus, system, and method for obtaining image and text information | |
CN104077310B (en) | Load the method, apparatus and system of resource file | |
Lemlouma et al. | Adapted content delivery for different contexts | |
EP2696300A2 (en) | Network based font subset management | |
CN106897336A (en) | Web page files sending method, webpage rendering intent and device, webpage rendering system | |
CN102761532A (en) | Information processing system and method for network video | |
CN109413140B (en) | Remote automatic upgrading method for PACS server | |
CN103312751A (en) | Instant messaging method based on browser | |
KR100467005B1 (en) | Wireless Application Service Provider system | |
US10749926B2 (en) | Proxy for modifying HTTP messages to comply with browser | |
CN105208004B (en) | A kind of data storage method based on OBD equipment | |
CN110633443B (en) | Method, device, equipment and medium for intra-page data communication | |
CN104615597A (en) | Method, device and system for clearing cache file in browser | |
CN108874472B (en) | Method and system for optimally displaying user head portraits | |
US8949375B2 (en) | Data processing of media file types supported by client devices | |
US20010056497A1 (en) | Apparatus and method of providing instant information service for various devices | |
CN112860772B (en) | Static file substitution service storage information class data processing system | |
CN106533819B (en) | Error monitoring method, device and system for online service | |
WO2017024976A1 (en) | Display method and apparatus for real-time information | |
CN107623678B (en) | Subway vehicle liquid crystal display equipment fault inspection system |
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 |