A method for determining designated content and electronic device

By dividing and expanding the subtext content of page text in learning electronic devices, combining typesetting rules and user information, the problem of low accuracy of identification of specified content in the prior art is solved, and higher accuracy and learning are achieved Tutoring efficiency.

CN111159432BActive Publication Date: 2024-12-24GUANGDONG XIAOTIANCAI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910903766.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-09-24
Publication Date
2024-12-24
Estimated Expiration
2039-09-24

AI Technical Summary

Technical Problem

When existing learning electronic devices recognize text on book pages, due to different printing and layouts of different books, there are more texts at the fingers touching the position, which makes it easy to use unrelated content as designated content, resulting in lower accuracy of designated content.

Method used

By dividing the page text content into subtext content, and using the text outline to expand to the surrounding blank area, forming a specified outline, combining the layout rules, dialogue roles and semantics to divide it, whether the subtext content is qualified, judge the user's understanding difficulty level and combine it with The server establishes learning-assisted relationships to improve the accuracy of specified content.

Benefits of technology

Improves the accuracy of specified content, avoids inaccurate recognition caused by finger touching multiple contours, and enhances the accuracy and efficiency of learning tutoring.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111159432B_ABST
    Figure CN111159432B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention relates to the field of educational technology, and discloses a method for determining designated content and an electronic device, the method comprising: determining a target designated outline corresponding to a position designated by a designated object on a page; wherein the text content in the page is divided into a plurality of sub-text contents, and the text outline of the sub-text content is extended to the surrounding blank area to obtain the designated outline of the sub-text content; and determining the target sub-text content in the target designated outline as the designated content. It can be seen that, in the implementation of the embodiment of the present invention, the page content is segmented, and the outline of the sub-text content is extended using the blank area, so that the designated outline area corresponding to the obtained sub-text content is larger, and the designated outline is used to determine the content designated by the designated object, thereby improving the accuracy of the determined designated content.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of educational technology, and in particular to a method for determining designated content and an electronic device. Background Art

[0002] In recent years, learning electronic devices (such as tutoring machines, etc.) have been widely used in learning guidance, such as searching for learning materials. At present, electronic devices generally use the text at the touched position as the content specified by the finger when the shooting module detects that the finger touches a certain position on the page of the book, and then perform learning assistance behaviors such as searching or reading. However, it is found in practice that the printing layout of different books is generally different. When the text font on the page is small, there are more words at the touch position of the finger. The electronic device is likely to regard other irrelevant content as the designated content. Therefore, the accuracy of the designated content determined based on the touch position is low. Summary of the invention

[0003] The embodiment of the present invention discloses a method for determining designated content and an electronic device, which can improve the accuracy of the determined designated content.

[0004] The first aspect of the embodiment of the present invention discloses a method for determining designated content, wherein the text content in a page is divided into a plurality of sub-text contents, and the text outline of the sub-text contents is extended toward the surrounding blank area to obtain the designated outline of the sub-text contents; the method comprises:

[0005] Determining, on the page, a target designated contour corresponding to a designated position of a designated object;

[0006] The target subtext content in the target designated outline is determined to be designated content.

[0007] As an optional implementation manner, in the first aspect of the embodiment of the present invention, the method further includes:

[0008] Classifying the text content into body content and title content according to the typesetting rules of the text content;

[0009] Obtaining the correspondence between the body content and the title content;

[0010] The text content is divided into a plurality of sub-text contents according to the corresponding relationship.

[0011] As an optional implementation manner, in the first aspect of the embodiment of the present invention, before dividing the text content into a plurality of sub-text contents according to the corresponding relationship, the method further includes:

[0012] Determining whether there is a dialogue in the text content;

[0013] If so, identifying the dialogue roles and dialogue semantics in the dialogue;

[0014] The dividing the text content into a plurality of sub-text contents according to the corresponding relationship comprises:

[0015] The text content is divided into a plurality of sub-text contents according to the corresponding relationship, the dialogue roles and the dialogue semantics.

[0016] As an optional implementation manner, in the first aspect of the embodiment of the present invention, after dividing the text content into a plurality of sub-text contents according to the corresponding relationship, the dialogue role and the dialogue semantics, the method includes:

