A kind of edit methods of webpage, system and editing machine
Technical field
The application belongs to a kind of field of computer technology more particularly to edit methods of webpage, system and editing machine.
Background technology
Universal with smart machine (such as smart mobile phone, tablet computer) with the development of science and technology, people use intelligence
The affairs of equipment processing are more and more, such as browse webpage etc. by smart machine.People generally require before webpage is browsed
By special Web-Page Software and profession developer by write the form of front-end code edit complete one for
The webpage of family browsing.Due to being needed in the editor of webpage with special knowledge and software systems so that pass through specially
The ordinary person of training or study can not complete the making of webpage.It is provided on the market at present flat based on H5 technological development webpages
Platform is browsed by the page of its generation for smart machines such as smart mobile phones;Although the operation that they are provided is than professional software side
Just, but this method has made webpage and can only be shown webpage later, then needs complexity into remaining unchanged during edlin to webpage
Operation.
Invention content
In view of this, the embodiment of the present application provides a kind of edit methods of webpage, system and editing machine, existing to solve
In technology webpage making special developer is needed to be completed by software programming code, and for ordinary person difficulty compared with
Greatly and the webpage function that makes of existing web page editing platform is single, does not allow smart machine and user preferably interactive
Problem.
The first aspect of the embodiment of the present application provides a kind of edit methods of webpage, the edit methods packet of the webpage
It includes:
The web page editing that the first user transmission is received by the form of Website page is asked, and is asked according to the web page editing
Invoking web page template, wherein, the web page template includes blank web page template;
Content to be edited is called, adds the content to be edited to predeterminated position, wherein, the content to be edited is stored in
In at least two preset function module;
Logging modle is added, receive and records the information to be recorded of second user transmission in the logging modle.
The second aspect of the embodiment of the present application provides a kind of editing system of webpage, the editing system packet of the webpage
It includes:
Request reception unit, for passing through the web page editing request that the form of Website page receives the first user and sends, root
According to the web page editing request call web page template, wherein, the web page template includes blank web page template;
Call unit for calling content to be edited, adds the content to be edited to predeterminated position, wherein, it is described to treat
Content of edit is stored at least two preset function module;
Adding device for adding logging modle, receives and records the information to be recorded of second user transmission in the note
Record module.
The third aspect of the embodiment of the present application provides a kind of editing machine, including memory, processor and is stored in institute
The computer program that can be run in memory and on the processor is stated, the processor performs real during the computer program
Now such as the step of any one of the edit methods of webpage the method.
The fourth aspect of the embodiment of the present application provides a kind of computer readable storage medium, the computer-readable storage
Media storage has computer program, realizes in the edit methods such as the webpage and appoints when the computer program is executed by processor
The step of one the method.
In the embodiment that the application provides when user needs to carry out web page editing, form that editing machine passes through Website page
The web page editing request of the first user transmission is received, then according to the web page editing request call web page template, from preset
Function module calls content to be edited, and the content to be edited is added to predeterminated position;It is added and recorded according to the instruction of user
Module, and the information to be recorded received from second user is recorded in the logging modle.User can be from during this
Content to be edited is called to carry out the editor of webpage in preset function module, it is easy to operate so that even if special without web page editing
The personnel of industry knowledge can also complete the editor of webpage;In addition, the logging modle that user adds in webpage so that editor completes
Webpage not only have the function of displaying, moreover it is possible to record user's information to be recorded, make webpage functional diversities.
Description of the drawings
It, below will be to embodiment or description of the prior art in order to illustrate more clearly of the technical solution in the embodiment of the present application
Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only some of the application
Embodiment, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these
Attached drawing obtains other attached drawings.
Fig. 1 is a kind of realization flow diagram of the edit methods for webpage that the embodiment of the present application one provides;
Fig. 2 is a kind of structure diagram of the editing system for webpage that the embodiment of the present application two provides;
Fig. 3 is the schematic diagram for the editing machine that the embodiment of the present application three provides.
Specific embodiment
In being described below, in order to illustrate rather than in order to limit, it is proposed that such as tool of particular system structure, technology etc
Body details, to understand thoroughly the embodiment of the present application.However, it will be clear to one skilled in the art that there is no these specifically
The application can also be realized in the other embodiments of details.In other situations, it omits to well-known system, device, electricity
Road and the detailed description of method, in case unnecessary details interferes the description of the present application.
In the embodiment that the application provides when user needs to carry out web page editing, form that editing machine passes through Website page
The web page editing request of the first user transmission is received, then according to the web page editing request call web page template, from preset
Function module calls content to be edited, and the content to be edited is added to predeterminated position;It is added and recorded according to the instruction of user
Module, and the information to be recorded received from second user is recorded in the logging modle.
In order to illustrate technical solution described herein, illustrated below by specific embodiment.
Embodiment one:
Fig. 1 shows a kind of realization flow diagram of the edit methods for webpage that the embodiment of the present application one provides, and is described in detail
It is as follows:
Step S11, the web page editing that the first user transmission is received by the form of Website page is asked, according to the webpage
Edit requests invoking web page template, wherein, the web page template includes blank web page template;
User needs to log in preset webpage when editing webpage in the embodiment that the application provides, by the preset net
Receive the web page editing request of the first user transmission;The web page editing request is parsed, to be asked according to the web page editing
Analysis result invoking web page template.
It wherein, can be with the web page template through primary editing existing in calling system, for example, band during invoking web page template
There is the web page template of page layout background or be provided with the web page template of other elements;The web page template of blank can also be called, i.e.,
New webpage template.
Optionally, before the web page editing request that first user sends is received, to the identity of first user
Judged, to determine whether first user is registered users;If so, the web page editing request is received, and root
It asks to perform subsequent operation according to the web page editing;If it is not, then reject web page editing request, prompting described the is sent
The feedback information that one user is registered.
Optionally, when receiving web page editing request, application corresponding with the preset webpage can also be passed through
Program (APP) receives, user to be facilitated to carry out the editor of webpage in the intelligent terminal for being equipped with the application program.
Step S12 calls content to be edited, adds the content to be edited to predeterminated position, wherein, it is described to be edited interior
It stores and is stored at least two preset function module;
The first user can add different types of content in the web page template called according to their needs in the step,
To achieve the purpose that edit webpage.The content (that is, content to be edited) added can be called from preset function module.
Wherein, the function module at least there are two, the type pair with the function module is stored in each function module
The content to be edited or the link information of content to be edited answered.Such as the function module can include picture module, picture and text mould
Block, parameter module, atlas module, video module, audio-frequency module etc.;Optionally, the link information that can also will treat content to be edited
Setting forms link module in the same module.The function module is shown in the predeterminated position of webpage, and user can lead to
It crosses and each function module of operation changes such as drags, draws, dragging the location of in webpage.
It, can be straight if the predeterminated position in web page template is needed to add picture at this point, the first user carries out editing for webpage
It connects and picture to be added is selected from the atlas module, then added in preset position.
Optionally, if first user needs to edit the picture added again, such as in the picture added
Middle increase word etc., then in the region where the picture, sending edit instruction by the form of click can be to having added
Picture is edited again.It similarly, also can be directly from pre- if first user needs to add other content in web page template
If function module in call corresponding content, and add it at certain position.The web page editing process operates
It is convenient, the webpage needed for oneself can be easily made non-professional coder.
Step S13 adds logging modle, receives and records the information to be recorded of second user transmission in the record mould
Block.
Logging modle can be also set in web page template provided by the embodiments of the present application, if user needs to complete in web page editing
Continue to record content in webpage later, then add logging modle when editing webpage, then received by the logging modle
The information to be recorded that second user is sent, and the information to be recorded received is recorded in the region where the logging modle i.e.
It can.The second user can be the other users except first user to editing webpage or the first user.
Optionally, the information to be recorded that the second user is sent, including:
The current location information of the second user, audio, video, photo, word and one kind or more in attachment
Kind.
Specifically, when having completed in the webpage of editor added with logging modle, different attribute can be recorded in logging modle
Content, second user can send the position oneself being currently located and audio is added to logging modle or in logging modle, is regarded
Frequently, one or more contents in attachment and photo;In addition, second user can also be included by intelligent terminal browsing
During the webpage of the logging modle, text information is added in logging modle, to achieve the purpose that the information to needs records.
When being recorded to above-mentioned different types of content to be recorded, user can select to record the number of content every time according to their needs
Amount and type, as user can select different types of content to be recorded in once-through operation.
Second user is when logging modle records oneself current location information, into the net for being provided with the logging modle
Page obtains to identify the photo of second user present position by way of taking pictures, and the webpage receives second user
The photo uploaded, and the photo is recorded in logging modle, second user position is recorded with realizing.
Alternatively, the alignment system during the intelligent terminal of the webpage is browsed by second user determines that second user is currently located
Location information, and the location information determined is sent to logging modle, to realize that the current position of record second user is believed
The purpose of breath.
In the embodiment that the application provides when user needs to carry out web page editing, form that editing machine passes through Website page
The web page editing request of the first user transmission is received, then according to the web page editing request call web page template, from preset
Function module calls content to be edited, and the content to be edited is added to predeterminated position;It is added and recorded according to the instruction of user
Module, and the information to be recorded received from second user is recorded in the logging modle.User can be from during this
Content to be edited is called to carry out the editor of webpage in preset function module, it is easy to operate so that even if special without web page editing
The personnel of industry knowledge can also complete the editor of webpage;In addition, the logging modle that user adds in webpage so that editor completes
Webpage not only have the function of displaying, moreover it is possible to record user's information to be recorded, make webpage functional diversities.
Optionally, content to be edited is called described in another embodiment provided in the application, addition is described to be edited
Before content to predeterminated position, including:
At least two function modules are set, the corresponding interior perhaps institute to be edited is stored in the function module
State the link of content to be edited.
In the step, more than two function modules are pre-set before user carries out web page editing, and by each work(
Corresponding interior perhaps its link information record to be edited of energy module is wherein.For example, audio file is stored in audio-frequency module, institute
A variety of attributes can be included by stating audio file;Video information is stored in screen module.
Optionally, the content to be edited stored can come from local file or prestore text beyond the clouds
Part need to only record the link information of content to be edited in each function module or call the correlation of the content to be edited at this time
Path.
Optionally, the letter to be recorded of second user transmission is received and recorded described in another embodiment of the application offer
It ceases in the logging modle, including:
Judge whether the second user is preset authorized user, the second user include first user or/
With the other users except first user;
The second user be preset authorized user when, receive and record second user transmission information to be recorded in
The logging modle.
Before logging modle receives information to be recorded in the step, first the identity of second user is judged, to determine
Whether second user has permission records content in the webpage of its browsing.The second user include first user or/and
Other users except first user.The limiting operation logging modle is provided with while the logging modle is added
User, i.e., preset authorized user, preset authorized user can record information in logging modle, can also browse the module
In the content that records of itself or other people.
When whether judge second user is preset authorized user, the identity information of the second user is obtained, such as should
Then second user judges to award preset for sending the IP address of intelligent terminal of information or the account of the second user
Power user in whether have it is matching, if so, then judge the second user be preset authorized user;In the second user
During for preset authorized user, receive and record the information to be recorded of second user transmission in the logging modle.
Optionally, in another embodiment provided in the application the addition content to be edited to predeterminated position it
Afterwards, including:
It shows edited webpage, the link of the edited webpage is included according to the instruction generation of first user
Identification code, wherein, the identification code include Quick Response Code.
Specifically, after the first user completes the editor of webpage, the webpage for completing editor is shown;When receiving
After the instruction that one user sends, the identification code of the webpage, such as generation Quick Response Code or bar code, RFID and NFC cores are generated
Piece etc..Wherein, the link information of the webpage is included in the identification code, user can directly be browsed by the identification code
Corresponding webpage.
Function module is pre-set before user carries out web page editing in the embodiment that the application provides, facilitates user straight
It connects from wherein calling content to be edited;The identity for needing the second user for being recorded in logging modle content is judged,
Prevent some personnel from adding some incoherent contents in logging modle malice;Identification code is generated after completing web page editing, it is convenient
User browses webpage by identification code, improves user experience.
Embodiment two:
Corresponding to the edit methods of the webpage described in foregoing embodiments, Fig. 2 illustrates webpage provided by the embodiments of the present application
Editing system structure diagram, for convenience of description, only illustrate and the relevant part of the embodiment of the present application.
With reference to Fig. 2, the editing system of the webpage includes:Request reception unit 21, call unit 22, adding device 23,
In:
Request reception unit, for passing through the web page editing request that the form of Website page receives the first user and sends, root
According to the web page editing request call web page template, wherein, the web page template includes blank web page template;
Call unit for calling content to be edited, adds the content to be edited to predeterminated position, wherein, it is described to treat
Content of edit is stored at least two preset function module;
Adding device for adding logging modle, receives and records the information to be recorded of second user transmission in the note
Record module.
Optionally, the adding device, including:
Judgment module, for judging whether the second user is preset authorized user, the second user includes institute
State the other users except the first user or/and first user;
Information module to be recorded, for when the second user is preset authorized user, receiving and recording the second use
The information to be recorded that family is sent is in the logging modle.
Optionally, the information to be recorded that the second user is sent, including:
It is one or more in the current location information of the second user, audio, video, photo.
Optionally, the editing system of the webpage further includes:
At least two function modules are set, the corresponding interior perhaps institute to be edited is stored in the function module
State the link of content to be edited.
Optionally, the editing system of the webpage further includes:
Identification code generation unit, for showing edited webpage, according to the instruction of first user or second user
The identification code of link of the generation comprising the edited webpage, wherein, the identification code includes Quick Response Code.
It should be understood that the size of the serial number of each step is not meant to the priority of execution sequence, each process in above-described embodiment
Execution sequence should determine that the implementation process without coping with the embodiment of the present application forms any limit with its function and internal logic
It is fixed.
Embodiment three:
Fig. 3 is the schematic diagram for the editing machine that one embodiment of the application provides.As shown in figure 3, the editing machine 3 of the embodiment wraps
It includes:Processor 30, memory 31 and it is stored in the computer that can be run in the memory 31 and on the processor 30
Program 32.The processor 30 is realized when performing the computer program 32 in the edit methods embodiment of above-mentioned each webpage
Step, such as step S11 to S13 shown in FIG. 1.Alternatively, the processor 30 is realized when performing the computer program 32
State the function of each module/unit in each device embodiment, such as the function of unit 21 to 23 shown in Fig. 2.
Illustratively, the computer program 32 can be divided into one or more module/units, it is one or
Multiple module/units are stored in the memory 31, and are performed by the processor 30, to complete the application.Described one
A or multiple module/units can be the series of computation machine program instruction section that can complete specific function, which is used for
Implementation procedure of the computer program 32 in the editing machine 3 is described.For example, the computer program 32 can be divided
Into:Request reception unit, call unit, adding device, each unit concrete function are as follows:
Request reception unit, for passing through the web page editing request that the form of Website page receives the first user and sends, root
According to the web page editing request call web page template, wherein, the web page template includes blank web page template;
Call unit for calling content to be edited, adds the content to be edited to predeterminated position, wherein, it is described to treat
Content of edit is stored at least two preset function module;
Adding device for adding logging modle, receives and records the information to be recorded of second user transmission in the note
Record module.
Optionally, the adding device, including:
Judgment module, for judging whether the second user is preset authorized user, the second user includes institute
State the other users except the first user or/and first user;
Information module to be recorded, for when the second user is preset authorized user, receiving and recording the second use
The information to be recorded that family is sent is in the logging modle.
Optionally, the information to be recorded that the second user is sent, including:
It is one or more in the current location information of the second user, audio, video, photo.
Optionally, the editing system of the webpage further includes:
At least two function modules are set, the corresponding interior perhaps institute to be edited is stored in the function module
State the link of content to be edited.
Optionally, the editing system of the webpage further includes:
Identification code generation unit, for showing edited webpage, according to the instruction of first user or second user
The identification code of link of the generation comprising the edited webpage, wherein, the identification code includes Quick Response Code, RFID and NFC
Core etc..
The editing machine 3 can be the computing devices such as desktop PC, notebook, palm PC and cloud server.
The editing machine may include, but be not limited only to, processor 30, memory 31.It will be understood by those skilled in the art that Fig. 3 is only
It is the example of editing machine 3, does not form the restriction to editing machine 3, can includes than illustrating more or fewer components or group
Close certain components or different components, for example, the editing machine can also include input-output equipment, network access equipment,
Bus etc..
Alleged processor 30 can be central processing unit (Central Processing Unit, CPU), can also be
Other general processors, digital signal processor (Digital Signal Processor, DSP), application-specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor
Deng.
The memory 31 can be the internal storage unit of the editing machine 3, such as the hard disk or memory of editing machine 3.
The memory 31 can also be the External memory equipment of the editing machine 3, such as the plug-in type being equipped on the editing machine 3 is hard
Disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card
(Flash Card) etc..Further, the memory 31 can also both include the internal storage unit of the editing machine 3 or wrap
Include External memory equipment.The memory 31 is used to store the computer program and other programs needed for the editing machine
And data.The memory 31 can be also used for temporarily storing the data that has exported or will export.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each work(
Can unit, module division progress for example, in practical application, can be as needed and by above-mentioned function distribution by different
Functional unit, module are completed, i.e., the internal structure of described device are divided into different functional units or module, more than completion
The all or part of function of description.Each functional unit, module in embodiment can be integrated in a processing unit, also may be used
To be that each unit is individually physically present, can also two or more units integrate in a unit, it is above-mentioned integrated
The form that hardware had both may be used in unit is realized, can also be realized in the form of SFU software functional unit.In addition, each function list
Member, the specific name of module are not limited to the protection domain of the application also only to facilitate mutually distinguish.Above system
The specific work process of middle unit, module can refer to the corresponding process in preceding method embodiment, and details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment
The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may realize that each exemplary lists described with reference to the embodiments described herein
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is performed with hardware or software mode, specific application and design constraint depending on technical solution.Professional technician
Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed
Scope of the present application.
In embodiment provided herein, it should be understood that disclosed device/terminal device and method, it can be with
It realizes by another way.For example, device described above/terminal device embodiment is only schematical, for example, institute
The division of module or unit is stated, only a kind of division of logic function can have other dividing mode in actual implementation, such as
Multiple units or component may be combined or can be integrated into another system or some features can be ignored or does not perform.Separately
A bit, shown or discussed mutual coupling or direct-coupling or communication connection can be by some interfaces, device
Or the INDIRECT COUPLING of unit or communication connection, can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separate, be shown as unit
The component shown may or may not be physical unit, you can be located at a place or can also be distributed to multiple
In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme
's.
In addition, each functional unit in each embodiment of the application can be integrated in a processing unit, it can also
That each unit is individually physically present, can also two or more units integrate in a unit.Above-mentioned integrated list
The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
If the integrated module/unit realized in the form of SFU software functional unit and be independent product sale or
In use, it can be stored in a computer read/write memory medium.Based on such understanding, the application realizes above-mentioned implementation
All or part of flow in example method, can also instruct relevant hardware to complete, the meter by computer program
Calculation machine program can be stored in a computer readable storage medium, the computer program when being executed by processor, it can be achieved that on
The step of stating each embodiment of the method..Wherein, the computer program includes computer program code, the computer program
Code can be source code form, object identification code form, executable file or certain intermediate forms etc..Computer-readable Jie
Matter can include:Can carry the computer program code any entity or device, recording medium, USB flash disk, mobile hard disk,
Magnetic disc, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM,
Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It is it should be noted that described
The content that computer-readable medium includes can carry out appropriate increasing according to legislation in jurisdiction and the requirement of patent practice
Subtract, such as in certain jurisdictions, according to legislation and patent practice, computer-readable medium do not include be electric carrier signal and
Telecommunication signal.
Embodiment described above is only to illustrate the technical solution of the application, rather than its limitations;Although with reference to aforementioned reality
Example is applied the application is described in detail, it will be understood by those of ordinary skill in the art that:It still can be to aforementioned each
Technical solution recorded in embodiment modifies or carries out equivalent replacement to which part technical characteristic;And these are changed
Or replace, the spirit and scope of each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution should all
Within the protection domain of the application.