CN109783119A - A kind of data multi-version compatibility upgrading management system and its management method - Google Patents

A kind of data multi-version compatibility upgrading management system and its management method Download PDF

Info

Publication number
CN109783119A
CN109783119A CN201811497462.3A CN201811497462A CN109783119A CN 109783119 A CN109783119 A CN 109783119A CN 201811497462 A CN201811497462 A CN 201811497462A CN 109783119 A CN109783119 A CN 109783119A
Authority
CN
China
Prior art keywords
data
adapter
storage equipment
queue module
terminal user
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
Application number
CN201811497462.3A
Other languages
Chinese (zh)
Other versions
CN109783119B (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.)
Shanghai Seven India Mdt Infotech Ltd
Original Assignee
Shanghai Seven India Mdt Infotech 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 Shanghai Seven India Mdt Infotech Ltd filed Critical Shanghai Seven India Mdt Infotech Ltd
Priority to CN201811497462.3A priority Critical patent/CN109783119B/en
Publication of CN109783119A publication Critical patent/CN109783119A/en
Application granted granted Critical
Publication of CN109783119B publication Critical patent/CN109783119B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

A kind of data multi-version compatibility upgrading management system disclosed by the invention, the server-side of data interaction is carried out with the storage equipment including storage equipment and at least one, it is characterized in that, if each server-side includes a data download parsing device, a data storage layer module, a synchronous Queue module, adapter stem and several api interfaces.Also disclose the management method of above-mentioned data multi-version compatibility upgrading management system.Compared with prior art, the present invention uses adapter accelerated method, data multi-version upgrading is effectively managed, when upgraded version, it is only necessary to increase an adapter, modification resolver, after accelerated method, on terminal user without influence.

Description

