CN104216902A - Paging data loading method, device and system based on server paging - Google Patents

Paging data loading method, device and system based on server paging Download PDF

Info

Publication number
CN104216902A
CN104216902A CN201310215082.7A CN201310215082A CN104216902A CN 104216902 A CN104216902 A CN 104216902A CN 201310215082 A CN201310215082 A CN 201310215082A CN 104216902 A CN104216902 A CN 104216902A
Authority
CN
China
Prior art keywords
data
server
paged
request
screening
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
CN201310215082.7A
Other languages
Chinese (zh)
Other versions
CN104216902B (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.)
Siemens AG
Original Assignee
Siemens AG
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 Siemens AG filed Critical Siemens AG
Priority to CN201310215082.7A priority Critical patent/CN104216902B/en
Publication of CN104216902A publication Critical patent/CN104216902A/en
Application granted granted Critical
Publication of CN104216902B publication Critical patent/CN104216902B/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/951Indexing; Web crawling techniques

Abstract

The embodiment of the invention discloses a paging data loading method, device and system based on server paging. The method includes the steps that a data request containing a data screening command is received, and when the data screening command accords with a data screening rule, the data request is sent to a server through a WCF interface; paging data retrieved by the server according to the data screening command are received through the WCF interface. According to the implementing mode, a WCF serves as middleware, and a database on the server side does not need to be changed in the storage process.

Description

