CN106326380A - Commodity cloud database creating method and device - Google Patents

Commodity cloud database creating method and device Download PDF

Info

Publication number
CN106326380A
CN106326380A CN201610671548.8A CN201610671548A CN106326380A CN 106326380 A CN106326380 A CN 106326380A CN 201610671548 A CN201610671548 A CN 201610671548A CN 106326380 A CN106326380 A CN 106326380A
Authority
CN
China
Prior art keywords
database
template
establishment
template database
described template
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.)
Pending
Application number
CN201610671548.8A
Other languages
Chinese (zh)
Inventor
张玉龙
郑代金
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Accord Technology Co Ltd
Original Assignee
Beijing Accord Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Accord Technology Co Ltd filed Critical Beijing Accord Technology Co Ltd
Priority to CN201610671548.8A priority Critical patent/CN106326380A/en
Publication of CN106326380A publication Critical patent/CN106326380A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases

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)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a commodity cloud database creating method and device. The method comprises the steps of responding to an instruction of creating commodity data, and generating a template of a template database according to the template database; modifying the creating script of the template database according to the template generated by the template database in accordance with the instruction of creating commodity data, and obtaining the creating script of a target commodity database; executing the creating script of the target commodity database, and generating the target commodity database. The method comprises a calling unit, a generating unit, a modifying unit and an executing unit. The method and the device solve the problems that in the prior art, the local storage space is too small; consumers cannot define required commodities by selves; commercial tenants cannot monitor commodity information.

Description

