A method, apparatus, device and readable storage medium for processing a survey questionnaire

By processing questionnaires based on the tilt angle and direction of the terminal, the problem of user difficulties in operation when wearing gloves or with sweaty fingers is solved, achieving more convenient and faster questionnaire processing.

CN114461118BActive Publication Date: 2025-12-09BEIJING NEW STRONTIUM TECHNOLOGY CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210112130.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-29
Publication Date
2025-12-09
Estimated Expiration
2042-01-29

AI Technical Summary

Technical Problem

Users often find it difficult to complete online surveys by touching the screen when wearing gloves or with sweaty fingers, leading to operational difficulties.

Method used

By acquiring the tilt angle and tilt direction of the terminal, the questionnaire is processed based on these angles and directions, including operations such as selecting options, turning pages, and submitting the questionnaire.

Benefits of technology

It simplifies the questionnaire process, provides a more convenient and faster way to process questionnaires, and is suitable for various terminal devices such as mobile phones, watches, and tablets.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114461118B_ABST
    Figure CN114461118B_ABST
Patent Text Reader

Abstract

The application provides a method, device and equipment for processing a questionnaire, and a readable storage medium. The method comprises the following steps: after a question of the questionnaire is displayed, an inclination angle and an inclination direction of the terminal are acquired; and the questionnaire is processed based on the inclination angle and the inclination direction. The questionnaire can be processed conveniently and quickly by using the method.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of processing a survey questionnaire, in particular, to a method, device, equipment and readable storage medium for processing a survey questionnaire. BACKGROUND

[0002] At present, the online questionnaire survey is usually displayed on the screen of a mobile phone, and the operation of the user on the question in the survey questionnaire is obtained through the screen or the key to obtain the answer or submission of the user on the questionnaire.

[0003] In the above case, the user needs to touch the screen with fingers or operate the case to operate, but in the case of wearing gloves or sweating fingers, the user is difficult to complete the above operation, which brings great trouble to the user.

[0004] Therefore, how to conveniently and quickly process the survey questionnaire is a technical problem to be solved. SUMMARY

[0005] The purpose of the embodiment of the present application is to provide a method for processing a survey questionnaire, and the technical scheme of the embodiment of the present application can conveniently and quickly process the survey questionnaire.

[0006] In a first aspect, the embodiment of the present application provides a method for processing a survey questionnaire, which comprises: after displaying a question in the survey questionnaire, obtaining an inclination angle and an inclination direction of the terminal; and processing the survey questionnaire based on the inclination angle and the inclination direction.

[0007] In the above process, the embodiment of the present application can complete some processing of the survey questionnaire according to the inclination angle and the inclination direction of the terminal, without obtaining the operation of the user on the question in the survey questionnaire through the screen or the key. Therefore, the scheme of the embodiment of the present application can make the process of processing the survey questionnaire more convenient and quick.

[0008] In an embodiment, the processing of the survey questionnaire based on the inclination angle and the inclination direction comprises:

[0009] determining the answer result of the user on the question based on the inclination angle and the inclination direction;

[0010] or

[0011] turning the page of the survey questionnaire based on the inclination angle and the inclination direction;

[0012] or

[0013] submitting the survey questionnaire based on the inclination angle and the inclination direction.

[0014] In the above process, different processing of the questionnaire can be performed according to different inclination angles and inclination directions, and the selection of options, page turning and submission of the questionnaire are simplified, thereby bringing convenience to the user.

[0015] In one embodiment, the inclination angle and the inclination direction of the terminal are acquired, including:

[0016] The inclination angle and the inclination direction of the terminal relative to a reference position are acquired at a timing;

[0017] Based on the inclination angle and the inclination direction, a result of the user's answer to the question is determined, including:

[0018] When the inclination angles acquired for N consecutive times are all greater than or equal to an option inclination threshold value, and the inclination directions acquired for N times are all the same inclination direction, an option corresponding to the inclination direction is determined as the result of the user's answer to the question, wherein the question includes multiple options, a correspondence between the inclination direction and the question option is preconfigured in the terminal, and N is an integer greater than or equal to 1.

[0019] In the above process, the user's selection can be accurately determined according to the inclination direction of the terminal, thereby facilitating the user to fill in the options of the questionnaire.

[0020] The inclination angle and the inclination direction of the terminal are acquired, including:

[0021] The inclination angle and the inclination direction of the terminal relative to a reference position are acquired at a timing;

[0022] Based on the inclination angle and the inclination direction, the questionnaire is turned, including:

[0023] When the inclination angles acquired for M consecutive times include at least one greater than or equal to a page turning inclination threshold value and at least one less than a first inclination threshold value, and the inclination directions corresponding to each inclination greater than or equal to the page turning inclination threshold value are all the same inclination direction, the questionnaire is turned based on a page turning direction corresponding to the inclination direction, wherein a correspondence between the inclination direction and the page turning direction is preconfigured in the terminal, the first inclination threshold value is less than or equal to the page turning inclination threshold value, and M is an integer greater than or equal to 2.

[0024] In the above process, when there is a case that the inclination angle of the terminal is less than the first inclination threshold value and the page turning inclination angle is greater than or equal to the inclination threshold value, it indicates that the terminal is in a state of continuous swinging, and the page turning can be performed according to the swinging direction, thereby facilitating the user to turn the pages when filling in the questionnaire.

[0025] In one embodiment, the inclination angle and the inclination direction of the terminal are acquired, including:

[0026] The inclination angle and the inclination direction of the terminal relative to a reference position are acquired at a timing;

[0027] Based on the tilt angle and the tilt direction, a questionnaire is submitted, including:

[0028] When the tilt angles obtained continuously K times include at least one greater than or equal to a submission tilt threshold and at least one less than a second tilt threshold, and the tilt direction corresponding to each tilt angle greater than or equal to the submission tilt threshold is consistent with the tilt direction corresponding to the preset submission questionnaire, the questionnaire is submitted, wherein the second tilt threshold is less than or equal to the submission tilt threshold, and K is an integer greater than or equal to 2.

