CN109710908A - Page editing method, system and device - Google Patents
Page editing method, system and device Download PDFInfo
- Publication number
- CN109710908A CN109710908A CN201811584077.2A CN201811584077A CN109710908A CN 109710908 A CN109710908 A CN 109710908A CN 201811584077 A CN201811584077 A CN 201811584077A CN 109710908 A CN109710908 A CN 109710908A
- Authority
- CN
- China
- Prior art keywords
- page
- component
- server
- target element
- data
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 36
- 230000004044 response Effects 0.000 claims abstract description 38
- 238000003860 storage Methods 0.000 claims abstract description 31
- 230000004913 activation Effects 0.000 claims description 21
- 238000004891 communication Methods 0.000 claims description 11
- 238000010586 diagram Methods 0.000 description 13
- 238000012545 processing Methods 0.000 description 5
- 230000008859 change Effects 0.000 description 3
- 241001269238 Data Species 0.000 description 2
- 230000000712 assembly Effects 0.000 description 2
- 238000000429 assembly Methods 0.000 description 2
- 230000006399 behavior Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 230000015572 biosynthetic process Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 238000004321 preservation Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000007717 exclusion Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Landscapes
- Document Processing Apparatus (AREA)
Abstract
The embodiment of the present application provides a kind of page editing method, system and device.This method is applied to the page editing system being made of the server communicated to connect and at least one editing equipment.Whether editing equipment sends inquiry target element can inquiry request to be edited after determining that a component at least one component that the page to be edited includes is target element, to server;If the response message returned by server according to the current state of target element received is editable, editing equipment then receives the edit operation to target element, and the component edits data generated according to edit operation are sent to server, so that server is updated the module data corresponding with target element in the page data of the page to be edited of storage.As a result, can more people edit the same page simultaneously, avoid the problem that page editing can only single user operation bring inefficiency, and be not in due to more people while the case where edit the same page and data is caused to be reduced.
Description
Technical field
This application involves Internet technical fields, in particular to a kind of page editing method, system and device.
Background technique
Various page editing tools save the mode of data at present are as follows: the page data of full page is all submitted to clothes
Business device is updated by the covering that server does full dose.This mode does not support multiple users while editing the same page.If more
A user edits the different module datas of the same page, and having partial data in the record submitted after just will appear is other users
Data before modification result in server when the covering for doing full dose updates in this way, the data convert that will can first submit.
Summary of the invention
In order to overcome above-mentioned deficiency in the prior art, the embodiment of the present application is designed to provide a kind of page editing side
Method, system and device can make more people while edit the same page, and be not in due to more people while to edit same
A page and the case where cause data to be reduced.
In a first aspect, the embodiment of the present application provides a kind of page editing method, it is applied to page editing system, the system
Including the server of communication connection and at least one editing equipment, which comprises
The editing equipment determines at least one component that the page to be edited includes according to the selection operation received
Whether one component is target element, and send to the server and inquire the target element can inquiry request to be edited;
The server is after receiving the inquiry request, according to the current state of the target element of storage to institute
It states editing equipment and returns to response message, wherein the response message includes editable and non-editable;
If the response message is editable, the editing equipment receives the edit operation to the target element, and
The component edits data generated according to the edit operation are sent to the server after completing the editing;
The server is according to the component edits data received to the page data of the page to be edited of storage
In module data corresponding with the target element be updated, wherein the page data include in the page to be edited
The corresponding module data of each component.
Second aspect, the embodiment of the present application provide a kind of page editing system, and the system comprises the services of communication connection
Device and at least one editing equipment,
The editing equipment, for according to the selection operation that receives at least one component that the page to be edited includes
Determine that a component is target element, and send to the server inquire the target element whether can inquiry to be edited ask
It asks;
The server, for after receiving the inquiry request, according to the current shape of the target element of storage
State returns to response message to the editing equipment, wherein the response message includes editable and non-editable;
If the response message is editable, the editing equipment is also used to receive the editor behaviour to the target element
Make, and the component edits data generated according to the edit operation are sent to the server after completing the editing;
The server is also used to the page according to the component edits data received to the page to be edited of storage
Module data corresponding with the target element in face data is updated, wherein the page data include with it is to be edited
The corresponding module data of each of page part.
The third aspect, the embodiment of the present application provides a kind of page editing device, applied to the volume connecting with server communication
Equipment is collected, described device includes:
Enquiry module, for being determined at least one component that the page to be edited includes according to the selection operation received
Whether one component is target element, and send to the server and inquire the target element can inquiry request to be edited;
Receiving module, for being answered by the server according to what the current state of the target element returned what is received
When to answer information be editable, edit operation to the target element is received, and will grasp after completing the editing according to the editor
The component edits data for making to generate are sent to the server, so that the page of the server to the page to be edited of storage
Module data corresponding with the target element in data is updated, wherein the page data includes and page to be edited
The corresponding module data of each of face part.
In terms of existing technologies, the application has the advantages that
The embodiment of the present application provides a kind of page editing method, system and device.The system includes the service of communication connection
Device and at least one editing equipment.Editing equipment is being received for selecting from least one component that the page to be edited includes
After one component is as the selection operation of target element, target element is determined, then send to server and inquire the target element
Whether editable inquiry request.The current state of component is stored in server, after receiving the inquiry request, according to
The current state of the target element returns to editable response message or not editable response message to the editing equipment.?
When response message is editable, the editing equipment receives the edit operation edited to target element, and according to the editor
Formation component editor data are operated, corresponding component edits data are then sent to the server after completing the editing.Institute
State server then according to the component edits data that receive in the page data of the page to be edited of storage with institute
The corresponding module data of target element is stated to be updated.Wherein, the page data includes each of with the page to be edited
The corresponding module data of part.As a result, can more people edit different components in the same page simultaneously, and since component is edited
The related data for providing the component afterwards is not the related data of full page, therefore data will not occurs and be reduced
The case where.
For enable application above objects, features, and advantages be clearer and more comprehensible, the application preferred embodiment is cited below particularly, and
Cooperate appended attached drawing, is described in detail below.
Detailed description of the invention
Technical solution in ord to more clearly illustrate embodiments of the present application, below will be to needed in the embodiment attached
Figure is briefly described, it should be understood that the following drawings illustrates only some embodiments of the application, therefore is not construed as pair
The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this
A little attached drawings obtain other relevant attached drawings.
Fig. 1 is the block diagram of page editing system provided by the embodiments of the present application.
Fig. 2 is the block diagram of the editing equipment in Fig. 1.
Fig. 3 is one of the flow diagram of page editing method provided by the embodiments of the present application.
Fig. 4 is the two of the flow diagram of page editing method provided by the embodiments of the present application.
Fig. 5 is the three of the flow diagram of page editing method provided by the embodiments of the present application.
Fig. 6 is the block diagram of page editing device provided by the embodiments of the present application.
Icon: 100- editing equipment;110- memory;120- storage control;130- processor;200- server;
400- page editing device;410- enquiry module;420- receiving module.
Specific embodiment
Below in conjunction with attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete
Ground description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.Usually exist
The component of the embodiment of the present application described and illustrated in attached drawing can be arranged and be designed with a variety of different configurations herein.Cause
This, is not intended to limit claimed the application's to the detailed description of the embodiments herein provided in the accompanying drawings below
Range, but it is merely representative of the selected embodiment of the application.Based on embodiments herein, those skilled in the art are not being done
Every other embodiment obtained under the premise of creative work out, shall fall in the protection scope of this application.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi
It is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing.Meanwhile the application's
In description, term " first ", " second " etc. are only used for distinguishing description, are not understood to indicate or imply relative importance.
Before present inventor proposes the technical solution in the embodiment of the present application, existing page editing is will to edit
The page as an independent entirety, be that the data of full page are all submitted into server when saving edited result
It is saved.This mode is due to when being applied to more people while editing a page, it may appear that the page data submitted afterwards is complete
The page data saved that all standing is first submitted, therefore which is not particularly suited for more people while editing the feelings of the same page
Condition.
To avoid data from being reduced, part edit tool has used the mode of page mutual exclusion, that is, a page same time
Can only a user edit.That is, the case where needing more people to edit different piece component respectively the same page, needs
It wants people modification to reinform another person after the completion to continue to modify the data for oneself needing to modify.If do not assisted between multiple personnel
The case where mixing up, just will appear the data convert that personnel modify front personnel below, and editorial efficiency under which and
Assist program lower.
For defect present in above scheme, be inventor being obtained after testing and carefully studying as a result,
Therefore, the discovery procedure of the above problem and the solution that hereinafter the embodiment of the present application is proposed regarding to the issue above, all
It should be the contribution that inventor makes the application during the application.
Fig. 1 is please referred to, Fig. 1 is the block diagram of page editing system provided by the embodiments of the present application.The page editing
System includes the server 200 and at least one editing equipment 100 of communication connection.Wherein, editing equipment 100 makes as editing machine
With.Each editing equipment 100 is used to be edited according to the component that the edit operation received is treated in edit page, and will compile
The related data of component after volume is sent to the server 200 and is stored.The server 200 is used to set receiving editor
After the related data of standby 100 components sent, the data relevant to the page to be edited of storage are updated.It as a result, can be more
People edits the same page, and since each component is taken as an entirety, editing equipment 100 is to send some when sending data
The data of component, rather than the data of the entire page to be edited, therefore server 200 will not occur counting when saving data
The case where according to reduction.Wherein, above-mentioned server 200 can be separate server, be also possible to be made of multiple separate servers
Cluster server.
Referring to figure 2., Fig. 2 is the block diagram of the editing equipment 100 in Fig. 1.The editing equipment 100 can be, but
It is not limited to, PC (personal computer, PC), tablet computer, personal digital assistant (personal digital
Assistant, PDA), mobile internet surfing equipment (mobile Internet device, MID) etc..The editing equipment 100 can wrap
It includes: memory 110, storage control 120, processor 130 and page editing device 400.
It is directly or indirectly electrically connected between the memory 110, storage control 120 and each element of processor 130,
To realize the transmission or interaction of data.For example, these elements can pass through one or more communication bus or signal wire between each other
It realizes and is electrically connected.Page editing device 400 is stored in memory 110, the page editing device 400 includes at least one
The software function module that can be stored in the form of software or firmware (firmware) in the memory 110.The processor
130 software programs and module being stored in memory 110 by operation, such as the page editing device in the embodiment of the present application
400, thereby executing various function application and data processing, i.e. page editing method in realization the embodiment of the present application.
Wherein, the memory 110 may be, but not limited to, random access memory (Random Access
Memory, RAM), read-only memory (Read Only Memory, ROM), programmable read only memory (Programmable
Read-Only Memory, PROM), erasable read-only memory (Erasable Programmable Read-Only
Memory, EPROM), electricallyerasable ROM (EEROM) (Electric Erasable Programmable Read-Only
Memory, EEPROM) etc..Wherein, memory 110 is for storing program, the processor 130 after receiving and executing instruction,
Execute described program.The processor 130 and other possible components can control the access of memory 110 in the storage
It is carried out under the control of device 120.
The processor 130 may be a kind of IC chip, the processing capacity with signal.Above-mentioned processor
130 can be general processor, including central processing unit (Central Processing Unit, CPU), network processing unit
(Network Processor, NP) etc..It can also be digital signal processor (DSP), specific integrated circuit (ASIC), scene
Programmable gate array (FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hardware group
Part.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present application.General processor can be with
It is that microprocessor or the processor are also possible to any conventional processor etc..
It is appreciated that structure shown in Fig. 2 is only to illustrate, editing equipment 100 may also include it is more than shown in Fig. 2 or
Less component, or with the configuration different from shown in Fig. 2.Each component shown in Fig. 2 can using hardware, software or its
Combination is realized.
Referring to figure 3., Fig. 3 is one of the flow diagram of page editing method provided by the embodiments of the present application.This method
Applied to the page editing system.The detailed process of page editing method is described in detail below.
Step S110, the editing equipment 100 include in the page to be edited according to the selection operation received at least one
It determines that a component is target element in a component, and is sent to the server 200 and inquire the target element whether can quilt
The inquiry request of editor.
In the present embodiment, each component is individually whole as one, and a page is made of several components.To packet
Include at least one component the page to be edited edited before, the editing equipment 100 can first according to receive selection behaviour
Make to determine that a component in the page to be edited is target element, in the edit operation that the target element is edited in reception
Before, Xiang Suoshu server 200 sends inquire the target element whether can inquiry request to be edited.Wherein, target element is to be somebody's turn to do
I.e. by component to be edited in the page to be edited.
Step S120, the server 200 is after receiving the inquiry request, according to the target element of storage
Current state returns to response message to the editing equipment 100.
In the present embodiment, the current state of each component is preserved in the server 200.The current state includes
State of activation and unactivated state.State of activation indicates that corresponding component is being edited by other editing equipments 100 at this time, does not swash
State living indicates that corresponding component is not edited by any one editing equipment 100 at this time.It is in the current state of target element
When state of activation, since other editing equipments 100 are editing target element, which cannot be right
Target element is edited.When the current state of target element is unactivated state, just due to no any editing equipment 100
It is edited to target element, therefore the editing equipment 100 can edit target element.The server 200 is connecing
After receiving the inquiry request sent by the editing equipment 100, the target can be obtained by inquiring the current state of all components
Then the current state of component returns to editable or can not to the editing equipment 100 according to the current state of the target element
The response message of editor.
That is, needing first to activate the component before user edits the component in the page to be edited by editing equipment 100
Editing mode, after component is activated, the current state that the component can be arranged in server 200 is state of activation, and according to the shape
State forbids other users that the component is activated to be edited.Of course, it should be understood that the current state of only component is un-activation
When state, which can just activate the editing mode of the component.Similarly, if component is activated by other users, i.e. the group
The current state of part is state of activation, then active user can not edit the component.As shown in Figure 1, if a component
It is activated by editing equipment 100a, then editing equipment 100b cannot then edit the component at this time.
Optionally, it in an embodiment of the present embodiment, is stored in the server 200 and is identified with each component
Corresponding current state, the inquiry request include the target element mark of target element.The server 200 can be by following
Mode returns to response message to the editing equipment 100.The server 200 is inquired according to target element mark first
To the current state of the target element.Wherein, the current state includes unactivated state and state of activation.Described current
When state is unactivated state, editable response message is returned to the editing equipment 100 by the server 200.Institute
State current state be state of activation when, editable response message is returned to the editing equipment by the server 200
100.Wherein, the response message is not editable, indicates that the target element cannot be edited by the editing equipment 100, i.e.,
The editing equipment 100 that the inquiry request cannot be sent is edited.Thus, it is ensured that the same time can only have a user to edit together
One component, and then there is no editors to conflict for the same component of guarantee.
Step S130, if the response message is editable, the editing equipment 100 is received to the target element
Edit operation, and the component edits data generated according to the edit operation are sent to the server after completing the editing
200。
In the present embodiment, the response message received is editable, indicates that the target element can be described in sending
The editing equipment 100 of inquiry request is edited.Therefore, in this case, which, which can receive, carries out target element
Then the edit operation of editor generates corresponding component edits data according to the edit operation received, then complete in editor
The component edits data are sent to the server 200 afterwards, so that the server 200 is stored.Which is due to mentioning
The data of friendship are the related data of target element to be edited, are not the page datas of the entire page to be edited, it is thus ensured that
The data of the other assemblies of the page to be edited stored in the server 200 will not change.
Optionally, each in the page to be edited to be stored convenient for the server 200 in the embodiment of the present embodiment
The data of component, the editing equipment 100 can identify the target element of component edits data and corresponding target element together
It is sent to the server 200.
Optionally, the component edits data can be that target element is edited, all data of the target element;?
It can be only by the data of edit segment.In an embodiment of the present embodiment, which is this target
Component edited after the completion of all data.
Step S140, the server 200 is according to the component edits data received to the page to be edited of storage
Module data corresponding with the target element in the page data in face is updated.
In the present embodiment, the page data includes module data corresponding with each of the page to be edited part.
The server 200 according to the component edits data received to the module data corresponding with the target element of preservation into
Row updates, and the page data to guarantee storage is identical as the page data of the actual page to be edited.
Optionally, the page data of the page to be edited includes a plurality of module data, every bar assembly data and the page to be edited
In a component it is corresponding.Some component in the page to be edited is edited, and server 200 is to corresponding group of the component
Number of packages evidence is updated.
Optionally, in an embodiment of the present embodiment, the server 200 is compiled according to the component received
Data are collected to be updated the module data corresponding with the target element in the page data of the page to be edited of storage
The step of include:
The server 200 is identified according to the target element and is searched and the target element mark in the page data
Know corresponding module data;
The server 200 according to the component edits data pair module data corresponding with target element mark into
Row updates.
In the present embodiment, it to guarantee that one component of synchronization can only at most have an editing equipment 100 to edit, avoids
Editor's conflict, it is therefore desirable to ensure that the current state of each component stored in the server 200 is consistent with actual conditions, institute
Server 200 is stated to need in time to be updated the current state of the component of storage.
Optionally, in the present embodiment, the method can also include:
After determining that the editing equipment 100 can be to the target element editor, the server 200 is by the target group
The current state of part is updated to state of activation;
After determining that the editing equipment 100 is completed to the editor of the target element, the server 200 is by the mesh
The current state of mark component is updated to unactivated state.
If the current state of the corresponding target element of inquiry request of the editing equipment 100 is unactivated state, described
Server 200 can then determine that the editing equipment 100 can edit the target element.In this case, institute
Stating server 200 then can be updated to state of activation by unactivated state for the current state of the target element, to guarantee the mesh
Mark component is edited in the editing equipment 100 that the next time can only be sent the inquiry request.Optionally, the server
200 can be after the current state for obtaining target element according to the inquiry request be unactivated state, just by the current state
State of activation is updated to by unactivated state, alternatively, the server 200 returned to the editing equipment 100 it is editable
When response message, the current state of the target element is updated.
If the current state of the corresponding target element of inquiry request of the editing equipment 100 is state of activation, the clothes
Business device 200 then need to only return to not editable response message, not need to be updated the current state of the target element.
The server 200 is receiving the confirmation message completed by the editor that the editing equipment 100 is sent, or receives
It can to the component edits data, or after being updated according to the component edits data to the module data in page data etc.
After being completed with the determination editing equipment 100 to the editor of the target element, the server 200 is by the target element
Current state is updated to unactivated state.The condition that state of activation can be updated to unactivated state by specific determination can be according to reality
Border demand determines.
Of course, it should be understood that above are only for example, can also be updated at other moment, as long as guaranteeing root
May make synchronization at most according to the current state can only have an editing equipment 100 to edit a component.
Referring to figure 4., Fig. 4 is the two of the flow diagram of page editing method provided by the embodiments of the present application.In step
After S140, the method can also include step S150.
The component edits data received are sent to every in the system by step S150, the server 200
A editing equipment 100, so that the corresponding page data of the page to be edited and the server 200 that each editing equipment 100 is shown
The page data of preservation is identical.
In the present embodiment, module data corresponding with target element in the page data of 200 pairs of server storages
After being updated, each editing equipment 100 which can be sent in the system.Each editing equipment 100 exists
After receiving the data relevant to component that the server 200 is sent, the page to be edited currently shown is updated, with
Guarantee the page stored in the corresponding page data of the page to be edited and server 200 of each display of editing equipment 100
The page data in face is consistent.
Referring to figure 5., Fig. 5 is the three of the flow diagram of page editing method provided by the embodiments of the present application.In this reality
It applies in example, the method can also include step S101~step S103, to add component to the page to be edited.
Step S101, the editing equipment 100 according to the component addition operation received by a component be added to it is described to
In edit page, and the module data for being added component is sent to the server 200.
Step S102, the server 200 are added component after receiving this and being added the module data of component for this
Component mark is distributed, and the module data, corresponding component mark, corresponding current state are saved.
Wherein, the current state is state of activation.
Step S103, the server 200 identifies the component for being added component and module data is sent to the system
Interior each editing equipment 100, so that the corresponding page data of the page to be edited of the display of each editing equipment 100 and the service
The page data that device 200 saves is identical.
In the present embodiment, the editing equipment 100 shows the page to be edited, and the editing equipment 100 can be according to connecing
Some component in the Component Gallery for being stored with multiple components is added in the page to be edited by the component addition operation received.?
After the completion of addition, the module data for being added component is sent to the server 200 by the editing equipment 100.The service
Device 200 receive that the editing equipment 100 sends this be added the module data of component after, can be component distribution one
A component mark unique in the page to be edited, and the module data that the component identified and be added component is protected
It deposits.It also, is that editing equipment 100 adds since this is added component, this is added component and will not necessarily be compiled at this time by other
Volume equipment 100 is edited, thus at this time this be added component be for the editing equipment 100 it is editable, the server 200 exists
When saving the module data for being added component and corresponding component mark, the current state of the component can be saved simultaneously as activation shape
State.
The module data for being added component and corresponding component mark are then sent to institute by the following server 200
State each editing equipment 100 in system.Each editing equipment 100 is after receiving the module data, then in the page to be edited
It is middle to show that this increased newly is added component.Also, each editing equipment 100 has also obtained the component for being added component mark,
The subsequent component mark that component can be added according to this inquires this and is added whether component can be edited.
In the present embodiment, the current state of each component in the page to be edited, editing equipment are stored in server 200
Whether 100 before to some component edits, need to send to server 200 and inquire the component can inquiry request to be edited.Clothes
Device 200 be engaged in then according to the current state of each component of storage return editable or not editable response message.It thus can be real
When editing the same page to be edited, the same time only has a user and edits the same component existing multi-user, it is ensured that same
There is no editors to conflict for one component.Meanwhile it is edited in component, what editing equipment 100 was submitted is component related data,
It is not full page data, therefore the module data that can really wrap other assemblies on the page to be edited will not change.Thus may be used
Know, the application scenarios of the expansible editing equipment 100 of aforesaid way, improve page editing efficiency, and at the same time guaranteeing to go wrong
A possibility that it is small.
Referring once again to Fig. 1, the embodiment of the present application also provides a kind of page editing system.The page editing system can be with
Server 200 and at least one editing equipment 100 including communication connection.
The editing equipment 100, at least one group for including in the page to be edited according to the selection operation received
It determines that a component is target element in part, and is sent to the server 200 and inquire whether the target element can be edited
Inquiry request.
The server 200, for after receiving the inquiry request, according to the current of the target element of storage
State returns to response message to the editing equipment 100.Wherein, the response message includes editable and non-editable.
If the response message is editable, the editing equipment 100 is also used to receive the editor to the target element
Operation, and the component edits data generated according to the edit operation are sent to the server 200 after completing the editing.
The server 200 is also used to the page to be edited according to the component edits data received to storage
Page data in module data corresponding with the target element be updated.Wherein, the page data include with to
The corresponding module data of each of edit page part.
Optionally, in the present embodiment, the server 200 is also used to determining that the editing equipment 100 can be to described
After target element editor, the current state of the target element is updated to state of activation.The server 200, is also used to
After determining that the editing equipment 100 is completed to the editor of the target element, the current state of the target element is updated to
Unactivated state.
Optionally, in the present embodiment, the editing equipment 100, being also used to will according to the component addition operation received
One component is added in the page to be edited, and the module data for being added component is sent to the server 200.It is described
Server 200 is also used to after receiving this and being added the module data of component, is added component for this and is distributed a component mark
Know, and the module data, corresponding component mark, corresponding current state are saved.Wherein, the current state is sharp
State living.The server 200 is also used to that the component mark and module data or the component received of component will be added
Editor's data are sent to each editing equipment 100 in the system, so that the page to be edited that each editing equipment 100 is shown
Corresponding page data is identical as the page data that the server 200 saves.
In the present embodiment, the specific descriptions about the page editing system are referred to above to page editing method
Description, details are not described herein.
Fig. 6 is please referred to, Fig. 6 is the block diagram of page editing device 400 provided by the embodiments of the present application.The page
Editing device 400 is applied to the editing equipment 100 communicated to connect with server 200.The page editing device 400 may include
Enquiry module 410 and receiving module 420.
The enquiry module 410, at least one group for including in the page to be edited according to the selection operation received
It determines that a component is target element in part, and is sent to the server 200 and inquire whether the target element can be edited
Inquiry request.
The receiving module 420, in the current shape by the server 200 according to the target element received
When the response message that state returns is editable, the edit operation to the target element is received, and after completing the editing by basis
The component edits data that the edit operation generates are sent to the server 200, so that the server 200 is somebody's turn to do storage
Module data corresponding with the target element in the page data of the page to be edited is updated.Wherein, the page number
According to including module data corresponding with each of the page to be edited part.
Optionally, in the present embodiment, the receiving module 420 is also used to receive the group sent by the server 200
Number of packages evidence and corresponding component mark or component edits data, and by the module data received or component edits data described
It is shown in the page to be edited.
In the present embodiment, the specific descriptions about the page editing device 400 are referred to above in page editing
To the description of editing equipment 100 in method, details are not described herein.
In conclusion the embodiment of the present application provides a kind of page editing method, system and device.The system includes communication link
The server connect and at least one editing equipment.Editing equipment is receiving at least one group for including from the page to be edited
After a component is selected in part as the selection operation of target element, target element is determined, then sending inquiry to server should
The whether editable inquiry request of target element.It is stored with the current state of component in server, is asked receiving the inquiry
After asking, editable response message is returned to the editing equipment according to the current state of the target element or not editable is answered
Answer information.When response message is editable, the editing equipment receives the edit operation edited to target element, and root
According to edit operation formation component editor's data, corresponding component edits data are then sent to the clothes after completing the editing
Business device.The server is then according to the component edits data received in the page data of the page to be edited of storage
Module data corresponding with the target element be updated.Wherein, the page data include in the page to be edited
The corresponding module data of each component.As a result, can more people edit different components in the same page simultaneously, and due to component
The edited related data for providing the component is not the related data of full page, therefore data will not occurs
The case where being reduced.
The foregoing is merely preferred embodiment of the present application, are not intended to limit this application, for the skill of this field
For art personnel, various changes and changes are possible in this application.Within the spirit and principles of this application, made any to repair
Change, equivalent replacement, improvement etc., should be included within the scope of protection of this application.
Claims (10)
1. a kind of page editing method, which is characterized in that be applied to page editing system, the system comprises the clothes of communication connection
Business device and at least one editing equipment, which comprises
The editing equipment determines one according to the selection operation received at least one component that the page to be edited includes
Whether component is target element, and send to the server and inquire the target element can inquiry request to be edited;
The server is after receiving the inquiry request, according to the current state of the target element of storage to the volume
It collects equipment and returns to response message, wherein the response message includes editable and non-editable;
If the response message is editable, the editing equipment receives the edit operation to the target element, and is compiling
The component edits data generated according to the edit operation are sent to the server after the completion of volume;
The server is according to the component edits data received in the page data of the page to be edited of storage
Module data corresponding with the target element is updated, wherein the page data include with it is every in the page to be edited
The corresponding module data of a component.
2. the method according to claim 1, wherein being stored in the server corresponding with each component mark
Current state, the inquiry request include target element target element mark, the target element according to storage
Current state to the editing equipment return response message, comprising:
The current state of the target element is obtained according to target element mark inquiry, wherein the current state includes
Unactivated state and state of activation;
When the current state is unactivated state, editable response message is returned into the editing equipment;
When the current state is state of activation, editable response message is returned into the editing equipment, wherein institute
Response message is stated as not editable, indicates that the target element cannot be by the editing equipment editor.
3. according to the method described in claim 2, it is characterized in that, the server is according to the component edits number received
It is updated, wraps according to the module data corresponding with the target element in the page data of the page to be edited to storage
It includes:
The server is searched in the page data corresponding with target element mark according to target element mark
Module data;
The server is updated according to the component edits data pair module data corresponding with target element mark.
4. the method according to claim 1, wherein the method also includes:
After determining that the editing equipment can be to the target element editor, the server is by the current shape of the target element
State is updated to state of activation;
After determining that the editing equipment is completed to the editor of the target element, the server is worked as the target element
Preceding state is updated to unactivated state.
5. the method according to claim 1, wherein in the server according to the component edits received
Data are updated it to the module data corresponding with the target element in the page data of the page to be edited of storage
Afterwards, the method also includes:
The component edits data received are sent to each editing equipment in the system by the server, so that often
The corresponding page data of the page to be edited that a editing equipment is shown is identical as the page data that the server saves.
6. the method according to claim 1, wherein the method also includes:
One component is added in the page to be edited by the editing equipment according to the component addition operation received, and will be by
The module data of addition component is sent to the server;
The server is added component for this and distributes component mark after receiving this and being added the module data of component,
And the module data, corresponding component mark, corresponding current state are saved, wherein the current state is activation
State;
The server identifies the component for being added component and module data is sent to each editing equipment in the system,
So that the corresponding page data of the page to be edited that each editing equipment is shown is identical as the page data that the server saves.
7. a kind of page editing system, which is characterized in that the system comprises the server of communication connection and at least one editors
Equipment,
The editing equipment, for being determined at least one component that the page to be edited includes according to the selection operation received
Whether one component is target element, and send to the server and inquire the target element can inquiry request to be edited;
The server, for after receiving the inquiry request, according to the current state of the target element of storage to
The editing equipment returns to response message, wherein the response message includes editable and non-editable;
If the response message is editable, the editing equipment is also used to receive the edit operation to the target element, and
The component edits data generated according to the edit operation are sent to the server after completing the editing;
The server is also used to the page number according to the component edits data received to the page to be edited of storage
Module data corresponding with the target element in is updated, wherein the page data includes and the page to be edited
Each of the corresponding module data of part.
8. system according to claim 7, which is characterized in that
The server is also used to after determining that the editing equipment can be to the target element editor, by the target element
Current state be updated to state of activation;
The server is also used to after determining that the editing equipment is completed to the editor of the target element, by the target
The current state of component is updated to unactivated state.
9. system according to claim 7, which is characterized in that
The editing equipment is also used to that one component is added to the page to be edited according to the component addition operation received
In, and the module data for being added component is sent to the server;
The server is also used to after receiving this and being added the module data of component, is added component for this and is distributed one group
Part mark, and the module data, corresponding component mark, corresponding current state are saved, wherein the current state
For state of activation;
The server is also used to that the component mark and module data or the component edits number received of component will be added
According to each editing equipment being sent in the system, so that the corresponding page number of the page to be edited that each editing equipment is shown
It is identical according to the page data saved with the server.
10. a kind of page editing device, which is characterized in that applied to the editing equipment being connect with server communication, described device
Include:
Enquiry module, for determining one at least one component that the page to be edited includes according to the selection operation received
Whether component is target element, and send to the server and inquire the target element can inquiry request to be edited;
Receiving module, for being believed by the server according to the response that the current state of the target element returns what is received
When breath is editable, the edit operation to the target element is received, and after completing the editing will be raw according to the edit operation
At component edits data be sent to the server so that page data of the server to the page to be edited of storage
In module data corresponding with the target element be updated, wherein the page data include in the page to be edited
The corresponding module data of each component.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811584077.2A CN109710908A (en) | 2018-12-24 | 2018-12-24 | Page editing method, system and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811584077.2A CN109710908A (en) | 2018-12-24 | 2018-12-24 | Page editing method, system and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109710908A true CN109710908A (en) | 2019-05-03 |
Family
ID=66257345
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811584077.2A Pending CN109710908A (en) | 2018-12-24 | 2018-12-24 | Page editing method, system and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109710908A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110365633A (en) * | 2019-05-23 | 2019-10-22 | 中国平安财产保险股份有限公司 | Communication flow rate control method, device, computer equipment and storage medium |
CN113434504A (en) * | 2021-06-28 | 2021-09-24 | 青岛海尔科技有限公司 | Method and device for storing death medical certificate list, storage medium and electronic device |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102262620A (en) * | 2011-08-04 | 2011-11-30 | 无锡永中软件有限公司 | Document cooperation method |
CN102710866A (en) * | 2012-06-20 | 2012-10-03 | 宇龙计算机通信科技(深圳)有限公司 | Terminal and collaborative control method |
CN106155673A (en) * | 2015-04-23 | 2016-11-23 | 阿里巴巴集团控股有限公司 | Realize the method for content of pages editing machine, device, server and subscriber equipment |
CN106201489A (en) * | 2016-06-30 | 2016-12-07 | 乐视控股(北京)有限公司 | A kind of page editing method and apparatus |
CN107341646A (en) * | 2017-05-31 | 2017-11-10 | 北京广利核系统工程有限公司 | Configuration software coordination management system and method |
CN107656988A (en) * | 2017-09-12 | 2018-02-02 | 北京北信源软件股份有限公司 | Document edit method and system |
CN108255936A (en) * | 2017-12-08 | 2018-07-06 | 深圳市叮叮当当科技有限公司 | A kind of edit methods of webpage, system and editing machine |
CN108683694A (en) * | 2018-03-22 | 2018-10-19 | 厦门欣旅通科技有限公司 | A kind of information synergism processing method, system and server |
-
2018
- 2018-12-24 CN CN201811584077.2A patent/CN109710908A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102262620A (en) * | 2011-08-04 | 2011-11-30 | 无锡永中软件有限公司 | Document cooperation method |
CN102710866A (en) * | 2012-06-20 | 2012-10-03 | 宇龙计算机通信科技(深圳)有限公司 | Terminal and collaborative control method |
CN106155673A (en) * | 2015-04-23 | 2016-11-23 | 阿里巴巴集团控股有限公司 | Realize the method for content of pages editing machine, device, server and subscriber equipment |
CN106201489A (en) * | 2016-06-30 | 2016-12-07 | 乐视控股(北京)有限公司 | A kind of page editing method and apparatus |
CN107341646A (en) * | 2017-05-31 | 2017-11-10 | 北京广利核系统工程有限公司 | Configuration software coordination management system and method |
CN107656988A (en) * | 2017-09-12 | 2018-02-02 | 北京北信源软件股份有限公司 | Document edit method and system |
CN108255936A (en) * | 2017-12-08 | 2018-07-06 | 深圳市叮叮当当科技有限公司 | A kind of edit methods of webpage, system and editing machine |
CN108683694A (en) * | 2018-03-22 | 2018-10-19 | 厦门欣旅通科技有限公司 | A kind of information synergism processing method, system and server |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110365633A (en) * | 2019-05-23 | 2019-10-22 | 中国平安财产保险股份有限公司 | Communication flow rate control method, device, computer equipment and storage medium |
CN110365633B (en) * | 2019-05-23 | 2022-11-22 | 中国平安财产保险股份有限公司 | Communication flow control method, communication flow control device, computer equipment and storage medium |
CN113434504A (en) * | 2021-06-28 | 2021-09-24 | 青岛海尔科技有限公司 | Method and device for storing death medical certificate list, storage medium and electronic device |
CN113434504B (en) * | 2021-06-28 | 2023-10-24 | 青岛海尔科技有限公司 | Method and device for storing death medical evidence table, storage medium and electronic device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20180302303A1 (en) | Tenant upgrade analytics | |
CN102782673B (en) | For the system and method for object migration ripple | |
CN105677466A (en) | Method and device for degrading handling of third-party application interface | |
CN104850394B (en) | The management method and distributed system of distributed application program | |
CN108551404B (en) | Method, apparatus, storage medium and the terminal device of client-side information analysis | |
CN109901848A (en) | A kind of device parameter method for burn-recording and device | |
CN104834602A (en) | Program issuing method, device and system | |
CN112766646B (en) | Method, device, equipment and storage medium for generating and processing task flow | |
CN112737800A (en) | Service node fault positioning method, call chain generation method and server | |
CN109710908A (en) | Page editing method, system and device | |
CN107733710A (en) | Construction method, device, computer equipment and the storage medium of link call relation | |
CN109857391A (en) | Processing method and processing device, storage medium and the electronic device of data | |
CN110535671A (en) | The management method and device of cloud platform | |
CN113220540A (en) | Service management method, device, computer equipment and storage medium | |
CN104376056B (en) | A kind of method and apparatus of data processing | |
CN109684093A (en) | Data processing method and system | |
CN109150981B (en) | Block chain network networking method, device, equipment and computer readable storage medium | |
CN110766473A (en) | Quotation method and device based on user selection | |
CN106992893A (en) | The management method and device of router | |
CN110008431A (en) | Page assembly construction method, device, page generating device and readable storage medium storing program for executing | |
CN111797152B (en) | Data scene generation method and device and computer equipment | |
CN111078560B (en) | Test method and device based on flow pruning, electronic equipment and storage medium | |
CN109547364A (en) | System bandwidth processing method, device, computer equipment and storage medium | |
CN112418796B (en) | Sub-process task node activation method and device, electronic equipment and storage medium | |
CN111030863B (en) | Node topology information determination method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190503 |