CN114091909A - Collaborative development method, system, device and electronic equipment - Google Patents

Collaborative development method, system, device and electronic equipment Download PDF

Info

Publication number
CN114091909A
CN114091909A CN202111396112.XA CN202111396112A CN114091909A CN 114091909 A CN114091909 A CN 114091909A CN 202111396112 A CN202111396112 A CN 202111396112A CN 114091909 A CN114091909 A CN 114091909A
Authority
CN
China
Prior art keywords
characteristic value
value
specified file
file
server
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.)
Pending
Application number
CN202111396112.XA
Other languages
Chinese (zh)
Inventor
郭志越
彭云鹏
李杨
高宇健
张楠浠
陈晓有
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202111396112.XA priority Critical patent/CN114091909A/en
Publication of CN114091909A publication Critical patent/CN114091909A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06311Scheduling, planning or task assignment for a person or group
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0633Workflow analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/101Collaborative creation, e.g. joint development of products or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Engineering & Computer Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Strategic Management (AREA)
  • Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Development Economics (AREA)
  • Educational Administration (AREA)
  • Game Theory and Decision Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The disclosure provides a collaborative development method, a collaborative development system, a collaborative development device and electronic equipment, and relates to the technical field of computer application, in particular to the technical field of integrated development. The specific implementation scheme is as follows: the method comprises the steps that after a remote development instruction aiming at a specified file sent by a client is received, a characteristic value of the current specified file is obtained to obtain a first characteristic value, and the first characteristic value is sent to the client; after receiving a storage modification instruction aiming at a specified file sent by a client, acquiring a characteristic value of the current specified file to obtain a second characteristic value; wherein, the saving modification instruction comprises: the first characteristic value and the content to be modified; under the condition that the first characteristic value is the same as the second characteristic value, updating the specified file according to the content to be modified; and in the case that the first characteristic value is not identical to the second characteristic value, prohibiting the designated file from being updated. The present disclosure enables collaborative development of server files.

Description