[0029] In the above process, there are cases where the tilt angle of the terminal is less than the second tilt threshold and the submission tilt angle is greater than or equal to the tilt threshold, indicating that the terminal is in a state of continuous swinging. If the swinging direction of the terminal is consistent with the preset direction corresponding to the submission questionnaire, the questionnaire is submitted, simplifying the process of submitting the questionnaire.

[0030] In an embodiment, obtaining the tilt angle and the tilt direction of the terminal is to obtain the tilt angle and the tilt direction of the terminal at a predetermined time, including:

[0031] Obtaining the tilt angle and the tilt direction of the terminal at an absolute position and the tilt angle and the tilt direction of the terminal at a reference position;

[0032] Determining the difference between the tilt angle and the tilt direction of the terminal at the absolute position and the tilt angle and the tilt direction of the terminal at the reference position as the tilt angle and the tilt direction of the terminal.

[0033] In the above process, the embodiments of the present application detect the tilt angle and the tilt direction of the terminal at a predetermined time, and determine the tilt angle and the tilt direction of the terminal according to the difference between the tilt angle and the tilt direction of the terminal before and after. Changes can be made to the terminal tilt angle and tilt direction in real time.

[0034] In an embodiment, after determining the tilt angle and the tilt direction of the terminal based on the difference between the tilt angle and the tilt direction of the terminal at an absolute position and the tilt angle and the tilt direction of the terminal at a reference position, the method further includes:

[0035] When it is determined that the tilt angle of the terminal is less than an update tilt threshold, the tilt angle and the tilt direction of the terminal at the absolute position are used as the tilt angle and the tilt direction of the terminal at the reference position when the tilt angle and the tilt direction of the terminal are obtained at the next predetermined time.

[0036] In the above process, if the tilt angle of the terminal is less than the preset update tilt threshold, the position of the terminal can be set as the reference position when the tilt angle and the tilt direction of the terminal are obtained next time, which can make the calculated tilt angle and tilt direction more accurate, and also prevent the terminal from making mistakes due to accidental shaking of the terminal by the user.

[0037] In a second aspect, the embodiments of the present application provide a device for processing a questionnaire, comprising:

[0038] an obtaining module, configured to obtain a tilt angle and a tilt direction of the terminal after a question of the questionnaire is displayed;

[0039] a processing module, configured to process the questionnaire based on the tilt angle and the tilt direction.

[0040] Optionally, the processing module is specifically configured to:

[0041] determine a result of an answer to the question by the user based on the tilt angle and the tilt direction;

[0042] or

[0043] turn a page of the questionnaire based on the tilt angle and the tilt direction;

[0044] or

[0045] submit the questionnaire based on the tilt angle and the tilt direction.

[0046] Optionally, the obtaining module is specifically configured to:

[0047] obtain the tilt angle and the tilt direction of the terminal relative to a reference position at a timing;

[0048] The processing module is specifically configured to:

[0049] when the tilt angle obtained for N consecutive times is greater than or equal to an option tilt threshold value and the tilt direction obtained for N consecutive times is the same tilt direction, determine an option corresponding to the tilt direction as the result of the answer to the question by the user, wherein the question comprises a plurality of options, a correspondence between the tilt direction and the question options is preconfigured in the terminal, and N is an integer greater than or equal to 1.

[0050] Optionally, the obtaining module is configured to:

[0051] obtain the tilt angle and the tilt direction of the terminal relative to a reference position at a timing;

[0052] The processing module is specifically configured to:

[0053] when the tilt angle obtained for M consecutive times includes at least one greater than or equal to a page turning tilt threshold value and at least one less than a first tilt threshold value, and the tilt direction corresponding to each greater than or equal to the page turning tilt threshold value is the same tilt direction, turn a page of the questionnaire based on a page turning direction corresponding to the tilt direction, wherein a correspondence between the tilt direction and the page turning direction is preconfigured in the terminal, the first tilt threshold value is less than or equal to the page turning tilt threshold value, and M is an integer greater than or equal to 2.

[0054] Optionally, the obtaining module is configured to:

[0055] obtaining the tilt angle and the tilt direction of the terminal relative to the reference position at a time;

[0056] the processing module is specifically configured to:

[0057] when the tilt angles obtained continuously K times include at least one greater than or equal to the submission tilt threshold and at least one less than the second tilt threshold, and the tilt direction corresponding to each tilt angle greater than or equal to the submission tilt threshold is consistent with the tilt direction corresponding to the preset submission questionnaire, submitting the questionnaire, wherein the second tilt threshold is less than or equal to the submission tilt threshold, and K is an integer greater than or equal to 2.

[0058] Optionally, the obtaining module is configured to:

[0059] obtaining the tilt angle and the tilt direction of the terminal relative to the reference position at a time, comprising:

[0060] obtaining the tilt angle and the tilt direction of the terminal at the absolute position and the tilt angle and the tilt direction of the terminal at the reference position;

[0061] determining the difference between the tilt angle and the tilt direction of the terminal at the absolute position and the tilt angle and the tilt direction of the terminal at the reference position as the tilt angle and the tilt direction of the terminal.

[0062] Optionally, the apparatus further comprises:

[0063] an updating module configured to, after the processing module determines the tilt angle and the tilt direction of the terminal based on the difference between the tilt angle and the tilt direction of the terminal at the absolute position and the tilt angle and the tilt direction of the terminal at the reference position, when it is determined that the tilt angle of the terminal is less than the update tilt threshold, taking the tilt angle and the tilt direction of the terminal at the absolute position as the tilt angle and the tilt direction of the terminal at the reference position when the tilt angle and the tilt direction of the terminal are obtained next time.

