CN117950546A - Click-to-read data processing method, electronic document display method and electronic device - Google Patents

Click-to-read data processing method, electronic document display method and electronic device Download PDF

Info

Publication number
CN117950546A
CN117950546A CN202410166566.5A CN202410166566A CN117950546A CN 117950546 A CN117950546 A CN 117950546A CN 202410166566 A CN202410166566 A CN 202410166566A CN 117950546 A CN117950546 A CN 117950546A
Authority
CN
China
Prior art keywords
page
resource
click
target resource
electronic document
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
CN202410166566.5A
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.)
Shenzhen Xingtong Technology Co ltd
Original Assignee
Shenzhen Xingtong 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 Shenzhen Xingtong Technology Co ltd filed Critical Shenzhen Xingtong Technology Co ltd
Priority to CN202410166566.5A priority Critical patent/CN117950546A/en
Publication of CN117950546A publication Critical patent/CN117950546A/en
Pending legal-status Critical Current

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure provides a method for processing click-to-read data, a method for displaying an electronic document and electronic equipment, wherein the method comprises the following steps: the method comprises the steps of displaying a page of an electronic document in a manufacturing interface, generating a mark frame corresponding to target content based on selection operation of a user on the target content in the page, obtaining position information of the mark frame, displaying a setting area on the manufacturing interface, wherein the setting area comprises a resource type selection inlet and a resource uploading inlet, further obtaining a target resource type selected by the user through the resource type selection inlet and a target resource corresponding to the target resource type uploaded through the resource uploading inlet for the mark frame, further determining the position information of the mark frame, the target resource type and the target resource as point data of the page, and storing the point data into a point-reading resource database. According to the scheme, the click-to-read data of each page of the electronic document is generated, so that a user can click-to-read when reading the electronic document, other books are not required to be consulted, and the learning efficiency is improved.

Description