A kind of data multi-version compatibility upgrading management system and its management method
Technical field
The present invention relates to field of computer technology more particularly to a kind of data multi-version compatibility upgrading management systems and its pipe Reason method.
Background technique
The api interface of each version manages corresponding different terminal user's version, and the data received are directly stored To local and it is sent to isochronous queue, the interface of each version is independent, does not have correlation between version, is needing iteratively faster Big to the maintenance workload of software version in exploration project, the modification of some possible service logic needs to change each version Api interface.Data multi version is very common in the product of lasting iteration, and next version makees some tables in version before Increase, or the field of table is increased or deleted.The needs of business needs or technical optimization are answered every time, and directly performance is business The content change etc. that the variation of layer logic, presentation layer are shown, these variations require the support of bottom data storage, such data Storage organization needs to change.Referring to Fig. 1, what is provided in figure is existing data multi-version compatibility upgrading management system, including is deposited Store up equipment 10 and several server-sides 20, each server-side 20 includes data download parsing device 21, data storage layer module 22, same Queue module 23 and several api interfaces 24 are walked, data download parsing device 21 is connect with storage equipment 10, is used for storage equipment 10 obtain data, and data storage layer module 22 is connect with data download parsing device 21, and download parsing device 21 obtains for storing data The data got, on the one hand each api interface 24 is connect with isochronous queue module 23 respectively, for uploading terminal user 30 Data be sent to isochronous queue module 23, via isochronous queue module 23 send in store equipment 10 in, on the other hand respectively It is connect with data storage layer module 22, the data for uploading terminal user are sent to data storage layer module 22 and deposit Storage.It, may function service in these api interfaces 24 since each api interface 24 manages the version of corresponding terminal user Identical, also having new api interface is the variation (part is identical) of previous api interface, will lead to following some problems in this way:
1, the versions of data that different api interfaces 24 is submitted has differences, and different edition data storages is inconsistent;
2, different api interfaces 24 will be filtered data, lead to that data are complete, integrality missing;
3, for the write-in of data storage layer module 22 there are inconsistent, api interface 24 and data download parsing device 21 can be straight Operation is connect, it is single from data storage layer module 22, it is difficult to judge that there are problems for which write-in data;
4, api interface service logic is complicated, needs operation data accumulation layer module 22 and isochronous queue module 23 simultaneously, locates Reason amount is larger, causes processing speed slack-off.
Summary of the invention
One of technical problem solved by the invention is: it is simply bright to provide a kind of logic in view of the deficiencies of the prior art Really, the data multi-version compatibility upgrading management system of data synchronizing speed, the usage experience for not influencing terminal user is improved.
The second technical problem to be solved by the present invention is: providing a kind of above-mentioned data multi-version compatibility updating and management system The management method of system.
As a kind of data multi-version compatibility upgrading management system of first aspect present invention, including storage equipment and extremely Few one carries out the server-side of data interaction with the storage equipment, which is characterized in that each server-side includes data downloading solution If parser, a data storage layer module, synchronous a Queue module, adapter stem S1...SNAnd several api interface A1...AN, Wherein, N >=2 and N are integer;
Api interface A1...ANRespectively correspondingly with adapter S1...SNConnection is used for received terminal user The data of submission are respectively sent to adapter S1...SN;Adapter SM-1With adapter SMConnection, wherein M 2...N, adapter SNIt is connect with the isochronous queue module, so that adapter SM-1The data received are successively to adapter SMTransmitting, finally via Adapter SNBy all data transmissions of terminal user's submission to the isochronous queue module;
On the one hand the isochronous queue module is connect with the storage equipment, all data transmissions for being collected into It is stored, is on the other hand connect with the data download parsing device, all numbers for being collected to the storage equipment According to being sent to the data download parsing device;
On the one hand the data download parsing device is connect with the storage equipment, for obtaining data to the storage equipment And the data transmitted to the data got and/or the isochronous queue module parse, and on the other hand deposit with the data The connection of reservoir module, is stored for the data transmission after being parsed to the data storage layer module;
The data storage layer module and adapter SNConnection, the data for obtaining end-user request are by specified Adapter S1...SNWith specified api interface A1...ANIt is sent to terminal user.
A kind of management method of above-mentioned data multi-version compatibility upgrading management system as second aspect of the present invention, including Following steps:
(1) api interface AMReceive the data that terminal user submits, wherein M 2...N, N >=2 and N are integer;
(2) api interface AMBy the data transmission of terminal user's submission to adapter SM
(3) adapter SMThe data received are successively to adapter SM+1Transmitting, finally via adapter SNBy terminal user All data transmissions submitted are to the isochronous queue module;
(4) all data transmissions that the isochronous queue module is collected into the storage equipment is stored, together When by a identical data transmission to the data download parsing device;
(5) the data download parsing device obtains data to the storage equipment, while receiving the isochronous queue module The data sent, the data download parsing device send the data got and/or the isochronous queue module received Data carry out parsing and data check duplicate removal processing, and by parsing and duplicate removal processing after data transmission to the data store Layer module is stored.
Compared with prior art, the invention has the following advantages that
(1) present invention uses adapter accelerated method, effectively manages data multi-version upgrading, when upgraded version, only Need to increase an adapter, modification resolver, the adapter newly increased is the adapter for occuping previous versions of data;
(2) adapter of new api interface early version before, avoids each version intersection conflict;
(3) api interface only submits data to adapter, adapter submission data to isochronous queue module, isochronous queue mould Block submits data to storage equipment, submits data flow simply clear;
(4) data download parsing device is from storage device downloads data, and submits data to local datastore layer, works as API Interface accesses adapter when needing to obtain data, adapter obtains data from data storage layer module, and it is simple to obtain data flow It is clear;
(5) isochronous queue module submit data to storage equipment, from store device downloads data, the two processes need through Network transmission is crossed, it is relatively time consuming, in order to make isochronous queue module data quick storage to layer is locally stored, using isochronous queue mould Block directly submits data to data downloader, reaches acceleration effect, and for different versions of data, as long as modification resolver , on terminal user without influence.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is the structural schematic diagram of existing data multi-version compatibility upgrading management system.
Fig. 2 is structural schematic diagram of the invention.
Specific embodiment
In order to be easy to understand the technical means, the creative features, the aims and the efficiencies achieved by the present invention, tie below Conjunction is specifically illustrating, and the present invention is further explained.
Referring to fig. 2, what is provided in figure is a kind of data multi-version compatibility upgrading management system, including storage equipment 100 with And several server-sides 200 that data interaction is carried out with storage equipment 100.
Each server-side 200 includes a data download parsing device 210, a data storage layer module 220, an isochronous queue mould If block 230, adapter stem S1...SNAnd several api interface A1...AN, wherein N >=2 and N are integer.
Api interface A1...ANRespectively correspondingly with adapter S1...SNConnection is used for received terminal user The data of submission are respectively sent to adapter S1...SN;Adapter SM-1With adapter SMConnection, wherein M 2...N, adapter SNIt is connect with isochronous queue module 230, so that adapter SM-1The data received are successively to adapter SMTransmitting, finally via suitable Orchestration SNBy all data transmissions of terminal user's submission to isochronous queue module 230.Adapter S1...SNIt plays to early version Api interface and new version api interface carry out the effect of smooth upgrade, so that the number for the data storage layer module 220 being finally stored in According to being consistent.
230 one side of isochronous queue module is connect with storage equipment 100, and all data transmissions for being collected into are extremely Storage equipment 100 is stored, and is on the other hand connect with data download parsing device 210, and all data for being collected pass It send to data download parsing device 210.
210 one side of data download parsing device is connect with storage equipment 100, for obtaining data simultaneously to storage equipment 100 To get data and/or isochronous queue module 230 transmission data parse, on the other hand with data storage layer module 220 connections, are stored for the data transmission after being parsed to data storage layer module 220.
Data storage layer module 220 and adapter SNConnection, the data for obtaining end-user request are by specified Adapter S1...SNWith specified api interface A1...ANIt is sent to terminal user V1...VN
The management method of data multi-version compatibility upgrading management system of the invention, comprising the following steps:
(1) terminal user VMTo api interface AMSubmit data, wherein M 2...N;
(2) api interface AMData are committed to adapter SM
(3) adapter SMThe data received are successively to adapter SM+1Transmitting, finally via adapter SNBy terminal user All data transmissions submitted are to isochronous queue module 230;
(4) all data transmissions that isochronous queue module 230 is collected into storage equipment 100 is stored, simultaneously By a identical data transmission to data download parsing device 210;
(5) data download parsing device 210 obtains data to storage equipment 100, while receiving isochronous queue module 230 and sending Data, the data that data download parsing device 210 sends the data got and/or the isochronous queue module 230 received Parsing and data check duplicate removal processing are carried out, and will be parsed and the data transmission after duplicate removal processing to data storage layer module 220 It is stored.
Terminal user V1...VNThe api interface of the data of submission, original exploitation is constant, need to only be committed to data corresponding Adapter S1...SN, adapter S1...SNThe adapter S good at managing for whether continuing to be submitted to more highest version1...SN, thus need Judge the corresponding versions of data of adapter, and have permanent order, i.e., if versions of data has arrived V6, needs to create Different versions of data adapter V1、V2、V3、V4、V5、V6.Different api interfaces submits fitting to each different editions after data Orchestration is as follows:
If 1, terminal user V1Submit data to api interface A1, behind need successively by adapter S1、S2、S3、S4、 S5、S6
If 2, terminal user V2Submit data to api interface A2, behind need successively by adapter S2、S3、S4、S5、 S6
If 3, terminal user V3Submit data to api interface A3, behind need successively by adapter S3、S4、S5、S6
If 4, terminal user V4Submit data to api interface A4, behind need successively by adapter S4、S5、S6
If 5, terminal user V5Submit data to api interface A5, behind need successively by adapter S5、S6
If 6, terminal user V6Submit data to api interface A6, behind need successively by adapter S6
In order to not influence the use of terminal user, need rapid saving to local datastore the data just submitted Layer module 220, the data for facilitating end user query just to submit;Increase accelerator in isochronous queue module 230, synchronous Data in Queue module 230 accelerate to submit a data to data download parsing device 210 simultaneously, this process is to pass through local What caching was quickly handled, it saves network and uploads and download the waiting time of two processes, reached acceleration effect.
The above shows and describes the basic principles and main features of the present invention and the advantages of the present invention.The technology of the industry Personnel are it should be appreciated that the present invention is not limited to the above embodiments, and the above embodiments and description only describe this The principle of invention, without departing from the spirit and scope of the present invention, various changes and improvements may be made to the invention, these changes Change and improvement all fall within the protetion scope of the claimed invention.The claimed scope of the invention by appended claims and its Equivalent thereof.