Collaborative development method, system, device and electronic equipment
Technical Field
The disclosure relates to the technical field of computer application, in particular to the technical field of integrated development.
Background
At present, program developers are used to develop programs by using cloud resources on a host or a terminal, and based on this, an Integrated Development Environment (IDE) is becoming a necessary Development tool. The IDE integrates tools such as a code editor, a compiler, a debugger and a graphical user interface, so that application development becomes more convenient. In the actual development process, the scenes of team mutual assistance and multi-person collaborative development by using cloud resources are very common, and the development efficiency can be effectively improved.
Disclosure of Invention
The disclosure provides a method, a system, a device and an electronic device for collaborative development.
According to an aspect of the present disclosure, there is provided a method for collaborative development, applied to a server, including:
after a remote development instruction aiming at a specified file sent by a client is received, acquiring a characteristic value of the current specified file to obtain a first characteristic value, and sending the first characteristic value to the client;
after receiving a storage modification instruction aiming at the specified file sent by the client, acquiring a characteristic value of the current specified file to obtain a second characteristic value; wherein, the saving modification instruction comprises: the first characteristic value and the content to be modified;
under the condition that the first characteristic value is the same as the second characteristic value, updating the specified file according to the content to be modified;
and under the condition that the first characteristic value is not the same as the second characteristic value, prohibiting the specified file from being updated.
According to another aspect of the present disclosure, there is provided another method for collaborative development, applied to a client, including:
sending a remote development instruction for the specified file to a server;
receiving a first characteristic value of a designated file sent by the server;
and acquiring the content to be modified aiming at the specified file, which is input by a user, and sending a storage modification instruction aiming at the specified file to the server, wherein the storage modification instruction comprises the first characteristic value and the content to be modified.
According to yet another aspect of the present disclosure, there is provided a system for collaborative development, including: a server and a client, wherein:
the client is used for sending a remote development instruction aiming at a specified file to the server;
the server is used for acquiring a characteristic value of a current specified file to obtain a first characteristic value after receiving the remote development instruction, and sending the first characteristic value to the client;
the client is configured to receive the first feature value, obtain content to be modified for the specified file input by a user, and send a saving and modifying instruction for the specified file to the server, where the saving and modifying instruction includes: the first characteristic value and the content to be modified;
the server is used for acquiring the characteristic value of the current specified file to obtain a second characteristic value after receiving the storage modification instruction; under the condition that the first characteristic value is the same as the second characteristic value, updating the specified file according to the content to be modified; and under the condition that the first characteristic value is not the same as the second characteristic value, prohibiting the specified file from being updated.
According to another aspect of the present disclosure, there is provided a collaborative development apparatus, applied to a server, including:
the system comprises a first characteristic value acquisition module, a first characteristic value acquisition module and a second characteristic value acquisition module, wherein the first characteristic value acquisition module is used for acquiring a characteristic value of a current specified file to obtain a first characteristic value after receiving a remote development instruction aiming at the specified file and sent by a client, and sending the first characteristic value to the client;
the second characteristic value acquisition module is used for acquiring the characteristic value of the current specified file to obtain a second characteristic value after receiving a storage modification instruction aiming at the specified file and sent by the client; wherein, the saving modification instruction comprises: the first characteristic value and the content to be modified;
the first file updating module is used for updating the specified file according to the content to be modified under the condition that the first characteristic value is the same as the second characteristic value;
and the second file updating module is used for forbidding to update the specified file under the condition that the first characteristic value is different from the second characteristic value.
According to another aspect of the present disclosure, there is provided an apparatus for collaborative development, applied to a client, including:
the instruction sending module is used for sending a remote development instruction aiming at the specified file to the server;
the characteristic value receiving module is used for receiving a first characteristic value of the designated file sent by the server;
the content acquisition module is used for acquiring the content to be modified aiming at the specified file and input by a user, and sending a storage modification instruction aiming at the specified file to the server, wherein the storage modification instruction comprises the first characteristic value and the content to be modified.
The method for collaborative development applied to the server obtains a first characteristic value of a current designated file and sends the first characteristic value to the client after receiving a remote development instruction which is sent by the client and aims at the designated file, obtains a second characteristic value of the current designated file after receiving a storage modification instruction which is sent by the client and aims at the designated file, updates the designated file according to the content to be modified in the storage modification instruction under the condition that the first characteristic value is the same as the second characteristic value, and forbids updating the designated file under the condition that the first characteristic value is different from the second characteristic value, so that collaborative development of the server file is realized.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present disclosure, nor do they limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The drawings are included to provide a better understanding of the present solution and are not to be construed as limiting the present disclosure. Wherein:
fig. 1 is a schematic flow chart diagram of a first method for collaborative development according to an embodiment of the present disclosure;
FIG. 2 is a schematic flow chart diagram illustrating a second method for collaborative development according to an embodiment of the present disclosure;
FIG. 3 is a schematic structural diagram of a system for collaborative development according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a first apparatus for collaborative development according to an embodiment of the present disclosure;
FIG. 5 is a schematic structural diagram of a second apparatus for collaborative development according to an embodiment of the present disclosure;
FIG. 6 is a block diagram of an electronic device for implementing a method of collaborative development of an embodiment of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below with reference to the accompanying drawings, in which various details of the embodiments of the disclosure are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
The scenes of collaborative development by using cloud resources have some problems, for example, after a plurality of people modify the same cloud file, the source of the problem is difficult to trace; when a cloud file is accessed, a login mode of a cloud resource is often informed to a cooperator to enable the cooperator to log in and view, and the mode brings certain potential safety hazards to the cloud resource; when multiple persons modify the same file at the same time, the modified file is easy to conflict or lose.
For the first two problems, a log reporting system and an authentication system can be added in the IDE. The log reporting system records the whole operation of the visitor during the resource access period and uploads the operation to the system, so that the source tracing when problems occur subsequently is facilitated; the authentication system is used for checking the authority of the accessor, so that the accessor with authority can access the resource, and the person without authority forbids access. The resource owner can grant the authority of other visitors through the authentication system and recover the authority of the other visitors after the access is finished, so that the cloud resource can only be accessed by the resource owner and the authorizer thereof.
For the third problem, the existing technology usually uses screen sharing technology to complete cooperative operation, so as to avoid conflict of file contents modified by multiple persons at the same time. However, the technology has high requirement on network bandwidth, the situation of blocking often occurs, the operation process can only be actively operated by one party, other parties can only watch the operation process, active operation or autonomous checking cannot be simultaneously performed, and the development efficiency and the development experience are poor.
In order to solve this problem, the present disclosure provides a method for collaborative development, which is applied to a server and includes:
after receiving a remote development instruction aiming at a specified file sent by a client, acquiring a characteristic value of the current specified file to obtain a first characteristic value, and sending the first characteristic value to the client;
after receiving a storage modification instruction aiming at a specified file sent by a client, acquiring a characteristic value of the current specified file to obtain a second characteristic value; wherein, the saving modification instruction comprises: the first characteristic value and the content to be modified;
under the condition that the first characteristic value is the same as the second characteristic value, updating the specified file according to the content to be modified;
and in the case that the first characteristic value is not the same as the second characteristic value, prohibiting the specified file from being updated.
Therefore, by applying the collaborative development method provided by the present disclosure, after receiving a remote development instruction for a specified file, a feature value of the current specified file, that is, a first feature value, is obtained and sent to a client. And after receiving a storage modification instruction sent by the client, acquiring a characteristic value of the current specified file, namely a second characteristic value. When the first characteristic value is the same as the second characteristic value, the current specified file can be considered to be not changed, and under the condition, the specified file is updated according to the content to be modified included in the storage modification instruction, so that the correct specified file can be ensured to be modified correctly. And when the first characteristic value is different from the second characteristic value, the designated file is prohibited from being updated, so that file collision and file content loss which are possibly caused when multiple users modify the designated file at the same time can be avoided. Because the transmitted data of the characteristic value is small and the accuracy is high, whether the specified file can be updated or not is confirmed by comparing the characteristic value before the specified file is updated according to the storage modification instruction, the efficiency of collaborative development can be effectively improved, and the development experience of developers is improved.
The method for collaborative development provided by the present disclosure is explained in detail by specific examples below.
The method of the embodiment of the disclosure is applied to the intelligent terminal, can be implemented by the intelligent terminal, and in the actual use process, the intelligent terminal can be a computer, an intelligent mobile phone and the like.
Referring to fig. 1, fig. 1 is a schematic flowchart of a method for collaborative development according to the present disclosure, which is applied to a server, and includes:
step S11: after a remote development instruction aiming at a specified file sent by a client is received, a characteristic value of the current specified file is obtained to obtain a first characteristic value, and the first characteristic value is sent to the client.
The designated file is a cloud development resource stored in the server, and is a data file which can be modified, supplemented, updated and the like by a user at the server based on the client. The feature value is a value capable of representing a feature of the data content of the specified file, for example, a hash value. When the data content of the designated file changes, the characteristic value of the designated file also changes.
The obtained first characteristic value is a characteristic value of the specified file at the current moment, and in this case, the current moment refers to a moment when a remote development instruction for the specified file sent by the client is received. At this time, the first feature value is acquired and sent to the client, that is, it may be considered that the remote development of the specified file by the client corresponding to the received remote development instruction is performed based on the specified file whose feature value is the first feature value.
Step S12: and after receiving a storage modification instruction aiming at the specified file sent by the client, acquiring the characteristic value of the current specified file to obtain a second characteristic value.
Wherein, the saving modification instruction comprises: the first characteristic value and the content to be modified represent that the content to be modified is the modification of the specified file with the characteristic value as the first characteristic value.
The obtained second feature value is a feature value of the specified file at the current time, and in this case, the current time refers to a time when a saving and modifying instruction for the specified file sent by the client is received. And acquiring a second characteristic value of the specified file after receiving a storage modification instruction which is sent by the client and aims at the specified file.
Step S13: and under the condition that the first characteristic value is the same as the second characteristic value, updating the specified file according to the content to be modified.
As mentioned above, after receiving a saving modification instruction for the specified file sent by the client, the second feature value of the specified file is obtained, and the saving modification instruction includes the first feature value for the specified file and the content to be modified. At this time, the first characteristic value is compared with the second characteristic value, and when the first characteristic value is the same as the second characteristic value, it indicates that the designated file corresponding to the first characteristic value is the same as the designated file corresponding to the second characteristic value, or it may indicate that the designated file in the server is not changed during the period of receiving the remote development instruction and the saving modification instruction sent by the client. In this case, the designated file is updated according to the content to be modified.
Step S14: and in the case that the first characteristic value is not identical to the second characteristic value, prohibiting the designated file from being updated.
If the result of comparing the first characteristic value with the second characteristic value is that the first characteristic value is different from the second characteristic value, it indicates that the specified file corresponding to the first characteristic value is different from the specified file corresponding to the second characteristic value, and it may also indicate that the specified file in the server has been changed during the period of receiving the remote development instruction and the saving modification instruction sent by the client, and the specified file at the time of receiving the saving modification instruction is different from the specified file at the time of receiving the remote development instruction. In this case, updating of the designated file is prohibited.
Therefore, by applying the collaborative development method provided by the present disclosure, after receiving a remote development instruction for a specified file, a feature value of the current specified file, that is, a first feature value, is obtained and sent to a client. And after receiving a storage modification instruction sent by the client, acquiring a characteristic value of the current specified file, namely a second characteristic value. When the first characteristic value is the same as the second characteristic value, the current specified file can be considered to be not changed, and under the condition, the specified file is updated according to the content to be modified included in the storage modification instruction, so that the correct specified file can be ensured to be modified correctly. And when the first characteristic value is different from the second characteristic value, the designated file is prohibited from being updated, so that file collision and file content loss which are possibly caused when multiple users modify the designated file at the same time can be avoided. Because the transmission data of the characteristic value is small and the accuracy is high, whether the specified file can be updated or not is confirmed by comparing the characteristic value before the specified file is updated according to the storage modification instruction, the efficiency of collaborative development can be effectively improved, and the development experience of developers is improved.
In an embodiment of the present invention, after the step of updating the specified file according to the content to be modified in step S13, the method further includes:
and calculating the updated characteristic value of the specified file to obtain the characteristic value of the current specified file, and locally storing the characteristic value of the current specified file.
After the designated file is updated according to the content to be modified, the current designated file is the updated designated file, the feature value of the updated designated file is calculated, the feature value of the current designated file can be obtained and stored locally, and then if the remote development instruction sent from the client is received again, the locally stored feature value can be sent to the client.
Therefore, by applying the collaborative development method provided by the disclosure, after the designated file is updated, the updated characteristic value of the designated file is stored, and after that, if the remote development instruction sent by the client is received again, the locally stored characteristic value can be directly sent to the client, so that the efficiency of feeding back the remote development instruction from the client can be improved.
In an embodiment of the present invention, the characteristic values include: a hash value; the method further comprises the following steps: judging whether the hash value in the first characteristic value is the same as the hash value in the second characteristic value, wherein if the hash value in the first characteristic value is the same as the hash value in the second characteristic value, the first characteristic value is judged to be the same as the second characteristic value, otherwise, the first characteristic value is judged to be different from the second characteristic value;
the hash value is a value which can be used for representing the characteristics of the data file and is calculated by using a hash function, the calculation process can be that the data content of the data file is compressed into a characteristic value with a fixed format, a small data volume and unique data, and each data file has a corresponding unique hash value. Therefore, the feature value may include a hash value, and when the hash value in the first feature value is the same as the hash value in the second feature value, it may be determined that the first feature value is the same as the second feature value, that is, it may be considered that the specified file corresponding to the first feature value is the same as the specified file corresponding to the second feature value, otherwise, it is different.
Or the characteristic values include: hash value and file size; the method further comprises the following steps: judging whether the hash value in the first characteristic value is the same as the hash value in the second characteristic value, and judging whether the file size in the first characteristic value is the same as the file size in the second characteristic value, wherein if the hash value in the first characteristic value is the same as the hash value in the second characteristic value and the file size in the first characteristic value is the same as the file size in the second characteristic value, the first characteristic value is judged to be the same as the second characteristic value, otherwise, the first characteristic value is judged to be different from the second characteristic value.
In this embodiment of the present invention, the feature values may further include hash values and file sizes, and when the hash value in the first feature value is the same as the hash value in the second feature value and the file size in the first feature value is also the same as the file size in the second feature value, it may be determined that the first feature value is the same as the second feature value, that is, it may be determined that the specified file corresponding to the first feature value is the same as the specified file corresponding to the second feature value, otherwise, if one of the hash value in the first feature value and the hash value in the second feature value and the file size in the first feature value and the file size in the second feature value is different, it may be determined that the first feature value is different from the second feature value, that is, it may be determined that the specified file corresponding to the first feature value is different from the specified file corresponding to the second feature value.
As can be seen from the above, with the collaborative development method provided by the present disclosure, whether the first characteristic value is the same as the second characteristic value is determined by determining whether the hash value in the first characteristic value is the same as the hash value in the second characteristic value, or determining whether the hash value, the file size, and the file size in the first characteristic value are the same as the hash value in the second characteristic value, so as to determine whether the designated file corresponding to the first characteristic value is the same as the designated file corresponding to the second characteristic value, and based on the strict determination, a strict determination result can be obtained, thereby avoiding file update conflicts caused by a determination error of whether the first characteristic value is the same as the second characteristic value.
In an embodiment of the present invention, the method further includes:
and sending an error report message indicating that the modification of the specified file fails to the client side under the condition that the first characteristic value is not identical to the second characteristic value.
As mentioned above, when the comparison of the first feature value with the second feature value results in the first feature value not being identical to the second feature value, the update of the specified file is prohibited. In this case, an error message indicating that the modification of the specified file fails may be sent to the client, so that the client may timely respond to the modification.
In one example, the error message may carry a reason specifying that the file modification failed, e.g., that the data file has been altered.
Therefore, by applying the collaborative development method provided by the disclosure, the error report message indicating the modification failure of the specified file is sent to the client under the condition that the first characteristic value is different from the second characteristic value, so that the client can timely know the message indicating the modification failure of the specified file, and then timely make follow-up response.
Referring to fig. 2, fig. 2 is a schematic flowchart of a second method for collaborative development, which is applied to a client and includes:
step S21: sending a remote development instruction for a specified file to a server;
step S22: receiving a first characteristic value of a designated file sent by the server;
step S23: and acquiring the content to be modified aiming at the specified file, which is input by a user, and sending a storage modification instruction aiming at the specified file to the server.
Wherein, the saving modification instruction comprises the first characteristic value and the content to be modified.
The specified file is an object which needs to be remotely developed by a user. When a user needs to remotely develop the specified file, the client firstly sends a remote development instruction for the specified file to the server and receives a first characteristic value of the specified file sent by the server. After that, the client acquires the content to be modified, which is input by the user and aims at the specified file, and sends a storage modification instruction, which comprises the first characteristic value and the content to be modified, aiming at the specified file to the server, so that the server is indicated to update the specified file according to the content to be modified.
In an embodiment of the present invention, the first characteristic value may include: a hash value; or the first characteristic value may include: hash value and file size.
Therefore, by applying the collaborative development method provided by the disclosure, when a user needs to remotely develop the designated file, the client firstly sends a remote development instruction for the designated file to the server and receives a first characteristic value of the designated file from the server. After the content to be modified input by the user is obtained, the first characteristic value and the content to be modified are sent to the server as a storage modification instruction, so that the server can update the designated file according to the content to be modified included in the storage modification instruction, and the designated file is ensured to be modified correctly. Because the transmission data of the characteristic value is small and the accuracy is high, whether the specified file can be updated or not can be confirmed through the first characteristic value before the specified file is updated according to the storage modification instruction, the efficiency of collaborative development can be effectively improved, and the development experience of developers can be improved.
In an embodiment of the present invention, the method further includes:
after receiving an error message which is sent by the server and comprises a representation of the modification failure of the specified file, returning to the execution step: and sending remote development instructions for the specified file to the server.
After receiving an error report message which is sent by the server and comprises a representation of the modification failure of the specified file, the remote development instruction which is sent to the server and aims at the specified file can be executed again, the first characteristic value of the current specified file is obtained again, and the user is indicated to input the content to be modified aiming at the current specified file again.
In one example, the error message may carry a reason specifying that the file modification failed, e.g., that the data file has been altered.
Therefore, by applying the collaborative development method provided by the disclosure, the step of sending the remote development instruction can be executed again after the error report message which is sent by the server and includes the indication that the modification of the specified file fails is received, so that the user can re-input the content to be modified according to the current specified file, and the correct specified file can be ensured to be modified correctly.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a system for collaborative development according to the present disclosure, including: a server and a client, wherein:
the client is used for sending a remote development instruction aiming at the specified file to the server;
the server is used for acquiring the characteristic value of the current specified file to obtain a first characteristic value after receiving the remote development instruction, and sending the first characteristic value to the client;
the client is configured to receive the first feature value, obtain content to be modified for the specified file input by a user, and send a saving and modifying instruction for the specified file to the server, where the saving and modifying instruction includes: the first characteristic value and the content to be modified;
the server is used for acquiring the characteristic value of the current specified file to obtain a second characteristic value after receiving the storage modification instruction; under the condition that the first characteristic value is the same as the second characteristic value, updating the specified file according to the content to be modified; and under the condition that the first characteristic value is not the same as the second characteristic value, prohibiting the specified file from being updated.
When a user needs to remotely develop the specified file, the client firstly sends a remote development instruction for the specified file to the server and receives a first characteristic value of the specified file sent by the server. After that, the client acquires the content to be modified, which is input by the user and aims at the specified file, and sends a storage modification instruction, which comprises the first characteristic value and the content to be modified, aiming at the specified file to the server, so that the server is indicated to update the specified file according to the content to be modified.
And after receiving the storage modification instruction, the server firstly obtains the characteristic value of the current specified file to obtain a second characteristic value, compares the first characteristic value with the second characteristic value, and under the condition that the first characteristic value is the same as the second characteristic value, indicates that the specified file corresponding to the first characteristic value is the same as the specified file corresponding to the second characteristic value, and updates the specified file according to the content to be modified. And if the first characteristic value is not the same as the second characteristic value, the specified file is prohibited from being updated.
As can be seen from the above, with the collaborative development system provided by the present disclosure, when a user needs to remotely develop the specified file, the client first sends a remote development instruction for the specified file to the server, and after receiving the remote development instruction, the server obtains a feature value of the current specified file, that is, a first feature value, and sends the first feature value to the client. And after the client acquires the content to be modified input by the user, sending the first characteristic value and the content to be modified to the server as a storage modification instruction, so that the server acquires the characteristic value of the current specified file, namely the second characteristic value, again after receiving the storage modification instruction sent by the client. When the first characteristic value is the same as the second characteristic value, the current specified file can be considered to be not changed, and under the condition, the specified file is updated according to the content to be modified included in the storage modification instruction, so that the correct specified file can be ensured to be modified correctly. And when the first characteristic value is different from the second characteristic value, the designated file is prohibited from being updated, so that file collision and file content loss which are possibly caused when multiple users modify the designated file at the same time can be avoided. Because the transmission data of the characteristic value is small and the accuracy is high, whether the specified file can be updated or not is confirmed by comparing the characteristic value before the specified file is updated according to the storage modification instruction, the efficiency of collaborative development can be effectively improved, and the development experience of developers is improved.
In an embodiment of the present invention, after the step of updating the specified file according to the content to be modified, the server is further configured to calculate a feature value of the updated specified file to obtain a feature value of the current specified file, and locally store the feature value of the current specified file.
Therefore, by applying the collaborative development system provided by the disclosure, the server can store the updated characteristic value of the designated file after the designated file is updated, and after that, if the remote development instruction sent by the client is received again, the locally stored characteristic value can be directly sent to the client, so that the efficiency of the server for feeding back the remote development instruction from the client can be improved, and the efficiency of the user for remotely developing the designated file can be improved.
In an embodiment of the present invention, the server is further configured to send an error message indicating that modification of the specified file fails to be performed to the client if the first characteristic value is different from the second characteristic value.
Therefore, by applying the collaborative development system provided by the disclosure, the server sends an error report message indicating that the modification of the specified file fails to the client under the condition that the first characteristic value is different from the second characteristic value, so that the client can timely know the message indicating that the modification of the specified file fails, and can timely make follow-up response.
In an embodiment of the present invention, the client is further configured to, after receiving an error message sent by the server and including a representation indicating that the modification of the specified file fails, return to the execution step: and sending remote development instructions for the specified file to the server.
Therefore, by applying the collaborative development system provided by the disclosure, the client can re-execute the step of sending the remote development instruction after receiving the error report message which is sent by the server and indicates that the modification of the specified file fails, so that the user can re-input the content to be modified according to the current specified file, and the correct specified file can be correctly modified.
In an embodiment of the present invention, the first characteristic value includes: a hash value; the server is further configured to: judging whether the hash value in the first characteristic value is the same as the hash value in the second characteristic value, wherein if the hash value in the first characteristic value is the same as the hash value in the second characteristic value, the first characteristic value is judged to be the same as the second characteristic value, otherwise, the first characteristic value is judged to be different from the second characteristic value;
or the first characteristic value comprises: hash value and file size; the server is further configured to: judging whether the hash value in the first characteristic value is the same as the hash value in the second characteristic value, and judging whether the file size in the first characteristic value is the same as the file size in the second characteristic value, wherein if the hash value in the first characteristic value is the same as the hash value in the second characteristic value and the file size in the first characteristic value is the same as the file size in the second characteristic value, the first characteristic value is judged to be the same as the second characteristic value, otherwise, the first characteristic value is judged to be different from the second characteristic value.
As can be seen from the above, with the collaborative development system provided by the present disclosure, the server determines whether the first characteristic value is the same as the second characteristic value by determining whether the hash value of the first characteristic value is the same as the hash value of the second characteristic value, or whether the hash value of the first characteristic value, the file size, and the hash value of the second characteristic value are the same as each other, to determine whether the designated file corresponding to the first characteristic value is the same as the designated file corresponding to the second characteristic value, and based on the strict determination criterion, a strict determination result can be obtained, thereby avoiding file update conflict caused by a determination error of whether the first characteristic value is the same as the second characteristic value.
Referring to fig. 4, fig. 4 is a device for collaborative development, applied to a server, provided by the present disclosure, and includes:
the first characteristic value obtaining module 401 is configured to obtain a characteristic value of a current specified file to obtain a first characteristic value after receiving a remote development instruction for the specified file sent by a client, and send the first characteristic value to the client;
a second eigenvalue obtaining module 402, configured to obtain an eigenvalue of the current specified file to obtain a second eigenvalue after receiving a storage modification instruction, which is sent by the client and is for the specified file, and the storage modification instruction is sent by the client; wherein, the saving modification instruction comprises: the first characteristic value and the content to be modified;
a first file updating module 403, configured to update a specified file according to the content to be modified when the first feature value is the same as the second feature value;
a second file updating module 404, configured to prohibit updating of the specified file when the first feature value is different from the second feature value.
Therefore, after the device for collaborative development provided by the present disclosure receives the remote development instruction for the specified file, the feature value of the current specified file, that is, the first feature value, is obtained and sent to the client. And after receiving a storage modification instruction sent by the client, acquiring a characteristic value of the current specified file, namely a second characteristic value. When the first characteristic value is the same as the second characteristic value, the current specified file can be considered to be not changed, and under the condition, the specified file is updated according to the content to be modified included in the storage modification instruction, so that the correct specified file can be ensured to be modified correctly. And when the first characteristic value is different from the second characteristic value, the designated file is prohibited from being updated, so that file collision and file content loss which are possibly caused when multiple users modify the designated file at the same time can be avoided. Because the transmission data of the characteristic value is small and the accuracy is high, whether the specified file can be updated or not is confirmed by comparing the characteristic value before the specified file is updated according to the storage modification instruction, the efficiency of collaborative development can be effectively improved, and the development experience of developers is improved.
In an embodiment of the present invention, the apparatus further includes:
and the characteristic value obtaining module is used for calculating the updated characteristic value of the specified file to obtain the characteristic value of the current specified file and locally storing the characteristic value of the current specified file.
Therefore, by applying the collaborative development device provided by the disclosure, after the designated file is updated, the updated characteristic value of the designated file is stored, and after that, if the remote development instruction sent by the client is received again, the locally stored characteristic value can be directly sent to the client, so that the efficiency of feeding back the remote development instruction from the client can be improved.
In an embodiment of the present invention, the characteristic values include: a hash value; the device further comprises: a first feature value determination module, configured to determine whether a hash value in the first feature value is the same as a hash value in the second feature value, where if the hash value in the first feature value is the same as the hash value in the second feature value, it is determined that the first feature value is the same as the second feature value, and otherwise, it is determined that the first feature value is different from the second feature value;
or the characteristic values include: hash value and file size; the device further comprises: a second feature value determination module, configured to determine whether a hash value in the first feature value is the same as a hash value in the second feature value, and determine whether a file size in the first feature value is the same as a file size in the second feature value, where if the hash value in the first feature value is the same as the hash value in the second feature value and the file size in the first feature value is the same as the file size in the second feature value, it is determined that the first feature value is the same as the second feature value, and otherwise, it is determined that the first feature value is different from the second feature value.
As can be seen from the above, with the collaborative development apparatus provided by the present disclosure, whether the first characteristic value is the same as the second characteristic value is determined by determining whether the hash value in the first characteristic value is the same as the hash value in the second characteristic value, or determining whether the hash value, the file size, and the file size in the first characteristic value are the same as the hash value in the second characteristic value, so as to determine whether the designated file corresponding to the first characteristic value is the same as the designated file corresponding to the second characteristic value, and based on the strict determination, a strict determination result can be obtained, thereby avoiding file update conflicts caused by a determination error of whether the first characteristic value is the same as the second characteristic value.
In an embodiment of the present invention, the apparatus further includes:
and the message sending module is used for sending an error report message indicating that the modification of the specified file fails to the client under the condition that the first characteristic value is different from the second characteristic value.
Therefore, by applying the collaborative development device provided by the disclosure, under the condition that the first characteristic value is different from the second characteristic value, the error report message indicating the designated file modification failure is sent to the client, so that the client can timely know the message indicating the designated file modification failure, and then follow-up response can be timely made.
Referring to fig. 5, fig. 5 is a device for collaborative development, applied to a client, provided by the present disclosure, and includes:
an instruction sending module 501, configured to send a remote development instruction for a specified file to a server;
a characteristic value receiving module 502, configured to receive a first characteristic value of a specified file sent by the server;
the content obtaining module 503 obtains a content to be modified for the specified file, which is input by a user, and sends a saving and modifying instruction for the specified file to the server, where the saving and modifying instruction includes the first feature value and the content to be modified.
As can be seen from the above, with the collaborative development apparatus provided by the present disclosure, when a user needs to remotely develop the specified file, a client first sends a remote development instruction for the specified file to a server, and receives a first feature value of the specified file from the server. After the content to be modified input by the user is obtained, the first characteristic value and the content to be modified are sent to the server as a storage modification instruction, so that the server can update the designated file according to the content to be modified included in the storage modification instruction, and the designated file is ensured to be modified correctly. Because the transmission data of the characteristic value is small and the accuracy is high, whether the specified file can be updated or not can be confirmed through the first characteristic value before the specified file is updated according to the storage modification instruction, the efficiency of collaborative development can be effectively improved, and the development experience of developers can be improved.
In an embodiment of the present invention, the apparatus further includes:
the instruction receiving module is used for returning to the execution step after receiving the error report message which is sent by the server and comprises the indication of the modification failure of the specified file: and sending remote development instructions for the specified file to the server.
Therefore, the device for collaborative development provided by the disclosure can re-execute the step of sending the remote development instruction after receiving the error report message which is sent by the server and indicates that the designated file is unsuccessfully modified, so that the user can re-input the content to be modified according to the current designated file, and the correct designated file can be ensured to be correctly modified.
In an embodiment of the present invention, the first characteristic value includes: a hash value; or the first characteristic value comprises: hash value and file size.
In the technical scheme of the disclosure, the collection, storage, use, processing, transmission, provision, disclosure and other processing of the personal information of the related user are all in accordance with the regulations of related laws and regulations and do not violate the good customs of the public order.
The present disclosure also provides an electronic device, a readable storage medium, and a computer program product according to embodiments of the present disclosure.
FIG. 6 illustrates a schematic block diagram of an example electronic device 600 that can be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 6, the apparatus 600 includes a computing unit 601, which can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM)602 or a computer program loaded from a storage unit 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the device 600 can also be stored. The calculation unit 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
A number of components in the device 600 are connected to the I/O interface 605, including: an input unit 606 such as a keyboard, a mouse, or the like; an output unit 607 such as various types of displays, speakers, and the like; a storage unit 608, such as a magnetic disk, optical disk, or the like; and a communication unit 609 such as a network card, modem, wireless communication transceiver, etc. The communication unit 609 allows the device 600 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
The computing unit 601 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of the computing unit 601 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various dedicated Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and so forth. The calculation unit 601 executes the respective methods and processes described above, such as the method of collaborative development. For example, in some embodiments, the method of collaborative development may be implemented as a computer software program tangibly embodied in a machine-readable medium, such as storage unit 608. In some embodiments, part or all of the computer program may be loaded and/or installed onto the device 600 via the ROM 602 and/or the communication unit 609. When the computer program is loaded into the RAM 603 and executed by the computing unit 601, one or more steps of the above described method of collaborative development may be performed. Alternatively, in other embodiments, the computing unit 601 may be configured to perform the method of collaborative development by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server may be a cloud server, a server of a distributed system, or a server with a combined blockchain.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present disclosure may be executed in parallel, sequentially, or in different orders, as long as the desired results of the technical solutions disclosed in the present disclosure can be achieved, and the present disclosure is not limited herein.
The above detailed description should not be construed as limiting the scope of the disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present disclosure should be included in the scope of protection of the present disclosure.

