[go: up one dir, main page]

CN110647306A - Reading mode control method based on electronic book application and electronic equipment - Google Patents

Reading mode control method based on electronic book application and electronic equipment Download PDF

Info

Publication number
CN110647306A
CN110647306A CN201910939786.6A CN201910939786A CN110647306A CN 110647306 A CN110647306 A CN 110647306A CN 201910939786 A CN201910939786 A CN 201910939786A CN 110647306 A CN110647306 A CN 110647306A
Authority
CN
China
Prior art keywords
information
electronic book
state
application
mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910939786.6A
Other languages
Chinese (zh)
Inventor
杨树彬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ireader Technology Co Ltd
Zhangyue Technology Co Ltd
Original Assignee
Zhangyue 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 Zhangyue Technology Co Ltd filed Critical Zhangyue Technology Co Ltd
Priority to CN201910939786.6A priority Critical patent/CN110647306A/en
Publication of CN110647306A publication Critical patent/CN110647306A/en
Pending legal-status Critical Current

Links

Images

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/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a reading mode control method based on electronic book application and electronic equipment, wherein the method comprises the following steps: after an electronic book application is started, acquiring an application running state of the electronic book application; when the application running state of the electronic book application is a book reading state, acquiring equipment state description information of the terminal equipment; judging whether the equipment running state of the terminal equipment is matched with a mode switching condition or not according to the equipment state description information; if yes, the reading mode of the electronic book is controlled to be switched to the voice reading mode. The mode can automatically switch the reading mode of the electronic book into the voice reading mode without manual control of a user, so that the reading mode switching mode is simplified, and the reading efficiency is improved.

Description

