CN117472228B - Digital panel self-adaptive control method, device, equipment and readable storage medium - Google Patents

Digital panel self-adaptive control method, device, equipment and readable storage medium Download PDF

Info

Publication number
CN117472228B
CN117472228B CN202311789800.1A CN202311789800A CN117472228B CN 117472228 B CN117472228 B CN 117472228B CN 202311789800 A CN202311789800 A CN 202311789800A CN 117472228 B CN117472228 B CN 117472228B
Authority
CN
China
Prior art keywords
current
operation information
historical
touch pressure
touch operation
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
CN202311789800.1A
Other languages
Chinese (zh)
Other versions
CN117472228A (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.)
Shenzhen Zhengtong Renhe Technology Co ltd
Original Assignee
Shenzhen Zhengtong Renhe 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 Shenzhen Zhengtong Renhe Technology Co ltd filed Critical Shenzhen Zhengtong Renhe Technology Co ltd
Priority to CN202311789800.1A priority Critical patent/CN117472228B/en
Publication of CN117472228A publication Critical patent/CN117472228A/en
Application granted granted Critical
Publication of CN117472228B publication Critical patent/CN117472228B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • 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/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • 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/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • 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/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

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 application relates to a digital board self-adaptive control method, a device, equipment and a readable storage medium, belonging to the technical field of electric digital data processing, wherein the method comprises the following steps: acquiring current touch operation information of a user on a digital panel; inquiring whether drawing information exists in the current touch operation information; if yes, determining drawing parameters of a target display page corresponding to the digital panel based on the current touch operation information; generating a target drawing image based on the drawing information and the drawing parameters; and displaying the target drawing image on the target display page. The method has the effect of improving drawing efficiency.

Description

