CN109241447A - A kind of method, terminal and the server of inquiring document data - Google Patents
A kind of method, terminal and the server of inquiring document data Download PDFInfo
- Publication number
- CN109241447A CN109241447A CN201811269762.6A CN201811269762A CN109241447A CN 109241447 A CN109241447 A CN 109241447A CN 201811269762 A CN201811269762 A CN 201811269762A CN 109241447 A CN109241447 A CN 109241447A
- Authority
- CN
- China
- Prior art keywords
- sequence number
- terminal
- server
- target
- interim table
- 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
Landscapes
- Information Transfer Between Computers (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The embodiment of the present application discloses a kind of method of inquiring document data, this method comprises: server sends interim table to terminal, it include sequence number in the interim table, sequence number includes preset homepage sequence number, and each sequence number is for identifying a bills data;Terminal obtains target page number after receiving the interim table;Terminal determines target sequence number according to target page number and preset homepage sequence number;Terminal to server sends target sequence number;Server obtains target bills data according to target sequence number in interim table;The terminal display target bills data.Present invention also provides corresponding server and terminals.When technical scheme makes data volume in the database larger, query performance is promoted, the problem of occupied memory when effectively reducing inquiry data, settlement server delay machine.
Description
Technical field
This application involves data processing fields, and in particular to this kind of method, terminal and service of inquiring document data
Device.
Background technique
It is well known that report is exactly with formats such as table, charts come Dynamically Announce data, such as balance sheet, profit
The important report such as table.During the financial management of enterprise, it has offer accounting information, discloses to comprehensive system enterprise one
The effects of financial situation of timing phase, result of management.Usual report includes a variety of data, is quickly and conveniently looked into order to user
See all data, using the technical method of paging, data that user saw at this time be not all of, but a part of number therein
According to if not finding oneself desired content wherein, user can be converted by way of formulating the page number or page turning
Courseware content, until finding the content oneself wanted.
It in the prior art, is usually server from database for inquiry mode used by the bills data in report
In inquire n pages of data acquisition system, then traverse this n pages data acquisition system again, therefrom inquire the data of nth page.
Therefore, it when the customer data amount in database is larger, is easy using existing inquiring technology in inquiry data
Cause memory consumption big in the process, query performance is decreased obviously, the problem of leading to server delay machine appearance.
Summary of the invention
The embodiment of the present application provides method, terminal and the server of a kind of inquiring document data, so that in database
In customer data amount it is larger when, promote query performance, occupied memory when effectively reducing inquiry data, settlement server
The problem of delay machine.
In view of this, the embodiment of the present application provides following scheme:
The application first aspect provides a kind of method of inquiring document data, and this method may include: server to terminal
Interim table is sent, includes sequence number in the interim table, sequence number includes preset homepage sequence number, and each sequence number is for identifying one
A bills data;The target sequence number that server receiving terminal is sent, the target sequence number be terminal according to target page number with
The sequence number that preset homepage page number determines;Server obtains target bills data according to target sequence number in interim table;Clothes
Business device sends target bills data to terminal.
Optionally, with reference to the above first aspect, in the first possible implementation, server receiving terminal is sent
Target sequence number, may include: the inquiry request that server receiving terminal is sent, which carries target sequence number.
Optionally, with reference to the above first aspect, first aspect the first possible implementation, in second of possible reality
It can also include: that server obtains from database and meets filtering before server sends interim table to terminal in existing mode
The bills data of condition;The bills data is inserted into interim table by server.
The application second aspect provides a kind of querying method of bills data, and this method may include: that terminal receives service
The interim table that device is sent includes sequence number in the interim table, and sequence number includes preset homepage sequence number, and each sequence number is for marking
Know a bills data;Terminal obtains target page number after receiving the interim table;Terminal according to target page number with it is preset
Homepage sequence number determines target sequence number;Terminal to server sends target sequence number, and target sequence number is facing for server
When table in obtain target bills data;The target bills data that terminal display server is sent.
Optionally, in conjunction with above-mentioned second aspect, in the second possible implementation, terminal to server sends target
Sequence number may include: that terminal to server sends inquiry request, which carries target sequence number.
The application third aspect provides a kind of server, which may include: the first transmission unit, is used for terminal
Interim table is sent, includes sequence number in interim table, sequence number includes preset homepage sequence number, and each sequence number is for identifying one
Bills data;First receiving unit, for the target sequence number that terminal is sent, which is terminal according to the target page number
The sequence number that preset homepage page number in several interim tables sent with the first transmission unit determines;Acquiring unit, for facing
When table in target bills data obtained according to the received target sequence number of the first receiving unit;Second transmission unit was used for end
End sends the target bills data that acquiring unit obtains.
The application fourth aspect provides a kind of terminal, which may include: the second receiving unit, for receiving server
The interim table sent includes sequence number in interim table, and sequence number includes preset homepage sequence number, and each sequence number is for identifying one
A bills data;Acquiring unit, for obtaining target page number after the second receiving unit receives interim table;Determination unit,
The preset homepage sequence number that target page number and receiving unit for being obtained according to acquiring unit receive determines target sequence
Number;Third transmission unit, for sending the target sequence number that determination unit is determined to server, target sequence number is for servicing
Device obtains target bills data in interim table;Display unit, the mesh sent for showing server according to third transmission unit
The target bills data that mark sequence number is obtained and sent.
The server that the 5th aspect of the application provides, may include: processor and memory;The memory is for storing journey
Sequence instruction, when server operation, which executes the program instruction of memory storage, so that the server executes
Such as the method for the inquiring document data of any one possible implementation of above-mentioned first aspect or first aspect.
The terminal that the 6th aspect of the application provides, may include: processor and memory;The memory is for storing program
Instruction, when the terminal operating, which executes the program instruction of memory storage, so that the terminal is executed as above-mentioned
The method of the inquiring document data of any one possible implementation of second aspect, second aspect.
The 7th aspect of the application provides a kind of computer readable storage medium, is stored in the computer readable storage medium
Instruction, when run on a computer, allowing computer to execute above-mentioned first aspect, first aspect, any one may
The method of the inquiring document data of any one possible implementation of implementation, second aspect or second aspect.
As can be seen from the above technical solutions, the embodiment of the present application has the advantage that
After determining target sequence number according to the preset homepage sequence number in target page number and interim table due to terminal, to
Server sends the target sequence number, server is directly got according to target sequence number from interim table corresponding
Target bills data, when so that customer data amount in the database is larger, server is not necessarily to traverse every page of bills data, thus
Query performance is improved, occupied memory, settlement server delay machine problem when inquiry data are efficiently reduced.
Detailed description of the invention
Fig. 1 is one embodiment schematic diagram of the method for inquiring document data provided by the embodiments of the present application;
Fig. 2 is another embodiment schematic diagram of the method for inquiring document data provided by the embodiments of the present application;
Fig. 3 is one embodiment schematic diagram of server provided by the embodiments of the present application;
Fig. 4 is one embodiment schematic diagram of terminal provided by the embodiments of the present application;
Fig. 5 is one schematic diagram of hardware configuration of the communication device in the embodiment of the present application.
Specific embodiment
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application
Attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is only
The embodiment of the application a part, instead of all the embodiments.
The embodiment of the present application provides method, terminal and the server of a kind of inquiring document data, so that in database
In customer data amount it is larger when, promote query performance, occupied memory when effectively reducing inquiry data, settlement server
The problem of delay machine.
The description and claims of this application and term " first ", " second ", " third " " in above-mentioned attached drawing
The (if present)s such as four " are to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should manage
The data that solution uses in this way are interchangeable under appropriate circumstances, so that the embodiments described herein can be in addition to illustrating herein
Or the sequence other than the content of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that
Cover it is non-exclusive include, for example, containing the process, method, system, product or equipment of a series of steps or units need not limit
In step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, produce
The other step or units of product or equipment inherently.Those of ordinary skill in the art are it is found that with the differentiation of figure Computational frame and new
The appearance of application scenarios, technical solution provided in an embodiment of the present invention are equally applicable for similar technical problem.
Fig. 1 is one embodiment schematic diagram of the method for inquiring document data provided by the embodiments of the present application.
As shown in Figure 1, one embodiment of the method for inquiring document data provided by the embodiments of the present application includes:
101, server sends interim table to terminal.
Include sequence number in interim table in the present embodiment, and has been provided with the sequence of first page in sequence number in advance
Row number, each sequence number are used to uniquely identify a bills data, so that forming one between sequence number and bills data
One-to-one corresponding relationship.
It should be noted that mentioned sequence number is the process of a self-propagation, it can be according to a specified increment
Increased since 1.
102, terminal obtains target page number after receiving the interim table.
In the present embodiment, it is usually the bills data place inquired required for user chooses that terminal, which obtains target page number,
Page number.
103, terminal determines target sequence number according to target page number and preset homepage sequence number.
In the present embodiment, since homepage sequence number has been preset and can be used to indicate that the corresponding document of homepage page number
Data, and the item number of the bills data corresponded in each page number be it is impartial, target sequence number corresponds to accordingly
Target bills data, therefore terminal needs after getting target page number, and target page number and homepage sequence number are done one
A reckoning, so that terminal can determine target sequence number corresponding to target page number.
104, terminal to server sends target sequence number.
In the present embodiment, target sequence number corresponds to corresponding target bills data, therefore terminal sends out target sequence number
Server is given, so that server is available to arrive corresponding target bills data.
105, server obtains target bills data according to target sequence number in interim table.
In the present embodiment, since the bills data in interim table has been to have chosen qualified document from database
Data, therefore only need server in interim table, target bills data is obtained out according to the target sequence number received, thus
Inquire the bills data that terminal requires to look up.
106, server sends target bills data to terminal.
In the present embodiment, terminal can receive the target document number that server is got according to those target sequences number
According to.
107, the target bills data that terminal display server is sent.
In the present embodiment, after target bills data is sent to terminal by server, then terminal receives these targets
Bills data, so that it may show these target bills datas, to allow client that can inquire these bills datas.
After determining target sequence number according to the preset homepage sequence number in target page number and interim table due to terminal, to
Server sends the target sequence number, server is directly got according to target sequence number from interim table corresponding
Target bills data, therefore when customer data amount in the database is larger, server without traversing every page of bills data, thus
Query performance is improved, occupied memory, settlement server delay machine problem when inquiry data are efficiently reduced.
Fig. 2 is another embodiment schematic diagram of the method for inquiring document data provided by the embodiments of the present application.
As shown in Fig. 2, another embodiment of the method for inquiring document data provided by the embodiments of the present application includes:
201, server obtains the bills data for meeting filter condition from database.
In the present embodiment, the data volume in usual database is larger, it is therefore desirable to obtain out from database and meet filtering
The bills data of condition, it includes the bills data for needing to inquire that is got at this time, which meets the bills data of filter condition,.
It is compiled it should be noted that mentioned filter condition can be organizational information, date, stock number either warehouse
Number etc. conditions, in practical applications, there are many more similar filter condition, specifically herein without limitation.
202, bills data is inserted into interim table by server.
In the present embodiment, after acquisition meets the bills data of filter condition in database, these can be met
The bills data of filter condition is inserted into interim table, is configured with sequence number in interim table at this time, and what which indicated is to provide
A kind of serial number simplifies the process of inquiry, can be increased since 1 according to a specified increment.
Such as: the propagation process of sequence number can be with 1 as first term, the arithmetic progression that tolerance is 1.In practical applications,
The propagation process of sequence number is indicated there are many more similar arithmetic progression, specifically herein without limitation.
Assuming that the item number for the bills data being inserted into interim table is 1000, then sequence number is exactly since 1 at this time
From increasing to 1000, such as: 1,2,3 ... 999,1000;In practical applications, it is also possible to occur more being similar to above-mentioned number
Value, specifically herein without limitation.
203, server sends interim table to terminal.
Include sequence number in interim table in the present embodiment, and has been provided with the sequence of homepage in sequence number in advance
Number, each sequence number is used to uniquely identify a bills data, so that forming one one between sequence number and bills data
To one corresponding relationship.
Such as: from step 2 it is found that sequence number is 1,2,3 ... 999,1000,1-100 is preset at this time as homepage
The sequence number of page number.In practical applications, it is also possible to occur more being similar to above-mentioned numerical value, not limit herein specifically
It is fixed.
204, terminal obtains target page number after receiving the interim table.
In the present embodiment, it is usually the bills data place inquired required for user chooses that terminal, which obtains target page number,
Page number.
Such as: user wants to obtain the target bills data of page 5, then page number 5 is just inputted at the terminal, so that eventually
It holds available to target page number 5.In practical applications, it is also possible to occur more being similar to above-mentioned numerical value, it is specific this
Place is without limitation.
205, terminal determines target sequence number according to target page number and preset homepage sequence number.
In the present embodiment, since homepage sequence number has been preset and can be used to indicate that the corresponding document of homepage page number
Data, and the item number of the bills data corresponded in each page number be it is impartial, target sequence number corresponds to accordingly
Target bills data, therefore terminal needs after getting target page number, and target page number and homepage sequence number are done one
A reckoning, so that terminal can determine target sequence number corresponding to target page number.
Such as: it can know that homepage Serial No. 1-100, target page number are 5 respectively from step 203 and step 204, and
The item number of the bills data corresponded in each page number is impartial, that is to say, that article number of the bills data in page 5
Item number with the bills data of homepage is 100, then can thus extrapolate the target sequence of page 5 with terminal
Number good 401-500.And so on, if the target page number obtained is 2, then the target sequence number of page 2 is just wanted for 101-200
The target page number for being acquisition is 3, then the target sequence number of page 3 is just 201-300 etc..In practical applications, also may be used
Can occur more being similar to above-mentioned numerical value, specifically herein without limitation.
206, terminal to server sends inquiry request.
In the present embodiment, inquiry request carries target sequence number, which corresponds to corresponding target document
Data, therefore terminal can allow server to carry according in inquiry request by the way that inquiry request is sent to server
Target sequence number get corresponding target bills data.
Such as: carry the target sequence 401-500 determined in step 205 in the inquiry request of transmission.In reality
In, there are many more such inquiry request, such as inquiry instruction etc. is similar to, as long as carry mesh in these query informations
Sequence number is marked, specifically without limitation.
207, server obtains target bills data according to target sequence number in interim table.
In the present embodiment, since the bills data in interim table has been to have chosen qualified document from database
Data, therefore only need server in interim table, target bills data is obtained out according to the target sequence number received, thus
Inquire the bills data that terminal requires to look up.
Such as: the 401st to the 500th article of document can be obtained according to the target sequence 401-500 that step 206 receives
Data, this 401st to the 500th article bills data is only the bills data that terminal requires to look up at this time.
208, server sends target bills data to terminal.
In the present embodiment, terminal can receive the target document number that server is got according to those target sequences number
According to.
Such as: the bills data of the 401st to the 500th article of transmission to terminal.
209, the target bills data that terminal display server is sent.
In the present embodiment, after target bills data is sent to terminal by server, then terminal receives these targets
Bills data, so that it may show these target bills datas, to allow client that can inquire these bills datas.
Such as: the 401st to the 500th article of bills data in terminal display step 208 looks into client clearly
Ask out these specific bills datas.
After determining target sequence number according to the preset homepage sequence number in target page number and interim table due to terminal, to
Server sends the target sequence number, and server is allowed to get corresponding target from interim table according to target sequence number
Bills data, therefore when customer data amount in the database is larger, server is without traversing every page of bills data, to be promoted
Query performance efficiently reduces occupied memory, settlement server delay machine problem when inquiry data.
It is above-mentioned that mainly scheme provided by the embodiments of the present application is described from interactive angle.It can be understood that being
Realization above-mentioned function contains and executes the corresponding hardware configuration of each function and/or software module.Those skilled in the art answer
This is readily appreciated that, module described in conjunction with the examples disclosed in the embodiments of the present disclosure and algorithm steps, the application energy
The combining form with hardware or hardware and computer software is reached to realize.Some function is driven actually with hardware or computer software
The mode of dynamic hardware executes, the specific application and design constraint depending on technical solution.Professional technician can be right
Each specific application is to use different methods to achieve the described function, but this realization is it is not considered that exceed the application
Range.
The embodiment of the present application can carry out the division of functional module according to above method example to device, for example, can be right
The each functional module of each function division is answered, two or more functions can also be integrated in a processing module.
Above-mentioned integrated module both can take the form of hardware realization, can also be realized in the form of software function module.It needs
Illustrate, is schematical, only a kind of logical function partition to the division of module in the embodiment of the present application, it is practical to realize
When there may be another division manner.
Fig. 3 is one embodiment schematic diagram of server provided by the embodiments of the present application.
As shown in figure 3, server 30 provided by the embodiments of the present application includes the first transmission unit 301, the first receiving unit
302, acquiring unit 303, the second transmission unit 304;
First transmission unit 301 includes sequence number in interim table for sending interim table to terminal, and sequence number includes pre-
Homepage sequence number is set, each sequence number is for identifying a bills data;
First receiving unit 302, for the target sequence number that terminal is sent, target sequence number is terminal according to the target page number
The sequence number that preset homepage page number in several interim tables sent with the first transmission unit 301 determines;
Acquiring unit 303, for obtaining target according to the received target sequence number of the first receiving unit 302 in interim table
Bills data;
Second transmission unit 304, for sending the target bills data that acquiring unit 303 obtains to terminal.
In the present embodiment, since server can receive the target sequence number that terminal is sent by the first receiving unit 302,
To get corresponding target bills data by acquiring unit 303 in interim table according to target sequence number, so that in number
When larger according to the customer data amount in library, server is without traversing every page of bills data, to improve query performance, effectively
Reduce occupied memory, settlement server delay machine problem when inquiry data.
Fig. 4 is another embodiment schematic diagram of terminal provided by the embodiments of the present application.
As shown in figure 4, terminal 40 provided by the embodiments of the present application includes the second reception 401, acquiring unit 402, determines list
First 403, third transmission unit 404, display unit 405;
First receiving unit 401 includes sequence number, sequence number in interim table for receiving the interim table of server transmission
Including preset homepage sequence number, each sequence number is for identifying a bills data;
Acquiring unit 402, for obtaining target page number after the first receiving unit 401 receives interim table;
Determination unit 403, target page number and the first receiving unit 401 for being obtained according to acquiring unit 402 receive
To preset homepage sequence number determine target sequence number;
Third transmission unit 404, for sending the target sequence number that determination unit 403 is determined, the target to server
Sequence number obtains target bills data for server in interim table;
Display unit 405, for showing that server obtains concurrently according to the target sequence number that third transmission unit 404 is sent
The target bills data sent.
Since terminal is determined according to the preset homepage sequence number in target page number and interim table by determination unit 403
After target sequence number, the target sequence number is sent to server, allows server according to target sequence number from interim table
Corresponding target bills data is got, therefore when customer data amount in the database is larger, server is without traversing every page
Bills data efficiently reduces occupied memory, settlement server delay machine when inquiry data to improve query performance
Problem.
Above from the angle of modular functionality entity in the embodiment of the present application server and terminal be described, below
From the angles of hardware handles in the embodiment of the present application server and terminal be described.Fig. 5 is in the embodiment of the present application
One schematic diagram of hardware configuration of communication device.As shown in figure 5, the communication device may include:
The communication device includes at least one processor 501, communication line 507, memory 503 and at least one communication
Interface 504.
Processor 501 can be a general central processor (central processing unit, CPU), micro process
Device, application-specific integrated circuit (application-specific integrated circuit, server I C) or one
Or it is multiple for controlling the integrated circuit of application scheme program execution.
Communication line 507 may include an access, and information is transmitted between said modules.
Communication interface 504, using the device of any transceiver one kind, for other devices or communication, such as
Ethernet, wireless access network (radio access network, RAN), WLAN (wireless local area
Networks, WLAN) etc..
Memory 503 can be read-only memory (read-only memory, ROM) or can store static information and instruction
Other kinds of static memory, random access memory (random access memory, RAM) or letter can be stored
The other kinds of dynamic storage device of breath and instruction, memory, which can be, to be individually present, and communication line 507 and processor are passed through
It is connected.Memory can also be integrated with processor.
Wherein, memory 503 be used for store execution application scheme computer executed instructions, and by processor 501
Control executes.Processor 501 is for executing the computer executed instructions stored in memory 503, to realize that the application is above-mentioned
The method for the inquiring document data that embodiment provides.
Optionally, the computer executed instructions in the embodiment of the present application can also be referred to as application code, the application
Embodiment is not especially limited this.
In the concrete realization, as one embodiment, communication device may include multiple processors, such as the place in Fig. 5
Manage device 501 and processor 502.Each of these processors can be monokaryon (single-CPU) processor, can also
To be multicore (multi-CPU) processor.Here processor can refer to one or more devices, circuit, and/or be used for
Handle the processing core of data (such as computer program instructions).
In the concrete realization, as one embodiment, communication device can also include output device 505 and input unit
506.Output device 505 and processor 501 communicate, and can show information in many ways.Input unit 506 and processor
501 communications, can receive the input of user in many ways.For example, input unit 606 can be mouse, touch panel device or
Sensing device etc..
Above-mentioned communication device can be a fexible unit either dedicated unit.In the concrete realization, it communicates
Device can be desktop computer, portable computer, network server, wireless terminal device, embedded equipment or have similar knot in Fig. 5
The device of structure.The embodiment of the present application does not limit the type of communication device.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof real
It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.
It is apparent to those skilled in the art that for convenience and simplicity of description, the service of foregoing description
The specific work process of device, terminal and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it
Its mode is realized.For example, the embodiment of server described above, terminal is only schematical, for example, the unit
Division, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or group
Part can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown
Or the mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, module or unit it is indirect
Coupling or communication connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, the technical solution of the application is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can be background devices, bills data query facility etc.) executes the whole or portion of each embodiment the method for the application
Step by step.And storage medium above-mentioned include: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), with
Machine accesses various Jie that can store program code such as memory (RAM, Random Access Memory), magnetic or disk
Matter.
The above, above embodiments are only to illustrate the technical solution of the application, rather than its limitations;Although referring to before
Embodiment is stated the application is described in detail, those skilled in the art should understand that: it still can be to preceding
Technical solution documented by each embodiment is stated to modify or equivalent replacement of some of the technical features;And these
It modifies or replaces, the spirit and scope of each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution.
Claims (10)
1. a kind of method of inquiring document data characterized by comprising
Server sends interim table to terminal, includes sequence number in the interim table, the sequence number includes preset homepage sequence
Number, each sequence number is for identifying a bills data;
The server receives the target sequence number that the terminal is sent, and the target sequence number is the terminal according to page object
The sequence number that yardage and the preset homepage page number determine;
The server obtains target bills data according to the target sequence number in the interim table;
The server sends the target bills data to the terminal.
2. the method according to claim 1, wherein the server receives the target sequence that the terminal is sent
Number, comprising:
The server receives the inquiry request that the terminal is sent, and the inquiry request carries target sequence number.
3. method according to claim 1 or 2, which is characterized in that before the server sends interim table to terminal,
Further include:
The server obtains the bills data for meeting filter condition from database;
The bills data is inserted into the interim table by the server.
4. a kind of method of inquiring document data characterized by comprising
Terminal receives the interim table that server is sent, and includes sequence number in the interim table, the sequence number includes preset homepage
Sequence number, each sequence number is for identifying a bills data;
The terminal obtains target page number after receiving the interim table;
The terminal determines target sequence number according to the target page number and the preset homepage sequence number;
The terminal sends target sequence number to the server, and the target sequence number is for the server described interim
Target bills data is obtained in table;
The target bills data that server described in the terminal display is sent.
5. according to the method described in claim 4, it is characterized in that, the terminal to the server send target sequence number,
Include:
The terminal sends inquiry request to the server, and the inquiry request carries target sequence number.
6. a kind of server characterized by comprising
First transmission unit includes sequence number in the interim table for sending interim table to terminal, and the sequence number includes pre-
Homepage sequence number is set, each sequence number is for identifying a bills data;
First receiving unit, for the target sequence number that the terminal is sent, the target sequence number is the terminal according to mesh
The sequence number that the preset homepage page number in the interim table that page number and first transmission unit are sent determines;
Acquiring unit, for obtaining mesh according to the received target sequence number of first receiving unit in the interim table
Mark bills data;
Second transmission unit, for sending the target bills data that the acquiring unit obtains to the terminal.
7. a kind of terminal characterized by comprising
Second receiving unit includes sequence number, the sequence number in the interim table for receiving the interim table of server transmission
Including preset homepage sequence number, each sequence number is for identifying a bills data;
Acquiring unit, for obtaining target page number after second receiving unit receives the interim table;
Determination unit, the institute that the target page number and the receiving unit for being obtained according to the acquiring unit receive
It states preset homepage sequence number and determines target sequence number;
Third transmission unit, it is described for sending the target sequence number that the determination unit is determined to the server
Target sequence number obtains target bills data for the server in the interim table;
Display unit, for showing that the server obtains simultaneously according to the target sequence number that the third transmission unit is sent
The target bills data sent.
8. a kind of server, which is characterized in that the server includes: input/output (I/O) interface, processor and memory,
Program instruction is stored in the memory;
The processor executes such as side as claimed in any one of claims 1-3 for executing the program instruction stored in memory
Method.
9. a kind of terminal, which is characterized in that the terminal includes: input/output (I/O) interface, processor and memory,
Program instruction is stored in the memory;
The processor executes the side as described in any in claim 4-5 for executing the program instruction stored in memory
Method.
10. a kind of computer readable storage medium, including instruction, which is characterized in that when described instruction is on server or terminal
When operation, so that the server or terminal execute the method as described in any one of claim 1-3 or 4-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811269762.6A CN109241447A (en) | 2018-10-29 | 2018-10-29 | A kind of method, terminal and the server of inquiring document data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811269762.6A CN109241447A (en) | 2018-10-29 | 2018-10-29 | A kind of method, terminal and the server of inquiring document data |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109241447A true CN109241447A (en) | 2019-01-18 |
Family
ID=65079107
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811269762.6A Pending CN109241447A (en) | 2018-10-29 | 2018-10-29 | A kind of method, terminal and the server of inquiring document data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109241447A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110162573A (en) * | 2019-05-05 | 2019-08-23 | 中国银行股份有限公司 | A kind of distribution sequence generating method, apparatus and system |
CN112347396A (en) * | 2020-10-22 | 2021-02-09 | 杭州安恒信息技术股份有限公司 | Webpage table display method, system and device based on IndexDB database |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100306222A1 (en) * | 2009-05-29 | 2010-12-02 | Microsoft Corporation | Cache-friendly b-tree accelerator |
CN102479198A (en) * | 2010-11-26 | 2012-05-30 | 金蝶软件(中国)有限公司 | Data paging method, device and system |
CN103617232A (en) * | 2013-11-26 | 2014-03-05 | 北京京东尚科信息技术有限公司 | Paging inquiring method for HBase table |
CN106844526A (en) * | 2016-12-29 | 2017-06-13 | 金蝶软件(中国)有限公司 | Bill processing method and device |
-
2018
- 2018-10-29 CN CN201811269762.6A patent/CN109241447A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100306222A1 (en) * | 2009-05-29 | 2010-12-02 | Microsoft Corporation | Cache-friendly b-tree accelerator |
CN102479198A (en) * | 2010-11-26 | 2012-05-30 | 金蝶软件(中国)有限公司 | Data paging method, device and system |
CN103617232A (en) * | 2013-11-26 | 2014-03-05 | 北京京东尚科信息技术有限公司 | Paging inquiring method for HBase table |
CN106844526A (en) * | 2016-12-29 | 2017-06-13 | 金蝶软件(中国)有限公司 | Bill processing method and device |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110162573A (en) * | 2019-05-05 | 2019-08-23 | 中国银行股份有限公司 | A kind of distribution sequence generating method, apparatus and system |
CN110162573B (en) * | 2019-05-05 | 2021-04-30 | 中国银行股份有限公司 | Distributed sequence generation method, device and system |
CN112347396A (en) * | 2020-10-22 | 2021-02-09 | 杭州安恒信息技术股份有限公司 | Webpage table display method, system and device based on IndexDB database |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10061562B2 (en) | Random number generator in a parallel processing database | |
CN110019560A (en) | A kind of querying method and device of knowledge based map | |
CN106598992A (en) | Database operating method and device | |
CN102609421B (en) | Data query method and device | |
CN109783512A (en) | Data processing method, device, computer equipment and storage medium | |
US20140207870A1 (en) | Methods and systems for compensating remote workers | |
CN109978474A (en) | A kind of Work-flow control method and Work-flow control device | |
CN109739890A (en) | Data processing method, device and equipment | |
CN104252381A (en) | Method and equipment for scheduling ETL (Extraction-Transform-Loading) task | |
WO2014052942A1 (en) | Random number generator in a parallel processing database | |
CN104809130A (en) | Method, equipment and system for data query | |
US20070067327A1 (en) | Performing recursive database operators | |
CN109241447A (en) | A kind of method, terminal and the server of inquiring document data | |
CN103488655B (en) | Method and system for processing composite model data | |
CN110221927A (en) | Asynchronous message processing method and device | |
Şen et al. | A strong preemptive relaxation for weighted tardiness and earliness/tardiness problems on unrelated parallel machines | |
CN103581273A (en) | Service executing method, device and system for distributed system | |
US10078652B2 (en) | Reducing latency in performing a task among distributed systems | |
Kalir et al. | Optimal Solutions for the Single Batch, Flow Shop, Lot‐streaming Problem with Equal Sublots | |
US20140379691A1 (en) | Database query processing with reduce function configuration | |
CN106933873A (en) | A kind of cross-platform data querying method and equipment | |
CN109033315A (en) | Data query method, client, server and computer-readable medium | |
CN110019077A (en) | Log inquiring method, device, equipment and computer readable storage medium | |
EP2830289B1 (en) | Adaptable reporting in a multi-client telecommunication network | |
EP4354291A1 (en) | Memory pooling method and related apparatus |
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: 20190118 |
|
RJ01 | Rejection of invention patent application after publication |