CN112581742A - Method and device for controlling electronic whiteboard through infrared remote control and storage medium - Google Patents

Method and device for controlling electronic whiteboard through infrared remote control and storage medium Download PDF

Info

Publication number
CN112581742A
CN112581742A CN202011404707.0A CN202011404707A CN112581742A CN 112581742 A CN112581742 A CN 112581742A CN 202011404707 A CN202011404707 A CN 202011404707A CN 112581742 A CN112581742 A CN 112581742A
Authority
CN
China
Prior art keywords
key
module
infrared
windows
electronic whiteboard
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
CN202011404707.0A
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.)
Guangzhou Lango Electronic Science and Technology Co Ltd
Original Assignee
Guangzhou Lango Electronic Science and 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 Guangzhou Lango Electronic Science and Technology Co Ltd filed Critical Guangzhou Lango Electronic Science and Technology Co Ltd
Priority to CN202011404707.0A priority Critical patent/CN112581742A/en
Publication of CN112581742A publication Critical patent/CN112581742A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C23/00Non-electrical signal transmission systems, e.g. optical systems
    • G08C23/04Non-electrical signal transmission systems, e.g. optical systems using light waves, e.g. infrared

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The invention provides a method, a device and a storage medium for controlling an electronic whiteboard through infrared remote control, wherein the device comprises a touch screen module, an Android display module and a Windows module. The Android display module is used for receiving the infrared signals, converting the infrared signals into code values, matching out keys or key combinations corresponding to the code values, and sending the keys or key combinations belonging to the Windows module to the touch screen module. And analyzing the keys or key combination of the touch screen module to obtain the HID key value and sending the HID key value to the Windows module. And the Windows module responds to the key or the key combination corresponding to the HID key value. The invention realizes the purpose of controlling the Windows module by using any combination key of the infrared remote controller, and improves the user experience.

Description

