WO2021128545A1 - Image display method and apparatus, storage medium and smart device - Google Patents
Image display method and apparatus, storage medium and smart device Download PDFInfo
- Publication number
- WO2021128545A1 WO2021128545A1 PCT/CN2020/075844 CN2020075844W WO2021128545A1 WO 2021128545 A1 WO2021128545 A1 WO 2021128545A1 CN 2020075844 W CN2020075844 W CN 2020075844W WO 2021128545 A1 WO2021128545 A1 WO 2021128545A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- picture
- target
- displayed
- resolution
- display screen
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/147—Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04842—Selection of displayed objects or displayed text elements
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1454—Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/40—Scaling of whole images or parts thereof, e.g. expanding or contracting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/7243—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
- H04M1/72439—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging
Definitions
- This application relates to the field of communications, in particular to a picture display method, device, storage medium and smart device.
- smart wearable devices are accepted by more and more users because of their convenience to carry.
- smart wearable devices cannot display some larger pictures due to their screen size, which affects user experience.
- the embodiment of the present application provides a picture display method, which can display pictures of any size and improve user experience.
- an embodiment of the present application provides a picture display method, which is applied to a smart device including a display screen with a preset resolution, and includes:
- the picture to be displayed is displayed on the display screen.
- the parameter information is a pixel parameter of the camera
- the adjusting the target picture based on the parameter information and the preset resolution to obtain the picture to be displayed includes:
- the target picture is adjusted based on the target resolution and the preset resolution to obtain a picture to be displayed.
- the adjusting the target picture based on the target resolution and the preset resolution to obtain the picture to be displayed includes:
- the target resolution is not equal to the preset resolution, adjusting the size information of the target picture so that the target resolution is equal to the preset resolution to obtain the picture to be displayed.
- the method further includes:
- the color of each pixel in the picture to be displayed is adjusted to the color of the target pixel.
- the method further includes:
- the picture to be displayed is displayed on the display screen at a preset time interval.
- an embodiment of the present application also provides a picture display device, including:
- An acquiring unit configured to establish a connection with a target device and acquire parameter information of a camera in the target device
- a receiving unit configured to receive a target picture taken by a camera in the target device
- the first adjustment unit is configured to adjust the target picture based on the parameter information and the preset resolution to obtain a picture to be displayed;
- the display unit is configured to display the picture to be displayed on the display screen.
- the first adjustment unit includes:
- the adjustment subunit is configured to adjust the target picture based on the target resolution and the preset resolution to obtain a picture to be displayed.
- the picture display device further includes:
- a classification unit configured to classify the colors of pixels in the picture to be displayed after displaying the picture to be displayed on the display screen to obtain pixels of multiple different colors
- a determining unit configured to determine the color of the pixel with the largest number of pixels among the plurality of pixels of different colors to obtain the color of the target pixel
- the second adjustment unit is configured to adjust the color of each pixel in the picture to be displayed to the color of the target pixel when the display time of the picture to be displayed on the display screen reaches a preset time.
- the embodiments of the present application also provide a storage medium in which a computer program is stored, and when the computer program runs on a computer, the computer is caused to execute the image display method as described above.
- an embodiment of the present application also provides a smart device, and the smart device includes:
- a bracket the opposite ends of the bracket are provided with a connecting structure
- a first endless belt and a second endless belt, one end of the first endless belt and one end of the second endless belt are respectively connected to the connecting structure provided at the opposite ends of the bracket;
- a flexible display screen, the flexible display screen is arranged on the support;
- a processor and a memory A computer program is stored in the memory.
- the processor is used to execute a picture display method by calling the computer program stored in the memory.
- the picture display method includes:
- the picture to be displayed is displayed on the display screen, wherein the parameter information includes: the size, pixels, horizontal resolution, minimum illuminance, scanning mode, and signal-to-noise ratio of the electrical coupling device.
- the parameter information is a pixel parameter of the camera
- the adjusting the target picture based on the parameter information and the preset resolution to obtain the picture to be displayed includes:
- the target picture is adjusted based on the target resolution and the preset resolution to obtain a picture to be displayed.
- the adjusting the target picture based on the target resolution and the preset resolution to obtain the picture to be displayed includes:
- the target resolution is not equal to the preset resolution, adjusting the size information of the target picture so that the target resolution is equal to the preset resolution to obtain the picture to be displayed.
- the method further includes:
- the color of each pixel in the picture to be displayed is adjusted to the color of the target pixel.
- the method further includes:
- the picture to be displayed is displayed on the display screen at a preset time interval.
- the picture display method provided by the embodiment of the present application includes: establishing a connection with a target device, and obtaining parameter information of a camera in the target device; receiving a target picture taken by a camera in the target device; based on the parameter information and The target picture is adjusted by the preset resolution to obtain the picture to be displayed; the picture to be displayed is displayed on the display screen.
- FIG. 1 is a schematic diagram of the first process of the picture display method provided by an embodiment of this application.
- FIG. 2 is a schematic diagram of a second flow of a picture display method provided by an embodiment of this application.
- FIG. 3 is a schematic structural diagram of a picture display device provided by an embodiment of the application.
- Fig. 4 is a schematic structural diagram of a smart device provided by an embodiment of the application.
- Fig. 5 is a specific structure diagram of a smart device provided by an embodiment of the application.
- FIG. 1 is a schematic diagram of the first process of the image display method provided by an embodiment of the application.
- Picture display methods including:
- Step 101 Establish a connection with a target device, and obtain parameter information of a camera in the target device.
- the target device can be a mobile phone, tablet computer, notebook computer, personal digital assistant, etc., which has a camera and can establish information transmission connections with other devices through Wireless Fidelity (WiFi), Bluetooth, etc.
- WiFi Wireless Fidelity
- Bluetooth etc.
- applications with entertainment functions such as video applications, camera applications, game applications, reading software
- applications with service functions such as map navigation applications, catering applications, etc.
- the parameter information of the camera may include some parameters such as the size of the electrical coupling device (CCD), pixels, horizontal resolution, minimum illuminance (that is, the sensitivity of the CCD to ambient light), scanning mode, and signal-to-noise ratio.
- CCD electrical coupling device
- the target device After establishing a connection with the target device through WiFi, Bluetooth, etc., an instruction can be sent to the target device, requesting the target device to feed back one of the aforementioned camera parameter information after receiving the instruction.
- Step 102 Receive a target picture taken by a camera in the target device.
- the target picture needs to be sent from the target device to the smart device.
- the sending method can be Send via Bluetooth, LAN, etc.
- the smart device since the target picture needs to be displayed on the smart device, the smart device needs to have a display function.
- the smart device may include a display screen with a preset resolution.
- Step 103 Adjust the target picture based on the parameter information and the preset resolution to obtain the picture to be displayed.
- the pixels of the camera in the target device may not correspond to the preset resolution of the display screen in the smart device, if the received target picture is directly displayed on the display screen, the target picture will be unclear and the size will be unclear. It does not correspond to the size of the display screen, etc., so it is necessary to adjust the target picture according to the parameter information of the camera in the target device and the preset resolution of the display screen to make the target picture display better on the display screen.
- the ratio of the pixel parameter and the size information of the camera is calculated to obtain the target device’s Target resolution, which can compare the target resolution of the target device with the resolution of the display screen to adjust the target image. Therefore, adjusting the target picture based on the parameter information and the preset resolution to obtain the picture to be displayed may include:
- the target picture is adjusted based on the target resolution and the preset resolution to obtain a picture to be displayed.
- the target resolution is equal to the preset resolution. If they are equal, it means that the target photo taken by the camera of the target device can be directly displayed on the display screen, and there is no need Adjust the received target picture. If the target resolution is not equal to the preset resolution, the received target picture needs to be adjusted. For example: if the target resolution is greater than the preset resolution, you need to compress or reduce the size of the received target picture until the target resolution is equal to the preset resolution; if the target resolution is less than the preset resolution, you need to receive Expand or increase the size of the target image until the target resolution is equal to the preset resolution.
- the adjusted target picture that is, the picture to be displayed, is obtained. Therefore, adjusting the target picture based on the target resolution and the preset resolution to obtain the picture to be displayed may include:
- the target resolution is not equal to the preset resolution, adjusting the size information of the target picture so that the target resolution is equal to the preset resolution to obtain the picture to be displayed.
- Step 104 Display the picture to be displayed on the display screen.
- step 103 after the picture to be displayed is obtained by processing in step 103, it may be directly displayed on the display screen.
- the color of the pixels in the picture to be displayed can be classified.
- the color of the pixels to be displayed in the picture after classification includes: blue, red and black, and then determine the color of the pixel with the largest number of pixels among the pixels of different colors to obtain the target Pixel color, for example: there are 1 million blue pixels, 2 million red pixels, and 3 million black pixels, then the color of the target pixel is black.
- the color of each pixel in the picture to be displayed is adjusted to the color of the target pixel. Therefore, after step 104, it may further include:
- the color of each pixel in the picture to be displayed is adjusted to the color of the target pixel.
- the smart device since the smart device has established a connection with the target device, when the target device receives prompt information such as an incoming call or short message, the picture to be displayed may be displayed on the display screen at regular intervals. Therefore, in step 104 After that, you can also include:
- the picture to be displayed is displayed on the display screen at a preset time interval.
- the picture display method provided by the embodiment of the present application includes: establishing a connection with a target device and obtaining parameter information of a camera in the target device; receiving a target picture taken by a camera in the target device; based on the parameter information and The target picture is adjusted by the preset resolution to obtain the picture to be displayed; the picture to be displayed is displayed on the display screen.
- a picture display method is provided as shown in FIG. 2, and the picture display method includes:
- Step 201 Establish a connection with the target device, and obtain parameter information of the camera in the target device.
- the target device can be a mobile phone, tablet computer, notebook computer, personal digital assistant, etc., which has a camera and can establish information transmission connection with other devices through Wireless Fidelity (WiFi), Bluetooth, etc.
- WiFi Wireless Fidelity
- Bluetooth etc.
- applications with entertainment functions such as video applications, camera applications, game applications, reading software
- applications with service functions such as map navigation applications, catering applications, etc.
- the parameter information of the camera may include some parameters such as the size of the electrical coupling device (CCD), pixels, horizontal resolution, minimum illuminance (that is, the sensitivity of the CCD to ambient light), scanning mode, and signal-to-noise ratio.
- CCD electrical coupling device
- the target device After establishing a connection with the target device through WiFi, Bluetooth, etc., an instruction can be sent to the target device, requesting the target device to feed back one of the aforementioned camera parameter information after receiving the instruction.
- Step 202 Receive a target picture taken by a camera in the target device.
- the target picture needs to be sent from the target device to the smart device.
- the sending method can be Send via Bluetooth, LAN, etc.
- the smart device since the target picture needs to be displayed on the smart device, the smart device needs to have a display function.
- the smart device may include a display screen with a preset resolution.
- Step 203 Obtain size information of the target picture.
- the pixels of the camera in the target device may not correspond to the preset resolution of the display screen in the smart device, if the received target picture is directly displayed on the display screen, the target picture will be unclear and the size will be unclear. If it does not correspond to the size of the display screen, etc., it is necessary to adjust the target picture according to the parameter information of the camera in the target device and the preset resolution of the display screen to make the target picture appear better when displayed on the display screen.
- the size information of the target picture can be obtained first.
- Step 204 Calculate the ratio of the pixel parameter to the size information to obtain the target resolution of the target device.
- the ratio between the pixel parameters of the camera and the size information is calculated to obtain the target resolution of the target device, so that the target resolution of the target device can be compared with the resolution of the display screen.
- Step 205 Determine whether the target resolution is equal to the preset resolution.
- the target resolution of the target device After calculating the target resolution of the target device, you can first compare whether the target resolution is equal to the preset resolution. If they are equal, it means that the target photo taken by the camera of the target device can be directly displayed on the display screen, and there is no need Adjust the received target picture. If the target resolution is not equal to the preset resolution, the received target picture needs to be adjusted.
- Step 206 If the target resolution is not equal to the preset resolution, adjust the size information of the target picture so that the target resolution is equal to the preset resolution to obtain the picture to be displayed.
- the adjusted target picture that is, the picture to be displayed, is obtained.
- Step 207 Display the picture to be displayed on the display screen.
- step 206 after the picture to be displayed is obtained by processing in step 206, it may be directly displayed on the display screen.
- Step 208 Classify the colors of the pixels in the picture to be displayed to obtain pixels of multiple different colors.
- the color of the pixels in the picture to be displayed can be set to change the color of the pixels in the picture to be displayed, so that the display screen displays the ambient color of the current scene.
- the color of the pixels in the picture to be displayed can be classified.
- the color of the pixels in the picture to be displayed after classification includes: blue, red, and black.
- Step 209 Determine the color of the pixel with the largest number of pixels among the pixels of multiple different colors to obtain the color of the target pixel.
- the color of the pixel with the largest number of pixels among the pixels of different colors determine the color of the pixel with the largest number of pixels among the pixels of different colors to obtain the target pixel color, for example: 1 million blue pixels, 2 million red pixels, and 3 million black pixels. Then the color of the target pixel is black.
- Step 210 When the display time of the picture to be displayed on the display screen reaches the preset time, adjust the color of each pixel in the picture to be displayed to the color of the target pixel.
- the color of each pixel in the picture to be displayed is adjusted to the color of the target pixel.
- Step 211 If it is detected that the target device receives the prompt information, the picture to be displayed is displayed on the display screen at a preset time interval.
- the smart device since the smart device has established a connection with the target device, when the target device receives prompt information such as an incoming call or short message, the picture to be displayed can be displayed on the display screen at regular intervals.
- the picture display method provided by the embodiment of the present application includes: establishing a connection with a target device and obtaining parameter information of a camera in the target device; receiving a target picture taken by a camera in the target device; based on the parameter information and The target picture is adjusted by the preset resolution to obtain the picture to be displayed; the picture to be displayed is displayed on the display screen.
- FIG. 3 is a schematic structural diagram of a picture display device provided by an embodiment of the application.
- the picture display device includes: an acquiring unit 31, a receiving unit 32, a first adjusting unit 33, and a display unit 34.
- the acquiring unit 31 is configured to establish a connection with a target device and acquire parameter information of a camera in the target device.
- the target device can be a mobile phone, tablet computer, notebook computer, personal digital assistant, etc., which has a camera and can establish information transmission connection with other devices through Wireless Fidelity (WiFi), Bluetooth, etc.
- WiFi Wireless Fidelity
- Bluetooth etc.
- applications with entertainment functions such as video applications, camera applications, game applications, reading software
- applications with service functions such as map navigation applications, catering applications, etc.
- the parameter information of the camera may include some parameters such as the size of the electrical coupling device (CCD), pixels, horizontal resolution, minimum illuminance (that is, the sensitivity of the CCD to ambient light), scanning mode, and signal-to-noise ratio.
- CCD electrical coupling device
- the target device After establishing a connection with the target device through WiFi, Bluetooth, etc., an instruction can be sent to the target device, requesting the target device to feed back one of the aforementioned camera parameter information after receiving the instruction.
- the receiving unit 32 is configured to receive a target picture taken by a camera in the target device.
- the target picture needs to be sent from the target device to the smart device.
- the sending method can be Send via Bluetooth, LAN, etc.
- the smart device since the target picture needs to be displayed on the smart device, the smart device needs to have a display function.
- the smart device may include a display screen with a preset resolution.
- the first adjustment unit 33 is configured to adjust the target picture based on the parameter information and the preset resolution to obtain a picture to be displayed.
- the pixels of the camera in the target device may not correspond to the preset resolution of the display screen in the smart device, if the received target picture is directly displayed on the display screen, the target picture will be unclear and the size will be unclear. It does not correspond to the size of the display screen, etc., so it is necessary to adjust the target picture according to the parameter information of the camera in the target device and the preset resolution of the display screen to make the target picture display better on the display screen.
- the display unit 34 is configured to display the picture to be displayed on the display screen.
- the image to be displayed is obtained through processing by the first adjustment unit 33, it may be directly displayed on the display screen.
- the first adjustment unit 33 may further include:
- the adjustment subunit is configured to adjust the target picture based on the target resolution and the preset resolution to obtain a picture to be displayed.
- the picture display device may further include:
- a classification unit configured to classify the colors of pixels in the picture to be displayed after displaying the picture to be displayed on the display screen to obtain pixels of multiple different colors
- a determining unit configured to determine the color of the pixel with the largest number of pixels among the plurality of pixels of different colors to obtain the color of the target pixel
- the second adjustment unit is configured to adjust the color of each pixel in the picture to be displayed to the color of the target pixel when the display time of the picture to be displayed on the display screen reaches a preset time.
- the present invention also provides a storage medium on which a plurality of instructions are stored, where the instructions are suitable for being loaded by a processor and executing the image display method as described above.
- the program can be stored in a computer-readable storage medium, and the storage medium can include: Read only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk, etc.
- the embodiment of the present application also provides a smart device, and the smart device includes:
- a bracket the opposite ends of the bracket are provided with a connecting structure
- a first endless belt and a second endless belt, one end of the first endless belt and one end of the second endless belt are respectively connected to the connecting structure provided at the opposite ends of the bracket;
- a flexible display screen, the flexible display screen is arranged on the support;
- a processor and a memory A computer program is stored in the memory.
- the processor is used to execute a picture display method by calling the computer program stored in the memory.
- the picture display method includes:
- the picture to be displayed is displayed on the display screen, wherein the parameter information includes: the size, pixels, horizontal resolution, minimum illuminance, scanning mode, and signal-to-noise ratio of the electrical coupling device.
- the parameter information is a pixel parameter of the camera
- the adjusting the target picture based on the parameter information and the preset resolution to obtain the picture to be displayed includes:
- the target picture is adjusted based on the target resolution and the preset resolution to obtain a picture to be displayed.
- the adjusting the target picture based on the target resolution and the preset resolution to obtain the picture to be displayed includes:
- the target resolution is not equal to the preset resolution, adjusting the size information of the target picture so that the target resolution is equal to the preset resolution to obtain the picture to be displayed.
- the method further includes:
- the color of each pixel in the picture to be displayed is adjusted to the color of the target pixel.
- the method further includes:
- the picture to be displayed is displayed on the display screen at a preset time interval.
- FIG. 4 shows a schematic structural diagram of a smart device provided by an embodiment of the present application, where the smart device 100 includes:
- a support 10 with connecting structures 20 provided at opposite ends of the support 10;
- a first endless belt 30 and a second endless belt 40, one end of the first endless belt 30 and one end of the second endless belt 40 are respectively connected to the connecting structures 20 provided at opposite ends of the bracket 10;
- the flexible display screen 50 is arranged on the support 10.
- the connecting structure 20 and the first endless belt 30 and the second endless belt 40 can be connected by a rotating shaft, so that the first endless belt 30 and the second endless belt 40 rotate around the rotating shaft.
- the smart device 100 may also include a processor and a memory.
- the processor and the memory may be set in the cradle 10, and a computer program is stored in the memory.
- the processor uses the computer program stored in the memory to call the computer program.
- the smart device 100 can be a smart watch, a smart ring, etc., which is not limited here.
- FIG. 5 shows a specific structural block diagram of a smart device provided in an embodiment of the present invention, and the smart device can be used to implement the picture display method, device, and storage medium provided in the foregoing embodiment.
- the smart device 100 may include an RF (Radio Frequency) circuit 110, a memory 120 including one or more (only one is shown in the figure) computer-readable storage medium, an input unit 130, and a display unit. 140, sensor 150, audio circuit 160, transmission module 170, processor 180 including one or more processing cores (only one is shown in the figure), power supply 190 and other components.
- RF Radio Frequency
- the structure of the smart device 1200 shown in FIG. 5 does not constitute a limitation on the smart device 100, and may include more or fewer components than shown, or a combination of certain components, or different components. Layout. among them:
- the RF circuit 110 may include various existing circuit elements for performing these functions, for example, an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a subscriber identity module (SIM) card, a memory, and so on.
- the RF circuit 110 can communicate with various networks such as the Internet, an intranet, and a wireless network, or communicate with a second device through a wireless network.
- the aforementioned wireless network may include a cellular telephone network, a wireless local area network, or a metropolitan area network.
- the memory 120 can be used to store software programs and modules, such as the program instructions/modules corresponding to the picture display method, device, storage medium, and smart devices in the above embodiments.
- the processor 180 runs the software programs and modules stored in the memory 120 to thereby Perform various functional applications and data processing, that is, realize the function of mutual recognition of chips.
- the memory 120 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or a second non-volatile solid-state memory. In some examples, the memory 120 may be a storage medium as described above.
- the input unit 130 may be used to receive inputted digital or character information, and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.
- the input unit 130 may include a touch-sensitive surface 131 and other input devices 132.
- the touch-sensitive surface 131 also called a touch screen or a touchpad, 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 or on the touch-sensitive surface 131. Operation near the touch-sensitive surface 131), and drive the corresponding connection device according to a preset program.
- the touch-sensitive surface 131 may include two parts: a touch detection device and a touch controller.
- the display unit 140 may be used to display information input by the user or information provided to the user and various graphical user interfaces of the smart device 1200. These graphical user interfaces may be composed of graphics, text, icons, videos, and any combination thereof.
- the display unit 140 may include a display panel 141, and further, the touch-sensitive surface 131 may cover the display panel 141.
- the display interface of the smart device in the foregoing embodiment can be represented by the display unit 140, that is, the display content displayed on the display interface can be displayed by the display unit 140.
- the smart device 1200 may further include at least one sensor 150, such as a light sensor, a motion sensor, and a second sensor.
- the light sensor may include an ambient light sensor and a proximity sensor.
- the ambient light sensor can adjust the brightness of the display panel 141 according to the brightness of the ambient light, and the proximity sensor can close the display panel 141 when the smart device 1200 is moved to the ear. And/or backlight.
- the second sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, etc., that the smart device 1200 can also configure, it will not be repeated here.
- the audio circuit 160, the speaker 161, and the microphone 162 can provide an audio interface between the user and the smart device 1200.
- the audio circuit 160 can transmit the electrical signal converted from the received audio data to the speaker 161, which is converted into a sound signal for output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electrical signal, and the audio circuit 160 After being received, it is converted into audio data, and then processed by the audio data output processor 180, and sent to, for example, another terminal via the RF circuit 110, or the audio data is output to the memory 120 for further processing.
- the audio circuit 160 may also include an earplug jack to provide communication between a peripheral earphone and the smart device 1200.
- the smart device 1200 can help users send and receive emails, browse web pages, and access streaming media through the transmission module 170, and it provides users with wireless broadband Internet access.
- the processor 180 is the control center of the smart device 1200. It uses various interfaces and lines to connect various parts of the entire mobile phone, runs or executes software programs and/or modules stored in the memory 120, and calls data stored in the memory 120 , To perform various functions of the smart device 1200 and process data, so as to monitor the mobile phone as a whole.
- the processor 180 may include one or more processing cores; in some embodiments, the processor 180 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, and For application programs, the modem processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 180.
- the processor 180 includes: an arithmetic logic unit (Arithmetic Logic Unit, ALU), an application processor, a global positioning system (Global Positioning System, GPS), and a control and status bus (Bus) (not shown in the figure) .
- ALU arithmetic logic unit
- ALU arithmetic Logic Unit
- GPS Global Positioning System
- Bus control and status bus
- the smart device 1200 also includes a power supply 190 (such as a battery) for supplying power to various components.
- the power supply may be logically connected to the processor 180 through a power management system, so as to manage power supply, discharge, and power consumption through the power management system. Management and other functions.
- the power supply 190 may also include any components such as one or more DC or AC power supplies, a re-power supply system, a power failure detection circuit, a power converter or inverter, and a power status indicator.
- the smart device 1200 may also include a camera (such as a front camera, a rear camera), a Bluetooth module, etc., which will not be repeated here.
- a camera such as a front camera, a rear camera
- a Bluetooth module etc., which will not be repeated here.
- the display unit 140 of the smart device 1200 is a touch screen display.
- the smart device 1200 further includes a memory 120 and one or more programs.
- One or more programs are stored in the memory 120 and configured
- the execution of one or more programs by one or more processors 180 includes instructions for performing the following operations:
- the picture to be displayed is displayed on the display screen.
- the processor 380 may further execute the following instructions:
- the target picture is adjusted based on the target resolution and the preset resolution to obtain a picture to be displayed.
- the processor 380 may further execute the following instructions:
- the target resolution is not equal to the preset resolution, adjusting the size information of the target picture so that the target resolution is equal to the preset resolution to obtain the picture to be displayed.
- the processor 380 may further execute instructions for the following operations:
- the color of each pixel in the picture to be displayed is adjusted to the color of the target pixel.
- the processor 380 may further execute instructions for the following operations:
- the picture to be displayed is displayed on the display screen at a preset time interval.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- General Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
Description
本申请要求于2019年12月27日提交中国专利局、申请号为201911375602.4、发明名称为“图片显示方法、装置、存储介质及智能设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on December 27, 2019, the application number is 201911375602.4, and the invention title is "picture display method, device, storage medium and smart device", the entire content of which is incorporated by reference In this application.
本申请涉及通信领域,具体涉及一种图片显示方法、装置、存储介质及智能设备。This application relates to the field of communications, in particular to a picture display method, device, storage medium and smart device.
随着近年手机上游配件的迅猛发展,手机形态也发生了很大的变化,超薄机、全面屏机以及刘海屏机以其轻薄、美观的外形逐渐被用户所青睐,然而再轻薄的手机也需要用户通过手持的方式拿取手机,较为不便。With the rapid development of upstream accessories for mobile phones in recent years, the form of mobile phones has also undergone great changes. Ultra-thin phones, full-screen phones, and bangs screen phones are gradually being favored by users for their thin and beautiful appearance. However, even thin and light phones are also It is more inconvenient for the user to hold the mobile phone by hand.
目前智能穿戴设备市场中,智能穿戴设备因其携带便捷被越来越多的用户所接受,然而智能穿戴设备受其屏幕尺寸影响无法显示一些尺寸较大的图片,影响用户体验。At present, in the smart wearable device market, smart wearable devices are accepted by more and more users because of their convenience to carry. However, smart wearable devices cannot display some larger pictures due to their screen size, which affects user experience.
发明概述Summary of the invention
本申请实施例提供一种图片显示方法,可以显示任何尺寸的图片,提高用户体验。The embodiment of the present application provides a picture display method, which can display pictures of any size and improve user experience.
问题的解决方案The solution to the problem
第一方面,本申请实施例提供一种图片显示方法,应用于包含预设分辨率的显示屏的智能设备中,包括:In the first aspect, an embodiment of the present application provides a picture display method, which is applied to a smart device including a display screen with a preset resolution, and includes:
与目标设备建立连接,并获取所述目标设备中摄像头的参数信息;Establish a connection with the target device, and obtain parameter information of the camera in the target device;
接收由所述目标设备中摄像头拍摄得到的目标图片;Receiving a target picture taken by a camera in the target device;
基于所述参数信息以及所述预设分辨率调整所述目标图片,得到待显示图片;Adjusting the target picture based on the parameter information and the preset resolution to obtain a picture to be displayed;
在所述显示屏中显示所述待显示图片。The picture to be displayed is displayed on the display screen.
其中,所述参数信息为所述摄像头的像素参数,所述基于所述参数信息以及所述预设分辨率调整所述目标图片,得到待显示图片,包括:Wherein, the parameter information is a pixel parameter of the camera, and the adjusting the target picture based on the parameter information and the preset resolution to obtain the picture to be displayed includes:
获取所述目标图片的尺寸信息;Obtaining size information of the target picture;
计算所述像素参数与所述尺寸信息的比值,得到所述目标设备的目标分辨率;Calculating the ratio of the pixel parameter to the size information to obtain the target resolution of the target device;
基于所述目标分辨率及所述预设分辨率调整所述目标图片,得到待显示图片。The target picture is adjusted based on the target resolution and the preset resolution to obtain a picture to be displayed.
其中,所述基于所述目标分辨率及所述预设分辨率调整所述目标图片,得到待显示图片,包括:Wherein, the adjusting the target picture based on the target resolution and the preset resolution to obtain the picture to be displayed includes:
判断所述目标分辨率是否等于所述预设分辨率;Determine whether the target resolution is equal to the preset resolution;
若所述目标分辨率不等于所述预设分辨率,则调整所述目标图片的尺寸信息,以使所述目标分辨率等于所述预设分辨率,得到待显示图片。If the target resolution is not equal to the preset resolution, adjusting the size information of the target picture so that the target resolution is equal to the preset resolution to obtain the picture to be displayed.
其中,所述在所述显示屏中显示所述待显示图片之后,还包括:Wherein, after displaying the picture to be displayed on the display screen, the method further includes:
对所述待显示图片中的像素点颜色进行分类,得到多种不同颜色的像素点;Classify the colors of pixels in the picture to be displayed to obtain pixels of multiple different colors;
确定所述多种不同颜色的像素点中像素点数最多的像素点颜色,得到目标像素点颜色;Determining the color of the pixel with the largest number of pixels among the plurality of pixels of different colors to obtain the color of the target pixel;
当所述待显示图片在所述显示屏中显示的时间到达预设时间时,将所述待显示图片中的每一像素点颜色调整为所述目标像素点颜色。When the display time of the picture to be displayed on the display screen reaches a preset time, the color of each pixel in the picture to be displayed is adjusted to the color of the target pixel.
其中,在所述显示屏中显示所述待显示图片之后,还包括:Wherein, after displaying the picture to be displayed on the display screen, the method further includes:
若检测到所述目标设备接收到提示信息,则按照预设时间间隔在所述显示屏上显示所述待显示图片。If it is detected that the target device receives the prompt information, the picture to be displayed is displayed on the display screen at a preset time interval.
第二方面,本申请实施例还提供一种图片显示装置,包括:In the second aspect, an embodiment of the present application also provides a picture display device, including:
获取单元,用于与目标设备建立连接,并获取所述目标设备中摄像头的参数信息;An acquiring unit, configured to establish a connection with a target device and acquire parameter information of a camera in the target device;
接收单元,用于接收由所述目标设备中摄像头拍摄得到的目标图片;A receiving unit, configured to receive a target picture taken by a camera in the target device;
第一调整单元,用于基于所述参数信息以及所述预设分辨率调整所述目标图片,得到待显示图片;The first adjustment unit is configured to adjust the target picture based on the parameter information and the preset resolution to obtain a picture to be displayed;
显示单元,用于在所述显示屏中显示所述待显示图片。The display unit is configured to display the picture to be displayed on the display screen.
其中,所述第一调整单元包括:Wherein, the first adjustment unit includes:
获取子单元,用于获取所述目标图片的尺寸信息;An obtaining sub-unit for obtaining size information of the target picture;
计算子单元,用于计算所述像素参数与所述尺寸信息的比值,得到所述目标设备的目标分辨率;A calculation subunit for calculating the ratio of the pixel parameter to the size information to obtain the target resolution of the target device;
调整子单元,用于基于所述目标分辨率及所述预设分辨率调整所述目标图片,得到待显示图片。The adjustment subunit is configured to adjust the target picture based on the target resolution and the preset resolution to obtain a picture to be displayed.
其中,所述图片显示装置,还包括:Wherein, the picture display device further includes:
分类单元,用于在所述显示屏中显示所述待显示图片之后,对所述待显示图片中的像素点颜色进行分类,得到多种不同颜色的像素点;A classification unit, configured to classify the colors of pixels in the picture to be displayed after displaying the picture to be displayed on the display screen to obtain pixels of multiple different colors;
确定单元,用于确定所述多种不同颜色的像素点中像素点数最多的像素点颜色,得到目标像素点颜色;A determining unit, configured to determine the color of the pixel with the largest number of pixels among the plurality of pixels of different colors to obtain the color of the target pixel;
第二调整单元,用于当所述待显示图片在所述显示屏中显示的时间到达预设时间时,将所述待显示图片中的每一像素点颜色调整为所述目标像素点颜色。The second adjustment unit is configured to adjust the color of each pixel in the picture to be displayed to the color of the target pixel when the display time of the picture to be displayed on the display screen reaches a preset time.
第三方面,本申请实施例还提供一种存储介质,存储介质中存储有计算机程序,当计算机程序在计算机上运行时,使得计算机执行如上所述的图片显示方法。In a third aspect, the embodiments of the present application also provide a storage medium in which a computer program is stored, and when the computer program runs on a computer, the computer is caused to execute the image display method as described above.
第四方面,本申请实施例还提供一种智能设备,智能设备包括:In a fourth aspect, an embodiment of the present application also provides a smart device, and the smart device includes:
支架,所述支架的相对两端设置有连接结构;A bracket, the opposite ends of the bracket are provided with a connecting structure;
第一环带以及第二环带,所述第一环带一端以及第二环带的一端分别与所述支架的相对两端设置的连接结构连接;A first endless belt and a second endless belt, one end of the first endless belt and one end of the second endless belt are respectively connected to the connecting structure provided at the opposite ends of the bracket;
柔性显示屏,所述柔性显示屏设置在所述支架上;A flexible display screen, the flexible display screen is arranged on the support;
处理器和存储器,存储器中存储有计算机程序,处理器通过调用存储器中存储的计算机程序,用于执行图片显示方法,所述图片显示方法包括:A processor and a memory. A computer program is stored in the memory. The processor is used to execute a picture display method by calling the computer program stored in the memory. The picture display method includes:
与目标设备建立连接,并获取所述目标设备中摄像头的参数信息;Establish a connection with the target device, and obtain parameter information of the camera in the target device;
接收由所述目标设备中摄像头拍摄得到的目标图片;Receiving a target picture taken by a camera in the target device;
基于所述参数信息以及所述预设分辨率调整所述目标图片,得到待显示图片;Adjusting the target picture based on the parameter information and the preset resolution to obtain a picture to be displayed;
在所述显示屏中显示所述待显示图片,其中,所述参数信息包括:电耦合器件的尺寸、像素、水平分辨率、最小照度、扫描制式、信噪比。The picture to be displayed is displayed on the display screen, wherein the parameter information includes: the size, pixels, horizontal resolution, minimum illuminance, scanning mode, and signal-to-noise ratio of the electrical coupling device.
其中,所述参数信息为所述摄像头的像素参数,所述基于所述参数信息以及所述预设分辨率调整所述目标图片,得到待显示图片,包括:Wherein, the parameter information is a pixel parameter of the camera, and the adjusting the target picture based on the parameter information and the preset resolution to obtain the picture to be displayed includes:
获取所述目标图片的尺寸信息;Obtaining size information of the target picture;
计算所述像素参数与所述尺寸信息的比值,得到所述目标设备的目标分辨率;Calculating the ratio of the pixel parameter to the size information to obtain the target resolution of the target device;
基于所述目标分辨率及所述预设分辨率调整所述目标图片,得到待显示图片。The target picture is adjusted based on the target resolution and the preset resolution to obtain a picture to be displayed.
其中,所述基于所述目标分辨率及所述预设分辨率调整所述目标图片,得到待显示图片,包括:Wherein, the adjusting the target picture based on the target resolution and the preset resolution to obtain the picture to be displayed includes:
判断所述目标分辨率是否等于所述预设分辨率;Determine whether the target resolution is equal to the preset resolution;
若所述目标分辨率不等于所述预设分辨率,则调整所述目标图片的尺寸信息,以使所述目标分辨率等于所述预设分辨率,得到待显示图片。If the target resolution is not equal to the preset resolution, adjusting the size information of the target picture so that the target resolution is equal to the preset resolution to obtain the picture to be displayed.
其中,所述在所述显示屏中显示所述待显示图片之后,还包括:Wherein, after displaying the picture to be displayed on the display screen, the method further includes:
对所述待显示图片中的像素点颜色进行分类,得到多种不同颜色的像素点;Classify the colors of pixels in the picture to be displayed to obtain pixels of multiple different colors;
确定所述多种不同颜色的像素点中像素点数最多的像素点颜色,得到目标像素点颜色;Determining the color of the pixel with the largest number of pixels among the plurality of pixels of different colors to obtain the color of the target pixel;
当所述待显示图片在所述显示屏中显示的时间到达预设时间时,将所述待显示图片中的每一像素点颜色调整为所述目标像素点颜色。When the display time of the picture to be displayed on the display screen reaches a preset time, the color of each pixel in the picture to be displayed is adjusted to the color of the target pixel.
其中,在所述显示屏中显示所述待显示图片之后,还包括:Wherein, after displaying the picture to be displayed on the display screen, the method further includes:
若检测到所述目标设备接收到提示信息,则按照预设时间间隔在所述显示屏上显示所述待显示图片。If it is detected that the target device receives the prompt information, the picture to be displayed is displayed on the display screen at a preset time interval.
本申请实施例提供的图片显示方法,包括:与目标设备建立连接,并获取所述目标设备中摄像头的参数信息;接收由所述目标设备中摄像头拍摄得到的目标图片;基于所述参数信息以及所述预设分辨率调整所述目标图片,得到待显示图片;在所述显示屏中显示所述待显示图片。可以显示任何尺寸的图片,提高用户体验。The picture display method provided by the embodiment of the present application includes: establishing a connection with a target device, and obtaining parameter information of a camera in the target device; receiving a target picture taken by a camera in the target device; based on the parameter information and The target picture is adjusted by the preset resolution to obtain the picture to be displayed; the picture to be displayed is displayed on the display screen. Can display pictures of any size to improve user experience.
发明的有益效果The beneficial effects of the invention
对附图的简要说明Brief description of the drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以 根据这些附图获得其他的附图。In order to more clearly describe the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings needed in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
图1为本申请实施例提供的图片显示方法的第一种流程示意图。FIG. 1 is a schematic diagram of the first process of the picture display method provided by an embodiment of this application.
图2为本申请实施例提供的图片显示方法的第二种流程示意图。FIG. 2 is a schematic diagram of a second flow of a picture display method provided by an embodiment of this application.
图3为本申请实施例提供的图片显示装置的结构示意图。FIG. 3 is a schematic structural diagram of a picture display device provided by an embodiment of the application.
图4为本申请实施例提供的智能设备的结构示意图。Fig. 4 is a schematic structural diagram of a smart device provided by an embodiment of the application.
图5为本申请实施例提供的智能设备的具体结构图。Fig. 5 is a specific structure diagram of a smart device provided by an embodiment of the application.
发明实施例Invention embodiment
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative work shall fall within the protection scope of this application.
请参阅图1,图1为本申请实施例提供的图片显示方法的第一种流程示意图。图片显示方法,包括:Please refer to FIG. 1. FIG. 1 is a schematic diagram of the first process of the image display method provided by an embodiment of the application. Picture display methods, including:
步骤101、与目标设备建立连接,并获取所述目标设备中摄像头的参数信息。Step 101: Establish a connection with a target device, and obtain parameter information of a camera in the target device.
其中,目标设备可以为手机、平板电脑、笔记本电脑、个人数字助理等具有摄像头且可通过无线保真(Wireless Fidelity,WiFi)、蓝牙等可与其他设备建立信息传输连接的设备,在目标设备中存储有多种应用程序,比如具备娱乐功能的应用(如视频应用,摄像应用,游戏应用,阅读软件),又如具备服务功能的应用(如地图导航应用、餐饮应用等)。Among them, the target device can be a mobile phone, tablet computer, notebook computer, personal digital assistant, etc., which has a camera and can establish information transmission connections with other devices through Wireless Fidelity (WiFi), Bluetooth, etc. In the target device A variety of applications are stored, such as applications with entertainment functions (such as video applications, camera applications, game applications, reading software), and applications with service functions (such as map navigation applications, catering applications, etc.).
具体的,摄像头的参数信息可以包括:电耦合器件(CCD)的尺寸、像素、水平分辨率、最小照度(即CCD对环境光线的敏感程度)、扫描制式、信噪比等的一些参数。当与目标设备通过WiFi以及蓝牙等方式建立连接后,可向目标设备发送一条指令,要求目标设备在接收到该条指令后反馈一上述所提及的摄像头的参数信息。Specifically, the parameter information of the camera may include some parameters such as the size of the electrical coupling device (CCD), pixels, horizontal resolution, minimum illuminance (that is, the sensitivity of the CCD to ambient light), scanning mode, and signal-to-noise ratio. After establishing a connection with the target device through WiFi, Bluetooth, etc., an instruction can be sent to the target device, requesting the target device to feed back one of the aforementioned camera parameter information after receiving the instruction.
步骤102、接收由目标设备中摄像头拍摄得到的目标图片。Step 102: Receive a target picture taken by a camera in the target device.
具体的,当用户在目标设备上通过摄像头拍摄得到一目标图片后,欲将该目标图片在本智能设备上显示时,需将该目标图片从目标设备发送至本智能设备上 ,发送的方式可通过蓝牙,局域网等方式发送。Specifically, when the user obtains a target picture through the camera on the target device and wants to display the target picture on the smart device, the target picture needs to be sent from the target device to the smart device. The sending method can be Send via Bluetooth, LAN, etc.
其中,由于需要在智能设备上显示目标图片,因此,智能设备需具备显示功能,具体的,智能设备可包含一具有预设分辨率的显示屏。Among them, since the target picture needs to be displayed on the smart device, the smart device needs to have a display function. Specifically, the smart device may include a display screen with a preset resolution.
步骤103、基于参数信息以及预设分辨率调整目标图片,得到待显示图片。Step 103: Adjust the target picture based on the parameter information and the preset resolution to obtain the picture to be displayed.
具体的,由于目标设备中摄像头的像素与智能设备中显示屏的预设分辨率可能存在不对应的情况,因此如果直接将接收到的目标图片在显示屏上显示会造成目标图片不清晰,尺寸与显示屏尺寸不对应等情况,故需要根据目标设备中摄像头的参数信息以及显示屏的预设分辨率来调整目标图片,以使目标图片在显示屏上显示时的效果更好。Specifically, because the pixels of the camera in the target device may not correspond to the preset resolution of the display screen in the smart device, if the received target picture is directly displayed on the display screen, the target picture will be unclear and the size will be unclear. It does not correspond to the size of the display screen, etc., so it is necessary to adjust the target picture according to the parameter information of the camera in the target device and the preset resolution of the display screen to make the target picture display better on the display screen.
由于像素数=图片尺寸*分辨率,因此,可在接收到目标图片后,可先获取目标图片的尺寸信息,在根据上述公式,对摄像头的像素参数与尺寸信息做比值计算,得到目标设备的目标分辨率,这样可以比较目标设备的目标分辨率与显示屏的分辨率,从而调整目标图片。因此,基于参数信息以及预设分辨率调整目标图片,得到待显示图片可以包括:Since the number of pixels = picture size * resolution, after receiving the target picture, the size information of the target picture can be obtained first. According to the above formula, the ratio of the pixel parameter and the size information of the camera is calculated to obtain the target device’s Target resolution, which can compare the target resolution of the target device with the resolution of the display screen to adjust the target image. Therefore, adjusting the target picture based on the parameter information and the preset resolution to obtain the picture to be displayed may include:
获取所述目标图片的尺寸信息;Obtaining size information of the target picture;
计算所述像素参数与所述尺寸信息的比值,得到所述目标设备的目标分辨率;Calculating the ratio of the pixel parameter to the size information to obtain the target resolution of the target device;
基于所述目标分辨率及所述预设分辨率调整所述目标图片,得到待显示图片。The target picture is adjusted based on the target resolution and the preset resolution to obtain a picture to be displayed.
具体的,在计算出目标设备的目标分辨率后,可以先比较目标分辨率是否与预设分辨率相等,若相等,则说明目标设备摄像头拍摄的目标照片可直接在显示屏上显示,则无需调整接收到的目标图片。若目标分辨率与预设分辨率不相等,则需要调整接收到的目标图片。例如:目标分辨率大于预设分辨率,则需要将接收到的目标图片进行压缩或尺寸缩小,直至目标分辨率等于预设分辨率;若目标分辨率小于预设分辨率,则需要将接收到的目标图片进行扩展或尺寸增大,直至目标分辨率等于预设分辨率。从而得到调整后的目标图片,也即待显示图片。因此,基于所述目标分辨率及所述预设分辨率调整所述目标图片,得到待显示图片可以包括:Specifically, after calculating the target resolution of the target device, you can first compare whether the target resolution is equal to the preset resolution. If they are equal, it means that the target photo taken by the camera of the target device can be directly displayed on the display screen, and there is no need Adjust the received target picture. If the target resolution is not equal to the preset resolution, the received target picture needs to be adjusted. For example: if the target resolution is greater than the preset resolution, you need to compress or reduce the size of the received target picture until the target resolution is equal to the preset resolution; if the target resolution is less than the preset resolution, you need to receive Expand or increase the size of the target image until the target resolution is equal to the preset resolution. Thus, the adjusted target picture, that is, the picture to be displayed, is obtained. Therefore, adjusting the target picture based on the target resolution and the preset resolution to obtain the picture to be displayed may include:
判断所述目标分辨率是否等于所述预设分辨率;Determine whether the target resolution is equal to the preset resolution;
若所述目标分辨率不等于所述预设分辨率,则调整所述目标图片的尺寸信息, 以使所述目标分辨率等于所述预设分辨率,得到待显示图片。If the target resolution is not equal to the preset resolution, adjusting the size information of the target picture so that the target resolution is equal to the preset resolution to obtain the picture to be displayed.
步骤104、在所述显示屏中显示所述待显示图片。Step 104: Display the picture to be displayed on the display screen.
具体的,当由步骤103进行处理得到待显示图片后,直接在显示屏上显示即可。Specifically, after the picture to be displayed is obtained by processing in
在一些实施例中,可设定待显示图片在显示屏上显示一定时间后,改变待显示图片中的像素点颜色,以使显示屏显示当前场景的环境色。可对待显示图片中的像素点颜色进行分类,例如:分类后待显示图片的像素点颜色包括:蓝色、红色以及黑色,再确定不同颜色的像素点中像素点数最多的像素点颜色,得到目标像素点颜色,例如:蓝色像素点有100万个,红色像素点有200万个,黑色像素点有300万个,则目标像素点颜色为黑色。这样,在待显示图片在显示屏上显示一定时间后,将待显示图片中每一像素点颜色调整为所述目标像素点颜色。因此,在步骤104之后,还可以包括:In some embodiments, it can be set to change the color of pixels in the picture to be displayed after the picture to be displayed is displayed on the display screen for a certain period of time, so that the display screen displays the ambient color of the current scene. The color of the pixels in the picture to be displayed can be classified. For example, the color of the pixels to be displayed in the picture after classification includes: blue, red and black, and then determine the color of the pixel with the largest number of pixels among the pixels of different colors to obtain the target Pixel color, for example: there are 1 million blue pixels, 2 million red pixels, and 3 million black pixels, then the color of the target pixel is black. In this way, after the picture to be displayed is displayed on the display screen for a certain period of time, the color of each pixel in the picture to be displayed is adjusted to the color of the target pixel. Therefore, after
对所述待显示图片中的像素点颜色进行分类,得到多种不同颜色的像素点;Classify the colors of pixels in the picture to be displayed to obtain pixels of multiple different colors;
确定所述多种不同颜色的像素点中像素点数最多的像素点颜色,得到目标像素点颜色;Determining the color of the pixel with the largest number of pixels among the plurality of pixels of different colors to obtain the color of the target pixel;
当所述待显示图片在所述显示屏中显示的时间到达预设时间时,将所述待显示图片中的每一像素点颜色调整为所述目标像素点颜色。When the display time of the picture to be displayed on the display screen reaches a preset time, the color of each pixel in the picture to be displayed is adjusted to the color of the target pixel.
在一些实施例中,由于智能设备与目标设备建立了连接,因此,在目标设备接收到了来电、短信等提示信息时,可以在显示屏中每隔一段时间显示待显示图片,因此,在步骤104之后,还可以包括:In some embodiments, since the smart device has established a connection with the target device, when the target device receives prompt information such as an incoming call or short message, the picture to be displayed may be displayed on the display screen at regular intervals. Therefore, in
若检测到所述目标设备接收到提示信息,则按照预设时间间隔在所述显示屏上显示所述待显示图片。If it is detected that the target device receives the prompt information, the picture to be displayed is displayed on the display screen at a preset time interval.
本申请实施例提供的图片显示方法,包括:与目标设备建立连接,并获取所述目标设备中摄像头的参数信息;接收由所述目标设备中摄像头拍摄得到的目标图片;基于所述参数信息以及所述预设分辨率调整所述目标图片,得到待显示图片;在所述显示屏中显示所述待显示图片。可以显示任何尺寸的图片,提高用户体验。The picture display method provided by the embodiment of the present application includes: establishing a connection with a target device and obtaining parameter information of a camera in the target device; receiving a target picture taken by a camera in the target device; based on the parameter information and The target picture is adjusted by the preset resolution to obtain the picture to be displayed; the picture to be displayed is displayed on the display screen. Can display pictures of any size to improve user experience.
在一些实施例中,如图2所示提供了一种图片显示方法,该图片显示方法包括 :In some embodiments, a picture display method is provided as shown in FIG. 2, and the picture display method includes:
步骤201、与目标设备建立连接,并获取目标设备中摄像头的参数信息。Step 201: Establish a connection with the target device, and obtain parameter information of the camera in the target device.
其中,目标设备可以为手机、平板电脑、笔记本电脑、个人数字助理等具有摄像头且可通过无线保真(Wireless Fidelity,WiFi)、蓝牙等可与其他设备建立信息传输连接的设备,在目标设备中存储有多种应用程序,比如具备娱乐功能的应用(如视频应用,摄像应用,游戏应用,阅读软件),又如具备服务功能的应用(如地图导航应用、餐饮应用等)。Among them, the target device can be a mobile phone, tablet computer, notebook computer, personal digital assistant, etc., which has a camera and can establish information transmission connection with other devices through Wireless Fidelity (WiFi), Bluetooth, etc. In the target device A variety of applications are stored, such as applications with entertainment functions (such as video applications, camera applications, game applications, reading software), and applications with service functions (such as map navigation applications, catering applications, etc.).
具体的,摄像头的参数信息可以包括:电耦合器件(CCD)的尺寸、像素、水平分辨率、最小照度(即CCD对环境光线的敏感程度)、扫描制式、信噪比等的一些参数。当与目标设备通过WiFi以及蓝牙等方式建立连接后,可向目标设备发送一条指令,要求目标设备在接收到该条指令后反馈一上述所提及的摄像头的参数信息。Specifically, the parameter information of the camera may include some parameters such as the size of the electrical coupling device (CCD), pixels, horizontal resolution, minimum illuminance (that is, the sensitivity of the CCD to ambient light), scanning mode, and signal-to-noise ratio. After establishing a connection with the target device through WiFi, Bluetooth, etc., an instruction can be sent to the target device, requesting the target device to feed back one of the aforementioned camera parameter information after receiving the instruction.
步骤202、接收由目标设备中摄像头拍摄得到的目标图片。Step 202: Receive a target picture taken by a camera in the target device.
具体的,当用户在目标设备上通过摄像头拍摄得到一目标图片后,欲将该目标图片在本智能设备上显示时,需将该目标图片从目标设备发送至本智能设备上,发送的方式可通过蓝牙,局域网等方式发送。Specifically, when the user obtains a target picture through the camera on the target device and wants to display the target picture on the smart device, the target picture needs to be sent from the target device to the smart device. The sending method can be Send via Bluetooth, LAN, etc.
其中,由于需要在智能设备上显示目标图片,因此,智能设备需具备显示功能,具体的,智能设备可包含一具有预设分辨率的显示屏。Among them, since the target picture needs to be displayed on the smart device, the smart device needs to have a display function. Specifically, the smart device may include a display screen with a preset resolution.
步骤203、获取目标图片的尺寸信息。Step 203: Obtain size information of the target picture.
具体的,由于目标设备中摄像头的像素与智能设备中显示屏的预设分辨率可能存在不对应的情况,因此如果直接将接收到的目标图片在显示屏上显示会造成目标图片不清晰,尺寸与显示屏尺寸不对应等情况,故需要根据目标设备中摄像头的参数信息以及显示屏的预设分辨率来调整目标图片,以使目标图片在显示屏上显示时的效果更好。Specifically, because the pixels of the camera in the target device may not correspond to the preset resolution of the display screen in the smart device, if the received target picture is directly displayed on the display screen, the target picture will be unclear and the size will be unclear. If it does not correspond to the size of the display screen, etc., it is necessary to adjust the target picture according to the parameter information of the camera in the target device and the preset resolution of the display screen to make the target picture appear better when displayed on the display screen.
由于像素数=图片尺寸*分辨率,因此,可在接收到目标图片后,可先获取目标图片的尺寸信息。Since the number of pixels=picture size*resolution, after receiving the target picture, the size information of the target picture can be obtained first.
步骤204、计算像素参数与尺寸信息的比值,得到目标设备的目标分辨率。Step 204: Calculate the ratio of the pixel parameter to the size information to obtain the target resolution of the target device.
具体的,根据上述公式,对摄像头的像素参数与尺寸信息做比值计算,得到目 标设备的目标分辨率,这样可以比较目标设备的目标分辨率与显示屏的分辨率。Specifically, according to the above formula, the ratio between the pixel parameters of the camera and the size information is calculated to obtain the target resolution of the target device, so that the target resolution of the target device can be compared with the resolution of the display screen.
步骤205、判断目标分辨率是否等于所述预设分辨率。Step 205: Determine whether the target resolution is equal to the preset resolution.
具体的,在计算出目标设备的目标分辨率后,可以先比较目标分辨率是否与预设分辨率相等,若相等,则说明目标设备摄像头拍摄的目标照片可直接在显示屏上显示,则无需调整接收到的目标图片。若目标分辨率与预设分辨率不相等,则需要调整接收到的目标图片。Specifically, after calculating the target resolution of the target device, you can first compare whether the target resolution is equal to the preset resolution. If they are equal, it means that the target photo taken by the camera of the target device can be directly displayed on the display screen, and there is no need Adjust the received target picture. If the target resolution is not equal to the preset resolution, the received target picture needs to be adjusted.
步骤206、若目标分辨率不等于预设分辨率,则调整目标图片的尺寸信息,以使目标分辨率等于预设分辨率,得到待显示图片。Step 206: If the target resolution is not equal to the preset resolution, adjust the size information of the target picture so that the target resolution is equal to the preset resolution to obtain the picture to be displayed.
例如:目标分辨率大于预设分辨率,则需要将接收到的目标图片进行压缩或尺寸缩小,直至目标分辨率等于预设分辨率;若目标分辨率小于预设分辨率,则需要将接收到的目标图片进行扩展或尺寸增大,直至目标分辨率等于预设分辨率。从而得到调整后的目标图片,也即待显示图片。For example: if the target resolution is greater than the preset resolution, you need to compress or reduce the size of the received target picture until the target resolution is equal to the preset resolution; if the target resolution is less than the preset resolution, you need to receive Expand or increase the size of the target image until the target resolution is equal to the preset resolution. Thus, the adjusted target picture, that is, the picture to be displayed, is obtained.
步骤207、在显示屏中显示待显示图片。Step 207: Display the picture to be displayed on the display screen.
具体的,当由步骤206进行处理得到待显示图片后,直接在显示屏上显示即可。Specifically, after the picture to be displayed is obtained by processing in
步骤208、对待显示图片中的像素点颜色进行分类,得到多种不同颜色的像素点。Step 208: Classify the colors of the pixels in the picture to be displayed to obtain pixels of multiple different colors.
具体的,可设定待显示图片在显示屏上显示一定时间后,改变待显示图片中的像素点颜色,以使显示屏显示当前场景的环境色。可对待显示图片中的像素点颜色进行分类,例如:分类后待显示图片的像素点颜色包括:蓝色、红色以及黑色。Specifically, after the picture to be displayed is displayed on the display screen for a certain period of time, the color of the pixels in the picture to be displayed can be set to change the color of the pixels in the picture to be displayed, so that the display screen displays the ambient color of the current scene. The color of the pixels in the picture to be displayed can be classified. For example, the color of the pixels in the picture to be displayed after classification includes: blue, red, and black.
步骤209、确定多种不同颜色的像素点中像素点数最多的像素点颜色,得到目标像素点颜色。Step 209: Determine the color of the pixel with the largest number of pixels among the pixels of multiple different colors to obtain the color of the target pixel.
其中,确定不同颜色的像素点中像素点数最多的像素点颜色,得到目标像素点颜色,例如:蓝色像素点有100万个,红色像素点有200万个,黑色像素点有300万个,则目标像素点颜色为黑色。Among them, determine the color of the pixel with the largest number of pixels among the pixels of different colors to obtain the target pixel color, for example: 1 million blue pixels, 2 million red pixels, and 3 million black pixels. Then the color of the target pixel is black.
步骤210、当待显示图片在显示屏中显示的时间到达预设时间时,将待显示图 片中的每一像素点颜色调整为所述目标像素点颜色。Step 210: When the display time of the picture to be displayed on the display screen reaches the preset time, adjust the color of each pixel in the picture to be displayed to the color of the target pixel.
在待显示图片在显示屏上显示一定时间后,将待显示图片中每一像素点颜色调整为所述目标像素点颜色。After the picture to be displayed is displayed on the display screen for a certain period of time, the color of each pixel in the picture to be displayed is adjusted to the color of the target pixel.
步骤211、若检测到目标设备接收到提示信息,则按照预设时间间隔在显示屏上显示待显示图片。Step 211: If it is detected that the target device receives the prompt information, the picture to be displayed is displayed on the display screen at a preset time interval.
具体的,由于智能设备与目标设备建立了连接,因此,在目标设备接收到了来电、短信等提示信息时,可以在显示屏中每隔一段时间显示待显示图片。Specifically, since the smart device has established a connection with the target device, when the target device receives prompt information such as an incoming call or short message, the picture to be displayed can be displayed on the display screen at regular intervals.
本申请实施例提供的图片显示方法,包括:与目标设备建立连接,并获取所述目标设备中摄像头的参数信息;接收由所述目标设备中摄像头拍摄得到的目标图片;基于所述参数信息以及所述预设分辨率调整所述目标图片,得到待显示图片;在所述显示屏中显示所述待显示图片。可以显示任何尺寸的图片,提高用户体验。The picture display method provided by the embodiment of the present application includes: establishing a connection with a target device and obtaining parameter information of a camera in the target device; receiving a target picture taken by a camera in the target device; based on the parameter information and The target picture is adjusted by the preset resolution to obtain the picture to be displayed; the picture to be displayed is displayed on the display screen. Can display pictures of any size to improve user experience.
请参阅图3,图3为本申请实施例提供的图片显示装置的结构示意图。所述图片显示装置包括:获取单元31、接收单元32、第一调整单元33及显示单元34。Please refer to FIG. 3, which is a schematic structural diagram of a picture display device provided by an embodiment of the application. The picture display device includes: an acquiring
其中,获取单元31、用于与目标设备建立连接,并获取所述目标设备中摄像头的参数信息。Wherein, the acquiring
其中,目标设备可以为手机、平板电脑、笔记本电脑、个人数字助理等具有摄像头且可通过无线保真(Wireless Fidelity,WiFi)、蓝牙等可与其他设备建立信息传输连接的设备,在目标设备中存储有多种应用程序,比如具备娱乐功能的应用(如视频应用,摄像应用,游戏应用,阅读软件),又如具备服务功能的应用(如地图导航应用、餐饮应用等)。Among them, the target device can be a mobile phone, tablet computer, notebook computer, personal digital assistant, etc., which has a camera and can establish information transmission connection with other devices through Wireless Fidelity (WiFi), Bluetooth, etc. In the target device A variety of applications are stored, such as applications with entertainment functions (such as video applications, camera applications, game applications, reading software), and applications with service functions (such as map navigation applications, catering applications, etc.).
具体的,摄像头的参数信息可以包括:电耦合器件(CCD)的尺寸、像素、水平分辨率、最小照度(即CCD对环境光线的敏感程度)、扫描制式、信噪比等的一些参数。当与目标设备通过WiFi以及蓝牙等方式建立连接后,可向目标设备发送一条指令,要求目标设备在接收到该条指令后反馈一上述所提及的摄像头的参数信息。Specifically, the parameter information of the camera may include some parameters such as the size of the electrical coupling device (CCD), pixels, horizontal resolution, minimum illuminance (that is, the sensitivity of the CCD to ambient light), scanning mode, and signal-to-noise ratio. After establishing a connection with the target device through WiFi, Bluetooth, etc., an instruction can be sent to the target device, requesting the target device to feed back one of the aforementioned camera parameter information after receiving the instruction.
接收单元32、用于接收由所述目标设备中摄像头拍摄得到的目标图片。The receiving
具体的,当用户在目标设备上通过摄像头拍摄得到一目标图片后,欲将该目标 图片在本智能设备上显示时,需将该目标图片从目标设备发送至本智能设备上,发送的方式可通过蓝牙,局域网等方式发送。Specifically, when the user obtains a target picture through the camera on the target device and wants to display the target picture on the smart device, the target picture needs to be sent from the target device to the smart device. The sending method can be Send via Bluetooth, LAN, etc.
其中,由于需要在智能设备上显示目标图片,因此,智能设备需具备显示功能,具体的,智能设备可包含一具有预设分辨率的显示屏。Among them, since the target picture needs to be displayed on the smart device, the smart device needs to have a display function. Specifically, the smart device may include a display screen with a preset resolution.
第一调整单元33、用于基于所述参数信息以及所述预设分辨率调整所述目标图片,得到待显示图片。The
具体的,由于目标设备中摄像头的像素与智能设备中显示屏的预设分辨率可能存在不对应的情况,因此如果直接将接收到的目标图片在显示屏上显示会造成目标图片不清晰,尺寸与显示屏尺寸不对应等情况,故需要根据目标设备中摄像头的参数信息以及显示屏的预设分辨率来调整目标图片,以使目标图片在显示屏上显示时的效果更好。Specifically, because the pixels of the camera in the target device may not correspond to the preset resolution of the display screen in the smart device, if the received target picture is directly displayed on the display screen, the target picture will be unclear and the size will be unclear. It does not correspond to the size of the display screen, etc., so it is necessary to adjust the target picture according to the parameter information of the camera in the target device and the preset resolution of the display screen to make the target picture display better on the display screen.
显示单元34、用于在所述显示屏中显示所述待显示图片。The
具体的,当由第一调整单元33进行处理得到待显示图片后,直接在显示屏上显示即可。Specifically, after the image to be displayed is obtained through processing by the
在一些实施例中,第一调整单元33还可以包括:In some embodiments, the
获取子单元,用于获取所述目标图片的尺寸信息;An obtaining sub-unit for obtaining size information of the target picture;
计算子单元,用于计算所述像素参数与所述尺寸信息的比值,得到所述目标设备的目标分辨率;A calculation subunit for calculating the ratio of the pixel parameter to the size information to obtain the target resolution of the target device;
调整子单元,用于基于所述目标分辨率及所述预设分辨率调整所述目标图片,得到待显示图片。The adjustment subunit is configured to adjust the target picture based on the target resolution and the preset resolution to obtain a picture to be displayed.
在一些实施例中,图片显示装置,还可以包括:In some embodiments, the picture display device may further include:
分类单元,用于在所述显示屏中显示所述待显示图片之后,对所述待显示图片中的像素点颜色进行分类,得到多种不同颜色的像素点;A classification unit, configured to classify the colors of pixels in the picture to be displayed after displaying the picture to be displayed on the display screen to obtain pixels of multiple different colors;
确定单元,用于确定所述多种不同颜色的像素点中像素点数最多的像素点颜色,得到目标像素点颜色;A determining unit, configured to determine the color of the pixel with the largest number of pixels among the plurality of pixels of different colors to obtain the color of the target pixel;
第二调整单元,用于当所述待显示图片在所述显示屏中显示的时间到达预设时间时,将所述待显示图片中的每一像素点颜色调整为所述目标像素点颜色。The second adjustment unit is configured to adjust the color of each pixel in the picture to be displayed to the color of the target pixel when the display time of the picture to be displayed on the display screen reaches a preset time.
基于上述方法,本发明还提供了一种存储介质,其上存储有多条指令,其中, 所述指令适合由处理器加载并执行如上所述的图片显示方法。Based on the above method, the present invention also provides a storage medium on which a plurality of instructions are stored, where the instructions are suitable for being loaded by a processor and executing the image display method as described above.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取记忆体(RAM,Random Access Memory)、磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above-mentioned embodiments can be completed by a program instructing relevant hardware. The program can be stored in a computer-readable storage medium, and the storage medium can include: Read only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk, etc.
本申请实施例还提供一种智能设备,智能设备包括:The embodiment of the present application also provides a smart device, and the smart device includes:
支架,所述支架的相对两端设置有连接结构;A bracket, the opposite ends of the bracket are provided with a connecting structure;
第一环带以及第二环带,所述第一环带一端以及第二环带的一端分别与所述支架的相对两端设置的连接结构连接;A first endless belt and a second endless belt, one end of the first endless belt and one end of the second endless belt are respectively connected to the connecting structure provided at the opposite ends of the bracket;
柔性显示屏,所述柔性显示屏设置在所述支架上;A flexible display screen, the flexible display screen is arranged on the support;
处理器和存储器,存储器中存储有计算机程序,处理器通过调用存储器中存储的计算机程序,用于执行图片显示方法,所述图片显示方法包括:A processor and a memory. A computer program is stored in the memory. The processor is used to execute a picture display method by calling the computer program stored in the memory. The picture display method includes:
与目标设备建立连接,并获取所述目标设备中摄像头的参数信息;Establish a connection with the target device, and obtain parameter information of the camera in the target device;
接收由所述目标设备中摄像头拍摄得到的目标图片;Receiving a target picture taken by a camera in the target device;
基于所述参数信息以及所述预设分辨率调整所述目标图片,得到待显示图片;Adjusting the target picture based on the parameter information and the preset resolution to obtain a picture to be displayed;
在所述显示屏中显示所述待显示图片,其中,所述参数信息包括:电耦合器件的尺寸、像素、水平分辨率、最小照度、扫描制式、信噪比。The picture to be displayed is displayed on the display screen, wherein the parameter information includes: the size, pixels, horizontal resolution, minimum illuminance, scanning mode, and signal-to-noise ratio of the electrical coupling device.
其中,所述参数信息为所述摄像头的像素参数,所述基于所述参数信息以及所述预设分辨率调整所述目标图片,得到待显示图片,包括:Wherein, the parameter information is a pixel parameter of the camera, and the adjusting the target picture based on the parameter information and the preset resolution to obtain the picture to be displayed includes:
获取所述目标图片的尺寸信息;Obtaining size information of the target picture;
计算所述像素参数与所述尺寸信息的比值,得到所述目标设备的目标分辨率;Calculating the ratio of the pixel parameter to the size information to obtain the target resolution of the target device;
基于所述目标分辨率及所述预设分辨率调整所述目标图片,得到待显示图片。The target picture is adjusted based on the target resolution and the preset resolution to obtain a picture to be displayed.
其中,所述基于所述目标分辨率及所述预设分辨率调整所述目标图片,得到待显示图片,包括:Wherein, the adjusting the target picture based on the target resolution and the preset resolution to obtain the picture to be displayed includes:
判断所述目标分辨率是否等于所述预设分辨率;Determine whether the target resolution is equal to the preset resolution;
若所述目标分辨率不等于所述预设分辨率,则调整所述目标图片的尺寸信息,以使所述目标分辨率等于所述预设分辨率,得到待显示图片。If the target resolution is not equal to the preset resolution, adjusting the size information of the target picture so that the target resolution is equal to the preset resolution to obtain the picture to be displayed.
其中,所述在所述显示屏中显示所述待显示图片之后,还包括:Wherein, after displaying the picture to be displayed on the display screen, the method further includes:
对所述待显示图片中的像素点颜色进行分类,得到多种不同颜色的像素点;Classify the colors of pixels in the picture to be displayed to obtain pixels of multiple different colors;
确定所述多种不同颜色的像素点中像素点数最多的像素点颜色,得到目标像素点颜色;Determining the color of the pixel with the largest number of pixels among the plurality of pixels of different colors to obtain the color of the target pixel;
当所述待显示图片在所述显示屏中显示的时间到达预设时间时,将所述待显示图片中的每一像素点颜色调整为所述目标像素点颜色。When the display time of the picture to be displayed on the display screen reaches a preset time, the color of each pixel in the picture to be displayed is adjusted to the color of the target pixel.
其中,在所述显示屏中显示所述待显示图片之后,还包括:Wherein, after displaying the picture to be displayed on the display screen, the method further includes:
若检测到所述目标设备接收到提示信息,则按照预设时间间隔在所述显示屏上显示所述待显示图片。If it is detected that the target device receives the prompt information, the picture to be displayed is displayed on the display screen at a preset time interval.
在一些实施例中,请参阅图4,图4示出了本申请实施例提供的智能设备的结构示意图,其中,智能设备100包括:In some embodiments, please refer to FIG. 4, which shows a schematic structural diagram of a smart device provided by an embodiment of the present application, where the
支架10,所述支架10的相对两端设置有连接结构20;A
第一环带30以及第二环带40,所述第一环带30一端以及第二环带40的一端分别与所述支架10的相对两端设置的连接结构20连接;A first
柔性显示屏50,所述柔性显示屏50设置在所述支架10上。The
其中,连接结构20与第一环带30以及第二环带40可通过一转轴进行连接,以使第一环带30以及第二环带40围绕该转轴进行转动。具体的,智能设备100还可以包括处理器和存储器,处理器及存储器可设置在支架10内,存储器中存储有计算机程序,所述处理器通过调用所述存储器中存储的所述计算机程序,用于执行如上所述的图片显示方法。其中,该智能设备100可以为智能手表、智能戒指等,在此不做限定。Wherein, the connecting
图5示出了本发明实施例提供的智能设备的具体结构框图,该智能设备可以用于实施上述实施例中提供的图片显示方法、装置及存储介质。FIG. 5 shows a specific structural block diagram of a smart device provided in an embodiment of the present invention, and the smart device can be used to implement the picture display method, device, and storage medium provided in the foregoing embodiment.
如图5所示,智能设备100可以包括RF(Radio Frequency,射频)电路110、包括有一个或一个以上(图中仅示出一个)计算机可读存储介质的存储器120、输入单元130、显示单元140、传感器150、音频电路160、传输模块170、包括有一个或者一个以上(图中仅示出一个)处理核心的处理器180以及电源190等部件。本领域技术人员可以理解,图5中示出的智能设备1200结构并不构成对智能设备100的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不 同的部件布置。其中:As shown in FIG. 5, the
RF电路110可包括各种现有的用于执行这些功能的电路元件,例如,天线、射频收发器、数字信号处理器、加密/解密芯片、用户身份模块(SIM)卡、存储器等等。RF电路110可与各种网络如互联网、企业内部网、无线网络进行通讯或者通过无线网络与第二设备进行通讯。上述的无线网络可包括蜂窝式电话网、无线局域网或者城域网。The
存储器120可用于存储软件程序以及模块,如上述实施例中图片显示方法、装置、存储介质及智能设备对应的程序指令/模块,处理器180通过运行存储在存储器120内的软件程序以及模块,从而执行各种功能应用以及数据处理,即实现芯片相互识别的功能。存储器120可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者第二非易失性固态存储器。在一些实例中,存储器120可以为如上所述的存储介质。The
输入单元130可用于接收输入的数字或字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。具体地,输入单元130可包括触敏表面131以及其他输入设备132。触敏表面131,也称为触摸显示屏或者触控板,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触敏表面131上或在触敏表面131附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触敏表面131可包括触摸检测装置和触摸控制器两个部分。The
显示单元140可用于显示由用户输入的信息或提供给用户的信息以及智能设备1200的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。显示单元140可包括显示面板141,进一步的,触敏表面131可覆盖显示面板141。其中,上述实施例中智能设备的显示界面可以用该显示单元140表示,即显示界面显示的显示内容可以由显示单元140进行显示。The
智能设备1200还可包括至少一种传感器150,比如光传感器、运动传感器以及第二传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板141的亮度,接近传感器可在智能设备1200移动到耳边时,关闭显示面板141和/或背光。至于智能设备1200还 可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等第二传感器,在此不再赘述。The smart device 1200 may further include at least one
音频电路160、扬声器161,传声器162可提供用户与智能设备1200之间的音频接口。音频电路160可将接收到的音频数据转换后的电信号,传输到扬声器161,由扬声器161转换为声音信号输出;另一方面,传声器162将收集的声音信号转换为电信号,由音频电路160接收后转换为音频数据,再将音频数据输出处理器180处理后,经RF电路110以发送给比如另一终端,或者将音频数据输出至存储器120以便进一步处理。音频电路160还可能包括耳塞插孔,以提供外设耳机与智能设备1200的通信。The
智能设备1200通过传输模块170可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。The smart device 1200 can help users send and receive emails, browse web pages, and access streaming media through the
处理器180是智能设备1200的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器120内的软件程序和/或模块,以及调用存储在存储器120内的数据,执行智能设备1200的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器180可包括一个或多个处理核心;在一些实施例中,处理器180可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器180中。The
具体的,处理器180包括有:算术逻辑运算单元(Arithmetic Logic Unit,ALU)、应用处理器、全球定位系统(Global Positioning System,GPS)与控制及状态总线(Bus)(图中未示出)。Specifically, the
智能设备1200还包括给各个部件供电的电源190(比如电池),在一些实施例中,电源可以通过电源管理系统与处理器180逻辑相连,从而通过电源管理系统实现管理供电、放电、以及功耗管理等功能。电源190还可以包括一个或一个以上的直流或交流电源、再供电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。The smart device 1200 also includes a power supply 190 (such as a battery) for supplying power to various components. In some embodiments, the power supply may be logically connected to the
尽管未示出,智能设备1200还可以包括摄像头(如前置摄像头、后置摄像头)、蓝牙模块等,在此不再赘述。Although not shown, the smart device 1200 may also include a camera (such as a front camera, a rear camera), a Bluetooth module, etc., which will not be repeated here.
具体在本实施例中,智能设备1200的显示单元140是触摸屏显示器,智能设备1200还包括有存储器120,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器120中,且经配置以由一个或者一个以上处理器180执行一个或者一个以上程序包含用于进行以下操作的指令:Specifically, in this embodiment, the
与目标设备建立连接,并获取所述目标设备中摄像头的参数信息;Establish a connection with the target device, and obtain parameter information of the camera in the target device;
接收由所述目标设备中摄像头拍摄得到的目标图片;Receiving a target picture taken by a camera in the target device;
基于所述参数信息以及所述预设分辨率调整所述目标图片,得到待显示图片;Adjusting the target picture based on the parameter information and the preset resolution to obtain a picture to be displayed;
在所述显示屏中显示所述待显示图片。The picture to be displayed is displayed on the display screen.
在一些实施例中,在基于所述参数信息以及所述预设分辨率调整所述目标图片,得到待显示图片时,处理器380还可以执行以下操作的指令:In some embodiments, when the target picture is adjusted based on the parameter information and the preset resolution to obtain the picture to be displayed, the processor 380 may further execute the following instructions:
获取所述目标图片的尺寸信息;Obtaining size information of the target picture;
计算所述像素参数与所述尺寸信息的比值,得到所述目标设备的目标分辨率;Calculating the ratio of the pixel parameter to the size information to obtain the target resolution of the target device;
基于所述目标分辨率及所述预设分辨率调整所述目标图片,得到待显示图片。The target picture is adjusted based on the target resolution and the preset resolution to obtain a picture to be displayed.
在一些实施例中,在基于所述目标分辨率及所述预设分辨率调整所述目标图片,得到待显示图片时,处理器380还可以执行以下操作的指令:In some embodiments, when the target picture is adjusted based on the target resolution and the preset resolution to obtain a picture to be displayed, the processor 380 may further execute the following instructions:
判断所述目标分辨率是否等于所述预设分辨率;Determine whether the target resolution is equal to the preset resolution;
若所述目标分辨率不等于所述预设分辨率,则调整所述目标图片的尺寸信息,以使所述目标分辨率等于所述预设分辨率,得到待显示图片。If the target resolution is not equal to the preset resolution, adjusting the size information of the target picture so that the target resolution is equal to the preset resolution to obtain the picture to be displayed.
在一些实施例中,在所述显示屏中显示所述待显示图片之后,处理器380还可以执行以下操作的指令:In some embodiments, after the picture to be displayed is displayed on the display screen, the processor 380 may further execute instructions for the following operations:
对所述待显示图片中的像素点颜色进行分类,得到多种不同颜色的像素点;Classify the colors of pixels in the picture to be displayed to obtain pixels of multiple different colors;
确定所述多种不同颜色的像素点中像素点数最多的像素点颜色,得到目标像素点颜色;Determining the color of the pixel with the largest number of pixels among the plurality of pixels of different colors to obtain the color of the target pixel;
当所述待显示图片在所述显示屏中显示的时间到达预设时间时,将所述待显示图片中的每一像素点颜色调整为所述目标像素点颜色。When the display time of the picture to be displayed on the display screen reaches a preset time, the color of each pixel in the picture to be displayed is adjusted to the color of the target pixel.
在一些实施例中,在所述显示屏中显示所述待显示图片之后,处理器380还可以执行以下操作的指令:In some embodiments, after the picture to be displayed is displayed on the display screen, the processor 380 may further execute instructions for the following operations:
若检测到所述目标设备接收到提示信息,则按照预设时间间隔在所述显示屏上 显示所述待显示图片。If it is detected that the target device receives the prompt information, the picture to be displayed is displayed on the display screen at a preset time interval.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in an embodiment, reference may be made to related descriptions of other embodiments.
以上对本申请实施例所提供的一种图片显示方法、装置、存储介质及智能设备进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的技术方案及其核心思想;本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例的技术方案的范围。The above describes in detail a picture display method, device, storage medium, and smart device provided by the embodiments of this application. Specific examples are used in this article to illustrate the principles and implementations of this application. The description of the above embodiments is only It is used to help understand the technical solutions of the present application and its core ideas; those of ordinary skill in the art should understand that: they can still modify the technical solutions described in the foregoing embodiments, or equivalently replace some of the technical features; and These modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
Claims (13)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201911375602.4A CN111176602B (en) | 2019-12-27 | 2019-12-27 | Picture display method and device, storage medium and intelligent device |
| CN201911375602.4 | 2019-12-27 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2021128545A1 true WO2021128545A1 (en) | 2021-07-01 |
Family
ID=70648908
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2020/075844 Ceased WO2021128545A1 (en) | 2019-12-27 | 2020-02-19 | Image display method and apparatus, storage medium and smart device |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN111176602B (en) |
| WO (1) | WO2021128545A1 (en) |
Families Citing this family (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111857626A (en) * | 2020-07-16 | 2020-10-30 | 北京奇虎科技有限公司 | Picture display method, device, device and storage medium based on screen coordinates |
| CN112115392B (en) * | 2020-08-18 | 2023-08-25 | 北京奇艺世纪科技有限公司 | Image display method, device, electronic equipment and readable storage medium |
| CN112669291B (en) * | 2020-12-31 | 2025-07-08 | 北京梧桐车联科技有限责任公司 | Picture processing method, device, equipment and computer readable storage medium |
| CN113255644B (en) * | 2021-05-10 | 2023-01-17 | 青岛海信移动通信技术股份有限公司 | Display device and image recognition method thereof |
| CN113795015B (en) * | 2021-08-17 | 2023-10-20 | 咪咕文化科技有限公司 | Data transmission method, device, equipment and computer readable storage medium |
| CN116260998A (en) * | 2023-05-04 | 2023-06-13 | 深圳市康索特软件有限公司 | System and method for solving multi-terminal picture switching interference of intelligent camera system |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101697579B (en) * | 2009-10-23 | 2015-05-20 | 中兴通讯股份有限公司 | Terminal with videophone function and method for adjusting video images thereof |
| CN105915721A (en) * | 2016-06-08 | 2016-08-31 | 惠州Tcl移动通信有限公司 | Method based on bluetooth intelligence watch SPP remote control shooting and system thereof |
| CN108804610A (en) * | 2018-05-30 | 2018-11-13 | 平安科技(深圳)有限公司 | Picture compression display method and device, computer equipment and storage medium |
| CN108990169A (en) * | 2017-09-08 | 2018-12-11 | 西安中兴新软件有限责任公司 | A kind of transmission of data, resource share method and user terminal, access point apparatus |
| CN110381360A (en) * | 2019-08-23 | 2019-10-25 | 四川长虹电器股份有限公司 | Picture file delivery method and system for smart television |
Family Cites Families (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN100428331C (en) * | 2005-08-12 | 2008-10-22 | 深圳华为通信技术有限公司 | Device and method for image self-adaptive zooming in mobile terminal |
| US20140267742A1 (en) * | 2013-03-15 | 2014-09-18 | William F. Tapia | Camera with remote watch |
| KR20160034065A (en) * | 2014-09-19 | 2016-03-29 | 엘지전자 주식회사 | Mobile terminal and method for controlling the same |
| CN104657482A (en) * | 2015-02-26 | 2015-05-27 | 深圳市中兴移动通信有限公司 | Method for displaying application interface and terminal |
| CN105915793A (en) * | 2016-05-10 | 2016-08-31 | 北京奇虎科技有限公司 | Intelligent watch shooting processing method and device |
| CN106874012A (en) * | 2017-03-01 | 2017-06-20 | 广州阿里巴巴文学信息技术有限公司 | Theme background method to set up, device and electronic equipment |
| CN207731191U (en) * | 2018-01-04 | 2018-08-14 | 广东小天才科技有限公司 | a wearable device |
| CN109240572B (en) * | 2018-07-20 | 2021-01-05 | 华为技术有限公司 | A method for acquiring pictures, and a method and device for processing pictures |
-
2019
- 2019-12-27 CN CN201911375602.4A patent/CN111176602B/en active Active
-
2020
- 2020-02-19 WO PCT/CN2020/075844 patent/WO2021128545A1/en not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101697579B (en) * | 2009-10-23 | 2015-05-20 | 中兴通讯股份有限公司 | Terminal with videophone function and method for adjusting video images thereof |
| CN105915721A (en) * | 2016-06-08 | 2016-08-31 | 惠州Tcl移动通信有限公司 | Method based on bluetooth intelligence watch SPP remote control shooting and system thereof |
| CN108990169A (en) * | 2017-09-08 | 2018-12-11 | 西安中兴新软件有限责任公司 | A kind of transmission of data, resource share method and user terminal, access point apparatus |
| CN108804610A (en) * | 2018-05-30 | 2018-11-13 | 平安科技(深圳)有限公司 | Picture compression display method and device, computer equipment and storage medium |
| CN110381360A (en) * | 2019-08-23 | 2019-10-25 | 四川长虹电器股份有限公司 | Picture file delivery method and system for smart television |
Also Published As
| Publication number | Publication date |
|---|---|
| CN111176602A (en) | 2020-05-19 |
| CN111176602B (en) | 2021-09-28 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2021128545A1 (en) | Image display method and apparatus, storage medium and smart device | |
| US20220408020A1 (en) | Image Processing Method, Electronic Device, and Cloud Server | |
| CN110933334B (en) | Video noise reduction method, device, terminal and storage medium | |
| US20120165071A1 (en) | Mobile device capable of automatically switching its operation modes | |
| CN108833753B (en) | Image acquisition and application method, terminal and computer-readable storage medium | |
| WO2019129020A1 (en) | Automatic focusing method of camera, storage device and mobile terminal | |
| CN107820011A (en) | Photographic method and camera arrangement | |
| WO2022100048A1 (en) | Image processing method and apparatus, electronic device, and readable storage medium | |
| CN108494974A (en) | Adjusting method, mobile terminal and the storage medium of display brightness | |
| CN108307109A (en) | A kind of high dynamic range images method for previewing and terminal device | |
| CN107426088A (en) | Pictorial information processing method and processing device | |
| WO2022134632A1 (en) | Work processing method and apparatus | |
| CN107895352A (en) | A kind of image processing method and mobile terminal | |
| CN109413264B (en) | Background image adjustment method and terminal device | |
| CN110198428A (en) | A kind of multimedia file producting method and first terminal | |
| CN108804628B (en) | A picture display method and terminal | |
| CN110798622A (en) | Shared shooting method and electronic equipment | |
| WO2021120383A1 (en) | Screen color temperature control method and apparatus, storage medium, and mobile terminal | |
| CN108616687B (en) | A photographing method, device and mobile terminal | |
| CN107959755B (en) | Photographing method, mobile terminal and computer readable storage medium | |
| CN107391073B (en) | Display modules and electronic equipment | |
| CN110505660B (en) | A network rate adjustment method and terminal equipment | |
| CN109636715B (en) | Image data transmission method, device and storage medium | |
| CN115798418A (en) | Image display method, device, terminal and storage medium | |
| CN109005337B (en) | A kind of photographing method and terminal |
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: 20905262 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: 20905262 Country of ref document: EP Kind code of ref document: A1 |