[0064] In a third aspect, an embodiment of the present application provides an electronic device, including a processor and a memory, the memory stores computer readable instructions, when the computer readable instructions are executed by the processor, the steps in the method provided in the first aspect are executed.

[0065] In a fourth aspect, an embodiment of the present application provides a readable storage medium, which stores a computer program, when the computer program is executed by a processor, the steps in the method provided in the first aspect are executed.

[0066] Other features and advantages of the present application will be set forth in the following description, and in part will be apparent from the description, or can be learned by practice of the application. The objects and other advantages of the present application will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings. BRIEF DESCRIPTION OF DRAWINGS

[0067] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings needed to be used in the embodiments of the present application. It should be understood that the following drawings only show some of the embodiments of the present application, and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can also be obtained without creative labor on the basis of these drawings.

[0068] Figure 1 A flow chart of a method for processing a questionnaire provided by an embodiment of the present application;

[0069] Figure 2 A detailed implementation flow chart of a method for processing a questionnaire provided by an embodiment of the present application;

[0070] Figure 3 A schematic block diagram of a device for processing a questionnaire provided by an embodiment of the present application;

[0071] Figure 4 A structural schematic diagram of a device for processing a questionnaire provided by an embodiment of the present application. DETAILED DESCRIPTION

[0072] The technical solutions of the embodiments of the present application will be described clearly and completely in the following with reference to the drawings of the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, but not all the embodiments. The components of the embodiments of the present application described and shown in the drawings can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the claimed present application, but only represents selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without creative labor are within the scope of protection of the present application.

[0073] It should be noted that: similar reference numerals and letters represent similar items in the following drawings, and therefore, once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings. Meanwhile, in the description of the present application, the terms "first", "second", etc. are only used to distinguish the description, and cannot be understood as indicating or implying relative importance.

[0074] The application is applied to a scenario of processing a survey questionnaire, and specifically, a user processes the survey questionnaire by tilting a terminal based on a tilting direction.

[0075] At present, an online survey questionnaire is usually displayed on a screen of a mobile phone, and a user's operation on a question in the survey questionnaire is obtained through the screen or a key to obtain the user's answer or submission of the survey questionnaire. In the above case, the user needs to touch the screen or operate the key by fingers, but it is difficult for the user to complete the above operation when wearing gloves or having sweaty fingers, which brings great trouble to the user.

[0076] Therefore, the application obtains a tilting angle and a tilting direction of the terminal after displaying a question of the survey questionnaire, and processes the survey questionnaire based on the tilting angle and the tilting direction, such as answering the question, turning a page, and submitting the survey questionnaire. The method achieves the effect of conveniently and quickly processing the survey questionnaire.

[0077] In the application, the execution subject can be a terminal for processing the survey questionnaire in a data processing system.

[0078] The method for processing the survey questionnaire according to the application will be described in detail below. Figure 1 The method for processing the survey questionnaire according to the application will be described in detail below.

[0079] Please refer to Figure 1 , Figure 1 A flowchart of a method for processing a survey questionnaire provided by the application is applied to a terminal, as shown in Figure 1 The method for processing the survey questionnaire includes the following steps.

[0080] Step 110: After displaying a question of the survey questionnaire, obtaining a tilting angle and a tilting direction of the terminal.

[0081] Specifically, the terminal device first displays a question of the survey questionnaire, and detects a change in the tilting angle and the tilting direction of the terminal after displaying the question of the survey questionnaire.

[0082] It should be understood that the question of the survey questionnaire in the application can be directly obtained by the terminal from a server, obtained by the terminal from other devices, stored locally by the terminal, or generated by the terminal according to user information, and the application is not limited thereto. In the case where the question of the survey questionnaire is obtained by the terminal from the server, the question of the survey questionnaire can be individually set by the server based on different users, for example, the corresponding question can be individually set based on user information of the user, or the question can be uniformly configured by the server, for example, the question is consistent for all users, and the application is not limited thereto.

[0083] In the above process, the embodiments of the present application can complete some processing of the questionnaire according to the tilt angle and tilt direction of the terminal, so that the process of processing the questionnaire is more convenient and fast.

[0084] The terminal can be a mobile phone, a watch, a tablet computer or the like with a device for detecting the tilt angle and tilt direction of the terminal, and the device for detecting the tilt angle and tilt direction of the terminal can be a gyroscope, a spiral instrument or the like, but the present application is not limited thereto. The tilt angle and tilt direction at the absolute position can be directly determined as the tilt angle and tilt direction of the terminal, or the tilt angle and tilt direction of the pseudo terminal can be determined according to the difference between the tilt angle and tilt direction at the reference position and the tilt angle and tilt direction at the absolute position.

[0085] The tilt angle and tilt direction of the terminal mentioned in the following embodiments can be obtained according to the difference between the tilt angle and tilt direction at the reference position and the tilt angle and tilt direction at the absolute position.

[0086] Specifically, when obtaining the tilt angle and tilt direction of the terminal, the tilt angle and tilt direction of the terminal can be obtained at a fixed time or at an indefinite time.

[0087] Specifically, when the tilt angle and tilt direction of the terminal are obtained at a fixed time, the following steps can be adopted:

[0088] S1101: Obtain the tilt angle and tilt direction of the terminal at an absolute position and the tilt angle and tilt direction of the terminal at a reference position.

[0089] S1102: Determine the difference between the tilt angle and tilt direction of the terminal at the absolute position and the tilt angle and tilt direction of the terminal at the reference position as the tilt angle and tilt direction of the terminal.

[0090] In the above process, the embodiments of the present application can determine the tilt angle and tilt direction of the terminal according to the difference between the tilt angle and tilt direction of the terminal before and after the change, by detecting the tilt angle and tilt direction of the terminal at a fixed time, so that the change of the tilt angle and tilt direction of the terminal can be obtained at a fixed time.