The creation method of a kind of commodity cloud data base and device
Technical field
The present invention relates to data processing field, in particular to creation method and the device of a kind of commodity cloud data base.
Background technology
Reaching its maturity with perfect of present e-commerce development, and already become the main shopping way of modern, special It not the rise of all kinds of electricity business's platform, the most gradually replace shopping way under traditional wire.But, contained in ecommerce is big Amount data, are referred to as cloud data, but cloud data volume is big and numerous and complicated, it is difficult to locally stored, need substantial amounts of storage sky Between, and interact if on this locality also inconvenient multi-client, and traditional electric quotient module formula, it is that businessman uploads business Product information, consumer conducts interviews the pattern checked, but for information fast-developing today, traditional electric quotient module formula is Cannot meet growing net purchase demand, consumer obtains product, advertising input, the letter of change stock from mass data Breath, it is necessary to setting up a kind of commodity cloud data base, this data base can be used for instructing trade company to upload merchandise news, carry out advertisement throwing Enter, adjust stock, also can be carried out above-mentioned functions voluntarily by consumer and operate, and then also Instructing manufacture business can produce which kind of product Product, prevent production capacity surplus or production capacity inadequate.
Summary of the invention
It is an object of the invention to provide creation method and the device of a kind of commodity cloud data base, in order to solve existing skill Locally stored space in art is too small, consumer cannot self-defined required commodity, trade company cannot monitor merchandise news problem.
For achieving the above object, the present invention provides the creation method of a kind of commodity cloud data base, it is characterised in that including:
In response to the instruction of establishment commodity data, call the template database prestored, according to described template database Generating the template of described template database, the instruction of described establishment commodity data is used for asking to create end article data base;
The described template generated according to described template database;Instruction modification template number according to described establishment commodity data According to the establishment script in storehouse, obtain the establishment script of described end article data base;And perform described end article data base's Create script, generate described end article data base.
After calling the template database prestored, and generating described template number according to described template database Before the template in storehouse, described creation method also includes: judge whether described template database is full database, wherein, In the case of judging that described template database is full database, generate described template database according to described template database Template.
Described template database includes multiple component units, it is judged that whether described template database is full database bag Include: judging to preset the subset whether set is template set, wherein, multiple compositions that described default collection is combined into standard database are single The set that unit is constituted, described template set is combined into the set that multiple component units of described template database are constituted, wherein, is judging In the case of going out the subset that described default set is described template set, determine that described template database is full database.
It is used for asking to create end article data base according to the instruction of described establishment commodity data to include: obtain response described Create the first Database Identification in instruction, and obtain second Database Identification created in script of described template database; And described second Database Identification is replaced with described first Database Identification.
Described second Database Identification includes: merchandise news mark, category identities, price sign, domain identifier.
The present invention also provides for the establishment device of a kind of data base, including: call unit, for receiving establishment commodity number According to calling the template database prestored in the case of instruction, wherein, the instruction of described establishment commodity data is used for asking to create End article data base;Signal generating unit, for generating the establishment script of described template database according to described template database;Repair Change unit, for the establishment script according to template database described in described establishment instruction modification, obtain described target database Create script;And performance element, for performing the establishment script of described target database, generate described target database.
Described establishment device also includes: the first judging unit, for after calling the template database prestored, And before generate the template of described template database according to described template database, described creation method also includes: judge Whether described template database is full database, wherein, in the situation judging that described template database is full database Under, the template of described template database is generated according to described template database.
Described template database includes that multiple component units, described first judging unit include: judge module, is used for judging Whether default set is the subset of template set, and wherein, described default collection is combined into multiple component units of standard database and constitutes Set, described template set is combined into the set that multiple component units of described template database are constituted, wherein, judge described In the case of default set is the subset of described template set, determine that described template database is full database.
Described amendment unit includes: acquisition module, for obtaining described the first Database Identification created in instruction of response, And obtain second Database Identification created in script of described template database;And replacement module, for by described second Database Identification replaces with described first Database Identification.
Accompanying drawing explanation
Fig. 1 is the workflow schematic diagram of the present invention.
Detailed description of the invention
In order to be better understood from technical scheme, below in conjunction with the accompanying drawings the embodiment of the present invention is retouched in detail State.
It will be appreciated that described embodiment be only the present invention a part of embodiment rather than whole embodiments.Base Embodiment in the present invention, those of ordinary skill in the art obtained under not making creative work premise all its Its embodiment, broadly falls into the scope of protection of the invention.
The term used in embodiments of the present invention is only merely for describing the purpose of specific embodiment, and is not intended to be limiting The present invention." a kind of ", " described " and " being somebody's turn to do " of singulative used in the embodiment of the present invention and appended claims It is also intended to include most form, unless context clearly shows that other implications.
Although should be appreciated that and term the oneth XX, the 2nd XX etc. may being used in embodiments of the present invention to be described, but Oneth XX and the 2nd XX should not necessarily be limited by these terms.These terms are only used for an XX and twoth XX is distinguished from each other out.Such as, In the case of without departing from range of embodiment of the invention, an XX can also be referred to as the 2nd XX, and similarly, the 2nd XX can also It is referred to as an XX.
Depend on linguistic context, word as used in this " if " can be construed to " ... time " or " when ... Time " or " in response to determining " or " in response to detection ".Similarly, depend on linguistic context, phrase " if it is determined that " or " if detection (condition of statement or event) " " when determining " or " in response to determining " can be construed to or " when the detection (condition of statement Or event) time " or " in response to detection (condition of statement or event) ".
There is provided the creation method of a kind of commodity cloud data base, it is characterised in that including:
In response to the instruction of establishment commodity data, call the template database prestored, according to described template database Generating the template of described template database, the instruction of described establishment commodity data is used for asking to create end article data base;
The described template generated according to described template database;Instruction modification template number according to described establishment commodity data According to the establishment script in storehouse, obtain the establishment script of described end article data base;And perform described end article data base's Create script, generate described end article data base.
After calling the template database prestored, and generating described template number according to described template database Before the template in storehouse, described creation method also includes: judge whether described template database is full database, wherein, In the case of judging that described template database is full database, generate described template database according to described template database Template.
Described template database includes multiple component units, it is judged that whether described template database is full database bag Include: judging to preset the subset whether set is template set, wherein, multiple compositions that described default collection is combined into standard database are single The set that unit is constituted, described template set is combined into the set that multiple component units of described template database are constituted, wherein, is judging In the case of going out the subset that described default set is described template set, determine that described template database is full database.
It is used for asking to create end article data base according to the instruction of described establishment commodity data to include: obtain response described Create the first Database Identification in instruction, and obtain second Database Identification created in script of described template database; And described second Database Identification is replaced with described first Database Identification.
Described second Database Identification includes: merchandise news mark, category identities, price sign, domain identifier.
The present invention also provides for the establishment device of a kind of data base, including: call unit, for receiving establishment commodity number According to calling the template database prestored in the case of instruction, wherein, the instruction of described establishment commodity data is used for asking to create End article data base;Signal generating unit, for generating the establishment script of described template database according to described template database;Repair Change unit, for the establishment script according to template database described in described establishment instruction modification, obtain described target database Create script;And performance element, for performing the establishment script of described target database, generate described target database.
Described establishment device also includes: the first judging unit, for after calling the template database prestored, And before generate the template of described template database according to described template database, described creation method also includes: judge Whether described template database is full database, wherein, in the situation judging that described template database is full database Under, the template of described template database is generated according to described template database.
Described template database includes that multiple component units, described first judging unit include: judge module, is used for judging Whether default set is the subset of template set, and wherein, described default collection is combined into multiple component units of standard database and constitutes Set, described template set is combined into the set that multiple component units of described template database are constituted, wherein, judge described In the case of default set is the subset of described template set, determine that described template database is full database.
Described amendment unit includes: acquisition module, for obtaining described the first Database Identification created in instruction of response, And obtain second Database Identification created in script of described template database;And replacement module, for by described second Database Identification replaces with described first Database Identification.
Through the above description of the embodiments, those skilled in the art it can be understood that to each embodiment can The mode adding required general hardware platform by software realizes, naturally it is also possible to pass through hardware.Based on such understanding, on State the part that prior art contributes by technical scheme the most in other words to embody with the form of software product, should Computer software product can store in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD etc., including some fingers Make with so that a computer equipment (can be personal computer, server, or the network equipment etc.) performs each and implements The method described in some part of example or embodiment.
Last it is noted that above example is only in order to illustrate technical scheme, it is not intended to limit;Although With reference to previous embodiment, the present invention is described in detail, it will be understood by those within the art that: it still may be used So that the technical scheme described in foregoing embodiments to be modified, or wherein portion of techniques feature is carried out equivalent; And these amendment or replace, do not make appropriate technical solution essence depart from various embodiments of the present invention technical scheme spirit and Scope.

