Method, device and equipment for confirming content information in display window and storage medium

文档序号:907589 发布日期:2021-02-26 浏览:7次 中文

阅读说明:本技术 显示窗口中内容信息的确认方法、装置、设备及存储介质 (Method, device and equipment for confirming content information in display window and storage medium ) 是由 秦梦娟 于 2020-11-17 设计创作,主要内容包括:本发明涉及计算机技术领域,公开了显示窗口中内容信息的确认方法、装置、设备及存储介质,用于提高在显示窗口中文字信息的确认效率。显示窗口中内容信息的确认方法包括:当接收到语音播报指令时,播放显示窗口中的内容信息;基于预设时长检测内容信息,当文本信息为播放完毕时,利用预置的跳转标签将内容信息定位于操作框的位置,并对操作框进行解禁处理,得到勾选框;获取勾选框的操作结果与确认语音,判断操作结果是否为预置结果;若操作结果为预置结果,则判断确认语音是否为预置语音,若确认语音为预置语音,则完成内容信息的确认;若操作结果不为预置结果,则结束内容信息的确认。此外,本发明还涉及区块链技术,内容信息可存储于区块链中。(The invention relates to the technical field of computers, and discloses a method, a device, equipment and a storage medium for confirming content information in a display window, which are used for improving the confirmation efficiency of character information in the display window. The method for confirming the content information in the display window comprises the following steps: when a voice broadcasting instruction is received, playing content information in a display window; detecting content information based on preset duration, positioning the content information at the position of an operation box by using a preset skip label when the text information is played completely, and carrying out prohibition-releasing processing on the operation box to obtain a check box; acquiring an operation result and confirmation voice of the check box, and judging whether the operation result is a preset result; if the operation result is a preset result, judging whether the confirmed voice is a preset voice, and if the confirmed voice is the preset voice, finishing the confirmation of the content information; and if the operation result is not the preset result, ending the confirmation of the content information. In addition, the invention also relates to a block chain technology, and the content information can be stored in the block chain.)

1. A method for confirming content information in a display window is characterized in that the method for confirming the content information in the display window comprises the following steps:

acquiring a voice broadcast instruction through a display window, and playing corresponding content information in the display window when the voice broadcast instruction is received, wherein the display window is used for a user to confirm information, and the content information at least comprises text information, an operation frame and an operation result corresponding to the operation frame in the display window;

detecting the content information based on preset duration, determining the playing condition of the text information, positioning the content information in the display window at the position of the operation box by using a preset skip label when the playing condition of the text information is that the playing is finished, and carrying out unblocking treatment on the operation box to obtain a check box, wherein the check box is used for information confirmation of a user;

acquiring an operation result processed by the user on the check box and confirmation voice input by the user, and judging whether the operation result is a preset result;

if the operation result is a preset result, judging whether the confirmed voice is a preset voice, and if the confirmed voice is the preset voice, finishing the confirmation of the content information;

and if the operation result is not the preset result, displaying an ejection exiting frame, and finishing the confirmation of the content information.

2. The method for confirming content information in a display window according to claim 1, wherein the detecting the content information based on a preset duration determines a playing condition of the text information, and when the playing condition of the text information is that playing is completed, the content information in the display window is positioned at a position of the operation box by using a preset jump tag, and the operation box is unlocked to obtain a check box, and the check box is used for a user to confirm information, including:

acquiring timing time to be measured of the content information, detecting the content information based on the timing time to be measured and preset time length, and determining the playing condition of text information in the content information;

when the playing condition of the text information is that the playing is finished, executing a trigger instruction, and positioning the content information in the display window at the position of the operation frame by using a preset jump label;

and carrying out prohibition removal processing on the operation frame according to the control instruction to obtain a check frame, wherein the check frame is used for information confirmation of a user.

3. The method for confirming the content information in the display window according to claim 2, wherein the acquiring a timing to be measured of the content information, detecting the content information based on the timing to be measured and a preset time length, and determining the playing condition of the text information in the content information comprises:

when a voice broadcasting instruction is received, timing the content information played in the display window to obtain timing time to be measured;

acquiring a current timing moment and a previous timing moment from the timing moments to be measured, and calculating a time interval between the current timing moment and the previous timing moment;

and when the time interval is the same as the preset time, detecting the playing condition of the text information in the content information, wherein the playing condition of the text information at least comprises the completion of playing.

4. The method for confirming the content information in the display window according to claim 2, wherein the executing a trigger instruction when the playing of the text information is finished, and positioning the content information in the display window at the position of the operation box by using a preset jump tag comprises:

when the playing condition of the text information is that the playing is finished, executing a trigger instruction, and executing a query task through the trigger instruction, wherein the query task is used for indicating to query the address information of the operation box closest to the text information under the condition that the playing is finished;

and inputting the address information into a preset jump label, and positioning the content information in the display window at the position of the operation frame by using the preset jump label.

5. The method for confirming the content information in the display window according to claim 4, wherein the operation box is subjected to the unblocking processing according to the control instruction to obtain a check box, and the check box is used for a user to confirm the information and comprises:

when the playing condition of the text information is that the playing is finished, acquiring address information corresponding to the operation box;

