CN114218455A - Method, device, equipment and medium for quickly reading files - Google Patents

Method, device, equipment and medium for quickly reading files Download PDF

Info

Publication number
CN114218455A
CN114218455A CN202111532524.1A CN202111532524A CN114218455A CN 114218455 A CN114218455 A CN 114218455A CN 202111532524 A CN202111532524 A CN 202111532524A CN 114218455 A CN114218455 A CN 114218455A
Authority
CN
China
Prior art keywords
reading
file
read
files
page
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
CN202111532524.1A
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.)
Ping An Life Insurance Company of China Ltd
Original Assignee
Ping An Life Insurance Company of China 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 Ping An Life Insurance Company of China Ltd filed Critical Ping An Life Insurance Company of China Ltd
Priority to CN202111532524.1A priority Critical patent/CN114218455A/en
Publication of CN114218455A publication Critical patent/CN114218455A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/904Browsing; Visualisation therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/08Insurance

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention relates to a method, a device, equipment and a medium for quickly reading files, wherein the method comprises the steps of obtaining a plurality of reading files to be browsed and current reading states thereof, wherein the current reading states comprise current read, history read and incomplete; judging whether the reading mode of the uncompleted reading file is a forced reading mode, if so, determining the forced reading sequence of the uncompleted reading file, integrating the uncompleted reading file according to the forced reading sequence to generate a first reading page, and feeding the first reading page back to a user for browsing; when the browsing progress of the first reading page is detected to be finished, changing the current reading state of each reading file in the first reading page into the current reading state; and outputting all reading file lists with the reading states of the current read file list and the history read file list for the user to confirm, and finishing the browsing of all reading files after the user confirms. The invention realizes the quick browsing of the reading file and improves the browsing efficiency.

Description

