CN116136732A - Interactive answer method and device, medium and terminal - Google Patents

Interactive answer method and device, medium and terminal Download PDF

Info

Publication number
CN116136732A
CN116136732A CN202111363720.0A CN202111363720A CN116136732A CN 116136732 A CN116136732 A CN 116136732A CN 202111363720 A CN202111363720 A CN 202111363720A CN 116136732 A CN116136732 A CN 116136732A
Authority
CN
China
Prior art keywords
answer
area
content
target
question
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111363720.0A
Other languages
Chinese (zh)
Inventor
王伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN202111363720.0A priority Critical patent/CN116136732A/en
Publication of CN116136732A publication Critical patent/CN116136732A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0483Interaction with page-structured environments, e.g. book metaphor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure provides an interactive question answering method and device, a medium and a terminal, and relates to the technical field of terminals. Wherein the method comprises the following steps: locating a response area in the original question data, and adding a click event in the response area; responding to clicking operation of the answer area, displaying an answer control, wherein the answer control is used for receiving first answer content of a user; rendering the first answer content to display the first answer content in the answer area. Through the scheme, the user does not need to switch between the question page and the answer page, but directly carries out interactive answer on the question page, so that the attention of the user in the answer process is favorably concentrated, the immersion of the user in the answer process is enhanced, and the answer efficiency is improved.

Description

