CN117971058A - Digital board calling method and device, electronic equipment and storage medium - Google Patents

Digital board calling method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN117971058A
CN117971058A CN202410157576.2A CN202410157576A CN117971058A CN 117971058 A CN117971058 A CN 117971058A CN 202410157576 A CN202410157576 A CN 202410157576A CN 117971058 A CN117971058 A CN 117971058A
Authority
CN
China
Prior art keywords
calling
tablet
window
digital panel
configuration parameters
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.)
Pending
Application number
CN202410157576.2A
Other languages
Chinese (zh)
Inventor
谢鹏刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Century TAL Education Technology Co Ltd
Original Assignee
Beijing Century TAL Education Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Century TAL Education Technology Co Ltd filed Critical Beijing Century TAL Education Technology Co Ltd
Priority to CN202410157576.2A priority Critical patent/CN117971058A/en
Publication of CN117971058A publication Critical patent/CN117971058A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure provides a tablet calling method, a device, electronic equipment and a storage medium, wherein the method comprises the following steps: creating a calling window in the main equipment, and associating and binding the digital panel and the calling window according to the configuration parameters of the digital panel; and responding to the drawing operation of the digital board, collecting drawing data of the digital board through a calling window, executing conversion on the drawing data of the digital board according to the configuration parameters of the digital board and the program configuration parameters of the target calling program to obtain a digital board event of the digital board, and sending the digital board event to the target calling program to execute the calling operation of the digital board. The method and the device can realize flexible calling of each calling program in the main equipment on the digital panel, can improve the expansion application range of the digital panel, and have the advantages of high expansion adaptation degree and easiness in implementation.

Description

