CN108874379A - The processing method and processing device of the page - Google Patents

The processing method and processing device of the page Download PDF

Info

Publication number
CN108874379A
CN108874379A CN201710325916.8A CN201710325916A CN108874379A CN 108874379 A CN108874379 A CN 108874379A CN 201710325916 A CN201710325916 A CN 201710325916A CN 108874379 A CN108874379 A CN 108874379A
Authority
CN
China
Prior art keywords
target
object run
page
editor
aiming field
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
CN201710325916.8A
Other languages
Chinese (zh)
Other versions
CN108874379B (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.)
Beijing Gridsum Technology Co Ltd
Original Assignee
Beijing Gridsum Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Gridsum Technology Co Ltd filed Critical Beijing Gridsum Technology Co Ltd
Priority to CN201710325916.8A priority Critical patent/CN108874379B/en
Publication of CN108874379A publication Critical patent/CN108874379A/en
Application granted granted Critical
Publication of CN108874379B publication Critical patent/CN108874379B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/33Intelligent editors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting

Abstract

This application discloses a kind of processing method and processing devices of page.This method includes:The corresponding data information of the page to be edited is obtained from database;Determine the object set in the target array of data information, wherein each object in object set corresponds to an editor on the page to be edited;Aiming field is added to the target object in object set, wherein each aiming field corresponds to an object run function on the page to be edited;Data information after addition aiming field is rendered, target pages are generated, wherein there is the target editor for being bundled with object run function in target pages.By the application, solve the problems, such as that the relevant technologies are difficult to bind preset operating function to editor different in the page.

Description

