CN106528754A - Processing device and method of recycled data in cloud services - Google Patents

Processing device and method of recycled data in cloud services Download PDF

Info

Publication number
CN106528754A
CN106528754A CN201610971421.8A CN201610971421A CN106528754A CN 106528754 A CN106528754 A CN 106528754A CN 201610971421 A CN201610971421 A CN 201610971421A CN 106528754 A CN106528754 A CN 106528754A
Authority
CN
China
Prior art keywords
data
pending
type
request
processing 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
Application number
CN201610971421.8A
Other languages
Chinese (zh)
Inventor
郭思勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201610971421.8A priority Critical patent/CN106528754A/en
Publication of CN106528754A publication Critical patent/CN106528754A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • G06F11/1464Management of the backup or restore process for networked environments
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/178Techniques for file synchronisation in file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/18File system types
    • G06F16/1873Versioning file systems, temporal file systems, e.g. file system supporting different historic versions of files

Abstract

The invention discloses a processing device and method of recycled data in cloud services. The device comprises a cycle controller and a cycle component, wherein the cycle controller is used for verifying user information and an ID of to-be-processed data carried in a processing request after the processing request of the recycled data is received; the cycle component is used for performing writing operation of a database according to the ID of the to-be-processed data and the type of the processing request after the verification of the cycle controller is successful, wherein the writing operation of the database comprises the step of modifying the state information of the to-be-processed data in the database or modifying the state and version information of the to-be-processed data in the database. According to the processing device and method, effective management of deleted data in cloud services can be achieved, and when data recovery management is performed, the cloud services can conveniently synchronize the recycled data according to the updated version information by updating the version information of the data, and the data synchronization function of the cloud services is well supported.

Description