Digital board calling method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and apparatus for invoking a digitizer tablet, an electronic device, and a storage medium.
Background
The digital board is an advanced electronic drawing tool, and along with the continuous development and innovation of the technology, the digital board has increasingly rich application in modern life and has been widely applied to the fields of art design, animation creation, education and teaching, commercial demonstration and the like.
In the field of education and teaching, the education staff can use the digital board to conduct classroom teaching and demonstration. Through the digital board, a teacher can draw charts or diagrams in real time, and mark characters and images in a classroom, so that teaching contents are more vivid and visual. Meanwhile, students can also conduct post-class homework and exercise through the digital board. In addition, the digital board can be matched with other application software in the electronic equipment to provide service functions such as drawing, solving questions and the like, so that learning interactivity is increased, and learning fun is improved.
In the related art, the digitizer is mainly developed based on the Qt (QtToolkit) framework, and mainly has the following disadvantages: firstly, the existing Qt framework has failure problem on the support of the digital board, and has poor stability; secondly, the existing Qt framework conceals all parameter details of the digitizer, and has the problems that the digitizer is difficult to maintain in the later period and the function expansion cannot be supported.
Disclosure of Invention
In view of the foregoing, embodiments of the present disclosure provide a tablet calling method, apparatus, electronic device, and storage medium, so as to at least partially solve the foregoing problems.
According to a first aspect of an embodiment of the present disclosure, there is provided a tablet calling method, including: creating a calling window in a main device, and associating and binding the digital panel and the calling window according to configuration parameters of the digital panel; responding to the drawing operation of the digital panel, collecting drawing data of the digital panel through the calling window, and executing conversion on the drawing data of the digital panel according to the digital panel configuration parameters and the program configuration parameters of the target calling program to obtain digital panel events of the digital panel; and sending the tablet event to the target calling program through the calling window so as to execute the calling operation of the tablet.
According to a second aspect of the embodiments of the present disclosure, there is provided a digitizer tablet calling apparatus, including: the association module is used for creating a calling window in the main equipment and associating and binding the digital panel with the calling window according to the configuration parameters of the digital panel; the conversion module is used for responding to the drawing operation of the digital panel, collecting drawing data of the digital panel through the calling window, and executing conversion on the drawing data of the digital panel according to the digital panel configuration parameters and the program configuration parameters of the target calling program to obtain digital panel events of the digital panel; and the calling module sends the digital panel event to the target calling program through the calling window so as to execute the calling operation of the digital panel.
According to a third aspect of embodiments of the present disclosure, there is provided an electronic device, comprising: a processor; and a memory storing a program, wherein the program comprises instructions that when executed by the processor cause the processor to perform the tablet calling method of the first aspect described above.
According to a fourth aspect of embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium storing computer instructions for causing the computer to perform the tablet calling method according to the first aspect.
In summary, according to the tablet calling scheme provided in the aspects of the present disclosure, a calling window associated and bound with the tablet is created in the host device, so that drawing data of the tablet is converted into corresponding tablet events, and the corresponding tablet events are sent to various expansion programs in the host device to execute the calling of the tablet data. Therefore, the method and the device can realize flexible calling of each calling program in the main equipment on the digital panel, enrich the application scene of the digital panel, improve the expansion application range of the digital panel, support the development of new functions of the digital panel and improve the use experience of the digital panel.
Drawings
Further details, features and advantages of the present disclosure are disclosed in the following description of exemplary embodiments, with reference to the following drawings, wherein:
fig. 1 is a process flow diagram of a digitizer tablet invoking method in accordance with an exemplary embodiment of the present disclosure.
Fig. 2 is a system architecture diagram of a digitizer tablet invoking method embodying exemplary embodiments of the present disclosure.
Fig. 3 is a block diagram of a digitizer tablet calling apparatus according to an exemplary embodiment of the present disclosure.
Fig. 4 is a schematic architecture diagram of an electronic device according to an exemplary embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure have been shown in the accompanying drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustration purposes only and are not intended to limit the scope of the present disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order and/or performed in parallel. Furthermore, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "including" and variations thereof as used herein are intended to be open-ended, i.e., including, but not limited to. The term "based on" is based at least in part on. The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments. Related definitions of other terms will be given in the description below. It should be noted that the terms "first," "second," and the like in this disclosure are merely used to distinguish between different devices, modules, or units and are not used to define an order or interdependence of functions performed by the devices, modules, or units.
It should be noted that references to "one", "a plurality" and "a plurality" in this disclosure are intended to be illustrative rather than limiting, and those of ordinary skill in the art will appreciate that "one or more" is intended to be understood as "one or more" unless the context clearly indicates otherwise. The names of messages or information interacted between the various devices in the embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
The existing main equipment is mainly developed based on a Qt (QtToolkit) frame for controlling the digital board, however, because the Qt frame has program loopholes on the support of the digital board, the main equipment is easy to fail in controlling the digital board, and in this case, the digital board and the main equipment are required to be reconnected, and even the main equipment is restarted to recover normal use, so that the use time cost is increased, and the use experience of a user is greatly influenced.
Furthermore, in the existing Qt framework supporting the digitizer, because all parameter details of the digitizer are hidden, when a digitizer manufacturer develops new functions for the digitizer, a digitizer Application (APP) installed in the host device often cannot be correspondingly expanded in time for the new functions, so that the new functions of the digitizer cannot be normally used in the host device, and the use situation has a larger limitation, which is not beneficial to the post maintenance and function expansion of the digitizer.
Based on the above, various embodiments of the present disclosure provide a tablet calling method, which can provide a developer with absolute control rights to the tablet and the tablet drawing data, so as to greatly improve the reusability and expansion flexibility of the tablet. Specific implementations of various embodiments of the disclosure will be described in detail below with reference to the accompanying drawings.
Fig. 1 is a process flow of a digitizer tablet invoking method according to an exemplary embodiment of the present disclosure. As shown in the figure, this embodiment mainly includes the following steps:
Step S102, creating a calling window in the main equipment, and associating and binding the digital board with the calling window according to the configuration parameters of the digital board.
Referring to fig. 2, a system architecture of a digitizer tablet calling method suitable for the present embodiment is shown. As shown, the system architecture 200 includes a host device 210 and a tablet 220, wherein the host device 210 and the tablet 220 may be communicatively coupled by wire or wirelessly.
In some embodiments, master device 210 is any type of electronic device including, but not limited to: notebook computers, tablet computers, and the like.
In some embodiments, in response to the detection result of the access of the tablet 220 to the main device 210, a system driver of an operating system of the main device 210 is loaded to obtain system interface information, and a system interface of the main device 210 is called to establish connection with the tablet 220 based on the system interface information to obtain configuration parameters of the tablet.
In this embodiment, the operating system in the host device 210 is a windows operating system 212, the system driver is a window 32.Dll library file of a windows system library, and the call window 214 in the host device 210 is constructed based on a Qt framework.
For example, when the host device 210 detects that the digitizer 220 is accessed, it may determine whether a window 32.Dll library file exists in the windows operating system 212 of the host device 210, if so, automatically load the window 32.Dll library file to obtain system interface information in the window 32.Dll library file, and call a system interface (not shown) of the host device 210 to establish a communication connection with the digitizer 220 based on the system interface information to obtain basic configuration parameter information of the digitizer, including but not limited to: the tablet identification information, the tablet system version, the tablet coordinate configuration parameters (maximum transverse coordinates, maximum longitudinal coordinates), and the tablet maximum pressure sensing parameters.
In some embodiments, when it is determined that a system driver is not present in the operating system of the host device 210 (e.g., a windab32. Dll library file is not present in the windows operating system 212), a "system driver miss" prompt may be output through the host device 210 to prompt the user to perform an installation operation of the system driver (windab32. Dll library file).
In some embodiments, the call window 214 of the tablet 220 may be created by a system library file of an operating system of the host device 210 in response to an acquisition operation of the configuration parameters of the tablet 220, and the call window 214 may be associated with the tablet 220 according to the configuration parameters of the tablet 220.
Illustratively, a window class may be registered through a windows system library of the windows operating system 212 of the host device 210, and a window message callback function 218 may be set, and a CHILD window may be created according to the registered window class (e.g., a CHILD window of the type ws_child_ws_ CLIPSIBLINGS _ws_ TABSTOP may be created) as the call window 214 of the tablet 220, and then the call window 214 may be associated with the tablet 220 according to configuration parameters of the tablet 220, so as to implement communication interaction between the tablet 220 and the host device 210.
Step S104, responding to the drawing operation of the digital panel, collecting the drawing data of the digital panel through the calling window, and executing conversion on the drawing data of the digital panel according to the configuration parameters of the digital panel and the program configuration parameters of the target calling program to obtain the digital panel event of the digital panel.
In some embodiments, the drawing data of the digitizer 220 may be collected by the window message callback function 218 in response to the drawing operation of the digitizer 220, and the collected drawing data may be recalled to the call window 214.
Specifically, during the process of performing a graffiti drawing operation using the tablet 220, the window message callback function 218 may capture drawing data of the tablet 220 in real time through a communication interface provided by the tablet 220, and recall the captured drawing data to the call window 214.
In the present embodiment, the drawing data of the tablet 220 may include drawing coordinate values, drawing pressure sensing values, and the like.
In some embodiments, the target caller is a program (e.g., one of the caller 216A or the caller 216B shown in fig. 2) that runs in the foreground of the host device 210.
In some embodiments, the calling program 216A, 216B may be an application (e.g., an online classroom application, a drawing application, etc.) that is pre-installed in the host device 210, and during the operation of these applications, the tablet 220 may be called to perform a graffiti drawing operation.
In some embodiments, the drawing data of the digitizer 220 may be displayed by a display (not shown) of the host device 210, in which case the invoker programs 216A, 216B may be, for example, graphics card drivers loaded in the host device 210.
In some embodiments, the program configuration parameters of the target calling program may include program coordinate configuration parameters. Wherein, the coordinate mapping relationship between the target calling program 216A and the tablet 220 can be determined according to the tablet coordinate configuration parameters of the tablet 220 and the program coordinate configuration parameters of the target calling program (e.g., the calling program 216A), and the mapping conversion process is performed on the drawing coordinate values of the drawing data based on the coordinate mapping relationship, so as to obtain the mapping coordinate values of the drawing data.
Illustratively, in the case where the calling program is a graphics card driver, the program coordinate configuration parameters of the target calling program (e.g., calling program 216A) are the screen global coordinates (display screen maximum abscissa and display screen maximum ordinate) of the display screen. The coordinate mapping relation between the display screen and the tablet can be determined based on the global coordinates (the maximum abscissa of the display screen and the maximum ordinate of the display screen) and the tablet coordinate configuration parameters (the maximum abscissa of the tablet and the maximum ordinate of the tablet), and corresponding mapping conversion is performed on the drawing coordinate values of the drawing data based on the coordinate mapping relation between the two, so that the drawing data corresponds to the mapping coordinate values under the global coordinates of the screen, and the display position of the drawing data in the display screen is determined.
In some embodiments, the percentage conversion process is performed on the drawing pressure-sensitive value of the drawing data according to the tablet maximum pressure-sensitive parameter of the tablet 220, resulting in a pressure-sensitive percentage of the drawing data, from which the stroke thickness of the drawing data in the target calling program (e.g., display screen) can be determined.
In some embodiments, the tablet event identifiable by the call window 214 may be generated based on the mapped coordinate values and the pressure-sensitive percentage of the drawing data.
Step S106, through the call window, the tablet event is sent to the target call program to execute the call operation of the tablet.
In some embodiments, a target caller running in the foreground in the host device may be listened to and a tablet event sent to the target caller in response to a tablet call request by the target caller for the target caller to perform a tablet call operation.
In summary, according to the digitizer calling scheme of the embodiment, the calling window associated with the digitizer binding is created in the main device, so that the drawing data of the digitizer is uniformly converted into the digitizer events by the calling window and sent to each calling program in the main device, so that the calling operation of the digitizer is executed, different codes do not need to be written according to different application requirements, reusability of the digitizer calling development is achieved, and the calling execution efficiency of the digitizer can be effectively improved.
Furthermore, according to the digital board calling scheme, the original drawing data of the digital board is directly obtained through the calling window, and the original drawing data is converted based on the use requirement of an actual calling program, so that the flexibility of the calling operation of the digital board is improved, and the use requirements of different scenes are met. For example, the graffiti effect of the pen font or the writing brush font can be achieved by correspondingly converting the drawing pressure sensing value of the drawing data based on the actual font display requirement.
In addition, the digital board calling scheme of the embodiment directly establishes communication connection with the digital board through the calling window, so that the main equipment can master the absolute control right of the digital board, flexibly control the digital board according to actual use requirements, enable various new functions developed for the digital board to be supported in the main equipment in time, be beneficial to the later maintenance and function expansion of the digital board, and greatly improve the use experience of the digital board.
Fig. 3 shows a block diagram of a digitizer tablet calling apparatus according to an exemplary embodiment of the present disclosure. As shown in the figure, the digitizer tablet calling apparatus 300 of the present embodiment includes:
The association module 302 is configured to create a call window in a host device, and associate and bind the digitizer with the call window according to configuration parameters of the digitizer;
The conversion module 304 is configured to respond to the drawing operation of the tablet, collect drawing data of the tablet through the call window, and perform conversion on the drawing data of the tablet according to the tablet configuration parameter and the program configuration parameter of the target call program, so as to obtain a tablet event of the tablet;
And the calling module 306 sends the tablet event to the target calling program through the calling window so as to execute the calling operation of the tablet.
In some embodiments, the configuration parameters of the digitizer may be obtained by:
Responding to the detection result of the access of the digital panel to the main equipment, loading a system driver of an operating system of the main equipment to acquire system interface information; and calling a system interface of the main equipment based on the system interface information so as to enable the main equipment to be connected and communicated with the digital board, and acquiring configuration parameters of the digital board.
In some embodiments, the operating system of the host device is a windows operating system; the system driver is a window 32.Dll library file of a windows system library.
In some embodiments, the association module 302 is further to: responding to the acquisition operation of the configuration parameters, and creating a calling window of the digital panel through a system library file of an operating system of the main equipment; and according to the configuration parameters of the digital panel, the calling window is associated and bound with the digital panel.
In some embodiments, the association module 302 is further configured to set a window message callback function of the calling window after the calling window is created.
In some embodiments, the conversion module 304 is further to: and responding to the drawing operation of the digital board, collecting drawing data of the digital board through the window message callback function, and sending the drawing data to the calling window.
In some embodiments, the configuration parameters of the tablet include a tablet coordinate configuration parameter and a tablet maximum pressure sensing parameter, and the program configuration parameters of the target calling program include a program coordinate configuration parameter of the target calling program.
In some embodiments, the conversion module 304 is further to: determining a coordinate mapping relation between the digital panel and the target calling program according to the digital panel coordinate configuration parameters and the program coordinate configuration parameters, and performing mapping conversion on the drawing coordinate values of the drawing data based on the coordinate mapping relation to obtain the mapping coordinate values of the drawing data; according to the maximum pressure sensing parameter of the digital panel, performing percentage conversion processing on the drawing pressure sensing value of the drawing data to obtain the pressure sensing percentage of the drawing data; and obtaining the digital panel event identifiable by the calling window according to the mapping coordinate value and the pressure sensing percentage of the drawing data.
In some embodiments, the invocation module 306 is further configured to: monitoring the target calling program running in the foreground in the main equipment; and responding to a tablet calling request of the target calling program, and sending the tablet event to the target calling program so as to execute the calling operation of the tablet.
The embodiments of the present disclosure also provide a non-transitory computer-readable storage medium storing computer instructions for causing the computer to perform the tablet calling method according to the exemplary embodiments of the present disclosure.
The exemplary embodiments of the present disclosure also provide an electronic device including: at least one processor; and a memory communicatively coupled to the at least one processor. The memory stores a computer program executable by the at least one processor for causing the electronic device to perform a tablet calling method according to exemplary embodiments of the present disclosure when executed by the at least one processor.
Referring to fig. 4, a block diagram of an electronic device 400 that may be a server or client of the present disclosure, which is an example of a hardware device that may be applied to aspects of the present disclosure, will now be described. Electronic devices are intended to represent various forms of digital electronic computer devices, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 4, the electronic device 400 includes a computing unit 401 that can perform various suitable actions and processes according to a computer program stored in a Read Only Memory (ROM) 402 or a computer program loaded from a storage unit 408 into a Random Access Memory (RAM) 403. In RAM 403, various programs and data required for the operation of device 400 may also be stored. The computing unit 401, ROM 402, and RAM 403 are connected to each other by a bus 404. An input/output (I/O) interface 405 is also connected to bus 404.
Various components in electronic device 400 are connected to I/O interface 405, including: an input unit 406, an output unit 407, a storage unit 408, and a communication unit 409. The input unit 406 may be any type of device capable of inputting information to the electronic device 400, and the input unit 406 may receive input numeric or character information and generate key signal inputs related to user settings and/or function controls of the electronic device. The output unit 407 may be any type of device capable of presenting information and may include, but is not limited to, a display, speakers, video/audio output terminals, vibrators, and/or printers. Storage unit 408 may include, but is not limited to, magnetic disks, optical disks. The communication unit 409 allows the electronic device 400 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunications networks, and may include, but is not limited to, modems, network cards, infrared communication devices, wireless communication transceivers and/or chipsets, such as bluetooth (TM) devices, wiFi devices, wiMax devices, cellular communication devices, and/or the like.
The computing unit 401 may be a variety of general purpose and/or special purpose processing components having processing and computing capabilities. Some examples of computing unit 401 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 401 performs the respective methods and processes described above. For example, in some embodiments, a digitizer tablet invoking method as described above may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as the storage unit 408. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 400 via the ROM 402 and/or the communication unit 409. In some embodiments, the computing unit 401 may be configured to perform the above-described tablet calling method in any other suitable manner (e.g., by means of firmware).
Program code for carrying out methods of the present disclosure may be written in any combination of one or more programming languages. These program code may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus such that the program code, when executed by the processor or controller, causes the functions/operations specified in the flowchart and/or block diagram to be implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
As used in this disclosure, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and pointing device (e.g., a mouse or trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data service), or that includes a middleware component (e.g., an application service), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the internet.
The computer system may include a client and a server. The client and the server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
It should be noted that each component/step described in the embodiments of the present disclosure may be split into more components/steps, or two or more components/steps or partial operations of the components/steps may be combined into new components/steps according to implementation needs, to achieve the objects of the embodiments of the present disclosure.
The above embodiments are only for illustrating the embodiments of the present disclosure, not for limiting the embodiments of the present disclosure, and various changes and modifications may be made by one of ordinary skill in the relevant art without departing from the spirit and scope of the embodiments of the disclosure, so all equivalent technical solutions also fall within the scope of the embodiments of the present disclosure, the scope of which is defined by the claims.