[0091] The absolute position indicates the position of the terminal relative to the horizontal plane when the terminal obtains the tilt angle and tilt direction of the terminal, and the reference position can be a position relative to the horizontal plane set in advance, or the absolute position of the terminal can be used as the reference position of the terminal when the terminal obtains the tilt angle and tilt direction of the terminal next time. The tilt angle and tilt direction of the terminal can be obtained once or multiple times.

[0092] Further, after performing S1102, the following steps can also be performed:

[0093] When it is determined that the tilt angle of the terminal is less than the update tilt threshold, the tilt angle and tilt direction of the terminal at the absolute position are taken as the tilt angle and tilt direction of the terminal at the reference position when the terminal obtains the tilt angle and tilt direction next time.

[0094] In the above process, when the tilt angle of the terminal is less than the pre-set update tilt threshold, the position of the terminal can be set as the reference position when the tilt angle and tilt direction of the terminal are obtained next time, so that the calculated tilt angle and tilt direction of the terminal are more accurate, and the user can also prevent the terminal from being accidentally shaken to cause the terminal to make a mistake.

[0095] The update tilt threshold can be set according to the habits of the user, for example, the tilt threshold is generally set to 20°, and the update tilt threshold is less than or equal to any one of the following tilt thresholds: an option tilt threshold, a page turning tilt threshold, and a submission tilt threshold.

[0096] Step 120: processing the questionnaire based on the tilt angle and the tilt direction.

[0097] Specifically, according to the tilt direction corresponding to the valid input tilt angle, different processing of the questionnaire is performed, for example, selecting an option, turning a page, and submitting the questionnaire, etc., which are not limited in the present application.

[0098] In the above process, the present application can complete the operations of answering the questionnaire, turning a page, and submitting the questionnaire based on the tilt angle and the tilt direction, so as to achieve the effect of conveniently and quickly processing the questionnaire for the user.

[0099] The tilt direction of turning a page and submitting the questionnaire can be set according to the requirements, and the processing results corresponding to different directions are different, for example, the tilt directions of the terminal to the left and right are set as the up and down page turning of the questionnaire respectively, and the tilt direction of submitting the questionnaire can only be other directions except the left and right directions.

[0100] Specifically, when step 120 is performed, the following steps can also be performed:

[0101] S1201: determining the answer result of the user to the question based on the tilt angle and the tilt direction.

[0102] For example, the terminal's tilt angle and tilt direction are detected every 0.5 seconds. If, during the detection, the terminal is tilted to the right and the tilt angle is greater than or equal to 20° for two consecutive seconds, option A is selected. If the terminal is tilted to the left and the tilt angle is greater than or equal to 20° for two consecutive seconds, option B is selected. If the terminal is tilted upward and the tilt angle is greater than or equal to 20° for two consecutive seconds, option C is selected. If the terminal is tilted downward and the tilt angle is greater than or equal to 20° for two consecutive seconds, option D is selected. The application is not limited in this regard.

[0103] The different tilt directions correspond to the options set in advance.

[0104] S1202: Alternatively, based on the tilt angle and the tilt direction, the questionnaire is turned to the next page.

[0105] For example, the terminal's tilt angle and tilt direction are detected every 0.5 seconds. If, during the detection, the terminal is tilted to the right and the tilt angle is greater than or equal to 20° for two consecutive seconds, option A is selected. If the terminal is tilted to the left and the tilt angle is greater than or equal to 20° for two consecutive seconds, option B is selected. If the terminal is tilted upward and the tilt angle is greater than or equal to 20° for two consecutive seconds, option C is selected. If the terminal is tilted downward and the tilt angle is greater than or equal to 20° for two consecutive seconds, option D is selected. The application is not limited in this regard.

[0106] The turning to the next page can be turning to the next page of the questionnaire, or turning to the next question in the questionnaire.

[0107] S1203: Alternatively, based on the tilt angle and the tilt direction, the questionnaire is submitted.

[0108] For example, the terminal's tilt angle and tilt direction are detected every 0.5 seconds. If, during the detection, the terminal is tilted upward and the tilt angle is greater than or equal to 20° for two consecutive seconds, the questionnaire is submitted if the tilt angle is less than 5° in any direction and the tilt angle alternates between the two conditions. If the terminal is tilted downward and the tilt angle is greater than or equal to 20° for two consecutive seconds, the questionnaire is exited if the tilt angle is less than 5° in any direction and the tilt angle alternates between the two conditions. The application is not limited in this regard.

[0109] In the above process, the application can process the questionnaire differently based on different tilt angles and tilt directions, simplifying the operations of selecting options, turning pages, and submitting questionnaires, and providing convenience for users.

[0110] The inclination angle, the inclination direction, the inclination times, the inclination time and the corresponding processing result can be set according to requirements, for example: two times of upward inclination and inclination angle greater than or equal to 30° and two times of inclination angle less than 10°, the direction is not limited, and when the two situations appear alternately, a questionnaire can be submitted, and the application is not limited thereto.

[0111] Specifically, when step S1201 is performed, the following steps can be used:

[0112] The inclination angle and the inclination direction of the terminal relative to the reference position are acquired in a timely manner.

[0113] Based on the inclination angle and the inclination direction, the user's answer result to the question is determined, including:

[0114] When the inclination angle acquired for N consecutive times is greater than or equal to the option inclination threshold value, and the inclination direction acquired for N times is the same inclination direction, the option corresponding to the inclination direction is determined as the user's answer result to the question, wherein the question includes multiple options, the terminal is preconfigured with a corresponding relationship between the inclination direction and the question option, and N is an integer greater than or equal to 1.

[0115] For example: the inclination angle and the inclination direction of the terminal are detected once every 0.5 seconds, the inclination angle of each time is greater than or equal to 20° and the inclination direction is to the right, until the inclination angle of the fourth detection is greater than or equal to 20° and the inclination direction is still to the right, which indicates that the A option is selected for this question, which is equivalent to the inclination angle of four detections in two seconds is greater than or equal to 20° and the inclination direction is to the right, and it can be judged that the user's selection is A.