and inputting the address information into a control instruction, and unlocking the operation box through the control instruction to obtain a check box, wherein the check box is used for information confirmation of a user.

6. The method for confirming the content information in the display window according to claim 1, wherein the determining whether the confirmation voice is a preset voice if the operation result is a preset result, and the finishing the confirmation of the content information if the confirmation voice is a preset voice comprises:

if the operation result is a preset result, recognizing the confirmed voice through a voice recognition algorithm to generate a corresponding text to be tested;

and comparing the text to be tested with a preset text in a preset text library, and if the text to be tested is the same as the preset text, judging that the confirmation voice is the same as the preset voice, and finishing the confirmation of the content information.

7. The method for confirming content information in a display window according to any one of claims 1 to 6, wherein after the confirming voice is determined to be a preset voice if the operation result is a preset result, and the confirmation of the content information is completed if the confirming voice is a preset voice, the method for confirming content information in a display window further comprises:

and when the content information is confirmed, generating a corresponding processing result and displaying the processing result in the display window.

8. An apparatus for confirming content information in a display window, the apparatus comprising:

the playing module is used for acquiring a voice broadcasting instruction through a display window, and playing corresponding content information in the display window when the voice broadcasting instruction is received, wherein the display window is used for a user to confirm information, and the content information at least comprises text information, an operation frame and an operation result corresponding to the operation frame in the display window;

the skipping module is used for detecting the content information based on preset duration, determining the playing condition of the text information, positioning the content information in the display window at the position of the operation box by using a preset skipping label when the playing condition of the text information is that the playing is finished, and carrying out unblocking processing on the operation box to obtain a check box, wherein the check box is used for information confirmation of a user;

the judging module is used for acquiring an operation result processed by the user on the check box and confirmation voice input by the user and judging whether the operation result is a preset result;

the confirming module is used for judging whether the confirmed voice is a preset voice or not if the operation result is a preset result, and finishing the confirmation of the content information if the confirmed voice is the preset voice;

and the quitting module is used for displaying a quitting bullet frame and finishing the confirmation of the content information if the operation result is not the preset result.

9. An apparatus for confirming content information in a display window, the apparatus comprising: a memory and at least one processor, the memory having instructions stored therein;

the at least one processor invokes the instructions in the memory to cause the device for validating content information in the display window to perform a method of validating content information in the display window as claimed in any one of claims 1 to 7.

10. A computer-readable storage medium having instructions stored thereon, wherein the instructions, when executed by a processor, implement a method for confirming content information in a display window according to any one of claims 1 to 7.

Technical Field

The present invention relates to the field of user interface control, and in particular, to a method, an apparatus, a device, and a storage medium for confirming content information in a display window.

Background

When a user is required to confirm a large amount of text information, in general, the user is required to slide the corresponding text information on the display window and click in the corresponding operation box after the text information is displayed, so as to achieve the purpose of confirming the information. For example: when the mobile phone software is logged in, a popup window for confirming agreement terms required for logging in the mobile phone software pops up, and a user operates a sliding bar to read the long term contents in a mobile phone screen rolling box with limited screen size.

In the prior art, the confirmation mode of the text confirmation information consumes a large amount of time for reading the text information by the user, so that the confirmation efficiency of the user for confirming the text information in the display window is low.

Disclosure of Invention

The invention provides a method, a device, equipment and a storage medium for confirming content information in a display window, which are used for improving the confirmation efficiency of a user for confirming text information in the display window.

The invention provides a method for confirming content information in a display window in a first aspect, which comprises the following steps: acquiring a voice broadcast instruction through a display window, and playing corresponding content information in the display window when the voice broadcast instruction is received, wherein the display window is used for a user to confirm information, and the content information at least comprises text information, an operation frame and an operation result corresponding to the operation frame in the display window; detecting the content information based on preset duration, determining the playing condition of the text information, positioning the content information in the display window at the position of the operation box by using a preset skip label when the playing condition of the text information is that the playing is finished, and carrying out unblocking treatment on the operation box to obtain a check box, wherein the check box is used for information confirmation of a user; acquiring an operation result processed by the user on the check box and confirmation voice input by the user, and judging whether the operation result is a preset result; if the operation result is a preset result, judging whether the confirmed voice is a preset voice, and if the confirmed voice is the preset voice, finishing the confirmation of the content information; and if the operation result is not the preset result, displaying an ejection exiting frame, and finishing the confirmation of the content information.

Optionally, in a first implementation manner of the first aspect of the present invention, the detecting the content information based on a preset duration, determining a playing condition of the text information, when the playing condition of the text information is that playing is completed, positioning the content information in the display window at a position of the operation box by using a preset skip tag, and performing prohibition processing on the operation box to obtain a check box, where the check box is used for a user to perform information confirmation and includes: acquiring timing time to be measured of the content information, detecting the content information based on the timing time to be measured and preset time length, and determining the playing condition of text information in the content information; when the playing condition of the text information is that the playing is finished, executing a trigger instruction, and positioning the content information in the display window at the position of the operation frame by using a preset jump label; and carrying out prohibition removal processing on the operation frame according to the control instruction to obtain a check frame, wherein the check frame is used for information confirmation of a user.