[0017] Get the specified outline of the subtext content;

[0018] Determining whether there is unqualified sub-text content according to the specified contour of the sub-text content, wherein the specified contour of the unqualified sub-text content is smaller than a preset specified contour threshold;

[0019] If so, the unqualified sub-text content is merged with any sub-text content adjacent to the unqualified sub-text content to update the sub-text content.

[0020] As an optional implementation manner, in the first aspect of the embodiment of the present invention, after determining that the target subtext content in the target designated outline is designated content, the method further includes:

[0021] Determining a difficulty level for the user to understand the specified content according to the user information, wherein the user information includes at least the user's grade and historical achievement information;

[0022] Determining whether the difficulty level is greater than a preset difficulty level threshold;

[0023] If yes, sending a learning assistance request message to the server to trigger the server to determine the learning account of the learning assistance object, the learning assistance object is in an online learning state, and the average score of the subject corresponding to the designated content of the learning assistance object is higher than a preset score threshold, and the learning assistance request message at least includes the designated content;

[0024] After receiving the learning account fed back by the server, a learning assistance relationship is established between the user account and the learning account.

[0025] A second aspect of an embodiment of the present invention discloses an electronic device, the electronic device comprising:

[0026] A first determining unit is used to determine a target designated contour corresponding to a position designated by a designated object on a page; wherein the text content in the page is divided into a plurality of sub-text contents, and the text contours of the sub-text contents are extended to surrounding blank areas to obtain designated contours of the sub-text contents;

[0027] The second determining unit is configured to determine the target subtext content in the target designated outline as designated content.

[0028] As an optional implementation manner, in the second aspect of the embodiment of the present invention, the electronic device further includes:

[0029] A classification unit, used for classifying the text content into body content and title content according to the typesetting rules of the text content;

[0030] A first acquisition unit, used for acquiring the correspondence between the body content and the title content;

[0031] A division unit is used to divide the text content into a plurality of sub-text contents according to the corresponding relationship.

[0032] As an optional implementation manner, in the second aspect of the embodiment of the present invention, the electronic device further includes:

[0033] A first judgment unit is used to judge whether there is a dialogue in the main text content before dividing the text content into a plurality of sub-text contents according to the corresponding relationship;

[0034] an identification unit, configured to identify the dialogue roles and dialogue semantics in the dialogue when the first determination unit determines that the dialogue exists in the text-type content;

[0035] The manner in which the division unit is used to divide the text content into a plurality of sub-text contents according to the corresponding relationship is specifically:

[0036] A division unit is used to divide the text content into a plurality of sub-text contents according to the corresponding relationship, the dialogue roles and the dialogue semantics.

[0037] As an optional implementation manner, in a second aspect of the embodiment of the present invention, the electronic device includes:

[0038] A second acquisition unit is used to acquire a specified outline of the sub-text content after dividing the text content into a plurality of sub-text contents according to the corresponding relationship, the dialogue role and the dialogue semantics;

[0039] A second judgment unit is used to judge whether there is unqualified sub-text content according to the specified contour of the sub-text content, and the specified contour of the unqualified sub-text content is smaller than a preset specified contour threshold;

[0040] A merging unit is used to merge the unqualified sub-text content with any sub-text content adjacent to the unqualified sub-text content to update the sub-text content when the second judging unit determines that the unqualified sub-text content exists.

[0041] As an optional implementation manner, in the second aspect of the embodiment of the present invention, the electronic device further includes:

[0042] A third determination unit is used to determine the difficulty level of the user in understanding the specified content according to user information after determining that the target subtext content in the target specified outline is the specified content, wherein the user information at least includes the user's grade and historical achievement information;

[0043] A third judgment unit, used to judge whether the difficulty level is greater than a preset difficulty level threshold;

[0044] a sending unit, configured to send learning assistance request information to a server when the third judgment unit determines that the difficulty level is greater than the preset difficulty level threshold, so as to trigger the server to determine a learning account of a learning assistance object, the learning assistance object is in an online learning state, and the average score of the subject corresponding to the designated content of the learning assistance object is higher than a preset score threshold, and the learning assistance request information at least includes the designated content;

[0045] An establishing unit is used to establish a learning assistance relationship between a user account and the learning account after receiving the learning account fed back by the server.

