CN110096547A - Supply synchronous method, device, computer equipment and the computer storage medium of data - Google Patents
Supply synchronous method, device, computer equipment and the computer storage medium of data Download PDFInfo
- Publication number
- CN110096547A CN110096547A CN201910218788.6A CN201910218788A CN110096547A CN 110096547 A CN110096547 A CN 110096547A CN 201910218788 A CN201910218788 A CN 201910218788A CN 110096547 A CN110096547 A CN 110096547A
- Authority
- CN
- China
- Prior art keywords
- data
- business side
- demand business
- demand
- request
- 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
Links
- 230000001360 synchronised effect Effects 0.000 title claims abstract description 58
- 238000000034 method Methods 0.000 title claims abstract description 56
- 238000012545 processing Methods 0.000 claims description 60
- 238000004590 computer program Methods 0.000 claims description 11
- 238000012546 transfer Methods 0.000 claims description 10
- 230000005540 biological transmission Effects 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 6
- 238000000586 desensitisation Methods 0.000 description 5
- 238000007726 management method Methods 0.000 description 5
- 239000011159 matrix material Substances 0.000 description 5
- 238000013461 design Methods 0.000 description 4
- 238000003672 processing method Methods 0.000 description 4
- 241001269238 Data Species 0.000 description 3
- 230000015572 biosynthetic process Effects 0.000 description 3
- 238000012508 change request Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 3
- 238000013500 data storage Methods 0.000 description 3
- 238000013523 data management Methods 0.000 description 2
- 238000000151 deposition Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000003252 repetitive effect Effects 0.000 description 2
- 238000012216 screening Methods 0.000 description 2
- 238000012800 visualization Methods 0.000 description 2
- KCXVZYZYPLLWCC-UHFFFAOYSA-N EDTA Chemical compound OC(=O)CN(CC(O)=O)CCN(CC(O)=O)CC(O)=O KCXVZYZYPLLWCC-UHFFFAOYSA-N 0.000 description 1
- PEDCQBHIVMGVHV-UHFFFAOYSA-N Glycerine Chemical compound OCC(O)CO PEDCQBHIVMGVHV-UHFFFAOYSA-N 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 229960001484 edetic acid Drugs 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/22—Indexing; Data structures therefor; Storage structures
- G06F16/2282—Tablespace storage structures; Management thereof
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
Abstract
This application discloses a kind of synchronous method, device, computer equipment and computer storage mediums for supplying data, are related to cloud storage technical field, it is possible to reduce operate, improved for several synchronous efficiencies for the manual change in several synchronizing processes.The described method includes: receiving the data acquisition request that demand business side is sent, the demand business side is carried to the scheduling permission of request data in the data acquisition request;According to the demand business side to the scheduling permission of request data, the request data to match with the scheduling permission is transferred from data center, and the request data is handled, and obtains demand business side supply data;Demand business side supply data are stored into the tables of data of provisioning database according to default storage rule;According to preconfigured isochronous schedules parameter, the tables of data in the provisioning database is synchronized to demand business side.
Description
Technical field
The present invention relates to cloud storage technical fields, more particularly, to synchronous method, the device, computer equipment of supply data
And computer storage medium.
Background technique
The rapid development and information-based propulsion of computer network so that data become the precious resources of many enterprises so that
Data acquisition, storage and processing task are growing day by day, and network-based data sharing has become people and obtains data resource not
The mode that can or lack.
It needs to synchronize shared data in order to which data sharing is better achieved, data synchronize for enterprise to Guan Chong
It wants, for example the server end of enterprise is used to manage the business end for belonging to difference department, enterprise, and is stored in server end
Data are managed, then server end is managed each business end for convenience, while improving the data processing effect at business end
Rate needs to guarantee that the data between server end and each business end are synchronous.
After data are synchronized to server by the business side of each department, the data of each department are not to be individually present
, the data generally required between other departments are assisted, for example, insurance department needs vehicle insurance department as demand business side
Data assisted, the synchronous data of vehicle insurance department can be asked for server, server is being synchronized to data to vehicle insurance department
Insurance department is synchronized to as number after being handled.However, since the data that demand business side is asked for have particularity, service
Device often writes the code for each operation in several synchronous service lines by the way of single table and single project, it may appear that
A large amount of repetitive operations, and when demand business side changes data requirements, it may appear that a large amount of change operations manually increase confession
The management difficulty of number synchronizing process.
Summary of the invention
In view of this, the present invention provides a kind of synchronous method, device, computer equipment and computers for supplying data to deposit
Storage media, main purpose are to solve for there are a large amount of repetitive operations in several synchronizing processes in presently relevant technology, in demand
There is the problem of a large amount of operations of change manually in business side when changing data requirements.
According to the present invention on one side, a kind of synchronous method for supplying data is provided, this method comprises:
The data acquisition request that reception demand business side is sent carries the demand business in the data acquisition request
Scheduling permission of the side to request data;
According to the demand business side to the scheduling permission of request data, transferred and the scheduling permission phase from data center
Matched request data, and the request data is handled, obtain demand business side supply data;
Demand business side supply data are stored into the tables of data of provisioning database according to default storage rule;
According to preconfigured isochronous schedules parameter, the tables of data in the provisioning database is synchronized to demand business
Side.
Further, the scheduling permission includes obtaining permission, and the data center is previously stored with each supply business
Fang Shangchuan be suitable for demand business side difference obtain permission request data, it is described according to the demand business side to number of request
According to scheduling permission, from data center transfer with the request data that matches of scheduling permission, and to the request data into
Row processing, obtaining demand business side supply data includes:
According to the demand business side to the acquisition permission of request data, from the pre-stored each supply industry of data center
The request data to match with the acquisition permission is filtered out in the request data that business side uploads;
The request data to match with the acquisition permission is handled, demand business side supply data are obtained.
Further, the scheduling permission further includes processing authority, and the data center is provided in advance suitable for demand
The data processing policy of business side's different disposal permission, it is described that the request data to match with the acquisition permission is carried out
Processing, obtaining demand business side supply data includes:
According to the demand business side to the processing authority of request data, from the preconfigured data of the service center
The data processing policy to match with the processing authority is filtered out in reason strategy;
According to the data processing policy to match with the processing authority, match to described with the acquisition permission
Request data handled, obtain demand business side supply data.
Further, the default storage rule is to store according to demand business side to the table structure of request data,
It is described that demand business side supply data are stored and include: into the tables of data of provisioning database according to default storage rule
It is generated according to table structure of the demand business side to request data in data center and is suitable for table structure storage
Tables of data;
Demand business side supply data are stored to described according to default storage rule and are suitable for what table structure stored
In tables of data.
Further, the default storage rule is to deposit according to demand business side to the synchronization parameter of request data
Storage, described store demand business side supply data into the tables of data of provisioning database according to default storage rule are wrapped
It includes:
It is generated according to synchronization parameter of the demand business side to request data in data center and is deposited suitable for synchronization parameter
The tables of data of storage;
Demand business side supply data are stored to the synchronization parameter that is suitable for according to default storage rule and are stored
Tables of data in.
Further, described according to preconfigured isochronous schedules parameter, by the tables of data in the provisioning database
It is synchronized to before demand business side, the method also includes:
According to data volume size in the tables of data of the provisioning database, determine that the demand business side supply data are corresponding
Data volume rank;
Supply data corresponding data volume rank according to the demand business side, it is corresponding that setting demand business side supplies data
Isochronous schedules parameter.
Further, the isochronous schedules parameter include synchronization time parameter, isochronous schedules time level parameters and same
Node weights parameter is walked, it is described to supply data corresponding data volume rank according to the demand business side, demand business side is set
Supplying the corresponding isochronous schedules parameter of data includes:
The corresponding data volume rank of data, which is supplied, according to the demand business side estimates demand business side supply data completion
Time required for synchronous task, setting demand business side supply parameter synchronization time of data;
The corresponding data volume rank of data, which is supplied, according to the demand business side estimates demand business side supply data same
The unit time dispatched in step task, setting demand business side supply the isochronous schedules time level parameters of data;
The corresponding data volume rank of data, which is supplied, according to the demand business side estimates demand business side supply data same
Need to open synchronization node quantity in step task, setting demand business side supplies the synchronization node weight parameter of data.
According to the present invention on the other hand, a kind of synchronizing device for supplying data is provided, described device includes:
Receiving unit carries in the data acquisition request for receiving the data acquisition request of demand business side transmission
There is the demand business side to the scheduling permission of request data;
Transfer unit, for the scheduling permission according to the demand business side to request data, from data center transfer with
The request data that the scheduling permission matches, and the request data is handled, obtain demand business side supply data;
Storage unit, for storing demand business side supply data to provisioning database according to default storage rule
Tables of data in;
Synchronization unit is used for according to preconfigured isochronous schedules parameter, and the tables of data in the provisioning database is same
It walks to demand business side.
Further, the scheduling permission includes obtaining permission, and the data center is previously stored with each supply business
The request data for being suitable for demand business side difference and obtaining permission of Fang Shangchuan, the unit of transferring include:
Screening module is deposited for the acquisition permission according to the demand business side to request data from data center in advance
The request data to match with the acquisition permission is filtered out in the request data that each supply business side of storage uploads;
Processing module obtains demand industry for handling the request data to match with the acquisition permission
Business side supplies data.
Further, the scheduling permission further includes processing authority, and the data center is provided in advance suitable for demand
The data processing policy of business side's different disposal permission,
The processing module, specifically for the processing authority according to the demand business side to request data, from the industry
The data processing policy to match with the processing authority is filtered out in the preconfigured data processing policy in business center;
The processing module is specifically also used to according to the data processing policy to match with the processing authority, right
The request data to match with the acquisition permission is handled, and demand business side supply data are obtained.
Further, the default storage rule is to store according to demand business side to the table structure of request data,
The storage unit includes:
Generation module is suitable for for being generated according to table structure of the demand business side to request data in data center
The tables of data of table structure storage;
Memory module is suitable for for storing demand business side supply data to described according to default storage rule
In the tables of data of table structure storage.
Further, the default storage rule is to deposit according to demand business side to the synchronization parameter of request data
Storage,
The generation module is also used to raw in data center to the synchronization parameter of request data according to the demand business side
At the tables of data for being suitable for synchronization parameter storage;
The memory module is also used to store demand business side supply data to described according to default storage rule
Suitable for the tables of data of synchronization parameter storage.
Further, described device further include:
Determination unit is used for described according to preconfigured isochronous schedules parameter, by the number in the provisioning database
Before being synchronized to demand business side according to table, according to data volume size in the tables of data of the provisioning database, the demand is determined
Business side supplies data corresponding data volume rank;
Demand business is arranged for supplying data corresponding data volume rank according to the demand business side in setting unit
The corresponding isochronous schedules parameter of side's supply data.
Further, the isochronous schedules parameter include synchronization time parameter, isochronous schedules time level parameters and same
Node weights parameter is walked, the setting unit includes:
First setup module estimates demand industry for supplying the corresponding data volume rank of data according to the demand business side
Business side supplies data and completes the time required for synchronous task, and setting demand business side supplies parameter synchronization time of data;
Second setup module estimates demand industry for supplying the corresponding data volume rank of data according to the demand business side
The unit time that business side's supply data are dispatched in synchronous task, setting demand business side supply the isochronous schedules time stage of data
Other parameter;
Third setup module estimates demand industry for supplying the corresponding data volume rank of data according to the demand business side
Business side's supply data need to open in synchronous task synchronization node quantity, and setting demand business side supplies the synchronization node of data
Weight parameter.
Another aspect according to the present invention provides a kind of computer equipment, including memory and processor, the storage
Device is stored with computer program, and the processor realizes the step of the synchronous method of supply data when executing the computer program
Suddenly.
Another aspect according to the present invention provides a kind of computer storage medium, is stored thereon with computer program, institute
The step of stating the synchronous method that supply data are realized when computer program is executed by processor.
By above-mentioned technical proposal, the present invention provides a kind of synchronous method and device for supplying data, according to receiving need
It asks business side to the scheduling permission of request data, the request data to match with scheduling permission is transferred from data center, for not
With the characteristic of demand business side supply data, request data is handled, and according to default storage rule by demand business side
Supply data are stored into the tables of data of provisioning database, convenient for supplying the management of data, are executing synchronizing for supply data
Cheng Zhong, it is only necessary to the target matrix that demand business side in provisioning database selects, the according to demand synchronization of business side's configuration
The target matrix of provisioning database is synchronized to demand business side by scheduling parameter.With in the prior art demand business side become
The methods of synchronization for occurring the supply data of a large amount of operations of change manually when more data requirements are compared, and the embodiment of the present invention is by from number
Business demand side is obtained according to center and supplies data, to demand business number formulary according to being handled and stored to the mistake of provisioning database
Journey forms and can configure manageable synchronization scheme to supply data, realizes demand business side to supply number by info-teaching design
According to synchronization, greatly reduce human cost of the supply data in synchronizing process.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field
Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention
Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows a kind of synchronous method flow diagram for supplying data provided in an embodiment of the present invention;
Fig. 2 shows the synchronous method flow diagrams of another supply data provided in an embodiment of the present invention;
Fig. 3 shows a kind of structural schematic diagram of synchronizing device for supplying data provided in an embodiment of the present invention;
Fig. 4 shows the structural schematic diagram of the synchronizing device of another supply data provided in an embodiment of the present invention.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
It is fully disclosed to those skilled in the art.
The embodiment of the invention provides a kind of synchronous method for supplying data, it is possible to reduce for manual in several synchronizing processes
Change operation, is improved for several synchronous efficiencies, as shown in Figure 1, this method comprises:
101, the data acquisition request that demand business side is sent is received.
Since each department needs the auxiliary of other department service data during business operation, so in each department
After the data center of synchronizing traffic data to server, demand business side needs to transfer the partial service number from data center
According to, further can to server send data acquisition request.
It is not that any business side can arbitrarily call data to guarantee the safety of intra-data center data, needs
Demand business side is carried when business Fang Xiang server being asked to send data acquisition request, in the data acquisition request to number of request
According to scheduling permission, the scheduling permission can determine demand business side have obtain which department synchrodata permission, example
Such as, data center is stored with the synchrodata of ABECE department, and department A is only configured with the power of the synchrodata of acquisition department B
Limit, can not obtain the synchrodata of other departments.
102, the scheduling permission of request data is transferred from data center and is weighed with the scheduling according to the demand business side
The request data to match is limited, and the request data is handled, obtains demand business side supply data.
It is usually that other departments are same since demand traffic direction server sends the corresponding request data of acquisition request
It walks to the data of data center, after server receives acquisition request, tune of the business side to request data according to demand first
Degree permission judges whether business side has the permission with acquisition request data, if it is, according to permission is dispatched from data center
Request data corresponding with data acquisition request is transferred, and request data is handled, is obtained to be synchronized to demand business side
For number, if it is not, then can to demand business side send acquisition request response prompt demand business side's request data failure, ask
Data are asked not meet the scheduling permission of demand business side.
For the embodiment of the present invention, scheduling go permission can also determine demand business side to the processing mode of request data,
For example, department A needs to carry out desensitization and encryption, portion to the fields such as subscriber phone in request data and user identity card
Door B needs the user account information in request data such as to encrypt.
103, demand business side supply data are stored to the tables of data of provisioning database according to default storage rule
In.
Wherein, preset storage rule be can be according to demand business side to the scheduling permission build applicable data of request data
The storage rule of table structure, for example, demand business side only has the acquisition permission of fetching portion data content, so depositing in creation
When storage is for several tables of data, the data list structure that request data can be suitable for according to permission creation is obtained, further according to default
Storage rule stores the tables of data into provisioning database for number for demand business side.Default storage rule can be according to
Party in request generates the storage rule for being applicable in synchronization parameter to the synchronization parameter of request data, for example, business side's logarithm according to demand
According to synchronizing cycle can be divided into hour, day, week and moon etc., according to the synchronization parameter of different request datas generate be suitable for phase
With the tables of data of synchronizing cycle, further according to default storage rule by storing to supply for number to demand business side to be synchronized
Tables of data in database.
It should be noted that demand business side may adjust the data of oneself request during processing business
It is whole, such as increase or delete certain data, it, can be to server if demand business side changes the data of acquisition request
Data change request is sent, data change request carries change operation and the corresponding data content of change operation, and
Record and publication change time, in order to which server can in time be handled supply data according to data change request, into
And guarantee the data that change can be added in the synchronized result of supply data.
104, according to preconfigured isochronous schedules parameter, the tables of data in the provisioning database is synchronized to demand industry
Business side.
For the embodiment of the present invention, it may include synchronization time that demand business side, which supplies the corresponding isochronous schedules parameter of data,
Parameter, isochronous schedules time level parameters and synchronization node weight parameter, parameter synchronization time are to estimate completion supply data
The required time is synchronized, for example, completing the synchronization of supply data in configuration 1 hour, isochronous schedules time rank is supply number
According to the unit synchronization time dispatched in synchronizing process, for example, 5 minutes ranks, 10 minutes ranks, 30 minutes ranks, 1 hour grade
Not, 3 hours ranks and 1 day rank, synchronization node weight parameter supply data need to open simultaneously in synchronizing process
Number of nodes synchronizes for example, opening 5 machines simultaneously and carrying out supply data.Further joined according to preconfigured isochronous schedules
Number, is synchronized to demand business side for target matrix in provisioning database.
The present invention provides a kind of synchronous method for supplying data, according to receiving scheduling of the demand business side to request data
Permission transfers the request data to match with scheduling permission from data center, for the spy of different demands business side supply data
Property, request data is handled, and store demand business side supply data to provisioning database according to default storage rule
Tables of data in, convenient for supply data management, execute supply data synchronizing process in, it is only necessary to in provisioning database
The target matrix of demand business side selection, the isochronous schedules parameter that business side configures according to demand, by the mesh of provisioning database
Mark tables of data is synchronized to demand business side.With occur in the prior art when demand business side changes data requirements it is a large amount of manually more
The method of synchronization for changing the supply data of operation is compared, and the embodiment of the present invention supplies number by obtaining business demand side from data center
According to demand business number formulary according to being handled and being stored to the process of provisioning database, formation is configurable to supply data can
The synchronization scheme of management realizes synchronization of the demand business side to supply data by info-teaching design, greatly reduces supply number
According to the human cost in synchronizing process.
The embodiment of the invention provides the synchronous method of another supply data, it is possible to reduce for the hand in several synchronizing processes
Dynamic change operation, is improved for several synchronous efficiencies, as shown in Figure 2, which comprises
201, the data acquisition request that demand business side is sent is received.
Wherein, demand business side is carried in data acquisition request to the scheduling permission of request data, scheduling here is weighed
Limit can not only configure the permission that each department obtains other division datas, can also configure each department and obtain other division datas
The permission of content, for example, department A is synchronized to the data of data center configured with acquisition department B, and configured in acquisition data
The permission of user basic information can not obtain the permission of other content in data, and specific scheduling permission can also be according to practical feelings
Condition configuration, for example, configuring the scheduling permission of data between each department by visualization interface display, and in scheduling permission respectively
The permission of data content is obtained between a department.
202, according to the demand business side to the acquisition permission of request data, from the pre-stored each confession of data center
The request data to match with the acquisition permission is filtered out in the request data for answering business side to upload.
Wherein, scheduling permission includes obtaining permission, and data center is previously stored with being applicable in for each supply business side upload
The request data of permission is obtained in demand business side difference, according to demand acquisition permission of the business side to request data, Ke Yicong
Data center filters out the request data to match with acquisition permission.
For example, data center is stored with the request data suitable for party in request M of business side ABCDE upload, and party in request M
Permission with the tables of data a1 for obtaining business side A, the permission with acquisition business side B data table b1 have acquisition business side C
The permission of tables of data c1, the permission with acquisition business side D tables of data d2, the permission with acquisition business side E tables of data e3, and
The data that business side M is requested at this time are therefore the data of business side C can filter out business side's C data table from data center
c1。
It should be noted that if the request data of demand business side and acquisition permission mismatch, that is to say, bright demand industry
Business side and the permission for not having acquisition request data can stop subsequent operation at this time, and send prompt letter to demand business side
Breath, which can be attached to the available request data list of acquisition permission of demand business side, for demand business
Side retransmits data acquisition request after selection has the request data for obtaining permission in request data list.
203, according to the demand business side to the processing authority of request data, from the preconfigured number of the service center
According to filtering out the data processing policy to match with the processing authority in processing strategie.
Wherein, scheduling permission further includes processing authority, and data center is provided in advance not to exist together suitable for demand business side
The data processing policy of permission is managed, business side can filter out the processing authority of request data from data center according to demand
The data processing policy to match with processing authority.
For example, data center configuration has the data processing policy suitable for demand business side M to have field desensitization, field to add
Close, field merges, field is deleted etc., it should be noted that can be used alone can also be any one for above-mentioned data processing policy
Weight or a variety of merging use, and if field encryption and field desensitization merge use, field is deleted, field encryption and field desensitization close
And use, demand business side M is therefore user account information encryption is screened from data center to the processing authority of request data
The data processing policy of field encryption out.
204, according to the data processing policy to match with the processing authority, to described with the acquisition permission phase
Matched request data is handled, and demand business side supply data are obtained.
It, can be by being set in server specifically after being deployed into the request data to match with scheduling permission from data center
Data control platform is set, there are many data processing methods for data control platform configuration, suitable by searching in data control platform
The data processing method of conjunction demand business side obtains demand business side supply data to handle request data.
Here a variety of data processing methods of data control platform configuration specifically include that desensitization process and encryption,
For example, desensitizing to the sensitive information in request data, and important information in request data is encrypted etc..
In addition, the data processing method can configure according to the actual situation, for example, configuring a variety of numbers by visualization interface
Selection is carried out for demand business side according to processing mode or provides suitable processing mode to demand business side.
205, demand business side supply data are stored to the tables of data of provisioning database according to default storage rule
In.
For the embodiment of the present invention, default storage rule can for according to demand business side to the table structure of request data into
Row storage business side can specifically generate suitable for table structure storage the table structure of request data in data center according to demand
Tables of data, here can in advance data center storage be suitable for business side's request data table structure various tables of data,
For example, type list, information table, picture table etc., and then store demand business side supply data to suitable according to default storage rule
In tables of data for table structure storage.
Default storage rule can also specifically may be used to store according to demand business side to the synchronization parameter of request data
The tables of data for being suitable for synchronization parameter storage is generated in data center with synchronization parameter of the business side according to demand to request data,
Here the various synchronization parameters of request data can be suitable in data center's storage in advance, for example, between synchronizing total time, synchronizing
Demand business side supply data are stored to suitable for same every time, synchronization node quantity etc., and then according to default storage rule
In the tables of data for walking parameter storage.
206, according to data volume size in the tables of data of the provisioning database, the demand business side supply data are determined
Corresponding data volume rank.
For the embodiment of the present invention, since data center is when sending the synchronous task of supply data to demand business side,
It is managed for the ease of synchronous task of the data center to supply data, the data volume that data center can in advance to supply data
It is counted, and result is obtained according to statistics, demand business side supply data are divided into the other supply number of different data magnitude
According to, and the other supply data of different data magnitude need to configure different isochronous schedules parameters.
For example, illustrating that the data volume rank for supplying data is higher if the data volume of supply data is larger, it usually needs
Longer synchronization time illustrates that the data volume rank for supplying data is lower, usually needs if the data volume of supply data is smaller
Want less synchronization time.
207, supply data corresponding data volume rank according to the demand business side, setting demand business side supplies data
Corresponding isochronous schedules parameter.
Since demand business side has just clearly required in acquisition request data when sending data acquisition request
The demand informations such as the time of appearance and acquisition request data, so server is asked in the data acquisition for receiving demand business side
Ask, and after transferring out from data center the supply data of demand business side, can business side according to demand demand information it is preparatory
Configuration is suitable for answering the isochronous schedules task of data.
208, according to preconfigured isochronous schedules parameter, the tables of data in the provisioning database is synchronized to demand industry
Business side.
Specifically during actually executing isochronous schedules task, multiple same steps can be configured in isochronous schedules task
Parameter, including parameter synchronization time, isochronous schedules time level parameters and synchronization node weight parameter are spent, for example, business side
It is required that in 3 days complete 15 tables of data data synchronous task, here be arranged isochronous schedules parameter be synchronization time parameter be 3
It, isochronous schedules time level parameters are 1 day rank, and synchronization node weight parameter is 5 servers, the every bu of every server
Data synchronous task is completed at least 1 tables of data.
Further, the specific implementation as Fig. 1 the method, the embodiment of the invention provides a kind of the same of supply data
Device is walked, as shown in figure 3, described device includes: receiving unit 31, transfers unit 32, storage unit 33, synchronization unit 34.
Receiving unit 31 can be used for receiving the data acquisition request of demand business side transmission, the data acquisition request
In carry the demand business side to the scheduling permission of request data;
Unit 32 is transferred, can be used for the scheduling permission according to the demand business side to request data, from data center
The request data to match with the scheduling permission is transferred, and the request data is handled, obtains the confession of demand business side
Answer data;
Storage unit 33 can be used for storing demand business side supply data to supply according to default storage rule
In the tables of data of database;
Synchronization unit 34 can be used for according to preconfigured isochronous schedules parameter, by the number in the provisioning database
Demand business side is synchronized to according to table.
The present invention provides a kind of synchronizing device for supplying data, according to receiving scheduling of the demand business side to request data
Permission transfers the request data to match with scheduling permission from data center, for the spy of different demands business side supply data
Property, request data is handled, and store demand business side supply data to provisioning database according to default storage rule
Tables of data in, convenient for supply data management, execute supply data synchronizing process in, it is only necessary to in provisioning database
The target matrix of demand business side selection, the isochronous schedules parameter that business side configures according to demand, by the mesh of provisioning database
Mark tables of data is synchronized to demand business side.With occur in the prior art when demand business side changes data requirements it is a large amount of manually more
The method of synchronization for changing the supply data of operation is compared, and the embodiment of the present invention supplies number by obtaining business demand side from data center
According to demand business number formulary according to being handled and being stored to the process of provisioning database, formation is configurable to supply data can
The synchronization scheme of management realizes synchronization of the demand business side to supply data by info-teaching design, greatly reduces supply number
According to the human cost in synchronizing process.
As the further explanation for the synchronizing device for supplying data shown in Fig. 3, Fig. 4 is another according to embodiments of the present invention
The structural schematic diagram of the synchronizing device of kind supply data, as shown in figure 4, described device further include:
Determination unit 35 can be used for described according to preconfigured isochronous schedules parameter, by the provisioning database
In tables of data be synchronized to before demand business side, according to data volume size in the tables of data of the provisioning database, determine institute
State the corresponding data volume rank of demand business side supply data;
Setting unit 36 can be used for being supplied data corresponding data volume rank according to the demand business side, and setting needs
Seek the corresponding isochronous schedules parameter of business side's supply data.
Further, the isochronous schedules parameter include synchronization time parameter, isochronous schedules time level parameters and same
Node weights parameter is walked, the setting unit 36 includes:
First setup module 361 can be used for supplying the corresponding data volume rank of data according to the demand business side pre-
Estimate demand business side supply data to complete the time required for synchronous task, setting demand business side supplies the synchronization time of data
Parameter;
Second setup module 361 can be used for supplying the corresponding data volume rank of data according to the demand business side pre-
Estimate the unit time that demand business side supply data are dispatched in synchronous task, setting demand business side supplies the same step of data
Spend time level parameters;
Third setup module 361 can be used for supplying the corresponding data volume rank of data according to the demand business side pre-
Estimate demand business side supply data and need to open synchronization node quantity in synchronous task, setting demand business side supplies data
Synchronization node weight parameter.
Further, the scheduling permission includes obtaining permission, and the data center is previously stored with each supply business
The request data for being suitable for demand business side difference and obtaining permission of Fang Shangchuan, the unit 32 of transferring include:
Screening module 321 can be used for the acquisition permission according to the demand business side to request data, from data center
The request data to match with the acquisition permission is filtered out in the request data that pre-stored each supply business side uploads;
Processing module 322 can be used for handling the request data to match with the acquisition permission, obtain
Demand business side supplies data.
Further, the scheduling permission further includes processing authority, and the data center is provided in advance suitable for demand
The data processing policy of business side's different disposal permission,
The processing module 322 specifically can be used for the processing authority according to the demand business side to request data, from
The data processing policy to match with the processing authority is filtered out in the preconfigured data processing policy of service center;
The processing module 322 specifically can be also used for according to the data processing to match with the processing authority
Strategy handles the request data to match with the acquisition permission, obtains demand business side supply data.
Further, the default storage rule is to store according to demand business side to the table structure of request data,
The storage unit 33 includes:
Generation module 331 can be used for raw in data center to the table structure of request data according to the demand business side
At the tables of data for being suitable for table structure storage;
Memory module 332 can be used for storing demand business side supply data to institute according to default storage rule
It states suitable for the tables of data of table structure storage.
Further, the default storage rule is to deposit according to demand business side to the synchronization parameter of request data
Storage,
The generation module 331, can be also used for according to the demand business side to the synchronization parameter of request data in number
According to the tables of data being centrally generated suitable for synchronization parameter storage;
The memory module 332 can be also used for depositing demand business side supply data according to default storage rule
It stores up to described suitable for the tables of data of synchronization parameter storage.
It should be noted that its of each functional unit involved by a kind of synchronizing device for supplying data provided in this embodiment
He accordingly describes, can be with reference to the corresponding description in Fig. 1 and Fig. 2, and details are not described herein.
It is deposited thereon based on above-mentioned method as depicted in figs. 1 and 2 correspondingly, the present embodiment additionally provides a kind of storage medium
Computer program is contained, which realizes the side of synchronization of above-mentioned supply data as depicted in figs. 1 and 2 when being executed by processor
Method.
Based on this understanding, the technical solution of the application can be embodied in the form of software products, which produces
Product can store in a non-volatile memory medium (can be CD-ROM, USB flash disk, mobile hard disk etc.), including some instructions
With so that computer equipment (can be personal computer, server or the network equipment an etc.) execution the application is each
Method described in implement scene.
Based on above-mentioned method as shown in Figure 1 and Figure 2 and Fig. 3, virtual bench embodiment shown in Fig. 4, in order to realize
Above-mentioned purpose, the embodiment of the present application also provides a kind of computer equipments, are specifically as follows personal computer, server, network
Equipment etc., the entity device include storage medium and processor;Storage medium, for storing computer program;Processor is used for
Computer program is executed to realize the synchronous method of above-mentioned supply data as depicted in figs. 1 and 2.
Optionally, which can also include user interface, network interface, camera, radio frequency (Radio
Frequency, RF) circuit, sensor, voicefrequency circuit, WI-FI module etc..User interface may include display screen
(Display), input unit such as keyboard (Keyboard) etc., optional user interface can also connect including USB interface, card reader
Mouthful etc..Network interface optionally may include standard wireline interface and wireless interface (such as blue tooth interface, WI-FI interface).
It will be understood by those skilled in the art that the entity device structure of the synchronization of supply data provided in this embodiment is not
The restriction to the entity device is constituted, may include more or fewer components, perhaps combines certain components or different portions
Part arrangement.
It can also include operating system, network communication module in storage medium.Operating system is that the above-mentioned computer of management is set
The program of standby hardware and software resource, supports the operation of message handling program and other softwares and/or program.Network communication mould
Block leads to for realizing the communication between each component in storage medium inside, and between other hardware and softwares in the entity device
Letter.
Through the above description of the embodiments, those skilled in the art can be understood that the application can borrow
It helps software that the mode of necessary general hardware platform is added to realize, hardware realization can also be passed through.Pass through the skill of application the application
Art scheme, compared with currently available technology, the embodiment of the present invention supplies data by obtaining business demand side from data center, right
According to being handled and being stored to the process of provisioning database, formation can configure supply data manageable demand business number formulary
Synchronization scheme realizes synchronization of the demand business side to supply data by info-teaching design, greatly reduces supply data same
Human cost during step.
It will be appreciated by those skilled in the art that the accompanying drawings are only schematic diagrams of a preferred implementation scenario, module in attached drawing or
Process is not necessarily implemented necessary to the application.It will be appreciated by those skilled in the art that the mould in device in implement scene
Block can according to implement scene describe be distributed in the device of implement scene, can also carry out corresponding change be located at be different from
In one or more devices of this implement scene.The module of above-mentioned implement scene can be merged into a module, can also be into one
Step splits into multiple submodule.
Above-mentioned the application serial number is for illustration only, does not represent the superiority and inferiority of implement scene.Disclosed above is only the application
Several specific implementation scenes, still, the application is not limited to this, and the changes that any person skilled in the art can think of is all
The protection scope of the application should be fallen into.
Claims (10)
1. a kind of synchronous method for supplying data, which is characterized in that the described method includes:
The data acquisition request that reception demand business side is sent carries the demand business side pair in the data acquisition request
The scheduling permission of request data;
According to the demand business side to the scheduling permission of request data, transfers from data center and match with the scheduling permission
Request data, and the request data is handled, obtains demand business side supply data;
Demand business side supply data are stored into the tables of data of provisioning database according to default storage rule;
According to preconfigured isochronous schedules parameter, the tables of data in the provisioning database is synchronized to demand business side.
2. the method according to claim 1, wherein the scheduling permission includes obtaining permission, in the data
The heart is previously stored with the request data for being suitable for demand business side difference and obtaining permission that each supply business side uploads, and described
According to the demand business side to the scheduling permission of request data, the request to match with the scheduling permission is transferred from data center
Data, and the request data is handled, obtaining demand business side supply data includes:
According to the demand business side to the acquisition permission of request data, from pre-stored each supply business side, data center
The request data to match with the acquisition permission is filtered out in the request data of upload;
The request data to match with the acquisition permission is handled, demand business side supply data are obtained.
3. according to the method described in claim 2, it is characterized in that, the scheduling permission further includes processing authority, the data
Center is provided with the data processing policy suitable for demand business side different disposal permission in advance, described to the described and acquisition
The request data that permission matches is handled, and is obtained demand business side supply data and is included:
According to the demand business side to the processing authority of request data, from the preconfigured data processing plan of the service center
The data processing policy to match with the processing authority is filtered out in slightly;
According to the data processing policy to match with the processing authority, asked to described with what the acquisition permission matched
It asks data to be handled, obtains demand business side supply data.
4. the method according to claim 1, wherein the default storage rule is according to demand business side to asking
The table structure of data is asked to be stored, it is described to store demand business side supply data to supply according to default storage rule
Include: in the tables of data of database
The data for being suitable for table structure storage are generated in data center according to table structure of the demand business side to request data
Table;
Demand business side supply data are stored to the data suitable for table structure storage according to default storage rule
In table.
5. the method according to claim 1, wherein the default storage rule is according to demand business side to asking
The synchronization parameter of data is asked to be stored, it is described to store demand business side supply data to confession according to default storage rule
It answers in the tables of data of database and includes:
It is generated according to synchronization parameter of the demand business side to request data in data center and is suitable for synchronization parameter storage
Tables of data;
Demand business side supply data are stored to the number suitable for synchronization parameter storage according to default storage rule
According in table.
6. method according to any one of claims 1-5, which is characterized in that described according to preconfigured same step
Parameter is spent, before the tables of data in the provisioning database is synchronized to demand business side, the method also includes:
According to data volume size in the tables of data of the provisioning database, the corresponding number of the demand business side supply data is determined
It is other according to magnitude;
Supply data corresponding data volume rank according to the demand business side, it is corresponding same that setting demand business side supplies data
Walk scheduling parameter.
7. according to the method described in claim 6, it is characterized in that, the isochronous schedules parameter includes parameter, same to synchronization time
Step scheduling time level parameters and synchronization node weight parameter, it is described to supply data corresponding number according to the demand business side
Other according to magnitude, setting demand business side supplies the corresponding isochronous schedules parameter of data and includes:
The corresponding data volume rank of data, which is supplied, according to the demand business side estimates demand business side supply data completion synchronization
The time that required by task is wanted, setting demand business side supply parameter synchronization time of data;
The corresponding data volume rank of data, which is supplied, according to the demand business side estimates demand business side supply data at synchronous
The unit time dispatched in business, setting demand business side supply the isochronous schedules time level parameters of data;
The corresponding data volume rank of data, which is supplied, according to the demand business side estimates demand business side supply data at synchronous
Need to open synchronization node quantity in business, setting demand business side supplies the synchronization node weight parameter of data.
8. a kind of synchronizing device for supplying data, which is characterized in that described device includes:
Receiving unit carries in the data acquisition request for receiving the data acquisition request of demand business side transmission
Demand business side is stated to the scheduling permission of request data;
Transfer unit, for the scheduling permission according to the demand business side to request data, from data center transfer with it is described
The request data that scheduling permission matches, and the request data is handled, obtain demand business side supply data;
Storage unit, for storing demand business side supply data to the number of provisioning database according to default storage rule
According in table;
Synchronization unit, for according to preconfigured isochronous schedules parameter, the tables of data in the provisioning database to be synchronized to
Demand business side.
9. a kind of computer equipment, including memory and processor, the memory are stored with computer program, feature exists
In the step of processor realizes any one of claims 1 to 7 the method when executing the computer program.
10. a kind of computer storage medium, is stored thereon with computer program, which is characterized in that the computer program is located
The step of reason device realizes method described in any one of claims 1 to 7 when executing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910218788.6A CN110096547A (en) | 2019-03-21 | 2019-03-21 | Supply synchronous method, device, computer equipment and the computer storage medium of data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910218788.6A CN110096547A (en) | 2019-03-21 | 2019-03-21 | Supply synchronous method, device, computer equipment and the computer storage medium of data |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110096547A true CN110096547A (en) | 2019-08-06 |
Family
ID=67444038
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910218788.6A Pending CN110096547A (en) | 2019-03-21 | 2019-03-21 | Supply synchronous method, device, computer equipment and the computer storage medium of data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110096547A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110674147A (en) * | 2019-08-28 | 2020-01-10 | 视联动力信息技术股份有限公司 | Data processing method, device and computer readable storage medium |
CN111651429A (en) * | 2020-05-26 | 2020-09-11 | 中国平安财产保险股份有限公司 | Big data scheduling parameter management method and device and distributed platform |
CN112417505A (en) * | 2020-11-23 | 2021-02-26 | 平安普惠企业管理有限公司 | Data processing method, device, equipment and medium |
CN115982683A (en) * | 2023-03-20 | 2023-04-18 | 北京帮邦通达医疗器械有限公司 | Enterprise security management method, system, terminal and storage medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5941947A (en) * | 1995-08-18 | 1999-08-24 | Microsoft Corporation | System and method for controlling access to data entities in a computer network |
CN101166118A (en) * | 2007-09-30 | 2008-04-23 | 华为技术有限公司 | A method for processing user configuration information and service report system |
CN102402548A (en) * | 2010-09-17 | 2012-04-04 | 金蝶软件(中国)有限公司 | Method and system for controlling data query of application system |
CN103516591A (en) * | 2012-06-30 | 2014-01-15 | 北京神州泰岳软件股份有限公司 | Method and device for achieving enterprise address list in instant communication platform |
CN105005574A (en) * | 2015-01-07 | 2015-10-28 | 泰华智慧产业集团股份有限公司 | Urban garden greening management data interactive system and method thereof |
CN106095954A (en) * | 2016-06-14 | 2016-11-09 | 成都镜杰科技有限责任公司 | Data base management method for enterprise supply chain |
CN106384057A (en) * | 2016-04-27 | 2017-02-08 | 平安科技(深圳)有限公司 | Data access authority identification method and device |
CN106649225A (en) * | 2016-12-30 | 2017-05-10 | 冶金自动化研究设计院 | JSON self-definition-based report generation system and method |
CN108804402A (en) * | 2017-04-28 | 2018-11-13 | 北京京东尚科信息技术有限公司 | Report generating system based on big data platform and method |
-
2019
- 2019-03-21 CN CN201910218788.6A patent/CN110096547A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5941947A (en) * | 1995-08-18 | 1999-08-24 | Microsoft Corporation | System and method for controlling access to data entities in a computer network |
CN101166118A (en) * | 2007-09-30 | 2008-04-23 | 华为技术有限公司 | A method for processing user configuration information and service report system |
CN102402548A (en) * | 2010-09-17 | 2012-04-04 | 金蝶软件(中国)有限公司 | Method and system for controlling data query of application system |
CN103516591A (en) * | 2012-06-30 | 2014-01-15 | 北京神州泰岳软件股份有限公司 | Method and device for achieving enterprise address list in instant communication platform |
CN105005574A (en) * | 2015-01-07 | 2015-10-28 | 泰华智慧产业集团股份有限公司 | Urban garden greening management data interactive system and method thereof |
CN106384057A (en) * | 2016-04-27 | 2017-02-08 | 平安科技(深圳)有限公司 | Data access authority identification method and device |
CN106095954A (en) * | 2016-06-14 | 2016-11-09 | 成都镜杰科技有限责任公司 | Data base management method for enterprise supply chain |
CN106649225A (en) * | 2016-12-30 | 2017-05-10 | 冶金自动化研究设计院 | JSON self-definition-based report generation system and method |
CN108804402A (en) * | 2017-04-28 | 2018-11-13 | 北京京东尚科信息技术有限公司 | Report generating system based on big data platform and method |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110674147A (en) * | 2019-08-28 | 2020-01-10 | 视联动力信息技术股份有限公司 | Data processing method, device and computer readable storage medium |
CN110674147B (en) * | 2019-08-28 | 2023-02-28 | 视联动力信息技术股份有限公司 | Data processing method, device and computer readable storage medium |
CN111651429A (en) * | 2020-05-26 | 2020-09-11 | 中国平安财产保险股份有限公司 | Big data scheduling parameter management method and device and distributed platform |
CN111651429B (en) * | 2020-05-26 | 2023-10-24 | 中国平安财产保险股份有限公司 | Big data scheduling parameter management method, device and distributed platform |
CN112417505A (en) * | 2020-11-23 | 2021-02-26 | 平安普惠企业管理有限公司 | Data processing method, device, equipment and medium |
CN115982683A (en) * | 2023-03-20 | 2023-04-18 | 北京帮邦通达医疗器械有限公司 | Enterprise security management method, system, terminal and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110096547A (en) | Supply synchronous method, device, computer equipment and the computer storage medium of data | |
CN103825950B (en) | A kind of method and system based on the synchronous contact person of cloud platform | |
EP3053052B1 (en) | Managing a number of secondary clouds by a master cloud service manager | |
US20150006608A1 (en) | Networked solutions integration using a cloud business object broker | |
CN110413673B (en) | Database data unified acquisition and distribution method and system | |
CN106534763A (en) | Video conference control method and device | |
CN103180842A (en) | Cloud computing system and data synchronization method therefor | |
US20200358757A1 (en) | Provisioning initial keystore for multi-tenant, microservice architecture-based integration service in a cloud computing environment setup | |
JPH11161606A (en) | Multiserver workflow system | |
US9397987B1 (en) | Managing interaction with hosted services | |
CN110944067B (en) | Load balancing method and server | |
US10057425B2 (en) | Context-driven teleconference session management | |
CN105988767B (en) | Information processing unit, information processing method and information processing system | |
EP3800569A1 (en) | System and method for targeted endpoint data acquisition | |
CN110225077A (en) | Synchronous method, device, computer equipment and the computer storage medium of change supply data | |
US20170270131A1 (en) | Synchronization and management of heterogeneous host directories in a security environment | |
CN110036623A (en) | Liaison centre is generated on demand | |
CN108022079A (en) | Sharing method, device and the computer-readable recording medium of Service Source | |
WO2014047550A1 (en) | System and method for facilitating a promotional event | |
CN113840013B (en) | Document system for hierarchical management | |
CN111767345B (en) | Modeling data synchronization method, modeling data synchronization device, computer equipment and readable storage medium | |
CN113626002A (en) | Service execution method and device | |
CN109379405A (en) | Virtual disk construction method, virtual disk system and Dropbox | |
KR102656839B1 (en) | Workflow-based cloud infrastructure resource integrated ordering service provision method and system | |
WO2024060390A1 (en) | Blockchain-based certificate data generation method and apparatus, and computer 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 |