Processing meanss and method of data collection in cloud service
Technical field
The present invention relates to the processing meanss of data collection and side in communication technical field, more particularly to a kind of cloud service Method.
Background technology
Cloud service is increase, use and the delivery mode of the related service based on the Internet, is usually directed to by the Internet To provide dynamic easily extension and often virtualized resource.
As the development of information-intensive society, people become increasingly dependent on network, cloud service is become increasingly dependent on, so lifting cloud service Service efficiency be also that master in the industry grinds direction.
It is well known that data backup is one of major function of cloud service, the data type of backup is also by file data Expand to whole machine data, application data etc..User can from backup data in pulling data, update the data, delete data Etc..And in current cloud service, user after selecting to delete, i.e., can complete deletion, and at present not effectively for Cloud service data such as are deleted, are recovered temporarily at the effective means of management, and when cloud service has data syn-chronization function, are matched somebody with somebody Close the data recovery mode of data syn-chronization.The service efficiency of strong influence cloud service is reduced the experience of user by this.
The content of the invention
Present invention is primarily targeted at processing meanss and method of data collection in proposing a kind of cloud service, it is intended to solve Certainly existing cloud service can not carry out the problem of effective management to deleting data.
For achieving the above object, in a kind of cloud service that the present invention is provided, the processing meanss of data collection, are applied to clothes Business device, including:
Cycle controller, for, after the process request to data collection is received, carrying to described process in request User profile and the ID of pending data verified;
Recirculation assembly, for after cycle controller verification passes through, according to the ID of pending data, according to the place The type of reason request, carries out the write operation of data base;Wherein, the write operation for carrying out data base includes:In modification data base The status information of pending data;Or, change state and the version information of pending data in data base.
Alternatively, the user profile includes:After user login services device, server be user distribution user access with Card.
Alternatively, the type for processing request includes:Data recovery process asks summed data to empty process request;
The recirculation assembly, specifically for when the type for processing request is that data recovery process is asked, according to treating The ID of processing data, changes state and the version information of pending data in data base;When the type for processing request is number During according to emptying process request, according to the ID of pending data, the status information of pending data in data base is changed.
Alternatively, the recirculation assembly, specifically for when it is described process request type be data recovery process ask when, According to the ID of pending data, pending data is determined in data base, and judge whether the state of pending data is to delete Except state, it is then if so, normal condition by its status modifier, and the version information for updating the data;If it is not, then not making to locate Reason;When the type for processing request empties process request for data, according to the ID of pending data, determine in data base Go out pending data, and be permanent delet state by its status modifier.
Alternatively, the recirculation assembly, specifically for, after cycle controller verification passes through, judging pending data Whether lock, if locking, feedback processing failure, if unlocked, to pending data or pending number Locking operation is carried out according to the data set being located, and after locking, according to the ID of pending data, according to the class for processing request Type, carries out the write operation of data base, and after the completion of write, releases data lock.
Alternatively, the recirculation assembly, specifically for calling buffer lock management service to judge whether pending data has added Lock, and call buffer lock management service to carry out adding, unlock operation.
Alternatively, the recirculation assembly, be additionally operable to when it is described process request type be data recovery process ask when, After completing the write operation of data base, ray machine filing record when ray machine management service is triggered when calling caching.
Additionally, for achieving the above object, the present invention also proposes in a kind of cloud service the processing method of data collection, application In server, methods described includes:
After the process request to data collection is received, process the user profile carried in request and wait to locate to described The ID of reason data is verified;
After verification passes through, according to the ID of pending data, according to the type for processing request, writing for data base is carried out Enter operation;Wherein, the write operation for carrying out data base includes:The status information of pending data in modification data base;Or, repair Change state and the version information of pending data in data base.
Alternatively, the user profile includes:After user login services device, server be user distribution user access with Card.
Alternatively, the type for processing request includes:Data recovery process asks summed data to empty process request;
The ID according to pending data, according to the type for processing request, carries out the write operation of data base, wraps Include:When the type for processing request is that data recovery process is asked, according to the ID of pending data, treat in modification data base The state of processing data and version information;When the type for processing request empties process request for data, according to pending The ID of data, changes the status information of pending data in data base.
Alternatively, the ID according to pending data, according to the type for processing request, carries out the write of data base Operation, specifically includes:
When the type for processing request is that data recovery process is asked, according to the ID of pending data, in data base In determine pending data, and judge that whether the state of pending data is deletion state, if so, by its status modifier is then Normal condition, and update the version information of the data;If it is not, then not dealing with;When the type for processing request is data When emptying process request, according to the ID of pending data, pending data is determined in data base, and by its status modifier is Permanent delet state.
Alternatively, it is described after verification passes through, according to the ID of pending data, according to the type for processing request, enter The write operation of row data base, specifically includes:
After verification passes through, judge whether pending data locks, if locking, feedback processing failure, If unlocked, locking operation is carried out to the data set that pending data or pending data are located, and after locking, according to The ID of pending data, according to the type for processing request, carries out the write operation of data base, and after the completion of write, solution Except data are locked.
Alternatively, it is described after verification passes through, according to the ID of pending data, according to the type for processing request, enter The write operation of row data base, specifically includes:
After verification passes through, buffer lock management service is called to judge whether pending data locks, if locking, instead The message of feedback processing failure, if unlocked, calls buffer lock management service to carry out locking operation, and after locking, according to treating The ID of processing data, according to the type for processing request, carries out the write operation of data base, and after the completion of write, calls Buffer lock management service releases data lock.
Alternatively, when the type for processing request is that data recovery process is asked, grasp in the write for completing data base After work, also include:Ray machine filing record when ray machine management service is triggered when calling caching.
Apparatus and method proposed by the present invention, it is possible to achieve to having deleted effective management of data in cloud service, and When carrying out data recovery management, by the version information for updating the data, it is easy to cloud service according to the version information for updating, to recovering Data synchronize, support the data syn-chronization function of cloud service well.
Description of the drawings
Fig. 1 is the system architecture diagram of the cloud service for realizing each embodiment of the invention;
Structural frames of the processing meanss of data collection in a kind of cloud service that Fig. 2 is provided for first embodiment of the invention Figure;
Flow charts of the Fig. 3 for being recovered to data in recycle bin in first embodiment of the invention;
Flow charts of the Fig. 4 for being emptied to data in recycle bin in first embodiment of the invention;
Fig. 5 is the flow chart of the processing method of data collection in a kind of cloud service for providing of the present invention.
The realization of the object of the invention, functional characteristics and advantage will be described further in conjunction with the embodiments referring to the drawings.
Specific embodiment
It should be appreciated that specific embodiment described herein is not intended to limit the present invention only to explain the present invention.
The mobile terminal of each embodiment of the invention is realized referring now to Description of Drawings.In follow-up description, use For representing the suffix of such as " module ", " part " or " unit " of element only for being conducive to the explanation of the present invention, itself Not specific meaning.Therefore, " module " mixedly can be used with " part ".
Cloud service described in the present embodiment can provide the user data backup, synchronization, editor, when the service such as ray machine, pass through All connection forms a unified ecosystem in real time for server, network, terminal.
As shown in figure 1, described in the present embodiment cloud service system system framework figure, specifically include:Server, Yong Huzhong The heart and browser (WEB terminal that i.e. user uses).Wherein:
Customer center, is that server has interactive external equipment;
Server includes:Api interface, WEB management interfaces, data syn-chronization, recycle bin, when ray machine, timed task, caching pipe Reason, and NubiaJeeFramework etc..
Api interface, WEB management interfaces:The interface functions such as external data interaction, management are provided;
Data syn-chronization:The data editions such as contact person, message registration, note and simultaneously operating;
Recycle bin:Delete data convert and null clear operation;
Shi Guangji:Historical data operation before user's history comparing is provided and arbitrary day is returned to;
Timed task:When timing is performed ray machine data back up daily, data scrubbing, the task such as raw component list;
Redis:Caching part, caches all Session sessions and user-dependent caching dsc data;
MySQL:Using Ali RDS data bases;
Mongo:Data base, the daily data of ray machine filing during storage;
NubiaJeeFramework:Encapsulate the realization of conventional framework, component.
Server described in the present embodiment, is mainly divided into key-course, service layer, ccf layer;
Key-course:Comprising api interface, WEB management interfaces etc.;
Service layer:Be further subdivided into data simultaneous module, recycle bin, when ray machine, caching management module, third party's service Module etc.;
Ccf layer:The department JEE project generic component packages such as data base, HttpClient, encryption, Redis;
Stand-alone assembly layer:The stand-alone assemblies such as Redis.
Using cloud service system described in the present embodiment, Web end subscriber login user central campus are tested the body after part success, Yong Huzhong User profile readjustment server is completed user login operation by the heart;It is same that WEB terminal user completes contact person by cloud service web interface Step, recycle bin, when the business such as ray machine.
Based on said system framework, it is proposed that each embodiment of the invention.
As shown in Fig. 2 first embodiment of the invention proposes in a kind of cloud service the processing meanss of data collection, it is applied to Server, described device include:Cycle controller 210 and recirculation assembly 220.The cycle controller 210 and recirculation assembly 220 For realizing the principal functional components of recycle bin function, the recycle bin is used for storing the identification information that user has deleted data, and Management to data collection is completed by above-mentioned functions component.Specifically:
Cycle controller 210, for after the process request to data collection (having deleted data) is received, to institute The ID for stating the user profile and pending data carried in processing request is verified;
Recirculation assembly 220, for after cycle controller verification passes through, according to the ID of pending data, according to institute The type for processing request is stated, the write operation of data base is carried out;Wherein, the write operation for carrying out data base includes:Modification data The status information of pending data in storehouse;Or, change state and the version information of pending data in data base.
Further, in the embodiment of the present invention, after the user profile carried in processing request is user login services device, clothes Business device is user's access credentials of user's distribution.User's access credentials are a kind of dynamic password, and which has ageing, works as mistake During effect, user's login service device again is needed, with user's access credentials of allocative efficiency.
Further, in the embodiment of the present invention, the user profile and the ID of pending data that cycle controller 210 is carried is entered Row verification, specifically includes:Whether user's access credentials that the inspection of cycle controller 210 is carried are effective information, are if so, then entered Whether the ID of one step inspection pending data is normal valid data ID, and where it has, be judged to that verification passes through.If It is above-mentioned to have any one verification failure, then judge that verification does not pass through.
In one particular embodiment of the present invention, the type of the process request that cycle controller 210 is received includes:Number Summed data is asked to empty process request according to recovering to process.Wherein, data recovery is only recovered to deleted data, and data are clear Sky refers to carries out complete deletion, i.e. physics deletion to deleting data.
Specifically, when the type for processing request is that data recovery process is asked, recirculation assembly 220, according to waiting to locate The ID of reason data, changes state and the version information of pending data in data base;When the type for processing request is data When emptying process request, recirculation assembly 220, according to the ID of pending data, changes the state letter of pending data in data base Breath.
In one particular embodiment of the present invention:
When the type for processing request is that data recovery process is asked, recirculation assembly 220, according to pending data ID, determines pending data in data base, and judges whether the state of pending data in data base is deletion state, if It is then normal condition (realizing the recovery of data) by its status modifier to be, and the version information for updating the data;If it is not, Then do not deal with;
When the type for processing request empties process request for data, recirculation assembly 220, according to pending data ID, determines pending data in data base, and is permanent delet state by its status modifier.
In an alternate embodiment of the present invention where, recirculation assembly 220, after cycle controller verification passes through, first Judge whether pending data locks, if locking, feedback processing failure, if unlocked, to pending number According to or the data set that is located of pending data carry out locking operation, and after locking, according to the ID of pending data, according to institute The type for processing request is stated, the write operation of data base is carried out, and after the completion of write, releases data lock.In the present embodiment, examine Consider cloud service and data synchronization service can be provided for multiple terminals, and multiple terminals can utilize number of the interface of cloud service to backup According to edlin is entered, in order to avoid entering edlin so as to affect the problem of data syn-chronization in synchronization multiple terminals to same data, In the present embodiment, before pending data is edited, need to prejudge whether the data lock, if unlocked, Locking operation is carried out, so as to prevent other-end from entering edlin to notebook data;If locking, illustrate that other-end is edited The data, at this point it is possible to issue the user with the occupied prompting of the data.In the present embodiment, pending data is locked, It can be the locking that single data are locked, or carried out to the data set that the data are located with whole group data.Example Such as, user needs to be recovered deleted certain address list information, before recovery action is carried out, can believe the address list Breath is locked, or, whole address list is locked, prevents other users from grasping to address list information in data base Make.
In one particular embodiment of the present invention, recirculation assembly 220, after verification passes through, call caching lock management clothes Business judges whether pending data locks, if locking, feedback processing failure, if unlocked, calls caching Lock management service carries out locking operation, and after locking, according to the ID of pending data, according to the type for processing request, The write operation of data base is carried out, and after the completion of write, calls buffer lock management service to release data lock.
In the still another embodiment of the present invention, recirculation assembly 220, when the type for processing request is data recovery When processing request, after the write operation for completing data base, ray machine filing record when ray machine management service is triggered when calling caching, With the realization of assist data synchronization.
In sum, the present embodiment described device, it is possible to achieve to having deleted effective management of data in cloud service, and When data recovery management is carried out, by the version information for updating the data, it is easy to cloud service according to the version information for updating, to extensive Multiple data are synchronized, and support the data syn-chronization function of cloud service well.
The present invention is illustrated in order to clearer, a specific embodiment of the present invention is given below, to in recycle bin The recovery of data, empty flow process and carry out more illustrating in detail, it should be noted that the ins and outs disclosed in the present embodiment, use To explain the present invention, unique restriction present invention is not used to.
As shown in figure 3, for the flow chart recovered to data in recycle bin provided in an embodiment of the present invention, the present embodiment In, user logs in the server of cloud service by browser, and recycle bin is operated, to carry out data recovery, specifically, Data Recovery Process is as follows:
Step S301, browser report ids arrays to initiate to recover to RecycleController (cycle controller) Recovery is operated;Wherein, ids arrays at least include:The id of user's access credentials and data to be restored.
Step S302, RecycleController carry out ids array pretreatment, the pretreatment include user profile and The reading and verification of data id, and after verification passes through, initiate to recover to RecycleComponent (recirculation assembly) Recovery is operated;
Step S303, RecycleComponent call RedisLockManage to judge whether data to be restored lock, If without if, locking operation is carried out, S304 is gone to step, otherwise is then terminated current operation;
Step S304, RecycleComponent carry out data base's write operation;
Specifically, in the present embodiment, judge whether the state of each data to be restored is deletion state, only status= The data of 1 (deleting state) are just operated:And the complete deletion of the data for status=2, that is, carry out physics Delete, so recovery operation cannot be performed.
Specifically, the data of status=1 are operated, including:It is 0 (i.e. normal shape by the status modifier of the data State), while the version information of the data after status modifier, is updated, specifically, by the data current version sVersion more It is newly sTotalVersion+1 (little version), meanwhile, the big version for updating the data storehouse and cache maintenance is sTotalVersion+ 1.Wherein, big version is total version information of database maintenance, and any data occur change, can all cause big version updating, Often update and once Jia 1 on the basis of current big version.
Step S305, after data manipulation is finished, RecycleComponent calls RedisLockManage to release data Lock;
Step S306, ray machine filing note when RecycleComponent calls RedisTimeMachineManage to trigger Record, fills in this operation mark in the Set of same day filing record on conventional Redis, and value is:${userid};
Operating result is returned to browser, end of operation by step S307.
As shown in figure 4, for the flow chart emptied to data in recycle bin provided in an embodiment of the present invention, the present embodiment In, user logs in the server of cloud service by browser, and recycle bin is operated, and is emptied with carrying out data, specifically, It is as follows that data empty flow process:
Step S401, browser report ids arrays to initiate to empty clean operations to RecycleController;Wherein, Ids arrays at least include:The id of user's access credentials and data to be restored.
Step S402, RecycleController carry out ids array pretreatment, the pretreatment include user profile and The reading and verification of data id, and after verification passes through, backward RecycleComponent initiates to empty clean operations;
Step S403, RecycleComponent call RedisLockManage to judge whether data to be emptied lock, If without if, locking operation is carried out, S404 is gone to step, otherwise is then terminated current operation;
Step S404, RecycleComponent carry out data base's write operation, specifically by corresponding data in data base Status modifier be complete deletion state, even state status=2 of corresponding data;In the present embodiment, due to data it is thorough Bottom is deleted, so, without the need for being updated to its version information.
Step S405, after data manipulation is finished, RecycleComponent calls RedisLockManage to release data Lock;
Operating result is returned to browser, end of operation by step S406.
In sum, the present embodiment described device, it is possible to achieve to having deleted effective management of data in cloud service, and When data recovery management is carried out, by the version information for updating the data, it is easy to cloud service according to the version information for updating, to extensive Multiple data are synchronized, and support the data syn-chronization function of cloud service well.
The present invention further provides the processing method of data collection in a kind of cloud service, the service being applied in cloud service Device side, as shown in figure 5, methods described comprises the steps:
Step S501, after the process request to data collection is received, processes the user carried in request to described The ID of information and pending data is verified;
In the embodiment of the present invention, after the user profile is user login services device, server is the user of user's distribution Access credentials.
Further, in the embodiment of the present invention, the type for processing request at least includes:Data recovery process ask and Data empty process request.
Step S502, after verification passes through, according to the ID of pending data, according to the type for processing request, is carried out The write operation of data base;Wherein, the write operation for carrying out data base includes:The state letter of pending data in modification data base Breath;Or, change state and the version information of pending data in data base.
Specifically, in the embodiment of the present invention, when the type for processing request is that data recovery process is asked, according to treating The ID of processing data, changes state and the version information of pending data in data base;When the type for processing request is number During according to emptying process request, according to the ID of pending data, the status information of pending data in data base is changed.
In one particular embodiment of the present invention, when the type for processing request is that data recovery process is asked, According to the ID of pending data, pending data is determined in data base, and judge whether the state of pending data is to delete Except state, it is then if so, normal condition by its status modifier, and the version information for updating the data;If it is not, then not making to locate Reason;When the type for processing request empties process request for data, according to the ID of pending data, determine in data base Go out pending data, and be permanent delet state by its status modifier.
In an alternate embodiment of the present invention where, after verification passes through, first judge whether pending data locks, if Lock, then feedback processing failure, if unlocked, the data set are located by pending data or pending data Locking operation is carried out, and after locking, according to the ID of pending data, according to the type for processing request, carries out data base Write operation, and after the completion of write, release data lock.In one particular embodiment of the present invention, after verification passes through, Buffer lock management service is called to judge whether pending data locks, if locking, feedback processing failure, if not Lock, then call buffer lock management service to carry out locking operation, and after locking, according to the ID of pending data, according to described The type of request is processed, the write operation of data base is carried out, and after the completion of write, calls buffer lock management service to release data Lock.
In another alternative embodiment of the present invention, when the type for processing request is asked for data recovery process When, after the write operation for completing data base, also include:Ray machine filing record when ray machine management service is triggered when calling caching.
In sum, the present embodiment methods described, it is possible to achieve to having deleted effective management of data in cloud service, and When data recovery management is carried out, by the version information for updating the data, it is easy to cloud service according to the version information for updating, to extensive Multiple data are synchronized, and support the data syn-chronization function of cloud service well.
It should be noted that herein, term " including ", "comprising" or its any other variant are intended to non-row His property is included, so that a series of process, method, article or device including key elements not only include those key elements, and And also include other key elements being not expressly set out, or also include for this process, method, article or device institute inherently Key element.In the absence of more restrictions, the key element for being limited by sentence "including a ...", it is not excluded that including being somebody's turn to do Also there is other identical element in the process of key element, method, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words The part for going out contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), use so that a station terminal equipment including some instructions (can be mobile phone, computer, clothes Business device, air-conditioner, or network equipment etc.) perform method described in each embodiment of the invention.
The preferred embodiments of the present invention are these are only, the scope of the claims of the present invention is not thereby limited, it is every using this Equivalent structure or equivalent flow conversion that bright description and accompanying drawing content are made, or directly or indirectly it is used in other related skills Art field, is included within the scope of the present invention.