A kind of paged data stowage based on server paging, device and system
Technical field
The present invention relates to the communications field, particularly relate to a kind of paged data stowage based on server paging, device and system.
Background technology
Along with the deep development of mobile Internet and cloud computing, the data relevant to various service are stored in the server being arranged in high in the clouds usually.When client needs to use these data, the service of can calling also downloads corresponding data from server, and show data in user interface (UI).Management software application at present based on database is increasingly extensive, for Volume data storehouse table increasing, delete, change, the operation such as to look into more and more frequent.In order to improve system response time, strengthening Consumer's Experience, all have employed the function based on server paging at present when searching Volume data storehouse table.Apply different from this locality, the application being positioned at high in the clouds is proposed new challenge to developer and client.When client needs data, may be preferably select by paging mode from cloud server downloading data.
There is multiple paged data download control method at present.The first is that client-based paged data is downloaded.In client-based paged data downloading mode, client downloads all data from server, and performs paging activity and process all paging logics by client to data.This client-based paging mode realizes simple, but the problem of hydraulic performance decline when there is transmission volume large and large-scale data.The second downloads based on the paged data of server.Based in the paged data downloading mode of server, client does not need to download all data from server, and only needs to download the data set be consistent with query term.Owing to only needing to download low volume data, this processing mode has good network transmission performance, and degradation problem when there is not scale data.But, based in the paged data download technology of server, such as increasing the database storing and usually need to revise server side in the operation such as paged data, and modifying to server side database and sometimes cannot perform, therefore the scope of application of this processing mode is limited to very much.
Summary of the invention
Embodiment of the present invention proposes a kind of paged data stowage based on server paging, without the need to modifying to server side database, thus expands the scope of application.
Embodiment of the present invention proposes a kind of paged data loading attachment based on server paging, and without the need to modifying to server side database, thus the scope of application is more extensive.
Embodiment of the present invention proposes a kind of paged data Load System based on server paging, and without the need to modifying to server side database, thus the scope of application is more extensive.
The technical scheme of embodiment of the present invention is as follows:
Based on a paged data stowage for server paging, comprising:
This request of data containing the request of data of data screening order, and when this data screening order meets data screening rule, is sent to server by WCF interface by receiving package;
By the paged data that WCF interface is gone out by server based on data screening command search.
This request of data comprises data sorting order further;
Described when data screening order meets data screening rule, being sent to server by the request of WCF interface data is:
When this data sorting order meets data sorting rule and data screening order meets data screening rule, by WCF interface, this request of data is sent to server.
Describedly by WCF interface, this request of data is sent to server and comprises:
In the basis of WCF interface inquiry BaseQuery, additional described data sorting order and data screening order are to form querying command, and by WCF interface context Context, this querying command are sent to server.
The described paged data gone out by server based on data screening command search by WCF interface is comprised: the basic entity set BaseEntitySet by WCF interface, the paged data gone out by server based on data screening command search being turned back to WCF interface.
The method comprises further: from the basic entity set BaseEntitySet of WCF interface, obtain paged data, and perform at least one in following operation to paged data: increase data, filtering data, the loading page, refresh data, Mobile data, storage data and grouped data.
The method comprises further: after receiving the request of data comprising data sorting order and data screening order, inquires about the pre-service of front WCF form to this request of data.
The method comprises further: before described inquiry after the pre-service of WCF form, judge whether this locality stores the paged data corresponding with this data sorting order and data screening order, if had, then recall this corresponding paged data from this locality, if no, then this request of data is sent to server by WCF interface.
The method comprises further: after the paged data gone out by server based on data screening command search by WCF interface, judge whether this locality stores this paged data further, if had, then exit this flow process, if no, then store described paged data in this locality.
Based on a paged data loading attachment for server paging, this device comprises data screening rule setting unit and data request processing unit, wherein: data screening rule setting unit, for setting data screening rule; Data request processing unit, for the request of data of receiving package containing data screening order, and when this data screening order meets data screening rule, by WCF interface, this request of data is sent to server, and screens the paged data that goes out of command search by WCF interface by server based on data.
Said apparatus comprises further: data sorting rule setting unit, and it is for setting data ordering rule; Data request processing unit, the request of data of data sorting order and data screening order is contained for packet receiving, and when this data sorting order meets data sorting rule and data screening order meets data screening rule, by WCF interface, this request of data is sent to server, and by paged data that WCF interface is gone out by server based on data sequentialize commands and data screening command search.
Above-mentioned data request processing unit can also to be used in the basis of WCF interface inquiry BaseQuery additional described data sorting order and data screening order to form querying command, and by WCF interface context Context, this querying command is sent to server.Above-mentioned data request processing unit can also be used for the basic entity set BaseEntitySet by WCF interface, paged data being turned back to WCF interface.
Above-mentioned data request processing unit may be used for further after receiving the request of data comprising data sorting order and data screening order, inquires about the pre-service of front WCF form to this request of data.
Above-mentioned data request processing unit to be further used for before inquiry after the pre-service of WCF form, judge whether this locality stores the paged data corresponding with this data sorting order and data screening order, if had, then recall this corresponding paged data from this locality, if no, then this request of data is sent to server by WCF interface.
Above-mentioned data request processing unit after receiving described paged data by WCF interface from server, judges whether this locality stores paged data further, if had, then exits this flow process, if do not had, then store described paged data in this locality further.
Another one real-time mode of the present invention also discloses a kind of paged data Load System based on server paging, and this system comprises client and server, wherein:
Client, is provided with data screening rule, for the request of data of receiving package containing data screening order, and when this data screening order meets data screening rule, by WCF interface, this request of data is sent to server;
Server, for filtering out paged data according to data screening order, and returns described paged data by WCF interface to client.
Client, be provided with data sorting rule further, and receiving package contains the request of data of data sorting order and data screening order, and when this data sorting order meets data sorting rule and data screening order meets data screening rule, by WCF interface, this request of data is sent to server;
Server, for going out paged data according to data sorting order and data screening command search, and returns described paged data by WCF interface to client.
A kind of machine-readable storage medium, stores the instruction for making machine perform the method as above described in any one.
A kind of computer program, makes described machine perform method as above described in any one when described computer program runs in machine.
In embodiments of the present invention, setting data screening rule; This request of data containing the request of data of data screening order, and when this data screening order meets data screening rule, is sent to server by WCF interface by receiving package; Server based on data screening order filters out paged data, and returns described paged data by WCF interface.As can be seen here, embodiment of the present invention utilizes WCF as middleware, and client can dynamic generated query expression formula, without the need to changing the database of server side in storing process, therefore expands the scope of application of embodiment of the present invention.
And embodiment of the present invention only needs parameter assignment such as BaseQuery, Context and BaseEntitySet, and not needing the data loading logic being concerned about other, realizing difficulty because this reducing, improve data loading speed.Further, embodiment of the present invention keeps the context instance of WCF RIA service, by the contextual intrinsic function of Automatically invoked, can automatically perform the operations such as increase, deletion, renewal.Not only in this, owing to first can detect local storage data in data request processing, therefore embodiment of the present invention can also support local built-in buffer memory.
Accompanying drawing explanation
Fig. 1 is according to the paged data stowage process flow diagram of embodiment of the present invention based on server paging.
Fig. 2 serves schematic diagram according to the WCF RIA of embodiment of the present invention.
Fig. 3 is according to the paged data loading attachment structural drawing of embodiment of the present invention based on server paging.
Fig. 4 is according to the sterogram of embodiment of the present invention based on the paged data load units of server paging.
Fig. 5 is according to the paged data Load System structural drawing of embodiment of the present invention based on server paging.
Fig. 6 is according to the paged data loading process flow diagram of embodiment of the present invention based on server paging.
Embodiment
In order to make technical scheme of the present invention and advantage clearly understand, below in conjunction with drawings and the embodiments, the present invention is further elaborated.Should be appreciated that embodiment described herein only in order to illustrative explanation the present invention, the protection domain be not intended to limit the present invention.
In embodiments of the present invention, the treatment scheme of client-side comprises: receiving package is containing the request of data of data screening order, and when this data screening order meets data screening rule, by WCF interface, this request of data is sent to server, then screens the paged data that goes out of command search by WCF interface by server based on data.
In embodiments of the present invention, this request of data containing the request of data of data screening order, and when this data screening order meets data screening rule, is sent to server by WCF interface by receiving package; Server based on data screening command search goes out paged data, and returns described paged data by WCF interface.
Wherein, data sorting order can also be carried in request of data, and just by WCF interface, this request of data is sent to server when this data sorting order meets data screening rule further; Server based on data screening order and data sorting command search go out paged data, and return described paged data by WCF interface.
Fig. 1 is according to the paged data stowage process flow diagram of embodiment of the present invention based on server paging.
As shown in Figure 1, the method comprises:
Step 101: setting data ordering rule and data screening rule.
Here, can in client setting data ordering rule and data screening rule.Data sorting rule limits for the form of the order that sorts the data; Data screening rule is used for limiting the form of data screening order.Here, the step of setting data ordering rule can be omitted, because paged data load units itself comprises DefaultSort as shown in Fig. 4 below, i.e. data Default Classmark attribute, therefore, when without special requirement, this Default Classmark attribute can be used as data screening rule.
Step 102: receiving package contains the request of data of data sorting order and data screening order, and when this data sorting order meets data sorting rule and data screening order meets data screening rule, by WCF interface, this request of data is sent to server.
Here, client can be installed WCF RIA and serve, be configured to WCF RIA client.This client receiving package contains the request of data of data sorting order and data screening order, and when this data sorting order meets data sorting rule and data screening order meets data screening rule, by WCF interface, this request of data is sent to the server being positioned at high in the clouds.
In one embodiment:
Client, after receiving the request of data comprising data sorting order and data screening order, inquires about the pre-service of front WCF form to this request of data, thus ensures to allow request of data meet every form agreement of WCF RIA.Client is before executing inquiry after the pre-service of WCF form, can judge whether this locality stores the paged data corresponding with this data sorting order and data screening order further, if had, then recall this corresponding paged data from this locality, if no, then by WCF interface this request of data is sent to server.
In one embodiment:
This querying command, to form querying command, and is sent to server by WCF interface context Context by WCF RIA client additional data sequentialize commands and data screening order in the basis of WCF interface inquiry BaseQuery.
Step 103: server based on data sequentialize commands and data screening command search go out paged data, and return described paged data by WCF interface.
After server receives the request of data of client transmission, data sorting order and data screening order is parsed among request of data, and filter out paged data according to data sorting order and data screening order, then return paged data by WCF interface to client.
In one embodiment: paged data is turned back to the basic entity set BaseEntitySet of client WCF interface by server by WCF interface.Preferably, client by WCF interface from after server paging data, judge whether this locality stores this paged data further, if had, then exit this flow process, if do not had, then store this paged data in this locality.
In one embodiment: client obtains paged data from the basic entity set BaseEntitySet of WCF interface, and performs at least one in following operation to paged data: increase data; Filtering data; Load the page; Refresh data; Mobile data; Store data; Grouped data, etc.
Fig. 2 serves schematic diagram according to the WCF RIA of embodiment of the present invention.
As shown in Figure 2, WCF RIA service simplifies the deployment for the n layer solution enriching Internet application program (RIA) (such as Silverlight application program).A FAQs of exploitation n layer RIA solution is exactly coordinate application logic between middle layer and presentation layer.In order to make best Consumer's Experience, needing RIA service client can know application logic resident on the server, but not wishing all develop on presentation layer and middle layer and safeguard this application logic.RIA service by provide make the application logic on server can be used for RIA service client but without the need to manually copy this programmed logic frame assembly, instrument and service, solve the problems referred to above.A RIA service client can be created in the client of this locality, this RIA service client know business rule and know each recompilate solution time up-to-date middle layer logic all will be used automatically to upgrade this RIA service client.In order to realize RIA service smoothly, need local side install Visual Studio2010, Silverlight Developer run time, SDK and Toolkit and the application software such as WCF RIA Services and kit thereof.
Embodiment of the present invention proposes a kind of paged data loading attachment based on server paging.This device can comprise data screening rule setting unit and data request processing unit, wherein: data screening rule setting unit, for setting data screening rule; Data request processing unit, for the request of data of receiving package containing data screening order, and when this data screening order meets data screening rule, by WCF interface, this request of data is sent to server, and screens the paged data that goes out of command search by WCF interface by server based on data.
Preferably, data sorting order can also be carried in this request of data, and just by WCF interface, this request of data is sent to server when this data sorting order meets data screening rule further; Server goes out paged data according to data screening order and data sorting command search again, and returns described paged data by WCF interface.Now, particularly, this device may further include data sorting rule setting unit, for setting data ordering rule.Now, data request processing unit, the request of data of data sorting order and data screening order is contained for packet receiving, and when this data sorting order meets data sorting rule and data screening order meets data screening rule, by WCF interface, this request of data is sent to server, and by paged data that WCF interface is gone out by server based on data sequentialize commands and data screening command search.
Based on above-mentioned labor, embodiment of the present invention also proposed a kind of paged data loading attachment based on server paging.
Fig. 3 is according to the paged data loading attachment structural drawing of embodiment of the present invention based on server paging.
As shown in Figure 3, this device comprises data sorting rule setting unit 301, data screening rule setting unit 302, data request processing unit 303, wherein:
Data sorting rule setting unit 301, for setting data ordering rule;
Data screening rule setting unit 302, for setting data screening rule;
Data request processing unit 303, the request of data of data sorting order and data screening order is contained for receiving package, and when this data sorting order meets data sorting rule and data screening order meets data screening rule, by WCF interface, this request of data is sent to server, and by paged data that WCF interface is gone out by server based on data sequentialize commands and data screening command search.
Fig. 4 is according to the sterogram of embodiment of the present invention based on the paged data load units of server paging.
As shown in Figure 4, the entity of data sorting rule setting unit comprises attribute (Properties) group and method (Methods) group.Because which kind of form no matter data representation be specially, can be represented by the data structure of similar form, therefore data sorting rule setting unit and data screening rule setting unit can use the abstract data table be associated to represent to sort the data the restriction of rule.
The set of properties of data sorting rule setting unit specifically can comprise:
AssociateGrid: represent the abstract form for showing BaseEntitySet in data requesting processing;
CurrentSelectedItem: current selected item in abstract form;
DataGridCollapseAction: represent when can the abstract form of layering at foldable layer aggregated(particle) structure time manner of execution;
DataGridFiltering: need the method called when abstract form prepares to screen, call this method and screening parameter (is comprised symbol, is namely greater than and is less than or equal to; Data, the data after namely comparing symbol) substitute in data request processing unit;
The method group of data sorting rule setting unit specifically can comprise:
DataGridFiltered: need the method called when abstract form has screened;
DataGridRowExpanding: when can the abstract form of layering at developer layer aggregated(particle) structure time need the method called;
DataGridSorting: when the abstract form method (parameter is SortDescriptor array) that needs call when performing ordering action
Refresh: when the abstract form method that needs call when performing refresh activity;
RefreshByForce: the method that needs when forcing to refresh to call when abstract form (being meant to of forcing to refresh abandons the amendment to local data, uses service end Refresh Data local data completely).
Similarly, data screening rule setting unit entity also comprises attribute (Properties) group and method (Methods) group.
The set of properties of data screening rule setting unit comprises:
Direction: Sort Direction, comprises ascending order and descending;
Property: the attribute-name of sequence, such as Name, Age etc.
Similarly, data request processing element entity also comprises attribute (Properties) group and method (Methods) group.
The set of properties of data request processing unit comprises:
BaseEntitySet: the entity set provided by solid framework (Entity Framework), can be kept by context (context), and internal entity is mapped to the true form of server side;
BaseQuery: the basic query item that inquiry (Query) operates.BaseQuery should not have sequence expression formula or date expression.
Context: the client instance (instance) of serving for WCF RIA.It keeps and all data capsules of server communication and method.
DefaultSort: represent default retrieval direction.
KeyProperty: the main key (key) of the table that most probable is queried;
PageSize: the page data size measured by row counting.
The method group of data screening rule setting unit comprises: increase data (Add), filtering data (Filtered), the loading page (LoadPage), refresh data (Refresh), Mobile data (Remove), store data (Save) and grouped data (Sorted) etc.
Although list the entity structure of data sorting rule setting unit, data screening rule setting unit and data request processing unit above in detail; those skilled in the art can recognize; this enumerating is only exemplary, and is not used in and limits the protection domain of embodiment of the present invention.
In one embodiment:
Data request processing unit 303, for additional described data sorting order and data screening order in the basis of WCF interface inquiry BaseQuery to form querying command, and is sent to server by WCF interface context Context by this querying command.
In one embodiment:
Data request processing unit 303, for turning back to the basic entity set BaseEntitySet of WCF interface by paged data by WCF interface.
In one embodiment:
Data request processing unit 303, be further used for obtaining paged data from the basic entity set BaseEntitySet of WCF interface, and at least one in following operation is performed to paged data: increase data, filtering data, the loading page, refresh data, Mobile data, storage data, grouped data.
In one embodiment:
Data request processing unit 303, is further used for after receiving the request of data comprising data sorting order and data screening order, inquires about the pre-service of front WCF RIA form to this request of data.
In one embodiment:
Data request processing unit 303, to be further used for before inquiry after the pre-service of WCF RIA form, judge whether this locality stores the paged data corresponding with this data sorting order and data screening order, if had, then recall this corresponding paged data from this locality, if no, then this request of data is sent to server by WCF interface.
In one embodiment:
Data request processing unit 303, further after receiving described paged data by WCF interface from server, judges whether this locality stores paged data further, if had, then exits this flow process, if do not had, then store described paged data in this locality.
Based on above-mentioned labor, embodiment of the present invention also proposed a kind of paged data Load System based on server paging, and this system comprises client and server.Client is provided with data screening rule, for the request of data of receiving package containing data screening order, and when this data screening order meets data screening rule, by WCF interface, this request of data is sent to server; Server, for going out paged data according to data screening command search, and returns described paged data by WCF interface to client.
Similarly, data sorting order can also be carried in this request of data, and just by WCF interface, this request of data is sent to server when this data sorting order meets data screening rule further; Server goes out paged data according to data screening order and data sorting command search again, and returns described paged data by WCF interface.
Fig. 5 is according to the paged data Load System structural drawing of embodiment of the present invention based on server paging.
As shown in Figure 5, this system comprises client 501 and server 502, wherein:
Client 501, be provided with data sorting rule and data screening rule, the request of data of data sorting order and data screening order is contained for receiving package, and when this data sorting order meets data sorting rule and data screening order meets data screening rule, by WCF interface, this request of data is sent to server;
Server 502, for going out paged data according to data sorting order and data screening command search, and returns described paged data by WCF interface to client.
In one embodiment:
Client 501, for additional described data sorting order and data screening order in the basis of WCF interface inquiry BaseQuery to form querying command, and is sent to server 502 by WCF RIA context Context by this querying command.
In one embodiment:
Server 502, for turning back to the basic entity set BaseEntitySet of WCF interface by paged data by WCF interface.
In one embodiment:
Client 501, for obtaining paged data from the basic entity set BaseEntitySet of WCF interface, and at least one in following operation is performed to paged data: increase data, filtering data, the loading page, refresh data, Mobile data, storage data, grouped data.
Fig. 6 is according to the paged data loading process flow diagram of embodiment of the present invention based on server paging.
As shown in Figure 6, the method comprises:
Step 601: client receiving package contains the request of data of data sorting order and data screening order.
Step 602: client judges that this data sorting order meets data sorting rule and after data screening order meets data screening rule, inquires about the pre-service of front WCF form to request of data.After the pre-service of WCF form, judge whether preserve the paged data corresponding with data sorting order and data screening order in client this locality, if do not had, then perform step 603 and subsequent step thereof, if had, then perform step 605 and subsequent step thereof.
Step 603: generate data sorting expression formula based on data sorting order, generates data screening expression formula based on data screening order.
Step 604: utilize WCF interface, obtains the paged data be consistent with data sorting expression formula and data screening expression formula from server.
Step 605: post-query processing is performed to paged data.
In fact, can specifically implement by various ways the paged data stowage based on server paging that embodiment of the present invention proposes.
Such as, the application programming interfaces of certain specification can be followed, the paged data stowage based on server paging is written as the plug-in card program be installed in various computing equipment, also can be encapsulated as application program and download use voluntarily for user.When being written as plug-in card program, the multiple card format such as ocx, dll, cab can be implemented as.Also can implement by the concrete technology such as Flash plug-in unit, RealPlayer plug-in unit, MMS plug-in unit, MIDI staff plug-in unit, ActiveX plug-in unit the paged data stowage based on server paging that embodiment of the present invention proposes.
The storing mode that can be stored by instruction or instruction set by embodiment of the present invention the paged data stowage proposed based on server paging be stored on various storage medium.These storage mediums include, but are not limited to: floppy disk, CD, DVD, hard disk, flash memory, USB flash disk, CF card, SD card, mmc card, SM card, memory stick (Memory Stick), xD card etc.
In addition, can also by embodiment of the present invention propose to be applied in the storage medium based on flash memory (Nand flash) based on the paged data stowage of server paging, such as USB flash disk, CF card, SD card, SDHC card, mmc card, SM card, memory stick, xD card etc.
In sum, in embodiments of the present invention, setting data screening rule; This request of data containing the request of data of data screening order, and when this data screening order meets data screening rule, is sent to server by WCF interface by receiving package; Server based on data screening order filters out paged data, and returns described paged data by WCF interface.As can be seen here, embodiment of the present invention utilizes WCF RIA as middleware, and client can dynamic generated query expression formula, without the need to changing the database of server side in storing process, therefore expands the scope of application of embodiment of the present invention.
And embodiment of the present invention only needs parameter assignment such as BaseQuery, Context and BaseEntitySet, and not needing the data loading logic being concerned about other, realizing difficulty because this reducing, and improve data loading speed.Further, embodiment of the present invention keeps the context instance of WCF RIA service, by the contextual intrinsic function of Automatically invoked, can automatically perform the operations such as increase, deletion, renewal.Not only in this, owing to first can detect local storage data in data request processing, therefore embodiment of the present invention can also support local built-in buffer memory.
The foregoing is only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (17)

