[go: up one dir, main page]

CN109874042A - A kind of method, apparatus and terminal of controlling terminal - Google Patents

A kind of method, apparatus and terminal of controlling terminal Download PDF

Info

Publication number
CN109874042A
CN109874042A CN201711270334.0A CN201711270334A CN109874042A CN 109874042 A CN109874042 A CN 109874042A CN 201711270334 A CN201711270334 A CN 201711270334A CN 109874042 A CN109874042 A CN 109874042A
Authority
CN
China
Prior art keywords
instruction
state
terminal
terminals
target
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.)
Withdrawn
Application number
CN201711270334.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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201711270334.0A priority Critical patent/CN109874042A/en
Publication of CN109874042A publication Critical patent/CN109874042A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Selective Calling Equipment (AREA)

Abstract

The embodiment of the invention discloses a kind of methods of controlling terminal, which comprises sends the first instruction to N number of terminal;First instruction is used to indicate N number of terminal and enters first state;First state is to respond the state of the second instruction, and N is the integer greater than 1;The second instruction is sent to N number of terminal;It include the identification information of M target terminal in second instruction, M is the integer less than or equal to N;Second instruction is used to indicate M target terminal and switches to the second state from first state, and indicates that non-targeted terminal all in N number of terminal switches to the third state from first state;Second state is to respond the state of third instruction, and the third state is to shield the state of third instruction;Third instruction is sent to N number of terminal.The embodiment of the invention also discloses a kind of controlling terminal device and terminals.

Description

