CN109597978A - Edit methods, device, storage medium and the electronic equipment of online electrical form - Google Patents

Edit methods, device, storage medium and the electronic equipment of online electrical form Download PDF

Info

Publication number
CN109597978A
CN109597978A CN201811301074.3A CN201811301074A CN109597978A CN 109597978 A CN109597978 A CN 109597978A CN 201811301074 A CN201811301074 A CN 201811301074A CN 109597978 A CN109597978 A CN 109597978A
Authority
CN
China
Prior art keywords
electrical form
state
operation instruction
online electrical
operational order
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
CN201811301074.3A
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.)
Tianjin ByteDance Technology Co Ltd
Original Assignee
Tianjin ByteDance 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 Tianjin ByteDance Technology Co Ltd filed Critical Tianjin ByteDance Technology Co Ltd
Priority to CN201811301074.3A priority Critical patent/CN109597978A/en
Publication of CN109597978A publication Critical patent/CN109597978A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting

Abstract

This disclosure relates to a kind of edit methods, device, storage medium and the electronic equipment of online electrical form, this method comprises: the online electrical form in first state receives user's operation information;Operational order collection and inverse operation instruction set are generated according to user's operation information;Executing operational order collection makes online electrical form enter the second state by first state;If receiving cancel an order, executing inverse operation instruction set makes online electrical form be back to first state by the second state;Wherein, operational order collection is instructed including at least one predetermined registration operation, and inverse operation instruction set includes at least one default inverse operation instruction.By implementing the disclosure, inverse operation instruction is instructed and preset using limited predetermined registration operation and constitutes operational order collection and inverse operation instruction set, is realized the revocation of online electrical form and is reformed, greatly improves development efficiency, and stability and scalability are improved, be also easy to test and is safeguarded.

Description

