Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Virtual resource locking method and device, storage medium and electronic device

A virtual resource and lock device technology, applied in the computer field, can solve the problem of low efficiency of virtual resource locking

Active Publication Date: 2020-07-10
TENCENT TECH (SHENZHEN) CO LTD
View PDF5 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present invention provide a method and device for locking virtual resources, a storage medium, and an electronic device, so as to at least solve the technical problem of low efficiency in locking virtual resources

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Virtual resource locking method and device, storage medium and electronic device
  • Virtual resource locking method and device, storage medium and electronic device
  • Virtual resource locking method and device, storage medium and electronic device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach

[0149] As an optional embodiment, the device also includes:

[0150] (1) The storage unit is used to store the shared resource in multiple servers before determining the target server matching the target interval from the multiple servers, wherein each server stores the first resource, and the first resource is a portion of the shared resource;

[0151] (2) A creating unit, configured to create a data interval for each server, wherein the data interval matches the first resource.

[0152] Through this embodiment, through the above method, it is possible to accurately determine the target server where the target resource is located.

[0153] As an optional embodiment, the device also includes:

[0154] (1) The splitting unit is used to store the second resource in the first resource in the first server among the multiple servers in the case of adding a new server after the data interval is established for each server. After the new server is added, the data interval of the f...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a virtual resource locking method and device, a storage medium and an electronic device. The method comprises the following steps: obtaining a target access request sent by a target client, wherein the target access request carries a target identifier used for marking a target resource requested to be accessed by the target access request, the target resource is stored in atarget server in a plurality of servers, different resources are stored in each server in the plurality of servers, and the different resources are corresponding to different identifiers; determininga target interval where the target identifier is located from the multiple data intervals, wherein each data interval is corresponding to one server; determining a target server matched with the target interval from a plurality of servers; and sending a locking request to the target server, wherein the locking request is used for requesting to lock the target resource in the target server. The technical problem that the virtual resource locking efficiency is low is solved.

Description

technical field [0001] The present invention relates to the field of computers, in particular to a method and device for locking virtual resources based on database query, modification, etc., a storage medium and an electronic device. Background technique [0002] In the prior art, public virtual resources are usually stored in a server, and the public virtual resources can be accessed by multiple users. When one of the multiple users accesses a public virtual resource, the public virtual resource is usually locked, and other users cannot temporarily access the locked public virtual resource. After a user completes accessing public virtual resources, other users can apply for accessing public virtual resources. [0003] However, in the prior art, one server is usually used as the server for processing the lock request. Even if multiple servers are used, after receiving a lock request, the above lock request needs to be sent to multiple servers at the same time. As a result...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/455
CPCG06F9/45558G06F2009/45587
Inventor 谢亚晋
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products