Claims (10)

1. A digitizer tablet invoking method comprising:
Creating a calling window in a main device, and associating and binding the digital panel and the calling window according to configuration parameters of the digital panel;
Responding to the drawing operation of the digital panel, collecting drawing data of the digital panel through the calling window, and executing conversion on the drawing data of the digital panel according to the digital panel configuration parameters and the program configuration parameters of the target calling program to obtain digital panel events of the digital panel;
And sending the tablet event to the target calling program through the calling window so as to execute the calling operation of the tablet.
2. The method of claim 1, wherein the configuration parameters of the digitizer tablet are obtained by:
Responding to the detection result of the access of the digital panel to the main equipment, loading a system driver of an operating system of the main equipment to acquire system interface information;
And calling a system interface of the main equipment based on the system interface information so as to enable the main equipment to be connected and communicated with the digital board, and acquiring configuration parameters of the digital board.
3. The method of claim 2, wherein,
The operating system of the main equipment is a windows operating system;
the system driver is a window 32.Dll library file of a windows system library.
4. A method according to any one of claims 1 to 3, wherein the creating a call window at the host device and associating the tablet with the call window according to configuration parameters of the tablet comprises:
responding to the acquisition operation of the configuration parameters, and creating a calling window of the digital panel through a system library file of an operating system of the main equipment;
And according to the configuration parameters of the digital panel, the calling window is associated and bound with the digital panel.
5. The method of claim 4, wherein after creating the call window, the method further comprises:
setting a window message callback function of the calling window;
And wherein the responding to the drawing operation of the digitizer, collecting drawing data of the digitizer through the calling window, comprises:
and responding to the drawing operation of the digital board, collecting drawing data of the digital board through the window message callback function, and sending the drawing data to the calling window.
6. The method of claim 5, wherein the configuration parameters of the digitizer comprise a digitizer coordinate configuration parameter and a digitizer maximum pressure sensing parameter, and the program configuration parameters of the target caller comprise program coordinate configuration parameters of the target caller;
and wherein the converting the drawing data of the tablet according to the tablet configuration parameters and the program configuration parameters of the target calling program to obtain a tablet event of the tablet, includes:
Determining a coordinate mapping relation between the digital panel and the target calling program according to the digital panel coordinate configuration parameters and the program coordinate configuration parameters, and performing mapping conversion on the drawing coordinate values of the drawing data based on the coordinate mapping relation to obtain the mapping coordinate values of the drawing data;
According to the maximum pressure sensing parameter of the digital panel, performing percentage conversion processing on the drawing pressure sensing value of the drawing data to obtain the pressure sensing percentage of the drawing data;
And obtaining the digital panel event identifiable by the calling window according to the mapping coordinate value and the pressure sensing percentage of the drawing data.
7. The method according to claim 1 or 6, wherein the sending, through the call window, the digitizer event to the target caller to perform a call operation of the digitizer, comprises:
Monitoring the target calling program running in the foreground in the main equipment;
And responding to a tablet calling request of the target calling program, and sending the tablet event to the target calling program so as to execute the calling operation of the tablet.
8. A digitizer tablet recall device comprising:
The association module is used for creating a calling window in the main equipment and associating and binding the digital panel with the calling window according to the configuration parameters of the digital panel;
The conversion module is used for responding to the drawing operation of the digital panel, collecting drawing data of the digital panel through the calling window, and executing conversion on the drawing data of the digital panel according to the digital panel configuration parameters and the program configuration parameters of the target calling program to obtain digital panel events of the digital panel;
And the calling module sends the digital panel event to the target calling program through the calling window so as to execute the calling operation of the digital panel.
9. An electronic device, comprising:
A processor; and
A memory in which a program is stored,
Wherein the program comprises instructions which, when executed by the processor, cause the processor to perform the tablet calling method of any of claims 1 to 7.
10. A non-transitory computer-readable storage medium storing computer instructions for causing the computer to perform the digitizer tablet invoking method according to any of claims 1-7.
CN202410157576.2A 2024-02-04 2024-02-04 Digital board calling method and device, electronic equipment and storage medium Pending CN117971058A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410157576.2A CN117971058A (en) 2024-02-04 2024-02-04 Digital board calling method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410157576.2A CN117971058A (en) 2024-02-04 2024-02-04 Digital board calling method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117971058A true CN117971058A (en) 2024-05-03