Edit methods, device, storage medium and the electronic equipment of online electrical form
Technical field
This disclosure relates to online document process field, more specifically to a kind of online electrical form edit methods, Device, storage medium and electronic equipment.
Background technique
Electrical form is that people are used to carry out data record, statistics, the important tool of analysis, displaying, and people are in creation electricity When sub-table, the edit operation of large amount of complex will do it, the content of table, pattern, structure are largely adjusted.? During this, the revocation of user's operation, reform function be it is very vital, be related to every user usage experience and Convenience.The edit operation that most of user can carry out all is the need for corresponding revocation and reforms function, for example inputs Text, Merge Cells etc..So one can efficiently realize that function is reformed in revocation during developing spreadsheet software Design be very important.The prior art is such that in realization electrical form revocation function when user executes operation A It waits, it would be desirable to remember current A operation, and generate an inverse operation A ' for A operation and also remember it.When user needs When carrying out destruction operation, we can execute A ' operation, so that data become the state before user's operation again, work as user When carrying out reforming operation, A operation is just executed again, returns to the state that user has executed operation.
Because of the complexity of electrical form, the operation that user executes has very how different types, often increases a user newly The type of operation, we just need for the data structure and corresponding solution to this operational design storage operation, inverse operation Analysis, application method.This process needs are expend a great deal of time and energy, and data structure cannot answer between different operations With.This results in the need for paying high development cost.
Summary of the invention
Disclosure technical problems to be solved are, for the data of the editor of the above-mentioned online electrical form of the prior art Structure is complicated, and the high defect of development cost provides edit methods, device, storage medium and the electronics of a kind of online electrical form Equipment.
The disclosure solves technical solution used by its technical problem: constructing a kind of editing side of online electrical form Method is applied to online electrical form, comprising:
Online electrical form in first state receives user's operation information;
Operational order collection and inverse operation instruction set are generated according to the user's operation information;
Executing the operational order collection makes online electrical form enter the second state by the first state;
If receiving cancel an order, executing the inverse operation instruction set returns online electrical form by second state It is back to the first state;
Wherein, the operational order collection is instructed including at least one predetermined registration operation, and the predetermined registration operation instruction includes operation Type, operation object and operation content;The inverse operation instruction set includes at least one default inverse operation instruction, it is described preset it is inverse Operational order includes action type, operation object and operation content.
Further, the edit methods of online electrical form described in the disclosure, the data format of the predetermined registration operation instruction Sequence are as follows: action type, operation object, operation content;
The data format sequence of the default inverse operation instruction are as follows: action type, operation object, operation content.
Further, the edit methods of online electrical form described in the disclosure, operation object in predetermined registration operation instruction Including object row information and object column information, the data format sequence of the predetermined registration operation instruction are as follows: action type, object row letter Breath, object column information, operation content;
Operation object includes object row information and object column information, the default inverse operation in the default inverse operation instruction The data format of instruction sorts are as follows: action type, object row information, object column information, operation content.
Preferably, the edit methods of online electrical form described in the disclosure, the predetermined registration operation instruction and default inverse behaviour In instructing action type include adding unit lattice, Delete Cells, split cell, Merge Cells, to cell row, One of setting unit sound of laughing formula, modification cell formats, Copied Cells, paste cell, cut cells are a variety of.
Further, the edit methods of online electrical form described in the disclosure, it is described raw according to the user's operation information Include: at operational order collection and inverse operation instruction set
The user's operation information is split according to preset rules and predetermined registration operation instruction, generates the operational order Collection;And
The user's operation information is split according to preset rules and the instruction of default inverse operation, generates the inverse operation Instruction set.
Further, the edit methods of online electrical form described in the disclosure, it is described raw according to the user's operation information Include: at operational order collection and inverse operation instruction set
The user's operation information is split according to preset rules and predetermined registration operation instruction, generates the operational order Collection;The user's operation information is split according to preset rules and the instruction of default inverse operation, generates the inverse operation instruction Collection;
The operational order collection and inverse operation instruction set are stored in a storage unit.
Further, the edit methods of online electrical form described in the disclosure, the execution operational order collection make Line electrical form enters the second state by the first state
The operational order is executed according to preset order and concentrates the instruction of predetermined registration operation described in each, makes online electrical form Second state is entered by the first state.
Further, the edit methods of online electrical form described in the disclosure, the execution inverse operation instruction set make Online electrical form is back to the first state by second state and includes:
It is executed according to preset order and presets inverse operation instruction described in each in the inverse operation instruction set, make online electricity Sub-table is back to the first state by second state.
Further, the edit methods of online electrical form described in the disclosure execute the inverse operation instruction set described It is back to online electrical form after the first state by second state further include:
Instruction is reformed if receiving, executing the operational order collection enters online electrical form by the first state Second state;Or
Online electrical form enters next operational phase:
Online electrical form in second state receives user's operation information;
Operational order collection and inverse operation instruction set are generated according to the user's operation information;
Executing the operational order collection makes online electrical form enter the third state by second state;
If receiving cancel an order, executing the inverse operation instruction set returns to online electrical form by the third state To second state.
In addition, the disclosure also provides a kind of editing device of online electrical form, it is applied to online electrical form, comprising:
Receiving unit receives user's operation information for the online electrical form in first state;
First instruction generation unit, for generating operational order collection and inverse operation instruction according to the user's operation information Collection;Wherein, the operational order collection includes the instruction of at least one predetermined registration operation, predetermined registration operation instruction include action type, Operation object and operation content;The inverse operation instruction set includes at least one default inverse operation instruction, the default inverse operation Instruction includes action type, operation object and operation content;
First execution unit makes online electrical form enter the by the first state for executing the operational order collection Two-state;
Revocation unit, if for receiving cancel an order, execute the inverse operation instruction set make online electrical form by Second state is back to the first state.
In addition, the disclosure also provides a kind of computer storage medium, it is stored thereon with computer program, the computer program The edit methods such as above-mentioned online electrical form are realized when being executed by processor.
In addition, the disclosure also provides a kind of electronic equipment, including memory and processor;
The memory is for storing computer program;
The processor is used to execute the edit methods that the computer program realizes such as above-mentioned online electrical form.
Implement edit methods, device, storage medium and the electronic equipment of a kind of online electrical form of the disclosure, this method It include: that the online electrical form in first state receives user's operation information;Operational order is generated according to user's operation information Collection and inverse operation instruction set;Executing operational order collection makes online electrical form enter the second state by first state;If receiving Cancel an order, then executing inverse operation instruction set makes online electrical form be back to first state by the second state;Wherein, operation refers to Enabling collection includes that at least one predetermined registration operation instructs, and predetermined registration operation instruction includes action type, operation object and operation content;Inverse behaviour Making instruction set includes at least one default inverse operation instruction, and presetting inverse operation instruction includes action type, operation object and operation Content.By implementing the disclosure, inverse operation instruction is instructed and preset using limited predetermined registration operation and constitutes operational order collection and inverse Operational order collection is realized the revocation of online electrical form and is reformed, greatly improves development efficiency, and improve stability and extension Property, it is also easy to test and safeguard.
Detailed description of the invention
The disclosure is described further below in conjunction with accompanying drawings and embodiments, in attached drawing:
Fig. 1 is a kind of flow chart of the edit methods for online electrical form that one embodiment of the disclosure provides;
Fig. 2 is a kind of flow chart of the edit methods for online electrical form that one embodiment of the disclosure provides;
Fig. 3 is a kind of flow chart of the edit methods for online electrical form that one embodiment of the disclosure provides;
Fig. 4 is a kind of structural schematic diagram of the editing device for online electrical form that one embodiment of the disclosure provides;
Fig. 5 is the structural schematic diagram for a kind of electronic equipment that one embodiment of the disclosure provides.
Specific embodiment
In order to which the technical features, objects and effects to the disclosure are more clearly understood, now compare attached drawing and be described in detail The specific embodiment of the disclosure.
Specifically, the edit object of the embodiment of the present disclosure is online electrical form, online electrical form refers to being stored in On server or cloud and the electrical form in browser or application-specific is operated in, which need to pass through networking Just it is able to achieve access and online editing.That is, the online electrical form in the embodiment of the present disclosure is different from being stored in local On computer, in the electrical form locally edited.To solve the data structure edited in the prior art complexity, development cost High defect, the embodiment of the present disclosure constitute operational order collection using the predetermined registration operation instruction and the instruction of default inverse operation of limited kinds With inverse operation instruction set, realize the revocation of online electrical form and reform, greatly improve development efficiency, and improve stability and Scalability is also easy to test and safeguard.It is illustrated below by way of specific embodiment.
With reference to Fig. 1, the edit methods of the online electrical form of the embodiment of the present disclosure are applied to online electrical form, this implementation Example realizes primary execution operational order and the revocation editor of electrical form, includes the following steps:
S1, the online electrical form in first state receive user's operation information.
Specifically, the first state of online electrical form refers to that before this editor, online electrical form is included Content and editing mode.User's operation information refer to user by mouse, keyboard, Trackpad, touch screen, camera, The operational order of the input equipments such as microphone input, operational order are transmitted through the network to the network storage position of online electrical form It sets.The generation and transmission of user's operation information can refer to the prior art, and details are not described herein for the present embodiment.
S2, operational order collection and inverse operation instruction set are generated according to user's operation information.
Specifically, include modification information namely content of edit of the user to first electrical form in user's operation information, Before the content that the modification information is converted to online electrical form, user's operation information should be converted, user is grasped The identifiable operational order of online electrical form is converted to as information.
Operational order collection and inverse operation instruction set are generated according to user's operation information in the present embodiment, comprising: according to default Rule and predetermined registration operation instruction split user's operation information, generate operational order collection, execute the operational order collection Realize that " positive operation " herein is held for destruction operation to primary " positive operation " of online electrical form Row operational order collection can be completed user and want the edit operation completed.And it is instructed according to preset rules and default inverse operation User's operation information is split, inverse operation instruction set is generated, executing inverse operation instruction set may return to online electronic watch State of the lattice before executing operational order collection.That is, the operation each time of user can all generate one group of operational order collection With inverse operation instruction set, this group of operational order collection and inverse operation instruction set are corresponded to each other, and it is opposite for executing direction.
Operational order collection is instructed including at least one predetermined registration operation in the present embodiment, and predetermined registration operation instruction includes operation class Type, operation object and operation content, the data format sequence of predetermined registration operation instruction are as follows: action type, operation object, in operation Hold, being expressed as data format is
{ action type, operation object, operation content }.
Wherein, action type includes but is not limited to adding unit lattice, Delete Cells, split cells in predetermined registration operation instruction Lattice, Merge Cells, to cell row, setting unit sound of laughing formula, modification cell formats, Copied Cells, application unit The operation such as lattice, cut cells.Operational order collection is constituted by a predetermined registration operation instruction or at least two predetermined registration operations refer to The set of order constitutes operational order collection, and the content of edit to be completed of user's operation information can be realized.It is appreciated that same behaviour A variety of operations can be realized according to the difference of operation object and operation content by making type;Different operation type to same operation object and Operation content realizes a variety of operations, i.e., can produce the default behaviour of needs by the combination of action type, operation object, operation content It instructs.
Inverse operation instruction set includes at least one default inverse operation instruction in the present embodiment, and presetting inverse operation instruction includes behaviour Make type, operation object and operation content, presets the data format sequence of inverse operation instruction are as follows: action type, operation object, behaviour Make content, being expressed as data format is
{ action type, operation object, operation content }.
Wherein, action type in inverse operation instruction is preset to include but is not limited to adding unit lattice, Delete Cells, split list First lattice, Merge Cells, to cell row, setting unit sound of laughing formula, modification cell formats, Copied Cells, paste it is single The operation such as first lattice, cut cells.Pass through the set of a default inverse operation instruction or at least two default inverse operation instructions Inverse operation instruction set is constituted, the destruction operation to be completed of user's operation information can be realized.It is appreciated that same action type A variety of destruction operations can be realized according to the difference of operation object and operation content;Different operation type is to same operation object and behaviour Make content and realize a variety of destruction operations, i.e., the default of needs can produce by the combination of action type, operation object, operation content Inverse operation instruction.
To sum up, it can be instructed by the predetermined registration operation of setting limited kinds in the present embodiment and carry out multiple combinations, Ji Keshi A variety of operations of present line electrical form.Similarly, it can be instructed by the way that the default inverse operation of limited kinds is arranged, carry out a variety of groups It closes, a variety of destruction operations of online electrical form can be realized.Complicated multi-functional finger is combined by single basic function It enables.
Further, operation object includes object row information and object column information, predetermined registration operation instruction in predetermined registration operation instruction Data format sequence are as follows: action type, object row information, object column information, operation content, then predetermined registration operation instruction data Format is
{ action type, object row information, object column information, operation content },
Now citing is illustrated: a predetermined registration operation instruction are as follows: and action:'setCell', row:1, col:1, Color:'red'}, wherein action:'setCell' indicates that the type of operation is modification cell content, row:1, col:1 Indicate the data of modification the first row first row, color:'red' indicates color being changed to red.
To this correspondence, operation object includes object row information and object column information in default inverse operation instruction, presets inverse behaviour Make the data format instructed sequence are as follows: action type, object row information, object column information, operation content preset inverse operation instruction Data format be
{ action type, object row information, object column information, operation content },
Now citing is illustrated: user has a table, and the first row first row of this table is red.User at this time An operation is performed, the first row is deleted.So this operation changeset be action:'delRow', row:1, rowCount:1}.And the inverse operation of this operation is exactly to increase a line in the position of the first row, and first cell is arranged For red, that is, includes two movements, destruction operation could be completed by the two movements.That is, the inverse operation instruction set Including two default inverse operation instructions, respectively { action:'addRow', row:1, rowCount:1 }, { action:' Destruction operation just can be achieved by this two inverse operation instructions in setCell', row:1, col:1, color:'red'}.Thus As can be seen that the predetermined registration operation instruction number of an operational order collection may be different from an inverse operation instruction set preset it is inverse Operational order quantity.
Further, operational order collection is generated according to user's operation information and inverse operation instruction set includes:
User's operation information is split according to preset rules and predetermined registration operation instruction, generates operational order collection;According to Preset rules and the instruction of default inverse operation split user's operation information, generate inverse operation instruction set.
Operational order collection and inverse operation instruction set are stored in a storage unit, can be called in subsequent use.For Prevent excessive storage operational order collection and inverse operation instruction set, the revocation step number of the settable destruction operation of system, such as Only user is allowed to recall the operation within 10 times, the operation more than 10 times cannot then be recalled again.After setting revocation step number, if Current operation step alreadys exceed 10 steps, then by storage unit more than 10 times operational order collection and inverse operation instruction set delete It removes.The specific value of revocation step number can be set as needed, and the embodiment of the present disclosure does not limit this.
S3, execution operational order collection make online electrical form enter the second state by first state.
Specifically, execute operational order collection make online electrical form by first state enter the second state include:
Operational order is executed according to preset order and concentrates the instruction of each predetermined registration operation, makes online electrical form by the first shape State enters the second state.
If S4, receiving cancel an order, executing inverse operation instruction set is back to online electrical form by the second state First state;
Specifically, executing inverse operation instruction set makes online electrical form be back to first state by the second state to include:
According to preset order execute inverse operation instruction set in each preset inverse operation instruction, make online electrical form by Second state is back to first state.
The present embodiment is instructed using predetermined registration operation and the instruction of default inverse operation constitutes operational order collection and inverse operation instruction set, Realize the primary revocation editor of online electrical form.
With reference to Fig. 2, on the basis of the above embodiments, in the edit methods of the online electrical form of the present embodiment, holding Row inverse operation instruction set is back to online electrical form after first state by the second state further include:
If S5, receiving and reforming instruction, executing operational order collection makes online electrical form enter second by first state State.
3rd embodiment
With reference to Fig. 3, on the basis of the above embodiments, after electrical form is in the second state, if user wants to online Electrical form continues to edit, then online electrical form enters next operational phase:
S61, the online electrical form in the second state receive user's operation information;
S62, operational order collection and inverse operation instruction set are generated according to user's operation information;
S63, execution operational order collection make online electrical form enter the third state by the second state;
If S64, receiving cancel an order, executing inverse operation instruction set makes online electrical form be back to the by the third state Two-state.
The above process is identical as the implementation process of first embodiment, can refer to first embodiment, and details are not described herein.
In some embodiments, enter the second state after first state editor in line electrical form, user wants modification, then It is back to first state again.After electrical form is in first state, online electrical form enters next operational phase:
Online electrical form in first state receives user's operation information;
Operational order collection and inverse operation instruction set are generated according to user's operation information, while being deleted corresponding to the second state Operational order collection and inverse operation instruction set;
Executing operational order collection makes online electrical form enter the 4th state by first state
If receiving cancel an order, executing inverse operation instruction set makes online electrical form be back to the first shape by the 4th state State.
The edit methods of the online electrical form provided above embodiments illustrate the embodiment of the present disclosure in primary revocation and It reforms editor, secondary revocation and reforms the embodiment of editor, on this basis, the revocation editor that can similarly carry out multi-step and again It does, the present embodiment is no longer repeated.
With reference to Fig. 4, the embodiment of the present disclosure also provides a kind of editing device of online electrical form, is applied to online electronic watch Lattice, the device 40 include:
Receiving unit 401 receives user's operation information for the online electrical form in first state;
First instruction generation unit 402, for generating operational order collection and inverse operation instruction set according to user's operation information; Wherein, operational order collection is instructed including at least one predetermined registration operation, and predetermined registration operation instruction includes action type, operation object and behaviour Make content;Inverse operation instruction set includes at least one default inverse operation instruction, and presetting inverse operation instruction includes action type, operation Object and operation content;
First execution unit 403 makes online electrical form enter the second shape by first state for executing operational order collection State;
Revocation unit 404, if executing inverse operation instruction set makes online electrical form by for receiving cancel an order Two-state is back to first state.
Further, in the first instruction generation unit 402, the data format sequence of predetermined registration operation instruction are as follows: action type, Operation object, operation content.The data format sequence of default inverse operation instruction are as follows: action type, operation object, operation content.
Further, in the first instruction generation unit 402, predetermined registration operation instruction in operation object include object row information and Object column information, the data format sequence of predetermined registration operation instruction are as follows: action type, object row information, object column information, in operation Hold.Operation object includes object row information and object column information in default inverse operation instruction, presets the data lattice of inverse operation instruction Formula sequence are as follows: action type, object row information, object column information, operation content.
Alternatively, in predetermined registration operation instruction and the instruction of default inverse operation action type include adding unit lattice, delete it is single It is first lattice, split cell, Merge Cells, single to cell row, setting unit sound of laughing formula, modification cell formats, duplication One of first lattice, paste cell, cut cells are a variety of.
Further, the first instruction generation unit 402 includes:
Second instruction generation unit, for being torn open according to preset rules and predetermined registration operation instruction to user's operation information Point, generate operational order collection;And user's operation information is split according to preset rules and the instruction of default inverse operation, it generates Inverse operation instruction set.
Further, the editing device of the online electrical form of the embodiment of the present disclosure is generated according to user's operation information and is operated Instruction set and inverse operation instruction set include:
Third instruction generation unit, for being torn open according to preset rules and predetermined registration operation instruction to user's operation information Point, generate operational order collection;User's operation information is split according to preset rules and the instruction of default inverse operation, generates inverse behaviour Make instruction set;
Storage unit, for operational order collection and inverse operation instruction set to be stored in a storage unit.
Further, the first execution unit 403 includes: the second execution unit, for executing operational order according to preset order The instruction of each predetermined registration operation is concentrated, online electrical form is made to enter the second state by first state.
Further, the first execution unit 403 includes: third execution unit, is referred to for executing inverse operation according to preset order It enables each concentrated preset inverse operation instruction, online electrical form is made to be back to first state by the second state.
Further, the editing device of the online electrical form of the embodiment of the present disclosure, further includes:
Unit is reformed, if reforming instruction for receiving, executing operational order collection makes online electrical form by the first shape State enters the second state;Or
Online electrical form enters next operational phase: the online electrical form in the second state receives user's operation Information;Operational order collection and inverse operation instruction set are generated according to user's operation information;Executing operational order collection makes online electronic watch Lattice enter the third state by the second state;If receiving cancel an order, executing inverse operation instruction set makes online electrical form by the Three condition is back to the second state.
In addition, the embodiment of the present disclosure also provides a kind of computer storage medium, it is stored thereon with computer program, computer journey The edit methods such as above-mentioned online electrical form are realized when sequence is executed by processor.
With reference to Fig. 5, the embodiment of the present disclosure also provides a kind of electronic equipment, including memory and processor;
Memory is for storing computer program;
Processor is used to execute the edit methods that computer program realizes such as above-mentioned online electrical form.
Below with reference to Fig. 5, it illustrates the structural representations for the electronic equipment 500 for being suitable for being used to realize the embodiment of the present disclosure Figure.Terminal device in the embodiment of the present disclosure can include but is not limited to such as mobile phone, laptop, digital broadcasting and connect Receive device, PDA (personal digital assistant), PAD (tablet computer), PMP (portable media player), car-mounted terminal (such as vehicle Carry navigation terminal) etc. mobile terminal and such as number TV, desktop computer etc. fixed terminal.Electricity shown in Fig. 5 Sub- equipment is only an example, should not function to the embodiment of the present disclosure and use scope bring any restrictions.
As shown in figure 5, electronic equipment 500 may include processing unit (such as central processing unit, graphics processor etc.) 501, random access can be loaded into according to the program being stored in read-only memory (ROM) 502 or from storage device 508 Program in memory (RAM) 503 and execute various movements appropriate and processing.In RAM 503, it is also stored with electronic equipment Various programs and data needed for 500 operations.Processing unit 501, ROM 502 and RAM 503 pass through the phase each other of bus 504 Even.Input/output (I/O) interface 505 is also connected to bus 504.
In general, following device can connect to I/O interface 505: including such as touch screen, touch tablet, keyboard, mouse, taking the photograph As the input unit 506 of head, microphone, accelerometer, gyroscope etc.;Including such as liquid crystal display (LCD), loudspeaker, vibration The output device 507 of dynamic device etc.;Storage device 508 including such as tape, hard disk etc.;And communication device 509.Communication device 509, which can permit electronic equipment 500, is wirelessly or non-wirelessly communicated with other equipment to exchange data.Although Fig. 5 shows tool There is the electronic equipment 500 of various devices, it should be understood that being not required for implementing or having all devices shown.It can be with Alternatively implement or have more or fewer devices.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable medium On computer program, which includes the program code for method shown in execution flow chart.In such reality It applies in example, which can be downloaded and installed from network by communication device 509, or from storage device 508 It is mounted, or is mounted from ROM502.When the computer program is executed by processing unit 501, the embodiment of the present disclosure is executed Method in the above-mentioned function that limits.
It should be noted that the above-mentioned computer-readable medium of the disclosure can be computer-readable signal media or meter Calculation machine storage medium either the two any combination.Computer storage medium for example may be-but not limited to- Electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination.Computer storage The more specific example of medium can include but is not limited to: have electrical connection, the portable computer magnetic of one or more conducting wires Disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable programmable read only memory (EPROM or sudden strain of a muscle Deposit), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device or above-mentioned appoint The suitable combination of meaning.In the embodiments of the present disclosure, computer storage medium can be any tangible Jie for including or store program Matter, the program can be commanded execution system, device or device use or in connection.And in the embodiment of the present disclosure In, computer-readable signal media may include in a base band or as the data-signal that carrier wave a part is propagated, wherein holding Computer-readable program code is carried.The data-signal of this propagation can take various forms, including but not limited to electromagnetism Signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer storage medium with Outer any computer-readable medium, the computer-readable signal media can be sent, propagated or transmitted for being held by instruction Row system, device or device use or program in connection.The program code for including on computer-readable medium It can transmit with any suitable medium, including but not limited to: electric wire, optical cable, RF (radio frequency) etc. or above-mentioned any conjunction Suitable combination.
Above-mentioned computer-readable medium can be included in above-mentioned electronic equipment;It is also possible to individualism, and not It is fitted into the electronic equipment.
Above-mentioned computer-readable medium carries one or more program, when said one or multiple programs are by the electricity When sub- equipment executes, so that the electronic equipment: obtaining at least two internet protocol addresses;Send to Node evaluation equipment includes extremely The Node evaluation request of few two internet protocol addresses, wherein Node evaluation equipment is from least two internet protocol addresses, choosing It takes internet protocol address and returns;The internet protocol address that receiving node valuator device returns;Wherein, acquired Internet protocol Address indicates the fringe node in content distributing network.
Alternatively, above-mentioned computer-readable medium carries one or more program, when said one or multiple programs When being executed by the electronic equipment, so that the electronic equipment: receiving the Node evaluation including at least two internet protocol addresses and request; From at least two internet protocol addresses, internet protocol address is chosen;Return to the internet protocol address selected;Wherein, it receives To internet protocol address instruction content distributing network in fringe node.
The operation for executing the embodiment of the present disclosure can be write with one or more programming languages or combinations thereof Computer program code, above procedure design language include object oriented program language-such as Java, Smalltalk, C++ further include conventional procedural programming language-such as " C " language or similar program design language Speech.Program code can be executed fully on the user computer, partly be executed on the user computer, as an independence Software package execute, part on the user computer part execute on the remote computer or completely in remote computer or It is executed on server.In situations involving remote computers, remote computer can pass through the network of any kind --- packet It includes local area network (LAN) or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as benefit It is connected with ISP by internet).
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the disclosure, method and computer journey The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation A part of one module, program segment or code of table, a part of the module, program segment or code include one or more use The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually It can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it to infuse Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction Combination realize.
Being described in unit involved in the embodiment of the present disclosure can be realized by way of software, can also be by hard The mode of part is realized.Wherein, the title of unit does not constitute the restriction to the unit itself under certain conditions, for example, the One acquiring unit is also described as " obtaining the unit of at least two internet protocol addresses ".
By implement the disclosure, instruct and preset using limited predetermined registration operation inverse operation instruction constitute operational order collection and Inverse operation instruction set is realized the revocation of online electrical form and is reformed, greatly improves development efficiency, and improve stability and expansion Malleability is also easy to test and safeguard.
Above embodiments are only to illustrate the technical concepts and features of the disclosure, and its object is to allow person skilled in the art Scholar can understand content of this disclosure and implement accordingly, the protection scope not limited the disclosure.It is all to be wanted with disclosure right The equivalent changes and modifications that range is done are sought, should belong to the covering scope of disclosure claim.