Optionally, in a second implementation manner of the first aspect of the present invention, the acquiring the timing time to be measured of the content information, detecting the content information based on the timing time to be measured and a preset time length, and determining the playing condition of the text information in the content information includes: when a voice broadcasting instruction is received, timing the content information played in the display window to obtain timing time to be measured; acquiring a current timing moment and a previous timing moment from the timing moments to be measured, and calculating a time interval between the current timing moment and the previous timing moment; and when the time interval is the same as the preset time, detecting the playing condition of the text information in the content information, wherein the playing condition of the text information at least comprises the completion of playing.

Optionally, in a third implementation manner of the first aspect of the present invention, when the playing of the text information is finished, executing a trigger instruction, and positioning the content information in the display window at the position of the operation box by using a preset jump tag includes: when the playing condition of the text information is that the playing is finished, executing a trigger instruction, and executing a query task through the trigger instruction, wherein the query task is used for indicating to query the address information of the operation box closest to the text information under the condition that the playing is finished; and inputting the address information into a preset jump label, and positioning the content information in the display window at the position of the operation frame by using the preset jump label.

Optionally, in a fourth implementation manner of the first aspect of the present invention, the performing, according to the control instruction, an unblocking process on the operation box to obtain a checkbox, where the checkbox is used for a user to perform information confirmation and includes: when the playing condition of the text information is that the playing is finished, acquiring address information corresponding to the operation box; and inputting the address information into a control instruction, and unlocking the operation box through the control instruction to obtain a check box, wherein the check box is used for information confirmation of a user.

Optionally, in a fifth implementation manner of the first aspect of the present invention, if the operation result is a preset result, determining whether the confirmation voice is a preset voice, and if the confirmation voice is a preset voice, completing the confirmation of the content information includes: if the operation result is a preset result, recognizing the confirmed voice through a voice recognition algorithm to generate a corresponding text to be tested; and comparing the text to be tested with a preset text in a preset text library, and if the text to be tested is the same as the preset text, judging that the confirmation voice is the same as the preset voice, and finishing the confirmation of the content information.

Optionally, in a sixth implementation manner of the first aspect of the present invention, if the operation result is a preset result, determining whether the confirmation voice is a preset voice, and if the confirmation voice is a preset voice, after the confirmation of the content information is completed, the method for confirming the content information in the display window further includes: and when the content information is confirmed, generating a corresponding processing result and displaying the processing result in the display window.

The second aspect of the present invention provides an apparatus for confirming content information in a display window, comprising: the playing module is used for acquiring a voice broadcasting instruction through a display window, and playing corresponding content information in the display window when the voice broadcasting instruction is received, wherein the display window is used for a user to confirm information, and the content information at least comprises text information, an operation frame and an operation result corresponding to the operation frame in the display window; the skipping module is used for detecting the content information based on preset duration, determining the playing condition of the text information, positioning the content information in the display window at the position of the operation box by using a preset skipping label when the playing condition of the text information is that the playing is finished, and carrying out unblocking processing on the operation box to obtain a check box, wherein the check box is used for information confirmation of a user; the judging module is used for acquiring an operation result processed by the user on the check box and confirmation voice input by the user and judging whether the operation result is a preset result; the confirming module is used for judging whether the confirmed voice is a preset voice or not if the operation result is a preset result, and finishing the confirmation of the content information if the confirmed voice is the preset voice; and the quitting module is used for displaying a quitting bullet frame and finishing the confirmation of the content information if the operation result is not the preset result.

Optionally, in a first implementation manner of the second aspect of the present invention, the skip module includes: the timing unit is used for acquiring timing time to be measured of the content information, detecting the content information based on the timing time to be measured and preset time length, and determining the playing condition of text information in the content information; the skipping unit is used for executing a trigger instruction when the playing condition of the text information is that the playing is finished, and positioning the content information in the display window at the position of the operation frame by using a preset skipping label; and the unlocking unit is used for unlocking the operation frame according to the control instruction to obtain a check frame, and the check frame is used for information confirmation of the user.

Optionally, in a second implementation manner of the second aspect of the present invention, the timing unit is specifically configured to: when a voice broadcasting instruction is received, timing the content information played in the display window to obtain timing time to be measured; acquiring a current timing moment and a previous timing moment from the timing moments to be measured, and calculating a time interval between the current timing moment and the previous timing moment; and when the time interval is the same as the preset time, detecting the playing condition of the text information in the content information, wherein the playing condition of the text information at least comprises the completion of playing.

Optionally, in a third implementation manner of the second aspect of the present invention, the jumping unit is specifically configured to: when the playing condition of the text information is that the playing is finished, executing a trigger instruction, and executing a query task through the trigger instruction, wherein the query task is used for indicating to query the address information of the operation box closest to the text information under the condition that the playing is finished; and inputting the address information into a preset jump label, and positioning the content information in the display window at the position of the operation frame by using the preset jump label.

Optionally, in a fourth implementation manner of the second aspect of the present invention, the deblocking unit is specifically configured to: when the playing condition of the text information is that the playing is finished, acquiring address information corresponding to the operation box; and inputting the address information into a control instruction, and unlocking the operation box through the control instruction to obtain a check box, wherein the check box is used for information confirmation of a user.