Digital panel self-adaptive control method, device, equipment and readable storage medium
Technical Field
The present disclosure relates to the field of electronic digital data processing, and in particular, to a method, an apparatus, a device, and a readable storage medium for adaptively controlling a digitizer.
Background
Digitizer tablets, also known as drawing boards, writing pads, etc., are one type of computer input device, and typically consist of a tablet and a digitizer pen. Handwriting, drawing, signature and other operations are input through a digital pen.
Currently, when using a digitizer to draw an image, a user continuously adjusts drawing parameters, such as cursor speed, line thickness, etc., according to drawing requirements during the drawing process, thereby resulting in low drawing efficiency.
Disclosure of Invention
In order to improve drawing efficiency, the application provides a digital panel self-adaptive control method, a device, equipment and a readable storage medium.
In a first aspect, the present application provides a tablet adaptive control method, which adopts the following technical scheme:
a digital board self-adaptive control method comprises the following steps:
acquiring current touch operation information of a user on a digital panel;
inquiring whether drawing information exists in the current touch operation information;
if yes, determining drawing parameters of a target display page corresponding to the digital panel based on the current touch operation information;
generating a target drawing image based on the drawing information and the drawing parameters;
and displaying the target drawing image on the target display page.
By adopting the technical scheme, the drawing parameters and the drawing information of the target display page can be determined by acquiring the current touch operation information of the user in real time, the target image is generated according to the drawing parameters and the drawing information, and more accurate and smooth drawing effects can be realized, so that the possibility of switching the drawing parameters back and forth by the user is reduced, and the drawing efficiency is improved.
Optionally, the current touch operation information includes a contact position on the tablet, and the querying whether the current touch operation information includes drawing information includes:
judging whether the contact position is continuously changed or not;
if yes, judging that drawing information exists in the current touch operation information.
By adopting the technical scheme, when the contact position continuously changes, whether the contact position continuously changes or not is judged, whether a user performs drawing operation or not can be judged more accurately, so that the generation of a target drawing image is more accurate, and if the contact position of the user does not continuously change, the user can be judged to possibly perform other operations such as clicking, dragging and the like, so that different treatments are performed according to different operation types, and the operation of the user is smoother.
Optionally, the current touch operation information further includes a current touch pressure, and determining, based on the current touch operation information, a drawing parameter on the target display page includes:
acquiring historical touch operation information of the user on the digital board;
inquiring whether the historical touch pressure which is the same as the current touch pressure exists or not;
if the historical touch pressure which is the same as the current touch pressure exists, acquiring a first historical drawing parameter corresponding to the historical touch pressure;
and taking the first historical drawing parameter as the drawing parameter of the current touch operation information.
By adopting the technical scheme, the drawing parameters are determined by the current touch pressure and the historical touch pressure, so that the drawing effect and the drawing parameters can be adjusted according to the actual operation habit and the requirement of a user, the drawing effect is more in line with the requirement of the user, and the drawing accuracy and fluency are improved to a certain extent.
Optionally, if there is no historical touch pressure that is the same as the current touch pressure, the method further includes:
acquiring basic information of the user;
inquiring a second historical drawing parameter matched with the basic information in a big data information base;
and taking the second historical drawing parameter as the drawing parameter.
By adopting the technical scheme, the drawing parameters are determined according to the basic information of the user and the historical drawing parameters in the big data information base, so that the digital board can adjust the drawing effect and the drawing parameters according to the personal habit and the preference of the user, the drawn target image is more in line with the requirements of the user, the time of user modification is reduced, and the drawing parameters are more efficient and intelligent drawing experience is provided.
Optionally, after the second historical drawing parameter is taken as the drawing parameter, the method further includes:
acquiring a current drawing image of the target display page;
determining a rendering type based on the current rendering image;
judging whether the drawing parameters are matched with the drawing types or not;
and if not, correcting the drawing parameters based on the drawing type.
By adopting the technical scheme, the drawing type is determined according to the current drawing image of the target display page, and whether the drawing parameters are matched with the drawing type is judged, so that the drawing parameters can be corrected and adjusted according to the actual drawing requirements and types, the drawing accuracy and fluency are improved, and the drawing efficiency is improved to a certain extent.
Optionally, before the step of using the first historical drawing parameter as the drawing parameter of the current touch operation information, the method further includes:
acquiring a current drawing image of the target display page;
determining a current drawing step based on the current drawing image;
judging whether the historical drawing step corresponding to the historical touch pressure is the same as the current drawing step or not;
and if yes, executing the step of taking the historical drawing parameters as the drawing parameters of the current touch operation information.
Through the technical scheme, the current drawing step can be determined according to the current drawing image of the target display page, and whether the historical drawing step corresponding to the historical touch pressure is the same as the current drawing step is judged, so that drawing parameters can be adjusted according to the actual drawing requirements and steps of a user, the user can perform drawing operation more conveniently, and the user experience is enhanced.
Optionally, after the step of determining the current drawing based on the current drawing image, the method further includes:
judging whether the current drawing step is a color filling step or not;
if yes, acquiring a current operation area of the target display area;
and amplifying the current operation area according to a preset proportion, and displaying the color plate.
By adopting the technical scheme, whether the current painting step is a color filling step is judged, so that the current operation area of the target display area is acquired in a targeted manner, and the current operation area is enlarged according to the preset proportion, so that a user can more conveniently and accurately select the color filling range and color, and the drawing efficiency and precision are improved.
In a second aspect, the present application provides a tablet adaptive control device, which adopts the following technical scheme:
a digitizer adaptive control apparatus, comprising:
the acquisition module is used for acquiring current touch operation information of a user on the digital panel;
the query module is used for querying whether drawing information exists in the current touch operation information; if yes, determining drawing parameters of a target display page corresponding to the digital panel based on the current touch operation information;
a generation module for generating a target drawing image based on the drawing information and the drawing parameters;
and the display module is used for displaying the target drawing image on the target display page.
By adopting the technical scheme, the drawing parameters and the drawing information of the target display page can be determined by acquiring the current touch operation information of the user in real time, the target image is generated according to the drawing parameters and the drawing information, and more accurate and smooth drawing effects can be realized, so that the possibility of switching the drawing parameters back and forth by the user is reduced, and the drawing efficiency is improved.
In a third aspect, the present application provides an electronic device, which adopts the following technical scheme:
an electronic device comprising a processor and a memory, the processor coupled with the memory;
the processor is configured to execute a computer program stored in the memory to cause the electronic device to perform the method according to any one of the first aspects.
In a fourth aspect, the present application provides a computer readable storage medium, which adopts the following technical scheme:
a computer readable storage medium comprising a computer program or instructions which, when run on a computer, cause the computer to perform the method of any of the first aspects.
Drawings
Fig. 1 is a flow chart illustrating a method for adaptively controlling a digitizer in an embodiment of the present application.
Fig. 2 is a schematic flow chart showing the substeps of step S103 in the embodiment of the present application.
Fig. 3 is a flowchart illustrating a specific step of step S1035 in the embodiment of the present application.
Fig. 4 is a block diagram of a tablet adaptive control device according to an embodiment of the present application.
Fig. 5 is a block diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The present application is described in further detail below with reference to the accompanying drawings.
The present embodiment is merely illustrative of the present application and is not intended to be limiting, and those skilled in the art, after having read the present specification, may make modifications to the present embodiment without creative contribution as required, but is protected by patent laws within the scope of the claims of the present application.
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
In addition, the term "and/or" herein is merely an association relationship describing an association object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone. In this context, unless otherwise specified, the term "/" generally indicates that the associated object is an "or" relationship.
Embodiments of the present application are described in further detail below with reference to the drawings attached hereto.
The embodiment of the application provides a tablet self-adaptive control method, which can be executed by electronic equipment, wherein the electronic equipment can be a server or terminal equipment, the server can be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, and a cloud server for providing cloud computing service. The terminal device may be, but is not limited to, a smart phone, a tablet computer, a desktop computer, etc.
As shown in fig. 1, a digital panel adaptive control method is described as follows (steps S101 to S105):
step S101, current touch operation information of a user on a digital panel is obtained;
in this embodiment, the user performs a drawing operation on the digitizer using the digitizer pen, wherein the touch operation information includes, but is not limited to, pen pressure, contact position, and contact time.
The user can draw images and written characters on the digital panel by using the digital pen, the electronic equipment receives touch operation information of the digital pen on the digital panel in real time, and the electronic equipment takes the obtained touch operation information as current touch operation information.
Step S102, inquiring whether drawing information exists in the current touch operation information, if so, executing step S103, otherwise, executing step S106;
the step S102 specifically includes: judging whether the contact position is continuously changed or not; if yes, determining that drawing information exists in the current touch operation information.
In the image rendering process, an image is generally generated by a continuous change in the contact position. The electronic device connects the contact locations to form a line or shape based on the uploaded contact locations on the digitizer. Such continuous variation can be used to draw various types of images, and thus, whether drawing information exists is determined by whether or not continuous variation of the contact position occurs.
In this embodiment, the electronic device extracts the coordinate information and the contact time corresponding to the contact position in the current control operation information, and determines whether the contact position is continuously changed according to the contact time and the coordinate information.
In this embodiment, the contact time is first ordered according to the development sequence of time, and then the horizontal coordinates and the vertical coordinates of each contact point are summed to obtain a coordinate sum, and when the difference is equal to a preset value, the contact position is determined to be continuously changed, in this embodiment, the preset value may be 1, and when the contact position is not continuously changed, it is determined that no drawing information exists in the current touch operation information.
Specifically, coordinate information of each position is stored in advance in the electronic device.
Step S103, determining drawing parameters of a target display page corresponding to the digital panel based on the current touch operation information;
specifically, as shown in fig. 2, step S103 specifically includes the following substeps (step S1031 to step S1035)
Step S1031, obtaining historical touch operation information of a user on a digital board;
in this embodiment, the electronic device acquires touch operation information of a user in real time, stores the touch operation information in a touch operation information base, uses the touch operation information in the touch operation information base as historical touch operation information, and if drawing information exists in the current touch operation information, the electronic device acquires the historical touch operation information from the touch operation information base to select a historical touch pressure matched with the current touch pressure.
Step S1032, inquiring whether the historical touch pressure which is the same as the current touch pressure exists; if yes, executing step S1033, otherwise executing step S1035;
in this embodiment, before the touch operation information is stored in the touch operation information base, a plurality of touch pressure intervals may be divided, and the history touch operation information is stored in the corresponding touch pressure interval. When the electronic equipment acquires the current touch pressure, a touch pressure interval corresponding to the current touch pressure is determined, and the historical touch pressure matched with the current touch pressure is searched in the touch pressure interval.
The electronic device sorts the historical touch pressure in each touch pressure interval from small to large, and searches the historical touch pressure matched with the current touch pressure in the touch pressure interval in a dichotomy mode.
Step S1033, obtaining a first history drawing parameter corresponding to the history touch pressure;
in step S1034, the first historical drawing parameter is used as the drawing parameter of the current touch operation information.
The electronic device uses the first historical drawing parameter corresponding to the historical touch pressure matched with the current touch pressure as the drawing parameter of the current touch operation information so as to draw an image by a user, wherein the first historical drawing parameter comprises, but is not limited to, the moving speed of a digital pen and the thickness of a line.
When only one historical touch pressure matched with the current touch pressure exists, directly taking the first historical drawing parameter as the drawing parameter of the current touch operation information; when a plurality of historical touch pressures matched with the current touch pressure exist, acquiring time corresponding to the historical touch pressures, selecting one historical touch pressure closest to the current time according to the time, and taking a first historical drawing parameter corresponding to the selected historical touch pressure as a drawing parameter of the current touch operation information.
Before the first historical drawing parameter is used as the drawing parameter of the current touch operation information, the method further comprises the following steps:
specifically, a current drawing image of a target display page is obtained; determining a current drawing step based on the current drawing image; judging whether a history drawing step corresponding to the history touch pressure is the same as a current drawing step; if yes, executing the step of taking the historical drawing parameters as the drawing parameters of the current touch operation information.
In this embodiment, in different drawing steps, the same touch operation corresponds to different drawing parameters, for example, drawing lines and coloring images, so that the electronic device may collect the current drawing image on the target display page in real time, where the collection manner may be to capture a screenshot of the current drawing image on the target display page.
The electronic device obtains a history drawing image corresponding to the history touch pressure, inputs the current drawing image and the history drawing image into a first image recognition model for recognition, so as to obtain a recognition result, wherein the recognition result is a drawing step, whether the history drawing image and the current drawing image belong to the same drawing step is determined through the recognition result, the drawing step comprises but is not limited to drawing lines and image coloring, the first image recognition model can be a neural network model for image recognition, when the history drawing step corresponding to the history touch pressure is the same as the current drawing step, a step of taking a first history drawing parameter as the drawing parameter of current touch operation information is executed, when the history drawing step corresponding to the history touch pressure is not the same as the current drawing step, the drawing parameter which is the same as the drawing parameter of the current touch operation information is searched in a touch operation information base.
After determining the current drawing step based on the current drawing image, the following is further included:
specifically, judging whether the current drawing step is a color filling step or not; if yes, acquiring a current operation area of the target display area; and amplifying the current operation area according to a preset proportion, and displaying the color plate.
In this embodiment, the current drawing image of the target display page is input into the second image recognition model, so as to determine whether the line of the drawing image is complete, where the second image recognition model may be a neural network model for image recognition, when the line is complete, the front painting step is determined to be a color filling step, at this time, the current operation area of the target display area, that is, the area where the digital pen is located, is obtained, the current operation area is taken as the current operation area, and the amplification factor is determined according to the closed curve of the current operation area, and may also be determined according to the historical amplification habit of the user, so that no specific limitation is made on the current operation area, and at this time, the electronic device calls out the color plate, displays the color plate in the target display area for the user to select, thereby reducing the operation that the user needs to select and amplify the current operation area, and further improving the drawing efficiency.
As shown in fig. 3, step S1035 includes the following steps (steps S11 to S13):
step S11, obtaining basic information of a user;
in this embodiment, the electronic device may obtain the identifier of the tablet, determine purchase information of the user according to the identifier information, and determine basic information of the user according to the purchase information, where the basic information includes, but is not limited to, age, occupation, and gender.
Step S12, inquiring a second historical drawing parameter matched with the basic information in the big data information base;
step S13, taking the second historical drawing parameters as drawing parameters.
In this embodiment, basic information of other users matched with the basic information of the user is queried in the big data information base, and the drawing parameters of the current user are determined according to the second historical drawing parameters of the other users, so that the matching degree of the drawing parameters and the user is improved.
The basic information of other users matched with the basic information of the users is identical in gender and occupation, the ages belong to the same age interval, and the age interval is preset in the electronic equipment.
After the second historical rendering parameters are taken as rendering parameters, the following are included:
specifically, a current drawing image of a target display page is obtained; determining a rendering type based on the current rendering image; judging whether the drawing parameters are matched with the drawing types or not; if not, the drawing parameters are corrected based on the drawing type.
In this embodiment, the electronic device analyzes and processes the current drawing image to determine a corresponding drawing type, where the drawing type includes, but is not limited to, a bar, a shape, and a color, and the drawing type is used to describe a graphic feature drawn by the user on the digitizer tablet. The electronic equipment acquires the drawing parameters corresponding to the drawing types, judges whether the drawing parameters corresponding to the drawing types contain the drawing parameters corresponding to the current drawing image, if yes, judges that the drawing parameters are matched with the drawing types, if not, calls the drawing parameters corresponding to the drawing types, and takes the called drawing parameters as the drawing parameters corresponding to the current drawing image, thereby achieving the purpose of correcting the drawing parameters.
Step S104, generating a target drawing image based on the drawing information and the drawing parameters;
in this embodiment, a corresponding target drawing image needs to be generated according to the contact position and the drawing parameter, a drawing track is generated according to the contact position, and the drawing track is drawn according to the line thickness, the cursor speed and the brush size, so that the target drawing image is generated.
Step S105, the target drawing image is displayed on the target display page.
In this embodiment, the electronic device displays the target image on the target display page in real time, where the electronic device maps the target display page with the operation area of the digitizer, for example, by defining a coordinate conversion formula or by reading device parameters of the digitizer, the electronic device acquires data of the digitizer in real time, extracts position information of the operation area, and then converts the position information of the operation area into coordinates of the target display page according to the mapping relationship, and updates the corresponding target drawing image on the target display page in real time.
Step S106, determining the operation action of the current touch operation information, and carrying out corresponding processing based on the operation action.
In this embodiment, if the drawing information does not exist in the current touch operation information, other operations may be performed, such as clicking, dragging, zooming, and the like, and corresponding processing may be performed according to the operation action.
In this embodiment, the target display page may be divided into a plurality of areas, and the contact time of the position of the digital pen and the position of the digital pen may be obtained, when the position is a first preset position and the contact time is greater than the preset time, the area corresponding to the first preset position of the digital pen is subjected to amplification processing, so that the target display page only displays the area corresponding to the first preset position of the digital pen, and when the contact position is a second preset position and the contact time is greater than the preset time, the area corresponding to the first preset position of the digital pen is subjected to reduction processing, so that the plurality of areas in the target display page are simultaneously displayed, where the first preset position may be the center of the area, the second preset position may be the edge of the area, and the preset time may be set according to the need, for example, 5s.
The method may further include dividing the target display page into a plurality of areas, obtaining the position of the digital pen and the number of times of touch points at the position, amplifying the area of the position of the digital pen when the number of times of touch points at the position is greater than a first preset number of times, so that the target display page only displays the area corresponding to the position of the digital pen, and reducing the area of the position of the digital pen when the number of times of touch points is greater than a second preset number of times only in one area of the target display page, so that the plurality of areas in the target display page are displayed simultaneously, wherein the first preset number of times and the second preset number of times may be the same or different, and the method is not particularly limited.
Fig. 4 is a block diagram of a tablet adaptive control device 200 according to the present application. As shown in fig. 4, the tablet adaptive control device 200 mainly includes:
the acquisition module 201 is configured to acquire current touch operation information of a user on the digitizer;
the query module 202 is configured to query whether drawing information exists in the current touch operation information; if yes, determining drawing parameters of a target display page corresponding to the digital panel based on the current touch operation information;
a generation module 203 for generating a target drawing image based on the drawing information and the drawing parameters;
and the display module 204 is used for displaying the target drawing image on the target display page.
As an alternative implementation of this embodiment, the query module 202 includes:
the position judging sub-module is used for judging whether the contact position is continuously changed or not; if yes, determining that drawing information exists in the current touch operation information.
As an optional implementation manner of this embodiment, the query module 202 further includes:
the information acquisition sub-module is used for acquiring historical touch operation information of a user on the digital panel;
the pressure inquiry sub-module is used for inquiring whether the historical touch pressure which is the same as the current touch pressure exists or not; if the historical touch pressure which is the same as the current touch pressure exists, acquiring a first historical drawing parameter corresponding to the historical touch pressure;
the parameter is used as a sub-module for taking the first historical drawing parameter as the drawing parameter of the current touch operation information.
In this alternative embodiment, the tablet adaptive control device 200 mainly includes:
the information acquisition module is used for acquiring basic information of a user if the historical touch pressure which is the same as the current touch pressure does not exist;
the parameter query module is used for querying a second historical drawing parameter matched with the basic information in the big data information base;
the parameter is used as a module for taking the second historical drawing parameter as the drawing parameter.
As an alternative implementation of the present embodiment, the tablet adaptive control device 200 mainly includes:
the first image acquisition module is used for acquiring a current drawing image of the target display page after taking the second historical drawing parameters as drawing parameters;
the type determining module is used for determining the drawing type based on the current drawing image by English;
the matching judging module is used for judging whether the drawing parameters are matched with the drawing types or not; if not, the drawing parameters are corrected based on the drawing type.
As an alternative implementation of the present embodiment, the tablet adaptive control device 200 mainly includes:
the second image acquisition module is used for acquiring a current drawing image of the target display page before taking the first historical drawing parameter as the drawing parameter of the current touch operation information;
the step determining module is used for determining a current drawing step based on the current drawing image;
the first step judging module is used for judging whether the historical drawing step corresponding to the historical touch pressure is the same as the current drawing step or not; if yes, executing the step of taking the historical drawing parameters as the drawing parameters of the current touch operation information.
As an alternative implementation of the present embodiment, the tablet adaptive control device 200 mainly includes:
the second step judging module is used for judging whether the current drawing step is a color filling step or not after the current drawing step is determined based on the current drawing image; if yes, acquiring a current operation area of the target display area;
and the amplifying display module is used for amplifying the current operation area according to a preset proportion and displaying the color plate.
The functional modules in the embodiments of the present application may be integrated together to form a single part, or each module may exist alone, or two or more modules may be integrated to form a single part. The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored on a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing an electronic device (which may be a personal computer, a server or a network device, etc.) to perform all or part of the steps of a tablet adaptive control method according to various embodiments of the present application.
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described system, apparatus and module may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
Fig. 5 is a block diagram of an electronic device 300 according to an embodiment of the present application. As shown in fig. 5, the electronic device 300 includes a memory 301, a processor 302, and a communication bus 303; the memory 301 and the processor 302 are connected by a communication bus 303. The memory 301 stores a tablet adaptive control method that can be loaded and executed by the processor 302 as provided in the above embodiment.
Memory 301 may be used to store instructions, programs, code sets, or instruction sets. The memory 301 may include a storage program area and a storage data area, wherein the storage program area may store instructions for implementing an operating system, instructions for at least one function, instructions for implementing a tablet adaptive control method provided in the above-described embodiment, and the like; the data storage area may store data and the like involved in the tablet adaptive control method provided in the above embodiment.
Processor 302 may include one or more processing cores. The processor 302 performs various functions and processes of the data of the present application by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 301, invoking data stored in the memory 301. The processor 302 may be at least one of an application specific integrated circuit (ApplicationSpecificIntegratedCircuit, ASIC), a digital signal processor (DigitalSignalProcessor, DSP), a digital signal processing device (DigitalSignalProcessingDevice, DSPD), a programmable logic device (ProgrammableLogicDevice, PLD), a field programmable gate array (FieldProgrammableGateArray, FPGA), a central processor (CentralProcessingUnit, CPU), a controller, a microcontroller, and a microprocessor. It will be appreciated that the electronics for implementing the functions of the processor 302 described above may be other for different devices, and embodiments of the present application are not specifically limited.
Communication bus 303 may include a path to transfer information between the components. The communication bus 303 may be a PCI (peripheral component interconnect) bus or an EISA (extended industrial standard architecture) bus, or the like. The communication bus 303 may be classified into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one double arrow is shown in fig. 5, but not only one bus or one type of bus.
The present embodiment provides a computer readable storage medium storing a computer program capable of being loaded by a processor and executing a tablet adaptive control method as provided in the above embodiment.
In this embodiment, the computer-readable storage medium may be a tangible device that holds and stores instructions for use by the instruction execution device. The computer readable storage medium may be, but is not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any combination of the preceding. In particular, the computer readable storage medium may be a portable computer disk, hard disk, USB flash disk, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), podium random access memory (SRAM), portable compact disc read-only memory (CD-ROM), digital Versatile Disk (DVD), memory stick, floppy disk, optical disk, magnetic disk, mechanical coding device, and any combination of the foregoing.
The terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.
The foregoing description is only of the preferred embodiments of the present application and is presented as a description of the principles of the technology being utilized. It will be appreciated by persons skilled in the art that the scope of the application referred to in this application is not limited to the specific combinations of features described above, but it is intended to cover other embodiments in which any combination of features described above or their equivalents is possible without departing from the spirit of the application. Such as the above-mentioned features and the technical features having similar functions (but not limited to) applied for in this application are replaced with each other.