[0046] A third aspect of an embodiment of the present invention discloses an electronic device, including:

[0047] A memory storing executable program code;

[0048] a processor coupled to the memory;

[0049] The processor calls the executable program code stored in the memory to execute a method for determining specified content disclosed in the first aspect of an embodiment of the present invention.

[0050] A fourth aspect of an embodiment of the present invention discloses a computer-readable storage medium storing a computer program, wherein the computer program enables a computer to execute a method for determining specified content disclosed in the first aspect of an embodiment of the present invention.

[0051] A fifth aspect of an embodiment of the present invention discloses a computer program product. When the computer program product is run on a computer, the computer is enabled to execute part or all of the steps of any one of the methods of the first aspect.

[0052] A sixth aspect of an embodiment of the present invention discloses an application publishing platform, which is used to publish a computer program product. When the computer program product runs on a computer, the computer executes part or all of the steps of any one method of the first aspect.

[0053] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:

[0054] The electronic device determines a target designated outline designated by a designated object on a page, wherein the text content in the page is divided into a plurality of sub-text contents, and the designated outline of the sub-text content is obtained by extending the text outline of the sub-text content to the surrounding blank area, and then the target sub-text content in the target designated outline is used as the designated content. In the implementation of the embodiment of the present invention, the page content is segmented, and the outline of the sub-text content is extended using the blank area, so that the designated outline area corresponding to the obtained sub-text content is larger, and the designated outline is used to determine the content designated by the designated object, thereby improving the accuracy of the determined designated content. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0056] Figure 1 It is a flowchart of a method for determining specified content disclosed in an embodiment of the present invention;

[0057] Figure 2 is a flowchart of another method for determining specified content disclosed in an embodiment of the present invention;

[0058] Figure 3 is a structural schematic diagram of an electronic device disclosed in an embodiment of the present invention;

[0059] Figure 4 is a schematic diagram of the structure of another electronic device disclosed in an embodiment of the present invention;

[0060] Figure 5 It is a structural schematic diagram of another electronic device disclosed in an embodiment of the present invention. DETAILED DESCRIPTION

[0061] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0062] It should be noted that the terms "first", "second", "third" and "fourth" in the specification and claims of the present invention are used to distinguish different objects rather than to describe a specific order. The terms "including" and "having" in the embodiments of the present invention and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device including a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0063] The embodiment of the present invention discloses a method for determining designated content and an electronic device, which can improve the accuracy of the determined designated content.

[0064] Embodiment 1

[0065] See also Figure 1 , Figure 1 FIG. 1 is a flow chart of a method for determining specified content disclosed in an embodiment of the present invention. Figure 1 As shown, the method for determining the designated content may include the following steps.

[0066] 101. The electronic device determines a target designated outline corresponding to a designated position of a designated object on a page, wherein text content in the page is divided into a plurality of sub-text contents, and the text outline of the sub-text content is extended toward a surrounding blank area to obtain a designated outline of the sub-text content.

[0067] In the embodiment of the present invention, it can be understood that the text outline of the above-mentioned sub-text content can be extended to the surrounding blank areas by utilizing the blank areas such as the line spacing in the page. For example, the text outline of the sub-text content can be extended upward and downward by half of the line spacing, so that the obtained designated outline of the sub-text content is larger, which is beneficial to improving the accuracy of the determined designated content.

[0068] In the embodiment of the present invention, the above-mentioned electronic device may be an electronic device such as a tutoring machine, a learning tablet or a learning mobile phone, which is not limited by the embodiment of the present invention. In addition, the electronic device may detect the position specified by the specified object on the page through a combination of a reflector and a camera, or a pop-up camera, or a rotating camera, or an infrared device configured by the electronic device, or may assist in detecting the position specified by the specified object through other devices, which is not limited by the embodiment of the present invention. Optionally, the electronic device may include a base, which is used to limit the placement angle of the electronic device; when using the electronic device, the base can be used to place the electronic device vertically at a certain angle to the desktop, and place books and the like on the desktop in front of the electronic device. Among them, when the reflector is inserted on the camera of the electronic device, the camera can shoot the content reflected by the reflector.

