Data processing method, device and electronic equipment

By obtaining the current position information of the operating body in the electronic device and determining the target scanning area for scanning, the problem of input trajectory display delay in the existing technology is solved, and faster input trajectory recognition efficiency is achieved.

CN114153364BActive Publication Date: 2024-09-17LENOVO (BEIJING) LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111451770.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-30
Publication Date
2024-09-17
Estimated Expiration
2041-11-30

AI Technical Summary

Technical Problem

When the existing technology converts the target input component or the input trajectory of handwriting input into a display image, there is a problem of display delay of the input component. This is mainly because the image scanning method is relatively fixed and cannot effectively reduce the scanning area, resulting in low recognition efficiency.

Method used

By obtaining the current position information of the operating body in the input area, a smaller target scanning area is determined for scanning. Compared with the global area to be scanned, the target scanning area is no larger than the latter to obtain the input operation of the operating body in the next scanning frame. Position information, thereby improving the recognition efficiency of input trajectories.

Benefits of technology

It effectively reduces the area to be scanned in the next scanning frame, improves the recognition efficiency of the input trajectory, and solves the problem of input trajectory display delay.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114153364B
    Figure CN114153364B
Patent Text Reader

Abstract

The present application discloses a data processing method, device and electronic device, comprising: in response to an operating body performing an input operation in an input area, obtaining current position information of the input operation; based on the current position information of the input operation, determining a target scanning area, so that by scanning the target scanning area, the position information of the input operation of the operating body in the next scanning frame is obtained, wherein the input area corresponds to a global area to be scanned, and the target scanning area is not larger than the global area to be scanned.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of electronic devices, and in particular to a data processing method, device and electronic device. Background Art

[0002] With the development of electronic technology, various electronic devices can realize functions such as supporting data input using a target input component or receiving handwriting input using a touch screen.

[0003] However, when converting the target input component or the input track of handwriting input into a corresponding display image, the problem of input component display delay cannot be solved because the adopted image scanning method is relatively fixed. Summary of the invention

[0004] In view of this, the present application provides a data processing method, device and electronic device as follows:

[0005] A data processing method, comprising:

[0006] In response to the operating body performing an input operation in the input area, obtaining current position information of the input operation;

[0007] Based on the current position information of the input operation, a target scanning area is determined so that by scanning the target scanning area, the position information of the input operation of the operating body in the next scanning frame is obtained, wherein the input area corresponds to the global area to be scanned, and the target scanning area is not larger than the global area to be scanned.

[0008] Optionally, the acquiring the current position information of the input operation includes:

[0009] Acquire first coordinate information of an input point in a current scanning frame corresponding to the input operation;

[0010] The first coordinate information is determined as current position information of the input operation.

[0011] Optionally, the acquiring the current position information of the input operation includes:

[0012] Acquire coordinate information of input points of a plurality of consecutive scanning frames in a current scanning cycle corresponding to the input operation;

[0013] Based on the coordinate information of the input point of each scanning frame, the current position information of the input operation is determined.

[0014] Optionally, the determining a target scanning area based on the current position information of the input operation includes:

[0015] Determine the target scanning direction based on the coordinate information of the input point of each scanning frame;

[0016] A target scanning area is determined according to the current position information of the input operation and the target scanning direction.

[0017] Optionally, the acquiring the current position information of the input operation includes:

[0018] The control recognition component recognizes the position of the operating body and obtains the current position information of the operating body;

[0019] Based on the current position information of the operating body, the current position information of the input operation is acquired.

[0020] Optionally, the determining a target scanning area based on the current position information of the input operation includes:

[0021] Determine a position correspondence between an input point of a current scanning frame corresponding to the input operation and a reference point of the input area;

[0022] Based on the position correspondence, a target scanning area is determined.

[0023] Optionally, the determining a target scanning area based on the current position information of the input operation includes:

[0024] Acquire input mode information corresponding to the input operation;

[0025] A target scanning area is determined based on the input mode information and the current position information of the input operation.

[0026] Optionally, scanning the target scanning area to obtain position information of the input operation of the operating body in a next scanning frame includes:

[0027] Determine an area in the input area other than the target scanning area as an area to be scanned;

[0028] If the position information of the input operation of the operating body in the next scanning frame is not obtained by scanning in the target scanning area, the area to be scanned is scanned to obtain the position information of the input operation of the operating body in the next scanning frame.

[0029] A data processing device, comprising:

[0030] an acquisition unit, configured to acquire current position information of the input operation in response to the operating body performing an input operation in the input area;

