CN107229685A - Example generation, example operation method and device, storage medium and electronic equipment - Google Patents
Example generation, example operation method and device, storage medium and electronic equipment Download PDFInfo
- Publication number
- CN107229685A CN107229685A CN201710331250.7A CN201710331250A CN107229685A CN 107229685 A CN107229685 A CN 107229685A CN 201710331250 A CN201710331250 A CN 201710331250A CN 107229685 A CN107229685 A CN 107229685A
- Authority
- CN
- China
- Prior art keywords
- model
- attribute
- buffer memory
- cache model
- generation
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/17—Details of further file system functions
- G06F16/172—Caching, prefetching or hoarding of files
Abstract
This disclosure relates to a kind of example generation, example operation method and device, storage medium and electronic equipment.Example generation method includes:Example generation request is received, example generation request includes form identity and required parameter;The corresponding report form template of form identity is searched, report form template includes preset attribute and variable attribute;Preset buffer memory model is generated using preset attribute, preset buffer memory model is used to preserve the general character attribute that all examples of same report generation have, all a preset buffer memory models of example correspondence caching;Using required parameter and variable attribute generation example cache model and example identity, example cache model is used to preserve instant example with respect to the personality attributes that other examples have;The combination of the adduction relationship set up between example cache model and preset buffer memory model, example cache model and preset buffer memory model is used to represent instant example.Help to reduce the memory headroom of example caching consumption, especially effect is more notable under the big scene of concurrency.
Description
Technical field
This disclosure relates to computer processing technology field, in particular it relates to a kind of example generation method and device, example behaviour
Make method and device, computer-readable recording medium and electronic equipment.
Background technology
For data sheet, if directly inquiring about data from database every time, it can not only increase the access of database
Pressure, can also influence access speed to reduce the execution speed of form.This is directed to, data query result can be regard as reality
Example carries out caching report, so, when user operates to the example of caching report, and quickly can be read from caching should
Example, without regenerating.
In actual applications, a form may support attribute up to a hundred to set, for example, font color, font size,
The attributes such as background colour, when generating an example, all attributes of form, which can all be present in example, to be cached, in concurrency
When big, the example of caching can increase sharply therewith, such example generation and example buffering scheme, will certainly consume in substantial amounts of
Deposit space.
The content of the invention
The purpose of the disclosure is to provide a kind of example generation method and device, the internal memory consumed during reducing example caching
Space;In addition, also providing a kind of example operation method and device, operated to the example to disclosure schemes generation.
To achieve these goals, in a first aspect, the disclosure provides a kind of example generation method, including:
Example generation request is received, the example generation request includes form identity and required parameter;
The corresponding report form template of the form identity is searched, the report form template includes preset attribute and variable category
Property;
Preset buffer memory model is generated using the preset attribute, the preset buffer memory model is used to preserve same report generation
The general character attribute that has of all examples, a preset buffer memory model of all examples correspondence cachings;
Utilize the required parameter and variable attribute generation example cache model, and the example cache model
Example identity, the example cache model is used to preserve instant example with respect to the personality attributes that other examples have;
The adduction relationship set up between the example cache model and the preset buffer memory model, the example cache model
Combination with the preset buffer memory model is used to represent the instant example.
Alternatively, delay if existing in system and a default property being pre-configured with multiple different forms, and the system
Model is deposited, the default property cache model is used to preserve all default propertys that multiple described different forms have, then described
Preset attribute is the changeless Custom Attributes that current form has, described to generate preset buffer memory using the preset attribute
Model, including:
Defined attribute cache model is generated, the defined attribute cache model is used to preserve the Custom Attributes;
The adduction relationship set up between the defined attribute cache model and the default property cache model;
Obtain the remaining attribute of the current form from the default property cache model, the remaining attribute with it is described
The combination of defined attribute cache model is used for the preset buffer memory model for representing the current form, and the remaining attribute is worked as to be described
Attribute in all properties that preceding form has in addition to the variable attribute and the Custom Attributes.
Second aspect, the disclosure provides a kind of example operation method, for being operated to the example that the above method is generated,
Including:
Example operation request is received, the example operation request includes example identity and operating parameter;
Judge whether to find the corresponding example cache model of the example identity;
If finding the example cache model, there is the default slow of adduction relationship using with the example cache model
Deposit model and example cache model combination obtains instant example;
The instant example is operated using the operating parameter.
Alternatively, the example operation request also includes form identity and required parameter, and methods described also includes:
If not finding the example cache model, determine whether to find utilization form identity correspondence
Report form template generation preset buffer memory model;
If finding the preset buffer memory model, the variable attribute in the report form template and request ginseng are utilized
Number generation example cache model;
Instant example is obtained using the example cache model and preset buffer memory model combination, and utilizes the behaviour
Make parameter to operate the instant example.
Alternatively, if not finding the preset buffer memory model, methods described also includes:
The preset buffer memory model is generated using the preset attribute in the report form template.
The third aspect, the disclosure provides a kind of example generating means, and described device includes:
Request receiving module is generated, for receiving example generation request, the example generation request includes form identity mark
Know and required parameter;
Report form template searching modul, for searching the corresponding report form template of the form identity, the report form template
Including preset attribute and variable attribute;
First model generation module, for generating preset buffer memory model, the preset buffer memory mould using the preset attribute
Type is used to preserve the general character attribute that all examples of same report generation have, and all example correspondence cachings are a described pre-
If cache model;
Second model generation module, for generating example cache model using the required parameter and the variable attribute,
And the example identity of the example cache model, the example cache model is for preserving instant example with respect to other realities
The personality attributes that example has;
Adduction relationship sets up module, for setting up the reference between the example cache model and the preset buffer memory model
The combination of relation, the example cache model and the preset buffer memory model is used to represent the instant example.
Alternatively, delay if existing in system and a default property being pre-configured with multiple different forms, and the system
Model is deposited, the default property cache model is used to preserve all default propertys that multiple described different forms have, then described
Preset attribute is the changeless Custom Attributes that current form has,
The first model generation module, for generating defined attribute cache model, the defined attribute cache model is used
In the preservation Custom Attributes;The reference set up between the defined attribute cache model and the default property cache model
Relation;Obtain the remaining attribute of the current form from the default property cache model, the remaining attribute with it is described fixed
The combination of adopted property cache model is used for the preset buffer memory model for representing the current form, and the remaining attribute is described current
Attribute in all properties that form has in addition to the variable attribute and the Custom Attributes.
Fourth aspect, the disclosure provides a kind of example operation device, for being operated to the example that said apparatus is generated,
Including:
Operation requests receiving module, for receiving example operation request, the example operation request includes example identity mark
Know and operating parameter;
First judge module, for judging whether to find the corresponding example cache model of the example identity;
First composite module, for when first judge module judges to find the example cache model, utilizing
With the example cache model there is the preset buffer memory model and the example cache model of adduction relationship to combine and obtain current
Example;
Example operation module, for being operated using the operating parameter to the instant example.
Alternatively, the example operation request also includes form identity and required parameter, and described device also includes:
Second judge module, for when first judge module judges not finding the example cache model, sentencing
The fixed preset buffer memory model whether found using the corresponding report form template generation of the form identity;
First model generation module, for second judge module judge find the preset buffer memory model when,
Utilize the variable attribute in the report form template and required parameter generation example cache model;
Second composite module, for obtaining current using the example cache model and preset buffer memory model combination
Example, and the instant example is operated using the operating parameter.
Alternatively, described device also includes:
Second model generation module, for judging not finding the preset buffer memory model in second judge module
When, generate the preset buffer memory model using the preset attribute in the report form template.
5th aspect, the disclosure provides a kind of computer-readable recording medium, is stored thereon with computer program, the program
The step of method any one of first aspect being realized when being executed by processor.
6th aspect, the disclosure provides a kind of computer-readable recording medium, is stored thereon with computer program, the program
The step of method any one of second aspect being realized when being executed by processor.
7th aspect, the disclosure provides a kind of electronic equipment, including:
Computer-readable recording medium described in 5th aspect;And
One or more processor, for performing the program in the computer-readable recording medium.
Eighth aspect, the disclosure provides a kind of electronic equipment, including:
Computer-readable recording medium described in 6th aspect;And
One or more processor, for performing the program in the computer-readable recording medium.
Relative to existing example individual layer caching technology, the buffer structure of disclosure scheme can be at least divided into two layers:
The general character attribute of one layer of all example for representing same report generation, i.e. preset buffer memory model;One layer is used to represent same
The personality attributes of the single instance of report generation, i.e. example cache model.So, Case-based Reasoning cache model and preset buffer memory mould
Adduction relationship between type, can combine one complete example of expression;In addition, for all examples of a report generation,
Unique caching portion preset buffer memory model, additionally aids the attribute of shared, redundancy between the multiple examples of reduction, is repeatedly cached
The memory headroom of consumption, can efficiently save EMS memory occupation problem, particularly cause the scene that example increases sharply greatly in concurrency
Under, disclosure scheme can significantly more saving memory headroom.
Other feature and advantage of the disclosure will be described in detail in subsequent embodiment part.
Brief description of the drawings
Accompanying drawing is, for providing further understanding of the disclosure, and to constitute a part for specification, with following tool
Body embodiment is used to explain the disclosure together, but does not constitute limitation of this disclosure.In the accompanying drawings:
Fig. 1 is the schematic flow sheet of disclosure example generation method;
Fig. 2 is the schematic diagram of three layers of caching report structure in the disclosure;
Fig. 3 is the schematic flow sheet for generating preset buffer memory model in the disclosure using preset attribute;
Fig. 4 is the schematic flow sheet of disclosure example operation embodiment of the method 1;
Fig. 5 is the schematic flow sheet of disclosure example operation embodiment of the method 2;
Fig. 6 is a kind of structural representation of disclosure example generating means;
Fig. 7 is a kind of structural representation of disclosure example operation device;
Fig. 8 is the structural representation that the disclosure is used to realize the electronic equipment of example generation;
Fig. 9 is the structural representation that the disclosure is used to realize the electronic equipment of example operation.
Embodiment
It is described in detail below in conjunction with accompanying drawing embodiment of this disclosure.It should be appreciated that this place is retouched
The embodiment stated is merely to illustrate and explained the disclosure, is not limited to the disclosure.
In order to solve the problem of prior art caching example committed memory space is big, the disclosure provides a kind of new example life
Into scheme, help to reduce the memory headroom of example caching consumption, particularly in the case where concurrency is big, disclosure scheme effect
Fruit becomes apparent.
Referring to the schematic flow sheet that Fig. 1 is disclosure example generation method.This method may comprise steps of:
Step 101, example generation request is received, the example generation request includes form identity and required parameter.
Step 102, search the corresponding report form template of the form identity, the report form template include preset attribute and
Variable attribute.
During using disclosure schemes generation example, the attribute configuration that practical application request carries out form can be combined, is obtained
Report form template.As a kind of example, report form template can be stored in database, according to form identity during to need
Report form template is read from database, and example generation is carried out based on report form template.
As a kind of example, Reports module can include the attribute of following two types:
(1) preset attribute
Specifically, pre-configured and changeless attribute, can be used as the preset attribute in the disclosure.For example, right
For form A, it is default font etc. that cell A background colour, which is set to green, Header font, belongs to the default of form A
Attribute.
(2) variable attribute
Specifically, can the attribute that change with the change of the required parameter of outside input, can as in the disclosure can
Become attribute.For example, for form A, cell B background colour is parameter, and user can pass through required parameter setting unit
Lattice B background colour;Cell C3 value is formula C3=C1+C2, and user can pass through required parameter setting unit lattice C3's
Value.Above-mentioned example belongs to form A variable attribute.
When carrying out example generation, form identity and the generation example needs of client user's input can be received
Required parameter, and then corresponding report form template is read from database according to form identity, in case subsequent treatment.
Step 103, preset buffer memory model is generated using the preset attribute, the preset buffer memory model is used to preserve same
The general character attribute that all examples of report generation have, a preset buffer memory model of all example correspondence cachings.
Step 104, example cache model is generated using the required parameter and the variable attribute, and the example delays
The example identity of model is deposited, the example cache model is used to preserve instant example with respect to the individual character category that other examples have
Property.
Step 105, the adduction relationship set up between the example cache model and the preset buffer memory model, the example
The combination of cache model and the preset buffer memory model is used to represent the instant example.
Disclosure scheme, can build two layers of buffer structure for individual form, to save in example caching consumption
Deposit space.Specifically, find after report form template, example generation can be followed the steps below:
(1) preset buffer memory model is generated
As described by above, preset attribute is changeless attribute in form, that is to say, that based on the life of same form
Into all examples in all deposit in this section changeless attribute, i.e. preset attribute be all realities based on same report generation
The general character attribute that example has.Therefore, multiple examples based on same report generation, system only needs to cache a using default
The preset buffer memory model of attribute generation, helps to reduce the memory headroom of example caching consumption, especially in the big situation of concurrency
Under, the effect that disclosure scheme reaches becomes apparent.
As a kind of example, when there are multiple different forms in system, in order to further reduce in example caching consumption
Space is deposited, the disclosure may also provide three layers of buffer structure shown in Fig. 2.Wherein, default property cache model is used to preserve multiple not
All default propertys having with form, can be pre-configured in system.Defined attribute cache model is used to preserve client use
Family carries out the Custom Attributes of individual cultivation for current form, it is possible to use the preset attribute generation in report form template,
That is, corresponding to the scene that there are multiple different forms in system, preset attribute refers to client user for current report
The changeless Custom Attributes of table configuration.
In disclosure scheme, system initial configuration is good, and the attribute that user will not change, and can be considered default property;Relatively
System initial configuration has been changed, and is modified to the attribute of fixed value, can be considered Custom Attributes.
The disclosure also provides a kind of based on default property cache model and defined attribute cache model generation preset buffer memory mould
The method of type, for details, reference can be made to and introduced at FIG. 3 below, wouldn't be described in detail herein.
(2) example cache model is generated
Disclosure scheme, can also be by asking to join after the general character attribute that instant example and other examples have is obtained
Number and variable attribute, obtain instant example with respect to the personality attributes that other examples have.
By taking the background colour above by required parameter setting unit lattice B as an example, for example 1, if client user is defeated
The background colour that the required parameter entered is cell B in yellow, then the example cache model generated is yellow;For example 2, if
The required parameter of client user's input is red, then cell B background colour is red in the example cache model generated;Pin
To example 3, if the back of the body that the required parameter of client user's input is cell B in yellow, the example cache model generated
Scenery is yellow.
That is, the property value of different instances is probably identical in the disclosure, the personality attributes of example refer to needing
The required parameter to be inputted according to user determines the attribute of value.
(3) incidence relation is set up
In order to obtain a complete example, the reference that can also set up example cache model to preset buffer memory model is closed
System.So, when subsequent execution Query By Example etc. is operated, just can Case-based Reasoning identity read example cache model, be based on
Adduction relationship reads preset buffer memory model, and then is combined into a complete example using the two, for subsequent operation.
In summary, relative to existing example individual layer caching technology, the buffer structure of the disclosure can be at least divided into
Two layers:One layer is used for the general character attribute of all examples of the expression based on same report generation, i.e. preset buffer memory model;One layer is used for
Represent the personality attributes of the single instance based on same report generation, i.e. example cache model.Wherein, same form is only needed to pair
A preset buffer memory model should be cached, that is, avoids attribute have between multiple examples, redundancy from repeatedly being cached, contributes to drop
The memory headroom of low example caching consumption, especially under the scene that concurrency causes greatly example to increase sharply, disclosure scheme can be more
It is significant to save memory headroom.
It is the schematic flow sheet that the disclosure generates preset buffer memory model using preset attribute referring to Fig. 3.It can include following
Step:
Step 301, defined attribute cache model is generated, the defined attribute cache model is used to preserve the self-defined category
Property.
Step 302, the adduction relationship set up between the defined attribute cache model and the default property cache model.
Step 303, the remaining attribute of the current form, the remaining category are obtained from the default property cache model
Property combined with the defined attribute cache model for representing the preset buffer memory model of the current form, the remaining attribute
Attribute in all properties having for the current form in addition to the variable attribute and the Custom Attributes.
From introduction made above, example cache model is used for the personality attributes for preserving instant example, and defined attribute is delayed
The personality attributes that model is used to preserve current form are deposited, in order to be combined into a complete instant example, and example are saved as far as possible
Shared memory headroom, a default property cache model can be configured in systems in advance, for preserving multiple different form tools
The default value of some all properties.That is, when client user configures report form template, it is only necessary to configure variable attribute and oneself
Substantial amounts of remaining attribute can be obtained by way of accessing default property cache model in defined attribute, form.
So, the corresponding defined attribute cache model of current form, the current report obtained from default property cache model
The remaining attribute of table, the two can combine the preset buffer memory model for representing current form, that is to say, that based on current report generation
The general character attributes of all examples include:Remaining attribute and Custom Attributes.Obtain after preset buffer memory model, can also be with current reality
The corresponding example cache model of example is combined, represents that a complete instant example, the i.e. disclosure can be delayed using three layers shown in Fig. 2
Deposit structure and carry out example caching.
It is to be appreciated that for form 1, form 2, form 3, system only preserves a default property cache model,
The default property that three forms have is stored in default property cache model.For form 1, system only preserves a fixed
Adopted property cache model, the Custom Attributes of form 1 is stored in defined attribute cache model.For what is generated based on form 1
For single instance, system can preserve a example cache model, and the personality attributes of the single instance are stored in example caching
In model.Such buffer structure, not only may insure that example is represented by complete, correct, can also avoid multiple examples as far as possible
Between have, the attribute of redundancy repeatedly cached, help to reduce the memory headroom that example caching takes, especially in concurrency
Under the big scene for causing example to increase sharply, disclosure scheme can significantly more saving memory headroom.
After such scheme generation example, also example operation can be carried out according to practical application request, be this public affairs referring to Fig. 4
Open the schematic flow sheet of example operation embodiment of the method 1.This method may comprise steps of:
Step 401, example operation request is received, the example operation request includes example identity and operating parameter.
Step 402, judge whether to find the corresponding example cache model of the example identity.
Step 403, if finding the example cache model, there is adduction relationship using with the example cache model
Preset buffer memory model and the example cache model combination obtain instant example.
Step 404, the instant example is operated using the operating parameter.
When carrying out example operation, corresponding reality is searched in the example identity that can be inputted first with client user
Example cache model, and after example cache model is obtained, combine the preset buffer memory model of example cache model reference, generation one
Individual complete instant example, then recycles the operating parameter of client user's input, instant example is operated.
As a kind of example, the operation in the disclosure can be inquiry, printing, export, page turning etc..By taking page turning as an example, behaviour
One page is turned over after making parameter and being presented as on the basis of current page.
In actual application, after certain cache-time or caching quantity, example can be carried out to cache clearly
Reason, if example is not cleaned, can find the corresponding example cache model of example identity, carry out example operation.Such as
Fruit example has been cleaned, then searches example cache model corresponding less than example identity.This is directed to, in order to ensure reality
Being normally carried out for example operation, can also include form identity in the example operation request that client user sends and request is joined
Number, when searching less than example cache model, example generation is carried out using form identity and required parameter.
Referring to the schematic flow sheet that Fig. 5 is disclosure example operation embodiment of the method 2.This method can include following step
Suddenly:
Step 501, example operation request is received, the example operation request includes example identity, operating parameter, report
Table identity and required parameter.
Step 502, judge whether to find the corresponding example cache model of the example identity.
Step 503, if not finding the example cache model, determine whether to find the utilization form identity
Identify the preset buffer memory model of corresponding report form template generation.
Step 504, if finding the preset buffer memory model, the variable attribute in the report form template and institute are utilized
State required parameter generation example cache model.
Step 505, instant example, and profit are obtained using the example cache model and preset buffer memory model combination
The instant example is operated with the operating parameter.
If searching example cache model corresponding less than example identity, example generation can be carried out in real time.With reference to
It is made above to introduce, it particularly may be divided into following two situations:
(1) need to generate example cache model
In decision-making system during example cache model corresponding in the absence of example identity, it can determine whether in system
Whether preset buffer memory model using form identity corresponding report form template generation is cached with, if existed in system default
Cache model, then using the variable element in required parameter, report form template, generate example cache model, and then example is delayed
Deposit model and preset buffer memory model is combined into complete instant example, carry out example operation.
(2) generation example cache model, preset buffer memory model are needed
If preset buffer memory model is not present in system, using the parameter preset in report form template, generation is default slow
Model is deposited, and using the variable element in required parameter, report form template, generates example cache model, then again caches example
Model and preset buffer memory model are combined into complete instant example, carry out example operation.
The generating process of preset buffer memory model, example cache model, reference can be made to made above introduce, here is omitted.
Referring to the structural representation that Fig. 6 is disclosure example generating means.Described device includes:
Request receiving module 601 is generated, for receiving example generation request, the example generation request includes form identity
Mark and required parameter;
Report form template searching modul 602, for searching the corresponding report form template of the form identity, the form mould
Plate includes preset attribute and variable attribute;
First model generation module 603, for generating preset buffer memory model, the preset buffer memory using the preset attribute
Model is used to preserve the general character attribute that all examples of same report generation have, and all example correspondence cachings are a described
Preset buffer memory model;
Second model generation module 604, for utilizing the required parameter and variable attribute generation example caching mould
Type, and the example cache model example identity, the example cache model be used for preserve instant example with respect to it
The personality attributes that his example has;
Adduction relationship sets up module 605, for setting up between the example cache model and the preset buffer memory model
The combination of adduction relationship, the example cache model and the preset buffer memory model is used to represent the instant example.
Alternatively, delay if existing in system and a default property being pre-configured with multiple different forms, and the system
Model is deposited, the default property cache model is used to preserve all default propertys that multiple described different forms have, then described
Preset attribute is the changeless Custom Attributes that current form has,
The first model generation module, for generating defined attribute cache model, the defined attribute cache model is used
In the preservation Custom Attributes;The reference set up between the defined attribute cache model and the default property cache model
Relation;Obtain the remaining attribute of the current form from the default property cache model, the remaining attribute with it is described fixed
The combination of adopted property cache model is used for the preset buffer memory model for representing the current form, and the remaining attribute is described current
Attribute in all properties that form has in addition to the variable attribute and the Custom Attributes.
Referring to the structural representation that Fig. 7 is disclosure example operation device.For being generated to example generating means shown in Fig. 6
Example operated, including:
Operation requests receiving module 701, for receiving example operation request, the example operation request includes example identity
Mark and operating parameter;
First judge module 702, for judging whether to find the corresponding example cache model of the example identity;
First composite module 703, it is sharp for when first judge module judges to find the example cache model
Combined and worked as with the preset buffer memory model and the example cache model with the example cache model with adduction relationship
Preceding example;
Example operation module 704, for being operated using the operating parameter to the instant example.
Alternatively, the example operation request also includes form identity and required parameter, and described device also includes:
Second judge module, for when first judge module judges not finding the example cache model, sentencing
The fixed preset buffer memory model whether found using the corresponding report form template generation of the form identity;
First model generation module, for second judge module judge find the preset buffer memory model when,
Utilize the variable attribute in the report form template and required parameter generation example cache model;
Second composite module, for obtaining current using the example cache model and preset buffer memory model combination
Example, and the instant example is operated using the operating parameter.
Alternatively, described device also includes:
Second model generation module, for judging not finding the preset buffer memory model in second judge module
When, generate the preset buffer memory model using the preset attribute in the report form template.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant this method
Embodiment in be described in detail, explanation will be not set forth in detail herein.
Fig. 8 is the block diagram of a kind of electronic equipment 800 according to an exemplary embodiment, and the electronic equipment 800 is used for
Realize that example is generated.As shown in figure 8, the electronic equipment 800 can include:Processor 801, memory 802, multimedia groupware
803, input/output (I/O) interface 804, and communication component 805.
Wherein, processor 801 is used for the integrated operation for controlling the electronic equipment 800, to complete above-mentioned example generation side
All or part of step in method.Memory 802 is used to store various types of data to support the behaviour in the electronic equipment 800
Make, these data can for example include the instruction of any application program or method for being operated on the electronic equipment 800, with
And the related data of application program, such as contact data, the message of transmitting-receiving, picture, audio, video etc..The memory 802
It can realize that for example static random-access is deposited by any kind of volatibility or non-volatile memory device or combinations thereof
Reservoir (Static Random Access Memory, abbreviation SRAM), Electrically Erasable Read Only Memory
(Electrically Erasable Programmable Read-Only Memory, abbreviation EEPROM), erasable programmable
Read-only storage (Erasable Programmable Read-Only Memory, abbreviation EPROM), programmable read only memory
(Programmable Read-Only Memory, abbreviation PROM), and read-only storage (Read-Only Memory, referred to as
ROM), magnetic memory, flash memory, disk or CD.Multimedia groupware 803 can include screen and audio-frequency assembly.Wherein
Screen for example can be touch-screen, and audio-frequency assembly is used to export and/or input audio signal.For example, audio-frequency assembly can include
One microphone, microphone is used to receive external audio signal.The audio signal received can be further stored in storage
Device 802 is sent by communication component 805.Audio-frequency assembly also includes at least one loudspeaker, for exports audio signal.I/O
Interface 804 is provides interface between processor 801 and other interface modules, other above-mentioned interface modules can be keyboard, mouse,
Button etc..These buttons can be virtual push button or entity button.Communication component 805 is used for the electronic equipment 800 and other
Wired or wireless communication is carried out between equipment.Radio communication, such as Wi-Fi, bluetooth, near-field communication (Near Field
Communication, abbreviation NFC), 2G, 3G or 4G, or one or more of combinations in them, therefore the corresponding communication
Component 805 can include:Wi-Fi module, bluetooth module, NFC module.
In one exemplary embodiment, electronic equipment 800 can be by one or more application specific integrated circuits
(Application Specific Integrated Circuit, abbreviation ASIC), digital signal processor (Digital
Signal Processor, abbreviation DSP), digital signal processing appts (Digital Signal Processing Device,
Abbreviation DSPD), PLD (Programmable Logic Device, abbreviation PLD), field programmable gate array
(Field Programmable Gate Array, abbreviation FPGA), controller, microcontroller, microprocessor or other electronics member
Part realization, the example generation method above-mentioned for performing.
In a further exemplary embodiment, a kind of computer-readable recording medium including programmed instruction, example are additionally provided
Such as include the memory 802 of programmed instruction, said procedure instruction can be performed with completion by the processor 801 of electronic equipment 800
The example generation method stated.
Fig. 9 is the block diagram of a kind of electronic equipment 900 according to an exemplary embodiment, and the electronic equipment 900 is used for
Realize example operation.As shown in figure 9, the electronic equipment 900 can include:Processor 901, memory 902, multimedia groupware
903, input/output (I/O) interface 904, and communication component 905.
Wherein, processor 901 is used for the integrated operation for controlling the electronic equipment 900, to complete above-mentioned example operation side
All or part of step in method.Memory 902 is used to store various types of data to support the behaviour in the electronic equipment 900
Make, these data can for example include the instruction of any application program or method for being operated on the electronic equipment 900, with
And the related data of application program, such as contact data, the message of transmitting-receiving, picture, audio, video etc..The memory 902
It can realize that for example static random-access is deposited by any kind of volatibility or non-volatile memory device or combinations thereof
Reservoir (Static Random Access Memory, abbreviation SRAM), Electrically Erasable Read Only Memory
(Electrically Erasable Programmable Read-Only Memory, abbreviation EEPROM), erasable programmable
Read-only storage (Erasable Programmable Read-Only Memory, abbreviation EPROM), programmable read only memory
(Programmable Read-Only Memory, abbreviation PROM), and read-only storage (Read-Only Memory, referred to as
ROM), magnetic memory, flash memory, disk or CD.Multimedia groupware 903 can include screen and audio-frequency assembly.Wherein
Screen for example can be touch-screen, and audio-frequency assembly is used to export and/or input audio signal.For example, audio-frequency assembly can include
One microphone, microphone is used to receive external audio signal.The audio signal received can be further stored in storage
Device 902 is sent by communication component 905.Audio-frequency assembly also includes at least one loudspeaker, for exports audio signal.I/O
Interface 904 is provides interface between processor 901 and other interface modules, other above-mentioned interface modules can be keyboard, mouse,
Button etc..These buttons can be virtual push button or entity button.Communication component 905 is used for the electronic equipment 900 and other
Wired or wireless communication is carried out between equipment.Radio communication, such as Wi-Fi, bluetooth, near-field communication (Near Field
Communication, abbreviation NFC), 2G, 3G or 4G, or one or more of combinations in them, therefore the corresponding communication
Component 905 can include:Wi-Fi module, bluetooth module, NFC module.
In one exemplary embodiment, electronic equipment 900 can be by one or more application specific integrated circuits
(Application Specific Integrated Circuit, abbreviation ASIC), digital signal processor (Digital
Signal Processor, abbreviation DSP), digital signal processing appts (Digital Signal Processing Device,
Abbreviation DSPD), PLD (Programmable Logic Device, abbreviation PLD), field programmable gate array
(Field Programmable Gate Array, abbreviation FPGA), controller, microcontroller, microprocessor or other electronics member
Part realization, the example operation method above-mentioned for performing.
In a further exemplary embodiment, a kind of computer-readable recording medium including programmed instruction, example are additionally provided
Such as include the memory 902 of programmed instruction, said procedure instruction can be performed with completion by the processor 901 of electronic equipment 900
The example operation method stated.
The preferred embodiment of the disclosure is described in detail above in association with accompanying drawing, still, the disclosure is not limited to above-mentioned reality
The detail in mode is applied, in the range of the technology design of the disclosure, a variety of letters can be carried out with technical scheme of this disclosure
Monotropic type, these simple variants belong to the protection domain of the disclosure.
It is further to note that each particular technique feature described in above-mentioned embodiment, in not lance
In the case of shield, can be combined by any suitable means, in order to avoid unnecessary repetition, the disclosure to it is various can
The combination of energy no longer separately illustrates.
In addition, can also be combined between a variety of embodiments of the disclosure, as long as it is without prejudice to originally
Disclosed thought, it should equally be considered as disclosure disclosure of that.
Claims (10)
1. a kind of example generation method, it is characterised in that including:
Example generation request is received, the example generation request includes form identity and required parameter;
The corresponding report form template of the form identity is searched, the report form template includes preset attribute and variable attribute;
Preset buffer memory model is generated using the preset attribute, the preset buffer memory model is used for the institute for preserving same report generation
There are the general character attribute that example has, a preset buffer memory model of all example correspondence cachings;
Utilize the example of the required parameter and variable attribute generation example cache model, and the example cache model
Identity, the example cache model is used to preserve instant example with respect to the personality attributes that other examples have;
The adduction relationship set up between the example cache model and the preset buffer memory model, the example cache model and institute
Stating the combination of preset buffer memory model is used to represent the instant example.
2. according to the method described in claim 1, it is characterised in that if there are multiple different forms in system, and the system
A default property cache model is pre-configured with system, the default property cache model is used to preserve multiple described different forms
All default propertys having, then the preset attribute is the changeless Custom Attributes that current form has, the profit
Preset buffer memory model is generated with the preset attribute, including:
Defined attribute cache model is generated, the defined attribute cache model is used to preserve the Custom Attributes;
The adduction relationship set up between the defined attribute cache model and the default property cache model;
The remaining attribute of the current form, the remaining attribute and the definition are obtained from the default property cache model
The combination of property cache model is used for the preset buffer memory model for representing the current form, and the remaining attribute is the current report
Attribute in all properties that table has in addition to the variable attribute and the Custom Attributes.
3. a kind of example operation method, it is characterised in that for entering to the example that method according to claim 1 or claim 2 is generated
Row operation, including:
Example operation request is received, the example operation request includes example identity and operating parameter;
Judge whether to find the corresponding example cache model of the example identity;
If finding the example cache model, the preset buffer memory mould with the example cache model with adduction relationship is utilized
Type and example cache model combination obtain instant example;
The instant example is operated using the operating parameter.
4. method according to claim 3, it is characterised in that the example operation request also include form identity and
Required parameter, methods described also includes:
If not finding the example cache model, determine whether to find the corresponding report of the utilization form identity
The preset buffer memory model of table template generation;
If finding the preset buffer memory model, the variable attribute in the report form template and required parameter life are utilized
Into example cache model;
Instant example is obtained using the example cache model and preset buffer memory model combination, and utilizes the operation ginseng
It is several that the instant example is operated.
5. a kind of example generating means, it is characterised in that described device includes:
Generate request receiving module, for receiving example generation request, example generation request include form identity with
Required parameter;
Report form template searching modul, for searching the corresponding report form template of the form identity, the report form template includes
Preset attribute and variable attribute;
First model generation module, for generating preset buffer memory model using the preset attribute, the preset buffer memory model is used
The general character attribute having in all examples for preserving same report generation, all example correspondence cachings are a described default slow
Deposit model;
Second model generation module, for generating example cache model using the required parameter and the variable attribute, and
The example identity of the example cache model, the example cache model is used to preserve instant example with respect to other examples tool
Some personality attributes;
Adduction relationship sets up module, is closed for setting up the reference between the example cache model and the preset buffer memory model
The combination of system, the example cache model and the preset buffer memory model is used to represent the instant example.
6. a kind of example operation device, it is characterised in that for being operated to the example that claim 5 described device is generated,
Including:
Operation requests receiving module, for receiving example operation request, example operation request include example identity with
Operating parameter;
First judge module, for judging whether to find the corresponding example cache model of the example identity;
First composite module, for first judge module judge find the example cache model when, using with institute
Stating example cache model, there is the preset buffer memory model of adduction relationship and example cache model combination to obtain current reality
Example;
Example operation module, for being operated using the operating parameter to the instant example.
7. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the program is held by processor
The step of claim 1 or 2 methods described are realized during row.
8. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the program is held by processor
The step of claim 3 or 4 methods described are realized during row.
9. a kind of electronic equipment, it is characterised in that including:
Computer-readable recording medium described in claim 7;And
One or more processor, for performing the program in the computer-readable recording medium.
10. a kind of electronic equipment, it is characterised in that including:
Computer-readable recording medium described in claim 8;And
One or more processor, for performing the program in the computer-readable recording medium.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710331250.7A CN107229685A (en) | 2017-05-11 | 2017-05-11 | Example generation, example operation method and device, storage medium and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710331250.7A CN107229685A (en) | 2017-05-11 | 2017-05-11 | Example generation, example operation method and device, storage medium and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107229685A true CN107229685A (en) | 2017-10-03 |
Family
ID=59933305
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710331250.7A Pending CN107229685A (en) | 2017-05-11 | 2017-05-11 | Example generation, example operation method and device, storage medium and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107229685A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108595681A (en) * | 2018-05-02 | 2018-09-28 | 恒生电子股份有限公司 | Method, apparatus and system for list displaying |
CN108829651A (en) * | 2018-04-17 | 2018-11-16 | 平安科技(深圳)有限公司 | A kind of method, apparatus of document treatment, terminal device and storage medium |
CN113283226A (en) * | 2021-05-25 | 2021-08-20 | 山东浪潮通软信息科技有限公司 | Method, device, equipment and medium for editing online document template |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101615187A (en) * | 2009-07-24 | 2009-12-30 | 东软集团股份有限公司 | Report form embodiment storage means and device, form read method |
CN103577513A (en) * | 2012-07-18 | 2014-02-12 | 德商赛克美国有限公司 | Systems and/or methods for caching xml information sets with delayed node instantiation |
CN104572032A (en) * | 2013-10-09 | 2015-04-29 | 腾讯科技(深圳)有限公司 | Report creation method and electronic equipment |
CN105138312A (en) * | 2014-06-05 | 2015-12-09 | 阿里巴巴集团控股有限公司 | Table generation method and apparatus |
-
2017
- 2017-05-11 CN CN201710331250.7A patent/CN107229685A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101615187A (en) * | 2009-07-24 | 2009-12-30 | 东软集团股份有限公司 | Report form embodiment storage means and device, form read method |
CN103577513A (en) * | 2012-07-18 | 2014-02-12 | 德商赛克美国有限公司 | Systems and/or methods for caching xml information sets with delayed node instantiation |
CN104572032A (en) * | 2013-10-09 | 2015-04-29 | 腾讯科技(深圳)有限公司 | Report creation method and electronic equipment |
CN105138312A (en) * | 2014-06-05 | 2015-12-09 | 阿里巴巴集团控股有限公司 | Table generation method and apparatus |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108829651A (en) * | 2018-04-17 | 2018-11-16 | 平安科技(深圳)有限公司 | A kind of method, apparatus of document treatment, terminal device and storage medium |
CN108595681A (en) * | 2018-05-02 | 2018-09-28 | 恒生电子股份有限公司 | Method, apparatus and system for list displaying |
CN108595681B (en) * | 2018-05-02 | 2020-12-18 | 恒生电子股份有限公司 | Method, device and system for displaying form |
CN113283226A (en) * | 2021-05-25 | 2021-08-20 | 山东浪潮通软信息科技有限公司 | Method, device, equipment and medium for editing online document template |
CN113283226B (en) * | 2021-05-25 | 2023-09-22 | 浪潮通用软件有限公司 | Editing method, device, equipment and medium of online document template |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI709866B (en) | Equipment model identification method, device and processing equipment | |
CN107229685A (en) | Example generation, example operation method and device, storage medium and electronic equipment | |
CN109783555A (en) | Form templat storage method, device, storage medium and electronic equipment | |
US10243852B2 (en) | Look-up table creation method and query method, controller, forwarding device, and system | |
US11630957B2 (en) | Natural language processing method and apparatus | |
CN104361140A (en) | Dynamically generated data model configuration device and method | |
CN111241138B (en) | Data matching method and device | |
CN104965676B (en) | A kind of access method of random access memory, device and control chip | |
CN107968713A (en) | Remote wake-up method, apparatus and system | |
CN105519072A (en) | Multi-user conference system | |
CN108712320A (en) | Information push method and device | |
CN110278544A (en) | The trust of Machine To Machine is created with shared resource automatic between internet of things equipment | |
US11165648B1 (en) | Facilitating network configuration testing | |
CN108777662A (en) | Entry management method and device | |
CN107395487A (en) | Message updating method and system | |
CN116800671A (en) | Data transmission method, apparatus, computer device, storage medium, and program product | |
CN107220283A (en) | Data processing method, device, storage medium and electronic equipment | |
US20230087249A1 (en) | Method and Apparatus for Evaluating Impact of Network Operation, and Device | |
CN109346080A (en) | Sound control method, device, equipment and storage medium | |
CN106254575B (en) | A kind of method and apparatus of determining user identifier | |
CN105791163A (en) | Updating method and device | |
CN112491723B (en) | Gateway message forwarding method, device, storage medium and gateway | |
CN107423041A (en) | Method and apparatus for realizing application programming interface configuration and calling | |
CN110417777B (en) | Optimized method and device for communication between microservices | |
CN107517161A (en) | A kind of network processing unit look-up method, network processing unit and table look-up system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171003 |
|
RJ01 | Rejection of invention patent application after publication |