Optionally, in a fifth implementation manner of the second aspect of the present invention, the confirmation module is specifically configured to: if the operation result is a preset result, recognizing the confirmed voice through a voice recognition algorithm to generate a corresponding text to be tested; and comparing the text to be tested with a preset text in a preset text library, and if the text to be tested is the same as the preset text, judging that the confirmation voice is the same as the preset voice, and finishing the confirmation of the content information.

Optionally, in a sixth implementation manner of the second aspect of the present invention, the apparatus for confirming content information in the display window further includes: and the display module is used for generating a corresponding processing result and displaying the processing result in the display window when the content information is confirmed.

A third aspect of the present invention provides a device for confirming content information in a display window, comprising: a memory and at least one processor, the memory having instructions stored therein; the at least one processor calls the instructions in the memory to cause the device for confirming the content information in the display window to execute the method for confirming the content information in the display window.

A fourth aspect of the present invention provides a computer-readable storage medium having stored therein instructions, which, when run on a computer, cause the computer to execute the above-described method for confirming content information in a display window.

According to the technical scheme, a voice broadcast instruction is obtained through a display window, when the voice broadcast instruction is received, corresponding content information in the display window is played, the display window is used for a user to confirm information, and the content information at least comprises text information, an operation frame and an operation result corresponding to the operation frame in the display window; detecting the content information based on preset duration, determining the playing condition of the text information, positioning the content information in the display window at the position of the operation box by using a preset skip label when the playing condition of the text information is that the playing is finished, and carrying out unblocking treatment on the operation box to obtain a check box, wherein the check box is used for information confirmation of a user; acquiring an operation result processed by the user on the check box and confirmation voice input by the user, and judging whether the operation result is a preset result; if the operation result is a preset result, judging whether the confirmed voice is a preset voice, and if the confirmed voice is the preset voice, finishing the confirmation of the content information; and if the operation result is not the preset result, displaying an ejection exiting frame, and finishing the confirmation of the content information. In the embodiment of the invention, the content information in the display window is broadcasted through voice, the content information is detected based on the preset duration, the playing condition of the text information in the content information is determined, when the playing condition of the text information is that the broadcasting is finished, the content information in the display window is positioned at the position of the operation frame by using the preset skip label, the operation frame is subjected to unblocking processing, a check frame for the user to confirm the information is obtained, the user is further enabled to confirm the text information in the display window, and the confirmation efficiency of the user for confirming the text information in the display window is improved.

Drawings

FIG. 1 is a diagram of an embodiment of a method for confirming content information in a display window according to an embodiment of the present invention;

FIG. 2 is a diagram of another embodiment of a method for confirming content information in a display window according to an embodiment of the present invention;

FIG. 3 is a schematic diagram of an embodiment of a device for confirming content information in a display window according to an embodiment of the present invention;

FIG. 4 is a schematic diagram of another embodiment of a device for confirming content information in a display window according to an embodiment of the present invention;

fig. 5 is a schematic diagram of an embodiment of a device for confirming content information in a display window according to an embodiment of the present invention.

Detailed Description

The embodiment of the invention provides a method, a device, equipment and a storage medium for confirming content information in a display window, which are used for improving the confirmation efficiency of a user for confirming text information in the display window.

The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises," "comprising," or "having," and any variations thereof, are intended to cover non-exclusive inclusions, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.

For convenience of understanding, a specific flow of the embodiment of the present invention is described below, and referring to fig. 1, an embodiment of a method for confirming content information in a display window in the embodiment of the present invention includes:

101. acquiring a voice broadcast instruction through a display window, and playing corresponding content information in the display window when the voice broadcast instruction is received, wherein the display window is used for a user to confirm information, and the content information at least comprises text information, an operation frame and an operation result corresponding to the operation frame in the display window;

it is to be understood that the execution subject of the present invention may be a device for confirming content information in a display window, and may also be a terminal or a server, which is not limited herein. The embodiment of the present invention is described by taking a server as an execution subject.

When a user is required to confirm a large amount of text information, in general, the user is required to slide the corresponding text information on the display window and click in the corresponding operation box after the text information is displayed, so as to achieve the purpose of confirming the information. However, since it takes a lot of time for a user to read the text information, the efficiency of text information confirmation is low, and thus the text information is confirmed by using a voice broadcast method and a skip confirmation frame method.

When a user clicks a broadcast interface for starting broadcast or directly entering a display window, the server receives a voice broadcast instruction, the voice broadcast instruction is used for starting a voice broadcast function and broadcasting corresponding content information in the display window, the content information at least comprises text information, an operation frame and an operation result corresponding to the operation frame in the display window, the text information can be a use term which needs to be agreed by the user or personal information which needs to be confirmed by the user, and the content of the text information is not limited in the application.

It should be noted that the operation box is in the disabled mode, that is, when the text message in the display window is not completely broadcast, the user cannot perform processing operation on the operation box. It is further explained that the assembly language conditional branch instruction (JS) is used here to perform the disabling control of the operation box, but the method of disabling the control is not limited to the JS instruction.