[0031] A determination unit is used to determine a target scanning area based on the current position information of the input operation, so that by scanning the target scanning area, the position information of the input operation of the operating body in the next scanning frame is obtained, wherein the input area corresponds to a global area to be scanned, and the target scanning area is not larger than the global area to be scanned.

[0032] An electronic device, comprising:

[0033] A memory, used to store applications and data generated by the operation of the applications;

[0034] A processor, configured to execute the application program to implement:

[0035] In response to the operating body performing an input operation in the input area, obtaining current position information of the input operation;

[0036] Based on the current position information of the input operation, a target scanning area is determined so that by scanning the target scanning area, the position information of the input operation of the operating body in the next scanning frame is obtained, wherein the input area corresponds to the global area to be scanned, and the target scanning area is not larger than the global area to be scanned. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0038] Figure 1 A flowchart of a data processing method provided in an embodiment of the present application;

[0039] Figure 2 A schematic diagram of a target scanning area provided in an embodiment of the present application;

[0040] Figure 3 A schematic diagram of the structure of a data processing device provided in an embodiment of the present application;

[0041] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0042] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0043] The data processing method provided in the embodiment of the present application can be applied to an electronic device, which can be configured with corresponding operating components and processing components, such as an input device for information input; or a receiving component capable of receiving input operations of an operating body, such as a touch screen for receiving user touch operations. The processing component of the electronic device can identify the input trajectory of the operating body by scanning the corresponding area, and can output the generated display information corresponding to the input trajectory.

[0044] See also Figure 1 , is a flow chart of a data processing method provided in an embodiment of the present application, the method may include the following steps:

[0045] S101 . In response to an operating body performing an input operation in an input area, obtaining current position information of the input operation.

[0046] S102 : Determine a target scanning area based on current position information of the input operation, so as to obtain position information of the input operation of the operating body in a next scanning frame by scanning the target scanning area.

[0047] In step S101, the operating body refers to an object that can generate input operations, that is, it can be an input component that constitutes an electronic device, or an input component connected to the electronic device, such as a handwriting input pen, or a target object for inputting to the electronic device, such as a user's finger that inputs on the touch screen of the electronic device by handwriting. In the embodiment of the present application, the input area can be an area in the electronic device that can receive input operations, such as an area corresponding to an input screen such as a touch screen or an electromagnetic screen of the electronic device, or an input area of ​​an input drawing board corresponding to an input tool such as a stylus pen, etc. Among them, the input area can be the full screen area of ​​the corresponding input screen, or it can be a partial effective input area.

[0048] When the operating body performs an input operation in the input area, the current position information of the input operation is obtained. The current position information corresponds to the current input operation, and can be determined by the current position information of the operating body, by identifying the scanning frame of the current input point of the input operation, or based on the valid input area corresponding to the current input operation and the position information of the input point of the previous input cycle corresponding to the current input operation.

[0049] In step S102, the target scanning area is determined according to the current position of the input operation. The current position of the input operation can be used as the starting position of the scanning area, and the target scanning area is determined according to a preset scanning direction. Alternatively, the target scanning area can be determined according to the current position of the input operation and the scanning direction determined by the previous continuous scanning frames. The process of determining the target scanning area will be described in detail in the later embodiments of this application.

[0050] After the target scanning area is determined, the position information of the input operation of the operating body in the next scanning frame can be obtained by scanning the target scanning area. Taking the input area as a touch screen as an example, the touch screen can be an infrared touch screen, a capacitive touch screen, a resistive touch screen, a surface acoustic wave touch screen, etc. In the process of obtaining the input trajectory, the touch screen will obtain the input point on the touch screen once in each scanning frame, and obtain the position coordinates of the input point. Correspondingly, the touch screen can also obtain the input point on the touch screen once in each scanning cycle, and the scanning cycle is the duration corresponding to the preset time interval, and a scanning cycle can include multiple scanning frames. When identifying the input trajectory, the input point of the current scanning cycle can be matched with the input point of the previous scanning cycle of the current scanning cycle to determine the input trajectory of each input point, such as, the line connecting the input point of the current scanning cycle and the matching input point of the previous scanning cycle is determined as an input trajectory. After obtaining the input trajectory, the input trajectory can be further rendered based on the display mode of the display device to be displayed, so that the input trajectory can be displayed in the corresponding display device.

