CN106933443B - Method and device for processing electronic book data and electronic book reader - Google Patents

Method and device for processing electronic book data and electronic book reader Download PDF

Info

Publication number
CN106933443B
CN106933443B CN201710103461.5A CN201710103461A CN106933443B CN 106933443 B CN106933443 B CN 106933443B CN 201710103461 A CN201710103461 A CN 201710103461A CN 106933443 B CN106933443 B CN 106933443B
Authority
CN
China
Prior art keywords
added
data
area
electronic book
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710103461.5A
Other languages
Chinese (zh)
Other versions
CN106933443A (en
Inventor
吴佳临
梁小勇
谭继飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen guotengan Vocational Education Technology Co.,Ltd.
Original Assignee
Shenzhen Gta Education Tech 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 Shenzhen Gta Education Tech Ltd filed Critical Shenzhen Gta Education Tech Ltd
Priority to CN201710103461.5A priority Critical patent/CN106933443B/en
Publication of CN106933443A publication Critical patent/CN106933443A/en
Application granted granted Critical
Publication of CN106933443B publication Critical patent/CN106933443B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/02Digital computers in general; Data processing equipment in general manually operated with input through keyboard and computation using a built-in program, e.g. pocket calculators
    • G06F15/025Digital computers in general; Data processing equipment in general manually operated with input through keyboard and computation using a built-in program, e.g. pocket calculators adapted to a specific application
    • G06F15/0291Digital computers in general; Data processing equipment in general manually operated with input through keyboard and computation using a built-in program, e.g. pocket calculators adapted to a specific application for reading, e.g. e-books

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Human Computer Interaction (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present invention relates to the field of electronic book technologies, and in particular, to a method and an apparatus for processing electronic book data, and an electronic book reader. The method for processing the data of the electronic book comprises the following steps: detecting operation information for starting data addition operation when the electronic book is in an open state; if the operation information is detected, determining a region to be added on the electronic book according to a preset rule; acquiring data to be added; and adding the data to be added to the area to be added. By adopting the method for processing the data of the electronic book, the user can automatically add various data resources to the designated area in the electronic book according to actual needs when reading the electronic book, thereby greatly improving the interactivity and flexibility of reading the electronic book.

Description

Method and device for processing electronic book data and electronic book reader
Technical Field
The present invention relates to the field of electronic book technologies, and in particular, to a method and an apparatus for processing electronic book data, and an electronic book reader.
Background
The electronic book is a publication for digitizing the contents of characters, pictures, sounds, images and the like, and has the advantages of environmental protection, convenience in carrying, large storage capacity and the like. With the development of the times, electronic books are more and more favored by people, particularly young people.
The current electronic book comprises various data resources, and various complex animations or interaction functions can be added to the data resources; however, the addition and adjustment of the data resources are realized in the manufacturing process of the electronic book, and a user cannot add the data resources according to actual needs when reading the electronic book, so that the interactivity and flexibility are poor.
Disclosure of Invention
The embodiment of the invention provides a method and a device for processing data of an electronic book and an electronic book reader, and aims to solve the problems that data resources cannot be added according to actual needs when the electronic book is read at present, and interactivity and flexibility are poor.
The first aspect of the embodiments of the present invention provides a method for processing electronic book data, including:
detecting operation information for starting data addition operation when the electronic book is in an open state;
if the operation information is detected, determining a region to be added on the electronic book according to a preset rule;
acquiring data to be added;
and adding the data to be added to the area to be added.
Further, the acquiring the data to be added specifically includes:
determining a first data category of the data to be added;
acquiring the data to be added from a preset database corresponding to the first data category;
the database is preset by the following steps:
acquiring data to be put in storage;
determining a second data category of the data to be put into storage;
and adding the data to be put into storage into a database corresponding to the second data category.
Further, the determining, according to a preset rule, a region to be added on the electronic book specifically includes:
acquiring each selection frame drawn in a designated area in the electronic book;
acquiring coordinate information corresponding to each selected frame;
and determining the area to be added according to the coordinate information corresponding to each selected frame.
Further, the adding the data to be added to the area to be added specifically includes:
determining the data category of the data to be added;
determining first data according to the data to be added, the data type of the data to be added and the size of the area to be added and a preset rule;
adding the first data to the area to be added.
Further, the determining, according to the data to be added, the data type of the data to be added, and the size of the area to be added, the first data according to a preset rule specifically includes:
if the data type of the data to be added is a text and the size of the area to be added is smaller than a preset first threshold value, determining attribute information of the text to be added or/and specified text content in the text as the first data;
if the data type of the data to be added is a text and the size of the area to be added is greater than or equal to the first threshold value, determining the text to be added as the first data;
if the data type of the data to be added is a picture and the size of the area to be added is smaller than a preset second threshold value, determining attribute information or/and first picture information of the picture to be added as the first data, wherein the first picture information is a thumbnail or a designated area of the picture to be added;
if the data type of the data to be added is a picture and the size of the area to be added is greater than or equal to the second threshold value, determining the picture to be added as the first data;
if the data type of the data to be added is audio, determining the attribute information of the audio to be added as the first data;
if the data type of the data to be added is a video and the size of the area to be added is smaller than a preset third threshold value, determining attribute information or/and first video information of the video to be added as the first data, wherein the first video information is a thumbnail image or a designated area of the video to be added;
and if the data type of the data to be added is a video and the size of the area to be added is greater than or equal to the third threshold value, determining the video to be added as the first data.
A second aspect of the embodiments of the present invention provides an apparatus for processing data of an electronic book, including:
the electronic book adding device comprises a detection module, a data adding module and a data adding module, wherein the detection module is used for detecting operation information for starting data adding operation when the electronic book is in an open state;
the determining module is used for determining an area to be added on the electronic book according to a preset rule if the operation information is detected;
the acquisition module is used for acquiring data to be added;
and the adding module is used for adding the data to be added to the area to be added.
Further, the determining module specifically includes:
a first acquisition unit configured to acquire each of selection frames drawn in a specified area in the electronic book;
the second acquisition unit is used for acquiring the coordinate information corresponding to each selected frame;
and the area determining unit is used for determining the area to be added according to the coordinate information corresponding to each selected frame.
Further, the adding module specifically includes:
the first determining unit is used for determining the data type of the data to be added;
the second determining unit is used for determining the first data according to the data to be added, the data type of the data to be added and the size of the area to be added according to a preset rule;
an adding unit, configured to add the first data to the area to be added.
Further, the second determining unit specifically includes:
the first text processing subunit is configured to determine, if the data type of the to-be-added data is a text and the size of the to-be-added area is smaller than a preset first threshold, attribute information of the to-be-added text or/and specified text content in the text as the first data;
a second text processing subunit, configured to determine, if the data type of the data to be added is a text and the size of the area to be added is greater than or equal to the first threshold, the text to be added is the first data;
the image processing unit is configured to determine, if the data type of the to-be-added image is an image and the size of the to-be-added area is smaller than a preset second threshold, attribute information or/and first image information of the to-be-added image as the first data, where the first image information is a thumbnail of the to-be-added image or a designated area;
a second picture processing subunit, configured to determine, if the data type of the data to be added is a picture and the size of the area to be added is greater than or equal to the second threshold, the picture to be added is the first data;
the audio processing subunit is configured to determine, if the data type of the data to be added is audio, attribute information of the audio to be added as the first data;
a video processing first subunit, configured to determine, if the data category of the to-be-added video is a video and the size of the to-be-added area is smaller than a preset third threshold, attribute information or/and first video information of the to-be-added video as the first data, where the first video information is a thumbnail image or a designated area of the to-be-added video;
and the second video processing subunit is configured to determine, if the data type of the to-be-added data is a video and the size of the to-be-added area is greater than or equal to the third threshold, the to-be-added video as the first data.
A third aspect of the embodiments of the present invention provides an electronic book reader, including any electronic book data processing apparatus described above.
In the embodiment of the invention, when the electronic book is in an open state, operation information for starting data adding operation is detected; if the operation information is detected, determining a region to be added on the electronic book according to a preset rule; acquiring data to be added; and adding the data to be added to the area to be added. The process is carried out when the electronic book is opened, so that a user can automatically add various data resources to the designated area in the electronic book according to actual needs when reading the electronic book, and interactivity and flexibility of reading the electronic book are greatly improved.
Drawings
FIG. 1A is a flowchart of an embodiment of a method for processing data of an electronic book according to an embodiment of the present invention;
FIG. 1B is a flow chart of one embodiment of step 102 in FIG. 1A;
FIG. 1C is a flow chart of one embodiment of step 103 of FIG. 1A;
FIG. 1D is a flow chart of one embodiment of step 104 of FIG. 1A;
FIG. 2 is a block diagram of an embodiment of an apparatus for processing electronic book data according to an embodiment of the present invention;
fig. 3 is a flowchart of a method for using an electronic book reader according to an embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a method and a device for processing data of an electronic book and a reader, and aims to solve the problems that data resources cannot be added according to actual needs when the electronic book is read at present, and interactivity and flexibility are poor.
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the embodiments described below are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1A, an embodiment of a method for processing electronic book data according to an embodiment of the present invention includes:
101. detecting operation information for starting data addition operation when the electronic book is in an open state;
in a case where the electronic book is in an open state, operation information for turning on a data addition operation is detected. The operation information may be any operation performed by the user in the electronic book, such as activating a certain button in any manner, dragging a certain drag bar or a certain designated writing track written on the touch screen, and the like. The operation information is used for starting data adding operation when the electronic book is in an open state, for example, a button for "adding resources" may be set in the electronic book, and when a user wants to add data resources by himself, the user may click the button to generate operation information, and at this time, the electronic book may detect the operation information and start data resource adding operation.
102. If the operation information is detected, determining a region to be added on the electronic book according to a preset rule;
and when the operation information is detected, determining a region to be added on the electronic book according to a preset rule. The area to be added refers to an area for adding data resources in the page of the electronic book, and a user can determine which page and which area in the page the added data resources are specifically located in by himself. The preset rule may include: clicking a certain position point in the page of the electronic book, and expanding a preset distance to the periphery by taking the position point as a center to form a certain area; various types of graphic regions and the like are drawn in an arbitrary manner in a specified region in the electronic book.
Further, as shown in fig. 1B, step 102 may specifically include:
1021. acquiring each selection frame drawn in a designated area in the electronic book;
one or more selected frames are drawn in a designated area of a certain page in the electronic book, and the selected frames can be selected frames in any shape, such as rectangular frames, circular frames, oval frames or triangular frames. The way of drawing the selection box can be various, such as dragging the mouse to draw, drawing with a plurality of keys, directly drawing with a finger on a touch screen, and the like.
1022. Acquiring coordinate information corresponding to each selected frame;
after each selected frame is drawn, obtaining coordinate information corresponding to each selected frame, where the coordinate information may be coordinate information corresponding to a boundary of the selected frame, or coordinate information corresponding to a center point of the selected frame, or other coordinate information determined by a preset rule.
1023. And determining the area to be added according to the coordinate information corresponding to each selected frame.
And determining the area to be added according to the coordinate information corresponding to each selected frame, wherein the coordinate information corresponding to each selected frame may enclose one or more areas, and determining the one or more areas as the area to be added.
And if only one selected frame is drawn, acquiring the position coordinate information corresponding to the selected frame, and determining the area to be added according to the position coordinate information corresponding to the selected frame. If a plurality of selection frames are drawn, position coordinate information corresponding to the selection frames is obtained, and the area to be added is determined according to the position coordinate information corresponding to the selection frames.
If the areas surrounded by the position coordinate information corresponding to the plurality of selection frames are not overlapped, a plurality of areas are formed, the finally determined areas to be added are multiple, the selected data resources to be added can be added to each area or a certain area with any number in the plurality of areas to be added, or the content of the data resources to be added can be decomposed into a plurality of parts, and each part is added to the corresponding certain area to be added.
If the areas surrounded by the position coordinate information corresponding to the multiple selected frames have overlapping parts, the graph formed by combining the multiple selected frames can be used as the area to be added. For example, two intersected rectangular frames are drawn, the graphic area formed by combining the two intersected rectangular frames can be used as the area to be added.
After determining the area to be added, the following step 103 may be executed to obtain the data resource to be added.
103. Acquiring data to be added;
the data to be added refers to various data resources which are selected by a user when the user reads the electronic book and are added into the electronic book, and the data resources can comprise texts, pictures, audio, videos, annotations, hyperlinks, interactive discussions, tasks, hall tests and other resources. The user may select the data to be added in various ways, for example, selecting the data to be added at a control terminal or a certain storage device through a specified storage path; and selecting the data to be added from a preset resource database, and the like.
Due to the fact that the data to be added are various in variety, in order to enable a user to find needed data resources more conveniently, conveniently and accurately, various data resources are preferably added into a corresponding database in advance.
Further, as shown in fig. 1C, step 103 may specifically include:
1031. determining a first data category of the data to be added;
the first data category refers to a data category of data to be added, and can be various data categories such as text, pictures, audio or video.
1032. Acquiring the data to be added from a preset database corresponding to the first data category;
and each data to be added of the first data category is stored in a preset database corresponding to the first data category, and the data to be added is obtained from the database.
The database may be preset by:
(A) acquiring data to be put in storage;
(B) determining a second data category of the data to be put into storage;
(C) and adding the data to be put into storage into a database corresponding to the second data category.
For the step (a), the data to be stored refers to data resources which need to be stored in the database.
For the step (B), the second data category refers to a data category of data to be put into storage, and may be various data categories such as text, picture, audio, video, and the like.
For the step (C), after the data category of the data to be put in storage is determined, the data to be put in storage may be added to the database corresponding to the data category. The data resources in the database can be added in advance, or can be added by the user in real time in the process of reading the electronic book.
If the data to be added is a picture, the user selects the data to be added from a picture database; if the data to be added is a video, the user selects the data to be added from a video database, and so on. On the other hand, new pictures added by the user are stored in the picture database, new videos added are stored in the video database, and so on.
Therefore, by setting up databases corresponding to various data types, storing various types of data resources into the corresponding databases, and searching the corresponding data resources to be added from the databases by users, the unified management of the data resources is realized, and meanwhile, the users can find the required data resources more conveniently and accurately.
104. And adding the data to be added to the area to be added.
And after the data to be added is acquired, adding the data to be added to the area to be added. The data to be added can be directly added to the area to be added in step 104; or a data mark may be established in a designated area in the electronic book, and when the data mark is activated in a preset manner, the data to be added is added to the area to be added. Assuming that the data to be added is a video file, the video file may be directly added to the area to be added in an embedded manner for playing, or a data flag representing the video file may be established in a certain area of the electronic book specified by a user, and when the data flag is activated in a preset manner (for example, when the data flag is clicked by a mouse), the video file is added to the area to be added for playing. It should be noted that the data flag can be dragged to any position after being established, which greatly improves operability and practicability.
If the drawn region to be added is too small, a problem that the data resource to be added cannot be completely displayed in the region to be added may occur, and therefore, it is necessary to reasonably adjust the data to be added.
Further, as shown in fig. 1D, step 104 may specifically include:
1041. determining the data category of the data to be added;
1042. determining first data according to the data to be added, the data type of the data to be added and the size of the area to be added and a preset rule;
1043. adding the first data to the area to be added.
The first data refers to adjusted data resources which are suitable for being added to the area to be added for display, and the determined first data may be different according to the difference between the data to be added, the data type of the data to be added and the size of the area to be added.
Further, step 1042 may specifically include:
text:
if the data type of the data to be added is a text and the size of the area to be added is smaller than a preset first threshold value, determining attribute information of the text to be added or/and specified text content in the text as the first data;
and if the data category of the data to be added is a text and the size of the area to be added is greater than or equal to the first threshold value, determining the text to be added as the first data.
The first threshold is a preset threshold, and may be reasonably set according to the data type of the data to be added and the size of the area to be added.
Assuming that the data category of the data to be added is a text, which may be a data resource such as a common text file, an annotation, a classroom discussion with interactivity, and the like, if the size of the area to be added is smaller than a preset first threshold, determining attribute information of the text to be added or/and specified text content in the text as the first data. And if the size of the area to be added is larger than or equal to the first threshold, determining the text to be added as the first data. The attribute information of the text can comprise various information such as the name, the subject, the format or the modification time of the text; the specified text content in the text may include various text contents such as a title of the text, a key content of the text, or an arbitrarily selected part of the text. The size of an area which just can completely display all contents of a text to be added can be used as a first threshold, and if the size of the area to be added is greater than or equal to the first threshold, the area to be added can completely display all contents of the text to be added, so that the text to be added can be directly determined as the first data; if the size of the area to be added is smaller than the first threshold, it indicates that the area to be added cannot completely display all the contents of the text to be added, and therefore, the attribute information of the text to be added or/and the specified text content in the text need to be selected in a targeted manner to be determined as the first data.
Picture:
if the data type of the data to be added is a picture and the size of the area to be added is smaller than a preset second threshold value, determining attribute information or/and first picture information of the picture to be added as the first data, wherein the first picture information is a thumbnail or a designated area of the picture to be added;
and if the data type of the data to be added is a picture and the size of the area to be added is greater than or equal to the second threshold value, determining the picture to be added as the first data.
The second threshold is a preset threshold, and may be reasonably set according to the data type of the data to be added and the size of the area to be added.
Assuming that the data type of the data to be added is a picture, which may be a black-and-white or color picture in various picture formats, if the size of the area to be added is smaller than a preset second threshold, determining attribute information or/and first picture information of the picture to be added as the first data, where the first picture information is a thumbnail or a designated area of the picture to be added. And if the size of the area to be added is larger than or equal to the second threshold, determining the picture to be added as the first data. The attribute information of the picture can comprise various information such as the name, the theme, the format or the modification time of the picture; the designated area of the picture to be added may include a key area of the picture or an arbitrarily intercepted partial area of the picture. The size of an area which just can clearly display a complete picture to be added can be used as a second threshold, and if the size of the area to be added is larger than or equal to the second threshold, the picture to be added can be directly determined as the first data; if the size of the to-be-added area is smaller than the second threshold, it indicates that the to-be-added area cannot clearly and completely display the to-be-added picture, at this time, the to-be-added picture may be scaled into a thumbnail according to a certain proportion to serve as the first data, the attribute information of the to-be-added picture may serve as the first data, or the designated area of the to-be-added picture may serve as the first data.
Audio:
and if the data type of the data to be added is audio, determining the attribute information of the audio to be added as the first data.
And determining the attribute information of the audio to be added as the first data, assuming that the data category of the data to be added is audio and can be audio files comprising various audio formats. The attribute information of the audio to be added may include various information such as the name, subject, format, or modification time of the audio. Because the audio data does not need to be displayed in the electronic book interface, the size of the area to be added does not need to be considered, the attribute information of the audio to be added can be directly determined as that the first data is displayed in the area to be added of the electronic book interface, and meanwhile, the audio file is played.
Video:
if the data type of the data to be added is a video and the size of the area to be added is smaller than a preset third threshold value, determining attribute information or/and first video information of the video to be added as the first data, wherein the first video information is a thumbnail image or a designated area of the video to be added;
and if the data type of the data to be added is a video and the size of the area to be added is greater than or equal to the third threshold value, determining the video to be added as the first data.
The third threshold is a preset threshold, and may be reasonably set according to the data type of the data to be added and the size of the area to be added.
Assuming that the data type of the to-be-added data is a video and may be a video file in various formats, if the size of the to-be-added area is smaller than a preset third threshold, determining attribute information of the to-be-added video or/and first video information as the first data, where the first video information is a thumbnail image or a designated area of the to-be-added video. And if the size of the area to be added is larger than or equal to the third threshold value, determining the video to be added as the first data. The attribute information of the video can comprise various information such as the name, the theme, the format or the modification time of the video; the designated area of the video to be added can comprise a key area in a video picture or an arbitrarily intercepted partial area in the video picture. The size of an area where a complete video to be added can just be clearly displayed can be taken as a third threshold, and if the size of the area to be added is greater than or equal to the third threshold, the video to be added can be directly determined as the first data; if the size of the area to be added is smaller than the third threshold, it indicates that the area to be added cannot clearly and completely display the video to be added, at this time, the video to be added may be scaled into a thumbnail image according to a certain proportion as the first data, the attribute information of the video to be added may be used as the first data, or the designated area of the video to be added may be used as the first data.
Therefore, the data to be added of various types are reasonably adjusted according to the size of the area to be added, the problem that the data to be added cannot be reasonably displayed in the page of the electronic book can be effectively solved, and the flexibility and the practicability of the electronic book are greatly improved.
In the embodiment of the invention, when the electronic book is in an open state, operation information for starting data adding operation is detected; if the operation information is detected, determining a region to be added on the electronic book according to a preset rule; acquiring data to be added; and adding the data to be added to the area to be added. The process is carried out when the electronic book is opened, so that a user can automatically add various data resources to the designated area in the electronic book according to actual needs when reading the electronic book, and interactivity and flexibility of reading the electronic book are greatly improved.
The above mainly describes a method for processing data of an electronic book, and a device for processing data of an electronic book is described in detail below.
Referring to fig. 2, an embodiment of an apparatus for processing electronic book data according to an embodiment of the present invention includes:
a detection module 201, configured to detect operation information for starting a data addition operation when the electronic book is in an open state;
a determining module 202, configured to determine, according to a preset rule, an area to be added on the electronic book if the operation information is detected;
an obtaining module 203, configured to obtain data to be added;
an adding module 204, configured to add the data to be added to the area to be added.
Further, the determining module may specifically include:
a first acquisition unit configured to acquire each of selection frames drawn in a specified area in the electronic book;
the second acquisition unit is used for acquiring the coordinate information corresponding to each selected frame;
and the area determining unit is used for determining the area to be added according to the coordinate information corresponding to each selected frame.
Further, the acquiring module may specifically include:
the category determination unit is used for determining a first data category of the data to be added;
the data acquisition unit is used for acquiring the data to be added from a preset database corresponding to the first data category;
further, the device for processing data of an electronic book may further include:
the warehousing acquisition module is used for acquiring data to be warehoused;
the category determining module is used for determining a second data category of the data to be put into the database;
and the adding and warehousing module is used for adding the data to be warehoused into a database corresponding to the second data category.
Further, the adding module may specifically include:
the first determining unit is used for determining the data type of the data to be added;
the second determining unit is used for determining the first data according to the data to be added, the data type of the data to be added and the size of the area to be added according to a preset rule;
an adding unit, configured to add the first data to the area to be added.
Further, the second determining unit may specifically include:
the first text processing subunit is configured to determine, if the data type of the to-be-added data is a text and the size of the to-be-added area is smaller than a preset first threshold, attribute information of the to-be-added text or/and specified text content in the text as the first data;
a second text processing subunit, configured to determine, if the data type of the data to be added is a text and the size of the area to be added is greater than or equal to the first threshold, the text to be added is the first data;
the image processing unit is configured to determine, if the data type of the to-be-added image is an image and the size of the to-be-added area is smaller than a preset second threshold, attribute information or/and first image information of the to-be-added image as the first data, where the first image information is a thumbnail of the to-be-added image or a designated area;
a second picture processing subunit, configured to determine, if the data type of the data to be added is a picture and the size of the area to be added is greater than or equal to the second threshold, the picture to be added is the first data;
the audio processing subunit is configured to determine, if the data type of the data to be added is audio, attribute information of the audio to be added as the first data;
a video processing first subunit, configured to determine, if the data category of the to-be-added video is a video and the size of the to-be-added area is smaller than a preset third threshold, attribute information or/and first video information of the to-be-added video as the first data, where the first video information is a thumbnail image or a designated area of the to-be-added video;
and the second video processing subunit is configured to determine, if the data type of the to-be-added data is a video and the size of the to-be-added area is greater than or equal to the third threshold, the to-be-added video as the first data.
An embodiment of the present invention further provides an electronic book reader, where the electronic book reader includes any one of the electronic book data processing apparatuses shown in fig. 2, and the electronic book reader may be a digital teaching interactive multimedia electronic book reader. The digital teaching interactive type is an ecological teaching environment constructed by utilizing advanced web technology, and can display a systematic process in the teaching in a pre-class, in-class and post-class mode in an informationized mode. Teachers can issue study cases, homework in the classroom, classroom tasks (line drawing and reading, questioning, thinking guide and interactive discussion) and multimedia resources (videos, animations and pictures) on interactive electronic books, students can learn in the classroom and discuss in groups, and can watch resources, courseware and carry out interaction such as classroom answering in real time. Meanwhile, teachers can check the analysis results of the data in real time, such as average scores of answering by classes, mastering conditions of knowledge points, accuracy of students, advantage comparison of each class and the like.
The following describes a specific application scenario of a method for using an electronic book reader according to an embodiment of the present invention.
Referring to fig. 3, a flowchart of a method for using an electronic book reader according to an embodiment of the present invention is shown.
301. Opening the electronic book, and adding data to be added into a corresponding database;
after the user opens the electronic book, the data resource to be added can be added to the corresponding database by using the function button in the toolbar of the electronic book page, and it is assumed that a picture named as a is added to the picture database at this time.
302. Starting data adding operation;
the user can click various adding operation buttons of data resources in a toolbar of the e-book page, such as various buttons for starting data adding operation, such as 'add text', 'add picture', 'add video', 'add task' and 'add comment', and click the 'add picture' button at the moment to start adding operation of the picture A.
303. Drawing a region to be added;
the user can drag a mouse to draw one or more selected frames in the designated area of the designated page of the electronic book, the area to be added is determined according to the coordinate information corresponding to the selected frames, and the user is supposed to draw a rectangular area as the area to be added.
304. Selecting data to be added;
the data to be added in the storage in step 301 is selected from a preset resource database, and after the area to be added is determined, a window for selecting the data to be added can be popped up on the page of the electronic book, so that a user can select the required data resource conveniently. And after the area to be added is drawn, automatically popping up a window for selecting the picture file in the picture database, and selecting the picture A from the window.
305. And adding the data to be added to the area to be added.
After the picture a is selected in step 304, a click is determined, and the picture a is successfully added to the area to be added. Assuming that the size of the area to be added is not enough to clearly and completely display the picture a, a selection box can pop up at this time for the user to select and determine to display the attribute information, the thumbnail or the designated area of the picture a in the area to be added.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (8)

1. A method for processing data of an electronic book, comprising:
detecting operation information for starting data addition operation when the electronic book is in an open state;
if the operation information is detected, acquiring each selection frame drawn in a designated area in the electronic book;
if only one drawn selected frame exists, acquiring coordinate information corresponding to the drawn selected frame, and determining a region to be added on the electronic book according to the coordinate information;
if a plurality of drawn selected frames are provided and areas surrounded by coordinate information corresponding to the selected frames are not overlapped, respectively acquiring the coordinate information corresponding to the selected frames, and respectively determining a plurality of areas to be added on the electronic book according to the coordinate information corresponding to the selected frames;
if a plurality of drawn selected frames are provided and the areas defined by the coordinate information corresponding to the selected frames are overlapped, respectively obtaining the coordinate information corresponding to the selected frames, and determining the combined area defined by the coordinate information corresponding to the selected frames as the area to be added on the electronic book;
acquiring data to be added;
adding the data to be added to the area to be added;
if the area to be added is multiple, the data to be added is added to each of the multiple areas to be added respectively, or the data to be added is divided into multiple parts, and each part is added to one of the multiple areas to be added respectively.
2. The method for processing electronic book data according to claim 1, wherein: the acquiring of the data to be added specifically includes:
determining a first data category of the data to be added;
acquiring the data to be added from a preset database corresponding to the first data category;
the database is preset by the following steps:
acquiring data to be put in storage;
determining a second data category of the data to be put into storage;
and adding the data to be put into storage into a database corresponding to the second data category.
3. The method for processing electronic book data according to claim 1 or 2, wherein the adding the data to be added to the area to be added specifically comprises:
determining the data category of the data to be added;
determining first data according to the data to be added, the data type of the data to be added and the size of the area to be added and a preset rule;
adding the first data to the area to be added.
4. The method for processing electronic book data according to claim 3, wherein the determining first data according to the data to be added, the data category of the data to be added, and the size of the area to be added according to a preset rule specifically includes:
if the data type of the data to be added is a text and the size of the area to be added is smaller than a preset first threshold value, determining attribute information of the text to be added or/and specified text content in the text as the first data;
if the data type of the data to be added is a text and the size of the area to be added is greater than or equal to the first threshold value, determining the text to be added as the first data;
if the data type of the data to be added is a picture and the size of the area to be added is smaller than a preset second threshold value, determining attribute information or/and first picture information of the picture to be added as the first data, wherein the first picture information is a thumbnail or a designated area of the picture to be added;
if the data type of the data to be added is a picture and the size of the area to be added is greater than or equal to the second threshold value, determining the picture to be added as the first data;
if the data type of the data to be added is audio, determining the attribute information of the audio to be added as the first data;
if the data type of the data to be added is a video and the size of the area to be added is smaller than a preset third threshold value, determining attribute information or/and first video information of the video to be added as the first data, wherein the first video information is a thumbnail image or a designated area of the video to be added;
and if the data type of the data to be added is a video and the size of the area to be added is greater than or equal to the third threshold value, determining the video to be added as the first data.
5. An apparatus for processing data of an electronic book, comprising:
the electronic book adding device comprises a detection module, a data adding module and a data adding module, wherein the detection module is used for detecting operation information for starting data adding operation when the electronic book is in an open state;
the determining module is used for acquiring each selection frame drawn in a designated area in the electronic book if the operation information is detected; if only one drawn selected frame exists, acquiring coordinate information corresponding to the drawn selected frame, and determining a region to be added on the electronic book according to the coordinate information; if a plurality of drawn selected frames are provided and areas surrounded by coordinate information corresponding to the selected frames are not overlapped, respectively acquiring the coordinate information corresponding to the selected frames, and respectively determining a plurality of areas to be added on the electronic book according to the coordinate information corresponding to the selected frames; if a plurality of drawn selected frames are provided and the areas defined by the coordinate information corresponding to the selected frames are overlapped, respectively obtaining the coordinate information corresponding to the selected frames, and determining the combined area defined by the coordinate information corresponding to the selected frames as the area to be added on the electronic book;
the acquisition module is used for acquiring data to be added;
and the adding module is used for adding the data to be added to the areas to be added, wherein if the areas to be added have a plurality of areas, the data to be added is respectively added to each of the areas to be added, or the data to be added is divided into a plurality of parts, and each part is respectively added to one of the areas to be added.
6. The electronic book data processing device according to claim 5, wherein the adding module specifically includes:
the first determining unit is used for determining the data type of the data to be added;
the second determining unit is used for determining the first data according to the data to be added, the data type of the data to be added and the size of the area to be added according to a preset rule;
an adding unit, configured to add the first data to the area to be added.
7. The apparatus for processing electronic book data according to claim 6, wherein the second determining unit specifically includes:
the first text processing subunit is configured to determine, if the data type of the to-be-added data is a text and the size of the to-be-added area is smaller than a preset first threshold, attribute information of the to-be-added text or/and specified text content in the text as the first data;
a second text processing subunit, configured to determine, if the data type of the data to be added is a text and the size of the area to be added is greater than or equal to the first threshold, the text to be added is the first data;
the image processing unit is configured to determine, if the data type of the to-be-added image is an image and the size of the to-be-added area is smaller than a preset second threshold, attribute information or/and first image information of the to-be-added image as the first data, where the first image information is a thumbnail of the to-be-added image or a designated area;
a second picture processing subunit, configured to determine, if the data type of the data to be added is a picture and the size of the area to be added is greater than or equal to the second threshold, the picture to be added is the first data;
the audio processing subunit is configured to determine, if the data type of the data to be added is audio, attribute information of the audio to be added as the first data;
a video processing first subunit, configured to determine, if the data category of the to-be-added video is a video and the size of the to-be-added area is smaller than a preset third threshold, attribute information or/and first video information of the to-be-added video as the first data, where the first video information is a thumbnail image or a designated area of the to-be-added video;
and the second video processing subunit is configured to determine, if the data type of the to-be-added data is a video and the size of the to-be-added area is greater than or equal to the third threshold, the to-be-added video as the first data.
8. An electronic book reader, characterized in that it comprises an apparatus for electronic book data processing according to any one of claims 5 to 7.
CN201710103461.5A 2017-02-24 2017-02-24 Method and device for processing electronic book data and electronic book reader Active CN106933443B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710103461.5A CN106933443B (en) 2017-02-24 2017-02-24 Method and device for processing electronic book data and electronic book reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710103461.5A CN106933443B (en) 2017-02-24 2017-02-24 Method and device for processing electronic book data and electronic book reader

Publications (2)

Publication Number Publication Date
CN106933443A CN106933443A (en) 2017-07-07
CN106933443B true CN106933443B (en) 2020-04-10

Family

ID=59423052

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710103461.5A Active CN106933443B (en) 2017-02-24 2017-02-24 Method and device for processing electronic book data and electronic book reader

Country Status (1)

Country Link
CN (1) CN106933443B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107562680A (en) * 2017-08-29 2018-01-09 广州阿里巴巴文学信息技术有限公司 Data processing method, device and terminal device
CN107977451B (en) * 2017-12-14 2021-04-30 阿里巴巴(中国)有限公司 Method and device for adding dynamic content in display page and terminal equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1553308A (en) * 2003-12-19 2004-12-08 无敌科技(西安)有限公司 Electronic reader with annotation display and method thereof
CN101916245A (en) * 2010-08-30 2010-12-15 中国电信股份有限公司 Method and device for realizing e-book annotation on electronic reader
CN102136199A (en) * 2011-03-10 2011-07-27 刘超 On-line electronic book reader and on-line electronic book editor
CN102830904A (en) * 2012-06-29 2012-12-19 鸿富锦精密工业(深圳)有限公司 Electronic equipment and picture inserting method of electronic equipment
CN104462039A (en) * 2014-11-19 2015-03-25 北京新唐思创教育科技有限公司 Annotation generating method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1553308A (en) * 2003-12-19 2004-12-08 无敌科技(西安)有限公司 Electronic reader with annotation display and method thereof
CN101916245A (en) * 2010-08-30 2010-12-15 中国电信股份有限公司 Method and device for realizing e-book annotation on electronic reader
CN102136199A (en) * 2011-03-10 2011-07-27 刘超 On-line electronic book reader and on-line electronic book editor
CN102830904A (en) * 2012-06-29 2012-12-19 鸿富锦精密工业(深圳)有限公司 Electronic equipment and picture inserting method of electronic equipment
CN104462039A (en) * 2014-11-19 2015-03-25 北京新唐思创教育科技有限公司 Annotation generating method and device

Also Published As

Publication number Publication date
CN106933443A (en) 2017-07-07

Similar Documents

Publication Publication Date Title
US11849196B2 (en) Automatic data extraction and conversion of video/images/sound information from a slide presentation into an editable notetaking resource with optional overlay of the presenter
US10067922B2 (en) Automated study guide generation for electronic books
CN111539188B (en) Note generation method, computing device, and computer storage medium
US9715482B1 (en) Representing consumption of digital content
US20160077722A1 (en) Rotatable Object System For Visual Communication And Analysis
US9042808B2 (en) Didactic appliance
CN104462039A (en) Annotation generating method and device
Dougherty et al. Hands-on data visualization
WO2016130344A1 (en) Supporting digital ink in markup language documents
Kumar et al. Lessons from our elders: identifying obstacles to digital literacy through direct engagement
Sluÿters et al. Consistent, continuous, and customizable mid-air gesture interaction for browsing multimedia objects on large displays
Kim et al. Mobile-friendly content design for MOOCs: challenges, requirements, and design opportunities
CN106933443B (en) Method and device for processing electronic book data and electronic book reader
CN111008312A (en) Course reviewing method and system suitable for network teaching
US20170272806A1 (en) Information processing apparatus and non-transitory computer readable medium
KR20200000300A (en) Summary note making and Memorizing learning system using E-book and its method
CN115048023B (en) Electronic note reduction method, device, medium and interactive tablet
CN115048023A (en) Electronic note restoring method, device, medium and interactive panel
KR20230172116A (en) Server for analyzing the user's learning characteristics using log data of electronic pen
CN117874279A (en) Content positioning method, device and storage medium
KR101415447B1 (en) System and method for information sharing based on social network service through watching video
CN113031845A (en) Display information processing method and system and electronic equipment
Haj Hassine Investigation of Navigation on Mobile Websites with Hierarchical Information Structures: A Development Basis for Mobile Hierarchical Navigation

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 518000 12th Floor, Building A4, Nanshan Zhiyuan, 1001 Xueyuan Avenue, Nanshan District, Shenzhen City, Guangdong Province

Applicant after: Shenzhen Guotaian Educational Technology Co., Ltd.

Address before: 518000 Checkpoint, Nantou, Shenzhen, Guangdong Province, 30 Building 3, Zhiheng Industrial Park, Gate 2, Nanshan District, Shenzhen

Applicant before: GTA INFORMATION TECHNOLOGY CO., LTD. (GTA)

GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20211220

Address after: 518000 Room 201, building A, No. 1, Qian Wan Road, Qianhai Shenzhen Hong Kong cooperation zone, Shenzhen, Guangdong (Shenzhen Qianhai business secretary Co., Ltd.)

Patentee after: Shenzhen guotengan Vocational Education Technology Co.,Ltd.

Address before: 518000 12th Floor, Building A4, Nanshan Zhiyuan, 1001 Xueyuan Avenue, Nanshan District, Shenzhen City, Guangdong Province

Patentee before: SHENZHEN GTA EDUCATION TECH Ltd.