It should be emphasized that, in order to further ensure the privacy and security of the corresponding content information in the display window, the corresponding content information in the display window may also be stored in a node of a block chain.

102. Detecting content information based on preset duration, determining the playing condition of the text information, positioning the content information in the display window at the position of the operation box by using a preset jump label when the playing condition of the text information is that the playing is finished, and carrying out unblocking treatment on the operation box to obtain a check box which is used for information confirmation of a user;

when the server plays the text information in the display window in the voice, the server can detect the playing condition of the content information by using the preset duration, and once the playing condition of the text information is that the playing is finished, the server jumps the display content in the display window to the position of the operation box by using the preset jump tag. When the text information is not played, the operation box is in a forbidden state, the user cannot perform any operation processing on the operation box, only when the text information is played, the operation box is converted from the forbidden state to an forbidden state, and the user can perform check processing on the operation box in the forbidden state to make information confirmation selection.

103. Acquiring an operation result processed by the user on the check box and confirmation voice input by the user, and judging whether the operation result is a preset result;

the server forbids the operation box to obtain a check box, the user can process the check box, and the user can check the corresponding check box option. In addition, after the text information is played, the user needs to input a confirmation voice during the confirmation operation, and the server executes the next operation through the operation result of the checkbox and the confirmation voice input by the user.

It should be noted that the server first detects an operation result of the user processing the checkbox, determines whether the operation result is a preset result, and then detects a confirmation voice input by the user, and finally obtains a corresponding processing result. Further, the pop-up of the pop-up box in the display window is controlled by the JS instruction.

104. If the operation result is a preset result, judging whether the confirmed voice is a preset voice, and if the confirmed voice is the preset voice, finishing the confirmation of the content information.

When the server confirms that the operation result is the preset result and confirms whether the voice is the preset voice, the server can prove that the user has finished confirming the content information in the display window, and the process can be ended.

It should be noted that the above process is a process of confirming text information in content information, where the content information may have a plurality of text information, that is, after the confirmation of a first text information in the content information is completed, the server may directly confirm a second text information, and the confirmation process of the second text information is the same as the confirmation process of the first text information.

105. And if the operation result is not the preset result, displaying an exit bullet frame and finishing the confirmation of the content information.

And when the server detects that the operation result is not the preset result, the server directly pops up an exit bullet frame in the display window, and the confirmation of the content information of the display window is finished. If the user needs to confirm the content information in the display window again, the process from step 101 to step 103 may be repeated again.

In the embodiment of the invention, the content information in the display window is broadcasted through voice, the content information is detected based on the preset duration, the playing condition of the text information in the content information is determined, when the playing condition of the text information is that the broadcasting is finished, the content information in the display window is positioned at the position of the operation frame by using the preset skip label, the operation frame is subjected to unblocking processing, a check frame for the user to confirm the information is obtained, the user is further enabled to confirm the text information in the display window, and the confirmation efficiency of the user for confirming the text information in the display window is improved.

Referring to fig. 2, another embodiment of the method for confirming content information in a display window according to the embodiment of the present invention includes:

201. acquiring a voice broadcast instruction through a display window, and playing corresponding content information in the display window when the voice broadcast instruction is received, wherein the display window is used for a user to confirm information, and the content information at least comprises text information, an operation frame and an operation result corresponding to the operation frame in the display window;

it is to be understood that the execution subject of the present invention may be a device for confirming content information in a display window, and may also be a terminal or a server, which is not limited herein. The embodiment of the present invention is described by taking a server as an execution subject.

When a user is required to confirm a large amount of text information, in general, the user is required to slide the corresponding text information on the display window and click in the corresponding operation box after the text information is displayed, so as to achieve the purpose of confirming the information. However, since it takes a lot of time for a user to read the text information, the efficiency of text information confirmation is low, and thus the text information is confirmed by using a voice broadcast method and a skip confirmation frame method.

When a user clicks a broadcast interface for starting broadcast or directly entering a display window, the server receives a voice broadcast instruction, the voice broadcast instruction is used for starting a voice broadcast function and broadcasting corresponding content information in the display window, the content information at least comprises text information, an operation frame and an operation result corresponding to the operation frame in the display window, the text information can be a use term which needs to be agreed by the user or personal information which needs to be confirmed by the user, and the content of the text information is not limited in the application.

It should be noted that the operation box is in the disabled mode, that is, when the text message in the display window is not completely broadcast, the user cannot perform processing operation on the operation box. It is further explained that the assembly language conditional branch instruction (JS) is used here to perform the disabling control of the operation box, but the method of disabling the control is not limited to the JS instruction.

It should be emphasized that, in order to further ensure the privacy and security of the corresponding content information in the display window, the corresponding content information in the display window may also be stored in a node of a block chain.

202. Detecting content information based on preset duration, determining the playing condition of the text information, positioning the content information in the display window at the position of the operation box by using a preset jump label when the playing condition of the text information is that the playing is finished, and carrying out unblocking treatment on the operation box to obtain a check box which is used for information confirmation of a user;

