CN108664604B - Method for realizing minimum data splitting storage and service calling presentation - Google Patents

Method for realizing minimum data splitting storage and service calling presentation Download PDF

Info

Publication number
CN108664604B
CN108664604B CN201810438683.7A CN201810438683A CN108664604B CN 108664604 B CN108664604 B CN 108664604B CN 201810438683 A CN201810438683 A CN 201810438683A CN 108664604 B CN108664604 B CN 108664604B
Authority
CN
China
Prior art keywords
data
component
model
service
content information
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
Application number
CN201810438683.7A
Other languages
Chinese (zh)
Other versions
CN108664604A (en
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.)
Xinjiang Maker Space Entrepreneurship Incubator Co.,Ltd.
Original Assignee
Sichuan Huachuang Shiji 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 Sichuan Huachuang Shiji Technology Co ltd filed Critical Sichuan Huachuang Shiji Technology Co ltd
Priority to CN201810438683.7A priority Critical patent/CN108664604B/en
Publication of CN108664604A publication Critical patent/CN108664604A/en
Application granted granted Critical
Publication of CN108664604B publication Critical patent/CN108664604B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content
    • H04L67/5651Reducing the amount or size of exchanged application data

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention relates to the field of online software service, and discloses a method for realizing minimum data splitting storage and service calling presentation. The invention provides a data storage and service calling presentation scheme aiming at computer communication interface API data storage and capable of integrating respective advantages of a relational database and a non-relational database, not only can minimally split and store the structure of complex data, but also can achieve the purposes of self-defining assembly, self-defining maintenance and multi-version number communication of the minimized data when service calling is presented, and simultaneously, the minimized data can be adjusted through a universal adaptive interface and expanded through a dynamic horizontal and vertical data API with different differences of the same interface, so that the method can be used for processing frequently-changed and uncontrollable data, namely, before the data is changed, the method only needs to be rapidly configured, can be suitable for new data types and can be freely stored and used, and is convenient for practical application and popularization.

Description

