WO2020211397A1 - Courseware page display method and apparatus, page set construction method and apparatus, device, and medium - Google Patents

Courseware page display method and apparatus, page set construction method and apparatus, device, and medium Download PDF

Info

Publication number
WO2020211397A1
WO2020211397A1 PCT/CN2019/123246 CN2019123246W WO2020211397A1 WO 2020211397 A1 WO2020211397 A1 WO 2020211397A1 CN 2019123246 W CN2019123246 W CN 2019123246W WO 2020211397 A1 WO2020211397 A1 WO 2020211397A1
Authority
WO
WIPO (PCT)
Prior art keywords
courseware
page
vector
page set
target
Prior art date
Application number
PCT/CN2019/123246
Other languages
French (fr)
Chinese (zh)
Inventor
方建生
Original Assignee
广州视源电子科技股份有限公司
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 广州视源电子科技股份有限公司 filed Critical 广州视源电子科技股份有限公司
Publication of WO2020211397A1 publication Critical patent/WO2020211397A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/20Education
    • G06Q50/205Education administration or guidance

Definitions

  • the embodiment of the present invention relates to information push technology, for example, to a method, device, device, and medium for displaying a courseware page and constructing a page set.
  • E-learning courseware can be understood as multimedia courseware, which is the integration of text, graphics, sound, animation, video and other media materials in both time and space by the teacher to assist teaching.
  • This application provides a method, device, equipment, and medium for displaying courseware pages and page sets, so as to solve the problem that the courseware pages need to be made and typeset according to the content of the course, and the teacher's effort to make courseware cannot be reduced.
  • an embodiment of the present invention provides a method for displaying a courseware page, including:
  • the courseware including a first courseware page, and the first courseware page including a first courseware element;
  • Determining a first page set for the courseware where the first page set includes an ordered first vector, and each first vector is used to represent the semantics of the first courseware element in each first courseware page;
  • the target page set includes an ordered target vector, and the first vector and the target vector are similar;
  • a part of the second courseware page is displayed for the courseware.
  • determining the first page set for the courseware includes:
  • the first courseware element includes at least one of the following:
  • the number of the first vector and the target vector is the same, and the first vector and the target vector at the same position are similar.
  • determining a target page set in the second page set includes:
  • the first candidate vector is initially the first first vector
  • the second candidate vector is the second vector in the second page set
  • a new second vector is selected as the new second candidate vector, and the determination of the similarity between the first candidate vector and the second candidate vector is returned.
  • displaying a part of the second courseware page for the courseware includes:
  • the second courseware page corresponding to the second vector is displayed.
  • the courseware of the second user is displayed.
  • an embodiment of the present invention also provides a method for constructing a page set, including:
  • each courseware includes a courseware page
  • a page set is generated, and the page set contains ordered vectors, and each vector is used to represent the semantics of the courseware elements in each courseware page.
  • the generated page set includes:
  • the association belongs to the vector corresponding to the courseware.
  • an embodiment of the present invention also provides a display device for a courseware page, including:
  • the first courseware acquisition module is configured to acquire a courseware, the courseware includes a first courseware page, and the first courseware page includes a first courseware element;
  • the first page set determining module is configured to determine a first page set for the courseware.
  • the first page set includes an ordered first vector, and each first vector is used to represent the first page in each first courseware page.
  • the second page set obtaining module is configured to obtain a second page set, the second page set includes an ordered second vector, and each second vector is used to represent the second courseware element in each second courseware page Semantics
  • a target page set determining module configured to determine a target page set in the second page set, the target page set includes an ordered target vector, and the first vector is similar to the target vector;
  • the courseware page display module is configured to display part of the second courseware page for the courseware according to the target page set.
  • an embodiment of the present invention also provides an apparatus for constructing a page set, including:
  • the second courseware acquisition module is configured to acquire courseware, and each courseware includes a courseware page;
  • the page set generation module is configured to generate a page set.
  • the page set contains ordered vectors, and each vector is used to represent the semantics of the courseware elements in each courseware page.
  • an embodiment of the present invention also provides an electronic device, including:
  • One or more processors are One or more processors;
  • Memory used to store one or more programs
  • the one or more processors When the one or more programs are executed by the one or more processors, the one or more processors implement the method for displaying a courseware page as described in the first aspect;
  • the one or more processors When the one or more programs are executed by the one or more processors, the one or more processors implement the method for constructing a page set as described in the second aspect.
  • an embodiment of the present invention also provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the method for displaying a courseware page as described in the first aspect is implemented;
  • a method for constructing a page set as described in the second aspect is implemented.
  • a courseware is obtained; a first page set is determined for the courseware; a second page set is obtained; a target page set is determined in the second page set, and the target page set includes an ordered target vector.
  • a vector is similar to the target vector; according to the target page set, a part of the second courseware page is displayed for the courseware.
  • FIG. 1 is a flowchart of a method for displaying a courseware page according to Embodiment 1 of the present invention
  • FIG. 2A is a flowchart of a method for displaying a courseware page according to Embodiment 2 of the present invention
  • 2B is a flowchart of a method for displaying a software page according to a user attribute course according to the second embodiment of the present invention
  • FIG. 3 is a flowchart of a method for constructing a page set according to Embodiment 3 of the present invention.
  • FIG. 4 is a flowchart of a method for constructing a page set according to Embodiment 4 of the present invention.
  • Embodiment 5 is a structural diagram of a display device for a courseware page provided by Embodiment 5 of the present invention.
  • FIG. 6 is a structural diagram of a device for constructing a page set according to Embodiment 6 of the present invention.
  • FIG. 7 is a schematic structural diagram of an electronic device according to Embodiment 7 of the present invention.
  • FIG. 1 is a flowchart of a method for displaying a courseware page according to Embodiment 1 of the present invention.
  • This embodiment is applicable to a scenario where the target page set is determined from the second page set according to the first page set input by the user, and the target page set is pushed according to the target page set.
  • the method can be executed by a display device of a courseware page, which can be implemented by software and/or hardware, and is usually configured in an electronic device, typically in a processor.
  • the method may include:
  • Courseware is based on the requirements of the teaching syllabus, through the determination of teaching objectives, teaching content and task analysis, teaching activity structure and interface design and other links, and to make course software. It is directly related to the content of the course.
  • Courseware is a course software made with a variety of media expression methods and hypertext structure.
  • the software for making courseware generally includes PPT and Flash:
  • PPT is powerpoint, a kind of software in the office system. It is similar to the production method of a slideshow, which can import pictures, sounds, animations, videos, type text, get started quickly, have many transition effects, and control the presentation of text and pictures independently. But the screen is a bit dull, and the interactive control is a bit single. Flash was originally an animation software, which can import pictures, sounds, and videos, and input text in the software, and can process and process pictures, videos, and sounds in the software. It is slow to get started and requires certain operating skills. But the screen is flexible and interactive control is flexible.
  • the courseware is composed of multiple courseware pages
  • the courseware page is composed of courseware elements.
  • Courseware elements are various elements included in a courseware page.
  • Courseware elements can include: text, formulas, pictures, audio, and video.
  • the frequency of recommended courseware is set in the state of editing. It can be understood that when a certain threshold is exceeded, the courseware will be pushed. After the threshold is exceeded, it may be recommended every time a certain amount of pages are edited. As more pages are edited, the accuracy of the recommendation is higher.
  • courseware page being edited by the user other courseware pages related to the courseware page are determined, and these multiple courseware pages are combined into the courseware being edited by the user.
  • the user may open multiple courseware for editing at the same time. You need to distinguish the courseware pages included in different courseware.
  • the first page set is an abstract representation of the courseware pages included in the courseware.
  • the page set is a set of ordered vectors, and the order refers to the order or the reverse order.
  • the order of the collection in the page set is the same as the order of the courseware pages in the courseware, and the vector represents the courseware elements in the courseware page corresponding to this order.
  • the first vector in the first page set indicates the first courseware element in the corresponding first courseware page.
  • the first page set and the subsequent second page set in this step are both sets composed of ordered vectors, which are divided into the first page set and the second page set due to different application scenarios.
  • a vector is used to represent the semantic information of the page elements of the corresponding courseware page (sequence).
  • Directly perform vector processing on text directly convert formulas into semi-structured strings, perform vector processing on strings; perform image recognition on pictures to obtain text describing the content of the picture, perform vector processing on text; perform voice recognition on audio, Obtain the text content corresponding to the audio and perform vector processing on the text; intercept the key frame images of the video at a preset time interval, perform image recognition on the key frame images, obtain text describing the content of the picture, perform vector processing on the text, and so on.
  • the second page set is a preset ordered vector set.
  • the second vector in the second page set indicates the second courseware element in the corresponding second courseware page.
  • the courseware pages in the prepared courseware are converted into vectors in advance to form the second page set.
  • the courseware is usually some excellent courseware.
  • the main source of excellent courseware organize teachers to prepare; teachers upload and evaluate it as excellent courseware. Store these excellent courseware in the second page set, decompose all the courseware in the second page set into single pages, and mark them in sequence.
  • the first courseware has 8 pages, numbered as 1, 2, 3,..., 8 in the order of each page in the courseware; the second courseware has 9 pages, in the order of each page in the document The numbers are 9, 10, 11,..., 17, and so on to all courseware.
  • the first courseware has 8 pages, number them in the order of each page in the courseware as 1-1, 1-2, 1-3,..., 1-8; the second courseware has 9 pages, numbered 2-1, 2-1, ... 2-9 in the order of each of the files, and so on to all courseware.
  • the courseware in the second page set can be preprocessed, such as deleting the ending "Thank you for watching", "Please ask questions" and other general materials.
  • S104 Determine a target page set in the second page set.
  • second vectors are selected from the second page set as the target vector.
  • the condition of the selection is that the first vector and the target vector are similar.
  • the number of the first vector and the target vector are the same.
  • the first vector and the target vector are compared one by one in order to obtain the similarity between each two vectors.
  • each similarity exceeds a certain threshold, it is considered that the first vector and the target vector are different Similar to each other.
  • the similarity can also be averaged, and when the average value exceeds a certain threshold, it is considered that the first vector and the target vector are similar.
  • the number of the first vector and the target vector are different.
  • the whole formed by the first vector can be compared with the whole formed by the target vector to obtain the overall similarity.
  • the overall similarity exceeds a certain threshold, the first vector and the target vector are considered to be similar.
  • the target page set is a part of the coherent courseware pages in the second page set.
  • the target page set indicates that the user is making courseware similar to the courseware corresponding to the target page set. Therefore, one or more courseware pages after the target page set are pushed to the user for display.
  • one or more courseware pages after the target page set can be judged as a courseware.
  • the target page set and one or more courseware pages after the target page set belong to the same courseware, Then one or more courseware pages after the target page set are pushed to the user for display.
  • a courseware is obtained; a first page set is determined for the courseware; a second page set is obtained; a target page set is determined in the second page set, and the target page set includes an ordered target vector.
  • a vector is similar to the target vector; according to the target page set, a part of the second courseware page is displayed for the courseware.
  • Fig. 2A is a flowchart of a method for displaying a courseware page according to the second embodiment of the present invention.
  • This embodiment is a refinement based on the first embodiment, and describes in detail the method of determining the first page set for the courseware and determining the target page set in the second page set.
  • the method may include:
  • the multiple courseware is acquired.
  • the acquisition operation is performed for the courseware for which the user initiates the push instruction only when the user sends the push instruction.
  • S202 Determine the first courseware element contained in each first courseware page in the courseware.
  • the first courseware page is the courseware page included in the courseware obtained in step S201.
  • the first courseware element can be used to represent the content of the first courseware page.
  • the first courseware page and the second courseware page are both courseware pages.
  • the courseware page obtained from the user terminal is named the first courseware page
  • the courseware page in the second page set used for push/matching is named The second courseware page.
  • text, formulas, and pictures may be determined as the first courseware elements only from the first courseware page.
  • the first courseware element includes different types, so the first courseware element needs to be unified into one form of expression. At this time, a string can be used to represent the content of the first courseware page.
  • the first courseware element is converted into a character element. If the first courseware element is text, the text is directly determined as a string; if the first courseware element is a formula, the formula will be converted to a string according to the specified typesetting; if the first courseware element is a picture, it will be recognized by image
  • the technology converts the image into text, and then determines the text as a string. This method can have the same evaluation standard for the content of the course page, making this method more practical.
  • formula editors and Latex format are generally used, so formulas can be directly converted into Latex semi-structured strings.
  • the first vector can be used to represent the content of the first courseware page.
  • the first courseware elements that portray the first courseware page are all in the form of strings. All strings in a courseware page are unified into vector elements, and the vector elements are named the first vector.
  • the first vector and the subsequent second vector here are all vector elements describing one page of courseware pages, and they are distinguished in naming for ease of description.
  • the character string is input into a BERT (Bidirectional Encoder Representation from Transformers) model to extract the semantic features of the character string.
  • the extracted semantic feature is the first vector here.
  • S205 Associate the first vector according to the order of the first courseware page in the courseware.
  • the first vector is used to describe the first courseware page in the courseware, the first vector is associated according to the order of the first courseware page in the courseware, so that the first vector is combined into an ordered vector string.
  • the order vector is used to improve the accuracy of course page push. If an unordered vector is used, even if the course page is determined in the second page set, the purpose of predicting the next courseware page of the teacher cannot be fulfilled.
  • step S208 Determine whether the similarity is greater than a preset threshold. If yes, go to step S209; if not, go to step S211.
  • step S209 Determine whether there is a remaining first vector after the first candidate vector. If yes, go to step S210; if not, go to step S212.
  • step S211 Select a new second vector as a new second candidate vector. And return to step S207.
  • the first first vector in the first page set is determined as the first candidate vector.
  • a certain vector in the second page set is determined as a second candidate vector, and the second candidate vector is a second vector compared with the first candidate vector. Compare the similarity between the first candidate vector and the second candidate vector.
  • the similarity is greater than the preset threshold, it means that the first courseware page represented by the first candidate vector is similar to the second courseware page represented by the second candidate vector.
  • the next first vector of the first candidate vector in the first page set is determined as the first candidate vector
  • the next second vector of the second candidate vector in the second page set is determined as the second candidate vector
  • the similarity is less than the preset threshold, it means that the first courseware page represented by the first candidate vector is not similar to the second courseware page represented by the second candidate vector. Take the second vector next to the second candidate vector in the second page set as the new second candidate vector. Continue to compare.
  • the cosine similarity is used to determine the similarity between two vectors, that is, the cosine of the angle between the two vectors is calculated to evaluate their similarity.
  • the second courseware page in the second page set corresponding to the target page set is displayed, so as to facilitate the user to learn from the format or layout.
  • subsequent second courseware pages in the second page set corresponding to the target page set are displayed, so as to save the user's time for inputting subsequent content.
  • FIG. 2B is a flowchart of a method for displaying a software page according to a user attribute course according to the second embodiment of the present invention.
  • the method includes:
  • S220 Determine the first user attribute of the first user and the first behavior data of the operating courseware; S221. Convert the first user attribute and the first behavior data into first user characteristics; S222. Acquire second user characteristics , The second user characteristic is used to characterize the second user attribute of the second user and the second behavior data of the operating courseware; S223, if the first user characteristic is similar to the second user characteristic, display the first user characteristic 2.
  • the user's courseware Determine the first user attribute of the first user and the first behavior data of the operating courseware.
  • the first user and the second user are both users, the first user is a user who is editing courseware, and the second user is a user stored in a database.
  • User attributes are the basic information that the user will register before using the electronic courseware production software for the first time, including information such as subject, school period, age, and gender.
  • the first user information is the user information of the user who is editing the courseware
  • the second user information is the user information of the user stored in the database.
  • Behavioral data is the data generated by the user's operations, including button clicks, menu selection, editing content, stay time, etc. Combining these characteristics, the user's preferences can be predicted through the machine learning classification model.
  • Preferences are mainly divided into two categories: one is the content of the courseware, including text, voice, video, pictures, tables, animations, games, etc., which form part of the content of the courseware; the other is the style of the courseware, such as colors, fonts, elements, shapes, Typesetting, etc.
  • the similarity of user attributes and behavior data between the first user and the second user is calculated, and if the similarity is high, the material of the second user is being recommended to the first user. If the first user is a user who is an English major and who likes materials with a light style, the materials of the second user with high similarity are directly recommended to the first user. This second user may also be an English subject or also like a light style.
  • a courseware is obtained; a first page set is determined for the courseware; a second page set is obtained; a target page set is determined in the second page set, and the target page set includes an ordered target vector.
  • a vector is similar to the target vector; according to the target page set, a part of the second courseware page is displayed for the courseware.
  • FIG. 3 is a flowchart of a method for constructing a page set according to Embodiment 3 of the present invention.
  • This embodiment is applicable to a scenario where an ordered vector is generated according to the acquired pages, and the ordered vector is used to construct a page set.
  • the method can be executed by a device for constructing a page set, which can be implemented by software and/or hardware, and is usually configured in an electronic device, typically in a processor.
  • the method may include:
  • the courseware includes the courseware page.
  • the excellent courseware constitutes the second page set.
  • the main sources of excellent courseware organize the preparation of famous teachers from famous schools; teachers upload and evaluate them as excellent courseware.
  • the page set contains ordered vectors, and each vector is used to represent the semantics of the courseware elements in each courseware page.
  • a vector is used to represent the semantic information of the page element of the courseware page. It can be understood as: direct vector processing of text; direct conversion of formulas into semi-structured strings and vector processing of strings; image recognition of pictures to obtain text describing the content of the picture, and vector processing of text; audio Perform voice recognition to obtain the text content corresponding to the audio, and perform vector processing on the text; intercept key frame images of the video at preset time intervals, perform image recognition on the key frame images, obtain text describing the content of the picture, and perform vector processing on the text .
  • these excellent courseware are stored in a page set, and all the courseware in the page set are decomposed into single pages and marked in sequence.
  • the first courseware has 8 pages, numbered as 1, 2, 3,..., 8 in the order of each page in the courseware; the second courseware has 9 pages, in the order of each page in the document The numbers are 9, 10, 11,..., 17, and so on to all courseware.
  • the first courseware has 8 pages, number them in the order of each page in the courseware as 1-1, 1-2, 1-3,..., 1-8; the second courseware has 9 pages, numbered 2-1, 2-1, ... 2-9 in the order of each of the files, and so on to all courseware.
  • the courseware in the second page set can be preprocessed, such as deleting the ending "Thank you for watching", "Please ask questions" and other general materials.
  • a courseware is obtained; a first page set is determined for the courseware; a second page set is obtained; a target page set is determined in the second page set, and the target page set includes an ordered target vector.
  • a vector is similar to the target vector; according to the target page set, a part of the second courseware page is displayed for the courseware.
  • FIG. 4 is a flowchart of a method for constructing a page set according to Embodiment 4 of the present invention. This embodiment is refined on the basis of the third embodiment, and describes in detail the method of generating the page set. Referring to Figure 4, the method may include:
  • the courseware elements include different types, it is necessary to unify the courseware elements into one form of expression.
  • the first courseware element is converted into a character element. If the first courseware element is text, the text is directly determined as a string; if the first courseware element is a formula, the formula will be converted to a string according to the specified typesetting; if the first courseware element is a picture, it will be recognized by image
  • the technology converts the image into text, and then determines the text as a string.
  • S403 Associate vectors belonging to the same courseware according to the order of the courseware pages in the courseware.
  • vectors are used to describe the courseware pages in the courseware, according to the order of the courseware pages in the courseware, the vectors are associated, so that the vectors are combined into an ordered vector string.
  • the vector numbering can refer to the way of numbering pages in step S302.
  • a courseware is obtained; a first page set is determined for the courseware; a second page set is obtained; a target page set is determined in the second page set, and the target page set includes an ordered target vector.
  • a vector is similar to the target vector; according to the target page set, a part of the second courseware page is displayed for the courseware.
  • FIG. 5 is a structural diagram of a display device for a courseware page provided by Embodiment 5 of the present invention. It includes: a first courseware acquisition module 51, a first page set determination module 52, a second page set acquisition module 53, a target page set determination module 54 and a courseware page display module 55. among them:
  • the first courseware obtaining module 51 is configured to obtain a courseware, the courseware includes a first courseware page, and the first courseware page includes a first courseware element;
  • the first page set determining module 52 is configured to determine a first page set for the courseware.
  • the first page set includes an ordered first vector, and each first vector is used to represent the first page in each first courseware page.
  • the second page set obtaining module 53 is configured to obtain a second page set.
  • the second page set includes an ordered second vector, and each second vector is used to represent the value of the second courseware element in each second courseware page. Semantics
  • the target page set determining module 54 is configured to determine a target page set in the second page set, the target page set includes an ordered target vector, and the first vector is similar to the target vector;
  • the courseware page display module 55 is configured to display part of the second courseware page for the courseware according to the target page set.
  • a courseware is obtained; a first page set is determined for the courseware; a second page set is obtained; a target page set is determined in the second page set, and the target page set includes an ordered target vector.
  • a vector is similar to the target vector; according to the target page set, a part of the second courseware page is displayed for the courseware.
  • the first page set determining module 52 is further configured to:
  • the first courseware element includes at least one of the following:
  • the number of the first vector and the target vector is the same, and the first vector and the target vector at the same position are similar.
  • the target page set determining module 54 is further configured to:
  • the first candidate vector is initially the first first vector
  • the second candidate vector is the second vector in the second page set
  • a new second vector is selected as the new second candidate vector, and the determination of the similarity between the first candidate vector and the second candidate vector is returned.
  • the courseware page display module 55 is also used to:
  • the second courseware page corresponding to the second vector is displayed.
  • the courseware of the second user is displayed.
  • the device for displaying a courseware page provided in this embodiment can be used to implement the method for displaying a courseware page provided in the first and second embodiments, and has corresponding functions and beneficial effects.
  • FIG. 6 is a structural diagram of an apparatus for constructing a page set provided by Embodiment 6 of the present invention. Including: the second courseware acquisition module 61 and the page set generation module 62. among them:
  • the second courseware acquisition module 61 is used to acquire courseware, and each courseware includes a courseware page;
  • the page set generating module 62 is configured to generate a page set, where the page set contains ordered vectors, and each vector is used to represent the semantics of the courseware elements in each courseware page.
  • This application obtains courseware and generates a page set based on the courseware.
  • the construction of a database is realized, which lays a foundation for pushing relevant courseware pages based on the courseware pages produced by the current teacher, thereby reducing the beneficial effect of the teacher's production and layout time spent in making the courseware.
  • the page set generation module 62 is further configured to:
  • the association belongs to the vector corresponding to the courseware.
  • the device for constructing a page set provided in this embodiment can be used to implement the method for constructing a page set provided in the third and fourth embodiments, and has corresponding functions and beneficial effects.
  • FIG. 7 is a schematic structural diagram of an electronic device according to Embodiment 7 of the present invention.
  • the electronic device includes a processor 70, a memory 71, a communication module 72, an input device 73, and an output device 74; the number of processors 70 in the electronic device can be one or more.
  • the processor 70 is taken as an example; the processor 70, the memory 71, the communication module 72, the input device 73, and the output device 74 in the electronic device may be connected by a bus or other methods. In FIG. 7, the connection by a bus is taken as an example.
  • the memory 71 can be used to store software programs, computer-executable programs, and modules, such as a module corresponding to a method for displaying a courseware page in this embodiment (for example, a display device for a courseware page)
  • a module corresponding to a method for displaying a courseware page in this embodiment for example, a display device for a courseware page
  • the memory 71 can be used to store software programs, computer-executable programs, and modules, such as a module corresponding to a method for constructing a page set in this embodiment (for example, a device for constructing a page set)
  • the processor 70 executes various functional applications and data processing of the electronic device by running the software programs, instructions, and modules stored in the memory 71, that is, realizes the above-mentioned method for displaying a courseware page or a method for constructing a page set .
  • the memory 71 may mainly include a program storage area and a data storage area.
  • the program storage area may store an operating system and an application program required by at least one function; the data storage area may store data created according to the use of the electronic device.
  • the memory 71 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other non-volatile solid-state storage devices.
  • the memory 71 may include a memory remotely provided with respect to the processor 70, and these remote memories may be connected to an electronic device through a network. Examples of the above-mentioned network may include the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
  • the communication module 72 is used to establish a connection with the display screen and realize data interaction with the display screen.
  • the input device 73 can be used to receive inputted number or character information, and generate key signal input related to user settings and function control of the electronic device.
  • the electronic device provided in this embodiment can execute a method for displaying a courseware page provided in the first and second embodiments of the present invention or a method for constructing a page set provided in the third and fourth embodiments, correspondingly Functions and beneficial effects.
  • the eighth embodiment of the present invention also provides a storage medium containing computer-executable instructions, which can be used to execute a method for displaying a courseware page when the computer-executable instructions are executed by a computer processor, and the method includes:
  • the courseware including a first courseware page, and the first courseware page including a first courseware element;
  • Determining a first page set for the courseware where the first page set includes an ordered first vector, and each first vector is used to represent the semantics of the first courseware element in each first courseware page;
  • a part of the second courseware page is displayed for the courseware.
  • the computer-executable instructions When executed by a computer processor, they can be used to execute a method for constructing a page set, and the method includes:
  • each courseware includes a courseware page
  • a page set is generated, and the page set contains ordered vectors, and each vector is used to represent the semantics of the courseware elements in each courseware page.
  • a storage medium containing computer-executable instructions provided in an embodiment of the present invention, the computer-executable instructions of which executes the method for displaying a courseware page or the third embodiment provided in the first and second embodiments of the present invention
  • the related operations in the method for constructing a page set provided in the fourth embodiment are not limited to:
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • FLASH Flash memory
  • hard disk or optical disk etc.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • FLASH Flash memory
  • hard disk or optical disk etc., including several instructions to make a computer electronic device (which can be a personal Computers, servers, or network electronic devices, etc.) execute the methods described in the various embodiments of the present application.
  • the units and modules included are only divided according to the functional logic, but are not limited to the above division. As long as the corresponding functions can be realized; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the present application.