Terminal control method and device and terminal
Technical Field
The present invention relates to the field of communications, and in particular, to a method and an apparatus for controlling a terminal, and a terminal.
Background
At present, terminal control is mostly realized through wired control and wireless control, in the wireless control, a control signal is sent through a main control device (such as a remote controller), and a controlled terminal (such as a television, an air conditioner and the like) responds to the control signal after receiving the control signal. If the same communication system is adopted for the communication between the plurality of terminals and the remote controller, after the remote controller sends the control signal, the plurality of controlled terminals all respond to the control signal after receiving the control signal, but actually, only one or more terminals really need to respond to the control signal, the phenomenon is called crosstalk, and the accuracy of the control terminal is reduced due to the occurrence of the crosstalk phenomenon.
For example, when the controlled terminal is a network digital set-top box, the most control mode adopted by the remote controller of the network digital set-top box is an infrared remote control mode, and the infrared remote controller is used for controlling the set-top box and is a unidirectional communication mode, i.e., the remote controller can only transmit signals, and the set-top box can only receive signals. And the remote controllers of all the set-top boxes with the same model are the same, and the same set of remote control instructions are adopted, namely the remote controllers of all the set-top boxes can be mutually exchanged for use.
In the development or test stage of the set-top box, a plurality of set-top boxes with the same model are often required to be put together for experiments such as copying and the like. In the experimental process, sometimes, an infrared remote controller is used to operate several set top boxes to check the states of the set top boxes, and meanwhile, other set top boxes are not influenced and the experimental state is continuously kept. However, because the set-top boxes of the same type and the configured remote controllers all adopt the same set of remote control instructions, when the remote controllers are used for operating a plurality of set-top boxes, the set-top box arranged beside the set-top box also receives the remote control signals and generates response actions, and the working state of the set-top box is possibly changed, thereby influencing the experimental result.
At present, experimenters generally adopt a method that a remote controller is close to a target set top box or covers an infrared receiving window of other non-target set top boxes, so that the aim of selectively controlling the set top boxes is fulfilled. However, this method is not applicable in many situations (for example, the set-top box is placed in a high-temperature oven), and is very cumbersome to implement because the infrared signal has high penetrability and is difficult to be effectively shielded. In many times, when the state of one set top box needs to be checked, all the set top boxes can only quit the experiment and start the experiment again because the infrared remote controller cannot be used for independently operating the set top boxes, and the experiment difficulty is increased.
Disclosure of Invention
In order to solve the above technical problems, embodiments of the present invention are directed to providing a method and an apparatus for controlling a terminal, and a terminal, so as to reduce crosstalk and improve accuracy of controlling the terminal.
The technical scheme of the invention is realized as follows:
the embodiment of the invention provides a first method for controlling a terminal, which comprises the following steps:
sending a first instruction to the N terminals; the first instruction is used for indicating the N terminals to enter a first state; the first state is a state responding to a second instruction, and N is an integer greater than 1;
sending the second instruction to the N terminals; the second instruction comprises identification information of M target terminals, wherein M is an integer less than or equal to N; the second instruction is used for instructing the M target terminals to switch from the first state to a second state and instructing all non-target terminals in the N terminals to switch from the first state to a third state; the second state is a state responding to a third instruction, and the third state is a state of shielding the third instruction;
sending the third instruction to the N terminals;
the first instruction, the second instruction and the third instruction are as follows: and (5) remote control instructions.
In the above scheme, the first instruction is an instruction generated by pressing at least two keys according to a preset pressing strategy.
In the foregoing solution, after the sending the first instruction to the N terminals, the method further includes: sending a fourth instruction to the N terminals, wherein the fourth instruction is used for indicating the N terminals to be switched from the current state to the initial working state; the fourth instruction is a remote control instruction.
The embodiment of the invention also provides a second method for controlling the terminal, which comprises the following steps:
the terminal receives a first instruction and enters a first state according to the first instruction;
the terminal receives a second instruction, and judges whether the terminal is a target terminal or not according to the identification information of the target terminal contained in the second instruction;
when the terminal is determined to be a target terminal, switching the terminal from the first state to a second state; and receiving a third instruction; the second state is a state in response to a third instruction;
when the terminal is determined not to be the target terminal, switching the terminal from the first state to a third state; the third state is a state of shielding a third instruction;
the first instruction, the second instruction and the third instruction are as follows: and (5) remote control instructions.
In the above scheme, the first instruction is an instruction generated by pressing at least two keys according to a preset pressing strategy.
In the foregoing solution, after the terminal enters the first state, the method further includes: when the second instruction is not received within a preset time period or a fourth instruction is received, controlling the terminal to be switched from the current state to the initial working state; the fourth instruction is a remote control instruction.
In the above scheme, the terminal includes an indication component, where the indication component is used to indicate a state of the terminal;
correspondingly, after the terminal receives the first instruction, the method further comprises: an indicating part controlling the terminal to indicate a first state;
correspondingly, the switching the terminal from the first state to the second state includes: an indicating part controlling the terminal to indicate a second state;
correspondingly, the switching the terminal from the first state to a third state includes: an indicating part controlling the terminal to indicate a third state;
correspondingly, the controlling the terminal to switch from the current state to the initial working state includes: an indication part controlling the terminal indicates an initial operation state.
The embodiment of the invention also provides a device for controlling the terminal, which comprises: a first memory and a first processor; wherein,
the first processor is configured to execute a first control terminal program stored in the first memory to implement the following steps:
sending a first instruction to the N terminals; the first instruction is used for indicating the N terminals to enter a first state; the first state is a state responding to a second instruction, and N is an integer greater than 1;
sending the second instruction to the N terminals; the second instruction comprises identification information of M target terminals, wherein M is an integer less than or equal to N; the second instruction is used for instructing the M target terminals to switch from the first state to a second state and instructing all non-target terminals in the N terminals to switch from the first state to a third state; the second state is a state responding to a third instruction, and the third state is a state of shielding the third instruction;
sending the third instruction to the N terminals;
the first instruction, the second instruction and the third instruction are as follows: and (5) remote control instructions.
The embodiment of the invention also provides a terminal, which comprises: a second memory and a second processor; wherein,
the second processor is configured to execute a second control terminal program stored in the second memory to implement the following steps:
receiving a first instruction, and entering a first state according to the first instruction;
receiving a second instruction, and judging whether the terminal is a target terminal or not according to identification information of the target terminal contained in the second instruction;
when the terminal is determined to be a target terminal, switching the terminal from the first state to a second state; and receiving a third instruction; the second state is a state in response to a third instruction;
when the terminal is determined not to be the target terminal, switching the terminal from the first state to a third state; the third state is a state of shielding a third instruction;
the first instruction, the second instruction and the third instruction are as follows: and (5) remote control instructions.
A first computer-readable storage medium is also provided in an embodiment of the present invention, on which a computer program is stored, wherein the computer program, when executed by a processor, implements the steps of the first method for controlling a terminal.
A second computer-readable storage medium is also provided in an embodiment of the present invention, on which a computer program is stored, wherein the computer program, when executed by a processor, implements the steps of the second method for controlling a terminal.
The method, the device and the terminal for controlling the terminal provided by the embodiment of the invention send a first instruction to N terminals; the first instruction is used for indicating the N terminals to enter a first state; the first state is a state in response to the second instruction, and N is an integer greater than 1; sending a second instruction to the N terminals; the second instruction comprises identification information of M target terminals, wherein M is an integer less than or equal to N; the second instruction is used for indicating the M target terminals to be switched from the first state to the second state and indicating all the non-target terminals in the N terminals to be switched from the first state to the third state; the second state is a state responding to a third instruction, and the third state is a state of shielding the third instruction; sending a third instruction to the N terminals; the first instruction, the second instruction and the third instruction are as follows: and (5) remote control instructions.
By adopting the technical scheme, all N terminals can be instructed to enter a selection preparation state through the first instruction, namely the first state, M target terminals are determined according to identification information of the target terminals carried in the second instruction, then the states of the target terminals are switched to the second state for responding to a next third instruction, the states of the non-target terminals are switched to the third state for shielding the next third instruction, the control operation on the target terminals can be realized through the third instruction, and other non-target terminals can refuse to respond to the third instruction. Therefore, the crosstalk phenomenon can be reduced, and the accuracy of terminal control is improved.
Drawings
Fig. 1 is a flowchart of a first embodiment of a method of controlling a terminal according to an embodiment of the present invention;
fig. 2 is a flowchart of a second embodiment of a method of controlling a terminal according to an embodiment of the present invention;
fig. 3 is a flowchart of a third embodiment of a method of controlling a terminal according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a control terminal device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
The first method for controlling a terminal provided in the embodiment of the present invention may be applied to a device for controlling a terminal, such as: the device may be a remote control for a television, air conditioner, television set-top box, remote fan, remote stereo or other device.
Fig. 1 is a flowchart of a first embodiment of a method for controlling a terminal according to an embodiment of the present invention, as shown in fig. 1, the method includes:
step 101: sending a first instruction to the N terminals; the first instruction is used for indicating the N terminals to enter a first state.
In the embodiment of the present invention, the first state is a state in response to the second instruction, and N is an integer greater than 1.
Illustratively, the first instruction is an instruction generated by pressing at least two keys according to a preset pressing strategy.
The method can also comprise the following steps: and setting identification information for each terminal in the N terminals in advance. The identification information can be a terminal number, corresponding numbers are set for the N terminals in advance, the numbers are sent to the corresponding terminals, and the terminals receive and store the numbers.
Step 102: and sending a second instruction to the N terminals.
In the embodiment of the invention, the second instruction comprises identification information of M target terminals, wherein M is an integer less than or equal to N; the second instruction is used for indicating the M target terminals to be switched from the first state to the second state and indicating all the non-target terminals in the N terminals to be switched from the first state to the third state; the second state is a state responsive to a third instruction, and the third state is a state masking the third instruction.
For example, after receiving the second instruction, the terminal compares the identification information of the target terminal included in the second instruction with the identification information stored in the terminal itself, and determines whether the terminal itself is the target terminal, if the terminal itself is the target terminal, the terminal switches the state of the terminal itself from the first state to the second state, and if the terminal itself is not the target terminal, the terminal switches the state of the terminal itself from the first state to the third state.
Step 103: and sending a third instruction to the N terminals.
In the embodiment of the invention, the third instruction is a normal remote control instruction, the remote controller sends the normal remote control instruction (such as instructions of program selection, fast forward, fast backward, volume increase, volume decrease and the like) to the target terminal, the target terminal normally responds to the received third instruction, and the response is refused when the non-target terminal also receives the third instruction, so that the target terminal is accurately controlled, and the crosstalk is avoided.
In the embodiment of the present invention, after step 101, the method may further include: sending a fourth instruction to the N terminals, wherein the fourth instruction is used for indicating the N terminals to be switched from the current state to the initial working state; the fourth instruction is a remote control instruction. Here, the fourth instruction is used to end the individual control of the target terminal, so that the N terminals are restored to the initial operating state, where the initial operating state may be a normal control state, and the terminal normally responds to the received control instruction.
In this embodiment of the present invention, the first instruction, the second instruction, the third instruction, and the fourth instruction may be: remote control commands, such as: infrared remote control commands, bluetooth remote control commands, etc. The third instruction is generated by normally pressing a remote controller key; the second instruction and the fourth instruction may be generated by normally pressing the keys of the remote controller, or may be generated by pressing at least two keys according to a preset pressing strategy.
Specifically, the preset pressing strategy may be: sequentially pressing the first key, the second key and the third key within preset time to generate a first instruction; sequentially pressing the second key, the first key and the third key within preset time to generate a second instruction; sequentially pressing the third key, the second key and the first key within a preset time to generate a third instruction; and sequentially pressing the second key, the third key and the first key within preset time to generate a fourth instruction. Here, the preset time may be 2 seconds, 3 seconds, or 5 seconds, and the first key, the second key, or the third key may be any one of a number key, an alphabet key, or other function keys. For example, a red key, a green key and a yellow key are arranged on the television remote controller, a red key-green key-yellow key on the remote controller is pressed within 5 seconds to send a first instruction, a yellow key-green key-red key on the remote controller is pressed within 5 seconds to send a second instruction, and a green key-yellow key-red key on the remote controller is pressed within 5 seconds to send a fourth instruction.
In the embodiment of the invention, the target terminal and the non-target terminal can be determined in the N terminals by sending the first instruction and the second instruction, the target terminal is in a state of normally responding to the third instruction, the non-target terminal is in a state of shielding the third instruction, the influence of the third instruction on the non-target terminal is shielded, and the control accuracy of the target terminal is improved.
Second embodiment
Based on the same inventive concept, the embodiment of the invention also provides another method for controlling the terminal, and the method is applied to the N terminals.
Fig. 2 is a flowchart of a second embodiment of a method for controlling a terminal according to an embodiment of the present invention, where the method includes:
step 201: the terminal receives the first instruction and enters a first state according to the first instruction.
Optionally, setting identification information for each of the N terminals in advance; for example, the identification information may be a terminal number, numbers of N terminals are predetermined and sent to corresponding terminals, and the terminals receive and store the numbers.
For example, the specific step of setting the identification information for the terminal in advance may include: step A: receiving a setting instruction sent by a remote controller, and entering a setting page; and B: receiving identification information sent by a remote controller, taking the identification information as the identification information of the terminal and storing the identification information to the local; and C: and exiting the setting page to complete the setting of the identification information.
Optionally, a status flag bit is set for the terminal in advance; the status flag bit is used for identifying the status of the terminal. The status flag bits may be used to indicate a first state, a second state, a third state, and a fourth state. The identification information and the status flag bit of the terminal may be stored in a non-volatile memory (non-volatile memory) in the terminal, such as: Read-Only memories (ROMs), Flash memories (Flash memories), Erasable Programmable Read Only Memories (EPROMs), etc. The terminal can not change the identification information and the state flag bit when the power is off or the terminal is restarted, the identification information can be changed only when the identification information is reset, and the state flag bit can be changed only when the state of the terminal is changed.
In practical implementation, the first state is a candidate state, and can respond to the second instruction. It should be noted that, when some terminals in the N terminals need to be operated, the N terminals collectively enter a candidate state by receiving the first instruction to wait for the following steps to be executed.
In the embodiment of the invention, the first instruction is generated by pressing at least two keys according to a preset pressing strategy.
Step 202: the terminal receives the second instruction, judges whether the terminal is the target terminal according to the identification information of the target terminal contained in the second instruction, and if so, executes step 203; if not, step 204 is performed.
Optionally, the second instruction includes identification information of the target terminal, and determines whether the target terminal is the target terminal according to the identification information, and executes the state switching operation.
Another optional implementation manner is that the second instruction may also be divided into a second instruction 1 and a second instruction 2, where the second instruction 1 is identification information of the target terminal, and the terminal receives the second instruction 1 first and determines whether itself is the target terminal according to the second instruction 1; the second instruction 2 is a state setting instruction, the terminal receives the second instruction 2, the target terminal is switched from the first state to the second state according to the second instruction 2, and the non-target terminal is switched from the first state to the third state according to the second instruction 2.
In actual implementation, if the second instruction is not received within a preset time period or a fourth instruction is received, the control terminal is switched from the current state to the initial working state.
Step 203: when the terminal is determined to be the target terminal, switching the terminal from the first state to the second state; and receiving a third instruction; the second state is a state responsive to a third instruction.
In practical implementation, the third instruction can be normally received and responded when the target terminal enters the second state.
Step 204: when the terminal is determined not to be the target terminal, switching the terminal from the first state to a third state; the third state is a state that masks the third instruction.
In practical implementation, when the non-target terminal enters the third state, if the third instruction is received, the third instruction is shielded without any response to the third instruction.
Illustratively, the first instruction, the second instruction, the third instruction, and the fourth instruction are: remote control commands, such as: infrared remote control commands, bluetooth remote control commands, etc. The third instruction is an instruction generated by normally pressing a remote controller key, and the second instruction and the fourth instruction may be instructions generated by normally pressing a remote controller key or instructions generated by pressing at least two keys through a preset pressing strategy. The pressing object may be a remote controller corresponding to the terminal, and the control operation is performed on the terminal by pressing a key on the remote controller.
In practical implementation, the terminal may further include an indication component for indicating a state of the terminal. Correspondingly, after the terminal receives the first instruction, the indicating component of the control terminal indicates the first state; when the terminal is switched from the first state to the second state, the indicating component for controlling the terminal indicates the second state; when the terminal is switched from the first state to the third state, the indicating component for controlling the terminal indicates the third state; when the control terminal is switched from the current state to the initial working state, the indicating component of the control terminal indicates the initial working state. For example, the indicator member is an indicator light that flashes at a 0.5 second cycle to indicate the first state; indicating a second state with normally on; indicating a third state by slowly flashing for a period of 1.5 seconds; indicating a fourth state as normally off.
Third embodiment
To further embody the object of the present invention, further illustration is made on the basis of the first embodiment and the second embodiment.
Fig. 3 is a flowchart of a third embodiment of a method for controlling a terminal according to an embodiment of the present invention, where the method may also be applied to a system for controlling terminals, where the system includes one remote controller and N terminals, and in the third embodiment, one remote controller may control the N terminals simultaneously or may control one terminal separately. The method specifically comprises the following steps:
step 301: the N terminals receive a first instruction sent by the remote controller.
Step 302: the N terminals respectively enter a first state and control the indicator lamps to indicate the first state.
Illustratively, the indicator lights of the N terminals flash at a period of 0.5 second to indicate a first state in which the terminals only respond to specific instructions set in embodiments of the present invention, and the specific instructions may include: the system comprises a first instruction, a second instruction, a fourth instruction and a digital key instruction. Here, the response to the numeric key command when the identification information of the target terminal is a number is for identifying the target terminal.
Step 303: each terminal receives a second instruction 1 sent by the remote controller, judges whether the terminal is a target terminal according to the second instruction 1, if so, executes step 304, and if not, executes step 306.
Illustratively, after confirming that all the terminals are switched to the first state through the indicator lamps of the N terminals, the operator sends a second instruction 1 to the N terminals through the remote controller to select the target terminal. The second instruction 1 may be a target terminal number, and the terminal determines whether the terminal is a target terminal according to a comparison between the received target terminal number and the terminal number.
Step 304: and the target terminal receives a second instruction 2 sent by the remote controller, switches the first state of the target terminal to the second state and controls the indicator lamp to indicate the second state.
Illustratively, the indicator light of the target terminal is normally on to indicate the second state, and normally responds to the received remote control command in the second state.
It should be noted that, N terminals can normally receive and respond to a remote control instruction sent by a remote controller in an initial state, and therefore, the second state may also be the initial state. The step can also be as follows: and the target terminal is returned to the initial state from the first state to normally receive and respond to a third instruction sent by the remote controller.
In actual implementation, an operator can confirm whether the target terminal is correctly selected through the indicator lamp so as to ensure the correctness of the next operation.
Step 305: the target terminal receives and responds to the third instruction.
Step 306: and each non-target terminal receives a second instruction 2 sent by the remote controller, switches the respective first state to a third state, and controls the indicator lamp to indicate the third state.
Step 307: each non-target terminal masks the third instruction.
Here, the non-target terminal in the third state can only respond to the specific instruction, for example, the fourth instruction, and does not respond to the third instruction, so that the situation that when the third instruction is sent to the target terminal, other non-target terminals also receive the third instruction and misoperation occurs is avoided.
Specifically, the second state and the third state may be distinguished by setting a state flag, and the terminal masks the third instruction when the state flag is valid, and responds to the third instruction when the state flag is invalid.
In actual practice, step 305 and step 307 are followed by step 308.
Step 308: and the N terminals switch the current state of the terminals to the initial working state after receiving a fourth instruction sent by the remote controller.
In actual implementation, when the N terminals do not receive the second instruction 1 or the second instruction 2 within a preset time period, or receive the fourth instruction, the N terminals switch their current states to the initial working state.
In actual implementation, after finishing the individual operation on the target terminal, all the terminals are restored to the initial working state by sending a fourth instruction to the N terminals, and when the individual operation on another terminal is required, the processes from step 301 to step 308 are executed again, except that the identification information in the second instruction 1 is changed in step 303, the individual control on another terminal can be realized.
The first method for controlling the terminal provided in the embodiment of the invention sends a first instruction to N terminals; the first instruction is used for indicating the N terminals to be switched to a first state from an initial working state; the first state is a state in response to the second instruction, and N is an integer greater than 1; sending a second instruction to the N terminals; the second instruction comprises identification information of M target terminals, wherein M is an integer less than or equal to N; the second instruction is used for indicating the M target terminals to be switched from the first state to the second state and indicating all the non-target terminals in the N terminals to be switched from the first state to the third state; the second state is a state responding to a third instruction, and the third state is a state of shielding the third instruction; and sending a third instruction to the N terminals.
In the second method for controlling a terminal provided in the embodiment of the present invention, the terminal receives the first instruction, and switches the terminal from the initial operating state to the first state according to the first instruction; the terminal receives the second instruction, and judges whether the terminal is the target terminal or not according to the identification information of the target terminal contained in the second instruction; when the terminal is determined to be the target terminal, switching the terminal from the first state to the second state; the second state is a state in response to a third instruction; when the terminal is determined not to be the target terminal, switching the terminal from the first state to a third state; the third state is a state of shielding the third instruction; the terminal receives a third instruction; the first instruction, the second instruction and the third instruction are as follows: and (5) remote control instructions.
By adopting the technical scheme, all N terminals can be instructed to enter a selection preparation state through the first instruction, namely the first state, M target terminals are determined according to identification information of the target terminals carried in the second instruction, then the states of the target terminals are switched to the second state for responding to a next third instruction, the states of the non-target terminals are switched to the third state for shielding the next third instruction, the control operation on the target terminals can be realized through the third instruction, and other non-target terminals can refuse to respond to the third instruction. Therefore, the crosstalk phenomenon can be reduced, and the accuracy of terminal control is improved.
Fourth embodiment
To a method according to an embodiment of the present invention, an embodiment of the present invention further provides a control terminal device, fig. 4 is a schematic diagram of a composition structure of the control terminal device according to an embodiment of the present invention, and as shown in fig. 4, the device 40 includes: a first memory 401 and a first processor 402; wherein,
the first processor 402 is configured to execute a first control terminal program stored in the first memory 401 to implement the following steps:
sending a first instruction to the N terminals; the first instruction is used for indicating the N terminals to enter a first state; the first state is a state in response to the second instruction, and N is an integer greater than 1;
sending a second instruction to the N terminals; the second instruction comprises identification information of M target terminals, wherein M is an integer less than or equal to N; the second instruction is used for indicating the M target terminals to be switched from the first state to the second state and indicating all the non-target terminals in the N terminals to be switched from the first state to the third state; the second state is a state responding to a third instruction, and the third state is a state of shielding the third instruction;
sending a third instruction to the N terminals;
the first instruction, the second instruction and the third instruction are as follows: and (5) remote control instructions.
In practical implementation, the first instruction is generated by pressing at least two keys according to a preset pressing strategy.
In practical implementation, after sending the first instruction to the N terminals, the first processor 402 is further configured to implement the following steps: sending a fourth instruction to the N terminals, wherein the fourth instruction is used for indicating the N terminals to be switched from the current state to the initial working state; the fourth instruction is a remote control instruction.
Fifth embodiment
Based on the same inventive concept, the embodiment of the invention also provides a terminal. Fig. 5 is a schematic diagram of a composition structure of a terminal according to an embodiment of the present invention, and as shown in fig. 5, the terminal 50 includes: a second memory 501 and a second processor 502; wherein,
the second processor 502 is configured to execute the second control terminal program stored in the second memory 501 to implement the following steps:
receiving a first instruction, and entering a first state according to the first instruction;
receiving a second instruction, and judging whether the terminal is the target terminal according to the identification information of the target terminal contained in the second instruction;
when the terminal is determined to be the target terminal, switching the terminal from the first state to the second state; and receiving a third instruction; the second state is a state in response to a third instruction;
when the terminal is determined not to be the target terminal, switching the terminal from the first state to a third state; the third state is a state of shielding the third instruction;
the first instruction, the second instruction and the third instruction are as follows: and (5) remote control instructions.
In practical implementation, after the terminal enters the first state, the method further includes: when the second instruction is not received within a preset time period or a fourth instruction is received, the control terminal is switched to the initial working state from the current state; the fourth instruction is a remote control instruction.
In practical implementation, the first instruction is generated by pressing at least two keys according to a preset pressing strategy.
In practical implementation, the terminal comprises an indicating component, and the indicating component is used for indicating the state of the terminal;
correspondingly, the second processor 502 is further configured to implement the following steps: an indicating part of the control terminal indicates a first state; or an indicating component of the control terminal indicates the second state; or an indicating component of the control terminal indicates the third state; or an indicating part of the control terminal indicates an initial operating state.
In practical implementation, before the terminal receives the first instruction, the second processor 502 is further configured to implement the following steps: setting a state flag bit for a terminal in advance; the status flag bit is used for identifying the status of the terminal.
In practical applications, the first Memory 401 and the second Memory 501 may be a volatile Memory (volatile Memory), such as a Random-Access Memory (RAM); or a non-volatile memory (non-volatile memory) such as a ROM, flash memory, hard disk, or solid state disk; or a combination of the above types of memories and provides instructions and data to the processor.
The first Processor 402 and the second Processor 502 may be at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field-Programmable Gate Array (FPGA), a Central Processing Unit (CPU), a Microprocessor (MPU), a Digital Signal Processor (DSP), a controller, a microcontroller, and a microprocessor. It will be appreciated that the electronic devices used to implement the processor functions described above may be other devices, and embodiments of the invention are not limited in this respect.
Sixth embodiment
Based on the same inventive concept, embodiments of the present invention further provide a computer-readable storage medium, such as a first memory including a first control terminal program, which is executable by a first processor of a control terminal device to perform the method steps in the foregoing first embodiment or more embodiments.
Seventh embodiment
Based on the same inventive concept, embodiments of the present invention further provide a computer-readable storage medium, such as a second memory including a second control terminal program, which is executable by a second processor of the terminal to perform the method steps in the foregoing second embodiment or more embodiments.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart block or blocks and/or flowchart block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart block or blocks and/or flowchart block or blocks.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.