[0069] In the embodiment of the present invention, the above-mentioned designated object may be a finger, a pen, a thin wooden stick, etc., which is not limited in the embodiment of the present invention.

[0070] As an optional implementation manner, the electronic device determining, on the page, the target designated contour corresponding to the designated position of the designated object may include:

[0071] When a designated object is identified, the electronic device determines whether the number of designated contours touched by the designated object at the designated position is greater than 1; if so, the electronic device obtains the touched area of ​​each designated contour touched by the designated object, and determines the designated contour with the largest touched area as the target designated contour.

[0072] It can be understood that a designated object, such as a finger, occupies a certain volume. Although the designated contour of the sub-text content is an expanded text contour and is generally larger, the designated object may touch the junction between different designated contours when designating. By implementing this embodiment, a target designated contour with a higher probability can be inferred based on the touch area of ​​the designated object at different designated contours, thereby avoiding the inability to determine the designated target designated contour due to the designated object touching multiple designated contours.

[0073] 102. The electronic device determines that target subtext content in the target designated outline is designated content.

[0074] As an optional implementation manner, the method for determining the specified content may further include the following steps:

[0075] When receiving the learning supervision information sent by the kitchen smart device, the electronic device establishes a connection relationship with the kitchen smart device;

[0076] After determining the designated content, the electronic device sends the designated content to the kitchen smart device, so that the kitchen smart device searches for information related to the designated content and outputs it.

[0077] It can be seen that by implementing this embodiment, parents can still supervise their children's learning status while working in the kitchen, and can provide parents with information related to designated content, which can assist parents in providing accurate and effective learning guidance for their children.

[0078] It can be seen that the implementation Figure 1 The described method divides the page content and uses the blank area to expand the outline of the sub-text content, so that the designated outline area corresponding to the obtained sub-text content is larger, and the designated outline is used to determine the content designated by the designated object, thereby improving the accuracy of the determined designated content. In addition, it can avoid the failure to determine the designated target designated outline due to the designated object touching multiple designated outlines. In addition, it can assist parents in providing accurate and effective learning guidance for their children.

[0079] Embodiment 2

[0080] See also Figure 2 , Figure 2 FIG. 1 is a flow chart of another method for determining specified content disclosed in an embodiment of the present invention. Figure 2 As shown, the method for determining the designated content may include the following steps.

[0081] 201. The electronic device classifies text content in the page into body content and title content according to a typesetting rule of the text content in the page.

[0082] In the embodiment of the present invention, the above-mentioned typesetting rules may be rules specified based on features related to printing typesetting, such as font, font size, line spacing and / or printing color. For example, bold text is title content, and non-bold text is body content; or, larger font size is title content, and smaller font size is body content.

[0083] 202. The electronic device obtains a correspondence between the main text content and the title content, and divides the text content into a plurality of sub-text contents according to the correspondence.

[0084] It can be understood that the title content is generally a summary of the main text content, which can make readers understand the main content and purpose of the article. Generally speaking, one title corresponds to one main text, which can become a sub-text content with relatively complete semantics. The text content in the page is divided according to the correspondence between the main text content and the title content, which fits the user's actual learning scenario. In addition, if the title content contains multiple levels of titles, the lowest-level title in the directory tree and its corresponding text can be used as the sub-text content. When the specified outline of the self-text content divided by the lowest-level title is less than the preset value, it can be merged to the upper directory to expand the area level by level.

[0085] As an optional implementation, before step 202, the following steps may also be included:

[0086] The electronic device determines whether there is a dialogue in the text content;

[0087] If so, the electronic device identifies the dialogue roles and dialogue semantics in the dialogue;

[0088] The above-mentioned dividing the text content into a plurality of sub-text contents according to the above-mentioned corresponding relationship may include:

[0089] The electronic device divides the text content into a plurality of sub-text contents according to the corresponding relationship, the dialogue roles and the dialogue semantics.

[0090] For example, the following dialogue content exists in the body content:

[0091] Dialogue Character A: How are you?

[0092] Dialogue Character B: Very good.

[0093] Dialogue Character A: How's the weather today?

[0094] Dialogue Character B: It's very hot.

