CN106294760A - Sheet disposal method and server, client - Google Patents

Sheet disposal method and server, client Download PDF

Info

Publication number
CN106294760A
CN106294760A CN201610656819.2A CN201610656819A CN106294760A CN 106294760 A CN106294760 A CN 106294760A CN 201610656819 A CN201610656819 A CN 201610656819A CN 106294760 A CN106294760 A CN 106294760A
Authority
CN
China
Prior art keywords
code
server
control
standard list
client
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
CN201610656819.2A
Other languages
Chinese (zh)
Other versions
CN106294760B (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.)
Neusoft Corp
Original Assignee
Neusoft Corp
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 Neusoft Corp filed Critical Neusoft Corp
Priority to CN201610656819.2A priority Critical patent/CN106294760B/en
Publication of CN106294760A publication Critical patent/CN106294760A/en
Application granted granted Critical
Publication of CN106294760B publication Critical patent/CN106294760B/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/177Editing, e.g. inserting or deleting of tables; using ruled lines
    • G06F40/18Editing, e.g. inserting or deleting of tables; using ruled lines of spreadsheets

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Data Mining & Analysis (AREA)
  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a kind of sheet disposal method and server, client, in order to solve in prior art server for the technical problem of each category code not perception of standard list.The method includes: server obtains the code of standard list;The code of described standard list is classified by described server;The inhomogeneous code of described standard list is stored by described server respectively.

Description

