CN110399114B - Method, device and terminal equipment for controlling robot to perform video monitoring - Google Patents

Method, device and terminal equipment for controlling robot to perform video monitoring Download PDF

Info

Publication number
CN110399114B
CN110399114B CN201810371830.3A CN201810371830A CN110399114B CN 110399114 B CN110399114 B CN 110399114B CN 201810371830 A CN201810371830 A CN 201810371830A CN 110399114 B CN110399114 B CN 110399114B
Authority
CN
China
Prior art keywords
robot
terminal equipment
audio output
volume
controlling
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.)
Active
Application number
CN201810371830.3A
Other languages
Chinese (zh)
Other versions
CN110399114A (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.)
Ubtech Robotics Corp
Original Assignee
Ubtech Robotics 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 Ubtech Robotics Corp filed Critical Ubtech Robotics Corp
Priority to CN201810371830.3A priority Critical patent/CN110399114B/en
Publication of CN110399114A publication Critical patent/CN110399114A/en
Application granted granted Critical
Publication of CN110399114B publication Critical patent/CN110399114B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/01Satellite radio beacon positioning systems transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/13Receivers
    • G01S19/14Receivers specially adapted for specific applications
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Remote Sensing (AREA)
  • Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Telephone Function (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The invention belongs to the technical field of robots, and particularly relates to a method, a device, terminal equipment and a computer readable storage medium for controlling a robot to perform video monitoring. The method comprises the following steps: when the robot is in a video monitoring mode, acquiring position information of the robot and position information of terminal equipment for controlling the robot; calculating a distance between the robot and the terminal equipment according to the position information of the robot and the position information of the terminal equipment; judging whether the distance between the robot and the terminal equipment is smaller than a preset distance threshold value or not; and if the distance between the robot and the terminal equipment is smaller than the distance threshold, controlling the volume of the audio output device of the terminal equipment to be reduced to a preset volume value. By the method, the formation of closed loop feedback is blocked, abnormal noise is avoided, and the monitoring effect is greatly improved.

Description

Method, device and terminal equipment for controlling robot to perform video monitoring
Technical Field
The invention belongs to the technical field of robots, and particularly relates to a method, a device, terminal equipment and a computer readable storage medium for controlling a robot to perform video monitoring.
Background
When the control robot monitors video, if the terminal equipment at the control side is close to the robot, the sound played by the loudspeaker of the terminal equipment is collected by the microphone of the robot, and the sound is transmitted to the terminal equipment through the wireless network and played by the loudspeaker of the terminal equipment, so that a closed loop feedback is formed, the distortion of the audio is infinitely amplified, and extremely abnormal sound is formed, so that the monitoring effect is seriously affected.
Disclosure of Invention
In view of the above, embodiments of the present invention provide a method, an apparatus, a terminal device, and a computer readable storage medium for controlling a robot to perform video monitoring, so as to solve the problem in the prior art that a very large abnormal sound is easily formed due to closed loop feedback of sound, and the monitoring effect is seriously affected.
A first aspect of an embodiment of the present invention provides a method for controlling a robot to perform video monitoring, which may include:
when the robot is in a video monitoring mode, acquiring position information of the robot and position information of terminal equipment for controlling the robot;
calculating a distance between the robot and the terminal equipment according to the position information of the robot and the position information of the terminal equipment;
judging whether the distance between the robot and the terminal equipment is smaller than a preset distance threshold value or not;
and if the distance between the robot and the terminal equipment is smaller than the distance threshold, controlling the volume of the audio output device of the terminal equipment to be reduced to a preset volume value.
Further, the controlling the volume of the audio output device of the terminal device to be reduced to a preset volume value may include:
and closing the audio output device of the terminal equipment, or switching the current audio output device from a loudspeaker to a receiver.
Further, before controlling the volume of the audio output device of the terminal device to decrease to the preset volume value, the method may further include:
acquiring a service set identifier of a wireless access point connected with the robot;
judging whether the terminal equipment detects the service set identifier or not;
and if the terminal equipment detects the service set identifier, executing the step of controlling the volume of the audio output device of the terminal equipment to be reduced to a preset volume value.
Further, before controlling the volume of the audio output device of the terminal device to decrease to the preset volume value, the method may further include:
acquiring a physical address of a wireless access point connected with the robot;
judging whether the terminal equipment detects the physical address or not;
and if the terminal equipment detects the physical address, executing the step of controlling the volume of the audio output device of the terminal equipment to be reduced to a preset volume value.
Further, the acquiring the service set identifier of the wireless access point connected by the robot may include:
sending a service set identification query instruction to the robot;
receiving feedback information sent by the robot;
and determining the service set identification of the wireless access point connected with the robot according to the feedback information.
Further, after controlling the volume of the audio output device of the terminal device to be reduced to a preset volume value, the method may further include:
and if the distance between the robot and the terminal equipment is detected to be greater than or equal to the distance threshold, controlling the volume of the audio output device of the terminal equipment to be restored to the initial volume value.
A second aspect of an embodiment of the present invention provides a device for controlling a robot to perform video monitoring, which may include:
the position information acquisition module is used for acquiring the position information of the robot and the position information of the terminal equipment for controlling the robot when the robot is in a video monitoring mode;
a distance calculating module, configured to calculate a distance between the robot and the terminal device according to the position information of the robot and the position information of the terminal device;
the first judging module is used for judging whether the distance between the robot and the terminal equipment is smaller than a preset distance threshold value or not;
and the volume reduction module is used for controlling the volume of the audio output device of the terminal equipment to be reduced to a preset volume value if the distance between the robot and the terminal equipment is smaller than the distance threshold value.
Further, the volume reduction module may include:
an audio output closing unit for closing an audio output device of the terminal device;
or alternatively
And the audio output switching unit is used for switching the current audio output device from the loudspeaker to the receiver.
Further, the apparatus may further include:
the service set identifier acquisition module is used for acquiring a service set identifier of the wireless access point connected with the robot;
and the second judging module is used for judging whether the terminal equipment detects the service set identifier.
Further, the apparatus may further include:
the physical address acquisition module is used for acquiring the physical address of the wireless access point connected with the robot;
and the third judging module is used for judging whether the terminal equipment detects the physical address.
Further, the service set identification acquisition module may include:
a query instruction sending unit, configured to send a service set identifier query instruction to the robot;
the feedback information receiving unit is used for receiving feedback information sent by the robot;
and the service set identification determining unit is used for determining the service set identification of the wireless access point connected with the robot according to the feedback information.
Further, the apparatus may further include:
and the volume recovery module is used for controlling the volume of the audio output device of the terminal equipment to be recovered to the initial volume value if the distance between the robot and the terminal equipment is detected to be greater than or equal to the distance threshold value.
A third aspect of the embodiments of the present invention provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, implements any one of the above steps of a method for controlling a robot to perform video monitoring.
A fourth aspect of the embodiments of the present invention provides a computer-readable storage medium storing a computer program, wherein the computer program when executed by a processor implements any one of the above steps of a method for controlling a robot to perform video monitoring.
Compared with the prior art, the embodiment of the invention has the beneficial effects that: when the robot is in a video monitoring mode, the embodiment of the invention acquires the position information of the robot and the position information of terminal equipment for controlling the robot; calculating a distance between the robot and the terminal equipment according to the position information of the robot and the position information of the terminal equipment; judging whether the distance between the robot and the terminal equipment is smaller than a preset distance threshold value or not; and if the distance between the robot and the terminal equipment is smaller than the distance threshold, controlling the volume of the audio output device of the terminal equipment to be reduced to a preset volume value. According to the invention, when the robot is relatively close to the terminal equipment, the volume of the audio output device is reduced, so that the played sound is difficult to collect by the microphone of the robot, the formation of closed loop feedback is blocked, the occurrence of abnormal sound is avoided, and the monitoring effect is greatly improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of a method for controlling a robot to perform video monitoring according to a first embodiment of the present invention;
fig. 2 is a schematic flowchart of a method for controlling a robot to perform video monitoring according to a second embodiment of the present invention;
fig. 3 is a schematic flowchart of a method for controlling a robot to perform video monitoring according to a third embodiment of the present invention;
fig. 4 is a schematic block diagram of a device for controlling a robot to perform video monitoring according to a fourth embodiment of the present invention;
fig. 5 is a schematic block diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, features and advantages of the present invention more comprehensible, the technical solutions in the embodiments of the present invention are described in detail below with reference to the accompanying drawings, and it is apparent that the embodiments described below are only some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Embodiment one:
as shown in fig. 1, a schematic flowchart of a method for controlling a robot to perform video monitoring according to an embodiment of the present invention may include:
and step S101, when the robot is in a video monitoring mode, acquiring the position information of the robot and the position information of a terminal device for controlling the robot.
Specifically, the positional information of the robot may be acquired by a GPS built in the robot, and recorded as coordinates (x) 1 ,y 1 ) The position information of the terminal equipment can be acquired through a GPS built-in by the terminal equipment, and the position information is recorded as (x) in the form of coordinates 2 ,y 2 )。
Step S102, calculating the distance between the robot and the terminal equipment according to the position information of the robot and the position information of the terminal equipment.
Specifically, if the distance between the robot and the terminal device is calculated as d, the distance between the robot and the terminal device may be calculated according to the following equation:
step S103, judging whether the distance between the robot and the terminal equipment is smaller than a preset distance threshold value.
The distance threshold may be set according to practical situations, for example, it may be set to 20 meters, 10 meters, 5 meters, or the like.
If the distance between the robot and the terminal device is greater than or equal to the distance threshold, step S104 is executed, and if the distance between the robot and the terminal device is less than the distance threshold, step S105 is executed.
Step S104, controlling the volume of the audio output device of the terminal equipment to keep an initial volume value.
According to the use habit of the user, in the initial state of controlling the robot to perform video monitoring, the loudspeaker of the terminal equipment is used as an audio output device by default, and the initial volume value is generally higher, so that the user can clearly hear the monitoring sound. The initial sound volume value may be set according to actual conditions, for example, may be set to 40 db, 50 db, 60 db, or the like.
When the distance between the robot and the terminal device is sufficiently large, even if the initial sound volume value of the audio output device of the terminal device is maintained, the microphone of the robot is difficult to collect sound played by the audio output device of the terminal device due to the sound volume attenuation caused by the distance, closed loop feedback is not formed, and abnormal sound is not formed.
Step S105, controlling the volume of the audio output device of the terminal device to decrease to a preset volume value.
When the distance between the robot and the terminal device is sufficiently close, in order to avoid the formation of closed loop feedback and the occurrence of abnormal sounds, it is necessary to reduce the volume of the audio output device controlling the terminal device to a preset volume value.
The preset sound volume value may be set according to the actual situation, for example, may be set to 30 db, 20 db, or 10 db, and specifically, may also be set to 0 db, that is, the audio output device of the terminal device is turned off. The volume of the audio output device of the terminal equipment is reduced, so that the played sound is difficult to collect by the microphone of the robot, the formation of closed loop feedback is blocked, and abnormal sound is avoided.
In another implementation of this embodiment, the current audio output device may be switched from a speaker to a receiver, and since the sound emitted by the receiver is small, it is also difficult to be collected by the microphone of the robot, and the purpose of blocking closed loop feedback formation and avoiding occurrence of abnormal noise may be achieved.
The use of the earpiece in the video monitoring mode is not in line with the use habit of the user, preferably, after step S105, if it is detected that the distance between the robot and the terminal device is greater than or equal to the distance threshold, the volume of the audio output device of the terminal device is controlled to be restored to the initial volume value.
It is easy to understand that if the processing of reducing the volume of the speaker or even turning off the speaker is adopted in step S105, it is necessary to re-turn on the speaker and restore the volume thereof to the original volume value during the restoration process. If the processing mode of switching the audio output device from the speaker to the receiver is adopted in step S105, in the recovery process, it is necessary to switch the audio output device from the receiver to the speaker again.
In summary, in the embodiment of the present invention, when the robot is in the video monitoring mode, the position information of the robot and the position information of the terminal device controlling the robot are obtained; calculating a distance between the robot and the terminal equipment according to the position information of the robot and the position information of the terminal equipment; judging whether the distance between the robot and the terminal equipment is smaller than a preset distance threshold value or not; and if the distance between the robot and the terminal equipment is smaller than the distance threshold, controlling the volume of the audio output device of the terminal equipment to be reduced to a preset volume value. According to the invention, when the robot is relatively close to the terminal equipment, the volume of the audio output device is reduced, so that the played sound is difficult to collect by the microphone of the robot, the formation of closed loop feedback is blocked, the occurrence of abnormal sound is avoided, and the monitoring effect is greatly improved.
Embodiment two:
fig. 2 is a schematic flow chart of a method for controlling a robot to perform video monitoring according to an embodiment of the present invention, where the method may include:
step 201, when the robot is in a video monitoring mode, acquiring position information of the robot and position information of a terminal device controlling the robot.
Step S202, calculating the distance between the robot and the terminal equipment according to the position information of the robot and the position information of the terminal equipment.
Step S203, determining whether the distance between the robot and the terminal device is smaller than a preset distance threshold.
If the distance between the robot and the terminal device is greater than or equal to the distance threshold, step S204 is performed, and if the distance between the robot and the terminal device is less than the distance threshold, step S205 and subsequent steps are performed.
Step S204, controlling the volume of the audio output device of the terminal equipment to keep an initial volume value.
The process from step S201 to step S204 is the same as the process from step S101 to step S104 in the first embodiment, and specific reference may be made to the specific description in the first embodiment, which is not repeated here.
Step 205, obtain the service set identifier of the wireless access point connected to the robot.
The service set identifier (Service Set Identifier, SSID) is an identifier of a wireless Access Point (AP) of the WIFI network.
The step of obtaining the service set identifier of the wireless access point connected to the robot may specifically include: firstly, the terminal equipment sends a service set identification query instruction to the robot; after receiving the service set identification inquiry command, the robot inquires the service set identification of the currently connected wireless access point, packages the service set identification into feedback information and sends the feedback information to the terminal equipment; and the terminal equipment receives feedback information sent by the robot and determines a service set identifier of the wireless access point connected with the robot according to the feedback information.
Step S206, judging whether the terminal equipment detects the service set identification.
That is, the service set identifiers of all the wireless access points which can be detected by the terminal equipment are searched, and whether the service set identifiers of the wireless access points connected with the robot can be searched is judged.
If the terminal device does not detect the service set identifier, it is indicated that a large error may exist in the positioning of the robot and the terminal device in step S201, and the actual distance between the two may be far greater than the distance calculated in step S202, at this time, step S204 is performed.
If the terminal device detects the service set identifier, it indicates that the positioning of the robot and the terminal device in step S201 and the distance between the two calculated in step S202 are more accurate, and the two are actually at a closer distance, and at this time, step S207 is executed.
Step S207, controlling the volume of the audio output device of the terminal equipment to be reduced to a preset volume value.
The process of step S207 is the same as the process of step S105 of the first embodiment, and specific reference may be made to the specific description of the first embodiment, which is not repeated here.
Because the flow is more consumed in the video monitoring mode, the function is generally only used under the condition that the robot and the terminal equipment both use WIFI, the consideration of service set identification of the wireless access point is increased on the basis of the first embodiment, whether the distance between the robot and the terminal equipment is close enough is effectively verified, misjudgment caused by positioning errors is reduced, and accuracy of distance judgment is greatly improved.
Embodiment III:
fig. 3 is a schematic flowchart of a method for controlling a robot to perform video monitoring according to an embodiment of the present invention, where the method may include:
step S301, when the robot is in a video monitoring mode, acquiring position information of the robot and position information of a terminal device controlling the robot.
Step S302, calculating the distance between the robot and the terminal equipment according to the position information of the robot and the position information of the terminal equipment.
Step S303, judging whether the distance between the robot and the terminal equipment is smaller than a preset distance threshold value.
If the distance between the robot and the terminal device is greater than or equal to the distance threshold, step S304 is performed, and if the distance between the robot and the terminal device is less than the distance threshold, step S305 and subsequent steps are performed.
Step S304, controlling the volume of the audio output device of the terminal equipment to keep an initial volume value.
Step S305, obtaining a service set identifier of the wireless access point connected with the robot.
Step S306, judging whether the terminal equipment detects the service set identification.
The process from step S301 to step S306 is the same as the process from step S201 to step S206 in the second embodiment, and specific reference may be made to the specific description in the second embodiment, which is not repeated here.
If the terminal device does not detect the service set identifier, step S304 is executed, and if the terminal device detects the service set identifier, step S307 and subsequent steps are executed.
Step S307, obtaining a physical address of the wireless access point connected to the robot.
Considering that the SSID is renamed, different wireless access points may have the same SSID, so in order to ensure accuracy of the result, the physical address of the wireless access point connected to the robot, that is, the MAC address thereof, may be further detected.
The step of obtaining the physical address of the wireless access point connected to the robot may specifically include: firstly, the terminal equipment sends a physical address inquiry instruction to the robot; after receiving the physical address inquiry command, the robot inquires the physical address of the currently connected wireless access point, packages the physical address into feedback information and sends the feedback information to the terminal equipment; and the terminal equipment receives feedback information sent by the robot and determines the physical address of the wireless access point connected with the robot according to the feedback information.
Step S308, judging whether the terminal equipment detects the physical address.
That is, the physical addresses of all the wireless access points which can be detected by the terminal equipment are searched, and whether the physical addresses of the wireless access points connected with the robot can be searched is judged.
If the physical address is not detected by the terminal device, it is indicated that a large error may exist in the positioning of the robot and the terminal device in step S301, and the actual distance between the two may be far greater than the distance calculated in step S302, at this time, step S304 is performed.
If the terminal device detects the physical address, it indicates that the positioning of the robot and the terminal device in step S301 and the distance between the two calculated in step S302 are more accurate, and the two are actually at a closer distance, and step S309 is performed.
Step S309, controlling the volume of the audio output device of the terminal device to decrease to a preset volume value.
The process of step S309 is the same as the process of step S105 of the first embodiment, and specific reference may be made to the specific description of the first embodiment, which is not repeated here.
Since the SSID is renamed, different wireless access points may have the same SSID, so in order to ensure accuracy of the result, in this embodiment, based on the second embodiment, consideration of physical addresses of the wireless access points is added, the physical addresses have uniqueness, and the physical addresses of the different wireless access points are different, so that the result obtained by the embodiment has higher accuracy.
It should be understood that the sequence numbers of the steps in the foregoing embodiments do not mean the order of execution, and the execution order of the processes should be determined by the functions and the internal logic, and should not be construed as limiting the implementation process of the embodiments of the present invention.
Embodiment four:
fig. 4 is a schematic block diagram of an apparatus for controlling a robot to perform video monitoring according to an embodiment of the present invention, where the apparatus may include:
a position information obtaining module 401, configured to obtain position information of the robot and position information of a terminal device controlling the robot when the robot is in a video monitoring mode;
a distance calculating module 402, configured to calculate a distance between the robot and the terminal device according to the position information of the robot and the position information of the terminal device;
a first judging module 403, configured to judge whether a distance between the robot and the terminal device is less than a preset distance threshold;
and the volume reduction module 404 is configured to control the volume of the audio output device of the terminal device to be reduced to a preset volume value if the distance between the robot and the terminal device is smaller than the distance threshold.
Further, the volume reduction module may include:
an audio output closing unit for closing an audio output device of the terminal device;
or alternatively
And the audio output switching unit is used for switching the current audio output device from the loudspeaker to the receiver.
Further, the apparatus may further include:
the service set identifier acquisition module is used for acquiring a service set identifier of the wireless access point connected with the robot;
and the second judging module is used for judging whether the terminal equipment detects the service set identifier.
Further, the apparatus may further include:
the physical address acquisition module is used for acquiring the physical address of the wireless access point connected with the robot;
and the third judging module is used for judging whether the terminal equipment detects the physical address.
Further, the service set identification acquisition module may include:
a query instruction sending unit, configured to send a service set identifier query instruction to the robot;
the feedback information receiving unit is used for receiving feedback information sent by the robot;
and the service set identification determining unit is used for determining the service set identification of the wireless access point connected with the robot according to the feedback information.
Further, the apparatus may further include:
and the volume recovery module is used for controlling the volume of the audio output device of the terminal equipment to be recovered to the initial volume value if the distance between the robot and the terminal equipment is detected to be greater than or equal to the distance threshold value.
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described apparatus, modules and units may refer to corresponding procedures in the foregoing method embodiments, and are not repeated herein.
Fig. 5 is a schematic block diagram of a terminal device according to an embodiment of the present invention. As shown in fig. 5, the terminal device 5 of this embodiment includes: a processor 50, a memory 51 and a computer program 52 stored in said memory 51 and executable on said processor 50. The steps of the various video surveillance method embodiments described above, such as steps S101 through S105 shown in fig. 1, are implemented when the processor 50 executes the computer program 52. Alternatively, the processor 50 may perform the functions of the modules/units of the apparatus embodiments described above, such as the functions of the modules 401 to 404 shown in fig. 4, when executing the computer program 52.
By way of example, the computer program 52 may be partitioned into one or more modules/units that are stored in the memory 51 and executed by the processor 50 to complete the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions for describing the execution of the computer program 52 in the terminal device 5.
The terminal device 5 may be a computing device such as a mobile phone, a tablet computer, a desktop computer, a notebook computer, a cloud server, etc. The terminal device may include, but is not limited to, a processor 50, a memory 51. It will be appreciated by those skilled in the art that fig. 5 is merely an example of the terminal device 5 and does not constitute a limitation of the terminal device 5, and may include more or less components than illustrated, or may combine certain components, or different components, e.g., the terminal device 5 may further include an input-output device, a network access device, a bus, etc.
The processor 50 may be a central processing unit (Central Processing Unit, CPU), but may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSPs), application specific integrated circuits (Application Specific Integrated Circuit, ASICs), field programmable gate arrays (Field-Programmable Gate Array, FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 51 may be an internal storage unit of the terminal device 5, such as a hard disk or a memory of the terminal device 5. The memory 51 may be an external storage device of the terminal device 5, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the terminal device 5. Further, the memory 51 may also include both an internal storage unit and an external storage device of the terminal device 5. The memory 51 is used for storing the computer program as well as other programs and data required by the terminal device 5. The memory 51 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions. The functional units and modules in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working process of the units and modules in the above system may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference is made to the related descriptions of other embodiments.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other manners. For example, the apparatus/terminal device embodiments described above are merely illustrative, e.g., the division of the modules or units is merely a logical function division, and there may be additional divisions in actual implementation, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection via interfaces, devices or units, which may be in electrical, mechanical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated modules/units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the present invention may implement all or part of the flow of the method of the above embodiment, or may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, and when the computer program is executed by a processor, the computer program may implement the steps of each of the method embodiments described above. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth. It should be noted that the computer readable medium contains content that can be appropriately scaled according to the requirements of jurisdictions in which such content is subject to legislation and patent practice, such as in certain jurisdictions in which such content is subject to legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunication signals.
The above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention, and are intended to be included in the scope of the present invention.

Claims (8)

1. A method for controlling a robot to perform video monitoring, comprising:
when the robot is in a video monitoring mode, acquiring position information of the robot and position information of terminal equipment for controlling the robot;
calculating a distance between the robot and the terminal equipment according to the position information of the robot and the position information of the terminal equipment;
judging whether the distance between the robot and the terminal equipment is smaller than a preset distance threshold value or not;
if the distance between the robot and the terminal equipment is smaller than the distance threshold, controlling the volume of an audio output device of the terminal equipment to be reduced to a preset volume value;
before the volume of the audio output device of the terminal equipment is controlled to be reduced to a preset volume value, the method further comprises the following steps:
acquiring a service set identifier of a wireless access point connected with the robot;
judging whether the terminal equipment detects the service set identifier or not;
if the terminal equipment detects the service set identifier, executing the step of controlling the volume of the audio output device of the terminal equipment to be reduced to a preset volume value;
if the terminal equipment does not detect the service set identification, controlling the volume of an audio output device of the terminal equipment to keep an initial volume value;
before the volume of the audio output device of the terminal equipment is controlled to be reduced to a preset volume value, the method further comprises the following steps:
acquiring a physical address of a wireless access point connected with the robot;
judging whether the terminal equipment detects the physical address or not;
if the terminal equipment detects the physical address, executing the step of controlling the volume of the audio output device of the terminal equipment to be reduced to a preset volume value;
the controlling the volume of the audio output device of the terminal device to be reduced to a preset volume value comprises the following steps:
and closing the audio output device of the terminal equipment.
2. The method of claim 1, wherein controlling the volume of the audio output device of the terminal device to decrease to a preset volume value comprises:
the current audio output device is switched from the speaker to the earpiece.
3. The method of claim 1, wherein the obtaining the service set identification of the wireless access point to which the robot is connected comprises:
sending a service set identification query instruction to the robot;
receiving feedback information sent by the robot;
and determining the service set identification of the wireless access point connected with the robot according to the feedback information.
4. A method according to any one of claims 1 to 3, characterized in that after controlling the volume of the audio output means of the terminal device to decrease to a preset volume value, it further comprises:
and if the distance between the robot and the terminal equipment is detected to be greater than or equal to the distance threshold, controlling the volume of the audio output device of the terminal equipment to be restored to the initial volume value.
5. A device for controlling a robot to perform video monitoring, comprising:
the position information acquisition module is used for acquiring the position information of the robot and the position information of the terminal equipment for controlling the robot when the robot is in a video monitoring mode;
a distance calculating module, configured to calculate a distance between the robot and the terminal device according to the position information of the robot and the position information of the terminal device;
the first judging module is used for judging whether the distance between the robot and the terminal equipment is smaller than a preset distance threshold value or not;
the volume reduction module is used for controlling the volume of the audio output device of the terminal equipment to be reduced to a preset volume value if the distance between the robot and the terminal equipment is smaller than the distance threshold;
before the volume of the audio output device of the terminal equipment is controlled to be reduced to a preset volume value, the method further comprises the following steps:
acquiring a service set identifier of a wireless access point connected with the robot;
judging whether the terminal equipment detects the service set identifier or not;
if the terminal equipment detects the service set identifier, executing the step of controlling the volume of the audio output device of the terminal equipment to be reduced to a preset volume value;
if the terminal equipment does not detect the service set identification, controlling the volume of an audio output device of the terminal equipment to keep an initial volume value;
before the volume of the audio output device of the terminal equipment is controlled to be reduced to a preset volume value, the method further comprises the following steps:
acquiring a physical address of a wireless access point connected with the robot;
judging whether the terminal equipment detects the physical address or not;
if the terminal equipment detects the physical address, controlling the volume of an audio output device of the terminal equipment to be reduced to a preset volume value;
the volume reduction module includes:
and the audio output closing unit is used for closing the audio output device of the terminal equipment.
6. The apparatus of claim 5, wherein the volume reduction module comprises:
and the audio output switching unit is used for switching the current audio output device from the loudspeaker to the receiver.
7. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 4 when the computer program is executed.
8. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the steps of the method according to any one of claims 1 to 4.
CN201810371830.3A 2018-04-24 2018-04-24 Method, device and terminal equipment for controlling robot to perform video monitoring Active CN110399114B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810371830.3A CN110399114B (en) 2018-04-24 2018-04-24 Method, device and terminal equipment for controlling robot to perform video monitoring

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810371830.3A CN110399114B (en) 2018-04-24 2018-04-24 Method, device and terminal equipment for controlling robot to perform video monitoring

Publications (2)

Publication Number Publication Date
CN110399114A CN110399114A (en) 2019-11-01
CN110399114B true CN110399114B (en) 2023-08-04

Family

ID=68320317

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810371830.3A Active CN110399114B (en) 2018-04-24 2018-04-24 Method, device and terminal equipment for controlling robot to perform video monitoring

Country Status (1)

Country Link
CN (1) CN110399114B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2022147811A (en) * 2021-03-23 2022-10-06 トヨタ自動車株式会社 Sound volume control system, sound volume control method, and sound volume control program

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120000207A (en) * 2010-06-25 2012-01-02 삼성전기주식회사 Camera module
CN104281115A (en) * 2013-10-21 2015-01-14 山东师范大学 Induced bird repellent robot network control system and method
WO2017210856A1 (en) * 2016-06-07 2017-12-14 海能达通信股份有限公司 Method of controlling audio output, user terminal, and radio terminal
CN107659723A (en) * 2017-09-26 2018-02-02 上海展扬通信技术有限公司 A kind of computer-readable recording medium and mobile terminal for being used to control sound to play
JP2018045192A (en) * 2016-09-16 2018-03-22 トヨタ自動車株式会社 Voice interactive device and method of adjusting spoken sound volume
WO2018066816A1 (en) * 2016-10-07 2018-04-12 엘지전자 주식회사 Airport robot and operation method therefor

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4266211B2 (en) * 2005-03-23 2009-05-20 株式会社東芝 Robot device, method of moving robot device, and program
US10992816B2 (en) * 2014-01-06 2021-04-27 Lg Electronics Inc. Mobile terminal and control method therefor

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120000207A (en) * 2010-06-25 2012-01-02 삼성전기주식회사 Camera module
CN104281115A (en) * 2013-10-21 2015-01-14 山东师范大学 Induced bird repellent robot network control system and method
WO2017210856A1 (en) * 2016-06-07 2017-12-14 海能达通信股份有限公司 Method of controlling audio output, user terminal, and radio terminal
JP2018045192A (en) * 2016-09-16 2018-03-22 トヨタ自動車株式会社 Voice interactive device and method of adjusting spoken sound volume
WO2018066816A1 (en) * 2016-10-07 2018-04-12 엘지전자 주식회사 Airport robot and operation method therefor
CN107659723A (en) * 2017-09-26 2018-02-02 上海展扬通信技术有限公司 A kind of computer-readable recording medium and mobile terminal for being used to control sound to play

Also Published As

Publication number Publication date
CN110399114A (en) 2019-11-01

Similar Documents

Publication Publication Date Title
CN108076226B (en) Method for adjusting call quality, mobile terminal and storage medium
CN112703781B (en) Wireless signal sending method, wireless signal sending device and terminal equipment
CN108495344B (en) Network switching method, device and terminal
US9723129B2 (en) Voice call establishing method and apparatus
US10204639B2 (en) Method and device for processing sound signal for communications device
CN106384597B (en) Audio data processing method and device
US11689655B2 (en) Method for adjusting parameter of audio service and terminal
CN107329778B (en) System updating method and related product
EP3823310A1 (en) Microphone hole clogging detection method and related products
WO2018214871A1 (en) Radio frequency interference processing method and electronic device
JP2019176477A (en) Arrangement method of wireless loudspeaker, wireless loudspeaker, and terminal device
CN110399114B (en) Method, device and terminal equipment for controlling robot to perform video monitoring
CN108833033B (en) Method and device for determining radio frequency calibration parameters, storage medium and mobile terminal
CN108769407B (en) Mobile terminal loss prevention alarm method, mobile terminal and storage medium
CN112612745A (en) Data transmission method and device, electronic equipment and readable storage medium
CN111342981A (en) Arbitration method between devices in local area network environment, electronic device and local area network system
CN107819761B (en) Data processing method and device and readable storage medium
CN106304287B (en) Method for reducing standby power consumption of mobile terminal and mobile terminal
CN114173321B (en) Equipment communication connection establishment method and equipment communication system
CN109218127B (en) Data processing method and device and mobile terminal
CN113766406A (en) Method, system and device for testing earphone
CN107708036B (en) Method and device for debugging output power of audio equipment
KR20200144241A (en) Structure of electronic device for optimizing performance of antenna and method thereof
CN110853665B (en) Method, system and equipment for reducing noise of digital microphone and computer storage medium
CN111385911B (en) Inspection robot and voice communication method thereof

Legal Events

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