Reading mode control method based on electronic book application and electronic equipment
Technical Field
The invention relates to the field of computers, in particular to a reading mode control method based on electronic book application and electronic equipment.
Background
At present, users who like reading are increasing. Electronic books have gained favor among a large number of users due to their portability. Most of conventional electronic books adopt a pure text display form for users to browse characters for reading. In order to facilitate the reading process of the user, the user can also manually switch to the voice reading mode through a voice reading inlet provided by the electronic book application. In the voice reading mode, the text in the electronic book can be converted into audio, so that the user can directly listen to the electronic book.
However, the above solutions in the prior art have at least the following drawbacks: in the existing voice reading mode, each time a user selects and opens an electronic book, the reading mode of the electronic book is set as a text reading mode by default, and accordingly, the user must manually switch the reading mode of the electronic book by a manual method to switch the electronic book to the voice reading mode. Therefore, the conventional reading mode switching mode is complicated and is not beneficial to improving the reading efficiency.
Disclosure of Invention
In view of the above, the present invention provides a reading mode control method and an electronic device based on an electronic book application, which overcome the above problems or at least partially solve the above problems.
According to an aspect of the present invention, there is provided a reading mode control method based on an electronic book application, including:
after an electronic book application is started, acquiring an application running state of the electronic book application;
when the application running state of the electronic book application is a book reading state, acquiring equipment state description information of the terminal equipment;
judging whether the equipment running state of the terminal equipment is matched with a mode switching condition or not according to the equipment state description information;
if yes, the reading mode of the electronic book is controlled to be switched to the voice reading mode.
According to another aspect of the present invention, there is provided an electronic apparatus including: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is configured to store at least one executable instruction that causes the processor to:
after an electronic book application is started, acquiring an application running state of the electronic book application;
when the application running state of the electronic book application is a book reading state, acquiring equipment state description information of the terminal equipment;
judging whether the equipment running state of the terminal equipment is matched with a mode switching condition or not according to the equipment state description information;
if yes, the reading mode of the electronic book is controlled to be switched to the voice reading mode.
According to yet another aspect of the present invention, there is provided a computer storage medium having at least one executable instruction stored therein, the executable instruction causing the processor to:
after an electronic book application is started, acquiring an application running state of the electronic book application;
when the application running state of the electronic book application is a book reading state, acquiring equipment state description information of the terminal equipment;
judging whether the equipment running state of the terminal equipment is matched with a mode switching condition or not according to the equipment state description information;
if yes, the reading mode of the electronic book is controlled to be switched to the voice reading mode.
In the reading mode control method based on the electronic book application and the electronic equipment, the application running state can be acquired after the electronic book application is started, and the equipment state description information of the terminal equipment is acquired when the application running state is the book reading state; therefore, when the running state of the terminal equipment is judged to be matched with the mode switching condition, the reading mode of the electronic book is controlled to be automatically switched to the voice reading mode. Therefore, in the mode provided by the invention, whether the electronic book application runs in the book reading state can be automatically monitored, the equipment state description information of the terminal equipment is actively acquired when the electronic book application runs in the book reading state is monitored, the equipment running state of the terminal equipment is determined according to the equipment state description information, and the reading mode of the electronic book is automatically switched into the voice reading mode when the equipment running state is matched with the mode switching condition, so that the manual control of a user is not needed, the reading mode switching mode is simplified, and the reading efficiency is improved.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a flowchart illustrating a reading mode control method based on an electronic book application according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a reading mode control method based on an electronic book application according to another embodiment of the present invention;
fig. 3 shows a schematic structural diagram of an electronic device according to another embodiment of the invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Example one
Fig. 1 is a flowchart illustrating a reading mode control method based on an electronic book application according to an embodiment of the present invention. As shown in fig. 1, the method comprises the steps of:
step S110: and when the electronic book application is started, acquiring the application running state of the electronic book application.
Specifically, an application running state of an electronic book application is monitored every time the electronic book application is started. The application running state of the electronic book application comprises the following steps: the book reading system comprises a foreground running state, a background running state, a full screen running state, a non-full screen running state, a book selecting state, a book reading state and/or the like. During specific implementation, the application running state of the electronic book application can be monitored in real time, so that the state change of the electronic book application can be known in time.
Step S120: and when the application running state of the electronic book application is a book reading state, acquiring the equipment state description information of the terminal equipment.
Wherein, the book reading state means: and displaying the text content of the electronic book so as to provide the user with the state of reading the electronic book. After the user selects the electronic book of the mood instrument from the book city, the electronic book is opened to read the text content in the electronic book. Correspondingly, when a book opening instruction triggered by the target electronic book is received, determining that the application running state of the electronic book application is a book reading state; or, when it is monitored that the application interface of the current electronic book application is occupied by the text content of the electronic book, determining that the application running state of the electronic book application is the book reading state. In short, the present invention does not limit the specific determination method of the reading status of the book.
Correspondingly, when the application running state of the electronic book application is monitored to be a book reading state, the device state description information of the terminal device is obtained. The device state description information is used for describing the current running state and/or the system setting state of the terminal device running the electronic book application. For example, the device state description information may include system setting information, application setting information, and/or mode setting information of the terminal device, and the like.
Step S130: and judging whether the equipment running state of the terminal equipment is matched with the mode switching condition or not according to the equipment state description information.
Specifically, the device operating state of the terminal device can be determined according to the device state description information. The device operating state may be a current operating state of the device or a system setting state of the device. Correspondingly, the running state of the equipment is matched with the preset mode switching condition. If the matching is successful, continuing to execute the subsequent steps; if the matching fails, the method ends. The mode switching condition may be flexibly set by a person skilled in the art according to an actual situation, and may specifically be one or more conditions, which is not limited in the present invention.
Step S140: if yes, the reading mode of the electronic book is controlled to be switched to the voice reading mode.
And when the equipment running state of the terminal equipment is judged to be matched with the mode switching condition, automatically controlling the reading mode of the electronic book to be switched into the voice reading mode. Accordingly, the opened electronic book in the electronic book application is played to the user through the voice reading mode, so that the user can directly listen to the text content of the electronic book.
Therefore, in the mode provided by the invention, whether the electronic book application runs in the book reading state can be automatically monitored, the equipment state description information of the terminal equipment is actively acquired when the electronic book application runs in the book reading state is monitored, the equipment running state of the terminal equipment is determined according to the equipment state description information, and the reading mode of the electronic book is automatically switched into the voice reading mode when the equipment running state is matched with the mode switching condition, so that the manual control of a user is not needed, the reading mode switching mode is simplified, and the reading efficiency is improved.
Example two
Fig. 2 is a flowchart illustrating a reading mode control method based on an electronic book application according to another embodiment of the present invention. As shown in fig. 2, the method comprises the steps of:
step S210: and when the electronic book application is started, acquiring the application running state of the electronic book application.
Specifically, an application running state of an electronic book application is monitored every time the electronic book application is started. The application running state of the electronic book application comprises the following steps: a book city browsing state, a book selecting state and/or a book reading state. During specific implementation, the application running state of the electronic book application can be monitored in real time, so that the state change of the electronic book application can be known in time.
In this embodiment, after the electronic book application is started, the content displayed in the application interface of the electronic book application is acquired, and whether the content displayed in the application interface is the text content of the electronic book is determined; and if so, determining that the application running state of the electronic book application is a book reading state. The content displayed in the application interface of the electronic book application may be various pages such as a book selection page in a book city, a user comment page and the like, and when the displayed content is the text content of the electronic book, the application running state of the electronic book application is determined to be a book reading state.
The book reading state refers to a state in which the user is reading or is about to read an electronic book. Accordingly, the application running state of the electronic book application can be determined as the book reading state when the user is reading in the above manner. In order to be able to detect a change in the running state of an application the first time when a user is about to read an electronic book. In this embodiment, when a book opening instruction triggered for the target electronic book is received, it may be determined that the application running state of the electronic book application is a book reading state.
Step S220: and when the application running state of the electronic book application is a book reading state, acquiring the equipment state description information of the terminal equipment.
Specifically, when the application running state of the electronic book application is monitored to be a book reading state, device state description information of the terminal device is acquired. The device state description information is used for describing the current running state and/or the system setting state of the terminal device running the electronic book application. For example, the device state description information may include system setting information, application setting information, and/or mode setting information of the terminal device, and the like.
Step S230: and determining the equipment running state of the terminal equipment according to the equipment state description information.
Specifically, the device operating state of the terminal device can be determined according to the device state description information. The device operating state may be a current operating state of the device, such as a current operating environment; or the system setting state of the device, such as the font set by the system, the timing on/off and other information.
Step S240: and judging whether the equipment running state of the terminal equipment is matched with the mode switching condition.
Specifically, the device operating state is matched with a preset mode switching condition. If the matching is successful, continuing to execute the subsequent steps; if the matching fails, the method ends.
In one implementation manner of this embodiment, when obtaining device state description information of a terminal device, reading mode setting information of the terminal device, and extracting screen brightness information, timing on/off information, and/or the like included in the mode setting information, and accordingly, the mode switching condition includes: and when the screen brightness is lower than a preset brightness threshold value and the timing shutdown time of the current time distance is smaller than a preset time threshold value, switching the reading mode of the electronic book into a voice reading mode. By the method, the reading environment where the user is currently located can be identified, and whether the mode is switched to the voice reading mode or not is determined according to the reading environment.
In yet another implementation manner of this embodiment, when acquiring the device state description information of the terminal device, reading the system setting information of the terminal device, and extracting font information, resolution information, and/or window mode information included in the system setting information; accordingly, the mode switching conditions include: and when the font size is larger than the preset font size, the resolution is lower than a preset threshold value, and/or the window mode information is in a large window mode, switching the reading mode of the electronic book into a voice reading mode. By the method, whether the system setting of the user is matched with the conventional setting of a group with reading difficulty (such as old people and children) can be identified, and whether the voice reading mode is switched is determined.
In short, this step can be implemented by various implementations, and the present invention is not limited thereto.
Step S250: if yes, the reading mode of the electronic book is controlled to be switched to the voice reading mode.
And when the equipment running state of the terminal equipment is judged to be matched with the mode switching condition, automatically controlling the reading mode of the electronic book to be switched into the voice reading mode. Accordingly, the opened electronic book in the electronic book application is played to the user through the voice reading mode, so that the user can directly listen to the text content of the electronic book.
In the voice reading mode, the online reading mode can be started firstly, and in the process of playing the current voice data, the later voice data which is not played yet is requested from the voice synthesis server and cached; when the network connection quality is reduced below a preset quality threshold, playing the cached subsequent voice data; after the playing of the subsequent voice data is finished, if the network connection quality is not recovered to be higher than a quality threshold value, switching to an offline reading mode; and under the offline reading mode, if the network connection quality is recovered to be higher than the quality threshold, switching back to the online reading mode. Under the online reading mode, under the condition that the network connection quality of the terminal equipment is above a quality threshold value, the terminal equipment sends the text content to be read to a voice synthesis server in real time, the voice synthesis server renders the text content received in real time into high-quality voice data by adopting a machine learning method, the voice data obtained by rendering is sent to the terminal equipment, and the terminal equipment plays the received voice data in real time. In addition, in the process of playing the current voice data in the online reading mode, if the terminal device detects that the network connection quality is reduced below the preset quality threshold, the terminal device does not send the text content which is not read yet to the voice synthesis server to obtain the voice data, but obtains the voice data of the text content which is cached locally and is not read yet, and plays the voice data of the text content which is not read yet. The method not only solves the problem that the online reading mode depends on the network in real time, but also avoids unnecessary switching of the offline reading mode, and the method has the advantage that the online reading electronic content can be smoothly provided when the network is unstable.
For convenience of understanding, specific implementation details of the present embodiment are described in detail below by taking several specific examples as examples:
examples one,
In this example, the voice reading mode is mainly automatically turned on for the group with difficulty in reading, and the method specifically includes the following steps:
the method comprises the following steps: after the electronic book application is started, acquiring an application running state of the electronic book application; and when the application running state of the electronic book application is a book reading state, acquiring the equipment state description information of the terminal equipment.
Wherein the device state description information includes: system setup information. In specific implementation, system setting information of the terminal device is read, and information which can reflect reading habits of the user, such as font information, resolution information, window mode information and the like contained in the system setting information, is extracted. The information which can reflect the reading habit of the user and is contained in the system setting information is mainly used for identifying whether the current user is a user with reading difficulty or not. For example, if the font is set to a large font in the font information, the resolution information is set to a lower resolution, or the window mode is set to a large window, it indicates that the current user may be an elderly person with impaired vision or a patient with amblyopia. For this type of user, the voice reading mode should be preferred. In addition, the system setting information may further include input method information, and if the input method is usually handwriting input or voice input, it indicates that the user may be an elderly user who is not accustomed to typing, and therefore the voice reading mode should be preferred.
Step two: judging whether the equipment running state of the terminal equipment is matched with the mode switching condition or not according to the equipment state description information; if yes, the reading mode of the electronic book is controlled to be switched to the voice reading mode.
Specifically, the device operating state of the terminal device, for example, the screen font state, the resolution state, the window state, the input method state, and the like when the device is operating, can be determined from the device state description information. Correspondingly, the running state of the equipment is matched with the preset mode switching condition, and whether the equipment is switched to the voice reading mode or not can be automatically determined. Wherein the mode switching condition includes: and when the font size is larger than the preset font size, the resolution is lower than the preset threshold value, the input method is a handwriting input method or a voice input method, and/or the window mode information is a large window mode, switching the reading mode of the electronic book into a voice reading mode.
Through the method, users with reading difficulty can be automatically identified, and therefore the voice reading mode is automatically started for the users.
In addition, optionally, the device state description information further includes: applying the setting information, the acquiring the device state description information of the terminal device specifically includes: user registration information included in application setting information of an electronic book application is read, and age information included in the user registration information is extracted. Accordingly, the mode switching conditions include: and when the age information is smaller than a preset low age threshold value or the age information is larger than a preset high age threshold value, switching the reading mode of the electronic book into a voice reading mode. Most users will fill in relevant information such as user ages during registration, so that users of old age or low age can be quickly identified according to age information, and a voice reading mode is started for the users. As the eyesight of the elderly users is generally reduced and the users are difficult to read, the voice reading mode can better meet the reading requirements of the users. The voice reading mode is superior to the character reading mode because the low-age user has less literacy and is not suitable for too much eyes during the development period.
Examples two,
In this example, the recognition is mainly performed for the current reading environment, so that the voice reading mode is automatically started according to the recognition result, specifically including the following steps:
the method comprises the following steps: after the electronic book application is started, acquiring an application running state of the electronic book application; and when the application running state of the electronic book application is a book reading state, acquiring the equipment state description information of the terminal equipment.
Wherein the device state description information includes: mode setting information. In specific implementation, the mode setting information of the terminal equipment is read, and the screen brightness information and/or the timing on-off information contained in the mode setting information are/is extracted. The screen brightness information can reflect the brightness value of the screen, a plurality of users are used to reading before sleeping after turning off the light at night, at the moment, in order to reduce the brightness stimulation to eyes, most of users can select to dim the screen brightness, therefore, whether the users are going to sleep or not can be identified according to the screen brightness information, a voice reading mode is used before the users go to sleep, the eyesight can be protected, and the fast sleep can be facilitated. In addition, some user's terminal equipment can preset the timing on-off, for example, turn off at 11 o' clock in evening, so whether the user is about to fall asleep can also be identified according to the timing on-off information.
In addition, the device state description information may further include: the external environment information may be, for example, sensed by a light sensor or the like, and if the brightness of the external environment is low, it indicates that the user is turning off the light and is ready to fall asleep.
Step two: judging whether the equipment running state of the terminal equipment is matched with the mode switching condition or not according to the equipment state description information; if yes, the reading mode of the electronic book is controlled to be switched to the voice reading mode.
Specifically, the device operation state of the terminal device, for example, the screen brightness, the external environment light brightness, and the like when the device is operated, can be determined according to the device state description information. Correspondingly, the running state of the equipment is matched with the preset mode switching condition, and whether the equipment is switched to the voice reading mode or not can be automatically determined. Wherein the mode switching condition includes: and when the screen brightness is lower than a preset brightness threshold, the brightness of the external environment light is lower than a preset environment threshold, and/or the timing shutdown time of the current time distance is smaller than a preset time threshold, switching the reading mode of the electronic book to a voice reading mode.
By the mode, whether the reading user is in the state of falling asleep or not can be automatically identified, so that the voice reading mode is automatically started for the user of the type, the eyesight of the user is protected, and the sleep is promoted.
Examples III,
In this example, the method mainly identifies whether the user is currently in a driving state, so as to automatically start the voice reading mode when the user is identified as the driving state, and specifically includes the following steps:
the method comprises the following steps: after the electronic book application is started, acquiring an application running state of the electronic book application; and when the application running state of the electronic book application is a book reading state, acquiring the equipment state description information of the terminal equipment.
Wherein the device state description information includes: peripheral connection information. Wherein the peripheral connection information includes: data line connection information and/or wireless connection information. The peripheral connection information is used for indicating that the terminal equipment running the electronic book application is connected with the external equipment, and specifically, the peripheral connection information can be connected through a data line in a wired mode and can also be connected through wireless equipment such as WIFI (wireless fidelity) and Bluetooth in a wireless mode. In specific implementation, when the peripheral connection information is detected, determining the equipment type of the external equipment corresponding to the peripheral connection information; and when the equipment type is the vehicle-mounted type, determining that the current operation state of the terminal equipment is the vehicle-mounted operation state. Specifically, when the terminal device and the external device are connected to each other, the system receives the peripheral connection notification message, that is, the peripheral connection information, and determines the device type of the external device according to the external device identifier included in the peripheral connection information. Wherein the vehicle-mounted type external device includes: automobile driving equipment, automobile equipment, other auxiliary equipment on the automobile and the like. In summary, any device related to an automobile can be used as an on-board type external device. Correspondingly, when the device type of the external device is recognized as the vehicle-mounted type, the current operation state of the terminal device is determined as the vehicle-mounted operation state.
In addition, besides the judgment according to the peripheral connection information, the displacement information of the mobile terminal can be further acquired through a radar part, a GPS (global positioning system) positioning part, a sensing part and the like, and then whether the terminal equipment is in the vehicle-mounted running state or not can be judged in an auxiliary mode according to the displacement information.
Step two: judging whether the equipment running state of the terminal equipment is matched with the mode switching condition or not according to the equipment state description information; if yes, the reading mode of the electronic book is controlled to be switched to the voice reading mode.
Specifically, the device operating state of the terminal device can be determined from the device state description information, for example, whether the device is currently in a running automobile. Correspondingly, the running state of the equipment is matched with the preset mode switching condition, and whether the equipment is switched to the voice reading mode or not can be automatically determined. Wherein the mode switching condition includes: and when the current running state of the terminal equipment is detected to be the vehicle-mounted running state, switching the reading mode of the electronic book into a voice reading mode.
By the mode, whether the reading user is in the driving state or not can be automatically identified, so that the voice reading mode is automatically started for the user of the type, and the driving safety is improved.
Example four,
In this example, the method mainly aims at identifying whether the user is currently in a motion state, so as to automatically start the voice reading mode when the user is identified as the motion state, and specifically includes the following steps:
the method comprises the following steps: after the electronic book application is started, acquiring an application running state of the electronic book application; and when the application running state of the electronic book application is a book reading state, acquiring the equipment state description information of the terminal equipment.
Wherein the device state description information includes: and displacement state information of the terminal equipment, wherein the displacement state information is used for indicating whether the terminal equipment is in a moving state at present. Wherein the displacement state information includes: displacement speed, displacement direction, etc. When the terminal equipment is in a static state, the displacement speed is zero. In addition, in this embodiment, the displacement state information of the terminal device needs to be continuously monitored or acquired, so as to acquire the displacement information of the terminal device at each time point, and further analyze the displacement change condition of the terminal device. Step two: judging whether the equipment running state of the terminal equipment is matched with the mode switching condition or not according to the equipment state description information; if yes, the reading mode of the electronic book is controlled to be switched to the voice reading mode.
Specifically, according to the displacement state information of the terminal device, the displacement speed and/or the displacement direction of the terminal device at each time point are/is determined; and when the displacement speed of the terminal equipment in the preset time length is matched with the preset movement speed threshold value, and/or the displacement direction of the terminal equipment in the preset time length is matched with the preset displacement direction, determining that the equipment running state of the terminal equipment is matched with the mode switching condition.
The preset movement speed threshold may be one or more, where when the two movement speed thresholds are provided, the displacement speed of the terminal device within the preset time duration may be not less than the first movement speed threshold, and when the displacement speed of the terminal device within the preset time duration is not greater than the second movement speed threshold, it is determined that the displacement speed of the terminal device matches the preset movement speed threshold. For example, whether the displacement speed of the terminal device within the preset time length is between a first movement speed threshold and a second movement speed threshold is judged, and when the judgment result is yes, it is determined that the displacement speed of the terminal device is matched with the preset movement speed threshold. The first movement speed threshold value can be the lowest speed when a person walks, and the second movement speed threshold value can be the highest speed when the person runs, so that the situation that the equipment is in a continuous displacement state due to running or fast walking of the equipment holder is screened out, and then the voice reading mode is started in the situation. Of course, it may also be determined that the displacement speed of the terminal device matches the preset movement speed threshold only when the displacement speed of the terminal device within the preset time duration is not less than the first movement speed threshold, or when the displacement speed of the terminal device within the preset time duration is not greater than the second movement speed threshold. The present invention is not limited to this, and may be configured to select a motion state corresponding to a motion speed of a human body. In addition, the preset duration can be flexibly set by a person skilled in the art, and the main purpose is to prevent the disadvantage that the voice reading mode is frequently started due to accidental movement. Or, the average displacement speed, the lowest displacement speed and the highest displacement speed of the terminal device within the preset time length can be further combined for judgment.
In addition, the preset displacement direction may be a horizontal direction or a direction forming a preset angle with the horizontal direction. Since running is mostly performed on a level road, recognizing the horizontal movement helps to accurately judge the movement state. In addition, considering that some runways may have sections that are on an uphill or downhill slope, it is also possible to provide a direction that is at a preset angle from the horizontal, the preset angle being determined according to a conventional slope inclination angle.
The two methods of determination by the displacement speed and the displacement direction may be used alone or in combination. In addition, in the above process, it is also possible to further detect acceleration information of the terminal device through a gyroscope or the like to determine whether the terminal device is in an abnormal state such as throwing, dropping, or the like, so as to eliminate the above abnormal state, and only turn on the voice reading mode in the normal motion state.
Therefore, in the moving state, the user is likely to be in a healthy exercise state such as running, and at the moment, it is obviously inconvenient to read the characters, so that the user can move more conveniently by switching to the voice reading mode. Specifically, displacement information of the mobile terminal can be acquired through a radar component, a gyroscope, a GPS positioning component, a sensing component, and the like, and then whether the terminal device is in a moving state or not is determined according to the displacement information. By the mode, the state that the user continuously runs or quickly walks can be identified, and whether the reading user is in the motion state or not is further automatically identified, so that the voice reading mode is automatically started for the user, the motion of the user is not delayed, knowledge can be acquired in the motion process, and the two purposes are achieved. In addition, considering that some sports-type applications can directly evoke the e-book to read, the method may further include the following steps: when a starting instruction of an electronic book application is received, judging whether the starting instruction is triggered by a preset external application; if so, determining that the equipment running state of the terminal equipment is matched with the mode switching condition; wherein the preset external application comprises: and (4) sports type applications, such as sports type running applications, yoga applications and the like. The operation may be triggered at the same time when the start instruction of the electronic book application is received, or may be triggered after the start instruction of the electronic book application is received, and the details of the operation are not limited in the present invention. For example, when a user opens an sports application for recording a running route, a running speed, an electronic book application may be launched directly through a "reading" portal provided by the sports application. Correspondingly, when the electronic book application is detected to be started, whether the starting instruction is triggered by the external application is detected, and if yes, the voice reading mode is directly started, so that the purpose of listening to the book and running is achieved. In addition, the predetermined external application should have the following features: firstly, a call-up entrance for calling up an electronic book application is provided, so that the electronic book application can be called up through the call-up entrance inside the external application; secondly, this external application can operate under the prerequisite that does not influence the play of electronic book pronunciation, promptly: the voice playing process of the external application and the electronic book application can be carried out simultaneously and are not interfered mutually.
In conclusion, the state information of the terminal equipment where the electronic book is applied can be intelligently identified through the mode in the invention, so that the voice reading mode is intelligently started, manual triggering of a user is not needed, and convenience is provided for the reading of the user.
EXAMPLE III
The embodiment of the application provides a non-volatile computer storage medium, wherein the computer storage medium stores at least one executable instruction, and the computer executable instruction can execute the reading mode control method based on the electronic book application in any method embodiment.
The executable instructions may be specifically configured to cause the processor to:
acquiring picture interaction data of a reading user for a picture electronic book;
determining the reading preference of the reading user according to the picture interaction data;
when a page turning instruction triggered by the reading user for the picture electronic book is received, processing corresponding to the reading preference of the reading user is executed on picture elements contained in the reading page displayed after page turning according to the reading preference of the reading user.
In an optional mode, after an electronic book application is started, acquiring an application running state of the electronic book application;
when the application running state of the electronic book application is a book reading state, acquiring equipment state description information of the terminal equipment;
judging whether the equipment running state of the terminal equipment is matched with a mode switching condition or not according to the equipment state description information;
if yes, the reading mode of the electronic book is controlled to be switched to the voice reading mode.
In an alternative, the executable instructions cause the processor to:
acquiring content displayed in an application interface of the electronic book application, and judging whether the content displayed in the application interface is the text content of the electronic book; and if so, determining that the application running state of the electronic book application is a book reading state.
In an optional manner, the device state description information includes: system setup information, the executable instructions cause the processor to:
reading system setting information of terminal equipment, and extracting font information, resolution information, input method information and/or window mode information contained in the system setting information;
wherein the mode switching condition comprises: and when the font size is larger than the preset font size, the resolution is lower than the preset threshold value, the input method is a handwriting input method or a voice input method, and/or the window mode information is a large window mode, switching the reading mode of the electronic book into a voice reading mode.
In an optional manner, the device state description information includes: applying the setting information, the executable instructions cause the processor to:
reading user registration information contained in application setting information of an electronic book application, and extracting age information contained in the user registration information;
wherein the mode switching condition comprises: and when the age information is smaller than a preset low age threshold value or the age information is larger than a preset high age threshold value, switching the reading mode of the electronic book into a voice reading mode.
In an optional manner, the device state description information includes: mode setting information, the executable instructions cause the processor to:
reading mode setting information of the terminal equipment, and extracting screen brightness information, external environment information and/or timing startup and shutdown information contained in the mode setting information;
wherein the mode switching condition comprises: and when the screen brightness is lower than a preset brightness threshold, the brightness of the external environment light is lower than a preset environment threshold, and/or the timing shutdown time of the current time distance is smaller than a preset time threshold, switching the reading mode of the electronic book to a voice reading mode.
In an optional manner, the device state description information includes: peripheral connection information, the executable instructions cause the processor to:
when the peripheral connection information is detected, determining the device type of the external device corresponding to the peripheral connection information;
when the equipment type is a vehicle-mounted type, determining that the current operation state of the terminal equipment is a vehicle-mounted operation state;
wherein the mode switching condition comprises: when the current running state of the terminal equipment is detected to be a vehicle-mounted running state, switching the reading mode of the electronic book into a voice reading mode; wherein the peripheral connection information includes: data line connection information and/or wireless connection information.
In an optional manner, the device state description information includes: displacement state information of the terminal device;
the executable instructions cause the processor to:
determining the displacement speed and/or the displacement direction of the terminal equipment at each time point according to the displacement state information of the terminal equipment;
and when the displacement speed of the terminal equipment within the preset time length is matched with a preset movement speed threshold value, and/or the displacement direction of the terminal equipment within the preset time length is matched with the preset displacement direction, determining that the equipment running state of the terminal equipment is matched with the mode switching condition.
In an alternative, the executable instructions cause the processor to:
when a starting instruction of an electronic book application is received, judging whether the starting instruction is triggered by a preset external application; if so, determining that the equipment running state of the terminal equipment is matched with the mode switching condition;
the preset external application is provided with a call-up entrance for calling up an electronic book application; wherein the preset external application comprises: sports type applications.
Example four
Fig. 3 is a schematic structural diagram of an electronic device according to another embodiment of the present invention, and the specific embodiment of the present invention does not limit the specific implementation of the electronic device.
As shown in fig. 3, the electronic device may include: a processor (processor)302, a communication Interface 304, a memory 306, and a communication bus 308.
Wherein: the processor 302, communication interface 304, and memory 306 communicate with each other via a communication bus 308. A communication interface 304 for communicating with network elements of other devices, such as clients or other servers. The processor 302 is configured to execute the program 310, and may specifically execute relevant steps in the above-described reading mode control method based on the electronic book application.
In particular, program 310 may include program code comprising computer operating instructions.
The processor 302 may be a central processing unit CPU, or an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement an embodiment of the present invention. The electronic device comprises one or more processors, which can be the same type of processor, such as one or more CPUs; or may be different types of processors such as one or more CPUs and one or more ASICs.
And a memory 306 for storing a program 310. Memory 306 may comprise high-speed RAM memory and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
The program 310 may specifically be configured to cause the processor 302 to perform the following operations:
acquiring picture interaction data of a reading user for a picture electronic book;
determining the reading preference of the reading user according to the picture interaction data;
when a page turning instruction triggered by the reading user for the picture electronic book is received, processing corresponding to the reading preference of the reading user is executed on picture elements contained in the reading page displayed after page turning according to the reading preference of the reading user.
In an optional mode, after an electronic book application is started, acquiring an application running state of the electronic book application;
when the application running state of the electronic book application is a book reading state, acquiring equipment state description information of the terminal equipment;
judging whether the equipment running state of the terminal equipment is matched with a mode switching condition or not according to the equipment state description information;
if yes, the reading mode of the electronic book is controlled to be switched to the voice reading mode.
In an alternative, the executable instructions cause the processor to:
acquiring content displayed in an application interface of the electronic book application, and judging whether the content displayed in the application interface is the text content of the electronic book; and if so, determining that the application running state of the electronic book application is a book reading state.
In an optional manner, the device state description information includes: system setup information, the executable instructions cause the processor to:
reading system setting information of terminal equipment, and extracting font information, resolution information, input method information and/or window mode information contained in the system setting information;
wherein the mode switching condition comprises: and when the font size is larger than the preset font size, the resolution is lower than the preset threshold value, the input method is a handwriting input method or a voice input method, and/or the window mode information is a large window mode, switching the reading mode of the electronic book into a voice reading mode.
In an optional manner, the device state description information includes: applying the setting information, the executable instructions cause the processor to:
reading user registration information contained in application setting information of an electronic book application, and extracting age information contained in the user registration information;
wherein the mode switching condition comprises: and when the age information is smaller than a preset low age threshold value or the age information is larger than a preset high age threshold value, switching the reading mode of the electronic book into a voice reading mode.
In an optional manner, the device state description information includes: mode setting information, the executable instructions cause the processor to:
reading mode setting information of the terminal equipment, and extracting screen brightness information, external environment information and/or timing startup and shutdown information contained in the mode setting information;
wherein the mode switching condition comprises: and when the screen brightness is lower than a preset brightness threshold, the brightness of the external environment light is lower than a preset environment threshold, and/or the timing shutdown time of the current time distance is smaller than a preset time threshold, switching the reading mode of the electronic book to a voice reading mode.
In an optional manner, the device state description information includes: peripheral connection information, the executable instructions cause the processor to:
when the peripheral connection information is detected, determining the device type of the external device corresponding to the peripheral connection information;
when the equipment type is a vehicle-mounted type, determining that the current operation state of the terminal equipment is a vehicle-mounted operation state;
wherein the mode switching condition comprises: when the current running state of the terminal equipment is detected to be a vehicle-mounted running state, switching the reading mode of the electronic book into a voice reading mode; wherein the peripheral connection information includes: data line connection information and/or wireless connection information.
In an optional manner, the device state description information includes: displacement state information of the terminal device;
the executable instructions cause the processor to:
determining the displacement speed and/or the displacement direction of the terminal equipment at each time point according to the displacement state information of the terminal equipment;
and when the displacement speed of the terminal equipment within the preset time length is matched with a preset movement speed threshold value, and/or the displacement direction of the terminal equipment within the preset time length is matched with the preset displacement direction, determining that the equipment running state of the terminal equipment is matched with the mode switching condition.
In an alternative, the executable instructions cause the processor to:
when a starting instruction of an electronic book application is received, judging whether the starting instruction is triggered by a preset external application; if so, determining that the equipment running state of the terminal equipment is matched with the mode switching condition;
the preset external application is provided with a call-up entrance for calling up an electronic book application; wherein the preset external application comprises: sports type applications.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
The invention also discloses A1. a reading mode control method based on the electronic book application, which comprises the following steps:
after an electronic book application is started, acquiring an application running state of the electronic book application;
when the application running state of the electronic book application is a book reading state, acquiring equipment state description information of the terminal equipment;
judging whether the equipment running state of the terminal equipment is matched with a mode switching condition or not according to the equipment state description information;
if yes, the reading mode of the electronic book is controlled to be switched to the voice reading mode.
A2. The method of A1, wherein the acquiring the application running state of the electronic book application includes:
acquiring content displayed in an application interface of the electronic book application, and judging whether the content displayed in the application interface is the text content of the electronic book; and if so, determining that the application running state of the electronic book application is a book reading state.
A3. The method according to a1 or 2, wherein the device state description information includes: the system setting information, the acquiring the device state description information of the terminal device includes:
reading system setting information of terminal equipment, and extracting font information, resolution information, input method information and/or window mode information contained in the system setting information;
wherein the mode switching condition comprises: and when the font size is larger than the preset font size, the resolution is lower than the preset threshold value, the input method is a handwriting input method or a voice input method, and/or the window mode information is a large window mode, switching the reading mode of the electronic book into a voice reading mode.
A4. The method according to any of a1-3, wherein the device state descriptive information includes: applying the setting information, and acquiring the device state description information of the terminal device includes:
reading user registration information contained in application setting information of an electronic book application, and extracting age information contained in the user registration information;
wherein the mode switching condition comprises: and when the age information is smaller than a preset low age threshold value or the age information is larger than a preset high age threshold value, switching the reading mode of the electronic book into a voice reading mode.
A5. The method according to any of a1-4, wherein the device state descriptive information includes: the obtaining of the device state description information of the terminal device includes:
reading mode setting information of the terminal equipment, and extracting screen brightness information, external environment information and/or timing startup and shutdown information contained in the mode setting information;
wherein the mode switching condition comprises: and when the screen brightness is lower than a preset brightness threshold, the brightness of the external environment light is lower than a preset environment threshold, and/or the timing shutdown time of the current time distance is smaller than a preset time threshold, switching the reading mode of the electronic book to a voice reading mode.
A6. The method according to any of a1-5, wherein the device state descriptive information includes: if the peripheral connection information is obtained, the obtaining of the device state description information of the terminal device includes:
when the peripheral connection information is detected, determining the device type of the external device corresponding to the peripheral connection information;
when the equipment type is a vehicle-mounted type, determining that the current operation state of the terminal equipment is a vehicle-mounted operation state;
wherein the mode switching condition comprises: when the current running state of the terminal equipment is detected to be a vehicle-mounted running state, switching the reading mode of the electronic book into a voice reading mode; wherein the peripheral connection information includes: data line connection information and/or wireless connection information.
A7. The method according to any of a1-6, wherein the device state descriptive information includes: displacement state information of the terminal device;
the determining, according to the device state description information, whether the device operating state of the terminal device matches a mode switching condition includes:
determining the displacement speed and/or the displacement direction of the terminal equipment at each time point according to the displacement state information of the terminal equipment;
and when the displacement speed of the terminal equipment within the preset time length is matched with a preset movement speed threshold value, and/or the displacement direction of the terminal equipment within the preset time length is matched with the preset displacement direction, determining that the equipment running state of the terminal equipment is matched with the mode switching condition.
A8. The method according to any one of A1-7, wherein when receiving a start instruction of the electronic book application, the method further comprises:
judging whether the starting instruction is triggered by a preset external application; and if so, determining that the equipment running state of the terminal equipment is matched with the mode switching condition.
A9. The method according to A8, wherein the preset external application has a call-out entrance for calling out an electronic book application; wherein the preset external application comprises: sports type applications.
B10. An electronic device, comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is configured to store at least one executable instruction that causes the processor to:
after an electronic book application is started, acquiring an application running state of the electronic book application;
when the application running state of the electronic book application is a book reading state, acquiring equipment state description information of the terminal equipment;
judging whether the equipment running state of the terminal equipment is matched with a mode switching condition or not according to the equipment state description information;
if yes, the reading mode of the electronic book is controlled to be switched to the voice reading mode.
B11. The electronic device of B10, wherein the executable instructions cause the processor to:
acquiring content displayed in an application interface of the electronic book application, and judging whether the content displayed in the application interface is the text content of the electronic book; and if so, determining that the application running state of the electronic book application is a book reading state.
B12. The electronic device according to B10 or 11, wherein the device state description information includes: system setup information, the executable instructions cause the processor to:
reading system setting information of terminal equipment, and extracting font information, resolution information, input method information and/or window mode information contained in the system setting information;
wherein the mode switching condition comprises: and when the font size is larger than the preset font size, the resolution is lower than the preset threshold value, the input method is a handwriting input method or a voice input method, and/or the window mode information is a large window mode, switching the reading mode of the electronic book into a voice reading mode.
B13. The electronic device according to any of B10-12, wherein the device state descriptive information includes: applying the setting information, the executable instructions cause the processor to:
reading user registration information contained in application setting information of an electronic book application, and extracting age information contained in the user registration information;
wherein the mode switching condition comprises: and when the age information is smaller than a preset low age threshold value or the age information is larger than a preset high age threshold value, switching the reading mode of the electronic book into a voice reading mode.
B14. The electronic device according to any of B10-13, wherein the device state descriptive information includes: mode setting information, the executable instructions cause the processor to:
reading mode setting information of the terminal equipment, and extracting screen brightness information, external environment information and/or timing startup and shutdown information contained in the mode setting information;
wherein the mode switching condition comprises: and when the screen brightness is lower than a preset brightness threshold, the brightness of the external environment light is lower than a preset environment threshold, and/or the timing shutdown time of the current time distance is smaller than a preset time threshold, switching the reading mode of the electronic book to a voice reading mode.
B15. The electronic device according to any of B10-14, wherein the device state descriptive information includes: peripheral connection information, the executable instructions cause the processor to:
when the peripheral connection information is detected, determining the device type of the external device corresponding to the peripheral connection information;
when the equipment type is a vehicle-mounted type, determining that the current operation state of the terminal equipment is a vehicle-mounted operation state;
wherein the mode switching condition comprises: when the current running state of the terminal equipment is detected to be a vehicle-mounted running state, switching the reading mode of the electronic book into a voice reading mode; wherein the peripheral connection information includes: data line connection information and/or wireless connection information.
B16. The electronic device according to any of B10-15, wherein the device state descriptive information includes: displacement state information of the terminal device;
the executable instructions cause the processor to:
determining the displacement speed and/or the displacement direction of the terminal equipment at each time point according to the displacement state information of the terminal equipment;
and when the displacement speed of the terminal equipment within the preset time length is matched with a preset movement speed threshold value, and/or the displacement direction of the terminal equipment within the preset time length is matched with the preset displacement direction, determining that the equipment running state of the terminal equipment is matched with the mode switching condition.
B17. The electronic device of any of B10-16, wherein the executable instructions cause the processor to:
when a starting instruction of an electronic book application is received, judging whether the starting instruction is triggered by a preset external application; and if so, determining that the equipment running state of the terminal equipment is matched with the mode switching condition.
B18. The electronic device according to any one of B10-17, wherein the preset external application has a call-out entrance for calling out an e-book application; wherein the preset external application comprises: sports type applications.
C19. A computer storage medium having at least one executable instruction stored therein, the executable instruction causing a processor to:
after an electronic book application is started, acquiring an application running state of the electronic book application;
when the application running state of the electronic book application is a book reading state, acquiring equipment state description information of the terminal equipment;
judging whether the equipment running state of the terminal equipment is matched with a mode switching condition or not according to the equipment state description information;
if yes, the reading mode of the electronic book is controlled to be switched to the voice reading mode.
C20. The computer storage medium of C19, wherein the executable instructions cause the processor to:
acquiring content displayed in an application interface of the electronic book application, and judging whether the content displayed in the application interface is the text content of the electronic book; and if so, determining that the application running state of the electronic book application is a book reading state.
C21. The computer storage medium of C19 or 20, wherein the device state descriptive information includes: system setup information, the executable instructions cause the processor to:
reading system setting information of terminal equipment, and extracting font information, resolution information, input method information and/or window mode information contained in the system setting information;
wherein the mode switching condition comprises: and when the font size is larger than the preset font size, the resolution is lower than the preset threshold value, the input method is a handwriting input method or a voice input method, and/or the window mode information is a large window mode, switching the reading mode of the electronic book into a voice reading mode.
C22. The computer storage medium of any of C19-21, wherein the device state descriptive information includes: applying the setting information, the executable instructions cause the processor to:
reading user registration information contained in application setting information of an electronic book application, and extracting age information contained in the user registration information;
wherein the mode switching condition comprises: and when the age information is smaller than a preset low age threshold value or the age information is larger than a preset high age threshold value, switching the reading mode of the electronic book into a voice reading mode.
C23. The computer storage medium of any of C19-22, wherein the device state descriptive information includes: mode setting information, the executable instructions cause the processor to:
reading mode setting information of the terminal equipment, and extracting screen brightness information, external environment information and/or timing startup and shutdown information contained in the mode setting information;
wherein the mode switching condition comprises: and when the screen brightness is lower than a preset brightness threshold, the brightness of the external environment light is lower than a preset environment threshold, and/or the timing shutdown time of the current time distance is smaller than a preset time threshold, switching the reading mode of the electronic book to a voice reading mode.
C24. The computer storage medium of any of C19-23, wherein the device state descriptive information includes: peripheral connection information, the executable instructions cause the processor to:
when the peripheral connection information is detected, determining the device type of the external device corresponding to the peripheral connection information;
when the equipment type is a vehicle-mounted type, determining that the current operation state of the terminal equipment is a vehicle-mounted operation state;
wherein the mode switching condition comprises: when the current running state of the terminal equipment is detected to be a vehicle-mounted running state, switching the reading mode of the electronic book into a voice reading mode; wherein the peripheral connection information includes: data line connection information and/or wireless connection information.
C25. The computer storage medium of any of C19-24, wherein the device state descriptive information includes: displacement state information of the terminal device;
the executable instructions cause the processor to:
determining the displacement speed and/or the displacement direction of the terminal equipment at each time point according to the displacement state information of the terminal equipment;
and when the displacement speed of the terminal equipment within the preset time length is matched with a preset movement speed threshold value, and/or the displacement direction of the terminal equipment within the preset time length is matched with the preset displacement direction, determining that the equipment running state of the terminal equipment is matched with the mode switching condition.
C26. The computer storage medium of any of C19-25, wherein the executable instructions cause the processor to:
when a starting instruction of an electronic book application is received, judging whether the starting instruction is triggered by a preset external application; and if so, determining that the equipment running state of the terminal equipment is matched with the mode switching condition.
C27. The computer storage medium of any of C19-26, wherein the preset external application has a call entry for calling an ebook application; wherein the preset external application comprises: sports type applications.

