CN110399383A - Applied to the data processing method of server, device, calculate equipment, medium - Google Patents

Applied to the data processing method of server, device, calculate equipment, medium Download PDF

Info

Publication number
CN110399383A
CN110399383A CN201910693858.3A CN201910693858A CN110399383A CN 110399383 A CN110399383 A CN 110399383A CN 201910693858 A CN201910693858 A CN 201910693858A CN 110399383 A CN110399383 A CN 110399383A
Authority
CN
China
Prior art keywords
terminal
target data
data
state
lock
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
CN201910693858.3A
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.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
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 Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN201910693858.3A priority Critical patent/CN110399383A/en
Publication of CN110399383A publication Critical patent/CN110399383A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F16/2308Concurrency control
    • G06F16/2336Pessimistic concurrency control approaches, e.g. locking or multiple versions without time stamps

Abstract

Present disclose provides a kind of data processing method applied to server, the server includes database, which comprises receives the access request from first terminal;Determine in the access request whether include instruction, the instruction characterizes the currently performed update operation of the first terminal for the target data in the database;Include the instruction in response to the access request, determines the current state of the target data;And in response to the current state of the target data be lock state, Xiang Suoshu first terminal sends prompt information, terminates updates so that the first terminal is based on the prompt information and operates.The disclosure additionally provides a kind of applied to the data processing equipment of server, calculating equipment and medium.

Description