Method for realizing minimum data splitting storage and service calling presentation
Technical Field
The invention belongs to the field of online software service, and particularly relates to a method for realizing minimum data splitting storage and service calling presentation.
Background
In the current database storage technology, whether a non-relational database or a relational database, various related limitations are encountered in the expansion process of the database, and particularly, bottlenecks are encountered in the case of non-standard data and association between different services. In addition, related limitations are also encountered during technology sheeting or aggregation.
Disclosure of Invention
In order to solve the above problems in the prior art, the present invention is directed to a method for implementing minimum split storage of data and presentation of service call.
The technical scheme adopted by the invention is as follows:
a method for realizing data minimum splitting storage and service calling presentation comprises the following steps:
s101, reading atomic content information of each information grid in a data table;
s102, starting a model atom router, and configuring a model for linking corresponding atom content information aiming at each atom content information, wherein the model comprises a pipeline number, a feature code, an atom content type, atom content information and a unique identification ID of the atom content information;
s103, storing the model in a relational database;
s104, when service calling is presented, starting a component model router, and configuring components for linking a plurality of models, wherein the components comprise unique component identifiers, basic numbers, component numbers, version numbers, activation states, current service names and current service classifications;
s105, starting a view interpreter, and operating an assembly view interpretation code to perform data extraction on the atomic content information of each model in the assembly to generate a service data chart;
and S106, outputting and displaying the service data chart.
Optimally, in the step S101, a component for linking several models is configured by importing a pre-made model configuration table.
Optimally, in the step S104, components for linking several models are configured by importing pre-fabricated component configuration tables and/or pipe number configuration tables.
Further preferably, the component configuration table contains component unique identifiers, data groups, component information, service presentation names, usage data models and pipe numbers.
Preferably, in step S105, the assembly view interpretation code includes a component data extraction calculation code and screening condition information.
Optimally, the screening condition information is generated through manual selection on a prefabricated condition configuration template.
Optimally, when the atomic content information has a plurality of data interfaces, the corresponding model contains different pipeline numbers with the same number as the data interfaces.
The invention has the beneficial effects that:
(1) the invention provides a data storage and service calling presentation scheme aiming at computer communication interface API data storage and capable of integrating respective advantages of a relational database and a non-relational database, which can not only carry out structure minimization splitting and storage on complex data, but also carry out custom assembly, custom maintenance and multi-version number communication on the minimization data when service calling is presented, and simultaneously, the minimization data can be adjusted by a universal adaptive interface and dynamically expanded by a dynamic horizontal and vertical data API with different differences of the same interface, thereby being used for processing frequently changed and uncontrollable data, namely, before the data is changed, the data can be adapted to a new data type and can be freely stored and used by rapid configuration, and being convenient for practical application and popularization.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart of a method for implementing data minimum splitting storage and service call presentation according to the present invention.
FIG. 2 is a data structure diagram of the model provided by the present invention.
FIG. 3 is a data structure diagram of components provided by the present invention.
FIG. 4 is a diagram illustrating a data structure of a component configuration table provided by the present invention.
Detailed Description
The invention is further described with reference to the following figures and specific embodiments. It should be noted that the description of the embodiments is provided to help understanding of the present invention, but the present invention is not limited thereto.
The term "and/or" herein is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, B exists alone, and A and B exist at the same time, and the term "/and" is used herein to describe another association object relationship, which means that two relationships may exist, for example, A/and B, may mean: a alone, and both a and B alone, and further, the character "/" in this document generally means that the former and latter associated objects are in an "or" relationship.
Example one
As shown in fig. 1 to 4, the method for implementing minimum data splitting storage and service call presentation provided by this embodiment includes the following steps.
And S101, reading the atomic content information of each information grid in the data table.
In the step S101, the data form may be, but is not limited to, an XML file or an Excel file, and various data or information such as text is filled in each information form.
S102, starting a model atom router, and configuring a model for linking corresponding atom content information aiming at each atom content information, wherein the model comprises a pipeline number, a feature code, an atom content type, atom content information and a unique identification ID of the atom content information.
In step S102, the model atom router is a software module implementing a configuration model data structure, which configures a component for linking several models, preferably by importing a pre-fabricated model configuration table. As shown in fig. 2, the feature code is used to declare data uniqueness inside the model, preventing data duplication, which is particularly important when multiple components use the same model/atomic content information. In addition, optimally, when the atomic content information has a plurality of data interfaces, the corresponding model contains different pipeline numbers which are the same as the number of the data interfaces.
S103, storing the model in a relational database.
S104, when the service calling is presented, starting a component model router, and configuring components for linking a plurality of models, wherein the components comprise unique component identifiers, basic numbers, component numbers, version numbers, activation states, current service names and current service classifications.
In step S104, the component model router is a software module implementing a configuration component data structure, which configures components for linking several models, preferably by importing pre-fabricated component configuration tables and/or pipe number configuration tables. Wherein the component configuration table may include, but is not limited to, component unique identification, data grouping, component information, service presentation name, usage data model, and pipe number. As shown in fig. 4, the component unique identifier is used to distinguish data uniqueness; the data grouping is used for distinguishing which group the current configuration belongs to, wherein the group generally comprises names such as expense information or employee information; the component information is used for declaring which component the record belongs to; the name of the service presentation used for representing the present data presentation to the service can be Chinese or English; the data model is used for declaring which model is used by the data for storage; the pipeline number is used for distinguishing the identification of which service the data belongs to, the pipeline number cannot be repeated, one pipeline number only exists in one service, and the pipeline number indicates the position relation between the position in the component configuration and the actual model. The component configuration is composed of a large number of sets of pipe numbers, and the pipe numbers may include, but are not limited to, information such as pipe numbers, sets used by pipes, pipe names, pipe aliases and remarks.
As shown in fig. 3, the component unique identifier is used to distinguish component data uniqueness; the basic number is used for determining the uniqueness of the service; the component number is used for expressing a component number; the version number is used for distinguishing different versions when a plurality of versions of one service exist, and the basic number and the component number are the same; the activation state is used for marking whether the service interface is in the activation state, and if the service interface is in the failure state, the service interface is abandoned; the current service name is used for describing the title or main content of the current service; the current service classification is used for describing the classification content contained in the current service.
And S105, starting a view interpreter, and operating the assembly view interpretation code to perform data extraction on the atomic content information of each model in the assembly to generate a service data chart.
In step S105, the view interpreter is a software module for generating a business data chart according to a component data structure. And optimally, the assembled view interpretation code comprises component data extraction calculation code and screening condition information. Specifically, the screening condition information may be generated, but not limited to, by manual selection on a pre-fabricated condition configuration template.
And S106, outputting and displaying the service data chart.
To sum up, the method for implementing minimum data splitting storage and service call presentation provided by the embodiment has the following technical effects:
(1) the embodiment provides a data storage and service call presentation scheme aiming at data storage of a computer communication Interface API (Application Programming Interface) and capable of integrating respective advantages of a relational database and a non-relational database, which can not only carry out structure minimization splitting and storage on complex data, but also carry out custom assembly, custom maintenance and multi-version number communication on the minimization data when service call is presented, and simultaneously, the minimization data can be adjusted through a universal adaptive Interface and expanded through a dynamic horizontal and vertical data API with different differences of the same Interface, so that frequently-changed and uncontrollable data can be processed, namely, before the data is changed, new data types can be adapted and freely stored and used only by fast configuration, and practical Application and popularization are facilitated.
The present invention is not limited to the above-described alternative embodiments, and various other forms of products can be obtained by anyone in light of the present invention. The above detailed description should not be taken as limiting the scope of the invention, which is defined in the claims, and which the description is intended to be interpreted accordingly.