Claims (7)

1. A digital board self-adaptive control method is characterized by comprising the following steps:
acquiring current touch operation information of a user on a digital panel;
inquiring whether drawing information exists in the current touch operation information;
if yes, determining drawing parameters of a target display page corresponding to the digital panel based on the current touch operation information;
generating a target drawing image based on the drawing information and the drawing parameters;
displaying the target drawing image on the target display page;
the current touch operation information includes a contact position on the digital panel, and the querying whether the current touch operation information has drawing information includes:
judging whether the contact position is continuously changed or not;
if yes, judging that drawing information exists in the current touch operation information;
the current touch operation information further includes a current touch pressure, and determining drawing parameters on a target display page based on the current touch operation information includes:
acquiring historical touch operation information of the user on the digital board;
inquiring whether the historical touch pressure which is the same as the current touch pressure exists or not;
if the historical touch pressure which is the same as the current touch pressure exists, acquiring a first historical drawing parameter corresponding to the historical touch pressure;
taking the first historical drawing parameter as the drawing parameter of the current touch operation information;
before storing touch operation information into a touch operation information base, dividing a plurality of touch pressure intervals, storing historical touch operation information into corresponding touch pressure intervals, determining a touch pressure interval corresponding to the current touch pressure when the electronic equipment acquires the current touch pressure, and searching for the historical touch pressure matched with the current touch pressure in the touch pressure interval, wherein the historical touch pressures in each touch pressure interval are ordered from small to large, and searching for the historical touch pressure matched with the current touch pressure in the touch pressure interval in a dichotomy mode;
before the first historical drawing parameter is used as the drawing parameter of the current touch operation information, the method further comprises the following steps:
acquiring a current drawing image of the target display page;
determining a current drawing step based on the current drawing image;
judging whether the historical drawing step corresponding to the historical touch pressure is the same as the current drawing step or not;
if yes, executing the step of taking the historical drawing parameters as the drawing parameters of the current touch operation information;
if not, searching the drawing parameters which are the same as the current drawing step in the touch operation information base, and taking the drawing parameters as the drawing parameters of the current touch operation information.
2. The method of claim 1, wherein if there is no historical touch pressure that is the same as the current touch pressure, the method further comprises:
acquiring basic information of the user;
inquiring a second historical drawing parameter matched with the basic information in a big data information base;
and taking the second historical drawing parameter as the drawing parameter.
3. The method of claim 2, further comprising, after said taking said second historical rendering parameter as said rendering parameter:
acquiring a current drawing image of the target display page;
determining a rendering type based on the current rendering image;
judging whether the drawing parameters are matched with the drawing types or not;
and if not, correcting the drawing parameters based on the drawing type.
4. The method of claim 1, further comprising, after the determining a current drawing step based on the current drawing image:
judging whether the current drawing step is a color filling step or not;
if yes, acquiring a current operation area of the target display area;
and amplifying the current operation area according to a preset proportion, and displaying the color plate.
5. A digitizer tablet adaptive control device, comprising:
the acquisition module is used for acquiring current touch operation information of a user on the digital panel;
the query module is used for querying whether drawing information exists in the current touch operation information; if yes, determining drawing parameters of a target display page corresponding to the digital panel based on the current touch operation information;
a generation module for generating a target drawing image based on the drawing information and the drawing parameters;
the display module is used for displaying the target drawing image on the target display page;
a query module, comprising:
the position judging sub-module is used for judging whether the contact position is continuously changed or not; if yes, judging that the drawing information exists in the current touch operation information
The query module further comprises:
the information acquisition sub-module is used for acquiring historical touch operation information of a user on the digital panel;
the pressure inquiry sub-module is used for inquiring whether the historical touch pressure which is the same as the current touch pressure exists or not; if the historical touch pressure which is the same as the current touch pressure exists, acquiring a first historical drawing parameter corresponding to the historical touch pressure;
dividing a plurality of touch pressure intervals before storing touch operation information into a touch operation information base, storing history touch operation information into corresponding touch pressure intervals, determining a touch pressure interval corresponding to the current touch pressure when the electronic equipment acquires the current touch pressure, and searching for the history touch pressure matched with the current touch pressure in the touch pressure interval, wherein the history touch pressure in each touch pressure interval is ordered from small to large, and searching for the history touch pressure matched with the current touch pressure in the touch pressure interval by adopting a dichotomy;
the parameter is used as a sub-module for taking the first historical drawing parameter as the drawing parameter of the current touch operation information
The second image acquisition module is used for acquiring a current drawing image of the target display page before taking the first historical drawing parameter as the drawing parameter of the current touch operation information;
the step determining module is used for determining a current drawing step based on the current drawing image;
the first step judging module is used for judging whether a historical drawing step corresponding to the historical touch pressure is the same as the current drawing step or not; if yes, executing the step of taking the historical drawing parameters as the drawing parameters of the current touch operation information;
if not, searching the drawing parameters which are the same as the current drawing step in the touch operation information base, and taking the drawing parameters as the drawing parameters of the current touch operation information.
6. An electronic device comprising a processor and a memory, the processor coupled to the memory;
the processor is configured to execute a computer program stored in the memory to cause the electronic device to perform the method of any one of claims 1 to 4.
7. A computer readable storage medium comprising a computer program or instructions which, when run on a computer, cause the computer to perform the method of any one of claims 1 to 4.
CN202311789800.1A 2023-12-25 2023-12-25 Digital panel self-adaptive control method, device, equipment and readable storage medium Active CN117472228B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311789800.1A CN117472228B (en) 2023-12-25 2023-12-25 Digital panel self-adaptive control method, device, equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311789800.1A CN117472228B (en) 2023-12-25 2023-12-25 Digital panel self-adaptive control method, device, equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN117472228A CN117472228A (en) 2024-01-30
CN117472228B true CN117472228B (en) 2024-03-29