Method and device for controlling electronic whiteboard through infrared remote control and storage medium
Technical Field
The invention belongs to the technical field of touch screen control of electronic whiteboards, and particularly relates to a method, a device and a storage medium for controlling an electronic whiteboard by utilizing infrared remote control.
Background
With the development of electronic information technology, electronic whiteboards are used more and more widely, and users have higher requirements on the convenience degree of screen control of the electronic whiteboards. At present, an electronic whiteboard system mainly includes an Android display module, a touch screen module, and an OPS (Operating system) module. The OPS module is typically a Windows module. The Windows module generally receives touch input or a mouse and a keyboard, and cannot be directly controlled by using an infrared remote controller. Some Windows combination key operations such as CTRL + ALT + DEL, ALT + F4, etc. require the use of keyboard or soft keyboard operations, nor do they directly use touch operations. The above-mentioned problems bring a bad experience to the user.
Disclosure of Invention
The invention aims to provide a method, a device and a storage medium for controlling an electronic whiteboard by using infrared remote control, which can solve the problem that a Windows module cannot be directly controlled by using an infrared remote controller in the prior art.
The purpose of the invention is realized by the following technical scheme:
in a first aspect, the present invention provides a method for controlling an electronic whiteboard through infrared remote control, including the following steps:
step 1, the remote controller sends a key message to the electronic whiteboard through an infrared signal;
step 2, receiving the infrared signal by an Android display module of the electronic whiteboard, and analyzing the infrared signal to obtain a code value;
step 3, the Android display module searches a key or a key combination corresponding to the code value;
step 4, the Android display module judges whether the key or the key combination corresponding to the code value is a Windows module function key, and if so, the character string of the key or the key combination is sent to the touch screen;
and 5, after the system of the touch screen receives the character string, analyzing the character string to obtain the HID key value of the key corresponding to the character string. Sending the HID key value of the key to the Windows module through the USB interface;
and 6, the Windows module responds to the key corresponding to the HID key value or the function of the key combination.
Further, the step 2 comprises:
step 201, an infrared receiving module of an Android display module converts an infrared signal into a continuously converted high level and a continuously converted low level and sends the high level and the low level to a driving unit of the Android display module;
step 202, the driving unit of the Android display module analyzes the rising edge or the falling edge of the high level, so that a code value corresponding to the infrared signal sent by the remote controller is obtained.
Further, the method for searching the key or key combination corresponding to the code value comprises the following steps: traversing a two-dimensional array set composed of a plurality of two-dimensional arrays, recording the corresponding relation between the code values and the key or key combination by the two-dimensional arrays, and matching the key or key combination corresponding to the code values by searching the code values in the two-dimensional arrays.
In a second aspect, the invention provides a device for controlling an electronic whiteboard through infrared remote control, which comprises a touch screen module, an Android display module and a Windows module; the Android display module is connected with the touch screen module through a serial port, and the touch screen module is connected with the Windows module through a USB interface; the Android display module comprises an infrared receiver, a driving unit and a storage unit, wherein:
the infrared receiver is used for receiving an infrared signal sent by the remote controller and converting the infrared signal into a continuously converted high level and a continuously converted low level;
the driving unit analyzes the rising edge or the falling edge of the high level to obtain a code value corresponding to the infrared signal sent by the remote controller, traverses the two-dimensional array set and searches a key or a key combination corresponding to the code value; sending the keys or key combinations belonging to the Windows module to the touch screen module;
the storage unit is used for storing the two-dimensional array set.
Furthermore, the two-dimensional array set is composed of a plurality of two-dimensional array numbers, and each two-dimensional array records the corresponding relation between the code value and the key or the key combination.
Further, the touch screen module is configured to analyze a key or a key combination of the Windows module to obtain an HID key value of the key corresponding to the key or the key combination, and send the HID key value of the key to the Windows module.
Furthermore, the Windows module responds to the key or key combination function corresponding to the HID key.
In a third aspect, the present invention provides a storage medium, in which a computer program is stored, and the computer program is run to execute the method for controlling an electronic whiteboard through infrared remote control.
In a fourth aspect, the present invention provides an electronic whiteboard, including the above apparatus for controlling an electronic whiteboard by infrared remote control.
The method for controlling the electronic whiteboard by using the infrared remote control can be adapted to various remote controllers to control the Android display module and the Windows module, so that the purpose of controlling the Windows module by using any combination key of the infrared remote controllers is achieved, and the user experience is improved.
Drawings
Fig. 1 is a diagram of steps of a method for controlling an electronic whiteboard by infrared remote control according to the present invention;
fig. 2 is a schematic structural diagram of an apparatus for controlling an electronic whiteboard through infrared remote control according to the present invention;
FIG. 3 is a schematic diagram illustrating the process of analyzing the rising or falling edge of the high level to obtain the code value.
Detailed Description
The embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.
The embodiments of the present disclosure are described below with specific examples, and other advantages and effects of the present disclosure will be readily apparent to those skilled in the art from the disclosure in the specification. It is to be understood that the described embodiments are merely illustrative of some, and not restrictive, of the embodiments of the disclosure. The disclosure may be embodied or carried out in various other specific embodiments, and various modifications and changes may be made in the details within the description without departing from the spirit of the disclosure. It is to be noted that the features in the following embodiments and examples may be combined with each other without conflict. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
The method for controlling the electronic whiteboard through infrared remote control, disclosed by the invention, as shown in fig. 1, comprises the following steps:
step 1, the remote controller sends a key message to the electronic whiteboard through an infrared signal.
The remote controller sends key information to the electronic whiteboard through infrared signals, which belongs to the prior art, and the signal transmission principle is not described in detail here.
And 2, receiving the infrared signal by an Android display module of the electronic whiteboard, and analyzing the infrared signal to obtain a code value.
Further, in a preferred embodiment of the present application, step 2 includes:
step 201, an infrared receiving module of an Android display module converts an infrared signal into a high level and a low level which are continuously converted, and the high level and the low level are sent to a driving unit of the Android display module through one GPIO.
Step 202, a driving unit of the Android display module analyzes a rising edge or a falling edge of a high level, so that a code value corresponding to an infrared signal sent by a remote controller is obtained.
Common code values are those of the NEC protocol or the RC5 protocol.
The specific process of analyzing the rising edge or the falling edge to obtain the code value is described as follows in conjunction with fig. 3:
taking NEC infrared code as an example for explanation, fig. 3 is a standard waveform of NEC infrared code, after a series of waveforms is received by the driving unit, the waveform is decoded, the current time is recorded for a rising edge, the time is recorded when the next rising edge is obtained, the time difference is judged, and the current value is 0 or 1, and the value of the series of waveforms can be obtained according to the method. Referring to fig. 3, a serial code having a high duration of 0.56ms, a low duration of 0.565ms and a period of 1.125ms is used to represent one bit "0". A serial code with a high duration of 0.56ms, a low duration of 1.685ms and a period of 2.25ms is used to represent one bit "1".
The RC5 code is also parsed in a similar manner, which is not described herein.
And 3, traversing the two-dimensional array set by the Android display module, and searching a key or a key combination corresponding to the code value.
A plurality of two-dimensional array numbers are arranged in a storage module of the Android display module to form a two-dimensional array set. The remote control module is used for recording code values corresponding to all keys of the infrared remote controller, for example, keys of CTRL + ALT + DEL on the remote controller, and after the alignment receiving module is pressed down, a code value of 0Xff00AD can be finally analyzed by the driving unit of the Android display module. One such two-dimensional array {0xff00AD, "CTRL + ALT + DEL" }, records 0Xff00AD, which corresponds to the key combination CTRL + ALT + DEL.
The two-dimensional arrays in the two-dimensional array set can be added or deleted according to actual needs.
And 4, judging whether the key or the key combination corresponding to the code value is a Windows module function key by the Android display module, and if so, sending a character string of the key or the key combination to the touch screen.
And 5, after the system of the touch screen receives the character string, analyzing the character string to obtain the HID key value of the key corresponding to the character string. And sending the HID key value of the key to the Windows module through the USB interface.
And 6, the Windows module responds to the key corresponding to the HID key value or the function of the key combination.
Because the touch screen sends data meeting the HID standard to the Windows through the USB, any shortcut key combination to the Windows can be realized only by modifying the sending character string of the Android terminal.
The code value and the character string corresponding relation which are arranged in the Android display module can be used for distinguishing which code values need to be sent to the Windows module and which code values need to be sent to the Android display module, so that the Android display module and the Windows module can be operated by one remote controller at the same time.
The invention also provides a device for controlling the electronic whiteboard through infrared remote control, which comprises a touch screen module, an Android display module and a Windows module as shown in figure 2. The Android display module is connected with the touch screen module through a serial port, and the touch screen module is connected with the Windows module through a USB interface.
The Android display module comprises an infrared receiver, a driving unit and a storage unit, wherein:
the infrared receiver is used for receiving the infrared signal sent by the remote controller and converting the infrared signal into a continuously converted high level and a continuously converted low level.
The driving unit analyzes the rising edge or the falling edge of the high level to obtain a code value corresponding to the infrared signal sent by the remote controller, traverses the two-dimensional array set, and searches a key or a key combination corresponding to the code value. And sending the keys or key combinations belonging to the Windows module to the touch screen module.
The storage unit stores a two-dimensional array set. The two-dimensional array set is composed of a plurality of two-dimensional arrays, and each two-dimensional array records the corresponding relation between code values and keys or key combinations.
The touch screen module is used for analyzing the keys or key combinations of the Windows module to obtain HID key values of the keys corresponding to the character strings, and sending the HID key values of the keys to the Windows module through the USB interface.
And the Windows module responds to the key or the key combination corresponding to the HID key value.
The present invention also provides a storage medium having a computer program stored therein, and when the computer program is executed, the following method may be performed:
step 1, the remote controller sends a key message to the electronic whiteboard through an infrared signal.
And 2, receiving the infrared signal by an Android display module of the electronic whiteboard, and analyzing the infrared signal to obtain a code value.
And 3, traversing the two-dimensional array set by the Android display module, and searching a key or a key combination corresponding to the code value.
And 4, judging whether the key or the key combination corresponding to the code value is a Windows module function key by the Android display module, and if so, sending a character string of the key or the key combination to the touch screen.
And 5, after the system of the touch screen receives the character string, analyzing the character string to obtain the HID key value of the key corresponding to the character string. And sending the HID key value of the key to the Windows module through the USB interface.
And 6, the Windows module responds to the key corresponding to the HID key value or the function of the key combination.
Further, in a preferred embodiment of the present application, step 2 includes:
step 201, an infrared receiving module of an Android display module converts an infrared signal into a high level and a low level which are continuously converted, and the high level and the low level are sent to a driving unit of the Android display module through one GPIO.
Step 202, a driving unit of the Android display module analyzes a rising edge or a falling edge of a high level, so that a code value corresponding to an infrared signal sent by a remote controller is obtained.
In the present invention, unless otherwise expressly stated or limited, the terms "mounted," "connected," "secured," and the like are to be construed broadly and can, for example, be fixedly connected, detachably connected, or integrally formed; may be mechanically coupled, may be electrically coupled or may be in communication with each other; they may be directly connected or indirectly connected through intervening media, or they may be connected internally or in any other suitable relationship, unless expressly stated otherwise. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
The above description is for the purpose of illustrating embodiments of the invention and is not intended to limit the invention, and it will be apparent to those skilled in the art that any modification, equivalent replacement, or improvement made without departing from the spirit and principle of the invention shall fall within the protection scope of the invention.