Interactive answer method and device, medium and terminal
Technical Field
The disclosure relates to the technical field of digital answering, and in particular relates to an interactive answering method and device, a medium and a terminal.
Background
With the continuous development of intelligent devices, the digital answer mode is gradually popularized.
Compared with the traditional paper answer mode, the digital answer mode has the advantages of saving paper, high submitting operation speed, high file classification and management efficiency and the like, but the digital answer mode on the market at present can not directly answer in answer areas of the questions, all answer areas of the questions are combined, answer can be performed only at the end of the full text of the test paper, so that a user can not efficiently think when answering, the answer efficiency is low, and immersion feeling in the paper answer process is lacked.
It should be noted that the information disclosed in the above background section is only for enhancing understanding of the background of the present disclosure and thus may include information that does not constitute prior art known to those of ordinary skill in the art.
Disclosure of Invention
The invention aims to provide an interactive answer method, device, medium and terminal, which at least improve the attention and efficiency of a user in the answer process to a certain extent and increase the immersion of the user in the answer process.
Other features and advantages of the present disclosure will be apparent from the following detailed description, or may be learned in part by the practice of the disclosure.
According to one aspect of the present disclosure, there is provided an interactive question answering method, including: locating a response area in the original question data, and adding a click event in the response area; responding to clicking operation of the answer area, displaying an answer control, wherein the answer control is used for receiving first answer content of a user; rendering the first answer content to display the first answer content in the answer area.
According to another aspect of the present disclosure, there is provided an interactive question answering apparatus, including:
and a positioning module: the method comprises the steps of locating a response area in original topic data, and adding a click event in the response area;
and a response module: the method comprises the steps of responding to clicking operation of the answer area, displaying an answer control, wherein the answer control is used for receiving first answer content of a user;
and a rendering module: and rendering the first answer content to display the first answer content in the answer area.
According to still another aspect of the present disclosure, a terminal is provided, including a memory, a processor, and an embedded program stored in the memory and capable of running on the processor, where the processor implements the interactive answering method in the above embodiment when executing the embedded program.
According to still another aspect of the present disclosure, there is provided a readable storage medium having stored thereon an embedded program which, when executed by a processor, implements an interactive question answering method as in the above-described embodiments.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects:
in some embodiments of the present disclosure, the following processes are performed on the original topic data, including: locating a response area in the original question data, and adding a click event in the response area; responding to clicking operation of the answer area, displaying an answer control, wherein the answer control is used for receiving first answer content of a user; rendering the first answer content to display the first answer content in the answer area. Through the scheme, the user does not need to switch between the question page and the answer page, but directly carries out interactive answer on the question page, so that the attention of the user in the answer process is favorably concentrated, the immersion of the user in the answer process is enhanced, and the answer efficiency is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure. It will be apparent to those of ordinary skill in the art that the drawings in the following description are merely examples of the disclosure and that other drawings may be derived from them without undue effort.
Fig. 1 shows a schematic diagram of an exemplary application environment in which an interactive answer method of an embodiment of the present disclosure may be applied.
Fig. 2 schematically shows a flow chart of an interactive answer method in an exemplary embodiment according to the present disclosure.
Fig. 3 schematically shows a flow chart of another interactive question answering method in an exemplary embodiment according to the present disclosure.
FIG. 4 schematically illustrates a schematic diagram of an exemplary application environment in which another interactive question answering method of an embodiment of the present disclosure may be applied.
Fig. 5 schematically shows a schematic diagram of an exemplary application environment in which a further interactive question answering method of an embodiment of the present disclosure may be applied.
Fig. 6 schematically illustrates a flowchart of a method of processing a response area in an exemplary embodiment according to the present disclosure.
Fig. 7 schematically shows a schematic diagram of an exemplary application environment in which a further interactive question answering method of an embodiment of the present disclosure may be applied.
Fig. 8 schematically shows a flow chart of a further interactive answer method in an exemplary embodiment according to the disclosure.
Fig. 9 schematically shows a block diagram of an interactive question answering device in an exemplary embodiment according to the present disclosure.
Fig. 10 schematically shows a block diagram of another interactive question answering device according to an exemplary embodiment of the present disclosure.
Fig. 11 schematically illustrates a block diagram of a terminal in an exemplary embodiment according to the present disclosure.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present disclosure more apparent, the embodiments of the present disclosure will be described in further detail below with reference to the accompanying drawings.
When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the disclosure as detailed in the accompanying claims.
In the description of the present disclosure, it is to be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. The specific meaning of the terms in this disclosure will be understood by those of ordinary skill in the art in the specific context. Furthermore, in the description of the present disclosure, unless otherwise indicated, "a plurality" means two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship.
When a user answers a question, the existing digital answer mode provides a separate question display area and a question answer area on an interactive interface, and the user needs to check the content of the question in the question display area before answering in the question answer area. The question display area and the question answering area of the digital question answering mode are split, so that the user loses the immersion sense when answering paper on the digital equipment, and the question answering efficiency of the user is difficult to guarantee.
Referring to fig. 1, a schematic diagram of an exemplary application environment in which an interactive question answering method of an embodiment of the present disclosure may be applied is shown.
A schematic diagram of an exemplary application environment for the interactive question answering method shown in fig. 1 includes a user 110, an intelligent electronic device 120, an answer area 130, and an answer control 140. Among other things, the intelligent electronic device 120 includes, but is not limited to: interaction tablet, smart phone, smart tablet; questions to which the answer area 130 belongs include, but are not limited to, selection questions, gap filler questions, and answer questions; answer controls 140 include, but are not limited to, keyboards, drawing boards, for different question types. For example, answer controls corresponding to answer regions of simple questions include, but are not limited to, drawing boards.
The interactive panel may be an integrated device for controlling content displayed on the display panel and implementing man-machine interaction operation by using a touch technology, and integrates one or more functions of a projector, an electronic whiteboard, a curtain, sound equipment, a television, a video conference terminal and the like. Of course, the interactive tablet does not include a definition of the surface features of the display surface, e.g., the surface features of the interactive tablet may be planar, curved, or a splice of multiple planes, etc.
Wherein, the interactive flat board includes the display screen at least. For example, the interactive tablet is specifically configured with a display screen having a touch function, which may be an infrared display screen, a capacitive display screen, a resistive display screen, an electromagnetic display screen, a pressure-sensitive display screen, or the like. On a display screen with a touch function, a user can realize touch operation in a mode of touching the display screen by a finger or a writing pen, and correspondingly, the interactive flat plate detects a touch position and responds according to the touch position so as to realize the touch function. When the touch sensing modules adopted on the display screen with the touch function are different, the original touch sensing signals acquired by the touch sensing modules are different, and the touch signals obtained by conversion are not identical.
The graphical interface displayed in the display screen of the interactive flat panel is also a touch detection area for detecting user operation, namely the range of the graphical interface and the touch detection area basically coincide. When the touch detection area performs touch operation, for example, when a writing pen or a finger contacts a display screen with a touch function to perform writing, a touch sensing module of the display screen can sense the change of infrared light, the change of current, the change of voltage, the change of magnetic flux or the change of pressure (corresponding to the specific setting type of an infrared display screen, a capacitance display screen, a resistance display screen, an electromagnetic display screen or a pressure-sensitive display screen), so that a touch signal containing coordinates of a touch position and the triggering time of the touch signal are obtained after conversion, and the track data of a writing track input in the process of stopping writing after the writing pen or the finger of a user is pressed down each time can be obtained according to the coordinates of the touch position and the triggering time of the touch signal, and the writing track input by the user is displayed in real time on a graphical interface of the display screen according to the track data. Of course, the writing process is not limited to writing, and any entry process for displaying an operation trace implemented on the display screen of the interactive tablet may be regarded as the writing process. In addition, according to the difference of display elements of the occurrence positions of the touch operation, the touch operation can be responded as clicking, dragging and other operations of a user. These different response patterns are identical in the underlying coordinate processing pattern. Based on the hardware realization of basic functions such as touch and display, various interactive display designs of the interactive tablet can be realized. It should be noted that, from the user interaction experience, the display interface of the interaction panel and the touch detection area are generally the same interface, and for the notebook computer, the display interface and the touch detection area may be completely independent from each other, or may partially overlap with each other.
Illustratively, the interactive tablet is installed with at least one operating system, where the operating system includes, but is not limited to, an android system, a Linux system, and a Windows system, which are used to control and coordinate the interactive tablet and external devices, so that various independent hardware in the interactive tablet can coordinate as a stable whole, and the architecture level where the operating system is located is defined as a system layer. On the basis of a system layer, an application program developed for meeting different fields and different problems of users is installed in the interaction panel, and the corresponding architecture level is an application layer. In the description of the specific embodiment of the present solution, the interactive tablet may be provided with at least one application program having a writing function. The application program with writing function may be an application program of the operating system, and may also be an application program downloaded from a third party device or a server. Optionally, the application program has other editing functions, such as deleting, inserting pictures, drawing forms, drawing figures, and the like, in addition to the writing function based on the touch operation.
The following describes the interactive question answering method provided in the embodiment of the present disclosure in detail with reference to fig. 2 to 8.
Fig. 2 schematically illustrates a flowchart of an interactive question answering method according to an exemplary embodiment of the present disclosure. Referring to fig. 2, the interactive question answering method shown in the figure includes:
s210, locating a response area in the original question data, and adding a click event in the response area.
And S220, responding to clicking operation on the answer area, and displaying an answer control, wherein the answer control is used for receiving first answer content of the user.
And S230, rendering the first answer content to display the first answer content in an answer area.
In an exemplary embodiment, referring to fig. 1, firstly, a response area 130 is located in original question data, a click event is added in the response area 130, and in response to a click operation of the user 110 on the response area 130, a response control 140 is displayed in an area outside the question, wherein the response control 140 is configured to receive a first response content of the user 110, and further render the first response content to display the first response content in the response area 130.
According to the technical scheme provided by the embodiment shown in fig. 2, the clicking event is added to the question answering area, and the question answering area and the question display area are fused, so that an interactive answer mode is realized, the attention and the answering efficiency of a user in the answering process are improved, and the immersion of the user in the answering process is increased.
Fig. 3 schematically illustrates a flow chart of another interactive answer method in an exemplary embodiment according to the disclosure. A detailed description of the individual steps of the embodiment shown in fig. 2 is provided below in conjunction with fig. 3. Referring to fig. 3, the method shown in this figure includes: S301-S310.
Wherein, S301-S303 may be a specific implementation manner of step S210. In S301, comparing the original question data with a preset character library to determine preset characters contained in the original question data; and, in S302, an area where the preset character is located in the original question data is determined as a response area.
In an exemplary embodiment, the preset characters in the preset character library include, but are not limited to: short underline, long underline, small brackets, medium brackets, large brackets, and space characters.
In an exemplary embodiment, the original question data is compared with a preset character in a preset character library, and if the original question data is the same as a certain preset character, the preset character is included in the original question data. Further, the area where the preset character is located in the original question data is determined as a response area. For example, referring to fig. 4, if the underline 410 ("__") in the original question data is the same as the underline in the preset character library, it is explained that the original question data contains the preset character underline, and the area where the underline is located is determined as the answer area of the question.
In an exemplary embodiment, as shown in fig. 1 as an answer area 130, in the case where a preset character included in original question data is an underline, a blank area above where the underline is located is determined as an answer area, the length of the blank area is identical to the length of the underline, and the height of the blank area is the height of the character in the original question.
For another example, in the case where a predetermined character included in the original question data is a bracket, a blank area between a left bracket and a right bracket is determined as a response area, wherein the height of the response area is the height of the character in the original question.
By way of example, fig. 6 schematically illustrates a flowchart of a method of rendering a response area and original topic data in accordance with an exemplary embodiment of the present disclosure. Referring to fig. 5, the method shown in this figure includes: S601-S603.
Specifically, steps S601-S602 are implemented as S302, and in S601, the preset character in the original question data is replaced with the user interface identifier; and, in S602, a region in which the user interface identifier is located in the original question data is determined as a response region.
In an exemplary embodiment, referring to fig. 1, the area where the user interface identifier is located in the original title data is determined as the answer area 130.
In order to allow the user interface identifier to be thoroughly distinguished from other content in the original topic data, for example: the answer area ___ of the blank question is replaced by "$ { blank }" and because the "$ { blank }" cannot possibly appear in the original question data, other contents in the original question data and the user interface identifier cannot be mixed together in the subsequent rendering process, and the accuracy of replacing the preset characters with the user interface identifier is improved.
With continued reference to fig. 3, in S303, a click event is added to the answer area.
In an exemplary embodiment, referring to FIG. 1, a click event is added to the answer area 130 such that when the user clicks on the answer area, an answer control 140 is presented to the user in the answer software.
In an exemplary embodiment, referring to fig. 1, in response to a click operation of the target answer area 130 by the user 110, an answer control 140 of the target type is displayed in answer software. For another example, referring to fig. 4, a short underline 410 is shown as the target answer area, and the answer control 520 is shown with reference to fig. 5 after the user 110 clicks the short underline 410.
Specifically, after step S303, with continued reference to fig. 6, in S603, the user interface identifier is rendered so that the answer area is displayed as the preset character; and rendering the original topic data.
In an exemplary embodiment, referring to fig. 1, the user interface identifier is rendered in the mobile terminal such that the response area 130 is displayed as the preset character. Specifically, as shown in fig. 4, the mobile terminal renders the user interface identifier so that the answer area 410 is displayed as the above-mentioned preset character.
Specifically, as shown in fig. 4, when the user clicks the target answer area 410"___", a corresponding answer control is displayed, after the answer control receives the character K input by the user, the target answer area 410 is refreshed, and in the rendering process, the content of the area of the target answer area 410"___" is replaced by the character K, and at this time, the content displayed in the question display area is "… … x is K", so as to finish the answer flow.
According to the technical scheme provided by the embodiment shown in fig. 6, through determining preset characters contained in original question data and replacing the preset characters with user interface identifiers, determining the area where the user interface identifiers are located in the original question data as a response area, adding click events in the response area, and finally rendering the user interface identifiers, the response area is displayed as the preset characters. According to the embodiment, through the steps, the preset characters of the answer area are replaced by the user interface identifiers, so that the answer area and the non-answer area in the original question data can be better distinguished, and the accuracy of identifying the answer area is improved.
With continued reference to FIG. 3, after the answer area is determined, S304-S307 are performed as a specific embodiment of S220. In S304, the type of the target question is determined, and the target question includes a target response area.
In an exemplary embodiment, as shown in fig. 1, the target question may be any question among the test questions. Specifically, the answer area included in the target question is recorded as: target answering area. Referring to fig. 1, the type of the target title is determined, wherein the target title includes the target answer area 130.
In S305, a target type of the answer control is determined according to the type of the target topic.
In an exemplary embodiment, referring to fig. 1, the target type of the answer control 140 is determined according to the type of the target title, for example: the answer control types corresponding to the filling questions comprise long underlines and/or short underlines, the answer control types corresponding to the selection questions comprise brackets or brackets, and the answer control types corresponding to the simple questions comprise drawing boards. Through step S305, the answer efficiency of the user can be improved.
In S306, in response to the click operation on the target answer area, an answer control of the target type is displayed.
In S307, first answer content input by the user is received through an answer control of the target type.
In an exemplary embodiment, referring to fig. 1, the answer control 140 receives the first answer content input by the user 110. As another example, as shown in FIG. 5, answer control 520 receives string 123 entered by user 110.
With continued reference to fig. 3, as a specific embodiment of S230: in S308, the first answer content is rendered to display the first answer content in the answer area.
In an exemplary embodiment, referring to fig. 1, the first answer content is rendered to display the first answer content in the answer area 130. Specifically, as shown in fig. 7, after the first answer content is rendered, the character string 123 is displayed in the target answer area 710.
In S309, in response to the click operation on the first answer content, an answer control is displayed, and the second answer content of the user is received through the answer control.
In an exemplary embodiment, referring to fig. 1, when the user needs to modify the answer content, in response to a click operation of the user 110 on the first answer content, an answer control 140 of the target type is displayed in answer software, and a second answer content of the user 110 is received through the answer control 140.
In S310, the second answer content is rendered to display the second answer content in the answer area.
In an exemplary embodiment, referring to fig. 1, the second answer content is rendered to display the second answer content in the answer area 130.
The embodiment shown in fig. 3 provides a technical solution, in which the preset characters contained in the original question data are determined by comparing the original question data with a preset character library, and the area where the preset characters are located in the original question data is determined as a response area. Further, a click event is added in the answer area, the type of the target question is determined, and the target type of the answer control is determined according to the type of the target question. And responding to clicking operation of the user on the target answering area, displaying an answering control of a target type in a screen, receiving first answering content of the user through the answering control, and rendering the first answering content so as to display the first answering content in the answering area.
In addition, when the user wants to modify the first answer content, in response to the click operation of the user on the first answer content, an answer control is displayed again in the screen, so that the user inputs the second answer content through the answer control. Further, the mobile terminal renders the second answer content to display the second answer content in the answer area. Through the embodiment shown in fig. 3, an interactive answer mode can be realized, the attention and answer efficiency of the user in the answer process are improved, the immersion of the user in the answer process is increased, different types of answer controls are provided for different questions, and the user is enabled to modify answer contents in an answer area.
Fig. 8 schematically illustrates a flow chart of a further interactive answer method according to an exemplary embodiment of the disclosure.
Referring to fig. 8, the method shown in the figure includes steps S801 to S803, where steps S801 to S803 may be used as a specific implementation of any of the foregoing embodiments, and the specific implementation in fig. 8 is described in detail below in conjunction with fig. 1.
In S801, in response to a click operation of an area other than the answer control, the display of the answer control is canceled.
In an exemplary embodiment, referring to fig. 1, in response to a clicking operation of the user 110 on an area other than the answer control 140, the display of the answer control 140 is canceled in the answer software, so that the user can close the answer control 140 at any time according to actual needs in the answer process.
In S802, in response to a triggering operation for modifying the target answer content, the target answer content is compared with a preset standard answer, and the comparison result is displayed in the answer area.
In an exemplary embodiment, referring to fig. 1, in response to a triggering operation of modifying the target answer content in the answer software by the user 110, the target answer content is compared with a preset standard answer, and a comparison result is displayed in the answer area 140, where the manner of presenting the comparison result includes, but is not limited to: and selecting the target answer content in a box, or changing the color of the text in the target answer content.
In S803, the comparison result is hidden in response to the long press target answer content.
According to the technical scheme provided by the embodiment shown in fig. 8, through the steps, the answer control is hidden so that the answer control is displayed when a user needs to answer, and the comparison result of the target answer content can be displayed in the answer area of the target subject, so that the intuitiveness of correction is improved, and through long-press operation on the target answer content, the comparison result is hidden, and the flexibility of reading the correction result is improved.
It should be noted that, in any embodiment disclosed in the present application, the answer control may be dragged according to a user requirement, so that the answer control is displayed in different areas of the screen. The clicking operation in any embodiment disclosed in the present application is not limited to the clicking operation, but may be a clicking operation such as a double click operation, a long press operation, or the like.
The foregoing embodiment numbers of the present disclosure are merely for description and do not represent advantages or disadvantages of the embodiments.
The following are device embodiments of the present disclosure that may be used to perform method embodiments of the present disclosure. For details not disclosed in the embodiments of the apparatus of the present disclosure, please refer to the embodiments of the method of the present disclosure.
Fig. 9 schematically shows a block diagram of an interactive question answering apparatus according to an exemplary embodiment of the present disclosure. Referring to fig. 9, the interactive question answering apparatus 900 shown in the figure includes: a positioning module 910, a response module 920, and a rendering module 930, wherein:
the positioning module 910 is configured to position a response area in the original question data, and add a click event to the response area; the response module 920 is configured to display a response control in response to the clicking operation of the response area, where the response control is configured to receive a first response content of a user; the rendering module 930 is configured to render the first answer content, so as to display the first answer content in the answer area.
In an exemplary embodiment, fig. 10 schematically shows a schematic structural diagram of another interactive question answering device according to an exemplary embodiment of the present disclosure. Please refer to fig. 10:
in an exemplary embodiment, the apparatus includes: a positioning module 910.
Wherein, the positioning module 910 is configured to: locating a response area in the original question data, and adding a click event in the response area; and the method is also used for determining the area where the preset character is located in the original question data as the answer area.
In an exemplary embodiment, based on the foregoing, the apparatus further includes: comparison module 911.
The comparison module 911 is configured to: comparing the original question data with a preset character library to determine preset characters contained in the original question data; and the method is also used for responding to the triggering operation of correcting the target answer content, comparing the target answer content with a preset standard answer, and displaying the comparison result in the answer area.
In an exemplary embodiment, based on the foregoing, the apparatus further includes: a replacement module 912.
Wherein, the replacing module 912 is configured to: and replacing preset characters in the original theme data with user interface identifiers.
In an exemplary embodiment, based on the foregoing, the apparatus further includes: a response module 920.
The response module 920 is configured to: responding to clicking operation of the answer area, displaying an answer control, wherein the answer control is used for receiving first answer content of a user; the method is also used for responding to clicking operation of the target answering area and displaying the answering control of the target type; and the method is also used for responding to the clicking operation of the first answer content, displaying the answer control and receiving the second answer content of the user through the answer control.
In an exemplary embodiment, based on the foregoing, the apparatus further includes: a first determination module 921.
The first determining module 921 is configured to: and determining the type of the target question, wherein the target question comprises a target answering area.
In an exemplary embodiment, based on the foregoing, the apparatus further includes: a second determination module 922.
Wherein, the second determining module 922 is configured to: and determining the target type of the answer control according to the type of the target title.
In an exemplary embodiment, based on the foregoing scheme, the apparatus further includes a rendering module 930.
Wherein, the rendering module 930 is configured to: rendering the first answer content to display the first answer content in the answer area; the user interface identifier is further used for rendering, so that the answer area is displayed as the preset character; and the method is also used for rendering the second response content so as to display the second response content in the response area.
In an exemplary embodiment, based on the foregoing, the apparatus further includes a hiding module 1040.
The hiding module 1040 is configured to: and hiding the comparison result in response to long-time pressing of the target answer content.
In an exemplary embodiment, the apparatus further includes a shutdown module 1050 based on the foregoing.
Wherein, the closing module 1050 is configured to: and canceling to display the answer control in response to the clicking operation of the area outside the answer control.
It should be noted that, when the interactive answering device provided in the above embodiment executes the interactive answering method, only the division of the above functional modules is used for illustration, in practical application, the above functional allocation may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the functions described above. In addition, the interactive answering device provided in the above embodiment and the interactive answering method embodiment belong to the same concept, so for details not disclosed in the embodiment of the device of the present disclosure, please refer to the embodiment of the interactive answering method of the present disclosure, and the details are not repeated here.
The foregoing embodiment numbers of the present disclosure are merely for description and do not represent advantages or disadvantages of the embodiments.
The disclosed embodiments also provide a readable storage medium having stored thereon an embedded program which, when executed by a processor, performs the steps of any of the methods of the previous embodiments. The readable storage medium may include, among other things, any type of disk including floppy disks, optical disks, DVDs, CD-ROMs, micro-drives, and magneto-optical disks, ROM, RAM, EPROM, EEPROM, DRAM, VRAM, flash memory devices, magnetic or optical cards, nanosystems (including molecular memory ICs), or any type of media or device suitable for storing instructions and/or data.
The embodiment of the disclosure also provides a terminal, which comprises a memory, a processor and an embedded program stored on the memory and capable of running on the processor, wherein the processor realizes the steps of the method of any embodiment when executing the program.
Fig. 11 schematically illustrates a block diagram of a terminal in an exemplary embodiment according to the present disclosure. Referring to fig. 11, a terminal 1100 includes: a processor 1110 and a memory 1120.
In the embodiment of the disclosure, the processor 1110 is a control center of an embedded system, and may be a processor of a physical machine or a processor of a virtual machine. Processor 1110 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 1110 may be implemented in at least one hardware form of DSP (Digital Signal Processing ), FPGA (Field-Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array ). The processor 1110 may also include a main processor, which is a processor for processing data in an awake state, also called a CPU (Central Processing Unit ), and a coprocessor; a coprocessor is a low-power processor for processing data in a standby state.
In the embodiment of the present disclosure, the processor 1110 is specifically configured to:
locating a response area in the original question data, and adding a click event in the response area; responding to clicking operation of the answer area, displaying an answer control, wherein the answer control is used for receiving first answer content of a user; rendering the first answer content to display the first answer content in the answer area.
Further, the locating the answer area in the original question data includes: comparing the original question data with a preset character library to determine preset characters contained in the original question data; and determining the area where the preset character is located in the original question data as the answer area.
Further, after the determining the preset character contained in the original question data, the method further includes: replacing preset characters in the original question data with user interface identifiers; after the click event is added to the answer area, the method further comprises: rendering the user interface identifier to enable the answer area to be displayed as the preset character.
Further, the display answer control comprises: determining the type of a target question, wherein the target question comprises a target response area; determining the target type of the answer control according to the type of the target question; and responding to clicking operation on the target answering area, and displaying the answering control of the target type.
Further, the method further comprises: responding to clicking operation of the first answer content, displaying the answer control, and receiving second answer content of the user through the answer control; rendering the second answer content to display the second answer content in the answer area.
Further, the method further comprises: responding to a triggering operation for correcting the target answer content, comparing the target answer content with a preset standard answer, and displaying a comparison result in the answer area; and hiding the comparison result in response to long-time pressing of the target answer content.
Further, the method further comprises: and canceling to display the answer control in response to the clicking operation of the area outside the answer control.
Memory 1120 may include one or more readable storage media, which may be non-transitory. Memory 1120 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments of the present disclosure, a non-transitory readable storage medium in memory 1120 is used to store at least one instruction for execution by processor 1110 to implement the methods in embodiments of the present disclosure.
In some embodiments, the terminal 1100 further includes: a peripheral interface 1130 and at least one peripheral. Processor 1110, memory 1120, and peripheral interface 1130 may be connected by a bus or signal lines. Individual peripheral devices may be connected to peripheral device interface 1130 by buses, signal lines, or circuit boards. Specifically, the peripheral device includes: at least one of a display 1140, a camera 1150, and an audio circuit 1160.
Peripheral interface 1130 may be used to connect at least one Input/Output (I/O) related peripheral to processor 1110 and memory 1120. In some embodiments of the present disclosure, processor 1110, memory 1120, and peripheral interface 1130 are integrated on the same chip or circuit board; in some other embodiments of the present disclosure, either or both of processor 1110, memory 1120, and peripheral interface 1130 may be implemented on separate chips or circuit boards. The embodiments of the present disclosure are not particularly limited thereto.
The display 1140 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When display 1140 is a touch display, display 1140 also has the ability to collect touch signals at or above the surface of display 1140. The touch signal may be input as a control signal to the processor 1110 for processing. At this point, display 1140 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments of the present disclosure, the display 1140 may be one, providing a front panel of the terminal 1100; in other embodiments of the present disclosure, the display 1140 may be at least two, respectively disposed on different surfaces of the terminal 1100 or in a folded design; in still other embodiments of the present disclosure, display 1140 may be a flexible display disposed on a curved surface or a folded surface of terminal 1100. Even more, the display 1140 may be arranged in a non-rectangular irregular pattern, i.e., a shaped screen. The display 1140 may be made of LCD (Liquid Crystal Display ), OLED (Organic Light-Emitting Diode) or other materials.
The camera 1150 is used to capture images or video. Optionally, the cameras 1150 include front cameras and rear cameras. Typically, the front camera is disposed on the front panel of the terminal and the rear camera is disposed on the rear surface of the terminal. In some embodiments, the at least two rear cameras are any one of a main camera, a depth camera, a wide-angle camera and a tele camera, so as to realize that the main camera and the depth camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize a panoramic shooting and Virtual Reality (VR) shooting function or other fusion shooting functions. In some embodiments of the present disclosure, camera 1150 may also include a flash. The flash lamp can be a single-color temperature flash lamp or a double-color temperature flash lamp. The dual-color temperature flash lamp refers to a combination of a warm light flash lamp and a cold light flash lamp, and can be used for light compensation under different color temperatures.
Audio circuitry 1160 may include a microphone and a speaker. The microphone is used for collecting sound waves of users and the environment, converting the sound waves into electric signals and inputting the electric signals to the processor 1110 for processing. For purposes of stereo acquisition or noise reduction, a plurality of microphones may be provided at different portions of the terminal 1100, respectively. The microphone may also be an array microphone or an omni-directional pickup microphone.
Power supply 1170 is used to power the various components in terminal 1100. The power supply 1170 may be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power supply 1170 includes a rechargeable battery, the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. The wired rechargeable battery is a battery charged through a wired line, and the wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery may also be used to support fast charge technology.
The block diagrams of the terminal structure shown in the embodiments of the present disclosure do not constitute a limitation on the terminal 1100, and the terminal 1100 may include more or less components than illustrated, or may combine some components, or may employ a different arrangement of components.
In this disclosure, the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or order; the term "plurality" means two or more, unless expressly defined otherwise. The terms "mounted," "connected," "secured," and the like are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected; "coupled" may be directly coupled or indirectly coupled through intermediaries. The specific meaning of the terms in this disclosure will be understood by those of ordinary skill in the art as the case may be.
In the description of the present disclosure, it should be understood that the azimuth or positional relationship indicated by the terms "upper", "lower", etc. are based on the azimuth or positional relationship shown in the drawings, and are merely for convenience of describing the present disclosure and simplifying the description, and do not indicate or imply that the apparatus or unit referred to must have a specific direction, be configured and operated in a specific azimuth, and thus should not be construed as limiting the present disclosure.
The foregoing is merely specific embodiments of the disclosure, but the protection scope of the disclosure is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the technical scope of the disclosure, and it is intended to cover the scope of the disclosure. Accordingly, equivalent variations from the claims of the present disclosure are intended to be covered by this disclosure.