[0095] According to such a dialogue, the dialogue semantics of the first group of dialogues between dialogue roles A and B is greeting, which can be used as an independent sub-text content. Similarly, the dialogue semantics of the second group of dialogues between dialogue roles A and B is discussing the weather, which can also be used as an independent sub-text content. After completing the division of dialogues, the content other than dialogues in the page can be divided into sub-texts according to the correspondence between the main text content and the title content.

[0096] It can be seen that by implementing this embodiment, when there is a dialogue in the page text, the dialogue role and dialogue semantics are used as the basis for dividing the sub-text, and the areas forming the question-answer relationship can be merged, so that the divided sub-text content is more in line with the user's learning needs.

[0097] 203. The electronic device obtains a specified outline of the sub-text content.

[0098] In the embodiment of the present invention, the text content in the above page is divided into a plurality of sub-text contents, and the text outline of the sub-text content is extended to the surrounding blank area to obtain the designated outline of the sub-text content.

[0099] 204. The electronic device determines whether there is unqualified sub-text content according to the designated contour of the sub-text content, and the designated contour of the unqualified sub-text content is smaller than a preset designated contour threshold; if so, execute steps 205 to 211; if not, execute steps 206 to 211.

[0100] 205. The electronic device merges the unqualified sub-text content with any sub-text content adjacent to the unqualified sub-text content to update the sub-text content.

[0101] In the embodiment of the present invention, it can be understood that the size of the designated contour of the divided sub-text content is uncertain. When the designated contour of the sub-text content is smaller than the preset designated contour threshold, it will still affect the determination of the designated content designated by the designated object. Therefore, executing steps 203 to 205 and merging adjacent sub-text contents can further improve the accuracy of the determined designated content.

[0102] 206. The electronic device determines, on the page, a target designated contour corresponding to the position designated by the designated object.

[0103] 207. The electronic device determines that the target subtext content in the target designated outline is designated content.

[0104] 208. The electronic device determines the difficulty level of the user in understanding the specified content according to the user information, where the user information at least includes the user's grade and historical achievement information.

[0105] In the embodiment of the present invention, it can be understood that the user's grade and historical achievement information can be used as a basis for understanding the difficulty of the user understanding the specified content, and further determining the difficulty level of the user understanding the specified content.

[0106] 209. The electronic device determines whether the difficulty level is greater than a preset difficulty level threshold; if so, execute steps 210 to 211; if not, end this process.

[0107] In the embodiment of the present invention, the difficulty level threshold may be a threshold set based on a large amount of experimental data, and the embodiment of the present invention does not limit this.

[0108] 210. The electronic device sends a learning assistance request message to the server to trigger the server to determine the learning account of the learning assistance object. The learning assistance object is in an online learning state, and the average score of the subject corresponding to the designated content of the learning assistance object is higher than a preset score threshold. The learning assistance request message at least includes the designated content.

[0109] 211. After receiving the learning account fed back by the server, the electronic device establishes a learning assistance relationship between the user account and the learning account.

[0110] Implement steps 208 to 211. When the electronic device detects that the user has difficulty understanding the specified content, it requests learning assistance information from the server, and then establishes a learning assistance relationship between the user account and the learning account, so that the user can instantly communicate with the learning assistance object in the online learning state, which not only helps to improve the user's learning efficiency, but also helps to expand the user's social circle.

[0111] As an optional implementation manner, the method for determining the specified content may further include the following steps:

[0112] The electronic device obtains the user's learning posture and determines whether the learning posture has preset irregular features, and the learning posture at least includes the sitting posture and the posture of using learning tools; if so, the electronic device outputs a reminder message and deducts specified points from the user's point pool, and the reminder message at least includes the correct learning posture.

[0113] It can be seen that by implementing this embodiment, the electronic device can assist the user to maintain a correct learning posture and develop good learning habits.

[0114] It can be seen that the implementation Figure 2 The described method divides the page content and uses the blank area to expand the outline of the sub-text content, so that the designated outline area corresponding to the obtained sub-text content is larger, and the designated outline is used to determine the content designated by the designated object, thereby improving the accuracy of the determined designated content. In addition, the dialogue role and dialogue semantics are used as the basis for dividing the sub-text, so that the divided sub-text content is more in line with the user's learning needs. In addition, by merging adjacent sub-text contents, the accuracy of the determined designated content can be further improved. In addition, it can assist users to communicate with learning assistance objects in an online learning state in real time, which not only helps to improve the user's learning efficiency, but also helps to expand the user's social circle. In addition, electronic devices can assist users to maintain a correct learning posture and develop good learning habits.