Claims (3)

1. A method for realizing data minimum splitting storage and service calling presentation is characterized by comprising the following steps:
s101, reading atomic content information of each information grid in a data table;
s102, starting a model atom router, and configuring a model for linking corresponding atom content information aiming at each atom content information, wherein the model comprises a pipeline number, a feature code, an atom content type, the atom content information and a unique identification ID of the atom content information, the feature code is used for declaring the data uniqueness inside the model, the pipeline number is used as an identification for distinguishing which service the data belongs to, and when the atom content information has a plurality of data interfaces, the corresponding model comprises different pipeline numbers with the same number as the data interfaces;
s103, storing the model in a relational database;
s104, when service calling is presented, starting a component model router, and configuring a component for linking a plurality of models by importing a prefabricated component configuration table and/or a pipeline number configuration table, wherein the component comprises a component unique identifier, a basic number, a component number, a version number, an activation state, a current service name and a current service classification, the component configuration table comprises the component unique identifier, a data group, component information, a service presentation name, a use data model and a pipeline number, the basic number is used for determining service uniqueness, the component number is used for expressing the component number, the data group is used for distinguishing which group the current configuration belongs to, the data model is used for declaring which model the data is used for storage, and the pipeline number declares the position relation between the position in the component configuration and an actual model;
s105, starting a view interpreter, and operating an assembly view interpretation code to perform data extraction on the atomic content information of each model in the assembly to generate a service data chart;
and S106, outputting and displaying the service data chart.
2. The method of claim 1, wherein the method comprises the steps of: in step S105, the assembled view interpretation code includes a component data extraction calculation code and screening condition information.
3. The method of claim 2, wherein the method comprises the following steps: the screening condition information is generated through manual selection on a prefabricated condition configuration template.
CN201810438683.7A 2018-05-09 2018-05-09 Method for realizing minimum data splitting storage and service calling presentation Active CN108664604B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810438683.7A CN108664604B (en) 2018-05-09 2018-05-09 Method for realizing minimum data splitting storage and service calling presentation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810438683.7A CN108664604B (en) 2018-05-09 2018-05-09 Method for realizing minimum data splitting storage and service calling presentation

Publications (2)

Publication Number Publication Date
CN108664604A CN108664604A (en) 2018-10-16
CN108664604B true CN108664604B (en) 2021-08-24

Family

ID=63778312

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810438683.7A Active CN108664604B (en) 2018-05-09 2018-05-09 Method for realizing minimum data splitting storage and service calling presentation

Country Status (1)

