CN114286012A - Monitoring equipment, control method thereof and terminal - Google Patents

Monitoring equipment, control method thereof and terminal Download PDF

Info

Publication number
CN114286012A
CN114286012A CN202210110526.XA CN202210110526A CN114286012A CN 114286012 A CN114286012 A CN 114286012A CN 202210110526 A CN202210110526 A CN 202210110526A CN 114286012 A CN114286012 A CN 114286012A
Authority
CN
China
Prior art keywords
rotation
camera
instruction
time length
terminal
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
CN202210110526.XA
Other languages
Chinese (zh)
Other versions
CN114286012B (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.)
Qingdao Hisense Smart Life Technology Co Ltd
Original Assignee
Qingdao Hisense Smart Life Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Hisense Smart Life Technology Co Ltd filed Critical Qingdao Hisense Smart Life Technology Co Ltd
Priority to CN202210110526.XA priority Critical patent/CN114286012B/en
Publication of CN114286012A publication Critical patent/CN114286012A/en
Application granted granted Critical
Publication of CN114286012B publication Critical patent/CN114286012B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The application discloses a monitoring device, a control method thereof and a terminal, and belongs to the technical field of communication. The monitoring device includes: a controller and a rotatable camera; the monitoring device establishes communication connection with the terminal, and the controller is used for: after receiving a rotation starting instruction aiming at the camera sent by the terminal through the communication connection, controlling the camera to rotate along a target direction; the start rotation instruction carries information of a target direction; when a rotation stopping instruction aiming at the camera sent by the terminal is received through the communication connection, if the actual time length of the rotation of the camera exceeds the expected time length carried by the rotation stopping instruction, the camera is controlled to rotate along the opposite direction of the target direction; and controlling the camera to stop rotating based on the actual time length and the expected time length. The problem of relatively poor control effect to supervisory equipment has been solved to this application. The method and the device are used for controlling the monitoring equipment.

Description