Sheet disposal method and server, client
Technical field
The present invention relates to internet arena, in particular it relates to a kind of sheet disposal method and server, client.
Background technology
Online list is the window that a website and visitor carry out interaction.Standard list is the one of online list, its Compared with non-standard list, the content such as table-layout, word is closer to all kinds of forms filled in real life, such as, as Application form, declaration form etc..Standard list can be used to send data in webpage.Such as, based on standard list, user can be Webpage inputs user name, password realizes registration or login function.
The code of one standard list has three elements: control code, non-control code and JavaScript script.Wherein, control refers to the units such as text box that webpage includes, password box, Hidden field, check box, button Element;JavaScript script is the code running control;Non-control then refers to the elements such as the form in webpage, word.
In standard list, control source code is regular, can be by the extraction data of certain format specification.But form cloth The source code of office and word is random, can not extract data, and therefore, the source code of non-control just can only directly store.Existing Have in technology, in order to unify storage control and all information with non-control, it is common that directly control and the source code of non-control, i.e. Whole standard list is stored as webpage source code form.Described webpage source code includes the code of control, JavaScript script Code with non-control.Client, when server request list, directly obtains this webpage source code.Client is based on this web page source Code can obtain the code of control, the code of non-control and the JavaScript script of this standard list.Further, this visitor Family end operates respectively for each category code, such as, draws the page, renders, runs JavaScript script.
Owing to each category code of standard list is stored by existing server as an entirety, for inhomogeneous Code server not perception, causes server in the case of the code of standard list has been carried out any change, and it is right to be required to All codes of the standard list after change re-start storage, add the load of server memory and bandwidth.Further, for The process of each category code of standard list can only be carried out by client, and treatment effeciency is relatively low.
From the foregoing, presence server is asked for the technology of each category code not perception of standard list in prior art Topic.
Summary of the invention
It is an object of the invention to provide a kind of sheet disposal method and server, client, in order to settlement server for The technical problem of each category code not perception of standard list.
To achieve these goals, the present invention provides a kind of sheet disposal method, including:
Server obtains the code of standard list;
The code of described standard list is classified by described server;
The inhomogeneous code of described standard list is stored by described server respectively.
Alternatively, described method also includes:
First kind code is modified by described server;Described first kind code is in the code of described standard list Any sort code;
Amended first kind code is re-started storage by described server.
Alternatively, the code of described standard list includes that control code, described method also include:
Described server receives the form request message that client sends;Described form request message is used for obtaining described system The code of formula list;
Described server obtains described control code, and is adjusted described control code based on control authority information;
Described server sends for responding the response message of described form request message to described client, described response Message includes the described control code after adjusting.
Alternatively, described method also includes:
Described server receives the form request message that client sends;Described form request message is used for obtaining described system The code of formula list;
Described server sends for responding the response message of described form request message to described client, described response Message includes each category code of described standard list and for indicating the instruction information of the processing sequence of described each category code.
Alternatively, each category code of described standard list includes at least one code following: control code, non-control generation Code, JavaScript script.
Alternatively, described server carries out storage respectively to the inhomogeneous code of described standard list and includes:
Described server is based on general transmission form storage control code and JavaScript script.
The present invention also provides for another kind of sheet disposal method, including:
User end to server sends form request message, and described form request message is for obtaining in described server The code of standard list;
Described client receives the response message that described server sends, and described response message includes described standard list Each category code and for indicating the instruction information of processing sequence of described each category code;Wherein, described classification server storage There is each category code of described standard list;
Described client is according to each category code of standard list described in described instruction information processing.
Alternatively, each category code of described standard list includes control code, non-control code and JavaScript foot This;Described client according to each category code of standard list described in described instruction information processing, including:
Described client draws forms pages according to non-control code described in described instruction Information Pull;
After having drawn described forms pages, carry out control according to described control code and render;
After described control has rendered, run described JavaScript script.
Alternatively, described response message includes that server is according to the control code after the adjustment of control authority information;
Described after having drawn described forms pages, carry out control according to described control code and render and include:
Described client carries out control according to the control code after adjusting and renders.
The present invention also provides for a kind of server, including:
Acquiring unit, for obtaining the code of standard list;
Taxon, for classifying to the code of described standard list;
Memory element, for storing respectively the inhomogeneous code of described standard list.
Alternatively, also include:
Amendment unit, for modifying to first kind code;Described first kind code is the code of described standard list In any sort code;
Described memory element is additionally operable to, and amended first kind code is re-started storage.
Alternatively, the code of described standard list includes that control code, described client also include:
Receive unit, for receiving the form request message that client sends;Described form request message is used for obtaining institute State the code of standard list;
Adjustment unit, is used for obtaining described control code, and adjusts described control code based on control authority information Whole;
Transmitting element, for sending for responding the response message of described form request message to described client, described Response message includes the described control code after adjusting.
Alternatively, also include:
Receive unit, for receiving the form request message that client sends;Described form request message is used for obtaining institute State the code of standard list;
Transmitting element, for sending for responding the response message of described form request message to described client, described Response message includes each category code of described standard list and for indicating the instruction of the processing sequence of described each category code to believe Breath.
Alternatively, each category code of described standard list includes control code and JavaScript script;Described storage Unit specifically for: based on general transmission form storage control code and JavaScript script.
The present invention also provides for a kind of client, including:
Transmitting element, for sending form request message to server, described form request message is used for obtaining described clothes The code of the standard list in business device;
Receiving unit, for receiving the response message that described server sends, described response message includes described standard table Single each category code and for indicating the instruction information of the processing sequence of described each category code;Wherein, described classification server Storage has each category code of described standard list;
Processing unit, for each category code according to standard list described in described instruction information processing.
Alternatively, each category code of described standard list includes control code, non-control code and JavaScript foot This;Described processing unit specifically for:
Forms pages is drawn according to non-control code described in described instruction Information Pull;
After having drawn described forms pages, carry out control according to described control code and render;
After described control has rendered, run described JavaScript script.
Alternatively, described response message includes that server is according to the control code after the adjustment of control authority information;Described place Reason unit specifically for:
Carry out control according to the control code after adjusting to render.
By technique scheme, after server gets the code of standard list, described code is carried out classification storage, Solve the server technical problem for each category code not perception of standard list.And then, server is to standard list In the case of a certain category code is modified, the category code changed can be re-started storage, it is not necessary to standard list All code re-starts storage, reduces the load of server memory and bandwidth.Further, can be with perception standard due to server Each category code of list, therefore, the part for inhomogeneity code processes and can be carried out in advance by server, and then improves visitor Family end treatment effeciency after the code getting standard list.
Other features and advantages of the present invention will be described in detail in detailed description of the invention part subsequently.
Accompanying drawing explanation
Accompanying drawing is used to provide a further understanding of the present invention, and constitutes the part of description, with following tool Body embodiment is used for explaining the present invention together, but is not intended that limitation of the present invention.In the accompanying drawings:
Fig. 1 is a kind of system architecture diagram of the prior art;
Fig. 2 is the schematic flow sheet of a kind of sheet disposal method that the embodiment of the present invention provides;
Fig. 3 is the schematic flow sheet of the another kind of sheet disposal method that the embodiment of the present invention provides;
Fig. 4 is the schematic flow sheet of another sheet disposal method that the embodiment of the present invention provides;
Fig. 5 is the structural representation of a kind of server that the embodiment of the present invention provides;
Fig. 6 is the structural representation of a kind of client that the embodiment of the present invention provides.
Detailed description of the invention
Below in conjunction with accompanying drawing, the detailed description of the invention of the present invention is described in detail.It should be appreciated that this place is retouched The detailed description of the invention stated is merely to illustrate and explains the present invention, is not limited to the present invention.
In place of making those skilled in the art be easier to understand embodiment of the present invention improvements over the prior art, first Technical scheme relevant in prior art is simply introduced.
As it is shown in figure 1, client is connected with server by the Internet, described client can be computer, intelligence hands Machine, panel computer etc. are provided with the electronic equipment of browser.Described server can be Website server, and such as webpage Web takes Business device, or CDN (Content Delivery Network, content distributing network) server etc., for providing to browser Document.
Wherein, server memory contains the website source code of standard list.Client display output list in a browser Process mainly includes following a few step:
Load: carry out domain name solution according to the URL (Uniform Resource Locator, URL) of request Analysis, initiates form request message to this server, and receives the webpage source code of the standard list that server returns.Wherein, this net Page source code can include HTML (HyperText Markup Language, HTML) code, JavaScript foot Originally, CSS (Cascading Style Sheets, CSS) source code.Wherein, this HTML code includes the control of standard list The code of part.
Resolve: the webpage source code got is carried out syntax parsing, sets up corresponding internal data structure, such as, HTML DOM (Document Object Model, DOM Document Object Model) tree, the object properties table of JavaScript, the pattern of CSS Rule etc..
Render: build render tree, each element is carried out position calculation, pattern calculating etc., then according to render tree to page Face renders, i.e. the process of each element of web displaying, and this process is also referred to as the page and draws.
In prior art, owing to all codes of standard list are stored by web page server as an entirety, lead Cause web page server, in the case of being modified any portion of code, is required to the institute to amended standard list There is code the most again to store, cause the overload of server memory and bandwidth.Further, the control at standard list needs root When showing according to authority or hide, due to the control code of web page server not perception standard list, can only be by client After the webpage source code loading standard list, then the authority information from server acquisition control, so, client may be to system The control of formula list first carries out rendering being hidden further according to authority information, causes control the situation of " flicker " occur.Further, by Uncontrollable for the loading sequence of JavaScript script and DOM element in client and running JavaScript script Can not load DOM element, therefore, client loading DOM element and may run JavaScript script between the two simultaneously Repeatedly switch execution, reduce efficiency that webpage renders and exception easily occurs.
Seen from the above description, the server not perception to each category code of standard list, it is likely to result in server memory The problem inefficient with the overload in broadband, control flicker and browser renders.In order to solve above-mentioned technical problem, this Inventive embodiments provides a kind of sheet disposal method, as in figure 2 it is shown, the method includes:
S201, server obtain the code of standard list.
Specifically, the code of standard list is first to be drawn in Form Designer by research staff, is completing also When performing to preserve, then pass to the code of server.
What deserves to be explained is, the unit that standard list can include have a lot.The embodiment of the present invention will be used in standard list In the element interacted with user, such as, text box, password box, check box etc., referred to as control, in other standard lists Element, such as, form, word, picture etc., the most non-control.JavaScript script is for running control in standard list Code.
So, in above-mentioned steps S201, the code of the standard list that server gets includes the code of control, non-control Code and the code of JavaScript script.Wherein, programmer is when writing the code of standard list, for standard list The code of inhomogeneity element can use different forms.Such as, html formats are all used to write control and non-control Code;Or using general format to write control and the code of JavaScript script, described general format includes JSON (JavaScript Object Notation, JavaScript object representation) form and XML format, use HTML or CCS writes the code of non-control.
The code of described standard list is classified by S202, this server.
Specifically, for different written in code modes, server can use the different methods generation to standard list Code is classified.
In a kind of possible implementation of the embodiment of the present invention, the system that server gets in above-mentioned steps S201 The code of formula list can include the JavaScript script that the code of the control using JSON form to write, employing XML write Code and use the code of non-control that HTML writes.In this case, this server is the most permissible in step S202 Form according to code is classified.It is to say, server is when detecting the code format of described standard list, determine JSON The code of form is the code of control, and the code of XML format is the code of JavaScript script, and the code of html format is non- The code of control.
What deserves to be explained is, the redundancy of the code that employing JSON form or XML format are write is less than using XML format volume The code redundancy write.It is to say, above-mentioned implementation and prior art all use HTML lattice for the code of standard list The mode that formula is write is compared, and decreases data volume, is conducive to transmission.
In the alternatively possible implementation of the embodiment of the present invention, the system got in server above-mentioned steps S201 The code of formula watchband can include the control code of html format, non-control code and the code of JavaScript script.? In such cases, this server i.e. can detect the information such as the label of code, ID in step S202 and classifies code. What deserves to be explained is, the ID of the code of control and label are different from non-control code, such as, for text box, password box Deng control, its label is input, then server is when the code that label is input being detected, i.e. can determine that this code is control Code.
The inhomogeneous code of described standard list is stored by S203, this server respectively.
Illustratively, for code, the code of non-control and the JavaScript scripted code of control, this server is respectively Storing, each category code is stored in different regions.
Use technique scheme, after server gets the code of standard list, described code carried out classification storage, Solve the server technical problem for each category code not perception of standard list.And then, server is to standard list In the case of a certain category code is modified, the category code changed can be re-started storage, it is not necessary to standard list All code re-starts storage, reduces the load of server memory and bandwidth.Further, can be with perception standard due to server Each category code of list, therefore, the part for inhomogeneity code processes and can be carried out in advance by server, and then improves visitor Family end treatment effeciency after the code getting standard list.
Specifically, in embodiments of the present invention, said method can also include: first kind code is repaiied by this server Change;This first kind code is any sort code in the code of described standard list;This server is by amended first kind generation Code re-starts storage.
Illustratively, server, can be by amended code after the code of the control to standard list is modified Again storing, the code of non-control and the code of JavaScript script keep constant.So, compared to existing technology to arbitrary Partial code is required to the most again store the code of standard list after modifying, the embodiment of the present invention reduces server Internal memory and bandwidth load.
In the case of the code of described standard list includes control code, said method can also include: this server Receive the form request message that client sends;This form request message is for obtaining the code of described standard list;This service Device obtains this control code, and is adjusted this control code based on control authority information;This server sends and is used for responding The response message of this form request message gives this client, and this response message includes the described control code after adjusting.
Illustratively, the control of standard list includes text box, password box and check box, wherein, the power of described text box Hide when being limited to be initially loaded.In embodiments of the present invention, server after receiving the form request message of client, according to The code of the control of storage is adjusted by the control authority information of storage so that the text box in control is hidden when being initially loaded Hide.So, after this client control code after receiving adjustment, directly hide the text box in control, not to text box Render, thus avoid the situation that the control being likely to occur in prior art " flashes ".
In a kind of possible implementation of the embodiment of the present invention, server responds this table to being used for of sending of client The response message of single request message could be included for indicating the instruction letter of the processing sequence of each category code of standard list Breath.Client can be according to all kinds of to standard list of processing sequence of this instruction information instruction after receiving this response message Code processes.
Illustratively, this instruction information indicates this client first with the non-control code drafting forms pages of standard list; After having drawn described forms pages, carry out control according to the control code of standard list and render;Render at described control After, run described JavaScript script.So, controlled due to the execution sequence of code, it is to avoid at control in prior art Render and run the situation repeatedly switched between JavaScript script to occur, improve the efficiency that client browser renders.
Above-mentioned being merely illustrative, this instruction information can also indicate that client first runs JavaScript script, then wash with watercolours Dye control, this is not limited by the present invention.
The embodiment of the present invention also provides for another kind of sheet disposal method, and the executive agent of the method is client, such as Fig. 3 institute Showing, the method includes:
S301, user end to server send form request message, and this form request message is used for obtaining in this server The code of standard list.
S302, this client receive the response message that this server sends, and this response message includes each of this standard list Category code and for indicating the instruction information of processing sequence of this each category code;Wherein, this classification server storage has this system Each category code of formula list.
S303, this client are according to each category code of this this standard list of instruction information processing.
Use said method, owing to the execution sequence of code is controlled, it is to avoid prior art renders at control and runs The situation repeatedly switched between JavaScript script occurs, improves the efficiency that client browser renders.
Illustratively, each category code of this standard list includes control code, non-control code and JavaScript script Code, then above-mentioned steps S303 may include that this client according to this non-control code of this instruction Information Pull draw list The page;After having drawn this forms pages, carry out control according to this control code and render;After this control has rendered, run This JavaScript script.
Alternatively, this response message also includes that server is according to the control code after the adjustment of control authority information, then client End, when carrying out control and rendering, can carry out control according to the control code after adjusting and render.So, for needing the control hidden Part, client can not render, it is to avoid first renders control in prior art and hides " flicker " situation of causing again Occur.
Use said method, owing to server stores for the classification of standard list so that server can be to inhomogeneity Code first carries out part pretreatment, and then improves client treatment effeciency after the code receiving standard list.
In order to make those skilled in the art more understand the technical scheme that the embodiment of the present invention provides, below by detailed The processing method of a kind of list that the embodiment of the present invention is provided by example is described in detail, as shown in Figure 4, and including:
S401, user end to server send form request message.
Wherein, the code that this form request message is expressed for the standard obtaining server storage.
S402, server receive this form request message, and determine the control code of this standard list.
Wherein, classification server stores each category code of standard list.Each category code of this standard list at least includes: At least one in control code, non-control code, JavaScript scripted code.
This control code is adjusted by S403, server according to control authority information.
Such as, the control hidden when being to be initially loaded for authority, server can adjust the code of this control and make this Control is directly hidden in the browser of client.
S404, this server send response message to client, and this response message includes each category code of this standard list And indicate the response message of the instruction information of the processing sequence of each category code, described each category code to include the control generation after adjusting Code.
S405, this client receive this response message, and draw the page according to this instruction information first with non-control code.
S406, this client, after the drafting page completes, utilize the control code after adjusting to render.
What deserves to be explained is, in the case of the form of control code and JavaScript script is JSON or XML, This client needs first the code of control code and JavaScript script to be converted to html format.
Specifically, being hiding control for authority, this client can directly be hidden and without rendering, it is to avoid First render again the hiding control caused and " flash " appearance of situation.
S407, this client, after having rendered, run JavaScript script.
From above-mentioned steps S405 to S407, the order of each category code of client process standard list is controlled, Avoid in prior art and render and run, at control, the situation appearance repeatedly switched between JavaScript script, improve visitor The efficiency of family end browser renders.
For said method embodiment, in order to be briefly described, therefore it is all expressed as a series of combination of actions, but this Skilled person should know, the present invention is not limited by described sequence of movement.Such as, this client is first run JavaScript script, then render control.Secondly, those skilled in the art also should know, enforcement described in this description Example belongs to preferred embodiment, necessary to the involved action not necessarily present invention.
The embodiment of the present invention also provides for a kind of server 50, for implementing step corresponding in said method embodiment, as Shown in Fig. 5, this server 50 includes:
Acquiring unit 501, for obtaining the code of standard list;
Taxon 502, for classifying to the code of described standard list;
Memory element 503, for storing respectively the inhomogeneous code of described standard list.
Use above-mentioned server 50, after this server gets the code of standard list, described code is carried out classification and deposits Storage, solves the server technical problem for each category code not perception of standard list, and then server is to standard list A certain category code be modified in the case of, can to change a category code re-start storage, it is not necessary to standard list Whole codes re-start storage, reduce the load of server memory and bandwidth.Further, can be with perception system due to server Each category code of formula list, therefore, the part for inhomogeneity code processes and can be carried out in advance by server, and then improves Client treatment effeciency after the code getting standard list.
Wherein, each category code of above-mentioned standard list can include control code, non-control code and JavaScript Script.Said memory cells 503 can be based on general transmission form storage control code and JavaScript script, such as, base In JSON or XML storage control code and JavaScript scripted code.With prior art for the code of standard list The mode all using html format to write is compared, and the code data amount of JSON or XML format is less, is conducive to transmission.
Alternatively, this server 50 also includes revising unit 504, for modifying first kind code;Described first Category code is any sort code in the code of described standard list;Described memory element 503 is additionally operable to, by amended first Category code re-starts storage.
Illustratively, server, can be by amended code after the code of the control to standard list is modified Again storing, the code of non-control and the code of JavaScript script keep constant.So, compared to existing technology to arbitrary Partial code is required to the most again store the code of standard list after modifying, the embodiment of the present invention reduces server Internal memory and bandwidth load.
Alternatively, in the case of the code of described standard list includes control code, described server 50 also includes: connect Receive unit 505, for receiving the form request message that client sends;Described form request message is used for obtaining described standard table Single code;Adjustment unit 506, is used for obtaining described control code, and enters described control code based on control authority information Row sum-equal matrix;Transmitting element 507, for sending for responding the response message of described form request message to described client, institute State response message and include the described control code after adjusting.
Illustratively, the control of standard list includes text box, password box and check box, wherein, the power of described text box Hide when being limited to be initially loaded.In embodiments of the present invention, server after receiving the form request message of client, according to The code of the control of storage is adjusted by the control authority information of storage so that the text box in control is hidden when being initially loaded Hide.So, after this client control code after receiving adjustment, directly hide the text box in control, not to text box Render, thus avoid the situation that the control being likely to occur in prior art " flashes ".
In embodiments of the present invention, this reception unit 505 is additionally operable to receive the form request message that client sends;Described Form request message is for obtaining the code of described standard list;This transmitting element 507 is additionally operable to, and sends and is used for responding described table The response message of single request message gives described client, and described response message includes each category code and the use of described standard list Instruction information in the processing sequence indicating described each category code.
Illustratively, this instruction information indicates this client first with the non-control code drafting forms pages of standard list; After having drawn described forms pages, carry out control according to the control code of standard list and render;Render at described control After, run described JavaScript script.So, controlled due to the execution sequence of code, it is to avoid at control in prior art Render and run the situation repeatedly switched between JavaScript script to occur, improve the efficiency that client browser renders.
What deserves to be explained is, the above dividing elements to server 50, be only a kind of logic function and divide, actual when realizing Can there is other dividing mode.Such as, above-mentioned taxon 502 and adjustment unit 506 can be divided into one and process list Unit.Further, the physics realization of above-mentioned each functional unit has been likely to multiple implementation, and such as, above-mentioned adjustment unit 506 is concrete Can be a central processing unit, it is also possible to be ASIC (Application Specific Integrated Circuit, special Integrated circuit).
Recognize with it will be apparent to those skilled in the art belonging to it addition, for convenience and simplicity of description, foregoing description The specific works process of each unit of server, be referred to the corresponding process in preceding method embodiment, the most superfluous State.
The embodiment of the present invention also provides for a kind of client 60, for implementing method step corresponding in said method embodiment Suddenly, as shown in Figure 6, this client 60 includes:
Transmitting element 601, for sending form request message to server, described form request message is used for obtaining described The code of the standard list in server;
Receiving unit 602, for receiving the response message that described server sends, described response message includes described standard Each category code of list and for indicating the instruction information of the processing sequence of described each category code;Wherein, described server divides Class storage has each category code of described standard list;
Processing unit 603, for each category code according to standard list described in described instruction information processing.
Illustratively, each category code of described standard list includes control code, non-control code and JavaScript foot This.Described processing unit 603 specifically for: according to described in described instruction Information Pull non-control code draw forms pages;? After having drawn described forms pages, carry out control according to described control code and render;After described control has rendered, run institute State JavaScript script.
So, controlled due to the execution sequence of code, it is to avoid prior art renders at control and runs The situation repeatedly switched between JavaScript script occurs, improves the efficiency that client browser renders.
Above-mentioned being merely illustrative, this instruction information can also indicate that client first runs JavaScript script, then wash with watercolours Dye control, this is not limited by the present invention.
In a kind of possible implementation of the embodiment of the present invention, described response message includes that server is weighed according to control Control code after limit information adjustment;Described processing unit 603 is additionally operable to: carry out control wash with watercolours according to the control code after adjusting Dye.So, for needing the control hidden, client can not render, it is to avoid first render control in prior art Hide the appearance of " flicker " situation caused again.
What deserves to be explained is, the above dividing elements to client 60, be only a kind of logic function and divide, actual when realizing Can there is other dividing mode.Further, the physics realization of above-mentioned each functional unit has been likely to multiple implementation, such as, go up State processing unit 603 and be specifically as follows renderer, it is also possible to for FPGA (Field Programmable Gate Array, scene Programmable gate array), this is not limited by the present invention.
Recognize with it will be apparent to those skilled in the art belonging to it addition, for convenience and simplicity of description, foregoing description The specific works process of each unit of client, be referred to the corresponding process in preceding method embodiment, the most superfluous State.
In embodiment provided herein, it should be understood that disclosed apparatus and method, can be passed through other Mode realizes.Such as, during each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to two or more unit are integrated in a unit.Above-mentioned integrated list Unit both can realize to use the form of hardware, it would however also be possible to employ hardware adds the form of SFU software functional unit and realizes.
The above-mentioned integrated unit realized with the form of SFU software functional unit, can be stored in an embodied on computer readable and deposit In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions with so that a computer Equipment (can be personal computer, server, or the network equipment etc.) performs the portion of method described in each embodiment of the present invention Step by step.And aforesaid storage medium includes: (Random Access Memory, random access memory is deposited for USB flash disk, portable hard drive, RAM Reservoir), the various media that can store data such as magnetic disc or CD.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is not limited thereto, and any Those familiar with the art in the technical scope that the invention discloses, the change that can readily occur in or replacement, all answer Contain within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with scope of the claims.