Claims (9)

1. A method for controlling an electronic whiteboard through infrared remote control is characterized by comprising the following steps:
step 1, the remote controller sends a key message to the electronic whiteboard through an infrared signal;
step 2, receiving the infrared signal by an Android display module of the electronic whiteboard, and analyzing the infrared signal to obtain a code value;
step 3, the Android display module searches a key or a key combination corresponding to the code value;
step 4, the Android display module judges whether the key or the key combination corresponding to the code value is a Windows module function key, and if so, the character string of the key or the key combination is sent to the touch screen;
step 5, after the system of the touch screen receives the character string, analyzing the character string to obtain an HID key value of a key corresponding to the character string; sending the HID key value of the key to the Windows module through the USB interface;
and 6, the Windows module responds to the key corresponding to the HID key value or the function of the key combination.
2. The method for controlling the electronic whiteboard through the infrared remote control according to claim 1, wherein the step 2 comprises:
step 201, an infrared receiving module of an Android display module converts an infrared signal into a continuously converted high level and a continuously converted low level and sends the high level and the low level to a driving unit of the Android display module;
step 202, the driving unit of the Android display module analyzes the rising edge or the falling edge of the high level, so that a code value corresponding to the infrared signal sent by the remote controller is obtained.
3. The method for controlling the electronic whiteboard through the infrared remote control according to claim 1, wherein the method for searching the key or the key combination corresponding to the code value comprises the following steps: traversing a two-dimensional array set composed of a plurality of two-dimensional arrays, recording the corresponding relation between the code values and the key or key combination by the two-dimensional arrays, and matching the key or key combination corresponding to the code values by searching the code values in the two-dimensional arrays.
4. A device for controlling an electronic whiteboard through infrared remote control comprises a touch screen module, an Android display module and a Windows module; the Android display module is connected with the touch screen module through a serial port, and the touch screen module is connected with the Windows module through a USB interface; the Android display module is characterized by comprising an infrared receiver, a driving unit and a storage unit, wherein:
the infrared receiver is used for receiving an infrared signal sent by the remote controller and converting the infrared signal into a continuously converted high level and a continuously converted low level;
the driving unit analyzes the rising edge or the falling edge of the high level to obtain a code value corresponding to the infrared signal sent by the remote controller, traverses the two-dimensional array set and searches a key or a key combination corresponding to the code value; sending the keys or key combinations belonging to the Windows module to the touch screen module;
the storage unit is used for storing the two-dimensional array set.
5. The apparatus according to claim 4, wherein said two-dimensional array set is composed of a plurality of two-dimensional arrays, each two-dimensional array records the corresponding relationship between code values and keys or key combinations.
6. The device of claim 4, wherein the touch screen module is configured to analyze the key or the key combination of the Windows module to obtain the HID key value of the key corresponding to the key or the key combination, and send the HID key value of the key to the Windows module.
7. The device of claim 6, wherein the Windows module is responsive to the function of the key or key combination corresponding to the HID key.
8. A storage medium having a computer program stored therein, wherein the computer program is executed to perform the method of controlling an electronic whiteboard by infrared remote control according to any one of claims 1 to 3.
9. An electronic whiteboard, comprising the infrared remote control electronic whiteboard device as claimed in any one of claims 4 to 7.
CN202011404707.0A 2020-12-02 2020-12-02 Method and device for controlling electronic whiteboard through infrared remote control and storage medium Pending CN112581742A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011404707.0A CN112581742A (en) 2020-12-02 2020-12-02 Method and device for controlling electronic whiteboard through infrared remote control and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011404707.0A CN112581742A (en) 2020-12-02 2020-12-02 Method and device for controlling electronic whiteboard through infrared remote control and storage medium

