Patent ID: 11893000
Assignee: ZHEJIANG KOUBEI NETWORK TECHNOLOGY CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 4:
5. A computer device, comprising: one or more memories, one or more processors and a computer program stored on the one or more memories and running on the one or more processors, wherein the one or more processors execute the computer program to perform:
obtaining, in response to that an occupying request for a service resource is obtained, resource data of the service resource in a database stored on a server,
wherein the resource data is stored as a row of data in the database, and
wherein the resource data comprises a state identifier for indicating whether the service resource is in a use state or an idle state;

if the state identifier indicates that the service resource is in the idle state,
locking the resource data to prevent others from accessing the resource data,
releasing, in response to that the state identifier is updated to the use state, the resource data to allow others access the resource data, and
generating current occupying data of the service resource;

if the state identifier indicates that the service resource is in the use state,
obtaining the current occupying data of the service resource to respond to the occupying request.