Abstract

A courseware page display method and apparatus, a page set construction method and apparatus, a device, and a medium. The courseware page display method comprises: acquiring a courseware (S101); determining a first page set for the courseware (S102), the first page set comprising ordered first vectors, and each first vector being used for representing the semantics of a first courseware element in each first courseware page; acquiring a second page set (S103), the second page set comprising ordered second vectors, and each second vector being used for representing the semantics of a second courseware element in each second courseware page; determining a target page set in the second page set (S104), the target page set comprising ordered target vectors, and the first vectors being similar to the target vectors; and displaying some of second courseware pages of the courseware according to the target page set (S105). The method solves the problem that the effort expended by a teacher when making courseware cannot be reduced due to the fact that courseware pages need to be produced and typeset according to the content of a course.

Description

课件页面的显示及页面集的构造方法、装置、设备和介质Courseware page display and page set construction method, device, equipment and medium
本公开要求在2019年04月18日提交中国专利局、申请号为201910314997.0的中国专利申请的优先权,以上申请的全部内容通过引用结合在本公开中。This disclosure claims the priority of a Chinese patent application filed with the Chinese Patent Office with an application number of 201910314997.0 on April 18, 2019, and the entire content of the above application is incorporated into this disclosure by reference.
技术领域Technical field
本发明实施例涉及信息推送技术,例如涉及一种课件页面的显示及页面集的构造方法、装置、设备和介质。The embodiment of the present invention relates to information push technology, for example, to a method, device, device, and medium for displaying a courseware page and constructing a page set.
背景技术Background technique
在现代化的教学中,老师通常需要使用电子教学课件。电子教学课件可以理解为多媒体课件,是老师用文字、图形、声音、动画、影像等多种媒体素材在时间和空间两方面进行集成,用于辅助教学。In modern teaching, teachers usually need to use e-learning courseware. E-learning courseware can be understood as multimedia courseware, which is the integration of text, graphics, sound, animation, video and other media materials in both time and space by the teacher to assist teaching.
电子课件制作的应用有很多,这些软件会为老师提供丰富的制作工具和教学资源,为老师制作电子课件提供了便利。但是在这种情形下,老师制作电子课件时,仍然需要根据课程的内容进行课件页面的制作和排版。老师需要从网上搜索图片、音频、视频等课件素材,自己手动键入文字,最后对页面中的素材进行位置安排、动画设置等。这样需要老师花费大量精力在制作课件上,极大地浪费了老师的时间。There are many applications for electronic courseware production. These software will provide teachers with a wealth of production tools and teaching resources, and provide convenience for teachers to produce electronic courseware. However, in this situation, when the teacher makes electronic courseware, he still needs to make and typeset the courseware page according to the content of the course. Teachers need to search for pictures, audio, video and other courseware materials from the Internet, manually type in the text by themselves, and finally arrange the position and animation settings of the materials on the page. This requires teachers to spend a lot of energy on making courseware, which greatly wastes teachers' time.
发明内容Summary of the invention
本申请提供一种课件页面的显示及页面集的构造方法、装置、设备和介质,以解决需要根据课程的内容进行课件页面的制作和排版,不能减少老师制作课件的精力的问题。This application provides a method, device, equipment, and medium for displaying courseware pages and page sets, so as to solve the problem that the courseware pages need to be made and typeset according to the content of the course, and the teacher's effort to make courseware cannot be reduced.
第一方面,本发明实施例提供了一种课件页面的显示方法,包括:In the first aspect, an embodiment of the present invention provides a method for displaying a courseware page, including:
获取一课件,所述课件包括第一课件页面,所述第一课件页面包括第一课件元素;Acquiring a courseware, the courseware including a first courseware page, and the first courseware page including a first courseware element;
对所述课件确定第一页面集,所述第一页面集包括有序的第一向量,每个第一向量用于表示每个第一课件页面中第一课件元素的语义;Determining a first page set for the courseware, where the first page set includes an ordered first vector, and each first vector is used to represent the semantics of the first courseware element in each first courseware page;
获取第二页面集,所述第二页面集包括有序的第二向量,每个第二向量用于表示每个第二课件页面中第二课件元素的语义;Acquiring a second page set, where the second page set includes ordered second vectors, and each second vector is used to represent the semantics of the second courseware element in each second courseware page;
在所述第二页面集中确定目标页面集,所述目标页面集包括有序的目标向量, 所述第一向量与所述目标向量之间相似;Determining a target page set in the second page set, the target page set includes an ordered target vector, and the first vector and the target vector are similar;
根据所述目标页面集,对所述课件显示部分第二课件页面。According to the target page set, a part of the second courseware page is displayed for the courseware.
可选地,对所述课件确定第一页面集,包括:Optionally, determining the first page set for the courseware includes:
确定所述课件中每个第一课件页面包含的第一课件元素;Determine the first courseware element contained in each first courseware page in the courseware;
将所述第一课件元素转化为字符串;Converting the first courseware element into a string;
将所述字符串转换为第一向量,所述第一向量用于表示所述字符元素的语义;Converting the character string into a first vector, where the first vector is used to represent the semantics of the character element;
按照所述第一课件页面在所述课件中的顺序,关联所述第一向量。Associate the first vector according to the order of the first courseware page in the courseware.
可选地,所述第一课件元素包括如下的至少一种:Optionally, the first courseware element includes at least one of the following:
文本、公式、图片;Text, formulas, pictures;
将所述第一课件元素转化为字符元素,包括:Converting the first courseware element into character elements includes:
确定所述文本为字符串;Determine that the text is a character string;
和/或,and / or,
按照指定的排版方式将所述公式转换为字符串;Convert the formula into a string according to the specified typesetting method;
和/或,and / or,
将所述图片转换为文字;Convert the picture into text;
确定所述文字为字符串。Determine that the text is a character string.
可选地,所述第一向量与所述目标向量数量相同,位于相同位置的所述第一向量与所述目标向量之间相似。Optionally, the number of the first vector and the target vector is the same, and the first vector and the target vector at the same position are similar.
可选地,在所述第二页面集中确定目标页面集,包括:Optionally, determining a target page set in the second page set includes:
确定第一候选向量与第二候选向量之间的相似度,所述第一候选向量初始为首个第一向量,所述第二候选向量为所述第二页面集中的第二向量;Determining a degree of similarity between a first candidate vector and a second candidate vector, the first candidate vector is initially the first first vector, and the second candidate vector is the second vector in the second page set;
若所述相似度大于预设的阈值,则判断所述第一候选向量之后是否有剩余的第一向量;If the similarity is greater than a preset threshold, determining whether there is a remaining first vector after the first candidate vector;
若是,则将位于所述第一候选向量的第一向量设置为新的第一候选向量,将位于所述第二候选向量的第二向量设置为新的第二候选向量,返回所述确定第一候选向量与第二候选向量之间的相似度;If yes, set the first vector located in the first candidate vector as the new first candidate vector, set the second vector located in the second candidate vector as the new second candidate vector, and return to the determination The similarity between a candidate vector and a second candidate vector;
若否,则确定所有的第二候选向量为目标向量;If not, determine all the second candidate vectors as target vectors;
若所述相似度小于或等于预设的阈值,则选择新的第二向量,作为新的第二候选向量,返回所述确定第一候选向量与第二候选向量之间的相似度。If the similarity is less than or equal to the preset threshold, a new second vector is selected as the new second candidate vector, and the determination of the similarity between the first candidate vector and the second candidate vector is returned.
可选地,根据所述目标页面集,对所述课件显示部分第二课件页面,包括:Optionally, according to the target page set, displaying a part of the second courseware page for the courseware includes:
确定位于所述目标页面集之后的第二向量;Determining a second vector located after the target page set;
显示所述第二向量对应的第二课件页面。The second courseware page corresponding to the second vector is displayed.
可选地,在所述获取一课件之前,还包括:Optionally, before acquiring a courseware, it further includes:
确定第一用户的第一用户属性与操作课件的第一行为数据;Determine the first user attribute of the first user and the first behavior data of the operation courseware;
将所述第一用户属性与所述第一行为数据转换为第一用户特征;Converting the first user attribute and the first behavior data into first user characteristics;
获取第二用户特征,所述第二用户特征用于表征第二用户的第二用户属性与操作课件的第二行为数据;Acquiring a second user characteristic, where the second user characteristic is used to characterize the second user attribute of the second user and the second behavior data of the operation courseware;
若所述第一用户特征与所述第二用户特征相似,则显示所述第二用户的课件。If the first user characteristic is similar to the second user characteristic, the courseware of the second user is displayed.
第二方面,本发明实施例还提供了一种构造页面集的方法,包括:In the second aspect, an embodiment of the present invention also provides a method for constructing a page set, including:
获取课件,每个课件包括课件页面;Obtain courseware, each courseware includes a courseware page;
生成页面集,在所述页面集包含有序的向量,每个向量用于表示每个课件页面中课件元素的语义。A page set is generated, and the page set contains ordered vectors, and each vector is used to represent the semantics of the courseware elements in each courseware page.
可选地,所述生成页面集,包括:Optionally, the generated page set includes:
将所述课件页面包含的课件元素转换为向量;Converting the courseware elements contained in the courseware page into vectors;
按照所述课件页面在所述课件中的顺序,关联属于同一个课件的向量;According to the order of the courseware pages in the courseware, associate vectors belonging to the same courseware;
按照所述课件的顺序,关联属于所述课件对应的向量。According to the order of the courseware, the association belongs to the vector corresponding to the courseware.
第三方面,本发明实施例还提供了一种课件页面的显示装置,包括:In a third aspect, an embodiment of the present invention also provides a display device for a courseware page, including:
第一课件获取模块,被配置为获取一课件,所述课件包括第一课件页面,所述第一课件页面包括第一课件元素;The first courseware acquisition module is configured to acquire a courseware, the courseware includes a first courseware page, and the first courseware page includes a first courseware element;
第一页面集确定模块,被配置为对所述课件确定第一页面集,所述第一页面集包括有序的第一向量,每个第一向量用于表示每个第一课件页面中第一课件元素的语义;The first page set determining module is configured to determine a first page set for the courseware. The first page set includes an ordered first vector, and each first vector is used to represent the first page in each first courseware page. The semantics of a courseware element;
第二页面集获取模块,被配置为获取第二页面集,所述第二页面集包括有序的第二向量,每个第二向量用于表示每个第二课件页面中第二课件元素的语义;The second page set obtaining module is configured to obtain a second page set, the second page set includes an ordered second vector, and each second vector is used to represent the second courseware element in each second courseware page Semantics
目标页面集确定模块,被配置为在所述第二页面集中确定目标页面集,所述目标页面集包括有序的目标向量,所述第一向量与所述目标向量之间相似;A target page set determining module, configured to determine a target page set in the second page set, the target page set includes an ordered target vector, and the first vector is similar to the target vector;
课件页面显示模块,被配置为根据所述目标页面集,对所述课件显示部分第二课件页面。The courseware page display module is configured to display part of the second courseware page for the courseware according to the target page set.
第四方面,本发明实施例还提供了一种构造页面集的装置,包括:In a fourth aspect, an embodiment of the present invention also provides an apparatus for constructing a page set, including:
第二课件获取模块,被配置为获取课件,每个课件包括课件页面;The second courseware acquisition module is configured to acquire courseware, and each courseware includes a courseware page;
页面集生成模块,被配置为生成页面集,在所述页面集包含有序的向量,每个向量用于表示每个课件页面中课件元素的语义。The page set generation module is configured to generate a page set. The page set contains ordered vectors, and each vector is used to represent the semantics of the courseware elements in each courseware page.
第五方面,本发明实施例还提供了一种电子设备,包括:In a fifth aspect, an embodiment of the present invention also provides an electronic device, including:
一个或多个处理器;One or more processors;
存储器,用于存储一个或多个程序;Memory, used to store one or more programs;
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如第一方面所述的一种课件页面的显示方法;When the one or more programs are executed by the one or more processors, the one or more processors implement the method for displaying a courseware page as described in the first aspect;
或者,or,
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如第二方面所述的一种构造页面集的方法。When the one or more programs are executed by the one or more processors, the one or more processors implement the method for constructing a page set as described in the second aspect.
第六方面,本发明实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如第一方面所述的一种课件页面的显示方法;In a sixth aspect, an embodiment of the present invention also provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the method for displaying a courseware page as described in the first aspect is implemented;
或者,or,
实现如第二方面所述的一种构造页面集的方法。A method for constructing a page set as described in the second aspect is implemented.
本申请通过获取一课件;对所述课件确定第一页面集;获取第二页面集;在所述第二页面集中确定目标页面集,所述目标页面集包括有序的目标向量,所述第一向量与所述目标向量之间相似;根据所述目标页面集,对所述课件显示部分第二课件页面。实现了根据当前老师制作的课件页面进行相关课件页面的推送,这样的推送可以预测老师制作的下一张课件页面的内容,老师可以直接从推送的页面中选取课件元素,从而减少了老师制作课件时上网寻找课件元素和键入文字花费的时间。In this application, a courseware is obtained; a first page set is determined for the courseware; a second page set is obtained; a target page set is determined in the second page set, and the target page set includes an ordered target vector. A vector is similar to the target vector; according to the target page set, a part of the second courseware page is displayed for the courseware. Realize the push of related courseware pages based on the courseware page made by the current teacher. Such push can predict the content of the next courseware page made by the teacher. The teacher can directly select the courseware elements from the pushed page, thereby reducing the number of courseware produced by the teacher. Time spent searching online for courseware elements and typing text.
附图说明Description of the drawings
图1为本发明实施例一提供的一种课件页面的显示方法的流程图;FIG. 1 is a flowchart of a method for displaying a courseware page according to Embodiment 1 of the present invention;
图2A为本发明实施例二提供的一种课件页面的显示方法的流程图;2A is a flowchart of a method for displaying a courseware page according to Embodiment 2 of the present invention;
图2B为本发明实施例二提供的根据用户属性课进行件页面的显示方法的流程图;2B is a flowchart of a method for displaying a software page according to a user attribute course according to the second embodiment of the present invention;
图3为本发明实施例三提供的一种构造页面集的方法的流程图;3 is a flowchart of a method for constructing a page set according to Embodiment 3 of the present invention;
图4为本发明实施例四提供的一种构造页面集的方法的流程图;4 is a flowchart of a method for constructing a page set according to Embodiment 4 of the present invention;
图5为本发明实施例五提供的一种课件页面的显示装置的结构图;5 is a structural diagram of a display device for a courseware page provided by Embodiment 5 of the present invention;
图6为本发明实施例六提供的一种构造页面集的装置的结构图;FIG. 6 is a structural diagram of a device for constructing a page set according to Embodiment 6 of the present invention;
图7为本发明实施例七提供的一种电子设备的结构示意图。FIG. 7 is a schematic structural diagram of an electronic device according to Embodiment 7 of the present invention.
具体实施方式detailed description
下面结合附图和实施例对本申请作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本申请,而非对本申请的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本申请相关的部分而非全部结构。The application will be further described in detail below with reference to the drawings and embodiments. It is understandable that the specific embodiments described here are only used to explain the application, but not to limit the application. In addition, it should be noted that, for ease of description, the drawings only show a part of the structure related to the present application instead of all of the structure.
实施例一Example one
图1为本发明实施例一提供的一种课件页面的显示方法的流程图。本实施例可适用于根据用户输入的第一页面集、从第二页面集中确定目标页面集并根据目标页面集进行推送的场景。该方法可以由一种课件页面的显示装置来执行,该装置可以由软件和/或硬件的方式实现,通常配置于电子设备中,典型的是设置在处理器中。参考图1,该方法可以包括:FIG. 1 is a flowchart of a method for displaying a courseware page according to Embodiment 1 of the present invention. This embodiment is applicable to a scenario where the target page set is determined from the second page set according to the first page set input by the user, and the target page set is pushed according to the target page set. The method can be executed by a display device of a courseware page, which can be implemented by software and/or hardware, and is usually configured in an electronic device, typically in a processor. Referring to Figure 1, the method may include:
S101、获取一课件。S101. Obtain a courseware.
课件是根据教学大纲的要求,经过教学目标确定,教学内容和任务分析,教学活动结构及界面设计等环节,而加以制作的课程软件。它与课程内容有着直接联系。课件是以多种媒体的表现方式和超文本结构制作而成的课程软件。Courseware is based on the requirements of the teaching syllabus, through the determination of teaching objectives, teaching content and task analysis, teaching activity structure and interface design and other links, and to make course software. It is directly related to the content of the course. Courseware is a course software made with a variety of media expression methods and hypertext structure.
做课件的软件一般有PPT和Flash:PPT即powerpoint,office办公系统中的一种软件。类似幻灯片的制作方式,可导入图片、声音、动画、视频,可打上文本,上手快,转场效果多,文字和图片呈现方式自主控制。但画面稍呆板,交互控制稍单一。Flash原为动画制作软件,可导入图片、声音、视频,可在软件中输入文本,可在软件中对图片、视频、声音进行加工、处理,上手慢,需要一定的操作技术。但画面灵活,交互控制灵活。The software for making courseware generally includes PPT and Flash: PPT is powerpoint, a kind of software in the office system. It is similar to the production method of a slideshow, which can import pictures, sounds, animations, videos, type text, get started quickly, have many transition effects, and control the presentation of text and pictures independently. But the screen is a bit dull, and the interactive control is a bit single. Flash was originally an animation software, which can import pictures, sounds, and videos, and input text in the software, and can process and process pictures, videos, and sounds in the software. It is slow to get started and requires certain operating skills. But the screen is flexible and interactive control is flexible.
在一可能的实施方式中,课件由多张课件页面组成,而课件页面由课件元素组成。课件元素是一张课件页面包括的各种元素,课件元素可以包括:文本、公式、图片、音频、视频。In a possible implementation, the courseware is composed of multiple courseware pages, and the courseware page is composed of courseware elements. Courseware elements are various elements included in a courseware page. Courseware elements can include: text, formulas, pictures, audio, and video.
在一可能的实施方式中,是在编辑中的状态,对推荐课件的频次进行设置。可以理解为超过某个阈值则开始对课件进行推送。在超过阈值之后可以是每编辑一定量的页面,就推荐一次,随着编辑的页面越多,推荐的精度就越高。In a possible implementation manner, the frequency of recommended courseware is set in the state of editing. It can be understood that when a certain threshold is exceeded, the courseware will be pushed. After the threshold is exceeded, it may be recommended every time a certain amount of pages are edited. As more pages are edited, the accuracy of the recommendation is higher.
在一可能的实施方式中,根据用户正在编辑的课件页面,确定与该课件页面相关的其他课件页面,将这多个课件页面组合为用户正在编辑的课件。用户可能同时打开多个课件进行编辑。则需要区分不同的课件包括的课件页面。In a possible implementation manner, according to the courseware page being edited by the user, other courseware pages related to the courseware page are determined, and these multiple courseware pages are combined into the courseware being edited by the user. The user may open multiple courseware for editing at the same time. You need to distinguish the courseware pages included in different courseware.
S102、对所述课件确定第一页面集。S102. Determine a first page set for the courseware.
在一可能的实施方式中,第一页面集是对课件所包括的课件页面的抽象化的表示,一般页面集是有序向量的集合,有序是指顺序或者逆序。页面集中集合的顺序与课件中课件页面的顺序相同,向量则表示该顺序对应的课件页面中的课件元素。第一页面集中通过第一向量则表示对应的第一课件页面中的第一课件元素。此步骤中的第一页面集与后续的第二页面集均为有序向量组成的集合,由于应用场景不同而区分为第一页面集与第二页面集。In a possible implementation, the first page set is an abstract representation of the courseware pages included in the courseware. Generally, the page set is a set of ordered vectors, and the order refers to the order or the reverse order. The order of the collection in the page set is the same as the order of the courseware pages in the courseware, and the vector represents the courseware elements in the courseware page corresponding to this order. The first vector in the first page set indicates the first courseware element in the corresponding first courseware page. The first page set and the subsequent second page set in this step are both sets composed of ordered vectors, which are divided into the first page set and the second page set due to different application scenarios.
在一可能的实施方式中,使用向量表示其(顺序)对应的课件页面的页面元素的语义信息。In a possible implementation manner, a vector is used to represent the semantic information of the page elements of the corresponding courseware page (sequence).
对于每一个课件页面,可以进行如下至少一种处理:For each courseware page, you can perform at least one of the following processing:
将文本直接进行向量处理;将公式直接转换成半结构化字符串,对字符串进行向量处理;对图片进行图像识别,获得描述图片内容的文字,将文字进行向量处理;对音频进行语音识别,获得音频对应的文字内容,将文字进行向量处理;对视频按照预设的时间间隔截取关键帧画面,对关键帧画面进行图像识别,获得描述图片内容的文字,将文字进行向量处理,等等。Directly perform vector processing on text; directly convert formulas into semi-structured strings, perform vector processing on strings; perform image recognition on pictures to obtain text describing the content of the picture, perform vector processing on text; perform voice recognition on audio, Obtain the text content corresponding to the audio and perform vector processing on the text; intercept the key frame images of the video at a preset time interval, perform image recognition on the key frame images, obtain text describing the content of the picture, perform vector processing on the text, and so on.
S103、获取第二页面集。S103. Obtain a second page set.
在一可能的实施方式中,第二页面集为预先设置的有序向量的集合。In a possible implementation, the second page set is a preset ordered vector set.
第二页面集中通过第二向量则表示对应的第二课件页面中的第二课件元素。在一可能的实施方式中,预先将已制作好的课件中的课件页面转换为向量,从而构成第二页面集。The second vector in the second page set indicates the second courseware element in the corresponding second courseware page. In a possible implementation, the courseware pages in the prepared courseware are converted into vectors in advance to form the second page set.
该课件通常为一些优秀的课件,优秀的课件主要来源:组织教师进行编制;教师自己上传并评估为优秀的课件。将这些优秀课件存放到第二页面集中,将第二页面集中所有课件分解为单页,并按照序列标记。如第一份课件有8页,按照课件中每一页的顺序编号为1、2、3、.......、8;第二份课件有9页,按照文件中每一个的顺序编号为9、10、11、......、17,如此类推到所有课件。当然,如第一份课件有8页,按照课件中每一页的顺序编号为1-1、1-2、1-3、.......、1-8;第二份课件有9页,按照文件中每一个的顺序编号为2-1、2-1、……2-9,如此类推到所有课件。在一可能的实施方式中,可以对第二页面集中的课件进行预处理,如删除结尾的“谢谢观赏”、“请提问”等通用素材的内容。The courseware is usually some excellent courseware. The main source of excellent courseware: organize teachers to prepare; teachers upload and evaluate it as excellent courseware. Store these excellent courseware in the second page set, decompose all the courseware in the second page set into single pages, and mark them in sequence. For example, the first courseware has 8 pages, numbered as 1, 2, 3,..., 8 in the order of each page in the courseware; the second courseware has 9 pages, in the order of each page in the document The numbers are 9, 10, 11,..., 17, and so on to all courseware. Of course, if the first courseware has 8 pages, number them in the order of each page in the courseware as 1-1, 1-2, 1-3,..., 1-8; the second courseware has 9 pages, numbered 2-1, 2-1, ... 2-9 in the order of each of the files, and so on to all courseware. In a possible implementation manner, the courseware in the second page set can be preprocessed, such as deleting the ending "Thank you for watching", "Please ask questions" and other general materials.
S104、在所述第二页面集中确定目标页面集。S104: Determine a target page set in the second page set.
在一可能的实施方式中,从第二页面集中筛选出几个连续的第二向量作为目标向量,当然,筛选的条件为第一向量与目标向量之间相似。In a possible implementation, several consecutive second vectors are selected from the second page set as the target vector. Of course, the condition of the selection is that the first vector and the target vector are similar.
在一可能的实施方式中,第一向量与目标向量的向量个数相同。此时将第一向量与目标向量之间按照顺序一一进行比对,获得每两个向量之间的相似度,当每个相似度均超过某一阈值时,认为第一向量与目标向量之间相似。当然,也可以是的对该相似度取均值,当均值超过某一阈值时,认为第一向量与目标向量之间相似。当然,也可以将第一向量构成的整体与目标向量构成的整体进行比对,获得整体相似度,当整体相似度超过某一阈值时,认为第一向量与目标向量之间相似。In a possible implementation, the number of the first vector and the target vector are the same. At this time, the first vector and the target vector are compared one by one in order to obtain the similarity between each two vectors. When each similarity exceeds a certain threshold, it is considered that the first vector and the target vector are different Similar to each other. Of course, the similarity can also be averaged, and when the average value exceeds a certain threshold, it is considered that the first vector and the target vector are similar. Of course, it is also possible to compare the whole formed by the first vector with the whole formed by the target vector to obtain the overall similarity. When the overall similarity exceeds a certain threshold, it is considered that the first vector and the target vector are similar.
在一可能的实施方式中,第一向量与目标向量的向量个数不相同。可以将第一向量构成的整体与目标向量构成的整体进行比对,获得整体相似度,当整体相似度超过某一阈值时,认为第一向量与目标向量之间相似。In a possible implementation, the number of the first vector and the target vector are different. The whole formed by the first vector can be compared with the whole formed by the target vector to obtain the overall similarity. When the overall similarity exceeds a certain threshold, the first vector and the target vector are considered to be similar.
S105、根据所述目标页面集,对所述课件显示部分第二课件页面。S105. According to the target page set, display a part of the second courseware page for the courseware.
目标页面集是第二页面集中一部分连贯的课件页面。当确定目标页面集后,表明用户在制作和目标页面集对应的课件相似的课件。因此将目标页面集后的一张或多张课件页面推送给用户进行显示。The target page set is a part of the coherent courseware pages in the second page set. When the target page set is determined, it indicates that the user is making courseware similar to the courseware corresponding to the target page set. Therefore, one or more courseware pages after the target page set are pushed to the user for display.
在一可能的实施方式中,可以对目标页面集后的一张或多张课件页面进行课件判断,当对目标页面集与对目标页面集后一张或多张课件页面同属于一个课件时,才将目标页面集后的一张或多张课件页面推送给用户进行显示。In a possible implementation manner, one or more courseware pages after the target page set can be judged as a courseware. When the target page set and one or more courseware pages after the target page set belong to the same courseware, Then one or more courseware pages after the target page set are pushed to the user for display.
本申请通过获取一课件;对所述课件确定第一页面集;获取第二页面集;在所述第二页面集中确定目标页面集,所述目标页面集包括有序的目标向量,所述第一向量与所述目标向量之间相似;根据所述目标页面集,对所述课件显示部分第二课件页面。实现了根据当前老师制作的课件页面进行相关课件页面的推送,这样的推送可以预测老师制作的下一张课件页面的内容,老师可以直接从推送的页面中选取课件元素,从而减少了老师制作课件时上网寻找课件元素和键入文字花费的时间。In this application, a courseware is obtained; a first page set is determined for the courseware; a second page set is obtained; a target page set is determined in the second page set, and the target page set includes an ordered target vector. A vector is similar to the target vector; according to the target page set, a part of the second courseware page is displayed for the courseware. Realize the push of related courseware pages based on the courseware page made by the current teacher. Such push can predict the content of the next courseware page made by the teacher. The teacher can directly select the courseware elements from the pushed page, thereby reducing the number of courseware produced by the teacher Time spent searching online for courseware elements and typing text.
实施例二Example two
图2A为本发明实施例二提供的一种课件页面的显示方法的流程图。本实施例是在实施例一的基础上进行的细化,详细描述了对所述课件确定第一页面集以及在所述第二页面集中确定目标页面集的方法。参考图2A,该方法可以包括:Fig. 2A is a flowchart of a method for displaying a courseware page according to the second embodiment of the present invention. This embodiment is a refinement based on the first embodiment, and describes in detail the method of determining the first page set for the courseware and determining the target page set in the second page set. Referring to FIG. 2A, the method may include:
S201、获取一课件。S201. Obtain a courseware.
获取用户正在编辑的课件。Get the courseware that the user is editing.
在一可能的实施方式中,用户打开多个课件,则获取该多个课件。In a possible implementation manner, if the user opens multiple courseware, the multiple courseware is acquired.
在一可能的实施方式中,当用户发出推送指令时才针对用户发起推送指令的课件进行获取操作。In a possible implementation manner, the acquisition operation is performed for the courseware for which the user initiates the push instruction only when the user sends the push instruction.
S202、确定所述课件中每个第一课件页面包含的第一课件元素。S202: Determine the first courseware element contained in each first courseware page in the courseware.
第一课件页面为步骤S201中获取的课件包括的课件页面。此时可以使用第一课件元素表示第一课件页面的内容。The first courseware page is the courseware page included in the courseware obtained in step S201. At this time, the first courseware element can be used to represent the content of the first courseware page.
第一课件页面与第二课件页面均为课件页面,为了便于描述而将从用户端获取到的课件页面命名为第一课件页面,将用于推送/匹配的第二页面集中的课件页面命名为第二课件页面。The first courseware page and the second courseware page are both courseware pages. For ease of description, the courseware page obtained from the user terminal is named the first courseware page, and the courseware page in the second page set used for push/matching is named The second courseware page.
在一可能的实施方式中,为了减少对计算机性能的要求,可以仅仅从第一课件页面中确定文本、公式和图片作为第一课件元素。In a possible implementation manner, in order to reduce the requirements for computer performance, text, formulas, and pictures may be determined as the first courseware elements only from the first courseware page.
S203、将所述第一课件元素转化为字符串。S203: Convert the first courseware element into a character string.
第一课件元素包括不同的种类,因此需要将第一课件元素统一为一种表现形式。此时可以使用字符串表示第一课件页面的内容。The first courseware element includes different types, so the first courseware element needs to be unified into one form of expression. At this time, a string can be used to represent the content of the first courseware page.
在一可能的实施方式中,将第一课件元素转化为字符元素。若第一课件元素为文本,则直接确定该文本为字符串;若第一课件元素为公式,则按照指定的排版方式将公式转换为字符串;若第一课件元素为图片,则通过图像识别技术将该图片转换为文字,再确定该文字为字符串。通过该方法可以对课程页面的内容有同一的评判标准,使得本方法具有更强的实用性。In a possible implementation, the first courseware element is converted into a character element. If the first courseware element is text, the text is directly determined as a string; if the first courseware element is a formula, the formula will be converted to a string according to the specified typesetting; if the first courseware element is a picture, it will be recognized by image The technology converts the image into text, and then determines the text as a string. This method can have the same evaluation standard for the content of the course page, making this method more practical.
其中,对于公式而言,一般会采用公式编辑器及拉泰赫(Latex)格式,所以可以将公式直接转换成Latex半结构化字符串。如统计学公式:
Figure PCTCN2019123246-appb-000001
转为:\frac{n!}{r!(n-r)!}。如化学方程式:
Figure PCTCN2019123246-appb-000002
转为:2H_2+O_2\xrightarrow{n,m}2H_2O。
Among them, for formulas, formula editors and Latex format are generally used, so formulas can be directly converted into Latex semi-structured strings. Such as statistical formula:
Figure PCTCN2019123246-appb-000001
Turn to: \frac{n! }{r! (nr)! }. Such as chemical equation:
Figure PCTCN2019123246-appb-000002
Turn to: 2H_2+O_2\xrightarrow{n,m}2H_2O.
S204、将所述字符串转换为第一向量。S204. Convert the character string into a first vector.
此时可以使用第一向量表示第一课件页面的内容。目前刻画第一课件页的第一课件元素都字符串形态,将一页课件页面中所有字符串统一转为向量元素,并将该向量元素命名为第一向量。这里的第一向量与后续的第二向量都是描述一页课件页面的向量元素,是为了便于描述而在命名上做了区分。At this time, the first vector can be used to represent the content of the first courseware page. At present, the first courseware elements that portray the first courseware page are all in the form of strings. All strings in a courseware page are unified into vector elements, and the vector elements are named the first vector. The first vector and the subsequent second vector here are all vector elements describing one page of courseware pages, and they are distinguished in naming for ease of description.
在一可能的实施方式中,将该字符串输入至BERT(Bidirectional Encoder  Representation from Transformers,基于Transformer的双向编码器)模型来提取字符串的语义特征。提取后的语义特征就是这里的第一向量。In a possible implementation manner, the character string is input into a BERT (Bidirectional Encoder Representation from Transformers) model to extract the semantic features of the character string. The extracted semantic feature is the first vector here.
S205、按照所述第一课件页面在所述课件中的顺序,关联所述第一向量。S205: Associate the first vector according to the order of the first courseware page in the courseware.
由于第一向量是用来描述课件中的第一课件页面的,因此按照第一课件页面在课件中的顺序,关联第一向量,使得第一向量组合为有序的向量串。使用有序向量是为了提高课程页面推送的准确性。若使用无序向量,即使在第二页面集中确定课程页面,也无法完成预测老师下一张课件页面的目的。Since the first vector is used to describe the first courseware page in the courseware, the first vector is associated according to the order of the first courseware page in the courseware, so that the first vector is combined into an ordered vector string. The order vector is used to improve the accuracy of course page push. If an unordered vector is used, even if the course page is determined in the second page set, the purpose of predicting the next courseware page of the teacher cannot be fulfilled.
S206、获取第二页面集。S206. Obtain a second page set.
S207、确定第一候选向量与第二候选向量之间的相似度。S207. Determine the similarity between the first candidate vector and the second candidate vector.
S208、判断所述相似度是否大于预设的阈值。若是,则执行步骤S209;若否,则执行步骤S211。S208: Determine whether the similarity is greater than a preset threshold. If yes, go to step S209; if not, go to step S211.
S209、判断第一候选向量之后是否有剩余的第一向量。若是,则执行步骤S210;若否,则执行步骤S212。S209: Determine whether there is a remaining first vector after the first candidate vector. If yes, go to step S210; if not, go to step S212.
S210、将位于所述第一候选向量的第一向量设置为新的第一候选向量,将位于所述第二候选向量的第二向量设置为新的第二候选向量。并返回执行步骤S207。S210. Set a first vector located in the first candidate vector as a new first candidate vector, and set a second vector located in the second candidate vector as a new second candidate vector. And return to step S207.
S211、选择新的第二向量,作为新的第二候选向量。并返回执行步骤S207。S211. Select a new second vector as a new second candidate vector. And return to step S207.
S212、确定所有的第二候选向量为目标向量。S212. Determine all second candidate vectors as target vectors.
在一可能的实施方式中,将第一页面集中的第一个第一向量确定为第一候选向量。将第二页面集中的某一个向量确定为第二候选向量,该第二候选向量是与第一候选向量进行比对的第二向量。比较第一候选向量与第二候选向量之间的相似度。In a possible implementation manner, the first first vector in the first page set is determined as the first candidate vector. A certain vector in the second page set is determined as a second candidate vector, and the second candidate vector is a second vector compared with the first candidate vector. Compare the similarity between the first candidate vector and the second candidate vector.
如果相似度大于预先设定的阈值,则说明第一候选向量代表的第一课件页面与明第二候选向量代表的第二课件页面相似。此时继续比较第一页面集中、第一候选向量的下一个第一向量与第二页面集中、第二候选向量的下一个第二向量。为了便于描述,将第一页面集中、第一候选向量的下一个第一向量确定为第一候选向量,将第二页面集中、第二候选向量的下一个第二向量确定为第二候选向量,继续进行比较。若后续比较中出现相似度小于预先设定的阈值的情况,则重新确定新的第二候选向量,并从头开始对第一页面集进行比较。若后续比较中没有出现相似度小于预先设定的阈值的情况,则确定所有的第二候选向量为目标向量。If the similarity is greater than the preset threshold, it means that the first courseware page represented by the first candidate vector is similar to the second courseware page represented by the second candidate vector. At this time, continue to compare the next first vector of the first candidate vector in the first page set with the next second vector of the second candidate vector in the second page set. For ease of description, the next first vector of the first candidate vector in the first page set is determined as the first candidate vector, and the next second vector of the second candidate vector in the second page set is determined as the second candidate vector, Continue to compare. If the similarity is less than the preset threshold in the subsequent comparison, the new second candidate vector is determined again, and the first page set is compared from the beginning. If there is no situation in which the similarity is less than the preset threshold in the subsequent comparison, it is determined that all the second candidate vectors are target vectors.
如果相似度小于预先设定的阈值,则说明第一候选向量代表的第一课件页面与明第二候选向量代表的第二课件页面不相似。将第二页面集中、第二候选向量的下一个第二向量,作为新的第二候选向量。继续进行比较。If the similarity is less than the preset threshold, it means that the first courseware page represented by the first candidate vector is not similar to the second courseware page represented by the second candidate vector. Take the second vector next to the second candidate vector in the second page set as the new second candidate vector. Continue to compare.
一般的,通过余弦相似度来确定两个向量之间的相似度,即通过计算两个向量的夹角余弦值来评估他们的相似度。Generally, the cosine similarity is used to determine the similarity between two vectors, that is, the cosine of the angle between the two vectors is calculated to evaluate their similarity.
S213、根据所述目标页面集,对所述课件显示部分第二课件页面。S213: According to the target page set, display a part of the second courseware page for the courseware.
在一可能的实施方式中,根据确定出的目标页面集,将该目标页面集对应的第二页面集中的第二课件页面进行显示,以方便用户进行格式或编排的借鉴学习。In a possible implementation manner, according to the determined target page set, the second courseware page in the second page set corresponding to the target page set is displayed, so as to facilitate the user to learn from the format or layout.
在一可能的实施方式中,根据确定出的目标页面集,将该目标页面集对应的第二页面集中的后续几张第二课件页面进行显示,以节约用户后续内容的输入的时间。In a possible implementation manner, according to the determined target page set, subsequent second courseware pages in the second page set corresponding to the target page set are displayed, so as to save the user's time for inputting subsequent content.
在上述实施例的基上,图2B为本发明实施例二提供的根据用户属性课进行件页面的显示方法的流程图。参考图2B,该方法包括:Based on the foregoing embodiment, FIG. 2B is a flowchart of a method for displaying a software page according to a user attribute course according to the second embodiment of the present invention. Referring to Figure 2B, the method includes:
S220、确定第一用户的第一用户属性与操作课件的第一行为数据;S221、将所述第一用户属性与所述第一行为数据转换为第一用户特征;S222、获取第二用户特征,所述第二用户特征用于表征第二用户的第二用户属性与操作课件的第二行为数据;S223、若所述第一用户特征与所述第二用户特征相似,则显示所述第二用户的课件。S220. Determine the first user attribute of the first user and the first behavior data of the operating courseware; S221. Convert the first user attribute and the first behavior data into first user characteristics; S222. Acquire second user characteristics , The second user characteristic is used to characterize the second user attribute of the second user and the second behavior data of the operating courseware; S223, if the first user characteristic is similar to the second user characteristic, display the first user characteristic 2. The user's courseware.
在一可能的实施方式中,第一用户与第二用户均为用户,第一用户是正在编辑课件的用户,第二用户为数据库中存储的用户。用户属性为用户第一次使用电子课件制作软件前会注册基本信息,包括学科、学段、年龄、性别等信息。第一用户信息为正在编辑课件的用户的用户信息,第二用户信息为数据库中存储的用户的用户信息。行为数据为用户进行操作是产生的数据,包括按钮点击、菜单拉选、编辑内容、停留时长等。综合这些特征,通过机器学习分类模型可以预测出用户的偏好。偏好主要分两类:一类是课件内容,包括文本、语音、视频、图片、表格、动画、游戏等构成课件内容的组成部分;另一类是课件风格,如颜色、字体、元素、形状、排版等。In a possible implementation manner, the first user and the second user are both users, the first user is a user who is editing courseware, and the second user is a user stored in a database. User attributes are the basic information that the user will register before using the electronic courseware production software for the first time, including information such as subject, school period, age, and gender. The first user information is the user information of the user who is editing the courseware, and the second user information is the user information of the user stored in the database. Behavioral data is the data generated by the user's operations, including button clicks, menu selection, editing content, stay time, etc. Combining these characteristics, the user's preferences can be predicted through the machine learning classification model. Preferences are mainly divided into two categories: one is the content of the courseware, including text, voice, video, pictures, tables, animations, games, etc., which form part of the content of the courseware; the other is the style of the courseware, such as colors, fonts, elements, shapes, Typesetting, etc.
在一可能的实施方式中,计算第一用户与第二用户之间用户属性和行为数据的相似度,如果相似度高,则在将第二用户的素材推荐给第一用户。如第一用户是英语学科、喜欢清淡风格的素材的用户,则将相似度高的第二用户的素材 直接推荐给第一用户。这个第二用户可能也是英语学科或也喜欢清淡风格。In a possible implementation manner, the similarity of user attributes and behavior data between the first user and the second user is calculated, and if the similarity is high, the material of the second user is being recommended to the first user. If the first user is a user who is an English major and who likes materials with a light style, the materials of the second user with high similarity are directly recommended to the first user. This second user may also be an English subject or also like a light style.
本申请通过获取一课件;对所述课件确定第一页面集;获取第二页面集;在所述第二页面集中确定目标页面集,所述目标页面集包括有序的目标向量,所述第一向量与所述目标向量之间相似;根据所述目标页面集,对所述课件显示部分第二课件页面。实现了根据当前老师制作的课件页面进行相关课件页面的推送,这样的推送可以预测老师制作的下一张课件页面的内容,老师可以直接从推送的页面中选取课件元素,从而减少了老师制作课件时上网寻找课件元素和键入文字花费的时间。In this application, a courseware is obtained; a first page set is determined for the courseware; a second page set is obtained; a target page set is determined in the second page set, and the target page set includes an ordered target vector. A vector is similar to the target vector; according to the target page set, a part of the second courseware page is displayed for the courseware. Realize the push of related courseware pages based on the courseware page made by the current teacher. Such push can predict the content of the next courseware page made by the teacher. The teacher can directly select the courseware elements from the pushed page, thereby reducing the number of courseware produced by the teacher Time spent searching online for courseware elements and typing text.
实施例三Example three
图3为本发明实施例三提供的一种构造页面集的方法的流程图。本实施例可适用于根据获取到的页面生成有序向量,并用有序向量构建页面集的场景。该方法可以由一种构造页面集的装置来执行,该装置可以由软件和/或硬件的方式实现,通常配置于电子设备中,典型的是设置在处理器中。参考图3,该方法可以包括:FIG. 3 is a flowchart of a method for constructing a page set according to Embodiment 3 of the present invention. This embodiment is applicable to a scenario where an ordered vector is generated according to the acquired pages, and the ordered vector is used to construct a page set. The method can be executed by a device for constructing a page set, which can be implemented by software and/or hardware, and is usually configured in an electronic device, typically in a processor. Referring to Figure 3, the method may include:
S301、获取课件。S301. Obtain the courseware.
课件包括课件页面。The courseware includes the courseware page.
在一可能的实施方式中,将优秀的课件构成第二页面集。优秀的课件主要来源:组织名校名师编制;教师自己上传并评估为优秀的课件。In a possible implementation, the excellent courseware constitutes the second page set. The main sources of excellent courseware: organize the preparation of famous teachers from famous schools; teachers upload and evaluate them as excellent courseware.
S302、生成页面集。S302. Generate a page set.
页面集包含有序的向量,每个向量用于表示每个课件页面中课件元素的语义。The page set contains ordered vectors, and each vector is used to represent the semantics of the courseware elements in each courseware page.
在一可能的实施方式中,使用向量表示课件页面的页面元素的语义信息。可以理解为:将文本直接进行向量处理;将公式直接转换成半结构化字符串,对字符串进行向量处理;对图片进行图像识别,获得描述图片内容的文字,将文字进行向量处理;对音频进行语音识别,获得音频对应的文字内容,将文字进行向量处理;对视频按照预设的时间间隔截取关键帧画面,对关键帧画面进行图像识别,获得描述图片内容的文字,将文字进行向量处理。In a possible implementation manner, a vector is used to represent the semantic information of the page element of the courseware page. It can be understood as: direct vector processing of text; direct conversion of formulas into semi-structured strings and vector processing of strings; image recognition of pictures to obtain text describing the content of the picture, and vector processing of text; audio Perform voice recognition to obtain the text content corresponding to the audio, and perform vector processing on the text; intercept key frame images of the video at preset time intervals, perform image recognition on the key frame images, obtain text describing the content of the picture, and perform vector processing on the text .
在一可能的实施方式中,将这些优秀课件存放到页面集中,将页面集中所有课件分解为单页,并按照序列标记。如第一份课件有8页,按照课件中每一页的顺序编号为1、2、3、.......、8;第二份课件有9页,按照文件中每一个的顺序编号为9、10、11、......、17,如此类推到所有课件。当然,如第一份课件有 8页,按照课件中每一页的顺序编号为1-1、1-2、1-3、.......、1-8;第二份课件有9页,按照文件中每一个的顺序编号为2-1、2-1、……2-9,如此类推到所有课件。在一可能的实施方式中,可以对第二页面集中的课件进行预处理,如删除结尾的“谢谢观赏”、“请提问”等通用素材的内容。In a possible implementation manner, these excellent courseware are stored in a page set, and all the courseware in the page set are decomposed into single pages and marked in sequence. For example, the first courseware has 8 pages, numbered as 1, 2, 3,..., 8 in the order of each page in the courseware; the second courseware has 9 pages, in the order of each page in the document The numbers are 9, 10, 11,..., 17, and so on to all courseware. Of course, if the first courseware has 8 pages, number them in the order of each page in the courseware as 1-1, 1-2, 1-3,..., 1-8; the second courseware has 9 pages, numbered 2-1, 2-1, ... 2-9 in the order of each of the files, and so on to all courseware. In a possible implementation manner, the courseware in the second page set can be preprocessed, such as deleting the ending "Thank you for watching", "Please ask questions" and other general materials.
本申请通过获取一课件;对所述课件确定第一页面集;获取第二页面集;在所述第二页面集中确定目标页面集,所述目标页面集包括有序的目标向量,所述第一向量与所述目标向量之间相似;根据所述目标页面集,对所述课件显示部分第二课件页面。实现了根据当前老师制作的课件页面进行相关课件页面的推送,这样的推送可以预测老师制作的下一张课件页面的内容,老师可以直接从推送的页面中选取课件元素,从而减少了老师制作课件时上网寻找课件元素和键入文字花费的时间。In this application, a courseware is obtained; a first page set is determined for the courseware; a second page set is obtained; a target page set is determined in the second page set, and the target page set includes an ordered target vector. A vector is similar to the target vector; according to the target page set, a part of the second courseware page is displayed for the courseware. Realize the push of related courseware pages based on the courseware page made by the current teacher. Such push can predict the content of the next courseware page made by the teacher. The teacher can directly select the courseware elements from the pushed page, thereby reducing the number of courseware produced by the teacher Time spent searching online for courseware elements and typing text.
实施例四Example four
图4为本发明实施例四提供的一种构造页面集的方法的流程图。本实施例是在实施例三的基础上进行的细化,详细描述了生成页面集的方法。参考图4,该方法可以包括:FIG. 4 is a flowchart of a method for constructing a page set according to Embodiment 4 of the present invention. This embodiment is refined on the basis of the third embodiment, and describes in detail the method of generating the page set. Referring to Figure 4, the method may include:
S401、获取课件。S401. Obtain courseware.
S402、将所述课件页面包含的课件元素转换为向量。S402: Convert the courseware elements contained in the courseware page into vectors.
在一可能的实施方式中,首先确定所述课件页面包括的课件元素,为了减少对计算机性能的要求,可以仅仅从课件页面中确定文本、公式和图片作为课件元素。由于课件元素包括不同的种类,因此需要将课件元素统一为一种表现形式。此时可以使用字符串表示课件页面的内容。再将字符串转换为向量。In a possible implementation manner, first determine the courseware elements included in the courseware page. In order to reduce the requirements for computer performance, only text, formulas and pictures can be determined from the courseware page as the courseware elements. Since the courseware elements include different types, it is necessary to unify the courseware elements into one form of expression. At this time, you can use a string to represent the content of the courseware page. Then convert the string to a vector.
在一可能的实施方式中,将第一课件元素转化为字符元素。若第一课件元素为文本,则直接确定该文本为字符串;若第一课件元素为公式,则按照指定的排版方式将公式转换为字符串;若第一课件元素为图片,则通过图像识别技术将该图片转换为文字,再确定该文字为字符串。In a possible implementation, the first courseware element is converted into a character element. If the first courseware element is text, the text is directly determined as a string; if the first courseware element is a formula, the formula will be converted to a string according to the specified typesetting; if the first courseware element is a picture, it will be recognized by image The technology converts the image into text, and then determines the text as a string.
S403、按照所述课件页面在所述课件中的顺序,关联属于同一个课件的向量。S403: Associate vectors belonging to the same courseware according to the order of the courseware pages in the courseware.
由于向量是用来描述课件中的课件页面的,因此按照课件页面在课件中的顺序,关联向量,使得向量组合为有序的向量串。Since vectors are used to describe the courseware pages in the courseware, according to the order of the courseware pages in the courseware, the vectors are associated, so that the vectors are combined into an ordered vector string.
S404、按照所述课件的顺序,关联属于所述课件对应的向量。S404: According to the order of the courseware, associate the vectors corresponding to the courseware.
由于页面集中包括多个课件,因此在课件与课件之间也具有顺序关系。向量 的编号可以参考步骤S302中对页面进行编号的方式。Since the page set includes multiple courseware, there is also a sequential relationship between the courseware and the courseware. The vector numbering can refer to the way of numbering pages in step S302.
本申请通过获取一课件;对所述课件确定第一页面集;获取第二页面集;在所述第二页面集中确定目标页面集,所述目标页面集包括有序的目标向量,所述第一向量与所述目标向量之间相似;根据所述目标页面集,对所述课件显示部分第二课件页面。实现了根据当前老师制作的课件页面进行相关课件页面的推送,这样的推送可以预测老师制作的下一张课件页面的内容,老师可以直接从推送的页面中选取课件元素,从而减少了老师制作课件时上网寻找课件元素和键入文字花费的时间。In this application, a courseware is obtained; a first page set is determined for the courseware; a second page set is obtained; a target page set is determined in the second page set, and the target page set includes an ordered target vector. A vector is similar to the target vector; according to the target page set, a part of the second courseware page is displayed for the courseware. Realize the push of related courseware pages based on the courseware page made by the current teacher. Such push can predict the content of the next courseware page made by the teacher. The teacher can directly select the courseware elements from the pushed page, thereby reducing the number of courseware produced by the teacher Time spent searching online for courseware elements and typing text.
实施例五Example five
图5为本发明实施例五提供的一种课件页面的显示装置的结构图。包括:第一课件获取模块51、第一页面集确定模块52、第二页面集获取模块53、目标页面集确定模块54和课件页面显示模块55。其中:FIG. 5 is a structural diagram of a display device for a courseware page provided by Embodiment 5 of the present invention. It includes: a first courseware acquisition module 51, a first page set determination module 52, a second page set acquisition module 53, a target page set determination module 54 and a courseware page display module 55. among them:
第一课件获取模块51,用于获取一课件,所述课件包括第一课件页面,所述第一课件页面包括第一课件元素;The first courseware obtaining module 51 is configured to obtain a courseware, the courseware includes a first courseware page, and the first courseware page includes a first courseware element;
第一页面集确定模块52,用于对所述课件确定第一页面集,所述第一页面集包括有序的第一向量,每个第一向量用于表示每个第一课件页面中第一课件元素的语义;The first page set determining module 52 is configured to determine a first page set for the courseware. The first page set includes an ordered first vector, and each first vector is used to represent the first page in each first courseware page. The semantics of a courseware element;
第二页面集获取模块53,用于获取第二页面集,所述第二页面集包括有序的第二向量,每个第二向量用于表示每个第二课件页面中第二课件元素的语义;The second page set obtaining module 53 is configured to obtain a second page set. The second page set includes an ordered second vector, and each second vector is used to represent the value of the second courseware element in each second courseware page. Semantics
目标页面集确定模块54,用于在所述第二页面集中确定目标页面集,所述目标页面集包括有序的目标向量,所述第一向量与所述目标向量之间相似;The target page set determining module 54 is configured to determine a target page set in the second page set, the target page set includes an ordered target vector, and the first vector is similar to the target vector;
课件页面显示模块55,用于根据所述目标页面集,对所述课件显示部分第二课件页面。The courseware page display module 55 is configured to display part of the second courseware page for the courseware according to the target page set.
本申请通过获取一课件;对所述课件确定第一页面集;获取第二页面集;在所述第二页面集中确定目标页面集,所述目标页面集包括有序的目标向量,所述第一向量与所述目标向量之间相似;根据所述目标页面集,对所述课件显示部分第二课件页面。实现了根据当前老师制作的课件页面进行相关课件页面的推送,从而减少了老师制作课件时花费的制作和排版的时间的有益效果。In this application, a courseware is obtained; a first page set is determined for the courseware; a second page set is obtained; a target page set is determined in the second page set, and the target page set includes an ordered target vector. A vector is similar to the target vector; according to the target page set, a part of the second courseware page is displayed for the courseware. Realize the beneficial effect of pushing relevant courseware pages according to the courseware pages made by the current teacher, thereby reducing the time spent on making and typesetting the teacher when making the courseware.
在上述实施例的基础上,所述第一页面集确定模块52还用于:On the basis of the foregoing embodiment, the first page set determining module 52 is further configured to:
确定所述课件中每个第一课件页面包含的第一课件元素;Determine the first courseware element contained in each first courseware page in the courseware;
将所述第一课件元素转化为字符串;Converting the first courseware element into a string;
将所述字符串转换为第一向量,所述第一向量用于表示所述字符元素的语义;Converting the character string into a first vector, where the first vector is used to represent the semantics of the character element;
按照所述第一课件页面在所述课件中的顺序,关联所述第一向量。Associate the first vector according to the order of the first courseware page in the courseware.
在上述实施例的基础上,所述第一课件元素包括如下的至少一种:On the basis of the foregoing embodiment, the first courseware element includes at least one of the following:
文本、公式、图片;Text, formulas, pictures;
将所述第一课件元素转化为字符元素,包括:Converting the first courseware element into character elements includes:
确定所述文本为字符串;Determine that the text is a character string;
和/或,and / or,
按照指定的排版方式将所述公式转换为字符串;Convert the formula into a string according to the specified typesetting method;
和/或,and / or,
将所述图片转换为文字;Convert the picture into text;
确定所述文字为字符串。Determine that the text is a character string.
在上述实施例的基础上,所述第一向量与所述目标向量数量相同,位于相同位置的所述第一向量与所述目标向量之间相似。On the basis of the foregoing embodiment, the number of the first vector and the target vector is the same, and the first vector and the target vector at the same position are similar.
在上述实施例的基础上,所述目标页面集确定模块54还用于:On the basis of the foregoing embodiment, the target page set determining module 54 is further configured to:
确定第一候选向量与第二候选向量之间的相似度,所述第一候选向量初始为首个第一向量,所述第二候选向量为所述第二页面集中的第二向量;Determining a degree of similarity between a first candidate vector and a second candidate vector, the first candidate vector is initially the first first vector, and the second candidate vector is the second vector in the second page set;
若所述相似度大于预设的阈值,则判断所述第一候选向量之后是否有剩余的第一向量;If the similarity is greater than a preset threshold, determining whether there is a remaining first vector after the first candidate vector;
若是,则将位于所述第一候选向量的第一向量设置为新的第一候选向量,将位于所述第二候选向量的第二向量设置为新的第二候选向量,返回所述确定第一候选向量与第二候选向量之间的相似度;If yes, set the first vector located in the first candidate vector as the new first candidate vector, set the second vector located in the second candidate vector as the new second candidate vector, and return to the determination The similarity between a candidate vector and a second candidate vector;
若否,则确定所有的第二候选向量为目标向量;If not, determine all the second candidate vectors as target vectors;
若所述相似度小于或等于预设的阈值,则选择新的第二向量,作为新的第二候选向量,返回所述确定第一候选向量与第二候选向量之间的相似度。If the similarity is less than or equal to the preset threshold, a new second vector is selected as the new second candidate vector, and the determination of the similarity between the first candidate vector and the second candidate vector is returned.
在上述实施例的基础上,课件页面显示模块55还用于:On the basis of the foregoing embodiment, the courseware page display module 55 is also used to:
确定位于所述目标页面集之后的第二向量;Determining a second vector located after the target page set;
显示所述第二向量对应的第二课件页面。The second courseware page corresponding to the second vector is displayed.
在上述实施例的基础上,还包括相似推荐模块,用于:On the basis of the foregoing embodiment, a similar recommendation module is also included for:
确定第一用户的第一用户属性与操作课件的第一行为数据;Determine the first user attribute of the first user and the first behavior data of the operation courseware;
将所述第一用户属性与所述第一行为数据转换为第一用户特征;Converting the first user attribute and the first behavior data into first user characteristics;
获取第二用户特征,所述第二用户特征用于表征第二用户的第二用户属性与操作课件的第二行为数据;Acquiring a second user characteristic, where the second user characteristic is used to characterize the second user attribute of the second user and the second behavior data of the operation courseware;
若所述第一用户特征与所述第二用户特征相似,则显示所述第二用户的课件。If the first user characteristic is similar to the second user characteristic, the courseware of the second user is displayed.
本实施例提供的一种课件页面的显示装置可用于执行实施例一与实施例二提供的一种课件页面的显示方法,具有相应的功能和有益效果。The device for displaying a courseware page provided in this embodiment can be used to implement the method for displaying a courseware page provided in the first and second embodiments, and has corresponding functions and beneficial effects.
实施例六Example Six
图6为本发明实施例六提供的一种构造页面集的装置的结构图。包括:第二课件获取模块61和页面集生成模块62。其中:FIG. 6 is a structural diagram of an apparatus for constructing a page set provided by Embodiment 6 of the present invention. Including: the second courseware acquisition module 61 and the page set generation module 62. among them:
第二课件获取模块61,用于获取课件,每个课件包括课件页面;The second courseware acquisition module 61 is used to acquire courseware, and each courseware includes a courseware page;
页面集生成模块62,用于生成页面集,在所述页面集包含有序的向量,每个向量用于表示每个课件页面中课件元素的语义。The page set generating module 62 is configured to generate a page set, where the page set contains ordered vectors, and each vector is used to represent the semantics of the courseware elements in each courseware page.
本申请通过获取课件,并根据课件生成页面集。实现了构建资料库,为根据当前老师制作的课件页面进行相关课件页面的推送奠定了基础,从而减少了老师制作课件时花费的制作和排版的时间的有益效果。This application obtains courseware and generates a page set based on the courseware. The construction of a database is realized, which lays a foundation for pushing relevant courseware pages based on the courseware pages produced by the current teacher, thereby reducing the beneficial effect of the teacher's production and layout time spent in making the courseware.
在上述实施例的基础上,所述页面集生成模块62还用于:On the basis of the foregoing embodiment, the page set generation module 62 is further configured to:
将所述课件页面包含的课件元素转换为向量;Converting the courseware elements contained in the courseware page into vectors;
按照所述课件页面在所述课件中的顺序,关联属于同一个课件的向量;According to the order of the courseware pages in the courseware, associate vectors belonging to the same courseware;
按照所述课件的顺序,关联属于所述课件对应的向量。According to the order of the courseware, the association belongs to the vector corresponding to the courseware.
本实施例提供的一种构造页面集的装置可用于执行实施例三与实施例四提供的一种构造页面集的方法,具有相应的功能和有益效果。The device for constructing a page set provided in this embodiment can be used to implement the method for constructing a page set provided in the third and fourth embodiments, and has corresponding functions and beneficial effects.
实施例七Example Seven
图7为本发明实施例七提供的一种电子设备的结构示意图。如图7所示,该电子设备包括处理器70、存储器71、通信模块72、输入装置73和输出装置74;电子设备中处理器70的数量可以是一个或多个,图7中以一个处理器70为例;电子设备中的处理器70、存储器71、通信模块72、输入装置73和输出装置74可以通过总线或其他方式连接,图7中以通过总线连接为例。FIG. 7 is a schematic structural diagram of an electronic device according to Embodiment 7 of the present invention. As shown in Figure 7, the electronic device includes a processor 70, a memory 71, a communication module 72, an input device 73, and an output device 74; the number of processors 70 in the electronic device can be one or more. The processor 70 is taken as an example; the processor 70, the memory 71, the communication module 72, the input device 73, and the output device 74 in the electronic device may be connected by a bus or other methods. In FIG. 7, the connection by a bus is taken as an example.
存储器71作为一种计算机可读存储介质,可用于存储软件程序、计算机可执行程序以及模块,如本实施例中的一种课件页面的显示方法对应的模块(例如,一种课件页面的显示装置中的第一课件获取模块51、第一页面集确定模块 52、第二页面集获取模块53、目标页面集确定模块54和课件页面显示模块55)。The memory 71, as a computer-readable storage medium, can be used to store software programs, computer-executable programs, and modules, such as a module corresponding to a method for displaying a courseware page in this embodiment (for example, a display device for a courseware page) The first courseware acquisition module 51, the first page set determination module 52, the second page set acquisition module 53, the target page set determination module 54 and the courseware page display module 55) in the.
存储器71作为一种计算机可读存储介质,可用于存储软件程序、计算机可执行程序以及模块,如本实施例中的一种构造页面集的方法对应的模块(例如,一种构造页面集的装置中的第二课件获取模块61和页面集生成模块62)。As a computer-readable storage medium, the memory 71 can be used to store software programs, computer-executable programs, and modules, such as a module corresponding to a method for constructing a page set in this embodiment (for example, a device for constructing a page set) The second courseware acquisition module 61 and the page set generation module 62) in.
处理器70通过运行存储在存储器71中的软件程序、指令以及模块,从而执行电子设备的各种功能应用以及数据处理,即实现上述的一种课件页面的显示方法或一种构造页面集的方法。The processor 70 executes various functional applications and data processing of the electronic device by running the software programs, instructions, and modules stored in the memory 71, that is, realizes the above-mentioned method for displaying a courseware page or a method for constructing a page set .
存储器71可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据电子设备的使用所创建的数据等。此外,存储器71可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实例中,存储器71可包括相对于处理器70远程设置的存储器,这些远程存储器可以通过网络连接至电子设备。上述网络的实例可以包括互联网、企业内部网、局域网、移动通信网及其组合。The memory 71 may mainly include a program storage area and a data storage area. The program storage area may store an operating system and an application program required by at least one function; the data storage area may store data created according to the use of the electronic device. In addition, the memory 71 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other non-volatile solid-state storage devices. In some examples, the memory 71 may include a memory remotely provided with respect to the processor 70, and these remote memories may be connected to an electronic device through a network. Examples of the above-mentioned network may include the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
通信模块72,用于与显示屏建立连接,并实现与显示屏的数据交互。输入装置73可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。The communication module 72 is used to establish a connection with the display screen and realize data interaction with the display screen. The input device 73 can be used to receive inputted number or character information, and generate key signal input related to user settings and function control of the electronic device.
本实施例提供的一种电子设备,可执行本发明实施例一与实施例二提供的一种课件页面的显示方法或实施例三与实施例四提供的一种构造页面集的方法,相应的功能和有益效果。The electronic device provided in this embodiment can execute a method for displaying a courseware page provided in the first and second embodiments of the present invention or a method for constructing a page set provided in the third and fourth embodiments, correspondingly Functions and beneficial effects.
实施例八Example eight
本发明实施例八还提供一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时可用于执行一种课件页面的显示方法,该方法包括:The eighth embodiment of the present invention also provides a storage medium containing computer-executable instructions, which can be used to execute a method for displaying a courseware page when the computer-executable instructions are executed by a computer processor, and the method includes:
获取一课件,所述课件包括第一课件页面,所述第一课件页面包括第一课件元素;Acquiring a courseware, the courseware including a first courseware page, and the first courseware page including a first courseware element;
对所述课件确定第一页面集,所述第一页面集包括有序的第一向量,每个第一向量用于表示每个第一课件页面中第一课件元素的语义;Determining a first page set for the courseware, where the first page set includes an ordered first vector, and each first vector is used to represent the semantics of the first courseware element in each first courseware page;
获取第二页面集,所述第二页面集包括有序的第二向量,每个第二向量用于表示每个第二课件页面中第二课件元素的语义;Acquiring a second page set, where the second page set includes ordered second vectors, and each second vector is used to represent the semantics of the second courseware element in each second courseware page;
在所述第二页面集中确定目标页面集,所述目标页面集包括有序的目标向量,所述第一向量与所述目标向量之间相似;Determining a target page set in the second page set, the target page set including an ordered target vector, the first vector and the target vector are similar;
根据所述目标页面集,对所述课件显示部分第二课件页面。According to the target page set, a part of the second courseware page is displayed for the courseware.
所述计算机可执行指令在由计算机处理器执行时可用于执行一种构造页面集的方法,该方法包括:When the computer-executable instructions are executed by a computer processor, they can be used to execute a method for constructing a page set, and the method includes:
获取课件,每个课件包括课件页面;Obtain courseware, each courseware includes a courseware page;
生成页面集,在所述页面集包含有序的向量,每个向量用于表示每个课件页面中课件元素的语义。A page set is generated, and the page set contains ordered vectors, and each vector is used to represent the semantics of the courseware elements in each courseware page.
当然,本发明实施例所提供的一种包含计算机可执行指令的存储介质,其计算机可执行指令,从而执行本发明实施例一与实施例二提供的一种课件页面的显示方法或实施例三与实施例四提供的一种构造页面集的方法中的相关操作。Of course, a storage medium containing computer-executable instructions provided in an embodiment of the present invention, the computer-executable instructions of which executes the method for displaying a courseware page or the third embodiment provided in the first and second embodiments of the present invention The related operations in the method for constructing a page set provided in the fourth embodiment.
通过以上关于实施方式的描述,所属领域的技术人员可以清楚地了解到,本申请可借助软件及必需的通用硬件来实现,当然也可以通过硬件实现,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如计算机的软盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、闪存(FLASH)、硬盘或光盘等,包括若干指令用以使得一台计算机电子设备(可以是个人计算机,服务器,或者网络电子设备等)执行本申请各个实施例所述的方法。Through the above description of the embodiments, those skilled in the art can clearly understand that this application can be implemented with the help of software and necessary general-purpose hardware, and of course it can also be implemented with hardware, but in many cases the former is a better implementation. . Based on this understanding, the technical solution of this application essentially or the part that contributes to the prior art can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk. , Read-Only Memory (ROM), Random Access Memory (RAM), Flash memory (FLASH), hard disk or optical disk, etc., including several instructions to make a computer electronic device (which can be a personal Computers, servers, or network electronic devices, etc.) execute the methods described in the various embodiments of the present application.
值得注意的是,上述一种课件页面的显示装置或一种构造页面集的装置的实施例中,所包括的各个单元和模块只是按照功能逻辑进行划分的,但并不局限于上述的划分,只要能够实现相应的功能即可;另外,各功能单元的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。It is worth noting that, in the above embodiment of the display device for the courseware page or the device for constructing the page set, the units and modules included are only divided according to the functional logic, but are not limited to the above division. As long as the corresponding functions can be realized; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the present application.