Publications (1)

Publication Number Publication Date
CN112581742A true CN112581742A (en) 2021-03-30

Family

ID=75127153

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011404707.0A Pending CN112581742A (en) 2020-12-02 2020-12-02 Method and device for controlling electronic whiteboard through infrared remote control and storage medium

Country Status (1)

Country Link
CN (1) CN112581742A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1737866A (en) * 2005-06-01 2006-02-22 深圳创维-Rgb电子有限公司 Method for remote controlling multi-separate CPU systems using single remote controller
CN201590063U (en) * 2010-01-12 2010-09-22 广州视源电子科技有限公司 Multifunctional integrative machine
CN103188542A (en) * 2013-03-15 2013-07-03 深圳创维数字技术股份有限公司 Method and system for controlling television (TV) terminal, and digital TV set-top box
CN203350875U (en) * 2013-06-04 2013-12-18 安徽智捷电子科技有限公司 Intelligent touch computer based on Android system
CN104796749A (en) * 2015-04-17 2015-07-22 广州炫智电子科技有限公司 Device and method for realizing common shortcut keys by using remote controller instead of keyboard
CN104916118A (en) * 2015-06-15 2015-09-16 广东欧珀移动通信有限公司 Method and device for realizing infrared remote control
CN108230661A (en) * 2018-02-09 2018-06-29 广州视源电子科技股份有限公司 Infrared remote control system, method, infrared electronic white board and storage medium
CN208636994U (en) * 2018-06-30 2019-03-22 深圳市朗强科技有限公司 A kind of remote control return system, remote controler and audio/video player system
CN110308826A (en) * 2019-06-28 2019-10-08 南京通派光电科技有限公司 A kind of dynamic Simulation of keyboard input instruction set method of the free drive of interactive whiteboard system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1737866A (en) * 2005-06-01 2006-02-22 深圳创维-Rgb电子有限公司 Method for remote controlling multi-separate CPU systems using single remote controller
CN201590063U (en) * 2010-01-12 2010-09-22 广州视源电子科技有限公司 Multifunctional integrative machine
CN103188542A (en) * 2013-03-15 2013-07-03 深圳创维数字技术股份有限公司 Method and system for controlling television (TV) terminal, and digital TV set-top box
CN203350875U (en) * 2013-06-04 2013-12-18 安徽智捷电子科技有限公司 Intelligent touch computer based on Android system
CN104796749A (en) * 2015-04-17 2015-07-22 广州炫智电子科技有限公司 Device and method for realizing common shortcut keys by using remote controller instead of keyboard
CN104916118A (en) * 2015-06-15 2015-09-16 广东欧珀移动通信有限公司 Method and device for realizing infrared remote control
CN108230661A (en) * 2018-02-09 2018-06-29 广州视源电子科技股份有限公司 Infrared remote control system, method, infrared electronic white board and storage medium
CN208636994U (en) * 2018-06-30 2019-03-22 深圳市朗强科技有限公司 A kind of remote control return system, remote controler and audio/video player system
CN110308826A (en) * 2019-06-28 2019-10-08 南京通派光电科技有限公司 A kind of dynamic Simulation of keyboard input instruction set method of the free drive of interactive whiteboard system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘平: "《深入浅出玩转51单片机 工程师经验手记》", 31 May 2014, 北京航空航天大学出版社 *