Monitoring equipment, control method thereof and terminal
Technical Field
The present application relates to the field of communications technologies, and in particular, to a monitoring device, a control method thereof, and a terminal.
Background
At present, various electronic devices are indispensable in life and work of people. For example, a monitoring device can monitor the area where the monitoring device is located, so that people can conveniently know events occurring in the area.
The monitoring device may be connected to a control device (e.g., a terminal) of the monitoring device via a network, and the control device may send a control instruction to the monitoring device to control the monitoring device to perform a certain operation based on the control instruction. If the control equipment can control the monitoring equipment to start the camera shooting function or close the camera shooting function, the monitoring equipment can also be controlled to adjust the video acquisition angle.
However, when the network quality is poor, the control effect of the control device on the monitoring device is poor.
Disclosure of Invention
The application provides a monitoring device, a control method thereof and a terminal, which can solve the problem of poor control effect of the monitoring device. The technical scheme is as follows:
in one aspect, a monitoring device is provided, the monitoring device comprising: a controller and a rotatable camera; the monitoring device establishes communication connection with the terminal, and the controller is used for:
after receiving a rotation starting instruction aiming at the camera and sent by the terminal through the communication connection, controlling the camera to rotate along the target direction; the rotation starting instruction carries information of the target direction;
when a rotation stopping instruction aiming at the camera and sent by the terminal is received through the communication connection, if the actual time length of the rotation of the camera exceeds the expected time length carried by the rotation stopping instruction, the camera is controlled to rotate along the opposite direction of the target direction;
and controlling the camera to stop rotating based on the actual time length and the expected time length.
In another aspect, a terminal is provided, which includes: the monitoring device comprises a controller and a communication unit, wherein the communication unit is used for establishing communication connection with monitoring equipment, and the monitoring equipment comprises a rotatable camera; the controller is configured to:
generating a start rotation instruction for the camera; the starting instruction carries information of a target direction and is used for indicating the camera to rotate along the target direction;
controlling the communication unit to send the rotation starting instruction to the monitoring equipment through the communication connection;
generating a stop rotation instruction for the camera after generating the start rotation instruction;
controlling the communication unit to send the rotation stopping instruction to the monitoring equipment through the communication connection;
wherein the rotation stopping instruction carries an expected duration of rotation of the camera, and the expected duration is: a time length between the generation time of the rotation start instruction and the generation time of the rotation stop instruction; and the rotation stopping instruction is used for stopping the rotation of the camera after the actual time length of the camera rotating along the target direction exceeds the expected time length and the camera rotates along the direction opposite to the target direction.
In another aspect, a control method for a monitoring device is provided, where the control method is used for a controller of the monitoring device, the controller is used for the monitoring device, the monitoring device further includes a rotatable camera, and the monitoring device is in communication connection with a terminal; the method comprises the following steps:
after receiving a rotation starting instruction aiming at the camera and sent by the terminal through the communication connection, controlling the camera to rotate along the target direction; the rotation starting instruction carries information of the target direction;
when a rotation stopping instruction aiming at the camera and sent by the terminal is received through the communication connection, if the actual time length of the rotation of the camera exceeds the expected time length carried by the rotation stopping instruction, the camera is controlled to rotate along the opposite direction of the target direction;
and controlling the camera to stop rotating based on the actual time length and the expected time length.
In another aspect, a control method for a monitoring device is provided, where the monitoring device is used for a terminal, and the terminal establishes a communication connection with the monitoring device; the method comprises the following steps:
generating a start rotation instruction for the camera; the starting instruction carries information of a target direction and is used for indicating the camera to rotate along the target direction;
controlling the communication unit to send the rotation starting instruction to the monitoring equipment through the communication connection;
generating a stop rotation instruction for the camera after generating the start rotation instruction;
controlling the communication unit to send the rotation stopping instruction to the monitoring equipment through the communication connection;
wherein the rotation stopping instruction carries an expected duration of rotation of the camera, and the expected duration is: a time length between the generation time of the rotation start instruction and the generation time of the rotation stop instruction; and the rotation stopping instruction is used for stopping the rotation of the camera after the actual time length of the camera rotating along the target direction exceeds the expected time length and the camera rotates along the direction opposite to the target direction.
The beneficial effect that technical scheme that this application provided brought includes at least:
in the application, the rotation stopping instruction sent by the terminal and received by the monitoring equipment carries the expected time length of the rotation of the camera. When the monitoring equipment receives the rotation stopping instruction, the actual rotation time length and the expected rotation time length can be compared, and when the actual rotation time length exceeds the expected rotation time length, the camera is controlled to rotate along the direction opposite to the target direction, and then the camera is controlled to stop rotating. Therefore, even if the monitoring equipment receives the rotation stopping instruction in a delayed manner to cause the rotation time to be too long due to the problem of network quality, the compensation can be carried out, the difference between the position where the camera finally rotates and the position where the camera rotates after the expected rotation time is smaller is ensured, and the control effect on the monitoring equipment can be further improved.
Drawings
Fig. 1 is a schematic structural diagram of an apparatus control system according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a monitoring device provided in an embodiment of the present application;
fig. 3 is a schematic structural diagram of a terminal provided in an embodiment of the present application;
fig. 4 is a flowchart of a control method of a monitoring device according to an embodiment of the present disclosure;
fig. 5 is a flowchart of another control method for a monitoring device according to an embodiment of the present disclosure;
fig. 6 is a flowchart of a control method of a monitoring device according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
As communication technology has developed, more and more devices may be remotely controlled by users. Controlled equipment (such as intelligent household appliances, camera equipment and the like) and control equipment (such as terminals) can both access the Internet to realize communication connection. The control device can send a control instruction to the controlled device through the internet, and then the controlled device can execute corresponding operation based on the control instruction, so that a user can remotely control the controlled device. Remote control of devices over the internet can be affected by network quality.
For example, in a scene in which a camera of the image pickup apparatus is remotely controlled to rotate, a user may click a start rotation control on the terminal to trigger the terminal to send a start rotation instruction to the image pickup apparatus, and the image pickup apparatus may start rotating after receiving the start rotation instruction. When the camera shooting equipment rotates to a position where the video in the range required by the user can be collected, the user can click the rotation stopping control on the terminal to trigger the terminal to send a rotation stopping instruction to the camera shooting equipment. The image pickup apparatus may stop rotating upon receiving the stop rotation instruction.
However, if the network quality is good when the rotation start instruction is sent and the network delay is large when the rotation stop instruction is sent, the interval duration between the camera device receiving the rotation start instruction and the camera device receiving the rotation stop instruction is greater than the interval duration between the user clicking the rotation start control and the user clicking the rotation stop control. As a result, the actual rotation angle of the image capturing apparatus is larger than the user's requirement. If the network delay is large when the rotation starting instruction is sent and the network quality is good when the rotation stopping instruction is sent, the interval duration between the camera shooting equipment receiving the rotation starting instruction and the camera shooting equipment receiving the rotation stopping instruction is smaller than the interval duration between the user clicking the rotation starting control and the user clicking the rotation stopping control. As a result, the actual rotation angle of the image capturing apparatus is smaller than the user's requirement. In addition, if a stop rotation command is transmitted to the image pickup apparatus before a start rotation command due to network influence, the rotation of the image pickup apparatus will be disturbed. Therefore, the control effect on the image pickup apparatus is poor.
The following embodiments of the application provide a monitoring device, a control method thereof and a terminal, which can improve the control effect of the monitoring device. Such as the monitoring apparatus described above.
Fig. 1 is a schematic structural diagram of an apparatus control system according to an embodiment of the present application. As shown in fig. 1, the system 10 may include a monitoring device 101 and a terminal 102. The monitoring device 101 establishes a communication connection with the terminal 102, and the user can remotely control the monitoring device 101 through the terminal 102. Optionally, the device control system 10 may further include a server 103, and the monitoring device 101 and the terminal 102 may both be connected to the server 103, so as to implement a communication connection with the terminal 102 through the server 103. Control instructions, such as those sent by the terminal 102, may be forwarded to the monitoring device 101 via the server 103. Optionally, the device control system 10 may further include a local gateway, and the monitoring device 101 may be connected to the server 103 through the local gateway.
The monitoring apparatus 101 is also an image pickup apparatus. The terminal 102 may be a terminal such as a smart phone, a tablet computer, a notebook computer, or a desktop computer. Fig. 1 illustrates the terminal 102 as a smart phone. The server 103 may be an edge server deployed in a home local area network or may also be a cloud server. Alternatively, a control application of the monitoring device 101 may be installed in the terminal 102, and the terminal 102 may send a control instruction to the monitoring device 101 based on the control application, so as to implement remote control on the monitoring device 101.
The monitoring device 101 and the terminal 102 may be connected to the server 103 through a wired network or a wireless network. Wired networks may include, but are not limited to: universal Serial Bus (USB), wireless networks may include, but are not limited to: wireless Fidelity (WIFI for short), bluetooth, infrared, Zigbee, data network, etc.
Fig. 2 is a schematic structural diagram of a monitoring device according to an embodiment of the present application. As shown in fig. 2, the monitoring apparatus 101 may include: a controller 1011, a rotatable camera 1012 and a communication unit 1013. Optionally, the monitoring device 101 may also include a speaker 1014 and a microphone 1015.
The controller 1011 may connect various parts of the entire monitoring apparatus using various interfaces and lines to control the respective parts. The camera 1012, the communication unit 1013, the speaker 1014, and the microphone 1015 are all connected to the controller 1011, and the speaker 1014 and the microphone 1015 may be connected to the controller 1011 through an audio circuit. The controller may also perform processing of data.
Camera 1012 may be used to capture video within its range. The video capture angle of camera 1012 may be adjustable, such as camera 1012 may be rotated. The audio circuit may transmit the electrical signal converted from the received audio data to the speaker 1014, and the electrical signal is converted into an audio signal by the speaker 1014 and output. The microphone 1015 may convert the collected sound signals into electrical signals that are received by audio circuitry and converted into audio data. In this application, microphone 1014 may capture sound in its environment. The communication unit 1013 may perform information interaction with an external device, such as receiving a control instruction or sound data sent by a terminal, or transmitting audio data to the external device. For example, the terminal may transmit the collected user voice to the communication unit 1013 of the monitoring device 101, and the speaker 1014 of the monitoring device 101 may play the voice.
Fig. 3 is a schematic structural diagram of a terminal according to an embodiment of the present application. As shown in fig. 3, the terminal may include: the processor 1102, the crystal oscillator unit 120, the camera 1032, the display 130, the Radio Frequency (RF) circuit 150, the audio circuit 160, the wireless fidelity (Wi-Fi) module 170, the bluetooth module 180, the power supply 190, and the like. The Wi-Fi module 170 and the bluetooth module 180 may collectively function as a communication unit in the terminal.
The processor 1102 is a control center (also referred to as a controller) of the terminal, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the terminal and processes data by running or executing software programs stored in the memory 140 and calling data stored in the memory 140. In some embodiments, processor 1102 may include one or more processing units; the processor 1102 may also integrate an Application Processor (AP), which primarily handles operating systems, user interfaces, applications, etc., and a Baseband Processor (BP), which primarily handles wireless communications. It will be appreciated that the baseband processor described above may not be integrated into the processor 1102. In the present application, the processor 1102 may run an operating system and an application program, may control a user interface display, and may implement the method provided in the embodiments of the present application. Additionally, the processor 1102 is coupled to the input unit and the touch display screen 130.
Camera 1032 may be used to capture still pictures or video. The object generates an optical picture through the lens and projects the optical picture to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing elements convert the light signals into electrical signals which are then passed to the processor 1102 for conversion into digital picture signals.
The touch display 130 may be used to receive input numeric or character information and generate signal inputs related to user settings and function control of the terminal, and optionally, the touch display 130 may also be used to display information input by the user or information provided to the user and a Graphical User Interface (GUI) of various menus of the terminal. Touch display screen 130 may include a display screen. The display screen may be configured in the form of a liquid crystal display or a light emitting diode. Touch display screen 130 may also include a touch screen. The touch screen may collect touch operations on or near the touch screen by the user, such as clicking a button, dragging a scroll box, and the like. The touch screen can be covered on the display screen, and the touch screen and the display screen can be integrated to realize the input and output functions of the terminal, and the integrated touch screen can be called as the touch display screen for short.
Memory 140 may be used to store software programs and data. The processor 1102 performs various functions of the terminal and data processing by executing software programs or data stored in the memory 140. The memory 140 may include high speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. The memory 140 stores an operating system enabling the terminal to operate. The memory 140 may store an operating system and various application programs, and may also store codes for executing the information processing method provided by the embodiment of the present application.
The RF circuit 150 may be used for receiving and transmitting signals during information transmission and reception or during a call, and may receive downlink data of a base station and then send the downlink data to the processor 1102 for processing; the uplink data may be transmitted to the base station. Typically, the RF circuitry includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. The audio circuitry 160, speaker 161, microphone 162 may provide an audio interface between the user and the terminal. The audio circuit 160 may transmit the electrical signal converted from the received audio data to the speaker 161, and convert the electrical signal into a sound signal for output by the speaker 161. The terminal may be further provided with a volume button for adjusting the volume of the sound signal. On the other hand, the microphone 162 converts the collected sound signal into an electrical signal, converts the electrical signal into audio data after being received by the audio circuit 160, and then outputs the audio data to the RF circuit 150 to be transmitted to, for example, another terminal or outputs the audio data to the memory 140 for further processing. In this application, the microphone 162 may capture the voice of the user.
Wi-Fi belongs to a short-distance wireless transmission technology, and a terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through a Wi-Fi module 170, and provides wireless broadband internet access for the user. And the Bluetooth module 180 is used for performing information interaction with other Bluetooth devices with Bluetooth modules through a Bluetooth protocol. For example, the terminal may establish a bluetooth connection with a wearable management device (e.g., a smart watch) that is also equipped with a bluetooth module through the bluetooth module 180, so as to perform data interaction.
The terminal also includes a power supply 190 (such as a battery) to power the various components. The power supply may be logically coupled to the processor 1102 through a power management system to manage charging, discharging, and power consumption functions through the power management system. The terminal can also be provided with a power button for starting and shutting down the terminal, locking the screen and the like. The terminal may further include at least one sensor 1110 such as a motion sensor 11102, a distance sensor 11102, a fingerprint sensor 11103, and a temperature sensor 11104. The terminal may also be equipped with other sensors such as gyroscopes, barometers, hygrometers, thermometers, and infrared sensors.
Fig. 4 is a flowchart of a control method of a monitoring device according to an embodiment of the present application, where the method may be used for a controller in the monitoring device 101 in fig. 1 or fig. 2. The monitoring device also includes a rotatable camera. The monitoring device establishes a communication connection with the terminal. As shown in fig. 4, the method includes:
step 401, after receiving a rotation start instruction for the camera sent by the terminal through the communication connection, controlling the camera to rotate along a target direction; the start rotation command carries information of the target direction.
Specifically, the start rotation instruction may be transmitted from the communication unit of the terminal 102 to the communication unit of the monitoring apparatus 101, and the controller of the monitoring apparatus 101 may receive the start rotation instruction from the communication unit. The controller may control the camera to rotate in the target direction based on the start rotation instruction.
And 402, when a rotation stopping instruction aiming at the camera sent by the terminal is received through the communication connection, if the actual time length of the rotation of the camera exceeds the expected time length carried by the rotation stopping instruction, controlling the camera to rotate along the opposite direction of the target direction.
Specifically, the stop rotation instruction may be transmitted from the communication unit of the terminal 102 to the communication unit of the monitoring apparatus 101, and the controller of the monitoring apparatus 101 may receive the stop rotation instruction from the communication unit.
The stop rotation instruction may carry an expected duration, which is the duration that the user wants to monitor the rotation of the camera in the device in the target direction. The expected duration may be a duration of an interval between the terminal 102 generating the start rotation instruction and the stop rotation instruction.
When receiving the rotation stopping instruction, the monitoring device may determine whether the current rotation duration (i.e., the actual duration) of the camera reaches the duration (i.e., the expected duration) that the user expects the camera to rotate. When the actual time length exceeds the expected time length, the camera can be determined to rotate excessively, and then the controller can control the camera to rotate in the opposite direction to compensate for the excessive rotation.
And step 403, controlling the camera to stop rotating based on the actual time length and the expected time length.
The controller can determine the degree of the camera rotating in the opposite direction of the target direction based on the actual duration and the expected duration, and then control the camera to stop rotating at a proper time so as to ensure that the position where the camera finally stops is closer to the position where the user expects the camera to stop.
To sum up, in the control method of the monitoring device provided in the embodiment of the present application, the rotation stop instruction sent by the terminal and received by the monitoring device carries the expected duration of the rotation of the camera. When the monitoring equipment receives the rotation stopping instruction, the actual rotation time length and the expected rotation time length can be compared, and when the actual rotation time length exceeds the expected rotation time length, the camera is controlled to rotate along the direction opposite to the target direction, and then the camera is controlled to stop rotating. Therefore, even if the monitoring equipment receives the rotation stopping instruction in a delayed manner to cause the rotation time to be too long due to the problem of network quality, the compensation can be carried out, the difference between the position where the camera finally rotates and the position where the camera rotates after the expected rotation time is smaller is ensured, and the control effect on the monitoring equipment can be further improved.
Fig. 5 is a flowchart of another control method for a monitoring device according to an embodiment of the present disclosure, where the method may be used for a controller in the terminal 102 in fig. 1 or fig. 3. The terminal 102 may establish a communication connection with the monitoring device, specifically, a communication connection may be established between a communication unit in the terminal 102 and a communication unit in the monitoring device. As shown in fig. 5, the method includes:
step 501, generating a rotation starting instruction for a camera in the monitoring device, where the rotation starting instruction carries information of a target direction and is used for indicating that the camera rotates in the target direction.
The terminal 102 may have installed therein a control application of the monitoring apparatus 101. When a user needs to control the monitoring device 101, the user may trigger the terminal 102 to run the control application program, and then operate on the terminal 102 based on the control application program, so as to implement control over the monitoring device 101. Illustratively, the terminal 102 may display a control of the monitoring device on the display screen when running the control application, for example, the control may be a start control of a target operation (e.g., a rotation operation). The user may click on the start control to trigger the controller to generate a start rotation instruction for a camera in the monitoring device. The start rotation instruction may also carry information about the direction of rotation of the camera (i.e., the target direction).
Step 502, the control communication unit sends a start rotation instruction to the monitoring device through the communication connection.
Specifically, the start rotation instruction may be transmitted to the communication unit of the monitoring apparatus 101 by the communication unit in the terminal 102.
Step 503, after generating the rotation starting command, generating a rotation stopping command for the camera; wherein, stop rotatory instruction and carry the rotatory anticipated duration of camera, anticipated duration is: the time length between the time of starting the generation of the rotation command and the time of stopping the generation of the rotation command.
After the user operates on the terminal and triggers the controller of the terminal to generate a rotation starting instruction for the camera, the user can further continue to operate to trigger the controller to generate a rotation stopping instruction for the camera. For example, the user may click a stop control displayed on the display screen of the terminal to trigger the controller to generate the stop rotation instruction. Optionally, the stop control and the start control may be the same control, and the control is used as the start control when the user clicks for the first time and used as the stop control when the user clicks for the next time.
Alternatively, the controller may determine a time period between the generation timing of the start rotation instruction and the generation timing of the stop rotation instruction, and add information of the time period to the stop rotation instruction to indicate a time period in which the user wants to monitor the rotation of the camera of the apparatus.
And step 504, controlling the communication unit to send a rotation stopping instruction to the monitoring equipment through the communication connection, so that the camera of the monitoring equipment stops rotating after rotating in the direction opposite to the target direction when the actual time length of the camera rotating in the target direction exceeds the expected time length.
Specifically, the stop rotation instruction may be transmitted from the communication unit of the terminal 102 to the communication unit of the monitoring apparatus 101.
After receiving the rotation stop instruction, the monitoring device 101 may determine an actual time length during which the camera has rotated in the target direction, where the actual time length may be a time length between the controller receiving the rotation stop instruction and the controller receiving the rotation start instruction. When the actual duration exceeds the expected duration, the controller can determine that the camera rotates excessively, and then the controller can control the camera to rotate in the opposite direction to compensate for the excessive rotation. The controller can determine the degree of the camera rotating in the opposite direction of the target direction based on the actual duration and the expected duration, and then control the camera to stop rotating at a proper time so as to ensure that the position where the camera finally stops is closer to the position where the user expects the camera to stop.
To sum up, in the control method of the monitoring device provided in the embodiment of the present application, the rotation stop instruction sent by the terminal to the monitoring device carries the expected duration of the rotation of the camera. When the monitoring equipment receives the rotation stopping instruction, the actual rotation time length and the expected rotation time length can be compared, and when the actual rotation time length exceeds the expected rotation time length, the camera is controlled to rotate along the direction opposite to the target direction, and then the camera is controlled to stop rotating. Therefore, even if the monitoring equipment receives the rotation stopping instruction in a delayed manner to cause the rotation time to be too long due to the problem of network quality, the compensation can be carried out, the difference between the position where the camera finally rotates and the position where the camera rotates after the expected rotation time is smaller is ensured, and the control effect on the monitoring equipment can be further improved.
Fig. 6 is a flowchart of a control method of a monitoring device according to an embodiment of the present disclosure, which may be used in the control system 10 shown in fig. 1. As shown in fig. 6, the method includes:
step 601, the terminal generates a rotation starting instruction for a camera in the monitoring device, wherein the rotation starting instruction carries information of a target direction and a prior sequence identifier.
The terminal can be provided with an intelligent home program, and the terminal can control the connected intelligent home devices through the intelligent home program. If the smart home device includes a monitoring device, the smart home program is also a control application program of the monitoring device.
For example, when a user needs to control the monitoring device to perform some operation, the terminal may be triggered to run the smart home program, and then a display screen of the terminal may display a control page of the monitoring device. The control page may include operation controls corresponding to executable operations of the monitoring device. If the control page comprises a rotary operation control of the camera, the image acquisition range of the monitoring equipment can be changed through the rotary operation control. The user can click the rotation operation control to trigger the terminal to generate a rotation starting instruction for the camera in the monitoring equipment. The user's click operation on the rotation operation control may be detected by a display screen of the terminal, and the start rotation instruction may be generated by a controller of the terminal.
In this embodiment of the application, the rotation starting instruction may carry information of a target direction, and the rotation starting instruction is used to instruct a camera in the monitoring device to rotate in the target direction. The target direction may be fixed, for example, a preset direction in the monitoring device. Alternatively, the target direction may be determined based on an operation by the user. Three alternative ways of determining these are described below.
In a determination mode, selection controls in different directions are displayed on a display screen, and a user can click the selection control in a target direction before or after clicking the rotary operation control so as to trigger the terminal to acquire information in the target direction. In another determination mode, an image acquired by the monitoring device may be displayed in a control page of the monitoring device displayed by the terminal. The user can slide on the display screen of the terminal for the image to trigger the terminal to generate a rotation starting instruction for the camera in the monitoring device. The information of the target direction carried by the start rotation instruction may be determined based on the sliding direction of the user. Such as the target direction may be opposite to the sliding direction. In another determination manner, a simulation icon of the monitoring device may be displayed in a control page of the monitoring device displayed by the terminal, where the simulation icon corresponds to an actual installation form of the monitoring device. The user can slide and simulate the simulation icon to rotate the camera of the monitoring equipment. When the user slides the simulation icon, the terminal can generate a rotation starting instruction for a camera in the monitoring equipment. The terminal may determine a target direction in which the camera rotation is required based on the sliding operation.
It should be noted that, controlling the camera of the monitoring device to rotate usually requires that the camera rotate by a certain angle or to a certain position. When the camera head rotates to a proper position, the camera head also needs to be controlled to stop rotating through the stop rotating instruction, so each start rotating instruction should have a corresponding stop rotating instruction. The operation of stopping the rotation of the camera needs to be meaningful during the rotation of the camera, that is, the stop rotation instruction is executed after the start rotation instruction is executed by the monitoring apparatus.
In the embodiment of the application, the rotation starting instruction and the rotation stopping instruction are a group of instructions which appear in pairs, and the rotation starting instruction and the corresponding rotation stopping instruction can both carry sequence identifiers to order the execution sequence of the instructions. The sequence identifier in the start rotation instruction is used for indicating that the execution sequence of the start rotation instruction is prior, and the sequence identifier in the stop rotation instruction is used for indicating that the execution sequence of the stop rotation instruction is subsequent. In the embodiment of the present application, the sequence flag in the start rotation instruction is referred to as a preceding sequence flag, and the sequence flag in the stop rotation instruction is referred to as a following sequence flag. In a group of start rotation instructions and stop rotation instructions, the prior sequence identifier in the start rotation instructions corresponds to the subsequent sequence identifier in the stop rotation instructions, and the corresponding prior sequence identifier and the subsequent sequence identifier satisfy a certain relationship. For example, the first few characters of the two corresponding sequential identifications are the same, and the last character is different. If the sequence identifiers in one set of the start rotation command and the stop rotation command are n1 and n2, respectively, the sequence identifiers in the other set of the start rotation command and the stop rotation command are m1 and m2, respectively.
Optionally, the start rotation instruction may also carry a timestamp of its generation time. The stop rotation instruction may also carry a timestamp of the time of its generation. Step 601 may specifically be performed by a controller in the terminal.
Step 602, the terminal sends the start rotation instruction to the monitoring device.
The communication unit of the terminal may establish a communication connection with the communication unit of the monitoring device. Step 602 may specifically be that the communication unit of the terminal sends the start rotation instruction to the communication unit of the monitoring device through the communication connection. Accordingly, the communication unit of the monitoring apparatus may receive the start rotation instruction. Alternatively, the start rotation instruction may be sent to a local gateway to which the monitoring device is connected, and then forwarded by the local gateway to the monitoring device.
And 603, executing the rotation starting instruction by the monitoring equipment to enable the camera of the monitoring equipment to rotate along the target direction.
After receiving the rotation start instruction, the monitoring device may parse the rotation start instruction, and then execute the rotation start instruction. The monitoring device can make the camera start to rotate along the target direction based on the information of the target direction carried by the rotation starting instruction.
In particular, step 603 may be performed by a controller of the monitoring device. After the communication unit of the monitoring apparatus receives the start rotation instruction, the controller may control the camera to rotate in the target direction based on the start rotation instruction. Optionally, the camera can be fixed with rotary part, can drive the camera rotation through this rotary part, and the rotatory reality of control camera is that this rotary part of control is rotatory.
And step 604, the terminal generates a rotation stopping instruction for the camera in the monitoring equipment, wherein the rotation stopping instruction carries the expected time length of the rotation of the camera and the subsequent sequence identifier.
After the user operates the camera of the triggering monitoring device on the terminal to rotate, the camera can be operated on the terminal again to trigger the camera of the monitoring device to stop rotating when the camera is considered to rotate to a proper position. For example, the user may click the rotation operation control displayed by the terminal again to trigger the terminal to generate a rotation stop instruction for the rotation operation of the camera in the monitoring device. The click operation of the user on the rotation operation control can be detected by a display screen of the terminal, and the rotation stopping instruction can be specifically generated by a controller of the terminal. For another example, if the user triggers the terminal to generate a start rotation instruction by sliding an image acquired by the monitoring device displayed by the terminal or by sliding an analog icon of the monitoring device: when the user stops sliding, the terminal can determine that the user is detected to trigger the camera to stop rotating, and then generates a rotation stopping instruction.
In this embodiment of the application, the rotation stopping instruction may carry an expected duration of rotation of the camera, where the expected duration is a duration of rotation of the camera of the monitoring device in the target direction that the user expects to monitor. For example, the terminal may determine an interval duration between the user's trigger operation of the start rotation instruction and the trigger operation of the stop rotation instruction, where the interval duration is a duration that the user desires to monitor the camera of the device to rotate in the target direction. Optionally, the rotation stopping instruction may also carry a timestamp of a time when the rotation stopping instruction is generated, or may carry a timestamp of a time when the terminal detects a trigger operation of the rotation stopping instruction by the user. Since the difference between the time when the stop rotation command is generated and the time when the terminal detects the user's trigger operation for the stop rotation command is small, the time when the terminal detects the user's trigger operation for the stop rotation command may be directly regarded as the time when the stop rotation command is generated.
In this embodiment of the application, the rotation stopping instruction may also carry a post-order identifier. The subsequent order identifier corresponds to the previous order identifier in the start spin command corresponding to the stop spin command. The subsequent sequence identifier in the stop rotation instruction is used to indicate that the execution sequence of the stop rotation instruction follows the corresponding start rotation instruction. For example, the terminal may determine the start rotation instruction and the stop rotation instruction, which are sequentially generated, as a set of corresponding instructions. Alternatively, the difference in generation time between a set of start rotation command and stop rotation command may be limited. For example, the terminal may determine that the start rotation command and the stop rotation command are sequentially generated within a specified time period as a set of corresponding commands.
In particular, step 604 may be performed by a controller in the terminal.
Step 605, the terminal sends the rotation stop instruction to the monitoring device.
The terminal sends the rotation stopping instruction to the monitoring device, referring to the related introduction of sending the rotation starting instruction in step 602, which is not described in detail in this embodiment of the present application.
Step 606, the monitoring device determines, based on the subsequent sequence identifier carried by the rotation stopping instruction, whether the actual time length of the camera rotating in the target direction reaches the expected time length after receiving the rotation starting instruction corresponding to the rotation stopping instruction. When the actual time length of the camera rotation is equal to the expected time length, executing step 607; when the actual time length of the camera rotation exceeds the expected time length, executing step 608; when the actual time length of the camera rotation is less than the expected time length, step 610 is executed.
The monitoring device may determine whether a rotation start instruction corresponding to the rotation stop instruction is received based on a subsequent sequence identifier carried in the rotation stop instruction. After the rotation starting instruction corresponding to the rotation stopping instruction is determined to be received, whether the actual time length of the camera rotating along the target direction reaches the expected time length is judged; and when determining that the starting rotation instruction corresponding to the stopping rotation instruction is not received, forbidding the execution of the stopping rotation instruction.
After receiving a rotation stopping instruction which is sent by the terminal and aims at the rotation of the camera, the monitoring equipment can analyze the rotation stopping instruction to obtain a subsequent sequence identifier carried in the rotation stopping instruction. Then, the monitoring device may detect whether a start rotation instruction carrying a previous sequence identifier corresponding to the next sequence identifier is received based on the next sequence identifier.
Alternatively, the monitoring device may only detect whether the rotation start instruction corresponding to the rotation stop instruction is received within a specified time period before the rotation stop instruction is received. For example, the monitoring device may buffer the previous sequence identifier carried by the start spin command received within the specified duration. And sequentially comparing each prior sequence identifier based on the condition that the prior sequence identifier corresponding to the subsequent sequence identifier carried by the rotation stopping instruction meets, so as to determine whether the prior sequence identifier corresponding to the subsequent sequence identifier exists. When it is determined that a certain start rotation command carries a previous sequence identifier corresponding to the subsequent sequence identifier, it is determined that the start rotation command corresponds to the stop rotation command, and then step 607 may be executed. When it is determined that the start rotation instruction corresponding to the stop rotation instruction is not received within the specified time period, execution of the stop rotation instruction may be prohibited. Such as the monitoring device may ignore the stop rotation command. Or the monitoring device may also cache the rotation stopping instruction, so that the rotation stopping instruction is executed after a rotation starting instruction corresponding to the rotation stopping instruction is subsequently received.
When the monitoring equipment receives the rotation starting instruction, the monitoring equipment directly executes the rotation starting instruction. When the monitoring device receives the rotation stopping instruction and determines that the rotation starting instruction corresponding to the rotation stopping instruction is received before the rotation stopping instruction, the monitoring device may determine that the rotation stopping instruction is executed and the camera has rotated in the target direction, and further, the monitoring device may determine an actual time length (i.e., a rotated time length) for the rotation of the camera. The actual time length of the camera rotation is also the actual execution time length of the camera to the target operation. The actual time length is the time length from the moment when the camera starts rotating along the target direction to the current moment. For example, the monitoring device may record a timestamp of the time of execution of the start rotation instruction. And after receiving the rotation stopping instruction, the monitoring equipment determines the difference between the timestamp of the receiving time and the timestamp of the executing time as the actual time length.
It should be noted that, a user triggers on the terminal to control the camera to rotate, and the final purpose is to rotate the camera to a certain specified position to ensure that the camera acquires an image in a specified area. The rotation duration may be an initial measure of whether the camera is rotated to the designated position. The monitoring device may compare the actual duration to the expected duration. When the actual duration is equal to the expected duration, the monitoring device may determine that the rotation degree of the camera is just proper, and the camera rotates to the designated position, so that step 607 may be executed. When the actual length of time exceeds the expected length of time, the monitoring device may determine that the camera is over-rotated beyond the specified position and may perform step 608 to compensate. When the actual duration is less than the expected duration, the monitoring device may determine that the rotation degree of the camera is not enough, and the camera has not rotated to the designated position, and then may execute step 610.
Specifically, step 606 is performed by a controller in the monitoring device.
And step 607, the monitoring equipment executes a rotation stopping instruction to stop the rotation of the camera.
When the controller of the monitoring equipment determines that the actual rotating time of the camera is equal to the expected time, the controller can determine that the rotating degree of the camera is just proper, and the camera rotates to the specified position. Further, the controller may execute the stop rotation command to control the camera to stop rotating.
Step 608, the monitoring device determines the target angle of the camera for multiple rotations based on the actual time length and the expected time length.
When the actual time length of the camera rotation exceeds the expected time length, it can be determined that the current position of the camera exceeds the specified position desired by the user. The monitoring device may determine the angle by which the camera is rotated more, which is the difference between the actual angle of rotation passed by rotating the actual length of time and the expected angle of rotation passed by rotating the expected length of time.
The actual rotation of the camera in the monitoring device may be affected by various factors, such as the change of the power supply of the monitoring device, the aging of the rotating parts, the signal transmission rate of the circuit, and the rotation direction. This may cause a difference between the actual rotational speed and the expected speed of the camera, and even if the actual duration of the camera rotation is equal to the expected duration, the actual position to which the camera is rotated may slightly deviate from the desired specified position. And the accuracy of determining whether the actual position is the designated position based on the rotation angle of the camera is high. In the embodiment of the application, when the actual time length of the rotation of the camera exceeds the expected time length, the rotation of the camera can be compensated based on the difference between the actual rotation angle and the expected rotation angle of the camera, so as to ensure that the camera is located at the specified position expected by the user as much as possible.
The monitoring device may determine an expected angle of rotation of the camera based on the expected duration, and may determine an actual angle of rotation of the camera based on an actual duration of rotation of the camera. Then, the difference between the actual rotation angle and the expected rotation angle may be determined as the target angle. The target angle is the angle of the camera which rotates relative to the designated position.
Illustratively, the monitoring device may obtain an angular rotation model. The angle rotation model is used for calculating the input rotation time length to obtain the rotated angle of the camera after the camera rotates the time length. The monitoring equipment can input the expected duration into the angle rotation model to obtain the expected rotation angle of the camera output by the angle rotation model. The monitoring device can input the actual time length of the camera rotation into the angle rotation model so as to obtain the actual rotation angle of the camera output by the angle rotation model.
The angular rotation model may include a start function, a rotation function, and a stop function of the camera. The start function can be called when the control camera starts to rotate, the rotation function can be called when the control camera continuously rotates, and the stop function can be called when the control camera stops rotating. Alternatively, the start function and the stop function may be both linear functions, and the rotation function may be a constant function. If the start function is y-kx, the stop function is y-kx + a, and the rotation function is y-N. Where x may represent a rotation time period, y may represent a rotation angle, and N represents a set rotation angle. x and y may be vectors, and k, N, and a may each be matrices.
The initial model may be constructed prior to using the angular rotation model. The training equipment of the angle rotation model can acquire a plurality of training samples and training labels, if the training samples can be in rotating time, the training labels can be in actual rotating angles. Then, the training samples and the labels of each training sample are input into an initial model, and the training samples are processed through the initial model. If the difference between the result obtained by the processing and the label of the training sample is large, adjusting the parameters (namely k, N and a) in the initial model to process the training sample again until the difference between the result obtained by processing each training sample and the corresponding label is within the allowable difference range. And finishing the training of the initial model, wherein the initial model after the training is the angle rotation model.
In particular, step 608 may be performed by a controller of the monitoring device.
And 609, after the monitoring equipment enables the camera to rotate by a target angle along the direction opposite to the target direction, executing the rotation stopping instruction to enable the camera to stop rotating.
After the monitoring equipment determines the target angle, the camera can be rotated by the target angle along the direction opposite to the target direction, so that the excessive rotation of the camera is compensated, and the camera is rotated to the specified position expected by a user. Optionally, the monitoring device may further include an angle sensor, which may detect a rotation angle of the camera. If the camera is rotated in the direction of the target direction, the controller of the monitoring device can detect whether the rotated angle of the camera reaches the target angle through the angle sensor.
After the camera rotates the target angle in the direction opposite to the target direction, the controller of the monitoring device may determine that the rotation compensation of the camera is completed, and the camera has rotated to a specified position desired by the user. Further, the controller may perform the stop execution to control the camera to stop rotating.
In the embodiment of the application, for example, when the controller determines that the actual time length of the rotation of the camera exceeds the expected time length, the target angle of the camera, which needs to rotate in the opposite direction, is calculated based on the actual time length, and then the target angle of the camera is rotated in the opposite direction to compensate. Alternatively, the monitoring device may not calculate the rotation angle, and the compensation of the rotation angle is performed directly based on the time length. If the monitoring equipment determines that the actual time length of the rotation of the camera exceeds the expected time length, the camera can be directly controlled to rotate along the reverse direction of the target direction, and the target time length needing to rotate along the reverse direction is calculated. The target duration is the difference between the actual duration and the expected duration of the rotation of the camera in the target direction. After the camera rotates in the direction opposite to the target direction for the target duration, the controller may execute the rotation stop command again to stop the rotation of the camera. Optionally, the rotation speed of the camera is fixed, such as uniform rotation.
And step 610, the monitoring equipment enables the camera to continue to rotate along the target direction until the actual time length of the rotation of the camera is equal to the expected time length.
When the actual time length of the rotation of the camera is less than the expected time length, the controller of the monitoring device can determine that the rotation degree of the camera is not enough, and the camera does not rotate to the specified position, so that the camera continues to rotate along the target direction until the actual time length is equal to the expected time length. Thereafter, the controller may execute step 607 to control the camera to stop rotating.
Optionally, when the actual time length of the camera rotation is less than the expected time length, the controller of the monitoring device may also calculate the angle that the camera still needs to rotate based on the actual time length. And then, the controller controls the camera to continue rotating by the angle so as to ensure that the camera rotates to a specified position expected by a user. The angle is equal to the difference between the expected rotation angle and the actual rotation angle. The calculation method of the expected rotation angle and the actual rotation angle, and the determination method of the angle at which the camera continues to rotate may all refer to the related description of step 609, and the embodiments of the present application are not described again.
Optionally, in step 601, when the user triggers the terminal to generate the rotation start instruction, a time duration (i.e., an expected time duration) in which the camera is expected to rotate may also be input into the terminal. Therefore, after the monitoring equipment receives the rotation starting instruction, the camera can be directly rotated according to the expected duration, and a user does not need to trigger the terminal to send a rotation stopping instruction to the monitoring equipment.
In the embodiment of the application, the rotation stopping instruction sent by the terminal to the monitoring device carries the expected rotation duration of the camera. If the actual rotating time length exceeds the expected time length when the monitoring equipment receives the rotation stopping instruction, the camera can be rotated reversely by the target angle to perform angle compensation. If the actual rotating time does not reach the expected time when the monitoring equipment receives the rotation stopping instruction, the camera can continue to rotate for the target time or rotate for a certain angle. Thus, even if network delay exists when the terminal sends a control instruction (such as the start rotation instruction or the stop rotation instruction) to the monitoring device, the monitoring device can accurately rotate to a specified position desired by a user based on the control instruction.
In the embodiment of the application, the rotation of the camera is controlled through the expected duration carried in the control instruction, and the execution of the control instruction is not required to be carried out based on the timestamp carried in the control instruction. Therefore, the situation that the execution of the control command is disordered due to the fact that the time of the monitoring equipment is different from the time of the terminal can be avoided.
In addition, in the embodiment of the present application, a sequence identifier is added to each of a pair of control instructions (e.g., corresponding start rotation instruction and stop rotation instruction) to indicate the execution sequence of the instructions. Even if the stop rotation instruction of the pair of control instructions arrives at the monitoring device first, the monitoring device may determine whether the start rotation instruction corresponding to the stop rotation instruction has been executed. Before the start rotation instruction is not received, the stop rotation instruction is not executed, so that the condition that the monitoring equipment fails to work due to disordered receiving sequence of the control instructions at the monitoring equipment is avoided.
To sum up, in the control method of the monitoring device provided in the embodiment of the present application, the rotation stop instruction sent by the terminal and received by the monitoring device carries the expected duration of the rotation of the camera. When the monitoring equipment receives the rotation stopping instruction, the actual rotation time length and the expected rotation time length can be compared, and when the actual rotation time length exceeds the expected rotation time length, the camera is controlled to rotate along the direction opposite to the target direction, and then the camera is controlled to stop rotating. Therefore, even if the monitoring equipment receives the rotation stopping instruction in a delayed manner to cause the rotation time to be too long due to the problem of network quality, the compensation can be carried out, the difference between the position where the camera finally rotates and the position where the camera rotates after the expected rotation time is smaller is ensured, and the control effect on the monitoring equipment can be further improved.
An embodiment of the present application further provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the instructions are executed on a computer, the instructions cause the computer to execute the control method of the monitoring device provided in the foregoing embodiment, for example, the method shown in any one of fig. 4 to 6.
Embodiments of the present application further provide a computer program product including instructions, which, when the computer program product runs on a computer, cause the computer to execute the control method of the monitoring device provided in the foregoing method embodiments, for example, the method shown in any one of fig. 4 to fig. 6.
It will be understood that the terms "comprises" and "comprising," and any variations thereof, in this application are intended to cover a non-exclusive inclusion, such that a product or apparatus that comprises a list of elements is not necessarily limited to those elements explicitly listed, but may include other elements not expressly listed or inherent to such product or apparatus. The term "at least one" in this application refers to one or more, "a plurality" refers to "two or more".
It should be noted that, the method embodiments provided in the embodiments of the present application can be mutually referred to corresponding apparatus embodiments, and all the method embodiments can also be mutually referred to, which is not limited in the embodiments of the present application. The sequence of the steps of the method embodiments provided in the embodiments of the present application can be appropriately adjusted, and the steps can be correspondingly increased or decreased according to the situation, and any method that can be easily conceived by those skilled in the art within the technical scope disclosed in the present application shall be covered by the protection scope of the present application, and therefore, the details are not repeated.
The above description is only exemplary of the present application and should not be taken as limiting, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (10)