The processing method and processing device of the page
Technical field
This application involves page processing technology fields, in particular to a kind of processing method and processing device of page.
Background technique
Editor, (Rich Text Editor abbreviation RTE) are that one kind can be embedded in browser, finding, that is, institute The text editor obtained.Editor is different from text editor, and user can download free RichText Edition on the net Device is embedded in oneself website or program, and user is facilitated to edit article or information.Common text editor has Kindeditor, fckeditor etc..Editor function is very powerful, can be to each section of text during using software The various Show Styles of this setting.But with the variation of application software demand, multiple RichText Editions to combination are often needed to Device carries out sequence of operations, including the various preset functions of binding.However when the number of editor and each rich text When position, sequence and the title of editing machine are uncertain, it is difficult to various default to editor binding different in the page Function.
Aiming at the problem that being difficult to bind preset operating function to editor different in the page in the related technology, Currently no effective solution has been proposed.
Summary of the invention
The main purpose of the application is to provide a kind of processing method and processing device of page, is difficult to pair with solving the relevant technologies Different editors binds the problem of preset operating function in the page.
To achieve the goals above, according to the one aspect of the application, a kind of processing method of page is provided.This method Including:The corresponding data information of the page to be edited is obtained from database;Determine pair in the target array of the data information As set, wherein each object in the object set corresponds to an editor on the page to be edited;To institute State the target object addition aiming field in object set, wherein each aiming field corresponds on the page to be edited one Object run function;Data information after addition aiming field is rendered, generates target pages, wherein in the target There is the target editor for being bundled with object run function in the page.
Further, the data information after addition aiming field is rendered, generating target pages includes:It determines each The corresponding object run icon of aiming field, wherein the object run icon is used in the target editor Identify the object run function;Determine the target object run icon being arranged in the target editor Position;Based on the object run icon and the target position, the data information after addition aiming field is rendered, it is raw At the target pages, wherein the target position of target editor is provided with the target in the target pages Handle icon.
Further, it is determined that after the corresponding object run icon of each aiming field, the method also includes:Determine institute State the corresponding object run function event of object run icon;By the corresponding object run function of the object run icon Event is associated.
Further, it is rendered to the data information after addition aiming field, after generating target pages, the side Method further includes:Receive the clicking operation to the object run icon;The object run figure is returned according to the clicking operation Mark corresponding operation content;Obtain the object run content selected in the operation content of return;It is right on the target pages The object run content executes the object run function.
Further, before adding aiming field to the target object in the object set, the method also includes: Determine editor's demand of the page to be edited;The object for needing to add aiming field is determined based on editor's demand;It need to The object of aiming field is added as target object.
To achieve the goals above, according to the another aspect of the application, a kind of processing unit of page is provided.The device Including:Acquiring unit, for obtaining the corresponding data information of the page to be edited from database;First determination unit, for true Object set in the target array of the fixed data information, wherein each object in the object set it is corresponding it is described to An editor on edit page;Adding unit, for adding target word to the target object in the object set Section, wherein each aiming field corresponds to an object run function on the page to be edited;Rendering unit, for addition Data information after aiming field is rendered, and target pages are generated, wherein is had in the target pages and is bundled with target The target editor of operating function.
Further, the rendering unit includes:First determining module, for determining the corresponding target of each aiming field Handle icon, wherein the object run icon in the target editor for identifying the object run function Energy;Second determining module, for determining the target object run icon being arranged in the target editor Position;Rendering module believes the data after addition aiming field for being based on the object run icon and the target position Breath is rendered, and generates the target pages, wherein the target position of target editor is set in the target pages It is equipped with the object run icon.
Further, described device further includes:Second determination unit, for determining the corresponding target behaviour of each aiming field After making icon, the corresponding object run function event of the object run icon is determined;Associative cell is used for the target The corresponding object run function event of handle icon is associated.
To achieve the goals above, according to the another aspect of the application, a kind of storage medium, the storage medium are provided Program including storage, wherein described program executes the processing method of the page described in above-mentioned any one.
To achieve the goals above, according to the another aspect of the application, a kind of processor is provided, which is characterized in that institute Processor is stated for running program, wherein described program executes the processing method of the page described in above-mentioned any one when running.
By the application, using following steps:The corresponding data information of the page to be edited is obtained from database;Determine number It is believed that the object set in the target array of breath, wherein each object in object set corresponds to a richness on the page to be edited Text editor;Aiming field is added to the target object in object set, wherein each aiming field corresponds to the page to be edited A upper object run function;Data information after addition aiming field is rendered, generates target pages, wherein in mesh Have in the mark page and be bundled with the target editor of object run function, solve the relevant technologies be difficult to in the page not Same editor binds the problem of preset operating function.Pass through the target pair in the data information of the page to be edited As middle addition aiming field, to add corresponding operation function in editor, and then reach to target pages In editor binding preset operating function effect.
Detailed description of the invention
The attached drawing constituted part of this application is used to provide further understanding of the present application, the schematic reality of the application Example and its explanation are applied for explaining the application, is not constituted an undue limitation on the present application.In the accompanying drawings:
Fig. 1 is the flow chart according to the processing method of the page provided by the embodiments of the present application;And
Fig. 2 is the schematic diagram according to the processing unit of the page provided by the embodiments of the present application.
Specific embodiment
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application Attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is only The embodiment of the application a part, instead of all the embodiments.Based on the embodiment in the application, ordinary skill people Member's every other embodiment obtained without making creative work, all should belong to the model of the application protection It encloses.
It should be noted that the description and claims of this application and term " first " in above-mentioned attached drawing, " Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way Data be interchangeable under appropriate circumstances, so as to embodiments herein described herein.In addition, term " includes " and " tool Have " and their any deformation, it is intended that cover it is non-exclusive include, for example, containing a series of steps or units Process, method, system, product or equipment those of are not necessarily limited to be clearly listed step or unit, but may include without clear Other step or units listing to Chu or intrinsic for these process, methods, product or equipment.
According to an embodiment of the present application, a kind of processing method of page is provided.
Fig. 1 is the flow chart according to the processing method of the page of the embodiment of the present application.As shown in Figure 1, this method include with Lower step:
Step S101 obtains the corresponding data information of the page to be edited from database.
Preset operating function is bound in order to treat the editor in edit page, in this application, from data The corresponding data information of the page to be edited is obtained in library, for example, getting the corresponding data letter of the page to be edited from database The format of breath is as follows:
Step S102 determines the object set in the target array of data information, wherein each object in object set An editor on the corresponding page to be edited.
It include multiple arrays, the target array in multiple arrays in the corresponding data information of the page to be edited got In include the object that the editor on the page to be edited is generated by rendering, determine all objects in target array, Determine the object set in target array.
Step S103 adds aiming field to the target object in object set, wherein each aiming field is corresponding wait compile Collect an object run function on the page.
Preset operating function is bound in order to treat the editor in edit page, the application treats edit page Corresponding data information is modified, specifically, adding to the target object in the object set in the target array of data information Add aiming field, for example, corresponding value, types attribute are added in the corresponding position by the types attribute array in target object The corresponding aiming field of a value in array, each aiming field correspond to an object run function on the page to be edited. It is modified by treating in the corresponding data information of edit page, in the page generated by the rendering of modified data information Editor have be bundled with preset operating function.
In order to promote the accuracy to the target object addition aiming field in object set, provided in the embodiment of the present application The page processing method in, in object set target object add aiming field before, this method further includes:It determines Editor's demand of the page to be edited;The object for needing to add aiming field is determined based on editor's demand;It will need to add target word The object of section is as target object.
By editor's demand according to the page to be edited, the object for needing to add aiming field is determined, thus in subsequent life At the page in the operating function of editor binding be the operating function of user demand, to promote user experience, Also improve the efficiency of editor's target pages.
It should be noted that determining that editor's demand of the page to be edited can be there are many mode, for example, receiving external input Editor's demand, be also possible to generate editor's demand model by the study of the edit operation to history page, pass through the editor Demand model obtains editor's demand to the page to be edited.
Step S104 renders the data information after addition aiming field, generates target pages, wherein in target There is the target editor for being bundled with object run function in the page.
Data information after addition aiming field is rendered, generating has the target for being bundled with object run function rich The target pages of text editor, the name of editor in this application can with the value of segmentName field and Preset characters string is mark.
Optionally, in the processing method of the page provided by the embodiments of the present application, the data after addition aiming field are believed Breath is rendered, and is generated target pages and is included:Determine the corresponding object run icon of each aiming field, wherein object run Icon is used to identify object run function in target editor;It determines the setting of object run icon in the rich text of target Target position in this editing machine;Based on object run icon and target position, to the data information after addition aiming field into Row rendering, generates target pages, wherein the target position of target editor is provided with object run in target pages Icon.
After determining the corresponding object run icon of each aiming field, this method further includes:Determine object run figure Mark corresponding object run function event;The corresponding object run function event of object run icon is associated.
Specifically, it is arranged by the corresponding object run icon of each aiming field of determination and object run icon in target Target position in editor traverses a types attribute array (value in types attribute array for target object A corresponding above-mentioned aiming field), corresponding operation function is bound to target editor.For example, types attribute number There is " add " then to bind " addition " icon in group, there is " replace " then to bind " replacement " icon in types attribute array, and by mesh The corresponding object run function event of mark handle icon is associated, i.e., binds corresponding click event to each icon.
The processing method of the page provided by the embodiments of the present application is either to single editor or multiple rich texts This editing machine binding preset operating function is all suitable for.Number regardless of the editor needed is how many, sequence, as long as Modification is from the corresponding data information of the page to be edited got in database, it can be achieved that RichText Edition different in the page Device binds preset operating function, in each editor in the page it is newly-increased, delete, the operation such as duplication and replacement Function can determine whether to bind according to editor's demand.
Optionally, in the processing method of the page provided by the embodiments of the present application, to the data after addition aiming field Information is rendered, and after generating target pages, this method further includes:Receive the clicking operation to object run icon;According to Clicking operation returns to the corresponding operation content of object run icon;It obtains in the object run selected in the operation content of return Hold;To object run content performance objective operating function on target pages.
It is rendered to the data information after addition aiming field, after generating target pages, the mesh in target pages Mark editor has been bundled with object run function, has multiple targets behaviour in the editor in target pages Make icon, each object run icon is associated with corresponding operating function, and clicking object run icon can accordingly hold The row operating function.When user is when editing target pages, object run icon is clicked, is received in target pages pair The clicking operation of object run icon;The corresponding operation content of object run icon is returned according to clicking operation;Acquisition is returning Operation content in the object run content that selects;To object run content performance objective operating function on target pages.
By mentioning to the enterprising edlin of target pages with the target editor for being bundled with object run function The high efficiency of edit page, also improves the Experience Degree of user's edit page.
The processing method of the page provided by the embodiments of the present application, by obtaining the corresponding number of the page to be edited from database It is believed that breath;Determine the object set in the target array of data information, wherein each object in object set corresponds to be edited An editor on the page;Aiming field is added to the target object in object set, wherein each aiming field pair Answer an object run function on the page to be edited;Data information after addition aiming field is rendered, page object is generated Face, wherein there is the target editor for being bundled with object run function in target pages, solve the relevant technologies hardly possible The problem of to bind preset operating function to editor different in the page.Pass through the data letter in the page to be edited Aiming field is added in target object in breath, to add corresponding operation function in editor, and then is reached To the effect of the editor binding preset function in target pages.
It should be noted that step shown in the flowchart of the accompanying drawings can be in such as a group of computer-executable instructions It is executed in computer system, although also, logical order is shown in flow charts, and it in some cases, can be with not The sequence being same as herein executes shown or described step.
The embodiment of the present application also provides a kind of processing units of page, it should be noted that the page of the embodiment of the present application The processing unit in face can be used for executing the processing method that the page is used for provided by the embodiment of the present application.Below to the application reality The processing unit for applying the page of example offer is introduced.
Fig. 2 is the schematic diagram according to the processing unit of the page of the embodiment of the present application.As shown in Fig. 2, the device includes:It obtains Take unit 10, the first determination unit 20, adding unit 30 and rendering unit 40.
Specifically, acquiring unit 10, for obtaining the corresponding data information of the page to be edited from database.
First determination unit 20, the object set in target array for determining data information, wherein in object set Each object correspond to an editor on the page to be edited.
Adding unit 30, for adding aiming field to the target object in object set, wherein each aiming field pair Answer an object run function on the page to be edited.
Rendering unit 40 generates target pages for rendering to the data information after addition aiming field, wherein There is the target editor for being bundled with object run function in target pages.
The processing unit of the page provided by the embodiments of the present application obtains page to be edited by acquiring unit 10 from database The corresponding data information in face;First determination unit 20 determines the object set in the target array of data information, wherein object set Each object in conjunction corresponds to an editor on the page to be edited;Adding unit 30 is to the target pair in object set As adding aiming field, wherein each aiming field corresponds to an object run function on the page to be edited;Rendering unit 40 is right Data information after addition aiming field is rendered, and target pages are generated, wherein is had in target pages and is bundled with target The target editor of operating function.It solves the relevant technologies to be difficult to editor binding different in the page in advance If operating function the problem of.By adding aiming field in the target object in the data information of the page to be edited, thus Corresponding operation function is added in editor, and then has reached pre- to the editor binding in target pages If the effect of function.
Optionally, in the processing unit of the page provided by the embodiments of the present application, rendering unit 40 includes:First determines mould Block, for determining the corresponding object run icon of each aiming field, wherein object run icon is used to compile in target rich text It collects and identifies object run function in device;Second determining module compiles the setting of object run icon in target rich text for determining Collect the target position in device;Rendering module, for being based on object run icon and target position, to the number after addition aiming field It is believed that breath is rendered, target pages are generated, wherein the target position of target editor is provided in target pages Object run icon.
Optionally, in the processing unit of the page provided by the embodiments of the present application, which further includes:Second determines list Member determines the corresponding object run of object run icon after determining the corresponding object run icon of each aiming field Function event;Associative cell, for the corresponding object run function event of object run icon to be associated.
The processing unit of the page includes processor and memory, and above-mentioned acquiring unit 10, adds first determination unit 20 Add unit 30 and rendering unit 40 etc. to store in memory as program unit, storage is executed in memory by processor Above procedure unit realize corresponding function.
Include kernel in processor, is gone in memory to transfer corresponding program unit by kernel.Kernel can be set one Or more, the page is handled by adjusting kernel parameter.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/ Or the forms such as Nonvolatile memory, if read-only memory (ROM) or flash memory (flash RAM), memory include that at least one is deposited Store up chip.
The embodiment of the invention provides a kind of storage mediums, are stored thereon with program, real when which is executed by processor The processing method of the existing page.
The embodiment of the invention provides a kind of processor, the processor is for running program, wherein described program operation The processing method of the page described in Shi Zhihang.
The embodiment of the invention provides a kind of equipment, equipment include processor, memory and storage on a memory and can The program run on a processor, processor realize following steps when executing program:The page pair to be edited is obtained from database The data information answered;Determine the object set in the target array of the data information, wherein each of described object set Object corresponds to an editor on the page to be edited;Target word is added to the target object in the object set Section, wherein each aiming field corresponds to an object run function on the page to be edited;To the number after addition aiming field It is believed that breath is rendered, target pages are generated, wherein there is the target for being bundled with object run function in the target pages Editor.
Data information after addition aiming field is rendered, generating target pages includes:Determine each aiming field Corresponding object run icon, wherein the object run icon is used in the target editor described in mark Object run function;Determine the target position object run icon being arranged in the target editor;Base In the object run icon and the target position, the data information after addition aiming field is rendered, described in generation Target pages, wherein the target position of target editor is provided with the object run figure in the target pages Mark.
After determining the corresponding object run icon of each aiming field, the method also includes:Determine the target behaviour Make the corresponding object run function event of icon;The corresponding object run function event of the object run icon is carried out Association.
It is rendered to the data information after addition aiming field, after generating target pages, the method also includes: Receive the clicking operation to the object run icon;The corresponding behaviour of the object run icon is returned according to the clicking operation Make content;Obtain the object run content selected in the operation content of return;The target is grasped on the target pages Make content and executes the object run function.
Before adding aiming field to the target object in the object set, the method also includes:Described in determination Editor's demand of the page to be edited;The object for needing to add aiming field is determined based on editor's demand;It will need to add mesh The object of marking-up section is as target object.
Equipment herein can be server, PC, PAD, mobile phone etc..
Present invention also provides a kind of computer program products, when executing on data processing equipment, are adapted for carrying out just The program of beginningization there are as below methods step:The corresponding data information of the page to be edited is obtained from database;Determine the data Object set in the target array of information, wherein each object in the object set corresponds on the page to be edited One editor;Aiming field is added to the target object in the object set, wherein each aiming field is corresponding An object run function on the page to be edited;Data information after addition aiming field is rendered, target is generated The page, wherein there is the target editor for being bundled with object run function in the target pages.
Data information after addition aiming field is rendered, generating target pages includes:Determine each aiming field Corresponding object run icon, wherein the object run icon is used in the target editor described in mark Object run function;Determine the target position object run icon being arranged in the target editor;Base In the object run icon and the target position, the data information after addition aiming field is rendered, described in generation Target pages, wherein the target position of target editor is provided with the object run figure in the target pages Mark.
After determining the corresponding object run icon of each aiming field, the method also includes:Determine the target behaviour Make the corresponding object run function event of icon;The corresponding object run function event of the object run icon is carried out Association.
It is rendered to the data information after addition aiming field, after generating target pages, the method also includes: Receive the clicking operation to the object run icon;The corresponding behaviour of the object run icon is returned according to the clicking operation Make content;Obtain the object run content selected in the operation content of return;The target is grasped on the target pages Make content and executes the object run function.
Before adding aiming field to the target object in the object set, the method also includes:Described in determination Editor's demand of the page to be edited;The object for needing to add aiming field is determined based on editor's demand;It will need to add mesh The object of marking-up section is as target object.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the application, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present application Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/ Or the forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable Jie The example of matter.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM), Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including element There is also other identical elements in process, method, commodity or equipment.
It will be understood by those skilled in the art that embodiments herein can provide as method, system or computer program product. Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the application Form.It is deposited moreover, the application can be used to can be used in the computer that one or more wherein includes computer usable program code The shape for the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) Formula.
The above is only embodiments herein, are not intended to limit this application.To those skilled in the art, Various changes and changes are possible in this application.It is all within the spirit and principles of the present application made by any modification, equivalent replacement, Improve etc., it should be included within the scope of the claims of this application.

