CN114510168A - Cursor control method and device, electronic device and computer readable storage medium - Google Patents

Cursor control method and device, electronic device and computer readable storage medium Download PDF

Info

Publication number
CN114510168A
CN114510168A CN202111683381.4A CN202111683381A CN114510168A CN 114510168 A CN114510168 A CN 114510168A CN 202111683381 A CN202111683381 A CN 202111683381A CN 114510168 A CN114510168 A CN 114510168A
Authority
CN
China
Prior art keywords
target
laser pen
color
target laser
preset
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
CN202111683381.4A
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.)
Maojia Technology Guangdong Co ltd
Original Assignee
Maojia Technology Guangdong 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 Maojia Technology Guangdong Co ltd filed Critical Maojia Technology Guangdong Co ltd
Priority to CN202111683381.4A priority Critical patent/CN114510168A/en
Publication of CN114510168A publication Critical patent/CN114510168A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/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
    • G06F3/04812Interaction techniques based on cursor appearance or behaviour, e.g. being affected by the presence of displayed objects

Abstract

The invention discloses a cursor control method, a cursor control device, an electronic device and a computer readable storage medium, wherein the method comprises the following steps: when a connection request sent by a target laser pen is received, the connection request is used for being connected with the target laser pen; when first indication operation sent by a target laser pen is received, determining a first indication area corresponding to the first indication operation; determining a target color corresponding to the target laser pen in a plurality of preset colors; and outputting a cursor corresponding to the target color in the first indication area. By utilizing the method, the electronic device outputs the cursor, and the cursor of the target color output by the electronic device is not absorbed, so that the indication operation of the laser pen is clear.

Description