Claims (11)

1. a sheet disposal method, it is characterised in that including:
Server obtains the code of standard list;
The code of described standard list is classified by described server;
The inhomogeneous code of described standard list is stored by described server respectively.
Method the most according to claim 1, it is characterised in that described method also includes:
First kind code is modified by described server;Described first kind code is arbitrary in the code of described standard list Category code;
Amended first kind code is re-started storage by described server.
Method the most according to claim 1, it is characterised in that the code of described standard list includes control code, described Method also includes:
Described server receives the form request message that client sends;Described form request message is used for obtaining described standard table Single code;
Described server obtains described control code, and is adjusted described control code based on control authority information;
Described server sends for responding the response message of described form request message to described client, described response message Including the described control code after adjusting.
Method the most according to claim 1, it is characterised in that described method also includes:
Described server receives the form request message that client sends;Described form request message is used for obtaining described standard table Single code;
Described server sends for responding the response message of described form request message to described client, described response message Including each category code of described standard list and for indicating the instruction information of the processing sequence of described each category code.
5. according to the method described in any one of Claims 1-4, it is characterised in that each category code of described standard list includes At least one code below: control code, non-control code, JavaScript script.
Method the most according to claim 5, it is characterised in that the described server inhomogeneous generation to described standard list Code division does not carry out storage and includes:
Described server is based on general transmission form storage control code and JavaScript script.
7. a sheet disposal method, it is characterised in that including:
User end to server sends form request message, and described form request message is for obtaining the standard in described server The code of list;
Described client receives the response message that described server sends, and described response message includes all kinds of of described standard list Code and for indicating the instruction information of processing sequence of described each category code;Wherein, described classification server has stored State each category code of standard list;
Described client is according to each category code of standard list described in described instruction information processing.
Method the most according to claim 7, it is characterised in that each category code of described standard list includes control code, Non-control code and JavaScript script;Described client is all kinds of according to standard list described in described instruction information processing Code, including:
Described client draws forms pages according to non-control code described in described instruction Information Pull;
After having drawn described forms pages, carry out control according to described control code and render;
After described control has rendered, run described JavaScript script.
Method the most according to claim 8, it is characterised in that described response message includes that server is believed according to control authority Control code after breath adjustment;
Described client, after having drawn described forms pages, carries out control according to described control code and renders and include:
Described client carries out control according to the control code after adjusting and renders.
10. a server, it is characterised in that including:
Acquiring unit, for obtaining the code of standard list;
Taxon, for classifying to the code of described standard list;
Memory element, for storing respectively the inhomogeneous code of described standard list.
11. 1 kinds of clients, it is characterised in that including:
Transmitting element, for sending form request message to server, described form request message is used for obtaining described server In the code of standard list;
Receiving unit, for receiving the response message that described server sends, described response message includes described standard list Each category code and for indicating the instruction information of processing sequence of described each category code;Wherein, described classification server storage There is each category code of described standard list;
Processing unit, for each category code according to standard list described in described instruction information processing.
CN201610656819.2A 2016-08-11 2016-08-11 Form processing method, server and client Active CN106294760B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610656819.2A CN106294760B (en) 2016-08-11 2016-08-11 Form processing method, server and client

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610656819.2A CN106294760B (en) 2016-08-11 2016-08-11 Form processing method, server and client