[0115] Embodiment 3

[0116] See also Figure 3 , Figure 3 Schematic diagram of the structure of an electronic device disclosed in an embodiment of the present invention. Figure 3 As shown, the electronic device may include:

[0117] The first determining unit 301 is used to determine the target designated outline corresponding to the position designated by the designated object on the page; wherein the text content in the page is divided into a plurality of sub-text contents, and the text outline of the sub-text content is extended to the surrounding blank area to obtain the designated outline of the sub-text content;

[0118] As an optional implementation manner, the first determining unit 301 is configured to determine the target designated contour corresponding to the position designated by the designated object on the page in the following manner:

[0119] The first determination unit 301 is used to determine whether the number of designated contours touched by the designated object at the designated position is greater than 1 when the designated object is identified; if so, obtain the touched area of ​​each designated contour touched by the designated object, and determine the designated contour with the largest touched area as the target designated contour.

[0120] It can be understood that a designated object, such as a finger, occupies a certain volume. Although the designated contour of the sub-text content is an expanded text contour and is generally larger, the designated object may touch the junction between different designated contours when designating. By implementing this embodiment, a target designated contour with a higher probability can be inferred based on the touch area of ​​the designated object at different designated contours, thereby avoiding the inability to determine the designated target designated contour due to the designated object touching multiple designated contours.

[0121] The second determining unit 302 is configured to determine that the target subtext content in the target designated outline is designated content.

[0122] As an optional implementation manner, the above electronic device may include:

[0123] A connection unit, used to establish a connection relationship with the kitchen smart device when receiving learning supervision information sent by the kitchen smart device;

[0124] The sending unit is used to send the specified content to the kitchen smart device after determining the specified content, so that the kitchen smart device searches for information related to the specified content and outputs it.

[0125] It can be seen that by implementing this embodiment, parents can still supervise their children's learning status while working in the kitchen, and can provide parents with information related to designated content, which can assist parents in providing accurate and effective learning guidance for their children.

[0126] It can be seen that the implementation Figure 3 The electronic device described divides the page content and uses the blank area to expand the outline of the sub-text content, so that the designated outline area corresponding to the obtained sub-text content is larger, and the designated outline is used to determine the content designated by the designated object, thereby improving the accuracy of the determined designated content. In addition, it can avoid the failure to determine the designated target designated outline due to the designated object touching multiple designated outlines. In addition, it can assist parents in providing accurate and effective learning guidance for their children.

[0127] Embodiment 4

[0128] See also Figure 4 , Figure 4is a schematic diagram of the structure of another electronic device disclosed in an embodiment of the present invention. Figure 4 The electronic equipment shown is composed of Figure 3 The electronic devices shown are optimized. Figure 3 Compared with the electronic equipment shown, Figure 4 The electronic device shown may also include:

[0129] The classification unit 303 is used to classify the text content into body content and title content according to the typesetting rules of the text content;

[0130] The first acquisition unit 304 is used to acquire the correspondence between the text content and the title content;

[0131] The division unit 305 is used to divide the text content into a plurality of sub-text contents according to the corresponding relationship.

[0132] As an optional implementation manner, the electronic device mentioned above further includes:

[0133] The first judgment unit 306 is used to judge whether there is a dialogue in the main text content before dividing the text content into a plurality of sub-text contents according to the corresponding relationship;

[0134] The identification unit 307 is used to identify the dialogue roles and dialogue semantics in the dialogue when the first determination unit 306 determines that there is a dialogue in the text content;

[0135] The division unit 305 is used to divide the text content into a plurality of sub-text contents according to the corresponding relationship in the following specific manner:

[0136] The division unit 305 is used to divide the text content into a plurality of sub-text contents according to the corresponding relationship, the dialogue roles and the dialogue semantics.

[0137] It can be seen that by implementing this embodiment, when there is a dialogue in the page text, the dialogue role and dialogue semantics are used as the basis for dividing the sub-text, and the areas forming the question-answer relationship can be merged, so that the divided sub-text content is more in line with the user's learning needs.

