CN116434514A - Infrared remote control method and infrared remote control device - Google Patents

Infrared remote control method and infrared remote control device Download PDF

Info

Publication number
CN116434514A
CN116434514A CN202310648686.4A CN202310648686A CN116434514A CN 116434514 A CN116434514 A CN 116434514A CN 202310648686 A CN202310648686 A CN 202310648686A CN 116434514 A CN116434514 A CN 116434514A
Authority
CN
China
Prior art keywords
mobile terminal
control
target equipment
target
control instruction
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.)
Granted
Application number
CN202310648686.4A
Other languages
Chinese (zh)
Other versions
CN116434514B (en
Inventor
林启程
唐勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yonglin Electronics Co Ltd
Original Assignee
Yonglin Electronics 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 Yonglin Electronics Co Ltd filed Critical Yonglin Electronics Co Ltd
Priority to CN202310648686.4A priority Critical patent/CN116434514B/en
Publication of CN116434514A publication Critical patent/CN116434514A/en
Application granted granted Critical
Publication of CN116434514B publication Critical patent/CN116434514B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • 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
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The application belongs to the technical field of intelligent household appliances, and particularly relates to an infrared remote control method and an infrared remote control device, wherein the infrared remote control method comprises the following steps: receiving a remote control starting signal and determining the area where the mobile terminal is located; determining target equipment in an area where the mobile terminal is located; establishing a control sequence according to the state of the target equipment; acquiring the inclination angle and the orientation of the mobile terminal; selecting at least two target devices from the control sequence according to the acquired inclination angle and orientation of the mobile terminal; generating a control instruction according to the operation of a user, and copying the control instruction; transmitting the control instruction after the copying processing to the selected target equipment to enable one of at least two selected target equipment to execute the control instruction; and switching the target equipment or maintaining the current state of the target equipment according to the operation of the user. The invention realizes the control of different target devices by the same remote control entrance on the same mobile terminal, and optimizes the infrared control process.

Description

Infrared remote control method and infrared remote control device
Technical Field
The application belongs to the technical field of intelligent household appliances, and particularly relates to an infrared remote control method and an infrared remote control device.
Background
The infrared remote control is a very common control method, the hardware and principle of the infrared remote control are relatively simple, the cost is very low, and in the traditional household appliances such as televisions, air conditioners and the like, the remote control using the infrared principle is still in standard configuration.
With the increase of the number of household appliances, a plurality of household appliances which can be controlled by infrared rays may exist in the same household or even in the same room. According to the conventional control scheme, it is necessary to configure one remote controller for each device, which makes the number of remote controllers in the home more and more. Meanwhile, compared with the equipment, the remote controller is easy to damage due to tedious use and easy falling and collision, and meanwhile, the remote controller needs to use a separate battery, so that the remote controller is not environment-friendly.
Smartphones are continually evolving and functionality is also continually enriching. The prior art provides a method for using a smart phone device for universal remote control to pair with the device, thereby using the mobile phone as a remote control. This method, although simple and easy to use, still requires a remote control portal to be provided for each device, resulting in the problem of inconvenience in remote control.
Disclosure of Invention
In view of this, the present application provides an infrared remote control method and an infrared remote control device, which can solve the problem of inconvenient operation or occupation of desktop display of a mobile terminal caused by a plurality of portals required to be set when the mobile terminal is used as a remote controller in the prior art.
A first aspect of the present application provides an infrared remote control method, the infrared remote control method comprising:
receiving a remote control starting signal and determining the area where the mobile terminal is located;
determining target equipment in an area where the mobile terminal is located;
establishing a control sequence according to the state of the target equipment;
acquiring the inclination angle and the orientation of the mobile terminal;
selecting at least two target devices from the control sequence according to the acquired inclination angle and orientation of the mobile terminal;
generating a control instruction according to the operation of a user, and copying the control instruction;
transmitting the control instruction after the copying processing to the selected target equipment to enable one of at least two selected target equipment to execute the control instruction;
and switching the target equipment or maintaining the current state of the target equipment according to the operation of the user.
A second aspect of the present application provides an infrared remote control device comprising:
the starting module is used for receiving the remote control starting signal and determining the area where the mobile terminal is located;
the target equipment determining module is used for determining target equipment in the area where the mobile terminal is located;
the control sequence establishing module is used for establishing a control sequence according to the state of the target equipment;
the azimuth acquisition module is used for acquiring the inclination angle and the orientation of the mobile terminal;
the target equipment selecting module is used for selecting at least two target equipment from the control sequence according to the acquired inclination angle and orientation of the mobile terminal;
the instruction processing module is used for generating a control instruction according to the operation of a user and copying the control instruction;
the sending module is used for sending the control instruction after the copying processing to the selected target equipment so that one of the selected at least two target equipment executes the control instruction;
and the switching module is used for switching the target equipment or keeping the current state of the target equipment according to the operation of the user.
Compared with the prior art, the beneficial effects that this application exists are: detecting the position of the mobile terminal to determine target equipment possibly to be remotely controlled; on the basis, the inclination angle and the direction change before the control instruction of the mobile terminal is sent out further reduce the range, so that the target equipment is selected; after that, by performing the copy processing on the control instruction and transmitting to the target device, the target device that received the control instruction finally determines the device that executes the control instruction according to the further operation of the user. Through the scheme of this application, need not set up a plurality of remote control and start the entry, simultaneously, when the position that target equipment put is comparatively reasonable, need not additionally increase operating procedure, optimized operation process, promoted user experience.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required for the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of an infrared remote control method provided in an embodiment of the present application;
FIG. 2 is a block diagram of an infrared remote control device provided in an embodiment of the present application;
fig. 3 is a schematic diagram of a mobile terminal provided in an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system configurations, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
In order to illustrate the technical solutions described in the present application, the following description is made by specific examples.
Fig. 1 shows an infrared remote control method according to an embodiment of the present application, where the infrared remote control method includes:
receiving a remote control starting signal and determining the area where the mobile terminal is located;
determining target equipment in an area where the mobile terminal is located;
establishing a control sequence according to the state of the target equipment;
acquiring the inclination angle and the orientation of the mobile terminal;
selecting at least two target devices from the control sequence according to the acquired inclination angle and orientation of the mobile terminal;
generating a control instruction according to the operation of a user, and copying the control instruction;
transmitting the control instruction after the copying processing to the selected target equipment to enable one of at least two selected target equipment to execute the control instruction;
and switching the target equipment or maintaining the current state of the target equipment according to the operation of the user.
In this application, the remote control start signal may specifically be a signal for opening a remote control icon on the mobile terminal. The scheme provided by the application is mainly used for a family scene, so that the determination of the area where the mobile terminal is located specifically refers to the determination of the specific area of the mobile terminal in the family environment, and how to determine the specific areas such as living room, kitchen, main sleeping, balcony and the like.
In the present application, the target device refers to a device that can be remotely controlled by infrared, including but not limited to an air conditioner, a television, a refrigerator, an electric fan, a heater, a washing machine, a sweeping robot, etc., and the specific target device depends on the actual situation in the home, which is not particularly limited in the present application.
In this application, each target device is usually placed fixedly, and its position is relatively fixed, and may be determined in a preset manner. In the present application, a controllable device is selected from target devices according to the location of the target device and the current location of the mobile terminal, and specifically, a device co-located in the same area as the mobile terminal is selected as the target device, where the same area is the above-mentioned living room, kitchen, main sleeping, balcony, and other areas.
In this application, the control sequence may characterize the probability that each target device may be the device to be controlled this time.
In the application, a gyroscope, a re-sensor and other sensors capable of detecting the inclination angle and the orientation of the mobile terminal are arranged in the mobile terminal, and the sensor is a conventional setting of the current mobile terminal (intelligent mobile phone), so that hardware equipment according to the application does not need to additionally increase more devices on the existing hardware, and the implementation is simple.
In the present application, the range may be further narrowed according to the tilt angle and the orientation of the mobile terminal, so that the target device to be controlled is further determined.
In the application, the control instruction is duplicated to obtain multiple copies, and the number of copies obtained by duplicating is the same as the number of the determined target devices.
In the application, after the control instruction is sent out, if the target device executing the control instruction is incorrect, the correction can be performed through further operation; if the target device executing the control instruction is correct, the state of the current target device can be maintained without any operation, and the operation process is simplified.
Compared with the prior art, the embodiment of the application has the beneficial effects that: detecting the position of the mobile terminal to determine target equipment possibly to be remotely controlled; on the basis, the inclination angle and the direction change before the control instruction of the mobile terminal is sent out further reduce the range, so that the target equipment is selected; after that, by performing the copy processing on the control instruction and transmitting to the target device, the target device that received the control instruction finally determines the device that executes the control instruction according to the further operation of the user. Through the scheme of this application, need not set up a plurality of remote control and start the entry, simultaneously, when the position that target equipment put is comparatively reasonable, need not additionally increase operating procedure, optimized operation process, promoted user experience.
As an optional embodiment of the present application, the determining an area where the mobile terminal is located includes:
the mobile terminal obtains the signal intensity of a plurality of signal sources at the current position and carries out noise reduction treatment;
determining the current position of the mobile terminal according to the noise reduction processing result and the signal strengths of a plurality of signal sources of a plurality of preset reference points;
and determining the area where the mobile terminal is located according to the current position of the mobile terminal.
In the present application, the noise reduction process described above may employ a kalman filter algorithm. The positioning method provided above belongs to the prior art, the positioning method of the indoor mobile terminal is not particularly limited, all the methods which can be used for indoor positioning can be used in the scheme of the application, the application only needs to roughly determine the indoor position of the mobile terminal, and the positioning method can be realized by referring to the prior art. The different positioning methods do not make any substantial difference to the solution of the present application.
As an optional embodiment of the present application, the establishing a control sequence according to the state of the target device includes:
acquiring the position of each target device;
selecting controllable equipment from the target equipment according to the position of the target equipment and the current position of the mobile terminal;
and acquiring the current state of each controllable device, and sequencing each controllable device according to the distance between each controllable device and the mobile terminal and the state of each controllable device to obtain a control sequence.
In the method, controllable equipment is selected from target equipment according to the position of the target equipment and the current position of the mobile terminal, the range of the controllable equipment which can receive control information is limited for any target equipment, and the controllable equipment can be further screened from the target equipment according to whether the mobile terminal is in the range.
In the application, the current state of the controllable device comprises an operation state, a standby state, a closing state and the like, wherein the device in the operation state is prioritized over the device in the standby state in the sequencing process, and the device in the standby state is prioritized over the device in the closing state; whereas for devices with a relevant status, devices with a small linear distance to the mobile terminal have precedence over devices with a large distance.
As an optional embodiment of the present application, the acquiring the tilt angle and the orientation of the mobile terminal includes:
the method comprises the steps of monitoring a remote control starting signal, and obtaining a first inclination angle and a first orientation of a mobile terminal;
and detecting that the control key is pressed, and acquiring a second inclination angle and a second direction of the mobile terminal.
In the present application, the first inclination angle and the second inclination angle, the first direction and the second direction are inclination angles and directions at two different moments, the first inclination angle and the first direction correspond to the moment when the remote control start signal is generated, and the second inclination angle and the second direction correspond to the moment when the control key is pressed. As for the reference of the inclination angle and the orientation, an earth coordinate system can be used, the coordinate system can be customized, and the application only concerns the relative value of the two.
As an optional embodiment of the present application, the selecting at least two target devices from the control sequence according to the acquired tilt angle and orientation of the mobile terminal includes:
calculating a difference value between the first inclination angle and the second inclination angle and a difference value between the first direction and the second direction;
obtaining the inclination angle range of the mobile terminal according to the difference value between the first inclination angle and the second inclination angle;
obtaining the orientation range of the mobile terminal according to the difference value between the first orientation and the second orientation;
determining a control area by the inclination angle range and the orientation range of the mobile terminal;
judging whether at least two target devices in the control sequence are positioned in the control area;
if yes, selecting the first two target devices as target devices according to the sequence of the control sequence;
if not, selecting two target devices with shortest linear distance from the control area in the control sequence as target devices.
In this application, specifically, for the tilt angle, the tilt angle difference is taken as the tilt angle range, that is, based on the second tilt angle, the current tilt angle range is (second tilt angle-tilt angle difference, second tilt angle + tilt angle difference), similarly, the orientation range is (second orientation-orientation difference, second orientation + orientation difference), the orientation is also expressed by an angle, for example, on the water surface, the orientation may be expressed as the magnitude of the included angle with the forward east direction, which is 0 degrees with respect to the forward east direction.
In the present application, the control area is limited in azimuth and not limited in distance, and the condition of distance is already used in the determination process of the target device, so that the process does not need to use the condition of distance any more.
As an optional embodiment of the present application, the generating the control instruction according to the operation of the user includes:
acquiring a key value of a key selected by a user;
and obtaining a corresponding control instruction according to the key value inquiry.
In this application, the keys may be physical keys or virtual keys, and for a touch screen, the keys are virtual keys. Each key has a corresponding key value, and corresponding control instructions can be found from the instruction library through the key value. This is a conventional arrangement in the art, and the present application does not specifically limit this process.
As an optional embodiment of the present application, the copying the control instruction includes:
copying the control instructions to obtain a plurality of parts according to the number of the selected target devices, and distributing each part of control instructions to one target device;
for each control instruction, the number and the ordinal number of the target equipment are added to the control instruction to obtain a piece of control information, and the control information is compiled into a pulse control instruction.
In this application, the number of copies of an instruction is equal to the number of selected target devices. In the application, each target device has a unique number for identifying the target device; and the ordinal number of the target device refers to the order of the target device in the control sequence, the earlier the order, the higher the priority.
In this application, for infrared control, the key input is converted into a pulse control instruction and drives the infrared generating circuit to excite infrared rays, which belongs to a conventional technology in infrared control, and this application will not be repeated.
As an optional embodiment of the present application, the sending the control instruction after the copy processing to the selected target device causes one of the selected at least two target devices to execute the control instruction, including:
and sending the control instruction to the target equipment according to the sequence of the ordinal numbers included in the control instruction, so that the target equipment which receives the control instruction firstly executes the control instruction and then enters a waiting state.
In the present application, for the target device, it is predefined that the control command is executed immediately when the ordinal number in the received control command is 1, otherwise the control command waits for execution.
As an optional embodiment of the present application, the switching the target device or maintaining the current state of the target device according to the user operation includes:
monitoring switching operation of a user;
if the switching operation of the user is monitored within the set time period, a rollback instruction is sent to the target equipment which has executed the control instruction to enable the control equipment to rollback to the original state, and an execution instruction is sent to the target equipment in the waiting state to enable the target equipment in the waiting state to execute the control instruction;
if the switching operation of the user is not monitored within the set time, sending an exit instruction to the target equipment in the waiting state so that the target equipment in the waiting state exits the waiting state.
In the application, the switching operation can provide a switching key through the interface of the mobile terminal, and after the user presses the switching key, the state of the equipment is switched, so that remote control error correction is realized; and when the switching operation is not monitored within a set time period (such as half a minute, one minute and the like), the target device which has executed the control instruction keeps the current state unchanged, and the device in the waiting state exits waiting. As another specific implementation manner of the application, the target device in the waiting state can automatically exit the waiting state after reaching the set duration without sending a corresponding exit instruction by the mobile terminal.
Fig. 2 shows an infrared remote control device according to a second embodiment of the present application, where the infrared remote control device includes:
the starting module is used for receiving the remote control starting signal and determining the area where the mobile terminal is located;
the target equipment determining module is used for determining target equipment in the area where the mobile terminal is located;
the control sequence establishing module is used for establishing a control sequence according to the state of the target equipment;
the azimuth acquisition module is used for acquiring the inclination angle and the orientation of the mobile terminal;
the target equipment selecting module is used for selecting at least two target equipment from the control sequence according to the acquired inclination angle and orientation of the mobile terminal;
the instruction processing module is used for generating a control instruction according to the operation of a user and copying the control instruction;
the sending module is used for sending the control instruction after the copying processing to the selected target equipment so that one of the selected at least two target equipment executes the control instruction;
and the switching module is used for switching the target equipment or keeping the current state of the target equipment according to the operation of the user.
In this application, the infrared remote control device is modularized for the infrared remote control method provided by the present invention, and for specific explanation of each module, reference is made to the description of any one or more embodiments described above, and this embodiment is not repeated here.
It should be understood that the sequence number of each step in the foregoing embodiment does not mean that the execution sequence of each process should be determined by the function and the internal logic of each process, and should not limit the implementation process of the embodiment of the present application in any way.
It should be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
As used in this specification and the appended claims, the term "if" may be interpreted as "when..once" or "in response to a determination" or "in response to detection" depending on the context. Similarly, the phrase "if a determination" or "if a [ described condition or event ] is detected" may be interpreted in the context of meaning "upon determination" or "in response to determination" or "upon detection of a [ described condition or event ]" or "in response to detection of a [ described condition or event ]".
In addition, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used merely to distinguish between descriptions and are not to be construed as indicating or implying relative importance. It will also be understood that, although the terms "first," "second," etc. may be used in this document to describe various elements in some embodiments of the present application, these elements should not be limited by these terms. These terms are only used to distinguish one element from another element. For example, a first table may be named a second table, and similarly, a second table may be named a first table without departing from the scope of the various described embodiments. The first table and the second table are both tables, but they are not the same table.
Reference in the specification to "one embodiment" or "some embodiments" or the like means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," and the like in the specification are not necessarily all referring to the same embodiment, but mean "one or more but not all embodiments" unless expressly specified otherwise. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless expressly specified otherwise.
The infrared remote control method provided by the embodiment of the application can be applied to mobile terminals such as mobile phones, tablet computers, wearable devices, vehicle-mounted devices, augmented reality (augmented reality, AR)/Virtual Reality (VR) devices, notebook computers, ultra-mobile personal computer (UMPC), netbooks, personal digital assistants (personal digital assistant, PDA) and the like, so that local or cloud control is realized, and the specific types of the mobile terminals are not limited.
For example, the mobile terminal may be a Station (ST) in a WLAN, a cellular telephone, a cordless telephone, a Session initiation protocol (Session InitiationProtocol, SIP) telephone, a wireless local loop (Wireless Local Loop, WLL) station, a personal digital assistant (Personal Digital Assistant, PDA) device, a handheld device with wireless communication capabilities, a computing device or other processing device connected to a wireless modem, an in-vehicle device, a car networking terminal, a computer, a laptop computer, a handheld communication device, a handheld computing device, a satellite radio, a wireless modem card, a television Set Top Box (STB), a customer premise equipment (customer premise equipment, CPE) and/or other devices for communicating over a wireless system as well as next generation communication systems, such as a mobile terminal in a 5G network or a mobile terminal in a future evolved public land mobile network (Public Land Mobile Network, PLMN) network, etc.
By way of example, but not limitation, when the mobile terminal is a wearable device, the wearable device may also be a generic name for applying wearable technology to intelligently design daily wear, develop wearable devices, such as glasses, gloves, watches, apparel, shoes, and the like. The wearable device is a portable device that is worn directly on the body or integrated into the clothing or accessories of the user. The wearable device is not only a hardware device, but also can realize a powerful function through software support, data interaction and cloud interaction. The generalized wearable intelligent device comprises full functions, large size, and complete or partial functions which can be realized independent of a smart phone, such as a smart watch or a smart glasses, and is only focused on certain application functions, and needs to be matched with other devices such as the smart phone for use, such as various smart bracelets, smart jewelry and the like for physical sign monitoring.
Fig. 3 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application. As shown in fig. 3, the mobile terminal 3 of this embodiment includes: at least one processor 30 (only one is shown in fig. 3), a memory 31, said memory 31 having stored therein a computer program 32 executable on said processor 30. The processor 30, when executing the computer program 32, implements the steps of the various infrared remote control method embodiments described above, such as steps S100 through S800 shown in fig. 1. Alternatively, the processor 30, when executing the computer program 32, performs the functions of the modules/units of the apparatus embodiments described above.
The mobile terminal 3 may be a computing device such as a desktop computer, a notebook computer, a palm computer, a cloud server, etc. The mobile terminal may include, but is not limited to, a processor 30, a memory 31. It will be appreciated by those skilled in the art that fig. 3 is merely an example of the mobile terminal 3 and does not constitute a limitation of the mobile terminal 3, and may include more or less components than illustrated, or may combine certain components, or different components, e.g., the mobile terminal may further include an input transmitting device, a network access device, a bus, etc.
The processor 30 may be a central processing unit (Central Processing Unit, CPU), other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 31 may in some embodiments be an internal storage unit of the mobile terminal 3, such as a hard disk or a memory of the mobile terminal 3. The memory 31 may also be an external storage device of the mobile terminal 3, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the mobile terminal 3. Further, the memory 31 may also include both an internal storage unit and an external storage device of the mobile terminal 3. The memory 31 is used for storing an operating system, application programs, boot loader (BootLoader), data, other programs etc., such as program codes of the computer program etc. The memory 31 may also be used for temporarily storing data that has been transmitted or is to be transmitted.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The embodiment of the application also provides a mobile terminal, which comprises at least one memory, at least one processor and a computer program stored in the at least one memory and capable of running on the at least one processor, wherein the processor executes the computer program to enable the mobile terminal to realize the steps in any of the method embodiments.
Embodiments of the present application also provide a computer readable storage medium storing a computer program which, when executed by a processor, implements steps that may implement the various method embodiments described above.
Embodiments of the present application provide a computer program product which, when run on a mobile terminal, causes the mobile terminal to perform steps that may be performed in the various method embodiments described above.
The integrated modules/units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the present application may implement all or part of the flow of the method of the above embodiment, or may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, and when the computer program is executed by a processor, the computer program may implement the steps of each method embodiment described above. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference is made to the related descriptions of other embodiments.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
The above embodiments are only for illustrating the technical solution of the present application, and are not limiting; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application.

Claims (10)

1. An infrared remote control method, characterized in that the infrared remote control method comprises:
receiving a remote control starting signal and determining the area where the mobile terminal is located;
determining target equipment in an area where the mobile terminal is located;
establishing a control sequence according to the state of the target equipment;
acquiring the inclination angle and the orientation of the mobile terminal;
selecting at least two target devices from the control sequence according to the acquired inclination angle and orientation of the mobile terminal;
generating a control instruction according to the operation of a user, and copying the control instruction;
transmitting the control instruction after the copying processing to the selected target equipment to enable one of at least two selected target equipment to execute the control instruction;
and switching the target equipment or maintaining the current state of the target equipment according to the operation of the user.
2. The method for infrared remote control according to claim 1, wherein determining the area in which the mobile terminal is located comprises:
the mobile terminal obtains the signal intensity of a plurality of signal sources at the current position and carries out noise reduction treatment;
determining the current position of the mobile terminal according to the noise reduction processing result and the signal strengths of a plurality of signal sources of a plurality of preset reference points;
and determining the area where the mobile terminal is located according to the current position of the mobile terminal.
3. The method of infrared remote control according to claim 1, wherein said establishing a control sequence according to the state of the target device comprises:
acquiring the position of each target device;
selecting controllable equipment from the target equipment according to the position of the target equipment and the current position of the mobile terminal;
and acquiring the current state of each controllable device, and sequencing each controllable device according to the distance between each controllable device and the mobile terminal and the state of each controllable device to obtain a control sequence.
4. The method of claim 1, wherein the obtaining the tilt angle and the orientation of the mobile terminal comprises:
the method comprises the steps of monitoring a remote control starting signal, and obtaining a first inclination angle and a first orientation of a mobile terminal;
and detecting that the control key is pressed, and acquiring a second inclination angle and a second direction of the mobile terminal.
5. The method of infrared remote control according to claim 4, wherein said selecting at least two target devices from the control sequence based on the acquired tilt angle and orientation of the mobile terminal comprises:
calculating a difference value between the first inclination angle and the second inclination angle and a difference value between the first direction and the second direction;
obtaining the inclination angle range of the mobile terminal according to the difference value between the first inclination angle and the second inclination angle;
obtaining the orientation range of the mobile terminal according to the difference value between the first orientation and the second orientation;
determining a control area by the inclination angle range and the orientation range of the mobile terminal;
judging whether at least two target devices in the control sequence are positioned in the control area;
if yes, selecting the first two target devices as target devices according to the sequence of the control sequence;
if not, selecting two target devices with shortest linear distance from the control area in the control sequence as target devices.
6. The infrared remote control method according to claim 1, wherein the generating the control instruction according to the operation of the user comprises:
acquiring a key value of a key selected by a user;
and obtaining a corresponding control instruction according to the key value inquiry.
7. The infrared remote control method according to claim 1, wherein the copying the control instruction includes:
copying the control instructions to obtain a plurality of parts according to the number of the selected target devices, and distributing each part of control instructions to one target device;
for each control instruction, the number and the ordinal number of the target equipment are added to the control instruction to obtain a piece of control information, and the control information is compiled into a pulse control instruction.
8. The infrared remote control method according to claim 7, wherein the transmitting the copy-processed control instruction to the selected target device causes one of the selected at least two target devices to execute the control instruction, comprising:
and sending the control instruction to the target equipment according to the sequence of the ordinal numbers included in the control instruction, so that the target equipment which receives the control instruction firstly executes the control instruction and then enters a waiting state.
9. The infrared remote control method according to claim 8, wherein the switching the target device or maintaining the current state of the target device according to the user operation comprises:
monitoring switching operation of a user;
if the switching operation of the user is monitored within the set time period, a rollback instruction is sent to the target equipment which has executed the control instruction to enable the control equipment to rollback to the original state, and an execution instruction is sent to the target equipment in the waiting state to enable the target equipment in the waiting state to execute the control instruction;
if the switching operation of the user is not monitored within the set time, sending an exit instruction to the target equipment in the waiting state so that the target equipment in the waiting state exits the waiting state.
10. An infrared remote control device, characterized in that the infrared remote control device comprises:
the starting module is used for receiving the remote control starting signal and determining the area where the mobile terminal is located;
the target equipment determining module is used for determining target equipment in the area where the mobile terminal is located;
the control sequence establishing module is used for establishing a control sequence according to the state of the target equipment;
the azimuth acquisition module is used for acquiring the inclination angle and the orientation of the mobile terminal;
the target equipment selecting module is used for selecting at least two target equipment from the control sequence according to the acquired inclination angle and orientation of the mobile terminal;
the instruction processing module is used for generating a control instruction according to the operation of a user and copying the control instruction;
the sending module is used for sending the control instruction after the copying processing to the selected target equipment so that one of the selected at least two target equipment executes the control instruction;
and the switching module is used for switching the target equipment or keeping the current state of the target equipment according to the operation of the user.
CN202310648686.4A 2023-06-02 2023-06-02 Infrared remote control method and infrared remote control device Active CN116434514B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310648686.4A CN116434514B (en) 2023-06-02 2023-06-02 Infrared remote control method and infrared remote control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310648686.4A CN116434514B (en) 2023-06-02 2023-06-02 Infrared remote control method and infrared remote control device

Publications (2)

Publication Number Publication Date
CN116434514A true CN116434514A (en) 2023-07-14
CN116434514B CN116434514B (en) 2023-09-01

Family

ID=87083619

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310648686.4A Active CN116434514B (en) 2023-06-02 2023-06-02 Infrared remote control method and infrared remote control device

Country Status (1)

Country Link
CN (1) CN116434514B (en)

Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7045980B2 (en) * 2003-12-09 2006-05-16 Toyota Jidosha Kabushiki Kaisha Power converter and vehicle equipped with power converter
JP2008042330A (en) * 2006-08-02 2008-02-21 Canon Inc Remote controller
JP2011071805A (en) * 2009-09-28 2011-04-07 Saxa Inc Telephone system, telephone terminal and remote control method using telephone terminal
WO2012070250A1 (en) * 2010-11-25 2012-05-31 パナソニック株式会社 Communication device
CN102592434A (en) * 2012-02-20 2012-07-18 中兴通讯股份有限公司 Infrared remote control method and device
USRE45980E1 (en) * 2009-11-30 2016-04-19 Panasonic Intellectual Property Corporation Of America Communication device
EP3035156A1 (en) * 2014-12-15 2016-06-22 Thomson Licensing Method and apparatus for remotely controlling an electronic device
CN106341606A (en) * 2016-09-29 2017-01-18 努比亚技术有限公司 Device control method and mobile terminal
WO2017012399A1 (en) * 2015-07-22 2017-01-26 广东天诚智能科技有限公司 Intelligent home wireless control system
WO2018031758A1 (en) * 2016-08-11 2018-02-15 Alibaba Group Holding Limited Fourth Floor, One Capital Place Control system and control processing method and apparatus
CN108024239A (en) * 2017-11-29 2018-05-11 深圳创维数字技术有限公司 Remote terminal and its control method, computer-readable recording medium
CN109587536A (en) * 2017-09-29 2019-04-05 中兴通讯股份有限公司 A kind of long-distance remote-control method, equipment, server and system
CN110049076A (en) * 2018-01-16 2019-07-23 北京视联动力国际信息技术有限公司 A kind of operating method and device of equipment
CN112614333A (en) * 2020-12-17 2021-04-06 杭州当贝网络科技有限公司 Remote controller retrieving method and system
US20210282017A1 (en) * 2020-03-06 2021-09-09 Sling Media Pvt. Ltd. Systems and methods for managing remote control units and paired devices
CN113805487A (en) * 2020-07-23 2021-12-17 荣耀终端有限公司 Control instruction generation method and device, terminal equipment and readable storage medium
CN215576965U (en) * 2021-05-20 2022-01-18 永林电子股份有限公司 Infrared remote control receiving head
CN114120618A (en) * 2021-12-01 2022-03-01 四川虹美智能科技有限公司 One-key infrared configuration method, infrared device, mobile terminal and system

Patent Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7045980B2 (en) * 2003-12-09 2006-05-16 Toyota Jidosha Kabushiki Kaisha Power converter and vehicle equipped with power converter
JP2008042330A (en) * 2006-08-02 2008-02-21 Canon Inc Remote controller
JP2011071805A (en) * 2009-09-28 2011-04-07 Saxa Inc Telephone system, telephone terminal and remote control method using telephone terminal
USRE45980E1 (en) * 2009-11-30 2016-04-19 Panasonic Intellectual Property Corporation Of America Communication device
WO2012070250A1 (en) * 2010-11-25 2012-05-31 パナソニック株式会社 Communication device
CN102592434A (en) * 2012-02-20 2012-07-18 中兴通讯股份有限公司 Infrared remote control method and device
EP3035156A1 (en) * 2014-12-15 2016-06-22 Thomson Licensing Method and apparatus for remotely controlling an electronic device
WO2017012399A1 (en) * 2015-07-22 2017-01-26 广东天诚智能科技有限公司 Intelligent home wireless control system
WO2018031758A1 (en) * 2016-08-11 2018-02-15 Alibaba Group Holding Limited Fourth Floor, One Capital Place Control system and control processing method and apparatus
CN106341606A (en) * 2016-09-29 2017-01-18 努比亚技术有限公司 Device control method and mobile terminal
CN109587536A (en) * 2017-09-29 2019-04-05 中兴通讯股份有限公司 A kind of long-distance remote-control method, equipment, server and system
CN108024239A (en) * 2017-11-29 2018-05-11 深圳创维数字技术有限公司 Remote terminal and its control method, computer-readable recording medium
CN110049076A (en) * 2018-01-16 2019-07-23 北京视联动力国际信息技术有限公司 A kind of operating method and device of equipment
US20210282017A1 (en) * 2020-03-06 2021-09-09 Sling Media Pvt. Ltd. Systems and methods for managing remote control units and paired devices
CN113805487A (en) * 2020-07-23 2021-12-17 荣耀终端有限公司 Control instruction generation method and device, terminal equipment and readable storage medium
CN112614333A (en) * 2020-12-17 2021-04-06 杭州当贝网络科技有限公司 Remote controller retrieving method and system
CN215576965U (en) * 2021-05-20 2022-01-18 永林电子股份有限公司 Infrared remote control receiving head
CN114120618A (en) * 2021-12-01 2022-03-01 四川虹美智能科技有限公司 One-key infrared configuration method, infrared device, mobile terminal and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
FRANCISCO CATELLI等: "Estimating the infrared radiation wavelength emitted by a remote control device using adigital camera", 《PHYSICS EDUCATION》, vol. 46, no. 2, pages 219 - 222, XP020191125, DOI: 10.1088/0031-9120/46/2/012 *
唐保寿: "学习型红外遥控器的实现", 《信息通信》, no. 4, pages 189 - 190 *

Also Published As

Publication number Publication date
CN116434514B (en) 2023-09-01

Similar Documents

Publication Publication Date Title
JP6259091B2 (en) Intelligent device control method, terminal and server
KR102206054B1 (en) Method for processing fingerprint and electronic device thereof
CN105915401B (en) Firmware upgrade method, device and the equipment of Intelligent hardware
US11095472B2 (en) Vision-based object recognition device and method for controlling the same
EP3182245A1 (en) Method and apparatus for providing user interface of electronic device
KR102247343B1 (en) Electronic apparatus and method for network temporary unlock
EP3291618B1 (en) Method for recognizing location and electronic device implementing the same
CN104122845B (en) Household appliance control system and method
CN110687820B (en) Control method and device of intelligent household equipment, terminal equipment and storage medium
KR102190436B1 (en) Electronic device and method for transceiving data
CN112260907A (en) Cross-device control method, device and system
EP2942930A2 (en) Sensor module and device including the same
KR20150057080A (en) Apparatas and method for changing a input mode according to input method in an electronic device
KR20150057085A (en) Apparatas and method for reducing a power consumption in an electronic device
JP2016538792A (en) Short-range wireless communication control method and apparatus supporting the same
CN107632600A (en) Control method, apparatus, mobile terminal and the clarifier of air purifier movement
US20190052745A1 (en) Method For Presenting An Interface Of A Remote Controller In A Mobile Device
CN114389910A (en) Terminal control method and terminal control device based on UWB implementation
CN116434514B (en) Infrared remote control method and infrared remote control device
KR20150117968A (en) Apparatas and method for changing a function according to input direction in an electronic device
CN105830421B (en) Electronic device and operation method thereof
KR20160068514A (en) Apparatus and method for controlling a touch input in electronic device
CN104182156B (en) Touch-screen equipment and its batch selection method and device
CN106714161B (en) Cut off method, equipment and the system of unauthorized mobile terminal network connection
KR20160020763A (en) Mobile terminal and operating method thereof

Legal Events

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