Claims (14)

1. processing meanss of data collection in a kind of cloud service, it is characterised in that be applied to server, including:
Cycle controller, for, after the process request to data collection is received, processing the use carried in request to described The ID of family information and pending data is verified;
Recirculation assembly, for after cycle controller verification passes through, according to the ID of pending data, please according to the process The type asked, carries out the write operation of data base;Wherein, the write operation for carrying out data base includes:Wait to locate in modification data base The status information of reason data;Or, change state and the version information of pending data in data base.
2. device as claimed in claim 1, it is characterised in that the user profile includes:After user login services device, service Device is user's access credentials of user's distribution.
3. device as claimed in claim 1, it is characterised in that the type of the process request includes:Data recovery process please Summed data empties process request;
The recirculation assembly, specifically for when the type for processing request is that data recovery process is asked, according to pending The ID of data, changes state and the version information of pending data in data base;When the type for processing request is that data are clear During the reason request of vacancy, according to the ID of pending data, the status information of pending data in data base is changed.
4. device as claimed in claim 3, it is characterised in that the recirculation assembly, specifically for processing request when described When type is that data recovery process is asked, according to the ID of pending data, pending data is determined in data base, and is judged Whether the state of pending data is deletion state, is then if so, normal condition by its status modifier, and updates the data Version information;If it is not, then not dealing with;When the type for processing request empties process request for data, according to pending The ID of data, determines pending data in data base, and is permanent delet state by its status modifier.
5. the device as described in Claims 1-4 any one, it is characterised in that the recirculation assembly, specifically for described After cycle controller verification passes through, judge whether pending data locks, if locking, feedback processing failure, If unlocked, locking operation is carried out to the data set that pending data or pending data are located, and after locking, according to The ID of pending data, according to the type for processing request, carries out the write operation of data base, and after the completion of write, solution Except data are locked.
6. device as claimed in claim 5, it is characterised in that the recirculation assembly, specifically for calling caching lock management clothes Business judges whether pending data locks, and calls buffer lock management service to carry out adding, unlock operation.
7. the device as described in any one in Claims 1-4,6, it is characterised in that the recirculation assembly, is additionally operable to work as institute When the type for stating process request is that data recovery process is asked, after the write operation for completing data base, ray machine when calling caching Ray machine filing record when management service is triggered.
8. the processing method of data collection in a kind of cloud service, it is characterised in that be applied to server, including:
After the process request to data collection is received, the user profile and pending number that carry in request is processed to described According to ID verified;
After verification passes through, according to the ID of pending data, according to the type for processing request, the write behaviour of data base is carried out Make;Wherein, the write operation for carrying out data base includes:The status information of pending data in modification data base;Or, change number According to state and the version information of pending data in storehouse.
9. method as claimed in claim 8, it is characterised in that the user profile includes:After user login services device, service Device is user's access credentials of user's distribution.
10. method as claimed in claim 8, it is characterised in that the type of the process request includes:Data recovery process please Summed data empties process request;
The ID according to pending data, according to the type for processing request, carries out the write operation of data base, including: When the type for processing request is that data recovery process is asked, according to the ID of pending data, wait to locate in modification data base The state of reason data and version information;When the type for processing request empties process request for data, according to pending number According to ID, change data base in pending data status information.
11. methods as claimed in claim 10, it is characterised in that the ID according to pending data, according to the process The type of request, carries out the write operation of data base, specifically includes:
When the type for processing request is that data recovery process is asked, according to the ID of pending data, in data base really Make pending data, and judge whether the state of pending data is deletion state, be then if so, normal by its status modifier State, and update the version information of the data;If it is not, then not dealing with;When the type for processing request is emptied for data When processing request, according to the ID of pending data, pending data is determined in data base, and be permanent by its status modifier Deletion state.
12. methods as described in claim 7 to 11 any one, it is characterised in that described after verification passes through, according to waiting to locate The ID of reason data, according to the type for processing request, carries out the write operation of data base, specifically includes:
After verification passes through, judge whether pending data locks, if locking, feedback processing failure, if not Lock, then locking operation is carried out to the data set that pending data or pending data are located, and after locking, according to waiting to locate The ID of reason data, according to the type for processing request, carries out the write operation of data base, and after the completion of write, solves divisor According to lock.
13. methods as claimed in claim 12, it is characterised in that described after verification passes through, according to the ID of pending data, According to the type for processing request, the write operation of data base is carried out, is specifically included:
After verification passes through, buffer lock management service is called to judge whether pending data locks, if locking, at feedback Reason failure, if unlocked, calls buffer lock management service to carry out locking operation, and after locking, according to pending The ID of data, according to the type for processing request, carries out the write operation of data base, and after the completion of write, calls caching Lock management service releases data lock.
Method in 14. such as claim 7 to 11,13 as described in any one, it is characterised in that when the type for processing request When asking for data recovery process, after the write operation for completing data base, also include:When calling caching, ray machine management service is touched Ray machine filing record when sending out.
CN201610971421.8A 2016-10-28 2016-10-28 Processing device and method of recycled data in cloud services Pending CN106528754A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610971421.8A CN106528754A (en) 2016-10-28 2016-10-28 Processing device and method of recycled data in cloud services

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610971421.8A CN106528754A (en) 2016-10-28 2016-10-28 Processing device and method of recycled data in cloud services