[0138] A second acquisition unit 308 is used to acquire a specified outline of the sub-text content after dividing the text content into a plurality of sub-text contents according to the corresponding relationship, the dialogue role and the dialogue semantics;

[0139] The second judging unit 309 is used to judge whether there is unqualified sub-text content according to the designated contour of the sub-text content, and the designated contour of the unqualified sub-text content is smaller than a preset designated contour threshold;

[0140] The merging unit 310 is configured to merge the unqualified subtext content with any subtext content adjacent to the unqualified subtext content to update the subtext content when the second judging unit 309 determines that there is unqualified subtext content.

[0141] The third determining unit 311 is used to determine the difficulty level of the user's understanding of the specified content according to the user information after determining that the target subtext content in the target specified outline is the specified content, and the user information at least includes the user's grade and historical achievement information;

[0142] The third judging unit 312 is used to judge whether the difficulty level is greater than a preset difficulty level threshold;

[0143] The sending unit 313 is used to send learning assistance request information to the server when the third judgment unit 312 determines that the difficulty level is greater than the preset difficulty level threshold, so as to trigger the server to determine the learning account of the learning assistance object, the learning assistance object is in an online learning state, and the average score of the subject corresponding to the designated content of the learning assistance object is higher than the preset score threshold, and the learning assistance request information at least includes the designated content;

[0144] The establishing unit 314 is used to establish a learning assistance relationship between the user account and the learning account after receiving the learning account fed back by the server.

[0145] As an optional implementation manner, the above electronic device may further include:

[0146] A third acquisition unit, used to acquire a user's learning posture;

[0147] A fourth judgment unit, used to judge whether the learning posture has a preset non-standard feature, and the learning posture at least includes a sitting posture and a posture of using learning tools;

[0148] The output unit is used to output a reminder message and deduct designated points from the user's point pool when the fourth judgment unit determines that the above-mentioned learning posture has a preset non-standard feature, and the reminder message at least includes the correct learning posture.

[0149] It can be seen that by implementing this embodiment, the electronic device can assist the user to maintain a correct learning posture and develop good learning habits.

[0150] It can be seen that the implementation Figure 4The described electronic device divides the page content and uses the blank area to expand the outline of the sub-text content, so that the designated outline area corresponding to the obtained sub-text content is larger, and the designated outline is used to determine the content designated by the designated object, thereby improving the accuracy of the determined designated content. In addition, the dialogue role and dialogue semantics are used as the basis for dividing the sub-text, so that the divided sub-text content is more in line with the user's learning needs. In addition, by merging adjacent sub-text contents, the accuracy of the determined designated content can be further improved. In addition, it can assist users to communicate with learning assistance objects in an online learning state in real time, which not only helps to improve the user's learning efficiency, but also helps to expand the user's social circle. In addition, the electronic device can assist users to maintain a correct learning posture and develop good learning habits.

[0151] Embodiment 5

[0152] See also Figure 5 , Figure 5 FIG. 1 is a schematic diagram of the structure of another electronic device disclosed in an embodiment of the present invention. Figure 5 As shown, the electronic device may include:

[0153] A memory 501 storing executable program codes;

[0154] a processor 502 coupled to the memory 501;

[0155] The processor 502 calls the executable program code stored in the memory 501 to execute Figure 1-2 Any method of determining the specified content.

[0156] The embodiment of the present invention discloses a computer-readable storage medium storing a computer program, wherein the computer program enables a computer to execute Figure 1-2 Any method of determining the specified content.

[0157] The embodiments of the present invention further disclose a computer program product, wherein when the computer program product is run on a computer, the computer is enabled to execute part or all of the steps of the methods in the above method embodiments.

[0158] An embodiment of the present invention further discloses an application publishing platform, which is used to publish a computer program product. When the computer program product runs on a computer, the computer executes part or all of the steps of the method in the above method embodiments.

[0159] Those skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium includes a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable rewritable read-only memory (EEPROM), a compact disc (CD-ROM) or other optical disc storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.