Claims (13)

  1. 一种课件页面的显示方法,包括:A display method of the courseware page, including:
    获取一课件,所述课件包括第一课件页面,所述第一课件页面包括第一课件元素;Acquiring a courseware, the courseware including a first courseware page, and the first courseware page including a first courseware element;
    对所述课件确定第一页面集,所述第一页面集包括有序的第一向量,每个第一向量用于表示每个第一课件页面中第一课件元素的语义;Determining a first page set for the courseware, where the first page set includes an ordered first vector, and each first vector is used to represent the semantics of the first courseware element in each first courseware page;
    获取第二页面集,所述第二页面集包括有序的第二向量,每个第二向量用于表示每个第二课件页面中第二课件元素的语义;Acquiring a second page set, where the second page set includes ordered second vectors, and each second vector is used to represent the semantics of the second courseware element in each second courseware page;
    在所述第二页面集中确定目标页面集,所述目标页面集包括有序的目标向量,所述第一向量与所述目标向量之间相似;Determining a target page set in the second page set, the target page set including an ordered target vector, the first vector and the target vector are similar;
    根据所述目标页面集,对所述课件显示部分第二课件页面。According to the target page set, a part of the second courseware page is displayed for the courseware.
  2. 根据权利要求1所述的方法,其中,对所述课件确定第一页面集,包括:The method according to claim 1, wherein determining the first page set for the courseware comprises:
    确定所述课件中每个第一课件页面包含的第一课件元素;Determine the first courseware element contained in each first courseware page in the courseware;
    将所述第一课件元素转化为字符串;Converting the first courseware element into a string;
    将所述字符串转换为第一向量,所述第一向量用于表示所述字符元素的语义;Converting the character string into a first vector, where the first vector is used to represent the semantics of the character element;
    按照所述第一课件页面在所述课件中的顺序,关联所述第一向量。Associate the first vector according to the order of the first courseware page in the courseware.
  3. 根据权利要求2所述的方法,其中,所述第一课件元素包括如下的至少一种:The method according to claim 2, wherein the first courseware element includes at least one of the following:
    文本、公式、图片;Text, formulas, pictures;
    将所述第一课件元素转化为字符元素,包括:Converting the first courseware element into character elements includes:
    确定所述文本为字符串;Determine that the text is a character string;
    和/或,and / or,
    按照指定的排版方式将所述公式转换为字符串;Convert the formula into a string according to the specified typesetting method;
    和/或,and / or,
    将所述图片转换为文字;Convert the picture into text;
    确定所述文字为字符串。Determine that the text is a character string.
  4. 根据权利要求1-3任一项所述的方法,其中,所述第一向量与所述目标向量数量相同,位于相同位置的所述第一向量与所述目标向量之间相似。The method according to any one of claims 1 to 3, wherein the number of the first vector and the target vector is the same, and the first vector and the target vector at the same position are similar.
  5. 根据权利要求4所述的方法,其中,在所述第二页面集中确定目标页面集,包括:The method according to claim 4, wherein determining a target page set in the second page set comprises:
    确定第一候选向量与第二候选向量之间的相似度,所述第一候选向量初始 为首个第一向量,所述第二候选向量为所述第二页面集中的第二向量;Determining a similarity between a first candidate vector and a second candidate vector, the first candidate vector is initially the first first vector, and the second candidate vector is the second vector in the second page set;
    若所述相似度大于预设的阈值,则判断所述第一候选向量之后是否有剩余的第一向量;If the similarity is greater than a preset threshold, determining whether there is a remaining first vector after the first candidate vector;
    若是,则将位于所述第一候选向量的第一向量设置为新的第一候选向量,将位于所述第二候选向量的第二向量设置为新的第二候选向量,返回所述确定第一候选向量与第二候选向量之间的相似度;If yes, set the first vector located in the first candidate vector as the new first candidate vector, set the second vector located in the second candidate vector as the new second candidate vector, and return to the determination The similarity between a candidate vector and a second candidate vector;
    若否,则确定所有的第二候选向量为目标向量;If not, determine all the second candidate vectors as target vectors;
    若所述相似度小于或等于预设的阈值,则选择新的第二向量,作为新的第二候选向量,返回所述确定第一候选向量与第二候选向量之间的相似度。If the similarity is less than or equal to the preset threshold, a new second vector is selected as the new second candidate vector, and the determination of the similarity between the first candidate vector and the second candidate vector is returned.
  6. 根据权利要求1-4任一项所述的方法,其中,根据所述目标页面集,对所述课件显示部分第二课件页面,包括:The method according to any one of claims 1 to 4, wherein, according to the target page set, displaying part of the second courseware page to the courseware comprises:
    确定位于所述目标页面集之后的第二向量;Determining a second vector located after the target page set;
    显示所述第二向量对应的第二课件页面。The second courseware page corresponding to the second vector is displayed.
  7. 根据权利要求1-4任一项所述的方法,在所述获取一课件之前,所述方法还包括:The method according to any one of claims 1 to 4, before said obtaining a courseware, the method further comprises:
    确定第一用户的第一用户属性与操作课件的第一行为数据;Determine the first user attribute of the first user and the first behavior data of the operation courseware;
    将所述第一用户属性与所述第一行为数据转换为第一用户特征;Converting the first user attribute and the first behavior data into first user characteristics;
    获取第二用户特征,所述第二用户特征用于表征第二用户的第二用户属性与操作课件的第二行为数据;Acquiring a second user characteristic, where the second user characteristic is used to characterize the second user attribute of the second user and the second behavior data of the operation courseware;
    若所述第一用户特征与所述第二用户特征相似,则显示所述第二用户的课件。If the first user characteristic is similar to the second user characteristic, the courseware of the second user is displayed.
  8. 一种构造页面集的方法,包括:A method of constructing page sets, including:
    获取课件,每个课件包括课件页面;Obtain courseware, each courseware includes a courseware page;
    生成页面集,在所述页面集包含有序的向量,每个向量用于表示每个课件页面中课件元素的语义。A page set is generated, and the page set contains ordered vectors, and each vector is used to represent the semantics of the courseware elements in each courseware page.
  9. 根据权利要求8所述的方法,其中,所述生成页面集,包括:The method according to claim 8, wherein said generating a set of pages comprises:
    将所述课件页面包含的课件元素转换为向量;Converting the courseware elements contained in the courseware page into vectors;
    按照所述课件页面在所述课件中的顺序,关联属于同一个课件的向量;According to the order of the courseware pages in the courseware, associate vectors belonging to the same courseware;
    按照所述课件的顺序,关联属于所述课件对应的向量。According to the order of the courseware, the association belongs to the vector corresponding to the courseware.
  10. 一种课件页面的显示装置,包括:A display device for a courseware page, including:
    第一课件获取模块,被配置为获取一课件,所述课件包括第一课件页面, 所述第一课件页面包括第一课件元素;The first courseware obtaining module is configured to obtain a courseware, the courseware includes a first courseware page, and the first courseware page includes a first courseware element;
    第一页面集确定模块,被配置为对所述课件确定第一页面集,所述第一页面集包括有序的第一向量,每个第一向量用于表示每个第一课件页面中第一课件元素的语义;The first page set determining module is configured to determine a first page set for the courseware. The first page set includes an ordered first vector, and each first vector is used to represent the first page in each first courseware page. The semantics of a courseware element;
    第二页面集获取模块,被配置为获取第二页面集,所述第二页面集包括有序的第二向量,每个第二向量用于表示每个第二课件页面中第二课件元素的语义;The second page set obtaining module is configured to obtain a second page set, the second page set includes an ordered second vector, and each second vector is used to represent the second courseware element in each second courseware page Semantics
    目标页面集确定模块,被配置为在所述第二页面集中确定目标页面集,所述目标页面集包括有序的目标向量,所述第一向量与所述目标向量之间相似;A target page set determining module, configured to determine a target page set in the second page set, the target page set includes an ordered target vector, and the first vector is similar to the target vector;
    课件页面显示模块,被配置为根据所述目标页面集,对所述课件显示部分第二课件页面。The courseware page display module is configured to display part of the second courseware page for the courseware according to the target page set.
  11. 一种构造页面集的装置,包括:A device for constructing a page set includes:
    第二课件获取模块,被配置为获取课件,每个课件包括课件页面;The second courseware acquisition module is configured to acquire courseware, and each courseware includes a courseware page;
    页面集生成模块,被配置为生成页面集,在所述页面集包含有序的向量,每个向量用于表示每个课件页面中课件元素的语义。The page set generation module is configured to generate a page set. The page set contains ordered vectors, and each vector is used to represent the semantics of the courseware elements in each courseware page.
  12. 一种电子设备,包括:An electronic device including:
    一个或多个处理器;One or more processors;
    存储器,用于存储一个或多个程序;Memory, used to store one or more programs;
    当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1-7任一所述的一种课件页面的显示方法;When the one or more programs are executed by the one or more processors, the one or more processors implement the method for displaying a courseware page according to any one of claims 1-7;
    或者,or,
    当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求8-9任一所述的一种构造页面集的方法。When the one or more programs are executed by the one or more processors, the one or more processors implement the method for constructing a page set according to any one of claims 8-9.
  13. 一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如权利要求1-7任一所述的一种课件页面的显示方法;A computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, realizes a method for displaying a courseware page according to any one of claims 1-7;
    或者,or,
    实现如权利要求8-9任一所述的一种课件页面的显示方法。A method for displaying a courseware page according to any one of claims 8-9 is realized.
