Nothing Special   »   [go: up one dir, main page]

CN108833553A - Catalogue processing method and relevant device - Google Patents

Catalogue processing method and relevant device Download PDF

Info

Publication number
CN108833553A
CN108833553A CN201810649519.0A CN201810649519A CN108833553A CN 108833553 A CN108833553 A CN 108833553A CN 201810649519 A CN201810649519 A CN 201810649519A CN 108833553 A CN108833553 A CN 108833553A
Authority
CN
China
Prior art keywords
catalogue
numerical value
server
terminal
acquisition request
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
Application number
CN201810649519.0A
Other languages
Chinese (zh)
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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201810649519.0A priority Critical patent/CN108833553A/en
Publication of CN108833553A publication Critical patent/CN108833553A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the present application discloses a kind of catalogue processing method and relevant device, for reducing the delay for showing catalogue, improves the efficiency that catalogue is shown.The embodiment of the present application method includes:The first catalogue acquisition request is sent to server, so that the server reads first catalogue according to first numerical value, the first catalogue acquisition request includes at least first numerical value of the first catalogue, which is less than the numerical value of all catalogues of server admin;Receive first catalogue of server transmission;Show first catalogue.

Description

Catalogue processing method and relevant device
Technical field
This application involves file management field more particularly to catalogue processing method and relevant devices.
Background technique
In the 21st century, with the arrival of internet, especially mobile Internet, social networks, e-commerce it is at full speed Development, the data that the mankind generate in production and life increase while exponential type is presented, the order of magnitude of file amount corresponding with data Constantly rise, the mankind have come into big data era.
File is checked and managed by catalogue in order to facilitate user, the client of file system generates mesh corresponding with file Record, and user is showed by the administration interface that user can contact.After administration interface needs to download the catalogue of lower All Files, Catalogue is shown to user again.
Since the data volume of file is very big, and in the prior art, after administration interface needs to download the catalogue of million grades of item numbers Show catalogue one by one again, the time for downloading million grades of number record costs is longer, shows that the delay of catalogue is very high, efficiency is lower.
Summary of the invention
The embodiment of the present application provides a kind of catalogue processing method and relevant device, for reducing the delay for showing catalogue, Improve the efficiency that catalogue is shown.
In a first aspect, the embodiment of the present application provides a kind of catalogue processing method, it is applied to terminal, this method includes:
The first catalogue acquisition request is sent to server, so that the server reads first mesh according to first numerical value Record, the first catalogue acquisition request include at least first numerical value of the first catalogue, which is less than server admin All catalogues numerical value;
Receive first catalogue of server transmission;
Show first catalogue.
Second aspect, the embodiment of the present application also provides a kind of catalogue processing methods, which is characterized in that is applied to service Device, this method include:
The first catalogue acquisition request that terminal is sent is received, which includes at least the of the first catalogue One numerical value, first numerical value are less than the numerical value of all catalogues of directory management terminal management;
First catalogue is read, the numerical value of first catalogue is first numerical value;
First catalogue is sent to the terminal.
The third aspect, the embodiment of the present application also provides a kind of terminal, which includes:
First transmission unit, for server send the first catalogue acquisition request so that the server according to this first Numerical value reads first catalogue, which includes at least first numerical value of the first catalogue, and this first Numerical value is less than the numerical value of all catalogues of server admin;
First receiving unit, for receiving first catalogue of server transmission;
First display unit, for showing first catalogue.
Fourth aspect, the embodiment of the present application also provides a kind of servers, which is characterized in that the terminal includes:
Receiving unit, for receiving the first catalogue acquisition request of terminal transmission, which is at least wrapped First numerical value of the first catalogue is included, which is less than the numerical value of all catalogues of directory management terminal management;
First reading unit, for reading first catalogue, the numerical value of first catalogue is first numerical value;
Transmission unit, for first catalogue to be sent to the terminal.
5th aspect, the embodiment of the present application also provides a kind of terminal, the terminal includes:Processor and memory, institute State the instruction that the processing of catalogue described in aforementioned first aspect is stored in memory;
The processor is used to execute the instruction of the catalogue processing stored in memory, executes as described in aforementioned first aspect Catalogue processing method the step of.
6th aspect, the embodiment of the present application also provides a kind of server, the server includes:Processor and storage Device is stored with the instruction of the processing of catalogue described in aforementioned second aspect in the memory;
The processor is used to execute the instruction of the catalogue processing stored in memory, executes as described in aforementioned second aspect Catalogue processing method the step of.
7th aspect, it is described computer-readable to deposit the embodiment of the present application also provides a kind of computer readable storage medium The instruction of catalogue processing is stored in storage media, when run on a computer, so that computer executes above-mentioned first aspect The catalogue processing method.
Eighth aspect, it is described computer-readable to deposit the embodiment of the present application also provides a kind of computer readable storage medium The instruction of catalogue processing is stored in storage media, when run on a computer, so that computer executes above-mentioned second aspect The catalogue processing method.
As can be seen from the above technical solutions, the embodiment of the present application has the following advantages that:
Terminal is sent in the first catalogue acquisition request to server, carries first number of the first catalogue that need to be obtained Value, which is less than the numerical value of all catalogues of server admin, so that server is according to first numerical value The first catalogue is read, terminal exports first catalogue after receiving first catalogue.Since terminal no longer needs to download server pipe All catalogues of reason save the time of download directory cost, reduce the entire time delay shown in directory process, improve The efficiency that catalogue is shown.
Detailed description of the invention
Fig. 1 is the network architecture schematic diagram of catalogue processing method provided by the embodiments of the present application;
Fig. 2 is a kind of flow diagram of catalogue processing method provided by the embodiments of the present application;
Fig. 3 is another flow diagram of catalogue processing method provided by the embodiments of the present application;
Fig. 4 is another flow diagram of catalogue processing method provided by the embodiments of the present application;
Fig. 5 is a kind of structural schematic diagram of terminal provided by the embodiments of the present application;
Fig. 6 is a kind of structural schematic diagram of server provided by the embodiments of the present application;
Fig. 7 is another structural schematic diagram of terminal provided by the embodiments of the present application;
Fig. 8 is another structural schematic diagram of server provided by the embodiments of the present application.
Specific embodiment
The embodiment of the present application provides a kind of catalogue processing method, for reducing the delay for showing catalogue, improves catalogue exhibition The efficiency shown.The embodiment of the present application also provides corresponding terminal, server and computer readable storage mediums.Individually below into Row is described in detail.
Description and claims of this specification 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 as to the embodiment of the present invention described herein can in addition to Here the sequence other than those of diagram or description is implemented.
As shown in Figure 1, the file management system in the application includes at least file system client and administration interface, although A file system client and two administration interfaces are only shown in Fig. 1, it is to be understood that, only for convenience of reason shown in Fig. 1 This programme is solved, file system client and administration interface all can be multiple, specific file system client and administration interface Quantity should flexibly be set according to actual needs, herein without limitation.
In the embodiment of the present application, the catalogue that administration interface 10 is used to receive user checks request, receives file system client It holds the catalogue sent and shows user.File system client 20 is connecing for storing and managing catalogue corresponding with file After the catalogue acquisition request for receiving administration interface transmission, catalogue is sent to administration interface.Administration interface 10 by network 20 with File system client 20 communicates to connect.
In the embodiment of the present application, administration interface 10 can be terminal.Wherein, terminal may include mobile phone, tablet computer, PDA (Personal Digital Assistant, personal digital assistant), vehicle-mounted computer, TV or other with communication module Equipment etc., herein without limitation.
Network 20 can be wireless network connection or mobile network's connection, and wireless network connection includes but is not limited to, such as nothing Line fidelity (WIreless-FIdelity, WiFi), bluetooth connection etc.;Mobile network's connection includes but is not limited to that such as the whole world is mobile Communication system (Global System for Mobile communications, GSM), CDMA (Code Division Multiple Access, CDMA) etc..
File system client 30 can be server, wherein server can be a server composition, be also possible to The server zone consisted of several servers or a cloud computing service center, can carry out the storage and processing of data, Specifically herein without limitation.
It is terminal with administration interface 10, file system client is for server in the present embodiment and subsequent embodiment It is illustrated.
The catalogue processing method in the application is described in detail below, referring to Fig. 2, provided by the embodiments of the present application A kind of catalogue processing method embodiment, is applied to terminal, and this method includes:
201, terminal to server sends the first catalogue acquisition request.
It, can be with triggering terminal to clothes when the first catalogue that terminal receives user's typing checks instruction in the present embodiment Business device sends the first catalogue acquisition request, so that server reads the first catalogue according to the first catalogue acquisition request.
In the present embodiment, the first catalogue of user's typing checks that the mode of request can open the catalogue displaying of file for user File, or user clicks and checks next page directory button in terminal display interface, or user clicks terminal Page up category buttons are checked on display interface, can also jump to page object by what terminal display interface inputted for user Number operation or other kinds of catalogue check instruction, specifically herein without limitation.
In the present embodiment, the first catalogue acquisition request can be message form, including first number of the first catalogue Value and the storage location of the first catalogue on the server, first numerical value are less than the item number of all catalogues of server admin Value, as an example, for example the first catalogue acquisition request can be embodied in Icfs daemon/var/run/icfs/icfs- Client.admin.asok dump_readdir_by_page dirpath max_len 100, it should be understood that herein to The citing of one catalogue acquisition request only understands this programme for convenience, the setting to parameters in the first catalogue acquisition request, this Place does not have limiting meaning.
Wherein, first numerical value of the first catalogue is the preset parameter value of terminal, can show one page mesh for terminal Required catalogue item number when record, such as 200,500 or 700 etc.;Or display page two and multipage catalogue when institute The catalogue item number needed, such as 1000 or 2000 etc., herein without limitation.In the present embodiment and subsequent embodiment, only with First numerical value is illustrated for required catalogue numerical value when being one page directory of display.
The storage location of first catalogue on the server can be the absolute of first catalogue storage location on the server Path, or the relative path etc. of first catalogue storage location on the server, specifically herein without limitation.
202, terminal receives the first catalogue of server transmission.
In the present embodiment, terminal receives the first catalogue that server is sent, which can be message form.
203, terminal display first catalogue.
In the present embodiment, terminal parses the message information after receiving the first catalogue of message form, due to terminal to It include first numerical value in the first catalogue acquisition request that server is sent, then the item for the first catalogue that terminal can be parsed out If the item number for the first catalogue that number parses is no more than first numerical value.
If the item number for the first catalogue that terminal parses is catalogue item number needed for one page directory of display, terminal is current The page shows first catalogue;If the item number for the first catalogue that terminal parses is catalogue item needed for display at least two page directories Number, then terminal shows first catalogue page by page.
In the present embodiment, terminal is sent in the first catalogue acquisition request to server, carries the first mesh that need to be obtained Record first numerical value, first numerical value be less than server admin all catalogues numerical value so that server according to First numerical value reads the first catalogue, and terminal exports first catalogue after receiving first catalogue.Since terminal no longer needs to All catalogues of download server management save the time of download directory cost, reduce entire show in directory process Time delay improves the efficiency of catalogue displaying.
Based on 2 described embodiment of earlier figures, another kind catalogue processing method embodiment provided by the embodiments of the present application, Applied to server, referring particularly to Fig. 3, this method includes:
301, the first catalogue acquisition request that server receiving terminal is sent.
In the present embodiment, the first catalogue acquisition request of server receiving terminal transmission, wherein the first catalogue acquisition request It can be message form, which includes first numerical value and the storage position of the first catalogue of the first catalogue It sets, which is less than the numerical value of all catalogues of directory management terminal management.
Wherein, the storage location of the first catalogue on the server can be first catalogue storage location on the server Absolute path, or the relative path etc. of first catalogue storage location on the server, specifically herein without limitation.
302, server reads the first catalogue.
In the present embodiment, server therefrom extracts first article of numerical value and after receiving the first catalogue acquisition request The storage location of one catalogue reads the first catalogue of first numerical value according to the storage location from all catalogues of management.
303, first catalogue is sent to the terminal by server.
In the present embodiment, server is sent to terminal after the first catalogue being packaged into message, wherein the first catalogue can To be packaged into a message, more than two associated messages etc. can also be packaged into, specifically herein without limitation.
In the present embodiment, in the first catalogue acquisition request that server receiving terminal is sent, need to obtain first is carried First numerical value of catalogue, first numerical value are less than the numerical value of all catalogues of server admin, and server reads the Terminal is sent to after first catalogue of one numerical value.Due to the first catalogue that terminal downloads are first numerical value, save down The time that catalogue is spent is carried, the entire time delay shown in directory process is reduced, improves the efficiency of catalogue displaying.
Based on any embodiment described in earlier figures 2 and Fig. 3, the embodiment of the present application provides another catalogue processing side Method embodiment, referring particularly to Fig. 4, this method includes:
401, terminal to server sends the first catalogue acquisition request.
In the present embodiment, step 401 is similar with step 201 in aforementioned embodiment illustrated in fig. 2, and details are not described herein again.
402, server judges whether the remaining item number of the first catalogue reaches first numerical value, if reaching first number Value, then enter step 403;If not up to first numerical value, enters step 404.
In the present embodiment, origin identification can also be read comprising first in the first catalogue acquisition request, wherein first reads Origin identification is used to identify the position in fact for reading catalogue, can be the mark of last the last one catalogue read, as Example, such as last the last one catalogue ID read, as another example, such as to the last one mesh of last time reading The coding of record, as another example, such as last the last one catalogue read storage location absolute path or its The mark etc. of his type, specifically herein without limitation.
It is identified according to whether being read comprising first in the first catalogue acquisition request, step 402 can generate in the process of implementation Difference, specially:
1, origin identification is read comprising first in the first catalogue acquisition request.
In the present embodiment, server therefrom reads out the first of the first catalogue after receiving the first catalogue acquisition request Numerical value, the storage location of the first catalogue and first read origin identification, and server is index with the storage location of the first catalogue Foundation, using the first reading origin identification as starting point, the numerical value of the remaining catalogue of the storage after determining the first reading origin identification, And judge whether the numerical value of remaining catalogue reaches first numerical value.
2, do not include first in the first catalogue acquisition request and read origin identification.
In the present embodiment, server therefrom reads out the first of the first catalogue after receiving the first catalogue acquisition request The storage location of numerical value and the first catalogue, server is index foundation with the storage location of the first catalogue, with the first of storage Catalogue is starting point, determines the numerical value of the remaining catalogue of storage, and judges whether the numerical value of remaining catalogue reaches first Numerical value.
403, server reads third catalogue.
In the present embodiment, the first catalogue includes third catalogue, when the remaining item number that server determines the first catalogue reaches When first numerical value, server reads the third catalogue of first numerical value.
Wherein, it if reading origin identification comprising first in the first catalogue acquisition request received, is read with first Beginning is identified as starting point, and sequence reads the third catalogue of first numerical value;If not including in the first catalogue acquisition request received First reads to go origin identification, then using first entry record as starting point, sequence reads the third catalogue of first numerical value.
404, server reads the 4th catalogue of remaining article number.
In the present embodiment, the first catalogue includes the 4th catalogue, when the remaining item number that server determines the first catalogue does not reach When to first numerical value, server reads the 4th catalogue of remaining article number.
It should be appreciated that step 402 is that optional step can directly execute step 403, work as service if not executing step 402 When device reads the catalogue less than first numerical value, then execute step 404.
405, the first catalogue is sent to terminal by server.
In the present embodiment, step 405 is similar with step 303 in aforementioned embodiment illustrated in fig. 3, is not repeated herein.
406, first catalogue of terminal display first page.
In the present embodiment, terminal passes through terminal after receiving the first catalogue of first numerical value of server transmission Display interface show first page the first catalogue, it should be understood that the catalogue display interface that the first page in the application refers to it is any One page, and the first page being not specific in sequence meaning.
407, when the duration of terminal display first catalogue is more than preset duration, the second catalogue acquisition request is triggered.
In the present embodiment, terminal can calculate the duration for showing the first catalogue, work as end when showing the first catalogue to user When end determines the duration for showing first catalogue more than preset duration, the second catalogue acquisition request is triggered, which obtains It include the storage location of Article 2 numerical value, the second reading origin identification and the second catalogue in request, which is the end End shows the numerical value of required catalogue when a page directory.
Server is receiving the second catalogue acquisition request of terminal transmission, and therefrom extracts Article 2 numerical value, the second reading Take the storage location of origin identification and the second catalogue.
In the present embodiment, terminal is preset with duration threshold value, and preset duration can be 1 minute, 2 minutes or 5 minutes etc., Specifically herein without limitation.
In the present embodiment, terminal can calculate the duration for showing the first catalogue by timer, when also can be set default Long countdown, the starting countdown from terminal shows the first catalogue to user, or by other means to determine that displaying should The duration of first catalogue is more than preset duration, specifically herein without limitation.
408, terminal receives the second catalogue that server is sent.
In the present embodiment, server is index foundation with the storage location of the second catalogue, is with the second reading origin identification Starting point, reads the second catalogue of Article 2 numerical value, and the second catalogue is packaged into message form and is sent to terminal.Terminal receives clothes Second catalogue of the message form that business device is sent simultaneously is stored to local.
409, when the second catalogue that terminal receives user's typing checks request, second catalogue of second page is shown.
In the present embodiment, when the second catalogue that terminal receives display interface typing of the user by terminal checks request When, show that the second catalogue of second page, second catalogue store in step 408 to local to user.
In the present embodiment, it can be user that the second catalogue of user's typing, which checks that request checks next page directory for requesting, It clicks and checks next page directory button in terminal display interface;Or user is issued by way of voice and checks lower one page Instruction, for example, user input phonetic order " checking lower one page ";It can also be checked for user by terminal display interface typing The sliding trace of lower one page, for example, user is slided to the right by terminal screen typing or to upward sliding etc., it should be understood that this Place checks that the citing of mode of request only understands this programme for convenience to the second catalogue, specifically checks the defeated of request to the second catalogue Enter the selection of mode herein without limitation.
In the present embodiment, second page is lower one page relative to first page, can be any one page of terminal display interface, The second page being not specific in sequence meaning.
It should be appreciated that step 407 to step 409 is that optional step is executing if not executing step 407 to step 409 Step 401 is repeated after complete step 406 to step 406.
In the present embodiment, terminal is sent in the first catalogue acquisition request to server, carries the first mesh that need to be obtained First numerical value of record, first numerical value are less than the numerical value of all catalogues of server admin, and server reads first It is sent to terminal after first catalogue of numerical value, terminal exports first catalogue after receiving first catalogue.Due to terminal without All catalogues for needing download server management again save the time of download directory cost, reduce entire displaying directory process In time delay, improve catalogue displaying efficiency.
It further, include reading origin identification in catalogue acquisition request, server can identify in fact fast according to reading Speed finds corresponding catalogue, and executes read operation, increases the feasibility of this programme.
Further, the first catalogue includes third catalogue and the 4th catalogue, and server judges the remaining item number of the first catalogue Whether reach first numerical value, if reaching first numerical value, just read the third catalogue of first numerical value, if not up to, attending school Take the 4th catalogue of remaining article of number.Whether the remaining catalogue item number no matter stored in server reaches first numerical value, server It may be read into catalogue, and then be sent to terminal display, increase the realization stability of this programme.
Further, since terminal once shows a page directory to user, first numerical value is set as terminal display one The numerical value of required catalogue when page directory, the rear line of the catalogue of first numerical value of terminal downloads show the catalogue, thus into One step saves the time of download directory cost, improves the efficiency of catalogue displaying.
Further, when terminal shows the first page directory to user, when showing that duration is more than preset duration, triggering the The catalogue acquisition request of page two, and the catalogue of the second page of server transmission is received, it is looked into the second page directory for receiving user When seeing request, the second page directory being locally stored can be showed user, time when shortening the second page directory of displaying prolongs Late, better user experience is provided.
Based on earlier figures 2 to embodiment shown in Fig. 4, Fig. 5 is that a kind of structure of terminal provided by the embodiments of the present application is shown It is intended to, which includes transmission unit, receiving unit and display unit, it should be understood that in the embodiment of the present application, shown in Fig. 5 The first transmission unit 501 and the second transmission unit 504 be both contained in the transmission unit of terminal, the first receiving unit 502 and Two receiving units 505 are both contained in the receiving unit of terminal, and the first display unit 503 and the second display unit 506 are both contained in The display unit of terminal, in conjunction with Fig. 5, which includes:
First transmission unit 501, for sending the first catalogue acquisition request to server so that the server according to this One numerical value reads first catalogue, which includes at least first numerical value of the first catalogue, this first Numerical value is less than the numerical value of all catalogues of server admin;
First receiving unit 502, for receiving first catalogue of server transmission;
First display unit 503, for showing received first catalogue of first receiving unit 503.
Further, which further includes the first reading origin identification of first catalogue.
Further, the numerical value of required catalogue when which is one page directory of terminal display,
First display unit 503 includes:
First shows subelement 5031, for showing first catalogue of first page.
Further, which further includes:
Second transmission unit 504, for triggering the second catalogue when the duration for showing first catalogue is more than preset duration Acquisition request, the second catalogue acquisition request include at least Article 2 numerical value and second and read origin identification, the Article 2 numerical value The numerical value of required catalogue when for one page directory of terminal display so that the server according to the Article 2 numerical value and this second read Origin identification is taken to read second catalogue;
Second receiving unit 505, for receiving second catalogue of server transmission;
Second display unit 506, for showing second page when the second catalogue for receiving user's typing checks request Second catalogue.
In the present embodiment, the process and earlier figures 2 that each unit executes in terminal are into embodiment illustrated in fig. 4 performed by terminal Process it is similar, details are not described herein again.
In the present embodiment, the first transmission unit 501 is sent in the first catalogue acquisition request to server, and carrying need to obtain First numerical value of the first catalogue taken, first numerical value are less than the numerical value of all catalogues of server admin, so that Server reads the first catalogue according to first numerical value, and after receiving first catalogue, first shows the first receiving unit 502 Unit 503 exports first catalogue.Since terminal no longer needs to all catalogues of download server management, download directory flower is saved The time taken reduces the entire time delay shown in directory process, improves the efficiency of catalogue displaying.
Based on earlier figures 2 to embodiment shown in Fig. 4, Fig. 6 is a kind of structure of server provided by the embodiments of the present application Schematic diagram, the server include receiving unit, reading unit and transmission unit, it should be understood that in the embodiment of the present application, in Fig. 6 Shown in the first reading unit 602 and the second reading unit 605 be both contained in the reading unit of server should below in conjunction with Fig. 6 Server includes:
Receiving unit 601, for receiving the first catalogue acquisition request of terminal transmission, the first catalogue acquisition request is at least First numerical value including the first catalogue, first numerical value are less than the numerical value of all catalogues of directory management terminal management.
First reading unit 602, for reading first catalogue, the numerical value of first catalogue is first numerical value.
Transmission unit 603, for first catalogue to be sent to the terminal.
Further, which further includes the first reading origin identification of first catalogue,
First reading unit 602 includes:
First reading subunit 6021 reads first catalogue, this for first reading origin identification as starting point using this The numerical value of one catalogue is first numerical value.
Further, which is the numerical value of catalogue needed for one page directory of terminal display, first catalogue Including third catalogue and the 4th catalogue,
The server further includes:
Judging unit 604, for judging whether the remaining item number of first catalogue reaches first numerical value;
First reading unit 602 includes:
Second reading subunit 6022, for when reaching first numerical value, then reading the third catalogue, the third mesh The numerical value of record is first numerical value;
The server further includes:
Second reading unit 605, for when not up to first numerical value, then reading the 4th mesh of the residue article number Record.
In the present embodiment, each unit executes in server process and the server institute into embodiment illustrated in fig. 4 of earlier figures 2 The process of execution is similar, and details are not described herein again.
In the present embodiment, receiving unit 601 is received in the first catalogue acquisition request that terminal is sent, and carrying need to obtain First numerical value of the first catalogue, first numerical value are less than the numerical value of all catalogues of server admin, and first reads Terminal is sent to by transmission unit 603 after first catalogue of first numerical value of reading of unit 602.Since terminal downloads are first First catalogue of numerical value saves the time of download directory cost, reduces the entire time delay shown in directory process, Improve the efficiency of catalogue displaying.
A kind of terminal is also provided in the embodiment of the present application, referring to Fig. 7, which can produce because configuration or performance are different Raw bigger difference, may include one or more processors 701 and memory 702 (such as one or more Mass memory unit).Wherein, memory 702 can be of short duration storage or persistent storage.The program being stored on memory 702 It may include one or more modules (diagram does not mark), each module may include to the series of instructions behaviour in terminal Make.Further, processor 701 can be set to communicate with memory 702, execute in memory 702 in terminal 700 Series of instructions operation.
Terminal 700 can also include one or more input display units 703, one or more power supplys 704, One or more wired or wireless network interfaces 705.
In some embodiments of the invention, processor 701, memory 702, input display unit 703,704 and of power supply Wired or wireless network interface 705 can be connected by bus or other means, in Fig. 7 for being connected by bus.
The finger for the catalogue processing that earlier figures 2 to terminal described in embodiment illustrated in fig. 4 executes is stored in the memory It enables;
The processor is used to execute the instruction of the catalogue processing stored in memory, executes such as earlier figures 2 to reality shown in Fig. 4 Apply the step of terminal executes in catalogue processing method described in example.
A kind of server is also provided in the embodiment of the present application, referring to Fig. 8, which can be different because of configuration or performance And bigger difference is generated, it may include one or more processors 801 and memory 802 (such as one or one The above mass memory unit).Wherein, memory 802 can be of short duration storage or persistent storage.It is stored on memory 802 Program may include one or more modules (diagram does not mark), and each module may include to a series of in server Instruction operation.Further, processor 801 can be set to communicate with memory 802, execute storage on server 800 Series of instructions operation in device 802.
Server 800 can also include one or more input display units 803, one or more power supplys 804, one or more wired or wireless network interfaces 805.
In some embodiments of the invention, processor 801, memory 802, input display unit 803,804 and of power supply Wired or wireless network interface 805 can be connected by bus or other means, in Fig. 8 for being connected by bus.
The catalogue processing that earlier figures 2 to server described in embodiment illustrated in fig. 4 executes is stored in the memory Instruction;
The processor is used to execute the instruction of the catalogue processing stored in memory, executes such as earlier figures 2 to reality shown in Fig. 4 Apply the step of server executes in catalogue processing method described in example.
A kind of computer readable storage medium is also provided in the embodiment of the present application, is stored in the computer readable storage medium The instruction for thering is catalogue to handle, when run on a computer, so that computer is executed such as earlier figures 2 to embodiment illustrated in fig. 4 Described in the step of terminal executes in catalogue processing method.
A kind of computer readable storage medium is also provided in the embodiment of the present application, is stored in the computer readable storage medium The instruction for thering is catalogue to handle, when run on a computer, so that computer is executed such as earlier figures 2 to embodiment illustrated in fig. 4 Described in the step of server executes in catalogue processing method.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device 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 system, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components It 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, the indirect coupling of device or unit It closes or communicates to connect, 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 personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the application Portion or part steps.And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey The medium of sequence code.
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 catalogue processing method, which is characterized in that it is applied to terminal, the method includes:
The first catalogue acquisition request is sent to server, so that the server reads described first according to first numerical value Catalogue, the first catalogue acquisition request include at least first numerical value of the first catalogue, and first numerical value is less than service The numerical value of all catalogues of device management;
Receive first catalogue that the server is sent;
Show first catalogue.
2. the method according to claim 1, wherein first numerical value is one page directory of terminal display The numerical value of Shi Suoxu catalogue,
It is described to show that first catalogue includes:
Show first catalogue of first page.
3. according to the method described in claim 2, it is characterized in that, after the first catalogue described in the displaying first page, institute The method of stating further includes:
When the duration for showing first catalogue is more than preset duration, the second catalogue acquisition request, second catalogue are triggered Acquisition request includes at least Article 2 numerical value and second reads origin identification, and the Article 2 numerical value is described terminal display one page The numerical value of required catalogue when catalogue, so that the server reads origin identification according to the Article 2 numerical value and described second Read second catalogue;
Receive second catalogue that the server is sent;
When the second catalogue for receiving user's typing checks request, second catalogue of second page is shown.
4. a kind of catalogue processing method, which is characterized in that it is applied to server, the method includes:
The first catalogue acquisition request that terminal is sent is received, the first catalogue acquisition request includes at least the first of the first catalogue Numerical value, first numerical value are less than the numerical value of all catalogues of directory management terminal management;
First catalogue is read, the numerical value of first catalogue is first numerical value;
First catalogue is sent to the terminal.
5. according to the method described in claim 4, it is characterized in that, the first catalogue acquisition request further includes first mesh The first of record reads origin identification,
The reading catalogue includes:
Origin identification is read as starting point using described first, reads first catalogue, the numerical value of first catalogue is described First numerical value.
6. method according to claim 4 or 5, which is characterized in that first numerical value is described terminal display one page The numerical value of catalogue needed for catalogue, first catalogue include third catalogue and the 4th catalogue,
Before reading first catalogue, the method also includes:
Judge whether the remaining item number of first catalogue reaches first numerical value;
It is described to read first catalogue and include:
If reaching first numerical value, the third catalogue is read, the numerical value of the third catalogue is described first Numerical value;
The method also includes:
If not up to described first numerical value, the 4th catalogue of the remaining article number is read.
7. a kind of terminal, which is characterized in that the terminal includes:
Transmission unit, for sending the first catalogue acquisition request to server, so that the server is according to first number Value reads first catalogue, and the first catalogue acquisition request includes at least first numerical value of the first catalogue, and described first Numerical value is less than the numerical value of all catalogues of server admin;
Receiving unit, first catalogue sent for receiving the server;
Display unit, for showing received first catalogue of the receiving unit.
8. a kind of server, which is characterized in that the server includes:
Receiving unit, for receiving the first catalogue acquisition request of terminal transmission, the first catalogue acquisition request is included at least First numerical value of the first catalogue, first numerical value are less than the numerical value of all catalogues of directory management terminal management;
Reading unit, for reading first catalogue, the numerical value of first catalogue is first numerical value;
Transmission unit, for first catalogue to be sent to the terminal.
9. a kind of terminal, which is characterized in that the terminal includes:Processor and memory are stored in the memory and are had the right It is required that the instruction of any catalogue processing of 1-3;
The processor is used to execute the instruction of the first catalogue processing stored in memory, executes as claim 1-3 is any The step of described catalogue processing method.
10. a kind of computer readable storage medium, which is characterized in that be stored at catalogue in the computer readable storage medium The instruction of reason, when run on a computer, so that computer executes any catalogue processing of the claims 1-3 Method;
Or when run on a computer, so that computer executes any catalogue processing of the claims 4-6 Method.
CN201810649519.0A 2018-06-21 2018-06-21 Catalogue processing method and relevant device Pending CN108833553A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810649519.0A CN108833553A (en) 2018-06-21 2018-06-21 Catalogue processing method and relevant device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810649519.0A CN108833553A (en) 2018-06-21 2018-06-21 Catalogue processing method and relevant device