Claims (10)

1. a kind of processing method of the page, which is characterized in that including:
The corresponding data information of the page to be edited is obtained from database;
Determine the object set in the target array of the data information, wherein each object in the object set is corresponding An editor on the page to be edited;
Aiming field is added to the target object in the object set, wherein each aiming field corresponds to the page to be edited An object run function on face;
Data information after addition aiming field is rendered, generates target pages, wherein have in the target pages It is bundled with the target editor of object run function.
2. the method according to claim 1, wherein to addition aiming field after data information render, Generating target pages includes:
Determine the corresponding object run icon of each aiming field, wherein the object run icon is used for rich in the target The object run function is identified in text editor;
Determine the target position object run icon being arranged in the target editor;
Based on the object run icon and the target position, the data information after addition aiming field is rendered, it is raw At the target pages, wherein the target position of target editor is provided with the target in the target pages Handle icon.
3. the method according to claim 1, wherein determine the corresponding object run icon of each aiming field it Afterwards, the method also includes:
Determine the corresponding object run function event of the object run icon;
The corresponding object run function event of the object run icon is associated.
4. according to the method described in claim 2, it is characterized in that, carrying out wash with watercolours to the data information after addition aiming field Dye, after generating target pages, the method also includes:
Receive the clicking operation to the object run icon;
The corresponding operation content of the object run icon is returned according to the clicking operation;
Obtain the object run content selected in the operation content of return;
The object run function is executed to the object run content on the target pages.
5. the method according to claim 1, wherein adding target to the target object in the object set Before field, the method also includes:
Determine editor's demand of the page to be edited;
The object for needing to add aiming field is determined based on editor's demand;
The object of aiming field will be needed to add as target object.
6. a kind of processing unit of page data, which is characterized in that including:
Acquiring unit, for obtaining the corresponding data information of the page to be edited from database;
First determination unit, the object set in target array for determining the data information, wherein the object set In each object correspond to an editor on the page to be edited;
Adding unit, for adding aiming field to the target object in the object set, wherein each aiming field is corresponding An object run function on the page to be edited;
Rendering unit generates target pages, wherein described for rendering to the data information after addition aiming field There is the target editor for being bundled with object run function in target pages.
7. device according to claim 6, which is characterized in that the rendering unit includes:
First determining module, for determining the corresponding object run icon of each aiming field, wherein the object run icon For identifying the object run function in the target editor;
Second determining module, for determining the target object run icon being arranged in the target editor Position;
Rendering module believes the data after addition aiming field for being based on the object run icon and the target position Breath is rendered, and generates the target pages, wherein the target position of target editor is set in the target pages It is equipped with the object run icon.
8. device according to claim 6, which is characterized in that described device further includes:
Second determination unit determines the object run after determining the corresponding object run icon of each aiming field The corresponding object run function event of icon;
Associative cell, for the corresponding object run function event of the object run icon to be associated.
9. a kind of storage medium, which is characterized in that the storage medium includes the program of storage, wherein described program right of execution Benefit require any one of 1 to 5 described in the page processing method.
10. a kind of processor, which is characterized in that the processor is for running program, wherein right of execution when described program is run Benefit require any one of 1 to 5 described in the page processing method.
CN201710325916.8A 2017-05-10 2017-05-10 Page processing method and device Active CN108874379B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710325916.8A CN108874379B (en) 2017-05-10 2017-05-10 Page processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710325916.8A CN108874379B (en) 2017-05-10 2017-05-10 Page processing method and device

