Data storage method, system and device and computer readable storage medium

A database and computer program technology, applied in the field of website data storage, can solve the problems of complex process, Mysql stored process does not support multi-threading, low efficiency, etc., to achieve the effect of improving efficiency

Active Publication Date: 2019-11-26
云汉芯城(上海)互联网科技股份有限公司
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, since PHP does not support multithreading very well, and Mysql stored procedures do not support multithreading, it is very inefficient to use PHP and stored procedures to store massive text in database tables; at the same time, if there is an interruption (such as error reporting, etc.) The situation needs to restore the data, the process is complicated

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Data storage method, system and device and computer readable storage medium
  • Data storage method, system and device and computer readable storage medium
  • Data storage method, system and device and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] The core of the present application is to provide a data storage method, system, device and computer-readable storage medium for realizing fast storage of unstructured big data.

[0049] In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0050] Please refer to figure 1 , figure 1 It is a flowchart of a data storage method provided by the embodiment of this application.

[0051] It specifically incl...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a data storage method. The method comprises: using a PHP tool for storing a JSON text to a server; analyzing the JSON text on the server by using a Go tool, and storing each field obtained by analysis into an intermediate table of a Mysql database; when a field mapping command is received, determining a mapping relationship according to the field mapping command; and storing each field in the intermediate table into a product table of the Mysql database according to a mapping relationship by utilizing a Go tool. According to the method, the Go tool is used for processing analysis and storage of the data, so that the efficiency of a data storage link is greatly improved. Meanwhile, the server and the database serve as media, cooperative work of the Go tool and the PHP tool in the same environment is achieved, and other links of an original system are not affected. The invention furthermore provides a data storage system and device and a computer readable storagemedium, which have the above beneficial effects.

Description

technical field [0001] The present application relates to the field of website data storage, in particular to a method, system, device and computer-readable storage medium for data storage. Background technique [0002] PHP is a general-purpose open-source scripting language with quick entry, low development cost, high execution efficiency, and easy deployment. It is mainly applicable to the field of website development. Mysql is a relational database management system, and it is the best relational database management system application software for website applications; Mysql is small in size, fast in speed, and open source, so many websites usually use PHP+Mysql to form a development environment. [0003] Websites usually need to store massive text data in database tables. The solution in the prior art is to use PHP programming to obtain data, use regular expression matching to extract data and convert it into JSON text, and then parse the JSON text through PHP and store ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & AuthorityApplications(China)
IPC IPC(8): G06F16/22G06F16/25
CPCG06F16/2282G06F16/258
Inventor吴江浩李鲲鹏刘云锋秦国君
Owner云汉芯城(上海)互联网科技股份有限公司