Method, device, equipment and medium for quickly reading files
Technical Field
The invention is applicable to the field of data processing, and particularly relates to a method, a device, equipment and a medium for quickly reading a file.
Background
In the prior art, in some scenarios, a user is required to read a plurality of electronic files, for example, when the user purchases an insurance product, all insurance terms embedded in an insurance electronic order page need to be read, each insurance term is embedded in the insurance electronic order page in a text link manner, and before placing an order, the user needs to click the link of each insurance term (equivalent to that each insurance term constitutes an electronic file) one by one on the order page to complete reading of each electronic file, and then can perform the next user operation, that is, order payment operation, where the above-mentioned reading manner of opening the electronic file after clicking one by one has the following disadvantages: in the reading process of each electronic file, a user is required to continuously open a new page of the electronic file to be read and close an old page of the electronic file which is completely read, so that the operation in the reading process is complicated, and the service efficiency is reduced.
Before a user selects a certain insurance product, the user usually needs to compare and select among a plurality of related insurance products, and reads the documents (i.e. the insurance clauses mentioned above) of the related products to know the insurance information and details of each insurance product so as to judge which insurance product is more suitable for the user, when the user finally selects a certain insurance product, the user needs to click the links of each electronic document one by one on an order page and read one by one, and part of the documents are browsed in the previous product comparison process, so that the user reads part of the documents repeatedly, therefore, the reading mode of clicking the links of the documents one by one brings poor reading experience to the user, and the efficiency of order business transaction is also reduced.
Disclosure of Invention
In view of this, the invention provides a method, an apparatus, a device and a medium for fast reading a file, so as to solve the problems of complex operation and poor customer experience caused by reading the file by clicking the link one by one in the prior art.
In a first aspect, a technical solution of a method for quickly reading a file is provided, which includes:
acquiring a plurality of reading files to be browsed and current reading states thereof, wherein the current reading states comprise: current read, history read and not completed;
when the reading mode of the uncompleted reading file is detected to be a forced reading mode, determining a forced reading sequence of the uncompleted reading file;
integrating the unfinished reading files according to the forced reading sequence of the unfinished reading files to generate a first reading page, and feeding the first reading page back to a user for browsing;
when the browsing progress of the first reading page is detected to be finished, updating the current reading state of the unfinished reading file to be currently read;
and generating a read list from the file information of all read files with the current reading state being current read and history read, and outputting the read list for a user to confirm.
In a second aspect, a technical solution of a fast document reading device is provided, which includes:
the file extraction module is used for acquiring a plurality of reading files to be browsed and current reading states thereof, wherein the current reading states comprise: current read, history read and not completed;
a reading mode judging module, configured to judge whether a reading mode of the uncompleted reading file is a forced reading mode, and determine a forced reading order of the uncompleted reading file when it is detected that the reading mode of the uncompleted reading file is the forced reading mode;
the page synthesis module is used for integrating the unfinished reading files according to the forced reading sequence of the unfinished reading files to generate a first reading page;
the state updating module is used for updating the current reading state of the unfinished reading file to be currently read when the browsing progress of the first reading page is detected to be finished;
and the confirming module is used for generating a read list from the file information of all read files with the current reading state of current read and history read and outputting the read list for the user to confirm.
In a third aspect, a technical solution of a computer device is provided, where the computer device includes a processor, a memory, and a computer program stored in the memory and executable on the processor, and the processor implements the method for fast reading a file according to the first aspect when executing the computer program.
In a fourth aspect, a technical solution of a computer-readable storage medium is provided, where the computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement the method for quickly reading a file according to the first aspect.
Compared with the prior art, the technical scheme of the invention has the following beneficial effects:
the reading files to be browsed are distinguished through the reading states, whether the unfinished reading files are in a forced reading mode or not is judged, if the unfinished reading files are in the forced reading mode, all the unfinished reading files are uniformly integrated into a reading page according to a specific reading sequence for a user to browse, the user can conveniently read the recommended reading files through the uniform reading page at one time, the historical read files are not integrated into the reading page, the method is equivalent to screening out the historical read files, the user is not recommended to repeatedly browse the files read in a certain historical period, the reading files are quickly browsed, and the browsing efficiency is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic diagram of an application environment of a method for quickly reading a document according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a method for quickly reading a document according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating a procedure for classifying reading documents into three categories according to predetermined conditions according to an embodiment of the present invention;
FIG. 4 is a flowchart illustrating a step of generating a first reading page according to an embodiment of the present invention;
FIG. 5 is a flowchart illustrating a method for determining whether a reading document is in a current mode according to an embodiment of the present invention;
FIG. 6 is a schematic diagram illustrating an integration process of a temporary reading page according to an embodiment of the present invention;
FIG. 7 is a flowchart illustrating a method for fast reading a document according to a second embodiment of the present invention;
fig. 8 is a schematic structural diagram of a fast document reading apparatus according to a third embodiment of the present invention;
fig. 9 is a schematic structural diagram of a computer device according to a fourth embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
It should be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to" determining "or" in response to detecting ". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
Furthermore, in the description of the present invention and the appended claims, the terms "first," "second," "third," and the like are used for distinguishing between descriptions and not necessarily for describing or implying relative importance.
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present invention. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise.
It should be understood that, the sequence numbers of the steps in the following embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
The method for quickly reading the file provided by the embodiment of the invention can be applied to an application environment as shown in fig. 1, wherein a client communicates with a server. The client includes, but is not limited to, a palm top computer, a desktop computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a cloud terminal device, a Personal Digital Assistant (PDA), and other terminal devices. The server can be implemented by an independent server or a server cluster composed of a plurality of servers.
Referring to fig. 2, which is a flowchart illustrating a method for quickly reading a file according to an embodiment of the present invention, the method for quickly reading a file may be applied to the client in fig. 1, and a corresponding terminal device is connected to a target database through a preset Application Programming Interface (API). When the target data is driven to run to execute corresponding tasks, corresponding task logs can be generated, and the task logs can be collected through the API. As shown in fig. 2, the method for quickly reading a document may include the following steps:
s10: acquiring a plurality of reading files to be browsed and current reading states thereof, wherein the current reading states comprise: current read, history read and not completed.
For example, n reading files to be browsed are acquired, wherein n is larger than or equal to 2, the reading files are classified, the reading files are divided into three types according to preset conditions, each type of reading file corresponds to a reading state, namely, the first type of reading file comprises a currently read reading file (hereinafter, simply referred to as a currently read file), the second type of reading file comprises a history read reading file (hereinafter, simply referred to as a history read file), the third type of reading file comprises an uncompleted reading file, and the uncompleted reading file is divided into an unread file and an unread file.
Understandably, when the number of the files in the first class is detected to be zero, the files which are not read completely are indicated; when the number of the second type of files is detected to be zero, the n reading files read at this time are read for the first time, and related files are not read before; when the number of the files in the third class is detected to be zero, the n reading files are indicated to be browsed in a current reading and historical reading mode.
In general, the third type of files includes two types, namely unread files and unread files, and the states of the third type of files are divided into two types according to the detected reading condition of the files, wherein one state is that only unread files exist in the third type of files, and the other state is that both unread files and unread files exist in the third type of files.
As shown in fig. 3, the sub-step of dividing the reading documents into three categories according to the preset condition in this step includes:
s101: executing a preset condition, wherein the preset condition comprises detecting user identity information of browsed current reading files, extracting file browsing records of a user according to the user identity information, comparing files in the file browsing records with n reading files to be browsed at this time, and judging whether any file in the n reading files is recorded in the file browsing records.
In this step, the set historical time may be one day, two days, or several days, or may be a plurality of time periods, for example, within 12 hours, or may be a month or several months.
It can be understood that the preset condition can also be implemented in other manners, for example, after the reading program is triggered, the running state of the current program is detected, if the running state of the current program is in normal running and the current program is not closed, the file browsing record of the user is extracted according to the user identity information, whether n reading files to be browsed at this time exist in the file browsing record is compared, and the number of the files is counted.
The above mentioned that the running state of the current program is in normal running means that the current program runs in the background or foreground of the terminal device, and the current program is not killed.
S102: and preliminarily dividing the files recorded in the file browsing record into second files and preliminarily dividing the files which are not recorded in the file browsing record into third files in the n reading files to be browsed.
In this step, if none of the n read files is recorded in the file browsing record, the number of files in the second type of file is zero; and if the n reading files are all recorded in the file browsing record, which indicates that all the files have been read, the number of the files in the third type of file is zero.
S103: and when detecting that none of the n reading files is browsed, setting the initial file number in the first type of files to be zero.
It can be understood that if it is detected that none of the n read files has been browsed, it indicates that there is no currently read file, and therefore the initial number of files in the first type of file is zero.
Optionally, a specific implementation scenario of step S10 is as follows: the reading document to be browsed is n insurance clause documents specified in an insurance application page (i.e. an insurance electronic order page), each insurance clause document is a reading document, and before the insurance application, a user may read insurance clauses in a plurality of insurance product insurance application pages, and the same insurance clauses exist in a plurality of insurance product application pages, for example, the user reads the reading clause document of the insurance product A but does not purchase the insurance product, and then knows the insurance product B, in the insurance product B application page, part of the insurance clause document is the one that the user has just browsed from the insurance product a product detail page, such insurance clause documents browsed through other channels can be classified into a second type of documents, and insurance clause documents never browsed and insurance clause documents not browsed can be classified into a third type of documents.
S20: when the reading mode of the uncompleted reading file is detected to be a forced reading mode, determining a forced reading sequence of the uncompleted reading file; and integrating the uncompleted read files according to the forced reading sequence of the uncompleted read files to generate a first read page, and feeding the first read page back to a user for browsing.
Specifically, as shown in fig. 4, the step of generating the first reading page integrally includes:
s21: extracting unread files and unread files from the incomplete reading files, setting the unread files as a first reading priority level, and setting the unread files as a second reading priority level;
s22: extracting first character contents in all unread files and extracting second character contents in all unread files;
s23: and combining the first text content and the second text content according to the mandatory reading sequence with the first reading priority level prior to the second reading priority level, and combining to generate the first reading page.
It can be understood that in this step, the document reading mode is divided into a forced reading mode and a non-forced reading mode, and the meaning of the forced reading mode is as follows: if the next user operation (such as insurance ordering operation) is required, the purpose of completing browsing the n reading files is achieved; the meaning of the non-mandatory reading mode is: and when the next user operation is not carried out, allowing the user to browse and watch.
As shown in fig. 5, the method for determining the current mode of the reading document is as follows:
s201: and detecting a browsing channel to which the reading file belongs, and if the browsing channel to which the reading file belongs is detected to be an order submission page, judging that the file reading mode of the uncompleted reading file is a forced reading mode.
S202: and if the browsing channel to which the reading file belongs is detected to be a product information detail page, judging that the file reading mode of the uncompleted reading file is a non-mandatory reading mode. Unforced reading mode
Understandably, if the file reading mode is a non-forced reading mode, the reading states of the three types of files are displayed, the set reading sequence under the non-forced reading mode is determined, the set reading sequence is the non-forced reading sequence of the unfinished reading file and the historically read reading file, and the unfinished reading file and the historically read reading file are integrated according to the non-forced reading sequence to generate a temporary reading page. As shown in fig. 6, the process of integrating the temporary reading page includes:
s210: setting the unfinished reading file as a first reading priority level, and setting the historical read reading file as a second reading priority level;
s220: extracting first text contents in all unfinished reading files and extracting second text contents in all historical read reading files;
s230: and merging the first text content and the second text content according to the non-mandatory reading sequence with the priority of the first reading higher than the priority of the second reading, and merging to generate the temporary reading page.
Understandably, in the non-forced reading mode, generating a display page containing reading states of three types of files, wherein n selectable control keys of the reading files and the reading states of the n reading files are arranged in the display page, and each selectable control key is used for opening a corresponding reading file according to the detected control key operation instruction; when a control key operation instruction is detected through a certain selectable control key, the unfinished reading file and the historically read reading file are integrated according to the set unforced reading sequence.
As another embodiment, other non-mandatory reading orders may also be set, for example, a reading file corresponding to a key operation instruction detected by a certain selectable key is set as a first reading priority level, the unfinished reading file is set as a second priority level, and the historically read reading file is set as a third reading priority level.
It can be understood that the reason why the selectable control keys are set to detect that the reading file corresponding to the control key operation instruction is the first reading priority level is that in the non-forced reading mode, the user is allowed to skip and browse the interested file, that is, the user selects a certain interested file as the first reading priority level of the non-forced reading order.
Understandably, when a reading file corresponding to the control key operation instruction is detected to be a reading file which is read historically through a certain selectable control key, the set non-mandatory reading sequence is as follows: and the reading file corresponding to the control key operation instruction detected by a certain selectable control key is taken as a first reading priority level, the unfinished reading file is taken as a second reading priority level, and the reading file with the rest history read is taken as a third reading priority level.
Similarly, when the reading file corresponding to the control key operation instruction is detected to be a certain unfinished reading file through a certain selectable control key, the set unforced reading sequence is as follows: and the reading file corresponding to the control key operation instruction detected by a certain selectable control key is taken as a first reading priority level, the remaining unfinished reading files are taken as a second reading priority level, and all the historical read reading files are taken as a third reading priority level.
S30: and updating the current reading state of the unfinished reading file to be currently read when the browsing progress of the first reading page is detected to be finished.
Specifically, the tracking the browsing progress of the user includes:
detecting whether the first reading page slides from the top of the page to the bottom of the page in the current display screen; detecting the sliding of the first reading page comprises detecting whether a sliding instruction exists on the display screen or outputting a sliding detection result of the first reading page through whether a sliding gesture is detected by the display screen device; and if the sliding detection result is that the first reading page slides to the bottom of the page, determining that the browsing of the first reading page is finished.
For example, judging the amplitude of the gesture operation of the user detected by the display screen device, determining whether to turn the page of the first reading page, and performing page turning skip of the file when the amplitude of the gesture operation detected is larger than a set amplitude threshold value.
By tracking the browsing progress of the user in real time, when the browsing completion of a reading file of which the original type is a third type file is detected, the type of the reading file is marked and updated to be the first type file, so that the updating of the file type is realized.
In one embodiment, the display screen is provided with an operation control key for "sliding upwards to complete reading", the operation control key is used for detecting an operation instruction, and the browsing page of a certain file in the first reading page is positioned to the last page of the file according to the operation instruction, so that the effect is that a user can quickly read and complete the current file.
In one embodiment, a menu area, a preview area and a sliding area are further arranged in the first reading page, wherein the sliding area comprises a sliding strip for detecting that a sliding operation is performed in the area; the menu area comprises a directory option and a return option, the directory option is used for finding out the directory of each file according to the detected directory instruction, and the return option is used for returning to and exiting from the first reading page in the browsing process of the current file according to the detected return instruction.
In one embodiment, after the above file type is updated from the third type to the first type, if the user quits the reading, the file type is updated from the first type to the second type. The reason for the update to the second category is: when the user quits the reading, the reading is finished, the reading state of the file needs to be changed from the current reading state to the historical reading state, and the reading state of the file is stored in the file browsing record.
It can be understood that the effect of updating the file classification in this step is that, as the reading progress of the user changes, the classification of each file is in the dynamic updating process, and when the user starts the browsing of the n read files next time, starting from step S10, the latest classification condition of the n files is recorded, and the steps are executed in order again to implement the fast browsing of the next file reading.
S40: and generating a read list from the file information of all read files with the current reading state being current read and history read, and outputting the read list for a user to confirm. The method specifically comprises the following steps:
and generating a display page according to the file list, wherein the display page displays the reading states of the first type of files and the second type of files, the reading state of the first type of files is currently read, and the reading state of the second type of files is historically read. And a confirmation option is arranged in the display page, the confirmation option is used for detecting a confirmation instruction, and browsing of all read files is completed according to the confirmation instruction.
Referring to fig. 7, which is a schematic flow chart of a fast document reading method according to a second embodiment of the present invention, the fast document reading method may include the following steps:
s100: acquiring a plurality of reading files to be browsed and current reading states thereof, wherein the current reading states comprise: current read, history read and not completed;
s200: when the reading mode of the uncompleted reading file is detected to be a forced reading mode, determining a forced reading sequence of the uncompleted reading file;
integrating the unfinished reading files according to the forced reading sequence of the unfinished reading files to generate a first reading page, and feeding the first reading page back to a user for browsing;
s300: when the browsing progress of the first reading page is detected to be finished, updating the current reading state of the unfinished reading file to be currently read;
s400: and generating a read list from the file information of all read files with the current reading state being current read and history read, and outputting the read list for a user to confirm.
The contents of steps S100 to S400 are the same as those of steps S10 to S40, and reference may be made to the description of steps S10 to S40, which are not repeated herein.
S500: judging whether confirmation information of file reading completion is detected, and if so, sending a query prompt for reading the history read reading file; detecting query reply information of the read history read reading file, if the query reply information is reading confirmation, integrating the read history read file to generate a second reading page, and feeding the second reading page back to a user for browsing; and if the inquiry reply message does not need to be read, browsing all the read files is finished.
And after the second reading page is generated, tracking the browsing progress of the user, and when the browsing of the second reading page is finished, changing the current reading state of each reading file in the second reading page into the current reading state, so that the browsing of all the reading files is finished.
The method for quickly reading the file has the following advantages:
(1) the reading files to be browsed at this time can be classified and then screened according to the historical browsing records of the user, only the third type of files (unfinished reading files) are selected to be integrated in a forced reading mode and integrated into a reading page for the user to browse, and browsing is not recommended if the current read files belonging to the first type of files and the historical read files belonging to the second type of files are browsed, so that the reading files are quickly browsed, and the browsing efficiency is improved.
(2) And updating the category of each file in real time according to the browsing progress of the user in the browsing process, providing reasonable file classification for the user in the next browsing process, and ensuring that the user can still browse the files quickly when browsing the files next time.
Corresponding to the file fast reading method in the foregoing embodiment, fig. 8 shows a structural block diagram of a file fast reading apparatus provided in a third embodiment of the present invention, where the file fast reading apparatus is applied to a terminal device, and the terminal device is connected to a target database through a preset application program interface. When the target database is driven to run to execute corresponding tasks, corresponding task logs can be generated, and the task logs can be collected through the API. For convenience of explanation, only portions related to the embodiments of the present invention are shown.
Referring to fig. 8, the document quick reading device includes:
the file extracting module 81 is configured to obtain a plurality of reading files to be browsed and current reading states thereof, where the current reading states include: current read, history read and not completed;
a reading mode determining module 82, configured to determine whether a reading mode of the uncompleted reading file is a forced reading mode, and determine a forced reading order of the uncompleted reading file when the reading mode of the uncompleted reading file is detected to be the forced reading mode;
the page synthesis module 83 is configured to integrate the unfinished read file according to the forced reading order of the unfinished read file, and generate a first read page;
a status updating module 84, configured to update the current reading status of the unfinished reading file to be currently read when it is detected that the browsing progress of the first reading page is finished;
the confirming module 85 is configured to generate a read list from file information of all read files whose current reading states are currently read and history read, and output the read list for a user to confirm.
Optionally, the reading mode determining module 82 includes:
the channel detection module is used for browsing channels to which the reading files belong;
the judging module is used for judging a reading mode according to the browsing channel to which the reading file belongs, and if the browsing channel to which the reading file belongs is detected to be an order submitting page, judging that the file reading mode of the unfinished reading file is a forced reading mode; if the browsing channel to which the reading file belongs is detected to be a product information detail page, judging that the file reading mode of the unfinished reading file is a non-mandatory reading mode;
and the level setting module is used for extracting unread files and unread files from the incomplete reading files, setting the unread files as a first reading priority level, and setting the unread files as a second reading priority level.
Optionally, the page composition module 83 includes:
the content extraction module is used for extracting first character contents in all unread files and extracting second character contents in all unread files;
and the content merging module is used for merging the first text content and the second text content according to the mandatory reading sequence with the first reading priority level prior to the second reading priority level, and merging to generate the first reading page.
Optionally, the determining module is further configured to determine an unforced reading sequence of the uncompleted read file and the historically read file after determining that the file reading mode of the uncompleted read file is an unforced reading mode.
The page synthesis module 83 is further configured to integrate the unfinished reading file and the historically read reading file according to the non-mandatory reading order, generate a temporary reading page, and feed back the temporary reading page to a user for browsing.
Optionally, the document fast reading apparatus further includes:
the temporary page synthesis module is used for setting the unfinished reading file as a first reading priority level and setting the historical read reading file as a second reading priority level; extracting first text contents in all unfinished reading files and extracting second text contents in all historical read reading files; and merging the first text content and the second text content according to the non-mandatory reading sequence with the priority of the first reading higher than the priority of the second reading, and merging to generate the temporary reading page.
Optionally, the fast document reading device further includes:
the query module is used for judging whether the confirmation information of the completion of the reading of the file is detected or not, and if so, sending a query prompt for reading the read file which is read in the history;
the reply detection module is used for detecting query reply information of the read file which is read historically within the set time after the query prompt is sent, and confirming that the query reply information is read affirmatively or does not need to be read;
the page synthesizing module 83 is further configured to, if the query reply message is a reading confirmation message, integrate the reading files that have been read historically to generate a second reading page, and feed the second reading page back to the user for browsing.
The confirmation module 85 is further configured to output a list of all read files for the user to confirm when the query reply message is read-free.
It should be noted that, because the contents of information interaction, execution process, and the like between the modules are based on the same concept as the method embodiment of the present invention, specific functions and technical effects thereof may be referred to specifically in the method embodiment section, and are not described herein again.
Fig. 9 is a schematic structural diagram of a computer device according to a fourth embodiment of the present invention. As shown in fig. 9, the computer device of this embodiment includes: at least one processor (only one shown in fig. 9), a memory, and a computer program stored in the memory and executable on the at least one processor, the processor implementing the steps of any of the above-described embodiments of the method for fast reading a document when executing the computer program.
The computer device may include, but is not limited to, a processor, a memory. It will be appreciated by those skilled in the art that fig. 9 is merely an example of a computer device and is not intended to be limiting, and that a computer device may include more or fewer components than those shown, or some components may be combined, or different components may be included, such as a network interface, a display screen, and input devices, etc.
The Processor may be a CPU, or other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory includes a readable storage medium, an internal memory and the like, wherein the internal memory may be a memory of the terminal device, and the internal memory provides an environment for an operating system and execution of computer-readable instructions in the readable storage medium. The readable storage medium may be a hard disk of the terminal device, and in other embodiments, may also be an external storage device of the terminal device, for example, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like provided on the terminal device. Further, the memory may also include both an internal storage unit of the terminal device and an external storage device. The memory is used for storing an operating system, application programs, a BootLoader (BootLoader), data, and other programs, such as program codes of a computer program, and the like. The memory may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules, so as to perform all or part of the functions described above. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention. The specific working processes of the units and modules in the above-mentioned apparatus may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again. The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method of the above embodiments may be implemented by a computer program, which may be stored in a computer readable storage medium and used by a processor to implement the steps of the above method embodiments. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include at least: any entity or device capable of carrying computer program code, recording medium, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, and software distribution media. Such as a usb-disk, a removable hard disk, a magnetic or optical disk, etc. In certain jurisdictions, computer-readable media may not be an electrical carrier signal or a telecommunications signal in accordance with legislative and patent practice.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, a module or a unit may be divided into only one logical function, and may be implemented in other ways, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
The above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (10)