Publications (2)

Publication Number Publication Date
CN108874379A true CN108874379A (en) 2018-11-23
CN108874379B CN108874379B (en) 2022-01-25

Family

ID=64287690

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710325916.8A Active CN108874379B (en) 2017-05-10 2017-05-10 Page processing method and device

Country Status (1)

Country Link
CN (1) CN108874379B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111259644A (en) * 2018-11-30 2020-06-09 阿里巴巴集团控股有限公司 Rich text processing method, editor, equipment and storage medium
CN112540745A (en) * 2019-09-20 2021-03-23 北京国双科技有限公司 Component rendering method and device
CN113255301A (en) * 2021-06-10 2021-08-13 平安国际智慧城市科技股份有限公司 Webpage text editing method and device, terminal equipment and storage medium
CN115309298A (en) * 2022-08-30 2022-11-08 医渡云(北京)技术有限公司 Text structuring method and device, medium and equipment based on rich text editor
CN115309298B (en) * 2022-08-30 2024-05-10 医渡云(北京)技术有限公司 Text structuring method and device based on rich text editor, medium and equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101882075A (en) * 2010-03-24 2010-11-10 深圳市万兴软件有限公司 Method for editing rich text and for restoring and displaying rich text through FLASH
CN102662928A (en) * 2012-03-28 2012-09-12 福建榕基软件股份有限公司 Rich text editing method for importing documents and device thereof
CN102915328A (en) * 2012-09-04 2013-02-06 新浪网技术(中国)有限公司 Method for editing rich text and rich text editor
CN102929852A (en) * 2012-10-15 2013-02-13 福建榕基软件股份有限公司 Method and system for realizing conversion of simplified and traditional Chinese characters in rich text editor
CN103530407A (en) * 2013-10-25 2014-01-22 中国农业银行股份有限公司 Method and device for generating rich text document
US20140310106A1 (en) * 2007-05-24 2014-10-16 Unity Works Media Method and apparatus for presenting and aggregating information related to the sale of multiple goods and services
CN105512124A (en) * 2014-09-23 2016-04-20 腾讯科技(深圳)有限公司 Method and device for realizing suspension of text editor in webpage
CN105786508A (en) * 2016-02-26 2016-07-20 北京元心科技有限公司 Method for generating form page for equipment patrol and patrol system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140310106A1 (en) * 2007-05-24 2014-10-16 Unity Works Media Method and apparatus for presenting and aggregating information related to the sale of multiple goods and services
CN101882075A (en) * 2010-03-24 2010-11-10 深圳市万兴软件有限公司 Method for editing rich text and for restoring and displaying rich text through FLASH
CN102662928A (en) * 2012-03-28 2012-09-12 福建榕基软件股份有限公司 Rich text editing method for importing documents and device thereof
CN102915328A (en) * 2012-09-04 2013-02-06 新浪网技术(中国)有限公司 Method for editing rich text and rich text editor
CN102929852A (en) * 2012-10-15 2013-02-13 福建榕基软件股份有限公司 Method and system for realizing conversion of simplified and traditional Chinese characters in rich text editor
CN103530407A (en) * 2013-10-25 2014-01-22 中国农业银行股份有限公司 Method and device for generating rich text document
CN105512124A (en) * 2014-09-23 2016-04-20 腾讯科技(深圳)有限公司 Method and device for realizing suspension of text editor in webpage
CN105786508A (en) * 2016-02-26 2016-07-20 北京元心科技有限公司 Method for generating form page for equipment patrol and patrol system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
吴代文: "KindEditor在网站开发中的应用研究", 《计算机时代》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111259644A (en) * 2018-11-30 2020-06-09 阿里巴巴集团控股有限公司 Rich text processing method, editor, equipment and storage medium
CN111259644B (en) * 2018-11-30 2023-04-14 阿里巴巴集团控股有限公司 Rich text processing method, editor, equipment and storage medium
CN112540745A (en) * 2019-09-20 2021-03-23 北京国双科技有限公司 Component rendering method and device
CN113255301A (en) * 2021-06-10 2021-08-13 平安国际智慧城市科技股份有限公司 Webpage text editing method and device, terminal equipment and storage medium
CN115309298A (en) * 2022-08-30 2022-11-08 医渡云(北京)技术有限公司 Text structuring method and device, medium and equipment based on rich text editor
CN115309298B (en) * 2022-08-30 2024-05-10 医渡云(北京)技术有限公司 Text structuring method and device based on rich text editor, medium and equipment