Claims (11)

1. A method of controlling a terminal, the method comprising:
sending a first instruction to the N terminals; the first instruction is used for indicating the N terminals to enter a first state; the first state is a state responding to a second instruction, and N is an integer greater than 1;
sending the second instruction to the N terminals; the second instruction comprises identification information of M target terminals, wherein M is an integer less than or equal to N; the second instruction is used for instructing the M target terminals to switch from the first state to a second state and instructing all non-target terminals in the N terminals to switch from the first state to a third state; the second state is a state responding to a third instruction, and the third state is a state of shielding the third instruction;
sending the third instruction to the N terminals;
the first instruction, the second instruction and the third instruction are as follows: and (5) remote control instructions.
2. The method of claim 1, wherein the first command is a command generated by pressing at least two keys according to a preset pressing strategy.
3. The method of claim 1, wherein after the sending the first instructions to the N terminals, the method further comprises: sending a fourth instruction to the N terminals, wherein the fourth instruction is used for indicating the N terminals to be switched from the current state to the initial working state; the fourth instruction is a remote control instruction.
4. A method of controlling a terminal, the method comprising:
the terminal receives a first instruction and enters a first state according to the first instruction;
the terminal receives a second instruction, and judges whether the terminal is a target terminal or not according to the identification information of the target terminal contained in the second instruction;
when the terminal is determined to be a target terminal, switching the terminal from the first state to a second state; and receiving a third instruction; the second state is a state in response to a third instruction;
when the terminal is determined not to be the target terminal, switching the terminal from the first state to a third state; the third state is a state of shielding a third instruction;
the first instruction, the second instruction and the third instruction are as follows: and (5) remote control instructions.
5. The method of claim 4, wherein the first command is a command generated by pressing at least two keys according to a preset pressing strategy.
6. The method of claim 4, wherein after the terminal enters the first state, the method further comprises: when the second instruction is not received within a preset time period or a fourth instruction is received, controlling the terminal to be switched from the current state to the initial working state; the fourth instruction is a remote control instruction.
7. The method according to claim 6, wherein the terminal comprises an indication means for indicating the status of the terminal;
correspondingly, after the terminal receives the first instruction, the method further comprises: an indicating part controlling the terminal to indicate a first state;
correspondingly, the switching the terminal from the first state to the second state includes: an indicating part controlling the terminal to indicate a second state;
correspondingly, the switching the terminal from the first state to a third state includes: an indicating part controlling the terminal to indicate a third state;
correspondingly, the controlling the terminal to switch from the current state to the initial working state includes: an indication part controlling the terminal indicates an initial operation state.
8. An apparatus for controlling a terminal, the apparatus comprising: a first memory and a first processor; wherein,
the first processor is configured to execute a first control terminal program stored in the first memory to implement the following steps:
sending a first instruction to the N terminals; the first instruction is used for indicating the N terminals to enter a first state; the first state is a state responding to a second instruction, and N is an integer greater than 1;
sending the second instruction to the N terminals; the second instruction comprises identification information of M target terminals, wherein M is an integer less than or equal to N; the second instruction is used for instructing the M target terminals to switch from the first state to a second state and instructing all non-target terminals in the N terminals to switch from the first state to a third state; the second state is a state responding to a third instruction, and the third state is a state of shielding the third instruction;
sending the third instruction to the N terminals;
the first instruction, the second instruction and the third instruction are as follows: and (5) remote control instructions.
9. A terminal, characterized in that the terminal comprises: a second memory and a second processor; wherein,
the second processor is configured to execute a second control terminal program stored in the second memory to implement the following steps:
receiving a first instruction, and entering a first state according to the first instruction;
receiving a second instruction, and judging whether the terminal is a target terminal or not according to identification information of the target terminal contained in the second instruction;
when the terminal is determined to be a target terminal, switching the terminal from the first state to a second state; and receiving a third instruction; the second state is a state in response to a third instruction;
when the terminal is determined not to be the target terminal, switching the terminal from the first state to a third state; the third state is a state of shielding a third instruction;
the first instruction, the second instruction and the third instruction are as follows: and (5) remote control instructions.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 3.
11. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method of any one of claims 4 to 7.
CN201711270334.0A 2017-12-05 2017-12-05 A kind of method, apparatus and terminal of controlling terminal Withdrawn CN109874042A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711270334.0A CN109874042A (en) 2017-12-05 2017-12-05 A kind of method, apparatus and terminal of controlling terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711270334.0A CN109874042A (en) 2017-12-05 2017-12-05 A kind of method, apparatus and terminal of controlling terminal