Country Link
CN (1) CN108664604B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112527420A (en) * 2020-12-23 2021-03-19 平安普惠企业管理有限公司 Interface data flow processing method and device, computer equipment and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102207861A (en) * 2010-06-25 2011-10-05 南京联创科技集团股份有限公司 Method for expressing personalized information in business
CN102521404A (en) * 2011-12-26 2012-06-27 昆明数博兰德科技有限公司 Method for building data model with integrity based on tree-shaped atomic model structure
CN103246733A (en) * 2013-05-13 2013-08-14 浪潮集团山东通用软件有限公司 Dynamic form system based on metadata and generation method thereof
CN103279358A (en) * 2013-06-08 2013-09-04 北京首钢自动化信息技术有限公司 Interpreted dynamic business component construction method for industrial applications
CN104731791A (en) * 2013-12-18 2015-06-24 东阳艾维德广告传媒有限公司 Marketing analysis data market system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104573115B (en) * 2015-02-04 2019-03-22 北京慧辰资道资讯股份有限公司 Support the realization method and system of the integrated interface of multi-type database operation

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102207861A (en) * 2010-06-25 2011-10-05 南京联创科技集团股份有限公司 Method for expressing personalized information in business
CN102521404A (en) * 2011-12-26 2012-06-27 昆明数博兰德科技有限公司 Method for building data model with integrity based on tree-shaped atomic model structure
CN103246733A (en) * 2013-05-13 2013-08-14 浪潮集团山东通用软件有限公司 Dynamic form system based on metadata and generation method thereof
CN103279358A (en) * 2013-06-08 2013-09-04 北京首钢自动化信息技术有限公司 Interpreted dynamic business component construction method for industrial applications
CN104731791A (en) * 2013-12-18 2015-06-24 东阳艾维德广告传媒有限公司 Marketing analysis data market system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
原子数据模型;叶坚峰;《电脑开发与应用》;20080331(第1期);第59-60、69页 *

Also Published As

Publication number Publication date
CN108664604A (en) 2018-10-16

Similar Documents

Publication Publication Date Title
CN105426394B (en) Based on cross-platform mobile report form generation method and system
CN111078702B (en) SQL sentence classification management and unified query method and device
CN105138501A (en) Configurable dynamic report generating method and system
CN101772760B (en) Database management program and database management device
CN103617047A (en) Method, device and processor for developing business processes
CN106547729B (en) A kind of dynamic creation method and system of data sheet
CN103020158A (en) Report form creation method, device and system
CN104881469A (en) Data exporting method and device
CN109739915B (en) Cross-domain shared data model construction method
CN103020301A (en) Multidimensional data query and storage method and system
CN104346466A (en) Method and device of adding new attribute data in database
CN109445794B (en) Page construction method and device
CN110851511A (en) Data synchronization method and device
CN104951630A (en) System and method for converting PDS (plant design system) three-dimensional data into PIPESTRESS modeling codes
CN102467525A (en) Document associating method and system
CN111782703A (en) Method and system for automatically managing and displaying incidence relation between irrigation area object data
CN105528345A (en) Terminal, server and character complementing method
CN108664604B (en) Method for realizing minimum data splitting storage and service calling presentation
CN108984156A (en) A kind of software auto generating method and system for exempting from code development based on template
CN107766519B (en) Method for visually configuring data structure
CN103473360A (en) Big data intelligent extraction management method
CN106919615A (en) Data access method and system
CN103970900B (en) Multi-dimensional cross data flexible management method and system based on industrial field
CN105630997A (en) Data parallel processing method, device and equipment
CN115168361A (en) Label management method and device

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
TR01 Transfer of patent right

Effective date of registration: 20221102

Address after: Room 101, Building 5 East, No. 529 Youhao North Road, Urumqi High tech Zone (New City), 830000 Xinjiang Uygur Autonomous Region

Patentee after: Xinjiang Maker Space Entrepreneurship Incubator Co.,Ltd.

Address before: 610000 First Floor, 219 Tianshun Road, Chengdu High-tech Zone, Sichuan Province

Patentee before: SICHUAN HUACHUANG SHIJI TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right