Claims (10)

1. A reading mode control method based on electronic book application comprises the following steps:
after an electronic book application is started, acquiring an application running state of the electronic book application;
when the application running state of the electronic book application is a book reading state, acquiring equipment state description information of the terminal equipment;
judging whether the equipment running state of the terminal equipment is matched with a mode switching condition or not according to the equipment state description information;
if yes, the reading mode of the electronic book is controlled to be switched to the voice reading mode.
2. The method of claim 1, wherein the obtaining of the application execution state of the electronic book application comprises:
acquiring content displayed in an application interface of the electronic book application, and judging whether the content displayed in the application interface is the text content of the electronic book; and if so, determining that the application running state of the electronic book application is a book reading state.
3. The method of claim 1 or 2, wherein the device state description information comprises: the system setting information, the acquiring the device state description information of the terminal device includes:
reading system setting information of terminal equipment, and extracting font information, resolution information, input method information and/or window mode information contained in the system setting information;
wherein the mode switching condition comprises: and when the font size is larger than the preset font size, the resolution is lower than the preset threshold value, the input method is a handwriting input method or a voice input method, and/or the window mode information is a large window mode, switching the reading mode of the electronic book into a voice reading mode.
4. The method of any of claims 1-3, wherein the device state description information comprises: applying the setting information, and acquiring the device state description information of the terminal device includes:
reading user registration information contained in application setting information of an electronic book application, and extracting age information contained in the user registration information;
wherein the mode switching condition comprises: and when the age information is smaller than a preset low age threshold value or the age information is larger than a preset high age threshold value, switching the reading mode of the electronic book into a voice reading mode.
5. The method of any of claims 1-4, wherein the device state description information comprises: the obtaining of the device state description information of the terminal device includes:
reading mode setting information of the terminal equipment, and extracting screen brightness information, external environment information and/or timing startup and shutdown information contained in the mode setting information;
wherein the mode switching condition comprises: and when the screen brightness is lower than a preset brightness threshold, the brightness of the external environment light is lower than a preset environment threshold, and/or the timing shutdown time of the current time distance is smaller than a preset time threshold, switching the reading mode of the electronic book to a voice reading mode.
6. The method of any of claims 1-5, wherein the device state description information comprises: if the peripheral connection information is obtained, the obtaining of the device state description information of the terminal device includes:
when the peripheral connection information is detected, determining the device type of the external device corresponding to the peripheral connection information;
when the equipment type is a vehicle-mounted type, determining that the current operation state of the terminal equipment is a vehicle-mounted operation state;
wherein the mode switching condition comprises: when the current running state of the terminal equipment is detected to be a vehicle-mounted running state, switching the reading mode of the electronic book into a voice reading mode; wherein the peripheral connection information includes: data line connection information and/or wireless connection information.
7. The method of any of claims 1-6, wherein the device state description information comprises: displacement state information of the terminal device;
the determining, according to the device state description information, whether the device operating state of the terminal device matches a mode switching condition includes:
determining the displacement speed and/or the displacement direction of the terminal equipment at each time point according to the displacement state information of the terminal equipment;
and when the displacement speed of the terminal equipment within the preset time length is matched with a preset movement speed threshold value, and/or the displacement direction of the terminal equipment within the preset time length is matched with the preset displacement direction, determining that the equipment running state of the terminal equipment is matched with the mode switching condition.
8. The method according to any one of claims 1-7, wherein when receiving a start instruction of the electronic book application, further comprising:
judging whether the starting instruction is triggered by a preset external application; and if so, determining that the equipment running state of the terminal equipment is matched with the mode switching condition.
9. An electronic device, comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is configured to store at least one executable instruction that causes the processor to:
after an electronic book application is started, acquiring an application running state of the electronic book application;
when the application running state of the electronic book application is a book reading state, acquiring equipment state description information of the terminal equipment;
judging whether the equipment running state of the terminal equipment is matched with a mode switching condition or not according to the equipment state description information;
if yes, the reading mode of the electronic book is controlled to be switched to the voice reading mode.
10. A computer storage medium having at least one executable instruction stored therein, the executable instruction causing a processor to:
after an electronic book application is started, acquiring an application running state of the electronic book application;
when the application running state of the electronic book application is a book reading state, acquiring equipment state description information of the terminal equipment;
judging whether the equipment running state of the terminal equipment is matched with a mode switching condition or not according to the equipment state description information;
if yes, the reading mode of the electronic book is controlled to be switched to the voice reading mode.
CN201910939786.6A 2019-09-30 2019-09-30 Reading mode control method based on electronic book application and electronic equipment Pending CN110647306A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910939786.6A CN110647306A (en) 2019-09-30 2019-09-30 Reading mode control method based on electronic book application and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910939786.6A CN110647306A (en) 2019-09-30 2019-09-30 Reading mode control method based on electronic book application and electronic equipment