Claims (10)

1. An interactive question answering method, characterized by being applied to a digital question answering device, the method comprising:
locating a response area in the original question data, and adding a click event in the response area;
responding to clicking operation of the answer area, displaying an answer control, wherein the answer control is used for receiving first answer content of a user;
Rendering the first answer content to display the first answer content in the answer area.
2. An interactive method as claimed in claim 1, wherein locating the answer region in the original question data comprises:
comparing the original question data with a preset character library to determine preset characters contained in the original question data;
and determining the area where the preset character is located in the original question data as the answer area.
3. An interactive method as claimed in claim 2, wherein after said determining the preset characters contained in the original question data, the method further comprises:
replacing preset characters in the original question data with user interface identifiers;
after the click event is added to the answer area, the method further comprises:
rendering the user interface identifier to enable the answer area to be displayed as the preset character.
4. An interactive method of answering questions as claimed in claim 1, wherein the displaying of the answer control comprises:
determining the type of a target question, wherein the target question comprises a target response area;
Determining the target type of the answer control according to the type of the target question;
and responding to clicking operation on the target answering area, and displaying the answering control of the target type.
5. An interactive method of answering questions as claimed in claim 1, further comprising:
responding to clicking operation of the first answer content, displaying the answer control, and receiving second answer content of the user through the answer control;
rendering the second answer content to display the second answer content in the answer area.
6. An interactive method of answering questions as claimed in any one of claims 1 to 5, further comprising:
responding to a triggering operation for correcting the target answer content, comparing the target answer content with a preset standard answer, and displaying a comparison result in the answer area;
and hiding the comparison result in response to long-time pressing of the target answer content.
7. An interactive method of answering questions as claimed in any one of claims 1 to 5, further comprising:
and canceling to display the answer control in response to the clicking operation of the area outside the answer control.
8. An interactive question answering apparatus, comprising:
and a positioning module: the method comprises the steps of locating a response area in original topic data, and adding a click event in the response area;
and a response module: the method comprises the steps of responding to clicking operation of the answer area, displaying an answer control, wherein the answer control is used for receiving first answer content of a user;
and a rendering module: and rendering the first answer content to display the first answer content in the answer area.
9. A terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the interactive question answering method according to any one of claims 1 to 7 when the computer program is executed.
10. A readable storage medium having stored thereon a computer program, wherein the embedded program, when executed by a processor, implements an interactive question answering method according to any one of claims 1 to 7.
CN202111363720.0A 2021-11-17 2021-11-17 Interactive answer method and device, medium and terminal Pending CN116136732A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111363720.0A CN116136732A (en) 2021-11-17 2021-11-17 Interactive answer method and device, medium and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111363720.0A CN116136732A (en) 2021-11-17 2021-11-17 Interactive answer method and device, medium and terminal