Applied to the data processing method of server, device, calculate equipment, medium
Technical field
This disclosure relates to field of computer technology, more particularly to a kind of data processing method applied to server, number According to processing unit, calculate equipment and computer-readable medium.
Background technique
During computer processing data, it is often necessary to be inquired data and be updated, especially in big data In the data processing system of amount, such as bank computer system, since the information of database storage is extremely huge, to database access The requirement for the treatment of effeciency is very high.
Currently, the core system of bank and other financial mechanism mostly uses special database software system, in online thing Business access database when, the conventional method of use is: when it is online need data to update when, first using exclusive lock lock the data money Source (such as table lock, page lock or row lock), before entire trading processing terminates, to database submit operational order (such as COMMIT life Enable) it is discharged come the change for completing table data and lock, or by rollback instruction (such as ROLLBACK order) come the update of rollback table Affairs and lock release.Current this method passes through the system lock control of database offer in the treatment process of online transaction completely System processing, it is very simple and convenient, but since existing Database lock processing method (such as table lock, page lock) will lead to the data of access Resource has exclusivity and exclusiveness, to influence the real-time of other concurrent on-line transactions.In some scenes, office Reason needs to access a large amount of, complicated datum target data simultaneously, needs to lock that a large amount of record or table, to handle the time longer (such as several hours even several days), existing data lock processing method make on-line transaction occupy time of database resource compared with It is long, and a large amount of lock resource is occupied, when the on-line transaction processing time is long, it is easy to cause the waiting largely traded, A large amount of system resource is occupied, it is serious to will lead to database deadlocks, generate incipient fault for data security.
Multiple databases under different platform are updated in addition, if needing to access simultaneously in online transaction data treatment process Datum target data, existing data lock processing method can not effectively guarantee the consistency of these datum target data simultaneously. That is, after accessed datum target data are locked, other concurrent affairs are asked using existing Database lock processing method Wait state can be constantly in by asking, until time-out exits.Since system fails always immediate feedback response, user is caused to locate always In wait state, do not know what abnormal case is system have occurred.
Summary of the invention
An aspect of this disclosure provides a kind of data processing method applied to server, and the server includes number According to library, which comprises the access request from first terminal is received, determines in the access request whether include instruction, The instruction characterizes the currently performed target data for updating operation and being directed in the database of the first terminal, in response to institute Stating access request includes the instruction, determines the current state of the target data, in response to the current shape of the target data State is lock state, and Xiang Suoshu first terminal sends prompt information, so that the first terminal is terminated based on the prompt information The update operation.
Optionally, above-mentioned access request includes: the first terminal mark of the first terminal.It is described in response to the access Request includes the instruction, determines the current state of the target data, comprising: in response to the access request includes the finger Show, determines that the first terminal mark identifies whether unanimously with second terminal, wherein the second terminal is identified as locked institute The mark for stating the second terminal of target data, it is inconsistent in response to first terminal mark and second terminal mark, determine institute State the current state of target data.
Optionally, the above method further include: identify unanimously, permit in response to first terminal mark and the second terminal Perhaps the described first terminal carries out the update to the target data and operates.
Optionally, the above method, further includes: the current state in response to the target data is unlocked state, is based on The unlocked state of the target data is updated to lock state by the first terminal mark, and determining allows the first terminal The update operation that the target data is carried out.
Optionally, the above method further include: receive the update from the first terminal and complete request, the update is completed Request includes that the first terminal carries out the request for updating and sending after operation to the target data, is based on the update Request is completed, the lock state of the target data is updated to unlocked state.
Optionally, it includes that the first terminal identifies that request is completed in above-mentioned update;It is described that request is completed based on the update, The lock state of the target data is updated to unlocked state, comprising: complete to request based on updates, determine described the Whether one terminal iidentification is effectively to identify, and is identified as effective mark in response to the determination first terminal, determines the number of targets According to current state whether be lock state, in response to the target data current state be lock state, by the target The lock state of data is updated to unlocked state.
Optionally, above-mentioned server includes multiple databases, and each database in the multiple database includes institute State target data;The current state in response to the target data is unlocked state, is identified based on the first terminal The unlocked state is updated to lock state, comprising: in response to the current state of target data in the multiple database It is unlocked state, is identified the unlocked state of target data in the multiple database more based on the first terminal It is newly lock state.
Another aspect of the disclosure provides a kind of data processing equipment applied to server, and the server includes Database, described device include: the first receiving module, the first determining module, the second determining module and sending module.Wherein, First receiving module receives the access request from first terminal, the first determining module determine in the access request whether include Instruction, the instruction characterize the currently performed update of the first terminal and operate for the target data in the database, the Two determining modules include the instruction in response to the access request, determine the current state of the target data, sending module Current state in response to the target data is lock state, and Xiang Suoshu first terminal sends prompt information, so that described the One terminal is based on the prompt information and terminates the update operation.
Another aspect of the present disclosure provides a kind of calculating equipment, comprising: one or more processors;Memory is used for Store one or more programs, wherein when one or more of programs are executed by one or more of processors, so that One or more of processors realize method as described above.
Another aspect of the present disclosure provides a kind of non-volatile readable storage medium, is stored with the executable finger of computer It enables, described instruction is when executed for realizing method as described above.
Another aspect of the present disclosure provides a kind of computer program, and the computer program, which includes that computer is executable, to be referred to It enables, described instruction is when executed for realizing method as described above.
Detailed description of the invention
In order to which the disclosure and its advantage is more fully understood, referring now to being described below in conjunction with attached drawing, in which:
Fig. 1 diagrammatically illustrates the data processing method and data processing applied to server according to the embodiment of the present disclosure The system architecture of device;
Fig. 2 diagrammatically illustrates the flow chart of the data processing method applied to server according to the embodiment of the present disclosure;
Fig. 3 diagrammatically illustrates the process of the data processing method applied to server according to another embodiment of the disclosure Figure;
Fig. 4 diagrammatically illustrates a kind of sample data processing system logical constitution figure according to the embodiment of the present disclosure;
Fig. 5, which is diagrammatically illustrated, locks processing method overview flow chart according to a kind of mathematical logic of the embodiment of the present disclosure;
Fig. 6 diagrammatically illustrates a kind of flow chart of data locking operation according to the embodiment of the present disclosure;
Fig. 7 diagrammatically illustrates the flow chart according to a kind of lock processing of unlocking data of the embodiment of the present disclosure;
Fig. 8 diagrammatically illustrates the block diagram of the data processing equipment applied to server according to the embodiment of the present disclosure;
Fig. 9 diagrammatically illustrates the frame of the data processing equipment applied to server according to another embodiment of the disclosure Figure;And
Figure 10 diagrammatically illustrates the box of the computer system for realizing data processing according to the embodiment of the present disclosure Figure.
Specific embodiment
Hereinafter, will be described with reference to the accompanying drawings embodiment of the disclosure.However, it should be understood that these descriptions are only exemplary , and it is not intended to limit the scope of the present disclosure.In the following detailed description, to elaborate many specific thin convenient for explaining Section is to provide the comprehensive understanding to the embodiment of the present disclosure.It may be evident, however, that one or more embodiments are not having these specific thin It can also be carried out in the case where section.In addition, in the following description, descriptions of well-known structures and technologies are omitted, to avoid Unnecessarily obscure the concept of the disclosure.
Term as used herein is not intended to limit the disclosure just for the sake of description specific embodiment.It uses herein The terms "include", "comprise" etc. show the presence of the feature, step, operation and/or component, but it is not excluded that in the presence of Or add other one or more features, step, operation or component.
There are all terms (including technical and scientific term) as used herein those skilled in the art to be generally understood Meaning, unless otherwise defined.It should be noted that term used herein should be interpreted that with consistent with the context of this specification Meaning, without that should be explained with idealization or excessively mechanical mode.
It, in general should be according to this using statement as " at least one in A, B and C etc. " is similar to Field technical staff is generally understood the meaning of the statement to make an explanation (for example, " system at least one in A, B and C " Should include but is not limited to individually with A, individually with B, individually with C, with A and B, with A and C, have B and C, and/or System etc. with A, B, C).Using statement as " at least one in A, B or C etc. " is similar to, generally come Saying be generally understood the meaning of the statement according to those skilled in the art to make an explanation (for example, " having in A, B or C at least One system " should include but is not limited to individually with A, individually with B, individually with C, with A and B, have A and C, have B and C, and/or the system with A, B, C etc.).
Shown in the drawings of some block diagrams and/or flow chart.It should be understood that some sides in block diagram and/or flow chart Frame or combinations thereof can be realized by computer program instructions.These computer program instructions can be supplied to general purpose computer, The processor of special purpose computer or other programmable control units, so that these instructions can create when executed by this processor For realizing function/operation device illustrated in these block diagrams and/or flow chart.
Therefore, the technology of the disclosure can be realized in the form of hardware and/or software (including firmware, microcode etc.).Separately Outside, the technology of the disclosure can take the form of the computer program product on the computer-readable medium for being stored with instruction, should Computer program product uses for instruction execution system or instruction execution system is combined to use.In the context of the disclosure In, computer-readable medium, which can be, can include, store, transmitting, propagating or transmitting the arbitrary medium of instruction.For example, calculating Machine readable medium can include but is not limited to electricity, magnetic, optical, electromagnetic, infrared or semiconductor system, device, device or propagation medium. The specific example of computer-readable medium includes: magnetic memory apparatus, such as tape or hard disk (HDD);Light storage device, such as CD (CD-ROM);Memory, such as random access memory (RAM) or flash memory;And/or wire/wireless communication link.
Embodiment of the disclosure provides a kind of data processing method applied to server, and server includes database, Method includes: to receive the access request from first terminal, determines in access request whether include instruction, instruction characterization first is eventually The currently performed target data for updating operation and being directed in database is held, includes instruction in response to access request, determines number of targets According to current state, the current state in response to target data is lock state, prompt information is sent to first terminal, so that the One terminal is based on prompt information and terminates update operation.
Fig. 1 diagrammatically illustrates the data processing method and data processing applied to server according to the embodiment of the present disclosure The system architecture of device.It should be noted that be only the example that can apply the system architecture of the embodiment of the present disclosure shown in Fig. 1, To help skilled in the art to understand the technology contents of the disclosure, but it is not meant to that the embodiment of the present disclosure may not be usable for it His equipment, system, environment or scene.
As shown in Figure 1, system architecture 100 may include terminal device 101,102,103, network according to this embodiment 104 and server 105.Network 104 between terminal device 101,102,103 and server 105 to provide communication link Medium.Network 104 may include various connection types, such as wired, wireless communication link or fiber optic cables etc..
User can be used terminal device 101,102,103 and be interacted by network 104 with server 105, to receive or send out Send message etc..Various telecommunication customer end applications, such as the application of shopping class, net can be installed on terminal device 101,102,103 (merely illustrative) such as the application of page browsing device, searching class application, instant messaging tools, mailbox client, social platform softwares.
Terminal device 101,102,103 can be the various electronic equipments with display screen and supported web page browsing, packet Include but be not limited to smart phone, tablet computer, pocket computer on knee and desktop computer etc..
Server 105 can be to provide the server of various services, such as utilize terminal device 101,102,103 to user The website browsed provides the back-stage management server (merely illustrative) supported.Back-stage management server can be to the use received The data such as family request analyze etc. processing, and by processing result (such as according to user's request or the webpage of generation, believe Breath or data etc.) feed back to terminal device.
It should be noted that data processing method provided by the embodiment of the present disclosure can generally be executed by server 105. Correspondingly, data processing equipment provided by the embodiment of the present disclosure generally can be set in server 105.The embodiment of the present disclosure Provided data processing method can also by be different from server 105 and can with terminal device 101,102,103 and/or clothes The server or server cluster that business device 105 communicates execute.Correspondingly, data processing equipment provided by the embodiment of the present disclosure It can be set in the service that is different from server 105 and can be communicated with terminal device 101,102,103 and/or server 105 In device or server cluster.
It should be understood that the number of terminal device, network and server in Fig. 1 is only schematical.According to realization need It wants, can have any number of terminal device, network and server.
Fig. 2 diagrammatically illustrates the flow chart of the data processing method applied to server according to the embodiment of the present disclosure.
As shown in Fig. 2, this method is applied to server, server includes database, and this method may include operation S210 ~S240.
In operation S210, the access request from first terminal is received.
According to the embodiment of the present disclosure, database in the accessible server of first terminal, first terminal is by service Device sends access request, convenient for the data in database are inquired or updated.
In operation S220, determine in access request whether include instruction, the instruction characterization currently performed update of first terminal Operation is for the target data in database.
Inquiry operation or more is carried out to the target data in database for example, may include first terminal in access request New operation, wherein update operation for example including read operation or write operation.
In operation S230, includes instruction in response to access request, determine the current state of target data.
In the embodiments of the present disclosure, such as when including being updated operation to target data in access request, server Current state locating for target data that first terminal to be updated can be determined, convenient for determining whether target data can be by the One terminal is updated operation.
In operation S240, the current state in response to target data is lock state, sends prompt information to first terminal, So that first terminal is based on prompt information and terminates update operation.
According in the embodiment of the present disclosure, if the current state of target data is lock state, show target data just Operation is updated being executed by other terminals, and then determines that first terminal cannot be updated operation to current target data.Herein In the case of, server can send prompting message to first terminal, to prompt first terminal target data by other ends End, which executes, updates operation.First terminal terminates this and operates to the update of target data, no after receiving the prompt of server It will continue to wait, and send access request to server again later.
The server of the embodiment of the present disclosure is in the access request for receiving first terminal, if it is determined that first terminal needs Operation is updated to target data, then further determines that the current state of target data, if target data canonical is by other Terminal updates, then server sends prompt information to first terminal, this access is terminated convenient for prompt first terminal, to avoid the One terminal continues waiting for and leads to access time-out, to reduce the waiting time of first terminal.
Fig. 3 diagrammatically illustrates the process of the data processing method applied to server according to another embodiment of the disclosure Figure.
As shown in figure 3, this method includes operation S210~S240 and operation S310~S330.Wherein, operate S210~ The operation that S240 is described on reference to Fig. 2 is same or like, repeats no more in order to concise.Operation S230 for example can be wrapped further Include operation S231~S232.
In operation S231, it includes instruction in response to access request that access request, which includes the first terminal mark of first terminal, Determine that first terminal mark identifies whether unanimously with second terminal, wherein second terminal is identified as the of locked target data The mark of two terminals.
It is inconsistent in response to first terminal mark and second terminal mark in operation S232, determine the current of target data State.
According to the embodiment of the present disclosure, the access request that first terminal is sent to server is for example including the target to be accessed The first terminal of Data Data and first terminal mark.When server receives the access request of first terminal, target is determined Whether data have been accessed by other second terminals, if target data is accessed by second terminal, show target data by Two terminal lockings, and the locking of target data is identified as the second terminal mark of second terminal.
For example, if first terminal mark and second terminal mark are inconsistent, then it represents that target data is not currently by first Terminal locking, and then need to further determine that the current state of target data, if it is determined that the current state of target data is lock Determine state, then show that target data is locked by second terminal, then prompts first terminal to terminate this and update operation.
In operation S310, is identified unanimously in response to first terminal mark and second terminal, allow first terminal to number of targets It is operated according to being updated.
For example, if first terminal mark is consistent with second terminal mark, then it represents that the terminal of Current lock target data For first terminal, that is, it indicates that first terminal is operated in lock onto target data and the update carried out to it before and not yet completes, This time first terminal is allowed to continue to be updated target data.
In operation S320, the current state in response to target data is unlocked state, is identified based on first terminal by mesh The unlocked state of mark data is updated to lock state.
For example, showing that target data can currently be updated by any terminal, then server exists if target data is not locked out When receiving the access request of first terminal, lock onto target data are identified based on first terminal, that is, target data is labeled as quilt The state that first terminal updates.
In operation S330, determining allows first terminal to operate the update that target data carries out.For example, in server by mesh Data markers are marked first terminal to be can permit and being updated operation to the target data of locking after lock state.
According to the embodiment of the present disclosure, the method for the embodiment of the present disclosure further include: receive the update from first terminal and complete Request updates and completes to request to include that first terminal is updated target data the request sent after operation, and is based on updating Request is completed, the lock state of target data is updated to unlocked state.
For example, first terminal is sent to server to be updated after first terminal has executed update operation to target data Complete request.Server is after request is completed in the update for receiving first terminal, shape that target data is locked by first terminal State is updated to unlocked state, accesses convenient for other subsequent terminals to target data.
Specifically, it updates and completes to request to include that first terminal identifies, based on completion request is updated, by the locking of target data State is updated to unlocked state, includes the following steps (1)~(3).
(1) based on completion request is updated, determine that first terminal identifies whether effectively to identify.For example, when server receives After request is completed in the update sent to first terminal, determine that the first terminal for updating and completing in request identifies whether effectively, if In vain, target data is indicated by other terminal lockings, and first terminal is had no right request server and is unlocked to target data, then takes Request is completed in the update that business device can be not responding to first terminal.
(2) in response to determining that first terminal is identified as effective mark, determine whether the current state of target data is locking State.For example, showing to lock target data before first terminal, taking if locking first terminal is identified as effective mark Whether business device further determines that target data currently also in the state locked by first terminal.
(3) it is lock state in response to the current state of target data, the lock state of target data is updated to unlocked Determine state.For example, server can update the state of target data if the current state of target data is lock state For unlocked state, access convenient for other subsequent terminals to target data.
According to the embodiment of the present disclosure, server may include multiple databases, when each database in multiple databases When including target data, aforesaid operations S320 specifically includes the current state in response to target data in multiple databases and is Unlocked state is identified based on first terminal and the unlocked state of target data in multiple databases is updated to locking shape State.That is, when first terminal will execute target data and update operation, in order to guarantee the consistency of target data, then server Can the access request based on first terminal by the updating target data in multiple databases be lock state, be convenient for first terminal Operation is updated to the target data in multiple databases simultaneously, guarantees the consistency of target data with this.
The technical solution of the embodiment of the present disclosure, Fig. 4 are diagrammatically illustrated according to the embodiment of the present disclosure in order to facilitate understanding A kind of sample data processing system logical constitution figure.It will be understood by those skilled in the art that logical constitution figure shown in Fig. 4 is only to show Example, the embodiment of the present disclosure are not limited thereto.
As shown in figure 4, data processing system for example may include that target data logic locking device 400a and request of data are whole 400b is held, target data logic locking device 400a is for receiving the request data from request of data terminal 400b.Wherein, target Mathematical logic locking device 400a includes: traction processing apparatus 401, target data storage device 402, the storage of target data lock status Device 403, data lock status judgment means 404, data locking device 405, data lock release 406, data critical zone dress Set 407.Wherein, traction processing apparatus 401 and data lock status judgment means 404, target data lock status storage device 403, Target data storage device 402 is connected;Target data storage device 402 is connected with traction processing apparatus 401;Target data Lock status storage device 403 and data lock status judgment means 404, data locking device 405,406 phase of data lock release Connection;Data lock status judgment means 404 and target data lock status storage device 403, data locking device 405, data are locked Release device 406 is connected;Data locking device 405 and target data lock status storage device 403, the judgement of data lock status fill 404 are set to be connected;Data lock release 406 and target data lock status storage device 403, data lock status judgment means 404 are connected;The critical zone device 407 of data is connected with traction processing apparatus 401, data lock status judgment means 404.
Traction processing apparatus 401, for reading the lock of the target data in the request data from request of data terminal 400b Holder identification, and it is sent to data lock status judgment means 404.
Target data storage device 402, for storing target data, the target data in the disclosure refers to several data Combination, data combination can be a tables of data, be also possible to several tables of data, be also possible to several data records, It is also possible to several tables and several datas record is combined, these tables and data record can be distributed under different platform Disparate databases, but each target data is completely independent from each other, and a tables of data or data record can only Belong to a target data.
Target data lock status storage device 403, for the storage of target data lock status, stores in this arrangement The information such as lock operation serial number, the unique identification of target data, lock status, data lock holder mark.Wherein, such as data are asked Terminal 1 is asked to request lock onto target data, then data lock holder is identified as the mark of request of data terminal 1.
Data lock status judgment means 404, for reading accessed mesh from target data lock status storage device 403 The lock status for marking data, judges the lock status of data, determines whether the target data can lock, and according to target The data lock holder mark judgement transaction that data lock status storage device 403 stores sends the data lock holder mark come up Whether effectively.
Data locking device 405 locks target data for reading and writing target data lock status storage device 403 Operation, and guarantees in synchronization, target data cannot simultaneously there are two and more than two be operated into this Device carries out locking operation.
Data lock release 406 solves target data for reading and writing target data lock status storage device 403 Lock operation.
The critical zone device 407 of data, for guaranteeing at a time, multiple transaction simultaneously carry out some target data When access, there can only be a transaction to enter access, it, can be simultaneously if the multiple transaction of synchronization access different target datas Into access.
Fig. 5 diagrammatically illustrates a kind of logic lock processing method overview flow chart according to the embodiment of the present disclosure.This field Technical staff is appreciated that logic lock processing method shown in fig. 5 is merely illustrative, and the embodiment of the present disclosure is not limited thereto.It can Logic lock processing method shown in fig. 5 is realized to use data processing system shown in Fig. 4.Next, Fig. 4 and figure will be combined 5 describe the flow chart of the exemplary method according to the embodiment of the present disclosure.
As shown in Figure 4 and Figure 5, this method may include step S501~S503.
In step S501, target data is locked.For example, target data logic locking device 400a receives request of data terminal The processing that 400b is sent is requested, and is believed in processing request with client requesting terminal number information, the unique identification of target data Breath, request type (request type is for example including inquiry operation or updates operation) and data lock holder to target data Mark (mark is invalidated identification in initial transaction).Target data logic locking device 400a judges whether to need to lock access Target data, and judge whether target data can be used, if it is not then the data are locked by other requests, target Target data has been locked, has returned to request of data terminal 400b by information such as whose lockings by mathematical logic locking device 400a;Such as Fruit is available, then target data is carried out locking processing, and processing successful result and data lock holder mark are returned to number According to requesting terminal 400b.Detailed process is locked referring to describing in lower Fig. 6.
In step S502, access target data.For example, target data logic locking device 400a receives request of data terminal The processing request that 400b is sent, the target data lock holder in request data that traction processing apparatus 401 is read identify, concurrently Data lock status judgment means 404 are given, check that the data lock holder identifies whether effectively.If effectively, trading processing dress It sets relevant target data in 401 pairs of target data storage devices 402 to be accessed and updated for a long time, accesses and update mesh After marking data, processing successful result is returned into request of data terminal 400b.
In step S503, target data unlock.For example, target data logic locking device 400a receives request of data terminal The unlock that 400b is sent handles request, and traction processing apparatus 401 reads the data lock holder mark in transaction data, and gives Data lock status judgment means 404 check that the data lock holder identifies whether effectively.If it is valid, into target data Critical zone.Data lock status judgment means 404 check whether the target data has in target data lock status storage device 403 Lock, if there is lock, then data lock release 406 is identified according to data uniqueness, uses database update sentence (such as SQL language The DELETE sentence or UPDATE statement called the turn) lock status of target data is updated for release conditions.After unlock, data Processing result is returned to traction processing apparatus 401 by lock release 406, exits target data critical zone, processing terminate for unlock And processing successful result is returned into request of data terminal 400b.Detailed process is unlocked referring to lower Fig. 7.
Fig. 6 diagrammatically illustrates a kind of flow chart of locking operation according to the embodiment of the present disclosure.
As shown in fig. 6, the locking operation includes step S601~S610.It will be understood by those skilled in the art that shown in Fig. 6 Locking operation process it is merely illustrative, the embodiment of the present disclosure is not limited thereto.Data processing system shown in Fig. 4 can be used To realize locking operation process shown in fig. 6.Next, example according to the embodiment of the present disclosure will be described in conjunction with Fig. 4 and Fig. 6 The flow chart of method.
In step S601, traction processing apparatus 401 receives request of data terminal 400b and requests the processing of target data. The unique mark for having client requesting terminal number information in the processing request of request of data terminal 400b, needing access target data Know information, (the mark is identified to the request type (such as: inquiry operation updates operation) and data lock holder of target data It is invalidated identification in initial transaction).
In step S602, traction processing apparatus 401 judges this on-line transaction according to the type of transaction of data processing request Whether request is update operation (updating the UPDATE statement or INSERT sentence in operation for example, sql like language), if so, S604 is then entered step, S603 is otherwise entered step.
In step S603, because being non-update generic operation, the Online query processing method pair by of traction processing apparatus 401 Target data storage device 402 carries out data query access.
Target is read in the unique identification information of step S604, the access target data as needed of traction processing apparatus 401 Data lock status storage device 403, obtains the target data corresponding data lock holder mark, and by the mark and number of request In target data lock holder mark is compared, if identify it is identical if effectively, enter step S605, otherwise just into Enter S606 step.
In step S605, traction processing apparatus 401 to target data storage device 402 carry out target data access and It updates, processing successful result is returned into request of data terminal 400b after being disposed.
In step S606, traction processing apparatus 401 will need access the unique identification information of target data with data packet Form is sent to the critical zone device 407 of data, and the critical zone device 407 of data is by judging whether have the target data interviewed in area Current transaction is then set to sleep state if it is, illustrating that the target data is accessed by other transaction by the signal asked, And the waiting for being added to critical zone enters in queue, if no signal, the signal that the target data is accessing is arranged, and Current transaction is allowed to enter critical zone.
In step S607, data lock status judgment means 404 are used without lock according to the unique identification information of target data Query sentence of database (SELECT statement in such as sql like language), inquiry target data lock status storage device 403 find the mark Know corresponding target data, if the lock status of the target data is to be locked, reads the visitor for locking the target data Family requesting terminal number information is simultaneously transferred to step S608 processing, if can lock, is transferred to step S609.
In step S608, data lock status judgment means 404 return to the client of not re-keyable result, lock onto target data The information such as requesting terminal number return to traction processing apparatus 401, and exit target data critical zone, and critical zone is at this time by the mesh The accessed signal of mark data is set off, and is obtained next access transaction entrance from the waiting list of critical zone and faced Battery limit (BL).Traction processing apparatus 401 by access target data locked and the client requesting terminal of lock onto target data number etc. letter Breath is sent to client requesting terminal.
In step S609,405 access target data lock status storage device 403 of data locking device, data locking device The unique identification information of 405 access target data as needed, uses the database update sentence (INSERT in such as sql like language Sentence or UPDATE statement) increase or update the unique identification information pair in target data lock status storage device 403 The lock information state for answering target data is " locking ", and generates new data lock holder mark.Data locking device 405 will The information preservations such as client requesting terminal number information, newly generated data lock holder mark are stored in target data lock status to be filled Set in 403, at the same will lock successful information and newly generated data lock holder mark return to traction processing apparatus 401。
In step S610, traction processing apparatus 401 locks the processing successful result and data of data locking device 405 The person's of having mark returns to request of data terminal 400b, and exits critical zone.Request of data terminal 400b saves data lock holder Mark.
Fig. 7 diagrammatically illustrates the flow chart handled according to a kind of unlock of the embodiment of the present disclosure.
As shown in fig. 7, unlock processing includes step S701~S708.It will be understood by those skilled in the art that shown in Fig. 7 Unlock process flow it is merely illustrative, the embodiment of the present disclosure is not limited thereto.Data processing system shown in Fig. 4 can be used To realize unlock process flow shown in Fig. 7.Next, example according to the embodiment of the present disclosure will be described in conjunction with Fig. 4 and Fig. 7 The flow chart of method.
In step S701, traction processing apparatus 401 receives the unlock processing request of request of data terminal 400b initiation, should The unique identification and data lock holder mark of target data are contained in unlock processing request data.
Target is read in the unique identification information of step S702, the access target data as needed of traction processing apparatus 401 Data lock status storage device 403, obtains the target data corresponding data lock holder mark, and by the mark and number of request In target data lock holder mark is compared, if identify it is identical if effectively, enter step S704, otherwise just into Enter step S703 step.
In step S703, traction processing apparatus 401 sends data lock holder mark verification failure result to request of data Terminal 400b.
In step S704, traction processing apparatus 401 will need access the unique identification information of target data with data packet Form is sent to the critical zone device 407 of data, and the critical zone device 407 of data is by judging whether the target data is accessed in area Signal current transaction is then set to sleep state if it is, illustrating that the target data is accessed by other transaction, and The waiting for being added to critical zone enters in queue, if no signal, the signal that the target data is accessing is arranged, and permit Perhaps current transaction enters critical zone.
In the target data that step S705, data lock status judgment means 404 are passed over according to traction processing apparatus 401 Unique identification checks whether the target data has lock in target data lock status storage device 403, in 306 steps if not Suddenly traction processing apparatus 401 is directly returned result to, enters step S707 if there is locking then log-on data lock release 406.
In step S706, data lock status judgment means 404 are " target data is unlocked, unlocks processing failure " information hair Give traction processing apparatus 401.
In step S707, data lock release 406 is identified according to data uniqueness, (such as using database update sentence DELETE sentence or UPDATE statement in sql like language) update the lock information shape that the unique identification information corresponds to target data State is " unlock ", and processing result is returned to traction processing apparatus 401.
In step S708, traction processing apparatus 401 returns result to request of data terminal 400b, and mesh is exited in current transaction Data critical zone is marked, the signal which is accessed is set off by critical zone at this time, and the waiting from critical zone Next access transaction is obtained in queue and enters critical zone, and processing terminate for unlock.
It will be understood by those skilled in the art that the technical solution of the embodiment of the present disclosure is reduced by modification application flow The use of locking query statement effectively reduces the inquiry waiting time because of the sentence with exclusive lock, solves exchange hour It is long, it needs to lock target data for a long time, leads to the problem that access efficiency is lower.
The main advantage of the embodiment of the present disclosure is as follows:
(1) database access efficiency and Computer real-time processing speed are improved.Traditional table locking means, are often being opened It needs to carry out using the query statement (the SELECT FOR UPDATE statement in such as SQL statement) with exclusive lock when beginning Inquiry, which needs to fall into a long wait in the state that target data has had exclusive lock, exclusive until target data Lock is released and can just trade, therefore when transaction flow access target data are more and exchange hour is long, It is easy to cause transaction to need to wait lock and cause elongated the time required to transaction.And by using this method, greatly shorten this The inquiry application lock table time in the case of kind is reduced time control with itself required time of individually trading because waiting And the system resource occupied.
(2) optimize user's display interface.Traditional table updating method, when transaction flow access target data are more, transaction When time is long, when concurrent transaction is more, the probability due to accessing the same target data increases, and concurrent transaction waits Time is progressively longer, and transaction is caused to wait the interface time longer, but client does not know wait such a long time, boundary why The aobvious less close friend in face.When having used this technology, if different transaction updates same target data at the same time, this transaction energy Quickly find that the target data has locked, can be immediately finished transaction and return " has had user to operate the data, asked Wait a moment " miscue, reduce client's waiting time.
Fig. 8 diagrammatically illustrates the block diagram of the data processing equipment applied to server according to the embodiment of the present disclosure.
As shown in figure 8, the data processing equipment 800 for server includes the first receiving module 810, the first determining module 820, the second determining module 830 and sending module 840.
First receiving module 810 can be used for receiving the access request from first terminal.According to the embodiment of the present disclosure, One receiving module 810 can for example execute the operation S210 above with reference to Fig. 2 description, and details are not described herein.
Whether the first determining module 820 is determined in access request including instruction, and instruction characterization first terminal is worked as The update operation of preceding execution is for the target data in database.According to the embodiment of the present disclosure, the first determining module 820 for example may be used To execute the operation S220 described above with reference to Fig. 2, details are not described herein.
Second determining module 830 can be used in response to access request including instruction, determine the current state of target data.
According to the embodiment of the present disclosure, access request includes: the first terminal mark of first terminal.In response to access request packet Include instruction, determine the current state of target data, comprising: in response to access request include instruction, determine first terminal mark with Second terminal identifies whether unanimously, wherein second terminal is identified as the mark of the second terminal of locked target data, in response to First terminal mark and second terminal mark are inconsistent, determine the current state of target data.
According to the embodiment of the present disclosure, the second determining module 830 can for example execute the operation above with reference to Fig. 2 description S230, details are not described herein.
Sending module 840 can be used in response to the current state of target data being lock state, send to first terminal Prompt information, so that first terminal is based on prompt information and terminates update operation.According to the embodiment of the present disclosure, sending module 840 As that can execute above with reference to the operation S240 described in Fig. 2, details are not described herein.
Fig. 9 diagrammatically illustrates the frame of the data processing equipment applied to server according to another embodiment of the disclosure Figure.
As shown in figure 9, the data processing equipment 900 for server includes the first receiving module 810, the first determining module 820, the second determining module 830, sending module 840, respond module 910, the first update module 920 and third determining module 930.Wherein, the first receiving module 810, the first determining module 820, the second determining module 830 and sending module 840 and upper ginseng The module for examining Fig. 8 description is same or like, and details are not described herein.
Respond module 910 can be used for identifying, permission first terminal consistent with second terminal mark in response to first terminal Operation is updated to target data.According to the embodiment of the present disclosure, respond module 910 can for example be executed and be retouched above with reference to Fig. 3 The operation S310 stated, details are not described herein.
First update module 920 can be used in response to the current state of target data being unlocked state, be based on first The unlocked state of target data is updated to lock state by terminal iidentification.According to the embodiment of the present disclosure, the first update module 920 Such as the operation S320 described above with reference to Fig. 3 can be executed, details are not described herein.
Third determining module 930 is determined for that first terminal is allowed to operate the update that target data carries out.According to The embodiment of the present disclosure, third determining module 930 can for example execute the operation S330 above with reference to Fig. 3 description, no longer superfluous herein It states.
According to the embodiment of the present disclosure, above-mentioned apparatus 900 further includes the second receiving module and the second update module.Wherein, Two receiving modules are used to receive the update from first terminal and complete request, and updating completion request includes first terminal to number of targets The request sent later according to operation is updated.Second update module is used for based on completion request is updated, by the lock of target data Determine state and is updated to unlocked state.
According to the embodiment of the present disclosure, updates and complete to request to include that first terminal identifies;Request is completed based on updating, by target The lock state of data is updated to unlocked state, comprising: completes request based on updating, determines that first terminal identifies whether to have Criterion is known, and is identified as effective mark in response to determining first terminal, determines whether the current state of target data is lock state, Current state in response to target data is lock state, and the lock state of target data is updated to unlocked state.
According to the embodiment of the present disclosure, server includes multiple databases, and each database in multiple databases includes Target data.Current state in response to target data is unlocked state, is identified unlocked state more based on first terminal It is newly lock state, comprising: the current state in response to target data in multiple databases is unlocked state, is based on first The unlocked state of target data in multiple databases is updated to lock state by terminal iidentification.
It is module according to an embodiment of the present disclosure, submodule, unit, any number of or in which any more in subelement A at least partly function can be realized in a module.It is single according to the module of the embodiment of the present disclosure, submodule, unit, son Any one or more in member can be split into multiple modules to realize.According to the module of the embodiment of the present disclosure, submodule, Any one or more in unit, subelement can at least be implemented partly as hardware circuit, such as field programmable gate Array (FPGA), programmable logic array (PLA), system on chip, the system on substrate, the system in encapsulation, dedicated integrated electricity Road (ASIC), or can be by the hardware or firmware for any other rational method for integrate or encapsulate to circuit come real Show, or with any one in three kinds of software, hardware and firmware implementations or with wherein any several appropriately combined next reality It is existing.Alternatively, can be at least by part according to one or more of the module of the embodiment of the present disclosure, submodule, unit, subelement Ground is embodied as computer program module, when the computer program module is run, can execute corresponding function.
For example, the first receiving module 810, the first determining module 820, the second determining module 830, sending module 840, response Any number of in module 910, the first update module 920 and third determining module 930 may be incorporated in real in a module Any one module existing or therein can be split into multiple modules.Alternatively, one or more modules in these modules At least partly function can be combined at least partly function of other modules, and realized in a module.According to this public affairs The embodiment opened, the first receiving module 810, the first determining module 820, the second determining module 830, sending module 840, response mould At least one of block 910, the first update module 920 and third determining module 930 can be at least implemented partly as firmly Part circuit, for example, field programmable gate array (FPGA), programmable logic array (PLA), system on chip, the system on substrate, System, specific integrated circuit (ASIC) in encapsulation, or can be by carrying out any other conjunction that is integrated or encapsulating to circuit The hardware such as reason mode or firmware realize, or with any one in three kinds of software, hardware and firmware implementations or with wherein It is any several appropriately combined to realize.Alternatively, the first receiving module 810, the first determining module 820, the second determining module 830, at least one of sending module 840, respond module 910, the first update module 920 and third determining module 930 can To be at least implemented partly as computer program module, when the computer program module is run, can execute corresponding Function.
Figure 10 diagrammatically illustrates the box of the computer system for realizing data processing according to the embodiment of the present disclosure Figure.Computer system shown in Figure 10 is only an example, should not function to the embodiment of the present disclosure and use scope bring Any restrictions.
As shown in Figure 10, computer system 1000 includes processor 1001, computer readable storage medium 1002.The system 1000 can execute the method according to the embodiment of the present disclosure.
Specifically, processor 1001 for example may include general purpose microprocessor, instruction set processor and/or related chip group And/or special microprocessor (for example, specific integrated circuit (ASIC)), etc..Processor 1001 can also include for caching The onboard storage device of purposes.Processor 1001 can be the different movements for executing the method flow according to the embodiment of the present disclosure Single treatment unit either multiple processing units.
Computer readable storage medium 1002, for example, can be can include, store, transmitting, propagating or transmitting instruction Arbitrary medium.For example, readable storage medium storing program for executing can include but is not limited to electricity, magnetic, optical, electromagnetic, infrared or semiconductor system, dress It sets, device or propagation medium.The specific example of readable storage medium storing program for executing includes: magnetic memory apparatus, such as tape or hard disk (HDD);Light Storage device, such as CD (CD-ROM);Memory, such as random access memory (RAM) or flash memory;And/or wire/wireless communication Link.
Computer readable storage medium 1002 may include computer program 1003, which may include Code/computer executable instructions executes processor 1001 and is implemented according to the disclosure The method or its any deformation of example.
Computer program 1003 can be configured to have the computer program code for example including computer program module.Example Such as, in the exemplary embodiment, the code in computer program 1003 may include one or more program modules, for example including 1003A, module 1003B ....It should be noted that the division mode and number of module are not fixed, those skilled in the art It can be combined according to the actual situation using suitable program module or program module, when these program modules are combined by processor When 1001 execution, processor 1001 is executed according to the method for the embodiment of the present disclosure or its any deformation.
In accordance with an embodiment of the present disclosure, the first receiving module 810, the first determining module 820, the second determining module 830, hair At least one of module 840, respond module 910, the first update module 920 and third determining module 930 is sent to may be implemented It may be implemented described above corresponding for the computer program module with reference to Figure 10 description when being executed by processor 1001 Operation.
The disclosure additionally provides a kind of computer-readable medium, which, which can be in above-described embodiment, retouches Included in the equipment/device/system stated;It is also possible to individualism, and without in the supplying equipment/device/system.On It states computer-readable medium and carries one or more program, when said one or multiple programs are performed, in realization State method.
In accordance with an embodiment of the present disclosure, computer-readable medium can be computer-readable signal media or computer can Read storage medium either the two any combination.Computer readable storage medium for example can be --- but it is unlimited In system, device or the device of --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, or any above combination.It calculates The more specific example of machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, portable of one or more conducting wires Formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device or The above-mentioned any appropriate combination of person.
It will be understood by those skilled in the art that the feature recorded in each embodiment and/or claim of the disclosure can To carry out multiple combinations and/or combination.Although this public affairs has shown and described referring to the certain exemplary embodiments of the disclosure It opens, it will be appreciated by those skilled in the art that in the essence of the disclosure limited without departing substantially from the following claims and their equivalents In the case where mind and range, a variety of changes in form and details can be carried out to the disclosure.Therefore, the scope of the present disclosure is not answered This is limited to above-described embodiment, but should be not only determined by appended claims, also being equal by appended claims Object is defined.

Claims (10)

1. a kind of data processing method applied to server, the server include database, which comprises
Receive the access request from first terminal;
Determine in the access request whether include instruction, the instruction characterizes the currently performed update operation of the first terminal For the target data in the database;
Include the instruction in response to the access request, determines the current state of the target data;And
Current state in response to the target data is lock state, and Xiang Suoshu first terminal sends prompt information, so that institute It states first terminal and is based on the prompt information termination update operation.
2. according to the method described in claim 1, wherein, the access request includes: the first terminal mark of the first terminal Know;Described in response to the access request includes the instruction, determines the current state of the target data, comprising:
Include the instruction in response to the access request, determines that the first terminal mark identifies whether one with second terminal It causes, wherein the second terminal is identified as the mark of the second terminal of the locked target data;And
It is inconsistent in response to first terminal mark and second terminal mark, determine the current state of the target data.
3. according to the method described in claim 2, further include:
It is consistent with second terminal mark in response to first terminal mark, allow the first terminal to the number of targets It is operated according to the update is carried out.
4. according to the method described in claim 2, further include:
Current state in response to the target data is unlocked state, is identified based on the first terminal by the number of targets According to unlocked state be updated to lock state;And
Determining allows the first terminal to operate the update that the target data carries out.
5. the method according to claim 3 or 4, further includes:
It receives the update from the first terminal and completes request, it includes the first terminal to described that request is completed in the update Target data carries out the request for updating and sending after operation;And
It completes to request based on the update, the lock state of the target data is updated to unlocked state.
6. according to the method described in claim 5, wherein, it includes that the first terminal identifies that request is completed in the update;It is described It completes to request based on the update, the lock state of the target data is updated to unlocked state, comprising:
It completes to request based on the update, determines that the first terminal identifies whether effectively to identify;
It is identified as effective mark in response to the determination first terminal, determines whether the current state of the target data is locking State;And
Current state in response to the target data is lock state, the lock state of the target data is updated to unlocked Determine state.
7. according to the method described in claim 4, wherein, the server includes multiple databases, in the multiple database Each database include the target data;
The current state in response to the target data is unlocked state, is identified by described in not based on the first terminal Lock state is updated to lock state, comprising: the current state in response to target data in the multiple database is unlocked Determine state, is identified based on the first terminal and be updated to lock by the unlocked state of target data in the multiple database State.
8. a kind of data processing equipment applied to server, the server include database, described device includes:
First receiving module receives the access request from first terminal;
First determining module determines in the access request whether include instruction, and it is current that the instruction characterizes the first terminal The update operation of execution is for the target data in the database;
Second determining module includes the instruction in response to the access request, determines the current state of the target data;With And
Sending module, the current state in response to the target data are lock state, and Xiang Suoshu first terminal sends prompt letter Breath, so that the first terminal is based on the prompt information and terminates the update operation.
9. a kind of calculating equipment, comprising:
One or more processors;
Memory, for storing one or more programs,
Wherein, when one or more of programs are executed by one or more of processors, so that one or more of Processor realizes method described in any one of claims 1 to 7.
10. a kind of computer readable storage medium, is stored with computer executable instructions, described instruction is used for reality when executed Method described in existing any one of claims 1 to 7.
CN201910693858.3A 2019-07-29 2019-07-29 Applied to the data processing method of server, device, calculate equipment, medium Pending CN110399383A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910693858.3A CN110399383A (en) 2019-07-29 2019-07-29 Applied to the data processing method of server, device, calculate equipment, medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910693858.3A CN110399383A (en) 2019-07-29 2019-07-29 Applied to the data processing method of server, device, calculate equipment, medium

Publications (1)

Publication Number Publication Date
CN110399383A true CN110399383A (en) 2019-11-01

Family

ID=68326614

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910693858.3A Pending CN110399383A (en) 2019-07-29 2019-07-29 Applied to the data processing method of server, device, calculate equipment, medium

Country Status (1)

Country Link
CN (1) CN110399383A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110990404A (en) * 2019-11-27 2020-04-10 亚信科技(中国)有限公司 Index data processing method and device and electronic equipment
CN111291065A (en) * 2020-02-12 2020-06-16 中国工商银行股份有限公司 Asset data change method and device executed by computing equipment and computing equipment
CN111309717A (en) * 2020-01-23 2020-06-19 普信恒业科技发展(北京)有限公司 Auditing method and system
CN111309746A (en) * 2020-02-13 2020-06-19 贝壳技术有限公司 Asynchronous parallel data synchronization method and device
CN111405015A (en) * 2020-03-09 2020-07-10 中国建设银行股份有限公司 Data processing method, device, equipment and storage medium
CN112231131A (en) * 2020-09-28 2021-01-15 北京金山云网络技术有限公司 Method, device and equipment for realizing database lock and readable storage medium
CN113282655A (en) * 2021-06-04 2021-08-20 青岛海尔科技有限公司 Data request processing method and device, storage medium and electronic device
CN114116583A (en) * 2021-11-17 2022-03-01 德力西(杭州)变频器有限公司 Serial communication method of double chips and system with double chips
CN114996180A (en) * 2022-05-31 2022-09-02 上海阵量智能科技有限公司 Access control method, system, chip, board card and electronic equipment
CN115344620A (en) * 2022-10-19 2022-11-15 成都中科合迅科技有限公司 Method for realizing data on-demand synchronization after front-end and back-end separation by user-defined data pool
WO2023185934A1 (en) * 2022-03-31 2023-10-05 阿里云计算有限公司 Data processing method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080307171A1 (en) * 2007-06-11 2008-12-11 Hitachi, Ltd. System and method for intrusion protection of network storage
CN101515935A (en) * 2009-03-17 2009-08-26 深圳华为通信技术有限公司 Data synchronization method and server
CN101706802A (en) * 2009-11-24 2010-05-12 成都市华为赛门铁克科技有限公司 Method, device and sever for writing, modifying and restoring data
CN102122288A (en) * 2010-12-21 2011-07-13 北京高森明晨信息科技有限公司 Method and system for concurrency control
CN103793664A (en) * 2014-02-21 2014-05-14 中标软件有限公司 Method and device for managing copies in cloud storage system
CN105138587A (en) * 2015-07-31 2015-12-09 小米科技有限责任公司 Data access method, apparatus and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080307171A1 (en) * 2007-06-11 2008-12-11 Hitachi, Ltd. System and method for intrusion protection of network storage
CN101515935A (en) * 2009-03-17 2009-08-26 深圳华为通信技术有限公司 Data synchronization method and server
CN101706802A (en) * 2009-11-24 2010-05-12 成都市华为赛门铁克科技有限公司 Method, device and sever for writing, modifying and restoring data
CN102122288A (en) * 2010-12-21 2011-07-13 北京高森明晨信息科技有限公司 Method and system for concurrency control
CN103793664A (en) * 2014-02-21 2014-05-14 中标软件有限公司 Method and device for managing copies in cloud storage system
CN105138587A (en) * 2015-07-31 2015-12-09 小米科技有限责任公司 Data access method, apparatus and system

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110990404A (en) * 2019-11-27 2020-04-10 亚信科技(中国)有限公司 Index data processing method and device and electronic equipment
CN110990404B (en) * 2019-11-27 2023-09-05 亚信科技(中国)有限公司 Index data processing method and device and electronic equipment
CN111309717A (en) * 2020-01-23 2020-06-19 普信恒业科技发展(北京)有限公司 Auditing method and system
CN111291065A (en) * 2020-02-12 2020-06-16 中国工商银行股份有限公司 Asset data change method and device executed by computing equipment and computing equipment
CN111291065B (en) * 2020-02-12 2023-07-25 中国工商银行股份有限公司 Asset data modification method and device executed by computing equipment and computing equipment
CN111309746A (en) * 2020-02-13 2020-06-19 贝壳技术有限公司 Asynchronous parallel data synchronization method and device
CN111405015B (en) * 2020-03-09 2022-09-30 中国建设银行股份有限公司 Data processing method, device, equipment and storage medium
CN111405015A (en) * 2020-03-09 2020-07-10 中国建设银行股份有限公司 Data processing method, device, equipment and storage medium
CN112231131A (en) * 2020-09-28 2021-01-15 北京金山云网络技术有限公司 Method, device and equipment for realizing database lock and readable storage medium
CN113282655A (en) * 2021-06-04 2021-08-20 青岛海尔科技有限公司 Data request processing method and device, storage medium and electronic device
CN114116583A (en) * 2021-11-17 2022-03-01 德力西(杭州)变频器有限公司 Serial communication method of double chips and system with double chips
WO2023185934A1 (en) * 2022-03-31 2023-10-05 阿里云计算有限公司 Data processing method and device
CN114996180A (en) * 2022-05-31 2022-09-02 上海阵量智能科技有限公司 Access control method, system, chip, board card and electronic equipment
CN115344620A (en) * 2022-10-19 2022-11-15 成都中科合迅科技有限公司 Method for realizing data on-demand synchronization after front-end and back-end separation by user-defined data pool
CN115344620B (en) * 2022-10-19 2023-01-06 成都中科合迅科技有限公司 Method for realizing data on-demand synchronization after front-end and back-end separation by user-defined data pool

Similar Documents

Publication Publication Date Title
CN110399383A (en) Applied to the data processing method of server, device, calculate equipment, medium
KR101959153B1 (en) System for efficient processing of transaction requests related to an account in a database
CN110032571A (en) Business flow processing method, apparatus, storage medium and calculating equipment
CN110728455B (en) Service processing method, service processing device, storage medium and electronic equipment
US20220092566A1 (en) System and method for data provider tracking and monetization
US7895332B2 (en) Identity migration system apparatus and method
CN107113341A (en) The system of the high-throughput processing of affairs in the Distributed Relation Database Management System divided for data
CN114925084B (en) Distributed transaction processing method, system, equipment and readable storage medium
CN113254969B (en) Business data processing method and device, electronic equipment and storage medium
CN109684873A (en) Data access control method, device, computer equipment and storage medium
CN110727664A (en) Method and device for executing target operation on public cloud data
CN110362630A (en) Data managing method, device, equipment and computer readable storage medium
CN110119396A (en) Data managing method and Related product
CN108170860A (en) Data query method, apparatus, electronic equipment and computer readable storage medium
CN112685391A (en) Service data migration method and device, computer equipment and storage medium
CN107911443A (en) A kind of session information processing method, device, server and readable storage medium storing program for executing
CN103778003A (en) Tiered locking of resources
CN111385294A (en) Data processing method, system, computer device and storage medium
KR20230132878A (en) Reduce transaction cancellations in execute-order-verify blockchain models
CN113468579A (en) Data access method, device, equipment and storage medium
CN113760841A (en) Method and device for realizing distributed lock
CN110019113B (en) Database service processing method and database server
CN115657901B (en) Service changing method and device based on unified parameters
US11520769B1 (en) Block level lock on data table
US20220343305A1 (en) System and Method of Electronic Health Record Permissioning and Monetization

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20191101

RJ01 Rejection of invention patent application after publication