1. A method for quickly reading a file is characterized by comprising the following steps:
acquiring a plurality of reading files to be browsed and current reading states thereof, wherein the current reading states comprise: current read, history read and not completed;
when the reading mode of the uncompleted reading file is detected to be a forced reading mode, determining a forced reading sequence of the uncompleted reading file;
integrating the unfinished reading files according to the forced reading sequence of the unfinished reading files to generate a first reading page, and feeding the first reading page back to a user for browsing;
when the browsing progress of the first reading page is detected to be finished, updating the current reading state of the unfinished reading file to be currently read;
and generating a read list from the file information of all read files with the current reading state being current read and history read, and outputting the read list for a user to confirm.
2. The method for rapidly reading a document according to claim 1, wherein the step of integrating the unfinished read document according to the mandatory reading order of the unfinished read document to generate a first read page comprises:
extracting unread files and unread files from the incomplete reading files, setting the unread reading files as a first reading priority level, and setting the unread reading files as a second reading priority level;
extracting first text contents in all unread reading files and extracting second text contents in all unread reading files;
and combining the first text content and the second text content according to the mandatory reading sequence with the first reading priority level prior to the second reading priority level, and combining to generate the first reading page.
3. The method for quickly reading a document according to claim 1, wherein the determining whether the reading mode of the unfinished read document is the forced reading mode comprises:
detecting a browsing channel to which the reading file belongs, and if the browsing channel to which the reading file belongs is detected to be an order submission page, judging that a file reading mode of the uncompleted reading file is a forced reading mode;
and if the browsing channel to which the reading file belongs is detected to be a product information detail page, judging that the file reading mode of the uncompleted reading file is a non-mandatory reading mode.
4. The method for quickly reading a document according to claim 3, further comprising:
after detecting that the file reading mode of the unfinished reading file is a non-mandatory reading mode, determining the non-mandatory reading sequence of the unfinished reading file and the historical read reading file;
and integrating the unfinished reading files and the historical read files according to the unforced reading sequence to generate a temporary reading page, and feeding the temporary reading page back to a user for browsing.
5. The method for rapidly reading a document according to claim 4, wherein the integrating the unfinished reading document and the historically read reading document according to the unforced reading order to generate a temporary reading page comprises:
setting the unfinished reading file as a first reading priority level, and setting the historical read reading file as a second reading priority level;
extracting first text contents in all unfinished reading files and extracting second text contents in all historical read reading files;
and merging the first text content and the second text content according to the non-mandatory reading sequence with the priority of the first reading higher than the priority of the second reading, and merging to generate the temporary reading page.
6. The method for quickly reading a document according to claim 1, further comprising, after generating the first reading page:
detecting whether the first reading page slides from the top of the page to the bottom of the page in the current display screen; detecting the sliding of the first reading page comprises detecting whether a sliding instruction exists on the display screen or outputting a sliding detection result of the first reading page through whether a sliding gesture is detected by the display screen device;
and if the sliding detection result is that the page is slid to the bottom end of the page, determining that the browsing progress of the first reading page is finished.
7. The method for quickly reading a document according to any one of claims 1 to 3, wherein after outputting a list of all read documents whose reading statuses are currently read and historically read for confirmation by a user, the method further comprises:
judging whether confirmation information of file reading completion is detected, and if so, sending a query prompt for reading the history read reading file;
detecting query reply information of the read history read reading file, if the query reply information is reading confirmation, integrating the read history read file to generate a second reading page, and feeding the second reading page back to a user for browsing;
and if the inquiry reply message does not need to be read, browsing all the read files is finished.
8. A device for rapid reading of documents, comprising:
the file extraction module is used for acquiring a plurality of reading files to be browsed and current reading states thereof, wherein the current reading states comprise: current read, history read and not completed;
the reading mode judging module is used for judging whether the reading mode of the uncompleted reading file is a forced reading mode or not, and determining the forced reading sequence of the uncompleted reading file when the reading mode of the uncompleted reading file is detected to be the forced reading mode;
the page synthesis module is used for integrating the unfinished reading files according to the forced reading sequence of the unfinished reading files to generate a first reading page;
the state updating module is used for updating the current reading state of the unfinished reading file to be currently read when the browsing progress of the first reading page is detected to be finished;
and the confirming module is used for generating a read list from the file information of all read files with the current reading state of current read and history read and outputting the read list for the user to confirm.
9. A computer device comprising a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, implements a method for fast reading of documents as claimed in any one of claims 1 to 7.
10. A computer-readable storage medium, in which a computer program is stored, which, when being executed by a processor, implements a method for quickly reading a document according to any one of claims 1 to 7.
CN202111532524.1A 2021-12-15 2021-12-15 Method, device, equipment and medium for quickly reading files Pending CN114218455A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111532524.1A CN114218455A (en) 2021-12-15 2021-12-15 Method, device, equipment and medium for quickly reading files

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111532524.1A CN114218455A (en) 2021-12-15 2021-12-15 Method, device, equipment and medium for quickly reading files