Publications (1)

Publication Number Publication Date
CN109874042A true CN109874042A (en) 2019-06-11

Family

ID=66916668

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711270334.0A Withdrawn CN109874042A (en) 2017-12-05 2017-12-05 A kind of method, apparatus and terminal of controlling terminal

Country Status (1)

Country Link
CN (1) CN109874042A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110837230A (en) * 2019-10-28 2020-02-25 珠海格力电器股份有限公司 Method and device for controlling equipment, computing equipment and storage medium
CN114327331A (en) * 2021-12-22 2022-04-12 深圳Tcl新技术有限公司 Information display method, information display device, electronic equipment and computer readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020154888A1 (en) * 2001-04-19 2002-10-24 Digeo, Inc. Remote control device with integrated display screen for controlling a digital video recorder
CN1991566A (en) * 2005-12-30 2007-07-04 联想(北京)有限公司 Method for displaying on-off state of electronic equipment and on-off interactive device
US20080088495A1 (en) * 2006-10-12 2008-04-17 Funai Electric Co. Ltd. Remote operation system
CN102036027A (en) * 2009-09-30 2011-04-27 鸿富锦精密工业(深圳)有限公司 Control system and method for jointed television wall
CN103813195A (en) * 2014-02-24 2014-05-21 深圳创维-Rgb电子有限公司 Method for selectively controlling multiple televisions, system, external equipment and televisions
CN106162283A (en) * 2016-07-29 2016-11-23 镇江惠通电子有限公司 For the control code sending method of television set, device and television set

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020154888A1 (en) * 2001-04-19 2002-10-24 Digeo, Inc. Remote control device with integrated display screen for controlling a digital video recorder
CN1991566A (en) * 2005-12-30 2007-07-04 联想(北京)有限公司 Method for displaying on-off state of electronic equipment and on-off interactive device
US20080088495A1 (en) * 2006-10-12 2008-04-17 Funai Electric Co. Ltd. Remote operation system
CN102036027A (en) * 2009-09-30 2011-04-27 鸿富锦精密工业(深圳)有限公司 Control system and method for jointed television wall
CN103813195A (en) * 2014-02-24 2014-05-21 深圳创维-Rgb电子有限公司 Method for selectively controlling multiple televisions, system, external equipment and televisions
CN106162283A (en) * 2016-07-29 2016-11-23 镇江惠通电子有限公司 For the control code sending method of television set, device and television set

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110837230A (en) * 2019-10-28 2020-02-25 珠海格力电器股份有限公司 Method and device for controlling equipment, computing equipment and storage medium
CN114327331A (en) * 2021-12-22 2022-04-12 深圳Tcl新技术有限公司 Information display method, information display device, electronic equipment and computer readable storage medium
CN114327331B (en) * 2021-12-22 2023-09-19 深圳Tcl新技术有限公司 Information display method, information display device, electronic equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN107305358B (en) Method for controlling cooking appliance and cooking appliance
CN114071439A (en) Method, device, equipment and storage medium for pairing Bluetooth remote controller and multiple equipment
WO2013078054A1 (en) Prioritized controller arbitration
CA2442658A1 (en) Method and apparatus for memory cloning for a control device
CN112154399B (en) Rocker calibration method, remote control terminal and computer readable storage medium
CN109874042A (en) A kind of method, apparatus and terminal of controlling terminal
CN111399459A (en) Intelligent household equipment control method, device, equipment and storage medium
CN101341478A (en) Method for downloading configuration file in programmable circuit and device comprising same
KR101981421B1 (en) Program generating device and method
CN108427317A (en) Home equipment control method and device
CN110609480B (en) Safety control method and system for household appliance
CN111221554B (en) DSP circuit structure, DSP online program upgrading method and device
CN104464861A (en) Nuclear power station rotating machine driving control method and device
CN105653003A (en) Cell management unit, cell management system, and communication management method and system of cell management system
CN111103532A (en) Method and device for detecting contact of intelligent key panel
CN110288736A (en) Electronic lock resetting method and electronic lock
US11321055B2 (en) Program creation assistance device
CN108931923A (en) Device control method and apparatus, storage medium, and electronic apparatus
CN104570903A (en) PLD editor and method for editing PLD code
CN110536186B (en) Remote sensing control method and device, electronic equipment and storage medium
CN105893069A (en) Software burning method and device
CN113220345A (en) Instruction block processing method, device, equipment and storage medium
US11240988B2 (en) Control system, method and computer program for an automatic milking machine
JP4976726B2 (en) Sensor system and sensor unit
US20160041540A1 (en) Home controller and information updating 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
WW01 Invention patent application withdrawn after publication

Application publication date: 20190611

WW01 Invention patent application withdrawn after publication