Publications (1)

Publication Number Publication Date
CN116136732A true CN116136732A (en) 2023-05-19

Family

ID=86333067

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111363720.0A Pending CN116136732A (en) 2021-11-17 2021-11-17 Interactive answer method and device, medium and terminal

Country Status (1)

Country Link
CN (1) CN116136732A (en)

Similar Documents

Publication Publication Date Title
US10452333B2 (en) User terminal device providing user interaction and method therefor
US9891809B2 (en) User terminal device and controlling method thereof
CN104035672B (en) For providing the mobile device and its control method of preview by detection rubbing gesture
US8774869B2 (en) Mobile terminal and control method thereof
US10205873B2 (en) Electronic device and method for controlling a touch screen of the electronic device
AU2014275609B2 (en) Portable terminal and user interface method in portable terminal
US9298292B2 (en) Method and apparatus for moving object in terminal having touch screen
EP2658227B1 (en) Exchange of hand-drawings on touch-devices
KR20110081040A (en) Method and apparatus for operating content in a portable terminal having transparent display panel
EP2693321B1 (en) Mobile terminal and control method thereof
CN104303140B (en) Multiwindow provides device and method
EP2816545A2 (en) Method and apparatus for protecting eyesight
KR20160002662A (en) Mobile devices with plural displays
KR101810468B1 (en) Mobile terminal and control method thereof
US20230168805A1 (en) Configuration of application execution spaces and sub-spaces for sharing data on a mobile touch screen device
US20140176600A1 (en) Text-enlargement display method
US10319345B2 (en) Portable terminal and method for partially obfuscating an object displayed thereon
KR20140070218A (en) Mobile apparatus displaying end effect and cotrol method there of
US10409478B2 (en) Method, apparatus, and recording medium for scrapping content
KR20130097266A (en) Method and apparatus for editing contents view in mobile terminal
US20130159934A1 (en) Changing idle screens
CN108492349A (en) Processing method, device, equipment and the storage medium of stroke writing
KR20110083393A (en) Digital signage apparatus and method the same
CN116795273A (en) Interactive screen display method, device, medium and electronic equipment
CN116136732A (en) Interactive answer method and device, medium and terminal

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