specifically, the server firstly acquires the timing time to be measured of the content information, detects the content information based on the timing time to be measured and the preset time length, and determines the playing condition of the text information in the content information; when the playing condition of the text information is that the playing is finished, the server executes a trigger instruction, and positions the content information in the display window at the position of the operation frame by using a preset jump label; and finally, the server carries out prohibition removal processing on the operation box according to the control instruction to obtain a check box, and the check box is used for information confirmation of the user.

When the server acquires the timing time to be measured of the content information, detects the content information based on the timing time to be measured and the preset time length, and determines the playing condition of the text information in the content information, the specific steps are as follows: when a voice broadcasting instruction is received, the server firstly starts timing the content information played in the display window to obtain timing time to be measured; then the server acquires the current timing time and the previous timing time from the timing time to be measured, and calculates the time interval between the current timing time and the previous timing time; and when the time interval is the same as the preset time, the server detects the playing condition of the text information in the content information, wherein the playing condition of the text information at least comprises the completion of playing.

It should be noted that, when the server performs the text information in the voice broadcast display window, the text information may slide along with the voice broadcast, for example: the fifth line text information of the display window is being broadcasted at present, after the fifth line text information is broadcasted, the server can directly broadcast the sixth line text information, and meanwhile, the text information in the display window can also move upwards by one line to display the sixth line text information. When the server receives the voice broadcast instruction, namely the text information is played, the server also times the playing of the text information.

The playing condition of the text information is judged by detecting the playing timing of the text information, when a time interval with preset duration is arranged, the server can detect the voice broadcasting instruction and detect whether the voice broadcasting instruction is received, if the server receives the voice broadcasting instruction, the server indicates that the broadcasting of the text information in the display window is not finished, the server continues to broadcast, and if the server does not receive the voice broadcasting instruction, the server indicates that the broadcasting of the text information in the display window is finished, the server carries out prohibition-clearing processing on the operation frame.

It is further explained that the text information may be a part of text content, or may be a multi-part text content, each part of text content may include a plurality of text paragraphs, a corresponding operation frame exists behind each part of text content, and when each part of text content is played, the display window slides to the position of the corresponding operation frame.

When the server finishes playing the text information, the server executes a trigger instruction and positions the content information in the display window at the position of the operation frame by using a preset jump label, and the specific steps are as follows: when the playing condition of the text information is that the playing is finished, the server executes a trigger instruction, executes a query task through the trigger instruction, and the query task is used for indicating to query address information of an operation box which is closest to the text information under the condition that the playing is finished; and the server inputs the address information into a preset jump label, and positions the content information in the display window at the position of the operation frame by using the preset jump label.

When the server judges that the text information playing condition is that the playing is finished, a trigger instruction is executed, the trigger instruction is a.click (), and the corresponding query task can be directly executed through the trigger instruction, so that the aim that the display window directly slides to the tail end of the text information, namely the position of the corresponding operation box, when the text information playing is finished is fulfilled. Specifically, the query task is used for indicating address information of an operation box closest to the text information under the condition that the query playing is finished, and then the server inputs the queried address information of the operation box into a preset jump label and directly jumps to the position of the operation box in the display window by using the preset jump label.

The preset jump label is < a href ═ id ═ aa' >, it needs to be explained that the address information corresponding to each operation frame is different, and the uniqueness of the address information can ensure that the server jumps to the position of the corresponding operation frame. In addition, address information of each operation box is set in advance, and an apend () function is used, and once the address information is set, the address information cannot be changed.

The server carries out prohibition clearing processing on the operation box according to the control instruction to obtain a check box, and when the check box is used for information confirmation of a user, the specific operation steps are as follows: when the playing condition of the text information is that the playing is finished, the server firstly corresponds to the address information of the operation box; and then the server inputs the address information into the control instruction, and the operation frame is forbidden through the control instruction to obtain a check frame which is used for information confirmation of the user.

Under the condition that the text information is not played completely, the state of the corresponding operation box is forbidden, namely, the user cannot process the operation box, therefore, after the text information is played completely, the server needs to forbid the state of the operation box, the server directly inputs the address information of the operation box needing to be forbidden into a preset control instruction, the purpose of forbidding the operation box can be achieved directly by executing the control instruction, and a check box which can be directly operated and processed by the user is obtained. Note that the unlocking processing of the operation frame is realized by executing the control instruction in the JS.

203. Acquiring an operation result processed by the user on the check box and confirmation voice input by the user, and judging whether the operation result is a preset result;

the server forbids the operation box to obtain a check box, the user can process the check box, and the user can check the corresponding check box option. In addition, after the text information is played, the user needs to input a confirmation voice during the confirmation operation, and the server executes the next operation through the operation result of the checkbox and the confirmation voice input by the user.

It should be noted that the server first detects an operation result of the user processing the checkbox, determines whether the operation result is a preset result, and then detects a confirmation voice input by the user, and finally obtains a corresponding processing result. Further, the pop-up of the pop-up box in the display window is controlled by the JS instruction.

204. If the operation result is a preset result, judging whether the confirmed voice is a preset voice, and if the confirmed voice is the preset voice, finishing the confirmation of the content information;