Publications (1)

Publication Number Publication Date
CN114218455A true CN114218455A (en) 2022-03-22

Family

ID=80702222

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111532524.1A Pending CN114218455A (en) 2021-12-15 2021-12-15 Method, device, equipment and medium for quickly reading files

Country Status (1)

Country Link
CN (1) CN114218455A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114706643A (en) * 2022-03-25 2022-07-05 中国建设银行股份有限公司 Page signing processing method and device
CN115378904A (en) * 2022-10-26 2022-11-22 泰豪信息技术有限公司 Mail receipt sending method, system, storage medium and equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114706643A (en) * 2022-03-25 2022-07-05 中国建设银行股份有限公司 Page signing processing method and device
CN115378904A (en) * 2022-10-26 2022-11-22 泰豪信息技术有限公司 Mail receipt sending method, system, storage medium and equipment

Similar Documents

Publication Publication Date Title
CN114218455A (en) Method, device, equipment and medium for quickly reading files
US7289974B2 (en) System and method for data reconciliation
CN111858366B (en) Test case generation method, device, equipment and storage medium
CN105224654A (en) A kind of Web browsing mode changing method and electronic equipment
CN111753203A (en) Card number recommendation method, device, equipment and medium
CN111553749A (en) Activity push strategy configuration method and device
CN115760404A (en) Stock reduction scheme generation method, system, terminal and storage medium
US20100057733A1 (en) Method, computer program product, and apparatus for enabling access to enterprise information
CN113296912B (en) Task processing method, device, system, storage medium and electronic equipment
CN115357587A (en) Business form generation method and system, electronic equipment and readable storage medium
CN108460159B (en) Information reply method, terminal equipment and computer readable storage medium
CN114201157A (en) Method and system for customizing target service module by low code
CN114356330A (en) Page configuration method and device, electronic equipment and storage medium
CN108255920A (en) Display methods, device, equipment and the storage medium of organization names retrieval type
CN113436023A (en) Financial product recommendation method and device based on block chain
JP7112260B2 (en) Management accounting data creation support device, management accounting data creation support method, and management accounting data creation support program
CN113434765A (en) Client return visit method, system, equipment and storage medium
CN113434063A (en) Information display method, device and equipment
CN111582648A (en) User policy generation method and device and electronic equipment
CN112765448A (en) User label mining method, device, server and storage medium
CN111401395A (en) Data processing method, terminal equipment and storage medium
CN112948720B (en) Interaction optimization method and device based on user behaviors and computer equipment
TWM560616U (en) An electronic device for providing an associated menu
US11272022B2 (en) Server for generating integrated usage log data and operating method thereof
CN114138978A (en) Virtual resource processing method, device, equipment and storage medium

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