PCT/CN2019/123246 2019-04-18 2019-12-05 Courseware page display method and apparatus, page set construction method and apparatus, device, and medium WO2020211397A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910314997.0 2019-04-18
CN201910314997.0A CN110297965B (en) 2019-04-18 2019-04-18 Courseware page display and page set construction method, device, equipment and medium

Publications (1)

Publication Number Publication Date
WO2020211397A1 true WO2020211397A1 (en) 2020-10-22

Family

ID=68026549

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/123246 WO2020211397A1 (en) 2019-04-18 2019-12-05 Courseware page display method and apparatus, page set construction method and apparatus, device, and medium

Country Status (2)

Country Link
CN (1) CN110297965B (en)
WO (1) WO2020211397A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110297965B (en) * 2019-04-18 2021-07-13 广州视源电子科技股份有限公司 Courseware page display and page set construction method, device, equipment and medium
CN111638845B (en) * 2020-05-26 2022-02-11 维沃移动通信有限公司 Animation element obtaining method and device and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105488151A (en) * 2015-11-27 2016-04-13 小米科技有限责任公司 Reference document recommendation method and apparatus
CN105740213A (en) * 2014-12-10 2016-07-06 珠海金山办公软件有限公司 Presentation template providing method and device
US20160217343A1 (en) * 2015-01-23 2016-07-28 Highspot, Inc. Systems and methods for identifying semantically and visually related content
CN105895085A (en) * 2016-03-30 2016-08-24 科大讯飞股份有限公司 Multimedia transliteration method and system
CN107766547A (en) * 2017-10-31 2018-03-06 掌阅科技股份有限公司 E-book recommends method, electronic equipment and computer-readable storage medium
CN108509405A (en) * 2018-04-11 2018-09-07 北京深度智耀科技有限公司 A kind of generation method of PowerPoint, device and equipment
CN110297965A (en) * 2019-04-18 2019-10-01 广州视源电子科技股份有限公司 The display of the courseware page and building method, device, equipment and the medium of page set

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5586530B2 (en) * 2011-06-08 2014-09-10 株式会社日立ソリューションズ Information presentation device
US20150277726A1 (en) * 2014-04-01 2015-10-01 Microsoft Corporation Sliding surface
CN104485027B (en) * 2014-12-29 2017-10-27 广州视睿电子科技有限公司 Courseware display methods and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105740213A (en) * 2014-12-10 2016-07-06 珠海金山办公软件有限公司 Presentation template providing method and device
US20160217343A1 (en) * 2015-01-23 2016-07-28 Highspot, Inc. Systems and methods for identifying semantically and visually related content
CN105488151A (en) * 2015-11-27 2016-04-13 小米科技有限责任公司 Reference document recommendation method and apparatus
CN105895085A (en) * 2016-03-30 2016-08-24 科大讯飞股份有限公司 Multimedia transliteration method and system
CN107766547A (en) * 2017-10-31 2018-03-06 掌阅科技股份有限公司 E-book recommends method, electronic equipment and computer-readable storage medium
CN108509405A (en) * 2018-04-11 2018-09-07 北京深度智耀科技有限公司 A kind of generation method of PowerPoint, device and equipment
CN110297965A (en) * 2019-04-18 2019-10-01 广州视源电子科技股份有限公司 The display of the courseware page and building method, device, equipment and the medium of page set