Cursor control method and device, electronic device and computer readable storage medium
Technical Field
The present invention relates to the field of laser pointer control technologies, and in particular, to a cursor control method, a cursor control device, an electronic device, and a computer-readable storage medium.
Background
Video conferences are increasingly popular in the market, and users project video conferences of user equipment to electronic devices through the user equipment (such as a computer or a mobile phone) by using a wireless screen projection technology. The electronic device has a larger screen and an operation space, and the video conference is carried out by the electronic device, so that the video conference is more convenient and faster due to a larger visual field and an operation space.
Generally, pointing operation is performed through a video conference of the laser pointer electronic device, but light of the laser pointer is easily absorbed by the electronic device, resulting in unclear pointing operation of the laser pointer.
Disclosure of Invention
The invention mainly aims to provide a cursor control method, a cursor control device, an electronic device and a computer readable storage medium, and aims to solve the technical problem that the indication operation of a laser pen is unclear in the prior art.
In order to achieve the above object, the present invention provides a cursor control method, including:
when a connection request sent by a target laser pen is received, the connection request is used for being connected with the target laser pen;
when a first indication operation sent by a target laser pen is received, determining a first indication area corresponding to the first indication operation;
determining a target color corresponding to the target laser pen in a plurality of preset colors;
and outputting a cursor corresponding to the target color in the first indication area.
In addition, to achieve the above object, the present invention further provides a cursor control device, including:
the connection module is used for connecting the target laser pen by using a connection request when receiving the connection request sent by the target laser pen;
the receiving module is used for determining a first indication area corresponding to a first indication operation when the first indication operation sent by the target laser pen is received;
the determining module is used for determining a target color corresponding to the target laser pen in a plurality of preset colors;
and the output module is used for outputting the cursor corresponding to the target color in the first indication area.
In addition, in order to achieve the above object, the present invention further provides an electronic device, which includes a memory, a processor and a cursor control program stored in the memory and running on the processor, wherein the processor implements the steps of the cursor control method when executing the cursor control program.
In addition, to achieve the above object, the present invention further provides a computer readable storage medium, on which a cursor control program is stored, and the cursor control program, when executed by a processor, implements the steps of the cursor control method as described above.
In the prior art, the light of the laser pen can be absorbed by the electronic device, so that the light indicating area of the laser pen cannot clearly show the light of the laser pen, and the indicating operation of the laser pen is not clear. By using the method, the electronic device determines the target color of the target laser pen, and when the target laser pen performs the first indication operation, the electronic device outputs the cursor corresponding to the target color in the first indication area corresponding to the first indication operation, the cursor of the target color is used for indicating the first indication operation, the cursor of the target color output by the electronic device is not emitted by the target laser pen, and the cursor of the target color is not absorbed, so that the indication operation of the laser pen is clear.
Drawings
In order to more clearly illustrate the embodiments or technical solutions of the present invention, the drawings used in the embodiments or technical solutions of the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the structures shown in the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of an electronic device in a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a cursor control method according to a first embodiment of the present invention;
FIG. 3 is a block diagram of a cursor control device according to a first embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an electronic device in a hardware operating environment according to an embodiment of the present invention.
Generally, an electronic device includes: at least one processor 301, a memory 302, and a cursor control program stored on the memory and executable on the processor, the cursor control program being configured to implement the steps of the cursor control method as before.
The processor 301 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on. The processor 301 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 301 may also include a main processor and a coprocessor, where the main processor is a processor for processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 301 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. The processor 301 may further include an AI (Artificial Intelligence) processor for processing operations related to the cursor control method, such that the cursor control method model may be trained and learned autonomously, improving efficiency and accuracy.
Memory 302 may include one or more storage media, which may be non-transitory. Memory 302 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory storage medium in memory 302 is used to store at least one instruction for execution by processor 301 to implement the cursor control method provided by the method embodiments herein.
In some embodiments, the terminal may further include: a communication interface 303 and at least one peripheral device. The processor 301, the memory 302 and the communication interface 303 may be connected by a bus or signal lines. Various peripheral devices may be connected to communication interface 303 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 304, a display screen 305, and a power source 306.
The communication interface 303 may be used to connect at least one peripheral device related to I/O (Input/Output) to the processor 301 and the memory 302. In some embodiments, processor 301, memory 302, and communication interface 303 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 301, the memory 302 and the communication interface 303 may be implemented on a single chip or circuit board, which is not limited in this embodiment.
The Radio Frequency circuit 304 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 304 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 304 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 304 comprises: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuitry 304 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the rf circuit 304 may further include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 305 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 305 is a touch display screen, the display screen 305 also has the ability to capture touch signals on or over the surface of the display screen 305. The touch signal may be input to the processor 301 as a control signal for processing. At this point, the display screen 305 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display screen 305 may be one, the front panel of the electronic device; in other embodiments, the display screens 305 may be at least two, respectively disposed on different surfaces of the electronic device or in a folded design; in still other embodiments, the display screen 305 may be a flexible display screen disposed on a curved surface or a folded surface of the electronic device. Even further, the display screen 305 may be arranged in a non-rectangular irregular figure, i.e. a shaped screen. The Display screen 305 may be made of LCD (liquid crystal Display), OLED (Organic Light-Emitting Diode), and the like.
The power supply 306 is used to power various components in the electronic device. The power source 306 may be alternating current, direct current, disposable or rechargeable. When the power source 306 includes a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology.
Those skilled in the art will appreciate that the configuration shown in fig. 1 does not constitute a limitation of the electronic device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
In addition, an embodiment of the present invention further provides a computer-readable storage medium, where a cursor control program is stored on the computer-readable storage medium, and when the cursor control program is executed by a processor, the steps of the cursor control method are implemented. Therefore, a detailed description thereof will be omitted. In addition, the beneficial effects of the same method are not described in detail. For technical details not disclosed in the embodiments of the storage medium referred to in the present application, reference is made to the description of the embodiments of the method of the present application. It is determined that program instructions may be deployed to be executed on one electronic device or on multiple electronic devices at one site or distributed across multiple sites and interconnected by a communication network.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The computer-readable storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
Based on the above hardware structure, an embodiment of the cursor control method of the present invention is provided.
Referring to fig. 2, fig. 2 is a schematic flowchart of a cursor control method according to a first embodiment of the present invention, the method including the following steps:
step S11: and when receiving the connection request sent by the target laser pen, the electronic device is connected with the target laser pen by using the connection request.
The electronic device is installed with a cursor control program, and when the electronic device executes the cursor control program, the steps of the cursor control method of the present invention are implemented. The target laser pointer is the laser pointer performing the method of the present invention.
Generally, the electronic device and the target laser pen are both installed with a bluetooth module and an infrared module, the user presses the transmission button of the target laser pen long, the infrared module of the target laser pen sends an infrared signal to be paired with the device — the connection request in step S11, the electronic device searches for the bluetooth module of the target laser pen by using its own bluetooth module based on the received infrared signal to be paired with the device, and realizes the communication connection with the bluetooth module of the target laser pen, i.e., in the present invention, the electronic device and the target laser pen are connected through bluetooth.
Step S12: the electronic device determines a first indication area corresponding to a first indication operation when receiving the first indication operation sent by the target laser pen.
In specific application, the target laser pen emits light, the operation of irradiating a certain display area in the display screen of the electronic device with the light is first indication operation, and the area irradiated with the light is determined to be the first indication area in the display screen of the electronic device according to the first indication operation.
Step S13: the electronic device determines a target color corresponding to the target laser pen in the plurality of preset colors.
Step S14: the electronic device outputs a cursor corresponding to the target color in the first indication area.
It should be noted that, in order to distinguish different laser pens, a plurality of different preset colors are set, the number of the preset colors is generally the maximum number of the laser pens allowed to be accessed by the electronic device, and when the number of the laser pens accessed by the electronic device exceeds the maximum number, the electronic device compares cards, so that the use experience is poor.
That is, before the electronic device connects with the target laser pointer by using the connection request, the method further includes:
the electronic device determines the connected number of the connected laser pens;
and if the connected quantity does not exceed the preset threshold value, triggering the electronic device to connect with the target laser pen by using the connection request.
Similarly, when the number of connected laser pens exceeds a preset threshold, the electronic device does not allow the target laser pen to be connected. The preset threshold may be determined based on actual conditions, and in the present invention, the number of the preset thresholds is usually not more than 5, and meanwhile, the corresponding plurality of preset colors are also 5 colors.
Specifically, before the electronic device determines the target color corresponding to the target laser pen in the plurality of preset colors, the method further includes:
the electronic device determines a target color identifier corresponding to the target laser pen in a plurality of preset color identifiers corresponding to a plurality of preset colors one by one;
the electronic device determines a target color corresponding to the target laser pen in a plurality of preset colors, including:
the electronic device determines a color corresponding to the target color identifier in the plurality of preset colors, wherein the color corresponding to the target color identifier is a target color corresponding to the target laser pen.
In the present invention, the color is determined by color identifiers, that is, for each preset color, one preset color identifier corresponds to, and the number of the preset color identifiers is the same as the number of the preset colors, and the preset color identifiers are usually specific numerical values, for example, including 5 preset colors, 5 preset color identifiers correspond to, and the preset color identifiers are respectively five numerical values of 0, 1, 2, 3, and 4.
In the present invention, the target device identifier (device identifier of the target laser pen) ═ total number of preset colors (or total number of preset color identifiers) × preset multiple + target color identifier, where the preset multiple is set by the user based on the requirement and may be any value from 3 to 100. It can be seen that the target device identification is also a numerical value.
Generally, after a target laser pen is accessed, according to the fact that a target device identifier corresponding to the target laser pen is obtained, and after a first indication area is determined, the following operation is performed by using the target device identifier to extract an original target color identifier: the target color identification is the target equipment identification% preset multiple, the target color identification can be obtained, and then the corresponding target color is determined by utilizing the corresponding relation between the preset color identification and the preset color.
And finally, outputting a cursor of the target color in the corresponding first indication area. To achieve a clear indication of the target laser pointer.
Furthermore, the target laser pens correspond to the target color marks one by one; before the electronic device determines the target color identifier corresponding to the target laser pen in the plurality of preset color identifiers corresponding to the plurality of preset colors one to one, the method further includes:
the electronic device acquires a plurality of connection times corresponding to a plurality of target laser pens one by one;
the electronic device determines the equipment arrangement sequence of the target laser pens according to the connection times;
the electronic device determines a target color identifier corresponding to the target laser pen in a plurality of preset color identifiers corresponding to a plurality of preset colors one to one, and the method comprises the following steps:
the electronic device determines a target color identifier corresponding to each target laser pen included in the plurality of target laser pens in the plurality of preset color identifiers corresponding to the plurality of preset colors according to the arrangement sequence of the plurality of preset color identifiers and the equipment arrangement sequence.
The preset color identifiers may be arranged in an arrangement order (for example, the preset color identifiers are arranged from small to large, and the arrangement order of five preset color identifiers is 0-1-2-3-4), any form of order may be adopted, the device arrangement order is obtained by the plurality of target laser pens according to the sequence of connection time, the connection time of one target laser pen is in the third position, the target laser pen is also in the third position in the device arrangement order, and at this time, the color identifiers arranged in the third position in the plurality of preset color identifiers (for example, 5 color identifiers, and the corresponding preset color identifier is 2). For a plurality of target laser pens, corresponding target color identifications are obtained according to the method.
Then, for each target color identifier, the cursor of the corresponding target color is continuously output in the above manner.
Further, before the electronic device determines the target color identifier corresponding to the target laser pen in the plurality of preset color identifiers corresponding to the plurality of preset colors one to one, the method further includes:
the electronic device acquires target equipment information of a target laser pen;
if the historical record set determined by the electronic device based on the target equipment information does not have the connection record of the target laser pen, triggering the electronic device to determine the target color identifier corresponding to the target laser pen in a plurality of preset color identifiers corresponding to a plurality of preset colors one by one.
Meanwhile, after the electronic device acquires the target device information of the target laser pen, the method further comprises the following steps:
if the electronic device determines that the historical record set based on the target equipment information contains the connection record of the target laser pen, the electronic device obtains a historical color identifier corresponding to the target laser pen;
when a second indication operation sent by the target laser pen is received, the electronic device determines a second indication area corresponding to the second indication operation;
the electronic device determines a historical target color corresponding to the historical color identifier in a plurality of preset colors;
the electronic device outputs a cursor corresponding to the historical target color in the second indication area.
In the specific application, the target laser pen emits light, the operation of irradiating a certain display area in the display screen of the electronic device with the light is the second indication operation, and the area irradiated with the light is determined to be the second indication area in the display screen of the electronic device according to the second indication operation.
When the connection records including the target device information exist in the history record set, the connection records of the target laser pen exist in the history record set, and when the connection records in the history record set do not include the target device information, the connection records of the target laser pen do not exist in the history record set.
The history records have connection records of the accessed laser pen in a centralized manner, and color identification can be determined again through the connection records, or corresponding history color identifications can be directly obtained. Wherein, the connection records in the history record set are obtained in the following way, taking the target connection record of the target laser pen as an example: the electronic equipment establishes a mapping relation between the equipment information of the laser pen and the connection record; and adding the mapping relation to the historical record set or updating the historical record set based on the mapping relation. Other accessed laser pens in the history record set also generate corresponding connection records according to the mode, and the invention is not repeated.
When target equipment information of a target laser pen exists in a history record set, the fact that the connection record of the target laser pen exists in the history record set is indicated, then a corresponding connection record, namely a history connection record, is indexed in the history record set according to the target equipment information, then a corresponding equipment identifier, namely a history equipment identifier, is obtained in the history connection record according to a mapping relation and the target equipment information, then the corresponding color identifier, namely the history color identifier, is obtained according to the history equipment identifier in the mode, and then the history target color corresponding to the history color identifier is determined in a plurality of preset colors; a cursor corresponding to the history target color may be output in the second indication area.
And if the target equipment information of the target laser pen does not exist in the historical record set, indicating that the connection record of the target laser pen does not exist in the historical record set, and updating the historical record set according to the mode.
In specific application, after being connected to an electronic Device, a target laser pen is used as an HID (Universal Serial Bus-Human Interface Device) Device, and different Device identifications (Device IDs) are generated on a Native layer (local layer) of a system according to a time sequence.
In the prior art, the light of the laser pen can be absorbed by the electronic device, so that the light indicating area of the laser pen cannot clearly show the light of the laser pen, and the indicating operation of the laser pen is not clear. By using the method, the electronic device determines the target color of the target laser pen, and when the target laser pen performs the first indication operation, the electronic device outputs the cursor corresponding to the target color in the first indication area corresponding to the first indication operation, the cursor of the target color is used for indicating the first indication operation, the cursor of the target color output by the electronic device is not emitted by the target laser pen, and the cursor of the target color is not absorbed, so that the indication operation of the laser pen is clear.
Referring to fig. 3, fig. 3 is a block diagram of a first embodiment of a cursor control device of the present invention, the device is used in an electronic device, and based on the same inventive concept as the previous embodiment, the device includes:
the connection module 10 is used for connecting the target laser pen with a connection request when receiving the connection request sent by the target laser pen;
the receiving module 20 is configured to determine, when a first indication operation sent by a target laser pen is received, a first indication area corresponding to the first indication operation;
the determining module 30 is configured to determine a target color corresponding to the target laser pen in a plurality of preset colors;
and the output module 40 is used for outputting a cursor corresponding to the target color in the first indication area.
Further, the apparatus further comprises:
the color identification determining module is used for determining a target color identification corresponding to the target laser pen in a plurality of preset color identifications corresponding to a plurality of preset colors one by one;
the determining module 30 is further configured to determine, among the plurality of preset colors, a color corresponding to the target color identifier, where the color corresponding to the target color identifier is a target color corresponding to the target laser pen.
Further, the apparatus further comprises:
the acquisition module is used for acquiring target equipment information of the target laser pen;
the color identifier determining module is further configured to trigger an operation of determining a target color identifier corresponding to the target laser pen from a plurality of preset color identifiers corresponding to a plurality of preset colors one to one if the connection record of the target laser pen does not exist in the history record set determined based on the target device information.
Furthermore, the target laser pens correspond to the target color marks one by one; the device still includes:
the time acquisition module is used for acquiring a plurality of connection times which correspond to the target laser pens one by one; determining the equipment arrangement sequence of a plurality of target laser pens according to the plurality of connection times;
the color identifier determining module is further configured to determine, according to the arrangement order of the plurality of preset color identifiers and the device arrangement order, a target color identifier corresponding to each target laser pen included in the plurality of target laser pens in the plurality of preset color identifiers corresponding to the plurality of preset colors.
Further, the apparatus further comprises:
the establishing module is used for establishing a mapping relation between the equipment information of the laser pen and the connection record; and adding the mapping relation to the historical record set or updating the historical record set based on the mapping relation.
Further, the apparatus further comprises:
the historical color determining module is used for obtaining a historical color identifier corresponding to the target laser pen if the connection record of the target laser pen exists in the historical record set determined based on the target device information; when a second indication operation sent by the target laser pen is received, determining a second indication area corresponding to the second indication operation; determining a historical target color corresponding to the historical color identifier in a plurality of preset colors; and outputting a cursor corresponding to the historical target color in the second indication area.
Further, the connection module 10 is specifically configured to determine the connected number of connected laser pens; and if the number of connected laser pens does not exceed the preset threshold value, triggering the operation of connecting with the target laser pen by using the connection request.
It should be noted that, since the steps executed by the apparatus of this embodiment are the same as the steps of the foregoing method embodiment, the specific implementation and the achievable technical effects thereof can refer to the foregoing embodiment, and are not described herein again.
The above description is only an alternative embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications and equivalents of the present invention, which are made by the contents of the present specification and the accompanying drawings, or directly/indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A cursor control method, comprising:
when a connection request sent by a target laser pen is received, connecting the target laser pen with the connection request;
when a first indication operation sent by the target laser pen is received, determining a first indication area corresponding to the first indication operation;
determining a target color corresponding to the target laser pen in a plurality of preset colors;
and outputting a cursor corresponding to the target color in the first indication area.
2. The method of claim 1, wherein prior to determining the target color corresponding to the target laser pointer from among the plurality of preset colors, the method further comprises:
determining a target color identifier corresponding to the target laser pen in a plurality of preset color identifiers corresponding to the preset colors one by one;
the determining a target color corresponding to the target laser pen in a plurality of preset colors includes:
and determining a color corresponding to the target color identifier in the plurality of preset colors, wherein the color corresponding to the target color identifier is the target color corresponding to the target laser pen.
3. The method as claimed in claim 2, wherein before determining the target color identifier corresponding to the target laser pointer from among a plurality of preset color identifiers corresponding to a plurality of preset colors one to one, the method further comprises:
acquiring target equipment information of the target laser pen;
and if the connection record of the target laser pen does not exist in the history record set determined based on the target equipment information, triggering the operation of determining the target color identifier corresponding to the target laser pen in a plurality of preset color identifiers corresponding to the preset colors one by one.
4. The method of claim 2, wherein a plurality of target laser pointers correspond one-to-one with a plurality of target color identifiers; before determining the target color identifier corresponding to the target laser pen in a plurality of preset color identifiers corresponding to the preset colors one by one, the method further includes:
acquiring a plurality of connection times corresponding to a plurality of target laser pens one by one;
determining the equipment arrangement sequence of the target laser pens according to the connection time;
determining the target color identifier corresponding to the target laser pen in a plurality of preset color identifiers corresponding to the preset colors one by one, includes:
and determining a target color identifier corresponding to each target laser pen included in the target laser pens in a plurality of preset color identifiers corresponding to a plurality of preset colors according to the arrangement sequence of the preset color identifiers and the equipment arrangement sequence.
5. The method of claim 3, wherein prior to obtaining the target device information for the target laser pointer, the method further comprises:
establishing a mapping relation between the equipment information of the laser pen and the connection record;
adding the mapping relationship to the history set, or updating the history set based on the mapping relationship.
6. The method of claim 5, wherein after the obtaining target device information for the target laser pointer, the method further comprises:
if the connection record of the target laser pen exists in the history record set determined based on the target equipment information, acquiring a history color identifier corresponding to the target laser pen;
when a second indication operation sent by the target laser pen is received, determining a second indication area corresponding to the second indication operation;
determining a historical target color corresponding to the historical color identification in a plurality of preset colors;
and outputting a cursor corresponding to the historical target color in the second indication area.
7. The method of claim 1, wherein prior to said requesting a connection with said target laser pointer using said connection, said method further comprises:
determining the connected number of the connected laser pens;
and if the connected quantity does not exceed a preset threshold value, triggering the operation of connecting the target laser pen by using the connection request.
8. A cursor control device, comprising:
the connection module is used for connecting the target laser pen by using a connection request when receiving the connection request sent by the target laser pen;
the receiving module is used for determining a first indication area corresponding to a first indication operation when the first indication operation sent by the target laser pen is received;
the determining module is used for determining a target color corresponding to the target laser pen in a plurality of preset colors;
and the output module is used for outputting a cursor corresponding to the target color in the first indication area.
9. An electronic device, comprising a memory, a processor, and a cursor control program stored on the memory and running on the processor, wherein the processor implements the steps of the cursor control method according to any one of claims 1 to 7 when executing the cursor control program.
10. A computer-readable storage medium, having stored thereon a cursor control program which, when executed by a processor, implements the steps of the cursor control method of any one of claims 1 to 7.
CN202111683381.4A 2021-12-31 2021-12-31 Cursor control method and device, electronic device and computer readable storage medium Pending CN114510168A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111683381.4A CN114510168A (en) 2021-12-31 2021-12-31 Cursor control method and device, electronic device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111683381.4A CN114510168A (en) 2021-12-31 2021-12-31 Cursor control method and device, electronic device and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN114510168A true CN114510168A (en) 2022-05-17

