CN107368557A - page editing method and device - Google Patents

page editing method and device Download PDF

Info

Publication number
CN107368557A
CN107368557A CN201710542295.9A CN201710542295A CN107368557A CN 107368557 A CN107368557 A CN 107368557A CN 201710542295 A CN201710542295 A CN 201710542295A CN 107368557 A CN107368557 A CN 107368557A
Authority
CN
China
Prior art keywords
page
information
edited
editor
file
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
Application number
CN201710542295.9A
Other languages
Chinese (zh)
Other versions
CN107368557B (en
Inventor
刘思敏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201710542295.9A priority Critical patent/CN107368557B/en
Publication of CN107368557A publication Critical patent/CN107368557A/en
Application granted granted Critical
Publication of CN107368557B publication Critical patent/CN107368557B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Document Processing Apparatus (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a kind of page editing method and device.Wherein, this method includes:The loaded and displayed page to be edited in page client, wherein, the page to be edited is used to obtain the information for treating background server issue, and the page setup to be edited is in the rear in the equipment outside platform server;The editor's information for editing to obtain on the page to be edited is obtained, wherein, the information for treating background server issue includes editor's information;Editor's information is saved as to the file of predetermined format, wherein, the file of the predetermined format is used to be transferred to the background server, so that the background server issues editor's information.The present invention solve prior art due to need front-end person who and backstage developer together could content construction editor backstage, and cause the higher technical problem of development cost.

Description

Page editing method and device
Technical field
The present invention relates to computer realm, in particular to a kind of page editing method and device.
Background technology
The website of long-term content operation must provide to one backstage for writing content of operation personnel, mainly include title and Text, click on button issue article.But build Edition Contains backstage need product personnel, designer, front-end person who, The exploitation of developer's cooperative cooperating is completed, and cost of manufacture is high.
Operation personnel is different from Website development, it is necessary to which a visualization interface carries out fills.Fig. 1 is prior art A kind of visualization interface schematic diagram, as shown in figure 1, title division, body part and submission including fills can be carried out Button.
But using above-mentioned visualization interface filling technique of the prior art, Edition Contains backstage need product personnel, Designer, front-end person who, the exploitation of developer's cooperative cooperating are completed, it is necessary to build background server, and cost of manufacture is high;And If necessary to carry out specific aim improvement to Edition Contains backstage, development cost is high.
For it is above-mentioned the problem of, not yet propose effective solution at present.
The content of the invention
The embodiments of the invention provide a kind of page editing method and device, before at least solving prior art due to needs End personnel and backstage developer together could content construction editor backstage, and cause the higher technical problem of development cost.
One side according to embodiments of the present invention, there is provided a kind of page editing method, including:Obtained from server The page to be edited;Obtain the content of edit edited on the page to be edited;The content of edit is preserved paired As;The object is preserved into the file into predetermined format, wherein, the file is used to indicate generation target pages, the target The page includes the content of edit.
Another aspect according to embodiments of the present invention, a kind of page editing device is additionally provided, including:First obtains list Member, for obtaining the page to be edited from server;Second acquisition unit, for obtaining the institute on the page to be edited The content of edit of editor;First storage unit, for by the content of edit preserve in pairs as;Second storage unit, for inciting somebody to action The object preserves the file into predetermined format, wherein, the file is used to indicating generation target pages, in the target pages Including the content of edit.
In embodiments of the present invention, in the case where needing background server to release news, can from background server with The page to be edited pre-set is obtained in outer other equipment, and passes through page client loaded and displayed page to be edited Face, wherein, the page client can be for operation personnel in the enterprising edlin of the page to be edited;In operation personnel to be edited The page complete editor after, page client can be obtained on the page to be edited by editing obtained editor's information (i.e. Treat the information of background server issue), and editor's information is saved as to the file of predetermined format, by the file of the predetermined format Background server is transferred to, can be so that background server issues the editor's information completed on the page to be edited, so as to only Front-end person who is needed to build the page to be edited, can be so that operation personnel's filling out by the page complete independently content to be edited Fill and update, solve prior art due to needing front-end person who and backstage developer together could be after content construction editor Platform, and cause the higher technical problem of development cost, enter the page tool that completion can be developed without server, and needing Carry out specific aim it is improved in the case of, have development cost it is low, the technique effect of efficiency high.
Brief description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, forms the part of the application, this hair Bright schematic description and description is used to explain the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is a kind of visualization interface schematic diagram of prior art;
Fig. 2 is the schematic diagram of the hardware environment of page editing method according to embodiments of the present invention;
Fig. 3 is a kind of flow chart of optional page editing method according to embodiments of the present invention;
Fig. 4 is a kind of visualization interface signal optionally realized based on webpage front-end technology according to embodiments of the present invention Figure;
Fig. 5 is a kind of long-term content operation work optionally realized based on webpage front-end technology according to embodiments of the present invention The schematic flow sheet of tool;
Fig. 6 is a kind of schematic diagram of optional page editing device according to embodiments of the present invention;
Fig. 7 is the schematic diagram of the optional page editing device of another kind according to embodiments of the present invention;
Fig. 8 is the schematic diagram of the optional page editing device of another kind according to embodiments of the present invention;
Fig. 9 is the schematic diagram of the optional page editing device of another kind according to embodiments of the present invention;
Figure 10 is the schematic diagram of the optional page editing device of another kind according to embodiments of the present invention;
Figure 11 is the schematic diagram of the optional page editing device of another kind according to embodiments of the present invention;
Figure 12 is the schematic diagram of the optional page editing device of another kind according to embodiments of the present invention;
Figure 13 is a kind of structured flowchart of terminal according to embodiments of the present invention.
Embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention Accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill people The every other embodiment that member is obtained under the premise of creative work is not made, it should all belong to the model that the present invention protects Enclose.
It should be noted that term " first " in description and claims of this specification and above-mentioned accompanying drawing, " Two " etc. be for distinguishing similar object, without for describing specific order or precedence.It should be appreciated that so use Data can exchange in the appropriate case, so as to embodiments of the invention described herein can with except illustrating herein or Order beyond those of description is implemented.In addition, term " comprising " and " having " and their any deformation, it is intended that cover Cover it is non-exclusive include, be not necessarily limited to for example, containing the process of series of steps or unit, method, system, product or equipment Those steps or unit clearly listed, but may include not list clearly or for these processes, method, product Or the intrinsic other steps of equipment or unit.
Embodiment 1
According to embodiments of the present invention, there is provided a kind of page editing embodiment of the method.
Alternatively, in the present embodiment, above-mentioned page editing method can apply to as shown in Figure 2 by server 102 In the hardware environment formed with terminal 104.As shown in Fig. 2 server 102 is attached by network and terminal 104, it is above-mentioned Network includes but is not limited to:Wide area network, Metropolitan Area Network (MAN) or LAN, terminal 104 are not limited to PC, mobile phone, tablet personal computer etc..This The page editing method of inventive embodiments can be performed by server 102, can also be performed, can also be by terminal 104 Performed jointly by server 102 and terminal 104.Wherein, the page editing method of the execution of terminal 104 embodiment of the present invention can also It is to be performed by client mounted thereto.
Fig. 3 is a kind of flow chart of optional page editing method according to embodiments of the present invention, as shown in figure 3, the party Method may comprise steps of:
Step S302, the loaded and displayed page to be edited in page client, wherein, the page to be edited is used to obtain The information of background server issue is treated, page setup to be edited is in the equipment outside background server;
Step S304, the editor's information for editing to obtain on the page to be edited is obtained, wherein, treat that background server is issued Information include editor information;
Step S306, editor's information is saved as to the file of predetermined format, wherein, the file of predetermined format is used to be transmitted To background server, so that background server issue editor's information.
, can be from rear in the case where needing background server to release news by above-mentioned steps S302 to step S306 The page to be edited pre-set is obtained in other equipment beyond platform server, and is treated by page client loaded and displayed The page of editor, wherein, the page client can be for operation personnel in the enterprising edlin of the page to be edited;In operation personnel After completing editor to the page to be edited, page client can be obtained on the page to be edited by editing obtained editor The information information of issue (treat background server), and editor's information is saved as to the file of predetermined format, this pre- is fixed The file of formula is transferred to background server, can be so that editor's letter that background server issue is completed on the page to be edited Breath, can be so that operation personnel be independently complete by the page to be edited so as to only need front-end person who to build the page to be edited Into the filling and renewal of content, it is interior due to needing front-end person who and backstage developer to build together to solve prior art Hold editor backstage, and cause the higher technical problem of development cost, enter the page tool that completion can be developed without server, And in the case of needing progress specific aim improved, the technique effect of efficiency high low with development cost.
Step S302 provide technical scheme in, page client can be any one Webpage or certain Any one page in individual client;The page to be edited can be used to edit in operation on this page for operation personnel The page of appearance, wherein, the page to be edited can be arranged in the other equipment beyond background server.Needing to take to backstage In the case that business device releases news, it can be obtained in the other equipment beyond background server by page client and set in advance The page to be edited put, and operation personnel is passed through page in the page client page loaded and displayed to be edited Face client writes the information for needing background server to issue on the page to be edited, consequently facilitating the page to be edited obtains Treat the information of background server issue.
As a kind of optional embodiment, in page client before the loaded and displayed page to be edited, the embodiment It can also include:The page to be edited is set in equipment, wherein, it is provided with the page to be edited one or more for obtaining The control of input information is taken, editor's information includes input information.
Using the above embodiment of the present invention, the page to be edited can be pre-set in equipment, and can wait to compile One or more controls are set on the page collected, the editor's information inputted by control acquisition operation personnel in the control, So as to set the page to be edited for including control in equipment, it is defeated that operation personnel institute in the page to be edited is obtained by control The information entered, it can quickly and easily complete the process of collection edit information.
It should be noted that control is the encapsulation to data and method, each control has independent attribute and method, its In, attribute is the easy access person of control data, and method is then some simple and visible functions of control.
As an optional example, 3 controls can be included on the page to be edited, respectively control A, control B, with And control C, operation personnel can edit information in control A, control B, and control C corresponding to input.It is for example, entitled " chapters and sections ID " control, operation personnel can be made to input the ID numberings of chapters and sections in the control.
As a kind of optional embodiment, after the page to be edited is set in equipment, the embodiment can also include: Operation is updated to the control in the page to be edited that is set in equipment, the page after being updated;It will be treated in equipment The page of editor replaces with the page after renewal.
, can be to being set in equipment after the page to be edited is set in equipment using the above embodiment of the present invention Control in the page to be edited is updated operation, the page after being updated, and replaces the page to be edited in equipment The page being changed to after renewal, so as to complete the renewal in equipment to the page to be edited, it is ensured that after equipment can use renewal The page, it is easy to according to actual use demand the flexible arrangement control on the page to be edited, and is updating operation personnel Input editing information on the page afterwards.
It is page A in the former page to be edited that equipment is set, then in page A as an optional example After control is updated operation, the page B after being updated, and former page A is replaced using page B, so that will be originally in equipment The page A of upper setting is updated to page B.
As a kind of optional embodiment, being updated operation to the control in the page to be edited that is set in equipment can With including:Increase the first object control for obtaining first object input information in the page to be edited, wherein, Bian Jixin Breath includes first object input information;The second target widget is deleted in one or more controls for being used to obtain input information; It is from the first attribute modification by one or more control properties for being used to obtain the 3rd target widget in the control of input information Second attribute.
Using the above embodiment of the present invention, operation is updated to the control in the page to be edited that is set in equipment, First object control can be increased in the page to be edited, wherein, first object control be in the page to be edited originally not Existing control, the first object that operation personnel inputted can be obtained by first object control and input information.The embodiment The second target control that the one or more set on the page to be edited is used to obtain in the control of input information can also be deleted Part, wherein, the second target widget can be any control existing for script in the page to be edited.The embodiment can also be by one Multiple control properties for being used to obtain the 3rd target widgets in the controls of input information are from original first attribute modification after individual For the second attribute, so as to be easy to according to actual use demand flexible arrangement control, wherein, the 3rd target widget can be to treat Any control existing for script in the page of editor, the first attribute can be the attribute of the script of the 3rd target widget, and second belongs to Property can be attribute after the change of the 3rd target widget, it is necessary to which explanation, control property can include but is not limited to information Input mode, for example, be manually entered or select button input.
As an optional example, operation is updated to the control in the page to be edited that is set in equipment, can With including addition control, deletion control and the attribute for changing control.Needing the feelings of the addition control into the page to be edited Under condition, corresponding control can be added in the page to be edited, wherein, the control of addition can be as needed to be edited The type of input content is needed to determine in the page, for example, in the case where needing to input content of text into the page to be edited, Control corresponding to text type can be added;In the case where needing to input digital content into the page to be edited, Ke Yitian Add control corresponding to numeric type.In the case where needing to delete control from the page to be edited, can delete to be edited Corresponding control in the page.Needing to adjust in the page to be edited in the case of the attribute type of control, can be by the control Original first attribute modification is the second attribute.For example, including the control of input text in the former page to be edited, people is runed Member can input information A, information B and information C in the control, then, can be with the case where needing to adjust the control property " filling in attribute " in space is revised as " selection attribute ", information A, information B and information C are provided in the control for fortune Seek personnel selection.
In the technical scheme that step S304 is provided, treating the information of background server issue can edit including operation personnel Editor's information and the page to be edited in some existing information itself.Operation personnel, which inputs, on the page to be edited compiles After collecting information, page client can obtain editor's information of operation personnel's input, and editor's information is determined to treat to take from the background The information of business device issue.
It should be noted that in the page to be edited, can include being used for the prompting for prompting operation personnel's input content Information, for example, for prompting user to input the " chapters and sections ID " prompt messages of section number content.
As a kind of optional embodiment, obtaining the editor's information for editing to obtain on the page to be edited can include: The character string for representing editor's information is obtained on the page to be edited.
Using the above embodiment of the present invention, the character for representing editor's information can be obtained by the page to be edited String, so as to so that computer or server can determine that operation personnel inputs on the page to be edited according to the character string Information is edited, completes the acquisition to editing information.
Alternatively, computer or server can be directly from the pages to be edited with identification string, page client The character string that upper acquisition can be identified by computer or server.
Alternatively, operation personnel can insert editor's information by page client on the page to be edited, and fill out During writing, the editor's information inserted is converted into string format, and be shown on the page to be edited.
It is alternatively possible to editor's information on the page to be edited is obtained by page client, and in acquisition process, Editor's information is directly converted into string format.
In the technical scheme that step S306 is provided, editor's information can be saved as to the file of predetermined format, by this The file of predetermined format by the editor's information transfer inputted in the page to be edited to background server so that background server can With file distribution editor's information according to the predetermined format.
It is alternatively possible to file of the information preservation into specified format will be edited with FileSaver.js.
It should be noted that character string can be preserved the text into any form using the Component Gallery FileSaver.js that increases income Part, can be so that page download file without building backstage.
As a kind of optional embodiment, editor's information is saved as to the file of predetermined format to be included:By character string Format conversion operation is carried out, obtains the data that form is object format;Form is saved as into pre- fix for the data of object format The file of formula.
Using the above embodiment of the present invention, the character string for being used to represent editor's information of acquisition can be entered row format and turned Change, obtain the character string represented with format into object format data, and form is saved as to the text of predetermined format for the data of object format Part, it is easy to editor's information by operation personnel's input to be transmitted by the file of predetermined format.
As a kind of optional embodiment, character string is subjected to format conversion operation, obtains the number that form is object format According to can include:In the case where the type of the first object information in editing information is numeric type, will be used in character string Represent that the first object character string of first object information is converted to integer;The type of the second target information in information is edited is In the case of text type, the second target string for being used to represent the second target information in character string is subjected to character Series Code Code.
Using the above embodiment of the present invention, the character string convert integer of numeric type in information can will be edited;Can be with The character string for editing information Chinese version type is subjected to string encoding, and for the character string of character string type in editor's information Conversion operation need not then be carried out.The embodiment to representing that the character string for editing information enters row format conversion by that can be easy to root According to character string after the integer and coding after conversion to transmit and using operation personnel input editor's information, and change after it is whole Character string after number and coding is during transmission and use, it is ensured that the accuracy of original editor's information.
Alternatively, first object information can be the information for the numeric type that operation personnel is edited.
Alternatively, first object character string can be the character string corresponding with first object information.
Alternatively, the second target information can be the information for the text type that operation personnel is edited.
Alternatively, the second target string can be the character string corresponding with the second target information.
As an optional example, can by the character string for the numeric type edited in information, by parseInt, Character string can change into integer;The character string for the text type edited in information can also be subjected to word by Base64.encode Accord with string encoding.
It should be noted that by Base64.encode carry out string encoding be it is uncontrollable because filling content, can Some English symbols can be included, if not encoding preservation can mutually rush with the code sign of the former page, cause to malfunction.
As a kind of optional embodiment, character string is being carried out format conversion operation by the embodiment of the present invention, obtains form After the data of object format, the data can be saved as into object first, then the object is preserved into predetermined format again File.
As a kind of optional embodiment, after editor's information is saved as into the file of predetermined format, the embodiment is also It can include:The file of predetermined format is transferred to background server, so that background server issue editor's information.
, can be after editor's information be saved as into the file of predetermined format using the above embodiment of the present invention, will be predetermined The file of form is transmitted to background server, and the file of the predetermined format is used by background server, and information is edited in issue, from And complete the issue to editing information so that background server can issue operation content to other accounts.
Present invention also offers a kind of preferred embodiment, the preferred embodiment provides a kind of real based on webpage front-end technology Existing long-term content operation instrument opening method.
A kind of long-term content operation too development method realized based on webpage front-end technology provided by the invention, without clothes Business device can develop the page tool of completion, in the case of needing progress specific aim improved, efficiency high low with development cost Effect.
Fig. 4 is a kind of visualization interface signal optionally realized based on webpage front-end technology according to embodiments of the present invention Figure, as shown in figure 4, interface includes, " chapters and sections ID ", " chapter title ", " discussion topic today " and " chapters and sections content ", user is only Corresponding content need to be inserted in corresponding position according to predetermined form, for example, " being inserted in chapters and sections ID " " 10 "; Inserted in " chapter title " " chapter 10 meets finally ";Inserted in " discussion topic today " " if today needs discussion Topic ";And insert body matter in " chapters and sections content ".
Fig. 5 is a kind of long-term content operation work optionally realized based on webpage front-end technology according to embodiments of the present invention The schematic flow sheet of tool, as shown in figure 5, the flow includes:
Step S502, all filling contents of the page are obtained, and the filling content of acquisition is all converted into string format;
Character string then can be changed into integer, it is necessary to what is got is integer content by step S504 with parseInt;
Step S506 then carries out string encoding, it is necessary to what is got is content of text with Base64.encode;
Step S508 directly preserves character string, it is necessary to what is got is string content;
Step S510, the above is all preserved into an object;
Step S512, the file with FileSaver.js object preservation into specified format.
In the above-described embodiments, be to string encoding by Base64.encode it is uncontrollable because filling content, can Some English symbols can be included, not encoding preservation can mutually rush with the code sign of the former page, cause to malfunction.
In the above-described embodiments, character string can be preserved using the Component Gallery FileSaver.js that increases income into any form File, can be so that page download file without building backstage.
In the above-described embodiments, such as need specific aim to improve, directly change the parameter setting in code.
Using the above embodiment of the present invention, each link manual workload can be saved, only needs front-end person who i.e. achievable Content operation too development;The page tool of completion can be developed without server, is needing to carry out the improved situation of specific aim Under, the effect of efficiency high low with development cost.
Using the above embodiment of the present invention, using webpage front-end technology simple construction Edition Contains backstage, production can be saved Product personnel, designer, the workload of developer, only need the i.e. achievable content operation too development of front-end person who.
Using the above embodiment of the present invention, Edition Contains background interface step is clear, saves communication cost, and operation personnel can The filling and renewal of complete independently content.
It is alternatively possible to apply exploiting natural resources, a background server is built, and if targetedly improve, also need Again one is built, efficiency is low.
It should be noted that for foregoing each method embodiment, in order to be briefly described, therefore it is all expressed as a series of Combination of actions, but those skilled in the art should know, the present invention is not limited by described sequence of movement because According to the present invention, some steps can use other orders or carry out simultaneously.Secondly, those skilled in the art should also know Know, embodiment described in this description belongs to preferred embodiment, and involved action and module are not necessarily of the invention It is necessary.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation The method of example can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but a lot In the case of the former be more preferably embodiment.Based on such understanding, technical scheme is substantially in other words to existing The part that technology contributes can be embodied in the form of software product, and the computer software product is stored in a storage In medium (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal equipment (can be mobile phone, calculate Machine, server, or network equipment etc.) perform method described in each embodiment of the present invention.
Embodiment 2
According to embodiments of the present invention, a kind of page editing device for being used to implement above-mentioned page editing method is additionally provided. Fig. 6 is a kind of schematic diagram of optional page editing device according to embodiments of the present invention, as shown in fig. 6, the device can wrap Include:Display unit 61, the page to be edited for the loaded and displayed in page client, wherein, the page to be edited is used In obtaining the information for the treatment of background server issue, the page setup to be edited equipment outside platform server in the rear On;Acquiring unit 63, for obtaining the editor's information for editing to obtain on the page to be edited, wherein, it is described to treat backstage The information of server issue includes editor's information;Storage unit 65, for editor's information to be saved as into predetermined format File, wherein, the file of the predetermined format is used to be transferred to the background server, so that the background server is sent out Information is edited described in cloth.
It should be noted that the display unit 61 in the embodiment can be used for performing the step in the embodiment of the present application 1 S302, the acquiring unit 63 in the embodiment can be used for performing the step S304 in the embodiment of the present application 1, in the embodiment Storage unit 65 can be used for performing the step S306 in the embodiment of the present application 1.
Herein it should be noted that above-mentioned module is identical with example and application scenarios that corresponding step is realized, but not It is limited to the disclosure of that of above-described embodiment 1.It should be noted that above-mentioned module as a part for device may operate in as It in hardware environment shown in Fig. 2, can be realized, can also be realized by hardware by software.
As a kind of optional embodiment, as shown in fig. 7, described device also includes:Setting unit 67, in the page In the client of face before the loaded and displayed page to be edited, the page to be edited is set on said device, wherein, it is described One or more controls for being used to obtain input information are provided with the page to be edited, editor's information includes the input Information.
As a kind of optional embodiment, as shown in figure 8, described device also includes:Updating block 69, for being set described It is standby it is upper the page to be edited is set after, the control in the page to be edited that is set in the equipment is carried out more New operation, the page after being updated;Replacement unit 71, for the page to be edited to be replaced with into institute on said device State the page after renewal.
As a kind of optional embodiment, as shown in figure 9, the updating block 69 includes:Increase module 691, for Increase the first object control for obtaining first object input information in the page to be edited, wherein, editor's letter Breath includes the first object input information;Removing module 692, for being used to obtain input information one or more of The second target widget is deleted in control;Modified module 693, for being used to obtain the controls for inputting information by one or more of In the 3rd target widget control property from the first attribute modification be the second attribute.
As a kind of optional embodiment, as shown in Figure 10, the acquiring unit 63 includes:Acquisition module 631, for The character string for representing editor's information is obtained on the page to be edited;The storage unit 65 includes:Modulus of conversion Block 651, for the character string to be carried out into format conversion operation, obtain the data that form is object format;Preserving module 652, For the form to be saved as to the file of the predetermined format for the data of object format.
As a kind of optional embodiment, as shown in figure 11, the modular converter 651 includes:First transform subblock 6511, in the case that the type for the first object information in editor's information is numeric type, by the character string In be used to represent that the first object character string of the first object information is converted to integer;Second transform subblock 6512, is used for In the case that the type of the second target information in editor's information is text type, it will be used to represent in the character string Second target string of second target information carries out string encoding.
As a kind of optional embodiment, as shown in figure 12, described device also includes:Transmission unit 73, for described After editor's information is saved as into the file of predetermined format, the file of the predetermined format is transferred to the background service Device, so that the background server issues editor's information.
, can be beyond background server in the case where needing background server to release news by above-mentioned module Obtain the page to be edited pre-set in other equipment, and by the page client loaded and displayed page to be edited, its In, the page client can be for operation personnel in the enterprising edlin of the page to be edited;In operation personnel to page to be edited After editor is completed in face, page client can be obtained on the page to be edited by editing obtained editor's information (i.e. after The information of platform server issue), and editor's information is saved as to the file of predetermined format, the file of the predetermined format is transmitted , can be so that background server issues the editor's information completed on the page to be edited, before only needing to background server End personnel build the page to be edited, can so that operation personnel by the filling of the page complete independently content to be edited and Renewal, solve prior art due to need front-end person who and backstage developer together could content construction editor backstage, and Cause the technical problem that development cost is higher, enter the page tool that completion can be developed without server, and need into It is low with development cost in the case of row specific aim is improved, the technique effect of efficiency high.
Embodiment 3
According to embodiments of the present invention, a kind of terminal for being used to implement above-mentioned page editing method is additionally provided.
Figure 13 is a kind of structured flowchart of terminal according to embodiments of the present invention, and as shown in figure 13, the terminal can include: One or more (one is only shown in figure) processor 201, memory 203 and transmitting devices 205, as shown in figure 13, the end End can also include input-output equipment 207.
Wherein, memory 203 can be used for storage software program and module, such as the page editing side in the embodiment of the present invention Programmed instruction/module corresponding to method and device, processor 201 by operation be stored in software program in memory 203 and Module, so as to perform various function application and data processing, that is, realize above-mentioned page editing method.Memory 203 can wrap Include high speed random access memory, nonvolatile memory can also be included, as one or more magnetic storage device, flash memory or Other non-volatile solid state memories of person.In some instances, memory 203 can further comprise remote relative to processor 201 The memory that journey is set, these remote memories can pass through network connection to terminal.The example of above-mentioned network includes but unlimited In internet, intranet, LAN, mobile radio communication and combinations thereof.
Above-mentioned transmitting device 205 is used to data are received or sent via a network.Above-mentioned network instantiation It may include cable network and wireless network.In an example, transmitting device 205 includes a network adapter (Network Interface Controller, NIC), its can be connected by netting twine with other network equipments with router so as to interconnection Net or LAN are communicated.In an example, transmitting device 205 is radio frequency (Radio Frequency, RF) module, its For wirelessly being communicated with internet.
Wherein, specifically, memory 203 is used to store application program.
Processor 201 can call the application program that memory 203 stores, to perform following step:In page client The upper loaded and displayed page to be edited, wherein, the page to be edited is used to obtain the information for treating background server issue, to be edited Page setup in the equipment outside background server;The editor's information for editing to obtain on the page to be edited is obtained, its In, treating the information of background server issue includes editor's information;Editor's information is saved as to the file of predetermined format, wherein, in advance The file for the formula that fixes is used to be transferred to background server, so that background server issue editor's information.
Processor 201 is additionally operable to perform following step:In page client before the loaded and displayed page to be edited, The page to be edited is set in equipment, wherein, it is provided with the page to be edited one or more for obtaining input information Control, editor's information include input information.
Processor 201 is additionally operable to perform following step:After the page to be edited is set in equipment, to being set in equipment The page to be edited in control be updated operation, the page after being updated;The page to be edited is replaced in equipment The page being changed to after renewal.
Processor 201 is additionally operable to perform following step:Increase in the page to be edited for obtaining first object input The first object control of information, wherein, editor's information includes first object input information;It is used to obtain input in one or more The second target widget is deleted in the control of information;By one or more the 3rd target controls for being used to obtain in the control of input information The control property of part from the first attribute modification be the second attribute.
Processor 201 is additionally operable to perform following step:The word for representing editor's information is obtained on the page to be edited Symbol string;Character string is subjected to format conversion operation, obtains the data that form is object format;By the data that form is object format Save as the file of predetermined format.
Processor 201 is additionally operable to perform following step:The type of first object information in information is edited is numeric class In the case of type, it will be used to represent that the first object character string of first object information is converted to integer in character string;Believe in editor In the case that the type of the second target information in breath is text type, it will be used to represent the second target information the in character string Two target strings carry out string encoding.
Processor 201 is additionally operable to perform following step:, will be pre- after editor's information is saved as into the file of predetermined format The file for the formula that fixes is transferred to background server, so that background server issue editor's information.
Using the embodiment of the present invention, there is provided a kind of page editing scheme.In the feelings for needing background server to release news Under condition, the page to be edited pre-set can be obtained from the other equipment beyond background server, and pass through page visitor The family end loaded and displayed page to be edited, wherein, the page client can be carried out for operation personnel on the page to be edited Editor;After operation personnel completes editor to the page to be edited, page client can obtain leads on the page to be edited Editor's information (information for treating background server issue) that editor obtains is crossed, and editor's information is saved as into predetermined format File, the file of the predetermined format is transferred to background server, can be so that background server be issued in the page to be edited Editor's information of upper completion, can be so that operation personnel waits to compile by this so as to only need front-end person who to build the page to be edited The filling and renewal for the page complete independently content collected, solve prior art due to needing front-end person who and backstage developer Together could content construction editor backstage, and cause the higher technical problem of development cost, entering can develop without server The page tool of completion, and in the case of needing progress specific aim improved, the technology effect of efficiency high low with development cost Fruit.
Alternatively, the specific example in the present embodiment may be referred to showing described in above-described embodiment 1 and embodiment 2 Example, the present embodiment will not be repeated here.
It will appreciated by the skilled person that the structure shown in Figure 13 is only to illustrate, terminal can be smart mobile phone (such as Android phone, iOS mobile phones), tablet personal computer, palm PC and mobile internet device (Mobile Internet Devices, MID), the terminal device such as PAD.Figure 13 it does not cause to limit to the structure of above-mentioned electronic installation.For example, terminal is also It may include more either less components (such as network interface, display device etc.) than shown in Figure 13 or have and Figure 13 institutes Show different configurations.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can To be completed by program come command terminal device-dependent hardware, the program can be stored in a computer-readable recording medium In, storage medium can include:Flash disk, read-only storage (Read-Only Memory, ROM), random access device (Random Access Memory, RAM), disk or CD etc..
Embodiment 4
Embodiments of the invention additionally provide a kind of storage medium.Alternatively, in the present embodiment, above-mentioned storage medium can For performing the program code of page editing method.
Alternatively, in the present embodiment, above-mentioned storage medium can be located at multiple in the network shown in above-described embodiment On at least one network equipment in the network equipment.
Alternatively, in the present embodiment, storage medium is arranged to the program code that storage is used to perform following steps:
S1, the loaded and displayed page to be edited in page client, wherein, the page to be edited treats backstage for acquisition The information of server issue, page setup to be edited is in the equipment outside background server;
S2, the editor's information for editing to obtain on the page to be edited is obtained, wherein, treat the information that background server is issued Including editing information;
S3, editor's information is saved as to the file of predetermined format, wherein, the file of predetermined format is used to be transferred to backstage Server, so that background server issue editor's information.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:In page client Before the upper loaded and displayed page to be edited, editor's information is saved as to the file of predetermined format, wherein, the file of predetermined format For being transferred to background server, so that background server issue editor's information
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:Set in equipment After the page to be edited, operation is updated to the control in the page to be edited that is set in equipment, after being updated The page;The page to be edited is replaced with into the page after renewal in equipment.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:In page to be edited Increase the first object control for obtaining first object input information in face, wherein, editor's information inputs including first object Information;The second target widget is deleted in one or more controls for being used to obtain input information;One or more is used to obtain Take input information control in the 3rd target widget control property from the first attribute modification be the second attribute.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:In page to be edited The character string for representing editor's information is obtained on face;Character string is subjected to format conversion operation, it is object format to obtain form Data;Form is saved as to the file of predetermined format for the data of object format.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:In information is edited First object information type be numeric type in the case of, will be used to represent the first mesh of first object information in character string Mark character string is converted to integer;In the case where the type of the second target information in editing information is text type, by character It is used to represent that the second target string of the second target information carries out string encoding in string.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:Information will edited After the file for saving as predetermined format, the file of predetermined format is transferred to background server, so that background server is issued Edit information.
Alternatively, the specific example in the present embodiment may be referred to showing described in above-described embodiment 1 and embodiment 2 Example, the present embodiment will not be repeated here.
Alternatively, in the present embodiment, above-mentioned storage medium can include but is not limited to:USB flash disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. is various can be with the medium of store program codes.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
If the integrated unit in above-described embodiment is realized in the form of SFU software functional unit and is used as independent product Sale or in use, the storage medium that above computer can be read can be stored in.Based on such understanding, skill of the invention The part or all or part of the technical scheme that art scheme substantially contributes to prior art in other words can be with soft The form of part product is embodied, and the computer software product is stored in storage medium, including some instructions are causing one Platform or multiple stage computers equipment (can be personal computer, server or network equipment etc.) perform each embodiment institute of the present invention State all or part of step of method.
In the above embodiment of the present invention, the description to each embodiment all emphasizes particularly on different fields, and does not have in some embodiment The part of detailed description, it may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed client, can be by others side Formula is realized.Wherein, device embodiment described above is only schematical, such as the division of the unit, and only one Kind of division of logic function, can there is an other dividing mode when actually realizing, for example, multiple units or component can combine or Another system is desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or discussed it is mutual it Between coupling or direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some interfaces, unit or module Connect, can be electrical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
Described above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should It is considered as protection scope of the present invention.

Claims (14)

  1. A kind of 1. page editing method, it is characterised in that including:
    The loaded and displayed page to be edited in page client, wherein, the page to be edited treats that backstage takes for acquisition It is engaged in the information of device issue, the page setup to be edited is in the rear in the equipment outside platform server;
    The editor's information for editing to obtain on the page to be edited is obtained, wherein, the letter for treating background server issue Breath includes editor's information;
    Editor's information is saved as to the file of predetermined format, wherein, the file of the predetermined format is used to be transferred to institute Background server is stated, so that the background server issues editor's information.
  2. 2. according to the method for claim 1, it is characterised in that the loaded and displayed page to be edited in the page client Before face, methods described also includes:
    The page to be edited is set on said device, wherein, it is provided with one or more on the page to be edited For obtaining the control of input information, editor's information includes the input information.
  3. 3. according to the method for claim 2, it is characterised in that set on said device the page to be edited it Afterwards, methods described also includes:
    Operation is updated to the control in the page to be edited that is set in the equipment, the page after being updated;
    The page to be edited is replaced with to the page after the renewal on said device.
  4. 4. according to the method for claim 3, it is characterised in that the page to be edited to being set in the equipment Control in face, which is updated operation, includes at least one of:
    Increase the first object control for obtaining first object input information in the page to be edited, wherein, it is described Editing information includes first object input information;
    The second target widget is deleted in one or more of controls for being used to obtain input information;
    One or more of control properties for being used to obtain the 3rd target widget in the control of input information are belonged to from first Property is revised as the second attribute.
  5. 5. according to the method for claim 1, it is characterised in that
    The editor's information for editing to obtain on the page to be edited that obtains includes:Obtained on the page to be edited Take in the character string for representing editor's information;
    The file that editor's information is saved as into predetermined format includes:The character string is subjected to format conversion operation, Obtain the data that form is object format;The form is saved as to the file of the predetermined format for the data of object format.
  6. 6. according to the method for claim 5, it is characterised in that it is described that the character string is subjected to format conversion operation, obtain Include to form for the data of object format:
    In the case that the type of first object information in editor's information is numeric type, it will be used in the character string Represent that the first object character string of the first object information is converted to integer;
    In the case that the type of the second target information in editor's information is text type, it will be used in the character string Represent that the second target string of second target information carries out string encoding.
  7. 7. method according to any one of claim 1 to 6, it is characterised in that preserve editor's information described After the file of predetermined format, methods described also includes:
    The file of the predetermined format is transferred to the background server, so that background server issue editor's letter Breath.
  8. A kind of 8. page editing device, it is characterised in that including:
    Display unit, the page to be edited for the loaded and displayed in page client, wherein, the page to be edited is used for The information for treating background server issue is obtained, the page setup to be edited is in the rear in the equipment outside platform server;
    Acquiring unit, for obtaining the editor's information for editing to obtain on the page to be edited, wherein, it is described to treat that backstage takes The information of business device issue includes editor's information;
    Storage unit, for editor's information to be saved as to the file of predetermined format, wherein, the file of the predetermined format is used In being transferred to the background server, so that the background server issues editor's information.
  9. 9. device according to claim 8, it is characterised in that described device also includes:
    Setting unit, before the page to be edited for the loaded and displayed in the page client, set on said device The page to be edited, wherein, one or more controls for being used to obtain input information are provided with the page to be edited Part, editor's information include the input information.
  10. 10. device according to claim 9, it is characterised in that described device also includes:
    Updating block, after the page to be edited is set on said device, described in being set in the equipment Control in the page to be edited is updated operation, the page after being updated;
    Replacement unit, for the page to be edited to be replaced with to the page after the renewal on said device.
  11. 11. device according to claim 10, it is characterised in that the updating block includes:
    Increase module, for increasing the first object control for obtaining first object input information in the page to be edited Part, wherein, editor's information includes first object input information;
    Removing module, for deleting the second target widget in one or more of controls for being used to obtain input information;
    Modified module, for by it is one or more of be used for obtain input information controls in the 3rd target widgets controls Attribute from the first attribute modification be the second attribute.
  12. 12. device according to claim 8, it is characterised in that
    The acquiring unit includes:Acquisition module, it is used to represent editor's letter for obtaining on the page to be edited The character string of breath;
    The storage unit includes:Modular converter, for the character string to be carried out into format conversion operation, it is target to obtain form The data of form;Preserving module, for the form to be saved as to the file of the predetermined format for the data of object format.
  13. 13. device according to claim 12, it is characterised in that the modular converter include with lower module at least it One:
    First transform subblock, the type for the first object information in editor's information are the situation of numeric type Under, it will be used to represent that the first object character string of the first object information is converted to integer in the character string;
    Second transform subblock, the type for the second target information in editor's information are the situation of text type Under, the second target string for being used to represent second target information in the character string is subjected to string encoding.
  14. 14. the device according to any one of claim 8 to 13, it is characterised in that described device also includes:
    Transmission unit, for it is described by it is described editor information save as the file of predetermined format after, by the predetermined format File be transferred to the background server so that the background server issues editor's information.
CN201710542295.9A 2017-07-05 2017-07-05 Page editing method and device Active CN107368557B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710542295.9A CN107368557B (en) 2017-07-05 2017-07-05 Page editing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710542295.9A CN107368557B (en) 2017-07-05 2017-07-05 Page editing method and device

Publications (2)

Publication Number Publication Date
CN107368557A true CN107368557A (en) 2017-11-21
CN107368557B CN107368557B (en) 2020-11-10

Family

ID=60306327

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710542295.9A Active CN107368557B (en) 2017-07-05 2017-07-05 Page editing method and device

Country Status (1)

Country Link
CN (1) CN107368557B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111626018A (en) * 2019-02-28 2020-09-04 北京数聚鑫云信息技术有限公司 Method and device for constructing JSON formatted data
CN113741877A (en) * 2021-08-02 2021-12-03 紫金诚征信有限公司 Visual workflow editing method and device based on WEB front end

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102254049A (en) * 2011-08-29 2011-11-23 程向明 Web page design system and method for building same
CN103870504A (en) * 2012-12-17 2014-06-18 腾讯科技(深圳)有限公司 Webpage publishing method and system
CN103955366A (en) * 2014-04-18 2014-07-30 南威软件股份有限公司 Producing method of visualized website template
CN104572092A (en) * 2014-12-26 2015-04-29 北京奇虎科技有限公司 Method and device for webpage making
CN104714989A (en) * 2013-12-12 2015-06-17 南宁市磁汇科技有限公司 Method for dynamically storing and visually editing WEB page in browser
CN105183475A (en) * 2015-09-08 2015-12-23 北京思特奇信息技术股份有限公司 Method and system for customizing individuality pages of portal website by user himself
CN105701183A (en) * 2016-01-07 2016-06-22 无锡天脉聚源传媒科技有限公司 User personalized template implementation method and apparatus
CN106096049A (en) * 2016-06-29 2016-11-09 江苏中威科技软件系统有限公司 A kind of method and system of Visual Production web page template
CN106462555A (en) * 2014-05-14 2017-02-22 网页云股份有限公司 Methods and systems for web content generation

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102254049A (en) * 2011-08-29 2011-11-23 程向明 Web page design system and method for building same
CN103870504A (en) * 2012-12-17 2014-06-18 腾讯科技(深圳)有限公司 Webpage publishing method and system
CN104714989A (en) * 2013-12-12 2015-06-17 南宁市磁汇科技有限公司 Method for dynamically storing and visually editing WEB page in browser
CN103955366A (en) * 2014-04-18 2014-07-30 南威软件股份有限公司 Producing method of visualized website template
CN106462555A (en) * 2014-05-14 2017-02-22 网页云股份有限公司 Methods and systems for web content generation
CN104572092A (en) * 2014-12-26 2015-04-29 北京奇虎科技有限公司 Method and device for webpage making
CN105183475A (en) * 2015-09-08 2015-12-23 北京思特奇信息技术股份有限公司 Method and system for customizing individuality pages of portal website by user himself
CN105701183A (en) * 2016-01-07 2016-06-22 无锡天脉聚源传媒科技有限公司 User personalized template implementation method and apparatus
CN106096049A (en) * 2016-06-29 2016-11-09 江苏中威科技软件系统有限公司 A kind of method and system of Visual Production web page template

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111626018A (en) * 2019-02-28 2020-09-04 北京数聚鑫云信息技术有限公司 Method and device for constructing JSON formatted data
CN113741877A (en) * 2021-08-02 2021-12-03 紫金诚征信有限公司 Visual workflow editing method and device based on WEB front end

Also Published As

Publication number Publication date
CN107368557B (en) 2020-11-10

Similar Documents

Publication Publication Date Title
CN104484171B (en) Terminal interface design system, method and relevant device
CN107391626A (en) Land the creation method and device of page
CN107797826B (en) Rule configuration method based on rule engine, terminal and equipment
CN106250104B (en) A kind of remote operating system for server, method and device
CN108027720A (en) Visual content is developed
CN107992458A (en) The generation method and device of form rule
CN107436787B (en) Method for processing resource, device, storage medium and electronic device
CN107680589A (en) Voice messaging exchange method, device and its equipment
CN108292231A (en) It generates and applies from data
US7590942B2 (en) System, method and computer program product for documenting and managing execution of procedures in a graphical interface environment
CN107679113A (en) Acquisition methods, equipment and the electronic equipment gently applied
CN106446283A (en) Page style generating method and device
CN104636321A (en) Text display method and text display device
CN110515951A (en) A kind of BOM standardized method, system and electronic equipment and storage medium
CN108255936A (en) A kind of edit methods of webpage, system and editing machine
CN107368557A (en) page editing method and device
CN111694617A (en) Processing method of network offline model, artificial intelligence processing device and related products
CN107818512A (en) Produce method, apparatus, equipment and the computer-readable recording medium of declaration form certification
CN111984248B (en) Page editing method and device, storage medium and electronic device
CN108628900A (en) A kind of method and relevant apparatus of data format acquisition
CN106952426A (en) Data processing method and device
CN107798716A (en) Image effect extracts
CN108073726A (en) Method, apparatus, storage medium and the terminal device of information retrieval push
CN107085515A (en) Personal page generation method and device
CN108319542A (en) Information processing method, apparatus and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant