CN107679219B - Matching method and device, interactive intelligent panel and storage medium - Google Patents

Matching method and device, interactive intelligent panel and storage medium Download PDF

Info

Publication number
CN107679219B
CN107679219B CN201710978777.9A CN201710978777A CN107679219B CN 107679219 B CN107679219 B CN 107679219B CN 201710978777 A CN201710978777 A CN 201710978777A CN 107679219 B CN107679219 B CN 107679219B
Authority
CN
China
Prior art keywords
matching
current
source
information
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710978777.9A
Other languages
Chinese (zh)
Other versions
CN107679219A (en
Inventor
朱龙飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Shiyuan Electronics Thecnology Co Ltd, Guangzhou Shirui Electronics Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201710978777.9A priority Critical patent/CN107679219B/en
Publication of CN107679219A publication Critical patent/CN107679219A/en
Application granted granted Critical
Publication of CN107679219B publication Critical patent/CN107679219B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/338Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/3331Query processing
    • G06F16/334Query execution
    • G06F16/3344Query execution using natural language analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/22Matching criteria, e.g. proximity measures

Abstract

The invention discloses a matching method and device, an interactive intelligent panel and a storage medium. The method comprises the following steps: acquiring first information to be matched of a current matching source matched with a current matching target and an information format of the first information to be matched; if the information format is a plain text format, acquiring first matching information which has a matching relationship with second matching information of the current matching target, and performing text matching on the first information to be matched and the first matching information to generate a first matching result; and determining a second matching result of the current matching source and the current matching target according to the first matching result, and displaying the second matching result to the user. By adopting the technical scheme, the embodiment of the invention can carry out accurate matching when the content of the matching source and/or the matching target changes, thereby improving the accuracy of the matching result.

Description

Matching method and device, interactive intelligent panel and storage medium
Technical Field
The invention relates to the technical field of information processing, in particular to a matching method and device, an interactive intelligent panel and a storage medium.
Background
With the development of information processing technology, interactive intelligent panels are widely applied in the teaching field.
In teaching, the line-connecting question is one of the common practice question types. At present, the connection interaction function of the interactive intelligent tablet is generally realized by clicking element connection or setting connection control and the like. The method comprises the following steps of clicking element connection, selecting two elements to be connected in a clicking mode, and generating and displaying connected line segments when the two selected elements are judged to be matched elements; generally, a method for setting a connection control to perform connection is to set a control for responding to connection operation in a display area of each element in advance, when a user selects the control, the user can drag out a line, and the purpose of connection is achieved by moving the dragged out line to a connection control area of another matched element.
However, in the prior art, the matching relationship of each element in the connection question can only be determined based on the matching relationship between the element IDs of each element preset by the developer, the implementation of the matching scheme is single, the matching relationship between each element is fixed, and the use requirements of the user cannot be met.
Disclosure of Invention
In view of this, embodiments of the present invention provide a matching method and apparatus, an interactive smart tablet, and a storage medium, so as to solve the technical problem in the prior art that a matching scheme is single when matching each element.
In a first aspect, an embodiment of the present invention provides a matching method, including:
acquiring first information to be matched of a current matching source matched with a current matching target and an information format of the first information to be matched;
if the information format is a plain text format, acquiring first matching information which has a matching relationship with second matching information of the current matching target, and performing text matching on the first information to be matched and the first matching information to generate a first matching result;
and determining a second matching result of the current matching source and the current matching target according to the first matching result, and displaying the second matching result to the user.
In a second aspect, an embodiment of the present invention provides a matching apparatus, including:
the information acquisition module is used for acquiring first information to be matched of a current matching source matched with a current matching target and the information format of the first information to be matched;
the first matching result generation module is used for responding to the event that the information format is a plain text format, acquiring first matching information which has a matching relation with second matching information of the current matching target, and performing text matching on the first information to be matched and the first matching information to generate a first matching result;
and the second matching result determining module is used for determining a second matching result of the current matching source and the current matching target according to the first matching result and displaying the second matching result to the user.
In a third aspect, an embodiment of the present invention provides an interactive smart tablet, including:
one or more processors;
a memory for storing 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 matching method according to the embodiment of the present invention.
In a fourth aspect, the embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the matching method according to the embodiment of the present invention.
In the technical scheme for matching the matching source with the matching target, first information to be matched with the matching source matched with the current matching target and an information format of the first information to be matched are obtained, if the information format of the first information to be matched is a plain text format, first matching information which has a matching relationship with second matching information of the current matching target is obtained, the first information to be matched with the current matching source is matched with the first matching information to generate a first matching result, a second matching result of the current matching source and the current matching target is determined according to the first matching result, and the matching result is displayed to a user. According to the technical scheme for matching the matching source and the matching target, the matching result of the matching source and the matching target is determined based on text matching, so that the matching can be accurately performed when the content of the matching source and/or the matching target changes, the accuracy of the matching result and the adjustability of the matching relation between the matching source and the matching target are improved, and more matching schemes are provided for the connection questions.
Drawings
Other features, objects and advantages of the invention will become more apparent upon reading of the detailed description of non-limiting embodiments made with reference to the following drawings:
fig. 1 is a schematic flow chart of a matching method according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a matching group editing interface according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of a matching method according to a second embodiment of the present invention;
fig. 4 is a schematic diagram of a drag-before-drag matching display interface according to a second embodiment of the present invention;
fig. 5 is a schematic diagram of a drag matching display interface when the drag is finished according to a second embodiment of the present invention;
fig. 6 is a schematic diagram of a moving position of a current matching source according to a second embodiment of the present invention;
fig. 7 is a schematic flowchart of a matching method according to a third embodiment of the present invention;
fig. 8 is a block diagram of a matching apparatus according to a fourth embodiment of the present invention;
fig. 9 is a schematic structural diagram of an interactive smart tablet according to a fifth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some but not all of the relevant aspects of the present invention are shown in the drawings.
Example one
The embodiment of the invention provides a matching method. The method may be performed by a matching device, wherein the device may be implemented by software and/or hardware, and may generally be integrated in an interactive smart tablet. Fig. 1 is a schematic flow chart of a matching method according to an embodiment of the present invention, as shown in fig. 1, the method includes:
s101, obtaining first information to be matched of a current matching source matched with a current matching target and an information format of the first information to be matched.
In this embodiment, the current matching target and the current matching source may be determined based on operations of clicking, selecting, dragging, or the like by a user; the first information to be matched of the current matching source may be content in the matching source that needs to be matched with corresponding information in the matching target. The first information to be matched may be a text, a formula, or a picture that the user needs to match, or the content of the first information to be matched may also be null. Correspondingly, the information format of the first information to be matched may be a plain text format only containing text content, or may be a non-plain text format containing a formula, a picture, or empty content.
For example, the first information to be matched of the current matching source may be obtained from a first storage location corresponding to the matching information; the Information format of the first Information to be matched may be recorded in advance and acquired from the corresponding second storage location, or may be determined according to the Information content of the first Information to be matched, for example, if the first Information to be matched only includes codes such as ASCII (American Standard Code for Information exchange) representing english or other languages, the Information format of the first Information to be matched may be determined as a pure text format, and if the first Information to be matched includes other special characters for forming a graph, a mathematical formula, a chemical equation, or the like, the Information format of the first Information to be matched may be determined as a non-pure text format. The first storage location for storing the first information to be matched and the second storage location for storing the information format of the first information to be matched can be the same or different, and can be flexibly set according to specific conditions.
S102, if the information format is a plain text format, acquiring first matching information which has a matching relationship with second matching information of the current matching target, and performing text matching on the first information to be matched and the first matching information to generate a first matching result.
The first matching result may be a matching degree between the first information to be matched and the first matching information, or may be a determination result of whether a matching relationship exists between the first information to be matched and the first matching information, which is not limited herein; the first matching information having a matching relationship with the second matching information of the current matching target may be understood as the first matching information of the matching source having established a text matching relationship with the current matching target, that is, the second matching information of the current matching target is text-matched with the first matching information. The first matching information having a matching relationship with the second matching information of the current matching target may be directly obtained from the corresponding storage location, or may first obtain matching source information having a text matching relationship with the second matching information of the current matching target, then determine a matching source having a text matching relationship with the current matching target based on the matching source information, and determine the first matching information of the matching source as the first matching information having a matching relationship with the second matching information of the current matching target.
In this embodiment, the first matching information, the second matching information, and the text matching relationship between each first matching information and each second matching information may be set by a user or a developer. In consideration of the correspondence between the connection matching question and the classroom teaching content, it is preferable that the first matching information, the second matching information, and the text matching relationship between each first matching information and each second matching information be set by the user, and at this time, in the editing mode, a matching group editing interface (as shown in fig. 2) may be presented to a user, and first matching information (e.g., "Nanjing treaty," "Xinqian treaty," and "customs treaty" in fig. 2) of each matching source, second matching information (e.g., "1842," "1901," and "1895" in fig. 2) of each matching target, and a matching relationship between each first matching information and each second matching information (in fig. 2, the first matching information of the matching source and the second matching information of the matching target in the same row are matched with each other as an example) input by the user at the matching group editing interface may be recorded. The matching group can be understood as a first matching group formed by each matching source and a second matching group formed by each matching target.
Correspondingly, if the information format is a non-plain text format, the current matching source and the current matching target can be subjected to ID matching. For example, ID codes of a current matching source and a current matching target may be obtained respectively, and whether a matching relationship exists between the current matching source and the current matching target is determined; or acquiring the ID code of the matching source having the matching relationship with the current matching target, and then judging whether the ID code is the same as the ID code of the current matching source, thereby determining whether the matching relationship exists between the current matching source and the current matching target.
S103, determining a second matching result of the current matching source and the current matching target according to the first matching result, and displaying the second matching result to a user.
For example, when the first matching result is a determination result of whether the first information to be matched and the first matching information have a matching relationship, the first matching result may be directly used as a second matching result of the current matching source and the current matching target, that is, if the first information to be matched and the first matching information have a matching relationship, it is determined that the current matching source and the current matching target are successfully matched; otherwise, determining that the matching between the current matching source and the current matching target fails.
When the first matching result is the matching degree between the first information to be matched and the first matching information, a matching degree threshold for judging whether a matching relationship exists between the current matching source and the current matching target or not may be preset, if the matching degree is greater than or equal to the set matching degree threshold, the second matching result between the current matching source and the current matching target is determined as a successful matching, and if the matching degree is less than the set matching degree threshold, the matching result between the current matching source and the current matching target is determined as a failed matching. Wherein, the threshold of the matching degree can be optionally set to 100% to further improve the accuracy of the second matching result.
In this embodiment, after determining a second matching result of the current matching source and the current matching target, if the second matching result is a successful matching, the second matching result may be fed back to the user in a first feedback manner; and if the second matching result is matching failure, feeding back the second matching result to the user according to a second feedback mode so as to display the second matching result to the user. The first feedback mode and the second feedback mode may be set as required, and may be the same or different feedback modes, for example, a prompt window including the second matching result may be generated and displayed in the screen no matter whether the current matching source and the current matching target are successfully matched; or, for the case of line matching or click matching, when the second matching result is that matching is successful, displaying a line connecting the current matching source and the current matching target to the user, otherwise, not displaying the line connecting the current matching source and the current matching target or disconnecting the displayed line connecting the current matching source and the current matching target, or, for the case of drag matching, when the second matching result is that matching is failed, moving the current matching source dragged by the user back to the original display position in the screen before the user drags, otherwise, displaying the current matching source at the current display position after the user drags, and the like, without limitation.
Here, it should be noted that the feedback time of the second matching result may be set as required, for example, a second matching result of a certain matching source and a certain matching target may be generated after the matching source and the matching target are matched, and the second matching result is fed back to the user according to the set feedback manner; or generating a second matching result of a certain matching source and a certain matching target after the matching of the matching source and the matching target, and feeding back the second matching result of each matching source and each matching target to the user according to a set feedback mode after the second matching result of each matching source and each matching target is generated; and after each matching source and each matching target are matched, generating a second matching result of each matching source and each matching target, and feeding the second matching result back to the user according to a set feedback mode, which is not limited herein.
The matching method provided by the first embodiment of the present invention obtains the first information to be matched of the matching source that matches the current matching target and the information format of the first information to be matched, if the information format of the first information to be matched is a plain text format, obtains the first matching information that has a matching relationship with the second matching information of the current matching target, matches the first information to be matched of the current matching source with the first matching information to generate a first matching result, determines the second matching result of the current matching source and the current matching target according to the first matching result, and displays the matching result to the user. By adopting the technical scheme, the matching result of the matching source and the matching target is determined based on text matching, so that the adjustability of the matching relationship between the matching source and the matching target can be improved, more matching schemes are provided for the connection questions, the matching can still be accurately performed when the content of the matching source and/or the matching target changes, the accuracy of the matching result is improved, and the use experience of a user is improved.
On the basis of the foregoing embodiment, before the obtaining the first information to be matched of the current matching source that is matched with the current matching target and the information format of the first information to be matched, the method may further include: displaying a first matching group and a second matching group in a screen, wherein the first matching group comprises at least one matching source, and the second matching group comprises at least one matching target; and determining the current matching source and the current matching target for matching at this time according to a set method. Here, when the number of matching sources included in the first matching group is 1, the second matching group preferably includes a plurality of matching targets; when the number of the matching targets in the second matching group is 1, the first matching group preferably comprises a plurality of matching sources, so that the purpose of examining the knowledge points related to the connection line matching questions by the connection line matching questions is achieved.
The positions and sizes of the display areas of the matching sources and the matching targets may be laid out by default by the system, or may be laid out by the user according to the user's own usage habits, which is not limited herein. For example, the system may lay out the positions and sizes of the display areas of the matching sources and the matching targets according to the numbers of the matching sources and the matching targets, generally, the matching sources may be disposed on the left side of the display interface, the matching targets may be disposed on the right side of the display interface, a layout algorithm for connecting the matching sources and the matching targets of the matching questions may be determined according to the size of the display interface and the preset display sizes of the matching sources and the matching targets, and the configured matching sources and the configured matching targets may be regularly arranged on the left and right sides of the display interface based on the layout algorithm. Here, the matching sources and the matching targets are regularly arranged on the left and right sides of the display interface, which means that the display positions of the matching sources and the matching targets may be regularly arranged (for example, the matching sources may be arranged in a first column, and the matching targets may be arranged in a second column), and the display positions do not represent that the arrangement positions of the matching sources or the matching targets in each column are regularly circulated.
Example two
Fig. 3 is a schematic flowchart of a matching method according to a second embodiment of the present invention. In this embodiment, the optimization is performed on the basis of the above embodiment, and in this embodiment, "determining the current matching source and the current matching target to be matched at this time according to a setting method" is optimized as follows: monitoring the dragging operation of a user on the matching source in a dragging matching mode; and if a current object hot area intersected with the current display area of the matching source exists at the end of the dragging operation, determining the matching target to which the current object hot area belongs as a current matching target, and determining the matching source of which the current display area is intersected with the current object hot area as a current matching source, wherein the object hot area is an area of which the matching target is used for responding to the dragging operation of a user on the matching source.
Further, after the determining the matching target to which the current object hot zone belongs as the current matching target, the method further includes: and moving the current matching source to display the current matching source in the current object hot area.
Further, before the monitoring the drag operation of the user on the matching source, the method further includes: and determining the object hot area of each matching target according to the display area of each matching target in the screen.
Correspondingly, as shown in fig. 3, the matching method provided by the present embodiment includes:
s201, displaying a first matching group and a second matching group in a screen, wherein the first matching group comprises at least one matching source, and the second matching group comprises at least one matching target.
S202, under the dragging matching mode, determining the object hot area of each matching target according to the display area of each matching target in the screen.
The display area of each matching source and each matching target in the screen may be rectangular or in other shapes, and the display area of each matching source and each matching target in the screen is a rectangular display area as an example. The object hot zone may be understood as a corresponding area of the matching target set for responding to a drag operation of the user to the matching source. Considering that the current matching source, in which the current display area intersects with the object hotspot when the user drag operation is finished in the subsequent step, needs to be moved to the intersected object hotspot for displaying, optionally, the object hotspot of a certain matching target may be set to be an area with the size and shape identical to those of the display area of the matching source. In addition, since the matching source and the matching target are matched in the embodiment by adopting the dragging manner, in order to make the matching process closer to the real connection effect, optionally, when the display area of the matching source is located on the left side of the display interface and the display area of the matching target is located on the right side of the display interface, the object hot area may be set on the left side of the matching target.
Taking the top left vertex when the screen is normally displayed as the origin, the left-to-right direction as the X-axis direction, the top-to-bottom direction as the Y-axis direction, and the object hot zone located on the left side of the matching target as an example, the coordinates (X, Y) of the top left vertex of the object hot zone of a certain matching target may be: x ═ X0-W,Y=Y0+ (T-S)/2, thereby ensuring that the subject hotspot is centered to the left of its matching target. Wherein, X0Displaying the x-axis coordinate of the top left corner vertex of the area for the matching target; y is0Displaying the y-axis coordinate of the top left corner vertex of the area for the matching target; w is the Width of the matching source, and when the widths of the matching sources are not uniform, W can be the default Width of the matching sources or the average Width of the matching sources; t is the matching purposeA target height, TargetHeight; s is height SourceHeight of the matching sources, and when the heights of the matching sources are not uniform, S can be default height of the matching sources or average height of the matching sources and the like. It should be noted that, in some cases, the background of the matching source and the matching target comes from the same template, and the template includes the object hot zone offset X1(generally, a negative value), that is, the X-axis coordinate of the object hot zone needs to be shifted by a corresponding offset amount to ensure that the background picture of the matching source corresponds to the background picture of the matching target after the matching source moves to the corresponding hot zone, therefore, the X-axis coordinate of the vertex of the object hot zone needs to be added with the offset amount on the basis of the above calculation, that is, the coordinate X of the vertex at the upper left corner of the object hot zone is equal to X0-W+X1
S203, monitoring the dragging operation of the user on the matching source.
In this embodiment, the user may drag the matching source, and when the user performs a drag operation on the matching source, the matching source may move along with movement of a drag source such as a touch point or a cursor where the user drags the matching source.
S204, if a current object hot area intersected with the current display area of the matching source exists at the end of the dragging operation, determining the matching target to which the current object hot area belongs as a current matching target, and determining the matching source of which the current display area is intersected with the current object hot area as a current matching source, wherein the object hot area is an area of which the matching target is used for responding to the dragging operation of a user on the matching source.
For example, when determining the current matching source and the current matching target, it may be monitored whether the dragging operation of the user on the matching source is finished, if so, it is further determined whether a current object hot zone intersecting with the current display position of the matching source dragged by the user in the current dragging operation exists after the dragging operation of the user is finished, if so, the matching target to which the current object hot zone belongs is determined as the current matching target, and the matching source corresponding to the dragging operation of the user in this time and having the current display position intersecting with the current object hot zone is determined as the current matching source; correspondingly, if the current object hot area intersected with the current display position of the matching source dragged by the current dragging operation of the user does not exist, the current matching source and the current matching target which need to be matched do not exist at present, and after the current matching source and the current matching target which need to be matched do not exist at present, the matching source dragged by the current dragging operation of the user can be moved back to the original display position. Whether the current dragging operation of the user is finished can be determined by judging whether touch sources such as a touch point or a cursor for triggering the dragging operation of the user disappear (namely whether the touch sources cannot be detected); the number of the current matching sources and the current matching targets may be one or more, and is not limited herein.
For example, assuming that the display interfaces of the drag matching before the drag operation and when the drag operation is finished are respectively shown in fig. 4 and fig. 5, and the current display position of the matching source 11 when the user drag operation is finished intersects with the object hot zone 31 of the matching target 21, the object hot zone 31 of the matching target 21 may be determined as the current object hot zone, the matching target 21 to which the current object hot zone belongs may be determined as the current matching target of the current drag operation, and the matching source 11 intersecting with the current object hot zone may be determined as the current matching source.
S205, moving the current matching source to display the current matching source in the current object hot area.
In this embodiment, after the current matching source and the current matching target are determined, the display area of the current matching source may be moved to the area where the current object hot area is located from the current display area when the user drag operation is finished, so that the current matching source is displayed in the current object hot area, and the user can clearly know the matching source and the matching target that have been matched. The moving speed and/or moving track of the current matching source moving to the current matching hot zone can be set according to the requirement. For example, assuming that the display positions of the current matching source 11, the current matching target 21 and the current object hot zone 31 at the end of the user dragging operation are as shown in fig. 5, the display area of the current matching source 11 may be moved to the display position where the current object hot zone 31 is located and displayed at the top layer (as shown in fig. 6) to display the current matching source 11 in the current object hot zone 31 (the display area of the current hot zone 31 and the current matching source 11 in fig. 6 are overlapped).
Here, it should be noted that, if the number of the current matching sources where the current display position intersects with the object hot area of the current matching target is multiple when the dragging operation is finished, the matching source with the largest area of intersection with the current object hot area may be determined as the current matching source and the current matching source is moved to the position where the current object hot area is located, or the matching sources where each current display position intersects with the current object hot area may be determined as the current matching source and the current matching sources are moved to the position where the current object hot area is located, which is not limited herein.
S206, acquiring first information to be matched of a current matching source matched with a current matching target and an information format of the first information to be matched.
S207, if the information format is a plain text format, acquiring first matching information which has a matching relationship with second matching information of the current matching target, and performing text matching on the first information to be matched and the first matching information to generate a first matching result.
S208, determining a second matching result of the current matching source and the current matching target according to the first matching result, and displaying the second matching result to a user.
In the matching method provided by the second embodiment of the present invention, in the drag matching mode, the object hot area of each matching target is determined according to the display area of each matching target in the screen, the drag operation of the user on the matching source is monitored, when the drag operation is finished, the matching source where the current display area intersects with the object hot area of the matching target is determined as the current matching source, the matching target to which the object hot area belongs is determined as the current matching target, the current matching source is moved to the display position of the intersected current object hot area, and if the information format of the first to-be-matched information of the current matching source is the plain text format, the matching result between the current matching source and the current matching target is determined based on text matching. By adopting the technical scheme, the matching can be accurately performed when the content of the matching source and/or the matching target changes, and the accuracy of the matching result is improved; the matching efficiency of the user can be improved through a hot zone feedback mode, the learning cost of the user is reduced, and the calculation amount required by matching is reduced.
On the basis of the above embodiment, the matching method may further include: responding to an event that a current display area of the matching source is intersected with an object hot area, and displaying the object hot area intersected with the current display area according to a set display mode; and in response to an event that the current display region of the matching source does not intersect an object hot region, stopping displaying the object hot region that does not intersect the current display region. The set transparency for displaying the object hot zone may be set as needed, and may be displayed with a transparency of 50% or 60%, for example; the display screen of the object hot area 31 can be flexibly set, and preferably, a background screen of a matching source can be used as the display screen of the object hot area.
In this embodiment, as shown in fig. 5, in the process of the dragging operation performed by the user on the matching source 11, if the matching source 11 moved by the user moves to a position where the current display area of the matching source 11 intersects with the object hot area 31 of a certain matching target 21, the object hot area 31 of the matching target may be displayed in the screen according to the set transparency, so as to prompt the user of the position of the object hot area 31; if the matching source 11 moves to a position where its current display area does not intersect with the object hot zone 31 of the matching target 21 during the subsequent movement, the display of the object hot zone 31 of the matching target may be stopped to maintain the simplicity of the screen.
EXAMPLE III
Fig. 7 is a schematic flowchart of a matching method according to a third embodiment of the present invention. In this embodiment, the optimization is performed on the basis of the above embodiment, and in this embodiment, "determining the current matching source and the current matching target to be matched at this time according to a setting method" is optimized as follows: in the connection line matching mode, if the completion of the drawing of the current drawing handwriting of a user on a screen is detected, a matching source and a matching target of a display area containing the endpoint coordinates of the current drawing handwriting are obtained; and if the first endpoint coordinate contained in the matching source and the second endpoint coordinate contained in the matching target are different endpoint coordinates of the current drawn handwriting, determining the matching source as the current matching source and determining the matching target as the current matching target.
Correspondingly, as shown in fig. 7, the matching method provided by the present embodiment includes:
s301, displaying a first matching group and a second matching group in a screen, wherein the first matching group comprises at least one matching source, and the second matching group comprises at least one matching target.
S302, under the connection line matching mode, if the fact that the current drawing handwriting of the user on the screen is drawn is detected, a matching source and a matching target of a display area containing the endpoint coordinates of the current drawing handwriting are obtained.
The connection matching mode can be understood as a pen mode, namely a writing mode; the current drawn handwriting of the user can be a straight line, a broken line or a curved line, which is not limited herein. The method for determining whether the current drawn handwriting is drawn may be set as required, for example, when it is detected that a drawing source such as a touch point or a cursor where the user draws the current drawn handwriting disappears, that is, when the user lifts up the touch source (a touch pen or a finger of the user, etc.) or stops pressing a corresponding mouse button, it may be determined that the current drawn handwriting on the screen is drawn by the user. For example, after the current drawn handwriting is drawn, two endpoint coordinates of the current drawn handwriting and display areas of each matching source and each matching target in the current display interface may be obtained first, and then according to the endpoint coordinates and the display areas, a matching source and a matching target of which the current display area includes any one or two endpoint coordinates of the current drawn handwriting are further determined as a matching source and a matching target of which the display area includes the endpoint coordinates of the current drawn handwriting.
S303, if the first endpoint coordinate contained in the matching source and the second endpoint coordinate contained in the matching target are different endpoint coordinates of the current drawn handwriting, determining the matching source as the current matching source, and determining the matching target as the current matching target.
In this embodiment, a matching target including a first endpoint coordinate of the current drawn handwriting may be determined as a current matching target, and a matching source including a second endpoint coordinate of the current drawn handwriting may be determined as a current matching source matching with the current matching target, and/or a matching target including a second endpoint coordinate of the current drawn handwriting may be determined as a current matching target, and a matching source including a first endpoint coordinate of the current drawn handwriting may be determined as a current matching source matching with the current matching target.
Here, it should be noted that, when the number of the matching sources including the first endpoint coordinate or the second endpoint coordinate of the current drawn handwriting and/or the number of the matching targets including the second endpoint coordinate or the first endpoint coordinate of the current drawn handwriting is plural, the matching target including the first endpoint coordinate of the current drawn handwriting and displayed on the top layer may be determined as the current matching target, and the matching source including the second endpoint coordinate of the current drawn handwriting and displayed on the top layer may be determined as the current matching source matched with the current matching target, or the matching target including the second endpoint coordinate of the current drawn handwriting and displayed on the top layer may be determined as the current matching target, and the matching source including the first endpoint coordinate of the current drawn handwriting and displayed on the top layer may be determined as the current matching source matched with the current matching target.
S304, obtaining first information to be matched of a current matching source matched with a current matching target and an information format of the first information to be matched.
S305, if the information format is a plain text format, acquiring first matching information which has a matching relationship with second matching information of the current matching target, and performing text matching on the first information to be matched and the first matching information to generate a first matching result.
S306, determining a second matching result of the current matching source and the current matching target according to the first matching result, and displaying the second matching result to a user.
In the matching method provided by the third embodiment of the present invention, in the connection matching mode, when the user finishes the drawing operation of the current drawn handwriting, the current matching source and the current matching target are determined based on the coordinates of the two end points of the current drawn handwriting, and when the information format of the first information to be matched of the current matching source is the plain text format, the matching result between the current matching source and the current matching target is determined based on text matching. By adopting the technical scheme, the embodiment can provide more flexible matching relationship for the matching source and the matching target and more matching schemes for the connection questions, can ensure that the matching can be still accurately carried out when the content of the matching source and/or the matching target changes, improves the accuracy of the matching result, and improves the use experience of the user.
Example four
The fourth embodiment of the invention provides a matching device. The device can be realized by software and/or hardware, can be generally integrated in an interactive intelligent tablet, and can realize the matching of the matching source and the matching target by executing the matching method provided by the embodiment of the invention. Fig. 8 is a block diagram of a matching apparatus according to a fourth embodiment of the present invention, and as shown in fig. 8, the apparatus includes:
an information obtaining module 401, configured to obtain first information to be matched of a current matching source that is matched with a current matching target and an information format of the first information to be matched;
a first matching result generating module 402, configured to, in response to an event that the information format is a plain text format, obtain first matching information that has a matching relationship with second matching information of the current matching target, and perform text matching on the first information to be matched and the first matching information to generate a first matching result;
a second matching result determining module 403, configured to determine a second matching result between the current matching source and the current matching target according to the first matching result, and display the second matching result to the user.
In the matching device provided by the fourth embodiment of the present invention, the information obtaining module obtains the first information to be matched of the matching source that is matched with the current matching target and the information format of the first information to be matched, the first matching result generating module obtains the first matching information that has a matching relationship with the second matching information of the current matching target when the information format of the first information to be matched is a plain text format, matches the first information to be matched of the current matching source with the first matching information to generate the first matching result, the second matching result determining module determines the second matching result of the current matching source and the current matching target according to the first matching result, and displays the matching result to the user. By adopting the technical scheme, the matching result of the matching source and the matching target is determined based on text matching, so that accurate matching can be performed when the content of the matching source and/or the matching target changes, the accuracy of the matching result and the adjustability of the matching relation between the matching source and the matching target are improved, more matching schemes are provided for the connection questions, the flexibility in editing the content of the matching source and the matching target is improved, and the use experience of a user is improved.
Further, the matching device provided by this embodiment may further include: a matching group display module, configured to display a first matching group and a second matching group in a screen before the first information to be matched of a current matching source matching with a current matching target and the information format of the first information to be matched are acquired, where the first matching group includes at least one matching source, and the second matching group includes at least one matching target; and the current matching object determining module is used for determining the current matching source and the current matching target which are matched at this time according to a set method.
In the above technical solution, the current matching object determining module may include: the dragging monitoring unit is used for monitoring the dragging operation of the user on the matching source in the dragging matching mode; and the current matching object determining unit is used for determining a matching target to which the current object hot area belongs as a current matching target if the current object hot area intersected with the current display area of the matching source exists at the end of the dragging operation, and determining a matching source of which the current display area is intersected with the current object hot area as a current matching source, wherein the object hot area is an area of which the matching target is used for responding to the dragging operation of a user on the matching source.
Further, the matching device provided by this embodiment may further include: and the matching source moving unit is used for moving the current matching source after the matching source intersecting the current display area and the current object hot area is determined as the current matching source so as to display the current matching source in the current object hot area.
Further, the matching device provided by this embodiment may further include: the display adjusting unit is used for responding to an event that the current display area of the matching source is intersected with the object hot area, and displaying the object hot area intersected with the current display area according to a set display mode; and in response to an event that the current display region of the matching source does not intersect an object hot region, stopping displaying the object hot region that does not intersect the current display region.
Further, the matching device provided by this embodiment may further include: and the hot area determining unit is used for determining the object hot area of each matching target according to the display area of each matching target in the screen before the dragging operation of the user on the matching source is monitored.
In the above technical solution, the current matching object determining module may include: the matching object acquisition unit is used for acquiring a matching source and a matching target of a display area containing the endpoint coordinates of the current drawing handwriting if the completion of the drawing of the current drawing handwriting of a user on a screen is detected in a connection line matching mode; and the current matching object determining unit is used for responding to the event that the first endpoint coordinate contained in the matching source and the second endpoint coordinate contained in the matching target are different endpoint coordinates of the current drawn handwriting, determining the matching source as the current matching source, and determining the matching target as the current matching target.
In the foregoing technical solution, the first matching result may include a matching degree between the first information to be matched and the first matching information, and the second matching result determining module 403 may be configured to: if the matching degree is larger than or equal to a set matching degree threshold value, determining a second matching result of the current matching source and the current matching target as successful matching, and feeding back the second matching result to a user according to a first feedback mode; and if the matching degree is smaller than a set matching degree threshold value, determining the matching result of the current matching source and the current matching target as matching failure, and feeding back the second matching result to the user according to a second feedback mode.
Further, the matching device provided by this embodiment may further include: and the editing module is used for displaying a matching group editing interface to a user and recording the first matching information of each matching source, the second matching information of each matching target and the matching relation between each first matching information and each second matching information, which are input by the user on the matching group editing interface.
The matching device provided by the fourth embodiment of the invention can execute the matching method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of executing the matching method. For details of the matching method provided in any embodiment of the present invention, reference may be made to the matching method not described in detail in this embodiment.
EXAMPLE five
Fig. 5 is a schematic structural diagram of an interactive smart tablet according to a fifth embodiment of the present invention, as shown in fig. 5, the interactive smart tablet includes a processor 50 and a memory 51, and may further include an input device 52 and an output device 53; the number of processors 50 in the interactive smart tablet may be one or more, and one processor 50 is taken as an example in fig. 5; the processor 50, the memory 51, the input device 52 and the output device 53 in the interactive smart tablet may be connected by a bus or other means, and the bus connection is exemplified in fig. 5.
The memory 51 is used as a computer-readable storage medium for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the matching method in the embodiment of the present invention (for example, the information acquisition module 401, the first matching result generation module 402, and the second matching result determination module 403 in the matching apparatus). The processor 50 executes various functional applications and data processing of the interactive smart tablet by running software programs, instructions and modules stored in the memory 51, namely, implements the matching method described above.
The memory 51 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 51 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, memory 51 may further include memory located remotely from processor 50, which may be connected to the interactive smart tablet via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 52 may be used to receive entered numeric or character information and generate key signal inputs related to user settings and function controls of the interactive smart tablet. The output device 53 may include a display device such as a display screen.
EXAMPLE six
An embodiment of the present invention further provides a storage medium containing computer-executable instructions, which when executed by a computer processor, perform a matching method, the method including:
acquiring first information to be matched of a current matching source matched with a current matching target and an information format of the first information to be matched;
if the information format is a plain text format, acquiring first matching information which has a matching relationship with second matching information of the current matching target, and performing text matching on the first information to be matched and the first matching information to generate a first matching result;
and determining a second matching result of the current matching source and the current matching target according to the first matching result, and displaying the second matching result to the user.
Of course, the storage medium provided by the embodiment of the present invention contains computer-executable instructions, and the computer-executable instructions are not limited to the method operations described above, and may also perform related operations in the matching method provided by any embodiment of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
It should be noted that, in the embodiment of the matching apparatus, the included units and modules are merely divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (12)

1. A matching method, comprising:
acquiring first information to be matched of a current matching source matched with a current matching target and an information format of the first information to be matched;
if the information format is a plain text format, acquiring first matching information which has a matching relationship with second matching information of the current matching target, and performing text matching on the first information to be matched and the first matching information to generate a first matching result;
if the information format is a non-plain text format, acquiring IDs of the current matching source and the current matching target, and performing ID matching on the current matching source and the current matching target based on the IDs to generate a first matching result, wherein the non-plain text format is an information format with empty content including a formula, a picture or contents;
and determining a second matching result of the current matching source and the current matching target according to the first matching result, and displaying the second matching result to the user.
2. The method according to claim 1, wherein before the obtaining the first information to be matched of the current matching source matching with the current matching target and the information format of the first information to be matched, further comprises:
displaying a first matching group and a second matching group in a screen, wherein the first matching group comprises at least one matching source, and the second matching group comprises at least one matching target;
and determining the current matching source and the current matching target for matching at this time according to a set method.
3. The method according to claim 2, wherein the determining the current matching source and the current matching target for matching at this time according to the setting method comprises:
monitoring the dragging operation of a user on the matching source in a dragging matching mode;
and if a current object hot area intersected with the current display area of the matching source exists at the end of the dragging operation, determining the matching target to which the current object hot area belongs as a current matching target, and determining the matching source of which the current display area is intersected with the current object hot area as a current matching source, wherein the object hot area is an area of which the matching target is used for responding to the dragging operation of a user on the matching source.
4. The method of claim 3, wherein after determining the matching source that intersects the current display region with the current object hotspot as a current matching source, further comprising:
and moving the current matching source to display the current matching source in the current object hot area.
5. The method of claim 3, further comprising:
responding to an event that a current display area of the matching source is intersected with an object hot area, and displaying the object hot area intersected with the current display area according to a set display mode; and the number of the first and second groups,
and in response to an event that the current display area of the matching source does not intersect with an object hot area, stopping displaying the object hot area which does not intersect with the current display area.
6. The method of claim 3, prior to the monitoring a drag operation of the matching source by the user, further comprising:
and determining the object hot area of each matching target according to the display area of each matching target in the screen.
7. The method according to claim 2, wherein the determining the current matching source and the current matching target for matching at this time according to the setting method comprises:
in the connection line matching mode, if the completion of the drawing of the current drawing handwriting of a user on a screen is detected, a matching source and a matching target of a display area containing the endpoint coordinates of the current drawing handwriting are obtained;
and if the first endpoint coordinate contained in the matching source and the second endpoint coordinate contained in the matching target are different endpoint coordinates of the current drawn handwriting, determining the matching source as the current matching source and determining the matching target as the current matching target.
8. The method according to claim 1, wherein the first matching result includes a matching degree between the first information to be matched and the first matching information, and the determining a second matching result between the current matching source and the current matching target according to the first matching result and presenting the second matching result to a user includes:
if the matching degree is larger than or equal to a set matching degree threshold value, determining a second matching result of the current matching source and the current matching target as successful matching, and feeding back the second matching result to a user according to a first feedback mode;
and if the matching degree is smaller than a set matching degree threshold value, determining the matching result of the current matching source and the current matching target as matching failure, and feeding back the second matching result to the user according to a second feedback mode.
9. The method of any one of claims 1-8, further comprising:
and displaying a matching group editing interface to a user, and recording first matching information of each matching source, second matching information of each matching target and a matching relation between each first matching information and each second matching information, which are input by the user on the matching group editing interface.
10. A matching device, comprising:
the information acquisition module is used for acquiring first information to be matched of a current matching source matched with a current matching target and the information format of the first information to be matched;
the first matching result generation module is used for responding to the event that the information format is a plain text format, acquiring first matching information which has a matching relation with second matching information of the current matching target, and performing text matching on the first information to be matched and the first matching information to generate a first matching result; responding to an event that the information format is a non-plain text format, acquiring IDs of the current matching source and the current matching target, and performing ID matching on the current matching source and the current matching target based on the IDs to generate a first matching result, wherein the non-plain text format is an information format with empty content including a formula, a picture or contents;
and the second matching result determining module is used for determining a second matching result of the current matching source and the current matching target according to the first matching result and displaying the second matching result to the user.
11. An interactive smart tablet, the interactive smart tablet comprising:
one or more processors;
a memory for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the matching method of any of claims 1-9.
12. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the matching method according to any one of claims 1 to 9.
CN201710978777.9A 2017-10-19 2017-10-19 Matching method and device, interactive intelligent panel and storage medium Active CN107679219B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710978777.9A CN107679219B (en) 2017-10-19 2017-10-19 Matching method and device, interactive intelligent panel and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710978777.9A CN107679219B (en) 2017-10-19 2017-10-19 Matching method and device, interactive intelligent panel and storage medium

Publications (2)

Publication Number Publication Date
CN107679219A CN107679219A (en) 2018-02-09
CN107679219B true CN107679219B (en) 2021-05-11

Family

ID=61141583

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710978777.9A Active CN107679219B (en) 2017-10-19 2017-10-19 Matching method and device, interactive intelligent panel and storage medium

Country Status (1)

Country Link
CN (1) CN107679219B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110147429B (en) * 2019-04-15 2023-08-15 平安科技(深圳)有限公司 Text comparison method, apparatus, computer device and storage medium
CN115237289B (en) * 2022-07-01 2024-02-23 杭州涂鸦信息技术有限公司 Hot zone range determining method, device, equipment and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107066191A (en) * 2017-05-19 2017-08-18 广州视源电子科技股份有限公司 Edit methods, system, readable storage medium storing program for executing and the computer equipment of e-classroom

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100485664C (en) * 2002-04-10 2009-05-06 中兴通讯股份有限公司 Automatic state machine searching and matching method of multiple key words
CA2786539A1 (en) * 2009-10-19 2011-04-28 Twist Education, Llc Teaching lessons within an electronic device
CN104184654A (en) * 2014-07-30 2014-12-03 小米科技有限责任公司 User ID based matching method and device
US9367763B1 (en) * 2015-01-12 2016-06-14 Xerox Corporation Privacy-preserving text to image matching
US9959341B2 (en) * 2015-06-11 2018-05-01 Nuance Communications, Inc. Systems and methods for learning semantic patterns from textual data
CN106547459A (en) * 2015-09-16 2017-03-29 阿里巴巴集团控股有限公司 Based on the grouping method of touch display screen, device and electronic equipment
CN105718111B (en) * 2016-01-20 2019-07-16 广州视睿电子科技有限公司 Interactive intelligent tablet computer and its exchange method, mode and system
CN106846317B (en) * 2017-02-27 2021-09-17 北京连心医疗科技有限公司 Medical image retrieval method based on feature extraction and similarity matching

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107066191A (en) * 2017-05-19 2017-08-18 广州视源电子科技股份有限公司 Edit methods, system, readable storage medium storing program for executing and the computer equipment of e-classroom

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
华中师范大学;武利珍;《中国优秀硕士学位论文全文数据库社会科学Ⅱ辑》;20170215(第2期);第26-27页和图4.17、4.21 *
武利珍.华中师范大学.《中国优秀硕士学位论文全文数据库社会科学Ⅱ辑》.2017,(第2期), *

Also Published As

Publication number Publication date
CN107679219A (en) 2018-02-09

Similar Documents

Publication Publication Date Title
US9354707B2 (en) Combination color and pen palette for electronic drawings
CN110058782B (en) Touch operation method and system based on interactive electronic whiteboard
US8634645B2 (en) Method and tool for recognizing a hand-drawn table
EP3491506B1 (en) Systems and methods for a touchscreen user interface for a collaborative editing tool
US10719228B2 (en) Image processing apparatus, image processing system, and image processing method
US8542207B1 (en) Pencil eraser gesture and gesture recognition method for touch-enabled user interfaces
US20140189482A1 (en) Method for manipulating tables on an interactive input system and interactive input system executing the method
KR102205283B1 (en) Electro device executing at least one application and method for controlling thereof
CN102768595B (en) A kind of method and device identifying touch control operation instruction on touch-screen
US20160092728A1 (en) Electronic device and method for processing handwritten documents
CN105117132A (en) Touch control method and apparatus
CN107844953B (en) Conference file management method, device, terminal and computer readable storage medium
CN109976614B (en) Method, device, equipment and medium for marking three-dimensional graph
CN104737117A (en) System and method for controlling display of virtual keyboard to avoid obscuring data entry fields
CN114003145B (en) Touch screen writing and erasing method and device, electronic whiteboard and storage medium
US11275501B2 (en) Creating tables using gestures
CN107679219B (en) Matching method and device, interactive intelligent panel and storage medium
CN103365444A (en) Terminal equipment and touch method for touch screen thereon
CN111580903A (en) Real-time voting method, device, terminal equipment and storage medium
US10073612B1 (en) Fixed cursor input interface for a computer aided design application executing on a touch screen device
EP2669783A1 (en) Virtual ruler for stylus input
CN103809912A (en) Tablet personal computer based on multi-touch screen
CN113031817B (en) Multi-touch gesture recognition method and false touch prevention method
WO2020093329A1 (en) Data input method for terminal device, terminal device, and storage medium
US20190324589A1 (en) Input device with touch sensitive surface

Legal Events

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