Publications (1)

Publication Number Publication Date
CN110647306A true CN110647306A (en) 2020-01-03

Family

ID=69012023

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910939786.6A Pending CN110647306A (en) 2019-09-30 2019-09-30 Reading mode control method based on electronic book application and electronic equipment

Country Status (1)

Country Link
CN (1) CN110647306A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113448535A (en) * 2021-06-25 2021-09-28 亿企赢网络科技有限公司 Terminal screen content reading method and device, electronic equipment and medium
CN114415836A (en) * 2022-01-19 2022-04-29 掌阅科技股份有限公司 Electronic book display method, electronic device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030203746A1 (en) * 2002-04-23 2003-10-30 Nec Corporation Mobile communication terminal having hands-free speech state and computer program for switching over to hands-free speech state
CN105117367A (en) * 2015-09-21 2015-12-02 联想(北京)有限公司 Electronic book switching method and electronic equipment
CN106896985A (en) * 2017-02-24 2017-06-27 百度在线网络技术(北京)有限公司 Method and apparatus for switching information of reading aloud and reading information
CN107370814A (en) * 2017-07-21 2017-11-21 掌阅科技股份有限公司 E-book reads aloud processing method, terminal device and computer-readable storage medium
CN107948405A (en) * 2017-11-13 2018-04-20 百度在线网络技术(北京)有限公司 A kind of information processing method, device and terminal device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030203746A1 (en) * 2002-04-23 2003-10-30 Nec Corporation Mobile communication terminal having hands-free speech state and computer program for switching over to hands-free speech state
CN105117367A (en) * 2015-09-21 2015-12-02 联想(北京)有限公司 Electronic book switching method and electronic equipment
CN106896985A (en) * 2017-02-24 2017-06-27 百度在线网络技术(北京)有限公司 Method and apparatus for switching information of reading aloud and reading information
CN107370814A (en) * 2017-07-21 2017-11-21 掌阅科技股份有限公司 E-book reads aloud processing method, terminal device and computer-readable storage medium
CN107948405A (en) * 2017-11-13 2018-04-20 百度在线网络技术(北京)有限公司 A kind of information processing method, device and terminal device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113448535A (en) * 2021-06-25 2021-09-28 亿企赢网络科技有限公司 Terminal screen content reading method and device, electronic equipment and medium
CN113448535B (en) * 2021-06-25 2024-01-30 亿企赢网络科技有限公司 Method and device for reading terminal screen content, electronic equipment and medium
CN114415836A (en) * 2022-01-19 2022-04-29 掌阅科技股份有限公司 Electronic book display method, electronic device and storage medium

