CN108595046B - Model calibration method and device - Google Patents

Model calibration method and device Download PDF

Info

Publication number
CN108595046B
CN108595046B CN201810361112.8A CN201810361112A CN108595046B CN 108595046 B CN108595046 B CN 108595046B CN 201810361112 A CN201810361112 A CN 201810361112A CN 108595046 B CN108595046 B CN 108595046B
Authority
CN
China
Prior art keywords
calibration
preset
touch operation
touch
touch panel
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810361112.8A
Other languages
Chinese (zh)
Other versions
CN108595046A (en
Inventor
林行
陈华榕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Hard Shell Technology Co ltd
Original Assignee
Beijing Hard Shell Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Hard Shell Technology Co ltd filed Critical Beijing Hard Shell Technology Co ltd
Priority to CN201810361112.8A priority Critical patent/CN108595046B/en
Publication of CN108595046A publication Critical patent/CN108595046A/en
Application granted granted Critical
Publication of CN108595046B publication Critical patent/CN108595046B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/0418Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment

Landscapes

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

Abstract

The disclosure relates to a model calibration method and apparatus. The method comprises the following steps: acquiring a first induction signal when a calibration touch operation is executed on the touch panel at a specified calibration position; and calibrating the preset touch operation identification model according to the designated calibration position and the first induction signal to obtain a target touch operation identification model. Through the technical scheme, the preset touch operation recognition model can be automatically calibrated according to the designated calibration position and the first induction signal, so that an accurate target touch operation recognition model is obtained, and each user can calibrate the preset touch operation recognition model by himself.

Description

Model calibration method and device
Technical Field
The disclosure relates to the technical field of terminals, in particular to a model calibration method and device.
Background
At present, in order to facilitate users, a touch screen is installed on a plurality of devices, so that users can complete related operations through the touch screen, and in order to facilitate recognition of touch operations, especially floating touch operations, on the touch screen, terminals installed with the touch screen in the related art are all provided with a preset touch operation recognition model when leaving a factory, but because habits of floating touch operations of each user are different, if operations of each user gradually pressing the touch screen from the top of the touch screen are different, for example: some users press the touch screen vertically downwards when pressing the touch screen from the upper space of the touch screen, and some users press the touch screen obliquely downwards, so that the floating touch operation identified according to the preset touch operation identification model of the manufacturer may be inaccurate, and the preset touch operation identification model is preset and fixed and cannot be adapted to each user.
Disclosure of Invention
The embodiment of the disclosure provides a model calibration method and device. The technical scheme is as follows:
according to a first aspect of embodiments of the present disclosure, there is provided a model calibration method, including:
acquiring a first induction signal when a calibration touch operation is executed on the touch panel at a specified calibration position;
and calibrating a preset touch operation identification model according to the specified calibration position and the first induction signal to obtain a target touch operation identification model.
In one embodiment, the acquiring a first sensing signal when the calibration touch operation is performed on the touch panel at a specified calibration position includes:
acquiring first induction signals when the same calibration touch operation is executed at a plurality of different specified calibration positions; the designated calibration position comprises any preset position in a touch sensing area and a suspension sensing area of the touch panel.
In one embodiment, when the calibration touch operation includes an operation of gradually moving from the touch sensing area to the hover sensing area, the designated calibration position includes a first preset starting point within the touch sensing area and/or a first preset ending point within the hover sensing area;
when the calibration touch operation includes an operation of gradually moving from the hover sensing region to the touch sensing region, the designated calibration position includes a second preset starting point in the hover sensing region and/or a second preset ending point in the touch sensing region.
In one embodiment, the method further comprises:
sending out calibration prompt information before the first induction signal is acquired; the calibration prompt information is used for instructing a user to execute the calibration touch operation on the touch panel at the specified calibration position;
after the first sensing signal is acquired, if a preset position condition is met, the calibration prompt information is sent again to prompt a user to execute the calibration touch operation again, wherein the preset position condition comprises:
the position difference between the projection position of the first preset end point on the touch panel and the first preset starting point is greater than a preset position threshold; or
The position difference between the projection position of the second preset end point on the touch panel and the second preset starting point is greater than the preset position threshold.
In one embodiment, the calibrating a preset touch operation recognition model according to the designated calibration position and the first sensing signal to obtain a target touch operation recognition model includes:
and training the preset classifier of the preset touch operation recognition model again according to the specified calibration position and the first induction signal so as to obtain a target classifier of the target touch operation recognition model.
In one embodiment, the method further comprises:
after the target touch operation identification model is obtained, a second induction signal when the target touch operation is executed on the touch panel is obtained;
and identifying the target touch operation according to the second induction signal and the target touch operation identification model.
According to a second aspect of the embodiments of the present disclosure, there is provided a model calibration apparatus including:
the acquisition module is used for acquiring a first induction signal when the calibration touch operation is executed on the touch panel at a specified calibration position;
and the calibration module is used for calibrating a preset touch operation identification model according to the specified calibration position and the first induction signal to obtain a target touch operation identification model.
In one embodiment, the obtaining module comprises:
the acquisition submodule is used for acquiring a first induction signal when the same calibration touch operation is executed at a plurality of different specified calibration positions; the designated calibration position comprises any preset position in a touch sensing area and a suspension sensing area of the touch panel;
when the calibration touch operation comprises an operation of gradually moving from the touch sensing area to the floating sensing area, the designated calibration position comprises a first preset starting point in the touch sensing area and/or a first preset end point in the floating sensing area;
when the calibration touch operation includes an operation of gradually moving from the hover sensing region to the touch sensing region, the designated calibration position includes a second preset starting point in the hover sensing region and/or a second preset ending point in the touch sensing region.
In one embodiment, the apparatus further comprises:
the first prompt module is used for sending out calibration prompt information before the first induction signal is acquired; the calibration prompt information is used for instructing a user to execute the calibration touch operation on the touch panel at the specified calibration position;
a second prompt module, configured to, after the first sensing signal is obtained, if a preset position condition is met, send out the calibration prompt information again to prompt the user to re-execute the calibration touch operation, where the preset position condition includes:
the position difference between the projection position of the first preset end point on the touch panel and the first preset starting point is greater than a preset position threshold; or
The position difference between the projection position of the second preset end point on the touch panel and the second preset starting point is greater than the preset position threshold.
In one embodiment, the calibration module comprises:
and the training sub-module is used for retraining the preset classifier of the preset touch operation recognition model according to the specified calibration position and the first induction signal so as to obtain a target classifier of the target touch operation recognition model.
According to a third aspect of the embodiments of the present disclosure, there is provided a model calibration apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring a first induction signal when a calibration touch operation is executed on the touch panel at a specified calibration position;
and calibrating a preset touch operation identification model according to the specified calibration position and the first induction signal to obtain a target touch operation identification model.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium having stored thereon computer instructions, wherein the instructions, when executed by a processor, implement the steps of the method as described in the first aspect.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
according to the technical scheme provided by the embodiment of the disclosure, the preset touch operation identification model can be automatically calibrated according to the specified calibration position and the first induction signal by acquiring the first induction signal when the specified calibration position executes the calibration touch operation on the touch panel, so that the accurate target touch operation identification model can be obtained, and each user can calibrate the preset touch operation identification model by himself.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a flow chart illustrating a method of model calibration according to an exemplary embodiment.
FIG. 2 is a flow chart illustrating another method of model calibration in accordance with an exemplary embodiment.
FIG. 3 is a block diagram illustrating a model calibration apparatus according to an exemplary embodiment.
FIG. 4 is a block diagram illustrating another model calibration apparatus in accordance with an exemplary embodiment.
FIG. 5 is a block diagram illustrating a suitable model calibration apparatus according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
In order to solve the above technical problem, an embodiment of the present disclosure provides a model calibration method, which may be used in a model calibration program, system or device, and an execution subject corresponding to the method may be a terminal or a server of a mobile phone, a tablet, a computer or the like having a touch panel. As shown in fig. 1, the method includes steps S101 to S102:
in step S101, a first sensing signal when a calibration touch operation is performed on the touch panel at a designated calibration position is acquired;
the designated calibration position may include a plurality. The touch object for touch operation can be a finger, a pen, an egg, a flashlight or other electric conductors.
The touch panel in the present application may be a touch panel with a display function, such as a touch display screen; or a touch panel without a display function.
Specifically, the touch panel in the present application may be a capacitive touch panel based on capacitive sensing touch operation; accordingly, the sensing signal may be a capacitive signal.
In addition, in order to make the calibrated target touch operation recognition model more accurate, the user may be prompted to perform the calibration touch operation according to the usual operation habit of the user, for example: when the calibration touch operation is an operation of gradually lifting from a certain designated position on the touch screen, prompting a user to gradually lift according to the usual lifting operation or execute an opposite operation, namely a lifting operation according to the usual pressing operation;
if the usual pressing operation of the user a is vertical pressing relative to the touch panel, the user may be prompted to vertically lift from a specified position on the touch panel or vertically press from above (e.g., directly above) the specified position when performing the calibration touch operation;
for another example: if the pressing operation that the user A is accustomed to at ordinary times is pressing along the inclined direction with the included angle alpha (alpha is not equal to 90 degrees) of the touch panel, when the calibration touch operation is executed, the user can be prompted to roughly press along the angle alpha from the upside (such as the right upside) of a certain specified position on the touch panel in an inclined mode, therefore, the calibrated target touch operation identification model is more accordant with the own operation habit of the user, and the identification effect is natural and more accurate.
In step S102, the preset touch operation recognition model is calibrated according to the designated calibration position and the first sensing signal, so as to obtain a target touch operation recognition model.
By acquiring a first sensing signal when a calibration touch operation is performed on the touch panel at a specified calibration position, the preset touch operation recognition model can be automatically calibrated according to the designated calibration position and the first sensing signal to obtain a target touch operation recognition model, therefore, each user can calibrate the preset touch operation identification model by himself, and because the habit of each user for executing calibration touch operation is different, therefore, the target touch operation identification model obtained after calibration can be adapted to each user respectively, so that the preset touch operation identification model can be calibrated automatically, the target touch operation identification model obtained after calibration can also be different from person to person, the personalized requirements of the user are met, the touch habit of the user is met, and the naturally identified touch operation is more accurate when the touch operation of the user on the touch panel is identified subsequently.
The preset touch operation identification model can be established according to the position of each touch operation relative to the touch panel, the detected induction signal of the induction capacitor and each touch operation when the touch panel is subjected to touch operation for multiple times.
In one embodiment, the step S101 of acquiring a first sensing signal when a calibration touch operation is performed on the touch panel at a specified calibration position includes:
acquiring first induction signals when the same calibration touch operation is executed at a plurality of different designated calibration positions; the designated calibration position comprises any preset position in a touch sensing area and a suspension sensing area of the touch panel.
In this embodiment, the calibration of the preset touch operation recognition model may be completed by performing one or more calibration touch operations. The number of designated calibration positions may be 4, 8, etc.; optionally, each designated calibration position is uniformly dispersed in the touch sensing area and the floating sensing area of the touch panel, or the center, the edge, and other positions of the touch sensing area/the floating sensing area are used as the designated calibration positions.
In practical applications, even for the same user, there may be differences in specific actions when the same touch operation is performed at different positions; in view of this, in the embodiment, by acquiring the first sensing signal when the same calibration touch operation is performed at a plurality of different designated calibration positions, a plurality of sample data of the same calibration touch operation are also acquired, so that the preset touch operation recognition model can be calibrated for a plurality of times, and the influence of accidental factors caused by performing the preset touch operation at only one position is eliminated, so that a more accurate target touch operation recognition model can be obtained, and the touch operations of different user personalities can be accurately recognized.
Further, for the same designated calibration position, the first sensing signals of the same preset touch operation performed at the designated calibration position for multiple times may also be obtained respectively (for example, the first sensing signals when the P1 is performed 4 times after S1 is obtained respectively, that is, the 4 groups of first sensing signals generated when the P1 is performed at S1 are finally obtained), so as to further eliminate the influence of accidental factors caused by performing the preset touch operation once at the designated calibration position, and improve the calibration accuracy of the model again.
In one embodiment, when the calibration touch operation includes an operation of gradually moving from the touch sensing area to the hover sensing area, the designated calibration position includes a first preset starting point within the touch sensing area and/or a first preset ending point within the hover sensing area;
the touch sensing area is a surface area of the touch panel.
The floating sensing area is an area where the touch panel can still sense the user operation when the user performs the spaced touch operation on the touch panel over the touch panel, and the floating reaction area may be an area within 1 cm from the touch panel.
For example: when the designated calibration position is from a predetermined position a in the touch sensing area to an end point B in the hover sensing area, the calibration touch operation is an operation of slowly lifting from the point a to another predetermined position B in the hover sensing area within a certain time (e.g. 0.5s) as an end point, and of course, the operation of slowly lifting varies depending on personal habits, for example: when the user is used to the condition that the finger is lifted vertically upwards, the slow lifting operation is that the finger is lifted vertically upwards from the starting point A, namely the projection coordinate of the finger relative to the touch panel is unchanged (always equal to the preset position) in the lifting process until the point B is reached; when the user is used to lift the finger obliquely upwards or press the finger obliquely downwards, the operation of slowly lifting is started from the point a as the starting point, and the finger is lifted obliquely upwards approximately along the same inclination angle as the normal use, that is, the projection coordinate of the finger relative to the touch panel is gradually changed and is not always equal to the preset position in the lifting process until the point B is reached.
When the calibration touch operation includes an operation of gradually moving from the hover sensing region to the touch sensing region, the designated calibration position includes a second preset starting point in the hover sensing region and/or a second preset ending point in the touch sensing region.
For example: when the designated calibration position is determined to use a point C of a predetermined position in the floating sensing area as a starting point and another point D of a predetermined position in the touch sensing area as an ending point, the calibration touch operation may be an operation of gradually pressing down to the point D of the predetermined position in the touch panel from the point C, and of course, the operation of gradually pressing down to the point D of the touch panel from the point C of the predetermined position as the starting point is different depending on personal habits, which is similar to the above-mentioned operation of gradually lifting up to the point B in the floating sensing area from the point a of the touch sensing area as the starting point, and thus, the description thereof is omitted.
In one embodiment, the model calibration method further includes:
sending out calibration prompt information before the first induction signal is acquired in the step S101; the calibration prompt information is used for instructing a user to execute calibration touch operation on the touch panel at a specified calibration position;
before the first sensing signal is acquired, calibration prompt information can be sent out to prompt a user to start executing the calibration touch operation on the touch panel at a specified calibration position so as to correctly acquire the required first sensing signal and finish automatically calibrating the preset touch operation identification model.
Of course, when the calibration prompt message is sent, in order to make the user more clearly specify the specific calibration position, the specified calibration position may be highlighted and/or voice-prompted, and the highlighting may be to change the color of the specified calibration position, display prompt text at the specified calibration position, or enlarge the display size of the specified calibration position.
In addition, in any way, the specified calibration position can be prompted by a preset starting point and a preset termination.
Optionally, after the first sensing signal is acquired, if a preset position condition is met, the calibration prompt information is re-sent to prompt the user to re-execute the calibration touch operation, where the preset position condition includes:
the position difference between the projection position of the first preset end point on the touch panel and the first preset starting point is greater than a preset position threshold value; or
The position difference between the projection position of the second preset end point on the touch panel and the second preset starting point is greater than a preset position threshold.
When the preset position condition is met, the calibration prompt information is sent to prompt the user to execute the calibration touch operation again, so that the starting point and the ending point of the user in the process of performing the calibration touch operation are ensured to be not greatly different on the touch panel, and the influence on the accuracy of the calibrated target touch operation identification model due to the overlarge difference of the starting point and the ending point of the operation in the process of performing the calibration touch operation is avoided.
As shown in fig. 2, in an embodiment, the step S102 shown in fig. 1, namely calibrating the preset touch operation recognition model according to the designated calibration position and the first sensing signal to obtain the target touch operation recognition model, may include step a 1:
in step a1, the preset classifier of the preset touch operation recognition model is retrained according to the designated calibration position and the first sensing signal to obtain a target classifier of the target touch operation recognition model.
When the target touch operation recognition model is obtained, the preset touch operation recognition model is established according to the position of each touch operation relative to the touch screen and the detected induction signal of the induction capacitor when the touch panel is subjected to touch operation for multiple times, so that the classifier of the preset touch operation recognition model can be trained again according to the specified calibration position and the first induction signal, and the target classifier which better accords with the touch habit of a user is obtained.
The preset classifier may be one or more classifiers, and the preset classifier may be a support vector machine, a neural network, or the like.
In one embodiment, the model calibration method further includes:
after the target touch operation identification model is obtained, a second induction signal when the target touch operation is executed on the touch panel is obtained;
and identifying the target touch operation according to the second induction signal and the target touch operation identification model.
After the target touch operation identification model is obtained, the target touch operation can be automatically identified according to the obtained second sensing signal and the calibrated target touch operation identification model, that is, the calibrated target touch operation identification model is used for identifying which operation the target touch operation is performed on the whole, and compared with the method that the target touch operation is identified by using the preset touch operation identification model before calibration, the identification accuracy can be improved, and the method is suitable for operation habits of different users.
Finally, it is to be noted that: those skilled in the art can freely combine the embodiments of the present disclosure according to actual requirements, and details are not described herein.
As shown in fig. 3, according to a second aspect of the embodiments of the present disclosure, there is provided a model calibration apparatus including:
an obtaining module 301 configured to obtain a first sensing signal when a calibration touch operation is performed on the touch panel at a specified calibration position;
the calibration module 302 is configured to calibrate the preset touch operation recognition model according to the designated calibration position and the first sensing signal, so as to obtain a target touch operation recognition model.
In one embodiment, the obtaining module 301 may include:
the acquisition sub-module is configured to acquire a first induction signal when the same calibration touch operation is performed at a plurality of different designated calibration positions; the designated calibration position comprises any preset position in a touch sensing area and a suspension sensing area of the touch panel;
when the calibration touch operation comprises an operation of gradually moving from the touch sensing area to the suspension sensing area, the designated calibration position comprises a first preset starting point in the touch sensing area and/or a first preset end point in the suspension sensing area;
when the calibration touch operation includes an operation of gradually moving from the hover sensing region to the touch sensing region, the designated calibration position includes a second preset starting point in the hover sensing region and/or a second preset ending point in the touch sensing region.
In one embodiment, the apparatus may further include:
the first prompt module is configured to send out calibration prompt information before the first induction signal is acquired; wherein the calibration prompt information is configured to instruct a user to perform a calibration touch operation on the touch panel at a specified calibration position;
the second prompting module is configured to, after the first sensing signal is acquired, if a preset position condition is met, send out calibration prompting information again to prompt a user to execute calibration touch operation again, wherein the preset position condition includes:
the position difference between the projection position of the first preset end point on the touch panel and the first preset starting point is greater than a preset position threshold value; or
The position difference between the projection position of the second preset end point on the touch panel and the second preset starting point is greater than a preset position threshold.
As shown in fig. 4, in one embodiment, the calibration module 302 may include:
the training sub-module 3021 is configured to train the preset classifier of the preset touch operation recognition model again according to the designated calibration position and the first sensing signal to obtain a target classifier of the target touch operation recognition model.
Fig. 5 is a block diagram illustrating an apparatus 500 for model calibration, which is suitable for use in a terminal device, according to an exemplary embodiment. For example, the apparatus 500 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 5, the apparatus 500 may include one or at least two of the following components: processing component 502, memory 504, power component 506, multimedia component 508, audio component 510, input/output (I/O) interface 512, sensor component 514, and communication component 516.
The processing component 502 generally controls overall operation of the device 500, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 502 may include one or at least two processors 520 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 502 can include one or at least two modules that facilitate interaction between the processing component 502 and other components. For example, the processing component 502 can include a multimedia module to facilitate interaction between the multimedia component 508 and the processing component 502.
The memory 504 is configured to store various types of data to support operation at the device 500. Examples of such data include instructions for any stored object or method operating on the device 500, contact user data, phonebook data, messages, pictures, videos, and so forth. The memory 504 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 506 provides power to the various components of the device 500. The power components 506 may include a power management system, one or at least two power sources, and other components associated with generating, managing, and distributing power for the apparatus 500.
The multimedia component 508 includes a screen that provides an output interface between the device 500 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or at least two touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 508 includes a front facing camera and/or a rear facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the device 500 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 510 is configured to output and/or input audio signals. For example, audio component 510 includes a Microphone (MIC) configured to receive external audio signals when apparatus 500 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 504 or transmitted via the communication component 516. In some embodiments, audio component 510 further includes a speaker for outputting audio signals.
The I/O interface 512 provides an interface between the processing component 502 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 514 includes one or at least two sensors for providing various aspects of status assessment for the device 500. For example, the sensor assembly 514 may detect an open/closed state of the device 500, the relative positioning of the components, such as a display and keypad of the apparatus 500, the sensor assembly 514 may also detect a change in the position of the apparatus 500 or a component of the apparatus 500, the presence or absence of user contact with the apparatus 500, orientation or acceleration/deceleration of the apparatus 500, and a change in the temperature of the apparatus 500. The sensor assembly 514 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 514 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 514 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 516 is configured to facilitate communication between the apparatus 500 and other devices in a wired or wireless manner. The apparatus 500 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 516 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 516 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 500 may be implemented by one or at least two Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 504 comprising instructions, executable by the processor 520 of the apparatus 500 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium having instructions therein which, when executed by a processor of the apparatus 500, enable the apparatus 500 to perform a model calibration method, comprising:
acquiring a first induction signal when a calibration touch operation is executed on the touch panel at a specified calibration position;
and calibrating a preset touch operation identification model according to the specified calibration position and the first induction signal to obtain a target touch operation identification model.
In one embodiment, the acquiring a first sensing signal when the calibration touch operation is performed on the touch panel at a specified calibration position includes:
acquiring first induction signals when the same calibration touch operation is executed at a plurality of different specified calibration positions; the designated calibration position comprises any preset position in a touch sensing area and a suspension sensing area of the touch panel.
In one embodiment, when the calibration touch operation includes an operation of gradually moving from the touch sensing area to the hover sensing area, the designated calibration position includes a first preset starting point within the touch sensing area and/or a first preset ending point within the hover sensing area;
when the calibration touch operation includes an operation of gradually moving from the hover sensing region to the touch sensing region, the designated calibration position includes a second preset starting point in the hover sensing region and/or a second preset ending point in the touch sensing region.
In one embodiment, the method further comprises:
sending out calibration prompt information before the first induction signal is acquired; the calibration prompt information is used for instructing a user to execute the calibration touch operation on the touch panel at the specified calibration position;
after the first sensing signal is acquired, if a preset position condition is met, the calibration prompt information is sent again to prompt a user to execute the calibration touch operation again, wherein the preset position condition comprises:
the position difference between the projection position of the first preset end point on the touch panel and the first preset starting point is greater than a preset position threshold; or
The position difference between the projection position of the second preset end point on the touch panel and the second preset starting point is greater than the preset position threshold.
In one embodiment, the calibrating a preset touch operation recognition model according to the designated calibration position and the first sensing signal to obtain a target touch operation recognition model includes:
and training the preset classifier of the preset touch operation recognition model again according to the specified calibration position and the first induction signal so as to obtain a target classifier of the target touch operation recognition model.
In one embodiment, the method further comprises:
after the target touch operation identification model is obtained, a second induction signal when the target touch operation is executed on the touch panel is obtained;
and identifying the target touch operation according to the second induction signal and the target touch operation identification model.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (5)

1. A model calibration method for a device having a touch panel, comprising:
acquiring a first induction signal when a calibration touch operation is executed on the touch panel at a specified calibration position;
calibrating a preset touch operation identification model according to the specified calibration position and the first induction signal to obtain a target touch operation identification model;
the acquiring a first sensing signal when the calibration touch operation is performed on the touch panel at a specified calibration position includes:
acquiring first induction signals when the same calibration touch operation is executed at a plurality of different specified calibration positions; the designated calibration position comprises any preset position in a touch sensing area and a suspension sensing area of the touch panel;
when the calibration touch operation comprises an operation of gradually moving from the touch sensing area to the floating sensing area, the designated calibration position comprises a first preset starting point in the touch sensing area and a first preset end point in the floating sensing area;
when the calibration touch operation comprises an operation of gradually moving from the suspension induction area to the touch induction area, the designated calibration position comprises a second preset starting point in the suspension induction area and a second preset end point in the touch induction area;
the method further comprises the following steps:
sending out calibration prompt information before the first induction signal is acquired; the calibration prompt information is used for instructing a user to execute the calibration touch operation on the touch panel at the specified calibration position;
after the first sensing signal is acquired, if a preset position condition is met, the calibration prompt information is sent again to prompt a user to execute the calibration touch operation again, wherein the preset position condition comprises:
the position difference between the projection position of the first preset end point on the touch panel and the first preset starting point is greater than a preset position threshold; or
The position difference between the projection position of the second preset end point on the touch panel and the second preset starting point is greater than the preset position threshold.
2. The method of claim 1,
the calibrating a preset touch operation recognition model according to the designated calibration position and the first induction signal to obtain a target touch operation recognition model includes:
and training the preset classifier of the preset touch operation recognition model again according to the specified calibration position and the first induction signal so as to obtain a target classifier of the target touch operation recognition model.
3. The method according to any one of claims 1 to 2, further comprising:
after the target touch operation identification model is obtained, a second induction signal when the target touch operation is executed on the touch panel is obtained;
and identifying the target touch operation according to the second induction signal and the target touch operation identification model.
4. A model calibration apparatus for a device having a touch panel, comprising:
the acquisition module is used for acquiring a first induction signal when the calibration touch operation is executed on the touch panel at a specified calibration position;
the calibration module is used for calibrating a preset touch operation identification model according to the specified calibration position and the first induction signal to obtain a target touch operation identification model;
the acquisition module includes:
the acquisition submodule is used for acquiring a first induction signal when the same calibration touch operation is executed at a plurality of different specified calibration positions; the designated calibration position comprises any preset position in a touch sensing area and a suspension sensing area of the touch panel;
when the calibration touch operation comprises an operation of gradually moving from the touch sensing area to the floating sensing area, the designated calibration position comprises a first preset starting point in the touch sensing area and a first preset end point in the floating sensing area;
when the calibration touch operation comprises an operation of gradually moving from the suspension induction area to the touch induction area, the designated calibration position comprises a second preset starting point in the suspension induction area and a second preset end point in the touch induction area;
the device further comprises:
the first prompt module is used for sending out calibration prompt information before the first induction signal is acquired; the calibration prompt information is used for instructing a user to execute the calibration touch operation on the touch panel at the specified calibration position;
a second prompt module, configured to, after the first sensing signal is obtained, if a preset position condition is met, send out the calibration prompt information again to prompt the user to re-execute the calibration touch operation, where the preset position condition includes:
the position difference between the projection position of the first preset end point on the touch panel and the first preset starting point is greater than a preset position threshold; or
The position difference between the projection position of the second preset end point on the touch panel and the second preset starting point is greater than the preset position threshold.
5. The apparatus of claim 4,
the calibration module includes:
and the training sub-module is used for retraining the preset classifier of the preset touch operation recognition model according to the specified calibration position and the first induction signal so as to obtain a target classifier of the target touch operation recognition model.
CN201810361112.8A 2018-04-20 2018-04-20 Model calibration method and device Active CN108595046B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810361112.8A CN108595046B (en) 2018-04-20 2018-04-20 Model calibration method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810361112.8A CN108595046B (en) 2018-04-20 2018-04-20 Model calibration method and device

Publications (2)

Publication Number Publication Date
CN108595046A CN108595046A (en) 2018-09-28
CN108595046B true CN108595046B (en) 2021-02-09

Family

ID=63613546

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810361112.8A Active CN108595046B (en) 2018-04-20 2018-04-20 Model calibration method and device

Country Status (1)

Country Link
CN (1) CN108595046B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112445357B (en) * 2019-08-28 2022-06-14 北京钛方科技有限责任公司 Calibration method, calibration device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102890572A (en) * 2011-07-19 2013-01-23 联发科技(新加坡)私人有限公司 Customized method for calibrating touch screen and electronic device
CN103270479A (en) * 2010-11-22 2013-08-28 吉田健治 Information input system, program, medium
CN103425308A (en) * 2012-05-22 2013-12-04 宏碁股份有限公司 Touch device and touch point position calibration method therefor
CN102890581B (en) * 2012-09-18 2015-09-02 苏州佳世达电通有限公司 The calibration steps of contact panel
CN106068489A (en) * 2014-12-26 2016-11-02 株式会社尼康 Detection device and program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103270479A (en) * 2010-11-22 2013-08-28 吉田健治 Information input system, program, medium
CN102890572A (en) * 2011-07-19 2013-01-23 联发科技(新加坡)私人有限公司 Customized method for calibrating touch screen and electronic device
CN103425308A (en) * 2012-05-22 2013-12-04 宏碁股份有限公司 Touch device and touch point position calibration method therefor
CN102890581B (en) * 2012-09-18 2015-09-02 苏州佳世达电通有限公司 The calibration steps of contact panel
CN106068489A (en) * 2014-12-26 2016-11-02 株式会社尼康 Detection device and program

Also Published As

Publication number Publication date
CN108595046A (en) 2018-09-28

Similar Documents

Publication Publication Date Title
US10152207B2 (en) Method and device for changing emoticons in a chat interface
US10452890B2 (en) Fingerprint template input method, device and medium
EP3179711B1 (en) Method and apparatus for preventing photograph from being shielded
US9959484B2 (en) Method and apparatus for generating image filter
US9491371B2 (en) Method and device for configuring photographing parameters
CN107102772B (en) Touch control method and device
US20170123587A1 (en) Method and device for preventing accidental touch of terminal with touch screen
CN104486451B (en) Application program recommends method and device
CN107480785B (en) Convolutional neural network training method and device
US20170153754A1 (en) Method and device for operating object
CN105094578B (en) Method and device for adjusting position of desktop icon
US10402619B2 (en) Method and apparatus for detecting pressure
US10248855B2 (en) Method and apparatus for identifying gesture
CN105426094B (en) Information pasting method and device
CN107562349B (en) Method and device for executing processing
CN108572765B (en) Touch control identification method and device
EP3629318B1 (en) Method and apparatus for compensating operating parameter of display circuit
CN105677352B (en) Method and device for setting application icon color
CN109409382B (en) Image processing method and device, electronic equipment and storage medium
US20170075671A1 (en) Method and apparatus for installing application and smart device using the same
CN107239758B (en) Method and device for positioning key points of human face
CN108595046B (en) Model calibration method and device
CN108319899B (en) Fingerprint identification method and device
CN107402677B (en) Method and device for recognizing finger lifting in touch operation and terminal
CN107832112B (en) Wallpaper setting method and device

Legal Events

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