[0116] In the above process, according to the inclination direction of the terminal, the user's selection can be accurately judged, and the user's filling of the questionnaire options is facilitated.

[0117] The inclination angle, the inclination direction, the inclination threshold value and the corresponding option can be set according to the user's habit and requirement, and the application is not limited thereto.

[0118] In addition, when the inclination angle of the terminal is greater than or equal to the inclination threshold value, if the inclination direction of the terminal changes relative to the inclination direction of the terminal acquired last time, the inclination angle and the inclination direction of the terminal at this time can be used as the reference direction when comparing whether the inclination direction of the terminal changes next time.

[0119] Specifically, when step S1202 is performed, the following steps can be used:

[0120] The inclination angle and the inclination direction of the terminal are acquired, including:

[0121] The tilt angle and the tilt direction of the terminal relative to the reference position are acquired at a certain time.

[0122] Based on the tilt angle and the tilt direction, the questionnaire is turned over, including:

[0123] When the tilt angles acquired continuously M times include at least one greater than or equal to the turning-over tilt threshold and at least one less than the first tilt threshold, and the tilt direction corresponding to each tilt angle greater than or equal to the turning-over tilt threshold is the same tilt direction, the questionnaire is turned over based on the turning-over direction corresponding to the tilt direction, wherein the terminal is preconfigured with a correspondence between the tilt direction and the turning-over direction, the first tilt threshold is less than or equal to the turning-over tilt threshold, and M is an integer greater than or equal to 2.

[0124] For example, when the tilt angle and the tilt direction of the terminal are detected at a certain time of 0.5 seconds, the tilt angle is detected less than 5° the first time, the tilt angle is detected greater than or equal to 20° the second time, the tilt angle is detected less than 5° the third time, the tilt angle is detected greater than or equal to 20° the fourth time, and so on, and the tilt directions detected the second and fourth times are both to the right, the questionnaire is turned over, and the next question is entered.

[0125] In the above process, when there are cases where the tilt angle of the terminal is less than the first tilt threshold and the tilt angle is greater than or equal to the submission tilt threshold, it indicates that the terminal is in a state of continuous swinging, and the terminal can turn over according to the swinging direction, which facilitates the user to turn over when filling out the questionnaire.

[0126] The different swinging directions of the terminal correspond to different turning-over directions, the first tilt threshold is less than the turning-over tilt threshold, and the alternately appearing changes can be changes in the tilt angle and the tilt direction once, changes in the tilt angle and the tilt direction twice, or the like, which are not limited in the present application.

[0127] Specifically, when step S1203 is performed, the following steps can be adopted:

[0128] The tilt angle and the tilt direction of the terminal relative to the reference position are acquired at a certain time.

[0129] Based on the tilt angle and the tilt direction, the questionnaire is turned over, including:

[0130] When the tilt angles acquired continuously K times include at least one greater than or equal to the submission tilt threshold and at least one less than the second tilt threshold, and the tilt direction corresponding to each tilt angle greater than or equal to the submission tilt threshold is consistent with the tilt direction corresponding to the submission of the questionnaire pre-set, the questionnaire is submitted, wherein the second tilt threshold is less than or equal to the submission tilt threshold, and K is an integer greater than or equal to 2.

[0131] For example, when detecting the tilt angle and tilt direction of the terminal at a time of 0.5 seconds, the tilt angle is less than 5° in the first detection, the tilt angle is greater than or equal to 20° in the second detection, the tilt angle is less than 5° in the third detection, the tilt angle is greater than or equal to 20° in the fourth detection, and so on, and the tilt directions in the second and fourth detections are both upward, the questionnaire is submitted.

[0132] In the above process, there are cases that the tilt angle of the terminal is less than the third tilt threshold and the tilt angle is greater than or equal to the tilt threshold, which indicates that the terminal is in a state of continuous swinging, and if the swinging direction of the terminal is consistent with the preset direction corresponding to the submission of the questionnaire, the questionnaire is submitted, which simplifies the process of submitting the questionnaire.

[0133] The second tilt threshold is less than the submission tilt threshold, and when the number of swings reaches a certain threshold, it can be judged as valid input.

[0134] In addition, the processing of the questionnaire by the tilt angle in the present application not only includes the above processing results, but also includes processing operations such as exiting the questionnaire, feeding back the questionnaire, and voice inputting answers, and at the same time, any case that can use the processing of some data according to the tilt of the terminal belongs to the protection range of the present application, for example, the method of the present application can be used for selecting options, such as exam answering, which also belongs to the protection range of the present application, and the present application is not limited thereto.

[0135] The method for selecting corresponding options when answering the questionnaire in the present application will be described in detail below based on a mobile phone terminal with a gyroscope.

[0136] Please refer to Figure 2 for a detailed implementation flowchart of the method for processing the questionnaire provided by the embodiment of the present application.

[0137] Step 201: displaying the questionnaire topic on the mobile phone.

[0138] Specifically, opening the questionnaire on the mobile phone with the gyroscope, and displaying the questionnaire topic.

[0139] The gyroscope can obtain the tilt angle and tilt direction of the mobile phone.

[0140] Step 202: taking the tilt angle and tilt direction of the terminal relative to the horizontal plane at this time as the tilt angle and tilt direction of the terminal at the reference position.

[0141] Step 203: obtaining the tilt direction and tilt angle of the mobile phone every 0.5 seconds.

[0142] The tilt angle and tilt direction of the mobile phone are relative to the tilt angle and tilt direction at the reference position.

[0143] Step 204: judging whether the inclination angle of the mobile phone is greater than or equal to 20°.

[0144] Specifically, when the inclination angle of the mobile phone gyroscope is greater than or equal to 20°, step 205 is skipped and step 206 is executed; when the inclination angle of the mobile phone gyroscope is less than 20°, step 205 is continuously executed.