Also Published As

Publication number Publication date
CN108874379B (en) 2022-01-25

Similar Documents

Publication Publication Date Title
CN110058856A (en) Page configuration method and device
CN105426223B (en) Using loading method and device
CN109558479A (en) Rule matching method, device, equipment and storage medium
CN108170656A (en) Template establishment method, document creating method, rendering intent and device
CN108874379A (en) The processing method and processing device of the page
CN104714957B (en) A kind of variation and device of table structure
CN109614158A (en) A kind of call method of plug-in unit, system, storage medium and processor
CN109033365B (en) Data processing method and related equipment
CN109683773A (en) Corpus labeling method and device
CN104899217B (en) A kind of implementation method and device of custom feature
CN109522275A (en) Label method for digging, electronic equipment and the storage medium of content are produced based on user
CN108874491A (en) The method and device of information load
CN112560403A (en) Text processing method and device and electronic equipment
CN110020343A (en) The determination method and apparatus of web page coding format
CN110069453A (en) Operation/maintenance data treating method and apparatus
CN104267935A (en) Code conversion method and device
CN110019295B (en) Database retrieval method, device, system and storage medium
US9063745B2 (en) Computing reusability index of software assets
CN108845844A (en) A kind of state transition method and device
CN110020274A (en) Page returning method and device under browser environment are applied in mixing
CN109086362A (en) The management method of multimode project
CN106202523A (en) Page authoring method and device
CN109587198A (en) Graph text information method for pushing and device
Santos et al. A tabu search for the permutation flow shop problem with sequence dependent setup times
CN109960497A (en) Call method and device between a kind of script file

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 100083 No. 401, 4th Floor, Haitai Building, 229 North Fourth Ring Road, Haidian District, Beijing

Applicant after: Beijing Guoshuang Technology Co.,Ltd.

Address before: 100086 Cuigong Hotel, 76 Zhichun Road, Shuangyushu District, Haidian District, Beijing

Applicant before: Beijing Guoshuang Technology Co.,Ltd.

GR01 Patent grant
GR01 Patent grant