[0051] Usually, when scanning the input trajectory, each scanning frame uses the input area as the scanning area, and the input area corresponds to the global area to be scanned, which will make the scanning time longer. In the embodiment of the present application, the target scanning area is determined by the current position information of the input operation. Correspondingly, the target scanning area is not larger than the global area to be scanned, which can effectively reduce the area to be scanned in the next scanning frame. Compared with the global scan, the position information of the input operation of the input body can be obtained more quickly, thereby improving the recognition efficiency of the input trajectory and solving the problem of input trajectory display delay.

[0052] In a possible implementation of the embodiment of the present application, first coordinate information of an input point of a current scanning frame corresponding to the input operation may be acquired, and the first coordinate information may be determined as current position information of the input operation.

[0053] The scanning of the input area is performed in real time, and the processing method is for the purpose of obtaining the input point, wherein the current scanning frame refers to the scanning frame that can obtain the current input point corresponding to the input operation, that is, the input point of the current scanning frame obtained is the input point closest to the operator when the next input operation is about to be performed. The first coordinate information of the input point can be the coordinate information obtained based on the coordinate system corresponding to the input operation, and then the first coordinate information is determined as the current position information of the input operation. If the first coordinate information is (x1, y1), the current position information is also (x1, y1).

[0054] After determining the current position information of the input operation, the target scanning area can be determined based on the preset scanning direction. For example, if the preset scanning direction is to scan from the upper left corner to the lower right corner, the coordinates corresponding to the current position information are used as the scanning starting point of the upper left corner, and the area to the preset lower right corner point is the target scanning area.

[0055] Further, determining the target scanning area based on the current position information of the input operation includes: determining the position correspondence between the current scanning frame input point corresponding to the input operation and the reference point of the input area; and determining the target scanning area based on the position correspondence.

[0056] Among them, the reference point of the input area refers to a preset point in the input area, such as the center point of the input area, or it can also be the vertex of the border of the input area. If the input area is a rectangle, the reference point can be the four vertices of the input area. The current position information of the input operation is the coordinate information of the input point of the current scanning frame corresponding to the input operation. The position correspondence between the input point and the reference point can indicate in which direction the input point is in the reference point. Then, according to the position correspondence, the scanning direction and the size of the scanning area can be determined, and then the target scanning area can be obtained. The current position information of the input operation can be determined as the scanning starting point of the target scanning area. If the reference point is a vertex of the border of the input area, the reference point can be determined as the scanning end point, and the area between the starting point and the end point can be determined as the target scanning area.

[0057] In another possible implementation of the embodiment of the present application, the current position information of the input operation can also be determined based on the position information of the operating body. The current position information of the input operation can be determined by obtaining the absolute position information of the operating body, or by obtaining the relative position information between the operating body and the input area. Specifically, the obtaining of the current position information of the input operation includes: controlling the recognition component to identify the position of the operating body to obtain the current position information of the operating body; and obtaining the current position information of the input operation based on the current position information of the operating body.

[0058] Among them, the recognition component is a component that can recognize the position information of the operating body, which can be a component in the electronic device or a component derived from the operating body. The recognition component can collect the position parameters of the operating body, such as the distance data of the operating body relative to the electronic device. The recognition component can also collect the image information of the operating body, and then send it to the processing device of the electronic device, and the processing device of the electronic device obtains the position information of the operating body by processing the image information. For example, when the operating body is an input device, the recognition component can be a sensor of the input device, and the sensor collects and transmits the position parameters of the operating body so that the processor of the electronic device can obtain the current position information of the operating body. When the operating body is a user's finger, the user inputs on the touch screen of the electronic device through his finger, and a corresponding input trajectory can be generated. At this time, the recognition component can be an image acquisition component in the electronic device, such as a camera, which collects the user's finger position image through the camera, and the processing device of the electronic device can process the collected image to obtain the finger position information and use it as the current position information of the operating body.

[0059] After obtaining the current position information of the operating body, the current position information of the operating body can be directly used as the current position information of the input operation. The current position information of the operating body can also be further processed, which can be a process of coordinate conversion, parameter calculation, and position determination. For example, when the current position information of the operating body obtained is the position information in the spatial coordinate system, the coordinate system conversion can be performed based on the current position information of the operating body and the coordinate system corresponding to the input area, so that the current position information of the operating body is converted to the coordinate system of the input area, and the obtained position information is determined as the current position information of the input operation. It is also possible to predict the position information of the input operation that is about to be generated based on the operating body based on the current position information of the operating body. For example, the relative position relationship between the operating body and the input area is determined through the position information of the operating body, and the current position information of the input operation is determined based on the relative position relationship. After obtaining the current position information of the input operation, the target scanning area can be determined based on the current position information, so as to perform the scanning operation of the next scanning frame based on the target scanning area.