specifically, if the operation result is a preset result, the server identifies the confirmed voice through a voice identification algorithm to generate a corresponding text to be detected; and the server compares the text to be tested with the preset text in the preset text library, and if the text to be tested is the same as the preset text, the server judges that the confirmed voice is the same as the preset voice, so that the confirmation of the content information is completed.

If the server detects that the operation result is a preset result, that is, the user performs the checking process of the corresponding option (the agreement item or the disagreement item) on the checking box, for example: the user performs check on the check box before the agreed check box is displayed, if the operation result is the same as the first preset result, the server continuously judges whether the confirmed voice is the preset voice; and the user clicks the clicking frame before displaying the different clicking frames, if the operation result is the same as the second preset result, the server directly pops up a prompt pop-up frame to prompt the user to quit the content information confirmation process.

In addition, the server also needs to determine the confirmation voice input by the user, and the server may perform different subsequent operations on different determination results, for example: the user answers the agreement and opens the bullet frame of the subsequent operation, if the user answers invalid answers such as disagreement, the user can forbid the confirmation button at the bottom, the whole process is not obstructed, in other scenes, the user can continue the process only by answering the agreement, if the user answers the invalid answers or answers the disagreement, the server calls the bullet frame for quitting the video, the voice operation for quitting the video is played, meanwhile, the user can confirm the video quitting operation in the bullet frame, and the process for confirming the information by the user is finished.

205. When the confirmation of the content information is completed, a corresponding processing result is generated and displayed in the display window.

After the user completes the confirmation of the content information, the server generates a corresponding processing result, the processing result can be approved or not approved by the user or confirmed or cancelled by the user, the server feeds back the obtained user processing result to the display window, and the processing result of the user is displayed on the display window through the display window.

In the embodiment of the invention, the content information in the display window is broadcasted through voice, the content information is detected based on the preset duration, the playing condition of the text information in the content information is determined, when the playing condition of the text information is that the broadcasting is finished, the content information in the display window is positioned at the position of the operation frame by using the preset skip label, the operation frame is subjected to unblocking processing, a check frame for the user to confirm the information is obtained, the user is further enabled to confirm the text information in the display window, and the confirmation efficiency of the user for confirming the text information in the display window is improved.

206. And if the operation result is not the preset result, displaying an exit bullet frame and finishing the confirmation of the content information.

And when the server detects that the operation result is not the preset result, the server directly pops up an exit bullet frame in the display window, and the confirmation of the content information of the display window is finished. If the user needs to confirm the content information in the display window again, the process from step 201 to step 203 may be repeated again.

With reference to fig. 3, the method for confirming content information in a display window according to an embodiment of the present invention is described above, and a device for confirming content information in a display window according to an embodiment of the present invention is described below, where an embodiment of the device for confirming content information in a display window according to an embodiment of the present invention includes:

the playing module 301 is configured to obtain a voice broadcast instruction through a display window, and when the voice broadcast instruction is received, play corresponding content information in the display window, where the display window is used for a user to confirm information, and the content information at least includes text information, an operation frame, and an operation result corresponding to the operation frame in the display window;

a skip module 302, configured to detect the content information based on a preset duration, determine a playing condition of the text information, and when the playing condition of the text information is that playing is completed, locate the content information in the display window at a position of the operation box by using a preset skip label, and perform unblocking processing on the operation box to obtain a checkbox, where the checkbox is used for a user to perform information confirmation;

the judging module 303 is configured to obtain an operation result of the check box processed by the user and a confirmation voice input by the user, and judge whether the operation result is a preset result;

the confirming module 304 is configured to determine whether the confirmed voice is a preset voice if the operation result is a preset result, and complete confirmation of the content information if the confirmed voice is the preset voice.

And an exit module 305, configured to display an exit box if the operation result is not the preset result, and end the confirmation of the content information.

In the embodiment of the invention, the content information in the display window is broadcasted through voice, the content information is detected based on the preset duration, the playing condition of the text information in the content information is determined, when the playing condition of the text information is that the broadcasting is finished, the content information in the display window is positioned at the position of the operation frame by using the preset skip label, the operation frame is subjected to unblocking processing, a check frame for the user to confirm the information is obtained, the user is further enabled to confirm the text information in the display window, and the confirmation efficiency of the user for confirming the text information in the display window is improved.

Referring to fig. 4, another embodiment of the present invention includes:

the playing module 301 is configured to obtain a voice broadcast instruction through a display window, and when the voice broadcast instruction is received, play corresponding content information in the display window, where the display window is used for a user to confirm information, and the content information at least includes text information, an operation frame, and an operation result corresponding to the operation frame in the display window;

a skip module 302, configured to detect the content information based on a preset duration, determine a playing condition of the text information, and when the playing condition of the text information is that playing is completed, locate the content information in the display window at a position of the operation box by using a preset skip label, and perform unblocking processing on the operation box to obtain a checkbox, where the checkbox is used for a user to perform information confirmation;

the judging module 303 is configured to obtain an operation result of the check box processed by the user and a confirmation voice input by the user, and judge whether the operation result is a preset result;

a confirming module 304, configured to determine whether the confirmed voice is a preset voice if the operation result is a preset result, and complete confirmation of the content information if the confirmed voice is the preset voice.