1. A monitoring device, characterized in that the monitoring device comprises: a controller and a rotatable camera; the monitoring device establishes communication connection with the terminal, and the controller is used for:
after receiving a rotation starting instruction aiming at the camera and sent by the terminal through the communication connection, controlling the camera to rotate along the target direction; the rotation starting instruction carries information of the target direction;
when a rotation stopping instruction aiming at the camera and sent by the terminal is received through the communication connection, if the actual time length of the rotation of the camera exceeds the expected time length carried by the rotation stopping instruction, the camera is controlled to rotate along the opposite direction of the target direction;
and controlling the camera to stop rotating based on the actual time length and the expected time length.
2. The monitoring device of claim 1, wherein the controller is configured to:
determining an expected rotation angle of the camera based on the expected duration, wherein the expected rotation angle is an angle rotated by the camera when the camera rotates for the expected duration along the target direction;
when the rotation stopping instruction is received and the actual time length of the rotation of the camera exceeds the expected time length, determining the actual rotation angle of the camera based on the actual time length;
controlling the camera to rotate along the direction opposite to the target direction by a target angle and then stopping rotating; the target angle is a difference between the actual rotation angle and the expected rotation angle.
3. The monitoring device of claim 1, wherein the controller is configured to:
after the camera rotates for a target duration along the direction opposite to the target direction, controlling the camera to stop rotating;
wherein the target duration is a difference between the actual duration and the expected duration.
4. The monitoring device of claim 1, wherein the controller is configured to:
and when the rotation stopping instruction is received, if the actual time length is equal to the expected time length, controlling the camera to stop rotating.
5. The monitoring device of claim 1, wherein the controller is configured to:
when the rotation stopping instruction is received, if the actual time length is smaller than the expected time length, the camera is controlled to continue to rotate along the target direction, and the camera is controlled to stop rotating until the actual time length is equal to the expected time length.
6. The monitoring device of any one of claims 1 to 5, wherein the stop rotation command further carries a post-order identifier; the controller is further configured to:
after the rotation stopping instruction is received, judging whether a rotation starting instruction corresponding to the rotation stopping instruction is received or not based on the subsequent sequence identification carried by the rotation stopping instruction; the starting rotation instruction corresponding to the stopping rotation instruction carries a previous sequence identifier corresponding to the next sequence identifier;
after determining that a rotation starting instruction corresponding to the rotation stopping instruction is received and the camera is controlled to rotate based on the rotation starting instruction corresponding to the rotation stopping instruction, controlling the camera to stop executing the target operation;
and when determining that the starting rotation instruction corresponding to the stopping rotation instruction is not received, prohibiting the stopping rotation instruction from being executed.
7. A terminal, characterized in that the terminal comprises: the monitoring device comprises a controller and a communication unit, wherein the communication unit is used for establishing communication connection with monitoring equipment, and the monitoring equipment comprises a rotatable camera; the controller is configured to:
generating a start rotation instruction for the camera; the rotation starting instruction carries information of a target direction and is used for indicating the camera to rotate along the target direction;
controlling the communication unit to send the rotation starting instruction to the monitoring equipment through the communication connection;
generating a stop rotation instruction for the camera after generating the start rotation instruction;
controlling the communication unit to send the rotation stopping instruction to the monitoring equipment through the communication connection;
wherein the rotation stopping instruction carries an expected duration of rotation of the camera, and the expected duration is: a time length between the generation time of the rotation start instruction and the generation time of the rotation stop instruction; and the rotation stopping instruction is used for stopping the rotation of the camera after the actual time length of the camera rotating along the target direction exceeds the expected time length and the camera rotates along the direction opposite to the target direction.
8. The terminal according to claim 7, wherein the rotation start command carries a previous sequence identifier, and the rotation stop command further carries a subsequent sequence identifier corresponding to the previous sequence identifier;
and the subsequent sequence identifier is used for prohibiting the monitoring equipment from executing the rotation stopping instruction when the monitoring equipment receives the rotation stopping instruction but does not receive the rotation starting instruction.
9. The control method of the monitoring equipment is characterized in that the control method is used for a controller of the monitoring equipment, the monitoring equipment further comprises a rotatable camera, and the monitoring equipment is in communication connection with a terminal; the method comprises the following steps:
after receiving a rotation starting instruction aiming at the camera and sent by the terminal through the communication connection, controlling the camera to rotate along the target direction; the rotation starting instruction carries information of the target direction;
when a rotation stopping instruction aiming at the camera and sent by the terminal is received through the communication connection, if the actual time length of the rotation of the camera exceeds the expected time length carried by the rotation stopping instruction, the camera is controlled to rotate along the opposite direction of the target direction;
and controlling the camera to stop rotating based on the actual time length and the expected time length.
10. The control method of the monitoring equipment is characterized by being used for a terminal, wherein the terminal is in communication connection with the monitoring equipment; the method comprises the following steps:
generating a start rotation instruction for the camera; the starting instruction carries information of a target direction and is used for indicating the camera to rotate along the target direction;
controlling the communication unit to send the rotation starting instruction to the monitoring equipment through the communication connection;
generating a stop rotation instruction for the camera after generating the start rotation instruction;
controlling the communication unit to send the rotation stopping instruction to the monitoring equipment through the communication connection;
wherein the rotation stopping instruction carries an expected duration of rotation of the camera, and the expected duration is: a time length between the generation time of the rotation start instruction and the generation time of the rotation stop instruction; and the rotation stopping instruction is used for stopping the rotation of the camera after the actual time length of the camera rotating along the target direction exceeds the expected time length and the camera rotates along the direction opposite to the target direction.
CN202210110526.XA 2022-01-29 2022-01-29 Monitoring equipment, control method thereof and terminal Active CN114286012B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210110526.XA CN114286012B (en) 2022-01-29 2022-01-29 Monitoring equipment, control method thereof and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210110526.XA CN114286012B (en) 2022-01-29 2022-01-29 Monitoring equipment, control method thereof and terminal

