WO2020062681A1 - Eyeball motion trajectory-based test question magnifying method and system, and device - Google Patents

Eyeball motion trajectory-based test question magnifying method and system, and device Download PDF

Info

Publication number
WO2020062681A1
WO2020062681A1 PCT/CN2018/124444 CN2018124444W WO2020062681A1 WO 2020062681 A1 WO2020062681 A1 WO 2020062681A1 CN 2018124444 W CN2018124444 W CN 2018124444W WO 2020062681 A1 WO2020062681 A1 WO 2020062681A1
Authority
WO
WIPO (PCT)
Prior art keywords
current
test question
determining
resolution
test
Prior art date
Application number
PCT/CN2018/124444
Other languages
French (fr)
Chinese (zh)
Inventor
高凌云
牛华
Original Assignee
平安科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2020062681A1 publication Critical patent/WO2020062681A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • G06F3/013Eye tracking input arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/01Indexing scheme relating to G06F3/01
    • G06F2203/012Walk-in-place systems for allowing a user to walk in a virtual environment while constraining him to a given position in the physical environment

Definitions

  • the present application relates to the field of computer technology, and in particular, to a method, a system, a computer device, and a computer-readable storage medium for amplifying a test topic based on an eye movement locus.
  • the purpose of this application is to provide a method, a system, a computer device, and a computer-readable storage medium for enlarging a test question based on eye movement trajectories, so as to at least solve the problem of too many and densely arranged test questions on an electronic questionnaire in the prior art, resulting in Agents often miss or misunderstand flaws in the test questions.
  • An aspect of the present application provides a method for enlarging a test question based on eye movement trajectory, which is characterized by comprising: listening to learn that an electronic test questionnaire is opened, acquiring a current resolution of a display screen displaying the electronic test questionnaire, and obtaining a preview. Set the base resolution; calculate the current magnification based on the current resolution and the preset base resolution; determine the eye movement trajectory of the agent; determine the test questions corresponding to the eye movement trajectory in the electronic test questionnaire; and according to the current Magnification to magnify the above test questions.
  • test question magnification system based on an eye movement trajectory, which is characterized by comprising: a first acquisition module for monitoring to learn that an electronic test questionnaire is opened, and acquiring a display displaying the electronic test questionnaire.
  • the current resolution of the screen a second acquisition module for acquiring a preset basic resolution; a calculation module for calculating a current magnification based on the current resolution and the preset basic resolution; a first determination module for Determine the eye movement trajectory of the agent; a second determination module for determining a test question corresponding to the eye movement trajectory in the electronic test questionnaire; and an amplification module for magnifying the test question according to the current magnification.
  • Another aspect of the present application provides a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor.
  • the processor executes the computer program, the processor is used to implement an eye movement track-based
  • the following steps of the method for enlarging the test question monitor to learn that the electronic test questionnaire is opened, obtain the current resolution of the display screen displaying the electronic test questionnaire, obtain a preset basic resolution, and according to the current resolution and the preset basic resolution , Calculate the current magnification; determine the eye movement trajectory of the agent; determine the test question corresponding to the eye movement trajectory in the electronic test questionnaire; and enlarge the test question according to the current magnification.
  • Another aspect of the present application provides a computer-readable storage medium on which a computer program is stored.
  • the computer program When the computer program is executed by a processor, the computer program is used to implement a test question based on eye movement trajectory to amplify the following steps of the above method: monitoring to learn The electronic test questionnaire is opened to obtain the current resolution of the display screen on which the electronic test questionnaire is displayed; to obtain a preset basic resolution; to calculate the current magnification according to the current resolution and the preset basic resolution; determine the eyeball of the agent Trajectory; determining a test question corresponding to the eyeball trajectory in the electronic test questionnaire; and magnifying the test question according to the current magnification.
  • the method for magnifying a test question based on eye movement trajectories provided in this application.
  • the system will automatically obtain the current resolution of the display screen displaying the electronic test questionnaire and the pre-stored preset basic resolution, and according to the current Resolution and preset basic resolution, determine the current magnification, further determine the test question that the agent is viewing according to the eye movement trajectory of the agent, and then enlarge the test question according to the calculated current magnification.
  • FIG. 1 schematically illustrates a flowchart of a method for magnifying a test question based on an eye movement locus according to an embodiment of the present application
  • FIG. 2 schematically illustrates a schematic diagram before a test topic according to an embodiment of the present application is enlarged
  • FIG. 3 schematically illustrates a schematic diagram after a test topic according to an embodiment of the present application is enlarged
  • FIG. 4 schematically illustrates a block diagram of a test question magnification system based on an eye movement locus according to an embodiment of the present application
  • FIG. 5 schematically illustrates a hardware architecture diagram of a computer device suitable for implementing a method for magnifying a test question based on an eye movement locus according to an embodiment of the present application.
  • the agents often miss or misread the test questions.
  • the method for magnifying a test question based on eye movement trajectories provided in this application.
  • the system will automatically obtain the current resolution of the display screen displaying the electronic test questionnaire and the pre-stored preset basic resolution, and according to the current Resolution and preset basic resolution, determine the current magnification, further determine the test question that the agent is viewing based on the eye movement trajectory of the agent, and then zoom in on the test question according to the calculated current magnification to achieve prominent and not obtrusive Show the test questions viewed by the agent, help the agent to clear the work, reduce the errors caused by missed or misread the test questions, and improve the work efficiency of the agent.
  • FIG. 1 schematically illustrates a flowchart of a method for magnifying a test question based on an eye movement locus according to an embodiment of the present application.
  • the method for magnifying a test question based on an eye movement trajectory may include steps S101 to S106, where:
  • step S101 it is monitored that the electronic test questionnaire is opened, and the current resolution of the display screen on which the electronic test questionnaire is displayed is acquired.
  • the test question magnification scheme based on eye movement trajectories provided in the embodiments of the present application may be applied to electronic devices, and the electronic devices may include, but are not limited to, mobile phones, tablet computers, notebook computers, and desktop computers.
  • the current resolution of the display screen for displaying the electronic test questionnaire can be automatically obtained.
  • Obtaining the current resolution of the display screen used to display the electronic test questionnaire may be obtaining the screen attributes of the display screen on which the electronic test questionnaire is located, where the screen attributes include the current resolution.
  • the screen attribute can be obtained by a Javascript function.
  • the display screen may be carried by the electronic device itself, or may be external to the electronic device, which is not limited herein.
  • the electronic test questionnaire can be a specific electronic page in the website.
  • the electronic test questionnaire may be an electronic test questionnaire displayed at one end of an agent in a video interview service.
  • Step S102 Obtain a preset basic resolution.
  • the preset base resolution may be set by the agent himself. That is, the preset basic resolution can be adjusted, and for different display screens, it can correspond to different values.
  • Step S103 Calculate the current magnification according to the current resolution and the preset basic resolution.
  • the current resolution can be divided by the preset basic resolution to obtain the current magnification.
  • the preset basic resolution may be less than or equal to the current resolution.
  • the preset basic resolution may be smaller than the current resolution.
  • the current magnification can be (1920 ⁇ 1080) ⁇ (1280 ⁇ 1024) ⁇ 1.58.
  • Step S104 Determine the eye movement track of the agent.
  • the agent's eyeball trajectory needs to be determined before determining which test question the agent is viewing.
  • Determining the eye movement trajectory of the agent may include: obtaining multiple images of the agent based on the electronic test questionnaire collected by the camera within a preset time period; determining the relative position of the agent's eyeball in each of the multiple images, and obtaining multiple Relative positions; and determining eye movement trajectories based on the plurality of relative positions.
  • the camera may be a front-facing camera for capturing an image of an agent located in front of the display screen.
  • the camera can continuously capture multiple images of the agent within a preset period of time, where the multiple images may include images of the agent browsing the electronic test questionnaire, especially when viewing the test question, preferably, the size of each image is similar to The display size of the display area of the display screen is the same.
  • determine the relative position of the eyeball of the agent in each image for example, take the center of the image as the origin, the vertical axis direction directly, and the horizontal axis direction to the right, establish a coordinate system, and then determine the eyeball of the agent in each image. The coordinates in an image, so that the eye movement of the seat can be determined.
  • the camera took 4 images, taking the left eyeball of the agent as an example, where the coordinates of the left eyeball in the first image are (3,3.9) and the coordinates of the second image are (5,4.2), In the third image, the Chinese coordinates are (8,4.4), and in the fourth image, the coordinates are (9,3.8). Based on these coordinates, the eye movement trajectory of the seat can be determined.
  • Step S105 Determine a test question corresponding to the eye movement trajectory in the electronic test questionnaire.
  • determining the test question corresponding to the eye movement trajectory in the electronic test questionnaire may include: determining a mapping region corresponding to the eye movement trajectory; and determining the test question corresponding to the mapping region in the electronic test questionnaire.
  • a corresponding mapping area can also be determined according to these coordinates.
  • the coordinates of the four top corners of the mapping area are the four coordinates of the eye movement trajectory, namely, (3,3.9), ( 5,4.2), (8,4.4), and (9,3.8); if the image size is different from the display size of the display area of the display screen, the ratio of the image size to the display size can be determined. Based on the ratio and the above eyeballs The four coordinates of the motion trajectory determine the mapping area. If the ratio is 1: 2, the coordinates of the four top corners of the mapping area are: (6,7.8), (10,8.4), (16,8.8), and ( 18,7.6).
  • test questions corresponding to the mapped area can be found from the electronic test questionnaire. Among them, if a certain test question falls within the mapping area, the test question must be a test question corresponding to the mapping area; if a part of a test question falls within the mapping area, the test question can also be Test questions corresponding to the mapped area.
  • step S106 the test question is enlarged according to the current magnification.
  • the enlargement of the test question includes: determining the current font size of the test question; and enlarging the test question according to the current magnification and the current font size.
  • the corresponding font size is the current font size.
  • the current font size can be determined first, and the current magnification and the current font size are multiplied, and then the font size of the font to be enlarged can be obtained.
  • the rounding process can be performed, such as rounding down, rounding up, and so on.
  • the value after the decimal point is less than 5, it can be rounded down, for example, 28.44 after rounding down is 28; if the value after the decimal point is 5 or greater, it can be rounded up, such as 28.5 up. Rounded to 29.
  • the method for magnifying the test question based on the eye movement trajectory may further include: determining a preset display area in the electronic test questionnaire; and displaying the enlarged test question in the preset display area.
  • Determining the preset display area in the electronic test questionnaire may include: determining the display size of the display area on the display screen; and obtaining a preset ratio, where the preset ratio includes a region border of the preset display area from the page of the electronic test questionnaire. The ratio of the distance difference between the borders and the page size of the electronic test questionnaire; and determining the preset display area based on the display size and the preset ratio.
  • the page size of the electronic test questionnaire may be consistent with the display size of the display area.
  • the position of the preset display area in the electronic test questionnaire is fixed, that is, the ratio of the distance between the area boundary of the preset display area and the page margin of the electronic test questionnaire to the page size of the electronic test questionnaire (also known as Is a preset ratio) is fixed. Therefore, when determining the preset display area, the display size of the display area can be determined first, and then the ratio of the distance between the area boundary of the preset display area and the page margin of the electronic test questionnaire to the page size of the electronic test questionnaire can be determined. Further, by displaying the size and the ratio, a preset display area can be determined. After the multiplication of the display size and the preset ratio, the specific position of the preset display area can be determined.
  • the device number of the display screen can be read first, and then the display size corresponding to the device number can be obtained through the network; or the data stored in the local area can be read in advance.
  • File the data file includes the display size. The embodiment of the present application does not specifically limit the method for obtaining the display size.
  • the preset display area may be a regular area, such as a rectangle, or an irregular area.
  • the preset display area is rectangular. The process of determining a preset display area is described in detail below using the preset display area as a rectangle.
  • the horizontal display size and the first horizontal ratio may be multiplied. 4. Multiply the horizontal display size and the second horizontal ratio, multiply the vertical display size and the first vertical ratio, and multiply the vertical display size and the second vertical ratio to obtain the four borders of the preset display area.
  • the horizontal display size is 50 cm
  • the vertical display size is 30 cm
  • the first horizontal ratio is 0.5
  • the second horizontal ratio is 0.2
  • the first vertical ratio is 0.15
  • the second vertical ratio is 0.5.
  • the distance between the left border of the preset display area and the left border of the display area is 25cm
  • the distance between the left border of the preset display area and the left border of the display area is 10cm
  • the top border of the preset display area is above the display area.
  • the distance between the borders is 4.5cm.
  • the preset distance between the lower border of the display area and the lower border of the display area is 15cm.
  • FIG. 2 schematically illustrates a schematic diagram before a test topic according to an embodiment of the present application is enlarged.
  • the electronic test questionnaire is an electronic test questionnaire used by agents to test questions on loan applicants in the face-to-face personal loan business.
  • the electronic device can obtain the current resolution of the display screen used to display the electronic test questionnaire, and obtain a preset basic resolution. The current resolution is divided by the preset basic resolution to obtain The current magnification.
  • the electronic device can determine the eye movement trajectory of the agent, and then determine the test question being viewed by the agent and the current font size of the test question, and then calculate the product of the current magnification and the current font size to enlarge the test question into The product multiple.
  • FIG. 3 schematically illustrates a schematic diagram after a test question according to an embodiment of the present application is enlarged. In FIG. 3, it can be clearly seen that the test question has been enlarged, and the enlarged test question is displayed in a dashed box in the figure, where the dashed box can be a specific embodiment of a preset display area.
  • the system will automatically obtain the current resolution of the display screen on which the electronic test questionnaire is displayed and the pre-stored preset base resolution, and resolve according to the current resolution and the preset base resolution. Rate, determine the current magnification, further determine the test question that the agent is viewing based on the eye movement trajectory of the agent, and then enlarge the test question according to the calculated current magnification.
  • FIG. 4 schematically illustrates a block diagram of a test question magnification system based on an eye movement locus according to an embodiment of the present application.
  • the test question magnification system 400 based on the eye movement trajectory may include a first acquisition module 410, a second acquisition module 420, a calculation module 430, a first determination module 440, a second determination module 450, and an amplification module 460. among them:
  • the first obtaining module 410 is configured to monitor and learn that the electronic test questionnaire is opened, and obtain a current resolution of a display screen on which the electronic test questionnaire is displayed.
  • the second acquisition module 420 is configured to acquire a preset base resolution.
  • the calculation module 430 is configured to calculate a current magnification according to the current resolution and a preset basic resolution.
  • the first determining module 440 is configured to determine an eye movement trajectory of the seat.
  • the second determining module 450 is configured to determine a test question corresponding to the eye movement trajectory in the electronic test questionnaire.
  • the magnifying module 460 is configured to magnify the test question according to the current magnification.
  • the system will automatically obtain the current resolution of the display screen on which the electronic test questionnaire is displayed and the pre-stored preset base resolution, and resolve according to the current resolution and the preset base resolution. Rate, determine the current magnification, further determine the test question that the agent is viewing based on the eye movement trajectory of the agent, and then enlarge the test question according to the calculated current magnification.
  • the enlargement module may include: a determining unit for determining a current font size of the test question; and an enlargement unit for enlarging the test question according to the current magnification and the current font size.
  • the first determining module may include: a first obtaining unit, configured to obtain multiple images of the agent collected by the camera within a preset time period based on the electronic test questionnaire; and a determining location unit, configured to determine The relative position of the seat's eyeball in each of the multiple images is used to obtain multiple relative positions; and a trajectory determining unit is used to determine the eyeball motion trajectory based on the multiple relative positions.
  • the second determining module may include determining a mapping area unit for determining a mapping area corresponding to the eye movement trajectory; and determining a topic unit for determining a mapping area corresponding to the mapping area in the electronic test questionnaire. Test questions.
  • the calculation module may be further configured to divide a current resolution and a preset basic resolution to obtain a current magnification.
  • system may further include: a third determination module for determining a preset display area in the electronic test questionnaire; and a display module for displaying the enlarged test question in the preset display area in.
  • the third determining module may include: a determining size unit for determining a display size of a display area on the display screen; and a second obtaining unit for obtaining a preset ratio, wherein the preset ratio The ratio of the distance between the area boundary of the preset display area and the page boundary of the electronic test questionnaire to the page size of the electronic test questionnaire is determined; and the display area unit is used to determine the preset display area based on the display size and the preset ratio.
  • the display size includes a horizontal display size and a vertical display size; a page size includes a horizontal page size and a vertical page size; a page boundary includes: a first page boundary distance and a second page direction in a direction of the horizontal page size; Page boundary, the third page boundary distance and the fourth page boundary in the direction of the vertical page size; area boundary includes: the first area boundary distance and the second area boundary in the direction of the horizontal page size, The third area boundary distance and the fourth area boundary; and the ratio of the distance difference between the area boundary of the preset display area and the page boundary of the electronic test questionnaire to the page size of the electronic test questionnaire includes: The first horizontal ratio of the distance difference to the horizontal page size; the second horizontal ratio of the distance difference between the boundary of the second area to the second page boundary and the horizontal page size; the distance difference between the third area boundary to the third page boundary and the vertical page size The first vertical ratio of the image; the difference between the distance between the boundary of the fourth area and the boundary of the fourth page and the vertical page The second longitudinal dimension ratio.
  • FIG. 5 schematically illustrates a hardware architecture diagram of a computer device suitable for implementing a method for magnifying a test question based on an eye movement locus according to an embodiment of the present application.
  • the computer device 500 is a device capable of automatically performing numerical calculation and / or information processing according to an instruction set or stored in advance.
  • it can be a smart phone, a tablet computer, a notebook computer, a desktop computer, a rack server, a blade server, a tower server, or a rack server (including an independent server or a server cluster composed of multiple servers).
  • the computer device 500 includes, but is not limited to, a memory 510, a processor 520, and a network interface 530 that can communicate with each other through a system bus. among them:
  • the memory 510 includes at least one type of computer-readable storage medium.
  • the readable storage medium includes a flash memory, a hard disk, a multimedia card, a card-type memory (for example, SD or DX memory, etc.), a random access memory (RAM), and a static random access memory.
  • SRAM static random access memory
  • ROM read-only memory
  • EEPROM electrically erasable programmable read-only memory
  • PROM programmable read-only memory
  • magnetic memory magnetic disks, optical disks, etc.
  • the memory 510 may be an internal storage module of the computer device 500, such as a hard disk or a memory of the computer device 500.
  • the memory 510 may also be an external storage device of the computer device 500, for example, a plug-in hard disk equipped on the computer device 500, a smart memory card (Smart Media Card, SMC for short), a secure digital (Secure Digital (abbreviated as SD) card, Flash Card, etc.
  • the memory 510 may also include both the internal storage module of the computer device 500 and its external storage device.
  • the memory 510 is generally used to store an operating system and various types of application software installed on the computer device 500, such as program code of a test question enlargement method based on eye movement trajectories.
  • the memory 510 may also be used to temporarily store various types of data that have been output or are to be output.
  • the processor 520 may be a central processing unit (Central Processing Unit), a controller, a microcontroller, a microprocessor, or other data processing chip in some embodiments.
  • the processor 520 is generally used to control overall operations of the computer device 500, for example, to perform control and processing related to data interaction or communication with the computer device 500.
  • the processor 520 is configured to run program code or process data stored in the memory 510.
  • the network interface 530 may include a wireless network interface or a wired network interface.
  • the network interface 530 is generally used to establish a communication connection between the computer device 500 and other computer devices.
  • the network interface 530 is used to connect the computer device 500 with an external terminal through a network, and establish a data transmission channel and a communication connection between the computer device 500 and the external terminal.
  • the network can be an intranet, the Internet, Global System of Mobile (GSM), Wideband Code Division Multiple Access (WCDMA), 4G network , 5G network, Bluetooth, Wi-Fi and other wireless or wired networks.
  • FIG. 5 only shows a computer device having components 510-530, but it should be understood that it is not required to implement all the illustrated components, and more or fewer components may be implemented instead.
  • the method for magnifying the test question based on the eye movement trajectory stored in the memory 510 can also be divided into one or more program modules and processed by one or more processors (the processor 520 in this embodiment). Implemented to complete this application.
  • This embodiment also provides a computer-readable storage medium.
  • the computer-readable storage medium stores a computer program thereon.
  • the steps of the method for magnifying a test topic based on eye movement trajectories in the embodiment are implemented.
  • the computer-readable storage medium includes a flash memory, a hard disk, a multimedia card, a card-type memory (for example, SD or DX memory, etc.), a random access memory (RAM), a static random access memory (SRAM), and a read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disks, optical disks, etc.
  • the computer-readable storage medium may be an internal storage unit of a computer device, such as a hard disk or a memory of the computer device.
  • the computer-readable storage medium may also be an external storage device of a computer device, such as a plug-in hard disk equipped on the computer device, a smart memory card (Smart Media Card (SMC) for short), a secure digital ( Secure Digital (abbreviated as SD) card, Flash Card, etc.
  • the computer-readable storage medium may also include both the internal storage unit of the computer device and its external storage device.
  • the computer-readable storage medium is generally used to store an operating system and various types of application software installed on a computer device, for example, the program code of the method for magnifying a test question based on an eye movement track in the embodiment.
  • the computer-readable storage medium can also be used to temporarily store various types of data that have been output or will be output.
  • modules or steps of the embodiments of the present application may be implemented by a general-purpose computing device, and they may be centralized on a single computing device or distributed to multiple computing devices.
  • they can be implemented with program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, can be different from here
  • the steps shown or described are performed sequentially, or they are separately made into individual integrated circuit modules, or multiple modules or steps in them are made into a single integrated circuit module to implement. In this way, the embodiments of the present application are not limited to any specific combination of hardware and software.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present application provides an eyeball motion trajectory-based test question magnifying method, characterized by comprising: monitoring and learning that an electronic test questionnaire is opened, and acquiring the current resolution of a display screen on which the electronic test questionnaire is displayed; acquiring a preset base resolution; calculating the current magnification according to the current resolution and the preset base resolution; determining an eyeball motion trajectory of an applicant; determining a test question in the electronic test questionnaire corresponding to the eyeball motion trajectory; and magnifying the test question according to the current magnification. The present application further provides an eyeball motion trajectory-based test question magnifying system, a computer device and a computer readable storage medium.

Description

基于眼球运动轨迹的测试题目放大方法、系统及设备Test question magnification method, system and equipment based on eye movement trajectory
相关申请的交叉引用Cross-reference to related applications
本申请申明享有2018年9月30日递交的申请号为CN 201811153197.7、名称为“基于眼球运动轨迹的测试题目放大方法、系统及设备”的中国专利申请的优先权,该中国专利申请的整体内容以参考的方式结合在本申请中。This application affirms the priority of the Chinese patent application with the application number of CN201811153197.7, entitled "Test Method Magnification Method, System and Equipment Based on Eye Movement Tracks", submitted on September 30, 2018. This application is incorporated by reference.
技术领域Technical field
本申请涉及计算机技术领域,具体涉及一种基于眼球运动轨迹的测试题目放大方法、系统、计算机设备及计算机可读存储介质。The present application relates to the field of computer technology, and in particular, to a method, a system, a computer device, and a computer-readable storage medium for amplifying a test topic based on an eye movement locus.
背景技术Background technique
在个人贷款面签业务中,为了防止出现贷款申请人骗贷的情况,提供贷款服务的企业通常会预先设置一些测试题目,并根据这些测试题目形成一份电子调查问卷。这样,坐席就可以根据电子调查问卷上的测试题目对贷款申请人进行提问。In the personal loan face-to-face business, in order to prevent loan applicants from cheating, companies that provide loan services usually set some test questions in advance and form an electronic questionnaire based on these test questions. In this way, the agent can ask the loan applicant according to the test questions on the electronic questionnaire.
然而,在实现本申请构思的过程中,申请人发现相关技术中至少存在如下缺陷:电子调查问卷上的测试题目过多且排列密集,导致坐席常常漏看或者错看测试题目。However, in the process of realizing the concept of the present application, the applicant found at least the following shortcomings in the related technology: too many and densely arranged test questions on the electronic questionnaire, which often caused agents to miss or misread test questions.
发明内容Summary of the Invention
本申请的目的是提供一种基于眼球运动轨迹的测试题目放大方法、系统、计算机设备及计算机可读存储介质,以至少解决现有技术中电子调查问卷上的测试题目过多且排列密集,导致坐席常常漏看或者错看测试题目的缺陷。The purpose of this application is to provide a method, a system, a computer device, and a computer-readable storage medium for enlarging a test question based on eye movement trajectories, so as to at least solve the problem of too many and densely arranged test questions on an electronic questionnaire in the prior art, resulting in Agents often miss or misunderstand flaws in the test questions.
本申请的一个方面提供了一种基于眼球运动轨迹的测试题目放大方法,其特征在于,包括:监听获知电子测试问卷被打开,获取显示有上述电子测试问卷的显示屏幕的当前分辨率;获取预设基础分辨率;根据上述当前分辨率和上述预设基础分辨率,计算当前放大倍数;确定坐席的眼球运动轨迹;确定上述电子测试问卷中与上述眼球运动轨迹对应的测试题目;以及根据上述当前放大倍数,对上述测试题目进行放大。An aspect of the present application provides a method for enlarging a test question based on eye movement trajectory, which is characterized by comprising: listening to learn that an electronic test questionnaire is opened, acquiring a current resolution of a display screen displaying the electronic test questionnaire, and obtaining a preview. Set the base resolution; calculate the current magnification based on the current resolution and the preset base resolution; determine the eye movement trajectory of the agent; determine the test questions corresponding to the eye movement trajectory in the electronic test questionnaire; and according to the current Magnification to magnify the above test questions.
本申请的另一个方面提供了一种基于眼球运动轨迹的测试题目放大系统,其特征在于,包括:第一获取模块,用于监听获知电子测试问卷被打开,获取显示有上述电子测试问卷的显示屏幕的当前分辨率;第二获取模块,用于获取预设基础分辨率;计算模块,用于根据上述当前分辨率和上述预设基础分辨率,计算当前放大倍数;第一确定模块,用于确定坐席的眼球运动轨迹;第二确定模块,用于确定上述电子测试问卷中与上述眼球运动轨迹对应的测试题目;以及放大模块,用于根据上述当前放大倍数,对上述测试题目进行放大。Another aspect of the present application provides a test question magnification system based on an eye movement trajectory, which is characterized by comprising: a first acquisition module for monitoring to learn that an electronic test questionnaire is opened, and acquiring a display displaying the electronic test questionnaire. The current resolution of the screen; a second acquisition module for acquiring a preset basic resolution; a calculation module for calculating a current magnification based on the current resolution and the preset basic resolution; a first determination module for Determine the eye movement trajectory of the agent; a second determination module for determining a test question corresponding to the eye movement trajectory in the electronic test questionnaire; and an amplification module for magnifying the test question according to the current magnification.
本申请的再一个方面提供了一种计算机设备,包括存储器、处理器以及存储在存储器上并可在处理器上运行的计算机程序,上述处理器执行上述计算机程序时用于实现基于眼球运动轨迹的测试题目放大方法的以下步骤:监听获知电子测试问卷被打开,获取显示有上述电子测试问卷的显示屏幕的当前分辨率;获取预设基础分辨率;根据上述当前分辨率和上述预设基础分辨率,计算当前放大倍数;确定坐席的眼球运动轨迹;确定上述电子测试问卷中与上述眼球运动轨迹对应的测试题目;以及根据上述当前放大倍数,对上述测试题目进行放大。Another aspect of the present application provides a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, the processor is used to implement an eye movement track-based The following steps of the method for enlarging the test question: monitor to learn that the electronic test questionnaire is opened, obtain the current resolution of the display screen displaying the electronic test questionnaire, obtain a preset basic resolution, and according to the current resolution and the preset basic resolution , Calculate the current magnification; determine the eye movement trajectory of the agent; determine the test question corresponding to the eye movement trajectory in the electronic test questionnaire; and enlarge the test question according to the current magnification.
本申请的又一个方面提供了一种计算机可读存储介质,其上存储有计算机程序,上述计算机程序被处理器执行时用于实现基于眼球运动轨迹的测试题目放大上述方法的以下步骤:监听获知电子测试问卷被打开,获取显示有上述电子测试问卷的显示屏幕的当前分辨率;获取预设基础分辨率;根据上述当前分辨率和上述预设基础分辨率,计算当前放大倍数;确定坐席的眼球运动轨迹;确定上述电子测试问卷中与上述眼球运动轨迹对应的测试题目;以及根据上述当前放大倍数,对上述测试题目进行放大。Another aspect of the present application provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the computer program is used to implement a test question based on eye movement trajectory to amplify the following steps of the above method: monitoring to learn The electronic test questionnaire is opened to obtain the current resolution of the display screen on which the electronic test questionnaire is displayed; to obtain a preset basic resolution; to calculate the current magnification according to the current resolution and the preset basic resolution; determine the eyeball of the agent Trajectory; determining a test question corresponding to the eyeball trajectory in the electronic test questionnaire; and magnifying the test question according to the current magnification.
本申请提供的基于眼球运动轨迹的测试题目放大方法,在坐席打开电子测试问卷后,系统会自动获取显示该电子测试问卷的显示屏幕的当前分辨率和预存的预设基础分辨率,并根据当前分辨率和预设基础分辨率,确定当前放大倍数,进一步根据坐席的眼球运动轨迹确定出坐席正在查看的测试题目,进而根据计算出的当前放大倍数对测试题目进行放大。通过本申请提供的方案,可以避免现有技术中电子调查问卷上的测试题目过多且排列密集,导致坐席常常漏看或者错看测试题目的缺陷,进而突出而不突兀的展示坐席查看的测试题目,帮助坐席清晰作业,减少漏看或者错看测试题目而产生的失误,提升坐席工作效率。The method for magnifying a test question based on eye movement trajectories provided in this application. After the agent opens the electronic test questionnaire, the system will automatically obtain the current resolution of the display screen displaying the electronic test questionnaire and the pre-stored preset basic resolution, and according to the current Resolution and preset basic resolution, determine the current magnification, further determine the test question that the agent is viewing according to the eye movement trajectory of the agent, and then enlarge the test question according to the calculated current magnification. Through the solution provided by this application, it is possible to avoid too many and densely arranged test questions on the electronic questionnaire in the prior art, which causes the agent to often miss or misread the test question defects, thereby highlighting and unobtrusively displaying the tests viewed by the agent. Questions, help the agent to work clearly, reduce mistakes caused by missed or misread test questions, and improve the work efficiency of the agent.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1示意性示出了根据本申请实施例的基于眼球运动轨迹的测试题目放大方法的流程图;FIG. 1 schematically illustrates a flowchart of a method for magnifying a test question based on an eye movement locus according to an embodiment of the present application; FIG.
图2示意性示出了根据本申请实施例的测试题目被放大之前的示意图;FIG. 2 schematically illustrates a schematic diagram before a test topic according to an embodiment of the present application is enlarged; FIG.
图3示意性示出了根据本申请实施例的测试题目被放大之后的示意图;FIG. 3 schematically illustrates a schematic diagram after a test topic according to an embodiment of the present application is enlarged; FIG.
图4示意性示出了根据本申请实施例的基于眼球运动轨迹的测试题目放大系统的框图;4 schematically illustrates a block diagram of a test question magnification system based on an eye movement locus according to an embodiment of the present application;
图5示意性示出了根据本申请实施例的适于实现基于眼球运动轨迹的测试题目放大方法的计算机设备的硬件架构示意图。FIG. 5 schematically illustrates a hardware architecture diagram of a computer device suitable for implementing a method for magnifying a test question based on an eye movement locus according to an embodiment of the present application.
具体实施方式detailed description
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本申请,并不 用于限定本申请。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the purpose, technical solution, and advantages of the present application clearer, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the application, and are not used to limit the application. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
考虑到现有技术中电子调查问卷上的测试题目过多且排列密集,导致坐席常常漏看或者错看测试题目。本申请提供的基于眼球运动轨迹的测试题目放大方法,在坐席打开电子测试问卷后,系统会自动获取显示该电子测试问卷的显示屏幕的当前分辨率以及预存的预设基础分辨率,并根据当前分辨率和预设基础分辨率,确定当前放大倍数,进一步根据坐席的眼球运动轨迹确定出坐席正在查看的测试题目,进而根据计算出的当前放大倍数对测试题目进行放大,实现了突出而不突兀的展示坐席查看的测试题目,帮助坐席清晰作业,减少漏看或者错看测试题目而产生的失误,提升坐席工作效率。Considering that the test questions on the electronic questionnaire in the prior art are too numerous and densely arranged, the agents often miss or misread the test questions. The method for magnifying a test question based on eye movement trajectories provided in this application. After the agent opens the electronic test questionnaire, the system will automatically obtain the current resolution of the display screen displaying the electronic test questionnaire and the pre-stored preset basic resolution, and according to the current Resolution and preset basic resolution, determine the current magnification, further determine the test question that the agent is viewing based on the eye movement trajectory of the agent, and then zoom in on the test question according to the calculated current magnification to achieve prominent and not obtrusive Show the test questions viewed by the agent, help the agent to clear the work, reduce the errors caused by missed or misread the test questions, and improve the work efficiency of the agent.
图1示意性示出了根据本申请实施例的基于眼球运动轨迹的测试题目放大方法的流程图。FIG. 1 schematically illustrates a flowchart of a method for magnifying a test question based on an eye movement locus according to an embodiment of the present application.
如图1所示,该基于眼球运动轨迹的测试题目放大方法可以包括步骤S101~步骤S106,其中:As shown in FIG. 1, the method for magnifying a test question based on an eye movement trajectory may include steps S101 to S106, where:
步骤S101,监听获知电子测试问卷被打开,获取显示有电子测试问卷的显示屏幕的当前分辨率。In step S101, it is monitored that the electronic test questionnaire is opened, and the current resolution of the display screen on which the electronic test questionnaire is displayed is acquired.
本申请实施例提供的基于眼球运动轨迹的测试题目放大方案可以应用在电子设备中,该电子设备可以包括但不限于手机、平板电脑、笔记本电脑、台式电脑等。根据本申请的实施例,在电子设备检测到坐席打开该电子测试问卷或者检测到该电子测试问卷已经被打开,则可以自动获取用于显示该电子测试问卷的显示屏幕的当前分辨率。获取用于显示电子测试问卷的显示屏幕的当前分辨率可以是,获取该电子测试问卷的所在的显示屏幕的屏幕属性,其中,该屏幕属性中即包括当前分辨率。具体地,可以通过Javascript函数获取该屏幕属性。其中,该显示屏幕可以是电子设备自身携带的,也可以是电子设备外接的,在此不做限定。The test question magnification scheme based on eye movement trajectories provided in the embodiments of the present application may be applied to electronic devices, and the electronic devices may include, but are not limited to, mobile phones, tablet computers, notebook computers, and desktop computers. According to the embodiment of the present application, when the electronic device detects that the agent opens the electronic test questionnaire or detects that the electronic test questionnaire has been opened, the current resolution of the display screen for displaying the electronic test questionnaire can be automatically obtained. Obtaining the current resolution of the display screen used to display the electronic test questionnaire may be obtaining the screen attributes of the display screen on which the electronic test questionnaire is located, where the screen attributes include the current resolution. Specifically, the screen attribute can be obtained by a Javascript function. The display screen may be carried by the electronic device itself, or may be external to the electronic device, which is not limited herein.
需要说明的是,电子测试问卷可以是网站中的特定电子页面。例如,该网站为贷款类型的网站,则该电子测试问卷可以是在视频面签业务中,展示在坐席一端的电子测试问卷。It should be noted that the electronic test questionnaire can be a specific electronic page in the website. For example, if the website is a loan type website, the electronic test questionnaire may be an electronic test questionnaire displayed at one end of an agent in a video interview service.
步骤S102,获取预设基础分辨率。Step S102: Obtain a preset basic resolution.
在本申请的实施例中,预设基础分辨率可以是坐席自行设定的。即该预设基础分辨率可以调整,且对于不同的显示屏幕,其可以对应不同的值。In the embodiment of the present application, the preset base resolution may be set by the agent himself. That is, the preset basic resolution can be adjusted, and for different display screens, it can correspond to different values.
步骤S103,根据当前分辨率和预设基础分辨率,计算当前放大倍数。Step S103: Calculate the current magnification according to the current resolution and the preset basic resolution.
在本申请的实施例中,在电子设备获取当前分辨率和预设基础分辨率之后,可以利用当前分辨率除以预设基础分辨率,进而得到当前放大倍数。需要说明的是,为了保证放大倍数至少大于等于1,预设基础分辨率可以小于等于当前分辨率。优选的,预设基础分辨 率可以小于当前分辨率。In the embodiment of the present application, after the electronic device obtains the current resolution and the preset basic resolution, the current resolution can be divided by the preset basic resolution to obtain the current magnification. It should be noted that, in order to ensure that the magnification is at least equal to or greater than 1, the preset basic resolution may be less than or equal to the current resolution. Preferably, the preset basic resolution may be smaller than the current resolution.
例如,当前分辨率为1920×1080,预设基础分辨率为1280×1024,则当前放大倍数可以是(1920×1080)÷(1280×1024)≈1.58。For example, if the current resolution is 1920 × 1080 and the preset base resolution is 1280 × 1024, the current magnification can be (1920 × 1080) ÷ (1280 × 1024) ≈1.58.
步骤S104,确定坐席的眼球运动轨迹。Step S104: Determine the eye movement track of the agent.
在本申请的实施例中,由于坐席在浏览测试题目的过程中,坐席的眼球是运动的,因此确定坐席查看的是哪个测试题目之前,需要先确定出坐席的眼球运动轨迹。In the embodiment of the present application, since the agent's eyeballs are moving during the process of browsing the test questions, the agent's eyeball trajectory needs to be determined before determining which test question the agent is viewing.
其中,确定坐席的眼球运动轨迹可以包括:获取摄像头在预设时间段内采集的坐席基于电子测试问卷的多张图像;确定坐席的眼球在多张图像的各个图像中的相对位置,得到多个相对位置;以及根据多个相对位置,确定眼球运动轨迹。Determining the eye movement trajectory of the agent may include: obtaining multiple images of the agent based on the electronic test questionnaire collected by the camera within a preset time period; determining the relative position of the agent's eyeball in each of the multiple images, and obtaining multiple Relative positions; and determining eye movement trajectories based on the plurality of relative positions.
根据本申请的实施例,该摄像头可以为前置摄像头,用于拍摄位于显示屏幕前方的坐席的图像。具体地,摄像头可以在预设时间段内连续拍摄坐席的多张图像,其中,这多张图像可以包括坐席浏览电子测试问卷尤其是浏览测试题目时的图像,优选地,每张图像的尺寸与显示屏幕的显示区域的显示尺寸相同。进一步,确定坐席的眼球在每一张图像中的相对位置,比如以图像正中心为原点,正上方为纵轴方向,正右方为横轴方向,建立坐标系,进而确定坐席的眼球在每一张图像中的坐标,这样便可确定出坐席的眼球运动轨迹。According to the embodiment of the present application, the camera may be a front-facing camera for capturing an image of an agent located in front of the display screen. Specifically, the camera can continuously capture multiple images of the agent within a preset period of time, where the multiple images may include images of the agent browsing the electronic test questionnaire, especially when viewing the test question, preferably, the size of each image is similar to The display size of the display area of the display screen is the same. Further, determine the relative position of the eyeball of the agent in each image, for example, take the center of the image as the origin, the vertical axis direction directly, and the horizontal axis direction to the right, establish a coordinate system, and then determine the eyeball of the agent in each image. The coordinates in an image, so that the eye movement of the seat can be determined.
例如,摄像头拍摄了4张图像,以坐席的左眼球为例,其中,左眼球在第1张图像中的坐标为(3,3.9),在第2张图像中坐标为(5,4.2),在第3张图像中国坐标为(8,4.4),在第4张图像中坐标为(9,3.8),根据这些坐标,即可确定出坐席的眼球运动轨迹。For example, the camera took 4 images, taking the left eyeball of the agent as an example, where the coordinates of the left eyeball in the first image are (3,3.9) and the coordinates of the second image are (5,4.2), In the third image, the Chinese coordinates are (8,4.4), and in the fourth image, the coordinates are (9,3.8). Based on these coordinates, the eye movement trajectory of the seat can be determined.
步骤S105,确定电子测试问卷中与眼球运动轨迹对应的测试题目。Step S105: Determine a test question corresponding to the eye movement trajectory in the electronic test questionnaire.
其中,该确定电子测试问卷中与眼球运动轨迹对应的测试题目可以包括:确定与眼球运动轨迹对应的映射区域;以及确定电子测试问卷中与映射区域对应的测试题目。Wherein, determining the test question corresponding to the eye movement trajectory in the electronic test questionnaire may include: determining a mapping region corresponding to the eye movement trajectory; and determining the test question corresponding to the mapping region in the electronic test questionnaire.
根据本申请的实施例,由于眼球运动轨迹是根据坐标确定出来的,进而也可以根据这些坐标确定出相应的映射区域。例如,结合上述示例,若图像的尺寸与显示屏幕的显示区域的显示尺寸相同,则映射区域的四个顶角的坐标即为上述眼球运动轨迹的四个坐标,即(3,3.9)、(5,4.2)、(8,4.4)和(9,3.8);若图像尺寸与显示屏幕的显示区域的显示尺寸不同,则可以确定出图像尺寸与显示尺寸的比值,在根据该比值和上述眼球运动轨迹的四个坐标,确定出映射区域,若比值为1:2,则映射区域的四个顶角的坐标为:(6,7.8)、(10,8.4)、(16,8.8)和(18,7.6)。According to the embodiment of the present application, since the eye movement trajectory is determined according to the coordinates, a corresponding mapping area can also be determined according to these coordinates. For example, in combination with the above example, if the size of the image is the same as the display size of the display area of the display screen, the coordinates of the four top corners of the mapping area are the four coordinates of the eye movement trajectory, namely, (3,3.9), ( 5,4.2), (8,4.4), and (9,3.8); if the image size is different from the display size of the display area of the display screen, the ratio of the image size to the display size can be determined. Based on the ratio and the above eyeballs The four coordinates of the motion trajectory determine the mapping area. If the ratio is 1: 2, the coordinates of the four top corners of the mapping area are: (6,7.8), (10,8.4), (16,8.8), and ( 18,7.6).
进一步,可以从电子测试问卷中找到与映射区域对应的测试题目。其中,若某一个测试题目全部落在该映射区域内,则该测试题目必然是对映射区域对应的测试题目;若某一个测试题目的部分落在该映射区域内,则该测试题目也可以是与映射区域对应的测试题目。Further, test questions corresponding to the mapped area can be found from the electronic test questionnaire. Among them, if a certain test question falls within the mapping area, the test question must be a test question corresponding to the mapping area; if a part of a test question falls within the mapping area, the test question can also be Test questions corresponding to the mapped area.
步骤S106,根据当前放大倍数,对测试题目进行放大。In step S106, the test question is enlarged according to the current magnification.
其中,对测试题目进行放大包括:确定测试题目的当前字体大小;以及根据当前放大倍数和当前字体大小,对测试题目进行放大。The enlargement of the test question includes: determining the current font size of the test question; and enlarging the test question according to the current magnification and the current font size.
具体地,由于测试题目在未经放大之前,有对应的字体大小即当前字体大小。为了可以准确定对该测试题目进行放大,可以先确定出当前字体大小,并将当前放大倍数与当前字体大小做乘法,进而可以得出待放大字体被放大后的字体大小。Specifically, since the test subject is not enlarged, the corresponding font size is the current font size. In order to accurately determine the size of the test question, the current font size can be determined first, and the current magnification and the current font size are multiplied, and then the font size of the font to be enlarged can be obtained.
例如,结合上述示例,若当前字体大小为18px,则被放大后的字体大小可以为1.58×18px=28.44px。For example, in combination with the above example, if the current font size is 18px, the enlarged font size can be 1.58 × 18px = 28.44px.
需要说明的是,若计算出的测试题目被放大后的字体大小为小数,可以做取整处理,例如向下取整、向上取整等。优选的,若小数点后一位的数值小于5,则可以向下取整,例如28.44向下取整后为28;若小数点后一位的数值大于等于5,则可以向上取整,例如28.5向上取整后为29。It should be noted that if the calculated font size of the test question is a decimal, the rounding process can be performed, such as rounding down, rounding up, and so on. Preferably, if the value after the decimal point is less than 5, it can be rounded down, for example, 28.44 after rounding down is 28; if the value after the decimal point is 5 or greater, it can be rounded up, such as 28.5 up. Rounded to 29.
作为一种可选的实施例,该基于眼球运动轨迹的测试题目放大方法还可以包括:确定电子测试问卷中的预设展示区域;以及将放大后的测试题目展示在预设展示区域中。As an optional embodiment, the method for magnifying the test question based on the eye movement trajectory may further include: determining a preset display area in the electronic test questionnaire; and displaying the enlarged test question in the preset display area.
其中,确定电子测试问卷中的预设展示区域可以包括:确定显示屏幕上的显示区域的显示尺寸;获取预设比值,其中,预设比值包括预设展示区域的区域边界距电子测试问卷的页面边界的距离差与电子测试问卷的页面尺寸的比值;以及根据显示尺寸和预设比值,确定预设展示区域。Determining the preset display area in the electronic test questionnaire may include: determining the display size of the display area on the display screen; and obtaining a preset ratio, where the preset ratio includes a region border of the preset display area from the page of the electronic test questionnaire. The ratio of the distance difference between the borders and the page size of the electronic test questionnaire; and determining the preset display area based on the display size and the preset ratio.
根据本申请的实施例,由于显示区域用于显示该电子测试问卷,故而电子测试问卷的页面尺寸可以与显示区域的显示尺寸一致。此外,由于预设展示区域在该电子测试问卷中的位置是固定的,即预设展示区域的区域边界距电子测试问卷的页面边距的距离差与电子测试问卷的页面尺寸的比值(又称为预设比值)是固定的。因此,在确定预设展示区域时,可以先确定出显示区域的显示尺寸,再确定出预设展示区域的区域边界距电子测试问卷的页面边距的距离差与电子测试问卷的页面尺寸的比值,进一步,通过显示尺寸和该比值,可以确定出预设展示区域。即将显示尺寸与预设比值做乘法后,便可以确定出预设展示区域的具体位置所在。According to the embodiment of the present application, since the display area is used to display the electronic test questionnaire, the page size of the electronic test questionnaire may be consistent with the display size of the display area. In addition, because the position of the preset display area in the electronic test questionnaire is fixed, that is, the ratio of the distance between the area boundary of the preset display area and the page margin of the electronic test questionnaire to the page size of the electronic test questionnaire (also known as Is a preset ratio) is fixed. Therefore, when determining the preset display area, the display size of the display area can be determined first, and then the ratio of the distance between the area boundary of the preset display area and the page margin of the electronic test questionnaire to the page size of the electronic test questionnaire can be determined. Further, by displaying the size and the ratio, a preset display area can be determined. After the multiplication of the display size and the preset ratio, the specific position of the preset display area can be determined.
需要说明的是,确定显示屏幕上的显示区域的显示尺寸可以是先读取显示屏幕的设备编号,再通过网络获取与该设备编号对应的显示尺寸;还可以是读取预先存储在本地的数据文件,该数据文件中包括显示尺寸。本申请的实施例对获取显示尺寸的方法不做具体限定。It should be noted that, to determine the display size of the display area on the display screen, the device number of the display screen can be read first, and then the display size corresponding to the device number can be obtained through the network; or the data stored in the local area can be read in advance. File, the data file includes the display size. The embodiment of the present application does not specifically limit the method for obtaining the display size.
根据本申请的实施例,预设展示区域可以为规则的区域,例如矩形,也可以为不规则的区域。优选的,该预设展示区域为矩形。下面以预设展示区域为矩形详细描述确定预设展示区域的过程。According to the embodiment of the present application, the preset display area may be a regular area, such as a rectangle, or an irregular area. Preferably, the preset display area is rectangular. The process of determining a preset display area is described in detail below using the preset display area as a rectangle.
根据本申请的实施例,显示尺寸可以包括横向显示尺寸和纵向显示尺寸;页面尺寸可以包括横向页面尺寸和纵向页面尺寸;页面边界可以包括:在横向页面尺寸的方向的第一页面边界距和第二页面边界,在纵向页面尺寸的方向的第三页面边界距和第四页面边界;区域边界可以包括:在横向页面尺寸的方向的第一区域边界距和第二区域边界,在纵向页面尺寸的方向的第三区域边界距和第四区域边界;以及预设展示区域的区域边界距电子测试问卷的页面边界的距离差与电子测试问卷的页面尺寸的比值可以包括:第一区域边界距第一页面边界的距离差与横向页面尺寸的第一横向比值;第二区域边界距第二页面边界的距离差与横向页面尺寸的第二横向比值;第三区域边界距第三页面边界的距离差与纵向页面尺寸的第一纵向比值;第四区域边界距第四页面边界的距离差与纵向页面尺寸的第二纵向比值。According to an embodiment of the present application, the display size may include a horizontal display size and a vertical display size; a page size may include a horizontal page size and a vertical page size; a page boundary may include: a first page border distance and a first page distance in a direction of the horizontal page size; Two page boundaries, the third page boundary distance and the fourth page boundary in the direction of the vertical page size; the area boundary may include: the first area boundary distance and the second area boundary in the direction of the horizontal page size; The third area boundary distance and the fourth area boundary of the direction; and the ratio of the distance difference between the area boundary of the preset display area and the page boundary of the electronic test questionnaire to the page size of the electronic test questionnaire may include: the first area boundary is away from the first The first horizontal ratio of the distance difference between the page boundaries and the horizontal page size; the second horizontal ratio of the distance difference between the second area boundary and the second page boundary; and the second horizontal ratio of the horizontal page size; The first vertical ratio of the vertical page size; the fourth area boundary is away from the fourth page edge A second longitudinal distance from the ratio of the difference between the longitudinal size of the page.
根据本申请的实施例,在获得横向显示尺寸、纵向显示尺寸、第一横向比值、第二横向比值、第一纵向比值和第二纵向比值之后,可以将横向显示尺寸与第一横向比值做乘法、横向显示尺寸与第二横向比值做乘法、纵向显示尺寸与第一纵向比值做乘法以及纵向显示尺寸与第二纵向比值做乘法,进而可以得到预设展示区域的四个边框。According to the embodiment of the present application, after obtaining the horizontal display size, the vertical display size, the first horizontal ratio, the second horizontal ratio, the first vertical ratio, and the second vertical ratio, the horizontal display size and the first horizontal ratio may be multiplied. 4. Multiply the horizontal display size and the second horizontal ratio, multiply the vertical display size and the first vertical ratio, and multiply the vertical display size and the second vertical ratio to obtain the four borders of the preset display area.
例如,横向显示尺寸为50cm,纵向显示尺寸为30cm,第一横向比值为0.5,第二横向比值为0.2,第一纵向比值为0.15,第二纵向比值为0.5。则该预设展示区域的左边框距显示区域的左边框的距离为25cm,预设展示区域的左边框距显示区域的左边框的距离为10cm,预设展示区域的上边框距显示区域的上边框的距离为4.5cm,预设展示区域的下边框距显示区域的下边框的距离为15cm。For example, the horizontal display size is 50 cm, the vertical display size is 30 cm, the first horizontal ratio is 0.5, the second horizontal ratio is 0.2, the first vertical ratio is 0.15, and the second vertical ratio is 0.5. The distance between the left border of the preset display area and the left border of the display area is 25cm, the distance between the left border of the preset display area and the left border of the display area is 10cm, and the top border of the preset display area is above the display area. The distance between the borders is 4.5cm. The preset distance between the lower border of the display area and the lower border of the display area is 15cm.
图2示意性示出了根据本申请实施例的测试题目被放大之前的示意图。FIG. 2 schematically illustrates a schematic diagram before a test topic according to an embodiment of the present application is enlarged.
如图2所示,该电子测试问卷为在个人贷款面签业务中,坐席对贷款申请人进行测试提问的电子测试问卷。在坐席打开该电子测试问卷后,电子设备可以获取用于显示该电子测试问卷的显示屏幕的当前分辨率,并获取预设基本分辨率,通过将当前分辨率除以预设基本分辨率,得到当前放大倍数。进一步,电子设备可以确定坐席的眼球运动轨迹,进而确定出坐席正在查看的测试题目以及该测试题目的当前字体大小,然后通过计算当前放大倍数和当前字体大小的乘积,可以将该测试题目放大为该乘积倍。如图3所示,图3示意性示出了根据本申请实施例的测试题目被放大之后的示意图。在图3中,可以明显看出该测试题目已经被放大,且该放大后的测试题目被展示在图中的虚线框中,其中,该虚线框可以为预设展示区域的一个具体实施例。As shown in FIG. 2, the electronic test questionnaire is an electronic test questionnaire used by agents to test questions on loan applicants in the face-to-face personal loan business. After the agent opens the electronic test questionnaire, the electronic device can obtain the current resolution of the display screen used to display the electronic test questionnaire, and obtain a preset basic resolution. The current resolution is divided by the preset basic resolution to obtain The current magnification. Further, the electronic device can determine the eye movement trajectory of the agent, and then determine the test question being viewed by the agent and the current font size of the test question, and then calculate the product of the current magnification and the current font size to enlarge the test question into The product multiple. As shown in FIG. 3, FIG. 3 schematically illustrates a schematic diagram after a test question according to an embodiment of the present application is enlarged. In FIG. 3, it can be clearly seen that the test question has been enlarged, and the enlarged test question is displayed in a dashed box in the figure, where the dashed box can be a specific embodiment of a preset display area.
通过本申请的实施例,在坐席打开电子测试问卷后,系统会自动获取显示该电子测试问卷的显示屏幕的当前分辨率以及预存的预设基础分辨率,并根据当前分辨率和预设基础分辨率,确定当前放大倍数,进一步根据坐席的眼球运动轨迹确定出坐席正在查看的测试 题目,进而根据计算出的当前放大倍数对测试题目进行放大。通过本申请提供的方案,可以避免现有技术中电子调查问卷上的测试题目过多且排列密集,导致坐席常常漏看或者错看测试题目的缺陷,进而突出而不突兀的展示坐席查看的测试题目,帮助坐席清晰作业,减少漏看或者错看测试题目而产生的失误,提升坐席工作效率。According to the embodiment of the present application, after the agent opens the electronic test questionnaire, the system will automatically obtain the current resolution of the display screen on which the electronic test questionnaire is displayed and the pre-stored preset base resolution, and resolve according to the current resolution and the preset base resolution. Rate, determine the current magnification, further determine the test question that the agent is viewing based on the eye movement trajectory of the agent, and then enlarge the test question according to the calculated current magnification. Through the solution provided by this application, it is possible to avoid too many and densely arranged test questions on the electronic questionnaire in the prior art, which causes the agent to often miss or misread the test question defects, thereby highlighting and unobtrusively displaying the tests viewed by the agent. Questions, help the agent to work clearly, reduce mistakes caused by missed or misread test questions, and improve the work efficiency of the agent.
图4示意性示出了根据本申请实施例的基于眼球运动轨迹的测试题目放大系统的框图。FIG. 4 schematically illustrates a block diagram of a test question magnification system based on an eye movement locus according to an embodiment of the present application.
如图4所示,基于眼球运动轨迹的测试题目放大系统400可以包括第一获取模块410、第二获取模块420、计算模块430、第一确定模块440、第二确定模块450和放大模块460,其中:As shown in FIG. 4, the test question magnification system 400 based on the eye movement trajectory may include a first acquisition module 410, a second acquisition module 420, a calculation module 430, a first determination module 440, a second determination module 450, and an amplification module 460. among them:
第一获取模块410用于监听获知电子测试问卷被打开,获取显示有电子测试问卷的显示屏幕的当前分辨率。The first obtaining module 410 is configured to monitor and learn that the electronic test questionnaire is opened, and obtain a current resolution of a display screen on which the electronic test questionnaire is displayed.
第二获取模块420用于获取预设基础分辨率。The second acquisition module 420 is configured to acquire a preset base resolution.
计算模块430用于根据当前分辨率和预设基础分辨率,计算当前放大倍数。The calculation module 430 is configured to calculate a current magnification according to the current resolution and a preset basic resolution.
第一确定模块440用于确定坐席的眼球运动轨迹。The first determining module 440 is configured to determine an eye movement trajectory of the seat.
第二确定模块450用于确定电子测试问卷中与眼球运动轨迹对应的测试题目。The second determining module 450 is configured to determine a test question corresponding to the eye movement trajectory in the electronic test questionnaire.
放大模块460用于根据当前放大倍数,对测试题目进行放大。The magnifying module 460 is configured to magnify the test question according to the current magnification.
通过本申请的实施例,在坐席打开电子测试问卷后,系统会自动获取显示该电子测试问卷的显示屏幕的当前分辨率以及预存的预设基础分辨率,并根据当前分辨率和预设基础分辨率,确定当前放大倍数,进一步根据坐席的眼球运动轨迹确定出坐席正在查看的测试题目,进而根据计算出的当前放大倍数对测试题目进行放大。通过本申请提供的方案,可以避免现有技术中电子调查问卷上的测试题目过多且排列密集,导致坐席常常漏看或者错看测试题目的缺陷,进而突出而不突兀的展示坐席查看的测试题目,帮助坐席清晰作业,减少漏看或者错看测试题目而产生的失误,提升坐席工作效率。According to the embodiment of the present application, after the agent opens the electronic test questionnaire, the system will automatically obtain the current resolution of the display screen on which the electronic test questionnaire is displayed and the pre-stored preset base resolution, and resolve according to the current resolution and the preset base resolution. Rate, determine the current magnification, further determine the test question that the agent is viewing based on the eye movement trajectory of the agent, and then enlarge the test question according to the calculated current magnification. Through the solution provided by this application, it is possible to avoid too many and densely arranged test questions on the electronic questionnaire in the prior art, which causes the agent to often miss or misread the test question defects, thereby highlighting and unobtrusively displaying the tests viewed by the agent. Questions, help the agent to work clearly, reduce mistakes caused by missed or misread test questions, and improve the work efficiency of the agent.
作为一种可选的实施例,放大模块可以包括:确定单元,用于确定测试题目的当前字体大小;放大单元,用于根据当前放大倍数和当前字体大小,对测试题目进行放大。As an optional embodiment, the enlargement module may include: a determining unit for determining a current font size of the test question; and an enlargement unit for enlarging the test question according to the current magnification and the current font size.
作为一种可选的实施例,第一确定模块可以包括:第一获取单元,用于获取摄像头在预设时间段内采集的坐席基于电子测试问卷的多张图像;确定位置单元,用于确定坐席的眼球在多张图像的各个图像中的相对位置,得到多个相对位置;以及确定轨迹单元,用于根据多个相对位置,确定眼球运动轨迹。As an optional embodiment, the first determining module may include: a first obtaining unit, configured to obtain multiple images of the agent collected by the camera within a preset time period based on the electronic test questionnaire; and a determining location unit, configured to determine The relative position of the seat's eyeball in each of the multiple images is used to obtain multiple relative positions; and a trajectory determining unit is used to determine the eyeball motion trajectory based on the multiple relative positions.
作为一种可选的实施例,第二确定模块可以包括,确定映射区域单元,用于确定与眼球运动轨迹对应的映射区域;以及确定题目单元,用于确定电子测试问卷中与映射区域对应的测试题目。As an optional embodiment, the second determining module may include determining a mapping area unit for determining a mapping area corresponding to the eye movement trajectory; and determining a topic unit for determining a mapping area corresponding to the mapping area in the electronic test questionnaire. Test questions.
作为一种可选的实施例,计算模块还可以用于,将当前分辨率与预设基础分辨率作除 法,得到当前放大倍数。As an optional embodiment, the calculation module may be further configured to divide a current resolution and a preset basic resolution to obtain a current magnification.
作为一种可选的实施例,系统还可以包括:第三确定模块,用于确定电子测试问卷中的预设展示区域;以及展示模块,用于将放大后的测试题目展示在预设展示区域中。As an optional embodiment, the system may further include: a third determination module for determining a preset display area in the electronic test questionnaire; and a display module for displaying the enlarged test question in the preset display area in.
作为一种可选的实施例,第三确定模块可以包括:确定尺寸单元,用于确定显示屏幕上的显示区域的显示尺寸;第二获取单元,用于获取预设比值,其中,预设比值包括预设展示区域的区域边界距电子测试问卷的页面边界的距离差与电子测试问卷的页面尺寸的比值;以及确定展示区域单元,用于根据显示尺寸和预设比值,确定预设展示区域。As an optional embodiment, the third determining module may include: a determining size unit for determining a display size of a display area on the display screen; and a second obtaining unit for obtaining a preset ratio, wherein the preset ratio The ratio of the distance between the area boundary of the preset display area and the page boundary of the electronic test questionnaire to the page size of the electronic test questionnaire is determined; and the display area unit is used to determine the preset display area based on the display size and the preset ratio.
作为一种可选的实施例,显示尺寸包括横向显示尺寸和纵向显示尺寸;页面尺寸包括横向页面尺寸和纵向页面尺寸;页面边界包括:在横向页面尺寸的方向的第一页面边界距和第二页面边界,在纵向页面尺寸的方向的第三页面边界距和第四页面边界;区域边界包括:在横向页面尺寸的方向的第一区域边界距和第二区域边界,在纵向页面尺寸的方向的第三区域边界距和第四区域边界;以及预设展示区域的区域边界距电子测试问卷的页面边界的距离差与电子测试问卷的页面尺寸的比值包括:第一区域边界距第一页面边界的距离差与横向页面尺寸的第一横向比值;第二区域边界距第二页面边界的距离差与横向页面尺寸的第二横向比值;第三区域边界距第三页面边界的距离差与纵向页面尺寸的第一纵向比值;第四区域边界距第四页面边界的距离差与纵向页面尺寸的第二纵向比值。As an optional embodiment, the display size includes a horizontal display size and a vertical display size; a page size includes a horizontal page size and a vertical page size; a page boundary includes: a first page boundary distance and a second page direction in a direction of the horizontal page size; Page boundary, the third page boundary distance and the fourth page boundary in the direction of the vertical page size; area boundary includes: the first area boundary distance and the second area boundary in the direction of the horizontal page size, The third area boundary distance and the fourth area boundary; and the ratio of the distance difference between the area boundary of the preset display area and the page boundary of the electronic test questionnaire to the page size of the electronic test questionnaire includes: The first horizontal ratio of the distance difference to the horizontal page size; the second horizontal ratio of the distance difference between the boundary of the second area to the second page boundary and the horizontal page size; the distance difference between the third area boundary to the third page boundary and the vertical page size The first vertical ratio of the image; the difference between the distance between the boundary of the fourth area and the boundary of the fourth page and the vertical page The second longitudinal dimension ratio.
图5示意性示出了根据本申请实施例的适于实现基于眼球运动轨迹的测试题目放大方法的计算机设备的硬件架构示意图。本实施例中,计算机设备500是一种能够按照事先设定或者存储的指令,自动进行数值计算和/或信息处理的设备。例如,可以是智能手机、平板电脑、笔记本电脑、台式计算机、机架式服务器、刀片式服务器、塔式服务器或机柜式服务器(包括独立的服务器,或者多个服务器所组成的服务器集群)等。如图所示,计算机设备500至少包括但不限于:可通过系统总线相互通信连接存储器510、处理器520、网络接口530。其中:FIG. 5 schematically illustrates a hardware architecture diagram of a computer device suitable for implementing a method for magnifying a test question based on an eye movement locus according to an embodiment of the present application. In this embodiment, the computer device 500 is a device capable of automatically performing numerical calculation and / or information processing according to an instruction set or stored in advance. For example, it can be a smart phone, a tablet computer, a notebook computer, a desktop computer, a rack server, a blade server, a tower server, or a rack server (including an independent server or a server cluster composed of multiple servers). As shown in the figure, the computer device 500 includes, but is not limited to, a memory 510, a processor 520, and a network interface 530 that can communicate with each other through a system bus. among them:
存储器510至少包括一种类型的计算机可读存储介质,可读存储介质包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等)、随机访问存储器(RAM)、静态随机访问存储器(SRAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁性存储器、磁盘、光盘等。在一些实施例中,存储器510可以是计算机设备500的内部存储模块,例如该计算机设备500的硬盘或内存。在另一些实施例中,存储器510也可以是计算机设备500的外部存储设备,例如该计算机设备500上配备的插接式硬盘,智能存储卡(Smart Media Card,简称为SMC),安全数字(Secure Digital,简称为SD)卡,闪存卡(Flash Card)等。当然,存储器510还可以既包括计算机设备500的内部存储模块也包括其外部存储设备。本实施例中,存储器510通常用于存储安装于计 算机设备500的操作系统和各类应用软件,例如基于眼球运动轨迹的测试题目放大方法的程序代码等。此外,存储器510还可以用于暂时地存储已经输出或者将要输出的各类数据。The memory 510 includes at least one type of computer-readable storage medium. The readable storage medium includes a flash memory, a hard disk, a multimedia card, a card-type memory (for example, SD or DX memory, etc.), a random access memory (RAM), and a static random access memory. (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disks, optical disks, etc. In some embodiments, the memory 510 may be an internal storage module of the computer device 500, such as a hard disk or a memory of the computer device 500. In other embodiments, the memory 510 may also be an external storage device of the computer device 500, for example, a plug-in hard disk equipped on the computer device 500, a smart memory card (Smart Media Card, SMC for short), a secure digital (Secure Digital (abbreviated as SD) card, Flash Card, etc. Of course, the memory 510 may also include both the internal storage module of the computer device 500 and its external storage device. In this embodiment, the memory 510 is generally used to store an operating system and various types of application software installed on the computer device 500, such as program code of a test question enlargement method based on eye movement trajectories. In addition, the memory 510 may also be used to temporarily store various types of data that have been output or are to be output.
处理器520在一些实施例中可以是中央处理器(Central Processing Unit,简称为CPU)、控制器、微控制器、微处理器、或其他数据处理芯片。该处理器520通常用于控制计算机设备500的总体操作,例如执行与计算机设备500进行数据交互或者通信相关的控制和处理等。本实施例中,处理器520用于运行存储器510中存储的程序代码或者处理数据。The processor 520 may be a central processing unit (Central Processing Unit), a controller, a microcontroller, a microprocessor, or other data processing chip in some embodiments. The processor 520 is generally used to control overall operations of the computer device 500, for example, to perform control and processing related to data interaction or communication with the computer device 500. In this embodiment, the processor 520 is configured to run program code or process data stored in the memory 510.
网络接口530可包括无线网络接口或有线网络接口,该网络接口530通常用于在计算机设备500与其他计算机设备之间建立通信连接。例如,网络接口530用于通过网络将计算机设备500与外部终端相连,在计算机设备500与外部终端之间的建立数据传输通道和通信连接等。网络可以是企业内部网(Intranet)、互联网(Internet)、全球移动通讯系统(Global System of Mobile communication,简称为GSM)、宽带码分多址(Wideband Code Division Multiple Access,简称为WCDMA)、4G网络、5G网络、蓝牙(Bluetooth)、Wi-Fi等无线或有线网络。The network interface 530 may include a wireless network interface or a wired network interface. The network interface 530 is generally used to establish a communication connection between the computer device 500 and other computer devices. For example, the network interface 530 is used to connect the computer device 500 with an external terminal through a network, and establish a data transmission channel and a communication connection between the computer device 500 and the external terminal. The network can be an intranet, the Internet, Global System of Mobile (GSM), Wideband Code Division Multiple Access (WCDMA), 4G network , 5G network, Bluetooth, Wi-Fi and other wireless or wired networks.
需要指出的是,图5仅示出了具有部件510-530的计算机设备,但是应理解的是,并不要求实施所有示出的部件,可以替代的实施更多或者更少的部件。It should be noted that FIG. 5 only shows a computer device having components 510-530, but it should be understood that it is not required to implement all the illustrated components, and more or fewer components may be implemented instead.
在本实施例中,存储于存储器510中的基于眼球运动轨迹的测试题目放大方法还可以被分割为一个或者多个程序模块,并由一个或多个处理器(本实施例为处理器520)所执行,以完成本申请。In this embodiment, the method for magnifying the test question based on the eye movement trajectory stored in the memory 510 can also be divided into one or more program modules and processed by one or more processors (the processor 520 in this embodiment). Implemented to complete this application.
本实施例还提供一种计算机可读存储介质,计算机可读存储介质其上存储有计算机程序,计算机程序被处理器执行时实现实施例中的基于眼球运动轨迹的测试题目放大方法的步骤。This embodiment also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon. When the computer program is executed by a processor, the steps of the method for magnifying a test topic based on eye movement trajectories in the embodiment are implemented.
本实施例中,计算机可读存储介质包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等)、随机访问存储器(RAM)、静态随机访问存储器(SRAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁性存储器、磁盘、光盘等。在一些实施例中,计算机可读存储介质可以是计算机设备的内部存储单元,例如该计算机设备的硬盘或内存。在另一些实施例中,计算机可读存储介质也可以是计算机设备的外部存储设备,例如该计算机设备上配备的插接式硬盘,智能存储卡(Smart Media Card,简称为SMC),安全数字(Secure Digital,简称为SD)卡,闪存卡(Flash Card)等。当然,计算机可读存储介质还可以既包括计算机设备的内部存储单元也包括其外部存储设备。本实施例中,计算机可读存储介质通常用于存储安装于计算机设备的操作系统和各类应用软件,例如实施例中的基于眼球运动轨迹的测试题目放大方法的程序代码等。此 外,计算机可读存储介质还可以用于暂时地存储已经输出或者将要输出的各类数据。In this embodiment, the computer-readable storage medium includes a flash memory, a hard disk, a multimedia card, a card-type memory (for example, SD or DX memory, etc.), a random access memory (RAM), a static random access memory (SRAM), and a read-only memory ( ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disks, optical disks, etc. In some embodiments, the computer-readable storage medium may be an internal storage unit of a computer device, such as a hard disk or a memory of the computer device. In other embodiments, the computer-readable storage medium may also be an external storage device of a computer device, such as a plug-in hard disk equipped on the computer device, a smart memory card (Smart Media Card (SMC) for short), a secure digital ( Secure Digital (abbreviated as SD) card, Flash Card, etc. Of course, the computer-readable storage medium may also include both the internal storage unit of the computer device and its external storage device. In this embodiment, the computer-readable storage medium is generally used to store an operating system and various types of application software installed on a computer device, for example, the program code of the method for magnifying a test question based on an eye movement track in the embodiment. In addition, the computer-readable storage medium can also be used to temporarily store various types of data that have been output or will be output.
显然,本领域的技术人员应该明白,上述的本申请实施例的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本申请实施例不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that the above-mentioned modules or steps of the embodiments of the present application may be implemented by a general-purpose computing device, and they may be centralized on a single computing device or distributed to multiple computing devices. On the network, optionally, they can be implemented with program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, can be different from here The steps shown or described are performed sequentially, or they are separately made into individual integrated circuit modules, or multiple modules or steps in them are made into a single integrated circuit module to implement. In this way, the embodiments of the present application are not limited to any specific combination of hardware and software.
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above are only preferred embodiments of the present application, and thus do not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made by using the contents of the specification and drawings of the present application, or directly or indirectly used in other related technical fields Are included in the scope of patent protection of this application.

Claims (20)

  1. 一种基于眼球运动轨迹的测试题目放大方法,其特征在于,包括:A method for magnifying a test question based on eye movement trajectories, which includes:
    监听获知电子测试问卷被打开,获取显示有所述电子测试问卷的显示屏幕的当前分辨率;Observe that the electronic test questionnaire is opened, and obtain the current resolution of the display screen on which the electronic test questionnaire is displayed;
    获取预设基础分辨率;Get a preset base resolution;
    根据所述当前分辨率和所述预设基础分辨率,计算当前放大倍数;Calculating a current magnification according to the current resolution and the preset basic resolution;
    确定坐席的眼球运动轨迹;Determine the eye movement trajectory of the agent;
    确定所述电子测试问卷中与所述眼球运动轨迹对应的测试题目;以及Determining a test question corresponding to the eyeball trajectory in the electronic test questionnaire; and
    根据所述当前放大倍数,对所述测试题目进行放大。Magnify the test question according to the current magnification.
  2. 根据权利要求1所述的方法,其特征在于,所述根据所述当前放大倍数,对所述测试题目进行放大,包括:The method according to claim 1, wherein the step of magnifying the test question according to the current magnification comprises:
    确定所述测试题目的当前字体大小;以及Determining the current font size of the test question; and
    根据所述当前放大倍数和所述当前字体大小,对所述测试题目进行放大。Magnify the test question according to the current magnification and the current font size.
  3. 根据权利要求1所述的方法,其特征在于,所述确定坐席的眼球运动轨迹,包括:The method according to claim 1, wherein the determining an eye movement trajectory of an agent comprises:
    获取摄像头在预设时间段内采集的所述坐席基于所述电子测试问卷的多张图像;Acquiring multiple images of the agent based on the electronic test questionnaire collected by the camera within a preset time period;
    确定所述坐席的眼球在所述多张图像的各个图像中的相对位置,得到多个相对位置;以及Determining a relative position of an eyeball of the agent in each of the plurality of images to obtain a plurality of relative positions; and
    根据所述多个相对位置,确定所述眼球运动轨迹。Determining the eye movement trajectory according to the plurality of relative positions.
  4. 根据权利要求1所述的方法,其特征在于,所述确定所述电子测试问卷中与所述眼球运动轨迹对应的测试题目,包括:The method according to claim 1, wherein the determining a test question corresponding to the eyeball trajectory in the electronic test questionnaire comprises:
    确定与所述眼球运动轨迹对应的映射区域;以及Determining a mapping area corresponding to the eyeball trajectory; and
    确定所述电子测试问卷中与所述映射区域对应的测试题目。A test question corresponding to the mapping area in the electronic test questionnaire is determined.
  5. 根据权利要求1所述的方法,其特征在于,所述根据所述当前分辨率和所述预设基础分辨率,计算当前放大倍数,包括:The method according to claim 1, wherein the calculating the current magnification based on the current resolution and the preset base resolution comprises:
    将所述当前分辨率与所述预设基础分辨率作除法,得到所述当前放大倍数。Divide the current resolution and the preset base resolution to obtain the current magnification.
  6. 根据权利要求1至5任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 5, further comprising:
    确定所述电子测试问卷中的预设展示区域;以及Determining a preset display area in the electronic test questionnaire; and
    将放大后的测试题目展示在所述预设展示区域中。The enlarged test question is displayed in the preset display area.
  7. 一种基于眼球运动轨迹的测试题目放大系统,其特征在于,包括:A test question magnification system based on eye movement trajectories, which includes:
    第一获取模块,用于监听获知电子测试问卷被打开,获取显示有所述电子测试问 卷的显示屏幕的当前分辨率;A first obtaining module, configured to monitor and learn that an electronic test questionnaire is opened, and obtain a current resolution of a display screen on which the electronic test questionnaire is displayed;
    第二获取模块,用于获取预设基础分辨率;A second acquisition module, configured to acquire a preset base resolution;
    计算模块,用于根据所述当前分辨率和所述预设基础分辨率,计算当前放大倍数;A calculation module, configured to calculate a current magnification according to the current resolution and the preset basic resolution;
    第一确定模块,用于确定坐席的眼球运动轨迹;A first determining module, configured to determine an eye movement trajectory of an agent;
    第二确定模块,用于确定所述电子测试问卷中与所述眼球运动轨迹对应的测试题目;以及A second determining module, configured to determine a test question corresponding to the eye movement track in the electronic test questionnaire; and
    放大模块,用于根据所述当前放大倍数,对所述测试题目进行放大。A magnification module is configured to magnify the test question according to the current magnification.
  8. 根据权利要求7所述的系统,其特征在于,所述放大模块包括:The system according to claim 7, wherein the amplification module comprises:
    确定单元,用于确定所述测试题目的当前字体大小;以及A determining unit for determining a current font size of the test question; and
    放大单元,用于根据所述当前放大倍数和所述当前字体大小,对所述测试题目进行放大。The magnifying unit is configured to magnify the test question according to the current magnification and the current font size.
  9. 一种计算机设备,包括存储器、处理器以及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时用于实现基于眼球运动轨迹的测试题目放大方法的以下步骤:A computer device includes a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, the method is used to implement the following method for magnifying a test question based on an eye movement locus: step:
    监听获知电子测试问卷被打开,获取显示有所述电子测试问卷的显示屏幕的当前分辨率;Observe that the electronic test questionnaire is opened, and obtain the current resolution of the display screen on which the electronic test questionnaire is displayed;
    获取预设基础分辨率;Get a preset base resolution;
    根据所述当前分辨率和所述预设基础分辨率,计算当前放大倍数;Calculating a current magnification according to the current resolution and the preset basic resolution;
    确定坐席的眼球运动轨迹;Determine the eye movement trajectory of the agent;
    确定所述电子测试问卷中与所述眼球运动轨迹对应的测试题目;以及Determining a test question corresponding to the eyeball trajectory in the electronic test questionnaire; and
    根据所述当前放大倍数,对所述测试题目进行放大。Magnify the test question according to the current magnification.
  10. 根据权利要求9所述的计算机设备,其特征在于,所述根据所述当前放大倍数,对所述测试题目进行放大,包括:The computer device according to claim 9, wherein the magnifying the test question according to the current magnification comprises:
    确定所述测试题目的当前字体大小;以及Determining the current font size of the test question; and
    根据所述当前放大倍数和所述当前字体大小,对所述测试题目进行放大。Magnify the test question according to the current magnification and the current font size.
  11. 根据权利要求9所述的计算机设备,其特征在于,所述确定坐席的眼球运动轨迹,包括:The computer device according to claim 9, wherein the determining the eye movement trajectory of the agent comprises:
    获取摄像头在预设时间段内采集的所述坐席基于所述电子测试问卷的多张图像;Acquiring multiple images of the agent based on the electronic test questionnaire collected by the camera within a preset time period;
    确定所述坐席的眼球在所述多张图像的各个图像中的相对位置,得到多个相对位置;以及Determining a relative position of an eyeball of the agent in each of the plurality of images to obtain a plurality of relative positions; and
    根据所述多个相对位置,确定所述眼球运动轨迹。Determining the eye movement trajectory according to the plurality of relative positions.
  12. 根据权利要求9所述的计算机设备,其特征在于,所述确定所述电子测试问 卷中与所述眼球运动轨迹对应的测试题目,包括:The computer device according to claim 9, wherein the determining a test question corresponding to the eyeball trajectory in the electronic test questionnaire comprises:
    确定与所述眼球运动轨迹对应的映射区域;以及Determining a mapping area corresponding to the eyeball trajectory; and
    确定所述电子测试问卷中与所述映射区域对应的测试题目。A test question corresponding to the mapping area in the electronic test questionnaire is determined.
  13. 根据权利要求9所述的计算机设备,其特征在于,所述根据所述当前分辨率和所述预设基础分辨率,计算当前放大倍数,包括:The computer device according to claim 9, wherein the calculating the current magnification based on the current resolution and the preset base resolution comprises:
    将所述当前分辨率与所述预设基础分辨率作除法,得到所述当前放大倍数。Divide the current resolution and the preset base resolution to obtain the current magnification.
  14. 根据权利要求9至13任一项所述的计算机设备,其特征在于,所述基于眼球运动轨迹的测试题目放大还包括:The computer device according to any one of claims 9 to 13, wherein the enlargement of the test question based on the eye movement trajectory further comprises:
    确定所述电子测试问卷中的预设展示区域;以及Determining a preset display area in the electronic test questionnaire; and
    将放大后的测试题目展示在所述预设展示区域中。The enlarged test question is displayed in the preset display area.
  15. 一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时用于实现基于眼球运动轨迹的测试题目放大方法的以下步骤:A computer-readable storage medium has stored thereon a computer program, which is executed by a processor to implement the following steps of a method for magnifying a test question based on an eye movement trajectory:
    监听获知电子测试问卷被打开,获取显示有所述电子测试问卷的显示屏幕的当前分辨率;Observe that the electronic test questionnaire is opened, and obtain the current resolution of the display screen on which the electronic test questionnaire is displayed;
    获取预设基础分辨率;Get a preset base resolution;
    根据所述当前分辨率和所述预设基础分辨率,计算当前放大倍数;Calculating a current magnification according to the current resolution and the preset basic resolution;
    确定坐席的眼球运动轨迹;Determine the eye movement trajectory of the agent;
    确定所述电子测试问卷中与所述眼球运动轨迹对应的测试题目;以及Determining a test question corresponding to the eyeball trajectory in the electronic test questionnaire; and
    根据所述当前放大倍数,对所述测试题目进行放大。Magnify the test question according to the current magnification.
  16. 根据权利要求15所述的计算机可读存储介质,其特征在于,所述根据所述当前放大倍数,对所述测试题目进行放大,包括:The computer-readable storage medium according to claim 15, wherein the step of magnifying the test question according to the current magnification comprises:
    确定所述测试题目的当前字体大小;以及Determining the current font size of the test question; and
    根据所述当前放大倍数和所述当前字体大小,对所述测试题目进行放大。Magnify the test question according to the current magnification and the current font size.
  17. 根据权利要求15所述的计算机可读存储介质,其特征在于,所述确定坐席的眼球运动轨迹,包括:The computer-readable storage medium according to claim 15, wherein the determining an eye movement trajectory of an agent comprises:
    获取摄像头在预设时间段内采集的所述坐席基于所述电子测试问卷的多张图像;Acquiring multiple images of the agent based on the electronic test questionnaire collected by the camera within a preset time period;
    确定所述坐席的眼球在所述多张图像的各个图像中的相对位置,得到多个相对位置;以及Determining a relative position of an eyeball of the agent in each of the plurality of images to obtain a plurality of relative positions; and
    根据所述多个相对位置,确定所述眼球运动轨迹。Determining the eye movement trajectory according to the plurality of relative positions.
  18. 根据权利要求15所述的计算机可读存储介质,其特征在于,所述确定所述电子测试问卷中与所述眼球运动轨迹对应的测试题目,包括:The computer-readable storage medium of claim 15, wherein the determining a test question corresponding to the eye movement track in the electronic test questionnaire comprises:
    确定与所述眼球运动轨迹对应的映射区域;以及Determining a mapping area corresponding to the eyeball trajectory; and
    确定所述电子测试问卷中与所述映射区域对应的测试题目。A test question corresponding to the mapping area in the electronic test questionnaire is determined.
  19. 根据权利要求15所述的计算机可读存储介质,其特征在于,所述根据所述当前分辨率和所述预设基础分辨率,计算当前放大倍数,包括:The computer-readable storage medium of claim 15, wherein the calculating a current magnification based on the current resolution and the preset base resolution comprises:
    将所述当前分辨率与所述预设基础分辨率作除法,得到所述当前放大倍数。Divide the current resolution and the preset base resolution to obtain the current magnification.
  20. 根据权利要求15至19任一项所述的计算机可读存储介质,其特征在于,所述基于眼球运动轨迹的测试题目放大还包括:The computer-readable storage medium according to any one of claims 15 to 19, wherein the enlargement of the test question based on the eye movement track further comprises:
    确定所述电子测试问卷中的预设展示区域;以及Determining a preset display area in the electronic test questionnaire; and
    将放大后的测试题目展示在所述预设展示区域中。The enlarged test question is displayed in the preset display area.
PCT/CN2018/124444 2018-09-30 2018-12-27 Eyeball motion trajectory-based test question magnifying method and system, and device WO2020062681A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811153197.7A CN109324689A (en) 2018-09-30 2018-09-30 Test topic amplification method, system and equipment based on eyeball moving track
CN201811153197.7 2018-09-30

Publications (1)

Publication Number Publication Date
WO2020062681A1 true WO2020062681A1 (en) 2020-04-02

Family

ID=65266276

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/124444 WO2020062681A1 (en) 2018-09-30 2018-12-27 Eyeball motion trajectory-based test question magnifying method and system, and device

Country Status (2)

Country Link
CN (1) CN109324689A (en)
WO (1) WO2020062681A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102566756A (en) * 2010-12-16 2012-07-11 微软公司 Comprehension and intent-based content for augmented reality displays
CN105446673A (en) * 2014-07-28 2016-03-30 华为技术有限公司 Screen display method and terminal device
US20170371407A1 (en) * 2003-03-21 2017-12-28 Queen's University At Kingston Method and Apparatus for Communication Between Humans and Devices

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102364460B (en) * 2011-06-28 2016-11-23 广州市动景计算机科技有限公司 Automatic page amplification method and system based on mobile terminal
US20140002352A1 (en) * 2012-05-09 2014-01-02 Michal Jacob Eye tracking based selective accentuation of portions of a display
CN103164163A (en) * 2013-03-27 2013-06-19 东莞宇龙通信科技有限公司 Display adjustment method and display adjustment device
CN103513879B (en) * 2013-04-26 2017-10-24 展讯通信(上海)有限公司 Touch control device and its display control method and device
CN106155316A (en) * 2016-06-28 2016-11-23 广东欧珀移动通信有限公司 Control method, control device and electronic installation
CN108563330A (en) * 2018-03-30 2018-09-21 百度在线网络技术(北京)有限公司 Using open method, device, equipment and computer-readable medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170371407A1 (en) * 2003-03-21 2017-12-28 Queen's University At Kingston Method and Apparatus for Communication Between Humans and Devices
CN102566756A (en) * 2010-12-16 2012-07-11 微软公司 Comprehension and intent-based content for augmented reality displays
CN105446673A (en) * 2014-07-28 2016-03-30 华为技术有限公司 Screen display method and terminal device

Also Published As

Publication number Publication date
CN109324689A (en) 2019-02-12

Similar Documents

Publication Publication Date Title
CN111107418B (en) Video data processing method, device, computer equipment and storage medium
CN111935532B (en) Video interaction method and device, electronic equipment and storage medium
US10863016B2 (en) Display controlling method, terminal, information processing apparatus, and storage medium
US8763055B1 (en) Cross-platform video display
US8776152B1 (en) Cloud-based cross-platform video display
CN113010136B (en) Method and system for intelligently amplifying shared desktop and readable storage medium
EP3358484A1 (en) Data presenting method and device, terminal, and storage medium
US10198147B2 (en) Object management and visualization using a computing device
CN112532896A (en) Video production method, video production device, electronic device and storage medium
CN110443772B (en) Picture processing method and device, computer equipment and storage medium
US20180018398A1 (en) Positioning content in computer-generated displays based on available display space
CN110889057B (en) Service data visualization method and service object visualization device
CN111726666A (en) Video display control method and device
US20140282090A1 (en) Displaying Image Information from a Plurality of Devices
CN106878773B (en) Electronic device, video processing method and apparatus, and storage medium
US9250782B1 (en) Using split windows for cross-platform document views
US9886784B2 (en) Systems and methods for rendering a mosaic image featuring persons and associated messages
WO2020062681A1 (en) Eyeball motion trajectory-based test question magnifying method and system, and device
CN108717347B (en) Business information interaction identification method and device and electronic equipment
CN110737417A (en) demonstration equipment and display control method and device of marking line thereof
CN116366961A (en) Video conference method and device and computer equipment
CN107145319B (en) Data sharing method, device and system
CN115243097B (en) Recording method and device and electronic equipment
WO2023103672A1 (en) Method, apparatus and device for displaying shared content, and computer program product
CN111290721A (en) Online interaction control method, system, electronic device and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18935498

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18935498

Country of ref document: EP

Kind code of ref document: A1