Claims (9)

1. the creation method of a commodity cloud data base, it is characterised in that including:
In response to the instruction of establishment commodity data, call the template database prestored, generate according to described template database The template of described template database, the instruction of described establishment commodity data is used for asking to create end article data base;
The described template generated according to described template database;Instruction modification template database according to described establishment commodity data Establishment script, obtain the establishment script of described end article data base;And perform the establishment of described end article data base Script, generates described end article data base.
Creation method the most according to claim 1, it is characterised in that after calling the template database prestored, And before generate the template of described template database according to described template database, described creation method also includes: judge Whether described template database is full database, wherein, in the situation judging that described template database is full database Under, the template of described template database is generated according to described template database.
Creation method the most according to claim 2, it is characterised in that described template database includes multiple component units, Judge whether described template database is that full database includes: judge to preset the subset whether set is template set, wherein, Described default collection is combined into the set that multiple component units of standard database are constituted, and described template set is combined into described template database Multiple component units constitute set, wherein, judging that described default set is the situation of the subset of described template set Under, determine that described template database is full database.
Creation method the most according to claim 1, it is characterised in that being used for according to the instruction of described establishment commodity data please Establishment end article data base is asked to include: to obtain described the first Database Identification created in instruction of response, and obtain described mould Second Database Identification created in script of plate data base;And described second Database Identification is replaced with described first number Identify according to storehouse.
Creation method the most according to claim 1, it is characterised in that described second Database Identification includes: merchandise news Mark, category identities, price sign, domain identifier.
6. the establishment device of a data base, it is characterised in that including: call unit, for receiving establishment commodity data Calling the template database prestored in the case of instruction, wherein, the instruction of described establishment commodity data is used for asking to create mesh Mark merchandising database;Signal generating unit, for generating the establishment script of described template database according to described template database;Amendment Unit, for the establishment script according to template database described in described establishment instruction modification, obtains the wound of described target database Build script;And performance element, for performing the establishment script of described target database, generate described target database.
Establishment device the most according to claim 6, it is characterised in that described establishment device also includes: the first judging unit, For after calling the template database prestored, and generating described template data according to described template database Before the template in storehouse, described creation method also includes: judge whether described template database is full database, wherein, is sentencing Break and in the case of described template database is full database, generate described template database according to described template database Template.
Establishment device the most according to claim 7, it is characterised in that described template database includes multiple component units, Described first judging unit includes: judge module, for judging to preset the subset whether set is template set, wherein, described Default collection is combined into the set that multiple component units of standard database are constituted, and it is many that described template set is combined into described template database The set that individual component units is constituted, wherein, in the case of judging the subset that described default set is described template set, really Fixed described template database is full database.
Establishment device the most according to claim 6, it is characterised in that described amendment unit includes: acquisition module, is used for obtaining Take described the first Database Identification created in instruction of response, and obtain the create in script second number of described template database Identify according to storehouse;And replacement module, for described second Database Identification is replaced with described first Database Identification.
CN201610671548.8A 2016-08-15 2016-08-15 Commodity cloud database creating method and device Pending CN106326380A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610671548.8A CN106326380A (en) 2016-08-15 2016-08-15 Commodity cloud database creating method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610671548.8A CN106326380A (en) 2016-08-15 2016-08-15 Commodity cloud database creating method and device