[0160] The above is a detailed introduction to a method for determining specified content and an electronic device disclosed in an embodiment of the present invention. Specific examples are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for a person skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A method for determining specified content, characterized in that: The text content in the page is divided into a plurality of sub-text contents, and the text outline of the sub-text content extends upward and downward by half of the line spacing in the page to expand toward the surrounding blank area to obtain the specified outline of the sub-text content; the method includes: Determine, on the page, a target designated contour corresponding to the position designated by the designated object, the target designated contour being a designated contour with the largest touched area among all the touched designated contours when the number of the touched designated contours by the designated object is greater than 1; Determining the target subtext content in the target designated outline as designated content; The method further comprises: Classifying the text content into main text content and title content according to the typesetting rules of the text content; obtaining the correspondence between the main text content and the title content; determining whether there is a dialogue in the main text content; if so, identifying the dialogue roles and dialogue semantics in the dialogue; dividing the text content into a plurality of sub-text contents according to the correspondence, the dialogue roles and the dialogue semantics; Obtain a designated outline of the sub-text content; determine whether there is unqualified sub-text content based on the designated outline of the sub-text content, and the designated outline of the unqualified sub-text content is smaller than a preset designated outline threshold; if so, merge the unqualified sub-text content with any sub-text content adjacent to the unqualified sub-text content to update the sub-text content.

2. The method according to claim 1, characterized in that After determining that the target subtext content in the target designated outline is designated content, the method further includes: Determining a difficulty level for the user to understand the specified content according to the user information, wherein the user information includes at least the user's grade and historical achievement information; Determining whether the difficulty level is greater than a preset difficulty level threshold; If yes, sending a learning assistance request message to the server to trigger the server to determine the learning account of the learning assistance object, the learning assistance object is in an online learning state, and the average score of the subject corresponding to the designated content of the learning assistance object is higher than a preset score threshold, and the learning assistance request message at least includes the designated content; After receiving the learning account fed back by the server, a learning assistance relationship is established between the user account and the learning account.

3. An electronic device, characterized in that: The electronic device comprises: A first determining unit is used to determine a target designated contour corresponding to a position designated by a designated object on a page, wherein the target designated contour is a designated contour with the largest touched area among all the touched designated contours when the number of the touched designated contours by the designated object is greater than 1; wherein the text content in the page is divided into a plurality of sub-text contents, and the text contours of the sub-text contents extend upwards and downwards by half of the line spacing in the page respectively, so as to expand to the surrounding blank area, thereby obtaining the designated contours of the sub-text contents; A second determining unit, configured to determine the target subtext content in the target designated outline as designated content; The electronic device further comprises: A classification unit, used for classifying the text content into body content and title content according to the typesetting rules of the text content; A first acquisition unit, used for acquiring the correspondence between the body content and the title content; A first judging unit, used to judge whether there is a dialogue in the text content; an identification unit, configured to identify the dialogue roles and dialogue semantics in the dialogue when the first determination unit determines that the dialogue exists in the text-type content; A division unit, configured to divide the text content into a plurality of sub-text contents according to the corresponding relationship, the dialogue roles and the dialogue semantics; A second acquisition unit, used to acquire a specified outline of the subtext content; A second judgment unit is used to judge whether there is unqualified sub-text content according to the specified contour of the sub-text content, and the specified contour of the unqualified sub-text content is smaller than a preset specified contour threshold; A merging unit is used to merge the unqualified sub-text content with any sub-text content adjacent to the unqualified sub-text content to update the sub-text content when the second judging unit determines that the unqualified sub-text content exists.

4. The electronic device according to claim 3, characterized in that: The electronic device further comprises: A third determination unit is used to determine the difficulty level of the user in understanding the specified content according to user information after determining that the target subtext content in the target specified outline is the specified content, wherein the user information at least includes the user's grade and historical achievement information; A third judging unit, used to judge whether the difficulty level is greater than a preset difficulty level threshold; a sending unit, configured to send learning assistance request information to a server when the third judgment unit determines that the difficulty level is greater than the preset difficulty level threshold, so as to trigger the server to determine a learning account of a learning assistance object, the learning assistance object is in an online learning state, and the average score of the subject corresponding to the designated content of the learning assistance object is higher than a preset score threshold, and the learning assistance request information at least includes the designated content; An establishing unit is used to establish a learning assistance relationship between a user account and the learning account after receiving the learning account fed back by the server.