[0060] In order to more accurately determine the target scanning area, when determining the current position of the input operation in the embodiment of the present application, it can also be determined based on the scanning information of multiple consecutive scanning frames. That is, the coordinate information of the input point of multiple consecutive scanning frames in the current scanning cycle corresponding to the input operation is obtained; based on the coordinate information of the input point of each scanning frame, the current position information of the input operation is determined.

[0061] Among them, the scanning cycle can be a fixed time interval, such as 1 second as a scanning cycle, or the moment when the input operation of the operating body pauses can be used as a condition for calculating the scanning cycle, such as the time interval between the user's input and the first pause input is 2 seconds, and the time is recorded as a scanning cycle. It can also be a preset number of scanning frames as a scanning cycle, such as scanning ten frames per scan as a scanning cycle. There are multiple consecutive scanning frames in a scanning cycle, and the coordinate information of the input point obtained by scanning corresponding to each scanning frame is obtained, and then the coordinate information of the input point of each scanning frame is calculated to obtain the current position information of the input operation. For example, the coordinate values ​​of the input point (which can also be a touch point) under each scanning frame are calculated respectively, and the coordinate values ​​are averaged, and the obtained coordinate average value is determined as the current position information of the input operation.

[0062] Correspondingly, the target scanning direction can also be determined based on the coordinate information of each scanning frame input point; the target scanning area can be determined based on the current position information of the input operation and the target scanning direction. Specifically, the coordinate increment can be calculated based on the coordinates of the input points of the two previous and next scanning frames, and then the azimuth can be calculated based on the coordinate increment, and the target scanning direction can be determined based on the azimuth. The target scanning direction can also be determined based on the directional correspondence between the coordinates of the input points of the subsequent scanning frame and the coordinates of the input points of the previous scanning frame. For example, if each subsequent scanning frame input point is at the lower right of the previous scanning frame, the target scanning direction can be determined as the scanning direction from the upper left to the lower right. The current position information of the input operation is used as the scanning starting point, and the area scanned along the scanning direction is determined as the target scanning area.

[0063] See also Figure 2 , is a schematic diagram of a target scanning area provided in an embodiment of the present application. Figure 2 In the application scenario shown, the input area is the full screen area of ​​the touch screen, that is, the area shown as 201 in the figure. Figure 2The midpoint 202 indicates the position of the input point of the (N-1) scanning frame, and the point 203 indicates the position of the input point of the (N-2) scanning frame. The scanning direction is obtained based on the positions of the points 202 and 203 as shown by the arrow 204. The position corresponding to the point 202 can be determined as the starting position of the target scanning area when the Nth frame is scanned, and then the point 205 along the horizontal position of the point 202 to the border of the input area is determined as the vertex of the upper border of the target scanning area. Similarly, the vertex of the lower border of the target scanning area can be determined to obtain the target scanning area 206. It can be seen that when the Nth frame is scanned, the corresponding target scanning area is smaller than the input area, and the scanning can be started from the point 202, and only the scanning area is scanned to obtain the position information of the next input point. Compared with scanning the entire input area, the delay from the input trajectory of the operating body to the display can be reduced.

[0064] In another embodiment of the present application, the target scanning area can also be determined based on different input modes. That is, the target scanning area is determined based on the current position information of the input operation, including: obtaining input mode information corresponding to the input operation; and determining the target scanning area based on the input mode information and the current position information of the input operation.

[0065] Among them, the operating body can have multiple input modes. In different input modes, when the input operation is performed, the electronic device processing device responds differently to the input operation. Different input modes can correspond to different effective input areas, and the effective input area is not larger than the input area; correspondingly, the characters and graphics to be input in different input modes can also be different. When the effective input areas corresponding to the input modes are different, after determining the current position information of the input operation, the target scanning area can be determined based on the effective input operation, which can further reduce the range of the target scanning area compared to when it is determined based on the input area, and effectively improve the scanning efficiency. When the smoothness of the linear shape corresponding to the input mode is different, the linear shape can be determined based on the currently selected input mode. If the selected linear shape is a straight line, the area of ​​the scanning area can be appropriately increased when determining the target scanning area; when the selected linear shape is a curve, according to the current position information of the input operation, in addition to determining the scanning starting point of the target scanning area, the amplitude of the scanning direction needs to be increased to ensure that the corresponding input point can be scanned in the target scanning area finally determined.