Publications (1)

Publication Number Publication Date
CN106528754A true CN106528754A (en) 2017-03-22

Family

ID=58326717

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610971421.8A Pending CN106528754A (en) 2016-10-28 2016-10-28 Processing device and method of recycled data in cloud services

Country Status (1)

Country Link
CN (1) CN106528754A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110071806A (en) * 2019-03-13 2019-07-30 平安科技(深圳)有限公司 The method and system of data processing based on interface check
CN113094754A (en) * 2021-05-08 2021-07-09 重庆银行股份有限公司 Big data platform data modification system and modification, response, cache and verification method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102831156A (en) * 2012-06-29 2012-12-19 浙江大学 Distributed transaction processing method on cloud computing platform
CN103473296A (en) * 2013-09-04 2013-12-25 国云科技股份有限公司 Recycle bin mechanism and recycle bin system applicable to cloud computing
CN104793988A (en) * 2014-01-20 2015-07-22 阿里巴巴集团控股有限公司 Cross-database distributed transaction implementation method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102831156A (en) * 2012-06-29 2012-12-19 浙江大学 Distributed transaction processing method on cloud computing platform
CN103473296A (en) * 2013-09-04 2013-12-25 国云科技股份有限公司 Recycle bin mechanism and recycle bin system applicable to cloud computing
CN104793988A (en) * 2014-01-20 2015-07-22 阿里巴巴集团控股有限公司 Cross-database distributed transaction implementation method and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110071806A (en) * 2019-03-13 2019-07-30 平安科技(深圳)有限公司 The method and system of data processing based on interface check
CN110071806B (en) * 2019-03-13 2021-08-20 平安科技(深圳)有限公司 Data processing method and system based on interface verification
CN113094754A (en) * 2021-05-08 2021-07-09 重庆银行股份有限公司 Big data platform data modification system and modification, response, cache and verification method