Publications (1)

Publication Number Publication Date
CN108833553A true CN108833553A (en) 2018-11-16

Family

ID=64143282

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810649519.0A Pending CN108833553A (en) 2018-06-21 2018-06-21 Catalogue processing method and relevant device

Country Status (1)

Country Link
CN (1) CN108833553A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103442084A (en) * 2013-09-10 2013-12-11 杭州万格网络科技有限公司 Data box system capable of providing data exchanging, acquiring and sensing service and use method of data box system
CN104750786A (en) * 2015-03-09 2015-07-01 广东欧珀移动通信有限公司 Data display method and device
CN105119955A (en) * 2015-07-09 2015-12-02 中国科学院计算技术研究所 Method and system for supporting reading of multi-page directory in distributed file system
CN107491545A (en) * 2017-08-25 2017-12-19 郑州云海信息技术有限公司 The catalogue read method and client of a kind of distributed memory system
CN108111598A (en) * 2017-12-19 2018-06-01 腾讯科技(深圳)有限公司 Delivery method, device and the storage medium of cloud disk data

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103442084A (en) * 2013-09-10 2013-12-11 杭州万格网络科技有限公司 Data box system capable of providing data exchanging, acquiring and sensing service and use method of data box system
CN104750786A (en) * 2015-03-09 2015-07-01 广东欧珀移动通信有限公司 Data display method and device
CN105119955A (en) * 2015-07-09 2015-12-02 中国科学院计算技术研究所 Method and system for supporting reading of multi-page directory in distributed file system
CN107491545A (en) * 2017-08-25 2017-12-19 郑州云海信息技术有限公司 The catalogue read method and client of a kind of distributed memory system
CN108111598A (en) * 2017-12-19 2018-06-01 腾讯科技(深圳)有限公司 Delivery method, device and the storage medium of cloud disk data