And an exit module 305, configured to display an exit box if the operation result is not the preset result, and end the confirmation of the content information.

Optionally, the skip module 302 includes:

a timing unit 3021, configured to obtain a timing time to be measured of the content information, detect the content information based on the timing time to be measured and a preset time length, and determine a playing situation of text information in the content information;

a skipping unit 3022, configured to execute a trigger instruction when the text information is played completely, and position the content information in the display window at the position of the operation box by using a preset skipping tag;

and the forbidding unit 3023 is configured to forbid the operation frame according to the control instruction to obtain a check frame, where the check frame is used for information confirmation by the user.

Optionally, the timing unit 3021 is specifically configured to:

when a voice broadcasting instruction is received, timing the content information played in the display window to obtain timing time to be measured;

acquiring a current timing moment and a previous timing moment from the timing moments to be measured, and calculating a time interval between the current timing moment and the previous timing moment;

and when the time interval is the same as the preset time, detecting the playing condition of the text information in the content information, wherein the playing condition of the text information at least comprises the completion of playing.

Optionally, the jumping unit 3022 is specifically configured to:

when the playing condition of the text information is that the playing is finished, executing a trigger instruction, and executing a query task through the trigger instruction, wherein the query task is used for indicating to query the address information of the operation box closest to the text information under the condition that the playing is finished;

and inputting the address information into a preset jump label, and positioning the content information in the display window at the position of the operation frame by using the preset jump label.

Optionally, the deblocking unit 3023 is specifically configured to:

when the playing condition of the text information is that the playing is finished, acquiring address information corresponding to the operation box;

and inputting the address information into a control instruction, and unlocking the operation box through the control instruction to obtain a check box, wherein the check box is used for information confirmation of a user.

Optionally, the confirming module 304 is specifically configured to:

if the operation result is a preset result, recognizing the confirmed voice through a voice recognition algorithm to generate a corresponding text to be tested;

and comparing the text to be tested with a preset text in a preset text library, and if the text to be tested is the same as the preset text, judging that the confirmation voice is the same as the preset voice, and finishing the confirmation of the content information.

Optionally, the device for confirming content information in the display window further includes:

and a display module 306, configured to generate a corresponding processing result and display the processing result in the display window when the content information is confirmed.

In the embodiment of the invention, the content information in the display window is broadcasted through voice, the content information is detected based on the preset duration, the playing condition of the text information in the content information is determined, when the playing condition of the text information is that the broadcasting is finished, the content information in the display window is positioned at the position of the operation frame by using the preset skip label, the operation frame is subjected to unblocking processing, a check frame for the user to confirm the information is obtained, the user is further enabled to confirm the text information in the display window, and the confirmation efficiency of the user for confirming the text information in the display window is improved.

Fig. 3 and fig. 4 describe the apparatus for confirming content information in a display window in the embodiment of the present invention in detail from the perspective of a modular functional entity, and the apparatus for confirming content information in a display window in the embodiment of the present invention in detail from the perspective of hardware processing is described below.

Fig. 5 is a schematic structural diagram of a device for confirming content information in a display window according to an embodiment of the present invention, where the device 500 for confirming content information in a display window may have a relatively large difference due to different configurations or performances, and may include one or more processors (CPUs) 510 (e.g., one or more processors) and a memory 520, and one or more storage media 530 (e.g., one or more mass storage devices) for storing applications 533 or data 532. Memory 520 and storage media 530 may be, among other things, transient or persistent storage. The program stored on storage medium 530 may include one or more modules (not shown), each of which may include a sequence of instruction operations in confirmation device 500 for content information in a display window. Still further, processor 510 may be configured to communicate with storage medium 530 to execute a series of instruction operations in storage medium 530 on confirmation device 500 that displays the content information in the window.

The confirmation device 500 displaying content information in a window may also include one or more power supplies 540, one or more wired or wireless network interfaces 550, one or more input-output interfaces 560, and/or one or more operating systems 531, such as Windows Server, Mac OS X, Unix, Linux, FreeBSD, and the like. Those skilled in the art will appreciate that the configuration of the confirmation device for content information in the display window shown in fig. 5 does not constitute a limitation of the confirmation device for content information in the display window, and may include more or fewer components than those shown, or some components in combination, or a different arrangement of components.

The invention further provides a device for confirming content information in a display window, where the computer device includes a memory and a processor, where the memory stores computer-readable instructions, and the computer-readable instructions, when executed by the processor, cause the processor to execute the steps of the method for confirming content information in a display window in the above embodiments.

The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium, and may also be a volatile computer-readable storage medium, having stored therein instructions, which, when run on a computer, cause the computer to perform the steps of the method for confirming content information in the display window.

It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.

The block chain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism, an encryption algorithm and the like. A block chain (Blockchain), which is essentially a decentralized database, is a series of data blocks associated by using a cryptographic method, and each data block contains information of a batch of network transactions, so as to verify the validity (anti-counterfeiting) of the information and generate a next block. The blockchain may include a blockchain underlying platform, a platform product service layer, an application service layer, and the like.

The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.

The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

20页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:工控系统的语音播报方法及播报系统

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!