The invention provides a conflict resolution method and
system for realizing multi-person
collaborative editing based on
WebSocket and
JSON-PATCH, and relates to the technical field of I T and
software development, the method comprises the following steps: obtaining an editing operation of a user at a
client of a low-code platform, and converting the editing operation into operation information in a
JSON format; the method comprises the following steps: receiving operation information in a
JSON format sent by a plurality of clients through a
WebSocket server; storing the received operation information in the JSON format in a
database according to a user account; based on the operation type defined by the JSON-PATCH, conflict detection is carried out on the concurrent operation of the multiple users; according to a preset priority rule, carrying out merging
processing on the detected conflict operations; a result obtained after combination
processing is broadcasted to all the clients through a
WebSocket server; and the
client receives the broadcast combination result and updates the low-code platform interface. According to the method, the user operation is formatted by using the JSON-PATCH, so that operation conversion is realized to solve conflicts.