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

Claim 0:
1. A data processing method, comprising:
obtaining, in response to that an occupying-table request for a target table is obtained, table data of the target table in a database stored on a server,
wherein the table data is stored as a row of data in the database, and
wherein the table data comprises a state identifier for indicating whether the target table is in a use state or an idle state;

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

if the state identifier indicates that the target table is in the use state,
obtaining the current occupying-table data of the target table to respond to the occupying-table request.