Claims (2)

1. a kind of data multi-version compatibility upgrading management system, including storage equipment and at least one and the storage equipment carry out The server-side of data interaction, which is characterized in that each server-side include a data download parsing device, a data storage layer module, If synchronous a Queue module, adapter stem S1...SNAnd several api interface A1...AN, wherein N >=2 and N are integer;
Api interface A1...ANRespectively correspondingly with adapter S1...SNConnection, for submitting received terminal user Data be respectively sent to adapter S1...SN;Adapter SM-1With adapter SMConnection, wherein M 2...N, adapter SNWith The isochronous queue module connection, so that adapter SM-1The data received are successively to adapter SMTransmitting, finally via adaptation Device SNBy all data transmissions of terminal user's submission to the isochronous queue module;
On the one hand the isochronous queue module is connect with the storage equipment, all data transmissions for being collected into institute It states storage equipment to be stored, on the other hand be connect with the data download parsing device, all data for being collected pass It send to the data download parsing device;
On the one hand the data download parsing device connect with the storage equipment, be used for storage equipment acquisition data and right The data got and/or the isochronous queue module transmission data parsed, on the other hand with the data storage layer Module connection, is stored for the data transmission after being parsed to the data storage layer module;
The data storage layer module and adapter SNConnection, the data for obtaining end-user request are fitted by specified Orchestration S1...SNWith specified api interface A1...ANIt is sent to terminal user.
2. a kind of management method of data multi-version compatibility upgrading management system as described in claim 1, which is characterized in that packet Include following steps:
(1) api interface AMReceive the data that terminal user submits, wherein M 2...N, N >=2 and N are integer;
(2) api interface AMBy the data transmission of terminal user's submission to adapter SM
(3) adapter SMThe data received are successively to adapter SM+1Transmitting, finally via adapter SNTerminal user is submitted All data transmissions to the isochronous queue module;
(4) all data transmissions that the isochronous queue module is collected into the storage equipment is stored, and simultaneously will A identical data transmission is to the data download parsing device;
(5) the data download parsing device obtains data to the storage equipment, while receiving the isochronous queue module and sending Data, the number that the data download parsing device sends the data got and/or the isochronous queue module received According to carrying out parsing and data check duplicate removal processing, and by the data transmission after parsing and duplicate removal processing to the data storage layer mould Block is stored.
CN201811497462.3A 2018-12-07 2018-12-07 Data multi-version compatible upgrade management system and management method thereof Active CN109783119B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811497462.3A CN109783119B (en) 2018-12-07 2018-12-07 Data multi-version compatible upgrade management system and management method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811497462.3A CN109783119B (en) 2018-12-07 2018-12-07 Data multi-version compatible upgrade management system and management method thereof