Publications (2)

Publication Number Publication Date
CN106294760A true CN106294760A (en) 2017-01-04
CN106294760B CN106294760B (en) 2020-02-14

Family

ID=57668806

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610656819.2A Active CN106294760B (en) 2016-08-11 2016-08-11 Form processing method, server and client

Country Status (1)

Country Link
CN (1) CN106294760B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107291950A (en) * 2017-07-21 2017-10-24 东软集团股份有限公司 Form data update method, device and computer equipment
CN108037920A (en) * 2017-11-03 2018-05-15 福建省华渔教育科技有限公司 Client customizing form generation method, storage medium
CN111539011A (en) * 2020-07-07 2020-08-14 北京联想协同科技有限公司 Data hiding method and device and storage medium
CN111813282A (en) * 2020-05-29 2020-10-23 北京金山云网络技术有限公司 Data form display method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101241434A (en) * 2008-03-04 2008-08-13 浪潮集团山东通用软件有限公司 Form self-defining method
CN101937463A (en) * 2010-09-10 2011-01-05 西安交通大学 Method for automatically generating form for workflow model
CN103077185A (en) * 2012-12-18 2013-05-01 厦门雅迅网络股份有限公司 Object-based user-defined information-expanding method
CN103631570A (en) * 2012-08-21 2014-03-12 镇江雅迅软件有限责任公司 Form self-definition method
US20160026730A1 (en) * 2014-07-23 2016-01-28 Russell Hasan Html5-based document format with parts architecture
CN105653273A (en) * 2015-12-31 2016-06-08 合肥大多数信息科技有限公司 Personalized customizing method for client function under B/S architecture

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101241434A (en) * 2008-03-04 2008-08-13 浪潮集团山东通用软件有限公司 Form self-defining method
CN101937463A (en) * 2010-09-10 2011-01-05 西安交通大学 Method for automatically generating form for workflow model
CN103631570A (en) * 2012-08-21 2014-03-12 镇江雅迅软件有限责任公司 Form self-definition method
CN103077185A (en) * 2012-12-18 2013-05-01 厦门雅迅网络股份有限公司 Object-based user-defined information-expanding method
US20160026730A1 (en) * 2014-07-23 2016-01-28 Russell Hasan Html5-based document format with parts architecture
CN105653273A (en) * 2015-12-31 2016-06-08 合肥大多数信息科技有限公司 Personalized customizing method for client function under B/S architecture

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
杨彬等编著: "《Delphi4.0程序开发应用指南》", 31 October 1999, 人民邮电出版社 *
罗辉编著: "《中文版Visual FoxPro 5.0应用开发技术》", 31 July 1998, 北京航空航天大学出版社 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107291950A (en) * 2017-07-21 2017-10-24 东软集团股份有限公司 Form data update method, device and computer equipment
CN107291950B (en) * 2017-07-21 2020-01-24 东软集团股份有限公司 Form data updating method and device and computer equipment
CN108037920A (en) * 2017-11-03 2018-05-15 福建省华渔教育科技有限公司 Client customizing form generation method, storage medium
CN111813282A (en) * 2020-05-29 2020-10-23 北京金山云网络技术有限公司 Data form display method and device
CN111539011A (en) * 2020-07-07 2020-08-14 北京联想协同科技有限公司 Data hiding method and device and storage medium