Family

ID=81549922

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111683381.4A Pending CN114510168A (en) 2021-12-31 2021-12-31 Cursor control method and device, electronic device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN114510168A (en)

Similar Documents

Publication Publication Date Title
CN108958606B (en) Split screen display method and device, storage medium and electronic equipment
CN111277991B (en) Operator name display method and device, mobile terminal and storage medium
CN112883036A (en) Index creation method, device, storage server and storage medium
CN113489630A (en) Network distribution method, device, storage medium and electronic terminal
CN114048168A (en) Electronic archive filing method, device, equipment, system and storage medium
CN112612526B (en) Application program control method, device, terminal equipment and storage medium
CN112566244B (en) Equipment positioning method, device, terminal equipment and storage medium
CN105335434B (en) Log management method and device and electronic equipment
CN112351097A (en) Device control method, device, sending end and storage medium
CN111026457A (en) Hardware configuration method and device, storage medium and terminal equipment
CN113225234B (en) Asset detection method, device, terminal equipment and computer readable storage medium
CN110022600A (en) Adjusting method, device, storage medium and the mobile terminal of driving current
CN114510168A (en) Cursor control method and device, electronic device and computer readable storage medium
CN113098902A (en) Method and device for managing vulnerability of network equipment, management terminal equipment and storage medium
CN109831770B (en) Pairing method and device of mobile terminal, storage medium and mobile terminal
CN110995324B (en) Bluetooth communication method, device, storage medium and terminal equipment
CN113888669A (en) Winding layout drawing method, device, equipment and storage medium
CN106681845B (en) Method and device for managing communication messages
CN104866287B (en) Method and device for generating function bar
CN110109582B (en) Display method and device of mobile terminal and storage medium
CN106033358B (en) Batch installation method and device of application programs
CN114721785B (en) Configuration method, device, equipment and storage medium of software application library of virtual machine
CN113895646B (en) Automatic measurement method and device for attitude adjustment butt joint of airplane components
CN109189254B (en) Input device based on touch screen drive, operation method, system and storage medium
CN112348585A (en) Virtual resource sending method, device, terminal equipment and storage medium

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