Publications (2)

Publication Number Publication Date
CN109783119A true CN109783119A (en) 2019-05-21
CN109783119B CN109783119B (en) 2022-01-28

Family

ID=66496814

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811497462.3A Active CN109783119B (en) 2018-12-07 2018-12-07 Data multi-version compatible upgrade management system and management method thereof

Country Status (1)

Country Link
CN (1) CN109783119B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110750282A (en) * 2019-10-14 2020-02-04 支付宝(杭州)信息技术有限公司 Method and device for running application program and GPU node
CN112905226A (en) * 2020-12-25 2021-06-04 广州朗国电子科技有限公司 Data packaging method and device, electronic equipment and storage medium
CN114026540A (en) * 2019-06-13 2022-02-08 微软技术许可有限责任公司 System and method for supporting and negotiating multiple API versions across multiple products

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101008894A (en) * 2007-01-26 2007-08-01 华为技术有限公司 Method and device for implementing compatibility between the old and new editions of system
US20160019049A1 (en) * 2010-05-26 2016-01-21 Automation Anywhere, Inc. System and method for resilient automation upgrade
CN106383726A (en) * 2016-08-30 2017-02-08 武汉精测电子技术股份有限公司 Signal adapter updating method based on image video transmission interface
US20170090911A1 (en) * 2015-09-30 2017-03-30 International Business Machines Corporation Upgrade of port firmware and driver software for a target device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101008894A (en) * 2007-01-26 2007-08-01 华为技术有限公司 Method and device for implementing compatibility between the old and new editions of system
US20160019049A1 (en) * 2010-05-26 2016-01-21 Automation Anywhere, Inc. System and method for resilient automation upgrade
US20170090911A1 (en) * 2015-09-30 2017-03-30 International Business Machines Corporation Upgrade of port firmware and driver software for a target device
CN106383726A (en) * 2016-08-30 2017-02-08 武汉精测电子技术股份有限公司 Signal adapter updating method based on image video transmission interface

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
周振红等: ""ATL和VCL支持下的组件版本升级技术"", 《人民黄河》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114026540A (en) * 2019-06-13 2022-02-08 微软技术许可有限责任公司 System and method for supporting and negotiating multiple API versions across multiple products
CN114026540B (en) * 2019-06-13 2024-03-19 微软技术许可有限责任公司 System and method for supporting and negotiating multiple API versions across multiple products
CN110750282A (en) * 2019-10-14 2020-02-04 支付宝(杭州)信息技术有限公司 Method and device for running application program and GPU node
CN112905226A (en) * 2020-12-25 2021-06-04 广州朗国电子科技有限公司 Data packaging method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN109783119B (en) 2022-01-28