Publications (2)

Publication Number Publication Date
CN114286012A true CN114286012A (en) 2022-04-05
CN114286012B CN114286012B (en) 2023-11-24

Family

ID=80881760

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210110526.XA Active CN114286012B (en) 2022-01-29 2022-01-29 Monitoring equipment, control method thereof and terminal

Country Status (1)

Country Link
CN (1) CN114286012B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001309355A (en) * 2000-04-25 2001-11-02 Toshiba Corp Remote video monitoring system and its controlling method
CN104301609A (en) * 2014-09-26 2015-01-21 深圳市欧珀通信软件有限公司 Camera rotating control method used for mobile terminal and mobile terminal
CN104601896A (en) * 2015-02-12 2015-05-06 深圳市欧珀通信软件有限公司 Method and device of calibrating rotational angle of camera
CN105245778A (en) * 2015-09-30 2016-01-13 小米科技有限责任公司 Camera rotation control method and camera rotation control device
CN105857179A (en) * 2016-04-18 2016-08-17 珠海市磐石电子科技有限公司 Steering assist method and device for remote control traveling device
CN108680196A (en) * 2018-04-28 2018-10-19 远形时空科技(北京)有限公司 A kind of time delay adjustment method, system and computer-readable medium
CN109190369A (en) * 2018-08-31 2019-01-11 努比亚技术有限公司 A kind of camera control method, terminal and computer storage medium
CN111970548A (en) * 2020-08-07 2020-11-20 海信视像科技股份有限公司 Display device and method for adjusting angle of camera
CN113311937A (en) * 2020-02-27 2021-08-27 Oppo广东移动通信有限公司 Calibration method for eyeball tracking and related device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001309355A (en) * 2000-04-25 2001-11-02 Toshiba Corp Remote video monitoring system and its controlling method
CN104301609A (en) * 2014-09-26 2015-01-21 深圳市欧珀通信软件有限公司 Camera rotating control method used for mobile terminal and mobile terminal
CN104601896A (en) * 2015-02-12 2015-05-06 深圳市欧珀通信软件有限公司 Method and device of calibrating rotational angle of camera
CN105245778A (en) * 2015-09-30 2016-01-13 小米科技有限责任公司 Camera rotation control method and camera rotation control device
CN105857179A (en) * 2016-04-18 2016-08-17 珠海市磐石电子科技有限公司 Steering assist method and device for remote control traveling device
CN108680196A (en) * 2018-04-28 2018-10-19 远形时空科技(北京)有限公司 A kind of time delay adjustment method, system and computer-readable medium
CN109190369A (en) * 2018-08-31 2019-01-11 努比亚技术有限公司 A kind of camera control method, terminal and computer storage medium
CN113311937A (en) * 2020-02-27 2021-08-27 Oppo广东移动通信有限公司 Calibration method for eyeball tracking and related device
CN111970548A (en) * 2020-08-07 2020-11-20 海信视像科技股份有限公司 Display device and method for adjusting angle of camera