Family

ID=89634985

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311789800.1A Active CN117472228B (en) 2023-12-25 2023-12-25 Digital panel self-adaptive control method, device, equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN117472228B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103870650A (en) * 2014-03-24 2014-06-18 罗炳金 Method for computer-aided drawing jacquard pattern handwriting mud
CN112199030A (en) * 2020-10-14 2021-01-08 网易(杭州)网络有限公司 Graph drawing method and device, storage medium and terminal equipment
CN113205569A (en) * 2021-04-25 2021-08-03 Oppo广东移动通信有限公司 Image drawing method and device, computer readable medium and electronic device
CN114546151A (en) * 2020-11-11 2022-05-27 联想(新加坡)私人有限公司 Information processing apparatus and information processing method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103870650A (en) * 2014-03-24 2014-06-18 罗炳金 Method for computer-aided drawing jacquard pattern handwriting mud
CN112199030A (en) * 2020-10-14 2021-01-08 网易(杭州)网络有限公司 Graph drawing method and device, storage medium and terminal equipment
WO2022077827A1 (en) * 2020-10-14 2022-04-21 网易(杭州)网络有限公司 Graph drawing method and apparatus, storage medium, and terminal device
CN114546151A (en) * 2020-11-11 2022-05-27 联想(新加坡)私人有限公司 Information processing apparatus and information processing method
CN113205569A (en) * 2021-04-25 2021-08-03 Oppo广东移动通信有限公司 Image drawing method and device, computer readable medium and electronic device