Also Published As

Publication number Publication date
CN110297965A (en) 2019-10-01
CN110297965B (en) 2021-07-13

Similar Documents

Publication Publication Date Title
CN110717017B (en) Method for processing corpus
RU2607416C2 (en) Crowd-sourcing vocabulary teaching systems
US20190303768A1 (en) Community Question Answering-Based Article Recommendation Method, System, and User Device
US11823074B2 (en) Intelligent communication manager and summarizer
US20180130496A1 (en) Method and system for auto-generation of sketch notes-based visual summary of multimedia content
JP6361351B2 (en) Method, program and computing system for ranking spoken words
EP3695570A1 (en) Providing a response in a session
CN115082602B (en) Method for generating digital person, training method, training device, training equipment and training medium for model
Crasborn et al. Sharing sign language data online: Experiences from the ECHO project
US20190318003A1 (en) System and method for associating textual summaries with content media
US11397740B2 (en) Method and apparatus for providing information by using degree of association between reserved word and attribute language
CN111279404B (en) Language fluent system
US20190188324A1 (en) Enriching a knowledge graph
CN114254129A (en) Method, device and readable storage medium for updating knowledge graph
WO2020211397A1 (en) Courseware page display method and apparatus, page set construction method and apparatus, device, and medium
JP2019523923A (en) Enhanced conversation thread
CN112231554A (en) Search recommendation word generation method and device, storage medium and computer equipment
Posthumus et al. Reading environment (s): digital humanities meets ecocriticism
Oyama et al. Visual clarity analysis and improvement support for presentation slides
CN116977992A (en) Text information identification method, apparatus, computer device and storage medium
CN114331932A (en) Target image generation method and device, computing equipment and computer storage medium
Müller et al. How to carry over historic books into social networks
JP6676700B2 (en) Information providing method and apparatus using degree of association between reserved word and attribute language
CN112017487A (en) Flat Flash learning system based on artificial intelligence
US20240086640A1 (en) Method, system, and computer readable storage media for transcript analysis

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19924756

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19924756

Country of ref document: EP

Kind code of ref document: A1