Specific embodiment
In order to make those skilled in the art more fully understand the technical solution in this specification embodiment, below in conjunction with this
Attached drawing in specification embodiment is described in detail the technical solution in this specification embodiment, it is clear that described
Embodiment is only a part of the embodiment of this specification, instead of all the embodiments.The embodiment of base in this manual,
Those of ordinary skill in the art's every other embodiment obtained, all should belong to the range of protection.
For problem of the prior art, this specification embodiment provides a kind of document reading conditions processing method, referring to Fig. 1
Shown, this method may comprise steps of:
S101 receives document display operation triggering, shows the specified destination document of operation triggering;
User can be by the client reading documents of terminal device, and the terminal device in this specification embodiment can be
The equipment that mobile phone, tablet computer, desktop computer etc. can show document;And client can be the browsing installed in terminal device
Device client, or ocr software, social software etc. can show other private clients of document, and this specification is implemented
Example to this without limitation.
In addition, document display here operates triggering, can be triggered for document opening operation, for example, user passes through click
Hyperlink clicks the modes such as document files, opens certain document webpage or document files;Or Document retrieval display operation touching
Hair, for example, user opens certain document webpage by computer browser, then the document webpage quilt when user is switched to other webpages
It hides, document display operation triggering has been carried out when user switches back into the document webpage.
S102 judges the destination document in the case where receiving any operation triggering for the destination document
Current state;
The destination document of client current presentation is usually read state or page turning state, and read state indicates that user is current
The destination document is being read, and if page turning state indicates that user currently just in page turning and is skipping the dry plate of the destination document
Section.
In this specification embodiment, the current state of the destination document, this theory can be specifically judged in several ways
Bright book embodiment is to this and without limitation.
In a specific embodiment, it usually requires to carry out page turn over operation triggering in page turning due to user, it can
To determine whether to receive page turn over operation triggering first, if not receiving page turn over operation triggering, it is determined that.
Further, if receiving page turn over operation triggering, can directly determine the destination document currently is page turning state.
It, can in order to more accurately determine the current state of destination document but in view of user may read while page turning
To determine that the operation triggers corresponding page-turning speed, and judge whether the page-turning speed is greater than pre-set velocity threshold value.
Specifically, threshold speed can page-turning speed data of the counting user under read state and page turning state in advance,
And obtain to carry out the threshold speed of state differentiation after handling data with user.It is understood that this specification is real
It applies and does not need to limit page turning mode in example, for example, can be therefore corresponding by the various ways page turning such as rolling, covering, emulation
Ground, or different page turning modes preset different threshold speeds, it might even be possible to be different types of document or each document
It is respectively provided with corresponding threshold speed, to more accurately distinguish between read state and page turning state, those skilled in the art can root
Threshold speed is flexibly set according to actual demand, this specification embodiment does not limit this.
After judging whether the page-turning speed is greater than pre-set velocity threshold value, if the page-turning speed is greater than pre-set velocity threshold
Value, it is determined that the destination document is currently page turning state;Otherwise determine that the destination document is currently read state.
S103 records the reading that the destination document is currently shown if the destination document is currently read state
Segment, and counting user reads the segment for reading segment and reads duration;And it reads duration according to preset segment and reads
The corresponding relationship for reading auxiliary strategy is determined from default reading auxiliary set of strategies for the reading auxiliary plan for reading segment
Slightly, the auxiliary strategy of reading is for providing a user reading auxiliary according to the content for reading segment;
When the document reading conditions to user are handled, can judge to use according to user to the reading duration of segment
Whether family encounters query or the segment when reading the segment understands difficulty in the presence of certain, it is desirable to provide reads auxiliary.Therefore,
Reading auxiliary set of strategies can be preset, and different fragments are set and read duration and the different corresponding relationships for reading auxiliary strategy.
For example, can be the relevant document of user's recommendation by reading auxiliary strategy, that is, read in auxiliary set of strategies
It may include auxiliary document push strategy, for extracting several reading additional keys from the segment contents for reading segment
Word, and text is assisted according to the reading associated with the reading segment contents of the true directional user's push of extracted keyword
Shelves.
For another example, strategy prompt document maintenance personnel the document can be assisted more difficult by reading, needs to modify and compile
Reduction reading difficulty is collected, that is, reading in auxiliary set of strategies may include that the prompt of document difficulty is tactful, be used for document maintenance personnel
The prompt of document difficulty is issued, so that document maintenance personnel edits the content for reading segment according to the prompt.
For another example, artificial or intelligent question answer service window etc. can be pushed to user by reading auxiliary strategy, to
User provides the ancillary service that should be readily appreciated that document content, and this specification embodiment specifically reads auxiliary strategy without limitation.
Duration is being read according to preset segment and is reading the corresponding relationship of auxiliary strategy, assists set of strategies from default reading
When middle determination assists strategy for the reading for reading segment, it can determine to preset first and read respectively readding in auxiliary set of strategies
It reads the corresponding segment of auxiliary strategy and reads duration range, duration range, the piece that will be counted then are read according to each segment
Section is read the corresponding auxiliary strategy of reading of duration and is determined as the reading auxiliary strategy for reading segment.For example, segment is read
Auxiliary document push strategy is corresponded to when 2-5 minutes a length of when reading, 5-10 minute whens correspond to document difficulty and prompt strategy, etc..
S104 is recorded to skip in the destination document and do not read if the destination document is currently page turning state
Non- read tablet section;
S105 extracts several user demand features from the segment contents of the reading segment and non-read tablet section, and to
Recommend the document with extracted user demand characteristic matching in family.
The segment contents that can also be read according to user in this specification embodiment and not read, the document for obtaining user are read
Demand, to recommend other documents for meeting user demand to user.
For example, segment contents can be carried out with semantic analysis, extract keyword from segment contents, piece is read according to user
Section determines the content of user's concern, and determines the content that user is not concerned with according to user of unread segment, to recommend to accord with to user
Close the document of user demand.
For another example, can also other operations according to user to document, such as choose, duplication, notes, highlighted, annotation operate,
Obtain user document reading requirement go forward side by side compose a piece of writing shelves recommendation.
Further, it is also possible to which reading duration of the counting user to destination document entirety has to analyze the reading experience of document
Body can start the statistics that duration is read to document in the case where receiving document display operation triggering, if it is newly beating
The document opened if it is the document for restoring display after hiding, is then read then to start the statistics that document reads duration to continue document
The statistics of duration is read, document reads duration for indicating that user reads the duration of the destination document.Receiving document switching
In the case where operation triggering, pause or stop the statistics that duration is read to the document, i.e., it, then can be with if it is the document is closed
Stop the statistics that duration is read to document, and if only hiding the document, the statistics that duration is read to document can be suspended.
Below with reference to one, more specifically example, the document reading conditions processing method provided this specification are said
It is bright.
Assuming that certain product platform provides a user the technical documentation of product operation instruction by platform website, and acquire user
To the reading conditions data of document, to analyze user for the reading experience of provided technical documentation.
When user opens the page of certain technical documentation, the statistics for reading duration to document can be started, and judged current
For read state or page turning state.
If it is read state, it can count and duration is read to the segment of current document segment, and reach pre- in duration
If in the case where threshold value, prompting document maintenance personnel user too long to the reading time of the segment, it is understood that there may be certain reading
Difficulty is needed to update, modified so that content is more readily understood.
If it is page turning state, the content that do not read can be skipped with counting user, and the contents of the section is labeled as using
Family loses interest in, unwanted content, thus by document maintenance personnel judge the contents of the section whether redundancy, if needs are deleted
Deng.
Semantic analysis is carried out with non-read tablet section furthermore, it is possible to read to user, extracts the keyword of segment contents, and pass through
The search of search engine or platform interior, to user recommended user, there are other documents of demand.
When user hides the current document page, the timing that duration is read to document can be suspended, when user closes currently
When document file page, the timing for reading duration to document can be stopped, and duration is read according to the document counted, analyze the document
Difficulty and reading experience, it is determined whether need to modify to document.
As it can be seen that can more accurately analyze the reading feelings with processing user to document from a variety of dimensions using above scheme
Condition, to pointedly improve the reading experience of user.
Corresponding to above method embodiment, this specification embodiment also provides a kind of document reading conditions processing unit, ginseng
As shown in Figure 2, the apparatus may include:
Document display module 110 shows the specified target text of operation triggering for receiving document display operation triggering
Shelves;
Condition judgment module 120, for sentencing in the case where receiving any operation triggering for the destination document
Break the current state of the destination document;
Segment logging modle 130 records the destination document if being currently read state for the destination document
The reading segment currently shown, and counting user reads the segment for reading segment and reads duration;And
Auxiliary provides module 140, for reading duration according to preset segment and reading the corresponding relationship of auxiliary strategy, from
Default read determines that being directed to the reading for reading segment assists strategy in auxiliary set of strategies, the reading auxiliary is tactful to be used for root
Reading auxiliary is provided a user according to the content for reading segment;
The segment logging modle 130 records the mesh if being also used to the destination document currently is page turning state
The non-read tablet section that do not read is skipped in mark document;
Wherein, the read state indicates that user is currently reading the destination document, and the page turning state indicates to use
Currently just in page turning and skipping several segments of the destination document in family;
Document recommending module 150, for extracting several users from the segment contents of the reading segment and non-read tablet section
Demand characteristic, and recommend the document with extracted user demand characteristic matching to user.
In a kind of specific embodiment that this specification provides, it may include with next that the reading, which assists set of strategies,
Kind or a variety of strategies:
Auxiliary document push strategy, is used for: extracting several reading additional keys from the segment contents for reading segment
Word, and text is assisted according to the reading associated with the reading segment contents of the true directional user's push of extracted keyword
Shelves;
Document difficulty prompt strategy, is used for: the prompt of document difficulty is issued to document maintenance personnel, so that document maintenance personnel
The content for reading segment is edited according to the prompt.
Shown in Figure 3 in a kind of specific embodiment that this specification provides, the auxiliary provides module 140, can
To include:
Range determination unit 141, for determining the default each reading auxiliary read in auxiliary set of strategies strategy corresponding
Section reads duration range;
The segment counted is read duration for reading duration range according to each segment by policy determining unit 142
Corresponding auxiliary strategy of reading is determined as the reading auxiliary strategy for reading segment.
In a kind of specific embodiment that this specification provides, the condition judgment module 120 specifically can be used for:
It determines whether to receive page turn over operation triggering;
If not receiving page turn over operation triggering, it is determined that the destination document is currently read state;
In a kind of specific embodiment that this specification provides, the condition judgment module 120 can also be used specifically
In:
If receiving page turn over operation triggering, it is determined that the operation triggers corresponding page-turning speed, and judges the page turning speed
Whether degree is greater than pre-set velocity threshold value;
If the page-turning speed is greater than pre-set velocity threshold value, it is determined that the destination document is currently page turning state;Otherwise
Determine that the destination document is currently read state.
In a kind of specific embodiment that this specification provides, shown in Figure 4, described device can also include document
Logging modle 160, is specifically used for:
In the case where receiving document display operation triggering, the specified destination document of the operation is shown, and start to text
Shelves read the statistics of duration;The document reads duration for indicating that user reads the duration of the destination document;And
In the case where receiving the triggering of document shutoff operation, suspend or stop the statistics that duration is read to the document.
The function of modules and the realization process of effect are specifically detailed in the above method and correspond to step in above-mentioned apparatus
Realization process, details are not described herein.
This specification embodiment also provides a kind of computer equipment, includes at least memory, processor and is stored in
On reservoir and the computer program that can run on a processor, wherein processor realizes document above-mentioned when executing described program
Reading conditions processing method.This method includes at least:
A kind of document reading conditions processing method, this method comprises:
Document display operation triggering is received, shows the specified destination document of operation triggering;
Receive for the destination document any operation trigger in the case where, judge the destination document currently
State;
If the destination document is currently read state, the reading segment that the destination document is currently shown is recorded,
And counting user reads the segment for reading segment and reads duration;And it according to preset segment reading duration and reads auxiliary
The corresponding relationship for helping strategy determines that being directed to the reading for reading segment assists strategy, institute from default read in auxiliary set of strategies
It states and reads auxiliary strategy for providing a user reading auxiliary according to the content for reading segment;
If the destination document is currently page turning state, the non-read tablet skipped in the destination document and do not read is recorded
Section;
Wherein, the read state indicates that user is currently reading the destination document, and the page turning state indicates to use
Currently just in page turning and skipping several segments of the destination document in family;
From in the segment contents of the reading segment and non-read tablet section, several user demand features are extracted, and push away to user
Recommend the document with extracted user demand characteristic matching.
Fig. 5 shows one kind provided by this specification embodiment and more specifically calculates device hardware structural schematic diagram,
The equipment may include: processor 1010, memory 1020, input/output interface 1030, communication interface 1040 and bus
1050.Wherein processor 1010, memory 1020, input/output interface 1030 and communication interface 1040 are real by bus 1050
The now communication connection inside equipment each other.
Processor 1010 can use general CPU (Central Processing Unit, central processing unit), micro- place
Reason device, application specific integrated circuit (Application Specific Integrated Circuit, ASIC) or one
Or the modes such as multiple integrated circuits are realized, for executing relative program, to realize technical side provided by this specification embodiment
Case.
Memory 1020 can use ROM (Read Only Memory, read-only memory), RAM (Random Access
Memory, random access memory), static storage device, the forms such as dynamic memory realize.Memory 1020 can store
Operating system and other applications are realizing technical solution provided by this specification embodiment by software or firmware
When, relevant program code is stored in memory 1020, and execution is called by processor 1010.
Input/output interface 1030 is for connecting input/output module, to realize information input and output.Input and output/
Module can be used as component Configuration (not shown) in a device, can also be external in equipment to provide corresponding function.Wherein
Input equipment may include keyboard, mouse, touch screen, microphone, various kinds of sensors etc., output equipment may include display,
Loudspeaker, vibrator, indicator light etc..
Communication interface 1040 is used for connection communication module (not shown), to realize the communication of this equipment and other equipment
Interaction.Wherein communication module can be realized by wired mode (such as USB, cable etc.) and be communicated, can also be wirelessly
(such as mobile network, WIFI, bluetooth etc.) realizes communication.
Bus 1050 include an access, equipment various components (such as processor 1010, memory 1020, input/it is defeated
Outgoing interface 1030 and communication interface 1040) between transmit information.
It should be noted that although above equipment illustrates only processor 1010, memory 1020, input/output interface
1030, communication interface 1040 and bus 1050, but in the specific implementation process, which can also include realizing normal fortune
Other assemblies necessary to row.In addition, it will be appreciated by those skilled in the art that, it can also be only comprising real in above equipment
Component necessary to existing this specification example scheme, without including all components shown in figure.
This specification embodiment also provides a kind of computer readable storage medium, is stored thereon with computer program, the journey
Document reading conditions processing method above-mentioned is realized when sequence is executed by processor.This method includes at least:
A kind of document reading conditions processing method, this method comprises:
Document display operation triggering is received, shows the specified destination document of operation triggering;
Receive for the destination document any operation trigger in the case where, judge the destination document currently
State;
If the destination document is currently read state, the reading segment that the destination document is currently shown is recorded,
And counting user reads the segment for reading segment and reads duration;And it according to preset segment reading duration and reads auxiliary
The corresponding relationship for helping strategy determines that being directed to the reading for reading segment assists strategy, institute from default read in auxiliary set of strategies
It states and reads auxiliary strategy for providing a user reading auxiliary according to the content for reading segment;
If the destination document is currently page turning state, the non-read tablet skipped in the destination document and do not read is recorded
Section;
Wherein, the read state indicates that user is currently reading the destination document, and the page turning state indicates to use
Currently just in page turning and skipping several segments of the destination document in family;
From in the segment contents of the reading segment and non-read tablet section, several user demand features are extracted, and push away to user
Recommend the document with extracted user demand characteristic matching.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices
Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates
Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
As seen through the above description of the embodiments, those skilled in the art can be understood that this specification
Embodiment can be realized by means of software and necessary general hardware platform.Based on this understanding, this specification is implemented
Substantially the part that contributes to existing technology can be embodied in the form of software products the technical solution of example in other words,
The computer software product can store in storage medium, such as ROM/RAM, magnetic disk, CD, including some instructions are to make
It is each to obtain computer equipment (can be personal computer, server or the network equipment etc.) execution this specification embodiment
Method described in certain parts of a embodiment or embodiment.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity,
Or it is realized by the product with certain function.A kind of typically to realize that equipment is computer, the concrete form of computer can
To be personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media play
In device, navigation equipment, E-mail receiver/send equipment, game console, tablet computer, wearable device or these equipment
The combination of any several equipment.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for device reality
For applying example, since it is substantially similar to the method embodiment, so describing fairly simple, related place is referring to embodiment of the method
Part explanation.The apparatus embodiments described above are merely exemplary, wherein described be used as separate part description
Module may or may not be physically separated, can be each module when implementing this specification example scheme
Function realize in the same or multiple software and or hardware.Can also select according to the actual needs part therein or
Person's whole module achieves the purpose of the solution of this embodiment.Those of ordinary skill in the art are not the case where making the creative labor
Under, it can it understands and implements.
The above is only the specific embodiment of this specification embodiment, it is noted that for the general of the art
For logical technical staff, under the premise of not departing from this specification embodiment principle, several improvements and modifications can also be made, this
A little improvements and modifications also should be regarded as the protection scope of this specification embodiment.