WO2017177931A1 - 一种文本信息的显示方法、装置和移动设备 - Google Patents
一种文本信息的显示方法、装置和移动设备 Download PDFInfo
- Publication number
- WO2017177931A1 WO2017177931A1 PCT/CN2017/080330 CN2017080330W WO2017177931A1 WO 2017177931 A1 WO2017177931 A1 WO 2017177931A1 CN 2017080330 W CN2017080330 W CN 2017080330W WO 2017177931 A1 WO2017177931 A1 WO 2017177931A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- image data
- text information
- paged
- page turning
- display area
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction 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/0483—Interaction with page-structured environments, e.g. book metaphor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04847—Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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
- G06F3/0488—Interaction 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 using a touch-screen or digitiser, e.g. input of commands through traced gestures
Definitions
- the present invention relates to the technical field of computer processing, and in particular, to a method for displaying text information, a display device for text information, and a mobile device.
- the embodiment of the present invention provides a method, a device, and a mobile device for displaying text information, which are used to solve the problem that the page turning response speed is slow and the page turning is easy to operate.
- the embodiment of the present application discloses a method for displaying text information, including: displaying first image data rendered with first page text information in a display area; detecting a specified page turning operation; The page turning operation moves at least part of the first image data out of the display area; acquiring second image data rendered with the second paged text information according to the page turning operation; after the first image data, at least part The second image data is moved into the display area.
- the displaying, in the display area, the first image data rendered with the first paged text information comprises: rendering the top-ranked paged text information as the first paged text information in the first image data; rendering The first image data having the first paged text information is displayed in the display area; or, the page index recorded at the end of the last display is read; the paged text information corresponding to the page index is used as the first paged text information Rendering is performed in an image data; the first image data rendered with the first paged text information is displayed in the display area.
- the page turning operation comprises a sliding operation; the step of moving at least part of the first image data out of the display area according to the page turning operation comprises: calculating a sliding direction of the sliding operation; The sliding direction moves at least part of the first image data out of the display area; the step of acquiring the second image data that is rendered with the second paged text information comprises: searching for the first paged text information according to the sliding direction Second paged text information; rendering the second paged text information in the second image data; or searching for second image data pre-rendered with second paged text information according to the sliding direction; Moving at least part of the second image data into the display area comprises: calculating a distance at which the first image data moves out of the display area; moving the second image data into the display area along the sliding direction To the distance.
- the method further comprises: rendering the third paged text information in the third image data according to the page turning operation.
- the page turning operation comprises a sliding operation, the sliding operation has a sliding direction; and the step of rendering the third paged text information in the third image data according to the page turning operation comprises: sliding according to the sliding And searching for third page text information adjacent to the second page text information; searching for third image data not having paged text information; rendering the third page text information in the third image data .
- the method further comprises: when all of the first image data are moved out of the display area, clearing the first paged text information rendered in the first image data.
- the method further comprises: reading the original text information; dividing the original text information into one or more pages of paged text information adapted to the display area.
- the step of dividing the original text information into one or more pages of paged text information adapted to the display area comprises: formatting the original text information according to at least a width of the display area; The height is divided into original page information after typesetting into one or more pages of paged text information.
- the embodiment of the present application further discloses a display device for text information, including:
- a first image data display module configured to display first image data rendered with the first paged text information in the display area
- a page turning operation detecting module configured to detect the specified page turning operation
- the first image data moving module And a second image data obtaining module, configured to acquire, according to the page turning operation, a second image that is rendered with the second paged text information according to the page turning operation Data;
- a second image data moving module configured to move at least part of the second image data into the display area after the first image data.
- the embodiment of the present application provides a method for displaying text information, including: detecting a page turning operation; when detecting a page turning operation, moving at least part of the first image data out of the display area according to the page turning operation, the first The image data is currently displayed image data, and the first paged text information is rendered; according to the page turning operation, at least part of the second image data is moved into the display area, and the second image data is rendered with the second paged text information. And rendering the third paged text information in the third image data according to the page turning operation.
- a display device for text information comprising: a page turning operation detecting module, configured to detect a page turning operation; and a first image data moving module, configured to, when the page turning operation is detected, be at least partially first according to the page turning operation The image data is moved out of the display area, the first image data is the currently displayed image data, and the first paged text information is rendered; the second image data moving module is configured to: at least part of the second image data according to the page turning operation Moving into the display area, the second image data is rendered with second paged text information; and a third image data rendering module is configured to render the third paged text information in the third image data according to the page turning operation .
- a mobile device comprising: a memory for storing a program, the processor, configured to, by calling a program stored in the memory, perform a method comprising: displaying, in a display area, a first page text information rendered with a first page An image data; detecting a specified page turning operation; moving at least part of the first image data out of the display area according to the page turning operation; acquiring a second rendered second page text information according to the page turning operation Image data; after the first image data, at least a portion of the second image data is moved into the display area.
- a mobile device comprising: a memory for storing a program, a processor, configured to execute a method comprising the steps of: detecting a page turning operation by detecting a program stored in the memory; The page turning operation moves at least part of the first image data out of the display area, the first image data is the currently displayed image data, and the first paged text information is rendered; according to the page turning operation, at least part of the second image data is to be Moving into the display area, the second image data is rendered with second paged text information; according to the page turning operation, the third paged text information is rendered in the third image data.
- the embodiment of the present application uses the first image data to render the first paged text information, the second image data to render the second paged text information, and moves the first image data and the second image data to implement the page turning operation, and uses the image data as the text.
- the carrier of information avoids direct rendering of text information, improves the response speed of page turning, avoids causing jams during page turning, and improves the fluency of reading.
- the embodiment of the present application pre-renders the third page text information by using the third image data, so that the page can be directly displayed when the page is turned back, thereby further improving the response speed of the page turning, and the occupied memory does not cause excessive memory occupation to cause the system card. Problems, the reasonable use of memory to further improve the fluency of page turning and reading.
- FIG. 1 is a flow chart showing the steps of a first embodiment of a method for displaying text information according to the present application
- FIGS. 2A-2D are diagrams showing an example of page turning in the embodiment of the present application.
- FIG. 3 is a flow chart showing the steps of a second embodiment of a method for displaying text information according to the present application
- FIG. 4 is a flow chart showing the steps of a third embodiment of a method for displaying text information according to the present application.
- FIG. 5 is a functional block diagram of a first embodiment of a text information display apparatus according to the present application.
- FIG. 6 is a functional block diagram of a second embodiment of a display device for text information according to the present application.
- FIG. 7 is a functional block diagram of a third embodiment of a text information display device according to the present application.
- FIG. 8 is a schematic structural diagram of a mobile device of the present application.
- FIG. 1 a flow chart of a first embodiment of a method for displaying text information according to the present application is shown. Specifically, the method may include the following steps:
- Step S101 displaying first image data rendered with first page text information in a display area
- the embodiments of the present application can be applied to various mobile devices, for example, mobile phones, tablet computers, personal digital assistants, wearable devices (such as glasses, watches, etc.), and the like, and can also be applied to various fixed devices, for example, smart televisions. , personal computers, and so on.
- the operating systems of these mobile devices and fixed devices may include Android (Android), IOS, Windows Phone, Windows, etc., in which reading applications such as browsers, e-book readers, etc. may be installed to display text information for The user reads.
- Android Android
- IOS IOS
- Windows Phone Windows, etc.
- reading applications such as browsers, e-book readers, etc. may be installed to display text information for The user reads.
- the original text information (such as a certain chapter of the novel, an independent document, etc.) may be first divided into one or more pages of paged text information, and each of the paged text information may be simply referred to as a page, each Page pagination text information can be rendered in an image data such as a bitmap Bitmap.
- first paged text information, the second paged text information, the third paged text information, and the like belong to the paged text information
- first image data, the second image data, the third image data, and the like belong to the image data.
- the image data that is rendered with the paged text information may be displayed in a display area in the mobile device or the fixed device to display the text information for the user to read.
- the display area may be full screen, or may occupy part of the screen.
- the top, bottom, and the like of the screen of the mobile phone may retain part of the area to display information such as power, signal, chapter name, reading progress, etc., and the rest may be set as the display area. .
- the image data is equal to the size of the display area.
- the image data may be smaller than the display area, which is not limited in this embodiment of the present application.
- the reading class application can slice the original text information into one or more pages of paged text information.
- the paged text information of the top ranking (ie, the first order) may be rendered as the first page text information in the first image data;
- the first image data is in the Android system and the bitmap data is bitmap bitmap
- the OnDraw method of the View in Android can be rewritten.
- the drawBitmap method draws the bitmap Bitmap onto the View of the display area and displays it.
- the paging index of the current paged text information (such as the page to which the first line of text information belongs) may be recorded. That is, the index information of a paged text message.
- chapters and pages can be used as pagination indexes.
- chapters, page numbers, and number of rows can also be used.
- the paging index is not limited in this embodiment of the present application.
- the paging index recorded at the end of the last display can be read, the paging text information corresponding to the paging index is searched, and the paging engine information corresponding to the paging index is used as the first paging text information in the first Rendering in image data.
- the first image data is in the Android system and the bitmap data is bitmap bitmap
- the OnDraw method of the View in Android can be rewritten.
- the drawBitmap method draws the bitmap Bitmap onto the View of the display area and displays it.
- the page corresponding to the paging index is completely displayed when the next display is entered, so that the page text information of the last exit can be saved in the page that is re-entered, but not necessarily It can be guaranteed that the first line of text information at the time of exit is displayed on the first line of the current page.
- the first image data rendered with the first paged text information is moved to the display area for display.
- Step S102 detecting a specified page turning operation
- the page turning operation may refer to an operation of viewing the previous page of the paged text information, the next page, or any existing paged text information of the non-current page.
- the page turning operation may include at least one of the following:
- the mobile device or the fixed device has a touch screen, and the touch screen can detect a touch event generated by a touch on the touch screen by the user, and determine whether a sliding operation occurs according to the touch event.
- the down event can indicate that the touch screen is not moved or lifted
- the move event can indicate that the touch screen starts to move (or slide)
- the lift event can be displayed on the touch screen. Lift up.
- the button can also be a virtual button.
- the user can touch the button within a specified area of the touch screen, and can think that the button is pressed once, and the side where the touch point is close to the display screen can be regarded as the page turning direction. If you touch the area near the top of the display, it is considered to be page up.
- the KEYCODE_VOLUME_UP event it means that the up key of the volume key is triggered. If the KEYCODE_VOLUME_DOWN event is detected, it means that the down key of the volume key is triggered.
- the mobile device has a gyroscope, and the gyroscope can measure the rotation angle of the mobile device on the X, Y, and Z components, and determine whether a shaking operation occurs by the rotation angle.
- page turning operation is only an example.
- other page turning operations such as tilting operation (page turning by tilting the mobile device), etc.
- tilting operation page turning by tilting the mobile device
- the embodiment of the present application does not limit.
- the person skilled in the art can also adopt other page turning operations according to actual needs, which is not limited in the embodiment of the present application.
- Step S103 moving at least part of the first image data out of the display area according to the page turning operation
- the first image data may be moved out of the display area according to the page turning operation to remove the first paged text information that is rendered. Specifically, how much the first image data is removed from the display area is determined according to a specific operation, and may be part or all, which is not limited in this embodiment.
- step 103 may include the following steps:
- Step S11 calculating a sliding direction of the sliding operation
- Step S12 moving at least part of the first image data out of the display area along the sliding direction.
- the position (coordinate information) of the touch screen can be recorded every time. If the application is in the Android system, the view of the reading application rewrites the onTouch method of the View class in Android, and the onTouch method after the rewrite can record each Touch the position of the touch screen (coordinate information).
- the sliding operation is decomposed into a plurality of touch events, each of which has coordinate information, and the coordinate information of the current touch event is compared with the coordinate information coordinates of the previous touch event to determine the sliding direction.
- the Y coordinate of the current coordinate information is compared with the Y coordinate of the previous coordinate information, and if the two are subtracted to be negative, the sliding direction of the sliding operation is upward sliding, if both Subtracting to positive The sliding direction of the sliding operation is sliding downward.
- the sliding direction is from top to bottom, at least part of the first image data can be moved out of the display area from top to bottom;
- At least part of the first image data can be moved out of the display area from bottom to top.
- the first image data 202 is displayed in the display area 201 (black frame portion).
- the direction of the sliding operation is from bottom to top as indicated by the arrow, it is possible to At least a portion of the first image data 202 is moved upwardly out of the display area 201.
- the moving manner of the first image data is only an example.
- the moving manner of other first image data may be set according to actual conditions. For example, if the text information is vertically typeset, the reading is mainly in the left and right direction. If the sliding direction is from left to right, at least part of the first image data is moved out of the display area from left to right, or at least part of the first image data is removed from right to left if the sliding direction is from right to left.
- the display area, and the like the embodiment of the present application does not limit this.
- a person skilled in the art may also adopt a manner of moving other first image data according to actual needs, which is not limited in the embodiment of the present application.
- the page turning direction can still be determined according to the specific page turning operation, and at least part of the first image data is moved out of the display area in the page turning direction.
- the page turning operation is a key operation, and pressing a certain key (such as the up key of the volume key) moves all the first image data out of the display area from top to bottom, and presses another key (such as the down key of the volume key). ), the first image data is completely removed from the bottom up Display area.
- the page turning operation is a button operation, and each time the button is pressed, the first image data is moved by a preset distance.
- the portion of the first image data is turned up and down. Moving out of the display area and pressing another key (such as the down key of the volume key), the first image data portion is moved out of the display area from bottom to top, and the distance of each moving part in the Y coordinate direction is a preset distance.
- Step S104 acquiring second image data that is rendered with the second paged text information according to the page turning operation
- the content of the first paging information and the second paging information is generally coherent, that is, the previous paging or the next paging, and is performed in the second image data (such as a bitmap Bitmap). Rendering.
- the second image data is image data other than the first image data.
- step 104 may include the following steps:
- Step S21 searching for second page text information adjacent to the first page text information according to the sliding direction
- the second page text information adjacent to the first page text information may be searched according to the page turning direction of the page turning operation.
- Step S22 rendering the second paged text information in the second image data
- the rendering engine is called to render in the second image data.
- the image data is three or more
- the first page ie, the first page text information
- the user's page turning intention is unknown, therefore, After detecting the sliding operation, another page (ie, the second paged text information) can be searched in real time according to its sliding direction, and the rendering engine is called to render in the second image data.
- the previous page of the first paged text information may be searched for as the second paged text information
- the next page of the first paged text information can be looked up as the second paged text information.
- the first image data 202 is displayed in the display area 201 (black frame portion), as shown in FIG. 2C, if the direction of the sliding operation is from bottom to top as indicated by the arrow,
- the next page 203 of a paged text message 202 is used as the second paged text information.
- the manner of searching the second paged text information is only an example.
- the manner of searching for the second page text information may be set according to actual conditions, for example, if the text information is performed. Vertical typesetting, reading is mainly in the left and right direction. If the sliding direction is from left to right, the previous page of the first paged text information can be searched as the second paged text information, or if the sliding direction is from right to left, Then, the next page of the first paged text information can be searched for as the second paged text information, and the like, which is not limited by the embodiment of the present application.
- a person skilled in the art may also use other second page text information search methods according to actual needs, which is not limited in the embodiment of the present application.
- Step S23 searching for the second image data pre-rendered with the second page text information according to the sliding direction
- the second image data pre-rendered with the second page text information may be searched according to the page turning direction of the page turning operation.
- the image data is two, it may be that when the non-first page (ie, the first page text information) is displayed in the first image data, since the user's page turning intention is known, the previous After the sliding operation is detected, another page (ie, the second page text information) may be searched in advance according to the sliding direction thereof, and then rendered in the second image data, stored in the memory, and extracted from the memory when to be displayed.
- the non-first page ie, the first page text information
- another page ie, the second page text information
- the image data is three or more
- the non-first page ie, the first page text information
- the second page text information can be searched in advance according to the sliding direction thereof, and is rendered in the second image data, stored in the memory, and extracted from the memory when to be displayed.
- the first paged text information is displayed in the first image data, and the previous page of the first paged text information is searched in real time.
- the text information or the paged text information of the next page is called, and the rendering engine is respectively rendered in the two image data. Therefore, after the sliding operation is detected, the rendered second image data is displayed in accordance with the sliding direction thereof, for example, detecting a downward sliding, displaying image data in which the paged text information of the previous page is rendered, and detecting an upward sliding operation. , displaying image data for rendering paged text information with the next page.
- Step S105 after the first image data, move at least part of the second image data into the display area.
- the second image data may be moved into the blank area according to the page turning operation to move into the second page of the rendering. Text information.
- the distance Y of the first image data moving out of the display area may be calculated, and the second image data is moved into the display area (height H) to the distance Y along the sliding direction.
- the first text information and the second text information are generally continuous (the distance between the two is less than a threshold), and therefore, the first image data and the second image data are generally Continuous, moving at the same speed.
- the user triggers the display of another page by the sliding operation, and can calculate the starting position of another page according to the starting position of the current page, the height and the sliding direction of each page, and if the sliding direction is sliding downward, the other is
- the starting position of the pagination is equal to the sum of the starting position of the current pagination and the pagination height, and the sliding direction is the upward sliding, and the starting position of the other pagination is equal to the difference between the starting position of the current pagination and the pagination height, and the drawBitmap is called again.
- the method maps the bitmap Bitmap to the View of the display area and starts displaying the page at the beginning of another page.
- the embodiment of the present application uses the first image data to render the first paged text information, the second image data to render the second paged text information, and moves the first image data and the second image data to implement the page turning operation, and uses the image data as the text.
- the carrier of information avoids direct rendering of text information, improves the response speed of page turning, avoids causing jams during page turning, and improves the fluency of reading.
- FIG. 3 a flow chart of a second embodiment of a method for displaying text information according to the present application is shown. Specifically, the method may include the following steps:
- Step S301 reading original text information
- Reading articles are usually organized according to chapters.
- the creation of articles is usually based on the concept of chapters, which means that an article usually has at least one chapter.
- the directory information of the article can be obtained, and then the content of the chapter is obtained according to the chapter ID in each entry in the directory as the original text information.
- Step S302 dividing the original text information into one page or multiple pages of paged text information adapted to the display area;
- step S302 may include the following steps:
- Step S31 the original text information is typeset according to at least the width of the display area
- step S32 the original text information after the typesetting is divided into one or more pages of paged text information according to the height of the display area.
- the text information is horizontally typeset as shown in FIG. 2A.
- the reading application can be configured based on a typesetting engine, which can be an underlying C++ implemented so library (unix dynamic link library, which is a binary file), and the application layer is locally called by Java Native Interface (JANI). ) the way to use.
- a typesetting engine can be an underlying C++ implemented so library (unix dynamic link library, which is a binary file), and the application layer is locally called by Java Native Interface (JANI). ) the way to use.
- JANI Java Native Interface
- the typesetting engine formats the content of the original text information according to the width of the display area (such as the width of the screen), and the configuration parameters such as the segment spacing, the line spacing, and the text size, that is, the position of each text of the original text information is determined.
- the typesetting engine divides the original file after the typesetting by the height of the display area (such as the height of the screen minus the height of the information such as the battery for displaying the up and down time) as the height of the paged text information.
- the foregoing division manner is only an example.
- other division manners may be set according to actual conditions.
- the text information is vertically typeset
- the original text information may be typeset according to at least the height of the display area.
- the original text information after the typesetting is divided into one or more pages of paged text information according to the width of the display area, and the like, which is not limited by the embodiment of the present application.
- other division manners may be adopted by those skilled in the art according to actual needs, and the embodiment of the present application does not limit this.
- Step S303 displaying first image data rendered with the first paged text information in the display area
- Step S304 detecting a specified page turning operation
- Step S305 moving at least part of the first image data out of the display area according to the page turning operation
- Step S306 acquiring second image data that is rendered with the second paged text information according to the page turning operation
- Step S307 after the first image data, moving at least part of the second image data into the display area;
- Step S308 the third page text information is rendered in the third image data according to the page turning operation
- three frames of different image data that is, first image data, second image data, and third image data (such as a bitmap Bitmap) may be configured.
- the third paged text information can be rendered in advance at the third image data.
- step S308 may include the following steps:
- Step S41 searching for third page text information adjacent to the second page text information according to the sliding direction
- the content of the second paged text information and the third paged text information is generally coherent, that is, the previous page or the next page.
- the page turning operation may also be other.
- the page turning operation is other, the third page text information adjacent to the second page text information is searched according to the page turning direction of the page turning operation.
- Step S42 searching for third image data that is not rendered with paged text information
- the image data can be recycled.
- a sequence can be configured for each image data. No., the serial number of the image data used last time is recorded, and the content of the image data other than the serial number is empty, that is, the paged text information is not rendered.
- each Bitmap has its own serial number, for example, it can be 1, 2, or 3, respectively.
- Step S43 the third page text information is rendered in the third image data.
- the rendering engine in the reading application can fill the bitmapped text information into the bitmap Bitmap in the form of a binary stream.
- the rendered image data is passed back to the application layer, and the application layer draws the image data onto the screen.
- Step S309 when all the first image data are moved out of the display area, the first paged text information rendered in the first image data is cleared.
- the first paged text information rendered in the first image data may be cleared, so that the content of the first image data is empty, and is used for subsequent paging. Rendering of text information.
- the first image data when the first image data is completely moved out of the display area, the first image data becomes new third image data, and the original second image data when being removed becomes new first image data displayed in the display area.
- the original third image data at the time of removal becomes the new second image data.
- the rendering engine renders one frame of image data (such as Bitmap) and the memory occupied by about 2M.
- the memory occupied by the three frames of image data is about 6M, which is currently occupied by the default application in the Android system.
- the maximum memory is 16M, and the reader (the module that renders image data) is the core module of the reading application.
- the 6M memory does not have a significant impact on performance.
- the time to render a page is about 20ms.
- the reading application will turn the page content of the reader according to the data of the page-turning operation triggered by the user (such as the data of the sliding operation) (moving as above).
- N is a positive integer
- the N+1th frame image data has been pre-rendered
- the N+2 frame image data is pre-rendered. Still not rendered.
- the asynchronous thread is started to render the N+2th frame image data.
- the Nth frame image data exits the screen (the N+2 frame image data has been rendered), and the Nth frame image data that has been exited is subjected to text information.
- the clearing is then used to render the N+3 frame image data (if there are only 3 frames of image data, the N+3 frame image data is the same as the Nth frame image data, and if there are more than 3 frames of image data, Then, the N+3th frame image data may be different from the Nth frame image data).
- the image data of the Nth frame is displayed, so in the first page turning operation, the image data of the N+1th frame is immediately loaded according to the page turning operation, and then the Nth is preloaded at the same time. +2 frames of image data.
- the maximum speed of page turning is generally limited to prevent the page turning speed from being too fast in an abnormal situation. In this case, the sliding of more than one page within 20ms is basically not occurred. To ensure the smoothness of page turning.
- a page and at least three frames of image data can achieve a balance of performance and fluency.
- the embodiment of the present application pre-renders the third page text information by using the third image data, so that the page can be directly displayed when the page is turned back, thereby further improving the response speed of the page turning, and the occupied memory does not cause excessive memory occupation to cause the system card. Problems, the reasonable use of memory to further improve the fluency of page turning and reading.
- the method may include the following steps:
- Step S410 detecting a page turning operation.
- the user-triggered page turning operation is detected in real time.
- Step S420 When the page turning operation is detected, at least part of the first image data is moved out of the display area according to the page turning operation, and the first image data is the currently displayed image data, and the first paged text information is rendered.
- Step S430 Move at least part of the second image data into the display area according to the page turning operation, and the second image data is rendered with the second page text information.
- all of the currently displayed in the display area may be the first image data in which the first paged text information is rendered.
- the top-ranked paged text information may be rendered as the first paged text information in the first image data; and the first image data rendered with the first paged text information is displayed in the display area.
- the page turning direction may be searched according to the page turning operation.
- the second page text information adjacent to the first page text information; and the second page text information is rendered in the second image data.
- the second image data pre-rendered with the second paged text information is searched according to the page turning direction of the page turning operation.
- the display area is currently displayed as the portion of the first image data and the portion of the second image data in which the second paged text information is rendered, at least part of the first image data is directly moved out of the display area according to the page turning direction of the page turning operation. And moving at least part of the second image data into the display area.
- the first paged text information is the paged text information of the end direction of the page turning direction
- the second paged text information is the paged text information of the starting direction of the page turning.
- the page turning operation is a sliding operation, and if the sliding direction is from top to bottom, in the two-page paged text information, the next paged text information is the first paged text information, and the previous paged text information is the second paged text information. . If the sliding direction is from bottom to top, the previous pagination text information is the first pagination text information, and the next pagination text is the second pagination text information.
- Step S440 The third page text information is rendered in the third image data according to the page turning operation.
- the third page text information is first searched according to the page turning direction of the page turning operation.
- the third paged text information is paged text information adjacent to the second paged text information.
- the method further includes: when all the first image data are moved out of the display area, clearing the first paged text information rendered in the first image data, and therefore, according to the
- the page turning operation, in the step of rendering the third page text information in the third image data may include: searching for the third page adjacent to the second page text information according to the page turning direction of the page turning operation Text information; the third page text information is rendered in the third image data by using image data that moves out of the display area as third image data. Wherein, if the third image data has been emptied, the third image data that is not rendered with the paged text information may be searched for rendering of the third paged text information.
- the three frames of image data are rendered with the paged text information. For example, a portion of the first image data and a portion of the second image data are displayed in the current display area, at which time the third image data has been rendered.
- the detected page turning operation is opposite to the previous page turning operation, the third page text information that should be rendered in the third image data is changed at this time, for example, the page turning operation is page turning from bottom to top, and the last page turning The page operation is page turning from top to bottom.
- the third page text information rendered in the third image data is the page text information adjacent to the page text information of the previous page, and the page turning operation is performed.
- the third paged text information rendered in the third image data should be paged text information adjacent to the paged page text information of the next page.
- the third page text information is rendered with the image data not displayed in the display area or removed from the display area as the third image data.
- the paged text information that needs to be rendered in the third image data does not change.
- the rendering of the paginated text information can no longer be performed.
- FIG. 5 a functional block diagram of a first embodiment of a device for displaying a text information of the present application is shown. Specifically, the following modules may be included:
- the first image data display module 401 is configured to display, in the display area, the first paged text information a first image data; a page turning operation detecting module 402, configured to detect a specified page turning operation; a first image data moving module 403, configured to remove at least a portion of the first image data according to the page turning operation a display area; a second image data obtaining module 404, configured to acquire second image data that is rendered with the second paged text information according to the page turning operation; and a second image data moving module 405, configured to: After the data, at least a portion of the second image data is moved into the display area.
- the first image data display module 401 may include the following sub-modules:
- a first rendering sub-module configured to render the first-ranked paginated text information as the first paginated text information in the first image data
- the first display sub-module configured to render the first image with the first paginated text information The data is displayed in the display area;
- a paging index sub-module configured to read a paging index recorded at the end of the last display; a second rendering sub-module, configured to use the paging text information corresponding to the paging index as the first paging text information in the first image data a second display sub-module for displaying the first image data rendered with the first paged text information in the display area.
- the page turning operation includes a sliding operation
- the first image data moving module 403 may include a sub-module: a sliding direction calculating sub-module for calculating a sliding direction of the sliding operation Removing the sub-module for moving at least part of the first image data out of the display area along the sliding direction
- the second image data obtaining module 404 may include the following sub-module: a first search sub-module for The sliding direction is used to search for the second paged text information adjacent to the first paged text information; the third rendering sub-module is configured to render the second paged text information in the second image data; or a second search sub-module, configured to search for second image data pre-rendered with second page text information according to the sliding direction;
- the second display sub-module 405 may include the following sub-module: a distance calculation sub-module for calculating Moving the first image data out of the display area; moving into a sub-module for using the second image data along the sliding direction Into the distance
- the module may include a module: an original text information reading module 501 for reading original text information;
- the text information dividing module 502 is configured to divide the original text information into one or more pages of paged text information adapted to the display area;
- the first image data display module 503 is configured to display the first in the display area.
- the page turning operation includes a sliding operation, and the sliding operation has a sliding direction;
- the third image data rendering module 508 may include the following sub-module: a third search sub-module, configured to search for third-page text information adjacent to the second page text information according to the sliding direction; a module for finding third image data that is not rendered with paged text information, and a fourth rendering sub-module for rendering the third paged text information in the third image data.
- a third search sub-module configured to search for third-page text information adjacent to the second page text information according to the sliding direction
- a module for finding third image data that is not rendered with paged text information and a fourth rendering sub-module for rendering the third paged text information in the third image data.
- the original text information dividing module 502 may include the following sub-module: a layout sub-module, configured to type the original text information according to at least a width of the display area; The original text information after the typesetting is divided into one or more pages of paged text information according to the height of the display area.
- FIG. 7 a functional block diagram of a third embodiment of a display device apparatus for text information according to the present application is shown. Specifically, the following modules may be included:
- the page turning operation detecting module 601 is configured to detect a page turning operation; the first image data moving module 602 is configured to: when the page turning operation is detected, move at least part of the first image data out of the display area according to the page turning operation, The first image data is the currently displayed image data, and the first page text information is rendered; the second image data moving module 603 is configured to move at least part of the second image data into the display area according to the page turning operation.
- the second image data rendering module has a second page text information, and the third image data rendering module 604 is configured to render the third page text information in the third image data according to the page turning operation.
- the method further includes: a first image data rendering module, configured to render the top-ranked paged text information as the first paged text information in the first image data; the first image data display module, The first image data rendered with the first paged text information is displayed in the display area.
- the index reading module is configured to read the paging index recorded at the end of the last display;
- the first image rendering module is configured to use the paging text information corresponding to the paging index as the first The paged text information is rendered in the first image data;
- the first image display module is configured to display the first image data rendered with the first paged text information in the display area.
- the embodiment may further include: a second page searching module, configured to search for the second page text information adjacent to the first page text information according to the page turning direction of the page turning operation; the second image rendering And a module, configured to render the second paged text information in the second image data.
- a second page searching module configured to search for the second page text information adjacent to the first page text information according to the page turning direction of the page turning operation
- the second image rendering And a module configured to render the second paged text information in the second image data.
- the second image search module may be configured to search for the second image data pre-rendered with the second paged text information according to the page turning direction of the page turning operation.
- the third image data rendering module 604 includes: a third paged text search unit configured to search for the third paged text information according to the page turning direction of the page turning operation; and a third image data rendering unit configured to use the third paged page Text information is rendered in the third image data.
- the first image clearing module may be configured to: when all the first image data are moved out of the display area, clear the first page text information rendered in the first image data .
- the third image data rendering module 604 may further include: a third page searching unit, configured to search for third page text information adjacent to the second page text information according to the page turning direction of the page turning operation; the third image a rendering unit, configured to render the third paged text information in the third image data by using image data that moves out of the display area as third image data.
- the mobile device 700 has a display screen 701, such as a touch screen, and has a memory 702 for storing a program, and a processor 703 for calling a program stored in the memory, performing a method comprising: displaying first image data rendered with first paged text information in a display area; detecting a specified page turning operation; according to the page turning operation, at least part of the Transmitting the first image data out of the display area; acquiring second image data rendered with the second paged text information according to the page turning operation; after the first image data, moving at least part of the second image data into The display area.
- the processor 703 may also perform a method including the following steps: detecting a page turning operation; when detecting a page turning operation, moving at least part of the first image data out of the display area according to the page turning operation, the first image data being The currently displayed image data is rendered with first paged text information; according to the page turning operation, at least part of the second image data is moved into the display area, and the second image data is rendered with the second paged text information; The page turning operation is performed to render the third page text information in the third image data.
- the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment.
- embodiments of the embodiments of the present application can be provided as a method, apparatus, or computer program product. Therefore, the embodiments of the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware. Moreover, embodiments of the present application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
- computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
- the computer device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
- the memory may include non-persistent memory, random access memory (RAM), and/or non-volatile memory in a computer readable medium, such as read only memory (ROM) or flash memory.
- RAM random access memory
- ROM read only memory
- Memory is an example of a computer readable medium.
- Computer readable media includes both permanent and non-persistent, removable and non-removable media.
- Information storage can be implemented by any method or technology. The information can be computer readable instructions, data structures, modules of programs, or other data.
- Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory. (ROM), electrically erasable programmable read only memory (EEPROM), flash memory or other memory technology, compact disk read only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, Magnetic tape cartridges, magnetic tape storage or other magnetic storage devices or any other non-transportable media can be used to store information that can be accessed by a computing device.
- computer readable media does not include non-persistent computer readable media, such as modulated data signals and carrier waves.
- Embodiments of the present application are described with reference to flowcharts and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the present application. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG.
- These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing terminal device to produce a machine such that instructions are executed by a processor of a computer or other programmable data processing terminal device
- Means are provided for implementing the functions specified in one or more of the flow or in one or more blocks of the flow chart.
- the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing terminal device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
- the instruction device implements the functions specified in one or more blocks of the flowchart or in a flow or block of the flowchart.
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
一种文本信息的显示方法、装置和移动设备,该方法包括:在显示区域中显示渲染有第一分页文本信息的第一图像数据(S101);检测到指定的翻页操作(S102);根据所述翻页操作将至少部分所述第一图像数据移出所述显示区域(S103);根据所述翻页操作获取渲染有第二分页文本信息的第二图像数据(S104);在所述第一图像数据之后,将至少部分所述第二图像数据移入所述显示区域(S105)。该方法以图像数据作为文本信息的载体,避免了直接对文本信息进行渲染,提高了翻页的响应速度,避免了在翻页过程中造成卡顿,提高了阅读的流畅性。
Description
本发明申请要求于2016年04月13日提交中国专利局、申请号为CN201610230309.9、发明名称为“一种文本信息的显示方法、装置和移动设备”的中国专利申请的优先权,其全部内容通过引用结合在本发明申请中。
本发明涉及计算机处理的技术领域,特别是涉及一种文本信息的显示方法、一种文本信息的显示装置和一种移动设备。
随着科学技术的发展,诸如手机、平板电脑、智能手表等电子设备广泛普及,在人们的生活、学习、工作中的应用越来越多。
在生活、学习、工作等方面,人们经常需要阅读新闻、小说、报告等文本,使得在这些电子设备中,阅读类应用是常用的应用之一。
在目前的阅读类应用中,大多是直接将文本信息直接渲染到屏幕上的。
以Android(安卓)系统为例,在自定义的View(视图)上,使用API(Application Programming Interface,应用程序编程接口)接口drawText方法渲染文本信息。
因此,在阅读类应用中进行翻页时,需要检测到翻页操作时,再立即进行即将显示的文本信息的渲染,翻页的响应速度较慢,尤其在快速翻页的过程中,容易造成卡顿,阅读不流畅。
发明内容
本申请实施例提供一种文本信息的显示方法、装置和移动设备,用以解决翻页的响应速度较慢、翻页容易操作卡顿的问题。
为了解决上述问题,本申请实施例公开了一种文本信息的显示方法,包括:在显示区域中显示渲染有第一分页文本信息的第一图像数据;检测到指定的翻页操作;根据所述翻页操作将至少部分所述第一图像数据移出所述显示区域;根据所述翻页操作获取渲染有第二分页文本信息的第二图像数据;在所述第一图像数据之后,将至少部分所述第二图像数据移入所述显示区域。
优选地,所述在显示区域中显示渲染有第一分页文本信息的第一图像数据的步骤包括:将排序最前的分页文本信息作为第一分页文本信息在第一图像数据中进行渲染;将渲染有第一分页文本信息的第一图像数据在显示区域中进行显示;或者,读取上一次显示结束时记录的分页索引;将所述分页索引对应的分页文本信息作为第一分页文本信息在第一图像数据中进行渲染;将渲染有第一分页文本信息的第一图像数据在显示区域中进行显示。
优选地,所述翻页操作包括滑动操作;所述根据所述翻页操作将至少部分所述第一图像数据移出所述显示区域的步骤包括:计算所述滑动操作的滑动方向;沿所述滑动方向将至少部分第一图像数据移出所述显示区域;所述获取渲染有第二分页文本信息的第二图像数据的步骤包括:按照所述滑动方向查找与所述第一分页文本信息相邻的第二分页文本信息;将所述第二分页文本信息在所述第二图像数据中进行渲染;或者,按照所述滑动方向查找预先渲染有第二分页文本信息的第二图像数据;所述将至少部分所述第二图像数据移入所述显示区域的步骤包括:计算所述第一图像数据移出所述显示区域的距离;沿所述滑动方向将所述第二图像数据移入所述显示区域至所述距离。
优选地,还包括:根据所述翻页操作将第三分页文本信息在第三图像数据中进行渲染。
优选地,所述翻页操作包括滑动操作,所述滑动操作具有滑动方向;所述根据所述翻页操作将第三分页文本信息在第三图像数据中进行渲染的步骤包括:按照所述滑动方向查找与所述第二分页文本信息相邻的第三分页文本信息;查找未渲染有分页文本信息的第三图像数据;将所述第三分页文本信息在所述第三图像数据中进行渲染。
优选地,还包括:当全部所述第一图像数据移出所述显示区域时,清除在所述第一图像数据中渲染的第一分页文本信息。
优选地,还包括:读取原始文本信息;将所述原始文本信息划分为一页或多页与显示区域适配的分页文本信息。
优选地,所述将所述原始文本信息划分为一页或多页与显示区域适配的分页文本信息的步骤包括:至少按照显示区域的宽度对所述原始文本信息进行排版;按照显示区域的高度将排版之后的原始文本信息划分为一页或多页分页文本信息。
本申请实施例还公开了一种文本信息的显示装置,包括:
第一图像数据显示模块,用于在显示区域中显示渲染有第一分页文本信息的第一图像数据;翻页操作检测模块,用于检测到指定的翻页操作;第一图像数据移动模块,用于根据所述翻页操作将至少部分所述第一图像数据移出所述显示区域;第二图像数据获取模块,用于根据所述翻页操作获取渲染有第二分页文本信息的第二图像数据;第二图像数据移动模块,用于在所述第一图像数据之后,将至少部分所述第二图像数据移入所述显示区域。
本申请实施例提供了一种文本信息的显示方法,包括:检测翻页操作;当检测到翻页操作,根据所述翻页操作将至少部分第一图像数据移出显示区域,所述第一
图像数据为当前显示的图像数据,渲染有第一分页文本信息;根据所述翻页操作,将至少部分第二图像数据移入所述显示区域,所述第二图像数据渲染有第二分页文本信息;根据所述翻页操作,将第三分页文本信息在第三图像数据中进行渲染。
一种文本信息的显示装置,包括:翻页操作检测模块,用于检测翻页操作;第一图像数据移动模块,用于当检测到翻页操作,根据所述翻页操作将至少部分第一图像数据移出显示区域,所述第一图像数据为当前显示的图像数据,渲染有第一分页文本信息;第二图像数据移动模块,用于根据所述翻页操作,将至少部分第二图像数据移入所述显示区域,所述第二图像数据渲染有第二分页文本信息;第三图像数据渲染模块,用于根据所述翻页操作,将第三分页文本信息在第三图像数据中进行渲染。
一种移动设备,包括:存储器,用于存储程序,处理器,用于通过调用所述存储器中存储的程序,执行包括以下步骤的方法:在显示区域中显示渲染有第一分页文本信息的第一图像数据;检测到指定的翻页操作;根据所述翻页操作将至少部分所述第一图像数据移出所述显示区域;根据所述翻页操作获取渲染有第二分页文本信息的第二图像数据;在所述第一图像数据之后,将至少部分所述第二图像数据移入所述显示区域。
一种移动设备,包括:存储器,用于存储程序,处理器,用于通过调用所述存储器中存储的程序,执行包括以下步骤的方法:检测翻页操作;当检测到翻页操作,根据所述翻页操作将至少部分第一图像数据移出显示区域,所述第一图像数据为当前显示的图像数据,渲染有第一分页文本信息;根据所述翻页操作,将至少部分第二图像数据移入所述显示区域,所述第二图像数据渲染有第二分页文本信息;根据所述翻页操作,将第三分页文本信息在第三图像数据中进行渲染。
本申请实施例包括以下优点:
本申请实施例采用第一图像数据渲染第一分页文本信息,采用第二图像数据渲染第二分页文本信息,通过移动第一图像数据和第二图像数据,实现翻页操作,以图像数据作为文本信息的载体,避免了直接对文本信息进行渲染,提高了翻页的响应速度,避免了在翻页过程中造成卡顿,提高了阅读的流畅性。
本申请实施例采用第三图像数据预先渲染第三分页文本信息,使得在后翻页时可以直接进行显示,进一步提高了翻页的响应速度,占用的内存不会产生内存占用过多造成系统卡顿问题,合理地使用内存来进一步提高了翻页、阅读的流畅性。
图1是本申请的一种文本信息的显示方法第一实施例的步骤流程图;
图2A-图2D是本申请实施例的一种翻页示例图;
图3是本申请的一种文本信息的显示方法第二实施例的步骤流程图;
图4是本申请的一种文本信息的显示方法第三实施例的步骤流程图;
图5是本申请的一种文本信息的显示装置第一实施例的功能模块图;
图6是本申请的一种文本信息的显示装置第二实施例的功能模块图;
图7是本申请的一种文本信息的显示装置第三实施例的功能模块图;
图8是本申请的一种移动设备的结构示意图。
为使本申请的上述目的、特征和优点能够更加明显易懂,下面结合附图和具体实施方式对本申请作进一步详细的说明。
参照图1,示出了本申请的一种文本信息的显示方法第一实施例的步骤流程图,具体可以包括如下步骤:
步骤S101,在显示区域中显示渲染有第一分页文本信息的第一图像数据;
本申请实施例可以应用在各种移动设备中,例如,手机、平板电脑、个人数字助理、穿戴设备(如眼镜、手表等)等等,也可以应用在各种固定设备中,例如,智能电视、个人电脑等等。
这些移动设备、固定设备的操作系统可以包括Android(安卓)、IOS、Windows Phone、Windows等,在这些系统中可以安装阅读类应用,如浏览器、电子书阅读器等等,以显示文本信息供用户进行阅读。
应用本申请实施例,可以预先将原始文本信息(如小说的某一章节、独立的文档等)切分成一页或多页分页文本信息,每一个分页文本信息可以简称为一个分页,每一页分页文本信息可以在一个图像数据(如位图Bitmap)中进行渲染。
需要说明的是,第一分页文本信息、第二分页文本信息、第三分页文本信息等都是属于分页文本信息,第一图像数据、第二图像数据、第三图像数据等都是属于图像数据。
在本申请实施例中,这些渲染有分页文本信息的图像数据,可以在移动设备、固定设备中的显示区域进行显示,以显示文本信息供用户进行阅读。
其中,该显示区域可以为全屏,也可以为占据部分屏幕,如手机的屏幕顶部、底部等位置可以保留有部分区域显示电量、信号、章节名称、阅读进度等信息,其余部分可以设置为显示区域。
一般而言,图像数据与显示区域的大小相等,当然,图像数据也可以小于显示区域,本申请实施例对此不加以限制。
在一种情况中,若用户在阅读类应用中新打开一个原始文本信息,则阅读类应用可以将该原始文本信息切分成一页或多页分页文本信息。
则在此情况中,可以将排序最前(即排序第一)的分页文本信息作为第一分页文本信息在第一图像数据中进行渲染;
将渲染有第一分页文本信息的第一图像数据在显示区域中进行显示,例如,若应用在Android系统中、第一图像数据为位图Bitmap,则可以重写Android中View的onDraw方法,调用drawBitmap方法将位图Bitmap绘制到显示区域的View上,展示出来。
在另一种情况中,若用户在阅读类应用中打开一个在先阅读过的原始文本信息。
则在此情况中,显示分页文本信息结束(即结束阅读)时,如退出阅读类应用或切换至其他页面,可以记录当前分页文本信息(如第一行文本信息所属的分页)的分页索引,即某个分页文本信息的索引信息。
由于阅读类的文章(如小说)通常是按照章节进行组织,一篇文章包括多个章节,因此,可以以章节与页数作为分页索引,当然,章节、页数与行数等信息也可以作为分页索引,本申请实施例对此不加以限制。
因此,本申请实施例中可以读取上一次显示结束时记录的分页索引,查找该分页索引对应的分页文本信息,调用渲染引擎将分页索引对应的分页文本信息作为第一分页文本信息在第一图像数据中进行渲染。
将渲染有第一分页文本信息的第一图像数据在显示区域中进行显示,例如,若应用在Android系统中、第一图像数据为位图Bitmap,则可以重写Android中View的onDraw方法,调用drawBitmap方法将位图Bitmap绘制到显示区域的View上,展示出来。
需要说明的是,若以章节与页数作为分页索引,下一次显示进入时完整显示当分页索引对应的分页,这样可以保存上次退出的分页文本信息在再次进入的分页中,但是,不一定可以保证退出时的第一行文本信息在当前分页第一行进行显示。
在另外一种情况中,若用户在阅读类应用中进行翻页,将渲染有第一分页文本信息的第一图像数据移至显示区域中显示。
步骤S102,检测到指定的翻页操作;
翻页操作,可以指查看分页文本信息的上一个分页、下一个分页或任意存在的非当前页面的分页文本信息的操作。
在具体实现中,翻页操作可以包括如下的至少一种:
1、滑动操作;
在本示例中,可以通过滑动进行翻页,如向上进行滑动则查看下一分页的分页文本信息,向下滑动则查看上一分页的分页文本信息。
在具体实现中,移动设备或固定设备具有触摸屏,触摸屏可以检测经由用户在触摸屏上的触摸所产生的触摸事件,并依据该触摸事件判断是否发生滑动操作。
其中,按下事件(Down)可以表示在触摸屏按下未移动、未抬起,移动事件(Move)可以表示在触摸屏按下后开始移动(或滑行),抬起事件(Up)可以表示在触摸屏抬起。
2、按键操作;
在本示例中,可以通过按键进行翻页,如按下某一个键(如音量键的上键)则查看上一分页的分页文本信息,向按下另一个键(如音量键的下键)则查看下一分页的分页文本信息。当然,该按键也可以是虚拟按键,例如,用户在触摸显示屏的指定区域内的一次触摸,可以认为按下一次按键,并且,可以认为触摸点与显示屏靠近的一侧为翻页方向,如触摸靠近显示屏顶部的区域,认为是向上翻页。
在具体实现中,可以通过监听按键的事件判断是否发生按键操作。
以音量键为例,若检测到KEYCODE_VOLUME_UP事件,则表示触发了音量键的上键,若检测到KEYCODE_VOLUME_DOWN事件,则表示触发了音量键的下键。
3、摇晃操作;
在本示例中,可以通过摇晃移动设备进行翻页,如向右摇晃查看上一分页的分页文本信息,向左摇晃则查看下一分页的分页文本信息。
在具体实现中,移动设备具有陀螺仪,陀螺仪可以测量移动设备在X、Y、Z分量上的旋转角度,通过旋转角度判断是否发生摇晃操作。
当然,上述翻页操作只是作为示例,在实施本申请实施例时,可以根据实际情况设置其他翻页操作,如倾斜操作(通过倾斜移动设备进行翻页)等,本申请实施例对此不加以限制。另外,除了上述判翻页操作外,本领域技术人员还可以根据实际需要采用其它翻页操作,本申请实施例对此也不加以限制。
步骤S103,根据所述翻页操作将至少部分所述第一图像数据移出所述显示区域;
在本申请实施例中,可以按照翻页操作将第一图像数据移出显示区域,以移出其渲染的第一分页文本信息。具体将第一图像数据从显示区域移出多少根据具体操作确定,可以是部分或者全部,在本实施例中并不限制。
为使本领域技术人员更好地理解本申请实施例,在本说明书中,将滑动操作作为翻页操作的一种示例进行说明。
则在本示例中,步骤103可以包括如下步骤:
步骤S11,计算所述滑动操作的滑动方向;
步骤S12,沿所述滑动方向将至少部分第一图像数据移出所述显示区域。
在具体实现中,可以记录每次触摸触摸屏的位置(坐标信息),若应用在Android系统中,则阅读类应用的View重写Android中View类的onTouch方法,重写之后的onTouch方法可以记录每次触摸触摸屏的位置(坐标信息)。
滑动操作会被分解成多个触摸事件,每个触摸事件具有坐标信息,当前触摸事件的坐标信息与在先触摸事件的坐标信息坐标进行对比,判断出滑动方向。
例如,若坐标信息为X、Y坐标,则将当前坐标信息的Y坐标与上一坐标信息的Y坐标进行对比,若两者相减为负则滑动操作的滑动方向为向上滑动,若两者相减为正则滑动操作的滑动方向为向下滑动。
若文本信息如图2A所示进行横向排版,阅读以上下方向为主。
在一个示例中,若滑行方向为自上向下,则可以自上向下将至少部分第一图像数据移出显示区域;
在另一个示例中,若滑行方向为自下向上,则可以自下向上将至少部分第一图像数据移出显示区域。
例如,如图2B所示,在显示区域201(黑框部分)中显示第一图像数据202,如图2C所示,若滑动操作的方向为如箭头所示的自下向上,则可以自下向上将至少部分第一图像数据202移出显示区域201。
当然,上述第一图像数据的移动方式只是作为示例,在实施本申请实施例时,可以根据实际情况设置其他第一图像数据的移动方式,如若文本信息进行竖向排版,阅读以左右方向为主,若滑行方向为自左向右,则自左向右将至少部分第一图像数据移出显示区域,或者,若滑行方向为自右向左,则自右向左将至少部分第一图像数据移出显示区域,等等,本申请实施例对此不加以限制。另外,除了上述第一图像数据的移动方式外,本领域技术人员还可以根据实际需要采用其它第一图像数据的移动方式,本申请实施例对此也不加以限制。
可以理解的,当翻页操作为其他操作时,仍然可以根据具体的翻页操作确定翻页方向,再沿翻页方向将至少部分第一图像数据移出显示区域。例如,翻页操作为按键操作,按下某一个键(如音量键的上键),则自上向下将第一图像数据全部移出显示区域,按下另一个键(如音量键的下键),则自下向上将第一图像数据全部移出
显示区域。或者是,翻页操作为按键操作,每次按键,第一图像数据移动预设距离,如按下某一个键(如音量键的上键),则自上向下将第一图像数据的部分移出显示区域,按下另一个键(如音量键的下键),则自下向上将第一图像数据部分移出显示区域,每次移动的部分在Y坐标方向的距离为预设距离。
步骤S104,根据所述翻页操作获取渲染有第二分页文本信息的第二图像数据;
在具体实现中,为保证阅读的连贯性,第一分页信息与第二分页信息的内容一般是连贯的,即上一分页或下一分页,在第二图像数据(如位图Bitmap)中进行渲染。
需要说明的是,第二图像数据为除第一图像数据以外的图像数据。
以滑动操作为例,则在本示例中,步骤104可以包括如下步骤:
步骤S21,按照所述滑动方向查找与所述第一分页文本信息相邻的第二分页文本信息;
当然,若翻页操作为其他,如按键操作,也可以根据翻页操作的翻页方向查找与所述第一分页文本信息相邻的第二分页文本信息。
步骤S22,将所述第二分页文本信息在所述第二图像数据中进行渲染;
在一种情况中,若图像数据仅有两个,即第一图像数据和第二图像数据轮流显示,因此,在检测到滑动操作之后,可以实时按照其滑动方向查找另一分页(即第二分页文本信息),调用渲染引擎在第二图像数据中渲染。
在另一种情况中,若图像数据为三个及三个以上,在第一图像数据中显示第一个分页(即第一分页文本信息)时,由于未知用户的翻页意图,因此,在检测到滑动操作之后,可以实时按照其滑动方向查找另一分页(即第二分页文本信息),调用渲染引擎在第二图像数据中渲染。
其中,若文本信息如图2A所示进行横向排版,阅读以上下方向为主。
在一个示例中,若滑行方向为自上向下,则可以查找第一分页文本信息的上一分页作为第二分页文本信息;
在另一个示例中,若滑行方向为自下向上,则可以查找第一分页文本信息的下一分页作为第二分页文本信息。
例如,如图2B所示,在显示区域201(黑框部分)中显示第一图像数据202,如图2C所示,若滑动操作的方向为如箭头所示的自下向上,则可以查找第一分页文本信息202的下一分页203作为第二分页文本信息。
当然,上述第二分页文本信息的查找方式只是作为示例,在实施本申请实施例时,可以根据实际情况设置其他第二分页文本信息的查找方式,如若文本信息进行
竖向排版,阅读以左右方向为主,若滑行方向为自左向右,则可以查找第一分页文本信息的上一分页作为第二分页文本信息,或者,若滑行方向为自右向左,则可以查找第一分页文本信息的下一分页作为第二分页文本信息,等等,本申请实施例对此不加以限制。另外,除了上述第二分页文本信息的查找方式外,本领域技术人员还可以根据实际需要采用其它第二分页文本信息的查找方式,本申请实施例对此也不加以限制。
或者,
步骤S23,按照所述滑动方向查找预先渲染有第二分页文本信息的第二图像数据;
当然,若翻页操作为其他,如按键操作,也可以根据翻页操作的翻页方向查找预先渲染有第二分页文本信息的第二图像数据。
在本示例中,若图像数据为两个,可以是,在第一图像数据中显示非第一个分页(即第一分页文本信息)时,由于已知用户的翻页意图,因此,在先检测到滑动操作之后,可以预先按照其滑动方向查找另一分页(即第二分页文本信息),再在第二图像数据中渲染,存储在内存中,待显示时从内存提取。
在本示例中,若图像数据为三个或三个以上,在第一图像数据中显示非第一个分页(即第一分页文本信息)时,由于已知用户的翻页意图,因此,在先检测到滑动操作之后,可以预先按照其滑动方向查找另一分页(即第二分页文本信息)在第二图像数据中渲染,存储在内存中,待显示时从内存提取。
另外,在本实施例中,也可以是,若图像数据为三个及三个以上,在第一图像数据中显示第一分页文本信息,实时查找该第一分页文本信息的上一分页的分页文本信息或下一分页的分页文本信息,调用渲染引擎分别在两个图像数据中进行渲染。因此,在检测到滑动操作之后,按照其滑动方向显示渲染好的第二图像数据,例如,检测到向下滑动,显示渲染有上一分页的分页文本信息的图像数据,检测到向上的滑动操作,显示渲染有下一分页的分页文本信息的图像数据。
步骤S105,在所述第一图像数据之后,将至少部分所述第二图像数据移入所述显示区域。
在本申请实施例中,将第一图像数据移出显示区域之后,显示区域会有至少部分空白区域,则可以按照翻页操作将第二图像数据移入该空白区域,以移入其渲染的第二分页文本信息。
在具体实现中,如图2C所示,可以计算第一图像数据移出显示区域的距离Y,沿该滑动方向将第二图像数据移入显示区域(高度为H)至该距离Y。
需要说明的是,为保证阅读的连贯性,第一文本信息与第二文本信息一般是连续(两者之间的距离小于一阈值)的,因此,第一图像数据与第二图像数据一般是连续的,以同样的速度进行移动。
若文本信息如图2A所示进行横向排版,阅读以上下方向为主。
用户经滑动操作触发另一分页的显示,可以根据当前分页的起始位置,每一分页的高度和滑动方向,计算出另一分页的起始位置,如滑动方向为向下滑动,则另一分页的起始位置为等于当前分页的起始位置与分页高度之和,滑动方向为向上滑动,则另一分页的起始位置为等于当前分页的起始位置与分页高度之差,再次调用drawBitmap方法将位图Bitmap绘制到显示区域的View上,在另一分页的起始位置开始显示这个分页。
若对于如图2A所示的分页,按照如图2C所示的箭头方向向上滑动,则如图2D所示,可以显示下一分页的内容。
本申请实施例采用第一图像数据渲染第一分页文本信息,采用第二图像数据渲染第二分页文本信息,通过移动第一图像数据和第二图像数据,实现翻页操作,以图像数据作为文本信息的载体,避免了直接对文本信息进行渲染,提高了翻页的响应速度,避免了在翻页过程中造成卡顿,提高了阅读的流畅性。
参照图3,示出了本申请的一种文本信息的显示方法第二实施例的步骤流程图,具体可以包括如下步骤:
步骤S301,读取原始文本信息;
阅读类的文章(如小说)通常是按照章节来组织的,文章的创作也通常是基于章节的概念的,也就是说一个文章通常至少会有一个章节的内容。
当获取到文章的数据时,可以去获取此文章的目录信息,然后根据目录中每一个条目中的章节ID去获取章节的内容,作为原始文本信息。
当然,除了章节之外,还可以直接读取整个文档作为原始文本信息,等等,本申请实施例对此不加以限制。
步骤S302,将所述原始文本信息划分为一页或多页与显示区域适配的分页文本信息;
由于显示区域有限,通常不能一次性将所有的原始文本信息在显示区域进行显示。因此,对于读取的原始文本信息,通常按照显示区域划分为一页或多页分页文本信息,分页显示。
在本申请实施例的一个示例中,步骤S302可以包括如下步骤:
步骤S31,至少按照显示区域的宽度对所述原始文本信息进行排版;
步骤S32,按照显示区域的高度将排版之后的原始文本信息划分为一页或多页分页文本信息。
在本示例中,文本信息如图2A所示进行横向排版。
在具体实现中,阅读类应用可以配置基于排版引擎,该排版引擎可以是一个底层C++实现的so库(unix的动态连接库,为二进制文件),应用层通过JNI(Java Native Interface,JAVA本地调用)的方式使用。
排版引擎根据显示区域的宽度(如屏幕的宽度),以及,段间距、行间距、文字大小等配置参数,对原始文本信息的内容进行排版,即确定了原始文本信息的每个文字的位置。
排版引擎以显示区域的高度(如屏幕的高度减去显示上下时间电池等信息的高度)作为分页文本信息的高度,对排版之后的原始文件进行切分。
当然,上述划分方式只是作为示例,在实施本申请实施例时,可以根据实际情况设置其他划分方式,如若文本信息进行竖向排版,则可以至少按照显示区域的高度对所述原始文本信息进行排版,按照显示区域的宽度将排版之后的原始文本信息划分为一页或多页分页文本信息,等等,本申请实施例对此不加以限制。另外,除了上述划分方式外,本领域技术人员还可以根据实际需要采用其它划分方式,本申请实施例对此也不加以限制。
步骤S303,在显示区域中显示渲染有第一分页文本信息的第一图像数据;
步骤S304,检测到指定的翻页操作;
步骤S305,根据所述翻页操作将至少部分所述第一图像数据移出所述显示区域;
步骤S306,根据所述翻页操作获取渲染有第二分页文本信息的第二图像数据;
步骤S307,在所述第一图像数据之后,将至少部分所述第二图像数据移入所述显示区域;
步骤S308,根据所述翻页操作将第三分页文本信息在第三图像数据中进行渲染;
在本申请实施例中,可以配置三帧不同的图像数据,即第一图像数据、第二图像数据和第三图像数据(如位图Bitmap)。
因此,在显示第二图像数据时,可以预先在第三图像数据时渲染第三分页文本信息。
以翻页操作为滑动操作的示例,在本示例中,滑动操作具有滑动方向,则步骤S308可以包括如下步骤:
步骤S41,按照所述滑动方向查找与所述第二分页文本信息相邻的第三分页文本信息;
在具体实现中,为保证阅读的连贯性,第二分页文本信息与第三分页文本信息的内容一般是连贯的,即上一分页或下一分页。
当然,翻页操作也可以为其他,当翻页操作为其他,则按照翻页操作的翻页方向查找与所述第二分页文本信息相邻的第三分页文本信息。
步骤S42,查找未渲染有分页文本信息的第三图像数据;
图像数据可以循环使用,为避免使用错误(如选择了渲染有分页文本信息的图像数据,使得错误覆盖了在先渲染的分页文本信息,造成文本信息显示错误),可以对每个图像数据配置序列号,记录上一次使用的图像数据的序列号,除该序列号之外的图像数据的内容为空,即未渲染有分页文本信息。
以三帧Bitmap为例,每个Bitmap都有自己的序号,例如可以分别是1、2、3。
这三帧Bitmap会被循环使用,即Bitmap1→Bitmap2→Bitmap3→Bitmap1→……,使用后会记住上一次使用的序号i(i为正整数),根据上一次使用的序号i确定内容为空的图像数据。例如,若三帧Bitmap的序号分别为0、1、2,因为当前显示区域展现至多两个Bitmap,所以,当下一次渲染时,第(i+1)%3帧Bitmap的内容为空。
步骤S43,将所述第三分页文本信息在所述第三图像数据中进行渲染。
若图像数据为位图Bitmap,则阅读类应用中的渲染引擎可以以二进制流的形式,将排版之后的分页文本信息填充到位图Bitmap中。
渲染好的图像数据回传给应用层,应用层将图像数据绘制到屏幕上。
步骤S309,当全部所述第一图像数据移出所述显示区域时,清除在所述第一图像数据中渲染的第一分页文本信息。
在本申请实施例中,若第一图像数据全部移出显示区域,则可以清除在第一图像数据中渲染的第一分页文本信息,使得第一图像数据的内容为空,用于在后的分页文本信息的渲染。
可以理解的,当第一图像数据全部移出显示区域,则该第一图像数据成为新的第三图像数据,而移出时的原第二图像数据成为在显示区域内显示的新的第一图像数据,移出时的原第三图像数据成为新的第二图像数据。
在实际应用中,如果用户翻页,就会将一帧图像数据的一部分和另一帧图像数据的一部分同时显示在屏幕上,所以至少是需要两帧图像数据的。
为了提升翻页、阅读的流畅性,可以创建至少三帧图像数据,其中一帧图像数
据作预加载使用,渲染引擎渲染一帧图像数据(如位图Bitmap)占用的内存大概在2M左右,三帧图像数据占用的内存大概在6M左右,而目前在Android系统中默认应用程序占用的最大内存是16M,阅读器(即渲染图像数据的模块)作为阅读类应用的最核心的模块,占用6M内存对性能不会产生明显的影响。
渲染一页的时间大概是20ms左右,阅读类应用根据用户触发的翻页操作的数据(如滑动操作的数据),对阅读器的界面内容进行翻页(如上下移动)。
以三帧图像数据为例,通常情况下,在显示区域显示全部第N(N为正整数)帧图像数据时,第N+1帧图像数据已经预先渲染好了,第N+2帧图像数据仍未渲染。
第N+1帧图像数据开始显示时(即同时显示部分第N帧图像数据和部分第N+1帧图像数据),同时开启异步线程渲染第N+2帧图像数据。
在显示区域显示全部第N+1帧图像数据时,即第N帧图像数据退出屏幕(第N+2帧图像数据已经渲染好了),并且已经退出了的第N帧图像数据会进行文本信息的清空,接着被用去渲染第N+3帧图像数据(若仅有3帧图像数据,则第N+3帧图像数据与第N帧图像数据相同,反之,若有3帧以上图像数据,则第N+3帧图像数据与第N帧图像数据可能不同)。
在某些情况下,如在首次进入阅读类应用时,显示第N帧图像数据,所以在首次翻页操作时,根据翻页操作立即加载第N+1帧图像数据,然后同时预先加载第N+2帧图像数据。
为了保护阅读类应用的稳定性,一般会对翻页的最大速度进行限制,防止在异常情况产生翻页速度过快的情况,这样的话,基本不会发生在20ms之内滑动超过一页的情况,保证了翻页的流畅性。
当然,若移动设备、固定设备的内存、CPU(Central Processing Unit,中央处理器)等性能足够高,可以配置三帧以上不同的图像数据,至少可以预加载两分页,在较快的翻页速度下也能保证预先渲染,以进一步提高翻页、阅读的流畅性。
由此可见,通过至少三帧图像数据进行翻页可以达到一个性能和流畅度的平衡。
本申请实施例采用第三图像数据预先渲染第三分页文本信息,使得在后翻页时可以直接进行显示,进一步提高了翻页的响应速度,占用的内存不会产生内存占用过多造成系统卡顿问题,合理地使用内存来进一步提高了翻页、阅读的流畅性。
参照图4,示出了本申请的一种文本信息的显示方法第三实施例的步骤流程图,具体可以包括如下步骤:
步骤S410:检测翻页操作。
在显示过程中,实时检测用户触发的翻页操作。
步骤S420:当检测到翻页操作,根据所述翻页操作将至少部分第一图像数据移出显示区域,所述第一图像数据为当前显示的图像数据,渲染有第一分页文本信息。
步骤S430:根据所述翻页操作,将至少部分第二图像数据移入所述显示区域,所述第二图像数据渲染有第二分页文本信息。
在本实施例中,显示区域内当前显示的可能全部为渲染有第一分页文本信息的第一图像数据。
其中,可以是,将排序最前的分页文本信息作为第一分页文本信息在第一图像数据中进行渲染;将渲染有第一分页文本信息的第一图像数据在显示区域中进行显示。
或者是,读取上一次显示结束时记录的分页索引;将所述分页索引对应的分页文本信息作为第一分页文本信息在第一图像数据中进行渲染;将渲染有第一分页文本信息的第一图像数据在显示区域中进行显示。
当然,也可能显示第一图像数据的部分以及渲染有第二分页文本信息的第二图像数据的部分。
若显示区域当前显示的全部为第一图像数据,当检测到翻页操作时,在将至少部分第二图像数据移入所述显示区域之前,可以是按照所述翻页操作的翻页方向查找与所述第一分页文本信息相邻的第二分页文本信息;将所述第二分页文本信息在所述第二图像数据中进行渲染。或者是,将至少部分第二图像数据移入所述显示区域之前,按照所述翻页操作的翻页方向查找预先渲染有第二分页文本信息的第二图像数据。
再根据翻页操作的翻页方向,将至少部分第一图像数据移出显示区域,将至少部分第二图像数据移入所述显示区域。
若显示区域当前显示的为第一图像数据的部分以及渲染有第二分页文本信息的第二图像数据的部分,则直接根据翻页操作的翻页方向,将至少部分第一图像数据移出显示区域,将至少部分第二图像数据移入所述显示区域。
其中,当显示区域显示有两页分页文本信息,第一分页文本信息为翻页方向的终止方向的分页文本信息,第二分页文本信息为翻页的起始方向的分页文本信息。例如,翻页操作为滑动操作,若滑行方向为自上向下,则,两页分页文本信息中,下一分页文本信息为第一分页文本信息,上一分页文本信息为第二分页文本信息。若滑行方向为自下向上,则上一分页文本信息为第一分页文本信息,下一分页作为第二分页文本信息。
步骤S440:根据所述翻页操作,将第三分页文本信息在第三图像数据中进行渲染。
具体的,首先按照所述翻页操作的翻页方向查找第三分页文本信息。在本实施例中,第三分页文本信息为与所述第二分页文本信息相邻的分页文本信息。
进一步的,在本实施例中,还包括,当全部所述第一图像数据移出所述显示区域时,清除在所述第一图像数据中渲染的第一分页文本信息,因此,在根据所述翻页操作,将第三分页文本信息在第三图像数据中进行渲染的步骤中,可以包括,按照所述翻页操作的翻页方向查找与所述第二分页文本信息相邻的第三分页文本信息;以移出所述显示区域的图像数据作为第三图像数据,将所述第三分页文本信息在所述第三图像数据中进行渲染。其中,若第三图像数据已经被清空,则可以是查找未渲染有分页文本信息的第三图像数据进行第三分页文本信息的渲染。
另外,若不存在未渲染有分页文本信息的第三图像数据,也就是说,三帧图像数据均渲染有分页文本信息。例如,在当前显示区域内显示有部分第一图像数据以及部分第二图像数据,此时第三图像数据已经渲染完成。若检测到的翻页操作与上一次翻页操作方向相反,此时第三图像数据中应该渲染的第三分页文本信息改变,例如,本次翻页操作为自下向上翻页,上次翻页操作为自上向下翻页,在上次翻页操作,第三图像数据中渲染的第三分页文本信息为与上面一页分页文本信息相邻的分页文本信息,而本次翻页操作与上一次的翻页操作不同,第三图像数据中渲染的第三分页文本信息应该为与下面一页分页文本信息相邻的分页文本信息。则此时以不在显示区域内显示的,或者说被移出显示区域的图像数据作为第三图像数据,渲染第三分页文本信息。
另外,若不存在未渲染有分页文本信息的第三图像数据,且检测到的翻页操作与上一次翻页操作方向相同,则第三图像数据中需要渲染的分页文本信息不变,此时可以不再进行分页文本信息的渲染。
需要说明的是,对于方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请实施例并不受所描述的动作顺序的限制,因为依据本申请实施例,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作并不一定是本申请实施例所必须的。
参照图5,示出了本申请的一种文本信息的显示装置的装置第一实施例的功能模块图,具体可以包括如下模块:
第一图像数据显示模块401,用于在显示区域中显示渲染有第一分页文本信息
的第一图像数据;翻页操作检测模块402,用于检测到指定的翻页操作;第一图像数据移动模块403,用于根据所述翻页操作将至少部分所述第一图像数据移出所述显示区域;第二图像数据获取模块404,用于根据所述翻页操作获取渲染有第二分页文本信息的第二图像数据;第二图像数据移动模块405,用于在所述第一图像数据之后,将至少部分所述第二图像数据移入所述显示区域。
在本申请的一个实施例中,所述第一图像数据显示模块401可以包括如下子模块:
第一渲染子模块,用于将排序最前的分页文本信息作为第一分页文本信息在第一图像数据中进行渲染;第一显示子模块,用于将渲染有第一分页文本信息的第一图像数据在显示区域中进行显示;或者,
分页索引子模块,用于读取上一次显示结束时记录的分页索引;第二渲染子模块,用于将所述分页索引对应的分页文本信息作为第一分页文本信息在第一图像数据中进行渲染;第二显示子模块,用于将渲染有第一分页文本信息的第一图像数据在显示区域中进行显示。
在本申请实施例的一个示例中,所述翻页操作包括滑动操作;所述第一图像数据移动模块403可以包括如下子模块:滑动方向计算子模块,用于计算所述滑动操作的滑动方向;移出子模块,用于沿所述滑动方向将至少部分第一图像数据移出所述显示区域;所述第二图像数据获取模块404可以包括如下子模块:第一查找子模块,用于按照所述滑动方向查找与所述第一分页文本信息相邻的第二分页文本信息;第三渲染子模块,用于将所述第二分页文本信息在所述第二图像数据中进行渲染;或者,第二查找子模块,用于按照所述滑动方向查找预先渲染有第二分页文本信息的第二图像数据;所述第二显示子模块405可以包括如下子模块:距离计算子模块,用于计算所述第一图像数据移出所述显示区域的距离;移入子模块,用于沿所述滑动方向将所述第二图像数据移入所述显示区域至所述距离。
参照图6,示出了本申请的一种文本信息的显示装置装置第二实施例的功能模块图,具体可以包括如下模块:原始文本信息读取模块501,用于读取原始文本信息;原始文本信息划分模块502,用于将所述原始文本信息划分为一页或多页与显示区域适配的分页文本信息;第一图像数据显示模块503,用于在显示区域中显示渲染有第一分页文本信息的第一图像数据;翻页操作检测模块504,用于检测到指定的翻页操作;第一图像数据移动模块505,用于根据所述翻页操作将至少部分所述第一图像数据移出所述显示区域;第二图像数据获取模块506,用于根据所述翻页操作获取渲染有第二分页文本信息的第二图像数据;第二图像数据移动模块507,
用于在所述第一图像数据之后,将至少部分所述第二图像数据移入所述显示区域;第三图像数据渲染模块508,用于根据所述翻页操作将第三分页文本信息在第三图像数据中进行渲染;第一图像数据清除模块509,用于在全部所述第一图像数据移出所述显示区域时,清除在所述第一图像数据中渲染的第一分页文本信息。
在本申请实施例的一个示例中,所述翻页操作包括滑动操作,所述滑动操作具有滑动方向;
所述第三图像数据渲染模块508可以包括如下子模块:第三查找子模块,用于按照所述滑动方向查找与所述第二分页文本信息相邻的第三分页文本信息;第四查找子模块,用于查找未渲染有分页文本信息的第三图像数据;第四渲染子模块,用于将所述第三分页文本信息在所述第三图像数据中进行渲染。
在本申请实施例的一个示例中,所述原始文本信息划分模块502可以包括如下子模块:排版子模块,用于至少按照显示区域的宽度对所述原始文本信息进行排版;划分子模块,用于按照显示区域的高度将排版之后的原始文本信息划分为一页或多页分页文本信息。
参照图7,示出了本申请的一种文本信息的显示装置装置第三实施例的功能模块图,具体可以包括如下模块:
翻页操作检测模块601,用于检测翻页操作;第一图像数据移动模块602,用于当检测到翻页操作,根据所述翻页操作将至少部分第一图像数据移出显示区域,所述第一图像数据为当前显示的图像数据,渲染有第一分页文本信息;第二图像数据移动模块603,用于根据所述翻页操作,将至少部分第二图像数据移入所述显示区域,所述第二图像数据渲染有第二分页文本信息;第三图像数据渲染模块604,用于根据所述翻页操作,将第三分页文本信息在第三图像数据中进行渲染。
进一步的,本实施例中,还包括,第一图像数据渲染模块,用于将排序最前的分页文本信息作为第一分页文本信息在第一图像数据中进行渲染;第一图像数据显示模块,用于将渲染有第一分页文本信息的第一图像数据在显示区域中进行显示。
进一步的,本实施例中,还包括,索引读取模块,用于读取上一次显示结束时记录的分页索引;第一图像渲染模块用于将所述分页索引对应的分页文本信息作为第一分页文本信息在第一图像数据中进行渲染;第一图像显示模块用于将渲染有第一分页文本信息的第一图像数据在显示区域中进行显示。
另外,本实施例中还可以包括,第二分页查找模块,用于按照所述翻页操作的翻页方向查找与所述第一分页文本信息相邻的第二分页文本信息;第二图像渲染模块,用于将所述第二分页文本信息在所述第二图像数据中进行渲染。
另外,本实施例中,可以包括第二图像查找模块,用于按照所述翻页操作的翻页方向查找预先渲染有第二分页文本信息的第二图像数据。第三图像数据渲染模块604包括,第三分页文本查找单元,用于按照所述翻页操作的翻页方向查找第三分页文本信息;第三图像数据渲染单元,用于将所述第三分页文本信息在所述第三图像数据中进行渲染。
进一步的,本实施例中,可以包括,第一图像清除模块,用于当全部所述第一图像数据移出所述显示区域时,清除在所述第一图像数据中渲染的第一分页文本信息。则第三图像数据渲染模块604可以包括,第三分页查找单元,用于按照所述翻页操作的翻页方向查找与所述第二分页文本信息相邻的第三分页文本信息;第三图像渲染单元,用于以移出所述显示区域的图像数据作为第三图像数据,将所述第三分页文本信息在所述第三图像数据中进行渲染。
参照图8,示出了本申请的一种移动设备700的结构示意图,该移动设备700具有显示屏701,如触摸屏,还具有存储器702,用于存储程序,处理器703,用于通过调用所述存储器中存储的程序,执行包括以下步骤的方法:在显示区域中显示渲染有第一分页文本信息的第一图像数据;检测到指定的翻页操作;根据所述翻页操作将至少部分所述第一图像数据移出所述显示区域;根据所述翻页操作获取渲染有第二分页文本信息的第二图像数据;在所述第一图像数据之后,将至少部分所述第二图像数据移入所述显示区域。
另外,处理器703也可以执行包括以下步骤的方法:检测翻页操作;当检测到翻页操作,根据所述翻页操作将至少部分第一图像数据移出显示区域,所述第一图像数据为当前显示的图像数据,渲染有第一分页文本信息;根据所述翻页操作,将至少部分第二图像数据移入所述显示区域,所述第二图像数据渲染有第二分页文本信息;根据所述翻页操作,将第三分页文本信息在第三图像数据中进行渲染。
对于装置、移动设备实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。
本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。
本领域内的技术人员应明白,本申请实施例的实施例可提供为方法、装置、或计算机程序产品。因此,本申请实施例可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
在一个典型的配置中,所述计算机设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括非持续性的电脑可读媒体(transitory media),如调制的数据信号和载波。
本申请实施例是参照根据本申请实施例的方法、终端设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理终端设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理终端设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理终端设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理终端设备上,使得在计算机或其他可编程终端设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程终端设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
尽管已描述了本申请实施例的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例做出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本申请实施例范围的所有变更和修改。
最后,还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用
来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者终端设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者终端设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者终端设备中还存在另外的相同要素。
以上对本申请所提供的一种文本信息的方法、一种文本信息的装置和一种移动设备,进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。
Claims (19)
- 一种文本信息的显示方法,其特征在于,包括:在显示区域中显示渲染有第一分页文本信息的第一图像数据;检测到指定的翻页操作;根据所述翻页操作将至少部分所述第一图像数据移出所述显示区域;根据所述翻页操作获取渲染有第二分页文本信息的第二图像数据;在所述第一图像数据之后,将至少部分所述第二图像数据移入所述显示区域。
- 根据权利要求1所述的方法,其特征在于,所述在显示区域中显示渲染有第一分页文本信息的第一图像数据的步骤包括:将排序最前的分页文本信息作为第一分页文本信息在第一图像数据中进行渲染;将渲染有第一分页文本信息的第一图像数据在显示区域中进行显示;或者,读取上一次显示结束时记录的分页索引;将所述分页索引对应的分页文本信息作为第一分页文本信息在第一图像数据中进行渲染;将渲染有第一分页文本信息的第一图像数据在显示区域中进行显示。
- 根据权利要求1所述的方法,其特征在于,所述翻页操作包括滑动操作;所述根据所述翻页操作将至少部分所述第一图像数据移出所述显示区域的步骤包括:计算所述滑动操作的滑动方向;沿所述滑动方向将至少部分第一图像数据移出所述显示区域;所述获取渲染有第二分页文本信息的第二图像数据的步骤包括:按照所述滑动方向查找与所述第一分页文本信息相邻的第二分页文本信息;将所述第二分页文本信息在所述第二图像数据中进行渲染;或者,按照所述滑动方向查找预先渲染有第二分页文本信息的第二图像数据;所述将至少部分所述第二图像数据移入所述显示区域的步骤包括:计算所述第一图像数据移出所述显示区域的距离;沿所述滑动方向将所述第二图像数据移入所述显示区域至所述距离。
- 根据权利要求1所述的方法,其特征在于,还包括:根据所述翻页操作将第三分页文本信息在第三图像数据中进行渲染。
- 根据权利要求4所述的方法,其特征在于,所述翻页操作包括滑动操作,所述滑动操作具有滑动方向;所述根据所述翻页操作将第三分页文本信息在第三图像数据中进行渲染的步骤包括:按照所述滑动方向查找与所述第二分页文本信息相邻的第三分页文本信息;查找未渲染有分页文本信息的第三图像数据;将所述第三分页文本信息在所述第三图像数据中进行渲染。
- 根据权利要求1所述的方法,其特征在于,还包括:当全部所述第一图像数据移出所述显示区域时,清除在所述第一图像数据中渲染的第一分页文本信息。
- 根据权利要求1所述的方法,其特征在于,还包括:读取原始文本信息;将所述原始文本信息划分为一页或多页与显示区域适配的分页文本信息。
- 根据权利要求7所述的方法,其特征在于,所述将所述原始文本信息划分为一页或多页与显示区域适配的分页文本信息的步骤包括:至少按照显示区域的宽度对所述原始文本信息进行排版;按照显示区域的高度将排版之后的原始文本信息划分为一页或多页分页文本信息。
- 一种文本信息的显示装置,其特征在于,包括:第一图像数据显示模块,用于在显示区域中显示渲染有第一分页文本信息的第一图像数据;翻页操作检测模块,用于检测到指定的翻页操作;第一图像数据移动模块,用于根据所述翻页操作将至少部分所述第一图像数据移出所述显示区域;第二图像数据获取模块,用于根据所述翻页操作获取渲染有第二分页文本信息的第二图像数据;第二图像数据移动模块,用于在所述第一图像数据之后,将至少部分所述第二图像数据移入所述显示区域。
- 一种文本信息的显示方法,其特征在于,包括:检测翻页操作;当检测到翻页操作,根据所述翻页操作将至少部分第一图像数据移出显示区域,所述第一图像数据为当前显示的图像数据,渲染有第一分页文本信息;根据所述翻页操作,将至少部分第二图像数据移入所述显示区域,所述第二图像数据渲染有第二分页文本信息;根据所述翻页操作,将第三分页文本信息在第三图像数据中进行渲染。
- 根据权利要求10所述的方法,其特征在于,所述检测翻页操作之前,包括:将排序最前的分页文本信息作为第一分页文本信息在第一图像数据中进行渲染;将渲染有第一分页文本信息的第一图像数据在显示区域中进行显示。
- 根据权利要求10所述的方法,其特征在于,所述检测翻页操作之前,包括:读取上一次显示结束时记录的分页索引;将所述分页索引对应的分页文本信息作为第一分页文本信息在第一图像数据中进行渲染;将渲染有第一分页文本信息的第一图像数据在显示区域中进行显示。
- 根据权利要求10所述的方法,其特征在于,所述将至少部分第二图像数据移入所述显示区域之前,还包括:按照所述翻页操作的翻页方向查找与所述第一分页文本信息相邻的第二分页文本信息;将所述第二分页文本信息在所述第二图像数据中进行渲染。
- 根据权利要求10所述的方法,其特征在于,所述将至少部分第二图像数据移入所述显示区域之前,还包括:按照所述翻页操作的翻页方向查找预先渲染有第二分页文本信息的第二图像数据。
- 根据权利要求10所述的方法,其特征在于,所述根据所述翻页操作,将第三分页文本信息在第三图像数据中进行渲染的步骤包括:按照所述翻页操作的翻页方向查找第三分页文本信息;将所述第三分页文本信息在所述第三图像数据中进行渲染。
- 根据权利要求10所述的方法,其特征在于,还包括:当全部所述第一图像数据移出所述显示区域时,清除在所述第一图像数据中渲染的第一分页文本信息;所述根据所述翻页操作,将第三分页文本信息在第三图像数据中进行渲染的步骤包括:按照所述翻页操作的翻页方向查找第三分页文本信息;以移出所述显示区域的图像数据作为第三图像数据,将所述第三分页文本信息在所述第三图像数据中进行渲染。
- 一种文本信息的显示装置,其特征在于,包括:翻页操作检测模块,用于检测翻页操作;第一图像数据移动模块,用于当检测到翻页操作,根据所述翻页操作将至少部分第一图像数据移出显示区域,所述第一图像数据为当前显示的图像数据,渲染有第一分页文本信息;第二图像数据移动模块,用于根据所述翻页操作,将至少部分第二图像数据移入所述显示区域,所述第二图像数据渲染有第二分页文本信息;第三图像数据渲染模块,用于根据所述翻页操作,将第三分页文本信息在第三图像数据中进行渲染。
- 一种移动设备,其特征在于,包括:存储器,用于存储程序,处理器,用于通过调用所述存储器中存储的程序,执行包括以下步骤的方法:在显示区域中显示渲染有第一分页文本信息的第一图像数据;检测到指定的翻页操作;根据所述翻页操作将至少部分所述第一图像数据移出所述显示区域;根据所述翻页操作获取渲染有第二分页文本信息的第二图像数据;在所述第一图像数据之后,将至少部分所述第二图像数据移入所述显示区域。
- 一种移动设备,其特征在于,包括:存储器,用于存储程序,处理器,用于通过调用所述存储器中存储的程序,执行包括以下步骤的方法:检测翻页操作;当检测到翻页操作,根据所述翻页操作将至少部分第一图像数据移出显示区域,所述第一图像数据为当前显示的图像数据,渲染有第一分页文本信息;根据所述翻页操作,将至少部分第二图像数据移入所述显示区域,所述第二图像数据渲染有第二分页文本信息;根据所述翻页操作,将第三分页文本信息在第三图像数据中进行渲染。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610230309.9 | 2016-04-13 | ||
CN201610230309.9A CN105912227A (zh) | 2016-04-13 | 2016-04-13 | 一种文本信息的显示方法、装置和移动设备 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2017177931A1 true WO2017177931A1 (zh) | 2017-10-19 |
Family
ID=56746104
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2017/080330 WO2017177931A1 (zh) | 2016-04-13 | 2017-04-13 | 一种文本信息的显示方法、装置和移动设备 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105912227A (zh) |
WO (1) | WO2017177931A1 (zh) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112506399A (zh) * | 2020-12-04 | 2021-03-16 | 掌阅科技股份有限公司 | 书籍阅读页面的信息发布方法、计算设备及存储介质 |
CN114510309A (zh) * | 2022-01-29 | 2022-05-17 | 建信金融科技有限责任公司 | 动画效果的设置方法、装置、设备及介质 |
Families Citing this family (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105912227A (zh) * | 2016-04-13 | 2016-08-31 | 广州阿里巴巴文学信息技术有限公司 | 一种文本信息的显示方法、装置和移动设备 |
CN109597981B (zh) * | 2017-09-30 | 2022-05-17 | 腾讯科技(深圳)有限公司 | 一种文本互动信息的展示方法、装置及存储介质 |
CN107728988B (zh) * | 2017-10-12 | 2020-11-06 | 青岛海信移动通信技术股份有限公司 | 用于墨水屏的内容显示方法及装置 |
CN108595228B (zh) | 2018-05-10 | 2021-03-12 | Oppo广东移动通信有限公司 | 应用程序预测模型建立方法、装置、存储介质及移动终端 |
CN108614722B (zh) * | 2018-05-10 | 2020-09-08 | 上海瑾盛通信科技有限公司 | 应用程序预加载方法、装置、存储介质及终端 |
CN108595227A (zh) | 2018-05-10 | 2018-09-28 | Oppo广东移动通信有限公司 | 应用程序预加载方法、装置、存储介质及移动终端 |
CN108710513B (zh) | 2018-05-15 | 2020-07-21 | Oppo广东移动通信有限公司 | 应用程序启动方法、装置、存储介质及终端 |
CN108804157A (zh) | 2018-06-05 | 2018-11-13 | Oppo广东移动通信有限公司 | 应用程序预加载方法、装置、存储介质及终端 |
CN109543027B (zh) * | 2018-11-23 | 2020-02-07 | 苏州好玩友网络科技有限公司 | 分页数据的获取方法及装置、设备及存储介质 |
CN109992702B (zh) * | 2019-03-20 | 2021-05-18 | 奇安信科技集团股份有限公司 | 数据可视化方法、装置和电子设备 |
CN111124122B (zh) * | 2019-12-24 | 2020-10-23 | 掌阅科技股份有限公司 | 基于管理器实现的多页面对象控制方法、电子设备 |
CN113012651A (zh) * | 2021-03-09 | 2021-06-22 | 广州文石信息科技有限公司 | 一种电子墨水屏的显示方法、装置、电子设备及存储介质 |
CN115357327B (zh) * | 2022-08-24 | 2023-06-27 | 广州文石信息科技有限公司 | 电子墨水屏的页面显示方法、装置、存储介质及相关设备 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102184104A (zh) * | 2011-05-13 | 2011-09-14 | 北京瑞信在线系统技术有限公司 | 在显示屏上实现仿真翻页效果的方法及其装置 |
CN102955672A (zh) * | 2012-11-06 | 2013-03-06 | 北京京东世纪贸易有限公司 | 一种在具有触摸屏的设备上显示页面的方法和装置 |
CN103268185A (zh) * | 2013-04-26 | 2013-08-28 | 珠海全志科技股份有限公司 | 电子书阅读器的文本显示方法及装置 |
CN103970431A (zh) * | 2013-01-25 | 2014-08-06 | 腾讯科技(深圳)有限公司 | 一种支持自动阅读的电子文档显示方法及其装置 |
CN105912227A (zh) * | 2016-04-13 | 2016-08-31 | 广州阿里巴巴文学信息技术有限公司 | 一种文本信息的显示方法、装置和移动设备 |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105069023A (zh) * | 2015-07-17 | 2015-11-18 | 孙巍 | 一种在电视上播放网页图文的方法、设备及系统 |
-
2016
- 2016-04-13 CN CN201610230309.9A patent/CN105912227A/zh active Pending
-
2017
- 2017-04-13 WO PCT/CN2017/080330 patent/WO2017177931A1/zh active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102184104A (zh) * | 2011-05-13 | 2011-09-14 | 北京瑞信在线系统技术有限公司 | 在显示屏上实现仿真翻页效果的方法及其装置 |
CN102955672A (zh) * | 2012-11-06 | 2013-03-06 | 北京京东世纪贸易有限公司 | 一种在具有触摸屏的设备上显示页面的方法和装置 |
CN103970431A (zh) * | 2013-01-25 | 2014-08-06 | 腾讯科技(深圳)有限公司 | 一种支持自动阅读的电子文档显示方法及其装置 |
CN103268185A (zh) * | 2013-04-26 | 2013-08-28 | 珠海全志科技股份有限公司 | 电子书阅读器的文本显示方法及装置 |
CN105912227A (zh) * | 2016-04-13 | 2016-08-31 | 广州阿里巴巴文学信息技术有限公司 | 一种文本信息的显示方法、装置和移动设备 |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112506399A (zh) * | 2020-12-04 | 2021-03-16 | 掌阅科技股份有限公司 | 书籍阅读页面的信息发布方法、计算设备及存储介质 |
CN112506399B (zh) * | 2020-12-04 | 2022-05-17 | 掌阅科技股份有限公司 | 书籍阅读页面的信息发布方法、计算设备及存储介质 |
CN114510309A (zh) * | 2022-01-29 | 2022-05-17 | 建信金融科技有限责任公司 | 动画效果的设置方法、装置、设备及介质 |
CN114510309B (zh) * | 2022-01-29 | 2023-08-22 | 建信金融科技有限责任公司 | 动画效果的设置方法、装置、设备及介质 |
Also Published As
Publication number | Publication date |
---|---|
CN105912227A (zh) | 2016-08-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2017177931A1 (zh) | 一种文本信息的显示方法、装置和移动设备 | |
CN107223241B (zh) | 上下文缩放 | |
RU2583727C2 (ru) | Динамическое представление изображения | |
US8959431B2 (en) | Low resolution placeholder content for document navigation | |
US9286390B2 (en) | Presentation of rich search results in delineated areas | |
TWI611338B (zh) | 縮放螢幕畫面的方法、電子裝置及電腦程式產品 | |
US20130080884A1 (en) | Semantic zoom of a document | |
US20150205454A1 (en) | Systems and methods for displaying preview data | |
US20130141463A1 (en) | Combined interactive map and list view | |
US20150143287A1 (en) | Resizing technique for display content | |
US20180373403A1 (en) | Client device, control method, and storage medium | |
WO2017012488A1 (zh) | 滚动视图显示方法及装置 | |
WO2016163150A1 (ja) | コンテンツ表示装置、コンテンツ表示プログラム、コンテンツ表示方法 | |
US8745525B1 (en) | Presenting graphical windows on a device | |
CN108989704B (zh) | 图像生成方法和装置、终端设备 | |
WO2017101390A1 (zh) | 一种图片显示方法及装置 | |
CN111143731B (zh) | 一种网页界面缩放时的显示方法、装置及终端设备 | |
US20130346893A1 (en) | Electronic device and method for editing document using the electronic device | |
US20220276768A1 (en) | Screenshot method and apparatus for information interaction interface, computing device and storage medium | |
CN111259270A (zh) | 天气提醒方法、设备以及计算机可读介质 | |
EP3036614A1 (en) | Navigating fixed format document in e-reader application | |
US8902259B1 (en) | Finger-friendly content selection interface | |
US9405442B1 (en) | List control with zoom operation | |
US10656818B1 (en) | Animation to indicate scrollable content | |
JP2014160437A (ja) | 情報処理装置、プレゼンテーション資料最適化方法及びプログラム |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17781907 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 26.02.2019) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 17781907 Country of ref document: EP Kind code of ref document: A1 |