[0145] Here, the inclination angle corresponding to the option inclination threshold at this time is 20°, and the above inclination angle and inclination direction are both relative to the inclination angle and inclination direction at the reference position.

[0146] Step 205: taking the inclination angle and inclination direction of the terminal at this time relative to the horizontal plane as the inclination angle and inclination direction of the terminal at the reference position when the inclination angle and inclination direction of the terminal are obtained next time.

[0147] After updating the inclination angle and inclination direction at the reference position, return to step 203.

[0148] Step 206: judging whether the inclination direction of the mobile phone relative to the horizontal plane is consistent with the inclination direction at the reference position.

[0149] Specifically, when the inclination direction of the mobile phone is consistent with the inclination direction at the reference position, step 207 is skipped and step 208 is executed; when the inclination direction of the mobile phone gyroscope is not consistent with the current inclination direction, step 207 is continuously executed.

[0150] Step 207: taking the inclination direction of the terminal at the absolute position as the inclination direction of the terminal at the reference position when the inclination angle and inclination direction of the terminal are obtained next time.

[0151] After updating the inclination direction at the reference position, return to step 203.

[0152] Step 208: continuously judging whether the number of times of the inclination direction of the mobile phone relative to the horizontal plane being consistent with the inclination direction at the reference position reaches a set number threshold.

[0153] Specifically, when the number of times of the inclination reaches the set number threshold, step 209 is continuously executed; when the number of times of the inclination does not reach the set number threshold, step 203 is executed.

[0154] Step 209: obtaining the option corresponding to the inclination direction and saving the answer.

[0155] For example: if the inclination direction of the mobile phone gyroscope is up, select A option; if the inclination direction of the mobile phone gyroscope is down, select B option; if the inclination direction of the mobile phone gyroscope is left, select C option; if the inclination direction of the mobile phone gyroscope is right, select D option.

[0156] The foregoing is a brief description Figures 1-2 A method for processing a survey questionnaire is described below in conjunction with Figures 3-4 A device for processing a survey questionnaire is described below in conjunction with

[0157] Please refer to Figure 3 A schematic block diagram of a device 300 for processing a survey questionnaire is provided in the embodiments of the present application. The device 300 can be a module, a program segment or code on an electronic device. The device 300 corresponds to the method embodiments described above and can perform the steps involved in the method embodiments. The specific functions of the device 300 can be found in the description below. To avoid repetition, the detailed description is appropriately omitted here. Figure 1 The device 300 corresponds to the method embodiments described above and can perform the steps involved in the method embodiments. The specific functions of the device 300 can be found in the description below. To avoid repetition, the detailed description is appropriately omitted here. Figure 1 The device 300 corresponds to the method embodiments described above and can perform the steps involved in the method embodiments. The specific functions of the device 300 can be found in the description below. To avoid repetition, the detailed description is appropriately omitted here.

[0158] Optionally, the device 300 includes:

[0159] The acquisition module 310 is configured to acquire the tilt angle and the tilt direction of the terminal after a question of the survey questionnaire is displayed.

[0160] The processing module 320 is configured to process the survey questionnaire based on the tilt angle and the tilt direction.

[0161] Optionally, the processing module is specifically configured to:

[0162] determine the answer result of the user to the question based on the tilt angle and the tilt direction;

[0163] or

[0164] turn the pages of the survey questionnaire based on the tilt angle and the tilt direction;

[0165] or

[0166] submit the survey questionnaire based on the tilt angle and the tilt direction.

[0167] Optionally, the acquisition module is specifically configured to:

[0168] acquire the tilt angle and the tilt direction of the terminal relative to a reference position at a timing;

[0169] The processing module is specifically configured to:

[0170] when the tilt angles acquired continuously for N times are all greater than or equal to an option tilt threshold value and the tilt directions acquired for N times are all the same tilt direction, determine the option corresponding to the tilt direction as the answer result of the user to the question, wherein the question includes multiple options, a correspondence between the tilt direction and the question options is preconfigured in the terminal, and N is an integer greater than or equal to 1.

[0171] Optionally, the acquisition module is configured to:

[0172] acquire the tilt angle and the tilt direction of the terminal relative to the reference position at a certain time;

[0173] The processing module is specifically configured to:

[0174] When the tilt angles acquired successively for M times include at least one greater than or equal to a page-turning tilt threshold and at least one less than a first tilt threshold, and the tilt directions corresponding to each tilt angle greater than or equal to the page-turning tilt threshold are the same tilt direction, the questionnaire is turned based on the page-turning direction corresponding to the tilt direction, wherein the terminal is preconfigured with a correspondence between the tilt direction and the page-turning direction, the first tilt threshold is less than or equal to the page-turning tilt threshold, and M is an integer greater than or equal to 2.

[0175] Optionally, the acquiring module is configured to:

[0176] acquire the tilt angle and the tilt direction of the terminal relative to the reference position at a certain time;

[0177] The processing module is specifically configured to:

[0178] When the tilt angles acquired successively for K times include at least one greater than or equal to a submission tilt threshold and at least one less than a second tilt threshold, and the tilt directions corresponding to each tilt angle greater than or equal to the submission tilt threshold are consistent with the tilt direction corresponding to the submission of the questionnaire pre-set, the questionnaire is submitted, wherein the second tilt threshold is less than or equal to the submission tilt threshold, and K is an integer greater than or equal to 2.

[0179] Optionally, the acquiring module is configured to:

[0180] acquire the tilt angle and the tilt direction of the terminal relative to the reference position at a certain time, comprising:

[0181] acquire the tilt angle and the tilt direction of the terminal at an absolute position and the tilt angle and the tilt direction of the terminal at a reference position;

[0182] determine the difference between the tilt angle and the tilt direction of the terminal at the absolute position and the tilt angle and the tilt direction of the terminal at the reference position as the tilt angle and the tilt direction of the terminal.