Family

ID=90861388

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410157576.2A Pending CN117971058A (en) 2024-02-04 2024-02-04 Digital board calling method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117971058A (en)

Similar Documents

Publication Publication Date Title
US11451619B2 (en) App remote control method and related devices
US20140082511A1 (en) Method and system for emulating desktop software applications in a mobile communication network
CN104199723B (en) Camera mapping method based on virtual equipment
US20140032699A1 (en) Remote user interface in a terminal server environment
US20140361991A1 (en) Method and electronic device for controlling mouse module
RU2433462C2 (en) Alternative graphics pipeline
CN114748873B (en) Interface rendering method, device, equipment and storage medium
CN113655975B (en) Image display method, image display device, electronic apparatus, and medium
CN108228139B (en) Singlechip development system and device based on HTML5 browser frame
EP3637257A1 (en) View switching
CN116483425A (en) Micro-service gray level edition issuing method, device, equipment and storage medium thereof
CN117971058A (en) Digital board calling method and device, electronic equipment and storage medium
CN115731319A (en) Graph drawing method, device, equipment and storage medium
CN113835835B (en) Method, device and computer readable storage medium for creating consistency group
CN115586882A (en) Multi-device screen projection processing method and device and electronic device
CN115269048A (en) Concurrency control method of application program, electronic device and readable storage medium
CN112100187A (en) Student learning data storage method and device based on VueJS
CN113835816A (en) Virtual machine desktop display method, device, equipment and readable storage medium
CN111443983B (en) Application program virtualization method and device, electronic equipment and storage medium
CN105068803A (en) Human-computer interface realization method and device
CN110958243A (en) Network vulnerability submitting method and device, storage medium and electronic equipment
CN117131852A (en) Template file generation method, device, equipment and storage medium
CN113840165B (en) Screen recording method, device, equipment and medium
CN113126865B (en) Note generation method and device in video learning process, electronic equipment and medium
CN115905766A (en) Method and device for automatically executing page operation and electronic equipment

Legal Events

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