Similar Documents

Publication Publication Date Title
US10467241B2 (en) Dynamically provisioning instances of a single-tenant application for multi-tenant use
CN103024052B (en) Realize the system and method that browser data synchronizes
CN101770515B (en) Data block comparison based data updating method
CN109783119A (en) A kind of data multi-version compatibility upgrading management system and its management method
US8429256B2 (en) Systems and methods for generating cached representations of host package inventories in remote package repositories
CN111381983B (en) Lightweight message middleware system and method of virtual test target range verification system
CN101656751A (en) Method and system for accelerating file uploading and downloading
EP1407379A2 (en) Method and apparatus to improve file management
CN112069265A (en) Configuration data synchronization method, service data system, computer system and medium
US20170147661A1 (en) Data load system with distributed data facility technology
CN115640110B (en) Distributed cloud computing system scheduling method and device
WO2014120467A1 (en) Database shard arbiter
CN109150608A (en) Interface service upgrade method and system for voice dialogue platform
RU2567381C2 (en) System and method for real-time image transmission
CN103139157A (en) Network communication method based on socket, device and system
CN104794190A (en) Method and device for effectively storing big data
CN103516735A (en) Method and apparatus for upgrading network node
JP7210642B2 (en) File directory traversal method, device, facility, medium, and program
CN108804121A (en) Method for edition management, device, medium in distributed system and electronic equipment
US12079193B2 (en) Distributed storage systems and methods to provide change tracking integrated with scalable databases
CN110457380A (en) A kind of data-storage system
US9749426B2 (en) Method, system, and apparatus for agent-based architecture for integrated mobile applications
CN112925551A (en) Object upgrading method, device, equipment and storage medium
CN112838935B (en) Electronic data exchange method and system
CN117312263A (en) Data circulation method, system, device and readable storage medium

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