1., based on a paged data stowage for server paging, it is characterized in that, comprising:
This request of data containing the request of data of data screening order, and when this data screening order meets data screening rule, is sent to server by WCF interface by receiving package;
By the paged data that WCF interface is gone out by server based on data screening command search.
2. the paged data stowage based on server paging according to claim 1, it is characterized in that, this request of data comprises data sorting order further;
Described when data screening order meets data screening rule, being sent to server by the request of WCF interface data is:
When this data sorting order meets data sorting rule and data screening order meets data screening rule, by WCF interface, this request of data is sent to server.
3. the paged data stowage based on server paging according to claim 2, is characterized in that,
Describedly by WCF interface, this request of data is sent to server and comprises:
In the basis of WCF interface inquiry BaseQuery, additional described data sorting order and data screening order are to form querying command, and by WCF interface context Context, this querying command are sent to server.
4. the paged data stowage based on server paging according to claim 1, it is characterized in that, the described paged data gone out by server based on data screening command search by WCF interface is comprised: the basic entity set BaseEntitySet by WCF interface, the paged data gone out by server based on data screening command search being turned back to WCF interface.
5. the paged data stowage based on server paging according to claim 4, it is characterized in that, the method comprises further: from the basic entity set BaseEntitySet of WCF interface, obtain paged data, and perform at least one in following operation to paged data: increase data, filtering data, the loading page, refresh data, Mobile data, storage data and grouped data.
6. the paged data stowage based on server paging according to claim 2, it is characterized in that, the method comprises further: after receiving the request of data comprising data sorting order and data screening order, the WCF form pre-service before inquiring about this request of data.
7. the paged data stowage based on server paging according to claim 6, it is characterized in that, the method comprises further:
Before described inquiry after the pre-service of WCF form, judge whether this locality stores the paged data corresponding with this data sorting order and data screening order, if had, then recall this corresponding paged data from this locality, if no, then this request of data is sent to server by WCF interface.
8. the paged data stowage based on server paging according to claim 1, it is characterized in that, the method comprises further:
After the paged data gone out by server based on data screening command search by WCF interface, judge whether this locality stores this paged data further, if had, then exit this flow process, if do not had, then store described paged data in this locality.
9. based on a paged data loading attachment for server paging, it is characterized in that, this device comprises data screening rule setting unit and data request processing unit, wherein:
Data screening rule setting unit, for setting data screening rule;
Data request processing unit, for the request of data of receiving package containing data screening order, and when this data screening order meets data screening rule, by WCF interface, this request of data is sent to server, and screens the paged data that goes out of command search by WCF interface by server based on data.
10. the paged data loading attachment based on server paging according to claim 9, is characterized in that, comprises data sorting rule setting unit further;
Data sorting rule setting unit, for setting data ordering rule;
Data request processing unit, the request of data of data sorting order and data screening order is contained for packet receiving, and when this data sorting order meets data sorting rule and data screening order meets data screening rule, by WCF interface, this request of data is sent to server, and by paged data that WCF interface is gone out by server based on data sequentialize commands and data screening command search.
The 11. paged data loading attachments based on server paging according to claim 10, is characterized in that,
Data request processing unit, for additional described data sorting order and data screening order in the basis of WCF interface inquiry BaseQuery to form querying command, and is sent to server by WCF interface context Context by this querying command.
The 12. paged data loading attachments based on server paging according to claim 10, is characterized in that,
Data request processing unit, for turning back to the basic entity set BaseEntitySet of WCF interface by paged data by WCF interface.
The 13. paged data loading attachments based on server paging according to claim 10, is characterized in that,
Data request processing unit, is further used for after receiving the request of data comprising data sorting order and data screening order, the WCF form pre-service before inquiring about this request of data.
The 14. paged data loading attachments based on server paging according to claim 13, is characterized in that,
Data request processing unit, to be further used for before inquiry after the pre-service of WCF form, judge whether this locality stores the paged data corresponding with this data sorting order and data screening order, if had, then recall this corresponding paged data from this locality, if no, then this request of data is sent to server by WCF interface.
The 15. paged data loading attachments based on server paging according to claim 9, is characterized in that,
Data request processing unit, further after receiving described paged data by WCF interface from server, judges whether this locality stores paged data further, if had, then exits this flow process, if do not had, then store described paged data in this locality.
16. 1 kinds, based on the paged data Load System of server paging, is characterized in that, comprise client and server, wherein:
Client, is provided with data screening rule, for the request of data of receiving package containing data screening order, and when this data screening order meets data screening rule, by WCF interface, this request of data is sent to server;
Server, for going out paged data according to data screening command search, and returns described paged data by WCF interface to client.
The 17. paged data Load Systems based on server paging according to claim 16, is characterized in that,
Client, be provided with data sorting rule further, and receiving package contains the request of data of data sorting order and data screening order, and when this data sorting order meets data sorting rule and data screening order meets data screening rule, by WCF interface, this request of data is sent to server;
Server, for filtering out paged data according to data sorting order and data screening order, and returns described paged data by WCF interface to client.
CN201310215082.7A 2013-05-31 2013-05-31 A kind of paged data stowage, device and system based on server paging Active CN104216902B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310215082.7A CN104216902B (en) 2013-05-31 2013-05-31 A kind of paged data stowage, device and system based on server paging

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310215082.7A CN104216902B (en) 2013-05-31 2013-05-31 A kind of paged data stowage, device and system based on server paging

