[go: up one dir, main page]

CN111368519B - Method, device, equipment and storage medium for editing online form - Google Patents

Method, device, equipment and storage medium for editing online form Download PDF

Info

Publication number
CN111368519B
CN111368519B CN202010188314.4A CN202010188314A CN111368519B CN 111368519 B CN111368519 B CN 111368519B CN 202010188314 A CN202010188314 A CN 202010188314A CN 111368519 B CN111368519 B CN 111368519B
Authority
CN
China
Prior art keywords
sub
version number
editing
current version
request
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.)
Active
Application number
CN202010188314.4A
Other languages
Chinese (zh)
Other versions
CN111368519A (en
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 ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network 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 ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN202010188314.4A priority Critical patent/CN111368519B/en
Publication of CN111368519A publication Critical patent/CN111368519A/en
Application granted granted Critical
Publication of CN111368519B publication Critical patent/CN111368519B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

The embodiment of the disclosure discloses an editing method, device, equipment and storage medium of an online form; the method comprises the following steps: when a first editing request of a user for a sub-table is acquired, comparing the version number of the sub-table in the first editing request with the current version number of the sub-table; if the version number of the sub-table in the first editing request is smaller than the current version number of the sub-table, converting the first editing request into a second editing request aiming at the sub-table of the current version number; and executing the second editing request, and performing accumulation updating processing on the current version number of the sub-table. According to the technical scheme, on the basis that the collaborative editing of other sub-tables in the mother table is not affected, independent collaborative editing of each sub-table in the mother table is achieved, the editing function of the online table is expanded, and the collaborative editing strategy of the online table is perfected.

Description

Method, device, equipment and storage medium for editing online form
Technical Field
The embodiment of the disclosure relates to computer software technology, in particular to an editing method, device, equipment and storage medium of an online form.
Background
With the continuous development of computer technology, more and more people use computer offices, and the requirement for the cooperative work of multiple people is also increasing, and online forms are generated under the requirement.
The online form is a form tool for providing information sharing for multiple persons, supports the cooperative online editing of the multiple persons so as to realize the cooperative work of the multiple persons, and when a user edits any one of the sub forms in the form document (namely the mother form), other users using the same form document are affected by the editing operation of the user, and even if the other users and the editing object of the user are not the same sub form, the influence still exists, so that any editing operation of the user on the form document can affect other users of the form document.
Disclosure of Invention
The disclosure provides an editing method, device, equipment and storage medium for an online form, so that independent collaborative editing of each sub-form in a parent form is realized.
In a first aspect, an embodiment of the present disclosure provides an editing method of an online table, including:
when a first editing request of a user for a sub-table is acquired, comparing the version number of the sub-table in the first editing request with the current version number of the sub-table; the current version number is a version number recorded in the local server;
if the version number of the sub-table in the first editing request is smaller than the current version number of the sub-table, converting the first editing request into a second editing request aiming at the sub-table of the current version number;
and executing the second editing request, and performing accumulation updating processing on the current version number of the sub-table.
In a second aspect, an embodiment of the present disclosure provides an apparatus for editing an online form, including:
the version number comparison module is used for comparing the version number of the sub-table in the first editing request with the current version number of the sub-table when the first editing request of the user for the sub-table is acquired; the current version number is a version number recorded in the local server;
a second editing request obtaining module, configured to convert the first editing request into a second editing request for a sub-table of the current version number if the version number of the sub-table in the first editing request is smaller than the current version number of the sub-table;
and the first accumulation update execution module is used for executing the second editing request and carrying out accumulation update processing on the current version number of the sub-table.
In a third aspect, an embodiment of the present disclosure provides an electronic device, including a memory, a processing device, and a computer program stored on the memory and capable of running on the processing device, where the processing device implements the method for editing an online table according to any embodiment of the present disclosure when the processing device executes the program.
In a fourth aspect, the disclosed embodiments provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are for performing the method of editing an online form of any embodiment of the disclosure.
According to the technical scheme, when the first editing request of the user for the sub-table is obtained and the version number of the sub-table in the first editing request is smaller than the current version number stored by the server, the first editing request is converted into the second editing request aiming at the current version, and accumulation updating processing is carried out on the current version number of the sub-table, so that independent collaborative editing of each sub-table in the parent table is realized on the basis that collaborative editing of other sub-tables in the parent table is not affected, the editing function of the online table is expanded, and the collaborative editing strategy of the online table is perfected.
Drawings
The above and other features, advantages, and aspects of embodiments of the present disclosure will become more apparent by reference to the following detailed description when taken in conjunction with the accompanying drawings. The same or similar reference numbers will be used throughout the drawings to refer to the same or like elements. It should be understood that the figures are schematic and that elements and components are not necessarily drawn to scale.
FIG. 1 is a flow chart of a method of editing an online form in accordance with one embodiment of the present disclosure;
FIG. 2 is a block diagram of an on-line form editing apparatus in accordance with a second embodiment of the present disclosure;
fig. 3 is a block diagram of an electronic device in accordance with a third embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure have been shown in the accompanying drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustration purposes only and are not intended to limit the scope of the present disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order and/or performed in parallel. Furthermore, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "including" and variations thereof as used herein are intended to be open-ended, i.e., including, but not limited to. The term "based on" is based at least in part on. The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments. Related definitions of other terms will be given in the description below.
It should be noted that the terms "first," "second," and the like in this disclosure are merely used to distinguish between different devices, modules, or units and are not used to define an order or interdependence of functions performed by the devices, modules, or units.
It should be noted that references to "one", "a plurality" and "a plurality" in this disclosure are intended to be illustrative rather than limiting, and those of ordinary skill in the art will appreciate that "one or more" is intended to be understood as "one or more" unless the context clearly indicates otherwise.
The names of messages or information interacted between the various devices in the embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
Example 1
Fig. 1 is a flowchart of an on-line form editing method provided in an embodiment of the present disclosure, where the embodiment is applicable to a case of editing an on-line form stored in a server, the method may be performed by an on-line form editing apparatus in an embodiment of the present disclosure, and the apparatus may be implemented by software and/or hardware and integrated in the server, and the method specifically includes the following steps:
s110, when a first editing request of a user for a sub-table is acquired, comparing the version number of the sub-table in the first editing request with the current version number of the sub-table; the current version number is a version number recorded locally on the server.
The online forms are stored in the server, information sharing is provided for multiple persons, users access the server through terminal equipment such as a computer or a mobile phone, data information of the online forms is obtained, editing operation can be performed, and each form document (namely a mother form) can comprise a plurality of sub forms so as to respectively display different data contents. The first editing request comprises operations such as adding, deleting and modifying data contents in the sub-table by a user, and also comprises operations such as adding a new sub-table, deleting the sub-table, modifying the sub-table name and the like in the mother table; each sub-table comprises own version number in the mother table obtained from the server by the user and is used for representing version information of the sub-table, for example, the mother table is represented by a decimal 3-digit number (namely 000 to 999) and is used as an identification mark of each mother table, and the mother table is fixed; the sub-table is represented by a decimal 5-bit number, wherein the first two bits from left to right represent the identification mark of the sub-table, and the identification mark is fixed; the last three bits represent the version identification of the sub-table, and each time an edit request to the sub-table, the version identification is changed, wherein the edit request may include one or more of adding, deleting, modifying, and the like. The version number of the sub-table consists of the identification mark of the mother table, the identification mark of the sub-table and the version mark of the sub-table. The position of the sub-table (i.e. the mother table in which the sub-table is located) and the version of the sub-table can be determined by the version number of the sub-table, for example, the version number of the sub-table is 56711005, namely, the 005 version of the sub-table 11 in the mother table with the number 567 is indicated; in particular, the mother table may further include a version identifier, which is represented by a decimal 4-bit number, where the editing request for any child table in the mother table changes the mother table once, but the version number of the child table is still composed of the identification identifier of the mother table, the identification identifier of the child table, and the version identifier of the child table. In particular, the child table and/or the parent table of each version are stored as history data, providing a data basis for history backtracking of each version.
S120, if the version number of the sub-table in the first editing request is smaller than the current version number of the sub-table, converting the first editing request into a second editing request aiming at the sub-table of the current version number.
If the version number of the sub-table in the received user's editing request is smaller than the current version number stored locally in the server, it indicates that the user has already edited the sub-table by other users in the process of editing, that is, the user's current editing request is not performed on the latest version, for example, the version number of the sub-table in the first editing request is 56711005, and the current version number is 56711007, which indicates that the sub-table when the current editing request is opened is 005 version, but in the process of editing, the edited version is 006 and 007 respectively, and the current modification to the 005 version needs to be converted into the modification to the 007 version, for example, the newly added data information of the 005 version may be newly added with the same data information at the position corresponding to the 007 version, that is, the editing operation performed on the 005 version may be translated into the 007 version. Optionally, in an embodiment of the present invention, converting the first editing request into a second editing request for a sub-table of the current version number includes: and converting the first editing request into a second editing request aiming at the sub-table of the current version number through an operation conversion algorithm. An operation conversion (Operation Transform, OT) algorithm is configured to, when multiple users edit the same sub-table and conflict with each other, convert, according to a time sequence order, an edit request with a later time sequence order into a subsequent edit request with a earlier time sequence order after the execution of the edit request is completed, for example, a piece of text information in the sub-table is "one picture", a first edit request is added with a character "volume" after a third character, but at this time, a version of the first edit request is 005, and a current version is 006, text information corresponding to the current version is modified into a "one-time ink picture", that is, two characters "ink" have been added after a second character, and then, according to the OT algorithm, the first edit request is modified to add a character "volume" after the third character, that is, to add a character "volume" after the fifth character, that is, to obtain a "one-time ink picture volume".
In particular, in a server, since the time units may be accurate to microseconds, the editing requests for different users are not always identical in time series; if the two editing requests are identical in time sequence, the sequence of the editing requests can be confirmed according to the user identity of the user.
Optionally, in an embodiment of the present invention, after comparing the version number of the sub-table in the first editing request with the current version number of the sub-table, the method further includes: and if the version number of the sub-table in the first editing request is equal to the current version number of the sub-table, executing the first editing request, and performing accumulation updating processing on the current version number of the sub-table. If the version number of the sub-table in the received user's editing request is equal to the current version number stored locally in the server, it indicates that the version opened by the user in this time is the same as the current version stored in the server, that is, the user's current editing request is performed for the latest version, and the editing request is responded, and the current version number is directly subjected to accumulation update processing, for example, in the above technical scheme, the version number of the sub-table in the first editing request is 56711005, the version number after the current editing is 56711006, and the version with the version number 56711005 is stored as the history version.
Optionally, in an embodiment of the present invention, after comparing the version number of the sub-table in the first editing request with the current version number of the sub-table, the method further includes: and if the version number of the sub-table in the first editing request is larger than the current version number of the sub-table, not executing the first editing request, and keeping the current version number of the sub-table unchanged. If the version number of the sub-table in the received user's editing request is greater than the current version number stored locally in the server, the editing request is considered to be an edit for the invalid version of the sub-table, and the editing request is considered to be invalid, for example, in the above technical solution, the version number of the sub-table in the first editing request is 56711005, and the current version number of the sub-table stored in the server is 56711003, then the versions with the version numbers 56711004 and 56711005 are indicated, and are considered to be unreasonable or unsatisfactory by the server, the manager or the third party authentication platform, and the version with the version number 56711003 is changed to the current version by historical backtracking, i.e. according to the historical version information of the sub-table, and the first editing request with the version number 56711005 is considered to be an invalid editing request.
S130, executing the second editing request, and performing accumulation updating processing on the current version number of the sub-table.
Optionally, in an embodiment of the present invention, after executing the second editing request and performing the accumulation update processing on the current version number of the sub-table, the method further includes: and sending the editing result of the sub-table to the current user of the sub-table. And informing all users using the sub-table of the editing result of the sub-table so as to enable each user to know the change condition in time. Optionally, in an embodiment of the present invention, after executing the second editing request and performing the accumulation update processing on the current version number of the sub-table, the method further includes: and if the name of the sub-table or the position of the sub-table in the mother table is changed, transmitting the editing result of the sub-table to the current user of the mother table. The change in the name or location of the child table is related to all current users of the parent table, and therefore the editing result of the child table can also be transmitted to all current users of the parent table. In particular, in the above technical solution, the editing result of the sub-table is sent to the current user of the sub-table and the current user of the mother table respectively through different information channels, the notification message that has no influence on other sub-tables is sent through the sub-information channel, and the notification message that has influence on other sub-tables is sent through the mother information channel, where the sub-information channels of each sub-table are independent from the sub-information channels of other sub-tables.
Optionally, in an embodiment of the present invention, the first editing request includes a template editing request; correspondingly, converting the first editing request into a second editing request for the sub-table of the current version number includes: converting the template editing request into a target template editing request aiming at the sub-table of the current version number; correspondingly, executing the second editing request specifically includes: obtaining a target template matched with the target template editing request from a template database, and applying the target template to the sub-table of the current version number; wherein the template database is stored in the server.
According to the technical scheme, when the first editing request of the user for the sub-table is obtained and the version number of the sub-table in the first editing request is smaller than the current version number stored by the server, the first editing request is converted into the second editing request aiming at the current version, and accumulation updating processing is carried out on the current version number of the sub-table, so that independent collaborative editing of each sub-table in the parent table is realized on the basis that collaborative editing of other sub-tables in the parent table is not affected, the editing function of the online table is expanded, and the collaborative editing strategy of the online table is perfected.
Example two
Fig. 2 is a block diagram of an on-line table editing apparatus according to a second embodiment of the present disclosure, which specifically includes: a version number comparison module 210, a second edit request acquisition module 220, and a first accumulated update execution module 230.
A version number comparison module 210, configured to, when a first edit request of a user for a sub-table is obtained, compare a version number of the sub-table in the first edit request with a current version number of the sub-table; the current version number is a version number recorded in the local server;
a second edit request obtaining module 220, configured to, if the version number of the sub-table in the first edit request is smaller than the current version number of the sub-table, convert the first edit request into a second edit request for the sub-table of the current version number;
the first accumulated update executing module 230 is configured to execute the second editing request, and perform accumulated update processing on the current version number of the sub-table.
According to the technical scheme, when the first editing request of the user for the sub-table is obtained and the version number of the sub-table in the first editing request is smaller than the current version number stored by the server, the first editing request is converted into the second editing request aiming at the current version, and accumulation updating processing is carried out on the current version number of the sub-table, so that independent collaborative editing of each sub-table in the parent table is realized on the basis that collaborative editing of other sub-tables in the parent table is not affected, the editing function of the online table is expanded, and the collaborative editing strategy of the online table is perfected.
Optionally, on the basis of the above technical solution, the device for editing an online table further includes:
and the second accumulated update execution module is used for executing the first editing request and performing accumulated update processing on the current version number of the sub-table if the version number of the sub-table in the first editing request is equal to the current version number of the sub-table.
Optionally, on the basis of the above technical solution, the device for editing an online table further includes:
and the editing request non-executing module is used for not executing the first editing request and keeping the current version number of the sub-table unchanged if the version number of the sub-table in the first editing request is larger than the current version number of the sub-table.
Optionally, on the basis of the above technical solution, the first editing request includes a template editing request.
Optionally, on the basis of the above technical solution, the second edit request obtaining module 220 is specifically configured to convert the template edit request into a target template edit request for a sub-table of the current version number.
Optionally, based on the above technical solution, the first accumulation update execution module 230 is specifically configured to obtain, from a template database, a target template that matches the target template editing request, and apply the target template to a sub-table of the current version number; wherein the template database is stored in the server.
Optionally, on the basis of the foregoing technical solution, the second edit request obtaining module 220 is specifically configured to convert, by operating a conversion algorithm, the first edit request into a second edit request performed on a sub-table of the current version number.
Optionally, on the basis of the above technical solution, the device for editing an online table further includes:
and the first editing result sending module is used for sending the editing result of the sub-table to the current user of the sub-table.
Optionally, on the basis of the above technical solution, the device for editing an online table further includes:
and the second editing result sending module is used for sending the editing result of the child table to the current user of the mother table if the name of the child table or the position of the child table in the mother table is changed.
The device can execute the method for editing the online form provided by the first embodiment of the disclosure, and has the corresponding functional modules and beneficial effects of the execution method. Technical details not described in detail in this embodiment may be found in the method provided in the first embodiment of the present disclosure.
Example III
Fig. 3 shows a schematic diagram of an electronic device (e.g., a terminal device or server in fig. 1) 300 suitable for use in implementing embodiments of the present disclosure. The terminal devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and the like, and stationary terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 3 is merely an example and should not be construed to limit the functionality and scope of use of the disclosed embodiments.
As shown in fig. 3, the electronic device 300 may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 301 that may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 302 or a program loaded from a storage means 306 into a Random Access Memory (RAM) 303. In the RAM 303, various programs and data required for the operation of the electronic apparatus 300 are also stored. The processing device 301, the ROM 302, and the RAM 303 are connected to each other via a bus 304. An input/output (I/O) interface 305 is also connected to bus 304.
In general, the following devices may be connected to the I/O interface 305: input devices 306 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 307 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 306 including, for example, magnetic tape, hard disk, etc.; and communication means 309. The communication means 309 may allow the electronic device 300 to communicate with other devices wirelessly or by wire to exchange data. While fig. 3 shows an electronic device 300 having various means, it is to be understood that not all of the illustrated means are required to be implemented or provided. More or fewer devices may be implemented or provided instead.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a non-transitory computer readable medium, the computer program comprising program code for performing the method shown in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via communications means 309, or installed from storage means 306, or installed from ROM 302. The above-described functions defined in the methods of the embodiments of the present disclosure are performed when the computer program is executed by the processing means 301.
It should be noted that the computer readable medium described in the present disclosure may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having 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. In the context of this disclosure, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present disclosure, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, fiber optic cables, RF (radio frequency), and the like, or any suitable combination of the foregoing.
In some implementations, the clients, servers may communicate using any currently known or future developed network protocol, such as HTTP (HyperText TransferProtocol ), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the internet (e.g., the internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed networks.
The computer readable medium may be contained in the electronic device; or may exist alone without being incorporated into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: when a first editing request of a user for a sub-table is acquired, comparing the version number of the sub-table in the first editing request with the current version number of the sub-table; the current version number is a version number recorded in the local server; if the version number of the sub-table in the first editing request is smaller than the current version number of the sub-table, converting the first editing request into a second editing request aiming at the sub-table of the current version number; and executing the second editing request, and performing accumulation updating processing on the current version number of the sub-table.
Computer program code for carrying out operations of the present disclosure may be written in one or more programming languages, including, but not limited to, an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units involved in the embodiments of the present disclosure may be implemented by means of software, or may be implemented by means of hardware. The name of the unit does not form a limitation on the unit itself in some cases, for example, the second accumulated update execution module may be described as "a module for executing the first editing request and performing accumulated update processing on the current version number of the sub-table if the version number of the sub-table in the first editing request is equal to the current version number of the sub-table".
The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: a Field Programmable Gate Array (FPGA), an Application Specific Integrated Circuit (ASIC), an Application Specific Standard Product (ASSP), a system on a chip (SOC), a Complex Programmable Logic Device (CPLD), and the like.
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. The 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.
According to one or more embodiments of the present disclosure, there is provided an editing method of an online form [ example 1 ], including:
when a first editing request of a user for a sub-table is acquired, comparing the version number of the sub-table in the first editing request with the current version number of the sub-table; the current version number is a version number recorded in the local server;
if the version number of the sub-table in the first editing request is smaller than the current version number of the sub-table, converting the first editing request into a second editing request aiming at the sub-table of the current version number;
and executing the second editing request, and performing accumulation updating processing on the current version number of the sub-table.
According to one or more embodiments of the present disclosure, there is provided a method of example 1 [ example 2 ], further comprising:
and if the version number of the sub-table in the first editing request is equal to the current version number of the sub-table, executing the first editing request, and performing accumulation updating processing on the current version number of the sub-table.
According to one or more embodiments of the present disclosure, there is provided a method of example 1 [ example 3 ], further comprising:
and if the version number of the sub-table in the first editing request is larger than the current version number of the sub-table, not executing the first editing request, and keeping the current version number of the sub-table unchanged.
According to one or more embodiments of the present disclosure, there is provided a method of example 1 [ example 4 ], further comprising:
the first editing request comprises a template editing request;
converting the template editing request into a target template editing request aiming at the sub-table of the current version number;
obtaining a target template matched with the target template editing request from a template database, and applying the target template to the sub-table of the current version number; wherein the template database is stored in the server.
According to one or more embodiments of the present disclosure, there is provided a method of example 1 [ example 5 ], further comprising:
and converting the first editing request into a second editing request aiming at the sub-table of the current version number through an operation conversion algorithm.
According to one or more embodiments of the present disclosure, there is provided a method of example 1 [ example 6 ], further comprising:
and sending the editing result of the sub-table to the current user of the sub-table.
According to one or more embodiments of the present disclosure, there is provided a method of example 1 [ example 7 ], further comprising:
and if the name of the sub-table or the position of the sub-table in the mother table is changed, transmitting the editing result of the sub-table to the current user of the mother table.
According to one or more embodiments of the present disclosure, there is provided an editing apparatus of an online form [ example 8 ], including:
the version number comparison module is used for comparing the version number of the sub-table in the first editing request with the current version number of the sub-table when the first editing request of the user for the sub-table is acquired; the current version number is a version number recorded in the local server;
a second editing request obtaining module, configured to convert the first editing request into a second editing request for a sub-table of the current version number if the version number of the sub-table in the first editing request is smaller than the current version number of the sub-table;
and the first accumulation update execution module is used for executing the second editing request and carrying out accumulation update processing on the current version number of the sub-table.
According to one or more embodiments of the present disclosure, there is provided an electronic device [ example 9 ] comprising a memory, a processing means and a computer program stored on the memory and executable on the processing means, characterized in that the processing means implements the method of editing an online form according to any one of examples 1-7 when the program is executed.
According to one or more embodiments of the present disclosure, there is provided a storage medium containing computer-executable instructions for performing the method of editing an online form as described in any one of examples 1-7 when executed by a computer processor.
The foregoing description is only of the preferred embodiments of the present disclosure and description of the principles of the technology being employed. It will be appreciated by persons skilled in the art that the scope of the disclosure referred to in this disclosure is not limited to the specific combinations of features described above, but also covers other embodiments which may be formed by any combination of features described above or equivalents thereof without departing from the spirit of the disclosure. Such as those described above, are mutually substituted with the technical features having similar functions disclosed in the present disclosure (but not limited thereto).
Moreover, although operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. In certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the present disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are example forms of implementing the claims.

Claims (9)

1. An editing method of an online form, applied to a server, is characterized by comprising the following steps:
when a first editing request of a user for a sub-table is acquired, comparing the version number of the sub-table in the first editing request with the current version number of the sub-table; the current version number is a version number recorded in the local server;
if the version number of the sub-table in the first editing request is smaller than the current version number of the sub-table, converting the first editing request into a second editing request aiming at the sub-table of the current version number;
executing the second editing request, and performing accumulation updating processing on the current version number of the sub-table;
and if the version number of the sub-table in the first editing request is larger than the current version number of the sub-table, not executing the first editing request, and keeping the current version number of the sub-table unchanged.
2. The method of claim 1, further comprising, after comparing the version number of the sub-table in the first edit request with the current version number of the sub-table:
and if the version number of the sub-table in the first editing request is equal to the current version number of the sub-table, executing the first editing request, and performing accumulation updating processing on the current version number of the sub-table.
3. The method of claim 1, wherein the first edit request comprises a template edit request;
correspondingly, converting the first editing request into a second editing request for the sub-table of the current version number includes:
converting the template editing request into a target template editing request aiming at the sub-table of the current version number;
correspondingly, executing the second editing request specifically includes:
obtaining a target template matched with the target template editing request from a template database, and applying the target template to the sub-table of the current version number; wherein the template database is stored in the server.
4. The method of claim 1, wherein translating the first edit request into a second edit request for a sub-table of the current version number comprises:
and converting the first editing request into a second editing request aiming at the sub-table of the current version number through an operation conversion algorithm.
5. The method of claim 1, further comprising, after executing the second edit request and performing an accumulation update process on the current version number of the sub-table:
and sending the editing result of the sub-table to the current user of the sub-table.
6. The method of claim 1, further comprising, after executing the second edit request and performing an accumulation update process on the current version number of the sub-table:
and if the name of the sub-table or the position of the sub-table in the mother table is changed, transmitting the editing result of the sub-table to the current user of the mother table.
7. An editing apparatus for an online form, applied to a server, comprising:
the version number comparison module is used for comparing the version number of the sub-table in the first editing request with the current version number of the sub-table when the first editing request of the user for the sub-table is acquired; the current version number is a version number recorded in the local server;
a second editing request obtaining module, configured to convert the first editing request into a second editing request for a sub-table of the current version number if the version number of the sub-table in the first editing request is smaller than the current version number of the sub-table;
the first accumulation update execution module is used for executing the second editing request and carrying out accumulation update processing on the current version number of the sub-table;
and the editing request non-executing module is used for not executing the first editing request and keeping the current version number of the sub-table unchanged if the version number of the sub-table in the first editing request is larger than the current version number of the sub-table.
8. An electronic device comprising a memory, a processing means and a computer program stored on the memory and executable on the processing means, characterized in that the processing means implement the method of editing an on-line form according to any of claims 1-6 when executing the program.
9. A storage medium containing computer executable instructions which, when executed by a computer processor, are for performing the method of editing an online form as claimed in any one of claims 1 to 6.
CN202010188314.4A 2020-03-17 2020-03-17 Method, device, equipment and storage medium for editing online form Active CN111368519B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010188314.4A CN111368519B (en) 2020-03-17 2020-03-17 Method, device, equipment and storage medium for editing online form

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010188314.4A CN111368519B (en) 2020-03-17 2020-03-17 Method, device, equipment and storage medium for editing online form

Publications (2)

Publication Number Publication Date
CN111368519A CN111368519A (en) 2020-07-03
CN111368519B true CN111368519B (en) 2023-05-02

Family

ID=71206836

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010188314.4A Active CN111368519B (en) 2020-03-17 2020-03-17 Method, device, equipment and storage medium for editing online form

Country Status (1)

Country Link
CN (1) CN111368519B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112104896B (en) * 2020-08-31 2023-04-07 火星语盟(深圳)科技有限公司 Subtitle editing method, terminal, server, system and storage medium
CN113095053A (en) * 2021-04-12 2021-07-09 中国工商银行股份有限公司 Webpage table customizing method and device
CN113204947A (en) * 2021-05-28 2021-08-03 北京字跳网络技术有限公司 Online form display method, server, first client and source client
CN114330250A (en) * 2021-12-31 2022-04-12 杉数科技(北京)有限公司 Demand plan collaborative online editing method and related equipment
CN115729592B (en) * 2022-11-21 2024-06-04 上海秉匠信息科技有限公司 Page updating method and device, electronic equipment and medium
CN116882374B (en) * 2023-09-06 2023-11-14 南京嘉恒信息技术有限公司 Online collaboration method, system and storage medium based on Json structure data
CN119378504B (en) * 2024-12-27 2025-03-21 中南迅智科技有限公司 Online Visual Presentation Document Editing Method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6983416B1 (en) * 2000-04-04 2006-01-03 Electronics And Telecommunications Research Institute System and method for cooperative editing of web document
CN106663089A (en) * 2014-06-30 2017-05-10 微软技术许可有限责任公司 Intelligent conflict detection and semantic expression of document edits
CN107943777A (en) * 2017-12-14 2018-04-20 北京久蓉科技有限公司 A kind of collaborative editing, cooperative processing method, device, equipment and storage medium
CN108153833A (en) * 2017-12-14 2018-06-12 北京龙软科技股份有限公司 Coal mine distributed collaboration one opens drawing system and collaborative management method
US10175976B1 (en) * 2015-07-16 2019-01-08 VCE IP Holding Company LLC Systems and methods for avoiding version conflict in a shared cloud management tool
CN110780898A (en) * 2019-10-08 2020-02-11 北京字节跳动网络技术有限公司 Page data upgrading method and device and electronic equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8307119B2 (en) * 2006-03-31 2012-11-06 Google Inc. Collaborative online spreadsheet application
US7900142B2 (en) * 2007-01-15 2011-03-01 Microsoft Corporation Selective undo of editing operations performed on data objects
US20150199307A1 (en) * 2012-08-08 2015-07-16 Google Inc. Pluggable Architecture For Optimizing Versioned Rendering of Collaborative Documents
US10133588B1 (en) * 2016-10-20 2018-11-20 Palantir Technologies Inc. Transforming instructions for collaborative updates

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6983416B1 (en) * 2000-04-04 2006-01-03 Electronics And Telecommunications Research Institute System and method for cooperative editing of web document
CN106663089A (en) * 2014-06-30 2017-05-10 微软技术许可有限责任公司 Intelligent conflict detection and semantic expression of document edits
US10175976B1 (en) * 2015-07-16 2019-01-08 VCE IP Holding Company LLC Systems and methods for avoiding version conflict in a shared cloud management tool
CN107943777A (en) * 2017-12-14 2018-04-20 北京久蓉科技有限公司 A kind of collaborative editing, cooperative processing method, device, equipment and storage medium
CN108153833A (en) * 2017-12-14 2018-06-12 北京龙软科技股份有限公司 Coal mine distributed collaboration one opens drawing system and collaborative management method
CN110780898A (en) * 2019-10-08 2020-02-11 北京字节跳动网络技术有限公司 Page data upgrading method and device and electronic equipment

Also Published As

Publication number Publication date
CN111368519A (en) 2020-07-03

Similar Documents

Publication Publication Date Title
CN111368519B (en) Method, device, equipment and storage medium for editing online form
CN110909521A (en) Synchronous processing method and device for online document information and electronic equipment
CN111258670B (en) Method and device for managing component data, electronic equipment and storage medium
CN112328927B (en) Document processing method and device, readable medium and electronic equipment
CN111459364B (en) Icon updating method and device and electronic equipment
CN112214708A (en) Page generation method and device, electronic equipment and computer readable medium
CN111309304A (en) Method, device, medium and electronic equipment for generating IDL file
CN111506376A (en) Feedback information display method and device, readable medium and electronic equipment
CN110837534A (en) Data list display method, device, equipment and storage medium
CN114513552B (en) Data processing method, device, equipment and storage medium
CN111857720A (en) Method and device for generating user interface state information, electronic equipment and medium
CN111753238A (en) Data mapping method and device and electronic equipment
CN111694629A (en) Information display method and device and electronic equipment
CN112307393A (en) Information issuing method and device and electronic equipment
CN112507676B (en) Method and device for generating energy report, electronic equipment and computer readable medium
CN112230986B (en) Project file generation method, device, electronic device and computer readable medium
CN111756953A (en) Video processing method, device, equipment and computer readable medium
CN111314351A (en) Anti-crawler data processing method and device, electronic equipment and storage medium
CN111949746A (en) Data processing method and device, electronic equipment and computer readable medium
CN110765238A (en) Data encryption query method and device
CN111212296B (en) Live broadcast room gift list configuration method, device, medium and electronic equipment
CN112311833B (en) Data updating method and device
CN111580890A (en) Method, apparatus, electronic device, and computer-readable medium for processing features
CN111240657A (en) Method and device for generating SDK and electronic equipment
CN114338643A (en) A data processing method, device, client, server 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
GR01 Patent grant
GR01 Patent grant