Claims (12)

1. a kind of edit methods of online electrical form are applied to online electrical form characterized by comprising
Online electrical form in first state receives user's operation information;
Operational order collection and inverse operation instruction set are generated according to the user's operation information;
Executing the operational order collection makes online electrical form enter the second state by the first state;
If receiving cancel an order, executing the inverse operation instruction set is back to online electrical form by second state The first state;
Wherein, the operational order collection includes the instruction of at least one predetermined registration operation, predetermined registration operation instruction include action type, Operation object and operation content;The inverse operation instruction set includes at least one default inverse operation instruction, the default inverse operation Instruction includes action type, operation object and operation content.
2. the edit methods of online electrical form according to claim 1, which is characterized in that the predetermined registration operation instruction Data format sequence are as follows: action type, operation object, operation content;
The data format sequence of the default inverse operation instruction are as follows: action type, operation object, operation content.
3. the edit methods of online electrical form according to claim 2, which is characterized in that in the predetermined registration operation instruction Operation object includes object row information and object column information, the data format sequence of the predetermined registration operation instruction are as follows: action type, Object row information, object column information, operation content;
Operation object includes object row information and object column information, the default inverse operation instruction in the default inverse operation instruction Data format sequence are as follows: action type, object row information, object column information, operation content.
4. the edit methods of online electrical form according to claim 1, which is characterized in that predetermined registration operation instruction and In default inverse operation instruction action type include adding unit lattice, Delete Cells, split cell, Merge Cells, to list First grillages sequence, setting unit sound of laughing formula, modification cell formats, Copied Cells, paste cell, one in cut cells Kind is a variety of.
5. the edit methods of online electrical form according to claim 1, which is characterized in that described to be grasped according to the user Make information generation operational order collection and inverse operation instruction set includes:
The user's operation information is split according to preset rules and predetermined registration operation instruction, generates the operational order collection; And
The user's operation information is split according to preset rules and the instruction of default inverse operation, generates the inverse operation instruction Collection.
6. the edit methods of online electrical form according to claim 5, which is characterized in that described to be grasped according to the user Make information generation operational order collection and inverse operation instruction set includes:
The user's operation information is split according to preset rules and predetermined registration operation instruction, generates the operational order collection; The user's operation information is split according to preset rules and the instruction of default inverse operation, generates the inverse operation instruction set;
The operational order collection and inverse operation instruction set are stored in a storage unit.
7. the edit methods of online electrical form according to claim 1, which is characterized in that the execution operation refers to Order collection makes online electrical form enter the second state by the first state
The operational order is executed according to preset order and concentrates the instruction of predetermined registration operation described in each, makes online electrical form by institute First state is stated into the second state.
8. the edit methods of online electrical form according to claim 1, which is characterized in that described to execute the inverse operation Instruction set makes online electrical form be back to the first state by second state
It is executed according to preset order and presets inverse operation instruction described in each in the inverse operation instruction set, make online electronic watch Lattice are back to the first state by second state.
9. the edit methods of online electrical form according to claim 1, which is characterized in that execute the inverse behaviour described Online electrical form is back to after the first state by second state as instruction set further include:
Instruction is reformed if receiving, executing the operational order collection makes online electrical form enter second by the first state State;Or
Online electrical form enters next operational phase:
Online electrical form in second state receives user's operation information;
Operational order collection and inverse operation instruction set are generated according to the user's operation information;
Executing the operational order collection makes online electrical form enter the third state by second state;
If receiving cancel an order, executing the inverse operation instruction set makes online electrical form be back to institute by the third state State the second state.
10. a kind of editing device of online electrical form is applied to online electrical form characterized by comprising
Receiving unit receives user's operation information for the online electrical form in first state;
First instruction generation unit, for generating operational order collection and inverse operation instruction set according to the user's operation information;Its In, the operational order collection is instructed including at least one predetermined registration operation, and the predetermined registration operation instruction includes action type, operation pair As and operation content;The inverse operation instruction set includes at least one default inverse operation instruction, the default inverse operation instruction packet Include action type, operation object and operation content;
First execution unit makes online electrical form enter the second shape by the first state for executing the operational order collection State;
Revocation unit, if executing the inverse operation instruction set makes online electrical form by described for receiving cancel an order Second state is back to the first state.
11. a kind of computer storage medium, is stored thereon with computer program, which is characterized in that the computer program is located Manage the edit methods that the online electrical form as described in any one of claim 1-9 is realized when device executes.
12. a kind of electronic equipment, which is characterized in that including memory and processor;
The memory is for storing computer program;
The processor realizes such as the described in any item online electrical forms of claim 1-9 for executing the computer program Edit methods.
CN201811301074.3A 2018-11-02 2018-11-02 Edit methods, device, storage medium and the electronic equipment of online electrical form Pending CN109597978A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811301074.3A CN109597978A (en) 2018-11-02 2018-11-02 Edit methods, device, storage medium and the electronic equipment of online electrical form

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811301074.3A CN109597978A (en) 2018-11-02 2018-11-02 Edit methods, device, storage medium and the electronic equipment of online electrical form