[0066] In addition, the target scanning area can also be determined based on the input character format corresponding to the input mode information. The input character format may include text format, number format, graphic format, and line format, etc. By collecting historical input information, the universal input area corresponding to each input character format is determined, and then the current position information of the input operation is used as the scanning starting point of the next scanning frame, and the target scanning area is determined according to the input universal input area. Taking text input as an example, if the operator has entered a text, the size of the entered text can be obtained, and the area of ​​the text size can be used as a reference value for the area size of the target scanning area, and then the target scanning area is determined according to the text size area and the current position information of the input operation.

[0067] In another possible implementation, when the user uses the operating body to input, the input may be discontinuous, or the input may be interrupted due to some factors. When the user inputs again, he may forget the previous input position, that is, it is not continuous with the previous input, but re-inputs in a new area. In this case, if the target scanning area is determined by the current position information of the input operation before the input interruption, it may not be possible to accurately scan and obtain the position information of the input operation of the operating body in the next scanning frame. At this time, the area other than the target scanning area in the input area is determined as the area to be scanned, and the area to be scanned is scanned to obtain the position information of the input operation of the operating body in the next scanning frame. In this way, the target scanning area can be determined as a scanning area with a higher priority, while reducing the delay of the operating body input display, it can also ensure that the input trajectory can be accurately obtained.

[0068] In the data processing method provided in the embodiment of the present application, the target scanning area can be determined based on the current position information of the input operation, so as to obtain the position information of the input operation of the operating body in the next scanning frame by scanning the target scanning area. The fixed specific point of the input area can be changed as the starting point of the next scanning frame, and the position of the previous input operation can be used as the starting point of the scan, which can reduce the delay of the display of the input trajectory of the operating body.

[0069] In another embodiment of the present application, a data processing device is also provided. Figure 3 , the data processing device may include:

[0070] An acquisition unit 301 is used for acquiring current position information of the input operation in response to the operating body performing the input operation in the input area;

[0071] The determination unit 302 is used to determine the target scanning area based on the current position information of the input operation, so that by scanning the target scanning area, the position information of the input operation of the operating body in the next scanning frame is obtained, wherein the input area corresponds to the global area to be scanned, and the target scanning area is not larger than the global area to be scanned.

[0072] In a data processing device provided in an embodiment of the present application, an acquisition unit acquires current position information of the input operation in response to an operation body performing an input operation in an input area; a determination unit determines a target scanning area based on the current position information of the input operation, so that by scanning the target scanning area, the position information of the input operation of the operation body in the next scanning frame is obtained, wherein the input area corresponds to a global area to be scanned, and the target scanning area is not larger than the global area to be scanned. The scanning area of ​​the next scanning frame is determined based on the current position information of the input operation body, and the delay problem of input trajectory recognition caused by scanning based on the global area to be scanned for each scan is solved.

[0073] In one implementation, the acquisition unit 301 includes:

[0074] A first acquisition subunit, used to acquire first coordinate information of an input point of a current scanning frame corresponding to the input operation;

[0075] The first determining subunit is used to determine the first coordinate information as the current position information of the input operation.

[0076] In another embodiment, the acquiring unit 301 includes:

[0077] A second acquisition subunit is used to acquire coordinate information of input points of a plurality of consecutive scanning frames in a current scanning cycle corresponding to the input operation;

[0078] The second determining subunit is used to determine the current position information of the input operation based on the coordinate information of the input point of each scanning frame.

[0079] Further, the determining unit 302 includes:

[0080] A third determination subunit is used to determine the target scanning direction based on the coordinate information of the input point of each scanning frame;

[0081] The fourth determining subunit is used to determine a target scanning area according to the current position information of the input operation and the target scanning direction.

[0082] Optionally, the acquiring unit 301 includes:

[0083] A control subunit, used for controlling the recognition component to recognize the position of the operating body and obtain current position information of the operating body;

[0084] The third acquisition subunit is used to acquire the current position information of the input operation based on the current position information of the operating body.

[0085] Optionally, the determining unit 302 includes:

[0086] A fifth determining subunit, configured to determine a position correspondence between an input point of a current scanning frame corresponding to the input operation and a reference point of the input area;

[0087] The sixth determining subunit is used to determine a target scanning area based on the position correspondence.

[0088] Further, the determining unit 302 includes:

[0089] A fourth acquisition subunit, used to acquire input mode information corresponding to the input operation;