Also Published As

Publication number Publication date
CN114286012B (en) 2023-11-24

Similar Documents

Publication Publication Date Title
AU2021269359B2 (en) Display method and apparatus
CN104378587B (en) Imaging apparatus control method, device and equipment
EP3082299B1 (en) Method, terminal and computer program for detecting the state of a network channel between a smart device and an iot server
EP3131235B1 (en) Method and apparatus for controlling device
CN106412681B (en) Live bullet screen video broadcasting method and device
WO2017140276A1 (en) Network connection method and apparatus, and computer storage medium
EP3582530A1 (en) Method for connecting to network, mobile terminal, electronic device, and graphical user interface
WO2018219170A1 (en) Focusing control method, computer device and computer readable storage medium
TWI656794B (en) Focusing method, device, computer readable storage medium, and terminal
US20190051147A1 (en) Remote control method, apparatus, terminal device, and computer readable storage medium
CN105337800B (en) Poll frequency method of adjustment and device
CN111328119B (en) Voice service processing method and electronic equipment
CN104219038A (en) Method and device for synchronizing data
CN105159523A (en) Target function enabling method, apparatus and system
CN104184668A (en) Networking method, networking device, router and third-party device of Internet of things
CN104202614A (en) Method and device of adjusting image quality of video based on network environment
CN109495769B (en) Video communication method, terminal, smart television, server and storage medium
WO2015024466A1 (en) Remote control method and mobile terminal using same
CN112752353B (en) Connection method and terminal equipment
JP2019537797A (en) Imaging direction deviation detection method, apparatus, device, and storage medium
CN113099450A (en) Intelligent device and network distribution method thereof, mobile terminal and network distribution system
CN108366171B (en) Temperature rise control method and mobile terminal
CN106358064A (en) Method and equipment for controlling television
RU2673693C2 (en) Method, device and system for access of intellectual household appliances to multiple servers
CN105094966A (en) Method and device for controlling PC

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