Similar Documents

Publication Publication Date Title
EP4071610A1 (en) Transaction processing method, apparatus, and device, and computer storage medium
CN105573828A (en) Operation processing method and device
US9690923B2 (en) Method, apparatus and system for verifying terminal
US20090125991A1 (en) Secure management of authentication information
JP2020518926A (en) Backup and restore framework for distributed computing systems
CN110188103A (en) Data account checking method, device, equipment and storage medium
CN110912893B (en) Account number merging method
CN111382985A (en) To-do message integrated pushing system and working method
CN111885080B (en) Login service architecture, server and client
CN110175439A (en) User management method, device, equipment and computer readable storage medium
CN111340340B (en) Event processing method and device
CN106528754A (en) Processing device and method of recycled data in cloud services
CN107533604A (en) Single login without broker's application
JP2010140228A (en) Service providing device, user information management device, user registration management system, user registration method, user information management method, user registration program, and user information management program
CN106603567A (en) WEB administrator login management method and device
CN115001806B (en) Mobile phone bank login authorization method and device
CN102833213A (en) Webpage authentication and login method based on TokenLite
CN110334906A (en) Business data processing method, device, computer equipment and storage medium
CN114338584A (en) Message withdrawing method and message transmission system
CN105427100A (en) Bank card transaction method, apparatus and system
CN110661789A (en) Address resetting method, device, equipment and computer readable storage medium
CN112818403B (en) Container data center operation and maintenance system
CN103457730B (en) Safety information interaction device and method and for the mutual IC-card of safety information
CN114615084B (en) Single sign-on logout method, system, electronic equipment and storage medium applied to front-end and back-end separation scene
US20230055660A1 (en) Secure data management

Legal Events

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

Application publication date: 20170322

RJ01 Rejection of invention patent application after publication