Publications (1)

Publication Number Publication Date
CN109597978A true CN109597978A (en) 2019-04-09

Family

ID=65958217

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811301074.3A Pending CN109597978A (en) 2018-11-02 2018-11-02 Edit methods, device, storage medium and the electronic equipment of online electrical form

Country Status (1)

Country Link
CN (1) CN109597978A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112151152A (en) * 2020-09-27 2020-12-29 武汉联影智融医疗科技有限公司 Misoperation processing method and device, computer equipment and storage medium
CN115879429A (en) * 2023-02-01 2023-03-31 天津联想协同科技有限公司 Spreadsheet verification method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102999482A (en) * 2011-12-12 2013-03-27 微软公司 Technique for managing collaborative documents
CN105740131A (en) * 2014-12-09 2016-07-06 深圳中兴力维技术有限公司 Software user behavior backoff processing method and apparatus
CN106134104A (en) * 2014-03-19 2016-11-16 骁阳网络有限公司 There is the double flat row MZ Mach-Zehnder device of the driving voltage of predistortion
CN106610923A (en) * 2015-10-26 2017-05-03 北京国双科技有限公司 Method and device for revoking cell of webpage table

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102999482A (en) * 2011-12-12 2013-03-27 微软公司 Technique for managing collaborative documents
CN106134104A (en) * 2014-03-19 2016-11-16 骁阳网络有限公司 There is the double flat row MZ Mach-Zehnder device of the driving voltage of predistortion
CN105740131A (en) * 2014-12-09 2016-07-06 深圳中兴力维技术有限公司 Software user behavior backoff processing method and apparatus
CN106610923A (en) * 2015-10-26 2017-05-03 北京国双科技有限公司 Method and device for revoking cell of webpage table

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112151152A (en) * 2020-09-27 2020-12-29 武汉联影智融医疗科技有限公司 Misoperation processing method and device, computer equipment and storage medium
CN112151152B (en) * 2020-09-27 2023-07-21 武汉联影智融医疗科技有限公司 Misoperation processing method, device, computer equipment and storage medium
CN115879429A (en) * 2023-02-01 2023-03-31 天津联想协同科技有限公司 Spreadsheet verification method and device, electronic equipment and storage medium
CN115879429B (en) * 2023-02-01 2023-06-27 天津联想协同科技有限公司 Electronic form verification method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN109597617A (en) The method and apparatus for quickly generating the business page based on template
CN110516462A (en) Method and apparatus for encryption data
CN109727301A (en) Generate method, apparatus, electronic equipment and the storage medium of dynamic wallpaper
CN109872276A (en) Method and apparatus for generating image super-resolution model
CN110287473A (en) Electrical form edit methods and device
CN109510881A (en) Method, apparatus, electronic equipment and the readable storage medium storing program for executing of sharing files
CN109710905A (en) Document synergic editing method, device, storage medium and electronic equipment
CN110070592B (en) Generation method and device of special effect package and hardware device
WO2023104006A1 (en) Image special effect package generation method and apparatus, device, and storage medium
CN109492200A (en) Cooperated documents restoring method, device, storage medium and electronic equipment
CN109597978A (en) Edit methods, device, storage medium and the electronic equipment of online electrical form
CN110390493A (en) Task management method, device, storage medium and electronic equipment
US20240119216A1 (en) Method and apparatus, electronic device and storage media for content presentation
CN110209462A (en) Window arranging method, device and equipment
CN110413367A (en) Task creation method, apparatus, storage medium and electronic equipment
CN115022106B (en) Group information processing method, device, equipment and medium
CN113343259B (en) SM 2-based joint signature realization method and device, electronic equipment and storage medium
CN109992733A (en) Method, apparatus, electronic equipment and the storage medium that information is shared
CN111199519B (en) Method and device for generating special effect package
CN112148417A (en) Page adjusting method and device, electronic equipment and computer readable medium
CN109147747A (en) A kind of method, playback equipment, server and system loading tuning parameter
CN110472220A (en) Processing method, device, electronic equipment and the computer readable storage medium of paste operation
WO2021018176A1 (en) Text special effect processing method and apparatus
CN109410970A (en) Method and apparatus for generating audio data
WO2023098609A1 (en) Method and apparatus for generating image special effect package, device, 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190409

RJ01 Rejection of invention patent application after publication