[0183] Optionally, the apparatus further comprises:

[0184] The updating module is configured to, after the processing module determines the tilt angle and the tilt direction of the terminal based on the difference between the tilt angle and the tilt direction of the terminal at the absolute position and the tilt angle and the tilt direction of the terminal at the reference position, when it is determined that the tilt angle of the terminal is less than an updating tilt threshold, take the tilt angle and the tilt direction of the terminal at the absolute position as the tilt angle and the tilt direction of the terminal at the reference position when the tilt angle and the tilt direction of the terminal are acquired next time.

[0185] Please refer toFigure 4 A structure schematic block diagram of a device 400 for processing a questionnaire provided in an embodiment of the present application is shown. The device can include a memory 410 and a processor 420. Optionally, the device can further include a communication interface 430 and a communication bus 440. The device corresponds to the above-mentioned Figure 1 method embodiments and can perform the steps of the above-mentioned Figure 1 method embodiments. Details of the functions of the device can be found in the following description.

[0186] Specifically, the memory 410 is configured to store computer readable instructions.

[0187] The processor 420 is configured to process the computer readable instructions stored in the memory and can perform the steps of the above-mentioned Figure 2 method embodiments 110 to 130.

[0188] The communication interface 430 is configured to communicate with other node devices in signaling or data. For example, the communication interface 430 is configured to communicate with a server or a terminal, or communicate with other device nodes, which are not limited in the embodiments of the present application.

[0189] The communication bus 440 is configured to realize direct connection communication of the above-mentioned components.

[0190] In the embodiments of the present application, the communication interface 430 of the device is configured to communicate with other node devices in signaling or data. The memory 410 can be a high-speed RAM memory, or a non-volatile memory, for example, at least one disk memory. The memory 410 can optionally be at least one storage device located away from the above-mentioned processor. The memory 410 stores computer readable instructions, and when the computer readable instructions are executed by the processor 420, the electronic device performs the above-mentioned Figure 1 method processes. The processor 420 can be used in the device 300 and is configured to perform the functions in the embodiments of the present application. For example, the above-mentioned processor 420 can be a general-purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, which are not limited in the embodiments of the present application.

[0191] The embodiments of the present application further provide a readable storage medium. When the computer program is executed by the processor, the above-mentioned Figure 1Method processes performed by the electronic device in the illustrated method embodiment.

[0192] Those skilled in the art can clearly understand that, for the convenience and brevity of the description, the specific working process of the above-described device can refer to the corresponding process in the foregoing method, and will not be described in detail here.

[0193] To sum up, the embodiments of the present application provide a method, device, electronic device and readable storage medium for processing a questionnaire, the method comprising: after displaying a question of the questionnaire, obtaining a tilt angle and a tilt direction of the terminal; and processing the questionnaire based on the tilt angle and the tilt direction. Through the method, the questionnaire can be conveniently and quickly processed.

[0194] In several embodiments provided in the present application, it should be understood that the disclosed apparatus and method can also be implemented by other ways. The apparatus embodiments described above are only schematic, for example, the flowcharts and block diagrams in the drawings show the possible implementation architectures, functions and operation of the apparatus, method and computer program product according to the embodiments of the present application. In this regard, each block in the flowcharts or block diagrams can represent a module, a program segment or a part of code, which contains one or more executable instructions for implementing the specified logical function. It should also be noted that, in some alternative implementations, the functions noted in the blocks can occur in different orders from those described in the drawings. For example, two consecutive blocks can actually be executed substantially in parallel, and sometimes they can be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and the combination of blocks in the block diagrams and / or flowcharts, can be implemented by a dedicated hardware-based system for performing the specified functions or actions, or can be implemented by a combination of dedicated hardware and computer instructions.

[0195] In addition, each functional module in the embodiments of the present application can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part.

[0196] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the present application essentially or the parts of the prior art that make contributions or parts of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes a number of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and various media that can store program codes.

[0197] The above merely provides an example of the present application and is not intended to limit the protection scope of the present application. For those skilled in the art, the present application can have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application. It should be noted that similar reference numbers and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings.

[0198] The above merely provides an example of the present application and is not intended to limit the protection scope of the present application. For those skilled in the art, the present application can have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application. It should be noted that similar reference numbers and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings.

[0199] It should be noted that, in this document, relational terms such as first and second, and the like can be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises", "comprising", or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but can include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without limitation, an element preceded by "comprises... a" does not, without more constraints, foreclose the existence of additional identical elements in the process, method, article, or apparatus that comprises the element.

Claims

