WO2021180176A1 - Information prompting method, electronic device, and storage medium - Google Patents

Information prompting method, electronic device, and storage medium Download PDF

Info

Publication number
WO2021180176A1
WO2021180176A1 PCT/CN2021/080228 CN2021080228W WO2021180176A1 WO 2021180176 A1 WO2021180176 A1 WO 2021180176A1 CN 2021080228 W CN2021080228 W CN 2021080228W WO 2021180176 A1 WO2021180176 A1 WO 2021180176A1
Authority
WO
WIPO (PCT)
Prior art keywords
camera
information
user
target
prompt
Prior art date
Application number
PCT/CN2021/080228
Other languages
French (fr)
Chinese (zh)
Inventor
王明飞
Original Assignee
维沃移动通信有限公司
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 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2021180176A1 publication Critical patent/WO2021180176A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/583Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/587Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using geographical or spatial information, e.g. location
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/10Terrestrial scenes

Definitions

  • the embodiments of the present invention relate to the field of communication technologies, and in particular, to an information prompt method, electronic equipment, and storage medium.
  • the embodiments of the present invention provide an information prompt method, electronic equipment, and storage medium, which can solve the problem that the existing information prompt method cannot respond to the communication request because the user cannot find the prompt information of the communication request in time.
  • the present invention is implemented as follows:
  • the embodiment of the present invention provides an information prompting method, which is applied to an electronic device.
  • the electronic device includes a main body and a rotatable camera provided on the main body.
  • the camera is detachably mounted on the main body, and the method
  • the method includes: controlling the rotation of the camera and controlling the camera to collect images when the electronic device receives the communication connection request and the user's input to the communication connection request is not received within a preset time period; At least one frame of images collected by the camera in the first time period determines the target flight route; controls the camera to be separated from the body, and controls the camera to fly according to the target flight route; If the image includes the target user, the first prompt message is output.
  • An embodiment of the present invention further provides an electronic device, the electronic device includes a body and a rotatable camera provided on the body, the camera is detachably mounted on the body, and further includes: a first control module, Used for controlling the rotation of the camera and controlling the camera to collect images when the electronic device receives a communication connection request and the user's input to the communication connection request is not received within a preset time period; the route is determined The module is used to determine the target flight route based on at least one frame of images collected by the camera in the first time period; the second control module is used to control the separation of the camera from the body and control the camera to follow The target flight line is flying; the first output module is configured to output first prompt information when the image collected by the camera includes the target user.
  • a first control module Used for controlling the rotation of the camera and controlling the camera to collect images when the electronic device receives a communication connection request and the user's input to the communication connection request is not received within a preset time period
  • the route is determined
  • the module is used to
  • the embodiment of the present invention also provides an electronic device, including a processor, a memory, a computer program stored on the memory and running on the processor, and the computer program is executed by the processor to achieve Describe the steps of the information prompting method.
  • the embodiment of the present invention also provides a computer-readable storage medium having a computer program stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the information prompting method are implemented.
  • the electronic device when the electronic device receives the communication connection request, the user is given priority to prompt the user with at least one of the regular ringing and vibration. Further, if the user's input for the communication connection request is not received within the preset time period, it is analyzed that the user may be far away from the electronic device, the current environment is relatively noisy, etc., so the prompt is not noticed, and this embodiment is started based on Information prompt method realized by separate rotating camera.
  • the electronic device if it does not receive the user's input for the communication connection request within the preset time period, it will control the camera to rotate and collect images, so that images around the electronic device can be collected, and then according to the rotation of the camera
  • at least one frame of images collected in the first period of time captures the location of the user, or determines the location of the user, and other information, so as to determine the target flight path of the camera based on this information, and further control the camera and the body Separation enables the camera to fly according to the target flight route in the separated state, while continuing to control the camera rotation and collecting images to find the user.
  • the first prompt information is output to make the user notice the communication connection request. It can be seen that this embodiment makes full use of the separate rotatable camera and combines the collected images to find the user in time and inform the user of the unanswered communication request, so that the user can respond in time and avoid the user from missing it.
  • FIG. 1 is a flowchart of an information prompt method according to an embodiment of the present invention
  • FIG. 2 is one of the plan schematic diagrams of the electronic device according to the embodiment of the present invention.
  • FIG. 3 is a second schematic plan view of the electronic device according to the embodiment of the present invention.
  • FIG. 5 is a block diagram of an electronic device according to an embodiment of the present invention.
  • Fig. 6 is a schematic diagram of the hardware structure of an electronic device according to an embodiment of the present invention.
  • the electronic device includes a main body and a rotatable camera provided on the main body.
  • the camera is detachably mounted on the main body.
  • the electronic device includes a body 1 on which a camera 2 is installed.
  • the camera 2 is a rotatable camera, and the camera 2 can be optionally installed on the top of the body 1.
  • the camera 2 is a separate camera, which can be separated from the main body 1 to perform flight actions.
  • the camera 2 is installed on the main body 1 in an installed state (as shown in FIG. 2), and the camera 2 is separated from the main body 1 and in a flying state (as shown in FIG. 3).
  • the camera 2 has a rotating function. See Fig. 4, which is the rotation of the camera 2 in the installed state.
  • the arrow schematically indicates the direction of rotation for reference only; in addition, the camera 2 can also be rotated in the flying state.
  • the information prompting method in this embodiment includes:
  • Step 110 When the electronic device receives the communication connection request and does not receive the user's input to the communication connection request within a preset time period, control the camera to rotate and control the camera to collect images.
  • the communication connection request is any one of a video communication connection request, a voice communication connection request, a telephone communication connection request, and other communication connection requests.
  • an electronic device when it receives a communication connection request, it prompts the user in a conventional manner. For example, prompt the user by ringing, vibrating, etc.
  • the camera is controlled to rotate, and the camera is controlled to collect images.
  • the user's input to the communication connection request includes answer input, rejection input, and so on.
  • Application scenarios such as: the user and the electronic device are not in the same space, the electronic device is placed in the living room, but the user is cooking in the kitchen, and the communication connection request cannot be detected in time; another example, the user is in a relatively noisy environment and cannot be detected in time Communication connection request.
  • the preset duration is 2 minutes.
  • the user can customize the preset duration according to the needs, and further, the user can also set different preset durations for different calling parties.
  • the electronic device can control the rotation of the camera and control the collection of images, so that images around the electronic device can be collected based on the location of the electronic device.
  • Step 120 Determine the target flight route according to at least one frame of images collected by the camera in the first time period.
  • the location of the user can be determined, or the location of the user may be determined, so that the target flight route of the camera can be determined based on the collected images, so that After the camera is separated from the main body, it flies according to the target flight line, and then finds the user and informs the user of the current call connection request.
  • the first time period is set in this step, so that the camera collects at least one frame of images in the first time period, so as to find the user's face image in the collected images; if the first time period is collected If there is no face image of the user in the image, analyze the collected environmental image.
  • the electronic device can control the camera to collect the user's face image around, so as to control the camera to fly toward the user according to the collected face image of the user.
  • the electronic device can control the camera to collect the user's face image around. If it cannot be collected, intelligently analyze the user's possible position based on the collected environment image, thereby controlling the camera orientation Fly where the user may be.
  • the camera can be controlled to rotate to a preset angle.
  • the preset angle is related to the user's face image, that is, the user stops turning after the user's face image is collected; on the other hand, when the user's face image cannot be collected ,
  • the preset angle can be customized, that is, the camera stops rotating after rotating the preset angle, for example, the preset angle is 360°.
  • the user can enter a preset face image for the method in this embodiment; in addition, a face image pre-stored in the electronic device can also be obtained as the preset face image.
  • a face image pre-stored in the electronic device can also be obtained as the preset face image.
  • the image collected during the rotation of the camera can be matched with the preset face image. If the matching is successful, the user's face image is collected; if the matching fails, the user's face image cannot be collected.
  • the preset face image is the face image of the user of the machine.
  • Step 130 Control the camera to be separated from the main body, and control the camera to fly according to the target flight line.
  • control camera is separated from the main body and enters the flying state.
  • control the camera to fly according to the target flight line.
  • Step 140 In the case where the image collected by the camera includes the target user, output first prompt information.
  • the camera when the camera is in a flying state, the camera continues to keep rotating and image collection actions.
  • the image captured by the camera includes the target user, that is, the camera captures the face image of the target user in the flight state, indicating that the target user is found, and the first prompt message is output to remind the target user that the target user is currently Communication connection request.
  • the target user can be a local user.
  • the camera is controlled to fly to find the user, and after the user is found, the first prompt message is output to prompt the user Unread information.
  • the first prompt information includes a prompt sound and the like.
  • the electronic device when the electronic device receives the communication connection request, the electronic device prompts the user according to at least one of the first ring volume and the first vibration frequency.
  • the first ringing volume is 40% of the maximum volume
  • the first vibration frequency is 40% of the maximum frequency
  • the specific value of the first ringing volume and the specific value of the first vibration frequency can be adjusted according to the user's setting.
  • the electronic device continues to prompt the user with at least one of the first ring volume and the first vibration frequency, and controls the camera to fly Find users. After finding the user, output the first prompt message.
  • the form of the first prompt message can increase the ring volume and increase the vibration frequency; or only increase the ring volume; or only increase the vibration frequency ; To enhance the prompt effect and be discovered by the user.
  • the main body can output the first prompt information
  • the camera can also output the first prompt information
  • the form of the first prompt information is not limited to ringing, vibration, and prompt sound.
  • the electronic device receives the communication connection request
  • the user is given priority to prompt the user with at least one of the regular ringing and vibration.
  • the prompt is not noticed, and this embodiment is started based on Information prompt method realized by separate rotating camera.
  • the electronic device if it does not receive the user's input for the communication connection request within the preset time period, it will control the camera to rotate and collect images, so that images around the electronic device can be collected, and then according to the rotation of the camera
  • at least one frame of images collected in the first period of time captures the location of the user, or determines the location of the user, and other information, so as to determine the target flight path of the camera based on this information, and further control the camera and the body Separation enables the camera to fly according to the target flight route in the separated state, while continuing to control the camera rotation and collecting images to find the user.
  • the first prompt information is output to make the user notice the communication connection request. It can be seen that this embodiment makes full use of the separate rotatable camera and combines the collected images to find the user in time and inform the user of the unanswered communication request, so that the user can respond in time and avoid the user from missing it.
  • the embodiment of the present invention provides a method for assisting an electronic device to prompt a user to process a communication connection request through a camera, which not only has a strong sense of science and technology, but also solves the problem of missed calls due to the user and the electronic device are not in the same space.
  • a sequence of steps is provided, that is, the target flight path is determined first, and then the camera is controlled to fly according to the target flight path.
  • more sequence of steps can be provided, such as controlling the camera to fly first, and then determining the target flight route during the flight. Therefore, the embodiment of the present invention only provides a feasible sequence of steps, but does not limit the execution sequence of the steps.
  • Application scenarios such as: the image collected by the camera in the installed state does not include the target user, and it is impossible to predict the location of the user based on the collected images.
  • First control the camera to leave the body and enter the flight state, and then according to the camera in the flight state.
  • Image determine the target flight route.
  • step 120 includes:
  • Step 1201 In the case that the target frame image collected by the camera in the first time period includes the target user, obtain the location information of the target user according to the target frame image.
  • the frame image in the first time period can be compared with the face image of the target user. If the target frame image in the first time period is successfully compared with the face image of the target user, it is considered that the first The target frame image in the time period includes the target user; if the comparison of the frame image in the first time period and the face image of the target user fails, it is considered that the frame image in the first time period does not include the target user.
  • the position information of the target user may be acquired in the target frame image including the target user.
  • the location information includes the position of the user relative to the camera, the distance of the user relative to the camera, the area where the user is located, and the like.
  • Step 1202 When the location information of the target user meets the preset condition, determine the target flight route according to the location information of the target user.
  • the preset condition is that the distance between the target user and the camera is greater than a preset threshold.
  • the preset threshold can be customized by the user or automatically set within the device.
  • the camera collects the user's face image in the installed state, and it is detected that the distance between the user and the camera is greater than the preset threshold, it is considered that the user is far away from the electronic device, so that the user cannot find the communication connection in time If requested, it is prepared to control the camera to fly to inform the user.
  • the environment image collected by the camera such as obstacles in the environment image, can be combined to determine the target flight path, so that the camera can be separated from the body and can fly along the target. The line flies smoothly to the user's place.
  • the position information of the target user is obtained, and the position information indicates that the user is currently in the kitchen, and then it is determined that the starting position is the current position of the electronic device and the ending position is the target flight route of the kitchen.
  • the environment image collected by the camera may also be combined, such as the environment image between the living room and the kitchen collected when the electronic device is currently in the living room, including the location of the passage, the location of the obstacle, and so on.
  • the location information of the target user is obtained, and the location information indicates that the user is currently in the kitchen, and the target flight route is determined as the starting position is the current position of the electronic device, passing through the passage between the living room and the kitchen, and ending point.
  • the location is the target flight path of the kitchen.
  • the camera when the camera is in the installed state, the camera is controlled to rotate to collect a 360° image, so as to identify the user in the collected image. Further, if the user is recognized, the user's location information is obtained, and if the location information meets the preset conditions, the target flight route is determined, and the camera is controlled to automatically pop out of the body and fly according to the target flight route so that the camera can be accurate and accurate. Fly to the user quickly.
  • step 140 includes:
  • Step 1401 In the case where the image collected by the camera includes the target user, obtain the real-time distance between the target user and the camera.
  • Step 1402 When the real-time distance is less than the first threshold, output first prompt information, where the first prompt information is used to prompt the communication connection request.
  • the image is also collected during the flight of the camera. If it is detected that the image collected by the camera includes the target user, then The real-time distance between the target user and the camera can be obtained based on the image including the target user.
  • the image collected by the camera includes the target user, and when the real-time distance between the target user and the camera is less than the first threshold, the first prompt information is output.
  • the first prompt information may be output in the form of gradually changing the ringing volume and/or the vibration frequency.
  • the ring volume, and/or the change rule of the vibration frequency can be customized by the user, or can be set internally by the device.
  • the ringer volume can be increased based on the conventional prompt method, and/ Or increase the vibration frequency.
  • the first threshold in this embodiment can be customized by the user, or can be set internally by the device.
  • the real-time distance between the target user and the camera can be further obtained, so that when the target user approaches the camera, the first prompt information is output, so that the user can Proximity perception prompts, thereby further reducing the probability of missing a communication connection request.
  • a speaker and other devices can be set in the camera, so that the camera can realize ringing, vibration and other prompts during the flight, so that as the camera gets closer and closer to the user, the user is more likely to perceive Tips to the camera output.
  • step 120 includes:
  • Step 1203 In the case that the frame image collected by the camera in the first time period does not include the target user, obtain the environment information included in the frame image in the first time period.
  • Step 1204 Determine the target flight route according to the environmental information.
  • the camera is controlled to collect images in the installed state. On the one hand, it is used to identify the target user in the image to determine the target flight route according to the target user; on the other hand, it is used to obtain the surrounding environment in the image to Determine the target flight route by combining the target user and the surrounding environment in the image, or determine the user's location based on the surrounding environment, and determine the target flight route.
  • the environment information can be obtained from the frame images in the first time period to determine the location of the user based on the environment information. , And combine the judgment result and the obtained environmental information to determine the target flight route.
  • the application scenario is, for example, obtaining environmental information such as obstacles, doors, aisles, and crowds from the frame images in the first time period to determine the target flight route.
  • environmental information such as obstacles, doors, aisles, and crowds from the frame images in the first time period.
  • it is necessary to avoid obstacles in the environment, and plan rooms, aisles, etc. in the target flight route; in addition, considering that there are a large number of people gathered together, users may not be able to find it.
  • the prompt it can be predicted that the crowd gathering area is the location of the user, and the crowd gathering area in the image is determined as the destination of the target flight route.
  • the environmental information in the frame images in the first time period can be obtained, and further based on the environmental information, such as aisles, rooms The location, door location, etc., determine the target flight route; at the same time, it can also determine the user's location based on environmental information, such as crowds, and determine the target flight route.
  • the present invention also provides a flow of the information prompting method of another embodiment, which further includes after step 130:
  • Step 150 In the case that the image collected by the camera does not include the target user, obtain the real-time flying distance of the camera.
  • Step 160 In the case that the real-time flight distance is greater than the second threshold, output second prompt information based on the first prompt information.
  • the prompt intensity of the second prompt message is weaker than the prompt intensity of the first prompt message.
  • the second prompt information can be output based on the first prompt information.
  • the prompt intensity of the second prompt information is weaker than the prompt intensity of the first prompt information.
  • the form of the first prompt information is at least one of ringing and vibration
  • the second prompting information corresponds to at least one of ringing and vibration, and is compared with the ringing and vibration in the first prompting information. , The ring volume and vibration frequency in the second prompt message are reduced.
  • the ring volume in the second prompt message is gradually reduced, and the vibration frequency is gradually reduced.
  • the vibration frequency is gradually reduced.
  • the camera may not be able to find the user after a long-distance flight during the camera flight.
  • the real-time flight distance is greater than the second threshold.
  • the second reminder information is output, and compared with the first reminder information, the reminder intensity of the second reminder information is weaker than the reminder intensity of the first reminder information. Further, when the user is found, it can be updated to the first reminder message. In this way, power consumption can be saved and the user can be reminded.
  • the second threshold can be customized by the user, and can also be set internally by the device.
  • the real-time flight distance is the actual flight distance after entering the flight state, or the real-time distance between the camera and the main body.
  • the third prompt information when the real-time flight distance is greater than the third threshold, the third prompt information is output based on the first prompt information, and the prompt intensity of the third prompt information is higher than that of the first prompt information. powerful.
  • the form of the first prompt information is at least one of ringing and vibration
  • the third prompting information corresponds to at least one of ringing and vibration, and is compared with the ringing and vibration in the first prompting information.
  • the ring volume and vibration frequency in the third prompt message increase.
  • the ring volume in the third prompt message gradually increases, and the vibration frequency gradually increases.
  • the vibration frequency gradually increases.
  • the camera may not be able to find the user after a long-distance flight during the flight of the camera. Therefore, you can increase the ring volume and increase the vibration frequency at least. A way to get the user's attention.
  • the third threshold can be customized by the user, and can also be set internally by the device.
  • the increase or decrease can be made on the basis of the conventional prompt method to output the first output information , Any one of the second output information and the third output information.
  • the prompt intensity of the third prompt information is stronger than that of the conventional prompt mode, and the prompt intensity of the second prompt information is weaker than the prompt intensity of the conventional prompt mode.
  • the user's face image is never collected.
  • the camera can also be controlled to fly to the body. Among them, it is not limited to returning on the same route, or re-determining the return flight route.
  • the present invention also provides a flow of the information prompting method of another embodiment, which further includes after step 130:
  • Step 170 Obtain picture information included in at least one frame of images collected by the camera in the second time period, where the picture information includes at least one of the following: environmental information and face information of the target user.
  • Step 180 Update the target flight route according to the screen information.
  • the camera when the camera is in the installed state, the camera can collect surrounding images by rotating, and the image includes information about the target user, environment, etc., so that the target flight route of the camera can be determined based on the collected images, so that the camera can quickly find user.
  • the target flight route is determined based on the user's position
  • the target flight route can be updated according to the changed user's position.
  • Another example is the application scenario. After determining the target flight route, during the flight of the camera, the collected images include obstacles, and the target flight route is updated according to the obstacles to avoid the obstacles.
  • Another example is the application scenario. After determining the target flight route, the user's possible position is collected during the flight of the camera, and the target flight route is updated according to the user's possible position.
  • the actual situation information reflected in the collected images can be combined to update the camera's target flight line in real time to help the camera as soon as possible Fly to the user to reduce the probability of the user missing a communication.
  • the present invention also provides a flow of the information prompting method of another embodiment, which further includes after step 140:
  • Step 190 When the image collected by the camera includes the action information of the target user, and the action information of the target user is preset action information, perform the target control operation.
  • the captured image includes the action information of the target user, and the action information is preset action information, then the target control operation corresponding to the preset action information is executed.
  • preset action information and corresponding target control operations can be entered in advance.
  • the preset action information is a designated gesture action.
  • the target control operation includes at least one of remote answering, rejecting the communication connection request, turning off the prompt, reducing the ring volume, and reducing the vibration frequency.
  • different gesture actions correspond to different control operations.
  • the image collected by the camera includes the action information of the target user, including at least the face information of the target user and the action information of the target user.
  • the ringer volume and vibration frequency can be reduced to reduce power consumption. Can avoid disturbing people around.
  • the face information and preset action information of the target user recorded in the body in advance by the camera may be used.
  • the camera continuously collects images and transmits the collected images to the main body.
  • the main body compares the acquired images with the pre-recorded target user's face information and preset motion information. If the comparison is successful, Then the body executes the corresponding target control operation.
  • the face information and preset action information of the target user recorded in the camera in advance by the camera can also be used.
  • the camera continuously collects images during the flight, and compares the collected images with the pre-recorded face information and preset motion information of the target user. If the comparison is successful, the successful comparison information is transmitted to Ontology, the ontology performs corresponding target control operations on the ontology according to the received information.
  • the camera can collect images of the user’s designated gesture. Then it is learned that the user is aware of the current prompt and executes the corresponding control operation to end the prompt.
  • the user can manually reinstall the camera to the main body to end the prompt.
  • the electronic device can control the camera to return according to the original route after learning that the user is aware of the current prompt; or, after learning that the user is aware of the current prompt, the electronic device re-determines the return flight route and controls the camera Follow the return flight route to return. In this way, the camera can automatically fly to the main body, and then the user or automatically install it back to the main body, thereby ending this prompt. Further, the user can input on the body, so that the electronic device executes the corresponding control operation.
  • step 110 it further includes:
  • the target level of the target contact information is set.
  • the electronic device can classify the importance of the contact into first, second, third, etc. according to the user settings, for example, the parent is the first class, and the customer is the second class.
  • Friends are at level 3.
  • the user can control the camera to rotate and pop up after the user does not input within a short period of time, such as 2 minutes; while for low-level contacts, the camera does not need to be rotated And pop-up, only need to alert the user with regular ringing and vibration.
  • the target level of the target contact information can be defined by the user or the electronic device defaults. Wherein, when there are many levels of contacts in the electronic device, multiple levels can be set correspondingly, and different levels correspond to different preset durations.
  • the tracing mechanism can be determined according to the importance of the communication contact, such as only ringing and vibrating, or tracing through a separate camera. Therefore, some insignificant communication connection requests can be avoided to disturb the user, and the user can also be prevented from missing some urgent communication connection requests, thereby making the information prompting method in this embodiment more user-friendly and personalized.
  • the first input is used to set the target level of the target contact information.
  • the first input may include, but is not limited to, gesture actions.
  • the gesture action included in the first input may be continuous or discontinuous.
  • the user can click to open the address book, click the target contact information, in the target contact information setting interface, set the target level of the target contact information, and exit the setting interface.
  • Fig. 5 shows a block diagram of an electronic device according to another embodiment of the present invention.
  • the electronic device includes a main body and a rotatable camera provided on the main body.
  • the camera is detachably mounted on the main body and further includes:
  • the first control module 10 is configured to control the rotation of the camera and control the camera to collect images when the electronic device receives the communication connection request and the user's input to the communication connection request is not received within a preset time period;
  • the route determination module 20 is configured to determine the target flight route according to at least one frame of images collected by the camera in the first time period;
  • the second control module 30 is used to control the separation of the camera from the main body, and control the camera to fly according to the target flight route;
  • the first output module 40 is configured to output first prompt information when the image collected by the camera includes the target user.
  • the electronic device when the electronic device receives the communication connection request, the user is given priority to prompt the user with at least one of the regular ringing and vibration. Further, if the user's input for the communication connection request is not received within the preset time period, it is analyzed that the user may be far away from the electronic device, the current environment is relatively noisy, etc., so the prompt is not noticed, and this embodiment is started based on Information prompt method realized by separate rotating camera.
  • the electronic device if it does not receive the user's input for the communication connection request within the preset time period, it will control the camera to rotate and collect images, so that images around the electronic device can be collected, and then according to the rotation of the camera
  • at least one frame of images collected in the first period of time captures the location of the user, or determines the location of the user, and other information, so as to determine the target flight path of the camera based on this information, and further control the camera and the body Separation enables the camera to fly according to the target flight route in the separated state, while continuing to control the camera rotation and collecting images to find the user.
  • the first prompt information is output to make the user notice the communication connection request. It can be seen that this embodiment makes full use of the separate rotatable camera and combines the collected images to find the user in time and inform the user of the unanswered communication request, so that the user can respond in time and avoid the user from missing it.
  • the line determination module 20 includes:
  • the first acquiring unit is configured to acquire the location information of the target user according to the target frame image when the target frame image collected by the camera in the first time period includes the target user;
  • the first determining unit is configured to determine the target flight route according to the location information of the target user when the location information of the target user meets the preset condition;
  • the preset condition is that the distance between the target user and the camera is greater than a preset threshold.
  • the first output module 40 includes:
  • the real-time distance acquisition unit is used to acquire the real-time distance between the target user and the camera when the image collected by the camera includes the target user;
  • the prompt output unit is configured to output first prompt information when the real-time distance is less than the first threshold, and the first prompt information is used to prompt the communication connection request.
  • the line determination module 20 includes:
  • the second acquiring unit is configured to acquire the environmental information included in the frame image in the first time period when the frame image collected by the camera in the first time period does not include the target user;
  • the second determining unit is used to determine the target flight route according to the environmental information.
  • the electronic device further includes:
  • the flight distance acquisition module is used to acquire the real-time flight distance of the camera when the image collected by the camera does not include the target user;
  • the second output module is configured to output second prompt information based on the first prompt information when the real-time flight distance is greater than the second threshold;
  • the prompt intensity of the second prompt message is weaker than the prompt intensity of the first prompt message.
  • the electronic device further includes:
  • the picture acquisition unit is configured to acquire picture information included in at least one frame of images collected by the camera in the second time period, and the picture information includes at least one of the following: environmental information and face information of the target user;
  • the route update module is used to update the target flight route according to the screen information.
  • the electronic device further includes:
  • the operation execution module is used for executing the target control operation when the image collected by the camera includes the action information of the target user, and the action information of the target user is preset action information.
  • the electronic device provided in the embodiment of the present invention can implement each process implemented by the electronic device in the foregoing method embodiment, and to avoid repetition, details are not described herein again.
  • the electronic device 100 includes but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, and a display unit 106, a user input unit 107, an interface unit 108, a memory 109, a processor 1010, a power supply 111, a camera 112 and other components.
  • a radio frequency unit 101 includes but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, and a display unit 106, a user input unit 107, an interface unit 108, a memory 109, a processor 1010, a power supply 111, a camera 112 and other components.
  • the electronic device may include more or less components than those shown in the figure, or a combination of certain components, or different components. Layout.
  • electronic devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, in-veh
  • the electronic device 100 includes a main body and a rotatable camera 112 provided on the main body.
  • the camera 112 is detachably installed on the main body, and further includes:
  • the processor 1010 is configured to control the rotation of the camera 112 and control the camera 112 to collect images when the electronic device receives a communication connection request and the user's input to the communication connection request is not received within a preset period of time; At least one frame of images collected in the first time period determines the target flight route; controls the camera 112 to separate from the main body, and controls the camera 112 to fly according to the target flight route; when the image collected by the camera 112 includes the target user, output the first A prompt message.
  • the electronic device when the electronic device receives the communication connection request, the user is given priority to prompt the user with at least one of the regular ringing and vibration. Further, if the user's input for the communication connection request is not received within the preset time period, it is analyzed that the user may be far away from the electronic device, the current environment is relatively noisy, etc., so the prompt is not noticed, and this embodiment is started based on An information prompt method implemented by a separate rotating camera 112.
  • the electronic device if it does not receive the user's input for the communication connection request within the preset time period, it will control the rotation of the camera 112 and collect images, so that images around the electronic device can be collected, and then according to the camera 112 During the rotation, at least one frame of images collected in the first period of time captures the location of the user, or determines the location of the user, and other information, so as to determine the target flight path of the camera 112 based on the information, and further control The camera 112 is separated from the main body, so that the camera 112 can fly according to the target flight route in the separated state, and at the same time continue to control the camera 112 to rotate and collect images to find the user.
  • the first prompt information is output to make the user notice the communication connection request. It can be seen that this embodiment makes full use of the separable rotatable camera 112, combined with the collected images, to find the user in time and inform the user of the unanswered communication request, so that the user can respond in time and avoid the user from missing it.
  • the radio frequency unit 101 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, the downlink data from the base station is received and processed by the processor 1010; in addition, Uplink data is sent to the base station.
  • the radio frequency unit 101 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 radio frequency unit 101 can also communicate with the network and other devices through a wireless communication system.
  • the electronic device provides users with wireless broadband Internet access through the network module 102, such as helping users to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 103 can convert the audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output it as sound. Moreover, the audio output unit 103 may also provide audio output related to a specific function performed by the electronic device 100 (for example, call signal reception sound, message reception sound, etc.).
  • the audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 104 is used to receive audio or video signals.
  • the input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042, and the graphics processor 1041 is configured to monitor images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed.
  • the processed image frame can be displayed on the display unit 106.
  • the image frame processed by the graphics processor 1041 may be stored in the memory 109 (or other storage medium) or sent via the radio frequency unit 101 or the network module 102.
  • the microphone 1042 can receive sound, and can process such sound into audio data.
  • the processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 101 for output in the case of a telephone call mode.
  • the electronic device 100 further includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light.
  • the proximity sensor can close the display panel 1061 and the display panel 1061 when the electronic device 100 is moved to the ear. / Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 105 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
  • the display unit 106 is used to display information input by the user or information provided to the user.
  • the display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • the user input unit 107 may be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the electronic device.
  • the user input unit 107 includes a touch panel 1071 and other input devices 1072.
  • the touch panel 1071 also called a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 1071 or near the touch panel 1071. operate).
  • the touch panel 1071 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 1010, the command sent by the processor 1010 is received and executed.
  • the touch panel 1071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the user input unit 107 may also include other input devices 1072.
  • other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
  • the touch panel 1071 can be overlaid on the display panel 1061.
  • the touch panel 1071 detects a touch operation on or near it, it transmits it to the processor 1010 to determine the type of touch event, and then the processor 1010 determines the type of touch event according to the touch.
  • the type of event provides corresponding visual output on the display panel 1061.
  • the touch panel 1071 and the display panel 1061 are used as two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated
  • the implementation of the input and output functions of the electronic device is not specifically limited here.
  • the interface unit 108 is an interface for connecting an external device with the electronic device 100.
  • the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc.
  • the interface unit 108 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the electronic device 100 or can be used to connect to the electronic device 100 and the external device. Transfer data between devices.
  • the memory 109 can be used to store software programs and various data.
  • the memory 109 may mainly include a program storage area and a data storage area.
  • the program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc.
  • the memory 109 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the processor 1010 is the control center of the electronic device. It uses various interfaces and lines to connect the various parts of the entire electronic device, runs or executes software programs and/or modules stored in the memory 109, and calls data stored in the memory 109 , Perform various functions of electronic equipment and process data, so as to monitor the electronic equipment as a whole.
  • the processor 1010 may include one or more processing units; preferably, the processor 1010 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, application programs, etc., the modem The processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 1010.
  • the electronic device 100 may also include a power source 111 (such as a battery) for supplying power to various components.
  • a power source 111 such as a battery
  • the power source 111 may be logically connected to the processor 1010 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system. And other functions.
  • the electronic device 100 includes some functional modules not shown, which will not be repeated here.
  • the embodiment of the present invention also provides an electronic device, including a processor 1010, a memory 109, and a computer program stored on the memory 109 and capable of running on the processor 1010.
  • an electronic device including a processor 1010, a memory 109, and a computer program stored on the memory 109 and capable of running on the processor 1010.
  • the computer program is executed by the processor 1010,
  • Each process of the foregoing information prompt method embodiment is implemented, and the same technical effect can be achieved. In order to avoid repetition, details are not repeated here.
  • the embodiment of the present invention also provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium.
  • a computer program is stored on the computer-readable storage medium.
  • the computer program is executed by a processor, each process of the above-mentioned information prompt method embodiment is realized, and the same technology can be achieved. The effect, in order to avoid repetition, will not be repeated here.
  • the computer-readable storage medium such as read-only memory (Read-Only Memory, ROM for short), random access memory (Random Access Memory, RAM for short), magnetic disk, or optical disk, etc.
  • the technical solution of the present invention essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to make an electronic device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the method described in each embodiment of the present invention.
  • a storage medium such as ROM/RAM, magnetic disk,
  • the optical disc includes several instructions to make an electronic device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the method described in each embodiment of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Library & Information Science (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Studio Devices (AREA)
  • Telephone Function (AREA)

Abstract

An information prompting method, an electronic device and a storage medium. The information prompting method comprises: when an electronic device receives a communication connection request and does not receive an input from a user regarding the communication connection request within a preset duration, controlling a camera to rotate and controlling the camera to collect images (110); determining a target flight route according to at least one image frame collected by the camera within a first period of time (120); controlling the camera to separate from a main body and controlling the camera fly according to the target flight route (130); and outputting first prompt information when an image collected by the camera comprises a target user (140).

Description

信息提示方法、电子设备及存储介质Information prompt method, electronic equipment and storage medium
相关申请的交叉引用Cross-references to related applications
本申请主张在2020年03月12日在中国提交的中国专利申请号202010172065.X的优先权,其全部内容通过引用包含于此。This application claims the priority of Chinese Patent Application No. 202010172065.X filed in China on March 12, 2020, the entire content of which is incorporated herein by reference.
技术领域Technical field
本发明实施例涉及通信技术领域,尤其涉及一种信息提示方法、电子设备及存储介质。The embodiments of the present invention relate to the field of communication technologies, and in particular, to an information prompt method, electronic equipment, and storage medium.
背景技术Background technique
随着社会快速发展,人们生活节奏加快,电子设备成为人们交流必不可少的通信工具。With the rapid development of society and the acceleration of people's lives, electronic equipment has become an indispensable communication tool for people to communicate.
目前,人与人之间的面谈场景越来越少,通常都是在电子设备上完成一些重要的交谈,因此人们需要对电子设备接收到的通信请求作出回应。现有的用于通信请求的提示方式是通过震动或者响铃实现的。而在使用中,通常会出现用户与设备相距较远、环境嘈杂等情况,从而导致用户无法及时发现通信请求的提示信息,进而无法对通信请求作出回应。At present, there are fewer and fewer face-to-face interview scenarios between people, and some important conversations are usually completed on electronic devices. Therefore, people need to respond to communication requests received by electronic devices. The existing notification method for the communication request is realized through vibration or ringing. In use, there are usually situations where the user is far away from the device and the environment is noisy, so that the user cannot find the prompt information of the communication request in time, and thus cannot respond to the communication request.
发明内容Summary of the invention
本发明实施例提供一种信息提示方法、电子设备及存储介质,能够解决现有的信息提示方法因用户无法及时发现通信请求的提示信息,从而无法对通信请求作出回应的问题。The embodiments of the present invention provide an information prompt method, electronic equipment, and storage medium, which can solve the problem that the existing information prompt method cannot respond to the communication request because the user cannot find the prompt information of the communication request in time.
为了解决上述技术问题,本发明是这样实现的:In order to solve the above technical problems, the present invention is implemented as follows:
本发明实施例提供了一种信息提示方法,应用于电子设备,所述电子设备包括本体和设置于所述本体的可转动的摄像头,所述摄像头可分离的安装于所述本体,所述方法包括:在所述电子设备接收到通信连接请求,且预设时长内未接收到用户对所述通信连接请求的输入的情况下,控制所述摄像头转动,并控制所述摄像头采集图像;根据所述摄像头在第一时间段内采集到的至少一帧图像,确定目标飞行线路;控制所述摄像头与所述本体分离,并控制所述摄像头按照所述目标飞行线路飞行;在所述摄像头采集的图像包括目标用户的情况下,输出第一提示信息。The embodiment of the present invention provides an information prompting method, which is applied to an electronic device. The electronic device includes a main body and a rotatable camera provided on the main body. The camera is detachably mounted on the main body, and the method The method includes: controlling the rotation of the camera and controlling the camera to collect images when the electronic device receives the communication connection request and the user's input to the communication connection request is not received within a preset time period; At least one frame of images collected by the camera in the first time period determines the target flight route; controls the camera to be separated from the body, and controls the camera to fly according to the target flight route; If the image includes the target user, the first prompt message is output.
本发明实施例还提供了一种电子设备,所述电子设备包括本体和设置于所述本体的可转动的摄像头,所述摄像头可分离的安装于所述本体,还包括:第一控制模块,用于在所述电子设备接收到通信连接请求,且预设时长内未接收到用户对所述通信连接请求的输入的情况下,控制所述摄像头转动,并控制所述摄像头采集图像;线路确定模块,用于根据所述摄像头在第一时间段内采集到的至少一帧图像,确定目标飞行线路;第二控制模块,用于控制所述摄像头与所述本体分离,并控制所述摄像头按照所述目标飞行线路飞行;第一输出模块,用于在所述摄像头采集的图像包括目标用户 的情况下,输出第一提示信息。An embodiment of the present invention further provides an electronic device, the electronic device includes a body and a rotatable camera provided on the body, the camera is detachably mounted on the body, and further includes: a first control module, Used for controlling the rotation of the camera and controlling the camera to collect images when the electronic device receives a communication connection request and the user's input to the communication connection request is not received within a preset time period; the route is determined The module is used to determine the target flight route based on at least one frame of images collected by the camera in the first time period; the second control module is used to control the separation of the camera from the body and control the camera to follow The target flight line is flying; the first output module is configured to output first prompt information when the image collected by the camera includes the target user.
本发明实施例还提供了一种电子设备,包括处理器,存储器,存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现所述信息提示方法的步骤。The embodiment of the present invention also provides an electronic device, including a processor, a memory, a computer program stored on the memory and running on the processor, and the computer program is executed by the processor to achieve Describe the steps of the information prompting method.
本发明实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现所述信息提示方法的步骤。The embodiment of the present invention also provides a computer-readable storage medium having a computer program stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the information prompting method are implemented.
这样,在本发明实施例中,在电子设备接收到通信连接请求的情况下,优先以常规响铃和震动中的至少一种提示用户。进一步地,若预设时长内未接收到用户对该通信连接请求的输入,则分析为用户可能距离电子设备较远、当前环境较为嘈杂等,因此并没有注意到提示,从而启动本实施例基于分离式转动摄像头实现的信息提示方法。在本实施例中,电子设备在预设时长内未接收到用户对该通信连接请求的输入,则会控制摄像头转动,并采集图像,从而可采集到电子设备四周的图像,进而根据摄像头在转动过程中,在第一时间段内采集到的至少一帧图像,捕捉到用户所在位置,或者判断出用户可能所在的位置等信息,以根据这些信息确定摄像头的目标飞行线路,进一步控制摄像头与本体分离,使得摄像头在分离状态下,按照目标飞行线路飞行,同时继续控制摄像头转动及采集图像,以找到用户。在摄像头采集的图像包括目标用户的情况下,输出第一提示信息,以使得用户注意到通信连接请求。可见,本实施例充分利用分离式可转动摄像头,结合其采集到的图像,可及时找到用户,告知用户未接听的通信请求,使得用户能够及时作出回应,避免用户错过。In this way, in the embodiment of the present invention, when the electronic device receives the communication connection request, the user is given priority to prompt the user with at least one of the regular ringing and vibration. Further, if the user's input for the communication connection request is not received within the preset time period, it is analyzed that the user may be far away from the electronic device, the current environment is relatively noisy, etc., so the prompt is not noticed, and this embodiment is started based on Information prompt method realized by separate rotating camera. In this embodiment, if the electronic device does not receive the user's input for the communication connection request within the preset time period, it will control the camera to rotate and collect images, so that images around the electronic device can be collected, and then according to the rotation of the camera In the process, at least one frame of images collected in the first period of time captures the location of the user, or determines the location of the user, and other information, so as to determine the target flight path of the camera based on this information, and further control the camera and the body Separation enables the camera to fly according to the target flight route in the separated state, while continuing to control the camera rotation and collecting images to find the user. In the case where the image collected by the camera includes the target user, the first prompt information is output to make the user notice the communication connection request. It can be seen that this embodiment makes full use of the separate rotatable camera and combines the collected images to find the user in time and inform the user of the unanswered communication request, so that the user can respond in time and avoid the user from missing it.
附图说明Description of the drawings
图1是本发明实施例的信息提示方法的流程图;FIG. 1 is a flowchart of an information prompt method according to an embodiment of the present invention;
图2是本发明实施例的电子设备的平面示意图之一;FIG. 2 is one of the plan schematic diagrams of the electronic device according to the embodiment of the present invention;
图3是本发明实施例的电子设备的平面示意图之二;FIG. 3 is a second schematic plan view of the electronic device according to the embodiment of the present invention;
图4是本发明实施例的电子设备的平面示意图之三;4 is the third schematic plan view of the electronic device of the embodiment of the present invention;
图5是本发明实施例的电子设备的框图;Figure 5 is a block diagram of an electronic device according to an embodiment of the present invention;
图6是本发明实施例的电子设备的硬件结构示意图。Fig. 6 is a schematic diagram of the hardware structure of an electronic device according to an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.
参见图1,示出了本发明一个实施例的信息提示方法的流程图,应用于电子设备,电子设备包括本体和设置于本体的可转动的摄像头,摄像头可分离的安装于本体。Referring to FIG. 1, there is shown a flowchart of an information prompting method according to an embodiment of the present invention, which is applied to an electronic device. The electronic device includes a main body and a rotatable camera provided on the main body. The camera is detachably mounted on the main body.
参见图2,示出了本发明一个实施例的电子设备的平面示意图。电子设备包括本体1,在本体1上安装有摄像头2,摄像头2为可转动摄像头,可选在本体1的顶部安装摄像头2。在本实施例中,一方面,摄像头2为分离式摄像头,即可与本体1分离,执行飞行动作。对应地,摄像头2安装于本体1之上,处于安装状态(如图2所示),摄像头2与本体1分离,处于飞行状态(如图3所示)。另一方面,摄像头2具有转 动功能,参见图4,为摄像头2在安装状态进行转动,其中,箭头示意性指示为转动方向,仅供参考;另外,摄像头2还可在飞行状态进行转动。Referring to Fig. 2, there is shown a schematic plan view of an electronic device according to an embodiment of the present invention. The electronic device includes a body 1 on which a camera 2 is installed. The camera 2 is a rotatable camera, and the camera 2 can be optionally installed on the top of the body 1. In this embodiment, on the one hand, the camera 2 is a separate camera, which can be separated from the main body 1 to perform flight actions. Correspondingly, the camera 2 is installed on the main body 1 in an installed state (as shown in FIG. 2), and the camera 2 is separated from the main body 1 and in a flying state (as shown in FIG. 3). On the other hand, the camera 2 has a rotating function. See Fig. 4, which is the rotation of the camera 2 in the installed state. The arrow schematically indicates the direction of rotation for reference only; in addition, the camera 2 can also be rotated in the flying state.
基于上述电子设备的特征,本实施例中的信息提示方法包括:Based on the characteristics of the above electronic device, the information prompting method in this embodiment includes:
步骤110:在电子设备接收到通信连接请求,且预设时长内未接收到用户对通信连接请求的输入的情况下,控制摄像头转动,并控制摄像头采集图像。Step 110: When the electronic device receives the communication connection request and does not receive the user's input to the communication connection request within a preset time period, control the camera to rotate and control the camera to collect images.
可选地,通信连接请求为视频通信连接请求、语音通信连接请求、电话通信连接请求和其它通信连接请求中的任一种。Optionally, the communication connection request is any one of a video communication connection request, a voice communication connection request, a telephone communication connection request, and other communication connection requests.
通常,在电子设备接收到通信连接请求时,以常规的方式提示用户。例如,以响铃、震动等方式提示用户。Generally, when an electronic device receives a communication connection request, it prompts the user in a conventional manner. For example, prompt the user by ringing, vibrating, etc.
进一步地,在预设时长内未接收到用户对通信连接请求的输入的情况下,控制摄像头转动,并控制摄像头采集图像。Further, in the case that the user's input to the communication connection request is not received within the preset time period, the camera is controlled to rotate, and the camera is controlled to collect images.
其中,用户对通信连接请求的输入包括接听输入、拒绝输入等。Among them, the user's input to the communication connection request includes answer input, rejection input, and so on.
应用场景如:用户与电子设备不在同一个空间,电子设备被放置在客厅,但用户在厨房做菜,无法及时发现此次通信连接请求;又如,用户处于比较嘈杂的环境,无法及时发现此次通信连接请求。Application scenarios such as: the user and the electronic device are not in the same space, the electronic device is placed in the living room, but the user is cooking in the kitchen, and the communication connection request cannot be detected in time; another example, the user is in a relatively noisy environment and cannot be detected in time Communication connection request.
默认地,预设时长为2分钟。其中,用户可根据需求自定义预设时长,进一步,用户还可针对不同的主叫方,设置不同的预设时长。By default, the preset duration is 2 minutes. Among them, the user can customize the preset duration according to the needs, and further, the user can also set different preset durations for different calling parties.
因此,在该步骤中,电子设备可控制摄像头转动并控制采集图像,从而可基于电子设备所在的位置,采集到电子设备四周的图像。Therefore, in this step, the electronic device can control the rotation of the camera and control the collection of images, so that images around the electronic device can be collected based on the location of the electronic device.
步骤120:根据摄像头在第一时间段内采集到的至少一帧图像,确定目标飞行线路。Step 120: Determine the target flight route according to at least one frame of images collected by the camera in the first time period.
在该步骤中,基于摄像头在转动过程中采集到的图像,可确定出用户所在的位置,或者判断出用户可能所在的位置,从而可根据采集到的图像,确定摄像头的目标飞行线路,以使得摄像头脱离本体后,按照目标飞行线路飞行,进而找到用户,告知用户当前的通话连接请求。In this step, based on the images collected by the camera during rotation, the location of the user can be determined, or the location of the user may be determined, so that the target flight route of the camera can be determined based on the collected images, so that After the camera is separated from the main body, it flies according to the target flight line, and then finds the user and informs the user of the current call connection request.
可选地,在该步骤中设定第一时间段,以使摄像头在第一时间段内采集至少一帧图像,从而在采集的图像中找到用户的人脸图像;若第一时间段内采集的图像中没有用户的人脸图像,则分析采集到的环境图像。Optionally, the first time period is set in this step, so that the camera collects at least one frame of images in the first time period, so as to find the user's face image in the collected images; if the first time period is collected If there is no face image of the user in the image, analyze the collected environmental image.
例如,在用户长时间未接听电话后,电子设备可控制摄像头在四周采集用户的人脸图像,从而根据采集到的用户的人脸图像,控制摄像头朝向用户飞行。For example, after the user has not answered the phone for a long time, the electronic device can control the camera to collect the user's face image around, so as to control the camera to fly toward the user according to the collected face image of the user.
又如,在用户长时间未接听电话后,电子设备可控制摄像头在四周采集用户的人脸图像,若无法采集到,则根据采集到的环境图像,智能分析用户可能的位置,从而控制摄像头朝向用户可能所在的位置飞行。For another example, after the user has not answered the phone for a long time, the electronic device can control the camera to collect the user's face image around. If it cannot be collected, intelligently analyze the user's possible position based on the collected environment image, thereby controlling the camera orientation Fly where the user may be.
另外,可控制摄像头转动预设角度。In addition, the camera can be controlled to rotate to a preset angle.
一方面,在采集到用户人脸图像的情况下,预设角度与用户人脸图像相关,即采集到用户人脸图像后停止转动;另一方面,在无法采集到用户人脸图像的情况下,预设角度可自定义,即摄像头转动预设角度后停止转动,如预设角度为360°。On the one hand, when the user's face image is collected, the preset angle is related to the user's face image, that is, the user stops turning after the user's face image is collected; on the other hand, when the user's face image cannot be collected , The preset angle can be customized, that is, the camera stops rotating after rotating the preset angle, for example, the preset angle is 360°.
其中,用户可针对本实施例中的方法,录入预设人脸图像;另外,还可获取电子设备中预存的人脸图像作为预设人脸图像。示例性地,可将摄像头在转动过程中采集 的图像与预设人脸图像进行匹配,若匹配成功,则采集到用户人脸图像;若匹配失败,则无法采集到用户人脸图像。Among them, the user can enter a preset face image for the method in this embodiment; in addition, a face image pre-stored in the electronic device can also be obtained as the preset face image. Exemplarily, the image collected during the rotation of the camera can be matched with the preset face image. If the matching is successful, the user's face image is collected; if the matching fails, the user's face image cannot be collected.
可选地,预设人脸图像为本机用户人脸图像。Optionally, the preset face image is the face image of the user of the machine.
步骤130:控制摄像头与本体分离,并控制摄像头按照目标飞行线路飞行。Step 130: Control the camera to be separated from the main body, and control the camera to fly according to the target flight line.
在该步骤中,控制摄像头与本体分离,进入飞行状态。当摄像头处于飞行状态时,控制摄像头按照目标飞行线路飞行。In this step, the control camera is separated from the main body and enters the flying state. When the camera is in flight, control the camera to fly according to the target flight line.
步骤140:在摄像头采集的图像包括目标用户的情况下,输出第一提示信息。Step 140: In the case where the image collected by the camera includes the target user, output first prompt information.
可选地,当摄像头处于飞行状态时,摄像头持续保持转动和图像采集的动作。Optionally, when the camera is in a flying state, the camera continues to keep rotating and image collection actions.
在该步骤中,在摄像头采集的图像包括目标用户的情况下,即摄像头在飞行状态下采集到目标用户的人脸图像,说明找到目标用户本人,则输出第一提示信息,以提示目标用户当前的通信连接请求。In this step, when the image captured by the camera includes the target user, that is, the camera captures the face image of the target user in the flight state, indicating that the target user is found, and the first prompt message is output to remind the target user that the target user is currently Communication connection request.
其中,目标用户可为本机用户。Among them, the target user can be a local user.
示例性地,在一种应用场景中,在预设时长内未接收到用户对该通信连接请求的输入后,控制摄像头飞行以寻找用户,在找到用户后,输出第一提示信息,以提示用户未读信息。Exemplarily, in an application scenario, after the user's input for the communication connection request is not received within a preset time period, the camera is controlled to fly to find the user, and after the user is found, the first prompt message is output to prompt the user Unread information.
可选地,第一提示信息包括提示音等。Optionally, the first prompt information includes a prompt sound and the like.
示例性地,在另一种应用场景中,当电子设备接收到通信连接请求时,电子设备按照第一响铃音量和第一震动频率中的至少一种方式来提示用户。Exemplarily, in another application scenario, when the electronic device receives the communication connection request, the electronic device prompts the user according to at least one of the first ring volume and the first vibration frequency.
可参考地,第一响铃音量为最大音量的40%,第一震动频率为最大频率的40%。这样,既不会因来电响铃或者来电震动太大干扰到用户,又不会因来电响铃或者来电震动太小无法引起用户注意。For reference, the first ringing volume is 40% of the maximum volume, and the first vibration frequency is 40% of the maximum frequency. In this way, the user will not be disturbed by the ringing of the incoming call or the vibration of the incoming call too much, and the user's attention will not be caused by the ringing of the incoming call or the vibration of the incoming call being too small.
其中,可根据用户的设置,调整第一响铃音量的具体值,以及第一震动频率的具体值。Among them, the specific value of the first ringing volume and the specific value of the first vibration frequency can be adjusted according to the user's setting.
进一步地,在预设时长内未接收到用户对该通信连接请求的输入后,电子设备持续以第一响铃音量和第一震动频率中的至少一种方式来提示用户,并控制摄像头飞行以寻找用户。在找到用户后,输出第一提示信息,第一提示信息的形式相比于初始的提示方法,可提高响铃音量,同时增大震动频率;或者仅提高响铃音量;或者仅增大震动频率;以增强提示效果,被用户发现。Further, after the user's input for the communication connection request is not received within the preset time period, the electronic device continues to prompt the user with at least one of the first ring volume and the first vibration frequency, and controls the camera to fly Find users. After finding the user, output the first prompt message. Compared with the initial prompt method, the form of the first prompt message can increase the ring volume and increase the vibration frequency; or only increase the ring volume; or only increase the vibration frequency ; To enhance the prompt effect and be discovered by the user.
可选地,可由本体输出第一提示信息,还可由摄像头输出第一提示信息。Optionally, the main body can output the first prompt information, and the camera can also output the first prompt information.
可选地,第一提示信息的形式不限于响铃、震动、提示音。这样,在本发明实施例中,在电子设备接收到通信连接请求的情况下,优先以常规响铃和震动中的至少一种提示用户。进一步地,若预设时长内未接收到用户对该通信连接请求的输入,则分析为用户可能距离电子设备较远、当前环境较为嘈杂等,因此并没有注意到提示,从而启动本实施例基于分离式转动摄像头实现的信息提示方法。在本实施例中,电子设备在预设时长内未接收到用户对该通信连接请求的输入,则会控制摄像头转动,并采集图像,从而可采集到电子设备四周的图像,进而根据摄像头在转动过程中,在第一时间段内采集到的至少一帧图像,捕捉到用户所在位置,或者判断出用户可能所在的位置等信息,以根据这些信息确定摄像头的目标飞行线路,进一步控制摄像头与本体分离,使得摄像头在分离状态下,按照目标飞行线路飞行,同时继续控制摄像头转动 及采集图像,以找到用户。在摄像头采集的图像包括目标用户的情况下,输出第一提示信息,以使得用户注意到通信连接请求。可见,本实施例充分利用分离式可转动摄像头,结合其采集到的图像,可及时找到用户,告知用户未接听的通信请求,使得用户能够及时作出回应,避免用户错过。Optionally, the form of the first prompt information is not limited to ringing, vibration, and prompt sound. In this way, in the embodiment of the present invention, when the electronic device receives the communication connection request, the user is given priority to prompt the user with at least one of the regular ringing and vibration. Further, if the user's input for the communication connection request is not received within the preset time period, it is analyzed that the user may be far away from the electronic device, the current environment is relatively noisy, etc., so the prompt is not noticed, and this embodiment is started based on Information prompt method realized by separate rotating camera. In this embodiment, if the electronic device does not receive the user's input for the communication connection request within the preset time period, it will control the camera to rotate and collect images, so that images around the electronic device can be collected, and then according to the rotation of the camera In the process, at least one frame of images collected in the first period of time captures the location of the user, or determines the location of the user, and other information, so as to determine the target flight path of the camera based on this information, and further control the camera and the body Separation enables the camera to fly according to the target flight route in the separated state, while continuing to control the camera rotation and collecting images to find the user. In the case where the image collected by the camera includes the target user, the first prompt information is output to make the user notice the communication connection request. It can be seen that this embodiment makes full use of the separate rotatable camera and combines the collected images to find the user in time and inform the user of the unanswered communication request, so that the user can respond in time and avoid the user from missing it.
可见,本发明实施例提供了一种通过摄像头来协助电子设备及时提示用户处理通信连接请求的方法,不仅科技感强,而且可解决因用户与电子设备不在一个空间等而错失呼叫的问题。It can be seen that the embodiment of the present invention provides a method for assisting an electronic device to prompt a user to process a communication connection request through a camera, which not only has a strong sense of science and technology, but also solves the problem of missed calls due to the user and the electronic device are not in the same space.
需要说明的是,在上述实施例中,提供了一种步骤顺序,即先确定目标飞行线路,再控制摄像头按照目标飞行线路飞行。在更多的实施例中,还可提供更多的步骤顺序,如先控制摄像头飞行,再在飞行的过程中确定目标飞行线路。因此,本发明实施例仅提供一种可行的步骤顺序,但不限定各步骤的执行顺序。It should be noted that in the foregoing embodiment, a sequence of steps is provided, that is, the target flight path is determined first, and then the camera is controlled to fly according to the target flight path. In more embodiments, more sequence of steps can be provided, such as controlling the camera to fly first, and then determining the target flight route during the flight. Therefore, the embodiment of the present invention only provides a feasible sequence of steps, but does not limit the execution sequence of the steps.
应用场景如:摄像头在安装状态下采集的图像中不包括目标用户,同时也无法根据所采集的图像预测用户所在位置,则首先控制摄像头脱离本体进入飞行状态,再根据摄像头在飞行状态下采集的图像,确定目标飞行线路。Application scenarios such as: the image collected by the camera in the installed state does not include the target user, and it is impossible to predict the location of the user based on the collected images. First, control the camera to leave the body and enter the flight state, and then according to the camera in the flight state. Image, determine the target flight route.
在图1所示实施例的基础上,本发明还提供了另一个实施例的信息提示方法的流程,步骤120包括:On the basis of the embodiment shown in FIG. 1, the present invention also provides a flow of an information prompting method according to another embodiment, and step 120 includes:
步骤1201:在摄像头在第一时间段内采集的目标帧图像包括目标用户的情况下,根据目标帧图像,获取目标用户的位置信息。Step 1201: In the case that the target frame image collected by the camera in the first time period includes the target user, obtain the location information of the target user according to the target frame image.
可选地,可将第一时间段内的帧图像与目标用户的人脸图像进行比对,若第一时间段内的目标帧图像与目标用户的人脸图像比对成功,则认为第一时间段内的目标帧图像包括目标用户;若第一时间段内的帧图像与目标用户的人脸图像均比对失败,则认为第一时间段内的帧图像不包括目标用户。Optionally, the frame image in the first time period can be compared with the face image of the target user. If the target frame image in the first time period is successfully compared with the face image of the target user, it is considered that the first The target frame image in the time period includes the target user; if the comparison of the frame image in the first time period and the face image of the target user fails, it is considered that the frame image in the first time period does not include the target user.
在本实施例中,针对在第一时间段内的目标帧图像包括目标用户的情况,可在包括目标用户的目标帧图像中,获取目标用户的位置信息。In this embodiment, for the case where the target frame image in the first time period includes the target user, the position information of the target user may be acquired in the target frame image including the target user.
示例性地,位置信息包括用户相对摄像头的方位、用户相对摄像头的距离、用户所处的区域等。Exemplarily, the location information includes the position of the user relative to the camera, the distance of the user relative to the camera, the area where the user is located, and the like.
步骤1202:在目标用户的位置信息满足预设条件的情况下,根据目标用户的位置信息,确定目标飞行线路。Step 1202: When the location information of the target user meets the preset condition, determine the target flight route according to the location information of the target user.
其中,预设条件为目标用户与摄像头的距离大于预设阈值。The preset condition is that the distance between the target user and the camera is greater than a preset threshold.
可选地,预设阈值可由用户自定义或者设备内部自动设定。Optionally, the preset threshold can be customized by the user or automatically set within the device.
在该步骤中,当摄像头在安装状态下采集到用户人脸图像,且检测到用户与摄像头的距离大于预设阈值时,认为用户距离电子设备的距离较远,因此导致用户无法及时发现通信连接请求,则准备控制摄像头飞行,以告知用户。可参考地,在确定目标飞行线路的过程中,还可结合摄像头采集到的环境图像,如环境图像中的障碍物等,确定目标飞行线路,以使得摄像头与本体分离后,可沿着目标飞行线路顺利飞行至用户处。In this step, when the camera collects the user's face image in the installed state, and it is detected that the distance between the user and the camera is greater than the preset threshold, it is considered that the user is far away from the electronic device, so that the user cannot find the communication connection in time If requested, it is prepared to control the camera to fly to inform the user. For reference, in the process of determining the target flight path, the environment image collected by the camera, such as obstacles in the environment image, can be combined to determine the target flight path, so that the camera can be separated from the body and can fly along the target. The line flies smoothly to the user's place.
示例性地,在目标帧图像中,获取到目标用户的位置信息,位置信息指示为用户当前处于厨房,则确定出发位置为当前电子设备所处位置、终点位置为厨房的目标飞行线路。Exemplarily, in the target frame image, the position information of the target user is obtained, and the position information indicates that the user is currently in the kitchen, and then it is determined that the starting position is the current position of the electronic device and the ending position is the target flight route of the kitchen.
进一步地,还可结合摄像头采集到的环境图像,如电子设备当前处于客厅时,采集到的客厅与厨房之间的环境图像,其中包括通道位置、障碍物位置等。而在目标帧图像中,获取到目标用户的位置信息,位置信息指示为用户当前处于厨房,则确定目标飞行线路为出发位置为当前电子设备所处位置、中途经过客厅与厨房之间通道、终点位置为厨房的目标飞行线路。Furthermore, the environment image collected by the camera may also be combined, such as the environment image between the living room and the kitchen collected when the electronic device is currently in the living room, including the location of the passage, the location of the obstacle, and so on. In the target frame image, the location information of the target user is obtained, and the location information indicates that the user is currently in the kitchen, and the target flight route is determined as the starting position is the current position of the electronic device, passing through the passage between the living room and the kitchen, and ending point. The location is the target flight path of the kitchen.
在本实施例中,在摄像头处于安装状态时,控制摄像头转动采集360°的图像,以在采集到的图像中识别用户。进一步地,如果识别到用户,则获取用户的位置信息,在位置信息满足预设条件的情况下,确定目标飞行线路,并控制摄像头自动弹出本体,按照目标飞行线路飞行,以使摄像头能够准确、快速飞向用户。In this embodiment, when the camera is in the installed state, the camera is controlled to rotate to collect a 360° image, so as to identify the user in the collected image. Further, if the user is recognized, the user's location information is obtained, and if the location information meets the preset conditions, the target flight route is determined, and the camera is controlled to automatically pop out of the body and fly according to the target flight route so that the camera can be accurate and accurate. Fly to the user quickly.
在图1所示实施例的基础上,本发明还提供了另一个实施例的信息提示方法的流程,步骤140包括:On the basis of the embodiment shown in FIG. 1, the present invention also provides a flow of an information prompting method according to another embodiment, and step 140 includes:
步骤1401:在摄像头采集的图像包括目标用户的情况下,获取目标用户与摄像头的实时距离。Step 1401: In the case where the image collected by the camera includes the target user, obtain the real-time distance between the target user and the camera.
步骤1402:在实时距离小于第一阈值的情况下,输出第一提示信息,第一提示信息用于提示通信连接请求。Step 1402: When the real-time distance is less than the first threshold, output first prompt information, where the first prompt information is used to prompt the communication connection request.
在本实施例中,针对在摄像头在第一时间段内采集到的目标帧图像包括目标用户的情况,在摄像机飞行的过程中,同时采集图像,若检测到摄像头采集的图像包括目标用户,则可基于包括目标用户的图像,获取目标用户与摄像头的实时距离。In this embodiment, for the case where the target frame image collected by the camera in the first time period includes the target user, the image is also collected during the flight of the camera. If it is detected that the image collected by the camera includes the target user, then The real-time distance between the target user and the camera can be obtained based on the image including the target user.
进一步地,摄像头采集的图像包括目标用户,且目标用户与摄像头的实时距离小于第一阈值时,输出第一提示信息。Further, the image collected by the camera includes the target user, and when the real-time distance between the target user and the camera is less than the first threshold, the first prompt information is output.
可参考地,可随着目标用户与摄像头的实时距离逐渐减小,以逐渐变化响铃音量,和/或震动频率的形式输出第一提示信息。For reference, as the real-time distance between the target user and the camera gradually decreases, the first prompt information may be output in the form of gradually changing the ringing volume and/or the vibration frequency.
其中,响铃音量,和/或震动频率的变化规律可由用户自定义,也可由设备内部设定。Among them, the ring volume, and/or the change rule of the vibration frequency can be customized by the user, or can be set internally by the device.
例如,为了引起用户的注意,当目标用户与摄像头的实时距离小于第一阈值,且目标用户与摄像头的实时距离逐渐减小时,可在常规提示方式的基础上,增大响铃音量,和/或提高震动频率。For example, in order to attract the user’s attention, when the real-time distance between the target user and the camera is less than the first threshold, and the real-time distance between the target user and the camera gradually decreases, the ringer volume can be increased based on the conventional prompt method, and/ Or increase the vibration frequency.
可选地,本实施例中的第一阈值可由用户自定义,也可由设备内部设定。Optionally, the first threshold in this embodiment can be customized by the user, or can be set internally by the device.
在本实施例中,针对摄像头在飞行过程中,采集到目标用户的情况,可进一步获取目标用户与摄像头的实时距离,以便于目标用户与摄像头接近时,输出第一提示信息,从而使用户能够近距离感知提示,进而进一步降低错过通信连接请求的概率。In this embodiment, in view of the situation that the camera collects the target user during the flight, the real-time distance between the target user and the camera can be further obtained, so that when the target user approaches the camera, the first prompt information is output, so that the user can Proximity perception prompts, thereby further reducing the probability of missing a communication connection request.
在本发明另一个实施例中,可在摄像头中设置扬声器等器件,以使摄像头可在飞行过程中,实现响铃、震动等提示,从而随着摄像头与用户越来越近,用户更容易感知到摄像头输出的提示。In another embodiment of the present invention, a speaker and other devices can be set in the camera, so that the camera can realize ringing, vibration and other prompts during the flight, so that as the camera gets closer and closer to the user, the user is more likely to perceive Tips to the camera output.
在图1所示实施例的基础上,本发明还提供了另一个实施例的信息提示方法的流程,步骤120包括:On the basis of the embodiment shown in FIG. 1, the present invention also provides a flow of an information prompting method according to another embodiment, and step 120 includes:
步骤1203:在摄像头在第一时间段内采集到的帧图像不包括目标用户的情况下,获取第一时间段内的帧图像包括的环境信息。Step 1203: In the case that the frame image collected by the camera in the first time period does not include the target user, obtain the environment information included in the frame image in the first time period.
步骤1204:根据环境信息,确定目标飞行线路。Step 1204: Determine the target flight route according to the environmental information.
在本实施例中,控制摄像头在安装状态下采集图像,一方面,用于识别图像中的目标用户,以根据目标用户确定目标飞行线路;另一方面,用于获取图像中的周边环境,以结合图像中的目标用户和周边环境确定目标飞行线路,或者根据周边环境判断用户位置,并确定目标飞行线路。In this embodiment, the camera is controlled to collect images in the installed state. On the one hand, it is used to identify the target user in the image to determine the target flight route according to the target user; on the other hand, it is used to obtain the surrounding environment in the image to Determine the target flight route by combining the target user and the surrounding environment in the image, or determine the user's location based on the surrounding environment, and determine the target flight route.
因此,本实施例针对在摄像头在第一时间段内采集到的帧图像不包括目标用户的情况,可在第一时间段内的帧图像中,获取环境信息,以根据环境信息判断用户所在位置,并结合判断结果和获取的环境信息,确定目标飞行线路。Therefore, in this embodiment, in the case that the frame images collected by the camera in the first time period do not include the target user, the environment information can be obtained from the frame images in the first time period to determine the location of the user based on the environment information. , And combine the judgment result and the obtained environmental information to determine the target flight route.
应用场景如,在第一时间段内的帧图像中,获取障碍物、门、过道、人群等环境信息,以确定目标飞行线路。在确定目标飞行线路的过程中,需避开环境中的障碍物,还需将房间、过道等规划在目标飞行线路中;另外,考虑到由于聚在一起的人数较多,可能导致用户无法发现提示的情况,可预测人群聚集区域为用户所在位置,则将图像中的人群聚集区域确定为目标飞行线路的目的地。The application scenario is, for example, obtaining environmental information such as obstacles, doors, aisles, and crowds from the frame images in the first time period to determine the target flight route. In the process of determining the target flight route, it is necessary to avoid obstacles in the environment, and plan rooms, aisles, etc. in the target flight route; in addition, considering that there are a large number of people gathered together, users may not be able to find it. In the case of the prompt, it can be predicted that the crowd gathering area is the location of the user, and the crowd gathering area in the image is determined as the destination of the target flight route.
在本实施例中,针对在摄像头在第一时间段内采集的帧图像不包括目标用户的情况,可获取第一时间段内的帧图像中的环境信息,进一步根据环境信息,如过道、房间位置、房门位置等,确定目标飞行线路;同时,还可根据环境信息,如人群聚集处等,判断用户所在位置,并确定目标飞行线路。In this embodiment, for the situation that the frame images collected by the camera in the first time period do not include the target user, the environmental information in the frame images in the first time period can be obtained, and further based on the environmental information, such as aisles, rooms The location, door location, etc., determine the target flight route; at the same time, it can also determine the user's location based on environmental information, such as crowds, and determine the target flight route.
在图1所示实施例的基础上,本发明还提供了另一个实施例的信息提示方法的流程,在步骤130之后还包括:On the basis of the embodiment shown in FIG. 1, the present invention also provides a flow of the information prompting method of another embodiment, which further includes after step 130:
步骤150:在摄像头采集的图像不包括目标用户的情况下,获取摄像头的实时飞行距离。Step 150: In the case that the image collected by the camera does not include the target user, obtain the real-time flying distance of the camera.
步骤160:在实时飞行距离大于第二阈值的情况下,基于第一提示信息输出第二提示信息。Step 160: In the case that the real-time flight distance is greater than the second threshold, output second prompt information based on the first prompt information.
其中,第二提示信息的提示强度比第一提醒信息的提示强度弱。Wherein, the prompt intensity of the second prompt message is weaker than the prompt intensity of the first prompt message.
在本实施例中,在摄像头飞行的过程中,若摄像头采集的图像不包括目标用户,为了节省耗电,当摄像头的实时飞行距离较远时,可基于第一提示信息输出第二提示信息,且第二提示信息的提示强度比第一提醒信息的提示强度弱。In this embodiment, during the flight of the camera, if the image collected by the camera does not include the target user, in order to save power, when the real-time flight distance of the camera is far, the second prompt information can be output based on the first prompt information. In addition, the prompt intensity of the second prompt information is weaker than the prompt intensity of the first prompt information.
例如,第一提示信息的形式为响铃和震动中的至少一种,则第二提示信息对应为响铃和震动中的至少一种,且相比于第一提示信息中的响铃和震动,第二提示信息中的响铃音量减小、震动频率降低。For example, the form of the first prompt information is at least one of ringing and vibration, and the second prompting information corresponds to at least one of ringing and vibration, and is compared with the ringing and vibration in the first prompting information. , The ring volume and vibration frequency in the second prompt message are reduced.
可选地,第二提示信息中的响铃音量逐渐减小、震动频率逐渐降低。例如,在实时飞行距离大于第二阈值的情况下,随着实时飞行距离逐渐增大,响铃音量逐渐减小、震动频率逐渐降低。Optionally, the ring volume in the second prompt message is gradually reduced, and the vibration frequency is gradually reduced. For example, in the case that the real-time flight distance is greater than the second threshold, as the real-time flight distance gradually increases, the ring volume and vibration frequency are gradually reduced.
应用场景如,当目标飞行线路中没有明确用户所在位置时,在摄像头飞行过程中,可能出现长距离飞行后,无法找到用户的现象,则为了节省耗电,在实时飞行距离大于第二阈值的情况下,输出第二提示信息,相比于第一提醒信息,第二提示信息的提示强度比第一提醒信息的提示强度弱。进一步地,当发现用户后,可更新为第一提醒信息。这样,既可以节省耗电,又可以起到提示用户的作用。For example, when the user’s location is not clear on the target flight route, the camera may not be able to find the user after a long-distance flight during the camera flight. In order to save power, the real-time flight distance is greater than the second threshold. In this case, the second reminder information is output, and compared with the first reminder information, the reminder intensity of the second reminder information is weaker than the reminder intensity of the first reminder information. Further, when the user is found, it can be updated to the first reminder message. In this way, power consumption can be saved and the user can be reminded.
可选地,第二阈值可由用户自定义,还可有设备内部设定。Optionally, the second threshold can be customized by the user, and can also be set internally by the device.
其中,实时飞行距离为进入飞行状态后的实际飞行路程,也可为摄像头与本体之 间的实时距离。Among them, the real-time flight distance is the actual flight distance after entering the flight state, or the real-time distance between the camera and the main body.
可参考地,本发明另一个实施例中,在实时飞行距离大于第三阈值的情况下,基于第一提示信息输出第三提示信息,第三提示信息的提示强度比第一提醒信息的提示强度强。For reference, in another embodiment of the present invention, when the real-time flight distance is greater than the third threshold, the third prompt information is output based on the first prompt information, and the prompt intensity of the third prompt information is higher than that of the first prompt information. powerful.
例如,第一提示信息的形式为响铃和震动中的至少一种,则第三提示信息对应为响铃和震动中的至少一种,且相比于第一提示信息中的响铃和震动,第三提示信息中的响铃音量增大、震动频率提高。For example, the form of the first prompt information is at least one of ringing and vibration, and the third prompting information corresponds to at least one of ringing and vibration, and is compared with the ringing and vibration in the first prompting information. , The ring volume and vibration frequency in the third prompt message increase.
可选地,第三提示信息中的响铃音量逐渐增大、震动频率逐渐提高。例如,在实时飞行距离大于第三阈值的情况下,随着实时飞行距离逐渐增大,响铃音量逐渐增大、震动频率逐渐提高。Optionally, the ring volume in the third prompt message gradually increases, and the vibration frequency gradually increases. For example, in the case that the real-time flight distance is greater than the third threshold, as the real-time flight distance gradually increases, the ringing volume gradually increases and the vibration frequency gradually increases.
应用场景如,当目标飞行线路中没有明确用户所在位置时,在摄像头飞行过程中,可能出现长距离飞行后,无法找到用户的现象,从而可以通过增大响铃音量和提高震动频率中的至少一种方式来引起用户注意。For example, when the user’s location is not clear on the target flight route, the camera may not be able to find the user after a long-distance flight during the flight of the camera. Therefore, you can increase the ring volume and increase the vibration frequency at least. A way to get the user's attention.
可选地,第三阈值可由用户自定义,还可有设备内部设定。Optionally, the third threshold can be customized by the user, and can also be set internally by the device.
需要说明的是,若在摄像头飞行的过程中,通信连接请求未中断,且持续以常规方式输出提示,则可在常规提示方式的基础上,进行增强或者减弱的变化,以输出第一输出信息、第二输出信息和第三输出信息中的任一种。其中,第三提示信息的提示强度比常规提示方式的提示强度强,第二提示信息的提示强度比常规提示方式的提示强度弱。It should be noted that if the communication connection request is not interrupted during the flight of the camera, and the prompt is continuously output in the conventional manner, the increase or decrease can be made on the basis of the conventional prompt method to output the first output information , Any one of the second output information and the third output information. Wherein, the prompt intensity of the third prompt information is stronger than that of the conventional prompt mode, and the prompt intensity of the second prompt information is weaker than the prompt intensity of the conventional prompt mode.
在本发明另一个实施例中,可选地,在摄像头飞行的过程中,始终未采集到用户人脸图像,在一定的飞行时长、或者飞行路程后,还可控制摄像头向本体飞行。其中,不限于原路返回,或者重新确定返回的飞行线路。In another embodiment of the present invention, optionally, during the flight of the camera, the user's face image is never collected. After a certain flight time or flight distance, the camera can also be controlled to fly to the body. Among them, it is not limited to returning on the same route, or re-determining the return flight route.
针对上述在摄像头飞行的过程中,始终未采集到用户人脸图像的多个实施例,可根据不同的情况,输出不同的提示信息,以起到节省耗电、增强提示等不同的作用。而在实际应用中,即使摄像头飞行的过程中没有找到用户,但相比于现有技术,还是提供了一种寻找用户的途径,以降低用户错过通信的概率。Regarding the above embodiments in which the user's face image is never collected during the flight of the camera, different prompt messages can be output according to different situations to achieve different functions such as saving power and enhancing prompts. In practical applications, even if the user is not found during the flight of the camera, compared with the prior art, it still provides a way to find the user to reduce the probability of the user missing the communication.
在图1所示实施例的基础上,本发明还提供了另一个实施例的信息提示方法的流程,在步骤130之后还包括:On the basis of the embodiment shown in FIG. 1, the present invention also provides a flow of the information prompting method of another embodiment, which further includes after step 130:
步骤170:获取摄像头在第二时间段内采集到的至少一帧图像包括的画面信息,画面信息包括以下至少一项:环境信息、目标用户的人脸信息。Step 170: Obtain picture information included in at least one frame of images collected by the camera in the second time period, where the picture information includes at least one of the following: environmental information and face information of the target user.
步骤180:根据画面信息,更新目标飞行线路。Step 180: Update the target flight route according to the screen information.
在前述实施例中,摄像头处于安装状态时,摄像头通过转动可采集到四周图像,图像包括目标用户、环境等信息,从而可基于采集到的图像,确定摄像头的目标飞行线路,进而便于摄像头快速寻找用户。In the foregoing embodiment, when the camera is in the installed state, the camera can collect surrounding images by rotating, and the image includes information about the target user, environment, etc., so that the target flight route of the camera can be determined based on the collected images, so that the camera can quickly find user.
进一步地,在本实施例中,考虑到摄像头在安装状态下采集到的图像有限,因此可以结合摄像头处于飞行状态时采集四周的图像,实时更新目标飞行线路。Further, in this embodiment, considering that the images collected by the camera in the installed state are limited, it is possible to combine the surrounding images collected when the camera is in the flying state to update the target flight route in real time.
应用场景如,基于用户位置确定目标飞行线路后,在摄像头的飞行过程中,采集到用户位置发生变化,则可根据变化后的用户位置,更新目标飞行线路。For example, in an application scenario, after the target flight route is determined based on the user's position, during the flight of the camera, if the user's position is collected and changed, the target flight route can be updated according to the changed user's position.
应用场景又如,确定目标飞行线路后,在摄像头的飞行过程中,采集到的图像包 括障碍物,则根据障碍物更新目标飞行线路,以避开障碍物。Another example is the application scenario. After determining the target flight route, during the flight of the camera, the collected images include obstacles, and the target flight route is updated according to the obstacles to avoid the obstacles.
应用场景又如,确定目标飞行线路后,在摄像头的飞行过程中,采集到用户可能的位置,则根据用户可能的位置更新目标飞行线路。Another example is the application scenario. After determining the target flight route, the user's possible position is collected during the flight of the camera, and the target flight route is updated according to the user's possible position.
在本实施例中,在控制摄像头飞行的过程中,可结合采集图像中体现出的实际情况信息,包括环境信息和目标用户的人脸信息等,实时更新摄像头的目标飞行线路,以帮助摄像头尽快飞向用户,以降低用户错过通信的概率。In this embodiment, in the process of controlling the camera to fly, the actual situation information reflected in the collected images, including environmental information and target user's face information, can be combined to update the camera's target flight line in real time to help the camera as soon as possible Fly to the user to reduce the probability of the user missing a communication.
在图1所示实施例的基础上,本发明还提供了另一个实施例的信息提示方法的流程,在步骤140之后还包括:On the basis of the embodiment shown in FIG. 1, the present invention also provides a flow of the information prompting method of another embodiment, which further includes after step 140:
步骤190:在摄像头采集的图像包括目标用户的动作信息,且目标用户的动作信息为预设动作信息的情况下,执行目标控制操作。Step 190: When the image collected by the camera includes the action information of the target user, and the action information of the target user is preset action information, perform the target control operation.
在本实施例中,在摄像头飞行的过程中,采集的图像包括目标用户的动作信息,且动作信息为预设动作信息,则执行与预设动作信息对应的目标控制操作。In this embodiment, during the flight of the camera, the captured image includes the action information of the target user, and the action information is preset action information, then the target control operation corresponding to the preset action information is executed.
对应地,可预先录入预设动作信息,以及对应的目标控制操作。Correspondingly, preset action information and corresponding target control operations can be entered in advance.
示例性地,预设动作信息为指定手势动作。目标控制操作包括远程接听、拒绝通信连接请求、关掉提示、减小响铃音量、降低震动频率中的至少一项。其中,不同的手势动作,分别对应不同的控制操作。Exemplarily, the preset action information is a designated gesture action. The target control operation includes at least one of remote answering, rejecting the communication connection request, turning off the prompt, reducing the ring volume, and reducing the vibration frequency. Among them, different gesture actions correspond to different control operations.
可选地,摄像头采集的图像包括目标用户的动作信息至少包括目标用户的人脸信息和目标用户的动作信息。Optionally, the image collected by the camera includes the action information of the target user, including at least the face information of the target user and the action information of the target user.
可选地,将采集到的图像与预先录入的目标用户的人脸信息进行比对,若比对成功,则将采集到该图像与预设动作信息进行比对,若比对成功,则摄像头采集的图像包括目标用户的动作信息。反之,有其中一项比对失败,则摄像头采集的图像不包括目标用户的动作信息。Optionally, compare the captured image with pre-entered facial information of the target user. If the comparison is successful, compare the captured image with the preset action information. If the comparison is successful, then the camera The captured image includes the action information of the target user. On the contrary, if one of the comparisons fails, the image collected by the camera does not include the target user's action information.
应用场景如,用户看到摄像头后,在拍摄画面内作了指定手势动作,即可表示用户已知晓存在提示,此时可以减小响铃音量、减小震动频率等,以减少耗电,也可避免打扰周围人。For example, when the user sees the camera and makes a specified gesture in the shooting screen, it means that the user is aware of the prompt. At this time, the ringer volume and vibration frequency can be reduced to reduce power consumption. Can avoid disturbing people around.
可选地,在本实施例中,可利用摄像头预先在本体录入的目标用户的人脸信息和预设动作信息。摄像头在飞行的过程中,持续采集图像,并将采集到的图像传输至本体,本体将获取的图像与预先录入的目标用户的人脸信息、预设动作信息进行比对,若比对成功,则本体执行对应的目标控制操作。Optionally, in this embodiment, the face information and preset action information of the target user recorded in the body in advance by the camera may be used. During the flight, the camera continuously collects images and transmits the collected images to the main body. The main body compares the acquired images with the pre-recorded target user's face information and preset motion information. If the comparison is successful, Then the body executes the corresponding target control operation.
可选地,在本实施例中,还可利用摄像头预先在摄像头录入的目标用户的人脸信息和预设动作信息。摄像头在飞行的过程中,持续采集图像,并将采集到的图像与预先录入的目标用户的人脸信息、预设动作信息进行比对,若比对成功,则将比对成功的信息传输至本体,本体根据接收的信息,在本体上执行对应的目标控制操作。Optionally, in this embodiment, the face information and preset action information of the target user recorded in the camera in advance by the camera can also be used. The camera continuously collects images during the flight, and compares the collected images with the pre-recorded face information and preset motion information of the target user. If the comparison is successful, the successful comparison information is transmitted to Ontology, the ontology performs corresponding target control operations on the ontology according to the received information.
在本实施例中,在摄像头的飞行过程中,若已到达用户所在位置,且用户看到摄像头,并在拍摄画面内做出指定手势动作,从而摄像头可采集用户做出指定手势动作的图像,进而得知用户已知晓当前提示,执行对应的控制操作,以结束本次提示。In this embodiment, during the flight of the camera, if the user has reached the location of the user, and the user sees the camera and makes a designated gesture in the shooting screen, the camera can collect images of the user’s designated gesture. Then it is learned that the user is aware of the current prompt and executes the corresponding control operation to end the prompt.
在更多的实施例中,用户在知晓当前提示后,可手动将摄像头重新安装至本体,以结束本次提示。In more embodiments, after knowing the current prompt, the user can manually reinstall the camera to the main body to end the prompt.
在更多的实施例中,电子设备在得知用户知晓当前提示后,可控制摄像头按照原 路返回;或者,电子设备在得知用户知晓当前提示后,重新确定返回的飞行线路,并控制摄像头按照返回的飞行线路返回。这样,可使得摄像头能够自动飞行至本体,再由用户、或者自动安装回本体,从而结束本次提示。进一步地,用户可在本体上进行输入,以使得电子设备执行对应的控制操作。In more embodiments, the electronic device can control the camera to return according to the original route after learning that the user is aware of the current prompt; or, after learning that the user is aware of the current prompt, the electronic device re-determines the return flight route and controls the camera Follow the return flight route to return. In this way, the camera can automatically fly to the main body, and then the user or automatically install it back to the main body, thereby ending this prompt. Further, the user can input on the body, so that the electronic device executes the corresponding control operation.
在图1所示实施例的基础上,本发明还提高了另一个实施例的信息提示方法的流程,在步骤110之前,还包括:On the basis of the embodiment shown in FIG. 1, the present invention also improves the flow of the information prompting method of another embodiment. Before step 110, it further includes:
接收第一输入;Receive the first input;
响应于第一输入,设置目标联系人信息的目标等级。In response to the first input, the target level of the target contact information is set.
在本实施例中,对于存储在通讯录中的联系人,电子设备可按照用户设置将联系人的重要等级分为一级、二级、三级等,如父母为一级,客户为二级,朋友则为三级。对于高等级的联系人,如父母和客户发来的通信连接请求,可在用户短时间内如2分钟内没有输入后,控制摄像头转动后弹出;而对于低等级的联系人,摄像头不需要转动和弹出,只需要以常规的响铃和震动提示用户。In this embodiment, for the contacts stored in the address book, the electronic device can classify the importance of the contact into first, second, third, etc. according to the user settings, for example, the parent is the first class, and the customer is the second class. , Friends are at level 3. For high-level contacts, such as communication connection requests from parents and customers, the user can control the camera to rotate and pop up after the user does not input within a short period of time, such as 2 minutes; while for low-level contacts, the camera does not need to be rotated And pop-up, only need to alert the user with regular ringing and vibration.
在本实施例中,可由用户自定义或者电子设备默认定义目标联系人信息的目标等级。其中,当电子设备中的联系人等级划分较多时,可对应设置多个等级,不同的等级对应的预设时长不同。In this embodiment, the target level of the target contact information can be defined by the user or the electronic device defaults. Wherein, when there are many levels of contacts in the electronic device, multiple levels can be set correspondingly, and different levels correspond to different preset durations.
在本实施例中,可根据通信联系人的重要程度来决定寻人机制,如仅响铃震动,或通过分离式摄像头寻人。从而可避免一些无关紧要的通信连接请求打扰到用户,也可避免用户错过一些紧急的通信连接请求,进而使得本实施例中的信息提示方法更多人性化、个性化。In this embodiment, the tracing mechanism can be determined according to the importance of the communication contact, such as only ringing and vibrating, or tracing through a separate camera. Therefore, some insignificant communication connection requests can be avoided to disturb the user, and the user can also be prevented from missing some urgent communication connection requests, thereby making the information prompting method in this embodiment more user-friendly and personalized.
优选地,第一输入用于设置目标联系人信息的目标等级。Preferably, the first input is used to set the target level of the target contact information.
第一输入可以包括但不限于手势动作。可选地,第一输入包括的手势动作,可以是连续的,也可以是间断的。The first input may include, but is not limited to, gesture actions. Optionally, the gesture action included in the first input may be continuous or discontinuous.
在一种第一输入的实现方式中,用户可点击打开通信录,点击目标联系人信息,在目标联系人信息的设置界面中,设置目标联系人信息的目标等级,退出设置界面。In an implementation of the first input, the user can click to open the address book, click the target contact information, in the target contact information setting interface, set the target level of the target contact information, and exit the setting interface.
图5示出了本发明另一个实施例的电子设备的框图,电子设备包括本体和设置于本体的可转动的摄像头,摄像头可分离的安装于本体,还包括:Fig. 5 shows a block diagram of an electronic device according to another embodiment of the present invention. The electronic device includes a main body and a rotatable camera provided on the main body. The camera is detachably mounted on the main body and further includes:
第一控制模块10,用于在电子设备接收到通信连接请求,且预设时长内未接收到用户对通信连接请求的输入的情况下,控制摄像头转动,并控制摄像头采集图像;The first control module 10 is configured to control the rotation of the camera and control the camera to collect images when the electronic device receives the communication connection request and the user's input to the communication connection request is not received within a preset time period;
线路确定模块20,用于根据摄像头在第一时间段内采集到的至少一帧图像,确定目标飞行线路;The route determination module 20 is configured to determine the target flight route according to at least one frame of images collected by the camera in the first time period;
第二控制模块30,用于控制摄像头与本体分离,并控制摄像头按照目标飞行线路飞行;The second control module 30 is used to control the separation of the camera from the main body, and control the camera to fly according to the target flight route;
第一输出模块40,用于在摄像头采集的图像包括目标用户的情况下,输出第一提示信息。The first output module 40 is configured to output first prompt information when the image collected by the camera includes the target user.
这样,在本发明实施例中,在电子设备接收到通信连接请求的情况下,优先以常规响铃和震动中的至少一种提示用户。进一步地,若预设时长内未接收到用户对该通信连接请求的输入,则分析为用户可能距离电子设备较远、当前环境较为嘈杂等,因此并没有注意到提示,从而启动本实施例基于分离式转动摄像头实现的信息提示方法。 在本实施例中,电子设备在预设时长内未接收到用户对该通信连接请求的输入,则会控制摄像头转动,并采集图像,从而可采集到电子设备四周的图像,进而根据摄像头在转动过程中,在第一时间段内采集到的至少一帧图像,捕捉到用户所在位置,或者判断出用户可能所在的位置等信息,以根据这些信息确定摄像头的目标飞行线路,进一步控制摄像头与本体分离,使得摄像头在分离状态下,按照目标飞行线路飞行,同时继续控制摄像头转动及采集图像,以找到用户。在摄像头采集的图像包括目标用户的情况下,输出第一提示信息,以使得用户注意到通信连接请求。可见,本实施例充分利用分离式可转动摄像头,结合其采集到的图像,可及时找到用户,告知用户未接听的通信请求,使得用户能够及时作出回应,避免用户错过。In this way, in the embodiment of the present invention, when the electronic device receives the communication connection request, the user is given priority to prompt the user with at least one of the regular ringing and vibration. Further, if the user's input for the communication connection request is not received within the preset time period, it is analyzed that the user may be far away from the electronic device, the current environment is relatively noisy, etc., so the prompt is not noticed, and this embodiment is started based on Information prompt method realized by separate rotating camera. In this embodiment, if the electronic device does not receive the user's input for the communication connection request within the preset time period, it will control the camera to rotate and collect images, so that images around the electronic device can be collected, and then according to the rotation of the camera In the process, at least one frame of images collected in the first period of time captures the location of the user, or determines the location of the user, and other information, so as to determine the target flight path of the camera based on this information, and further control the camera and the body Separation enables the camera to fly according to the target flight route in the separated state, while continuing to control the camera rotation and collecting images to find the user. In the case where the image collected by the camera includes the target user, the first prompt information is output to make the user notice the communication connection request. It can be seen that this embodiment makes full use of the separate rotatable camera and combines the collected images to find the user in time and inform the user of the unanswered communication request, so that the user can respond in time and avoid the user from missing it.
可选地,线路确定模块20包括:Optionally, the line determination module 20 includes:
第一获取单元,用于在摄像头在第一时间段内采集到的目标帧图像包括目标用户的情况下,根据目标帧图像,获取目标用户的位置信息;The first acquiring unit is configured to acquire the location information of the target user according to the target frame image when the target frame image collected by the camera in the first time period includes the target user;
第一确定单元,用于在目标用户的位置信息满足预设条件的情况下,根据目标用户的位置信息,确定目标飞行线路;The first determining unit is configured to determine the target flight route according to the location information of the target user when the location information of the target user meets the preset condition;
其中,预设条件为目标用户与摄像头的距离大于预设阈值。The preset condition is that the distance between the target user and the camera is greater than a preset threshold.
可选地,第一输出模块40包括:Optionally, the first output module 40 includes:
实时距离获取单元,用于在摄像头采集的图像包括目标用户的情况下,获取目标用户与摄像头的实时距离;The real-time distance acquisition unit is used to acquire the real-time distance between the target user and the camera when the image collected by the camera includes the target user;
提示输出单元,用于在实时距离小于第一阈值的情况下,输出第一提示信息,第一提示信息用于提示所述通信连接请求。The prompt output unit is configured to output first prompt information when the real-time distance is less than the first threshold, and the first prompt information is used to prompt the communication connection request.
可选地,线路确定模块20包括:Optionally, the line determination module 20 includes:
第二获取单元,用于在摄像头在第一时间段内采集到的帧图像不包括目标用户的情况下,获取第一时间段内的帧图像包括的环境信息;The second acquiring unit is configured to acquire the environmental information included in the frame image in the first time period when the frame image collected by the camera in the first time period does not include the target user;
第二确定单元,用于根据环境信息,确定目标飞行线路。The second determining unit is used to determine the target flight route according to the environmental information.
可选地,电子设备还包括:Optionally, the electronic device further includes:
飞行距离获取模块,用于在摄像头采集的图像不包括目标用户的情况下,获取摄像头的实时飞行距离;The flight distance acquisition module is used to acquire the real-time flight distance of the camera when the image collected by the camera does not include the target user;
第二输出模块,用于在实时飞行距离大于第二阈值的情况下,基于第一提示信息输出第二提示信息;The second output module is configured to output second prompt information based on the first prompt information when the real-time flight distance is greater than the second threshold;
其中,第二提示信息的提示强度比第一提醒信息的提示强度弱。Wherein, the prompt intensity of the second prompt message is weaker than the prompt intensity of the first prompt message.
可选地,电子设备还包括:Optionally, the electronic device further includes:
画面获取单元,用于获取摄像头在第二时间段内采集到的至少一帧图像包括的画面信息,画面信息包括以下至少一项:环境信息、目标用户的人脸信息;The picture acquisition unit is configured to acquire picture information included in at least one frame of images collected by the camera in the second time period, and the picture information includes at least one of the following: environmental information and face information of the target user;
线路更新模块,用于根据画面信息,更新目标飞行线路。The route update module is used to update the target flight route according to the screen information.
可选地,电子设备还包括:Optionally, the electronic device further includes:
操作执行模块,用于在摄像头采集的图像包括目标用户的动作信息,且目标用户的动作信息为预设动作信息的情况下,执行目标控制操作。The operation execution module is used for executing the target control operation when the image collected by the camera includes the action information of the target user, and the action information of the target user is preset action information.
本发明实施例提供的电子设备能够实现前述方法实施例中电子设备实现的各个过程,为避免重复,这里不再赘述。The electronic device provided in the embodiment of the present invention can implement each process implemented by the electronic device in the foregoing method embodiment, and to avoid repetition, details are not described herein again.
图6为实现本发明各个实施例的一种电子设备的硬件结构示意图,该电子设备100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、处理器1010、电源111以及摄像头112等部件。本领域技术人员可以理解,图6中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,电子设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、以及计步器等。6 is a schematic diagram of the hardware structure of an electronic device implementing various embodiments of the present invention. The electronic device 100 includes but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, and a display unit 106, a user input unit 107, an interface unit 108, a memory 109, a processor 1010, a power supply 111, a camera 112 and other components. Those skilled in the art can understand that the structure of the electronic device shown in FIG. 6 does not constitute a limitation on the electronic device. The electronic device may include more or less components than those shown in the figure, or a combination of certain components, or different components. Layout. In the embodiments of the present invention, electronic devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, in-vehicle electronic devices, wearable devices, and pedometers.
其中,电子设备100包括本体和设置于本体的可转动的摄像头112,摄像头112可分离的安装于本体,还包括:Wherein, the electronic device 100 includes a main body and a rotatable camera 112 provided on the main body. The camera 112 is detachably installed on the main body, and further includes:
处理器1010,用于在电子设备接收到通信连接请求,且预设时长内未接收到用户对通信连接请求的输入的情况下,控制摄像头112转动,并控制摄像头112采集图像;根据摄像头112在第一时间段内采集到的至少一帧图像,确定目标飞行线路;控制摄像头112与本体分离,并控制摄像头112按照目标飞行线路飞行;在摄像头112采集的图像包括目标用户的情况下,输出第一提示信息。The processor 1010 is configured to control the rotation of the camera 112 and control the camera 112 to collect images when the electronic device receives a communication connection request and the user's input to the communication connection request is not received within a preset period of time; At least one frame of images collected in the first time period determines the target flight route; controls the camera 112 to separate from the main body, and controls the camera 112 to fly according to the target flight route; when the image collected by the camera 112 includes the target user, output the first A prompt message.
这样,在本发明实施例中,在电子设备接收到通信连接请求的情况下,优先以常规响铃和震动中的至少一种提示用户。进一步地,若预设时长内未接收到用户对该通信连接请求的输入,则分析为用户可能距离电子设备较远、当前环境较为嘈杂等,因此并没有注意到提示,从而启动本实施例基于分离式转动摄像头112实现的信息提示方法。在本实施例中,电子设备在预设时长内未接收到用户对该通信连接请求的输入,则会控制摄像头112转动,并采集图像,从而可采集到电子设备四周的图像,进而根据摄像头112在转动过程中,在第一时间段内采集到的至少一帧图像,捕捉到用户所在位置,或者判断出用户可能所在的位置等信息,以根据这些信息确定摄像头112的目标飞行线路,进一步控制摄像头112与本体分离,使得摄像头112在分离状态下,按照目标飞行线路飞行,同时继续控制摄像头112转动及采集图像,以找到用户。在摄像头112采集的图像包括目标用户的情况下,输出第一提示信息,以使得用户注意到通信连接请求。可见,本实施例充分利用分离式可转动摄像头112,结合其采集到的图像,可及时找到用户,告知用户未接听的通信请求,使得用户能够及时作出回应,避免用户错过。In this way, in the embodiment of the present invention, when the electronic device receives the communication connection request, the user is given priority to prompt the user with at least one of the regular ringing and vibration. Further, if the user's input for the communication connection request is not received within the preset time period, it is analyzed that the user may be far away from the electronic device, the current environment is relatively noisy, etc., so the prompt is not noticed, and this embodiment is started based on An information prompt method implemented by a separate rotating camera 112. In this embodiment, if the electronic device does not receive the user's input for the communication connection request within the preset time period, it will control the rotation of the camera 112 and collect images, so that images around the electronic device can be collected, and then according to the camera 112 During the rotation, at least one frame of images collected in the first period of time captures the location of the user, or determines the location of the user, and other information, so as to determine the target flight path of the camera 112 based on the information, and further control The camera 112 is separated from the main body, so that the camera 112 can fly according to the target flight route in the separated state, and at the same time continue to control the camera 112 to rotate and collect images to find the user. In the case where the image collected by the camera 112 includes the target user, the first prompt information is output to make the user notice the communication connection request. It can be seen that this embodiment makes full use of the separable rotatable camera 112, combined with the collected images, to find the user in time and inform the user of the unanswered communication request, so that the user can respond in time and avoid the user from missing it.
应理解的是,本发明实施例中,射频单元101可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器1010处理;另外,将上行的数据发送给基站。通常,射频单元101包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元101还可以通过无线通信***与网络和其他设备通信。It should be understood that, in the embodiment of the present invention, the radio frequency unit 101 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, the downlink data from the base station is received and processed by the processor 1010; in addition, Uplink data is sent to the base station. Generally, the radio frequency unit 101 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. In addition, the radio frequency unit 101 can also communicate with the network and other devices through a wireless communication system.
电子设备通过网络模块102为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The electronic device provides users with wireless broadband Internet access through the network module 102, such as helping users to send and receive emails, browse web pages, and access streaming media.
音频输出单元103可以将射频单元101或网络模块102接收的或者在存储器109中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元103还可以提供与电子设备100执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元103包括扬声器、蜂鸣器以及受话器等。The audio output unit 103 can convert the audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output it as sound. Moreover, the audio output unit 103 may also provide audio output related to a specific function performed by the electronic device 100 (for example, call signal reception sound, message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
输入单元104用于接收音频或视频信号。输入单元104可以包括图形处理器(Graphics Processing Unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元106上。经图形处理器1041处理后的图像帧可以存储在存储器109(或其它存储介质)中或者经由射频单元101或网络模块102进行发送。麦克风1042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元101发送到移动通信基站的格式输出。The input unit 104 is used to receive audio or video signals. The input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042, and the graphics processor 1041 is configured to monitor images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed. The processed image frame can be displayed on the display unit 106. The image frame processed by the graphics processor 1041 may be stored in the memory 109 (or other storage medium) or sent via the radio frequency unit 101 or the network module 102. The microphone 1042 can receive sound, and can process such sound into audio data. The processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 101 for output in the case of a telephone call mode.
电子设备100还包括至少一种传感器105,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板1061的亮度,接近传感器可在电子设备100移动到耳边时,关闭显示面板1061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器105还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The electronic device 100 further includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light. The proximity sensor can close the display panel 1061 and the display panel 1061 when the electronic device 100 is moved to the ear. / Or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 105 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
显示单元106用于显示由用户输入的信息或提供给用户的信息。显示单元106可包括显示面板1061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板1061。The display unit 106 is used to display information input by the user or information provided to the user. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
用户输入单元107可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元107包括触控面板1071以及其他输入设备1072。触控面板1071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1071上或在触控面板1071附近的操作)。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器1010,接收处理器1010发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1071。除了触控面板1071,用户输入单元107还可以包括其他输入设备1072。具体地,其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 107 may be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the electronic device. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072. The touch panel 1071, also called a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 1071 or near the touch panel 1071. operate). The touch panel 1071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 1010, the command sent by the processor 1010 is received and executed. In addition, the touch panel 1071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may also include other input devices 1072. Specifically, other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
进一步的,触控面板1071可覆盖在显示面板1061上,当触控面板1071检测到在其上或附近的触摸操作后,传送给处理器1010以确定触摸事件的类型,随后处理器1010根据触摸事件的类型在显示面板1061上提供相应的视觉输出。虽然在图6中,触控面板1071与显示面板1061是作为两个独立的部件来实现电子设备的输入和输出功能,但是在某些实施例中,可以将触控面板1071与显示面板1061集成而实现电子设备的输入和输出功能,具体此处不做限定。Further, the touch panel 1071 can be overlaid on the display panel 1061. When the touch panel 1071 detects a touch operation on or near it, it transmits it to the processor 1010 to determine the type of touch event, and then the processor 1010 determines the type of touch event according to the touch. The type of event provides corresponding visual output on the display panel 1061. Although in FIG. 6, the touch panel 1071 and the display panel 1061 are used as two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated The implementation of the input and output functions of the electronic device is not specifically limited here.
接口单元108为外部装置与电子设备100连接的接口。例如,外部装置可以包括 有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元108可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到电子设备100内的一个或多个元件或者可以用于在电子设备100和外部装置之间传输数据。The interface unit 108 is an interface for connecting an external device with the electronic device 100. For example, the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc. The interface unit 108 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the electronic device 100 or can be used to connect to the electronic device 100 and the external device. Transfer data between devices.
存储器109可用于存储软件程序以及各种数据。存储器109可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作***、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器109可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 109 can be used to store software programs and various data. The memory 109 may mainly include a program storage area and a data storage area. The program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc. In addition, the memory 109 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
处理器1010是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器109内的软件程序和/或模块,以及调用存储在存储器109内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。处理器1010可包括一个或多个处理单元;优选的,处理器1010可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作***、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1010中。The processor 1010 is the control center of the electronic device. It uses various interfaces and lines to connect the various parts of the entire electronic device, runs or executes software programs and/or modules stored in the memory 109, and calls data stored in the memory 109 , Perform various functions of electronic equipment and process data, so as to monitor the electronic equipment as a whole. The processor 1010 may include one or more processing units; preferably, the processor 1010 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, application programs, etc., the modem The processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 1010.
电子设备100还可以包括给各个部件供电的电源111(比如电池),优选的,电源111可以通过电源管理***与处理器1010逻辑相连,从而通过电源管理***实现管理充电、放电、以及功耗管理等功能。The electronic device 100 may also include a power source 111 (such as a battery) for supplying power to various components. Preferably, the power source 111 may be logically connected to the processor 1010 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system. And other functions.
另外,电子设备100包括一些未示出的功能模块,在此不再赘述。In addition, the electronic device 100 includes some functional modules not shown, which will not be repeated here.
优选的,本发明实施例还提供一种电子设备,包括处理器1010,存储器109,存储在存储器109上并可在所述处理器1010上运行的计算机程序,该计算机程序被处理器1010执行时实现上述信息提示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, the embodiment of the present invention also provides an electronic device, including a processor 1010, a memory 109, and a computer program stored on the memory 109 and capable of running on the processor 1010. When the computer program is executed by the processor 1010, Each process of the foregoing information prompt method embodiment is implemented, and the same technical effect can be achieved. In order to avoid repetition, details are not repeated here.
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述信息提示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。The embodiment of the present invention also provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above-mentioned information prompt method embodiment is realized, and the same technology can be achieved. The effect, in order to avoid repetition, will not be repeated here. Wherein, the computer-readable storage medium, such as read-only memory (Read-Only Memory, ROM for short), random access memory (Random Access Memory, RAM for short), magnetic disk, or optical disk, etc.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that in this article, the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, It also includes other elements that are not explicitly listed, or elements inherent to the process, method, article, or device. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, article, or device that includes the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现 有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台电子设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above implementation manners, those skilled in the art can clearly understand that the above-mentioned embodiment method can be implemented by means of software plus the necessary general hardware platform, of course, it can also be implemented by hardware, but in many cases the former is better.的实施方式。 Based on this understanding, the technical solution of the present invention essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to make an electronic device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the method described in each embodiment of the present invention.
上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。The embodiments of the present invention are described above with reference to the accompanying drawings, but the present invention is not limited to the above-mentioned specific embodiments. The above-mentioned specific embodiments are only illustrative and not restrictive. Those of ordinary skill in the art are Under the enlightenment of the present invention, many forms can be made without departing from the purpose of the present invention and the scope of protection of the claims, and they all fall within the protection of the present invention.

Claims (16)

  1. 一种信息提示方法,应用于电子设备,所述电子设备包括本体和设置于所述本体的可转动的摄像头,所述摄像头可分离的安装于所述本体,所述方法包括:An information prompt method is applied to an electronic device, the electronic device includes a main body and a rotatable camera provided on the main body, the camera is detachably installed on the main body, and the method includes:
    在所述电子设备接收到通信连接请求,且预设时长内未接收到用户对所述通信连接请求的输入的情况下,控制所述摄像头转动,并控制所述摄像头采集图像;In a case where the electronic device receives a communication connection request and does not receive a user's input to the communication connection request within a preset time period, controlling the camera to rotate and controlling the camera to collect images;
    根据所述摄像头在第一时间段内采集到的至少一帧图像,确定目标飞行线路;Determine the target flight route according to at least one frame of images collected by the camera in the first time period;
    控制所述摄像头与所述本体分离,并控制所述摄像头按照所述目标飞行线路飞行;Control the camera to be separated from the main body, and control the camera to fly according to the target flight line;
    在所述摄像头采集的图像包括目标用户的情况下,输出第一提示信息。In the case where the image collected by the camera includes the target user, the first prompt information is output.
  2. 根据权利要求1所述的方法,其中,所述根据所述摄像头在第一时间段内采集到的至少一帧图像,确定目标飞行线路,包括:The method according to claim 1, wherein the determining the target flight route according to at least one frame of images collected by the camera in the first time period comprises:
    在所述摄像头在第一时间段内采集到的目标帧图像包括目标用户的情况下,根据所述目标帧图像,获取所述目标用户的位置信息;In the case that the target frame image collected by the camera in the first time period includes the target user, acquiring the location information of the target user according to the target frame image;
    在所述目标用户的位置信息满足预设条件的情况下,根据所述目标用户的位置信息,确定目标飞行线路;In a case where the location information of the target user meets a preset condition, determine a target flight route according to the location information of the target user;
    其中,所述预设条件为所述目标用户与所述摄像头的距离大于预设阈值。Wherein, the preset condition is that the distance between the target user and the camera is greater than a preset threshold.
  3. 根据权利要求1所述的方法,其中,所述在所述摄像头采集的图像包括目标用户的情况下,输出第一提示信息,包括:The method according to claim 1, wherein said outputting first prompt information when the image collected by the camera includes a target user comprises:
    在所述摄像头采集的图像包括目标用户的情况下,获取所述目标用户与所述摄像头的实时距离;In the case where the image collected by the camera includes a target user, acquiring the real-time distance between the target user and the camera;
    在所述实时距离小于第一阈值的情况下,输出第一提示信息,所述第一提示信息用于提示所述通信连接请求。When the real-time distance is less than the first threshold, output first prompt information, where the first prompt information is used to prompt the communication connection request.
  4. 根据权利要求1所述的方法,其中,所述根据所述摄像头在第一时间段内采集到的至少一帧图像,确定目标飞行线路,包括:The method according to claim 1, wherein the determining the target flight route according to at least one frame of images collected by the camera in the first time period comprises:
    在所述摄像头在第一时间段内采集到的帧图像不包括目标用户的情况下,获取所述第一时间段内的帧图像包括的环境信息;In the case that the frame images collected by the camera in the first time period do not include the target user, acquiring the environmental information included in the frame images in the first time period;
    根据所述环境信息,确定目标飞行线路。According to the environmental information, the target flight route is determined.
  5. 根据权利要求1所述的方法,其中,所述控制所述摄像头与所述本体分离,并控制所述摄像头按照所述目标飞行线路飞行之后,还包括:The method according to claim 1, wherein after the controlling the camera to be separated from the body and controlling the camera to fly according to the target flight route, the method further comprises:
    在所述摄像头采集的图像不包括目标用户的情况下,获取所述摄像头的实时飞行距离;In the case where the image collected by the camera does not include the target user, acquiring the real-time flying distance of the camera;
    在所述实时飞行距离大于第二阈值的情况下,基于所述第一提示信息输出第二提示信息;In a case where the real-time flight distance is greater than a second threshold, output second prompt information based on the first prompt information;
    其中,所述第二提示信息的提示强度比所述第一提醒信息的提示强度弱。Wherein, the prompt intensity of the second prompt information is weaker than the prompt intensity of the first prompt information.
  6. 根据权利要求1所述的方法,其中,所述控制所述摄像头与所述本体分离,并控制所述摄像头按照所述目标飞行线路飞行之后,还包括:The method according to claim 1, wherein after the controlling the camera to be separated from the body and controlling the camera to fly according to the target flight route, the method further comprises:
    获取所述摄像头在第二时间段内采集到的至少一帧图像包括的画面信息,所述画面信息包括以下至少一项:环境信息、所述目标用户的人脸信息;Acquiring picture information included in at least one frame of images collected by the camera in the second time period, where the picture information includes at least one of the following: environmental information and face information of the target user;
    根据所述画面信息,更新所述目标飞行线路。According to the screen information, the target flight route is updated.
  7. 根据权利要求1所述的方法,其中,所述在所述摄像头采集的图像包括目标用 户的情况下,输出第一提示信息之后,还包括:The method according to claim 1, wherein, in the case where the image collected by the camera includes a target user, after outputting the first prompt information, the method further comprises:
    在所述摄像头采集的图像包括所述目标用户的动作信息,且所述目标用户的动作信息为预设动作信息的情况下,执行目标控制操作。In a case where the image collected by the camera includes the action information of the target user, and the action information of the target user is preset action information, the target control operation is performed.
  8. 一种电子设备,所述电子设备包括本体和设置于所述本体的可转动的摄像头,所述摄像头可分离的安装于所述本体,还包括:An electronic device comprising a main body and a rotatable camera provided on the main body, the camera detachably mounted on the main body, and further comprising:
    第一控制模块,用于在所述电子设备接收到通信连接请求,且预设时长内未接收到用户对所述通信连接请求的输入的情况下,控制所述摄像头转动,并控制所述摄像头采集图像;The first control module is configured to control the rotation of the camera and control the camera when the electronic device receives the communication connection request and the user's input to the communication connection request is not received within a preset period of time Capture image
    线路确定模块,用于根据所述摄像头在第一时间段内采集到的至少一帧图像,确定目标飞行线路;A route determination module, configured to determine a target flight route according to at least one frame of images collected by the camera in the first time period;
    第二控制模块,用于控制所述摄像头与所述本体分离,并控制所述摄像头按照所述目标飞行线路飞行;The second control module is used to control the separation of the camera from the main body, and control the camera to fly according to the target flight line;
    第一输出模块,用于在所述摄像头采集的图像包括目标用户的情况下,输出第一提示信息。The first output module is configured to output first prompt information when the image collected by the camera includes the target user.
  9. 根据权利要求8所述的电子设备,其中,所述线路确定模块,包括:The electronic device according to claim 8, wherein the circuit determination module comprises:
    第一获取单元,用于在所述摄像头在第一时间段内采集到的目标帧图像包括目标用户的情况下,根据所述目标帧图像,获取所述目标用户的位置信息;The first acquiring unit is configured to acquire the location information of the target user according to the target frame image when the target frame image collected by the camera in the first time period includes the target user;
    第一确定单元,用于在所述目标用户的位置信息满足预设条件的情况下,根据所述目标用户的位置信息,确定目标飞行线路;The first determining unit is configured to determine a target flight route according to the location information of the target user when the location information of the target user meets a preset condition;
    其中,所述预设条件为所述目标用户与所述摄像头的距离大于预设阈值。Wherein, the preset condition is that the distance between the target user and the camera is greater than a preset threshold.
  10. 根据权利要求8所述的电子设备,其中,所述第一输出模块,包括:The electronic device according to claim 8, wherein the first output module comprises:
    实时距离获取单元,用于在所述摄像头采集的图像包括目标用户的情况下,获取所述目标用户与所述摄像头的实时距离;A real-time distance acquiring unit, configured to acquire the real-time distance between the target user and the camera when the image collected by the camera includes the target user;
    提示输出单元,用于在所述实时距离小于第一阈值的情况下,输出第一提示信息,所述第一提示信息用于提示所述通信连接请求。The prompt output unit is configured to output first prompt information when the real-time distance is less than a first threshold, where the first prompt information is used to prompt the communication connection request.
  11. 根据权利要求8所述的电子设备,其中,所述线路确定模块,包括:The electronic device according to claim 8, wherein the circuit determination module comprises:
    第二获取单元,用于在所述摄像头在第一时间段内采集到的帧图像不包括目标用户的情况下,获取所述第一时间段内的帧图像包括的环境信息;The second acquiring unit is configured to acquire the environmental information included in the frame image in the first time period when the frame image collected by the camera in the first time period does not include the target user;
    第二确定单元,用于根据所述环境信息,确定目标飞行线路。The second determining unit is configured to determine the target flight route according to the environmental information.
  12. 根据权利要求8所述的电子设备,其中,所述电子设备还包括:The electronic device according to claim 8, wherein the electronic device further comprises:
    飞行距离获取模块,用于在所述摄像头采集的图像不包括目标用户的情况下,获取所述摄像头的实时飞行距离;A flying distance acquiring module, configured to acquire the real-time flying distance of the camera when the image collected by the camera does not include the target user;
    第二输出模块,用于在所述实时飞行距离大于第二阈值的情况下,基于所述第一提示信息输出第二提示信息;The second output module is configured to output second prompt information based on the first prompt information when the real-time flight distance is greater than a second threshold;
    其中,所述第二提示信息的提示强度比所述第一提醒信息的提示强度弱。Wherein, the prompt intensity of the second prompt information is weaker than the prompt intensity of the first prompt information.
  13. 根据权利要求8所述的电子设备,其中,所述电子设备还包括:The electronic device according to claim 8, wherein the electronic device further comprises:
    画面获取单元,用于获取所述摄像头在第二时间段内采集到的至少一帧图像包括的画面信息,所述画面信息包括以下至少一项:环境信息、所述目标用户的人脸信息;A picture acquisition unit, configured to acquire picture information included in at least one frame of images collected by the camera in a second time period, where the picture information includes at least one of the following: environmental information and face information of the target user;
    线路更新模块,用于根据所述画面信息,更新所述目标飞行线路。The route update module is used to update the target flight route according to the screen information.
  14. 根据权利要求8所述的电子设备,其中,所述电子设备还包括:The electronic device according to claim 8, wherein the electronic device further comprises:
    操作执行模块,用于在所述摄像头采集的图像包括所述目标用户的动作信息,且所述目标用户的动作信息为预设动作信息的情况下,执行目标控制操作。The operation execution module is configured to perform a target control operation when the image collected by the camera includes the action information of the target user, and the action information of the target user is preset action information.
  15. 一种电子设备,其中,包括处理器,存储器,存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至7中任一项所述的信息提示方法的步骤。An electronic device, comprising a processor, a memory, and a computer program stored on the memory and running on the processor, and when the computer program is executed by the processor, the implementation of claims 1 to 7 The steps of the information prompt method described in any one of.
  16. 一种计算机可读存储介质,其中,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至7中任一项所述的信息提示方法的步骤。A computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, it implements the information prompting method according to any one of claims 1 to 7 step.
PCT/CN2021/080228 2020-03-12 2021-03-11 Information prompting method, electronic device, and storage medium WO2021180176A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010172065.XA CN111444441B (en) 2020-03-12 2020-03-12 Information prompting method, electronic equipment and storage medium
CN202010172065.X 2020-03-12

Publications (1)

Publication Number Publication Date
WO2021180176A1 true WO2021180176A1 (en) 2021-09-16

Family

ID=71653195

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/080228 WO2021180176A1 (en) 2020-03-12 2021-03-11 Information prompting method, electronic device, and storage medium

Country Status (2)

Country Link
CN (1) CN111444441B (en)
WO (1) WO2021180176A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111444441B (en) * 2020-03-12 2024-03-29 维沃移动通信有限公司 Information prompting method, electronic equipment and storage medium
CN111938615A (en) * 2020-07-31 2020-11-17 维沃移动通信有限公司 Health parameter acquisition method and device and electronic equipment
CN112929484B (en) * 2021-02-02 2022-07-12 维沃移动通信(杭州)有限公司 Notification message reminding method, notification message reminding device, electronic equipment and readable storage medium
CN113705499B (en) * 2021-09-02 2024-04-02 浙江力石科技股份有限公司 Scenic spot automatic person searching method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104506716A (en) * 2014-12-08 2015-04-08 上海斐讯数据通信技术有限公司 Electronic equipment
US20190241263A1 (en) * 2016-10-17 2019-08-08 SZ DJI Technology Co., Ltd. Flight path generation method, flight path generation system, flight vehicle, program, and storage medium
CN209731326U (en) * 2019-06-25 2019-12-03 北京小米移动软件有限公司 Terminal device
CN111444441A (en) * 2020-03-12 2020-07-24 维沃移动通信有限公司 Information prompting method, electronic equipment and storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104284017A (en) * 2014-09-04 2015-01-14 广东欧珀移动通信有限公司 Information prompting method and device
EP3101889A3 (en) * 2015-06-02 2017-03-08 LG Electronics Inc. Mobile terminal and controlling method thereof
CN104935717B (en) * 2015-06-11 2018-01-23 广东欧珀移动通信有限公司 A kind of incoming call reminding method and terminal based on rotating camera
CN106303182A (en) * 2016-09-18 2017-01-04 珠海格力电器股份有限公司 A kind of flight cam device, method and terminal
CN106603882A (en) * 2016-12-28 2017-04-26 深圳天珑无线科技有限公司 Incoming call sound volume adjusting method, incoming call sound volume adjusting device and terminal
CN110264683A (en) * 2019-06-18 2019-09-20 胡渐佳 Mobile terminal of going out monitors based reminding method and system
CN110665235A (en) * 2019-11-05 2020-01-10 淮安鱼鹰航空科技有限公司 Unmanned aerial vehicle amusement system that targets

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104506716A (en) * 2014-12-08 2015-04-08 上海斐讯数据通信技术有限公司 Electronic equipment
US20190241263A1 (en) * 2016-10-17 2019-08-08 SZ DJI Technology Co., Ltd. Flight path generation method, flight path generation system, flight vehicle, program, and storage medium
CN209731326U (en) * 2019-06-25 2019-12-03 北京小米移动软件有限公司 Terminal device
CN111444441A (en) * 2020-03-12 2020-07-24 维沃移动通信有限公司 Information prompting method, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN111444441A (en) 2020-07-24
CN111444441B (en) 2024-03-29

Similar Documents

Publication Publication Date Title
WO2021180176A1 (en) Information prompting method, electronic device, and storage medium
WO2021098678A1 (en) Screencast control method and electronic device
WO2021175160A1 (en) Method for displaying information, and electronic apparatus
US11635939B2 (en) Prompting method and mobile terminal
WO2020151516A1 (en) Message sending method and mobile terminal
US20200257433A1 (en) Display method and mobile terminal
WO2021017763A1 (en) Transaction processing method, terminal device, and computer-readable storage medium
WO2019196691A1 (en) Keyboard interface display method and mobile terminal
WO2020156120A1 (en) Notification message display method and mobile terminal
CN108845853A (en) A kind of application program launching method and mobile terminal
WO2019206077A1 (en) Video call processing method and mobile terminal
WO2019080775A1 (en) Notification message prompting method and mobile terminal
WO2021036603A1 (en) Application program control method and terminal
WO2020238451A1 (en) Terminal control method and terminal
WO2021109959A1 (en) Application sharing method and electronic device
WO2020238445A1 (en) Screen recording method and terminal
WO2020220990A1 (en) Receiver control method and terminal
CN109639863B (en) Voice processing method and device
WO2021190545A1 (en) Call processing method and electronic device
WO2020199986A1 (en) Video call method and terminal device
WO2021036659A1 (en) Video recording method and electronic apparatus
WO2021083114A1 (en) Photo viewing method and electronic device
WO2021078140A1 (en) Message interaction method and electronic device
WO2020221024A1 (en) Information reminding method, mobile terminal and computer readable storage medium
CN109167884A (en) A kind of method of servicing and device based on user speech

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21767266

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 23/02/2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21767266

Country of ref document: EP

Kind code of ref document: A1