Also Published As

Publication number Publication date
CN117472228A (en) 2024-01-30

Similar Documents

Publication Publication Date Title
US10679146B2 (en) Touch classification
CN108898643B (en) Image generation method, device and computer readable storage medium
CN108027876B (en) System for recognizing multiple object inputs, method and product thereof
CN111144242A (en) Three-dimensional target detection method and device and terminal
CN112506340A (en) Device control method, device, electronic device and storage medium
CN110377215B (en) Model display method and device and terminal equipment
CN112965645A (en) Page dragging method and device, computer equipment and storage medium
CN110321546B (en) Account identification and display method and device, server, terminal and storage medium
CN110796250A (en) Convolution processing method and system applied to convolutional neural network and related components
CN114415918A (en) Electronic equipment, method and device for simulating pen touch and computer readable medium
CN111027533B (en) Click-to-read coordinate transformation method, system, terminal equipment and storage medium
CN117472228B (en) Digital panel self-adaptive control method, device, equipment and readable storage medium
CN113313066A (en) Image recognition method, image recognition device, storage medium and terminal
CN111596810B (en) Scribble identification method, device, equipment and storage medium
US20180129405A1 (en) Graphical user interface using color spectrum to map sentiments
CN108491152A (en) Touch screen terminal control method, terminal and medium based on virtual cursor
CN113296616B (en) Pen point selection method and device and intelligent terminal
CN107885452A (en) 3D Touch analogy methods and device, computer installation and computer-readable recording medium
JP6734323B2 (en) Program, system, and method for determining similarity of objects
CN114578956A (en) Equipment control method and device, virtual wearable equipment and storage medium
CN111078028A (en) Input method, related device and readable storage medium
LU101625B1 (en) Systems and methods for grid-aligned inking
CN110717006B (en) User school location analysis method and system, storage medium and electronic device
CN102426517B (en) Method and equipment for executing tool module in first page container
CN116027954A (en) Handwriting generation method and related 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