Publications (2)

Publication Number Publication Date
CN104216902A true CN104216902A (en) 2014-12-17
CN104216902B CN104216902B (en) 2018-10-02

Family

ID=52098405

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310215082.7A Active CN104216902B (en) 2013-05-31 2013-05-31 A kind of paged data stowage, device and system based on server paging

Country Status (1)

Country Link
CN (1) CN104216902B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107679077A (en) * 2017-08-28 2018-02-09 平安科技(深圳)有限公司 Implementation method, device, computer equipment and the storage medium of paging
CN108632300A (en) * 2017-03-15 2018-10-09 阿里巴巴集团控股有限公司 Data synchronous system, method, server, client and electronic equipment
CN108647347A (en) * 2018-05-14 2018-10-12 中国平安财产保险股份有限公司 Pagination Display method, user equipment, storage medium and device
CN110134831A (en) * 2019-04-03 2019-08-16 广州朗国电子科技有限公司 A kind of tree structures node retrieval display method and device based on cloud server
CN110134888A (en) * 2019-04-03 2019-08-16 广州朗国电子科技有限公司 Tree structures node search method, device, storage medium and server
CN110134893A (en) * 2019-04-03 2019-08-16 广州朗国电子科技有限公司 A kind of multimachine structure retrieval display method and device based on cloud information issuing system
CN110555034A (en) * 2018-03-28 2019-12-10 武汉斗鱼网络科技有限公司 Data query paging method, device, server and medium
CN111581562A (en) * 2020-04-30 2020-08-25 北京字节跳动网络技术有限公司 Resource refreshing display method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102209076A (en) * 2011-06-03 2011-10-05 用友软件股份有限公司 Method and system for interaction between server and client
CN102411585A (en) * 2010-09-21 2012-04-11 厦门市美亚柏科信息股份有限公司 Webpage paging data pre-loading method and system
CN102609445A (en) * 2010-12-10 2012-07-25 微软公司 Matching queries to data operations using query templates
CN102932453A (en) * 2012-10-31 2013-02-13 江苏博智软件科技有限公司 Method for achieving data center security system based on cloud computation

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102411585A (en) * 2010-09-21 2012-04-11 厦门市美亚柏科信息股份有限公司 Webpage paging data pre-loading method and system
CN102609445A (en) * 2010-12-10 2012-07-25 微软公司 Matching queries to data operations using query templates
CN102209076A (en) * 2011-06-03 2011-10-05 用友软件股份有限公司 Method and system for interaction between server and client
CN102932453A (en) * 2012-10-31 2013-02-13 江苏博智软件科技有限公司 Method for achieving data center security system based on cloud computation

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
谭淇: "基于WCF服务框架与Silverlight的Web应用研究", 《计算机与现代化》 *
顾悦等: "基于WCF的远程数据访问技术研究", 《电脑知识与技术》 *

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108632300A (en) * 2017-03-15 2018-10-09 阿里巴巴集团控股有限公司 Data synchronous system, method, server, client and electronic equipment
CN107679077A (en) * 2017-08-28 2018-02-09 平安科技(深圳)有限公司 Implementation method, device, computer equipment and the storage medium of paging
CN107679077B (en) * 2017-08-28 2020-03-24 平安科技(深圳)有限公司 Paging implementation method and device, computer equipment and storage medium
CN110555034A (en) * 2018-03-28 2019-12-10 武汉斗鱼网络科技有限公司 Data query paging method, device, server and medium
CN110555034B (en) * 2018-03-28 2021-11-09 武汉斗鱼网络科技有限公司 Data query paging method, device, server and medium
CN108647347A (en) * 2018-05-14 2018-10-12 中国平安财产保险股份有限公司 Pagination Display method, user equipment, storage medium and device
CN110134831A (en) * 2019-04-03 2019-08-16 广州朗国电子科技有限公司 A kind of tree structures node retrieval display method and device based on cloud server
CN110134893A (en) * 2019-04-03 2019-08-16 广州朗国电子科技有限公司 A kind of multimachine structure retrieval display method and device based on cloud information issuing system
CN110134831B (en) * 2019-04-03 2021-08-10 广州朗国电子科技有限公司 Tree structure node retrieval display method and device based on cloud server
CN110134888A (en) * 2019-04-03 2019-08-16 广州朗国电子科技有限公司 Tree structures node search method, device, storage medium and server
CN110134888B (en) * 2019-04-03 2022-05-31 广州朗国电子科技股份有限公司 Tree structure node retrieval method, device, storage medium and server
CN110134893B (en) * 2019-04-03 2022-05-31 广州朗国电子科技股份有限公司 Multi-mechanism retrieval display method and device based on cloud information publishing system
CN111581562A (en) * 2020-04-30 2020-08-25 北京字节跳动网络技术有限公司 Resource refreshing display method, device, equipment and storage medium
CN111581562B (en) * 2020-04-30 2023-04-11 北京字节跳动网络技术有限公司 Resource refreshing display method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN104216902B (en) 2018-10-02