[0090] The seventh determining subunit is used to determine a target scanning area based on the input mode information and the current position information of the input operation.

[0091] Based on the above embodiment, wherein, scanning the target scanning area to obtain the position information of the input operation of the operating body in the next scanning frame includes:

[0092] Determine an area in the input area other than the target scanning area as an area to be scanned;

[0093] If the position information of the input operation of the operating body in the next scanning frame is not obtained by scanning in the target scanning area, the area to be scanned is scanned to obtain the position information of the input operation of the operating body in the next scanning frame.

[0094] It should be noted that the specific implementation of each unit in this embodiment can refer to the corresponding content in the previous text and will not be described in detail here.

[0095] See also Figure 4 , is a schematic diagram of the structure of an electronic device provided in another embodiment of the present application, and the electronic device may include:

[0096] Memory 401, used to store applications and data generated by the running of the applications;

[0097] The processor 402 is configured to execute the application program to implement:

[0098] In response to the operating body performing an input operation in the input area, obtaining current position information of the input operation;

[0099] Based on the current position information of the input operation, a target scanning area is determined so that by scanning the target scanning area, the position information of the input operation of the operating body in the next scanning frame is obtained, wherein the input area corresponds to the global area to be scanned, and the target scanning area is not larger than the global area to be scanned.

[0100] It should be noted that the specific implementation of the processor in this embodiment can refer to the corresponding content in the previous text and will not be described in detail here.

[0101] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0102] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0103] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0104] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A data processing method, include: In response to the operating body performing an input operation in the input area, obtaining current position information of the input operation; Based on the current position information of the input operation, a target scanning area is determined, and by scanning the target scanning area, the position information of the input operation of the operating body in the next scanning frame is obtained, wherein the input area corresponds to the global area to be scanned, and the target scanning area is smaller than the global area to be scanned.

2. The method according to claim 1, wherein the obtaining the current position information of the input operation, include: Acquire first coordinate information of an input point in a current scanning frame corresponding to the input operation; The first coordinate information is determined as current position information of the input operation.

3. The method according to claim 1, wherein the obtaining the current position information of the input operation, include: Acquire coordinate information of input points of a plurality of consecutive scanning frames in a current scanning cycle corresponding to the input operation; Based on the coordinate information of the input point of each scanning frame, the current position information of the input operation is determined.

4. The method according to claim 3, wherein the target scanning area is determined based on the current position information of the input operation, include: Determine the target scanning direction based on the coordinate information of the input point of each scanning frame; A target scanning area is determined according to the current position information of the input operation and the target scanning direction.

5. The method according to claim 1, wherein the obtaining the current position information of the input operation, include: The control recognition component recognizes the position of the operating body and obtains the current position information of the operating body; Based on the current position information of the operating body, the current position information of the input operation is acquired.

6. The method according to claim 2, wherein the target scanning area is determined based on the current position information of the input operation, include: Determine a position correspondence between an input point of a current scanning frame corresponding to the input operation and a reference point of the input area; Based on the position correspondence, a target scanning area is determined.

7. The method according to claim 1, wherein the target scanning area is determined based on the current position information of the input operation, include: Acquire input mode information corresponding to the input operation; A target scanning area is determined based on the input mode information and the current position information of the input operation.

8. The method according to claim 1, wherein the position information of the input operation of the operating body in the next scanning frame is obtained by scanning the target scanning area. include: Determine an area in the input area other than the target scanning area as an area to be scanned; If the position information of the input operation of the operating body in the next scanning frame is not obtained by scanning in the target scanning area, the area to be scanned is scanned to obtain the position information of the input operation of the operating body in the next scanning frame.

9. A data processing device, include: an acquisition unit, configured to acquire current position information of the input operation in response to the operating body performing an input operation in the input area; A determination unit is used to determine a target scanning area based on the current position information of the input operation, and obtain the position information of the input operation of the operating body in the next scanning frame by scanning the target scanning area, wherein the input area corresponds to a global area to be scanned, and the target scanning area is smaller than the global area to be scanned.

10. An electronic device, include: A memory, used to store applications and data generated by the operation of the applications; A processor, configured to execute the application program to implement: In response to the operating body performing an input operation in the input area, obtaining current position information of the input operation; Based on the current position information of the input operation, a target scanning area is determined, and by scanning the target scanning area, the position information of the input operation of the operating body in the next scanning frame is obtained, wherein the input area corresponds to the global area to be scanned, and the target scanning area is smaller than the global area to be scanned.