Publications (1)

Publication Number Publication Date
CN106326380A true CN106326380A (en) 2017-01-11

Family

ID=57740589

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610671548.8A Pending CN106326380A (en) 2016-08-15 2016-08-15 Commodity cloud database creating method and device

Country Status (1)

Country Link
CN (1) CN106326380A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107247812A (en) * 2017-07-25 2017-10-13 郑州云海信息技术有限公司 The generation method and generating means of a kind of database

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1753020A (en) * 2005-11-08 2006-03-29 北京基福信源信息技术有限公司 System for on internet electronic business integration and its method
CN104408118A (en) * 2014-11-25 2015-03-11 北京国双科技有限公司 Database establishing method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1753020A (en) * 2005-11-08 2006-03-29 北京基福信源信息技术有限公司 System for on internet electronic business integration and its method
CN104408118A (en) * 2014-11-25 2015-03-11 北京国双科技有限公司 Database establishing method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107247812A (en) * 2017-07-25 2017-10-13 郑州云海信息技术有限公司 The generation method and generating means of a kind of database
CN107247812B (en) * 2017-07-25 2021-01-15 苏州浪潮智能科技有限公司 Database generation method and generation device

Similar Documents

Publication Publication Date Title
CN106354519A (en) Method and device for generating label for user portrait
CN107957867B (en) Electric power retail market model modeling method and system
CN109213758B (en) Data access method, device, equipment and computer readable storage medium
CN104615721B (en) For the method and system based on return of goods related information Recommendations
CN111881221A (en) Method, device and equipment for customer portrait in logistics service
CN104572125A (en) Methods and devices for drawing and storing entity relation diagrams
CN111277625A (en) E-commerce platform order pushing method and system
CN110347786A (en) A kind of tuning method and system of semantic model
CN111144985A (en) Unit transfer value adjusting method, unit transfer value adjusting device, computer equipment and storage medium
CN111126917A (en) Unit transfer value adjusting method, unit transfer value adjusting device, computer equipment and storage medium
US8935264B2 (en) Characteristic-based selection in a networked computing environment
CN106326380A (en) Commodity cloud database creating method and device
CN113255079A (en) Artificial intelligence-based package design method and device
CN106651408B (en) Data analysis method and device
CN110009473B (en) Data processing method, device, equipment and storage medium
CN111553749A (en) Activity push strategy configuration method and device
CN110838019A (en) Method and device for determining trial supply distribution crowd
CN108549722A (en) Multi-platform data publication method, system and medium
CN110266610B (en) Traffic identification method and device and electronic equipment
CN113688899A (en) Data fusion method and device, storage medium and electronic equipment
CN111353817A (en) Guest group data generation method and system
CN110264333A (en) A kind of risk rule determines method and apparatus
CN113256362A (en) Method and apparatus for outputting information
CN111597179B (en) Method and device for automatically cleaning data, electronic equipment and storage medium
CN110020906A (en) The detection method and device of order information

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170111

RJ01 Rejection of invention patent application after publication