Also Published As

Publication number Publication date
CN106294760B (en) 2020-02-14

Similar Documents

Publication Publication Date Title
KR101824222B1 (en) Fast rendering of websites containing dynamic content and stale content
US11144711B2 (en) Webpage rendering method, device, electronic apparatus and storage medium
US8631394B2 (en) Static resource processing
WO2018133452A1 (en) Webpage rendering method and related device
US8775926B2 (en) Stylesheet conversion engine
CN100462964C (en) Updating display method for webpage data
CN101122921B (en) Method forming tree-shaped display structure based on ajax and html
CN103365862B (en) It is a kind of for generating the method and apparatus of picture corresponding with the page
US8682964B1 (en) Progressively loading network content
CN111177618B (en) Website construction method, device, equipment and computer readable storage medium
US20120005429A1 (en) Reusing style sheet assets
KR20130066603A (en) Initiating font subsets
DE112015000299T5 (en) Portable wireless self-hosted condition monitoring web server and usage method
CN106294760A (en) Sheet disposal method and server, client
US10877825B2 (en) System for offline object based storage and mocking of rest responses
CN104317570B (en) The apparatus and method of dynamic analysis Web applications
CN105824887A (en) Mobile electronic investigation system and method based on intelligent questionnaire generative design
US20150149888A1 (en) Systems and methods for executing aspects of a document
US9648078B2 (en) Identifying a browser for rendering an electronic document
CN106202368B (en) Preloading method and device
AU2014209089A1 (en) Systems and methods for semantic URL handling
CN103488735B (en) Method and terminal that terminal browser page furbishing is shown
CN109460227A (en) A kind of development approach of Website front-end, device, equipment and medium
US9798773B2 (en) Generation of mapping definitions for content management system
CN103246680A (en) Method and device for aggregating and displaying webpage contents in browser

Legal Events

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