Click-to-read data processing method, electronic document display method and electronic device
Technical Field
The disclosure relates to the technical field of data processing, and in particular relates to a method for processing click-to-read data, a method for displaying an electronic document and electronic equipment.
Background
Currently, in the field of intelligent education, teaching assistance, extracurricular reading and the like are presented on electronic equipment in the form of electronic books, and when students are reading the books, if the students encounter difficult problems, such as unknown knowledge points or unknown words, the students often need to consult other book materials or search on the internet to solve the confusion, so that the learning efficiency is low.
Disclosure of Invention
In order to solve the above technical problems or at least partially solve the above technical problems, an embodiment of the present disclosure provides a method for processing click-to-read data, a method for displaying an electronic document, and an electronic device.
According to an aspect of the present disclosure, there is provided a method for processing click-to-read data, including:
Displaying pages of the electronic document in a manufacturing interface;
Generating a mark frame corresponding to target content based on the selection operation of a user on the target content in the page, and acquiring the position information of the mark frame;
displaying a setting area on the manufacturing interface, wherein the setting area comprises a resource type selection inlet and a resource uploading inlet;
Aiming at the marking frame, acquiring a target resource type selected by a user through the resource type selection inlet and a target resource corresponding to the target resource type and uploaded through the resource uploading inlet;
and determining the position information of the marking frame, the target resource type and the target resource as point reading data of the page and storing the point reading data into a point reading resource database.
According to another aspect of the present disclosure, there is provided a method for displaying an electronic document, including:
Responding to a received reading request of a user for an electronic document, acquiring click-to-read data corresponding to each page of the electronic document from a click-to-read resource database, wherein the click-to-read data comprises position information of a mark frame in the page, target resources associated with the mark frame and target resource types corresponding to the target resources;
Adding a corresponding mark identifier in each page of the electronic document based on the position information of each mark frame in each page;
And adding a click-to-read icon to the mark according to the target resource associated with the mark frame and the target resource type corresponding to the target resource, wherein the click-to-read icon is associated with the target resource.
According to another aspect of the present disclosure, there is provided a processing apparatus for point-read data, including:
The first display module is used for displaying pages of the electronic document in the manufacturing interface;
The first marking module is used for generating a marking frame corresponding to the target content based on the selection operation of a user on the target content in the page and acquiring the position information of the marking frame;
the second display module is used for displaying a setting area on the manufacturing interface, wherein the setting area comprises a resource type selection inlet and a resource uploading inlet;
The resource acquisition module is used for acquiring a target resource type selected by a user through the resource type selection inlet and a target resource corresponding to the target resource type and uploaded through the resource uploading inlet aiming at the marking frame;
And the storage module is used for determining the position information of the marking frame, the target resource type and the target resource as point data of the page and storing the point data into a point-to-read resource database.
According to another aspect of the present disclosure, there is provided a display device for an electronic document, including:
The data reading module is used for responding to a reading request of a user on the electronic document, acquiring point-reading data corresponding to each page of the electronic document from a point-reading resource database, wherein the point-reading data comprises position information of a mark frame in the page, target resources associated with the mark frame and target resource types corresponding to the target resources;
the second marking module is used for adding a corresponding marking identifier in each page of the electronic document based on the position information of each marking frame in each page;
And the adding module is used for adding a click-to-read icon to the mark according to the target resource associated with the mark frame and the target resource type corresponding to the target resource, wherein the click-to-read icon is associated with the target resource.
According to another aspect of the present disclosure, there is provided an electronic device including:
A processor; and
A memory in which a program is stored,
Wherein the program comprises instructions which, when executed by the processor, cause the processor to perform a method of processing click-to-read data or a method of presenting an electronic document according to the foregoing aspect.
According to another aspect of the present disclosure, there is provided a non-transitory computer-readable storage medium storing computer instructions for causing the computer to execute the processing method of point-read data or the presentation method of an electronic document according to the foregoing aspect.
According to another aspect of the present disclosure, there is provided a computer program product comprising a computer program, wherein the computer program, when executed by a processor, implements the method for processing click-to-read data or the method for displaying an electronic document according to the foregoing aspect.
According to one or more technical schemes provided by the embodiment of the disclosure, through displaying a page of an electronic document in a manufacturing interface, generating a mark frame corresponding to target content based on selection operation of a user on target content in the page, acquiring position information of the mark frame, displaying a setting area on the manufacturing interface, wherein the setting area comprises a resource type selection inlet and a resource uploading inlet, further, aiming at the mark frame, acquiring a target resource type selected by the user through the resource type selection inlet, and a target resource corresponding to the target resource type and uploaded through the resource uploading inlet, further, determining the position information of the mark frame, the target resource type and the target resource as point reading data of the page, and storing the point reading data into a point reading resource database. By adopting the scheme, the user can read the electronic document by generating the read-by-click data of each page of the electronic document, and does not need to consult other books, so that the learning efficiency is improved.
Drawings
Further details, features and advantages of the present disclosure are disclosed in the following description of exemplary embodiments, with reference to the following drawings, wherein:
FIG. 1 illustrates a flow chart of a method of processing read-through data according to an exemplary embodiment of the present disclosure;
FIG. 2 illustrates a schematic diagram of a mark-up box added in a page according to an exemplary embodiment of the present disclosure;
FIG. 3 illustrates a flow chart of a method of processing read-through data according to another exemplary embodiment of the present disclosure;
FIG. 4 illustrates a flow chart of a method of processing read-through data according to yet another exemplary embodiment of the present disclosure;
FIG. 5 illustrates a schematic diagram of a fabrication interface according to an exemplary embodiment of the present disclosure;
FIG. 6 illustrates a schematic diagram of a fabrication interface according to a specific embodiment of the present disclosure;
FIG. 7 illustrates a flowchart of a method of presentation of an electronic document according to an exemplary embodiment of the present disclosure;
FIG. 8 illustrates an electronic document presentation effect schematic according to an exemplary embodiment of the present disclosure;
FIG. 9 illustrates a schematic diagram of a production and presentation interaction of a point-readable electronic document according to an exemplary embodiment of the present disclosure;
FIG. 10 shows a schematic block diagram of a processing apparatus for reading data in accordance with an exemplary embodiment of the present disclosure;
FIG. 11 shows a schematic block diagram of a presentation device of an electronic document according to an exemplary embodiment of the present disclosure;
fig. 12 illustrates a block diagram of an exemplary electronic device that can be used to implement embodiments of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure have been shown in the accompanying drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustration purposes only and are not intended to limit the scope of the present disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order and/or performed in parallel. Furthermore, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "including" and variations thereof as used herein are intended to be open-ended, i.e., including, but not limited to. The term "based on" is based at least in part on. The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments. Related definitions of other terms will be given in the description below. It should be noted that the terms "first," "second," and the like in this disclosure are merely used to distinguish between different devices, modules, or units and are not used to define an order or interdependence of functions performed by the devices, modules, or units.
It should be noted that references to "one", "a plurality" and "a plurality" in this disclosure are intended to be illustrative rather than limiting, and those of ordinary skill in the art will appreciate that "one or more" is intended to be understood as "one or more" unless the context clearly indicates otherwise.
The names of messages or information interacted between the various devices in the embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
Before specifically describing the processing method of the click-to-read data, the display method of the electronic document and the electronic device of the present disclosure, the following explanation is first made on the terms of Chinese and English which may be related to the present disclosure:
PDF: a file format, namely a portable document format, is totally called Portable Document Format, can contain various types of contents such as texts, pictures, tables, graphics and the like, and is widely applied to the fields of electronic books, online tables and the like;
Canvas: a powerful web page graphic library that can draw graphics, including lines, shapes, pictures or other objects, on web pages that is fully compatible with modern web browsers;
pdf.js: a JavaScript library developed by Mozilla, which can display PDF documents in a web browser, pdf.js converts PDF documents into HTML5 Canvas, and JavaScript is used to control the rendering and interaction of documents;
Javascript: a high-level and interpreted programming language is a script language based on prototype, single-thread and dynamic type and is mainly used for realizing complex interaction effect in a browser, and is used by most websites in the world, and a JavaScript interpreter is built in all modern Web browsers.
In the field of intelligent education, teaching assistance, extracurricular reading and the like appear on intelligent hardware (such as a learning machine) in the form of electronic books, students need to read reference books or ask others for help to solve confusion when encountering difficult problems in the process of reading the books, the advantages of the intelligent hardware are not exerted, and the confusion cannot be timely answered.
With the development of technology, in the field of intelligent education, a new electronic book is developed in intelligent hardware, which combines a popular text recognition technology (AI technology) at present, when students read the electronic book, the students can manually select unintelligible or confusing text, and the corresponding knowledge points are queried through the AI text recognition technology to provide solutions for users, so that the solutions can be solved, but the AI text recognition technology is machine recognition at last, a certain error exists, education is strict, and the uncertain risk does not exist.
In addition, in the field of intelligent education, a new electronic reading book is also presented in intelligent hardware, when the book is produced, a reading and answering function is carried out on the problematic problems through programs (software research and development), when the problematic points in the book are clicked, the programs can inquire knowledge points related to the problematic points and provide solutions for users, the advantages of the intelligent hardware are utilized, and meanwhile, the problem of answering is solved, but each electronic book is developed through a specific program, and the cost is high.
In the field of intelligent education, there is also a conventional touch-and-talk pen for realizing a touch-and-talk function. The touch pen obtains the character pattern through the optical scanner, analyzes the characters, obtains the prestored knowledge points corresponding to the characters through data processing, and solves the problem that the touch pen is high in cost, needs to be used in a specific environment and is poor in universality.
Based on the analysis, if the electronic book can be read, students can click at any time to obtain solutions when reading, and the learning efficiency of the students can be greatly improved. Therefore, how to mass-produce such books is a key to solve the above-mentioned problems and to improve learning efficiency.
Aiming at the problems, the disclosure provides a method for processing click-to-read data and a method for displaying an electronic document, which can realize the following functions:
(1) Batch production of spot-reading books, the scheme supports batch uploading of electronic books, and then spot-reading labeling is carried out on the books uploaded before the books are opened from a book library in labeling, so that batch spot-reading books are obtained;
(2) The visual interface can carry out circle selection and marking on any area in the electronic book, and is not limited to characters and pictures;
(3) The electronic book can bind audio and video, and play corresponding audio and video after clicking.
The scheme of the disclosure relates to the technical fields of computer drawing, data processing, audio and video playing and displaying and the like, and is applied to the field of intelligent education. The method for processing the click-to-read data, the method for displaying the electronic document and the electronic device provided by the present disclosure are described below with reference to the accompanying drawings.
Fig. 1 illustrates a flowchart of a method for processing read-through data according to an exemplary embodiment of the present disclosure, where the method may be performed by an apparatus for processing read-through data provided by an embodiment of the present disclosure, where the apparatus may be implemented in software and/or hardware, and may generally be integrated in an electronic device, where the electronic device includes a computer, a tablet computer, and other devices.
As shown in fig. 1, the method for processing the click-to-read data may include the following steps:
step 101, a page of an electronic document is displayed in a manufacturing interface.
The manufacturing interface is used for displaying pages in the electronic document to be marked, displaying a first page of the electronic document by default, enabling a user (such as a teacher) to switch the pages in a page turning mode, a page jumping mode and the like, and displaying the switched pages in the manufacturing interface. The electronic document may be an electronic book, an electronic test paper, or the like.
In an alternative embodiment of the present disclosure, after a user selects an electronic document to be annotated, an "add annotation" control may be triggered, and in response to receiving a triggering operation of the "add annotation" control, the electronic device loads the electronic document and displays a page of the electronic document in a manufacturing interface.
Currently, most of electronic documents on the market are in a PDF format, and PDF files are generally opened by a special PDF reader, and when the scheme is implemented by depending on a web browser, the PDF files need to be converted into canvases (canvas) which can be resolved by the browser. Specifically, after uploading the electronic document in PDF format in the browser, the contents in the PDF file may be redrawn through canvas (canvas) using PDF. Js tool library, and the canvas-drawn contents may be displayed in the browser. After the PDF format electronic document is displayed in the web browser, marking can be performed next, and point data is added to the content in the electronic document. Illustratively, after the electronic document is rendered in the web browser, if the user triggers the provided "Add notes" control, the markup making interface is entered where the pages of the electronic document are rendered. Because the page is a canvas at this time, the canvas can be operated to mark by using the front-end programming language Javascript.
Step 102, generating a mark frame corresponding to the target content based on the selection operation of the user on the target content in the page, and acquiring the position information of the mark frame.
In the embodiment of the disclosure, for a page displayed in a production interface, a user (e.g., a teacher) may select part or all of the contents in the page according to requirements, where the contents selected by the user are target contents, and then the electronic device generates a tag frame corresponding to the target contents according to a position in the page where the target contents selected by the user are located, and obtains position information of the tag frame.
The position information of the mark frame may be represented by a coordinate position (x, y) of a certain corner point (e.g., upper left, upper right, lower left or lower right) of the mark frame and a width (height) of the mark frame, or the position information of the mark frame may be represented by a coordinate position of four corner points of the mark frame, or the position information of the mark frame may be represented by a coordinate position of a center point of the mark frame and a width (height) of the mark frame, or the like, and the present disclosure does not limit the representation form of the mark frame.
The user can select the target content by performing circle selection through the mouse, specifically, moving the mouse to draw a rectangle, wherein the content in the rectangular area drawn by the mouse is the target content, the rectangular frame drawn by the mouse is the mark frame corresponding to the target content, and the position information of the mark frame is obtained. For example, to mark the first segment of the current page, the user may place the mouse in front of the first segment, at this time, the initial coordinate position of the mouse may be obtained, then press the left button of the mouse and move, and the moving process draws a rectangle on the page, where the size of the rectangle is controlled by the moving track of the mouse, so that the position information of the mark frame may be represented as a combination of the initial coordinate position of the mouse (i.e., the coordinate position of the upper left corner of the rectangle) and the width and height of the rectangle.
The user can select the target content in an exemplary manner through mouse dragging, specifically, the mouse is dragged to select the content in the page, the area dragged by the mouse is a mark, the content selected by the mouse dragging is the target content, the corresponding frame is generated based on the area dragged by the mouse and is the mark frame, and the position information of the mark frame is obtained.
It should be noted that, in the embodiment of the present disclosure, the whole markable area in the manufacturing interface is the size range of the page of the electronic document, and the page cannot be marked.
In an alternative embodiment of the present disclosure, the area corresponding to each mark box in the page may be highlighted to tell the user that all marks have been previously made. Illustratively, FIG. 2 shows a schematic diagram of a mark-up box added in a page according to an exemplary embodiment of the present disclosure, as shown in FIG. 2, in which 3 mark-up boxes (represented by filled-in rectangle boxes in FIG. 2) are added by a user, wherein the filled-in color representation highlights the mark-up boxes to prompt the user for marked-up content.
And step 103, displaying a setting area on the manufacturing interface, wherein the setting area comprises a resource type selection inlet and a resource uploading inlet.
In the embodiment of the disclosure, a setting area may be displayed in the production page, where the setting area includes a resource type selection entry and a resource uploading entry. The resource type selection entry is used for a user to select the type of the resource to be uploaded, is a drop-down frame, can comprise two types of video and audio, and is only one type of mark frame; the resource uploading inlet is used for uploading the resources to be associated by the user.
Illustratively, when a mark-up box is generated, that is, the setting area is automatically displayed in the production interface, the user may upload the audio or video resource corresponding to the mark-up box through the setting area. The setting area can be displayed in a popup window mode or a blank area display mode of the manufacturing interface.
When a user selects one of the mark frames, a setting area is displayed in the manufacturing interface, and the user can upload the audio or video resources corresponding to the mark frame through the setting area and can modify or delete the uploaded resources. The setting area can be displayed in a popup window mode or a blank area display mode of the manufacturing interface.
Illustratively, the setup area is presented at the time of page loading, i.e., at the portion of the production page other than the page presentation area (e.g., the right side of the page presentation area).
Step 104, for the marking frame, obtaining a target resource type selected by the user through the resource type selection entry, and a target resource corresponding to the target resource type uploaded through the resource uploading entry.
In the embodiment of the disclosure, for each mark frame in a page, a user may select a type of a resource associated with the mark frame through a resource type selection entry provided by a setting area, and upload a corresponding audio or video resource through a resource upload entry, and after the user uploads the resource, the electronic device may obtain a target resource associated with the mark frame, and obtain a target resource type (audio or video) corresponding to the target resource.
And 105, determining the position information of the marking frame, the target resource type and the target resource as point reading data of the page and storing the point reading data into a point reading resource database.
In the embodiment of the disclosure, after the electronic device obtains the target resource associated with the tag frame, the location information of the tag frame, the target resource associated with the tag frame and the target resource type of the target resource may be determined as the click-to-read data of the page, and stored in the click-to-read resource database. Therefore, when students read the electronic document, the student loads the click-to-read data of each page and displays the click-to-read icon in the page, and when the students read confusion in the reading process, the click-to-read icon can be triggered to click-to-read, so that the aim of solving the confusion is achieved.
In practical application, in order to save the storage resources of the click-to-read resource database, the target resources can be associated with the mark frame in the form of the corresponding link address URL, namely the URL of the target resources is saved, and the target resources are not required to be stored in the click-to-read resource database, so that the purpose of saving the storage resources of the click-to-read resource database is achieved.
According to the method for processing the click-to-read data, through displaying the page of the electronic document in the manufacturing interface, generating the mark frame corresponding to the target content based on the selection operation of the user on the target content in the page, acquiring the position information of the mark frame, displaying the setting area on the manufacturing interface, wherein the setting area comprises a resource type selection inlet and a resource uploading inlet, further, aiming at the mark frame, acquiring the target resource type selected by the user through the resource type selection inlet and the target resource corresponding to the target resource type uploaded through the resource uploading inlet, further, determining the position information of the mark frame, the target resource type and the target resource as the click-to-read data of the page and storing the click-to-read data in the click-to-read resource database. By adopting the scheme, the user can read the electronic document by generating the read-by-click data of each page of the electronic document, and does not need to consult other books, so that the learning efficiency is improved.
In an alternative embodiment of the present disclosure, the setting area further includes a page turning button, for example, including two page turning buttons of a previous page and a next page, so as to facilitate the user to switch the pages displayed in the production interface. Thus, in this embodiment, as shown in fig. 3, step 101 may include the following sub-steps, based on the embodiment shown in fig. 1:
in step 201, in response to receiving a trigger operation of the page turning button by a user, a page number change amplitude corresponding to the trigger operation is determined.
In the embodiment of the disclosure, when the user triggers the page turning button in the setting area, the electronic device may obtain a trigger operation of the user on the page turning button, and at this time, the electronic device may determine a page number change amplitude corresponding to the trigger operation.
For example, assuming that the page-turning button includes two buttons of a previous page and a next page, the two buttons may be marked by different identifiers, when the user clicks the previous page, the electronic device receives a trigger operation of the user on the "previous page" button, for example, the identifier of the "previous page" button may be carried in the trigger operation, so that the electronic device determines that the page variation range is-1. Similarly, when the user clicks on the next page, the electronic device determines that the page change amplitude is +1.
Step 202, obtaining a first page number of a current page displayed in the production interface.
In the embodiment of the disclosure, the electronic device may obtain the page number (referred to as the first page number for convenience of description and distinction) of the current page shown in the production interface.
Step 203, determining a second page number based on the first page number and the page number variation amplitude.
In the embodiment of the disclosure, after the electronic device obtains the first page number and the page change amplitude, a new page number (for convenience of description and distinction, referred to as a second page number) may be determined based on the first page number and the page change amplitude, where the page is a page number of a page that the user wishes to switch.
And 204, displaying a page corresponding to the second page number in the electronic document in the production interface.
In the embodiment of the disclosure, after the electronic device determines the second page, the page corresponding to the second page in the electronic document can be displayed in the production interface, so that page switching is realized.
According to the method for processing the click-to-read data, the page turning button is provided in the setting area, the page change amplitude corresponding to the trigger operation is determined in response to the trigger operation of the user on the page turning button, the first page number of the current page displayed in the manufacturing interface is obtained, the second page number is determined based on the first page number and the page change amplitude, and then the page corresponding to the second page number in the electronic document is displayed in the manufacturing interface.
In an optional embodiment of the disclosure, the setting area further includes a page skip button and a page number input box, through which a user can input a page number of a page to which skip is desired, and trigger the page skip button to skip the page. Thus, in this embodiment, the page for displaying the electronic document in the manufacturing interface may include: and acquiring a third page number input by the user through the page number input box, responding to the trigger operation of the page jump button by the user, and displaying a page corresponding to the third page number in the electronic document in the manufacturing interface. Therefore, by providing the page jump button and the page number input box in the setting area, the setting area supports the page jump function, and a user can directly switch the page in the manufacturing interface to a desired page without turning the page one by one, so that the page switching efficiency is improved.
In an optional embodiment of the present disclosure, the electronic device may upload the point-to-read data to the point-to-read resource database in units of pages, and the setting area further includes a save button, where when the user triggers the save button, the electronic device stores the point-to-read data corresponding to all the marking frames in the pages to the point-to-read resource database. Thus, as shown in FIG. 4, step 105 may further comprise the sub-steps of, on the basis of the embodiment shown in FIG. 1:
Step 301, for each marking frame in the page, associating the position information of the marking frame with the corresponding target resource type and the target resource, so as to obtain the resource data corresponding to each marking frame.
Step 302, in response to receiving a triggering operation of the user on the save button, associating the resource data corresponding to each marking frame with the page number of the page to obtain click-to-read data corresponding to the page.
In the embodiment of the disclosure, for each mark frame in the page currently displayed by the manufacturing interface, the position information of the mark frame may be associated with the corresponding target resource and the target resource type corresponding to the target resource, so as to obtain the resource data corresponding to each mark frame. After the user finishes making the point-reading data in the page, the user can click a storage button of the setting area, and after receiving the triggering operation of the user on the storage button, the electronic equipment associates the resource data corresponding to each marking frame with the page number of the page to obtain the point-reading data corresponding to the page.
And step 303, storing the point reading data corresponding to the page into a point reading resource folder corresponding to the electronic document in a point reading resource database.
In the embodiment of the disclosure, after the electronic device obtains the point-reading data corresponding to the current page, the point-reading data corresponding to the page can be stored in a point-reading resource folder corresponding to the electronic document in the point-reading resource database.
For example, a corresponding click-to-read resource folder may be created for each electronic document in the click-to-read resource database, and the corresponding click-to-read resource folder is used for storing click-to-read data corresponding to the electronic document, so that after the electronic device obtains the click-to-read data corresponding to the page, the click-to-read data of the page may be stored in the click-to-read resource folder corresponding to the electronic document to which the page belongs in the click-to-read resource database.
According to the method for processing the click-to-read data, the storage button is provided in the setting area, the position information of the mark frames is associated with the corresponding target resource type and the target resource for each mark frame to obtain the resource data corresponding to each mark frame, the resource data corresponding to each mark frame is associated with the page number of the page to obtain the click-to-read data corresponding to the page in response to receiving the triggering operation of the storage button by the user, and the click-to-read data corresponding to the page is stored in the click-to-read resource folder corresponding to the electronic document in the click-to-read resource database, so that the click-to-read data is uploaded to the corresponding folder in the click-to-read resource database for storage by taking the page as a unit.
In an alternative embodiment of the present disclosure, the setting area further includes a delete button, so that, in a case where a tab box (referred to as a first tab box for convenience of description and distinction) in the page is selected, the first tab box and a resource associated with the first tab box are deleted in response to receiving a trigger operation of the delete button by the user. Therefore, the user can delete the added mark frame and the resource through the delete button provided by the setting area, the mark frame is convenient for the user to change, and the flexibility is improved.
After the mark frame in the embodiment of the disclosure is selected, the mark frame can move in the page along with the movement operation of the mouse, but the mark frames cannot be overlapped, and if other mark frames are touched in the moving process of the mark frame, the mark frame returns to the initial position. Thus, in an alternative embodiment of the present disclosure, the method for processing click-to-read data of the present disclosure further includes: in the case where a mark frame in the page (referred to as a second mark frame for convenience of description and distinction) is selected, the second mark frame is controlled to move based on a drag operation on the second mark frame, and in response to detecting that the second mark frame overlaps with a third mark frame in the page (any mark frame in the page other than the second mark frame), the second mark frame is controlled to return to an initial position, where the initial position is a position where the second mark frame is located before being dragged, and a prompt message for prompting a user that the mark frames cannot overlap is displayed in the page. Therefore, the mark frame can move in the page, the moving range of the mark frame is limited, the user can move the position of the mark frame by dragging the mark frame, and the user is prompted when the mark frame collides with other mark frames, so that the user can know the moving limitation of the mark frame.
In an optional embodiment of the present disclosure, after a user uploads an audio or video resource associated with a mark frame, the electronic device may display the uploaded target resource in a setting area, for example, may display a name, a duration, a corresponding play control, etc. of the target resource, and the user may preview the uploaded resource in the setting area, specifically may play the resource by triggering the play control to preview the resource, and after receiving a triggering operation of the play control of the target resource, the electronic device plays the target resource, thereby implementing a preview of the target resource.
Fig. 5 shows a schematic diagram of a production interface according to an exemplary embodiment of the present disclosure, and as shown in fig. 5, the production interface includes a page display area 41 and a setting area 42, wherein the page display area 41 is used to display a page of an electronic document, and the setting area 42 is used to display a previous page, a next page, a skip page number input box, a skip button, a resource type selection button, an upload resource button, a delete button, and a save button. When the user needs to continue to mark other pages after finishing marking the current page, a page number switching button (i.e. a previous page and a next page) can be clicked in the setting area 42, or the page number of the page to be marked is manually input, and the page to be marked is directly jumped to by clicking the jump button, so that the previous page, the next page and the jump button facilitate the user to switch the page. The currently selected mark frame can be deleted through the delete button, and the resources which are already associated can be deleted. When the user marks the current page, clicking the save button saves all point data in the back-end database.
Fig. 6 is a schematic diagram of a production interface according to an embodiment of the present disclosure, where, as shown in fig. 6, a page of an electronic document is displayed in a page display area of the production interface, for a mark box 51, a resource type selected by a user is audio, a format supported by the audio type is an mp3 format, a supported file size does not exceed 50MB, an audio resource uploaded through a "select file" entry is an audio 1 in the mp3 format, a duration of the audio 1 is 4 minutes and 2 seconds, an audio 1 uploaded by the user is displayed in a setting area, and when the user clicks a play control 52 of the audio 1, the audio 1 is played in the setting area, so as to achieve an effect of previewing the audio 1.
Corresponding to the embodiment, the disclosure further provides a display method of the electronic document.
Fig. 7 illustrates a flowchart of a method for presenting an electronic document according to an exemplary embodiment of the present disclosure, which may be performed by an apparatus for presenting an electronic document provided by an embodiment of the present disclosure, where the apparatus may be implemented in software and/or hardware, and may be generally integrated in an electronic device, where the electronic device includes a smart learning device, a mobile phone, a tablet computer, and so on.
As shown in fig. 7, the method for displaying an electronic document may include the steps of:
In step 601, in response to receiving a reading request of a user for an electronic document, click-to-read data corresponding to each page of the electronic document is obtained from a click-to-read resource database, where the click-to-read data includes position information of a tag frame in a page to which the click-to-read data belongs, a target resource associated with the tag frame, and a target resource type corresponding to the target resource.
In the embodiment of the disclosure, when a user (for example, a student) wants to read a certain electronic document, the user can click the electronic document in the electronic device, after clicking, the electronic device receives a reading request of the user for the electronic document, and in response to the reading request, the reading data corresponding to each page of the electronic document is obtained from a reading resource database, and the reading data includes position information of a marking frame in the page to which the reading data belongs, target resources associated with each marking frame and target resource types corresponding to the target resources.
The reading request may carry a document identifier of the electronic document, and the electronic device obtains, according to the document identifier in the reading request, click-to-read data of each page corresponding to the document identifier from the click-to-read resource database.
Step 602, for each page of the electronic document, adding a corresponding mark identifier in each page based on the position information of each mark frame in each page.
In the embodiment of the disclosure, when the electronic device displays each page of the electronic document, for each page, the electronic device displays the page content and adds the mark identifier at the corresponding position of the page according to the position information of each mark frame in each page.
Wherein the label marks may be underlined (dotted or solid), rectangular boxes (dotted or solid), etc.
For example, different forms of mark marks may be set according to the form of contents circled in the page by the position information of the mark frame. For example, if the content encircled by the position information of the mark box in the page is text, the corresponding mark is marked as a dotted line underline, that is, the dotted line underline is added under the encircled text content as the mark of the content; if the content of the position information of the mark frame, which is circled in the page, is a picture, the corresponding mark is a dotted rectangle frame, namely, a matrix frame is formed by adding dotted lines around the circled picture and is used as the mark of the picture.
And 603, adding a click-to-read icon to the mark according to the target resource associated with the mark frame and the target resource type corresponding to the target resource, wherein the click-to-read icon is associated with the target resource.
In the embodiment of the disclosure, for each mark identifier, a click-to-read icon may be added to the mark identifier according to the location information of the mark frame according to which the mark identifier is added, and according to the target resource associated with the same mark frame and the target resource type corresponding to the target resource. Different click-to-read images can be set for different resource types, for example, click-to-read icons corresponding to audio types are set as audio icons, and click-to-read icons corresponding to video resources are set as video icons.
For example, if the marker is identified as an underline, a click-through icon may be added near the underline (e.g., behind the underline), and if the marker is identified as a rectangular box, a click-through icon may be added inside or around the rectangular box (e.g., bottom right corner inside the rectangular box).
In the embodiment of the disclosure, the click-to-read icon supports click-to-read, and when a user clicks the click-to-read icon, the electronic equipment plays the audio and video resources associated with the click-to-read icon, so that the user can solve confusion without consulting other book materials, and the learning efficiency can be improved.
In an optional embodiment of the disclosure, when a user clicks a click icon, the electronic device receives a trigger operation of the user on the click icon, and in response to the trigger operation, the electronic device obtains a target resource associated with the click icon and a resource type of the target resource, and further invokes a target multimedia player of the electronic device to play the target resource based on the resource type of the target resource.
FIG. 8 is a schematic diagram showing an electronic document showing effect according to an exemplary embodiment of the present disclosure, where, as shown in FIG. 8, two mark identifiers are included in a current page, one of the mark identifiers is an underline of a dashed line corresponding to a first text content, an audio icon is underlined after the dashed line, which indicates that an audio resource is bound to a current paragraph, and when a user clicks the audio icon, an audio player of the electronic device is called to play the bound audio resource; the other is a dotted line frame corresponding to the picture below the page, and a video icon is arranged at the lower left corner of the dotted line frame to indicate that the picture is bound with video resources, and when a user clicks the video icon, a video player of the electronic equipment is called to play the bound video resources.
According to the display method of the electronic document, reading data corresponding to each page of the electronic document is obtained from a reading resource database in response to receiving a reading request of a user for the electronic document, the reading data comprise position information of a mark frame in the page, target resources associated with the mark frame and target resource types corresponding to the target resources, corresponding mark identifiers are added to each page of the electronic document based on the position information of each mark frame in each page, and reading icons are added to the mark identifiers according to the target resources associated with the mark frame and the target resource types corresponding to the target resources, wherein the reading icons are associated with the target resources. By adopting the scheme, the displayed electronic document supports the click-to-read function, the click-to-read icon can prompt the user to support the click-to-read of the related content, when the user is confused in the process of reading the electronic document, the confusion can be solved by triggering the click-to-read icon, and other books or data are not required to be consulted, so that the learning efficiency of the user can be improved.
Fig. 9 is a schematic diagram showing interaction of making and displaying a readable electronic document according to an exemplary embodiment of the present disclosure, where, as shown in fig. 9, a teacher may make the readable electronic document through an electronic device, and the electronic device executes the method for processing the readable data according to the foregoing embodiment, generates the readable data corresponding to the electronic device, and stores the readable data in a readable resource database. When students read the electronic document by using the learning machine, the learning machine executes the display method of the electronic document, acquires the click-to-read data of each page of the electronic document from the click-to-read resource database, displays the click-to-read data, adds the click-to-read icon in the page according to the click-to-read data, and plays the bound audio and video resource by clicking the click-to-read icon, thereby realizing confusion and improving the learning efficiency.
The exemplary embodiment of the disclosure also provides a device for processing the click-to-read data. Fig. 10 shows a schematic block diagram of a processing apparatus of point-read data according to an exemplary embodiment of the present disclosure, and as shown in fig. 10, the processing apparatus 70 of point-read data includes: a first presentation module 710, a first tagging module 720, a second presentation module 730, a resource acquisition module 740, and a storage module 750.
The first display module 710 is configured to display a page of the electronic document in the production interface;
The first marking module 720 is configured to generate a marking frame corresponding to the target content based on a selection operation of a user on the target content in the page, and obtain location information of the marking frame;
a second display module 730, configured to display a setting area on the production interface, where the setting area includes a resource type selection entry and a resource uploading entry;
The resource obtaining module 740 is configured to obtain, for the tag frame, a target resource type selected by the user through the resource type selection entry, and a target resource corresponding to the target resource type uploaded through the resource uploading entry;
And the storage module 750 is used for determining the position information of the marking frame, the target resource type and the target resource as point-to-point data of the page and storing the point-to-point data into a point-to-point resource database.
Optionally, the setting area further comprises a page turning button; the first display module 710 is further configured to:
responding to the received triggering operation of a user on the page turning button, and determining the page number change amplitude corresponding to the triggering operation;
Acquiring a first page number of a current page displayed in the manufacturing interface;
determining a second page number based on the first page number and the page number variation amplitude;
and displaying a page corresponding to the second page number in the electronic document in the making interface.
Optionally, the setting area further includes a page jump button and a page number input box; the first display module 710 is further configured to:
acquiring a third page number input by a user through the page number input box;
And responding to the trigger operation of the user on the page jump button, and displaying a page corresponding to the third page number in the electronic document in the production interface.
Optionally, the setting area further includes a save button; the storage module 750 is further configured to:
For each marking frame in the page, associating the position information of the marking frame with the corresponding target resource type and the target resource to obtain resource data corresponding to each marking frame respectively;
Responding to the received triggering operation of the user on the storage button, and associating the resource data corresponding to each marking frame with the page number of the page to obtain click-to-read data corresponding to the page;
And storing the point reading data corresponding to the page into a point reading resource folder corresponding to the electronic document in a point reading resource database.
Optionally, the setting area further includes a delete button; the apparatus 70 for processing click-to-read data further includes:
And the deleting module is used for responding to the received triggering operation of the user on the deleting button when the first marking frame in the page is selected, and deleting the first marking frame and the resources associated with the first marking frame.
Optionally, the processing device 70 for clicking the read data further includes:
a moving module for controlling movement of a second mark frame based on a drag operation of the second mark frame in the page in case that the second mark frame is selected;
The control module is used for controlling the second mark frame to return to the initial position in response to detecting that the second mark frame is overlapped with a third mark frame in the page;
The prompting module is used for displaying prompting messages in the page, and the prompting messages are used for prompting that the user mark frames cannot be overlapped.
Optionally, the processing device 70 for clicking the read data further includes:
the preview module is used for displaying the uploaded target resource in the setting area; and playing the target resource in response to receiving a triggering operation of the playing control of the target resource.
The processing device for the click-to-read data provided by the embodiment of the disclosure can execute any processing method for the click-to-read data applicable to the electronic equipment, and has the corresponding functional modules and beneficial effects of the execution method. Details of the embodiments of the apparatus of the present disclosure that are not described in detail may refer to descriptions of any of the embodiments of the method of the present disclosure.
The exemplary embodiment of the disclosure also provides a display device of the electronic document. Fig. 11 shows a schematic block diagram of a presentation apparatus of an electronic document according to an exemplary embodiment of the present disclosure, and as shown in fig. 11, the presentation apparatus 80 of an electronic document includes: a data reading module 810, a second marking module 820, and an adding module 830.
The data reading module 810 is configured to obtain, in response to receiving a reading request of a user for an electronic document, click-to-read data corresponding to each page of the electronic document from a click-to-read resource database, where the click-to-read data includes location information of a tag frame in a page to which the click-to-read data belongs, a target resource associated with the tag frame, and a target resource type corresponding to the target resource;
A second marking module 820, configured to add, for each page of the electronic document, a corresponding marking identifier to each page based on the position information of each marking frame in each page;
And an adding module 830, configured to add a click-to-read icon to the tag identifier according to the target resource associated with the tag frame and the target resource type corresponding to the target resource, where the click-to-read icon is associated with the target resource.
Optionally, the display device 80 of the electronic document further includes:
the resource acquisition module is used for responding to the received triggering operation of the user on the click-to-read icon and acquiring the target resource associated with the click-to-read icon and the resource type of the target resource;
And the playing module is used for calling a target multimedia player of the electronic equipment to play the target resource based on the resource type of the target resource.
The processing device for the click-to-read data provided by the embodiment of the disclosure can execute any processing method for the click-to-read data applicable to the electronic equipment, and has the corresponding functional modules and beneficial effects of the execution method. Details of the embodiments of the apparatus of the present disclosure that are not described in detail may refer to descriptions of any of the embodiments of the method of the present disclosure.
The exemplary embodiments of the present disclosure also provide an electronic device including: at least one processor; and a memory communicatively coupled to the at least one processor. The memory stores a computer program executable by the at least one processor for causing the electronic device to perform a method according to embodiments of the present disclosure when executed by the at least one processor.
The present disclosure also provides a non-transitory computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor of a computer, is configured to cause the computer to perform a processing method of click-to-read data according to an embodiment of the present disclosure or a presentation method of an electronic document according to an embodiment of the present disclosure.
The exemplary embodiments of the present disclosure also provide a computer program product comprising a computer program, wherein the computer program, when executed by a processor of a computer, is for causing the computer to perform a processing method of point-read data according to an embodiment of the present disclosure or to perform a presentation method of an electronic document according to an embodiment of the present disclosure.
Referring to fig. 12, a block diagram of an electronic device 1100 that may be a server or a client of the present disclosure, which is an example of a hardware device that may be applied to aspects of the present disclosure, will now be described. Electronic devices are intended to represent various forms of digital electronic computer devices, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 12, the electronic device 1100 includes a computing unit 1101 that can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM) 1102 or a computer program loaded from a storage unit 1108 into a Random Access Memory (RAM) 1103. In the RAM 1103, various programs and data required for the operation of the device 1100 can also be stored. The computing unit 1101, ROM 1102, and RAM 1103 are connected to each other by a bus 1104. An input/output (I/O) interface 1105 is also connected to bus 1104.
A number of components in the electronic device 1100 are connected to the I/O interface 1105, including: an input unit 1106, an output unit 1107, a storage unit 1108, and a communication unit 1109. The input unit 1106 may be any type of device capable of inputting information to the electronic device 1100, and the input unit 1106 may receive input numeric or character information and generate key signal inputs related to user settings and/or function controls of the electronic device. The output unit 1107 may be any type of device capable of presenting information and may include, but is not limited to, a display, speakers, video/audio output terminals, vibrators, and/or printers. Storage unit 1108 may include, but is not limited to, magnetic disks, optical disks. The communication unit 1109 allows the electronic device 1100 to exchange information/data with other devices through computer networks such as the internet and/or various telecommunications networks, and may include, but is not limited to, modems, network cards, infrared communication devices, wireless communication transceivers and/or chipsets, such as bluetooth (TM) devices, wiFi devices, wiMax devices, cellular communication devices, and/or the like.
The computing unit 1101 may be a variety of general purpose and/or special purpose processing components having processing and computing capabilities. Some examples of computing unit 1101 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 1101 performs the respective methods and processes described above. For example, in some embodiments, the method of processing the click-to-read data or the method of presentation of the electronic document may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as storage unit 1108. In some embodiments, some or all of the computer programs may be loaded and/or installed onto electronic device 1100 via ROM 1102 and/or communication unit 1109. In some embodiments, the computing unit 1101 may be configured to perform the processing method of point-read data or the presentation method of electronic documents in any other suitable manner (e.g., by means of firmware).
Program code for carrying out methods of the present disclosure may be written in any combination of one or more programming languages. These program code may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus such that the program code, when executed by the processor or controller, causes the functions/operations specified in the flowchart and/or block diagram to be implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The terms "machine-readable medium" and "computer-readable medium" as used in this disclosure refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, programmable Logic Devices (PLDs)) for providing machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and pointing device (e.g., a mouse or trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the internet.
The computer system may include a client and a server. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.

Claims (13)

1. A method of processing click-to-read data, wherein the method comprises:
Displaying pages of the electronic document in a manufacturing interface;
Generating a mark frame corresponding to target content based on the selection operation of a user on the target content in the page, and acquiring the position information of the mark frame;
displaying a setting area on the manufacturing interface, wherein the setting area comprises a resource type selection inlet and a resource uploading inlet;
Aiming at the marking frame, acquiring a target resource type selected by a user through the resource type selection inlet and a target resource corresponding to the target resource type and uploaded through the resource uploading inlet;
and determining the position information of the marking frame, the target resource type and the target resource as point reading data of the page and storing the point reading data into a point reading resource database.
2. The method for processing click-to-read data according to claim 1, wherein the setting area further comprises a page-turning button;
and wherein the page for displaying the electronic document in the manufacturing interface comprises:
responding to the received triggering operation of a user on the page turning button, and determining the page number change amplitude corresponding to the triggering operation;
Acquiring a first page number of a current page displayed in the manufacturing interface;
determining a second page number based on the first page number and the page number variation amplitude;
and displaying a page corresponding to the second page number in the electronic document in the making interface.
3. The processing method of click-to-read data as claimed in claim 1, wherein the setting area further includes a page skip button and a page number input frame;
and wherein the page for displaying the electronic document in the manufacturing interface comprises:
acquiring a third page number input by a user through the page number input box;
And responding to the trigger operation of the user on the page jump button, and displaying a page corresponding to the third page number in the electronic document in the production interface.
4. The method for processing click-to-read data according to claim 1, wherein the setting area further includes a save button;
and wherein the determining the location information of the tag frame, the target resource type and the target resource as the point-to-read data of the page and storing the point-to-read data in a point-to-read resource database includes:
For each marking frame in the page, associating the position information of the marking frame with the corresponding target resource type and the target resource to obtain resource data corresponding to each marking frame respectively;
Responding to the received triggering operation of the user on the storage button, and associating the resource data corresponding to each marking frame with the page number of the page to obtain click-to-read data corresponding to the page;
And storing the point reading data corresponding to the page into a point reading resource folder corresponding to the electronic document in a point reading resource database.
5. The method for processing click-to-read data according to claim 1, wherein the setting area further includes a delete button;
And wherein the method further comprises:
And under the condition that a first mark frame in the page is selected, deleting the first mark frame and resources associated with the first mark frame in response to receiving a trigger operation of a user on the delete button.
6. The method for processing click-to-read data according to claim 1, wherein the method further comprises:
Controlling the second mark frame to move based on the drag operation of the second mark frame under the condition that the second mark frame in the page is selected;
controlling the second mark frame to return to an initial position in response to detecting that the second mark frame overlaps with a third mark frame in the page;
and displaying a prompt message in the page, wherein the prompt message is used for prompting that the user mark frames cannot be overlapped.
7. The method for processing click-to-read data of any one of claims 1-6, wherein the method further comprises:
displaying the uploaded target resource in the setting area;
and playing the target resource in response to receiving a triggering operation of the playing control of the target resource.
8. A method of displaying an electronic document, wherein the method comprises:
Responding to a received reading request of a user for an electronic document, acquiring click-to-read data corresponding to each page of the electronic document from a click-to-read resource database, wherein the click-to-read data comprises position information of a mark frame in the page, target resources associated with the mark frame and target resource types corresponding to the target resources;
Adding a corresponding mark identifier in each page of the electronic document based on the position information of each mark frame in each page;
And adding a click-to-read icon to the mark according to the target resource associated with the mark frame and the target resource type corresponding to the target resource, wherein the click-to-read icon is associated with the target resource.
9. The method for presenting an electronic document according to claim 8, wherein the method further comprises:
responding to the trigger operation of the user on the click-to-read icon, and acquiring the target resource associated with the click-to-read icon and the resource type of the target resource;
and calling a target multimedia player of the electronic equipment to play the target resource based on the resource type of the target resource.
10. A processing apparatus for reading data, wherein the apparatus comprises:
The first display module is used for displaying pages of the electronic document in the manufacturing interface;
The first marking module is used for generating a marking frame corresponding to the target content based on the selection operation of a user on the target content in the page and acquiring the position information of the marking frame;
the second display module is used for displaying a setting area on the manufacturing interface, wherein the setting area comprises a resource type selection inlet and a resource uploading inlet;
The resource acquisition module is used for acquiring a target resource type selected by a user through the resource type selection inlet and a target resource corresponding to the target resource type and uploaded through the resource uploading inlet aiming at the marking frame;
And the storage module is used for determining the position information of the marking frame, the target resource type and the target resource as point data of the page and storing the point data into a point-to-read resource database.
11. A display device for electronic documents, wherein the device comprises:
The data reading module is used for responding to a reading request of a user on the electronic document, acquiring point-reading data corresponding to each page of the electronic document from a point-reading resource database, wherein the point-reading data comprises position information of a mark frame in the page, target resources associated with the mark frame and target resource types corresponding to the target resources;
the second marking module is used for adding a corresponding marking identifier in each page of the electronic document based on the position information of each marking frame in each page;
And the adding module is used for adding a click-to-read icon to the mark according to the target resource associated with the mark frame and the target resource type corresponding to the target resource, wherein the click-to-read icon is associated with the target resource.
12. An electronic device, comprising:
A processor; and
A memory in which a program is stored,
Wherein the program comprises instructions which, when executed by the processor, cause the processor to perform the method of processing click-to-read data according to any one of claims 1-7 or to perform the method of presentation of an electronic document according to any one of claims 8-9.
13. A non-transitory computer-readable storage medium storing computer instructions for causing the computer to perform the method of processing click-to-read data according to any one of claims 1-7 or the method of presenting an electronic document according to any one of claims 8-9.
CN202410166566.5A 2024-02-05 2024-02-05 Click-to-read data processing method, electronic document display method and electronic device Pending CN117950546A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410166566.5A CN117950546A (en) 2024-02-05 2024-02-05 Click-to-read data processing method, electronic document display method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410166566.5A CN117950546A (en) 2024-02-05 2024-02-05 Click-to-read data processing method, electronic document display method and electronic device

Publications (1)

Publication Number Publication Date
CN117950546A true CN117950546A (en) 2024-04-30

Family

ID=90801463

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410166566.5A Pending CN117950546A (en) 2024-02-05 2024-02-05 Click-to-read data processing method, electronic document display method and electronic device

Country Status (1)

Country Link
CN (1) CN117950546A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118151762A (en) * 2024-05-10 2024-06-07 杭州逸琨科技有限公司 Interactive page making method, system, editor, medium and program product

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118151762A (en) * 2024-05-10 2024-06-07 杭州逸琨科技有限公司 Interactive page making method, system, editor, medium and program product

Similar Documents

Publication Publication Date Title
US10067922B2 (en) Automated study guide generation for electronic books
CN104978317B (en) Webpage generation method and device, website generation method and website establishment server
US8949729B2 (en) Enhanced copy and paste between applications
US9772978B2 (en) Touch input visualizations based on user interface context
US9710440B2 (en) Presenting fixed format documents in reflowed format
CN117950546A (en) Click-to-read data processing method, electronic document display method and electronic device
JP2014197341A (en) Electronic book production device, electronic book system, electronic book production method and program
CN117057318A (en) Domain model generation method, device, equipment and storage medium
US20150058710A1 (en) Navigating fixed format document in e-reader application
CN110020279B (en) Page data processing method and device and storage medium
KR20150012869A (en) System for providing contents authoring tool, apparatus and method for providing authoring tool and storage medium recording program thereof
JP2017010365A (en) Dictionary terminal and information display control program
US11829712B2 (en) Management of presentation content including generation and rendering of a transparent glassboard representation
JP6902871B2 (en) Entity recognition for improved document productivity
CN104850316A (en) Method and device for adjusting fonts of electronic books
CN111291256A (en) Personalized homepage generation method, device, electronic device and storage medium
JP2019020884A (en) Browser application software
CN117311521A (en) Information input method, device, electronic equipment and readable storage medium
CN115793915A (en) Terminal control method, device, equipment and medium
Miura et al. PastePost: A Web Interface for Editing Instructions with Captured Images

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