Claims (20)

1. A method for collaborative development, applied to a server, includes:
after a remote development instruction aiming at a specified file sent by a client is received, acquiring a characteristic value of the current specified file to obtain a first characteristic value, and sending the first characteristic value to the client;
after receiving a storage modification instruction aiming at a specified file sent by the client, acquiring a characteristic value of the current specified file to obtain a second characteristic value; wherein, the saving modification instruction comprises: the first characteristic value and the content to be modified;
under the condition that the first characteristic value is the same as the second characteristic value, updating the specified file according to the content to be modified;
and under the condition that the first characteristic value is not the same as the second characteristic value, prohibiting the specified file from being updated.
2. The method of claim 1, wherein after the step of updating the specified file according to the content to be modified, the method further comprises:
and calculating the updated characteristic value of the specified file to obtain the characteristic value of the current specified file, and locally storing the characteristic value of the current specified file.
3. The method of claim 1, wherein the feature values comprise: a hash value; the method further comprises the following steps: judging whether the hash value in the first characteristic value is the same as the hash value in the second characteristic value, wherein if the hash value in the first characteristic value is the same as the hash value in the second characteristic value, the first characteristic value is judged to be the same as the second characteristic value, otherwise, the first characteristic value is judged to be different from the second characteristic value;
or the characteristic values include: hash value and file size; the method further comprises the following steps: judging whether the hash value in the first characteristic value is the same as the hash value in the second characteristic value, and judging whether the file size in the first characteristic value is the same as the file size in the second characteristic value, wherein if the hash value in the first characteristic value is the same as the hash value in the second characteristic value and the file size in the first characteristic value is the same as the file size in the second characteristic value, the first characteristic value is judged to be the same as the second characteristic value, otherwise, the first characteristic value is judged to be different from the second characteristic value.
4. The method of claim 1, wherein the method further comprises:
and sending an error report message indicating that the modification of the specified file fails to the client side under the condition that the first characteristic value is not identical to the second characteristic value.
5. A collaborative development method is applied to a client and comprises the following steps:
sending a remote development instruction for a specified file to a server;
receiving a first characteristic value of a designated file sent by the server;
and acquiring the content to be modified aiming at the specified file, which is input by a user, and sending a storage modification instruction aiming at the specified file to the server, wherein the storage modification instruction comprises the first characteristic value and the content to be modified.
6. The method of claim 5, wherein the method further comprises:
after receiving an error message which is sent by the server and comprises a representation of the modification failure of the specified file, returning to the execution step: and sending remote development instructions for the specified file to the server.
7. The method of claim 5, wherein the first feature value comprises: a hash value; or the first characteristic value comprises: hash value and file size.
8. A system for collaborative development, comprising: a server and a client, wherein:
the client is used for sending a remote development instruction aiming at a specified file to the server;
the server is used for acquiring a characteristic value of a current specified file to obtain a first characteristic value after receiving the remote development instruction, and sending the first characteristic value to the client;
the client is configured to receive the first feature value, obtain content to be modified for the specified file input by a user, and send a saving and modifying instruction for the specified file to the server, where the saving and modifying instruction includes: the first characteristic value and the content to be modified;
the server is used for acquiring the characteristic value of the current specified file to obtain a second characteristic value after receiving the storage modification instruction; under the condition that the first characteristic value is the same as the second characteristic value, updating the specified file according to the content to be modified; and under the condition that the first characteristic value is not the same as the second characteristic value, prohibiting the specified file from being updated.
9. The system of claim 8, wherein,
and after the step of updating the specified file according to the content to be modified, the server is also used for calculating the feature value of the updated specified file to obtain the feature value of the current specified file and locally storing the feature value of the current specified file.
10. The system of claim 8, wherein,
the server is further configured to send an error message indicating that the modification of the specified file fails to be performed to the client if the first characteristic value is different from the second characteristic value.
11. The system of claim 10, wherein,
the client is further configured to return to the execution step after receiving an error report message sent by the server and including a representation of a specified file modification failure: and sending remote development instructions for the specified file to the server.
12. The system of claim 8, wherein the first feature value comprises: a hash value; the server is further configured to: judging whether the hash value in the first characteristic value is the same as the hash value in the second characteristic value, wherein if the hash value in the first characteristic value is the same as the hash value in the second characteristic value, the first characteristic value is judged to be the same as the second characteristic value, otherwise, the first characteristic value is judged to be different from the second characteristic value;
or the first characteristic value comprises: hash value and file size; the server is further configured to: judging whether the hash value in the first characteristic value is the same as the hash value in the second characteristic value, and judging whether the file size in the first characteristic value is the same as the file size in the second characteristic value, wherein if the hash value in the first characteristic value is the same as the hash value in the second characteristic value and the file size in the first characteristic value is the same as the file size in the second characteristic value, the first characteristic value is judged to be the same as the second characteristic value, otherwise, the first characteristic value is judged to be different from the second characteristic value.
13. An apparatus for collaborative development, applied to a server, comprising:
the system comprises a first characteristic value acquisition module, a first characteristic value acquisition module and a second characteristic value acquisition module, wherein the first characteristic value acquisition module is used for acquiring a characteristic value of a current specified file to obtain a first characteristic value after receiving a remote development instruction aiming at the specified file and sent by a client, and sending the first characteristic value to the client;
the second characteristic value acquisition module is used for acquiring the characteristic value of the current specified file to obtain a second characteristic value after receiving a storage modification instruction aiming at the specified file and sent by the client; wherein, the saving modification instruction comprises: the first characteristic value and the content to be modified;
the first file updating module is used for updating the specified file according to the content to be modified under the condition that the first characteristic value is the same as the second characteristic value;
and the second file updating module is used for forbidding to update the specified file under the condition that the first characteristic value is different from the second characteristic value.
14. The apparatus of claim 13, wherein the apparatus further comprises:
the characteristic value obtaining module is used for calculating the updated characteristic value of the specified file to obtain the characteristic value of the current specified file and locally storing the characteristic value of the current specified file;
and the message sending module is used for sending an error report message indicating that the modification of the specified file fails to the client under the condition that the first characteristic value is different from the second characteristic value.
15. The apparatus of claim 13, wherein the feature value comprises: a hash value; the device further comprises: a first feature value determining module, configured to determine whether a hash value in the first feature value is the same as a hash value in the second feature value, where if the hash value in the first feature value is the same as the hash value in the second feature value, it is determined that the first feature value is the same as the second feature value, and otherwise, it is determined that the first feature value is different from the second feature value;
or the characteristic values include: hash value and file size; the device further comprises: a second feature value determination module, configured to determine whether a hash value in the first feature value is the same as a hash value in the second feature value, and determine whether a file size in the first feature value is the same as a file size in the second feature value, where if the hash value in the first feature value is the same as the hash value in the second feature value and the file size in the first feature value is the same as the file size in the second feature value, it is determined that the first feature value is the same as the second feature value, and otherwise, it is determined that the first feature value is different from the second feature value.
16. An apparatus for collaborative development, applied to a client, includes:
the instruction sending module is used for sending a remote development instruction aiming at the specified file to the server;
the characteristic value receiving module is used for receiving a first characteristic value of the designated file sent by the server;
the content acquisition module is used for acquiring the content to be modified aiming at the specified file and input by a user, and sending a storage modification instruction aiming at the specified file to the server, wherein the storage modification instruction comprises the first characteristic value and the content to be modified.
17. The apparatus of claim 16, wherein the apparatus further comprises:
the instruction receiving module is used for returning to the execution step after receiving the error report message which is sent by the server and comprises the indication that the modification of the specified file fails: and sending remote development instructions for the specified file to the server.
18. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-7.
19. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any one of claims 1-7.
20. A computer program product comprising a computer program which, when executed by a processor, implements the method according to any one of claims 1-7.
CN202111396112.XA 2021-11-23 2021-11-23 Collaborative development method, system, device and electronic equipment Pending CN114091909A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111396112.XA CN114091909A (en) 2021-11-23 2021-11-23 Collaborative development method, system, device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111396112.XA CN114091909A (en) 2021-11-23 2021-11-23 Collaborative development method, system, device and electronic equipment

