MongoDB-based test data storage query method and system
The invention provides a MongoDB-based test data storage query method and system. The method comprises the following steps: installing a MongoDB database on a server, independently carrying out information configuration on the MongoDB database and the server to realize a purpose that a test client s...
Saved in:
Main Authors | , , , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
04.05.2016
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention provides a MongoDB-based test data storage query method and system. The method comprises the following steps: installing a MongoDB database on a server, independently carrying out information configuration on the MongoDB database and the server to realize a purpose that a test client side accesses the MongoDB database through the server; uploading test data obtained by the test client side to the server; calling a packaging center to package the test data received by the server into a BSON (Binary Serialized Document) format; calling a MongoDB driver to be connected with the MongoDB database, and inserting the test data of the BSON format into the MongoDB database; and inquiring a query condition on the query page of the server, calling the MongoDB driver to be connected with the MongoDB database, and querying test data corresponding to the query condition in the MongoDB database. A small space can be occupied to store large-scale test data, the query speed of the test data can be improved, in a |
---|---|
Bibliography: | Application Number: CN20151970997 |