Similar Documents

Publication Publication Date Title
EP3809227A1 (en) Driving assistance apparatus and driving assistance method
US20150071043A1 (en) Relative Clock Time Display Device and Relative Clock Time Display Program
JP2008269588A (en) Recognition device, recognition method, and recognition program
CN107004414B (en) Information processing apparatus, information processing method, and recording medium
US10276151B2 (en) Electronic apparatus and method for controlling the electronic apparatus
CN107277225B (en) Method and device for controlling intelligent equipment through voice and intelligent equipment
EP3018629B1 (en) Imaging system
EP3410433A1 (en) Information processing device, information processing method, and program
CN110647306A (en) Reading mode control method based on electronic book application and electronic equipment
CN110275612B (en) Brightness adjusting method and device, electronic equipment and storage medium
CN113901239A (en) Information display method, device, equipment and storage medium
JP2007265274A (en) Physiology adaptive display device
CN114161929A (en) Method, device and vehicle for automatic acquisition of vehicle theme
KR20200029716A (en) Vehicle and controlling method of vehicle
CN117032612B (en) Interactive teaching method, device, terminal and medium based on high beam imaging learning machine
CN110727629A (en) Playing method of audio electronic book, electronic equipment and computer storage medium
US11340518B2 (en) Projection system and projection operation method
CN114398120A (en) Interface display method and device, storage medium and electronic equipment
CN111783550B (en) Monitoring and adjusting method and system for emotion of driver
EP3983100B1 (en) Interactive amusement ride
US10643636B2 (en) Information processing apparatus, information processing method, and program
CN112530192A (en) Road condition display method and device in screen locking state
CN111026872B (en) Associated dictation method and electronic equipment
JP6555113B2 (en) Dialogue device
CN112948017A (en) Guide information display method, device, terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination