CN106155673A - Realize the method for content of pages editing machine, device, server and subscriber equipment - Google Patents
Realize the method for content of pages editing machine, device, server and subscriber equipment Download PDFInfo
- Publication number
- CN106155673A CN106155673A CN201510196864.XA CN201510196864A CN106155673A CN 106155673 A CN106155673 A CN 106155673A CN 201510196864 A CN201510196864 A CN 201510196864A CN 106155673 A CN106155673 A CN 106155673A
- Authority
- CN
- China
- Prior art keywords
- page
- source code
- editing machine
- floating layer
- editing
- 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.)
- Granted
Links
Landscapes
- Information Transfer Between Computers (AREA)
- Document Processing Apparatus (AREA)
Abstract
The invention discloses a kind of without realizing the method for content of pages editing machine, device, server and subscriber equipment by coded system, in order to make subscriber equipment automatically generate editing machine floating layer on the page, thus simplify the implementation of edit page, content of pages can be edited by user by editing machine floating layer, and then make user more convenient to the edit operation of the page, and without revising the source code of the page or developing corresponding assembly, save human resources.Described method includes: when receiving the page editing request that user equipment side sends, determine the source code of the page of request editor;According to the source code of the described page, generate the source code being used for editing the editing machine floating layer of the described page;The source code of the editing machine floating layer of the described page is sent to described subscriber equipment.Realize the automatic production of HTML page editing machine floating layer (i.e. editing machine) of subscriber equipment end by this method so that content of pages can be edited by user by editing machine floating layer.
Description
Technical field
The present invention relates to technical field of the computer network, particularly relate to a kind of side realizing content of pages editing machine
Method, device, server and subscriber equipment.
Background technology
Most webpage all has real-time and dynamic, and this webpage needs the later stage constantly safeguard and repair
Change.The mode of current most common amendment webpage is amendment source code, for being ignorant of the user of source code, opens
Originator can be developed into assembly, makes user not contact source code and directly revises the text in assembly (Web page module)
Just webpage can be revised with picture.Although this maintenance cost reducing user, but this kind of mode does not has
Motility, Components Development need nonetheless remain for human resources and puts into the maintenance in exploitation and later stage.
In sum, the implementation of prior art edit page is complicated, the most convenient, waste of manpower resource.
Summary of the invention
Embodiments provide and a kind of realize the method for content of pages editing machine, device, server and use
Family equipment, with so that subscriber equipment can automatically generate editing machine floating layer on the page, thus simplifies editor
The implementation of the page so that content of pages can be edited by user by editing machine floating layer, and then makes
Obtain user more convenient to the edit operation of the page, and the source code or exploitation without revising the page is corresponding
Assembly, saves human resources.
In server side, a kind of method realizing content of pages editing machine that the embodiment of the present invention provides, including:
When receiving the page editing request that user equipment side sends, determine the source generation of the page of request editor
Code;
According to the source code of the described page, generate the source code being used for editing the editing machine floating layer of the described page;
The source code of the editing machine floating layer of the described page is sent to described subscriber equipment.
In the method that the embodiment of the present invention provides, when receiving the page editing request that user equipment side sends
Time, determine the source code of the page of request editor, according to the source code of the described page, generate for editor institute
State the source code of the editing machine floating layer of the page, the source code of the editing machine floating layer of the described page is sent to described
Subscriber equipment so that described subscriber equipment can by the source code of described editing machine floating layer is resolved,
Generate editing machine floating layer on the page, so that user can directly use this editing machine floating layer to page
Content on face is edited, and simplifies the implementation of edit page so that the editor of the page is grasped by user
It is more convenient to make, and user can be according to self needing the flexibly editing page, it is not necessary to related personnel's developer component,
Save human resources.
Alternatively, before receiving the page editing request that user equipment side sends, the method also includes:
When receiving the accessing page request that described user equipment side sends, determine the page of request access
Source code;Wherein, the page that described request accesses is the same page with the page of described request editor;
The source code of the described page is sent to described subscriber equipment.
Alternatively, according to the source code of the described page, generation is for editing the editing machine floating layer of the described page
Source code, specifically includes:
The parameter of the nodal community of editing machine is obtained, by the foot of server end from the source code of the described page
This resolves this parameter, generates in the source code of editing machine floating layer.
Alternatively, described editable nodal community includes: node layout's attribute, node level attributes and
/ or node component type attribute.
Alternatively, before receiving the accessing page request that described user equipment side sends, the method is also wrapped
Include:
In the source code of the described page, add the parameter of specific nodal community in advance, wherein said specifically
Nodal community is the nodal community of editing machine;
From the source code of the described page, obtain the parameter of editable nodal community, specifically include:
The parameter of described specific nodal community is obtained from the source code of the described page.
Alternatively, after the source code of described editing machine floating layer is sent to described subscriber equipment, the method is also
Including:
When receiving described subscriber equipment and sending the signaling that the page editing corresponding with the described page completes,
The source code of the described page is updated according to the content of edit carried in described signaling.
Alternatively, the source code of described editing machine floating layer includes editing machine floating layer on the page aobvious
Show position so that the source code of described editing machine floating layer is resolved at the described page by described subscriber equipment
Editing machine floating layer is generated on predeterminated position.
At user equipment side, a kind of method realizing content of pages editing machine that the embodiment of the present invention provides, bag
Include:
When determining the page needing to edit current accessed, send, to server, the page editing that this page is corresponding
Request;
Receive the source code of the editing machine floating layer for editing the described page that described server returns, wherein,
The source code of described editing machine floating layer is that described server generates according to the source code of the described page;
By the source code of described editing machine floating layer is resolved, generate editing machine on the page and float
Layer.
In the method that the embodiment of the present invention provides, when determining the page needing to edit current accessed, to clothes
Business device sends the page editing request that this page is corresponding;Receive described server return for editing described page
The source code of the editing machine floating layer in face, wherein, the source code of described editing machine floating layer be described server according to
The source code of the described page generates;By the source code of described editing machine floating layer is resolved, described
Editing machine floating layer is generated, so that user can directly use this editing machine floating layer on the page on the page
Content is edited, and simplifies the implementation of edit page so that user is to the edit operation of the page more
Convenient, user can be according to self needing the flexibly editing page, it is not necessary to related personnel's developer component, saves
Human resources.
Optionally it is determined that before needing the page of editor's current accessed, the method also includes:
The accessing page request of the described page is sent to described server;
Receive the source code of the described page that described server returns;
The source code of the described page is resolved to the page.
Alternatively, after generating editing machine floating layer on the page, the method also includes:
The content of pages that user is completed by described editing machine floating layer editor is sent to described server;
Send the refreshing instruction of the described page to described server, and receive the described page that described server returns
Source code after the renewal in face, resolves to the page by the source code after the renewal of this page;Wherein, described page
Source code after the renewal in face is the page that described server is revised by described editing machine floating layer according to user
Content obtains.
Alternatively, by the source code of described editing machine floating layer is resolved, volume is generated on the page
Collect device floating layer, specifically include:
By the source code of described editing machine floating layer is resolved, the predeterminated position of the described page generates
Editing machine floating layer.
A kind of device realizing content of pages editing machine that the embodiment of the present invention provides, including:
First module, for when receiving the page editing request that user equipment side sends, determining that request is compiled
The source code of the page collected;
Second unit, for the source code according to the described page, generates the editing machine for editing the described page
The source code of floating layer;
Unit the 3rd, for being sent to described subscriber equipment by the source code of the editing machine floating layer of the described page.
Alternatively, described first module is additionally operable to:
Before receiving the page editing request that user equipment side sends, when receiving described user equipment side
During the accessing page request sent, determine the source code of the page of request access;Wherein, described request accesses
The page with described request editor the page be the same page;
Described Unit the 3rd, is additionally operable to: the source code of the described page is sent to described subscriber equipment.
Alternatively, described second unit specifically for:
The parameter of the nodal community of editing machine is obtained, by the foot of server end from the source code of the described page
This resolves this parameter, generates in the source code of editing machine floating layer.
Alternatively, described editable nodal community includes: node layout's attribute, node level attributes and
/ or node component type attribute.
Alternatively, described first module is additionally operable to:
Before receiving the accessing page request that described user equipment side sends, in advance in the source of the described page
Adding the parameter of specific nodal community in code, wherein said specific nodal community is the node of editing machine
Attribute;
When described second unit obtains the parameter of editable nodal community from the source code of the described page, tool
Body is used for:
The parameter of described specific nodal community is obtained from the source code of the described page.
Alternatively, described Unit the 3rd is additionally operable to:
After the source code of described editing machine floating layer is sent to described subscriber equipment, when receiving described user
When equipment sends the signaling that the page editing corresponding with the described page completes, according to what described signaling was carried
Content of edit updates the source code of the described page.
Alternatively, the source code of described editing machine floating layer includes editing machine floating layer on the page aobvious
Show position so that the source code of described editing machine floating layer is resolved at the described page by described subscriber equipment
Editing machine floating layer is generated on predeterminated position.
A kind of device realizing content of pages editing machine that the embodiment of the present invention provides, including:
Unit the 4th, for when determining the page needing to edit current accessed, sending this page to server
Corresponding page editing request;
Unit the 5th, for receiving the editing machine floating layer for editing the described page of described server return
Source code, wherein, the source code of described editing machine floating layer is the described server source code according to the described page
Generate;
Unit the 6th, for by resolving, on the page the source code of described editing machine floating layer
Generate editing machine floating layer.
Alternatively, described Unit the 4th is additionally operable to: before determining the page needing to edit current accessed, to
Described server sends the accessing page request of the described page;
Unit the 5th is additionally operable to: receive the source code of the described page that described server returns;
Unit the 6th is additionally operable to: the source code of the described page is resolved to the page.
Alternatively, Unit the 6th is additionally operable to:
After generating editing machine floating layer on the page, user is completed by described editing machine floating layer editor
Content of pages be sent to described server;Send the refreshing instruction of the described page to described server, and connect
Receive the source code after the renewal of the described page that described server returns, by the source code after the renewal of this page
Resolve to the page;Wherein, the source code after the renewal of the described page is that described server passes through institute according to user
The content of pages stating the amendment of editing machine floating layer obtains.
Alternatively, Unit the 6th is by resolving the source code of described editing machine floating layer, at the described page
Predeterminated position on generate editing machine floating layer.
A kind of server that the embodiment of the present invention provides, described realizes the page including the embodiment of the present invention is arbitrary
The device of content editor.
A kind of subscriber equipment that the embodiment of the present invention provides, including the arbitrary described realization page of the embodiment of the present invention
The device of face content editor.
Accompanying drawing explanation
A kind of method realizing content of pages editing machine of the server side that Fig. 1 provides for the embodiment of the present invention
Schematic flow sheet;
A kind of method realizing content of pages editing machine of the user equipment side that Fig. 2 provides for the embodiment of the present invention
Schematic flow sheet;
The schematic diagram of the editing machine floating layer automatically generated on the page that Fig. 3 provides for the embodiment of the present invention;
A kind of device realizing content of pages editing machine of the server side that Fig. 4 provides for the embodiment of the present invention
Structural representation;
A kind of device realizing content of pages editing machine of the user equipment side that Fig. 5 provides for the embodiment of the present invention
Structural representation.
Detailed description of the invention
Embodiments provide and a kind of realize the method for content of pages editing machine, device, server and use
Family equipment, with so that subscriber equipment can automatically generate editing machine floating layer on the page, thus simplifies editor
The implementation of the page so that content of pages can be edited by user by editing machine floating layer, and then makes
Obtain user more convenient to the edit operation of the page, and the source code or exploitation without revising the page is corresponding
Assembly, saves human resources.In the view of user, webpage self just can automatically generate visual editor floating layer,
User is made more to have specific aim, quick, efficiently to the editor of webpage.
The technical scheme provided the embodiment of the present invention below in conjunction with the accompanying drawings is described.
See Fig. 1, in server side, a kind of content of pages editing machine that realizes that the embodiment of the present invention provides
Method, including:
S101, when receive user equipment side send page editing request time, determine request editor the page
Source code;
Wherein, the request of described page editing includes the mark of the page, after server receives this request, therefrom
The mark of the acquisition page, and search the source code of the page corresponding to this mark, so that it is determined that the page of request editor
The source code in face.
S102, source code according to the described page, generate the source of editing machine floating layer for editing the described page
Code;
Specifically, from the source code of the page, obtain the parameter of editable nodal community, and utilize these can
The parameter of the nodal community of editor generates the source code of the editing machine floating layer of this page.
S103, the source code of the editing machine floating layer of the described page is sent to described subscriber equipment, so that
User can directly use this editing machine floating layer to edit the content on the page, simplifies edit page
Implementation so that user is more convenient to the edit operation of the page, user can need flexibly according to self
Ground edit page, it is not necessary to related personnel's developer component, saves human resources.
Alternatively, before receiving the page editing request that user equipment side sends, the method also includes:
When receiving the accessing page request that described user equipment side sends, determine the page of request access
Source code;Wherein, the page that described request accesses is the same page with the page of described request editor;
The source code of the described page is sent to described subscriber equipment so that subscriber equipment can be by the page
Source code resolve, generate and pass through the display output display page.
Alternatively, according to the source code of the described page, generation is for editing the editing machine floating layer of the described page
Source code, specifically includes:
The parameter of the nodal community of editing machine is obtained, by the foot of server end from the source code of the described page
This resolves this parameter, generates in the source code of editing machine floating layer.Wherein, the nodal community of described editing machine
The parameter of the editable nodal community of parameter, i.e. content.
Alternatively, described editable nodal community includes: node layout's attribute, node level attributes and
/ or node component type attribute.
Alternatively, before receiving the accessing page request that described user equipment side sends, the method is also wrapped
Include:
In the source code of the described page, add the parameter of specific nodal community in advance, wherein said specifically
Nodal community is the nodal community of editing machine;
From the source code of the described page, obtain the parameter of editable nodal community, specifically include:
The parameter of described specific nodal community is obtained from the source code of the described page.
Wherein, in the source code of the described page, the parameter of specific nodal community is added in advance, i.e. at the page
Source code in implant the parameter of specific nodal community, this specific nodal community is to appoint in advance with server
Reserve, be the special joint attribute that can identify of server side, it is thereby achieved that according to the page self
Feature generates corresponding editing machine floating layer so that the editor of the page is more flexible.
Described specific nodal community such as includes:
Node layout's attribute (such as source code representation is data-layout): determine this node in editing machine
With 990, layout, the namely width dimensions of editing machine, such as, represent that this part is 990px, use 450 tables
Showing that this part is 450px width, the rest may be inferred;
Node level attributes (such as source code representation is data-layer): determine this node in editing machine and deposit
The display level of the hierarchical location put, i.e. editing machine floating layer, such as from the beginning of 0,0 expression root node, 1
Representing the one-level child nodes of 0, the rest may be inferred;
Node component type attribute (such as source code representation is data-component): determine in editing machine
The type of assembly, the type of assembly includes: text editing component, picture replace assembly, hypertext replacement group
Part;
The parameter of described specific nodal community, is placed on DOM node presented below:
<div data-layout=" edit-990 " data-layer=" 0 " data-component=' text '>//
Data-layer be this node of 0 expression be root node, this node is the width of 990px in editing machine.
(use when server receives accessing page request (namely on the machine of the source code storage of the page)
Http request can be sent out to server when accessing webpage in family), first look for the source code of the page, by find
The source code of the page issues subscriber equipment, and subscriber equipment resolves to the page to it, and this page can show
Be shown with a page editing options, if clicking on this page editing option, then subscriber equipment can send page editing please
Ask to server, after server receives the request of this page editing, can again search the source code of the described page,
And by script (can be understood as traveling through a series of resolution rules of the node of the page) traversal page source code
In node, read and there is the node of specific properties its node can be cloned in another source code, this
Individual source code is exactly the source code of the editor interface returning to client in the future.
After subscriber equipment shows editing machine floating layer on the page, if user need not revise content of pages,
Then can click directly on the X button of editing machine floating layer, turn off editing machine.If desired content of pages is revised, then
Operation editing machine in module, the module in editing machine i.e.: text editing component, picture replacement assembly,
Hypertext replaces assembly etc..
The embodiment of the present invention is in the editing machine automatically generated, if the corresponding former page cloth of the module in editing machine
The dom node of office is text, then this module is text editing module;
If the dom node of former page layout be picture (refer to containing<img src=””>the joint of this label
Point), then in page editing device, this module is picture replacement module assembly, specifically refers to the picture in editing machine
Replacement module assembly, artwork sheet is not visible, but can cover original picture after uploading new URL
URL, the namely content in the src in img label;
If dom node is hyperlink, then this module correspondence hyperlink modular assembly, Yong Huke in page editing device
Input new chained address and official documents and correspondence explanation etc. in the assembly.
Alternatively, after the source code of described editing machine floating layer is sent to described subscriber equipment, the method is also
Including:
When receiving described subscriber equipment and sending the signaling that the page editing corresponding with the described page completes,
The source code of the described page is updated according to the content of edit carried in described signaling.
Alternatively, the source code of described editing machine floating layer includes editing machine floating layer on the page aobvious
Show position so that the source code of described editing machine floating layer is resolved at the described page by described subscriber equipment
Editing machine floating layer is generated on predeterminated position.
Wherein, the upper left corner of described predeterminated position, the such as page, it addition, the display position of editing machine floating layer
Put and can also need to be configured according to user, some positions i.e. can be provided to select for user, or, also
Can be dragged by user, i.e. editing machine floating layer position on the page is can be dragged by user at any time to change
Become.
Correspondingly, in user equipment side, seeing Fig. 2, the one that the embodiment of the present invention provides realizes in the page
The method holding editing machine, including:
S201, when determine need edit current accessed the page time, send, to server, the page that this page is corresponding
Face edit requests;
S202, receive the source code of the editing machine floating layer for editing the described page that described server returns,
Wherein, the source code of described editing machine floating layer is that described server generates according to the source code of the described page;
S203, by the source code of described editing machine floating layer is resolved, generate editor on the page
Device floating layer.
In the method that the embodiment of the present invention provides, when determining the page needing to edit current accessed, to clothes
Business device sends the page editing request that this page is corresponding;Receive described server return for editing described page
The source code of the editing machine floating layer in face, wherein, the source code of described editing machine floating layer be described server according to
The source code of the described page generates;By the source code of described editing machine floating layer is resolved, described
Editing machine floating layer is generated, so that user can directly use this editing machine floating layer on the page on the page
Content is edited, and simplifies the implementation of edit page so that user is to the edit operation of the page more
Convenient, user can be according to self needing the flexibly editing page, it is not necessary to related personnel's developer component, saves
Human resources.
Optionally it is determined that before needing the page of editor's current accessed, the method also includes:
The accessing page request of the described page is sent to described server;
Receive the source code of the described page that described server returns;
The source code of the described page is resolved to the page.
Alternatively, after generating editing machine floating layer on the page, the method also includes:
The content of pages that user is completed by described editing machine floating layer editor is sent to described server;
Send the refreshing instruction of the described page to described server, and receive the described page that described server returns
Source code after the renewal in face, resolves to the page by the source code after the renewal of this page;Wherein, described page
Source code after the renewal in face is the page that described server is revised by described editing machine floating layer according to user
Content obtains.
Alternatively, by the source code of described editing machine floating layer is resolved, volume is generated on the page
Collect device floating layer, specifically include:
By the source code of described editing machine floating layer is resolved, the predeterminated position of the described page generates
Editing machine floating layer.
When user asks accession page, server can resolve the attribute in this page, creates page layout and belongs to
Property and nodal community object, by resolving nodal community object, by the editor in former page layout and editing machine
Assembly merges is rendered to final page editing device, and page editing device returns to browser end use
Family.
To sum up, seeing on the whole, the technical scheme that the embodiment of the present invention provides includes:
User inputs URL (URL) in a browser, and URL is exactly that we are when accessing webpage
The network address of input, URL is a kind of letter of the position to the resource that can obtain from the Internet and access method
Clean expression, is the address of standard resource on the Internet.
After the URL of user's input page in a browser, press enter key and be equal to be to send to server
One accessing page request.
After server receives accessing page request, search source code corresponding to the URL of this page, and return
To subscriber equipment.
The source code of the page is resolved to the page by subscriber equipment, and output display is to user, and this page has
Page editing option.
When user clicks this page editing option, subscriber equipment sends page editing and asks to server.
After server receives the request of this page editing, therefrom obtain the URL of this page, and again search this page
The source code corresponding for URL in face, but now need not issue subscriber equipment, but server resolves this page
The layout attributes of the node in the source code in face, level attributes and component type attribute, by special node
Attribute and parameter thereof copy to, in the source code of editing machine floating layer, resolve complete, i.e. generate this editing machine and float
The source code of layer, and it is sent to subscriber equipment.
After subscriber equipment receives the source code of editing machine floating layer of this page, the source code to this editing machine floating layer
Resolve, in the predetermined position of the page, carry out the displaying of editing interface, specifically, with floating layer form
Show, be provided with in the upper right corner of the page, the former page can edit the node of attribute all can be in floating layer, also
It is exactly that editing interface is shown.For example, with reference to Fig. 3, Fig. 3 is divided by upper corner the editing interface i.e. shown,
Can be at the newly added word of the page by this editing interface, it is also possible to select to add picture etc..
After the content of the page is modified and preserved by editing machine floating layer by user, subscriber equipment can send and take
The signaling of the content of pages that band is completed by described editing machine floating layer editor is to server.
Server is when receiving what the described subscriber equipment transmission page editing corresponding with the described page completed
During signaling, update the source code of the described page according to the content of edit carried in described signaling.
After the page is refreshed by user, subscriber equipment can show amended content of pages, i.e. when with
After the page is refreshed by family, subscriber equipment sends the refreshing instruction of the described page to described server, service
After device receives the refreshing instruction of the page, search the source code after the renewal of this page and return to user and set
Standby, subscriber equipment receives the source code after the renewal of the described page that described server returns, by this page
Source code after renewal resolves to the page;Wherein, the source code after the renewal of the described page is described server
Obtained by the content of pages that described editing machine floating layer is revised according to user.
In addition, it is necessary to explanation, in the embodiment of the present invention, server can receive accessing page request
While rear line equipment sends the source code of the page, this page that the source code utilizing this page is generated
The source code of editor interface also issue subscriber equipment, i.e. sending page editing without waiting for subscriber equipment please
Ask and just the source code of the editor interface of this page that the source code utilizing this page generates also can be issued
Subscriber equipment so that subscriber equipment receives the source code of the page and the source code of editor interface simultaneously, from
And simultaneously displayed page and editing machine floating layer, if user is without revising the page, this editing machine can be clicked on and float
X button on layer, thus close editor interface, when needs edit page content, then to server
Transmission page editing is asked.
With said method accordingly, in server side, see Fig. 4, the one that the embodiment of the present invention provides
Realize the device of content of pages editing machine, including:
First module 11, for when receiving the page editing request that user equipment side sends, determining request
The source code of the page of editor;
Second unit 12, for the source code according to the described page, generates the editor for editing the described page
The source code of device floating layer;
3rd unit 13, sets for the source code of the editing machine floating layer of the described page is sent to described user
Standby.
Alternatively, described first module is additionally operable to:
Before receiving the page editing request that user equipment side sends, when receiving described user equipment side
During the accessing page request sent, determine the source code of the page of request access;Wherein, described request accesses
The page with described request editor the page be the same page;
Described Unit the 3rd, is additionally operable to: the source code of the described page is sent to described subscriber equipment.
Alternatively, described second unit specifically for:
The parameter of the nodal community of editing machine is obtained, by the foot of server end from the source code of the described page
This resolves this parameter, generates in the source code of editing machine floating layer.
Alternatively, described editable nodal community includes: node layout's attribute, node level attributes and
/ or node component type attribute.
Alternatively, described first module is additionally operable to:
Before receiving the accessing page request that described user equipment side sends, in advance in the source of the described page
Adding the parameter of specific nodal community in code, wherein said specific nodal community is the node of editing machine
Attribute;
When described second unit obtains the parameter of editable nodal community from the source code of the described page, tool
Body is used for:
The parameter of described specific nodal community is obtained from the source code of the described page.
Alternatively, described Unit the 3rd is additionally operable to:
After the source code of described editing machine floating layer is sent to described subscriber equipment, when receiving described user
When equipment sends the signaling that the page editing corresponding with the described page completes, according to what described signaling was carried
Content of edit updates the source code of the described page.
Alternatively, the source code of described editing machine floating layer includes editing machine floating layer on the page aobvious
Show position so that the source code of described editing machine floating layer is resolved at the described page by described subscriber equipment
Editing machine floating layer is generated on predeterminated position.
A kind of server that the embodiment of the present invention provides, including described in the server side that the embodiment of the present invention provides
Device.
In user equipment side, seeing Fig. 5, the one that the embodiment of the present invention provides realizes content of pages editing machine
Device, including:
4th unit 21, for when determining the page needing to edit current accessed, sending this page to server
The page editing request that face is corresponding;
5th unit 22, for receiving the editing machine floating layer for editing the described page that described server returns
Source code, wherein, the source code of described editing machine floating layer is the described server source generation according to the described page
Code generates;
6th unit 23, for by resolving the source code of described editing machine floating layer, at the described page
Upper generation editing machine floating layer.
Alternatively, described Unit the 4th is additionally operable to: before determining the page needing to edit current accessed, to
Described server sends the accessing page request of the described page;
Unit the 5th is additionally operable to: receive the source code of the described page that described server returns;
Unit the 6th is additionally operable to: the source code of the described page is resolved to the page.
Alternatively, Unit the 6th is additionally operable to:
After generating editing machine floating layer on the page, user is completed by described editing machine floating layer editor
Content of pages be sent to described server;Send the refreshing instruction of the described page to described server, and connect
Receive the source code after the renewal of the described page that described server returns, by the source code after the renewal of this page
Resolve to the page;Wherein, the source code after the renewal of the described page is that described server passes through institute according to user
The content of pages stating the amendment of editing machine floating layer obtains.
Alternatively, Unit the 6th is by resolving the source code of described editing machine floating layer, at the described page
Predeterminated position on generate editing machine floating layer.
A kind of subscriber equipment that the embodiment of the present invention provides, the user equipment side provided including the embodiment of the present invention
Described device.
Above unit, all can be realized by the entity apparatus such as processor with transmission-receiving function, described
Server or subscriber equipment, can be realized by the entity apparatus such as processor and transceiver.
In sum, embodiments provide the page self and just can automatically generate the side of visual editor
Case so that page editing interface more has individual character so that the editor of the page is more intelligent, convenient, efficient.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or meter
Calculation machine program product.Therefore, the present invention can use complete hardware embodiment, complete software implementation or knot
The form of the embodiment in terms of conjunction software and hardware.And, the present invention can use and wherein wrap one or more
Computer-usable storage medium containing computer usable program code (include but not limited to disk memory and
Optical memory etc.) form of the upper computer program implemented.
The present invention is with reference to method, equipment (system) and computer program product according to embodiments of the present invention
The flow chart of product and/or block diagram describe.It should be understood that can by computer program instructions flowchart and
/ or block diagram in each flow process and/or flow process in square frame and flow chart and/or block diagram and/
Or the combination of square frame.These computer program instructions can be provided to general purpose computer, special-purpose computer, embedding
The processor of formula datatron or other programmable data processing device is to produce a machine so that by calculating
The instruction that the processor of machine or other programmable data processing device performs produces for realizing at flow chart one
The device of the function specified in individual flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and computer or the process of other programmable datas can be guided to set
In the standby computer-readable memory worked in a specific way so that be stored in this computer-readable memory
Instruction produce and include the manufacture of command device, this command device realizes in one flow process or multiple of flow chart
The function specified in flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, makes
Sequence of operations step must be performed to produce computer implemented place on computer or other programmable devices
Reason, thus the instruction performed on computer or other programmable devices provides for realizing flow chart one
The step of the function specified in flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
Obviously, those skilled in the art can carry out various change and modification without deviating from this to the present invention
Bright spirit and scope.So, if the present invention these amendment and modification belong to the claims in the present invention and
Within the scope of its equivalent technologies, then the present invention is also intended to comprise these change and modification.
Claims (24)
1. the method realizing content of pages editing machine, it is characterised in that the method includes:
When receiving the page editing request that user equipment side sends, determine the source generation of the page of request editor
Code;
According to the source code of the described page, generate the source code being used for editing the editing machine floating layer of the described page;
The source code of the editing machine floating layer of the described page is sent to described subscriber equipment.
Method the most according to claim 1, it is characterised in that send receiving user equipment side
Page editing request before, the method also includes:
When receiving the accessing page request that described user equipment side sends, determine the page of request access
Source code;Wherein, the page that described request accesses is the same page with the page of described request editor;
The source code of the described page is sent to described subscriber equipment.
Method the most according to claim 2, it is characterised in that according to the source code of the described page,
Generate the source code being used for editing the editing machine floating layer of the described page, specifically include:
The parameter of the nodal community of editing machine is obtained, by the foot of server end from the source code of the described page
This resolves this parameter, generates in the source code of editing machine floating layer.
Method the most according to claim 3, it is characterised in that described editable nodal community bag
Include: node layout's attribute, node level attributes and/or node component type attribute.
Method the most according to claim 3, it is characterised in that receiving described user equipment side
Before the accessing page request sent, the method also includes:
In the source code of the described page, add the parameter of specific nodal community in advance, wherein said specifically
Nodal community is the nodal community of editing machine;
From the source code of the described page, obtain the parameter of editable nodal community, specifically include:
The parameter of described specific nodal community is obtained from the source code of the described page.
Method the most according to claim 1, it is characterised in that by the source generation of described editing machine floating layer
After code is sent to described subscriber equipment, the method also includes:
When receiving described subscriber equipment and sending the signaling that the page editing corresponding with the described page completes,
The source code of the described page is updated according to the content of edit carried in described signaling.
Method the most according to claim 1, it is characterised in that the source code of described editing machine floating layer
Include editing machine floating layer display position on the page so that described subscriber equipment is to described editing machine
The source code of floating layer carries out resolving generation editing machine floating layer on the predeterminated position of the described page.
8. the method realizing content of pages editing machine, it is characterised in that the method includes:
When determining the page needing to edit current accessed, send, to server, the page editing that this page is corresponding
Request;
Receive the source code of the editing machine floating layer for editing the described page that described server returns, wherein,
The source code of described editing machine floating layer is that described server generates according to the source code of the described page;
By the source code of described editing machine floating layer is resolved, generate editing machine on the page and float
Layer.
Method the most according to claim 8, it is characterised in that determine and need to edit current accessed
Before the page, the method also includes:
The accessing page request of the described page is sent to described server;
Receive the source code of the described page that described server returns;
The source code of the described page is resolved to the page.
Method the most according to claim 8, it is characterised in that generate editing machine on the page
After floating layer, the method also includes:
The content of pages that user is completed by described editing machine floating layer editor is sent to described server;
Send the refreshing instruction of the described page to described server, and receive the described page that described server returns
Source code after the renewal in face, resolves to the page by the source code after the renewal of this page;Wherein, described page
Source code after the renewal in face is the page that described server is revised by described editing machine floating layer according to user
Content obtains.
Method described in 11. according to Claim 8,9 or 10, it is characterised in that by described editor
The source code of device floating layer resolves, and generates editing machine floating layer on the page, specifically includes:
By the source code of described editing machine floating layer is resolved, the predeterminated position of the described page generates
Editing machine floating layer.
12. 1 kinds of devices realizing content of pages editing machine, it is characterised in that including:
First module, for when receiving the page editing request that user equipment side sends, determining that request is compiled
The source code of the page collected;
Second unit, for the source code according to the described page, generates the editing machine for editing the described page
The source code of floating layer;
Unit the 3rd, for being sent to described subscriber equipment by the source code of the editing machine floating layer of the described page.
13. devices according to claim 12, it is characterised in that described first module is additionally operable to:
Before receiving the page editing request that user equipment side sends, when receiving described user equipment side
During the accessing page request sent, determine the source code of the page of request access;Wherein, described request accesses
The page with described request editor the page be the same page;
Described Unit the 3rd, is additionally operable to: the source code of the described page is sent to described subscriber equipment.
14. devices according to claim 13, it is characterised in that described second unit specifically for:
The parameter of the nodal community of editing machine is obtained, by the foot of server end from the source code of the described page
This resolves this parameter, generates in the source code of editing machine floating layer.
15. devices according to claim 14, it is characterised in that described editable nodal community
Including: node layout's attribute, node level attributes and/or node component type attribute.
16. devices according to claim 14, it is characterised in that described first module is additionally operable to:
Before receiving the accessing page request that described user equipment side sends, in advance in the source of the described page
Adding the parameter of specific nodal community in code, wherein said specific nodal community is the node of editing machine
Attribute;
When described second unit obtains the parameter of editable nodal community from the source code of the described page, tool
Body is used for:
The parameter of described specific nodal community is obtained from the source code of the described page.
17. devices according to claim 12, it is characterised in that described Unit the 3rd is additionally operable to:
After the source code of described editing machine floating layer is sent to described subscriber equipment, when receiving described user
When equipment sends the signaling that the page editing corresponding with the described page completes, according to what described signaling was carried
Content of edit updates the source code of the described page.
18. devices according to claim 12, it is characterised in that the source generation of described editing machine floating layer
Code includes editing machine floating layer display position on the page so that described subscriber equipment is to described editor
The source code of device floating layer carries out resolving generation editing machine floating layer on the predeterminated position of the described page.
19. 1 kinds of devices realizing content of pages editing machine, it is characterised in that including:
Unit the 4th, for when determining the page needing to edit current accessed, sending this page to server
Corresponding page editing request;
Unit the 5th, for receiving the editing machine floating layer for editing the described page of described server return
Source code, wherein, the source code of described editing machine floating layer is the described server source code according to the described page
Generate;
Unit the 6th, for by resolving, on the page the source code of described editing machine floating layer
Generate editing machine floating layer.
20. devices according to claim 19, it is characterised in that described Unit the 4th is additionally operable to:
Before determining the page needing to edit current accessed, send the page access of the described page to described server
Request;
Unit the 5th is additionally operable to: receive the source code of the described page that described server returns;
Unit the 6th is additionally operable to: the source code of the described page is resolved to the page.
21. devices according to claim 19, it is characterised in that Unit the 6th is additionally operable to:
After generating editing machine floating layer on the page, user is completed by described editing machine floating layer editor
Content of pages be sent to described server;Send the refreshing instruction of the described page to described server, and connect
Receive the source code after the renewal of the described page that described server returns, by the source code after the renewal of this page
Resolve to the page;Wherein, the source code after the renewal of the described page is that described server passes through institute according to user
The content of pages stating the amendment of editing machine floating layer obtains.
22. according to the device described in claim 19,20 or 21, it is characterised in that Unit the 6th passes through
The source code of described editing machine floating layer is resolved, the predeterminated position of the described page generates editing machine and floats
Layer.
23. 1 kinds of servers, it is characterised in that include the arbitrary described device of claim 12-18.
24. 1 kinds of subscriber equipmenies, it is characterised in that include the arbitrary described device of claim 19-22.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510196864.XA CN106155673B (en) | 2015-04-23 | 2015-04-23 | Method, device, server and user equipment for realizing page content editor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510196864.XA CN106155673B (en) | 2015-04-23 | 2015-04-23 | Method, device, server and user equipment for realizing page content editor |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106155673A true CN106155673A (en) | 2016-11-23 |
CN106155673B CN106155673B (en) | 2020-03-13 |
Family
ID=57346658
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510196864.XA Active CN106155673B (en) | 2015-04-23 | 2015-04-23 | Method, device, server and user equipment for realizing page content editor |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106155673B (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107957868A (en) * | 2017-12-04 | 2018-04-24 | 山东浪潮通软信息科技有限公司 | A kind of html user interface visualizing editing method and device |
CN108710490A (en) * | 2017-04-12 | 2018-10-26 | 北京京东尚科信息技术有限公司 | A kind of edit methods and device of Web page |
CN109635266A (en) * | 2018-12-24 | 2019-04-16 | 成都四方伟业软件股份有限公司 | Three-dimensional visualization edit methods, device and three-dimension visible sysem |
CN109710908A (en) * | 2018-12-24 | 2019-05-03 | 成都四方伟业软件股份有限公司 | Page editing method, system and device |
CN110045955A (en) * | 2018-01-17 | 2019-07-23 | 北京视联动力国际信息技术有限公司 | A kind of edit methods and device |
CN110442821A (en) * | 2019-08-01 | 2019-11-12 | 上海麦克风文化传媒有限公司 | Renewal of the page device during a kind of webpage development |
CN110457635A (en) * | 2019-08-15 | 2019-11-15 | 北京中网易企秀科技有限公司 | A kind of webpage generating method and system |
CN111611514A (en) * | 2020-04-11 | 2020-09-01 | 上海淇玥信息技术有限公司 | Page display method and device based on user login information and electronic equipment |
WO2023123089A1 (en) * | 2021-12-29 | 2023-07-06 | 深圳晶泰科技有限公司 | Content management system, static page management method and device, and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040215719A1 (en) * | 2003-04-09 | 2004-10-28 | Altshuler Dennis Wayne | Method and system for designing, editing and publishing web page content in a live internet session |
KR20110019942A (en) * | 2009-08-21 | 2011-03-02 | 주식회사 엔피커 | Webpage editing and storing sysyem |
CN102193933A (en) * | 2010-03-10 | 2011-09-21 | 北大方正集团有限公司 | Method and system for webpage editing |
CN103020237A (en) * | 2012-12-14 | 2013-04-03 | 北京新媒传信科技有限公司 | Webpage updating method and device |
-
2015
- 2015-04-23 CN CN201510196864.XA patent/CN106155673B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040215719A1 (en) * | 2003-04-09 | 2004-10-28 | Altshuler Dennis Wayne | Method and system for designing, editing and publishing web page content in a live internet session |
KR20110019942A (en) * | 2009-08-21 | 2011-03-02 | 주식회사 엔피커 | Webpage editing and storing sysyem |
CN102193933A (en) * | 2010-03-10 | 2011-09-21 | 北大方正集团有限公司 | Method and system for webpage editing |
CN103020237A (en) * | 2012-12-14 | 2013-04-03 | 北京新媒传信科技有限公司 | Webpage updating method and device |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108710490A (en) * | 2017-04-12 | 2018-10-26 | 北京京东尚科信息技术有限公司 | A kind of edit methods and device of Web page |
CN108710490B (en) * | 2017-04-12 | 2022-06-07 | 北京京东尚科信息技术有限公司 | Method and device for editing Web page |
CN107957868A (en) * | 2017-12-04 | 2018-04-24 | 山东浪潮通软信息科技有限公司 | A kind of html user interface visualizing editing method and device |
CN110045955A (en) * | 2018-01-17 | 2019-07-23 | 北京视联动力国际信息技术有限公司 | A kind of edit methods and device |
CN110045955B (en) * | 2018-01-17 | 2022-10-18 | 视联动力信息技术股份有限公司 | Editing method and device |
CN109635266A (en) * | 2018-12-24 | 2019-04-16 | 成都四方伟业软件股份有限公司 | Three-dimensional visualization edit methods, device and three-dimension visible sysem |
CN109710908A (en) * | 2018-12-24 | 2019-05-03 | 成都四方伟业软件股份有限公司 | Page editing method, system and device |
CN110442821A (en) * | 2019-08-01 | 2019-11-12 | 上海麦克风文化传媒有限公司 | Renewal of the page device during a kind of webpage development |
CN110457635A (en) * | 2019-08-15 | 2019-11-15 | 北京中网易企秀科技有限公司 | A kind of webpage generating method and system |
CN111611514A (en) * | 2020-04-11 | 2020-09-01 | 上海淇玥信息技术有限公司 | Page display method and device based on user login information and electronic equipment |
CN111611514B (en) * | 2020-04-11 | 2024-04-23 | 上海淇玥信息技术有限公司 | Page display method and device based on user login information and electronic equipment |
WO2023123089A1 (en) * | 2021-12-29 | 2023-07-06 | 深圳晶泰科技有限公司 | Content management system, static page management method and device, and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN106155673B (en) | 2020-03-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106155673A (en) | Realize the method for content of pages editing machine, device, server and subscriber equipment | |
CN111506310B (en) | Method, device, equipment and storage medium for generating multi-platform style | |
CN105260420B (en) | A kind of method and apparatus for the offer target pages in mobile application | |
JP7395475B2 (en) | System and method for generating and editing text content in a website construction system | |
CN107229633A (en) | Static page generation method, Web access method and device | |
Di Lucca et al. | An approach for reverse engineering of web-based applications | |
Auer et al. | LESS-template-based syndication and presentation of linked data | |
CN104375808B (en) | interface display method and device | |
ITMI20130390U1 (en) | METHODS AND SYSTEM FOR DYNAMIC ENDPOINT GENERATORS, DETECTION AND MEDIATION (BROKERAGE) OF DYNAMIC REMOTE OBJECTS | |
CN112100550A (en) | Page construction method and device | |
CN111124379B (en) | Page generation method and device, electronic equipment and storage medium | |
CN105278946A (en) | RESTful API visualization method | |
CN103853543A (en) | Method used for quickly constructing forms in enterprise information system development process | |
CN103383687A (en) | Page processing method and device | |
CN105630267A (en) | View interface resource management method and apparatus | |
CN108595681B (en) | Method, device and system for displaying form | |
CN113268227A (en) | Zero-code visualization software development platform and development method | |
CN101980205A (en) | Universal page generating method | |
CN108572817B (en) | Method, apparatus and medium for dynamic resource configuration based on business modeling | |
CN110851123A (en) | WebGIS power grid visualization framework construction method, system and device based on SpringMVC | |
CN103593345A (en) | Webpage flow chart editing method and system | |
CN114461209A (en) | Page configuration and switching method, device, equipment and storage medium | |
Sajji et al. | A methodology for transforming BPMN to IFML into MDA | |
Zeb et al. | An ontology-supported asset information integrator system in infrastructure management | |
CN112000322A (en) | Processing system based on business scene template |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant |