CN109743366A - A kind of resource locking method, apparatus and system for scene of more living - Google Patents
A kind of resource locking method, apparatus and system for scene of more living Download PDFInfo
- Publication number
- CN109743366A CN109743366A CN201811572252.6A CN201811572252A CN109743366A CN 109743366 A CN109743366 A CN 109743366A CN 201811572252 A CN201811572252 A CN 201811572252A CN 109743366 A CN109743366 A CN 109743366A
- Authority
- CN
- China
- Prior art keywords
- agent object
- room
- lock
- main equipment
- application cluster
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 26
- 230000005540 biological transmission Effects 0.000 claims description 2
- 238000000605 extraction Methods 0.000 claims description 2
- 230000006872 improvement Effects 0.000 abstract description 3
- 230000002860 competitive effect Effects 0.000 abstract description 2
- 238000009412 basement excavation Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 238000000926 separation method Methods 0.000 description 4
- 235000010627 Phaseolus vulgaris Nutrition 0.000 description 3
- 244000046052 Phaseolus vulgaris Species 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000009466 transformation Effects 0.000 description 3
- 238000010276 construction Methods 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 238000010168 coupling process Methods 0.000 description 2
- 238000005859 coupling reaction Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 230000006378 damage Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000002955 isolation Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
Landscapes
- Lock And Its Accessories (AREA)
Abstract
The embodiment of the invention discloses a kind of resource locking method, apparatus and systems for scene of more living, and are related to Internet technical field, can reduce the improvement cost for being transformed into the operation system of non-more scenes living and supporting the operation system of more scenes living.The present invention includes: to receive the access of service entrance, and determine the application cluster for issuing access, wherein in main equipment room and each handset room, disposes at least one application cluster respectively;Spring container is obtained from the redis cluster of main equipment room, and determines agent object from Spring container, and the agent object includes preset service resources;The lock actuator of agent object determined by obtaining, and identified agent object is locked by the lock actuator;After receiving the unlock notice that the application cluster is sent, the agent object being locked is unlocked.The present invention is suitable for the locking under more scenes living to the competitive resource of uniqueness.
Description
Technical field
The present invention relates to Internet technical field more particularly to a kind of resource locking method, devices for scene of more living
And system.
Background technique
The bigger Internet company of scale, it is necessary to the more powerful system of construction supports the business of its day-to-day operations,
And room management also becomes one of vital work of Large-Scale Interconnected net company.
System configuration strategy for the disaster accident and computer room failure constantly occurred, under more living body systems, it has also become large-scale
The calamity that Internet company has to implement is for System Construction.But under more living body systems, the distributed lock middleware of each data center is taken
It, generally can not community network between business.Therefore under more living body systems, between multimachine room center, the uniqueness of system how is obtained
Resource, at a big difficulty.
Also, the operation system of non-more scenes living is transformed into the operation system for supporting more scenes living, it is also desirable to carry out big
The reconstruct work for measuring code, especially for the written in code of the locking rule of the uniqueness resource of system, the work of this part is
The complicated coupled problem being easy to appear between multimachine room center again, the human cost and risk for causing business to be transformed have always been high not
Under.
Summary of the invention
The embodiment of the present invention provides a kind of resource locking method, apparatus and system for scene of more living, and can reduce
The operation system of non-more scenes living is transformed into the improvement cost for supporting the operation system of more scenes living.
In order to achieve the above objectives, the embodiment of the present invention adopts the following technical scheme that
A kind of resource lock system for scene of more living, the system are divided into main equipment room equipment and sub- calculator room equipment;
The main equipment room equipment includes at least one application cluster in the main equipment room, in the main equipment room
The Rsf service centre of redis cluster and the main equipment room;
The sub- calculator room equipment includes the Rsf clothes of at least one application cluster and the handset room in the handset room
Business center;
At least one application cluster in the handset room, for the Rsf service centre by the handset room as rsf
Service routing, Xiang Suoshu main equipment room issue access request;
The Rsf service centre of the main equipment room, the access request sent for receiving the rsf service routing;
At least one application cluster in the main equipment room is asked for directly issuing the access to the redis cluster
It asks;
Redis cluster in the main equipment room, it is described for providing Spring container according to the access request received
Agent object is had recorded in Spring container, the agent object includes preset service resources;
The Rsf service centre of the main equipment room, for the lock actuator by the agent object to identified agency
Object locking, and after receiving the unlock notice that the application cluster is sent, the agent object being locked is unlocked;
Wherein, the access request is for request lock service, the agent object in the Spring container with it is described
The agent object that access request is directed toward corresponds to each other.
In main equipment room, receive the access of service entrance, and determine the application cluster for issuing access, wherein in main equipment room and
In each handset room, at least one application cluster is disposed respectively;Spring container is obtained from the redis cluster of main equipment room,
And agent object is determined from Spring container, the agent object includes preset service resources;Agency determined by obtaining
The lock actuator of object, and identified agent object is locked by the lock actuator;Receive the application cluster hair
After the unlock notice sent, the agent object being locked is unlocked.
The present embodiment is intended to provide under a kind of more living scene and carries out locking processing to system unique resource.By system business with
Management business separation is locked, open interface realizes across the computer room lock tube reason of rsf.To emulative resource, such as in distributed system
Operation system, specific business scenario is when creating member using cell-phone number, and many business are required using cell-phone number, therefore
It needs to lock cell-phone number when one business transformation, progress lock management, in different computer rooms, if necessary to same
Resource is locked, and is locked by main equipment room.Scheme through this embodiment simplifies repetition and locks code, prevents mistake
That misses uses service exception caused by distributed lock, and energy is more placed on excavation business itself by business side.And it is this to add
The intrusion low for system of lock mode, it is not necessary to modify former service logics, to utmostly reduce the business system of non-more scenes living
System is transformed into the improvement cost for supporting the operation system of more scenes living.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to needed in the embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for ability
For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to these attached drawings other attached
Figure.
Fig. 1 is a kind of schematic diagram of system architecture example provided in an embodiment of the present invention;
Fig. 2 is method flow schematic diagram provided in an embodiment of the present invention;
Fig. 3,4,5,6 are the flow diagram of specific example provided in an embodiment of the present invention;
Fig. 7 is apparatus structure schematic diagram provided in an embodiment of the present invention.
Specific embodiment
Technical solution in order to enable those skilled in the art to better understand the present invention, with reference to the accompanying drawing and specific embodiment party
Present invention is further described in detail for formula.Embodiments of the present invention are described in more detail below, the embodiment is shown
Example is shown in the accompanying drawings, and in which the same or similar labels are throughly indicated same or similar element or has identical or class
Like the element of function.It is exemplary below with reference to the embodiment of attached drawing description, for explaining only the invention, and cannot
It is construed to limitation of the present invention.Those skilled in the art of the present technique are appreciated that unless expressly stated, odd number shape used herein
Formula " one ", "one", " described " and "the" may also comprise plural form.It is to be further understood that specification of the invention
Used in wording " comprising " refer to that there are the feature, integer, step, operation, element and/or component, but it is not excluded that
In the presence of or add other one or more features, integer, step, operation, element, component and/or their group.It should be understood that
When we say that an element is " connected " or " coupled " to another element, it can be directly connected or coupled to other elements, or
There may also be intermediary elements.In addition, " connection " used herein or " coupling " may include being wirelessly connected or coupling.Here make
Wording "and/or" includes one or more associated any cells for listing item and all combinations.The art
Technical staff is appreciated that unless otherwise defined all terms (including technical terms and scientific terms) used herein have
Meaning identical with the general understanding of the those of ordinary skill in fields of the present invention.It should also be understood that such as general
Those terms, which should be understood that, defined in dictionary has a meaning that is consistent with the meaning in the context of the prior art, and
Unless defined as here, it will not be explained in an idealized or overly formal meaning.
Method flow in the present embodiment can specifically be locked in a kind of resource for scene mostly living as shown in Figure 1
Executed in system, the system major deployments are in distributed scene, according to geographical location, can specifically be divided into main equipment room and
Each equipment in system can be divided into main equipment room equipment and sub- calculator room equipment according to the division of deployment computer room by handset room.
Wherein, the main equipment room equipment includes at least one application cluster in the main equipment room, in the main equipment room
Redis cluster and the main equipment room Rsf service centre.The sub- calculator room equipment includes at least one in the handset room
The Rsf service centre of a application cluster and the handset room.
Application cluster specific implementation is applied in practical applications for the server cluster being made of multiple servers equipment
Hardware device of the cluster mainly as operation operation system.
Redis cluster and Rsf service centre also can be implemented as the existing server that can be purchased on the market
Equipment, or it is implemented as the group system being made of multiple servers equipment, redis cluster and Rsf (remote service frame)
The erection of service centre, can based on disclose and be widely used at present technology (such as: Suning's remote service frame
(RSF), for solving the problems, such as the service call between system, a kind of transparent, high performance RPC service invocation scheme is provided, it can
To realize that daily service call number is by most popular technology component 20,000,000,000 or so), in the present embodiment no longer
It repeats.
The embodiment of the present invention provides a kind of resource locking method for scene of more living, as shown in Figure 2, comprising:
S101, the access for receiving service entrance, and determine the application cluster for issuing access.
Wherein, in main equipment room and each handset room, at least one application cluster is disposed respectively.
In the present embodiment, as shown in Figure 1, service entrance can be understood as obtaining the entrance of lock service, handset room
By the routing of the Rsf service centre in handset room, (routing is determined end-to-end application cluster when referring to grouping from source to destination
The process of the network range in path) main equipment room, thus access service entrance.
Whether the application cluster in main equipment room or the application cluster in handset room, can be into main equipment room
Redis collection pocket transmission access request, access request for request lock service, agent object in the Spring container with
The agent object that the access request is directed toward corresponds to each other.
S102, Spring container is obtained from the redis cluster of main equipment room, and agency couple is determined from Spring container
As.
Wherein, the agent object includes preset service resources.
Specifically, being stored in redis cluster, after the starting of Spring container in order to add for the resource for scene of more living
Lock system quickly reads lock actuator, and the resource lock system for scene of more living is mainly distributed system.
As shown in Figure 5, after starting Spring container, the note class of lock is scanned, and load the configuration of scanned lock.Root
Agent object is generated according to the note class of scanned lock, and agent object generated is stored in Spring container.Such as: in reality
In, component framework as shown in Figure 3, business side can be created a series of locking rules and be locked by rule builder
Behavior act, which is packaged into, locks strategy, and lock manager takes locking strategy and corresponding lock actuator progress locking and de-locking is called to patrol
Volume.Wherein:
Lock manager generates agent object method for providing, and manages session id, is locked using lock actuator, unlocks
Operation.
Lock actuator is the object of practical operation lock, such as based on the lock actuator of redis, zookeeper lock actuator etc.,
Default realizes across computer room RSF lock actuator, is based on redis lock actuator.
It locks strategy and locks rule comprising refinement, some locking basic parameters are locked object etc., are each locked object
Require a strategy.Specifically include two kinds of strategies: explaining and lock strategy, for entire object;And method locks strategy,
For designation method.Using using note to lock strategy when explaining and locking, programmatic method locking uses method to lock plan
Slightly.Strategy is locked to explain, for the strategy of entire object, as shown in Figure 4, wherein RuleCreator indicates rule
Creator, be worth indicates the parameter position that rule creation relies on, calculates since 0 for beanname, referParamIndex,
ReferAttribute indicates that attribute value can be set if relied on to the attribute in parameter.It furthermore can also basis in explaining
Specific object carries out personalized customization, these specific objects include: mLdcLock main equipment room lock, is set as true, arrives main equipment room
It locks;ReleaseLockRetryCount release lock number of retries;ReleaseLockRetryWaitTime release lock retries
To the time;Whether releaseLockByProxy allows agency's release to be locked;The customized lock actuator of excutor.
The regular key comprising locking is locked, expired time is locked and locks the exception etc. unsuccessfully dished out, while locking front and back
Behavior act interface is provided, business is facilitated to lock forward/backward operation business.
Behavior act refers to that definition locks front and back business operation and logic.
Rule builder: generally requiring business oneself realization, and the business that defines locks rule, and lock manager is created by the rule
Device is built, is locked to business by ad hoc rules.Default provides character string rule builder.
It should be noted that Spring container and Springbean are the known concept in a field JAVA, Spring
Container is the core of Spring, all Springbean are stored in Spring container, and passes through IoC technical management by it.
A Spring container namely bean factory (BeanFactory).The instantiation of bean in obtains, and destruction etc. is all
By this bean factory management.One Spring container is exactly the class that some realizes ApplicationContext interface
Example.That is, Spring container is exactly an ApplicationContext in fact from code level.
The lock actuator of agent object determined by S103, acquisition, and by the lock actuator to identified agency
Object locking.
S104, after receiving the unlock notice that the application cluster is sent, the agent object being locked is unlocked.
For example, as shown in FIG. 6, after application cluster access service entrance, obtain the agency couple in Spring container
As;Further obtain the lock actuator in agent object;It uniquely replies ID according to this lock service creation later;It is specified taking
Lock actuator after locked;The specific business of agent object is executed if locking successfully, at this time the resource of the business by
It locks, the application cluster for only obtaining this lock service can be used;Business can notify main equipment room to unlock after the completion of executing.
In the present embodiment, in order to which the lock for obtaining each computer room has uniqueness, it will acquire lock service definition as competition
Service, other handset rooms are obtained by rsf service routing to main equipment room to be locked, and main equipment room service directly access redis obtains lock.Its
In, competitive service refers to: each same data of data center's mutual operation need to guarantee data consistency same
One data center is controlled, such as the reducing of inventory, user's registration.
On this basis, if the access process of the application cluster in handset room, then S101 is implemented are as follows: passes through rsf
The access request that service routing issues.Application cluster and the institute for issuing the access request are determined according to the rsf service routing
State the handset room where application cluster.
If the access process of the application cluster in main equipment room, then S101 is implemented are as follows: it is direct to receive application cluster
The access request of sending, and determine the application cluster of access request that directly issues in the main equipment room.
The present embodiment is intended to provide under a kind of more living scene and carries out locking processing to system unique resource.By system business with
Management business separation is locked, open interface realizes across the computer room lock tube reason of rsf.To emulative resource, such as: the registration of member center
Member's business, the information such as cell-phone number, the pet name, user name when user's registration, it is necessary to it is globally unique, it needs to use distribution at this time
Lock.But under more scenes living, computer room cluster is independent deployment and Network Isolation, centre are to carry out network interaction by special line.Nothing
The api that method directly passes through distributed lock middleware directly acquires lock.In the present embodiment, the lock tube reason across computer room can be easily realized
Function (obtain including lock and lock discharges) is realized without the lock tube reason of excessive concern details and network communication.By this reality
The scheme for applying example simplifies repetition and locks code, and prevent mistake uses service exception caused by distributed lock, and business side is more
Energy is placed on to excavation business itself.And the intrusion low for system of this locking mode, it is not necessary to modify former service logic, needles
Operational approach is directly locked, while not losing the flexible control to lock.And by globally unique session id, support asynchronous release
Put lock.
The embodiment of the present invention provides a kind of resource locking device for scene of more living, which may operate in such as Fig. 1
Shown on redis cluster in main equipment room or equipment for extracting data from redis cluster of one of main equipment room
Such as the Rsf service centre of main equipment room.Described device as shown in Figure 7 generally comprises:
Access administration module for receiving the access of service entrance, and determines the application cluster for issuing access, wherein
In main equipment room and each handset room, at least one application cluster is disposed respectively.
Extraction module is locked, for obtaining Spring container from the redis cluster of main equipment room, and from Spring container really
Determine agent object, the agent object includes preset service resources.
Lock module, for the lock actuator of agent object determined by obtaining, and by the lock actuator to really
Fixed agent object locks.
Unlocked state, after receiving the unlock notice that the application cluster is sent, to the agent object being locked into
Row unlock.
Wherein, the access administration module, is specifically used for: the access request issued by rsf service routing.According to described
Rsf service routing determines the application cluster for issuing the access request and the handset room where the application cluster.
The access request is serviced for request lock, and the agent object in the Spring container is asked with the access
The agent object of direction is asked to correspond to each other.
The access administration module, is also used to: receiving the access request that application cluster directly issues, and determines described straight
Sending and receiving go out the application cluster of access request in the main equipment room.
Further, further includes:
Management module is locked, after starting Spring container, scans the note class of lock, and load the configuration of scanned lock.
Agent object is generated according to the note class of scanned lock, and agent object generated is stored in Spring container.
The present embodiment is intended to provide under a kind of more living scene and carries out locking processing to system unique resource.By system business with
Management business separation is locked, open interface realizes across the computer room lock tube reason of rsf.To emulative resource, such as in distributed system
Operation system, specific business scenario is when creating member using cell-phone number, and many business are required using cell-phone number, therefore
It needs to lock cell-phone number when one business transformation, progress lock management, in different computer rooms, if necessary to same
Resource is locked, and is locked by main equipment room.Scheme through this embodiment simplifies repetition and locks code, prevents mistake
That misses uses service exception caused by distributed lock, and energy is more placed on excavation business itself by business side.And it is this to add
The intrusion low for system of lock mode, it is not necessary to modify former service logics, directly lock for operational approach, while not losing to lock
Flexibly control.And by globally unique session id, support asynchronous release lock.
The embodiment of the present invention provides a kind of resource lock system for scene mostly living as shown in Figure 1.The system is drawn
It is divided into main equipment room equipment and sub- calculator room equipment.
The main equipment room equipment includes at least one application cluster in the main equipment room, in the main equipment room
The Rsf service centre of redis cluster and the main equipment room;
The sub- calculator room equipment includes the Rsf clothes of at least one application cluster and the handset room in the handset room
Business center;
At least one application cluster in the handset room, for the Rsf service centre by the handset room as rsf
Service routing, Xiang Suoshu main equipment room issue access request;
The Rsf service centre of the main equipment room, the access request sent for receiving the rsf service routing;
At least one application cluster in the main equipment room is asked for directly issuing the access to the redis cluster
It asks;
Redis cluster in the main equipment room, it is described for providing Spring container according to the access request received
Agent object is had recorded in Spring container, the agent object includes preset service resources;
The Rsf service centre of the main equipment room, for the lock actuator by the agent object to identified agency
Object locking, and after receiving the unlock notice that the application cluster is sent, the agent object being locked is unlocked;
Wherein, the access request is for request lock service, the agent object in the Spring container with it is described
The agent object that access request is directed toward corresponds to each other.
The present embodiment is intended to provide under a kind of more living scene and carries out locking processing to system unique resource.By system business with
Management business separation is locked, open interface realizes across the computer room lock tube reason of rsf.To emulative resource, such as in distributed system
Operation system, specific business scenario is when creating member using cell-phone number, and many business are required using cell-phone number, therefore
It needs to lock cell-phone number when one business transformation, progress lock management, in different computer rooms, if necessary to same
Resource is locked, and is locked by main equipment room.Scheme through this embodiment simplifies repetition and locks code, prevents mistake
That misses uses service exception caused by distributed lock, and energy is more placed on excavation business itself by business side.And it is this to add
The intrusion low for system of lock mode, it is not necessary to modify former service logics, directly lock for operational approach, while not losing to lock
Flexibly control.And by globally unique session id, support asynchronous release lock.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for equipment reality
For applying example, since it is substantially similar to the method embodiment, so describing fairly simple, related place is referring to embodiment of the method
Part explanation.The above description is merely a specific embodiment, but protection scope of the present invention is not limited to
This, anyone skilled in the art in the technical scope disclosed by the present invention, the variation that can readily occur in or replaces
It changes, should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with the protection model of claim
Subject to enclosing.
Claims (10)
1. a kind of resource locking method for scene of more living characterized by comprising
The access of service entrance is received, and determines the application cluster for issuing access, wherein in main equipment room and each handset room
In, at least one application cluster is disposed respectively;
Spring container is obtained from the redis cluster of main equipment room, and agent object, the agency are determined from Spring container
Object includes preset service resources;
The lock actuator of agent object determined by obtaining, and identified agent object is locked by the lock actuator;
After receiving the unlock notice that the application cluster is sent, the agent object being locked is unlocked.
2. it is serviced the method according to claim 1, wherein the access request is locked for request, it is described
Agent object in Spring container is corresponded to each other with the agent object that the access request is directed toward.
3. according to the method described in claim 2, it is characterized in that, it is described receive service entrance access, and determine issue visit
The application cluster asked, comprising:
The access request issued by rsf service routing;
The handset where the application cluster and the application cluster that issue the access request is determined according to the rsf service routing
Room.
4. according to the method described in claim 2, it is characterized in that, it is described receive service entrance access, and determine issue visit
The application cluster asked, comprising:
The access request that application cluster directly issues is received, and determines the application cluster of access request that directly issues in institute
It states in main equipment room.
5. the method according to claim 1, wherein further include:
After starting Spring container, the note class of lock is scanned, and loads the configuration of scanned lock;
Agent object is generated according to the note class of scanned lock, and agent object generated is stored in Spring container.
6. a kind of resource locking device for scene of more living characterized by comprising
Access administration module for receiving the access of service entrance, and determines the application cluster for issuing access, wherein in host
In room and each handset room, at least one application cluster is disposed respectively;
Extraction module is locked, for obtaining Spring container from the redis cluster of main equipment room, and determines generation from Spring container
Object is managed, the agent object includes preset service resources;
Module is locked, for obtaining the lock actuator of identified agent object, and by the lock actuator to identified
Agent object locks;
Unlocked state solves the agent object being locked after receiving the unlock notice that the application cluster is sent
Lock.
7. device according to claim 6, which is characterized in that the access administration module is specifically used for: being taken by rsf
The access request that business routing issues;The application cluster for issuing the access request and described is determined according to the rsf service routing
Handset room where application cluster;
The access request is serviced for request lock, and the agent object in the Spring container refers to the access request
To agent object correspond to each other.
8. device according to claim 7, which is characterized in that the access administration module is also used to: receiving using collection
The access request that group directly issues, and determine the application cluster of access request that directly issues in the main equipment room.
9. the apparatus according to claim 1, which is characterized in that further include:
Management module is locked, after starting Spring container, scans the note class of lock, and load the configuration of scanned lock;According to
The note class of scanned lock generates agent object, and agent object generated is stored in Spring container.
10. a kind of resource lock system for scene of more living, which is characterized in that the system is divided into main equipment room equipment and son
Calculator room equipment;
The main equipment room equipment includes at least one application cluster in the main equipment room, the redis collection in the main equipment room
The Rsf service centre of group and the main equipment room;
The sub- calculator room equipment includes in the Rsf service of at least one application cluster and the handset room in the handset room
The heart;
At least one application cluster in the handset room is serviced for the Rsf service centre by the handset room as rsf
Routing, Xiang Suoshu main equipment room issue access request;
The Rsf service centre of the main equipment room, the access request sent for receiving the rsf service routing;
At least one application cluster in the main equipment room, for directly issuing the access request to the redis cluster;
Redis cluster in the main equipment room, for providing Spring container, the Spring according to the access request received
Agent object is had recorded in container, the agent object includes preset service resources;
The Rsf service centre of the main equipment room, for the lock actuator by the agent object to identified agent object
After the unlock for locking, and receiving the application cluster transmission notifies, the agent object being locked is unlocked;
Wherein, the access request is serviced for request lock, agent object and the access in the Spring container
The agent object that request is directed toward corresponds to each other.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811572252.6A CN109743366B (en) | 2018-12-21 | 2018-12-21 | Resource locking method, device and system for multi-living scene |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811572252.6A CN109743366B (en) | 2018-12-21 | 2018-12-21 | Resource locking method, device and system for multi-living scene |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109743366A true CN109743366A (en) | 2019-05-10 |
CN109743366B CN109743366B (en) | 2022-04-05 |
Family
ID=66359503
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811572252.6A Active CN109743366B (en) | 2018-12-21 | 2018-12-21 | Resource locking method, device and system for multi-living scene |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109743366B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112256443A (en) * | 2020-10-14 | 2021-01-22 | 杭州当虹科技股份有限公司 | Dynamic cluster lock system based on redis |
CN113282395A (en) * | 2021-06-09 | 2021-08-20 | 中国农业银行股份有限公司 | Redis-based job request scheduling method, device, equipment and medium |
CN114006913A (en) * | 2021-10-29 | 2022-02-01 | 中国银行股份有限公司 | Distributed lock processing method and device |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7263597B2 (en) * | 2001-04-19 | 2007-08-28 | Ciena Corporation | Network device including dedicated resources control plane |
US20080034053A1 (en) * | 2006-08-04 | 2008-02-07 | Apple Computer, Inc. | Mail Server Clustering |
CN101610552A (en) * | 2009-08-04 | 2009-12-23 | 杭州华三通信技术有限公司 | The dispatching method of common source and device |
CN104008200A (en) * | 2014-06-16 | 2014-08-27 | 华为技术有限公司 | Method and device for processing lock application |
CN105426469A (en) * | 2015-11-16 | 2016-03-23 | 天津南大通用数据技术股份有限公司 | Database cluster metadata management method and system |
CN105760519A (en) * | 2016-02-26 | 2016-07-13 | 北京鲸鲨软件科技有限公司 | Cluster file system and file lock allocation method thereof |
CN106991008A (en) * | 2016-01-20 | 2017-07-28 | 华为技术有限公司 | A kind of resource lock management method, relevant device and system |
CN107231390A (en) * | 2016-03-23 | 2017-10-03 | 阿里巴巴集团控股有限公司 | The processing method and processing device of Internet service |
CN107239235A (en) * | 2017-06-02 | 2017-10-10 | 郑州云海信息技术有限公司 | A kind of many RAID synchronous method living of many controls and system |
CN107918570A (en) * | 2017-10-20 | 2018-04-17 | 杭州沃趣科技股份有限公司 | A kind of method that dual-active system shares arbitration disk |
CN108322358A (en) * | 2017-12-15 | 2018-07-24 | 北京奇艺世纪科技有限公司 | Strange land distributed message transmission, processing, consuming method and device mostly living |
CN108874552A (en) * | 2018-06-28 | 2018-11-23 | 杭州云英网络科技有限公司 | Distributed lock executes method, apparatus and system, application server and storage medium |
-
2018
- 2018-12-21 CN CN201811572252.6A patent/CN109743366B/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7263597B2 (en) * | 2001-04-19 | 2007-08-28 | Ciena Corporation | Network device including dedicated resources control plane |
US20080034053A1 (en) * | 2006-08-04 | 2008-02-07 | Apple Computer, Inc. | Mail Server Clustering |
CN101610552A (en) * | 2009-08-04 | 2009-12-23 | 杭州华三通信技术有限公司 | The dispatching method of common source and device |
CN104008200A (en) * | 2014-06-16 | 2014-08-27 | 华为技术有限公司 | Method and device for processing lock application |
CN105426469A (en) * | 2015-11-16 | 2016-03-23 | 天津南大通用数据技术股份有限公司 | Database cluster metadata management method and system |
CN106991008A (en) * | 2016-01-20 | 2017-07-28 | 华为技术有限公司 | A kind of resource lock management method, relevant device and system |
CN105760519A (en) * | 2016-02-26 | 2016-07-13 | 北京鲸鲨软件科技有限公司 | Cluster file system and file lock allocation method thereof |
CN107231390A (en) * | 2016-03-23 | 2017-10-03 | 阿里巴巴集团控股有限公司 | The processing method and processing device of Internet service |
CN107239235A (en) * | 2017-06-02 | 2017-10-10 | 郑州云海信息技术有限公司 | A kind of many RAID synchronous method living of many controls and system |
CN107918570A (en) * | 2017-10-20 | 2018-04-17 | 杭州沃趣科技股份有限公司 | A kind of method that dual-active system shares arbitration disk |
CN108322358A (en) * | 2017-12-15 | 2018-07-24 | 北京奇艺世纪科技有限公司 | Strange land distributed message transmission, processing, consuming method and device mostly living |
CN108874552A (en) * | 2018-06-28 | 2018-11-23 | 杭州云英网络科技有限公司 | Distributed lock executes method, apparatus and system, application server and storage medium |
Non-Patent Citations (4)
Title |
---|
DAICHI KAWANAMI等: ""A Proxy-Based Query Aggregation Method for Distributed Key-Value Stores"", 《 2018 6TH INTERNATIONAL CONFERENCE ON FUTURE INTERNET OF THINGS AND CLOUD WORKSHOPS (FICLOUDW)》 * |
WEIXIN_34356310: ""Redis 多机房百万并发使用与经验"", 《HTTPS://BLOG.CSDN.NET/WEIXIN_34356310/ARTICLE/DETAILS/90133292》 * |
孟繁锦: ""构建金融分布式多活数据中心"", 《中国金融电脑》 * |
豆丁网: ""异地多活IDC机房架构"", 《HTTPS://WWW.DOCIN.COM/P-1607986709.HTML》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112256443A (en) * | 2020-10-14 | 2021-01-22 | 杭州当虹科技股份有限公司 | Dynamic cluster lock system based on redis |
CN112256443B (en) * | 2020-10-14 | 2024-02-06 | 杭州当虹科技股份有限公司 | Redis-based dynamic cluster lock system |
CN113282395A (en) * | 2021-06-09 | 2021-08-20 | 中国农业银行股份有限公司 | Redis-based job request scheduling method, device, equipment and medium |
CN114006913A (en) * | 2021-10-29 | 2022-02-01 | 中国银行股份有限公司 | Distributed lock processing method and device |
Also Published As
Publication number | Publication date |
---|---|
CN109743366B (en) | 2022-04-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110557384B (en) | Internet of things management control method based on block chain | |
CN1996847B (en) | Cooperative network based image and multi-media data communication and storage system | |
Hofer et al. | Context-awareness on mobile devices-the hydrogen approach | |
CN106165455B (en) | It is semantic to assign resource | |
CN109743366A (en) | A kind of resource locking method, apparatus and system for scene of more living | |
CN109542865A (en) | Distributed cluster system configuration file synchronous method, device, system and medium | |
CN106293887A (en) | Data base processing method and device | |
CN105577446B (en) | Lightweight embedded network management system and method | |
CN206164554U (en) | Business information processing system | |
Dubey et al. | A software platform for fractionated spacecraft | |
CN108259175A (en) | A kind of distribution routing algorithm method of servicing and system | |
CN103098033A (en) | System and method for managing resources of a portable computing device | |
CN105339896A (en) | System and method for cloud connection pool | |
CN100361121C (en) | A universal object modeling method and universal object management system | |
CN103179193A (en) | Data transmission system and data transmission method used for distributed application system | |
CN104796389A (en) | Basic data sharing system and method thereof | |
CN108833569A (en) | A kind of method of data synchronization and relevant apparatus | |
Mijić et al. | Unified iot platform architecture platforms as major iot building blocks | |
Tsiachri Renta et al. | Healthcare sensor data management on the cloud | |
CN114253519A (en) | Wisdom garden security protection management system and electronic equipment | |
CN104461553A (en) | Storage management method in conformity with SMI-S (storage management initiative specification) standard | |
CN102970354B (en) | Based on the building method of the cloud computing system of super Resource Fusion | |
Plebani et al. | MicroMAIS: executing and orchestrating Web services on constrained mobile devices | |
CN102271167A (en) | Agent parallel processing method and structure suitable for distributive communication middleware | |
CN115576602A (en) | Method for realizing entity class conversion, storage medium and electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |