WO2022052604A1 - 信息提示方法、装置、电子设备以及存储介质 - Google Patents

信息提示方法、装置、电子设备以及存储介质 Download PDF

Info

Publication number
WO2022052604A1
WO2022052604A1 PCT/CN2021/104306 CN2021104306W WO2022052604A1 WO 2022052604 A1 WO2022052604 A1 WO 2022052604A1 CN 2021104306 W CN2021104306 W CN 2021104306W WO 2022052604 A1 WO2022052604 A1 WO 2022052604A1
Authority
WO
WIPO (PCT)
Prior art keywords
prompt information
area
camera
display screen
display
Prior art date
Application number
PCT/CN2021/104306
Other languages
English (en)
French (fr)
Inventor
钟浩华
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2022052604A1 publication Critical patent/WO2022052604A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders
    • H04N23/633Control of cameras or camera modules by using electronic viewfinders for displaying additional information relating to control or operation of the camera
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders
    • H04N23/631Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
    • H04N23/632Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters for displaying or modifying preview images prior to image capturing, e.g. variety of image resolutions or capturing parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders
    • H04N23/633Control of cameras or camera modules by using electronic viewfinders for displaying additional information relating to control or operation of the camera
    • H04N23/635Region indicators; Field of view indicators
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • H04N7/183Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a single remote source

Definitions

  • the present application relates to the field of smart home technology, and more particularly, to an information prompting method, device, electronic device, and storage medium.
  • monitoring technology is widely used as an important part of the emerging smart home field.
  • the house is usually monitored by the installed camera, and the user can control the position captured by the camera through the control interface displayed on the electronic device, and then view the monitoring content in different monitoring location areas.
  • the present application proposes an information prompting method, apparatus, electronic device and storage medium to solve the above problems.
  • an embodiment of the present application provides an information prompting method, which is applied to an electronic device, where the electronic device includes a display screen, and the electronic device is configured to be connected to a rotatable camera, and the method includes: in the The display screen displays the preview image collected by the camera; when the camera rotates to the maximum rotation angle, text prompt information is displayed in the first area of the display screen, and color prompt information is displayed in the second area of the display screen , wherein the text prompt information and the color prompt information are used to prompt that the camera has been rotated to the maximum rotation angle.
  • an embodiment of the present application provides an information prompting device, which is applied to an electronic device, where the electronic device includes a display screen, and the electronic device is configured to be connected to a rotatable camera, and the device includes: a preview image display a module for displaying the preview image collected by the camera on the display screen; a prompt information display module for displaying text prompt information in the first area of the display screen when the camera rotates to the maximum rotation angle, And color prompt information is displayed in the second area of the display screen, wherein the text prompt information and the color prompt information are used to prompt that the camera has been rotated to the maximum rotation angle.
  • embodiments of the present application provide an electronic device, including a display screen, a memory, and a processor, wherein the display screen and the memory are coupled to the processor, and the memory stores an instruction, and when the instruction The processor performs the above method when executed by the processor.
  • an embodiment of the present application provides a computer-readable storage medium, where a program code is stored in the computer-readable storage medium, and the program code can be invoked by a processor to execute the above method.
  • FIG. 1 shows a network structure diagram of an application scenario provided by an embodiment of the present application
  • FIG. 2 shows a schematic flowchart of an information prompting method provided by an embodiment of the present application
  • FIG. 3 shows a schematic diagram of a first interface of an electronic device provided by an embodiment of the present application
  • FIG. 4 shows a schematic diagram of a second interface of an electronic device provided by an embodiment of the present application
  • FIG. 5 shows a schematic flowchart of an information prompting method provided by another embodiment of the present application.
  • FIG. 6 shows a schematic flowchart of an information prompting method provided by still another embodiment of the present application.
  • FIG. 7 shows a schematic flowchart of step S340 of the information prompting method shown in FIG. 6 of the present application
  • FIG. 8 shows a schematic diagram of a third interface of an electronic device provided by an embodiment of the present application.
  • FIG. 9 shows a schematic flowchart of an information prompting method provided by another embodiment of the present application.
  • FIG. 10 shows a schematic diagram of a fourth interface of an electronic device provided by an embodiment of the present application.
  • FIG. 11 shows a schematic flowchart of an information prompting method provided by yet another embodiment of the present application.
  • FIG. 12 shows a block diagram of a module of an information prompting apparatus provided by an embodiment of the present application.
  • Fig. 13 shows a block diagram of an electronic device for executing the information prompting method according to the embodiment of the present application
  • FIG. 14 shows a storage unit for storing or carrying a program code for implementing the information prompting method according to the embodiment of the present application according to the embodiment of the present application.
  • monitoring technology is widely used as an important part of the emerging smart home field.
  • a camera is usually installed in the house to monitor the house.
  • users can view the monitoring screen through electronic devices (such as smartphones, tablet computers, etc.), and can also use electronic devices to shoot the camera. position for remote control and adjustment.
  • the user when the user remotely controls and adjusts the shooting position of the camera through the electronic device, the user usually sends the control command remotely through the electronic device, and observes the monitoring screen in real time, and moves the camera up, down, left and right.
  • the rotation of the direction, so that the field of view of the camera is the range of the position that the user needs to view.
  • the location of the shooting area of the camera can be set as the frequently viewed position, and the angle corresponding to the frequently viewed position can be recorded.
  • the frequently viewed position can quickly control the camera to turn to the corresponding recorded angle, which is convenient for users to view the monitoring screen of a specific location.
  • the non-360° rotation camera on the market will reach the maximum rotation angle when it rotates in a certain direction, and cannot continue to rotate in this direction.
  • the user cannot know the rotation angle of the camera, that is , it is impossible to know that the camera has rotated to the maximum rotation angle. Therefore, it is usually necessary to prompt the user that the camera has rotated to the maximum rotation angle (limit position) in this direction, and cannot continue to rotate.
  • a message prompt box can be popped up in the central area of the preview image to indicate that the camera has rotated to the maximum rotation angle, or the camera can be prompted in a certain direction by a thumbnail in the upper left corner of the preview image. It has been rotated to the maximum rotation angle.
  • the message prompt box pops up in the central area of the preview image, the content of the preview image will be blocked, and if the message prompt box pops up in the outer area of the preview image, it will cause the user The user's eyes are far away from the screen content, and the user experience is not good.
  • the prompt method of thumbnails in the upper left corner is not intuitive enough, and the user experience is not good.
  • the inventor has discovered through long-term research, and proposed the information prompting method, device, electronic device, and storage medium provided by the embodiments of the present application, which can more intuitively prompt the camera to have a visual display and text. Rotate to the maximum rotation angle to improve the effectiveness of the prompt information.
  • the specific information prompting method will be described in detail in the following embodiments.
  • FIG. 1 shows a network structure diagram of an application scenario of an embodiment of the present application.
  • the application scenario may include a smart home system 10, and the smart home system 10 may include an electronic device 100, a home device 200, a server 300 and The router 400, the electronic device can establish a wireless connection with the router 400, and the way of establishing a wireless connection between the home device 200 and the router 400 realizes data interaction between the electronic device 100 and the home device.
  • the electronic device 100 and the router 400 are connected in communication with the server 400 , and the electronic device 100 can perform data interaction with the home device 200 through the server 400 and the router 400 .
  • the home equipment 200 may be air conditioners, lighting fixtures, smart lights, cameras, smart sockets, wireless switches, smart curtain motors, smart speakers, and various sensors (eg, human sensors, door and window sensors, smoke alarms, etc.).
  • the electronic device 100 can remotely control the camera, for example, control the rotation and working parameters of the camera.
  • FIG. 2 shows a schematic flowchart of an information prompting method provided by an embodiment of the present application.
  • the information prompting method is used to more intuitively prompt that the camera has been rotated to the maximum rotation angle by means of visible pictures and texts, thereby improving the effectiveness of the prompting information.
  • the information prompting method is applied to the information prompting apparatus 500 shown in FIG. 12 and the electronic device 100 ( FIG. 13 ) equipped with the information prompting apparatus 500 .
  • the following will take an electronic device as an example to describe the specific process of this embodiment.
  • the electronic device applied in this embodiment may be a smart phone, a tablet computer, a wearable electronic device, etc., which is not limited here.
  • the flow shown in FIG. 2 will be described in detail below, wherein the electronic device includes a display screen, and the electronic device is used to connect with a rotatable camera, and the information prompting method may specifically include the following steps:
  • Step S110 Display the preview image collected by the camera on the display screen.
  • the preview image collected by the camera may be displayed in real time on the display screen of the electronic device.
  • the camera can be controlled by an electronic device to capture images, and the preview image captured by the camera can be displayed on the display screen of the electronic device; the camera can be controlled by other devices to capture images, and the display screen of the electronic device can display the captured images by the camera.
  • the preview image of the camera can be collected by manual operation of the camera, and the preview image collected by the camera can be displayed on the display screen of the electronic equipment; the image collection can be performed by the voice control camera, and the preview image collected by the camera can be displayed on the display screen of the electronic equipment, etc. , which is not limited here.
  • the camera can be controlled to rotate for image acquisition.
  • the camera can be controlled to rotate upward to perform image acquisition
  • the camera can be controlled to rotate downward to perform image acquisition
  • the camera can be controlled to rotate to the left for image acquisition
  • the camera can be controlled to rotate to the right.
  • image acquisition, etc. are not limited here.
  • the image collection performed by the camera may include video collection, photo collection, etc., which is not limited herein.
  • FIG. 3 shows a schematic diagram of a first interface of an electronic device provided by an embodiment of the present application.
  • the electronic device when the electronic device needs to control the camera for image acquisition, the electronic device can be controlled to open and display the current interface, and the current interface can include a first display area A1 and a second display area A2, wherein the first display area The area A1 may be used to display the preview image collected by the camera rotation, and the second display area A2 may be used to display the rotation control interface for the camera.
  • the first display area A1 can be set in the upper half area of the current interface, and the second display area A2 can be set in the lower half area of the current interface; the first display area A1 can be set in the current interface area , and the second display area A2 can be set in the right half of the current interface, etc., which is not limited here.
  • the user can control the rotation of the camera to capture images by operating the rotation control interface.
  • the rotation control interface can display a "disc” control control, and the user can move the "disc” control control in different directions to control the camera to rotate in different directions.
  • the "Disc” control moves in the same direction as the camera rotates.
  • a preview image captured by the camera may be displayed in real time in the first display area A1 of the electronic device.
  • the size of the first display area A1 can be adjusted.
  • the user controls to send the first adjustment instruction to the electronic device, and the electronic device can respond
  • the display area (ratio) of the first display area A1 on the display screen should be increased by the first adjustment instruction
  • the control sends the second adjustment instruction to the electronic device
  • the electronic device can reduce the display area (ratio) of the first display area A1 on the display screen in response to the second adjustment instruction.
  • the electronic device may trigger the first adjustment instruction or the second adjustment instruction according to the drag direction corresponding to the drag operation, which is not limited here. .
  • Step S120 when the camera rotates to the maximum rotation angle, display text prompt information in the first area of the display screen, and display color prompt information in the second area of the display screen, wherein the text prompt information and the color prompt information is used to prompt that the camera has been rotated to the maximum rotation angle.
  • the electronic device may preset and store the first area, or may temporarily set the first area during the process of controlling the camera to rotate for image capture, which is not limited herein.
  • the first area when the first area is preset, the first area may be preset to be fixed to a certain area of the display screen, for example, the first area may be preset to be fixed to the upper left corner of the display screen, or may be preset It can be set to be fixed in the lower left corner area of the display screen, can be preset to be fixed to the upper right corner area of the display screen, can be preset to be fixed to the lower right corner area of the display screen, etc., which are not limited here.
  • the first area when the first area is temporarily set in the process of controlling the rotation of the camera for image acquisition, the first area can be set according to the rotation direction of the camera. For example, when the rotation direction of the camera is "left", the The first area can be temporarily set on the left area of the display screen. When the rotation direction of the camera is "right", the first area can be temporarily set on the side area of the display screen. When the rotation direction of the camera is "up” , the first area can be temporarily set in the upper area of the display screen. When the rotation direction of the camera is "down”, the first area can be temporarily set in the lower area of the display screen, etc. limited.
  • the electronic device may pre-set and store the second area, or may temporarily set the second area during the process of controlling the camera to rotate for image capture, which is not limited herein.
  • the second area when the second area is preset, the second area may be preset to be fixed to a certain area of the display screen, for example, the second area may be preset to be fixed to the upper left corner of the display screen, or may be preset It can be set to be fixed in the lower left corner area of the display screen, can be preset to be fixed to the upper right corner area of the display screen, can be preset to be fixed to the lower right corner area of the display screen, etc., which are not limited here.
  • the second area when the second area is temporarily set in the process of controlling the rotation of the camera for image acquisition, the second area can be set according to the rotation direction of the camera. For example, when the rotation direction of the camera is "left", the The second area can be temporarily set on the left area of the display screen. When the rotation direction of the camera is "right", the second area can be temporarily set on the side area of the display screen. When the rotation direction of the camera is "up” , the second area can be temporarily set in the upper area of the display screen, and when the rotation direction of the camera is "down", the second area can be temporarily set in the lower area of the display screen, etc. limited.
  • the first area may be a certain area on the preview image displayed on the display screen
  • the second area may be a certain area on the preview image displayed on the display screen.
  • the first area can be used to display text prompt information
  • the second area can be used to display color prompt information
  • both the text prompt information and the color prompt information are used to prompt that the camera has been rotated to the maximum rotation angle.
  • the text prompt information can be displayed as a lightweight toast, wherein the text prompt information can include, for example, "turned to the edge", "turned to the maximum rotation angle", "can not continue to rotate", etc. , which is not limited here.
  • the color prompt information may be a single color or a mixture of multiple colors.
  • the color prompt information may be yellow, green, a mixture of yellow and green, etc., which is not limited herein.
  • the electronic device when controlling the camera to rotate for image acquisition, can monitor the signal sent by the camera, wherein, when monitoring and acquiring the signal sent by the camera indicating that the camera is rotated to the maximum rotation angle, it can be determined that the camera is rotated to The maximum rotation angle, the text prompt information can be displayed in the first area of the display screen, and the color prompt information can be displayed in the second area of the display screen, so as to more intuitively indicate that the camera has been rotated through visual picture and text visualization. To the maximum rotation angle, improve the effectiveness of the prompt information.
  • the electronic device may acquire the initial deflection angle of the camera before controlling the camera to rotate or when the camera starts to rotate, and determine the rotatable angle of the camera based on the maximum rotation angle of the camera and the initial deflection angle of the camera, Then, in the process of controlling the camera to rotate, it can be calculated whether the rotated angle of the camera has reached the rotatable angle.
  • the text prompt information can be displayed in the first area of the display screen, and the color prompt information can be displayed in the second area of the display screen, so as to more intuitively indicate that the camera has been rotated to the maximum rotation angle through the visual method of the screen and the text. Improve the effectiveness of prompt information.
  • FIG. 4 shows a schematic diagram of a second interface of an electronic device provided by an embodiment of the present application.
  • the text prompt information B1 can be displayed in the first area of the display screen, as shown in Figure 4, "turned to the edge", and in the second area of the display screen Display color prompt information B2, as shown in Figure 4 "mask area”.
  • a preview image collected by a camera is displayed on a display screen, and when the camera rotates to the maximum rotation angle, text prompt information is displayed in a first area of the display screen, and text prompt information is displayed in a second area of the display screen.
  • Display color prompt information among which, text prompt information and color prompt information are used to prompt that the camera has been rotated to the maximum rotation angle, so that the camera has been rotated to the maximum rotation angle more intuitively through visual picture and text visualization.
  • FIG. 5 shows a schematic flowchart of an information prompting method provided by another embodiment of the present application.
  • the method is applied to the above-mentioned electronic equipment, the electronic equipment includes a display screen, and the electronic equipment is used for connecting with a rotatable camera.
  • the following will describe the process shown in FIG. 5 in detail.
  • the information prompting method shown may specifically include: The following steps:
  • Step S210 Display the preview image collected by the camera on the display screen.
  • Step S220 when the camera rotates to the maximum rotation angle, display text prompt information in the first area of the display screen, and display color prompt information in the second area of the display screen, wherein the text prompt information and the color prompt information is used to prompt that the camera has been rotated to the maximum rotation angle.
  • steps S210-step S220 can refer to steps S110-step S120, and details are not repeated here.
  • Step S230 when the display duration of the text hint information and the color hint information reaches a preset display duration, cancel the display of the text hint information and the color hint information.
  • continuous timing can be performed from when the text prompt information starts to be displayed in the first area and the color prompt information starts to be displayed in the second area to detect the display duration of the acquired text prompt information and color prompt information.
  • the electronic device may preset and store a preset display duration, and the preset display duration is used as a basis for judging the display duration of the text prompt information and the color prompt information. Therefore, in this embodiment, after obtaining the display duration of the text prompt information and the color prompt information, the display time length of the text prompt information and the color prompt information can be compared with the preset display time length to judge the text prompt information and the color prompt information. Whether the display duration of the information reaches the preset display duration, wherein, when the judgment result indicates that the display duration of the text prompt information and the color prompt information reaches the preset display duration, the display of the text prompt information and the color prompt information can be canceled.
  • the text prompt information can be deleted in the first area, and the color prompt information can be deleted in the second area, so as to reduce the influence on the display of the screen in the preview image.
  • the judgment result represents the text prompt information and the color prompt information
  • the display duration of the device does not reach the preset display duration
  • the text prompt information can be displayed in the first area, and the color prompt information can be displayed in the second area, so as to improve the prompting effect to the user.
  • the preset display duration may include 2s.
  • Step S240 If no control instruction is received within the preset duration that the camera is at the maximum rotation angle, automatically control the camera to rotate from the position corresponding to the maximum rotation angle to the first position, wherein the The preset duration is longer than the preset display time.
  • the electronic device may preset and store a preset duration, and within the preset duration when the camera is at the maximum rotation angle, the electronic device may continuously monitor the control instruction.
  • the preset duration is longer than the preset display duration, for example, the preset duration may include 1 min.
  • the electronic device can control the camera in response to the control command.
  • the control command is a shooting command
  • the electronic device can control the The camera shoots photos at the maximum rotation angle.
  • the control command is a rotation command
  • the electronic device can control the camera to rotate from the position corresponding to the maximum rotation angle.
  • the electronic device can automatically control the camera to rotate from the position corresponding to the maximum rotation angle to the first position if no control command is received within the preset duration of the maximum rotation angle of the camera.
  • the first position can be any position from the position corresponding to the zero rotation angle to the position corresponding to the maximum rotation angle, so as to reduce the probability of the camera being damaged in the position corresponding to the maximum rotation angle for a long time.
  • the camera when the camera is located at a position between the position corresponding to the zero rotation angle and the position corresponding to the maximum rotation angle, the camera has room for rotation in different rotation directions (it can be rotated in the direction of the maximum rotation angle, or It can be rotated in the direction of zero rotation angle), then, when the camera is subjected to a rotation force, there is still room for rotation, so it will not be damaged due to forced rotation.
  • the camera when the camera is located at the position corresponding to the zero rotation angle, the camera can be accommodated in the casing. At this time, since the camera is protected by the casing, the camera can be prevented from being damaged by the impact of foreign objects.
  • a preview image collected by a camera is displayed on a display screen, and when it is obtained that the camera is rotated to the maximum rotation angle, text prompt information is displayed in a first area of the display screen, and a text prompt is displayed on the display screen.
  • the second area displays color prompt information, wherein the text prompt information and color prompt information are used to indicate that the camera has rotated to the maximum rotation angle.
  • the present embodiment also cancels the display of the text prompting information and the color prompting information when the text prompting information and the color prompting information are displayed for a preset display time, so as to ensure the cleanliness of the preview image interface.
  • this embodiment also automatically controls the camera to rotate to the first position when the camera is in the preset duration of the maximum rotation angle and does not receive a control command, so as to reduce the probability of damage to the camera.
  • FIG. 6 shows a schematic flowchart of an information prompting method provided by still another embodiment of the present application.
  • the method is applied to the above-mentioned electronic equipment, the electronic equipment includes a display screen, and the electronic equipment is used for connecting with a rotatable camera.
  • the following will describe the process shown in FIG. 6 in detail.
  • the information prompting method shown may specifically include: The following steps:
  • Step S310 Display the preview image collected by the camera on the display screen.
  • step S310 For the specific description of step S310, please refer to step S110, which will not be repeated here.
  • Step S320 When the camera is rotated to the maximum rotation angle, the rotation direction of the camera is acquired as the first rotation direction.
  • the rotation direction of the camera when the camera rotates to the maximum rotation angle, the rotation direction of the camera can be acquired as the first rotation direction.
  • the rotation direction of the camera when the rotation direction of the camera is obtained to be “left”, “left” can be used as the first rotation direction, and when the rotation direction of the camera is obtained to be “right”, “right” can be used as the first rotation direction.
  • Step S330 Acquire a first area corresponding to the first rotation direction and a second area corresponding to the first rotation direction in the display screen.
  • the first area is temporarily set in the process of controlling the rotation of the camera to perform image acquisition
  • the second area is temporarily set in the process of controlling the rotation of the camera to perform image acquisition.
  • the first area and the The second area may be determined according to the rotation direction of the camera.
  • the first area corresponding to the first rotation direction may be acquired in the display screen
  • the first area corresponding to the first rotation direction may be acquired in the display screen Second area.
  • FIG. 7 shows a schematic flowchart of step S330 of the information prompting method shown in FIG. 6 of the present application.
  • the flow shown in FIG. 7 will be described in detail below, and the method may specifically include the following steps:
  • Step S331 when the rotation direction of the camera faces the first side, determine the first area and the second area in an area of the display screen close to the first side.
  • the corresponding orientation of the first side may be used as the first rotation direction, and the first area and the second area are determined in the area of the display screen close to the first side area.
  • the first side is the left side
  • the first area and the second area may be determined in the left area of the display screen.
  • Step S332 When the rotation direction of the camera faces the second side, determine the first area and the second area in the area of the display screen close to the second side.
  • the corresponding orientation of the second side may be used as the first rotation direction, and the first area and the second area may be determined in the area of the display screen close to the second side. area.
  • the first area and the second area may be determined in the right area of the display screen.
  • Step S340 Display the text prompt information in the first area, and display the color prompt information in the second area, wherein the text prompt information and the color prompt information are used to prompt that the camera has Rotate to maximum rotation angle.
  • the first area can be determined in the upper left corner of the display screen, the text prompt information B1 can be displayed in the first area, and the display The left area of the screen determines the second area, and the color prompt information B2 is displayed in the second area.
  • FIG. 8 shows a schematic diagram of a third interface of an electronic device provided by an embodiment of the present application.
  • the first area can be determined in the upper right corner of the display screen
  • the text prompt information B1 can be displayed in the first area
  • the right area of the display screen can be determined In the second area
  • the color prompt information B2 is displayed in the second area.
  • a preview image collected by a camera is displayed on a display screen, and when the camera rotates to a maximum rotation angle, the rotation direction of the camera is obtained as the first rotation direction, and the first rotation direction is obtained on the display screen.
  • the first area corresponding to the rotation direction and the second area corresponding to the first rotation direction display text prompt information in the first area, and display color prompt information in the second area, wherein the text prompt information and the color prompt information are used for prompting
  • the camera has been rotated to the maximum rotation angle.
  • this embodiment also obtains the rotation direction of the camera as the first rotation direction, and acquires the first area and the second area corresponding to the first rotation direction in the display screen, thereby The obtained first area and second area are easier to be viewed, and the probability of reaching the prompt information is improved.
  • FIG. 9 shows a schematic flowchart of an information prompting method provided by another embodiment of the present application.
  • the method is applied to the above-mentioned electronic device, the electronic device includes a display screen, and the electronic device is used for connecting with a rotatable camera.
  • the following will describe the process shown in FIG. 9 in detail.
  • the information prompting method shown may specifically include: The following steps:
  • Step S410 Display the preview image collected by the camera on the display screen.
  • step S410 For the specific description of step S410, please refer to step S110, which will not be repeated here.
  • Step S420 When the camera is rotated to the maximum rotation angle, the rotation direction of the camera is acquired as the second rotation direction.
  • the rotation direction of the camera when the camera rotates to the maximum rotation angle, the rotation direction of the camera can be acquired as the second rotation direction.
  • the rotation direction of the camera when the rotation direction of the camera is obtained to be “left”, “left” can be used as the second rotation direction, and when the rotation direction of the camera is obtained to be “right”, “right” can be used as the second rotation direction.
  • Step S430 Acquire a first area with a fixed position and a second area corresponding to the second rotation direction in the display screen.
  • the first area is preset and stored, and the second area is temporarily set during the process of controlling the rotation of the camera to capture images. At this time, the position of the first area is fixed, and the second area can be adjusted according to the camera. to determine the direction of rotation.
  • a second area corresponding to the second rotation direction may be acquired in the display screen, and a preset and stored first area with a fixed position may be acquired .
  • the position of the first area is fixed at the upper left corner of the display screen.
  • the orientation corresponding to the first side can be used as the second rotation direction.
  • the upper left corner defines the first area
  • the second area is defined in the area close to the first side of the display screen.
  • the first area may be determined in the upper left corner of the display screen
  • the second area may be determined in the left area of the display screen.
  • the orientation corresponding to the second side can be taken as the second rotation direction.
  • the upper left corner defines the first area
  • the second area is defined in the area near the second side of the display screen.
  • the first area may be determined in the upper left corner of the display screen
  • the second area may be determined in the right area of the display screen.
  • Step S440 Display the text prompt information in the first area, and display the color prompt information in the second area, wherein the text prompt information and the color prompt information are used to prompt that the camera has Rotate to maximum rotation angle.
  • the position of the first area is fixed at the upper left corner of the display screen.
  • the first area can be determined at the upper left corner of the display screen.
  • the text prompt information B1 is displayed in the first area
  • the second area is determined in the left area of the display screen
  • the color prompt information B2 is displayed in the second area.
  • FIG. 10 shows a schematic diagram of a fourth interface of an electronic device provided by an embodiment of the present application.
  • the position of the first area is fixed at the upper left corner of the display screen.
  • the second rotation direction is "right"
  • the first area can be determined at the upper left corner of the display screen, and the text can be displayed in the first area.
  • Prompt information B1 and determine a second area in the right area of the display screen, and display color prompt information B2 in the second area.
  • the preview image collected by the camera is displayed on the display screen, when the camera rotates to the maximum rotation angle, the rotation direction of the camera is acquired as the second rotation direction, and the fixed position is acquired on the display screen.
  • text prompt information is displayed in the first area
  • color prompt information is displayed in the second area, wherein the text prompt information and color prompt information are used to indicate that the camera has been rotated to Maximum rotation angle.
  • this embodiment also obtains the rotation direction of the camera as the second rotation direction, and obtains the first area with a fixed position and the second area corresponding to the second rotation direction in the display screen. Therefore, the position of the acquired first area is fixed, which improves the cleanliness of the display screen interface, and the second area corresponding to the second rotation direction is acquired, so that the second area is easier to be viewed, and the probability of reaching the prompt information is improved.
  • FIG. 11 shows a schematic flowchart of an information prompting method provided by still another embodiment of the present application.
  • the method is applied to the above-mentioned electronic equipment, the electronic equipment includes a display screen, and the electronic equipment is used for connecting with a rotatable camera.
  • the following will describe the process shown in FIG. 11 in detail.
  • the information prompting method shown may specifically include: The following steps:
  • Step S510 Display the preview image collected by the camera on the display screen.
  • step S510 For the specific description of step S510, please refer to step S110, which will not be repeated here.
  • Step S520 When the camera rotates to the maximum rotation angle, obtain the ambient light brightness of the environment where the electronic device is located.
  • the electronic device when controlling the camera to rotate for image acquisition, can monitor the signal sent by the camera, wherein, when monitoring and obtaining the signal sent by the camera indicating that the camera is rotated to the maximum rotation angle, the electronic device can obtain the signal.
  • the ambient light brightness of the environment where the electronic device is located may be acquired through a light sensor built in the electronic device, which is not limited herein.
  • Step S530 Select the color prompt information corresponding to the ambient light brightness from the plurality of color prompt information as the target color prompt information.
  • the electronic device presets and stores multiple color prompt information, wherein the colors of the multiple color prompt information are different.
  • the multiple color prompt information may include "yellow” prompt information and “green” prompt information , “black” prompt information, “red” prompt information, etc., which are not limited here.
  • the color prompt information corresponding to the ambient light brightness can be selected from a plurality of color prompt information as the target color prompt information. It can be understood that when the ambient light brightness of the environment where the electronic device is located is high, the dark color prompt information can be selected from the multiple color prompt information as the target color prompt information. When the brightness is low, light-colored color prompt information can be selected from multiple color prompt information as the target color prompt information, so as to improve the display effect of the color prompt information and reduce the influence of ambient light brightness on the color prompt information.
  • a mapping relationship table may be established in advance, and the mapping relationship table includes the corresponding relationship between multiple ambient light levels and multiple color prompt information.
  • the relationship table acquires the color prompt information that has a corresponding relationship with the ambient light brightness of the environment where the electronic device is located from the plurality of color prompt information, as the target color prompt information.
  • Step S540 Display the text prompt information in the first area of the display screen, and display the target color prompt information in the second area of the display screen, wherein the text prompt information and the target color prompt The information is used to indicate that the camera has been rotated to the maximum rotation angle.
  • step S540 please refer to step S120, which will not be repeated here.
  • Yet another embodiment of the present application provides an information prompting method that displays a preview image collected by a camera on a display screen, and when the camera rotates to the maximum rotation angle, obtains the ambient light brightness of the environment where the electronic device is located, and obtains the ambient light brightness of the environment where the electronic device is located, and selects the information from multiple color prompts. Select the color prompt information corresponding to the ambient light brightness as the target color prompt information, display the text prompt information in the first area of the display screen, and display the target color prompt information in the second area of the display screen, wherein the text prompt information and the target color prompt information are displayed.
  • the color prompt information is used to indicate that the camera has been rotated to the maximum rotation angle.
  • this embodiment also obtains the target color prompt information corresponding to the ambient light brightness of the environment where the electronic device is located for prompting, so as to improve the probability of the target color prompt information being viewed.
  • FIG. 12 shows a block diagram of a module of an information prompting apparatus provided by an embodiment of the present application.
  • the information prompting device 500 is applied to the above-mentioned electronic equipment, the electronic equipment includes a display screen, and the electronic equipment is used for connecting with a rotatable camera. :, the preview image display module 510 and the prompt information display module 520, wherein:
  • the preview image display module 510 is configured to display the preview image collected by the camera on the display screen.
  • the prompt information display module 520 is configured to display text prompt information in the first area of the display screen and display color prompt information in the second area of the display screen when the camera rotates to the maximum rotation angle, wherein, The text prompt information and the color prompt information are used to prompt that the camera has been rotated to the maximum rotation angle.
  • the prompt information display module 520 includes: a first rotation direction acquisition sub-module, a first area acquisition sub-module and a first prompt information display sub-module, wherein:
  • the first rotation direction acquiring sub-module is configured to acquire the rotation direction of the camera as the first rotation direction when the camera rotates to the maximum rotation angle.
  • a first area acquisition sub-module configured to acquire a first area corresponding to the first rotation direction and a second area corresponding to the first rotation direction in the display screen.
  • the designated area acquisition sub-module includes: a first area acquisition unit and a second area acquisition unit, wherein:
  • a first area acquiring unit configured to determine the first area and the second area in an area of the display screen close to the first side when the rotation direction of the camera faces the first side.
  • a second area acquiring unit configured to determine the first area and the second area in an area of the display screen close to the second side when the rotation direction of the camera is toward the second side.
  • the first prompt information display sub-module is configured to display the text prompt information in the first area, and display the color prompt information in the second area.
  • the prompt information display module 520 includes: a second rotation direction acquisition sub-module, a second area acquisition sub-module and a second prompt information display sub-module, wherein:
  • the second rotation direction acquiring submodule is configured to acquire the rotation direction of the camera as the second rotation direction when the camera rotates to the maximum rotation angle.
  • the second area acquisition sub-module is configured to acquire, in the display screen, a first area with a fixed position and a second area corresponding to the second rotation direction.
  • the second prompt information display sub-module is configured to display the text prompt information in the first area, and display the color prompt information in the second area.
  • the prompt information display module 520 includes: an ambient light brightness acquisition sub-module, a color prompt information selection sub-module and a third prompt information display sub-module, wherein:
  • the ambient light brightness acquisition sub-module is configured to acquire the ambient light brightness of the environment where the electronic device is located when the camera rotates to the maximum rotation angle.
  • the color prompt information selection sub-module is configured to select the color prompt information corresponding to the ambient light brightness from the plurality of color prompt information as the target color prompt information.
  • the third prompt information display sub-module is configured to display the text prompt information in the first area of the display screen, and display the target color prompt information in the second area of the display screen.
  • the information prompting device 500 further includes: a prompting information cancellation module, wherein:
  • a prompt information cancellation module configured to cancel the display of the text prompt information and the color prompt information when the display time length of the text prompt information and the color prompt information reaches a preset display time length.
  • the information prompting device 500 further includes: a camera rotation control module, wherein:
  • a camera rotation control module configured to automatically control the camera to rotate from the position corresponding to the maximum rotation angle to the first position if no control command is received within the preset duration when the camera is at the maximum rotation angle, Wherein, the preset duration is longer than the preset display time.
  • the coupling between the modules may be electrical, mechanical or other forms of coupling.
  • each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist physically alone, or two or more modules may be integrated into one module.
  • the above-mentioned integrated modules can be implemented in the form of hardware, and can also be implemented in the form of software function modules.
  • FIG. 13 shows a structural block diagram of an electronic device 100 provided by an embodiment of the present application.
  • the electronic device 100 may be an electronic device capable of running an application program, such as a smart phone, a tablet computer, an electronic book, or the like.
  • the electronic device 100 in the present application may include one or more of the following components: a processor 110, a memory 120, a display screen 130, and one or more application programs, wherein the one or more application programs may be stored in the memory 120 and accessed by Configured to be executed by one or more processors 110, the one or more programs are configured to execute the methods described in the foregoing method embodiments.
  • the processor 110 may include one or more processing cores.
  • the processor 110 uses various interfaces and lines to connect various parts of the entire electronic device 100, and executes by running or executing the instructions, programs, code sets or instruction sets stored in the memory 120, and calling the data stored in the memory 120.
  • the processor 110 may adopt at least one of a digital signal processing (Digital Signal Processing, DSP), a Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), and a Programmable Logic Array (Programmable Logic Array, PLA).
  • DSP Digital Signal Processing
  • FPGA Field-Programmable Gate Array
  • PLA Programmable Logic Array
  • the processor 110 may integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU), a modem, and the like.
  • CPU Central Processing Unit
  • GPU Graphics Processing Unit
  • the CPU mainly handles the operating system, user interface and application programs
  • the GPU is used for rendering and drawing the content to be displayed
  • the modem is used for processing wireless communication. It can be understood that, the above-mentioned modem may not be integrated into the processor 110, and is implemented by a communication chip alone.
  • the memory 120 may include random access memory (Random Access Memory, RAM), or may include read-only memory (Read-Only Memory). Memory 120 may be used to store instructions, programs, codes, sets of codes, or sets of instructions.
  • the memory 120 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.) , instructions for implementing the following method embodiments, and the like.
  • the storage data area may also store data (such as phone book, audio and video data, chat record data) created by the electronic device 100 during use.
  • the display screen 130 is used to display information input by the user, information provided to the user, and various graphical user interfaces of the electronic device 100, which may be composed of graphics, text, icons, numbers, videos, and any combination thereof.
  • the display screen 130 may be a liquid crystal display (Liquid Crystal Display, LCD) or an organic light-emitting diode (Organic Light-Emitting Diode, OLED), which is not limited herein.
  • FIG. 14 shows a structural block diagram of a computer-readable storage medium provided by an embodiment of the present application.
  • the computer-readable medium 600 stores program codes, and the program codes can be invoked by the processor to execute the methods described in the above method embodiments.
  • the computer-readable storage medium 600 may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM.
  • the computer-readable storage medium 600 includes a non-transitory computer-readable storage medium.
  • Computer readable storage medium 600 has storage space for program code 610 to perform any of the method steps in the above-described methods. These program codes can be read from or written to one or more computer program products. Program code 610 may be compressed, for example, in a suitable form.
  • the camera rotation method, device, electronic device, and storage medium displayed by the embodiments of the present application display the preview image collected by the camera on the display screen.
  • Text prompt information is displayed, and color prompt information is displayed in the second area of the display screen, wherein the text prompt information and color prompt information are used to prompt that the camera has been rotated to the maximum rotation angle, so that the screen can be seen and the text can be seen.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Studio Devices (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请公开了一种信息提示方法、装置、电子设备以及存储介质,涉及智能家居技术领域。该方法应用于电子设备,该电子设备包括显示屏,电子设备用于与可转动的摄像头连接,所述方法包括:在显示屏显示摄像头采集的预览图像,当摄像头转动到最大转动角度时,在显示屏的第一区域显示文本提示信息,并在显示屏的第二区域显示颜色提示信息,其中,文本提示信息和颜色提示信息用于提示摄像头已转动到最大转动角度。本申请实施例提供的信息提示方法、装置、电子设备以及存储介质通过画面可视和文字可视的方式,更直观的提示摄像头已转动到最大转动角度,提升提示信息的有效性。

Description

信息提示方法、装置、电子设备以及存储介质
相关申请的交叉引用
本申请要求于2020年09月14日提交的申请号为CN202010962171.8的中国申请的优先权,其在此出于所有目的通过引用将其全部内容并入本文。
技术领域
本申请涉及智能家居技术领域,更具体地,涉及一种信息提示方法、装置、电子设备以及存储介质。
背景技术
在智能家居技术中,监控技术作为目前兴起的智能家居领域中的重要一环,被广泛的应用。在智能家居领域中,通常是通过安装的摄像头对房屋进行监控,用户可以通过在电子设备显示的控制界面对摄像头拍摄的位置进行控制,进而查看不同的监控位置区域内的监控内容。
发明内容
鉴于上述问题,本申请提出了一种信息提示方法、装置、电子设备以及存储介质,以解决上述问题。
第一方面,本申请实施例提供了一种信息提示方法,应用于电子设备,所述电子设备包括显示屏,所述电子设备用于与可转动的摄像头连接,所述方法包括:在所述显示屏显示所述摄像头采集的预览图像;当所述摄像头转动到最大转动角度时,在所述显示屏的第一区域显示文本提示信息,并在所述显示屏的第二区域显示颜色提示信息,其中,所述文本提示信息和所述颜色提示信息用于提示所述摄像头已转动到最大转动角度。
第二方面,本申请实施例提供了一种信息提示装置,应用于电子设备,所述电子设备包括显示屏,所述电子设备用于与可转动的摄像头连接,所述装置包括:预览图像显示模块,用于在所述显示屏显示所述摄像头采集的预览图像;提示信息显示模块,用于当所述摄像头转动到最大转动角度时,在所述显示屏的第一区域显示文本提示信息,并在所述显示屏的第二区域显示颜色提示信息,其中,所述文本提示信息和所述颜色提示信息用于提示所述摄像头已转动到最大转动角度。
第三方面,本申请实施例提供了一种电子设备,包括显示屏、存储器和处理器,所述显示屏和所述存储器耦接到所述处理器,所述存储器存储指令,当所述指令由所述处理器执行时所述处理器执行上述方法。
第四方面,本申请实施例提供了一种计算机可读取存储介质,所述计算机可读取存储介质中存储有程序代码,所述程序代码可被处理器调用执行上述方法。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。
图1示出了本申请实施例提供的应用场景的一种网络结构图;
图2示出了本申请一个实施例提供的信息提示方法的流程示意图;
图3示出了本申请实施例提供的电子设备的第一种界面示意图;
图4示出了本申请实施例提供的电子设备的第二种界面示意图;
图5示出了本申请又一个实施例提供的信息提示方法的流程示意图;
图6示出了本申请再一个实施例提供的信息提示方法的流程示意图;
图7示出了本申请的图6所示的信息提示方法的步骤S340的流程示意图;
图8示出了本申请实施例提供的电子设备的第三种界面示意图;
图9示出了本申请另一个实施例提供的信息提示方法的流程示意图;
图10示出了本申请实施例提供的电子设备的第四种界面示意图;
图11示出了本申请又再一个实施例提供的信息提示方法的流程示意图;
图12示出了本申请实施例提供的信息提示装置的模块框图;
图13示出了本申请实施例用于执行根据本申请实施例的信息提示方法的电子设备的框图;
图14示出了本申请实施例的用于保存或者携带实现根据本申请实施例的信息提示方法的程序代码的存储单元。
具体实施方式
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。
在智能家居技术中,监控技术作为目前兴起的智能家居领域中的重要一环,被广泛的应用。在监控技术中,通常在房屋内安装摄像头,以实现对房屋内的监控,另外用户可以通过电子设备(例如智能手机、平板电脑等)对监控画面进行查看,还可以通过电子设备对摄像头的拍摄位置进行远程的控制和调整。
在相关技术中,用户通过电子设备对摄像头的拍摄位置进行远程的控制和调整时,通常是通过电子设备远程发送控制指令,并且实时观察监控画面,对摄像头进行上、下、左、右四个方向的转动,从而使摄像头的视野范围为用户需求查看的位置所处范围。当然,也有的相关技术中,可以把摄像头的拍摄区域所处位置设为常看位置,并记录该常看位置对应的角度,当用户下次需求查看该常看位置的监控画面时,通过选择该常看位置,即可快速控制摄像头转到对应记录的角度,方便用户查看某个特定地点的监控画面。
目前市面上非360°转动的摄像头,其在往某个方向进行转动时会达到最大转动角度,并无法再继续往该方向进行转动,此时,用户是无法获知该摄像头的转动角度时,即,无法获知摄像头已转动至最大转动角度,因此,通常需要提示用户摄像头在该方向上已转动至最大转动角度(极限位置),无法再继续转动。其中,发明人发现,可以通过在预览图像的中央区域弹出消息提示框的方式提示摄像头已转动至最大转动角度,或者,可以通过在预览图像的左上角以缩略图的方式提示摄像头在某个方向已转动至最大转动角度,然而,如果在预览图像的中央区域弹出消息提示框的方式,会遮挡预览图像的画面内容,而如果在预览图像的外部区域弹出消息提示框的方式,又会造成用户的视线离开画面内容,用户体验不佳,另外,在左上角以缩略图的提示方式不够直观,用户体验不佳。
针对上述问题,发明人经过长期的研究发现,并提出了本申请实施例提供的信息提示方法、装置、电子设备以及存储介质,通过画面可视和文字可视的方式,更直观的提示摄像头已转动到最大转动角度,提升提示信息的有效性。其中,具体的信息提示方法在后续的实施例中进行详细的说明。
下面将针对可用于本申请实施例提供的信息提示方法的应用场景进行说明。
请参阅图1,图1示出了为本申请实施例应用场景的一种网络结构图,应用场景可以包括智能家居系统10,智能家居系统10可以包括电子设备100、家居设备200、服务器300以及路由器400,电子设备可以与路由器400建立无线连接,并且家居设备200与路由器400建立无线连接的方式,实现电子设备100与家居设备之间的数据交互。另外,电子设备100以及路由器400与服务器400通信连接,电子设备100可以通过服务器400以及路由器400,与家居设备200进行数据交互。家居设备200可以是空调、照明灯具、智能灯、摄像头、智能插座、无线开关、智能窗帘电机、智能音箱以及各类传感器(例如人体传感器、门窗传感器、烟雾报警器等)。通过以上数据交互的方式,电子设备100可以实现远程对摄像头进行控制,例如,控制摄像头的转动、工作参数等。
请参阅图2,图2示出了本申请一个实施例提供的信息提示方法的流程示意图。所 述信息提示方法用于通过画面可视和文字可视的方式,更直观的提示摄像头已转动到最大转动角度,提升提示信息的有效性。在具体的实施例中,所述信息提示方法应用于如图12所示的信息提示装置500以及配置有信息提示装置500的电子设备100(图13)。下面将以电子设备为例,说明本实施例的具体流程,当然,可以理解的,本实施例所应用的电子设备可以为智能手机、平板电脑、穿戴式电子设备等,在此不做限定。下面将针对图2所示的流程进行详细的阐述,其中,该电子设备包括显示屏,且该电子设备用于与可转动的摄像头连接,所述信息提示方法具体可以包括以下步骤:
步骤S110:在所述显示屏显示所述摄像头采集的预览图像。
在本实施例中,可以在电子设备的显示屏实时显示摄像头采集的预览图像。
在一些实施方式中,可以通过电子设备控制摄像头进行图像采集,并在电子设备的显示屏显示摄像头采集的预览图像;可以通过其他设备控制摄像头进行图像采集,并在电子设备的显示屏显示摄像头采集的预览图像;可以通过人工操作摄像头进行图像采集,并在电子设备的显示屏显示摄像头采集的预览图像;可以通过语音控制摄像头进行图像采集,并在电子设备的显示屏显示摄像头采集的预览图像等,在此不做限定。
其中,作为一种方式,可以控制摄像头转动进行图像采集,例如,可以控制摄像头向上转动进行图像采集、控制摄像头向下转动进行图像采集、控制摄像头向左转动进行图像采集、控制摄像头向右转动进行图像采集等,在此不做限定。其中,摄像头进行图像采集可以包括进行视频采集、进行照片采集等,在此不做限定。
以通过电子设备控制摄像头进行图像采集为例。请参阅图3,图3示出了本申请实施例提供的电子设备的第一种界面示意图。如图3所示,当需要通过电子设备控制摄像头进行图像采集时,可以控制电子设备打开并显示当前界面,当前界面可以包括第一显示区域A1和第二显示区域A2,其中,该第一显示区域A1可以用于显示由摄像头转动采集的预览图像,该第二显示区域A2可以用于显示针对摄像头的转动控制界面。作为一种方式,该第一显示区域A1可以设置于当前界面的上半部区域,且第二显示区域A2可以设置于当前界面的下半部区域;该第一显示区域A1可以设置于当前界面的左半部区域,且第二显示区域A2可以设置于当前界面的右半部区域等,在此不做限定。
在一些实施方式中,用户可以通过操作转动控制界面,以控制摄像头转动进行图像采集。如图3所示,该转动控制界面可以显示有“圆盘”控制控件,用户可以通过操作“圆盘”控制控件朝向不同的方向移动,以控制摄像头朝向不同的方转动,其中,用户操作“圆盘”控制控件移动的方向与摄像头转动的方向一致。
在一些实施方式中,如图3所示,在控制摄像头转动进行图像采集时,可以在电子设备的第一显示区域A1实时显示摄像头采集的预览图像。作为一种方式,该第一显示区域A1的大小可以调整,例如,当用户期望在显示屏以较大显示区域对预览图像进行显示时,控制发送第一调整指令至电子设备,电子设备可以响应该第一调整指令增大第一显示区域A1在显示屏的显示面积(占比),当用户期望在显示屏以较小显示区域对预览图像进行显示时,控制发送第二调整指令至电子设备,电子设备可以响应该第二调整指令减小第一显示区域A1在显示屏的显示面积(占比)。在一些实施方式中,电子设备可以在检测到作用于第一显示区域A1的拖动操作时,根据拖动操作对应的拖动方向触发第一调整指令或第二调整指令,在此不做限定。
步骤S120:当所述摄像头转动到最大转动角度时,在所述显示屏的第一区域显示文本提示信息,并在所述显示屏的第二区域显示颜色提示信息,其中,所述文本提示信息和所述颜色提示信息用于提示所述摄像头已转动到最大转动角度。
在一些实施方式中,电子设备可以预先设置并存储有第一区域,也可以在控制摄像头转动进行图像采集的过程中临时设置第一区域,在此不做限定。其中,当该第一区域为预先设置时,该第一区域可以预先设置为固定于显示屏的某个区域,例如,该第一区域可以预先设置为固定于显示屏的左上角区域、可以预先设置为固定于显示屏的左下角区域、可以预先设 置为固定于显示屏的右上角区域、可以预先设置为固定于显示屏的右下角区域等,在此不做限定。其中,当该第一区域为在控制摄像头转动进行图像采集的过程中临时设置时,该第一区域可以根据摄像头的转动方向进行设置,例如,当摄像头的转动方向为“左”时,则该第一区域可以临时设置于显示屏的左侧区域,当摄像头的转动方向为“右”时,则该第一区域可以临时设置于显示屏的又侧区域,当摄像头的转动方向为“上”时,则该第一区域可以临时设置于显示屏的上侧区域,当摄像头的转动方向为“下”时,则该第一区域可以临时设置于显示屏的下侧区域等,在此不做限定。
在一些实施方式中,电子设备可以预先设置并存储有第二区域,也可以在控制摄像头转动进行图像采集的过程中临时设置第二区域,在此不做限定。其中,当该第二区域为预先设置时,该第二区域可以预先设置为固定于显示屏的某个区域,例如,该第二区域可以预先设置为固定于显示屏的左上角区域、可以预先设置为固定于显示屏的左下角区域、可以预先设置为固定于显示屏的右上角区域、可以预先设置为固定于显示屏的右下角区域等,在此不做限定。其中,当该第二区域为在控制摄像头转动进行图像采集的过程中临时设置时,该第二区域可以根据摄像头的转动方向进行设置,例如,当摄像头的转动方向为“左”时,则该第二区域可以临时设置于显示屏的左侧区域,当摄像头的转动方向为“右”时,则该第二区域可以临时设置于显示屏的又侧区域,当摄像头的转动方向为“上”时,则该第二区域可以临时设置于显示屏的上侧区域,当摄像头的转动方向为“下”时,则该第二区域可以临时设置于显示屏的下侧区域等,在此不做限定。
在一些实施方式中,该第一区域可以为显示屏显示的预览图像上的某个区域,该第二区域可以为显示屏显示的预览图像上的某个区域。那么,当摄像头转动到最大转动角度时,可以在预览图像的第一区域显示文本提示信息,并在预览图像的第二区域显示颜色提示信息。
在一些实施方式中,该第一区域可以用于显示文本提示信息,第二区域可以用于显示颜色提示信息,该文本提示信息和颜色提示信息均用于提示摄像头已转动到最大转动角度。作为一种方式,该文本提示信息可以以轻量的toast进行展示,其中,该文本提示信息例如可以包括“已转到边缘”、“已转到最大转动角度”、“已无法继续转动”等,在此不做限定。作为一种方式,该颜色提示信息可以为单色、也可以为多色混合,例如,该颜色提示信息可以为黄色、绿色、黄色和绿色混合等,在此不做限定。
在一些实施方式中,在控制摄像头转动进行图像采集时,电子设备可以监听摄像头发送的信号,其中,当监听并获取到摄像头发送的指示摄像头转动到最大转动角度的信号时,可以确定摄像头转动到最大转动角度,则可以在显示屏的第一区域显示文本提示信息,并在显示屏的第二区域显示颜色提示信息,以通过画面可视和文字可视的方式,更直观的提示摄像头已转动到最大转动角度,提升提示信息的有效性。
在一些实施方式中,电子设备可以在控制摄像头转动之前或者控制摄像头开始转动时,获取摄像头的初始偏转角度,并基于摄像头的最大转动角度和摄像头的初始偏转角度,确定该摄像头的可转动角度,那么,在控制摄像头进行转动的过程中,可以计算摄像头已转动的角度是否已达到可转动角度,当计算到摄像头已转动的角度已达到可转动角度时,可以确定摄像头转动到最大转动角度,则可以在显示屏的第一区域显示文本提示信息,并在显示屏的第二区域显示颜色提示信息,以通过画面可视和文字可视的方式,更直观的提示摄像头已转动到最大转动角度,提升提示信息的有效性。
请参阅图4,图4示出了本申请实施例提供的电子设备的第二种界面示意图。如图4所示,当摄像头转动到最大转动角度时,可以在显示屏的第一区域显示文本提示信息B1,如图4所示的“已转到边缘”,并在显示屏的第二区域显示颜色提示信息B2,如图4所示的“蒙版区域”。
本申请一个实施例提供的信息提示方法,在显示屏显示摄像头采集的预览图像,当摄像头转动到最大转动角度时,在显示屏的第一区域显示文本提示信息,并在显示屏的第二区域显示颜色提示信息,其中,文本提示信息和颜色提示信息用于提示摄像头已转动到 最大转动角度,从而通过画面可视和文字可视的方式,更直观的提示摄像头已转动到最大转动角度,提升提示信息的有效性。
请参阅图5,图5示出了本申请又一个实施例提供的信息提示方法的流程示意图。该方法应用于上述电子设备,该电子设备包括显示屏,且该电子设备用于与可转动的摄像头连接,下面将针对图5所示的流程进行详细的阐述,所示信息提示方法具体可以包括以下步骤:
步骤S210:在所述显示屏显示所述摄像头采集的预览图像。
步骤S220:当所述摄像头转动到最大转动角度时,在所述显示屏的第一区域显示文本提示信息,并在所述显示屏的第二区域显示颜色提示信息,其中,所述文本提示信息和所述颜色提示信息用于提示所述摄像头已转动到最大转动角度。
其中,步骤S210-步骤S220的具体描述请参阅步骤S110-步骤S120,在此不再赘述。
步骤S230:当所述文本提示信息和所述颜色提示信息的显示时长达到预设显示时长时,取消所述文本提示信息和所述颜色提示信息的显示。
在本实施例中,可以从文本提示信息开始显示于第一区域和颜色提示信息开始显示于第二区域时开始进行持续的计时,以检测获取文本提示信息和颜色提示信息的显示时长。
在一些实施方式中,该电子设备可以预先设置并存储有预设显示时长,该预设显示时长用于作为文本提示信息和颜色提示信息的显示时长的判断依据。因此,在本实施例中,在获取文本提示信息和颜色提示信息的显示时长后,可以将文本提示信息和颜色提示信息的显示时长与预设显示时长进行比较,以判断文本提示信息和颜色提示信息的显示时长是否达到预设显示时长,其中,当判断结果表征文本提示信息和颜色提示信息的显示时长达到预设显示时长时,可以取消文本提示信息和颜色提示信息的显示。作为一种方式,可以在第一区域删除该文本提示信息,并在第二区域删除该颜色提示信息,以减少对预览图像中的画面的显示影响,当判断结果表征文本提示信息和颜色提示信息的显示时长没有达到预设显示时长时,可以继续保持将文本提示信息显示在第一区域,并保持将颜色提示信息显示于第二区域,以提升对用户的提示作用。作为一种方式,该预设显示时长可以包括2s。
步骤S240:若在所述摄像头处于所述最大转动角度的预设持续时长内未接收到控制指令,自动控制所述摄像头从所述最大转动角度对应的位置回转至第一位置,其中,所述预设持续时长大于所述预设显示时长。
在一些实施方式中,该电子设备可以预先设置并存储有预设持续时长,在摄像头处于最大转动角度的预设持续时长内,电子设备可以持续监听控制指令。作为一种方式,该预设持续时长大于预设显示时长,例如,预设持续时长可以包括1min。
其中,若在摄像头处于最大转动角度的预设持续时长内接收到控制指令时,则电子设备可以响应该控制指令对摄像头进行控制,例如,当该控制指令为拍摄指令时,则电子设备可以控制摄像头在最大转动角度进行照片拍摄,当该控制指令为回转指令时,则电子设备可以控制摄像头从最大转动角度对应的位置回转。
其中,若在摄像头处于最大转动角度的预设持续时长内没有接收到控制指令时,则电子设备可以自动控制摄像头从最大转动角度对应的位置回转至第一位置。作为一种方式,该第一位置可以是从零转动角度对应的位置到最大转动角度对应的位置之间的任意位置,以降低摄像头长期处于最大转动角度对应的位置被损坏的几率。例如,当摄像头位于零转动角度对应的位置到最大转动角度对应的位置之间的某个位置时,该摄像头在不同的转动方向上均留有转动空间(可以朝向最大转动角度的方向转动,也可以朝向零转动角度的方向转动),那么,当摄像头受到转动力时,由于仍留有转动空间,不至于受力转动造成损坏。又例如,当摄像头位于零转动角度对应的位置时,该摄像头可以收容于壳体内,此时,由于摄像头受到壳体的保护,可以避免摄像头受到外物的撞击而损坏。
本申请又一个实施例提供的信息提示方法,在显示屏显示摄像头采集的预览图像,当获取到摄像头转动到最大转动角度时,在显示屏的第一区域显示文本提示信息,并在 显示屏的第二区域显示颜色提示信息,其中,文本提示信息和颜色提示信息用于提示摄像头已转动到最大转动角度,当文本提示信息和颜色提示信息的显示时长达到预设显示时长时,取消文本提示信息和颜色提示信息的显示,若摄像头处于最大转动角度的预设时长内未接收到控制指令,自动控制摄像头从最大转动角度对应的位置回转至第一位置,其中,预设持续时长大于预设显示时长。相较于图2所示的信息提示方式,本实施例还在文本提示信息和颜色提示信息显示预设显示时长时,取消文本提示信息和颜色提示信息的显示,以保证预览图像界面的洁净。另外,本实施例还在摄像头处于最大转动角度的预设持续时长内没有接收到控制指令时,自动控制摄像头回转至第一位置,以减少对摄像头的损坏几率。
请参阅图6,图6示出了本申请再一个实施例提供的信息提示方法的流程示意图。该方法应用于上述电子设备,该电子设备包括显示屏,且该电子设备用于与可转动的摄像头连接,下面将针对图6所示的流程进行详细的阐述,所示信息提示方法具体可以包括以下步骤:
步骤S310:在所述显示屏显示所述摄像头采集的预览图像。
其中,步骤S310的具体描述请参阅步骤S110,在此不再赘述。
步骤S320:当所述摄像头转动到最大转动角度时,获取所述摄像头的转动方向作为第一转动方向。
在一些实施方式中,当摄像头转动到最大转动角度时,可以获取摄像头的转动方向作为第一转动方向。例如,当获取到摄像头的转动方向朝向“左”时,可以将“左向”作为第一转动方向,当获取到摄像头的转动方向朝向“右”时,可以将“右向”作为第一转动方向。
步骤S330:在所述显示屏中获取与所述第一转动方向对应的第一区域和与所述第一转动方向对应的第二区域。
在本实施例中,该第一区域为在控制摄像头转动进行图像采集的过程中临时设置,且第二区域为在控制摄像头转动进行图像采集的过程中临时设置,此时,该第一区域和第二区域可以根据摄像头的转动方向进行确定。在一些实施方式中,在获取摄像头的转动方向作为第一转动方向时,则可以在显示屏中获取与第一转动方向对应的第一区域,并在显示屏中获取与第一转动方向对应的第二区域。
请参阅图7,图7示出了本申请的图6所示的信息提示方法的步骤S330的流程示意图。下面将针对图7所示的流程进行详细的阐述,所述方法具体可以包括以下步骤:
步骤S331:当所述摄像头的转动方向朝向第一侧时,在所述显示屏靠近所述第一侧的区域中确定所述第一区域和所述第二区域。
在一些实施方式中,当摄像头的转动方向朝向第一侧时,则可以将第一侧对应的朝向作为第一转动方向,并在显示屏靠近第一侧的区域中确定第一区域和第二区域。例如,当第一侧为左侧时,可以在显示屏的左侧区域中确定第一区域和第二区域。
步骤S332:当所述摄像头的转动方向朝向第二侧时,在所述显示屏靠近所述第二侧的区域中确定所述第一区域和所述第二区域。
在一些实施方式中,当摄像头的转动方向朝向第二侧时,则可以将第二侧对应的朝向作为第一转动方向,并在显示屏靠近第二侧的区域中确定第一区域和第二区域。例如,当第二侧为右侧时,可以在显示屏的右侧区域中确定第一区域和第二区域。
步骤S340:在所述第一区域显示所述文本提示信息,并在所述第二区域显示所述颜色提示信息,其中,所述文本提示信息和所述颜色提示信息用于提示所述摄像头已转动到最大转动角度。
请继续参阅图4,如图4所示,当第一转动方向为“左向”时,则可以在显示屏的左上角确定第一区域,在第一区域显示文本提示信息B1,并在显示屏的左侧区域确定第二区域,在第二区域显示颜色提示信息B2。
请参阅图8,图8示出了本申请实施例提供的电子设备的第三种界面示意图。如图8所 示,当第一转动方向为“右向”时,则可以在显示屏的右上角确定第一区域,在第一区域显示文本提示信息B1,并在显示屏的右侧区域确定第二区域,在第二区域显示颜色提示信息B2。
本申请再一个实施例提供的信息提示方法,在显示屏显示摄像头采集的预览图像,当摄像头转动到最大转动角度时,获取摄像头的转动方向作为第一转动方向,在显示屏中获取与第一转动方向对应的第一区域和与第一转动方向对应的第二区域,在第一区域显示文本提示信息,并在第二区域显示颜色提示信息,其中,文本提示信息和颜色提示信息用于提示摄像头已转动到最大转动角度。相较于图2所示的信息提示方法,本实施例还通过获取摄像头的转动方向作为第一转动方向,并在显示屏中获取与第一转动方向对应的第一区域和第二区域,从而使获取的第一区域和第二区域更容易被查看到,提升提示信息的触达概率。
请参阅图9,图9示出了本申请另一个实施例提供的信息提示方法的流程示意图。该方法应用于上述电子设备,该电子设备包括显示屏,且该电子设备用于与可转动的摄像头连接,下面将针对图9所示的流程进行详细的阐述,所示信息提示方法具体可以包括以下步骤:
步骤S410:在所述显示屏显示所述摄像头采集的预览图像。
其中,步骤S410的具体描述请参阅步骤S110,在此不再赘述。
步骤S420:当所述摄像头转动到最大转动角度时,获取所述摄像头的转动方向作为第二转动方向。
在一些实施方式中,当摄像头转动到最大转动角度时,可以获取摄像头的转动方向作为第二转动方向。例如,当获取到摄像头的转动方向朝向“左”时,可以将“左向”作为第二转动方向,当获取到摄像头的转动方向朝向“右”时,可以将“右向”作为第二转动方向。
步骤S430:在所述显示屏中获取位置固定的第一区域和与所述第二转动方向对应的第二区域。
在本实施例中,该第一区域为预先设置并存储,且第二区域为在控制摄像头转动进行图像采集的过程中临时设置,此时,该第一区域位置固定,第二区域可以根据摄像头的转动方向进行确定。在一些实施方式中,在获取摄像头的转动方向作为第二转动方向时,则可以在显示屏中获取与第二转动方向对应的第二区域,并获取预先设置并存储的位置固定的第一区域。
在一些实施方式中,假设第一区域的位置固定于显示屏的左上角,当摄像头的转动方向朝向第一侧时,则可以将第一侧对应的朝向作为第二转动方向,在显示屏的左上角确定第一区域,并在靠近显示屏的第一侧的区域中确定第二区域。例如,当第一侧为左侧时,可以在显示屏的左上角确定第一区域,并在显示屏的左侧区域中确定第二区域。
在一些实施方式中,假设第一区域的位置固定于显示屏的左上角,当摄像头的转动方向朝向第二侧时,则可以将第二侧对应的朝向作为第二转动方向,在显示屏的左上角确定第一区域,并在靠近显示屏的第二侧的区域中确定第二区域。例如,当第二侧为右侧时,可以在显示屏的左上角确定第一区域,并在显示屏的右侧区域中确定第二区域。
步骤S440:在所述第一区域显示所述文本提示信息,并在所述第二区域显示所述颜色提示信息,其中,所述文本提示信息和所述颜色提示信息用于提示所述摄像头已转动到最大转动角度。
请继续参阅图4,如图4所示,第一区域的位置固定于显示屏的左上角,当第而转动方向为“左向”时,则可以在显示屏的左上角确定第一区域,在第一区域显示文本提示信息B1,并在显示屏的左侧区域确定第二区域,在第二区域显示颜色提示信息B2。
请参阅图10,图10示出了本申请实施例提供的电子设备的第四种界面示意图。如图10所示,第一区域的位置固定于显示屏的左上角,当第二转动方向为“右向”时,则可以在显示屏的左上角确定第一区域,在第一区域显示文本提示信息B1,并在显示屏的右侧区域确定 第二区域,在第二区域显示颜色提示信息B2。
本申请另一个实施例提供的信息提示方法,在显示屏显示摄像头采集的预览图像,当摄像头转动到最大转动角度时,获取摄像头的转动方向作为第二转动方向,在显示屏中获取位置固定的第一区域和与第二转动方向对应的第二区域,在第一区域显示文本提示信息,并在第二区域显示颜色提示信息,其中,文本提示信息和颜色提示信息用于提示摄像头已转动到最大转动角度。相较于图2所示的信息提示方法,本实施例还通过获取摄像头的转动方向作为第二转动方向,并在显示屏中获取位置固定的第一区域和于第二转动方向对应的第二区域,从而使获取的第一区域位置固定,提升显示屏界面的整洁,以及获取和第二转动方向对应的第二区域,使第二区域更容易被查看到,提升提示信息的触达概率。
请参阅图11,图11示出了本申请又再一个实施例提供的信息提示方法的流程示意图。该方法应用于上述电子设备,该电子设备包括显示屏,且该电子设备用于与可转动的摄像头连接,下面将针对图11所示的流程进行详细的阐述,所示信息提示方法具体可以包括以下步骤:
步骤S510:在所述显示屏显示所述摄像头采集的预览图像。
其中,步骤S510的具体描述请参阅步骤S110,在此不再赘述。
步骤S520:当所述摄像头转动到最大转动角度时,获取所述电子设备所处环境的环境光亮度。
在一些实施方式中,在控制摄像头转动进行图像采集时,电子设备可以监听摄像头发送的信号,其中,当监听并获取到摄像头发送的指示摄像头转动到最大转动角度的信号时,则可以获取电子设备所处环境的环境光亮度。作为一种方式,可以通过电子设备内置的光线传感器获取电子设备所处环境的环境光亮度,在此不做限定。
步骤S530:从多个颜色提示信息中选取与所述环境光亮度对应的颜色提示信息,作为目标颜色提示信息。
在一些实施方式中,电子设备预先设置并存储有多个颜色提示信息,其中,多个颜色提示信息的颜色不同,例如,多个颜色提示信息可以包括“黄色”提示信息、“绿色”提示信息、“黑色”提示信息、“红色”提示信息等,在此不做限定。
在本实施例中,在获取电子设备所处环境的环境光亮度后,可以从多个颜色提示信息中选取与环境光亮度对应的颜色提示信息,作为目标颜色提示信息。可以理解的,当电子设备所处环境的环境光亮度较高时,则可以从多个颜色提示信息中选择深色系的颜色提示信息作为目标颜色提示信息,当电子设备所处环境的环境光亮度较低时,则可以从多个颜色提示信息中选择浅色系的颜色提示信息作为目标颜色提示信息,以提升颜色提示信息的显示效果,减少环境光亮度对颜色提示信息的影响。
在一些实施方式中,可以预先建立映射关系表,该映射关系表包括多个环境光亮度和多个颜色提示信息的对应关系,则在获取电子设备所处环境的环境光亮度后,可以基于映射关系表从多个颜色提示信息中获取与电子设备所处环境的环境光亮度存在对应关系的颜色提示信息,作为目标颜色提示信息。
步骤S540:在所述显示屏的第一区域显示所述文本提示信息,并在所述显示屏的第二区域显示所述目标颜色提示信息,其中,所述文本提示信息和所述目标颜色提示信息用于提示所述摄像头已转动到最大转动角度。
其中,步骤S540的具体描述请参阅步骤S120,在此不再赘述。
本申请又再一个实施例提供的信息提示方法,在显示屏显示摄像头采集的预览图像,当摄像头转动到最大转动角度时,获取电子设备所处环境的环境光亮度,从多个颜色提示信息中选取与环境光亮度对应的颜色提示信息,作为目标颜色提示信息,在显示屏的第一区域显示文本提示信息,并在显示屏的第二区域显示目标颜色提示信息,其中,文本提示信息和目标颜色提示信息用于提示摄像头已转动到最大转动角度。相较于图2 所示的信息提示方法,本实施例还获取与电子设备所处环境的环境光亮度对应的目标颜色提示信息进行提示,以提升目标颜色提示信息被查看到的几率。
请参阅图12,图12示出了本申请实施例提供的信息提示装置的模块框图。该信息提示装置500应用于上述电子设备,该电子设备包括显示屏,且该电子设备用于与可转动的摄像头连接,下面将针对图12所示的框图进行阐述,所述信息提示装置500包括:、预览图像显示模块510以及提示信息显示模块520,其中:
预览图像显示模块510,用于在所述显示屏显示所述摄像头采集的预览图像。
提示信息显示模块520,用于当所述摄像头转动到最大转动角度时,在所述显示屏的第一区域显示文本提示信息,并在所述显示屏的第二区域显示颜色提示信息,其中,所述文本提示信息和所述颜色提示信息用于提示所述摄像头已转动到最大转动角度。
进一步地,所述提示信息显示模块520包括:第一转动方向获取子模块、第一区域获取子模块以及第一提示信息显示子模块,其中:
第一转动方向获取子模块,用于当所述摄像头转动到最大转动角度时,获取所述摄像头的转动方向作为第一转动方向。
第一区域获取子模块,用于在所述显示屏中获取与所述第一转动方向对应的第一区域和与所述第一转动方向对应的第二区域。
进一步地,所述指定区域获取子模块包括:第一区域获取单元和第二区域获取单元,其中:
第一区域获取单元,用于当所述摄像头的转动方向朝向第一侧时,在所述显示屏靠近所述第一侧的区域中确定所述第一区域和所述第二区域。
第二区域获取单元,用于当所述摄像头的转动方向朝向第二侧时,在所述显示屏靠近所述第二侧的区域中确定所述第一区域和所述第二区域。
第一提示信息显示子模块,用于在所述第一区域显示所述文本提示信息,并在所述第二区域显示所述颜色提示信息。
进一步地,所述提示信息显示模块520包括:第二转动方向获取子模块、第二区域获取子模块以及第二提示信息显示子模块,其中:
第二转动方向获取子模块,用于当所述摄像头转动到最大转动角度时,获取所述摄像头的转动方向作为第二转动方向。
第二区域获取子模块,用于在所述显示屏中获取位置固定的第一区域和与所述第二转动方向对应的第二区域。
第二提示信息显示子模块,用于在所述第一区域显示所述文本提示信息,并在所述第二区域显示所述颜色提示信息。
进一步地,所述提示信息显示模块520包括:环境光亮度获取子模块、颜色提示信息选取子模块以及第三提示信息显示子模块,其中:
环境光亮度获取子模块,用于当所述摄像头转动到最大转动角度时,获取所述电子设备所处环境的环境光亮度。
颜色提示信息选取子模块,用于从多个颜色提示信息中选取与所述环境光亮度对应的颜色提示信息,作为目标颜色提示信息。
第三提示信息显示子模块,用于在所述显示屏的第一区域显示所述文本提示信息,并在所述显示屏的第二区域显示所述目标颜色提示信息。
进一步地,所述信息提示装置500还包括:提示信息取消模块,其中:
提示信息取消模块,用于当所述文本提示信息和所述颜色提示信息的显示时长达到预设显示时长时,取消所述文本提示信息和所述颜色提示信息的显示。
进一步地,所述信息提示装置500还包括:摄像头回转控制模块,其中:
摄像头回转控制模块,用于若在所述摄像头处于所述最大转动角度的预设持续时长内未接收到控制指令,自动控制所述摄像头从所述最大转动角度对应的位置回转至第一位置,其 中,所述预设持续时长大于所述预设显示时长。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述装置和模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,模块相互之间的耦合可以是电性,机械或其它形式的耦合。
另外,在本申请各个实施例中的各功能模块可以集成在一个处理模块中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。
请参阅图13,其示出了本申请实施例提供的一种电子设备100的结构框图。该电子设备100可以是智能手机、平板电脑、电子书等能够运行应用程序的电子设备。本申请中的电子设备100可以包括一个或多个如下部件:处理器110、存储器120、显示屏130以及一个或多个应用程序,其中一个或多个应用程序可以被存储在存储器120中并被配置为由一个或多个处理器110执行,一个或多个程序配置用于执行如前述方法实施例所描述的方法。
其中,处理器110可以包括一个或者多个处理核。处理器110利用各种接口和线路连接整个电子设备100内的各个部分,通过运行或执行存储在存储器120内的指令、程序、代码集或指令集,以及调用存储在存储器120内的数据,执行电子设备100的各种功能和处理数据。可选地,处理器110可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。处理器110可集成中央处理器(Central Processing Unit,CPU)、图形处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责待显示内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器110中,单独通过一块通信芯片进行实现。
存储器120可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)。存储器120可用于存储指令、程序、代码、代码集或指令集。存储器120可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于实现至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现下述各个方法实施例的指令等。存储数据区还可以存储电子设备100在使用中所创建的数据(比如电话本、音视频数据、聊天记录数据)等。
显示屏130用于显示由用户输入的信息、提供给用户的信息以及所述电子设备100的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、数字、视频和其任意组合来构成,在一个实例中,该显示屏130可以为液晶显示器(Liquid Crystal Display,LCD),也可以为有机发光二极管(Organic Light-Emitting Diode,OLED),在此不做限定。
请参阅图14,其示出了本申请实施例提供的一种计算机可读存储介质的结构框图。该计算机可读介质600中存储有程序代码,所述程序代码可被处理器调用执行上述方法实施例中所描述的方法。
计算机可读存储介质600可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。可选地,计算机可读存储介质600包括非易失性计算机可读介质(non-transitory computer-readable storage medium)。计算机可读存储介质600具有执行上述方法中的任何方法步骤的程序代码610的存储空间。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。程序代码610可以例如以适当形式进行压缩。
综上所述,本申请实施例提供的摄像头的转动方法、装置、电子设备以及存储介质, 在显示屏显示摄像头采集的预览图像,当摄像头转动到最大转动角度时,在显示屏的第一区域显示文本提示信息,并在显示屏的第二区域显示颜色提示信息,其中,文本提示信息和颜色提示信息用于提示摄像头已转动到最大转动角度,从而通过画面可视和文字可视的方式,更直观的提示摄像头已转动到最大转动角度,提升提示信息的有效性。
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不驱使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。

Claims (20)

  1. 一种信息提示方法,应用于电子设备,所述电子设备包括显示屏,其特征在于,所述电子设备用于与可转动的摄像头连接,所述方法包括:
    在所述显示屏显示所述摄像头采集的预览图像;
    当所述摄像头转动到最大转动角度时,在所述显示屏的第一区域显示文本提示信息,并在所述显示屏的第二区域显示颜色提示信息,其中,所述文本提示信息和所述颜色提示信息用于提示所述摄像头已转动到最大转动角度。
  2. 根据权利要求1所述的方法,其特征在于,所述当所述摄像头转动到最大转动角度时,在所述显示屏的第一区域显示文本提示信息,并在所述显示屏的第二区域显示颜色提示信息之后,还包括
    当所述文本提示信息和所述颜色提示信息的显示时长达到预设显示时长时,取消所述文本提示信息和所述颜色提示信息的显示。
  3. 根据权利要求2所述的方法,其特征在于,所述当所述摄像头转动到最大转动角度时,在所述显示屏的第一区域显示文本提示信息,并在所述显示屏的第二区域显示颜色提示信息之后,还包括:
    若在所述摄像头处于所述最大转动角度的预设持续时长内未接收到控制指令,自动控制所述摄像头从所述最大转动角度对应的位置回转至第一位置,其中,所述预设持续时长大于所述预设显示时长。
  4. 根据权利要求3所述的方法,其特征在于,所述第一位置为从零转动角度对应的位置到最大转动角度对应的位置之间的任一位置。
  5. 根据权利要求2-4任一项所述的方法,其特征在于,所述当所述文本提示信息和所述颜色提示信息的显示时长达到预设显示时长时,取消所述文本提示信息和所述颜色提示信息的显示,包括:
    当所述文本提示信息和所述颜色提示信息的显示时长达到预设显示时长时,在所述第一区域删除所述文本提示信息,并在所述第二区域删除所述颜色提示信息。
  6. 根据权利要求1-5任一项所述的方法,其特征在于,所述当所述摄像头转动到最大转动角度时,在所述显示屏的第一区域显示文本提示信息,并在所述显示屏的第二区域显示颜色提示信息,包括:
    当所述摄像头转动到最大转动角度时,获取所述摄像头的转动方向作为第一转动方向;
    在所述显示屏中获取与所述第一转动方向对应的第一区域和与所述第一转动方向对应的第二区域;
    在所述第一区域显示所述文本提示信息,并在所述第二区域显示所述颜色提示信息。
  7. 根据权利要求6所述的方法,其特征在于,所述在所述显示屏中获取与所述转动方向对应的第一区域和与所述转动方向对应的第二区域,包括:
    当所述摄像头的转动方向朝向第一侧时,在所述显示屏靠近所述第一侧的区域中确定所述第一区域和所述第二区域;
    当所述摄像头的转动方向朝向第二侧时,在所述显示屏靠近所述第二侧的区域中确定所述第一区域和所述第二区域。
  8. 根据权利要求1-5任一项所述的方法,其特征在于,所述当所述摄像头转动到最大转动角度时,在所述显示屏的第一区域显示文本提示信息,并在所述显示屏的第二区域显示颜色提示信息,包括:
    当所述摄像头转动到最大转动角度时,获取所述摄像头的转动方向作为第二转动方向;
    在所述显示屏中获取位置固定的第一区域和与所述第二转动方向对应的第二区域;
    在所述第一区域显示所述文本提示信息,并在所述第二区域显示所述颜色提示信息。
  9. 根据权利要求1-6任一项所述的方法,其特征在于,所述当所述摄像头转动到最大转 动角度时,在所述显示屏的第一区域显示文本提示信息,并在所述显示屏的第二区域显示颜色提示信息,包括:
    当所述摄像头转动到最大转动角度时,获取所述电子设备所处环境的环境光亮度;
    从多个颜色提示信息中选取与所述环境光亮度对应的颜色提示信息,作为目标颜色提示信息;
    在所述显示屏的第一区域显示所述文本提示信息,并在所述显示屏的第二区域显示所述目标颜色提示信息。
  10. 根据权利要求9所述的方法,其特征在于,所述从多个颜色提示信息中选取与所述环境光亮度对应的颜色提示信息,作为目标颜色提示信息,包括:
    基于映射关系表,从所述多个颜色提示信息中选取与所述环境光亮度对应的颜色提示信息,作为所述目标颜色提示信息,其中,所述映射关系表包括多个环境光亮度和多个颜色提示信息的对应关系。
  11. 根据权利要求1-10任一项所述的方法,其特征在于,所述当所述摄像头转动到最大转动角度时,在所述显示屏的第一区域显示文本提示信息,并在所述显示屏的第二区域显示颜色提示信息,包括:
    当所述摄像头转动到最大转动角度时,在所述预览图像的第一区域显示所述文本提示信息,并在所述预览图像的第二区域显示所述颜色提示信息。
  12. 根据权利要求1-11任一项所述的方法,其特征在于,所述在所述显示屏显示所述摄像头采集的预览图像,包括:
    在所述显示屏显示当前界面,其中,所述当前界面包括第一显示区域和第二显示区域,所述第一显示区域显示由所述摄像头采集的预览图像,所述第二显示区域显示针对所述摄像头的转动控制界面。
  13. 根据权利要求12所述的方法,其特征在于,所述转动控制界面包括控制控件,所述控制控件的移动方向与所述摄像头的转动方向一致。
  14. 根据权利要求1-13任一项所述的方法,其特征在于,所述当所述摄像头转动到最大转动角度时,在所述显示屏的第一区域显示文本提示信息,并在所述显示屏的第二区域显示颜色提示信息,包括:
    监听所述摄像头发送的信号;
    当监听并获取到所述摄像头发送的指示所述摄像头转动到最大转动角度的信号时,确定所述摄像头转动到最大转动角度;
    在所述显示屏的第一区域显示所述文本提示信息,并在所述显示屏的第二区域显示所述颜色提示信息。
  15. 根据权利要求1-13任一项所述的方法,其特征在于,所述当所述摄像头转动到最大转动角度时,在所述显示屏的第一区域显示文本提示信息,并在所述显示屏的第二区域显示颜色提示信息,包括:
    获取所述摄像头的已转动角度;
    当所述摄像头的已转动角度已达到所述摄像头的可转动角度时,确定所述摄像头转动到最大转动角度,其中,所述摄像头的可转动角度基于所述摄像头的最大转动角度和所述摄像头的初始偏转角度确定;
    在所述显示屏的第一区域显示所述文本提示信息,并在所述显示屏的第二区域显示所述颜色提示信息。
  16. 一种信息提示装置,应用于电子设备,所述电子设备包括显示屏,其特征在于,所述电子设备用于与可转动的摄像头连接,所述装置包括:
    预览图像显示模块,用于在所述显示屏显示所述摄像头采集的预览图像;
    提示信息显示模块,用于当所述摄像头转动到最大转动角度时,在所述显示屏的第一区域显示文本提示信息,并在所述显示屏的第二区域显示颜色提示信息,其中,所述文本 提示信息和所述颜色提示信息用于提示所述摄像头已转动到最大转动角度。
  17. 根据权利要求16所述的装置,其特征在于,所述装置还包括:
    提示信息取消模块,用于当所述文本提示信息和所述颜色提示信息的显示时长达到预设显示时长时,取消所述文本提示信息和所述颜色提示信息的显示。
  18. 根据权利要求17所述的装置,其特征在于,所述装置还包括:
    摄像头回转控制模块,用于若在所述摄像头处于所述最大转动角度的预设持续时长内未接收到控制指令,自动控制所述摄像头从所述最大转动角度对应的位置回转至第一位置,其中,所述预设持续时长大于所述预设显示时长。
  19. 一种电子设备,其特征在于,包括显示屏、存储器和处理器,所述显示屏和所述存储器耦接到所述处理器,所述存储器存储指令,当所述指令由所述处理器执行时所述处理器执行如权利要求1-15任一项所述的方法。
  20. 一种计算机可读取存储介质,其特征在于,所述计算机可读取存储介质中存储有程序代码,所述程序代码可被处理器调用执行如权利要求1-15任一项所述的方法。
PCT/CN2021/104306 2020-09-14 2021-07-02 信息提示方法、装置、电子设备以及存储介质 WO2022052604A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010962171.8A CN111970455B (zh) 2020-09-14 2020-09-14 信息提示方法、装置、电子设备以及存储介质
CN202010962171.8 2020-09-14

Publications (1)

Publication Number Publication Date
WO2022052604A1 true WO2022052604A1 (zh) 2022-03-17

Family

ID=73393234

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/104306 WO2022052604A1 (zh) 2020-09-14 2021-07-02 信息提示方法、装置、电子设备以及存储介质

Country Status (2)

Country Link
CN (1) CN111970455B (zh)
WO (1) WO2022052604A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116193228A (zh) * 2023-04-24 2023-05-30 深圳市龙之源科技股份有限公司 户外监控装置及其控制方法和狩猎设备

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111970455B (zh) * 2020-09-14 2022-01-11 Oppo广东移动通信有限公司 信息提示方法、装置、电子设备以及存储介质

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105045125A (zh) * 2015-07-31 2015-11-11 小米科技有限责任公司 在家电控制中使用的提示方法及装置
CN106716985A (zh) * 2014-09-08 2017-05-24 富士胶片株式会社 摄像控制装置、摄像控制方法、相机系统及程序
CN107948523A (zh) * 2017-12-19 2018-04-20 维沃移动通信有限公司 一种拍摄方法及移动终端
CN108122528A (zh) * 2017-12-13 2018-06-05 广东欧珀移动通信有限公司 显示控制方法及相关产品
US10158798B2 (en) * 2013-04-08 2018-12-18 Samsung Electronics Co., Ltd. Imaging apparatus and method of controlling the same
CN111125696A (zh) * 2019-12-31 2020-05-08 维沃移动通信有限公司 信息提示方法及电子设备
CN111970455A (zh) * 2020-09-14 2020-11-20 Oppo广东移动通信有限公司 信息提示方法、装置、电子设备以及存储介质

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9152244B2 (en) * 2011-01-30 2015-10-06 Lg Electronics Inc. Image display apparatus and method for operating the same
WO2017113307A1 (zh) * 2015-12-31 2017-07-06 深圳市柔宇科技有限公司 头戴式显示设备及其摄像头的调节方法
CN111373728B (zh) * 2017-09-29 2022-03-22 深圳传音通讯有限公司 相机应用的控制方法及装置
CN108737733B (zh) * 2018-06-08 2020-08-04 Oppo广东移动通信有限公司 信息提示方法和装置、电子设备、计算机可读存储介质
CN111355878A (zh) * 2018-12-21 2020-06-30 中兴通讯股份有限公司 一种终端、拍摄方法及存储介质
CN110445978B (zh) * 2019-06-24 2020-12-15 华为技术有限公司 一种拍摄方法及设备
CN111182212B (zh) * 2019-12-31 2021-08-24 Oppo广东移动通信有限公司 图像处理方法、装置、存储介质以及电子设备

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10158798B2 (en) * 2013-04-08 2018-12-18 Samsung Electronics Co., Ltd. Imaging apparatus and method of controlling the same
CN106716985A (zh) * 2014-09-08 2017-05-24 富士胶片株式会社 摄像控制装置、摄像控制方法、相机系统及程序
CN105045125A (zh) * 2015-07-31 2015-11-11 小米科技有限责任公司 在家电控制中使用的提示方法及装置
CN108122528A (zh) * 2017-12-13 2018-06-05 广东欧珀移动通信有限公司 显示控制方法及相关产品
CN107948523A (zh) * 2017-12-19 2018-04-20 维沃移动通信有限公司 一种拍摄方法及移动终端
CN111125696A (zh) * 2019-12-31 2020-05-08 维沃移动通信有限公司 信息提示方法及电子设备
CN111970455A (zh) * 2020-09-14 2020-11-20 Oppo广东移动通信有限公司 信息提示方法、装置、电子设备以及存储介质

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116193228A (zh) * 2023-04-24 2023-05-30 深圳市龙之源科技股份有限公司 户外监控装置及其控制方法和狩猎设备
CN116193228B (zh) * 2023-04-24 2023-08-22 深圳市龙之源科技股份有限公司 户外监控装置及其控制方法和狩猎设备

Also Published As

Publication number Publication date
CN111970455B (zh) 2022-01-11
CN111970455A (zh) 2020-11-20

Similar Documents

Publication Publication Date Title
WO2022052604A1 (zh) 信息提示方法、装置、电子设备以及存储介质
EP3329352B1 (en) User terminal apparatus and controlling method thereof
DK2944078T3 (en) Wireless camcorder
WO2021104236A1 (zh) 一种共享拍摄参数的方法及电子设备
EP3082299A1 (en) Method and apparatus for detecting state of networking channel, and electronic device
US20150350611A1 (en) Methods and systems for monitoring environments using smart devices
WO2022052613A1 (zh) 摄像头的控制方法、装置、电子设备及存储介质
CN110602401A (zh) 一种拍照方法及终端
CN110196557B (zh) 设备控制方法、装置、移动终端及存储介质
WO2017024713A1 (zh) 控制视频画面的方法、装置及终端
EP3525446A1 (en) Photographing method and terminal
WO2021077650A1 (zh) 一种拍摄方法、装置以及计算机可读存储介质
TWI439134B (zh) 三維場景數位影像監控系統及方法
KR102474729B1 (ko) 모니터링 장치
JP2017503143A (ja) モード切替方法、装置、プログラム、及び記録媒体
JP6159576B2 (ja) 制御装置及びプログラム
CN117918057A (zh) 显示设备及设备控制方法
WO2022028060A1 (zh) 一种显示设备及显示方法
CN110673504A (zh) 智能家居监控管理方法及其系统
WO2023236848A1 (zh) 设备控制方法、装置、系统、电子设备及可读存储介质
KR20180020374A (ko) 이벤트 검색 시스템, 장치 및 방법
JP4350389B2 (ja) 通信ネットワークシステム、携帯端末装置およびコンピュータプログラム
WO2021007792A1 (zh) 拍摄方法、设备、系统及计算机可读存储介质
WO2017024954A1 (zh) 图像显示方法及装置
CN109254710B (zh) 屏幕旋转方法、装置、终端设备及计算机可读取存储介质

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: 21865660

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21865660

Country of ref document: EP

Kind code of ref document: A1