Similar Documents

Publication Publication Date Title
CN104216902A (en) Paging data loading method, device and system based on server paging
CA2604448C (en) Method and system for centralized memory management in wireless terminal devices
KR101522014B1 (en) The method, device and recording medium for managing application icon
CN103049515A (en) Method, device and equipment for classifying application programs
US20050050175A1 (en) Generic method for defining resource configuration profiles in provisioning systems
CN101840418A (en) User word library synchronous update method, update server and input method system
CN103051652B (en) A kind of mobile terminal cloud computing distribution platform
EP1872230B1 (en) Centralized memory management in wireless terminal devices
CN108279882B (en) Framework generation method, device, equipment and computer readable medium
CN102902531A (en) Customization and generation method and device of Android application program
CN112114849B (en) Resource updating method and device
CN110914814B (en) Cognitive file and object management for distributed storage environments
EP2972818B1 (en) Application registration and interaction
CN109636306A (en) Node-flow shifting method, device, terminal and storage medium
CN111737609B (en) WEB system menu bar display method, terminal and storage medium
CN103593408A (en) Method and device for acquiring user subscription resources
CN102314351A (en) Installation program generating device and installation program generating method
JP5315128B2 (en) Process request destination management apparatus, process request destination management program, and process request destination management method
CN107977410B (en) Bookshelf management method based on electronic book application and electronic equipment
CN105763616A (en) Resource-downloading method and device
US10439897B1 (en) Method and apparatus for enabling customized control to applications and users using smart tags
CN108334374A (en) The method and apparatus of component dynamic load and execution
CN106528196B (en) The APP loading method of smart machine and the smart machine, system of application this method
CN109388459A (en) Picture loading method, device, computer equipment and storage medium
CN102801749B (en) A kind of dispositions method of J2ME application program and device

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