Similar Documents

Publication Publication Date Title
CN1260642C (en) Method for transmitting command and data to portable storage device
CN101833854B (en) Interacting method of remote control code of universal remote control with USB interface
CN105868284B (en) The dispositions method and system of a kind of enterprise directory
CN110473540B (en) Voice interaction method and system, terminal device, computer device and medium
CN103345829A (en) Method and device for remote controller learning
CN101639730A (en) Information input method and handheld device using same
CN101221576A (en) Input method and device capable of implementing automatic translation
CN102129319A (en) Fast information interactive system and interactive method thereof
US8310348B2 (en) Remote controlling system for controlling electronic equipments within situation
CN1873593A (en) Method and system for data input
CN101063962B (en) Methods and electronic devices for managing mass storage devices
CN103294175A (en) Electronic device and method for electronic device to automatically switch input modes
CN104391644A (en) Input method and device
CN112581742A (en) Method and device for controlling electronic whiteboard through infrared remote control and storage medium
CN104346052A (en) Method and device for Chinese characters input
CN104900045A (en) Signal transmission method, electronic devices and control system
US8299953B2 (en) Apparatus and methods for processing remote control information
CN111125035A (en) Novel speech system and speech data sharing method based on same
CN101359424A (en) Generating method and system for remote control drive
CN101324803A (en) Remote control method and device of personal computer medium player
CN201590040U (en) Remote wireless intelligent control device for computer
KR100495959B1 (en) Remote Controller System
CN106227518A (en) The display packing of a kind of data and device
CN101710258B (en) Chinese character input method in embedded device based on remote controller
CN103473002B (en) Intelligent terminal, input terminal and input method of intelligent terminal

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
CB02 Change of applicant information

Address after: Room 238, room 406, No.1, Yichuang street, Huangpu District, Guangzhou, Guangdong 510000

Applicant after: Guangzhou langguo Electronic Technology Co.,Ltd.

Address before: Room 238, room 406, No.1, Yichuang street, Huangpu District, Guangzhou, Guangdong 510000

Applicant before: GUANGZHOU LANGO ELECTRONIC SCIENCE & TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information
RJ01 Rejection of invention patent application after publication

Application publication date: 20210330

RJ01 Rejection of invention patent application after publication