Similar Documents

Publication Publication Date Title
CN104216695B (en) Page information to be showed is provided and shows the method and system of page info
CN102819461B (en) Desktop synchronous method, device, equipment and system
CN109391509A (en) A kind of method, system and the application server of more new application
CN111176976A (en) Test data generation method and device, storage medium and electronic device
CN106933871A (en) Short linking processing method, device and short linked server
CN108200220A (en) A kind of method of data synchronization, server and storage medium
CN102902531A (en) Customization and generation method and device of Android application program
CN102769640B (en) The update method of user profile, server and system
CN104090899B (en) A kind of method and apparatus of feedback display content information
CN102457579B (en) A kind of method and system realizing Business Processing in cloud terminal
CN110335111A (en) Data processing method, system, terminal and server
CN111935306B (en) Node scheduling method and device
CN103747436A (en) Application program downloading method and device
CN108875035B (en) Data storage method of distributed file system and related equipment
CN103312489A (en) Method and device for synchronizing terminal and server
CN111464352A (en) Call link data processing method and device
CN104572981B (en) A kind of Webpage method for caching and processing and mobile terminal device
CN108111598B (en) Cloud disk data issuing method and device and storage medium
CN109697281A (en) The online method, apparatus and electronic equipment for merging document
CN103634348A (en) Terminal device and method for releasing information
CN108833553A (en) Catalogue processing method and relevant device
CN115048140A (en) Version control method and device, electronic equipment and storage medium
CN115563160A (en) Data processing method, data processing device, computer equipment and computer readable storage medium
CN112688980B (en) Resource distribution method and device, and computer equipment
CN114579506A (en) Inter-processor communication method, system, storage medium, and processor

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: 20181116

RJ01 Rejection of invention patent application after publication