1. A method of processing a survey questionnaire, characterized by, The method comprises the following steps: Step 110: obtaining the tilt angle and tilt direction of the terminal after displaying the question of the survey questionnaire; The terminal device first displays the question of the survey questionnaire, and detects the change of the tilt angle and tilt direction of the terminal after displaying the question of the survey questionnaire; according to the tilt angle and tilt direction of the terminal, some processing of the survey questionnaire can be completed, so that the process of processing the survey questionnaire is more convenient and fast; The tilt angle and tilt direction at the absolute position are directly determined as the tilt angle and tilt direction of the terminal, or the tilt angle and tilt direction at the absolute position are determined as the tilt angle and tilt direction of the terminal according to the difference between the tilt angle and tilt direction at the reference position and the tilt angle and tilt direction at the absolute position; When obtaining the tilt angle and tilt direction of the terminal, the tilt angle and tilt direction of the terminal are obtained in a time manner or in a non-time manner; When the tilt angle and tilt direction of the terminal are obtained in a time manner, the following steps are adopted: S1101: obtaining the tilt angle and tilt direction of the terminal at the absolute position and the tilt angle and tilt direction of the terminal at the reference position; S1102: determining the difference between the tilt angle and tilt direction of the terminal at the absolute position and the tilt angle and tilt direction of the terminal at the reference position as the tilt angle and tilt direction of the terminal; The absolute position represents the position of the terminal relative to the horizontal plane when the terminal obtains the tilt angle and tilt direction of the terminal, and the reference position includes a position set in advance relative to the horizontal plane, or the absolute position of the terminal is taken as the reference position of the terminal when the tilt angle and tilt direction of the terminal are obtained next time; After S1102 is executed, the following steps are further executed: When it is determined that the tilt angle of the terminal is less than the update tilt threshold, the tilt angle and tilt direction of the terminal at the absolute position are taken as the tilt angle and tilt direction of the terminal at the reference position when the tilt angle and tilt direction of the terminal are obtained next time in a time manner; the calculated tilt angle and tilt direction of the terminal are more accurate, and the effect that the terminal does not make a mistake due to accidental shaking of the terminal by the user can be prevented; The tilt threshold is set to 20°, and the update tilt threshold is less than or equal to any one of the following tilt thresholds: the option tilt threshold, the page turning tilt threshold and the submission tilt threshold; Step 120: processing the survey questionnaire based on the tilt angle and tilt direction; According to the tilt direction corresponding to the valid input tilt angle, the survey questionnaire is processed differently, so as to achieve the effect that the user processes the survey questionnaire conveniently and quickly; Specifically, when step 120 is executed, the following steps are further adopted: S1201: determining the answer result of the user to the question based on the tilt angle and tilt direction; S1202: or turning the page of the survey questionnaire based on the tilt angle and tilt direction; wherein the page turning includes turning the page of the survey questionnaire or turning the question in the survey questionnaire; S1203: or submitting the survey questionnaire based on the tilt angle and tilt direction; According to different inclination angles and inclination directions, the questionnaire can be processed differently, and the selection of options, page turning and submission of the questionnaire are simplified, thereby bringing convenience to users. Specifically, when step S1201 is performed, the following steps are adopted: The inclination angle and the inclination direction of the terminal relative to the reference position are acquired in a timely manner; Based on the inclination angle and the inclination direction, the result of the user's answer to the question is determined, including: When the inclination angles acquired for N consecutive times are all greater than or equal to the inclination threshold of the option, and the inclination directions acquired for N consecutive times are all the same inclination direction, the option corresponding to the inclination direction is determined as the result of the user's answer to the question, wherein the question includes multiple options, the correspondence between the inclination direction and the question option is preconfigured in the terminal, and N is an integer greater than or equal to 1; According to the inclination direction of the terminal, the user's selection can be accurately determined, thereby facilitating the user to fill in the options of the questionnaire; In addition, when the inclination angle of the terminal is greater than or equal to the inclination threshold, if the inclination direction of the terminal changes relative to the inclination direction of the terminal acquired last time, the inclination angle and the inclination direction of the terminal at this time can be used as the reference direction when the inclination direction of the terminal is compared next time. Specifically, when step S1202 is performed, the following steps are adopted: The inclination angle and the inclination direction of the terminal are acquired, including: The inclination angle and the inclination direction of the terminal relative to the reference position are acquired in a timely manner; Based on the inclination angle and the inclination direction, the questionnaire is turned, including: When the inclination angles acquired for M consecutive times include at least one inclination angle greater than or equal to the page turning inclination threshold and at least one inclination angle less than the first inclination threshold, and the inclination directions corresponding to each inclination angle greater than or equal to the page turning inclination threshold are all the same inclination direction, the questionnaire is turned based on the page turning direction corresponding to the inclination direction, wherein the correspondence between the inclination direction and the page turning direction is preconfigured in the terminal, the first inclination threshold is less than or equal to the page turning inclination threshold, and M is an integer greater than or equal to 2; When there are inclination angles of the terminal less than the first inclination threshold and inclination angles greater than or equal to the submission inclination threshold, it indicates that the terminal is in a state of continuous swinging, and the terminal can turn the pages according to the swinging direction, thereby facilitating the user to turn the pages when filling in the questionnaire. Specifically, when step S1203 is performed, the following steps are adopted: The inclination angle and the inclination direction of the terminal relative to the reference position are acquired in a timely manner; Based on the inclination angle and the inclination direction, the questionnaire is submitted, including: When the inclination angles acquired for K consecutive times include at least one inclination angle greater than or equal to the submission inclination threshold and at least one inclination angle less than the second inclination threshold, and the inclination directions corresponding to each inclination angle greater than or equal to the submission inclination threshold are all consistent with the inclination direction corresponding to the submission of the questionnaire pre-set, the questionnaire is submitted, wherein the second inclination threshold is less than or equal to the submission inclination threshold, and K is an integer greater than or equal to 2; When there are inclination angles of the terminal less than the third inclination threshold and inclination angles greater than or equal to the inclination threshold, it indicates that the terminal is in a state of continuous swinging, and if the swinging direction of the terminal is consistent with the direction corresponding to the submission of the questionnaire pre-set, the questionnaire is submitted, thereby simplifying the process of submitting the questionnaire. The second tilt threshold is less than the submission tilt threshold, and when the number of swings reaches a certain threshold, the valid input is determined.

2. An apparatus for processing a survey questionnaire based on the method of claim 1, characterized by Applied to a terminal, comprising: An acquisition module is configured to acquire a tilt angle and a tilt direction of the terminal after a question of a survey questionnaire is displayed; A processing module is configured to process the survey questionnaire based on the tilt angle and the tilt direction.

3. An apparatus for processing a survey questionnaire, characterized by Comprising: A memory and a processor, the memory storing computer readable instructions, when the computer readable instructions are executed by the processor, the steps in the method of claim 1 are executed.

4. A computer-readable storage medium, characterized in that, Comprising: A computer program, when the computer program is executed on a computer, the computer is caused to execute the method of claim 1.

Citation Information

Patent Citations

  • Page browsing method and electronic device using said method

    WO2012119523A1