Publications (1)

Publication Number Publication Date
CN114091909A true CN114091909A (en) 2022-02-25

Family

ID=80303565

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111396112.XA Pending CN114091909A (en) 2021-11-23 2021-11-23 Collaborative development method, system, device and electronic equipment

Country Status (1)

Country Link
CN (1) CN114091909A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115629746A (en) * 2022-12-22 2023-01-20 西安葡萄城软件有限公司 Method and system for multi-person collaborative development of low-code platform

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115629746A (en) * 2022-12-22 2023-01-20 西安葡萄城软件有限公司 Method and system for multi-person collaborative development of low-code platform

Similar Documents

Publication Publication Date Title
CN112653758B (en) Method, device, equipment and medium for updating edge node
WO2023115836A1 (en) Method and apparatus for controlling distributed operation system, and device, medium and program product
CN114328132A (en) Method, device, equipment and medium for monitoring state of external data source
CN113037489B (en) Data processing method, device, equipment and storage medium
CN113946816A (en) Cloud service-based authentication method and device, electronic equipment and storage medium
CN114401121A (en) Application program login method and device, electronic equipment and readable storage medium
CN114389969A (en) Client test method and device, electronic equipment and storage medium
CN114091909A (en) Collaborative development method, system, device and electronic equipment
CN116701053B (en) Method, device, equipment and medium for restoring data backup of production environment database
CN113656239A (en) Monitoring method and device for middleware and computer program product
CN112965799A (en) Task state prompting method and device, electronic equipment and medium
US20230144949A1 (en) Virtual-machine cold migration method and apparatus, electronic device and storage medium
CN111367934A (en) Data consistency checking method, device, server and medium
CN114138397B (en) Page display method and device, electronic equipment and storage medium
CN114218313A (en) Data management method, device, electronic equipment, storage medium and product
CN114546705A (en) Operation response method, operation response device, electronic apparatus, and storage medium
CN114218166A (en) Data processing method and device, electronic equipment and readable storage medium
CN114003497A (en) Method, device and equipment for testing service system and storage medium
CN112925623A (en) Task processing method and device, electronic equipment and medium
CN112527802A (en) Soft link method and device based on key value database
CN114791996B (en) Information processing method, device, system, electronic equipment and storage medium
CN113867634B (en) Data reading method and device, electronic equipment and storage medium
CN113407844B (en) Version recommendation method, device and equipment of applet framework and storage medium
CN114115854A (en) SDK file generation method, device, equipment and storage medium
CN113641639A (en) Log reporting method and device, electronic equipment and storage medium

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