CN105446602B - The device and method for positioning article keyword - Google Patents

The device and method for positioning article keyword Download PDF

Info

Publication number
CN105446602B
CN105446602B CN201510825092.1A CN201510825092A CN105446602B CN 105446602 B CN105446602 B CN 105446602B CN 201510825092 A CN201510825092 A CN 201510825092A CN 105446602 B CN105446602 B CN 105446602B
Authority
CN
China
Prior art keywords
article
read
keyword
interest keyword
interest
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.)
Active
Application number
CN201510825092.1A
Other languages
Chinese (zh)
Other versions
CN105446602A (en
Inventor
张升
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201510825092.1A priority Critical patent/CN105446602B/en
Publication of CN105446602A publication Critical patent/CN105446602A/en
Application granted granted Critical
Publication of CN105446602B publication Critical patent/CN105446602B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0483Interaction with page-structured environments, e.g. book metaphor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser

Abstract

The invention discloses a kind of devices for positioning article keyword, described device includes: jump module, for jumping to the comment position of the article to be read from the heading message position of the article to be read when detecting the heading message of article to be read;Module is obtained, for receiving the operational order for choosing interest keyword in the comment of the article to be read, the interest keyword is obtained according to the operational order;Locating module, for positioning the interest keyword position into the article to be read from the comment position of the article to be read when detecting the pressing operation of pressing terminal back sensor.The invention also discloses a kind of methods for positioning article keyword.The present invention realizes user's interested content of quick obtaining oneself in article to be read, improves the experience effect of user.

Description

The device and method for positioning article keyword
Technical field
The present invention relates to field of mobile terminals more particularly to a kind of device and method for positioning article keyword.
Background technique
With the development of mobile terminal technology, smart phone price is more and more cheaper, and nowadays smart phone has become people The necessity lived, people can read news using smart phone whenever and wherever possible, such as when smart phone user is in www.qq.com When reading news on page, due to containing a large amount of news information on Tencent's webpage, the length of some news is excessively tediously long, Therefore user will finish watching entire chapter news and need to expend longer time, and user is not to feel emerging to the content of entire chapter news Interest, it is only interested in certain contents of this news, but quickly cannot to navigate to its from entire chapter news interested by user Place, cannot know clearly that its interested content those of is in news position, therefore will lead to user without foot Enough patience and time go to read entire chapter news, oneself interested content can not be obtained from this news.
Summary of the invention
It is a primary object of the present invention to propose a kind of device and method for positioning article keyword, it is intended to solve existing skill Art can not quickly position the technical issues of user's interested content in article to be read.
To achieve the above object, a kind of device positioning article keyword provided by the invention, described device include:
Jump module, for being believed from the title of the article to be read when detecting the heading message of article to be read Breath position jumps to the comment position of the article to be read;
Module is obtained, for receiving the operational order for choosing interest keyword in the comment of the article to be read, root The interest keyword is obtained according to the operational order;
Locating module, for when detect pressing terminal back sensor pressing operation when, from the article to be read Comment position position the interest keyword position into the article to be read.
Optionally, the acquisition module is also used to obtain the text information of the interest keyword;
The device of the positioning article keyword further includes determining module, for the text envelope according to the interest keyword Breath determines the identification information of the interest keyword.
Optionally, the locating module includes:
Searching unit, for when detect pressing terminal back sensor pressing operation when, described to be read The identification information position of the interest keyword is searched in article;
Query unit, for the identification information position according to the interest keyword, by calling query function to look into Ask the position for occurring the interest keyword in the article to be read for the first time;
Positioning unit, for being positioned into the article to be read first from the comment position of the article to be read The secondary position for the interest keyword occur, and highlight the interest keyword in the article to be read.
Optionally, the device of the positioning article keyword further includes judgment module, detects the sliding biography for working as When the slide of sensor, the type of the slide is judged;
The locating module, if being also used to the operation that the slide is sensor described in upward sliding, from current Interest keyword position positions into the article to be read upper interest keyword position;
The locating module, if being also used to the operation that the slide is sensor described in slide downward, from current Interest keyword position positions into the article to be read next interest keyword position.
Optionally, the device of the positioning article keyword further includes execution module, for that ought detect pressing institute again When stating the pressing operation of terminal back sensor, jumped to from the interest keyword position in the article to be read The comment position of the article to be read executes step: receiving and chooses interest pass in the comment of the article to be read The operational order of keyword obtains the interest keyword according to the operational order.
In addition, to achieve the above object, the present invention also provides a kind of method for positioning article keyword the method includes Following steps:
When detecting the heading message of article to be read, jumped from the heading message position of the article to be read To the comment position of the article to be read;
The operational order that interest keyword is chosen in the comment of the article to be read is received, according to the operational order Obtain the interest keyword;
When detecting the pressing operation of pressing terminal back sensor, from the comment position of the article to be read Position the interest keyword position into the article to be read.
Optionally, the operational order of interest keyword is chosen in the reception in the comment of the article to be read, according to The operational order obtained after the step of interest keyword, further includes:
Obtain the text information of the interest keyword;
The identification information of the interest keyword is determined according to the text information of the interest keyword.
Optionally, described when detecting the pressing operation of pressing terminal back sensor, from the article to be read Commenting on the step of position positions the interest keyword position into the article to be read includes:
When detecting the pressing operation of pressing terminal back sensor, in the article to be read described in lookup The identification information position of interest keyword;
According to the identification information position of the interest keyword, by calling query function to inquire the text to be read Occurs the position of the interest keyword in chapter for the first time;
Position from the comment position of the article to be read into the article to be read occur for the first time it is described emerging The position of interesting keyword, and highlight the interest keyword in the article to be read.
Optionally, described when detecting the pressing operation of pressing terminal back sensor, from the article to be read After the step of comment position positions the interest keyword position into the article to be read, further includes:
When detecting the slide for sliding the sensor, the type of the slide is judged;
It is in place from presently described interest keyword institute if the slide is the operation of sensor described in upward sliding Set positioning upper interest keyword position into the article to be read;
It is in place from presently described interest keyword institute if the slide is the operation of sensor described in slide downward Set positioning next interest keyword position into the article to be read.
Optionally, described when detecting the pressing operation of pressing terminal back sensor, from the article to be read After the step of comment position positions the interest keyword position into the article to be read, further includes:
Institute when detecting the pressing operation of pressing terminal back sensor again, from the article to be read State the comment position that interest keyword position jumps to the article to be read, execute step: receive it is described to The operational order for choosing interest keyword in the comment of article is read, the interest keyword is obtained according to the operational order.
The present invention is by when detecting the heading message of article to be read in terminal, from the title of the article to be read Information position jumps to the comment position of the article to be read, from the comment position of the article to be read Interest keyword is obtained, when detecting the pressing operation of pressing terminal back sensor, from the article to be read Comment position positions the interest keyword position into the article to be read.It realizes in article to be read Comment in obtain the interested interest keyword of user, and by user pressing terminal back sensor quickly position it is described emerging Position of the interesting keyword in the article to be read, avoiding user and needing to read article to be read from the beginning can just look for To its interested content, the time that user extracts content of interest from article is saved, the experience effect of user is improved.
Detailed description of the invention
The hardware structural diagram of Fig. 1 each embodiment one optional mobile terminal to realize the present invention;
Fig. 2 is the circuit diagram of pressure detecting in terminal;
Fig. 3 is the functional block diagram of the device first embodiment of present invention positioning article keyword;
Fig. 4 is the functional block diagram of the device second embodiment of present invention positioning article keyword;
Fig. 5 is a kind of the functional block diagram of locating module in the embodiment of the present invention;
Fig. 6 is the functional block diagram of the device 3rd embodiment of present invention positioning article keyword;
Fig. 7 is the flow diagram of the method first embodiment of present invention positioning article keyword;
Fig. 8 is the flow diagram of the method second embodiment of present invention positioning article keyword;
Fig. 9 is the flow diagram of the method 3rd embodiment of present invention positioning article keyword;
Figure 10 is a kind of schematic diagram of article review to be read described in the embodiment of the present invention;
Figure 11 is the one kind for showing the interest keyword " Guangdong " in the embodiment of the present invention in the article to be read Schematic diagram.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The mobile terminal of each embodiment of the present invention is realized in description with reference to the drawings.In subsequent description, use For indicate element such as " module ", " component " or " unit " suffix only for being conducive to explanation of the invention, itself There is no specific meanings.Therefore, " module " can be used mixedly with " component ".
Mobile terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as moving Phone, smart phone, laptop, digit broadcasting receiver, PDA (personal digital assistant), PAD (tablet computer), PMP The mobile terminal of (portable media player), navigation device etc. and such as number TV, desktop computer etc. are consolidated Determine terminal.Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that in addition to being used in particular for moving Except the element of purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
The hardware structural diagram of Fig. 1 each embodiment one optional mobile terminal to realize the present invention.
Fig. 1 shows the mobile terminal with various assemblies, it should be understood that being not required for implementing all show Component.More or fewer components can alternatively be implemented.The element of mobile terminal will be discussed in more detail below.
The Wi-Fi (Wireless Internet Access) of the support mobile terminal of wireless Internet module 113.The module can be internally or externally It is couple to terminal.Wi-Fi (Wireless Internet Access) technology involved in the module may include WLAN (Wireless LAN) (Wi-Fi), Wibro (WiMAX), Wimax (worldwide interoperability for microwave accesses), HSDPA (high-speed downlink packet access) etc..
The order that user input unit 130 can be inputted according to user generates key input data to control each of mobile terminal Kind operation.User input unit 130 allows user to input various types of information, and may include keyboard, metal dome, touch Plate (for example, the sensitive component of detection due to the variation of resistance, pressure, capacitor etc. caused by being contacted), idler wheel, rocking bar etc. Deng.Particularly, when touch tablet is superimposed upon in the form of layer on display unit 151, touch screen can be formed.
Sensing unit 140 detects the current state of mobile terminal 100, (for example, mobile terminal 100 opens or closes shape State), the position of mobile terminal 100, user is for the presence or absence of contact (that is, touch input) of mobile terminal 100, mobile terminal 100 orientation, the acceleration of mobile terminal 100 or by fast movement and direction etc., and generate for controlling mobile terminal 100 The order of operation or signal.For example, sensing unit 140 can sense when mobile terminal 100 is embodied as sliding-type mobile phone The sliding-type phone is to open or close.In addition, sensing unit 140 be able to detect power supply unit 190 whether provide electric power or Whether person's interface unit 170 couples with external device (ED).
Interface unit 170 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example, External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Identification module can be storage and use each of mobile terminal 100 for verifying user It plants information and may include subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) Etc..In addition, the device (hereinafter referred to as " identification device ") with identification module can take the form of smart card, therefore, know Other device can be connect via port or other attachment devices with mobile terminal 100.Interface unit 170, which can be used for receiving, to be come from The input (for example, data information, electric power etc.) of external device (ED) and the input received is transferred in mobile terminal 100 One or more elements can be used for transmitting data between mobile terminal and external device (ED).
In addition, when mobile terminal 100 is connect with external base, interface unit 170 may be used as allowing will be electric by it Power, which is provided from pedestal to the path or may be used as of mobile terminal 100, allows the various command signals inputted from pedestal to pass through it It is transferred to the path of mobile terminal.The various command signals or electric power inputted from pedestal, which may be used as mobile terminal for identification, is The no signal being accurately fitted on pedestal.Output unit 150 is configured to provide with vision, audio and/or tactile manner defeated Signal (for example, audio signal, vision signal, alarm signal, vibration signal etc.) out.Output unit 150 may include display Unit 151, audio output module 152 etc..
Display unit 151 may be displayed on the information handled in mobile terminal 100.For example, when mobile terminal 100 is in electricity When talking about call mode, display unit 151 can show and converse or other communicate (for example, text messaging, multimedia file Downloading etc.) relevant user interface (UI) or graphic user interface (GUI).When mobile terminal 100 is in video calling mode Or when image capture mode, display unit 151 can show captured image and/or received image, show video or figure Picture and the UI or GUI of correlation function etc..
Meanwhile when display unit 151 and touch tablet in the form of layer it is superposed on one another to form touch screen when, display unit 151 may be used as input unit and output device.Display unit 151 may include liquid crystal display (LCD), thin film transistor (TFT) In LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. at least It is a kind of.Some in these displays may be constructed such that transparence to allow user to watch from outside, this is properly termed as transparent Display, typical transparent display can be, for example, TOLED (transparent organic light emitting diode) display etc..According to specific Desired embodiment, mobile terminal 100 may include two or more display units (or other display devices), for example, moving Dynamic terminal may include outernal display unit (not shown) and inner display unit (not shown).Touch screen can be used for detecting touch Input pressure and touch input position and touch input area.
Memory 160 can store the software program etc. of the processing and control operation that are executed by controller 180, Huo Zheke Temporarily to store oneself data (for example, telephone directory, message, still image, video etc.) through exporting or will export.And And memory 160 can store about the vibrations of various modes and audio signal exported when touching and being applied to touch screen Data.
Memory 160 may include the storage medium of at least one type, and the storage medium includes flash memory, hard disk, more Media card, card-type memory (for example, SD or DX memory etc.), random access storage device (RAM), static random-access storage Device (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc..Moreover, mobile terminal 100 can execute memory with by network connection The network storage device of 160 store function cooperates.
The overall operation of the usually control mobile terminal of controller 180.For example, controller 180 executes and voice communication, data Communication, video calling etc. relevant control and processing.In addition, controller 180 may include for reproducing (or playback) more matchmakers The multi-media module 181 of volume data, multi-media module 181 can construct in controller 180, or can be structured as and control Device 180 separates.Controller 180 can be with execution pattern identifying processing, by the handwriting input executed on the touchscreen or picture It draws input and is identified as character or image.
Power supply unit 190 receives external power or internal power under the control of controller 180 and provides operation each member Electric power appropriate needed for part and component.
Various embodiments described herein can be to use the calculating of such as computer software, hardware or any combination thereof Machine readable medium is implemented.Hardware is implemented, embodiment described herein can be by using application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene can Programming gate array (FPGA), controller, microcontroller, microprocessor, is designed to execute function described herein processor At least one of electronic unit is implemented, and in some cases, such embodiment can be implemented in controller 180. For software implementation, the embodiment of such as process or function can with allow to execute the individual of at least one functions or operations Software module is implemented.Software code can by the software application (or program) write with any programming language appropriate Lai Implement, software code can store in memory 160 and be executed by controller 180.
So far, oneself is through describing mobile terminal according to its function.In the following, for the sake of brevity, will description such as folded form, Slide type mobile terminal in various types of mobile terminals of board-type, oscillating-type, slide type mobile terminal etc., which is used as, to be shown Example.Therefore, the present invention can be applied to any kind of mobile terminal, and be not limited to slide type mobile terminal.
It is the circuit diagram of pressure detecting in terminal referring to Fig. 2, Fig. 2.
Firstly, pressure sensor is generated by the deformation on mobile terminal and exports corresponding voltage change;
Secondly, signal amplifier amplifies the voltage for the variation that pressure sensor exports;
Then, amplified signal through ADC analog-digital converter be converted into digital signal and export to microprocessor into Row processing;
Finally, the compressing time control corresponding with pressure value generation that microprocessor is different according to corresponding to digital signal Output, the output include: switching signal, the communication bus etc. that interruption, GPIO universal input/output are simulated, wherein communication is total Line can be serial ports, the interfaces such as I2C, SPI, but be not limited to above-mentioned interface.
In the present invention, the quantity of pressure sensor and setting position are unlimited, for example setting is one or more, and setting is moving Shell side, the screen lower section of dynamic terminal, or the back of mobile terminal, the lower section of key are set etc..
The pressure detecting region for being set to the pressure sensor at mobile terminal back in the present invention can be mobile terminal The entire back side can also be the partial region at the mobile terminal back side, can be produced as needed by production firm.
Structure based on above-mentioned mobile terminal hardware configuration and pressure detection circuit proposes that the present invention is based on pressure sensings The each embodiment of the terminal control mechanism of device.
The present invention provides a kind of device for positioning article keyword.
Referring to the functional block diagram for the device first embodiment that Fig. 3, Fig. 3 are present invention positioning article keyword.
In the present embodiment, the device of the positioning article keyword includes:
Jump module 10, for when detecting the heading message of article to be read, from the title of the article to be read Information position jumps to the comment position of the article to be read;
The back of the terminal is provided with pressure sensor, and the setting position of the pressure sensor is and terminal user's hand When holding terminal, facilitate the position of user's pressing.When the user uses the terminal reading article, click is described to be read When the title of article is to enter read interface, the terminal detects the heading message of user article to be read.When described Heading message position when terminal detects the heading message of user article to be read, from the article to be read Jump to the comment position of the article to be read.In the present embodiment, the terminal is smart phone.The intelligence hand There is pressure sensor at machine back, when the user press the pressure sensor when, the smart phone by with the pressure Sensor detecting to back shell pressure change, to detect the pressing operation of user.Such as when the user wants described It is read in smart phone entitled " when the news of super national nearly 2,000,000,000,000 " the sum of each province GDP, i.e., described entitled in Tencent's news " news of super national nearly 2,000,000,000,000 " the sum of each province GDP be the article to be read, when the user click described in " each province GDP it With the title of super national nearly 2,000,000,000,000 ", with described in entrance " when the read interface of the super national nearly 2,000,000,000,000 " news of the sum of each province GDP, The smart phone detects heading message " super national nearly 2,000,000,000,000 " the sum of each province GDP, directly from institute of the article to be read Stating the title of article to be read, " the sum of each province GDP is super, and national nearly 2,000,000,000,000 " position jumps to the article " each province to be read The sum of GDP comments on super national nearly 2,000,000,000,000 " position, and the comment is that " the sum of each province GDP was super national described in other were read What the user of nearly 2,000,000,000,000 " news write.Specifically, 0, Figure 10 comments referring to Fig.1 for article to be read described in the embodiment of the present invention A kind of schematic diagram of opinion.Include in described Figure 10 other users reading the article to be read " the sum of each province GDP is super complete Left comment after nearly 2,000,000,000,000 " of state.
Module 20 is obtained, for receiving the operational order for choosing interest keyword in the comment of the article to be read, The interest keyword is obtained according to the operational order;
When the terminal jumps to commenting for the article to be read from the heading message position of the article to be read When by position, the user chosen in the comment of the article to be read it is interested with oneself, want to see in have The interest keyword of pass, the terminal receive the behaviour that the user chooses interest keyword in the comment of the article to be read It instructs, obtains the interest keyword in the comment according to the operational order.In the present embodiment, the user exists An interest keyword is chosen in the comment of the article to be read, i.e., the described terminal is according to the operational order of the user in institute It states and acquires the interest keyword in the comment of article to be read.Further, the user can it is described to It reads in the comment of article and chooses multiple interest keywords.When the user chosen in the comment of the article to be read it is multiple When interest keyword, the terminal acquires in the comment of the article to be read more according to the operational order of the user A interest keyword.Such as the user is in the article to be read " in the comment of super national nearly 2,000,000,000,000 " the sum of each province GDP When choosing " Guangdong " as the interest keyword, the smart phone receives the user in the article " each province to be read The operational order in " Guangdong " described in being chosen in the comment of super national nearly 2,000,000,000,000 " the sum of GDP, it is " wide according to user selection The operational order in east " " acquires described emerging in the article to be read in the comment of super national nearly 2,000,000,000,000 " the sum of each province GDP Interesting keyword " Guangdong ".Further, when the user is in article " super national nearly 2,000,000,000,000 " the sum of each province GDP to be read Comment in when choosing " Guangdong " and " first " as the interest keyword, the user is described for the smart phone reception Article to be read " operational order in " Guangdong " and " first " described in being chosen in the comment of super national nearly 2,000,000,000,000 " the sum of each province GDP, According to the operational order in " Guangdong " and " first " described in user selection, in the article to be read, " the sum of each province GDP is super complete The interest keyword " Guangdong " and " first " are acquired in the comment of nearly 2,000,000,000,000 " of state.
Locating module 30, for when detect pressing terminal back sensor pressing operation when, from the text to be read The comment position of chapter positions the interest keyword position into the article to be read.
When the terminal acquires the interest keyword, and detects the user and press the terminal backside pressure When the pressing operation of sensor, the terminal is positioned from the comment position of the article to be read to the article to be read In interest keyword position, that is, jump to interest keyword position described in the article to be read.When The terminal acquires the interest keyword according to the operational order of the user, and detects user's pressing When the pressing operation of terminal back sensor, the terminal jumps to institute from the comment position of the article to be read State the position for occurring the interest keyword in article to be read for the first time.Wherein, the user presses the pressure sensor Pressing operation be long press operation, the time of the long press operation will not be too long, generally 2 seconds or 3 seconds etc., but the pressing behaviour Make to include but is not limited to long press operation, the time of the pressing operation also can be set.Further, when the terminal is according to institute The operational order for stating user acquires multiple interest keywords, and detects the user and press the terminal back biography When the pressing operation of sensor, the terminal jumps in the article to be read from the comment position of the article to be read Occur the position of one of interest keyword in multiple interest keywords, or if the article to be read for the first time In there are there is the position of multiple interest keywords simultaneously when, the terminal is where the comment of the article to be read Position jumps to first time in the article to be read while the position of multiple interest keywords occurs.Such as the intelligent hand Machine is acquiring the interest keyword " Guangdong ", and detects the pressing that the user presses the pressure sensor at its back When operation, the smart phone from the article to be read " the comment position of super national nearly 2,000,000,000,000 " the sum of each province GDP, It jumps to the article to be read and " it is " wide to occur the interest keyword in super national nearly 2,000,000,000,000 " the sum of each province GDP for the first time The position in east ";Interest keyword " Guangdong " and " first " as described in being acquired when the smart phone, and detect described When user presses the pressing operation of the pressure sensor at its back, the smart phone from the article to be read " each province GDP it With the comment position of super national nearly 2,000,000,000,000 ", the article to be read " super national nearly 2,000,000,000,000 " the sum of each province GDP are jumped to There is the position of the interest keyword " Guangdong " in middle first time, or occurs the position of the interest keyword " first " for the first time It sets, if the article to be read " exists in super national nearly 2,000,000,000,000 " the sum of each province GDP while the interest keyword occurs When " Guangdong " and " first ", that is, when there is " Guangdong first " or " the first Guangdong ", the smart phone is in the text to be read " the comment position of super national nearly 2,000,000,000,000 " the sum of each province GDP, jumping to the article to be read, " the sum of each province GDP is super for chapter The position in " Guangdong first " or the position in " first Guangdong " described in occurring for the first time in nearly 2,000,000,000,000 " in the whole nation.
Further, the device of the positioning article keyword further includes execution module, for that ought detect pressing again When the pressing operation of terminal back sensor, jumped from the interest keyword position in the article to be read To the comment position of the article to be read, execute step: reception chooses interest in the comment of the article to be read The operational order of keyword obtains the interest keyword according to the operational order.
Further, when the terminal is positioned from the comment position of the article to be read to the text to be read Interest keyword position and then the secondary pressing for detecting the user and pressing its backside pressure sensor in chapter When operation, the terminal is reading the article position to be read from the user and is jumping to the article to be read Position is commented on, prompt information is exported, prompts the user to choose again in the comment of the article to be read interested The interest keyword.When the user according to the prompt information of the terminal in the comment of the article to be read again When selecting the interested interest keyword, the terminal receives the user and chooses in the comment of the article to be read The operational order of interest keyword, and the behaviour of interest keyword is chosen according to the user in the comment of the article to be read It instructs and obtains the interest keyword again.
The present embodiment is by when detecting the heading message of article to be read, from the heading message of the article to be read Position jumps to the comment position of the article to be read, obtains from the comment position of the article to be read Interest keyword, when detecting the pressing operation of pressing terminal back sensor, from the comment of the article to be read Position positions the interest keyword position into the article to be read.Realize commenting in article to be read The interested interest keyword of user is obtained in, and terminal back sensor is pressed by user and quickly positions the interest pass Position of the keyword in the article to be read, it can just be found by avoiding user and needing to read article to be read from the beginning Interested content saves the time that user extracts content of interest from article, improves the experience effect of user.
Referring to the functional block diagram for the device second embodiment that Fig. 4, Fig. 4 are present invention positioning article keyword, base The second embodiment of the device of present invention positioning article keyword is proposed in first embodiment.
In the present embodiment, the acquisition module 20, is also used to obtain the text information of the interest keyword;
The device of the positioning article keyword further includes determining module 40, for the text according to the interest keyword Information determines the identification information of the interest keyword.
The terminal acquires the interest in the operational order according to the user in the article to be read and closes When keyword, the terminal obtains the text information of the interest keyword, and by the text information storage of the interest keyword For string format.The terminal determines that the mark of the interest keyword is believed according to the text information of the interest keyword Breath.The identification information of the interest keyword can determine interest keyword position in the article to be read. Such as the smart phone is according to the operational order of the user in described article " the sum of each province GDP super national nearly 20,000 to be read Acquire the text information of the interest keyword " Guangdong " in hundred million ", and by the text envelope of the interest keyword " Guangdong " Breath is stored as string format.The smart phone determines the interest according to the text information of the interest keyword " Guangdong " The identification information of keyword " Guangdong ".
With reference to Fig. 5, Fig. 5 is a kind of the functional block diagram of locating module in the embodiment of the present invention.
The locating module 30 includes:
Searching unit 31, for when detect pressing terminal back sensor pressing operation when, described wait read Read the identification information position that the interest keyword is searched in article;
Query unit 32, for the identification information position according to the interest keyword, by calling query function Inquire the position for occurring the interest keyword in the article to be read for the first time;
Positioning unit 33, for positioning into the article to be read from the comment position of the article to be read Once there is the position of the interest keyword, and highlights the interest keyword in the article to be read.
When the pressing operation of terminal backside pressure sensor described in the terminal detects user's long-pressing, the end The identification information position of the interest keyword is searched in the article to be read in end.When the terminal described wait read It is described to be read by calling query function to inquire when reading to search the identification information position of the interest keyword in article Occur the position of the interest keyword in article for the first time, positions from the comment position of the article to be read to described Occurs the position of the interest keyword in article to be read for the first time.When the terminal determines the in the article to be read When once there is the position of the interest keyword, the terminal is prominent by the interest keyword in the article to be read Display.Wherein, the highlighted method including but not limited to shows the interest keyword overstriking, or is described emerging Interesting keyword is enclosed and the different color of texts other in the article to be read.In the present embodiment, used in the terminal Be Android operating system, then the query function is scroll function in Scroller, Scroller in Android Class is to realize View smooth rolling Helper class.It usually uses in customized View, is defined in View One privately owned member mScroller=new Scroller (context).It, can't when the position of mScroller rolling is set Lead to the rolling of View, usually record/calculate the position of View rolling with mScroller, then rewrites View's ComputeScroll () completes actual rolling.When the smart phone detects pressure sensing described in user's long-pressing When the pressing operation of device, the smart phone " searches institute in the article to be read in super national nearly 2,000,000,000,000 " the sum of each province GDP State the identification information position of interest keyword " Guangdong ", the smart phone is according to the mark of the interest keyword " Guangdong " Information position is known, by article to be read described in scroll functional query " the in super national nearly 2,000,000,000,000 " the sum of each province GDP Once there is the position of the interest keyword " Guangdong ", and from described article " the sum of each province GDP super national nearly 20,000 to be read Hundred million " comment positions jump to the article to be read " described in occurring for the first time in super national nearly 2,000,000,000,000 " the sum of each province GDP The position of interest keyword " Guangdong ".When the smart phone is in described article " the sum of each province GDP super national nearly 20,000 to be read It is determined in hundred million " for the first time when there is the position of the interest keyword " Guangdong ", the smart phone is by the interest keyword " Guangdong " " overstriking is shown in super national nearly 2,000,000,000,000 " the sum of each province GDP in the article to be read.Specifically, referring to Fig.1 1, figure A kind of 11 schematic diagram to show the interest keyword " Guangdong " in the embodiment of the present invention in the article to be read.By institute It states shown in Figure 11, the smart phone is in the article to be read " in the current page of super national nearly 2,000,000,000,000 " the sum of each province GDP There is the interest keyword " Guangdong " twice, and the interest keyword " Guangdong " is " each in the article to be read Overstriking in super national nearly 2,000,000,000,000 " the sum of GDP is saved to show.
The present embodiment according to the identification information of interest keyword by determining the interest keyword in article to be read The position occurred for the first time, and the interest keyword is highlighted, facilitate user to be more easier to find article to be read In interested content, further improve the experience effect of user.
Referring to the functional block diagram for the device 3rd embodiment that Fig. 6, Fig. 6 are present invention positioning article keyword, base The 3rd embodiment of the device of present invention positioning article keyword is proposed in first embodiment.
In the present embodiment, the device of the positioning article keyword further include:
Judgment module 50, for judging the slide when detecting the slide for sliding the sensor Type;
The locating module 30, if being also used to the operation that the slide is sensor described in upward sliding, from working as Preceding interest keyword position positions into the article to be read upper interest keyword position;
When the terminal determines interest keyword position described in the article to be read, and detect the user When sliding the slide of the pressure sensor, the terminal judges the type of the slide.When the terminal determines When the slide is the operation of pressure sensor described in upward sliding, the terminal is from interest keyword position Positioning upper interest keyword position into the article to be read.If only existing one in the article to be read A interest keyword or the interest keyword are first interest keywords in the article to be read, then The terminal does not execute the operation of pressure sensor described in user's upward sliding, and further, the terminal can also be Display interface exports prompt information, and the interest keyword for prompting the user current is first in the article to be read The interest keyword.Further, the terminal is provided with one in back shell corresponding with the pressure sensor A button of pressure sensor, when the setting position of the button of pressure sensor is with user's handheld terminal, described in convenience The position of user's operation.The slide of user's slide sensor can realize by sliding the pick up button, The slide of user's slide sensor includes but is not limited to be realized by sliding the pick up button.
The locating module 30, if being also used to the operation that the slide is sensor described in slide downward, from working as Preceding interest keyword position positions into the article to be read next interest keyword position.
When the terminal determines that the slide is the operation of sensor described in slide downward, the terminal is from described Interest keyword position positions into the article to be read next interest keyword position.If it is described to The interest keyword is only existed in reading article or the interest keyword is last in the article to be read A interest keyword, then the terminal does not execute the operation of pressure sensor described in user's slide downward, further Ground, the terminal can also export prompt information in display interface, and the interest keyword for prompting the user current is institute State the interest keyword of the last one in article to be read.
The present embodiment by user's sliding pressure sensor, realization inquired upwards in article to be read interest keyword or Person inquires downwards interest keyword, so that the user is in a short time, it is emerging that oneself sense is found in entire chapter article to be read The content of interest is read, and is improved the reading efficiency of user, is reduced user and obtain information of interest from article to be read Time.
The present invention further provides a kind of methods for positioning article keyword.
Referring to the flow diagram for the method first embodiment that Fig. 7, Fig. 7 are present invention positioning article keyword.
In the present embodiment, the method for the positioning article keyword includes:
Step S10, when detecting the heading message of article to be read, where the heading message of the article to be read Position jumps to the comment position of the article to be read;
The back of the terminal is provided with pressure sensor, and the setting position of the pressure sensor is and terminal user's hand When holding terminal, facilitate the position of user's pressing.When the user uses the terminal reading article, click is described to be read When the title of article is to enter read interface, the terminal detects the heading message of user article to be read.When described Heading message position when terminal detects the heading message of user article to be read, from the article to be read Jump to the comment position of the article to be read.In the present embodiment, the terminal is smart phone.The intelligence hand There is pressure sensor at machine back, when the user press the pressure sensor when, the smart phone by with the pressure Sensor detecting to back shell pressure change, to detect the pressing operation of user.Such as when the user wants described It is read in smart phone entitled " when the news of super national nearly 2,000,000,000,000 " the sum of each province GDP, i.e., described entitled in Tencent's news " news of super national nearly 2,000,000,000,000 " the sum of each province GDP be the article to be read, when the user click described in " each province GDP it With the title of super national nearly 2,000,000,000,000 ", with described in entrance " when the read interface of the super national nearly 2,000,000,000,000 " news of the sum of each province GDP, The smart phone detects heading message " super national nearly 2,000,000,000,000 " the sum of each province GDP, directly from institute of the article to be read Stating the title of article to be read, " the sum of each province GDP is super, and national nearly 2,000,000,000,000 " position jumps to the article " each province to be read The sum of GDP comments on super national nearly 2,000,000,000,000 " position, and the comment is that " the sum of each province GDP was super national described in other were read What the user of nearly 2,000,000,000,000 " news write.Specifically, 0, Figure 10 comments referring to Fig.1 for article to be read described in the embodiment of the present invention A kind of schematic diagram of opinion.Include in described Figure 10 other users reading the article to be read " the sum of each province GDP is super complete Left comment after nearly 2,000,000,000,000 " of state.
Step S20 receives the operational order that interest keyword is chosen in the comment of the article to be read, according to described Operational order obtains the interest keyword;
When the terminal jumps to commenting for the article to be read from the heading message position of the article to be read When by position, the user chosen in the comment of the article to be read it is interested with oneself, want to see in have The interest keyword of pass, the terminal receive the behaviour that the user chooses interest keyword in the comment of the article to be read It instructs, obtains the interest keyword in the comment according to the operational order.In the present embodiment, the user exists An interest keyword is chosen in the comment of the article to be read, i.e., the described terminal is according to the operational order of the user in institute It states and acquires the interest keyword in the comment of article to be read.Further, the user can it is described to It reads in the comment of article and chooses multiple interest keywords.When the user chosen in the comment of the article to be read it is multiple When interest keyword, the terminal acquires in the comment of the article to be read more according to the operational order of the user A interest keyword.Such as the user is in the article to be read " in the comment of super national nearly 2,000,000,000,000 " the sum of each province GDP When choosing " Guangdong " as the interest keyword, the smart phone receives the user in the article " each province to be read The operational order in " Guangdong " described in being chosen in the comment of super national nearly 2,000,000,000,000 " the sum of GDP, it is " wide according to user selection The operational order in east " " acquires described emerging in the article to be read in the comment of super national nearly 2,000,000,000,000 " the sum of each province GDP Interesting keyword " Guangdong ".Further, when the user is in article " super national nearly 2,000,000,000,000 " the sum of each province GDP to be read Comment in when choosing " Guangdong " and " first " as the interest keyword, the user is described for the smart phone reception Article to be read " operational order in " Guangdong " and " first " described in being chosen in the comment of super national nearly 2,000,000,000,000 " the sum of each province GDP, According to the operational order in " Guangdong " and " first " described in user selection, in the article to be read, " the sum of each province GDP is super complete The interest keyword " Guangdong " and " first " are acquired in the comment of nearly 2,000,000,000,000 " of state.
Step S30, when detecting the pressing operation of pressing terminal back sensor, from the comment of the article to be read Position positions the interest keyword position into the article to be read.
When the terminal acquires the interest keyword, and detects the user and press the terminal backside pressure When the pressing operation of sensor, the terminal is positioned from the comment position of the article to be read to the article to be read In interest keyword position, that is, jump to interest keyword position described in the article to be read.When The terminal acquires the interest keyword according to the operational order of the user, and detects user's pressing When the pressing operation of terminal back sensor, the terminal jumps to institute from the comment position of the article to be read State the position for occurring the interest keyword in article to be read for the first time.Wherein, the user presses the pressure sensor Pressing operation be long press operation, the time of the long press operation will not be too long, generally 2 seconds or 3 seconds etc., but the pressing behaviour Make to include but is not limited to long press operation, the time of the pressing operation also can be set.Further, when the terminal is according to institute The operational order for stating user acquires multiple interest keywords, and detects the user and press the terminal back biography When the pressing operation of sensor, the terminal jumps in the article to be read from the comment position of the article to be read Occur the position of one of interest keyword in multiple interest keywords, or if the article to be read for the first time In there are there is the position of multiple interest keywords simultaneously when, the terminal is where the comment of the article to be read Position jumps to first time in the article to be read while the position of multiple interest keywords occurs.Such as the intelligent hand Machine is acquiring the interest keyword " Guangdong ", and detects the pressing that the user presses the pressure sensor at its back When operation, the smart phone from the article to be read " the comment position of super national nearly 2,000,000,000,000 " the sum of each province GDP, It jumps to the article to be read and " it is " wide to occur the interest keyword in super national nearly 2,000,000,000,000 " the sum of each province GDP for the first time The position in east ";Interest keyword " Guangdong " and " first " as described in being acquired when the smart phone, and detect described When user presses the pressing operation of the pressure sensor at its back, the smart phone from the article to be read " each province GDP it With the comment position of super national nearly 2,000,000,000,000 ", the article to be read " super national nearly 2,000,000,000,000 " the sum of each province GDP are jumped to There is the position of the interest keyword " Guangdong " in middle first time, or occurs the position of the interest keyword " first " for the first time It sets, if the article to be read " exists in super national nearly 2,000,000,000,000 " the sum of each province GDP while the interest keyword occurs When " Guangdong " and " first ", that is, when there is " Guangdong first " or " the first Guangdong ", the smart phone is in the text to be read " the comment position of super national nearly 2,000,000,000,000 " the sum of each province GDP, jumping to the article to be read, " the sum of each province GDP is super for chapter The position in " Guangdong first " or the position in " first Guangdong " described in occurring for the first time in nearly 2,000,000,000,000 " in the whole nation.
Further, the method for the positioning article keyword further include:
Institute when detecting the pressing operation of pressing terminal back sensor again, from the article to be read State the comment position that interest keyword position jumps to the article to be read, execute step: receive it is described to The operational order for choosing interest keyword in the comment of article is read, the interest keyword is obtained according to the operational order.
Further, when the terminal is positioned from the comment position of the article to be read to the text to be read Interest keyword position and then the secondary pressing for detecting the user and pressing its backside pressure sensor in chapter When operation, the terminal is reading the article position to be read from the user and is jumping to the article to be read Position is commented on, prompt information is exported, prompts the user to choose again in the comment of the article to be read interested The interest keyword.When the user according to the prompt information of the terminal in the comment of the article to be read again When selecting the interested interest keyword, the terminal receives the user and chooses in the comment of the article to be read The operational order of interest keyword, and the behaviour of interest keyword is chosen according to the user in the comment of the article to be read It instructs and obtains the interest keyword again.
The present embodiment is by when detecting the heading message of article to be read, from the heading message of the article to be read Position jumps to the comment position of the article to be read, obtains from the comment position of the article to be read Interest keyword, when detecting the pressing operation of pressing terminal back sensor, from the comment of the article to be read Position positions the interest keyword position into the article to be read.Realize commenting in article to be read The interested interest keyword of user is obtained in, and terminal back sensor is pressed by user and quickly positions the interest pass Position of the keyword in the article to be read, it can just be found by avoiding user and needing to read article to be read from the beginning Interested content saves the time that user extracts content of interest from article, improves the experience effect of user.
Referring to the flow diagram for the method second embodiment that Fig. 8, Fig. 8 are present invention positioning article keyword, based on this Invention first embodiment proposes the method second embodiment of present invention positioning article keyword.
In the present embodiment, the method for the positioning article keyword further include:
Step S40 obtains the text information of the interest keyword;
Step S50 determines the identification information of the interest keyword according to the text information of the interest keyword.
The terminal acquires the interest in the operational order according to the user in the article to be read and closes When keyword, the terminal obtains the text information of the interest keyword, and by the text information storage of the interest keyword For string format.The terminal determines that the mark of the interest keyword is believed according to the text information of the interest keyword Breath.The identification information of the interest keyword can determine interest keyword position in the article to be read. Such as the smart phone is according to the operational order of the user in described article " the sum of each province GDP super national nearly 20,000 to be read Acquire the text information of the interest keyword " Guangdong " in hundred million ", and by the text envelope of the interest keyword " Guangdong " Breath is stored as string format.The smart phone determines the interest according to the text information of the interest keyword " Guangdong " The identification information of keyword " Guangdong ".
In the present embodiment, the step S30 includes:
Step S31, when detecting the pressing operation of pressing terminal back sensor, in the article to be read Search the identification information position of the interest keyword;
Step S32, according to the identification information position of the interest keyword, by calling described in query function inquiry Occurs the position of the interest keyword in article to be read for the first time;
Step S33 positions into the article to be read to go out for the first time from the comment position of the article to be read The position of the existing interest keyword, and highlight the interest keyword in the article to be read.
When the pressing operation of terminal backside pressure sensor described in the terminal detects user's long-pressing, the end The identification information position of the interest keyword is searched in the article to be read in end.When the terminal described wait read It is described to be read by calling query function to inquire when reading to search the identification information position of the interest keyword in article Occur the position of the interest keyword in article for the first time, positions from the comment position of the article to be read to described Occurs the position of the interest keyword in article to be read for the first time.When the terminal determines the in the article to be read When once there is the position of the interest keyword, the terminal is prominent by the interest keyword in the article to be read Display.Wherein, the highlighted method including but not limited to shows the interest keyword overstriking, or is described emerging Interesting keyword is enclosed and the different color of texts other in the article to be read.In the present embodiment, used in the terminal Be Android operating system, then the query function is scroll function in Scroller, Scroller in Android Class is to realize View smooth rolling Helper class.It usually uses in customized View, is defined in View One privately owned member mScroller=new Scroller (context).It, can't when the position of mScroller rolling is set Lead to the rolling of View, usually record/calculate the position of View rolling with mScroller, then rewrites View's ComputeScroll () completes actual rolling.When the smart phone detects pressure sensing described in user's long-pressing When the pressing operation of device, the smart phone " searches institute in the article to be read in super national nearly 2,000,000,000,000 " the sum of each province GDP State the identification information position of interest keyword " Guangdong ", the smart phone is according to the mark of the interest keyword " Guangdong " Information position is known, by article to be read described in scroll functional query " the in super national nearly 2,000,000,000,000 " the sum of each province GDP Once there is the position of the interest keyword " Guangdong ", and from described article " the sum of each province GDP super national nearly 20,000 to be read Hundred million " comment positions jump to the article to be read " described in occurring for the first time in super national nearly 2,000,000,000,000 " the sum of each province GDP The position of interest keyword " Guangdong ".When the smart phone is in described article " the sum of each province GDP super national nearly 20,000 to be read It is determined in hundred million " for the first time when there is the position of the interest keyword " Guangdong ", the smart phone is by the interest keyword " Guangdong " " overstriking is shown in super national nearly 2,000,000,000,000 " the sum of each province GDP in the article to be read.Specifically, referring to Fig.1 1, figure A kind of 11 schematic diagram to show the interest keyword " Guangdong " in the embodiment of the present invention in the article to be read.By institute It states shown in Figure 11, the smart phone is in the article to be read " in the current page of super national nearly 2,000,000,000,000 " the sum of each province GDP There is the interest keyword " Guangdong " twice, and the interest keyword " Guangdong " is " each in the article to be read Overstriking in super national nearly 2,000,000,000,000 " the sum of GDP is saved to show.
The present embodiment according to the identification information of interest keyword by determining the interest keyword in article to be read The position occurred for the first time, and the interest keyword is highlighted, facilitate user to be more easier to find article to be read In interested content, further improve the experience effect of user.
Referring to the flow diagram for the method 3rd embodiment that Fig. 9, Fig. 9 are present invention positioning article keyword, based on this Invention first embodiment proposes the method 3rd embodiment of present invention positioning article keyword.
In the present embodiment, the method for the positioning article keyword further include:
Step S60 judges the type of the slide when detecting the slide for sliding the sensor;
Step S70, it is crucial from presently described interest if the slide is the operation of sensor described in upward sliding Word position positions into the article to be read upper interest keyword position;
When the terminal determines interest keyword position described in the article to be read, and detect the user When sliding the slide of the pressure sensor, the terminal judges the type of the slide.When the terminal determines When the slide is the operation of pressure sensor described in upward sliding, the terminal is from interest keyword position Positioning upper interest keyword position into the article to be read.If only existing one in the article to be read A interest keyword or the interest keyword are first interest keywords in the article to be read, then The terminal does not execute the operation of pressure sensor described in user's upward sliding, and further, the terminal can also be Display interface exports prompt information, and the interest keyword for prompting the user current is first in the article to be read The interest keyword.Further, the terminal is provided with one in back shell corresponding with the pressure sensor A button of pressure sensor, when the setting position of the button of pressure sensor is with user's handheld terminal, described in convenience The position of user's operation.The slide of user's slide sensor can realize by sliding the pick up button, The slide of user's slide sensor includes but is not limited to be realized by sliding the pick up button.
Step S80, it is crucial from presently described interest if the slide is the operation of sensor described in slide downward Word position positions into the article to be read next interest keyword position;
When the terminal determines that the slide is the operation of sensor described in slide downward, the terminal is from described Interest keyword position positions into the article to be read next interest keyword position.If it is described to The interest keyword is only existed in reading article or the interest keyword is last in the article to be read A interest keyword, then the terminal does not execute the operation of pressure sensor described in user's slide downward, further Ground, the terminal can also export prompt information in display interface, and the interest keyword for prompting the user current is institute State the interest keyword of the last one in article to be read.
The present embodiment by user's sliding pressure sensor, realization inquired upwards in article to be read interest keyword or Person inquires downwards interest keyword, so that the user is in a short time, it is emerging that oneself sense is found in entire chapter article to be read The content of interest is read, and is improved the reading efficiency of user, is reduced user and obtain information of interest from article to be read Time.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (6)

1. it is a kind of position article keyword device, which is characterized in that it is described positioning article keyword device include:
Jump module, for when detecting the heading message of article to be read, from the heading message institute of the article to be read The comment position of the article to be read is jumped in position;
Module is obtained, for receiving the operational order for choosing interest keyword in the comment of the article to be read, according to institute It states operational order and obtains the interest keyword;
The acquisition module is also used to obtain the text information of the interest keyword;
Determining module, for determining the identification information of the interest keyword according to the text information of the interest keyword;
Locating module, for when detect pressing terminal back sensor pressing operation when, from commenting for the article to be read The interest keyword position into the article to be read is positioned by position;
Wherein, the locating module includes:
Searching unit, for when detect pressing terminal back sensor pressing operation when, in the article to be read The middle identification information position for searching the interest keyword;
Query unit, for the identification information position according to the interest keyword, by calling query function to inquire institute State the position for occurring the interest keyword in article to be read for the first time;
Positioning unit, for positioning into the article to be read to go out for the first time from the comment position of the article to be read The position of the existing interest keyword, and highlight the interest keyword in the article to be read.
2. the device of positioning article keyword as described in claim 1, which is characterized in that the dress of the positioning article keyword Setting further includes judgment module, for judging the class of the slide when detecting the slide for sliding the sensor Type;
The locating module, if being also used to the operation that the slide is sensor described in upward sliding, from presently described Interest keyword position positions into the article to be read upper interest keyword position;
The locating module, if being also used to the operation that the slide is sensor described in slide downward, from presently described Interest keyword position positions into the article to be read next interest keyword position.
3. the device of positioning article keyword as described in claim 1, which is characterized in that the dress of the positioning article keyword Setting further includes execution module, for when detect again pressing terminal back sensor pressing operation when, from it is described to The comment position that the interest keyword position in article jumps to the article to be read is read, step is executed It is rapid: to receive the operational order for choosing interest keyword in the comment of the article to be read, obtained according to the operational order The interest keyword.
4. a kind of method for positioning article keyword, which is characterized in that the method for the positioning article keyword includes following step It is rapid:
When detecting the heading message of article to be read, institute is jumped to from the heading message position of the article to be read State the comment position of article to be read;
The operational order for choosing interest keyword in the comment of the article to be read is received, is obtained according to the operational order The interest keyword;
Obtain the text information of the interest keyword;
The identification information of the interest keyword is determined according to the text information of the interest keyword;
When detecting the pressing operation of pressing terminal back sensor, positioned from the comment position of the article to be read To the interest keyword position in the article to be read;
Wherein, described when detecting the pressing operation of pressing terminal back sensor, from the comment institute of the article to be read Include: in the step of position positions the interest keyword position into the article to be read
When detecting the pressing operation of pressing terminal back sensor, the interest is searched in the article to be read The identification information position of keyword;
According to the identification information position of the interest keyword, by calling query function to inquire in the article to be read Occurs the position of the interest keyword for the first time;
It positions from the comment position of the article to be read into the article to be read and occurs the interest pass for the first time The position of keyword, and highlight the interest keyword in the article to be read.
5. as claimed in claim 4 positioning article keyword method, which is characterized in that it is described when detect pressing terminal back When the pressing operation of portion's sensor, the institute into the article to be read is positioned from the comment position of the article to be read After the step of stating interest keyword position, further includes:
When detecting the slide for sliding the sensor, the type of the slide is judged;
It is fixed from presently described interest keyword position if the slide is the operation of sensor described in upward sliding Position upper interest keyword position into the article to be read;
It is fixed from presently described interest keyword position if the slide is the operation of sensor described in slide downward Position next interest keyword position into the article to be read.
6. the method for positioning article keyword as claimed in claim 4, described ought detect presses terminal back sensor When pressing operation, the key of the interest into the article to be read is positioned from the comment position of the article to be read After the step of word position, further includes:
When detecting the pressing operation of pressing terminal back sensor again, from described emerging in the article to be read Interesting keyword position jumps to the comment position of the article to be read, executes step: receiving described to be read The operational order that interest keyword is chosen in the comment of article obtains the interest keyword according to the operational order.
CN201510825092.1A 2015-11-24 2015-11-24 The device and method for positioning article keyword Active CN105446602B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510825092.1A CN105446602B (en) 2015-11-24 2015-11-24 The device and method for positioning article keyword

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510825092.1A CN105446602B (en) 2015-11-24 2015-11-24 The device and method for positioning article keyword

Publications (2)

Publication Number Publication Date
CN105446602A CN105446602A (en) 2016-03-30
CN105446602B true CN105446602B (en) 2019-04-16

Family

ID=55556874

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510825092.1A Active CN105446602B (en) 2015-11-24 2015-11-24 The device and method for positioning article keyword

Country Status (1)

Country Link
CN (1) CN105446602B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107949826B (en) * 2016-08-09 2021-08-13 华为技术有限公司 Message display method, user terminal and graphical user interface
CN108920593A (en) * 2018-06-27 2018-11-30 上海深势信息科技有限公司 Text display method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102682120A (en) * 2012-05-15 2012-09-19 合一网络技术(北京)有限公司 Method,device and system for acquiring essential article commented on network
WO2012174458A2 (en) * 2011-06-16 2012-12-20 Microsoft Corporation Identifying matching applications based on browsing activity
CN104423868A (en) * 2013-09-04 2015-03-18 腾讯科技(深圳)有限公司 E-book reading positioning method and device
CN104933093A (en) * 2015-05-19 2015-09-23 武汉泰迪智慧科技有限公司 Regional public opinion monitoring and decision-making auxiliary system and method based on big data

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012174458A2 (en) * 2011-06-16 2012-12-20 Microsoft Corporation Identifying matching applications based on browsing activity
CN102682120A (en) * 2012-05-15 2012-09-19 合一网络技术(北京)有限公司 Method,device and system for acquiring essential article commented on network
CN104423868A (en) * 2013-09-04 2015-03-18 腾讯科技(深圳)有限公司 E-book reading positioning method and device
CN104933093A (en) * 2015-05-19 2015-09-23 武汉泰迪智慧科技有限公司 Regional public opinion monitoring and decision-making auxiliary system and method based on big data

Also Published As

Publication number Publication date
CN105446602A (en) 2016-03-30

Similar Documents

Publication Publication Date Title
US11003331B2 (en) Screen capturing method and terminal, and screenshot reading method and terminal
CN110221734B (en) Information display method, graphical user interface and terminal
KR101713167B1 (en) Foldable device, and method for controlling the same
JP6068901B2 (en) Information terminal, voice operation program, and voice operation method
JP5956725B2 (en) Method, device, and computer program product for providing context-aware help content
US9213467B2 (en) Interaction method and interaction device
RU2612362C1 (en) Method of recording, method of playback, device, terminal and system
JP6051338B2 (en) Page rollback control method, page rollback control device, terminal, program, and recording medium
EP3811191B1 (en) Electronic device for displaying list of executable applications on split screen and operating method thereof
US10303327B2 (en) Information display method and device
US20180335908A1 (en) Electronic device and content output method of electronic device
KR20140143556A (en) Portable terminal and method for user interface in the portable terminal
US9921735B2 (en) Apparatuses and methods for inputting a uniform resource locator
CN111373358A (en) Application control method, graphical user interface and terminal
EP3001300B1 (en) Method and apparatus for generating preview data
US9641913B2 (en) Smart terminal information display method and smart terminal
CN112236767A (en) Electronic device and method for providing information related to an image to an application through an input unit
US20220382788A1 (en) Electronic device and method for operating content using same
CN111133430B (en) Content sharing method and device
KR102340251B1 (en) Method for managing data and an electronic device thereof
CN108803972B (en) Information display method, device, mobile terminal and storage medium
CN105446602B (en) The device and method for positioning article keyword
US20160291844A1 (en) Method and apparatus for opening a data processing page
CN105187597B (en) A kind of management method of voice record, device and its mobile terminal
WO2019085810A1 (en) Processing method, device, apparatus, and machine-readable medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant