WO2022089076A1 - Display device, mobile terminal and picture synchronous scaling method - Google Patents

Display device, mobile terminal and picture synchronous scaling method Download PDF

Info

Publication number
WO2022089076A1
WO2022089076A1 PCT/CN2021/118592 CN2021118592W WO2022089076A1 WO 2022089076 A1 WO2022089076 A1 WO 2022089076A1 CN 2021118592 W CN2021118592 W CN 2021118592W WO 2022089076 A1 WO2022089076 A1 WO 2022089076A1
Authority
WO
WIPO (PCT)
Prior art keywords
display
scaling
mobile terminal
display device
picture
Prior art date
Application number
PCT/CN2021/118592
Other languages
French (fr)
Chinese (zh)
Inventor
肖成创
张传强
林乐
于颜梅
程志
郑鹏
Original Assignee
海信视像科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from CN202011179994.XA external-priority patent/CN114430492B/en
Priority claimed from CN202110175799.8A external-priority patent/CN112954419B/en
Application filed by 海信视像科技股份有限公司 filed Critical 海信视像科技股份有限公司
Publication of WO2022089076A1 publication Critical patent/WO2022089076A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals

Definitions

  • the present application relates to display device technologies, and in particular, to a display device, a mobile terminal, and a method for synchronous scaling of pictures.
  • the smart TV can display the content in the mobile terminal by connecting to the mobile terminal such as the mobile phone.
  • a smart TV can establish a DLNA (Digital Living Network Alliance, Digital Living Network Alliance) and other means of image projection connection with a mobile terminal. After the connection relationship is established, the mobile terminal can send the displayed picture to the smart TV for display. And through the established connection relationship, operations such as zooming in, moving, etc. performed by the user on the mobile terminal can also be synchronously mapped to the smart TV, so as to realize the synchronous zooming of pictures.
  • DLNA Digital Living Network Alliance, Digital Living Network Alliance
  • Some embodiments of the present application provide a display device including a display, a communicator, and a controller.
  • the display is configured to display the target picture
  • the communicator is configured to establish a communication connection with the mobile terminal
  • the controller is configured to perform the following program steps: receiving a zoom instruction, the zoom instruction is caused by the mobile terminal The terminal inputs when the original picture boundary exceeds the display area boundary, and the scaling instruction includes a display position and a scaling ratio; the original picture is the picture displayed in the mobile terminal; in response to the scaling instruction, the target is moved according to the display position The position of the picture, the target picture is the picture displayed on the display; and the target picture is scaled according to the scaling ratio based on the display position.
  • Some embodiments of the present application also provide a mobile terminal, including a display unit, a communication unit, and a processing unit.
  • the display unit is configured to display the original picture;
  • the communication unit is configured to establish a communication connection with the display device;
  • the processing unit is configured to execute the following program steps: receiving a zoom command input by a user; responding to the A zoom command, to perform zooming on the displayed original picture; if the boundary of the original picture exceeds the display area boundary of the display unit, calculate the display position and the zoom ratio; send a zoom command to the display device, the zoom command includes The display position and zoom ratio.
  • Some embodiments of the present application further provide a method for synchronously scaling a picture, including: a mobile terminal receiving a scaling command input by a user; the mobile terminal scaling the displayed original picture according to the scaling command; if the original picture exceeds the boundary of the original picture display area boundary, the mobile terminal sends a zoom instruction to the display device, the zoom instruction includes a display position and a zoom ratio; the display device moves the position of the target picture according to the display position; based on the display position, according to The scaling ratio performs scaling on the target picture.
  • Some embodiments of the present application provide a display device, including: a receiving module for receiving a transmission instruction; a driving module for determining a transmission mode in which the display device is located according to the transmission instruction; wherein the transmission mode is network transmission The main mode or the screen-casting transmission-based mode; the network transmission and the screen-casting transmission both perform data transmission through the same wireless communication module in the display device; The transmission mode determines the transmission duration adjustment instruction and sends the transmission duration adjustment instruction to the wireless communication firmware; the display screen is used to display the content of the network transmission and/or the screen projection transmission.
  • FIG. 1 is a schematic diagram of an operation scenario between a display device and a control apparatus according to one or more embodiments of the present application;
  • FIG. 2 is a block diagram of a hardware configuration of a display device according to one or more embodiments of the present application
  • FIG. 3 is a block diagram of a hardware configuration of a control device according to one or more embodiments of the present application.
  • FIG. 4 is a schematic diagram of software configuration in a display device according to one or more embodiments of the present application.
  • FIG. 5 is a schematic diagram showing an icon control interface of an application in a display device according to one or more embodiments of the present application
  • FIG. 6 is a schematic diagram of a mobile terminal according to one or more embodiments of the present application.
  • FIG. 7 is a schematic diagram of interaction between a mobile terminal and a display device according to one or more embodiments of the present application.
  • FIGS. 8-9 are schematic diagrams of a synchronous zooming effect of pictures according to one or more embodiments of the present application.
  • FIG. 10 is a schematic diagram of display position calculation according to one or more embodiments of the present application.
  • FIG. 11 is a schematic diagram illustrating the effect of adjusting a picture position to a boundary by a display device according to one or more embodiments of the present application.
  • FIG. 12 is a schematic diagram illustrating the effect of centering a picture position adjustment by a display device according to one or more embodiments of the present application
  • FIG. 13 is a schematic diagram of a synchronized zoom effect when a picture does not exceed the boundary of the display area according to one or more embodiments of the present application;
  • FIG. 14 is a schematic diagram of a synchronized zoom effect when a picture exceeds the boundary of a display area according to one or more embodiments of the present application;
  • 15 is a schematic diagram of a preset display area according to one or more embodiments of the present application.
  • 16 is a schematic diagram illustrating the effect of zooming a target image in a preset display area according to one or more embodiments of the present application
  • 17 is a possible P2P device discovery process according to one or more embodiments of the present application.
  • 19 is a process for adjusting a duration in a mode mainly based on screen projection transmission according to one or more embodiments of the present application;
  • FIG. 20 is a possible P2P device discovery process according to one or more embodiments of the present application.
  • FIG. 1 is a schematic diagram of an operation scenario between a display device and a control apparatus according to one or more embodiments of the present application.
  • the user can operate the display apparatus 200 through the mobile terminal 100A and the control device.
  • the control device 100 may be a remote control 100B, and the communication between the remote control 100B and the display device includes infrared protocol communication or Bluetooth protocol communication, and other short-distance communication methods, etc., and the display device is controlled by wireless or other wired methods. 200.
  • the user can control the display device 200 by inputting user instructions through keys on the remote controller 100B, voice input, control panel input, or the like.
  • control apparatus 100 may communicate with the display device 200 in a direct wireless connection manner, and may also communicate in an indirect connection manner. In other embodiments, the control apparatus 100 may also access the same wireless network as the display device 200 through a wireless router, so as to establish an indirect connection and communication with the display device 200 through the wireless network.
  • the control device 100 may first send the control command data to the wireless router, and then forward the control command data to the display device 200 through the wireless router.
  • the mobile terminal 100A, tablet computer, computer, notebook computer, and other smart devices may also be used to control the display device 200 .
  • the mobile terminal 100A can install a software application with the display device 200 to implement connection communication through a network communication protocol, so as to achieve the purpose of one-to-one control operation and data communication.
  • the display device 200 also performs data communication with the server 400 through various communication methods.
  • the display device 200 may be allowed to communicate via local area network (LAN), wireless local area network (WLAN), and other networks.
  • the server 400 may provide various contents and interactions to the display device 200 .
  • the display device 200 may be a liquid crystal display, an OLED display, or a projection display device.
  • the display device 200 may additionally provide a smart IPTV function that provides computer-supported functions, including but not limited to, IPTV, smart TV, Internet Protocol TV (IPTV), and the like, in addition to the broadcast receiving TV function.
  • IPTV Internet Protocol TV
  • FIG. 2 is a block diagram of a hardware configuration of a display device according to one or more embodiments of the present application.
  • the control apparatus includes a controller 110 , a communication interface 130 , a user input/output interface 140 , a memory, and a power supply.
  • the control device 100 can receive the user's input operation instruction, and convert the operation instruction into an instruction that the display device 200 can recognize and respond to, and play an intermediary role between the user and the display device 200 .
  • the communication interface 130 is used for external communication, and includes at least one of a WIFI chip, a Bluetooth module, NFC or an alternative module.
  • the user input/output interface 140 includes at least one of a microphone, a touchpad, a sensor, a key or an alternative module.
  • FIG. 3 is a block diagram of a hardware configuration of a control device according to one or more embodiments of the present application.
  • the display device 200 includes a tuner and demodulator 210, a communicator 220, a detector 230, an external device interface 240, and a controller. 250 , a display 260 , an audio output interface 270 , a memory, a power supply, and at least one of a user interface 280 .
  • the controller includes a central processing unit, a video processing unit, an audio processing unit, a graphics processing unit, a RAM, a ROM, and a first interface to an nth interface for input/output.
  • the display 260 may be at least one of a liquid crystal display, an OLED display, a touch display, and a projection display, and may also be a projection device and a projection screen.
  • the tuner-demodulator 210 receives broadcast television signals through wired or wireless reception, and demodulates audio and video signals, such as EPG data signals, from a plurality of wireless or wired broadcast television signals.
  • the detector 230 is used to collect external environment or external interaction signals.
  • the controller 250 and the tuner 210 may be located in different separate devices, that is, the tuner 210 may also be located in an external device of the main device where the controller 250 is located, such as an external set-top box.
  • the controller 250 controls the operation of the display device and responds to user operations.
  • the controller 250 controls the overall operation of the display apparatus 200 .
  • a user may input a user command on a graphical user interface (GUI) displayed on the display 260, and the user input interface receives the user input command through the graphical user interface (GUI).
  • GUI graphical user interface
  • the user may input a user command by inputting a specific sound or gesture, and the user input interface recognizes the sound or gesture through a sensor to receive the user input command.
  • a "user interface” is a medium interface for interaction and information exchange between an application program or an operating system and a user, which enables conversion between an internal form of information and a form acceptable to the user.
  • the commonly used form of user interface is Graphical User Interface (GUI), which refers to a user interface related to computer operations displayed in a graphical manner. It can be an icon, window, control and other interface elements displayed on the display screen of the electronic device, wherein the control can include icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, Widgets, etc. at least one of the visual interface elements.
  • GUI Graphical User Interface
  • FIG. 4 is a schematic diagram of software configuration in a display device according to one or more embodiments of the present application.
  • the system is divided into four layers, from top to bottom, the applications layer (referred to as “application layer”) ”), the Application Framework layer (referred to as the “framework layer”), the Android runtime (Android runtime) and the system library layer (referred to as the “system runtime layer”), and the kernel layer.
  • the kernel layer contains at least one of the following drivers: audio driver, display driver, Bluetooth driver, camera driver, WIFI driver, USB driver, HDMI driver, sensor driver (such as fingerprint sensor, temperature sensor, pressure sensor, etc.), and power supply drive etc.
  • the application layer includes at least one application that can display a corresponding icon control on the display, Such as: live TV application icon control, video on demand application icon control, media center application icon control, application center icon control, game application icon control, etc.
  • Live TV app that can provide live TV from different sources.
  • Video-on-demand application that can provide video from different storage sources. Unlike live TV applications, video-on-demand provides a display of video from certain storage sources.
  • a media center application that can provide a variety of multimedia content playback applications. The application center can provide storage of various applications.
  • the mobile terminal 100A refers to a terminal device capable of establishing a communication connection with the above-mentioned display device 200 .
  • the mobile terminal 100A may serve as the control apparatus 100 of the display device 200 .
  • the mobile terminal 100A includes, but is not limited to, a mobile phone, a computer, a tablet computer, a smart wearable device, and the like.
  • FIG. 6 is a schematic diagram of a mobile terminal according to one or more embodiments of the present application. As shown in FIG.
  • a display unit 310 may be built in the mobile terminal 100A to realize the foundation of the mobile terminal 100A.
  • Components such as memory, camera, sensor, audio circuit, and power supply can also be built-in to cooperate with other components to enable the mobile terminal to operate. That is, the display unit 310 may be used to receive input numerical or character information, and generate signal input related to user settings and function control of the mobile terminal 100A.
  • the display unit 310 may also be used to display information input by the user or information provided to the user and a graphical user interface (GUI) of various menus of the terminal.
  • GUI graphical user interface
  • the touch screen may be covered on the display screen, or the touch screen may be integrated with the display screen to realize the input and output functions of the mobile terminal 100A, which may be referred to as the touch screen screen after integration.
  • the display unit 310 can display application programs and corresponding operation steps.
  • the synchronous scaling of pictures means that the same picture is displayed on the mobile terminal 100A and the display device 200 respectively.
  • the picture displayed on the mobile terminal 100A will be scaled according to the scale.
  • the operation is performed to zoom in or out, and at the same time, the picture displayed on the display device 200 is also zoomed in and out according to the zoom operation.
  • it is necessary to establish a communication connection between the mobile terminal 100A and the display device 200 for example, connect the mobile terminal 100A and the display device 200 to the same wireless network through WiFi connection.
  • FIG. 7 is a schematic diagram of interaction between a mobile terminal and a display device according to one or more embodiments of the present application.
  • a user can perform an interactive operation on the mobile terminal 100A
  • the mobile terminal 100A is controlled to display pictures in synchronization with the display device 200 .
  • the mobile terminal 100A can simultaneously send a control instruction for synchronously displaying a picture and picture data to the display device 200 .
  • the controller 250 of the display device 200 may first obtain the control instruction input by the mobile terminal 100A, and then, in response to the control instruction, receive picture data, thereby controlling the display 275 to display the picture data.
  • the display 275 may display picture data in a preset display area, and the preset display area may have an associated relationship with the display boundary in the mobile terminal 100A.
  • the association relationship means that the state of the picture displayed on the display device 200 is compatible with the state of the picture displayed on the mobile terminal 100A. For example, when the mobile terminal 100A is placed horizontally, the preset display area of the display device 200 appears as a rectangular area whose width is greater than the height; when the mobile terminal 100A is placed vertically, the preset display area of the display device 200 appears as a rectangular area whose width is smaller than the height. rectangular area.
  • the preset display area on the display device 200 can be set according to the screen characteristics of the display device 200, and automatically adapt to different forms of pictures. For example, the entire screen area can be used as the preset display area, and when displaying pictures of different ratios, the pictures are zoomed.
  • the display device 200 may obtain the picture data according to different ways. For example, the mobile terminal 100A may directly send the picture file to the display device 200, and the display device 200 will then display the received picture file.
  • the mobile terminal 100A sends the zoom action instruction to the display device 200 after adjusting and converting the zoom action instruction.
  • the display device 200 may execute the zoom instruction to also zoom the displayed picture.
  • the display forms of the same picture on the mobile terminal 100A and the display device 200 are different, so that the above-mentioned synchronous scaling method transmits the control instruction input by the user to the display device.
  • the zoom command cannot be executed accurately. That is, the zoomed area on the mobile terminal 100A is likely to be inconsistent with the area displayed by the display device 200, resulting in a misalignment problem.
  • the mobile terminal 100A will reduce the picture according to the width of the picture equal to the width of the display unit 310 of the mobile terminal 100A.
  • the zoomed out picture is close to the middle area.
  • the width of the display device 200 is greater than the height, which is adapted to the shape of the picture, the display may not be reduced.
  • the zoom command sent to the display device 200 is also in the area to the left and to the top in the middle, that is, the display device 200 enlarges the area to the left and above in the middle, not the upper left area, resulting in display dislocation.
  • some embodiments of the present application implement synchronous scaling/moving between a mobile terminal and a display device when a picture is presented by using a picture synchronous scaling method.
  • the method needs to establish a screen projection relationship between the display device and the mobile terminal, and display a target picture through the display, wherein the target picture is a picture with the same content as the original picture displayed on the display; the original picture boundary exceeds the display area of the mobile terminal.
  • the target image is scaled synchronously.
  • Some embodiments of the present application provide a synchronous picture scaling method, and the picture synchronous scaling method can be applied to the display device 200 and the mobile terminal 100A.
  • 8-9 are schematic diagrams of synchronous zooming effects of pictures according to one or more embodiments of the present application. As shown in FIGS. 8 and 9 , the method includes the following steps:
  • the mobile terminal 100A receives a zoom command input by the user.
  • the user can control the display of pictures on the mobile terminal 100A and the display device 200 simultaneously through a picture projection or a related application.
  • the picture displayed on the mobile terminal 100A is called the original picture
  • the picture displayed on the display device 200 is called the target picture.
  • the user can perform a zoom action on the mobile terminal 100A to control the original picture to be enlarged or reduced for display, that is, the mobile terminal 100A can receive a zoom command input by the user.
  • the user may input the zoom command in different ways.
  • the mobile terminal 100A is a mobile phone device with a touch screen
  • the user can input a zoom command by inputting a touch action of separating two fingers from each other in the picture display area on the touch screen of the mobile phone.
  • a control UI may also be displayed on the mobile terminal 100A, and the user performs related operations through the controls in the UI interface, thereby realizing the zooming of the displayed original picture.
  • a scroll bar can be set on the right side of the picture display area. When the user slides the scroll bar up, the displayed picture is enlarged; when the user slides the scroll bar down, the displayed picture is reduced, thereby completing the input of the zoom command.
  • the mobile terminal 100A zooms the displayed original picture according to the zoom command.
  • the zooming command input by the user may include control parameters such as zooming position and zooming ratio.
  • the zoom position may be determined according to the position where the user inputs the zoom command. For example, when the user inputs a zoom-in command by separating two fingers from each other, the zoom position may be the midpoint of the line connecting the two fingers.
  • the zoom position can also be determined according to the display state of the picture. For example, when the user performs zooming using the scroll bar, the zooming can be performed according to the center position of the current display area, that is, the center position of the display is the zoom position.
  • the zoom ratio can also be determined according to the zoom command input by the user.
  • the zoom ratio may have a relationship with the sliding distance of the user inputting the action of separating two fingers from each other, that is, as the distance between the two fingers increases, the original image is gradually enlarged, and the further the two fingers move, the higher the magnification.
  • the scaling can also be determined based on how far the user drags the scroll bar to move. That is, the corresponding relationship between the zoom ratio and the sliding distance can be calibrated on the scroll bar first, and when the user moves the scroll bar to any position, the picture is zoomed to a corresponding multiple.
  • the mobile terminal 100A may parse the zoom command to determine the zoom position and zoom ratio specified in the zoom command. Then, according to the zoom position and zoom ratio, perform a zoom operation on the original image to enlarge or reduce the original image.
  • multiple samplings can be used to determine the zoom position of each sampling process and the zoom ratio between two adjacent sampling processes, and perform the zoom operation.
  • the displayed picture can be gradually enlarged or reduced according to the input process of the zoom command, so as to realize the effect of gradually enlarging or reducing the picture following the user's input operation action.
  • the screen size of the mobile terminal 100A is generally small.
  • the original picture is displayed on the mobile terminal 100A, it is usually in a reduced state. After the screen is projected to the display device 200, the large screen size of the display 275 can be adjusted according to the original picture size. show. Therefore, when the original picture is displayed on the mobile terminal 100A, there is a certain interval between a part of the boundary of the display area and the picture boundary due to the reduced display of the picture. And as the enlarging process progresses, the picture boundary gradually approaches the display area boundary. When the picture boundary reaches the display area boundary, it means that the current mobile terminal 100A can realize the maximum complete display state of the original picture in this direction, which is usually the original picture size.
  • the direction of the border of the display area that the image gradually approaches with the zooming process is different.
  • the mobile terminal 100A when the mobile terminal 100A is placed vertically, that is, the width of the display screen is smaller than the height, when displaying a widescreen image, the mobile terminal 100A will scale the image according to the width of the image, so that the width of the image is equal to the width of the display area. At this time, there are gaps between the upper and lower borders of the display area and the top and bottom edges of the picture.
  • the mobile terminal 100A when the mobile terminal 100A is placed horizontally and a portrait screen picture is displayed, the mobile terminal 100A will be reduced in the form that the height of the picture is equal to the height of the display area. There are gaps between.
  • the boundary of the display area that can be gradually approached is referred to as the zoom boundary.
  • the zoom boundary When the mobile terminal 100A executes the zoom-in command, due to the zoom-in effect on the picture, the picture border will gradually approach the zoom border. After the boundaries of the two are overlapped, if the enlargement command is continued to be input, the mobile terminal 100A will continue to enlarge the picture beyond the original size of the picture, so that the picture cannot be fully displayed. Correspondingly, the displayed picture also needs to be synchronously enlarged on the display device 200 .
  • the mobile terminal 100A sends a zoom instruction to the display device.
  • the mobile terminal 100A can send a scaling instruction to the display device 200, so that the display device 200 can perform scaling on the displayed target picture according to the scaling instruction, wherein the scaling instruction includes a display position and a scaling ratio.
  • the display position may be represented by the center point of the display area of the mobile terminal 100A, and the pixel value position of the enlarged image corresponds to the pixel point on the original image.
  • the zoom ratio can be based on the zoom in/out factor of the image that reaches the display boundary.
  • the zoom command when the zooming boundary of the picture displayed by the mobile terminal 100A is reached, the zoom command is not sent, and only the original image is zoomed in the mobile terminal 100A, so that on the premise of satisfying the display size of the original image, there is no need to send the zoom command.
  • the target picture is zoomed; and after the picture on the mobile terminal 100A fills the display area in the direction of the zoom boundary, the zooming instruction starts to be sent to the display device 200 to realize synchronous zooming.
  • the display device 200 may move the position of the target picture according to the display position. Because the zoom position specified when the user inputs the zoom command may not correspond completely due to the difference in screen size between the mobile terminal 100A and the display device 200 . Therefore, after receiving the zoom instruction, the display device 200 can move the picture according to the display position, so that the zoom position coincides with the center position of the display 275, so that in the subsequent zoom process, the zoomed image area can be displayed in the center area, achieve better display effect. That is, after moving the position of the target picture, the display device 200 uses the display position as a reference, and performs scaling on the target picture according to the scaling ratio.
  • the picture synchronous scaling method can receive the scaling instruction input by the user through the mobile terminal 100A, and perform scaling on the original picture according to the scaling instruction.
  • a zoom instruction is sent to the display device 200 .
  • the scaling instruction includes a display position and a scaling ratio, and the display device 200 can perform synchronous scaling on the target picture according to the display position and the scaling ratio.
  • the method realizes the synchronous scaling of pictures through the mapping algorithm based on the display position and the scaling ratio, and alleviates the problem of display misalignment.
  • a mobile terminal 100A which includes a display unit 310 , a communication unit 320 and a processing unit 330 .
  • the display unit 310 is configured to display the original picture
  • the communication unit 320 is configured to establish a communication connection with the display device
  • the processing unit 330 is configured to execute the following program steps:
  • the display device sends a zoom instruction, where the zoom instruction includes the display position and the zoom ratio.
  • a display device 200 including a display 275 , a communicator 220 and a controller 250 .
  • the display 275 is configured to display the target picture
  • the communicator 220 is configured to establish a communication connection with the mobile terminal 100A
  • the controller 250 is configured to execute the following program steps:
  • the zoom instruction is input by the mobile terminal 100A when the border of the original image exceeds the border of the display area, and the zoom instruction includes a display position and a zoom ratio; the original image is the image displayed in the mobile terminal 100A;
  • the zoom instruction move the position of the target picture according to the display position, where the target picture is a picture displayed in the display; and use the display position as a reference, perform the execution on the target picture according to the zoom ratio zoom.
  • the processing unit 330 and the controller 250 respectively execute the configured program steps to implement the picture synchronization scaling method in the above embodiments.
  • the user can manipulate the mobile terminal 100A to zoom the original picture displayed on the mobile terminal 100A, and after the original picture exceeds the zoom area, the communication unit 320 sends a zoom instruction to the display device 200 .
  • the controller 250 of the display device 200 can perform moving and scaling processing on the target picture, so as to realize the synchronous processing with the scaling process in the mobile terminal 100A.
  • the zooming process can also be judged comprehensively according to the screen size of the mobile terminal 100A and the screen size of the display device. , to determine the zoom boundary. That is, after establishing the picture projection relationship, the mobile terminal 100A may first detect its own screen state and the screen state of the display device 200, and determine the zoom boundary of the display area according to the detection result. Therefore, the processing unit 330 of the mobile terminal 100A may also be configured to perform the following program steps:
  • the aspect ratio of the display area includes the aspect ratio of the display area of the display unit 310 and the aspect ratio of the display area of the display device.
  • the processing unit 330 may detect the screen state of the mobile terminal 100A in real time to determine the aspect ratio of the display area. Due to the limitation of the interface UI, not all display areas on the screen are used to display pictures. Therefore, in some embodiments of the present application, the display area refers to the area used to display pictures in the interface.
  • the display area aspect ratio refers to the aspect ratio of the area used to display the picture, see formula (1):
  • wh_mobile is the aspect ratio of the display area of the mobile terminal 100A
  • W_mobile is the width of the picture display area in the mobile terminal 100A
  • H_mobile is the height of the picture display area in the mobile terminal 100A.
  • the mobile terminal 100A usually has picture display areas with different shapes.
  • the processing unit 330 may determine the shape of the display area by detecting the placement state of the mobile terminal 100A, and then calculate the aspect ratio of the display area. For example, it can be determined whether the mobile terminal 100A is currently in a landscape state or a portrait state by detecting a gravity sensor built in the mobile terminal 100A.
  • the width of the display area is greater than the height, that is, the aspect ratio of the display area is greater than 1
  • the height of the display area is greater than the width, that is, the aspect ratio of the display area is less than 1 .
  • the processing unit 330 may calculate the actual physical size of the width and height of the display area, or calculate the number of pixels occupied by the width and height of the display area. calculation, the actual calculation result is the same.
  • the aspect ratio of the display area of the display device 200 needs to be acquired from the display device 200 after the mobile terminal 100A establishes a communication connection relationship with the display device 200 .
  • the processing unit 330 may send an acquisition instruction to the display device 200 through the communication unit 320 .
  • the controller 250 of the display device 200 may respond to the acquisition instruction and extract the width and height of the display area currently on the display 275, thereby feeding back the width and height data of the display area to the mobile terminal 100A.
  • the processing unit 330 of the mobile terminal 100A then calculates the aspect ratio of the display area of the display device 200 according to the feedback result.
  • the calculation method of the display area aspect ratio wh_tv of the display device 200 is the same as the calculation method of the mobile terminal 100A, and will not be repeated.
  • the display device 200 For different types of display devices 200, they have different shapes of display areas. In addition, for the display device 200 with a part of the rotatable display 275, there are display areas with different shapes in different rotation states, so it is necessary to determine the aspect ratio of the display area according to different rotation states in practical applications. For example, when the display device 200 is in a landscape state, the display area aspect ratio wh_tv is greater than 1; when the display device 200 is in a portrait state, the display area aspect ratio wh_tv is less than 1.
  • the process may compare the display area aspect ratio of the display unit 310 with the display area aspect ratio of the display device to determine the zoom boundary. If the aspect ratio of the display area of the display unit 310 is greater than the aspect ratio of the display area of the display device 200 , the left and right sides of the display unit 310 are determined as the scaling boundaries.
  • the zoom boundary of the mobile terminal 100A is the left and right boundaries of the display area in the display unit 310 , that is, when the picture on the mobile terminal 100A fills the display area on the left and right, it is considered to be the size of the original image, and if it continues to zoom in, it starts to display
  • the device 200 sends a zoom-in command; when the left and right boundaries are not reached, no zoom-in command is sent (or a zoom command is sent, but the information in the zoom command instructs the display device 200 to maintain the original image state).
  • the aspect ratio of the display area of the display unit 310 is smaller than the aspect ratio of the display area of the display device, determine that the upper and lower sides of the display unit 310 are the scaling boundaries. That is, if wh_tv>wh_mobile, the zoom boundary of the mobile terminal 100A is the upper and lower boundaries of the display area, that is, when the picture on the mobile terminal 100A fills the display area up and down, it is considered to be the size of the original image, and if it continues to zoom in, it starts to send the zoom to the display device 200 command; when the start boundary is not reached, no zoom command is sent.
  • a scaling boundary can be determined, and a scaling instruction can be sent to the display device 200 according to the scaling boundary control.
  • the aspect ratio of the display area can be adapted to various types of screens of the mobile terminal 100A and the display device 200 , thereby alleviating the problem of excessively different display effects caused by differences in screen sizes.
  • the processing unit 330 of the mobile terminal 100A will automatically send a zoom instruction to the display device 200 when it is determined that the displayed picture exceeds the zoom boundary. Since the sent zoom command includes the display position and the zoom ratio, but because of the difference in screen size between the mobile terminal 100A and the display device 200 , the corresponding zoom position cannot be directly sent to the display device 200 when the zoom command is input in the mobile terminal 100A , and needs to undergo certain conversion to convert the zoom position into a specific area on the picture, and then send it to the display device 200, so that the display device 200 can zoom in and out according to the display position, so as to alleviate the problem of display misalignment.
  • the processing unit 330 of the mobile terminal 100A also needs to calculate the display position and the zoom ratio before sending the zoom command.
  • the display position can be calculated according to the following formula, see formula (2) (3):
  • (Ox, Oy) is the coordinate of the described display position; W is the width of the picture after scaling; H is the height of the picture after scaling; (X0, Y0) The coordinates of the center point of the display area; (X1, Y1) are the scaling The coordinates of the center point of the rear image; Px is the pixel value in the width direction of the image; Py is the pixel value in the height direction of the image.
  • the scaling ratio can be calculated according to the following formula, see formula (4) (5):
  • Scale is the scaling ratio
  • H0 is the height of the display area
  • H1 is the height of the image after scaling
  • W0 is the width of the display area
  • W1 is the width of the image after scaling.
  • FIG. 10 is a schematic diagram of display position calculation according to one or more embodiments of the present application.
  • the center point (X0, Y0) of the display area of the mobile phone in the figure if the display resolution of the original image The ratio is 1920 ⁇ 1080, and the zoom position is 40% from left to right and 40% from top to bottom of the enlarged image, corresponding to pixels (1920 ⁇ 40%), (1080 ⁇ 40%), namely (768, 432).
  • the information sent to the display device is, the picture display position is (768, 432), and the magnification is 2 times.
  • the scaling boundary of the mobile terminal 100A is the upper and lower boundaries.
  • the coordinates of the A/B/C/D/E/F points can be directly obtained, and the picture width and height pixels Px, Py are also known, then the scaling ratio, see formula (6):
  • Hx-Gx and Hy-Gy in the following formula are the moving distances of the center point of the enlarged image in the x-axis and y-axis directions compared with the center point of the original image, see formula (9) (10):
  • the mobile terminal 100A calculates and obtains the display position and the scaling ratio, it can transmit the calculated (Ox, Oy) and Scale to the display device 200 through the data transmission channel, so that the display device 200 can perform the calculation according to the transmitted display position and scale.
  • the zoom ratio moves and zooms the displayed picture.
  • the step of moving the position of the target image according to the display position further includes the following steps:
  • the display device 200 can respond to the zoom instruction through the controller 250, extract the display position and zoom ratio in the zoom instruction, and execute the relevant display control program, first reset the picture to the default display position, Then move the (Ox, Oy) pixel position of the picture to the center of the screen, and then scale the picture by Scale times from the center of the screen.
  • the default position may be an initial display position determined according to the last moving or zooming process, or may be a designated position on the UI interface in the display device 200 .
  • FIG. 11 is a schematic diagram illustrating the effect of adjusting the position of a picture toward the border by a display device according to one or more embodiments of the present application
  • FIG. 12 is a schematic diagram illustrating the effect of adjusting the position of a picture in the center of the display device according to one or more embodiments of the present application.
  • the step of performing scaling on the target picture according to the scaling ratio based on the display position further includes: detecting the target picture boundary after performing the scaling; judging the target picture boundary Whether it exceeds the display area boundary of the display; if the target picture boundary exceeds the display area boundary of the display, move the zoomed target picture position to make the target picture boundary coincide with the display area boundary; if the target The picture boundary does not exceed the display area boundary of the display, and the position of the target picture is moved so that the target picture is displayed in the center.
  • FIG. 13 is a schematic diagram of a synchronous zoom effect when a picture does not exceed the border of the display area according to one or more embodiments of the present application; FIG.
  • FIG 14 is a schematic diagram of a synchronized zoom effect when a picture exceeds the border of the display area according to one or more embodiments of the present application 13 and 14 , after the display device 200 performs zooming on the picture, it can detect the boundary of the target picture to determine whether the boundary of the target picture exceeds the boundary of the display area. If the display area of the display device 200 can exceed the display area on one or two boundaries at this time, the boundary is adjusted to be exactly at the position of the display boundary to display larger picture content. If the enlarged picture does not reach the border on both sides, it will automatically move the picture to the middle position for display.
  • the mobile terminal 100A and the display device 200 can be synchronously mapped and scaled in the case of wh_tv>wh_mobile.
  • the display position is used to determine the association between the pictures displayed in the mobile terminal 100A and the display device 200, and the zoom position specified by the user on the mobile terminal 100A is mapped to the display device 200, so as to scale according to the corresponding zoom position.
  • the scaling of the picture displayed in the display device 200 is completed. It not only realizes synchronous scaling, but also can adapt to the difference in screen form between the mobile terminal 100A and the display device 200, so as to alleviate the problem of display misalignment.
  • the mobile terminal 100A may perform sampling during the entire zooming process of the user's operation, and perform multiple calculations and send zooming instructions during the entire zooming process, so as to achieve a smooth operation effect.
  • the method adopted in the above embodiment is also applicable to the display process of the vertical picture when wh_tv>wh_mobile. However, if wh_tv ⁇ wh_mobile, that is, when the display device 200 is in the vertical screen mode or the mobile terminal 100A is in the horizontal state, the synchronous scaling method should be based on the left and right boundaries of the display area when the mobile terminal 100A selects the enlargement boundary, and the rest of the calculation principles are the same and will not be repeated here.
  • the synchronous display between the mobile terminal 100A and the display device 200 may also be completed by means of screen projection. That is, in some embodiments, the mobile terminal 100A may directly send the displayed content to the display device 200 through the established communication connection, and the display device 200 directly displays the screencast content. At this time, when the user inputs the zoom action instruction, since the content displayed on the mobile terminal 100A changes with the zoom action instruction, the screen projection image sent to the display device 200 also changes, realizing the effect of synchronous zooming.
  • a method for synchronous scaling of pictures is also provided in some embodiments of the present application, including the following steps:
  • a zoom instruction sent by the mobile terminal 100A is received. Similar to the above embodiment, before executing the picture synchronous scaling method, the mobile terminal 100A first establishes a communication connection relationship with the display device 200, and sends a scaling instruction to the display device 200 after the communication connection is established. The display device 200 may receive the scaling instruction through the communicator.
  • FIG. 15 is a schematic diagram of a preset display area according to one or more embodiments of the present application
  • FIG. 16 is a schematic diagram of an effect of zooming a target image in the preset display area according to one or more embodiments of the present application, as shown in FIGS. 15 and 16 .
  • the display device 200 can construct a preset display area on the display 275 according to the zoom instruction, and the preset display area covers the entire display area in the mobile terminal 100A.
  • the display device 200 may construct a preset display area sufficient to cover the mobile terminal 100A, so that the picture is displayed in the preset display area.
  • the preset display area can be consistent with the display area in the mobile terminal 100A in the form of boundaries, and when the displayed contents are the same, the positions of the displayed contents in each area in the display area are also consistent, so that the execution of the mobile terminal 100A can be performed.
  • the zoom command is directly passed to the display device 200 . That is, the display device 200 may perform synchronous scaling on the target picture according to the scaling instruction.
  • the display position relationship of the picture in the mobile terminal 100A can be preserved, so that the zooming can be directly adjusted.
  • the position and scaling ratio are applied in the scaling instruction, so that the display device 200 can directly perform the scaling action according to the scaling position and scaling ratio, thereby avoiding the problem of display misalignment.
  • some embodiments of the present application further provide a display device 200 including a display 275 , a communicator 220 and a controller 250 .
  • the display 275 is configured to display the target picture
  • the communicator 220 is configured to establish a communication connection with the mobile terminal 100A
  • the controller 250 is configured to execute the following program steps:
  • the zoom command input by the user on the mobile terminal 100A may cause data deviation when directly applied to the display device 200 .
  • a user enters a two-finger touch gesture separated from each other on a mobile phone to enter a zoom command. Due to the limitation of the finger length and the screen of the mobile phone, the separation distance is generally 1-10cm. Since the actual size of the picture displayed by the display device 200 is larger, the separation distance of 1-10cm corresponds to the mobile terminal 100A and the display device 200 .
  • the scaling ratios are different, so it is easy to break the synchronization of the picture scaling process.
  • the mobile terminal 100A may further perform the following steps:
  • the mobile terminal 100A can receive the zoom command input by the user in the manner in the above-mentioned embodiment.
  • the zoom command can include the zoom position and the zoom ratio, and supports different ways to complete the input of the zoom command.
  • an adjustment displacement and an adjustment center point are calculated.
  • the mobile terminal 100A may calculate the adjustment displacement and adjust the center point according to the zoom command.
  • the adjustment distance is used to indicate the zoom ratio, and may refer to the distance in the control action determined according to the zoom command input by the user, such as the separation distance of two fingers.
  • the adjustment center of gravity point is the point used to mark the zoom position, for example, the midpoint of the line connecting the two-finger touch points.
  • the user may input a movement command in addition to the zoom command when displaying the picture, such as displaying partial content in the picture by sliding touch.
  • the mobile terminal 100A may send the movement position point and the movement distance to the display device 200, so that the display device 200 can move the picture synchronously.
  • the mobile terminal 100A can determine the zoom position according to the adjustment center point on the one hand, and determine the zoom ratio according to the adjustment displacement on the other hand, and perform zooming on the displayed original picture.
  • the mobile terminal 100A also sends a zoom instruction to the display device 200 according to the adjustment displacement or the center point adjustment, where the zoom instruction includes adjusting the displacement or adjusting the center point.
  • a mobile terminal 100A which includes a display unit 310 , a communication unit 320 and a processing unit 330 .
  • the display unit 310 is configured to display the original picture
  • the communication unit 320 is configured to establish a communication connection with the display device
  • the processing unit 330 is configured to execute the following program steps:
  • the display device 200 can also adjust the zoom parameter according to the adjustment displacement or the center point in the zoom instruction, so as to perform the operation on the picture. zoom.
  • the step of performing synchronous scaling on the target picture further includes: parsing the scaling instruction to obtain an adjustment displacement; according to the display area in the mobile terminal 100A and the preset The proportional relationship of the display area is to convert the adjusted displacement into a scaled size; and the picture in the preset display area is scaled according to the scaled size.
  • the controller 250 may first parse the scaling instruction to obtain the adjustment displacement, and then convert the adjustment displacement into scaling according to the proportional relationship between the mobile terminal 100A and the display area in the display device 200 size, so as to perform scaling on the picture in the preset display area according to the scaling size.
  • the zoom size parsed in the zoom instruction is L0, then the zoom The scale is converted into 5 ⁇ L0, and the scaled size can be obtained.
  • the step of performing synchronous scaling on the target picture further includes: parsing the scaling instruction to obtain an adjustment center point; locating the center point of the target picture; moving the target picture to make the target picture The center point coincides with the adjustment center point; and based on the center point of the target image, zooming is performed on the image in the preset display area.
  • the controller 250 In order to determine the zooming position of the picture on the display device 200, after the controller 250 obtains the zooming instruction, it can parse the zooming instruction to obtain the adjustment center point, locate the center point of the displayed target image, and move the target image to Make the center point of the target image coincide with the adjustment center point, even if the zoomed position is in the middle area of the display 275, and then use the center point of the target image as a reference to perform zooming on the image in the preset display area.
  • the display device 200 can determine the scaling ratio and the scaling displacement of the image displayed by the display device 200 according to the adjustment displacement and the adjustment center point respectively, so as to convert the zoom command received by the mobile terminal 100A into an image suitable for display A scaling instruction of the device 200 to accommodate the difference in screen size between the mobile terminal 100A and the display device 200 .
  • the picture synchronous scaling method provided by the above embodiments can, after receiving the scaling command, the mobile terminal 100A can calculate the adjustment displacement and adjust the center point according to the scaling command, so as to scale the original picture.
  • the mobile terminal 100A also sends a zoom instruction to the display device, so that the display device synchronously zooms the target picture in the preset display area covering the entire display area of the mobile terminal 100A.
  • the method realizes the synchronous conversion of the zoom command executed on the mobile terminal 100A to the display device, realizes the synchronous zooming of the picture, and alleviates the problem of display misalignment.
  • some embodiments of the present application also provide a synchronous picture scaling method, including the following steps: the mobile terminal 100A receives a scaling command input by a user; The terminal 100A calculates the reference point and the adjustment parameter according to the zoom command, and the adjustment parameter is the moving distance and/or the zoom ratio calculated and obtained by the mobile terminal 100A according to the user input; the mobile terminal 100A calculates the reference point and the adjustment parameter according to the parameters, perform scaling on the displayed original picture and send a scaling instruction to the display device 200, where the scaling instruction includes the reference point and the adjustment parameter; the display device 200, in response to the scaling instruction, obtains the current display of the target picture state; the display device 200 scales the target picture on the basis of the current display state according to the reference point and the adjustment parameter.
  • the mobile terminal 100A directly sends the reference point and adjustment parameters to the display device 200 , and the display device 200 can scale the currently displayed picture according to the reference point and the adjustment parameters. That is, the operation on the mobile terminal 100A is copied to the display device 200, and the mobile terminal 100A can send a zoom command to the display device 200, and the zoom command represents the adjustment parameter amount based on the current display of the mobile terminal 100A, that is, the movement based on the current display state The parameter amount of the image, and/or the amount of image scaling based on the fiducial point.
  • the results of each subsequent operation are both corresponding. That is, in some embodiments of the present application, sufficient information for the mobile terminal 100A and the display device 200 to correspond to synchronous scaling is: if the operation performed on the picture in the mobile terminal 100A is to move, the display device 200 is notified in which direction it has moved. How much distance; if the operation performed on the picture in the mobile terminal 100A is zooming, the display device 200 is notified based on which point and how many times it is zoomed.
  • a display device 200 in some embodiments of the present application includes a display 275 , a communicator 220 and a controller 250 .
  • the display 275 is configured to display the target picture
  • the communicator 220 is configured to establish a communication connection with the mobile terminal 100A
  • the controller 250 is configured to execute the following program steps:
  • the zoom instruction includes a reference point and an adjustment parameter, and the adjustment parameter is the moving distance and/or zoom ratio calculated and obtained by the mobile terminal 100A according to the user input; in response to the The zoom instruction is used to obtain the current display state of the target picture; and according to the reference point and the adjustment parameter, the target picture is zoomed on the basis of the current display state.
  • a mobile terminal 100A which includes a display unit 310 , a communication unit 320 and a processing unit 330 .
  • the display unit 310 is configured to display the original picture;
  • the communication unit 320 is configured to establish a communication connection with the display device 200;
  • the processing unit 330 is configured to execute the following program steps:
  • Receive a zoom command input by a user in response to the zoom command, calculate a reference point and an adjustment parameter, where the adjustment parameter is the moving distance and/or zoom ratio calculated and obtained by the mobile terminal 100A according to the user input; according to the reference point and an adjustment parameter, perform zooming on the displayed original picture; send a zooming instruction to the display device, the zooming instruction reference point and the adjustment parameter.
  • a communication connection needs to be established between the mobile terminal 100A and the display device 200 , for example, through a WiFi connection.
  • P2P Peer To Peer
  • the mobile terminal 100A and the display device 200 are connected to the same wireless network, and the P2P service is used to realize the screen projection.
  • the normal WLAN must be ensured.
  • the problem of P2P preempting WLAN resources will occur, which will limit the normal WLAN function and increase the packet loss rate.
  • FIG. 17 is a possible P2P device discovery process according to one or more embodiments of the present application.
  • the P2P mobile terminal 100A and The display device 200 should constantly switch between scanning and monitoring on channels 1, 6, and 11.
  • the mobile terminal 100A scans, that is, sends a detection request, and displays the
  • the display device 200 responds to the detection request and replies to the detection response to complete the device discovery process (this process can also be performed by the display device 200 under the same channel). scanning, the mobile terminal 100A monitors).
  • FIG. 18 is a process of adjusting a duration in a network transmission-based mode according to one or more embodiments of the present application.
  • the network data request is transmitted to the driver module through the framework layer and the core layer, and the driver module determines that the transmission mode of the display device is the network-based mode, and sends
  • the first transmission duration adjustment command is sent to wireless communication firmware such as WiFi firmware.
  • the first transmission duration adjustment instruction may be a specific duration allocation instruction, or may be a ⁇ t adjustment instruction as shown in FIG. 8 , where ⁇ t is the difference between the time slice occupied by network transmission and screencast transmission. difference.
  • the WiFi firmware determines the first transmission duration to provide transmission services for network transmission according to the first transmission duration adjustment command: 900ms, and the second transmission duration for providing transmission services for screencast transmission is 100ms. Therefore, network transmission is performed within 900ms of each second, and the WLAN port transmits and receives data packets, and the data packets are transmitted to the network application through the driver module, core layer and framework layer.
  • the display device further includes a detection module 225 for detecting network transmission quality and triggering the driving module according to the transmission quality.
  • the detection module is the drive module.
  • the detection module detects that the WiFi packet loss rate becomes higher and the delay is higher than the preset threshold, and sends the packet loss command to the drive module, and the drive module can adjust the command to the size of ⁇ t through the third transmission duration
  • Make mandatory adjustment and gradually adjust ⁇ t for example, gradually increase the absolute value of ⁇ t in units of 10ms, and continuously compare the delay of WLAN until it is adjusted to the level that satisfies the basic sending and receiving packets of WLAN (for example, the delay is lower than 200ms) , and at the same time ensure that the time that P2P occupies the antenna will not affect the normal monitoring of P2P, for example, not less than 50ms/1s.
  • FIG. 20 is a possible P2P device discovery process according to one or more embodiments of the present application.
  • the P2P discovery device of the display device is The scanning and monitoring of the stage is changed to monitoring only on fixed channels (such as 1, 6, and 11), which can reduce the occupation of antenna resources caused by channel switching.
  • the display device is always in the monitoring state, it can also improve P2P discovery. equipment efficiency.
  • FIG. 19 is a process of adjusting a duration in a mode mainly based on screen projection transmission according to one or more embodiments of the present application.
  • a transmission service is provided for screen projection transmission within the second transmission duration, such as within 100ms of the example in Figure 20
  • the monitoring command is transmitted to the WiFi firmware via the framework layer, the adaptation layer and the driver module, and the WiFi firmware switches to the monitoring channel such as channel 6 to monitor.
  • a P2P detection request is received, and the detection request is sent to the driver module, and the driver module parses the message containing the P2P IE information, thereby determining that the transmission mode of the display device is Screen-based mode.
  • the driving module sends a second transmission duration adjustment instruction to the WiFi firmware after determining that the transmission mode in which the display device is located is the screen-casting mode.
  • the second transmission duration adjustment instruction may be a specific duration allocation instruction, or may be a ⁇ t adjustment instruction as shown in FIG. 19 , where ⁇ t is the difference between the time slice occupied by network transmission and screencast transmission. difference.
  • the WiFi firmware determines the first transmission duration to provide transmission services for network transmission according to the duration adjustment command to be 200ms, which is The second transmission duration for the screencast transmission to provide the transmission service is 800ms.
  • the screen projection transmission is performed within 800ms of each second, and the P2P port sends and receives data packets, and the data packets are transmitted to the screen projection application through the driver module, the adaptation layer and the framework layer. If it is video data, it can be played through the screen casting application.
  • the detection module in the mode of screencasting transmission as the main mode, is a screencasting application.
  • the screencasting application detects that the P2P packet loss rate has increased and exceeds the preset threshold, for example, the number of lost packets exceeds 100 packets, the screencasting will show a vase freeze problem.
  • the screen-casting application will send the packet loss command to the driver module.
  • the driver module can forcefully adjust the size of ⁇ t through the third transmission duration adjustment command, and gradually adjust ⁇ t.
  • the above embodiment takes P2P screen projection as an example, and can also be applied to other screen projection technologies, which is not limited thereto.
  • the network transmission and the screen projection transmission work in their respective time slices, thus solving the problem of competition between the two for resources and ensuring the orderly and orderly network transmission and screen projection.
  • the working efficiency of the display device is improved.
  • two transmission modes are set: the network transmission-based mode and the point-to-point projection screen transmission mode, and the transmission duration adjustment instructions are determined according to different transmission modes, so that network transmission and projection
  • the working time slice of the screen can be flexibly adjusted with different transmission modes, which further realizes the effective use of resources.

Abstract

Disclosed are a display device, a mobile terminal and a picture synchronous scaling method. The method can comprise receiving, by means of a mobile terminal, a scaling instruction input by a user, and scaling an original picture according to the scaling instruction. When a boundary of the original picture is beyond a boundary of a display area, a scaling instruction is sent to a display device. The scaling instruction comprises a display position and a scaling factor, and the display device can execute synchronous scaling on a target picture according to the display position and the scaling factor.

Description

显示设备、移动终端、图片同步缩放方法Display device, mobile terminal, and picture synchronous scaling method
本申请要求于2020年10月29日提交的、申请号为202011179994.X;于2021年2月09日提交的、申请号为202110175799.8的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed on October 29, 2020 with application number 202011179994.X; filed on February 09, 2021 with application number 202110175799.8, the entire contents of which are incorporated herein by reference Applying.
技术领域technical field
本申请涉及显示设备技术,具体而言,涉及一种显示设备、移动终端、图片同步缩放方法。The present application relates to display device technologies, and in particular, to a display device, a mobile terminal, and a method for synchronous scaling of pictures.
背景技术Background technique
智能电视可以通过连接手机等移动终端,以展示移动终端中的内容。例如,智能电视可以和移动终端建立DLNA(Digital Living Network Alliance,数字生活网络联盟)等方式的图片投屏连接。在建立连接关系后,移动终端可以将所展示的图片发送给智能电视进行显示。并且通过建立的连接关系,可以将用户在移动终端上执行的放大、移动等操作也同步映射到智能电视上,实现图片同步缩放。The smart TV can display the content in the mobile terminal by connecting to the mobile terminal such as the mobile phone. For example, a smart TV can establish a DLNA (Digital Living Network Alliance, Digital Living Network Alliance) and other means of image projection connection with a mobile terminal. After the connection relationship is established, the mobile terminal can send the displayed picture to the smart TV for display. And through the established connection relationship, operations such as zooming in, moving, etc. performed by the user on the mobile terminal can also be synchronously mapped to the smart TV, so as to realize the synchronous zooming of pictures.
发明内容SUMMARY OF THE INVENTION
本申请一些实施例提供一种显示设备,包括显示器、通信器和控制器。其中,所述显示器被配置为显示目标图片,所述通信器被配置为与移动终端建立通信连接;所述控制器被配置为执行以下程序步骤:接收缩放指令,所述缩放指令由所述移动终端在原图片边界超出显示区域边界时输入,所述缩放指令包括显示位置和缩放比例;所述原图片为所述移动终端中显示的图片;响应于所述缩放指令,按照所述显示位置移动目标图片的位置,所述目标图片为所述显示器中显示的图片;以所述显示位置为基准,按照所述缩放比例对所述目标图片执行缩放。Some embodiments of the present application provide a display device including a display, a communicator, and a controller. Wherein, the display is configured to display the target picture, the communicator is configured to establish a communication connection with the mobile terminal; the controller is configured to perform the following program steps: receiving a zoom instruction, the zoom instruction is caused by the mobile terminal The terminal inputs when the original picture boundary exceeds the display area boundary, and the scaling instruction includes a display position and a scaling ratio; the original picture is the picture displayed in the mobile terminal; in response to the scaling instruction, the target is moved according to the display position The position of the picture, the target picture is the picture displayed on the display; and the target picture is scaled according to the scaling ratio based on the display position.
本申请一些实施例还提供一种移动终端,包括显示单元、通信单元和处理单元。其中,所述显示单元被配置为显示原图片;所述通信单元被配置为与显示设备建立通信连接;所述处理单元被配置为执行以下程序步骤:接收用户输入的缩放命令;响应于所述缩放命令,对所显示的原图片执行缩放;如果所述原图片的边界超出所述显示单元的显示区域边界,计算显示位置和缩放比例;向所述显示设备发送缩放指令,所述缩放指令包括所述显示位置和缩放比例。Some embodiments of the present application also provide a mobile terminal, including a display unit, a communication unit, and a processing unit. The display unit is configured to display the original picture; the communication unit is configured to establish a communication connection with the display device; the processing unit is configured to execute the following program steps: receiving a zoom command input by a user; responding to the A zoom command, to perform zooming on the displayed original picture; if the boundary of the original picture exceeds the display area boundary of the display unit, calculate the display position and the zoom ratio; send a zoom command to the display device, the zoom command includes The display position and zoom ratio.
本申请一些实施例还提供一种图片同步缩放方法,包括:移动终端接收用户输入的缩放命令;所述移动终端根据所述缩放命令对所显示的原图片执行缩放;如果所述原图片边界超出显示区域边界,所述移动终端向显示设备发送缩放指令,所述缩放指令包括显示位置和缩放比例;所述显示设备按照所述显示位置移动目标图片的位置;以所述显示位置为基准,按照所述缩放比例对所述目标图片执行缩放。Some embodiments of the present application further provide a method for synchronously scaling a picture, including: a mobile terminal receiving a scaling command input by a user; the mobile terminal scaling the displayed original picture according to the scaling command; if the original picture exceeds the boundary of the original picture display area boundary, the mobile terminal sends a zoom instruction to the display device, the zoom instruction includes a display position and a zoom ratio; the display device moves the position of the target picture according to the display position; based on the display position, according to The scaling ratio performs scaling on the target picture.
本申请一些实施例提供一种显示设备,包括:接收模块,用于接收传输指令;驱动模块,用于根据所述传输指令确定显示设备所处的传输模式;其中,所述传输模式为网络传输为主的模式或投屏传输为主的模式;所述网络传输和所述投屏传输均通过 所述显示设备中的同一无线通讯模块进行数据传输;还用于根据所述显示设备所处的传输模式确定传输时长调整指令并将所述传输时长调整指令发送至无线通讯固件;显示屏,用于显示所述网络传输和/或所述投屏传输的内容。Some embodiments of the present application provide a display device, including: a receiving module for receiving a transmission instruction; a driving module for determining a transmission mode in which the display device is located according to the transmission instruction; wherein the transmission mode is network transmission The main mode or the screen-casting transmission-based mode; the network transmission and the screen-casting transmission both perform data transmission through the same wireless communication module in the display device; The transmission mode determines the transmission duration adjustment instruction and sends the transmission duration adjustment instruction to the wireless communication firmware; the display screen is used to display the content of the network transmission and/or the screen projection transmission.
附图说明Description of drawings
图1为根据本申请一个或多个实施例的显示设备与控制装置之间操作场景的示意图;FIG. 1 is a schematic diagram of an operation scenario between a display device and a control apparatus according to one or more embodiments of the present application;
图2为根据本申请一个或多个实施例的显示设备的硬件配置框图;2 is a block diagram of a hardware configuration of a display device according to one or more embodiments of the present application;
图3为根据本申请一个或多个实施例的控制设备的硬件配置框图;3 is a block diagram of a hardware configuration of a control device according to one or more embodiments of the present application;
图4为根据本申请一个或多个实施例的显示设备中软件配置示意图;4 is a schematic diagram of software configuration in a display device according to one or more embodiments of the present application;
图5为根据本申请一个或多个实施例的显示设备中应用程序的图标控件界面显示示意图;5 is a schematic diagram showing an icon control interface of an application in a display device according to one or more embodiments of the present application;
图6为根据本申请一个或多个实施例的移动终端示意图;6 is a schematic diagram of a mobile terminal according to one or more embodiments of the present application;
图7为根据本申请一个或多个实施例的移动终端和显示设备交互示意图;7 is a schematic diagram of interaction between a mobile terminal and a display device according to one or more embodiments of the present application;
图8-9为根据本申请一个或多个实施例的图片同步缩放效果示意图;8-9 are schematic diagrams of a synchronous zooming effect of pictures according to one or more embodiments of the present application;
图10为根据本申请一个或多个实施例的显示位置计算原理图;FIG. 10 is a schematic diagram of display position calculation according to one or more embodiments of the present application;
图11为根据本申请一个或多个实施例的显示设备向边界调整图片位置效果示意图;FIG. 11 is a schematic diagram illustrating the effect of adjusting a picture position to a boundary by a display device according to one or more embodiments of the present application;
图12为根据本申请一个或多个实施例的显示设备居中调整图片位置效果示意图;12 is a schematic diagram illustrating the effect of centering a picture position adjustment by a display device according to one or more embodiments of the present application;
图13为根据本申请一个或多个实施例的图片未超出显示区域边界时的同步缩放效果示意图;13 is a schematic diagram of a synchronized zoom effect when a picture does not exceed the boundary of the display area according to one or more embodiments of the present application;
图14为根据本申请一个或多个实施例的图片超出显示区域边界时的同步缩放效果示意图;14 is a schematic diagram of a synchronized zoom effect when a picture exceeds the boundary of a display area according to one or more embodiments of the present application;
图15为根据本申请一个或多个实施例的预设显示区域示意图;15 is a schematic diagram of a preset display area according to one or more embodiments of the present application;
图16为根据本申请一个或多个实施例的在预设显示区域内缩放目标图片效果示意图;16 is a schematic diagram illustrating the effect of zooming a target image in a preset display area according to one or more embodiments of the present application;
图17为根据本申请一个或多个实施例的一种可能的P2P的设备发现流程;17 is a possible P2P device discovery process according to one or more embodiments of the present application;
图18为根据本申请一个或多个实施例的在以网络传输为主的模式中一种时长的调整流程;18 is a process for adjusting a duration in a network transmission-based mode according to one or more embodiments of the present application;
图19为根据本申请一个或多个实施例的在以投屏传输为主的模式中一种时长的调整流程;19 is a process for adjusting a duration in a mode mainly based on screen projection transmission according to one or more embodiments of the present application;
图20为根据本申请一个或多个实施例的一种可能的P2P的设备发现流程。FIG. 20 is a possible P2P device discovery process according to one or more embodiments of the present application.
具体实施方式Detailed ways
为使本申请的目的、实施方式和优点更加清楚,下面将结合本申请示例性实施例中的附图,对本申请示例性实施方式进行清楚、完整地描述,显然,所描述的示例性实施例仅是本申请一部分实施例,而不是全部的实施例。In order to make the objectives, implementations and advantages of the present application clearer, the exemplary embodiments of the present application will be described clearly and completely below with reference to the accompanying drawings in the exemplary embodiments of the present application. Obviously, the exemplary embodiments described It is only a part of the embodiments of the present application, but not all of the embodiments.
基于本申请描述的示例性实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请所附权利要求保护的范围。此外,虽然本申请中公开内容按照示范性一个或几个实例来介绍,但应理解,可以就这些公开内容的各个方面也可以单独构成一个完整实施方式。需要说明的是,本申请中对于术语的简要说明,仅是 为了方便理解接下来描述的实施方式,而不是意图限定本申请的实施方式。除非另有说明,这些术语应当按照其普通和通常的含义理解。Based on the exemplary embodiments described in this application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the appended claims of this application. Furthermore, although the disclosures in this application have been presented in terms of illustrative example or instances, it should be understood that various aspects of this disclosure may also constitute a complete embodiment in isolation. It should be noted that the brief description of the terms in the present application is only for the convenience of understanding the embodiments described below, and is not intended to limit the embodiments of the present application. Unless otherwise specified, these terms are to be understood according to their ordinary and ordinary meanings.
图1为根据本申请一个或多个实施例的显示设备与控制装置之间操作场景的示意图。如图1中示出,用户可通过移动终端100A和控制装置操作显示设备200。在一些实施例中,控制装置100可以是遥控器100B,遥控器100B和显示设备的通信包括红外协议通信或蓝牙协议通信,及其他短距离通信方式等,通过无线或其他有线方式来控制显示设备200。用户可以通过遥控器100B上按键,语音输入、控制面板输入等输入用户指令,来控制显示设备200。需要说明的是,控制装置100可以与显示设备200之间采用直接的无线连接方式进行通信,也可以采用非直接连接的方式进行通信。另一些实施例中,控制装置100还可以通过无线路由器与显示设备200接入同一个无线网络,以通过无线网络与显示设备200建立非直接连接通信。当发送控制指令时,控制装置100可以将控制指令数据先发送给无线路由器,再通过无线路由器将控制指令数据转发给显示设备200。在一些实施例中,也可以使用移动终端100A、平板电脑、计算机、笔记本电脑、和其他智能设备以控制显示设备200。FIG. 1 is a schematic diagram of an operation scenario between a display device and a control apparatus according to one or more embodiments of the present application. As shown in FIG. 1 , the user can operate the display apparatus 200 through the mobile terminal 100A and the control device. In some embodiments, the control device 100 may be a remote control 100B, and the communication between the remote control 100B and the display device includes infrared protocol communication or Bluetooth protocol communication, and other short-distance communication methods, etc., and the display device is controlled by wireless or other wired methods. 200. The user can control the display device 200 by inputting user instructions through keys on the remote controller 100B, voice input, control panel input, or the like. It should be noted that, the control apparatus 100 may communicate with the display device 200 in a direct wireless connection manner, and may also communicate in an indirect connection manner. In other embodiments, the control apparatus 100 may also access the same wireless network as the display device 200 through a wireless router, so as to establish an indirect connection and communication with the display device 200 through the wireless network. When sending the control command, the control device 100 may first send the control command data to the wireless router, and then forward the control command data to the display device 200 through the wireless router. In some embodiments, the mobile terminal 100A, tablet computer, computer, notebook computer, and other smart devices may also be used to control the display device 200 .
在一些实施例中,移动终端100A可与显示设备200安装软件应用,通过网络通信协议实现连接通信,实现一对一控制操作的和数据通信的目的。如图1中还示出,显示设备200还与服务器400通过多种通信方式进行数据通信。可允许显示设备200通过局域网(LAN)、无线局域网(WLAN)和其他网络进行通信连接。服务器400可以向显示设备200提供各种内容和互动。显示设备200,可以液晶显示器、OLED显示器、投影显示设备。显示设备200除了提供广播接收电视功能之外,还可以附加提供计算机支持功能的智能网络电视功能,包括但不限于,网络电视、智能电视、互联网协议电视(IPTV)等。In some embodiments, the mobile terminal 100A can install a software application with the display device 200 to implement connection communication through a network communication protocol, so as to achieve the purpose of one-to-one control operation and data communication. As also shown in FIG. 1 , the display device 200 also performs data communication with the server 400 through various communication methods. The display device 200 may be allowed to communicate via local area network (LAN), wireless local area network (WLAN), and other networks. The server 400 may provide various contents and interactions to the display device 200 . The display device 200 may be a liquid crystal display, an OLED display, or a projection display device. The display device 200 may additionally provide a smart IPTV function that provides computer-supported functions, including but not limited to, IPTV, smart TV, Internet Protocol TV (IPTV), and the like, in addition to the broadcast receiving TV function.
图2为根据本申请一个或多个实施例的显示设备的硬件配置框图,如图2所示,控制装置包括控制器110、通信接口130、用户输入/输出接口140、存储器、供电电源。控制装置100可接收用户的输入操作指令,且将操作指令转换为显示设备200可识别和响应的指令,起用用户与显示设备200之间交互中介作用。通信接口130用于和外部通信,包含WIFI芯片,蓝牙模块,NFC或可替代模块中的至少一种。用户输入/输出接口140包含麦克风,触摸板,传感器,按键或可替代模块中的至少一种。FIG. 2 is a block diagram of a hardware configuration of a display device according to one or more embodiments of the present application. As shown in FIG. 2 , the control apparatus includes a controller 110 , a communication interface 130 , a user input/output interface 140 , a memory, and a power supply. The control device 100 can receive the user's input operation instruction, and convert the operation instruction into an instruction that the display device 200 can recognize and respond to, and play an intermediary role between the user and the display device 200 . The communication interface 130 is used for external communication, and includes at least one of a WIFI chip, a Bluetooth module, NFC or an alternative module. The user input/output interface 140 includes at least one of a microphone, a touchpad, a sensor, a key or an alternative module.
图3为根据本申请一个或多个实施例的控制设备的硬件配置框图,如图3所示显示设备200包括调谐解调器210、通信器220、检测器230、外部装置接口240、控制器250、显示器260、音频输出接口270、存储器、供电电源、用户接口280中的至少一种。控制器包括中央处理器,视频处理器,音频处理器,图形处理器,RAM,ROM,用于输入/输出的第一接口至第n接口。显示器260可为液晶显示器、OLED显示器、触控显示器以及投影显示器中的至少一种,还可以为一种投影装置和投影屏幕。调谐解调器210通过有线或无线接收方式接收广播电视信号,以及从多个无线或有线广播电视信号中解调出音视频信号,如以及EPG数据信号。检测器230用于采集外部环境或与外部交互的信号。控制器250和调谐解调器210可以位于不同的分体设备中,即调谐解调器210也可在控制器250所在的主体设备的外置设备中,如外置机顶盒等。FIG. 3 is a block diagram of a hardware configuration of a control device according to one or more embodiments of the present application. As shown in FIG. 3, the display device 200 includes a tuner and demodulator 210, a communicator 220, a detector 230, an external device interface 240, and a controller. 250 , a display 260 , an audio output interface 270 , a memory, a power supply, and at least one of a user interface 280 . The controller includes a central processing unit, a video processing unit, an audio processing unit, a graphics processing unit, a RAM, a ROM, and a first interface to an nth interface for input/output. The display 260 may be at least one of a liquid crystal display, an OLED display, a touch display, and a projection display, and may also be a projection device and a projection screen. The tuner-demodulator 210 receives broadcast television signals through wired or wireless reception, and demodulates audio and video signals, such as EPG data signals, from a plurality of wireless or wired broadcast television signals. The detector 230 is used to collect external environment or external interaction signals. The controller 250 and the tuner 210 may be located in different separate devices, that is, the tuner 210 may also be located in an external device of the main device where the controller 250 is located, such as an external set-top box.
在一些实施例中,控制器250,通过存储在存储器上中各种软件控制程序,来控制显示设备的工作和响应用户的操作。控制器250控制显示设备200的整体操作。用户可在显示器260上显示的图形用户界面(GUI)输入用户命令,则用户输入接口通过图形用户界 面(GUI)接收用户输入命令。或者,用户可通过输入特定的声音或手势进行输入用户命令,则用户输入接口通过传感器识别出声音或手势,来接收用户输入命令。In some embodiments, the controller 250, through various software control programs stored on the memory, controls the operation of the display device and responds to user operations. The controller 250 controls the overall operation of the display apparatus 200 . A user may input a user command on a graphical user interface (GUI) displayed on the display 260, and the user input interface receives the user input command through the graphical user interface (GUI). Alternatively, the user may input a user command by inputting a specific sound or gesture, and the user input interface recognizes the sound or gesture through a sensor to receive the user input command.
在一些实施例中,“用户界面”,是应用程序或操作系统与用户之间进行交互和信息交换的介质接口,它实现信息的内部形式与用户可以接受形式之间的转换。用户界面常用的表现形式是图形用户界面(Graphic User Interface,GUI),是指采用图形方式显示的与计算机操作相关的用户界面。它可以是在电子设备的显示屏中显示的一个图标、窗口、控件等界面元素,其中控件可以包括图标、按钮、菜单、选项卡、文本框、对话框、状态栏、导航栏、Widget等可视的界面元素中的至少一种。In some embodiments, a "user interface" is a medium interface for interaction and information exchange between an application program or an operating system and a user, which enables conversion between an internal form of information and a form acceptable to the user. The commonly used form of user interface is Graphical User Interface (GUI), which refers to a user interface related to computer operations displayed in a graphical manner. It can be an icon, window, control and other interface elements displayed on the display screen of the electronic device, wherein the control can include icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, Widgets, etc. at least one of the visual interface elements.
图4为根据本申请一个或多个实施例的显示设备中软件配置示意图,如图4所示,将系统分为四层,从上至下分别为应用程序(Applications)层(简称“应用层”),应用程序框架(Application Framework)层(简称“框架层”),安卓运行时(Android runtime)和系统库层(简称“系统运行库层”),以及内核层。内核层至少包含以下驱动中的至少一种:音频驱动、显示驱动、蓝牙驱动、摄像头驱动、WIFI驱动、USB驱动、HDMI驱动、传感器驱动(如指纹传感器,温度传感器,压力传感器等)、以及电源驱动等。FIG. 4 is a schematic diagram of software configuration in a display device according to one or more embodiments of the present application. As shown in FIG. 4 , the system is divided into four layers, from top to bottom, the applications layer (referred to as “application layer”) ”), the Application Framework layer (referred to as the “framework layer”), the Android runtime (Android runtime) and the system library layer (referred to as the “system runtime layer”), and the kernel layer. The kernel layer contains at least one of the following drivers: audio driver, display driver, Bluetooth driver, camera driver, WIFI driver, USB driver, HDMI driver, sensor driver (such as fingerprint sensor, temperature sensor, pressure sensor, etc.), and power supply drive etc.
图5为根据本申请一个或多个实施例的显示设备中应用程序的图标控件界面显示示意图,如图5中所示,应用程序层包含至少一个应用程序可以在显示器中显示对应的图标控件,如:直播电视应用程序图标控件、视频点播应用程序图标控件、媒体中心应用程序图标控件、应用程序中心图标控件、游戏应用图标控件等。直播电视应用程序,可以通过不同的信号源提供直播电视。视频点播应用程序,可以提供来自不同存储源的视频。不同于直播电视应用程序,视频点播提供来自某些存储源的视频显示。媒体中心应用程序,可以提供各种多媒体内容播放的应用程序。应用程序中心,可以提供储存各种应用程序。5 is a schematic diagram showing an icon control interface of an application in a display device according to one or more embodiments of the present application. As shown in FIG. 5 , the application layer includes at least one application that can display a corresponding icon control on the display, Such as: live TV application icon control, video on demand application icon control, media center application icon control, application center icon control, game application icon control, etc. Live TV app that can provide live TV from different sources. Video-on-demand application that can provide video from different storage sources. Unlike live TV applications, video-on-demand provides a display of video from certain storage sources. A media center application that can provide a variety of multimedia content playback applications. The application center can provide storage of various applications.
<投屏图片缩放><Screen image zooming>
本申请一些实施例中,所述移动终端100A是指能够与上述显示设备200建立通信连接的终端设备。所述移动终端100A可以作为显示设备200的控制装置100。所述移动终端100A包括但不限于手机、计算机、平板电脑、智能可穿戴设备等。为了便于描述,本申请的部分实施例以及说明书附图中,以手机作为示例进行说明。图6为根据本申请一个或多个实施例的移动终端示意图,如图6所示,移动终端100A上可以内置显示单元310、通信单元320、处理单元330等功能器件,实现移动终端100A的基础功能。还可以内置存储器、摄像头、传感器、音频电路以及电源等部件,用于配合其他部件使移动终端能够运行。即显示单元310可用于接收输入的数字或字符信息,产生与移动终端100A的用户设置以及功能控制有关的信号输入。显示单元310还可用于显示由用户输入的信息或提供给用户的信息以及终端的各种菜单的图形用户界面(graphical user interface,GUI)。可以在显示屏之上覆盖触摸屏,也可以将触摸屏与显示屏集成而实现移动终端100A的输入和输出功能,集成后可以简称触摸显示屏。本申请中显示单元310可以显示应用程序以及对应的操作步骤。In some embodiments of the present application, the mobile terminal 100A refers to a terminal device capable of establishing a communication connection with the above-mentioned display device 200 . The mobile terminal 100A may serve as the control apparatus 100 of the display device 200 . The mobile terminal 100A includes, but is not limited to, a mobile phone, a computer, a tablet computer, a smart wearable device, and the like. For the convenience of description, some embodiments of the present application and the accompanying drawings in the specification take a mobile phone as an example for description. FIG. 6 is a schematic diagram of a mobile terminal according to one or more embodiments of the present application. As shown in FIG. 6 , functional devices such as a display unit 310, a communication unit 320, and a processing unit 330 may be built in the mobile terminal 100A to realize the foundation of the mobile terminal 100A. Features. Components such as memory, camera, sensor, audio circuit, and power supply can also be built-in to cooperate with other components to enable the mobile terminal to operate. That is, the display unit 310 may be used to receive input numerical or character information, and generate signal input related to user settings and function control of the mobile terminal 100A. The display unit 310 may also be used to display information input by the user or information provided to the user and a graphical user interface (GUI) of various menus of the terminal. The touch screen may be covered on the display screen, or the touch screen may be integrated with the display screen to realize the input and output functions of the mobile terminal 100A, which may be referred to as the touch screen screen after integration. In this application, the display unit 310 can display application programs and corresponding operation steps.
本申请一些实施例中,图片同步缩放是指同一个图片分别在移动终端100A和显示设备200上进行显示,当用户在移动终端100A上执行缩放操作时,移动终端100A上显示的图片会根据缩放操作进行放大或缩小,同时显示设备200上显示的图片也根据缩放操作进行放大和缩小的过程。为了实现图片的同步缩放,在显示图片前,需要在移动终端100A与显示设备200之间建立通信连接,例如通过WiFi连接方式,将移 动终端100A和显示设备200接入同一个无线网络。In some embodiments of the present application, the synchronous scaling of pictures means that the same picture is displayed on the mobile terminal 100A and the display device 200 respectively. When the user performs a scaling operation on the mobile terminal 100A, the picture displayed on the mobile terminal 100A will be scaled according to the scale. The operation is performed to zoom in or out, and at the same time, the picture displayed on the display device 200 is also zoomed in and out according to the zoom operation. In order to realize the synchronous scaling of the picture, before displaying the picture, it is necessary to establish a communication connection between the mobile terminal 100A and the display device 200, for example, connect the mobile terminal 100A and the display device 200 to the same wireless network through WiFi connection.
在一些实施例中,图7为根据本申请一个或多个实施例的移动终端和显示设备交互示意图,如图7所示,在建立无线连接后,用户可以在移动终端100A上执行交互操作,控制移动终端100A与显示设备200同步显示图片。例如,通过执行交互操作,移动终端100A可以向显示设备200同时发送用于同步显示图片的控制指令和图片数据。显示设备200的控制器250可以先获取由移动终端100A输入的控制指令,再响应于所述控制指令,接收图片数据,从而控制所述显示器275显示所述图片数据。同理,根据显示设备200的UI界面布局方式,显示器275可以在预设的显示区域内显示图片数据,而所述预设显示区域可以与所述移动终端100A中的显示边界具有关联关系。其中,所述关联关系是指显示设备200上显示的图片状态与移动终端100A上显示的图片状态相适应。例如,当移动终端100A横向放置时,显示设备200的预设显示区域呈现为宽度大于高度的矩形区域;当移动终端100A竖向放置时,显示设备200的预设显示区域呈现为宽度小于高度的矩形区域。In some embodiments, FIG. 7 is a schematic diagram of interaction between a mobile terminal and a display device according to one or more embodiments of the present application. As shown in FIG. 7 , after a wireless connection is established, a user can perform an interactive operation on the mobile terminal 100A, The mobile terminal 100A is controlled to display pictures in synchronization with the display device 200 . For example, by performing an interactive operation, the mobile terminal 100A can simultaneously send a control instruction for synchronously displaying a picture and picture data to the display device 200 . The controller 250 of the display device 200 may first obtain the control instruction input by the mobile terminal 100A, and then, in response to the control instruction, receive picture data, thereby controlling the display 275 to display the picture data. Similarly, according to the layout of the UI interface of the display device 200, the display 275 may display picture data in a preset display area, and the preset display area may have an associated relationship with the display boundary in the mobile terminal 100A. The association relationship means that the state of the picture displayed on the display device 200 is compatible with the state of the picture displayed on the mobile terminal 100A. For example, when the mobile terminal 100A is placed horizontally, the preset display area of the display device 200 appears as a rectangular area whose width is greater than the height; when the mobile terminal 100A is placed vertically, the preset display area of the display device 200 appears as a rectangular area whose width is smaller than the height. rectangular area.
显然,为了在显示设备200上呈现更好的显示效果,在显示设备200上的预设显示区域可以按照显示设备200的屏幕特点进行设置,并自动适应不同形式的图片。例如,可以将整个屏幕区域作为预设显示区域,而在显示不同比例图片时,对图片进行缩放。在一些实施例中,显示设备200可以根据不同的方式获得图片数据。例如,移动终端100A可以直接将图片文件发送给显示设备200,显示设备200再将接收到的图片文件进行显示。当用户在移动终端100A输入缩放动作指令时,移动终端100A在将缩放动作指令进行调整、转化后,发送给显示设备200。显示设备200在接收到缩放指令后,可以执行缩放指令,对所显示的图片也进行缩放。Obviously, in order to present a better display effect on the display device 200, the preset display area on the display device 200 can be set according to the screen characteristics of the display device 200, and automatically adapt to different forms of pictures. For example, the entire screen area can be used as the preset display area, and when displaying pictures of different ratios, the pictures are zoomed. In some embodiments, the display device 200 may obtain the picture data according to different ways. For example, the mobile terminal 100A may directly send the picture file to the display device 200, and the display device 200 will then display the received picture file. When the user inputs the zoom action instruction on the mobile terminal 100A, the mobile terminal 100A sends the zoom action instruction to the display device 200 after adjusting and converting the zoom action instruction. After receiving the zoom instruction, the display device 200 may execute the zoom instruction to also zoom the displayed picture.
但是对于一些屏幕形状相差较大的显示设备200和移动终端100A,同一个图片在移动终端100A和显示设备200上的显示形式不同,导致上述同步缩放方式在将用户输入的控制指令传递给显示设备200后,不能准确的执行缩放指令。即容易出现在移动终端100A上被缩放的区域,与显示设备200所呈现的区域不一致,产生错位问题。例如,用户在移动终端100A竖向状态下显示宽度大于高度的横向图片时,为了能够将图片显示完全,移动终端100A会按照图片宽度等于移动终端100A显示单元310的宽度对图片进行缩小显示。其中,缩小显示的图片靠近中部区域。而由于显示设备200的宽度大于高度,与图片形状相适应,因此可以不缩小显示。当用户在移动终端100A执行对左上角区域进行放大的操作时,由于缩小显示的图片靠近中部区域,因此用户可以在中部偏左、偏上的区域输入放大动作指令。此时,发送给显示设备200缩放指令也在中部偏左、偏上的区域,即显示设备200是对中部偏左、偏上的区域进行放大,并非是左上角区域进行放大,形成显示错位。However, for some display devices 200 and mobile terminals 100A whose screen shapes are quite different, the display forms of the same picture on the mobile terminal 100A and the display device 200 are different, so that the above-mentioned synchronous scaling method transmits the control instruction input by the user to the display device. After 200, the zoom command cannot be executed accurately. That is, the zoomed area on the mobile terminal 100A is likely to be inconsistent with the area displayed by the display device 200, resulting in a misalignment problem. For example, when the user displays a horizontal picture whose width is greater than its height in the vertical state of the mobile terminal 100A, in order to display the picture completely, the mobile terminal 100A will reduce the picture according to the width of the picture equal to the width of the display unit 310 of the mobile terminal 100A. Among them, the zoomed out picture is close to the middle area. However, since the width of the display device 200 is greater than the height, which is adapted to the shape of the picture, the display may not be reduced. When the user performs an operation of enlarging the upper left area on the mobile terminal 100A, since the zoomed-out image is close to the middle area, the user can input the enlargement action instruction in the area to the left and to the upper part of the center. At this time, the zoom command sent to the display device 200 is also in the area to the left and to the top in the middle, that is, the display device 200 enlarges the area to the left and above in the middle, not the upper left area, resulting in display dislocation.
为了改善这种显示错位的问题,本申请一些实施例通过图片同步缩放方法实现移动终端和显示设备之间在呈现图片时同步缩放/移动。方法需要在显示设备与移动终端之间建立投屏关系,并通过显示器显示目标图片,其中,所述目标图片为与显示器中显示的原图片内容相同的图片;在原图片边界超出移动终端的显示区域边界时,同步缩放目标图片。本申请的部分实施例中提供一种图片同步缩放方法,所述图片同步缩放方法可以应用于显示设备200和移动终端100A。图8-9为根据本申请一个或多个实施例的图片同步缩放效果示意图,如图8、图9所示,所述方法包括以下步骤:In order to improve the problem of display misalignment, some embodiments of the present application implement synchronous scaling/moving between a mobile terminal and a display device when a picture is presented by using a picture synchronous scaling method. The method needs to establish a screen projection relationship between the display device and the mobile terminal, and display a target picture through the display, wherein the target picture is a picture with the same content as the original picture displayed on the display; the original picture boundary exceeds the display area of the mobile terminal. When the boundary is reached, the target image is scaled synchronously. Some embodiments of the present application provide a synchronous picture scaling method, and the picture synchronous scaling method can be applied to the display device 200 and the mobile terminal 100A. 8-9 are schematic diagrams of synchronous zooming effects of pictures according to one or more embodiments of the present application. As shown in FIGS. 8 and 9 , the method includes the following steps:
移动终端100A接收用户输入的缩放命令。在本申请一些实施例中,用户可以在控制移动终端100A与显示设备200建立通信连接关系后,通过图片投屏或相关应用程序,控制在移动终端100A和显示设备200上同时展示图片。为了便于描述,在本申请一些实施例中,将在移动终端100A上显示的图片称为原图片,将在显示设备200上显示的图片称为目标图片。在完成图片投屏程序后,用户可以在移动终端100A上执行缩放动作,从而控制原图片进行放大或缩小显示,即移动终端100A可以接收用户输入的缩放命令。根据移动终端100A形式的不同,用户可以通过不同的方式输入缩放命令。例如,移动终端100A为具有触摸屏的手机设备时,用户可以通过在手机触摸屏上的图片显示区域内输入两指相互分离的触摸动作,输入缩放命令。还可以在移动终端100A上显示控制UI,用户通过UI界面中的控件执行相关操作,从而实现对所显示原图片的缩放。例如,可以在图片显示区域的右侧设置一个滚动条,当用户向上滑动滚动条时,放大显示的图片;而当用户向下滑动滚动条时,缩小显示的图片,从而完成缩放命令的输入。The mobile terminal 100A receives a zoom command input by the user. In some embodiments of the present application, after controlling the mobile terminal 100A to establish a communication connection with the display device 200, the user can control the display of pictures on the mobile terminal 100A and the display device 200 simultaneously through a picture projection or a related application. For ease of description, in some embodiments of the present application, the picture displayed on the mobile terminal 100A is called the original picture, and the picture displayed on the display device 200 is called the target picture. After the picture projection program is completed, the user can perform a zoom action on the mobile terminal 100A to control the original picture to be enlarged or reduced for display, that is, the mobile terminal 100A can receive a zoom command input by the user. Depending on the form of the mobile terminal 100A, the user may input the zoom command in different ways. For example, when the mobile terminal 100A is a mobile phone device with a touch screen, the user can input a zoom command by inputting a touch action of separating two fingers from each other in the picture display area on the touch screen of the mobile phone. A control UI may also be displayed on the mobile terminal 100A, and the user performs related operations through the controls in the UI interface, thereby realizing the zooming of the displayed original picture. For example, a scroll bar can be set on the right side of the picture display area. When the user slides the scroll bar up, the displayed picture is enlarged; when the user slides the scroll bar down, the displayed picture is reduced, thereby completing the input of the zoom command.
在接收到用户输入的缩放命令后,所述移动终端100A根据所述缩放命令对所显示的原图片执行缩放。在一些实施例中,为了实现对原图片的缩放,用户输入的缩放命令中可以带有缩放位置和缩放比例等控制参数。其中,缩放位置可以按照用户输入缩放命令的位置确定。例如,当用户通过双指相互分离输入放大命令时,缩放位置可以是两指连线的中点。缩放位置还可以按照图片的显示状态确定。例如,当用户使用滚动条执行缩放时,可以按照当前显示区域的中心位置进行缩放,即显示中心位置就是缩放位置。显然,为了能够对图片的不同位置进行缩放,可以在显示尺寸较大的图片时,通过移动图片位置,使要放大的区域位于显示区域的中心,再通过拖动滚动条进行放大或缩小操作。缩放比例同样可以根据用户输入的缩放命令确定。例如,缩放比例可以与用户输入双指相互分离动作所滑动的距离之间具有关联关系,即随着双指之间距离的增大,逐渐对原图片执行放大,双指移动的距离越远,则放大倍数越高。缩放比例还可以根据用户拖动滚动条移动的距离确定。即,可以先在滚动条上标定缩放比例与滑动距离之间的对应关系,当用户将滚动条移动至任一位置上时,则将图片缩放至相应的倍数。After receiving the zoom command input by the user, the mobile terminal 100A zooms the displayed original picture according to the zoom command. In some embodiments, in order to realize the zooming of the original image, the zooming command input by the user may include control parameters such as zooming position and zooming ratio. The zoom position may be determined according to the position where the user inputs the zoom command. For example, when the user inputs a zoom-in command by separating two fingers from each other, the zoom position may be the midpoint of the line connecting the two fingers. The zoom position can also be determined according to the display state of the picture. For example, when the user performs zooming using the scroll bar, the zooming can be performed according to the center position of the current display area, that is, the center position of the display is the zoom position. Obviously, in order to be able to zoom in and out of different positions of the picture, when displaying a larger size picture, move the picture position so that the area to be enlarged is located in the center of the display area, and then drag the scroll bar to zoom in or out. The zoom ratio can also be determined according to the zoom command input by the user. For example, the zoom ratio may have a relationship with the sliding distance of the user inputting the action of separating two fingers from each other, that is, as the distance between the two fingers increases, the original image is gradually enlarged, and the further the two fingers move, the higher the magnification. The scaling can also be determined based on how far the user drags the scroll bar to move. That is, the corresponding relationship between the zoom ratio and the sliding distance can be calibrated on the scroll bar first, and when the user moves the scroll bar to any position, the picture is zoomed to a corresponding multiple.
因此,移动终端100A可以在接收到缩放命令后,对缩放命令进行解析,以确定缩放命令中指定的缩放位置和缩放比例。再根据缩放位置和缩放比例,对原图片执行缩放操作,以将原图片进行放大或缩小。需要说明的是,为了呈现更好的放大缩小效果,实际应用中可以通过多次采样,分别确定每次采样过程的缩放位置,以及相邻两次采样过程间的缩放比例,并执行缩放操作,使显示的图片可以根据缩放命令的输入过程逐渐放大或缩小,实现跟随用户输入操作动作,使图片逐渐放大或缩小的效果。Therefore, after receiving the zoom command, the mobile terminal 100A may parse the zoom command to determine the zoom position and zoom ratio specified in the zoom command. Then, according to the zoom position and zoom ratio, perform a zoom operation on the original image to enlarge or reduce the original image. It should be noted that, in order to present a better zoom-in and zoom-out effect, in practical applications, multiple samplings can be used to determine the zoom position of each sampling process and the zoom ratio between two adjacent sampling processes, and perform the zoom operation. The displayed picture can be gradually enlarged or reduced according to the input process of the zoom command, so as to realize the effect of gradually enlarging or reducing the picture following the user's input operation action.
移动终端100A的屏幕尺寸一般较小,原图片在移动终端100A上显示时,通常是被缩小的状态,而在投屏到显示设备200上以后,显示器275的大屏幕尺寸可以按照原始图片尺寸进行显示。因此,原图片在移动终端100A上进行显示时,由于对图片的缩小显示,显示区域的部分边界与图片边界之间存在一定的间隔。并随着放大过程的进行,图片边界逐渐向显示区域边界靠近。当图片边界达到显示区域边界时,表示当前移动终端100A能够在这一方向上实现对原图片的最大完整显示状态,通常也是原始图片尺寸。The screen size of the mobile terminal 100A is generally small. When the original picture is displayed on the mobile terminal 100A, it is usually in a reduced state. After the screen is projected to the display device 200, the large screen size of the display 275 can be adjusted according to the original picture size. show. Therefore, when the original picture is displayed on the mobile terminal 100A, there is a certain interval between a part of the boundary of the display area and the picture boundary due to the reduced display of the picture. And as the enlarging process progresses, the picture boundary gradually approaches the display area boundary. When the picture boundary reaches the display area boundary, it means that the current mobile terminal 100A can realize the maximum complete display state of the original picture in this direction, which is usually the original picture size.
根据图片的缩放方式,图片随放大过程所逐渐靠近的显示区域边界方向不同。例如,当移动终端100A竖向放置,即显示屏幕的宽度小于高度,在显示宽屏图片时,移动终端100A将按照图片宽度进行缩放,使图片缩小到宽度等于显示区域的宽度。此时,显示区域的上下两侧边界与图片的顶边和底边之间存在间隔。同理,当移动终端100A横向放置,在显示竖屏图片时,移动终端100A将按照图片的高度等于显示区域高度的形式进行缩小,此时显示区域的左右两侧边界与图片的左边和右边之间存在间隔。According to the zooming method of the image, the direction of the border of the display area that the image gradually approaches with the zooming process is different. For example, when the mobile terminal 100A is placed vertically, that is, the width of the display screen is smaller than the height, when displaying a widescreen image, the mobile terminal 100A will scale the image according to the width of the image, so that the width of the image is equal to the width of the display area. At this time, there are gaps between the upper and lower borders of the display area and the top and bottom edges of the picture. In the same way, when the mobile terminal 100A is placed horizontally and a portrait screen picture is displayed, the mobile terminal 100A will be reduced in the form that the height of the picture is equal to the height of the display area. There are gaps between.
为了便于描述,本申请一些实施例中,将能够逐渐靠近的显示区域边界称为缩放边界。移动终端100A在执行放大命令时,由于对图片的放大作用,图片边界将逐渐向缩放边界靠近。当两者的边界重合后,如果继续输入放大命令,则移动终端100A将对图片进行继续放大,超出图片原始尺寸,使图片不能完全显示。相应的,显示设备200上也需要对显示的图片进行同步放大。即在本申请一些实施例中,随着用户缩放指令的输入,如果所述原图片边界超出显示区域边界,移动终端100A向显示设备发送缩放指令。当原图片边界超出缩放边界后,移动终端100A可以向显示设备200发送缩放指令,以使显示设备200可以根据缩放指令对所显示的目标图片执行缩放,其中,缩放指令包括显示位置和缩放比例。本申请一些实施例中,显示位置可以由移动终端100A显示区域中心点上,在放大后图片的像素值位置对应到原图上的像素点进行表示。缩放比例则可以是基于到达显示边界的图片放大/缩小倍数。For ease of description, in some embodiments of the present application, the boundary of the display area that can be gradually approached is referred to as the zoom boundary. When the mobile terminal 100A executes the zoom-in command, due to the zoom-in effect on the picture, the picture border will gradually approach the zoom border. After the boundaries of the two are overlapped, if the enlargement command is continued to be input, the mobile terminal 100A will continue to enlarge the picture beyond the original size of the picture, so that the picture cannot be fully displayed. Correspondingly, the displayed picture also needs to be synchronously enlarged on the display device 200 . That is, in some embodiments of the present application, with the input of a zoom instruction by the user, if the border of the original picture exceeds the border of the display area, the mobile terminal 100A sends a zoom instruction to the display device. When the original picture boundary exceeds the scaling boundary, the mobile terminal 100A can send a scaling instruction to the display device 200, so that the display device 200 can perform scaling on the displayed target picture according to the scaling instruction, wherein the scaling instruction includes a display position and a scaling ratio. In some embodiments of the present application, the display position may be represented by the center point of the display area of the mobile terminal 100A, and the pixel value position of the enlarged image corresponds to the pixel point on the original image. The zoom ratio can be based on the zoom in/out factor of the image that reaches the display boundary.
通过上述缩放指令的发送方式,可以实现到达移动终端100A显示的图片缩放边界时,不发送缩放指令,只在移动终端100A中对原图片执行缩放,实现在满足原图显示尺寸的前提下,无需对目标图片进行缩放;而在移动终端100A上的图片在缩放边界方向上充满显示区域后,继续放大则开始向显示设备200发送缩放指令,实现同步缩放。Through the above-mentioned sending method of the zoom command, when the zooming boundary of the picture displayed by the mobile terminal 100A is reached, the zoom command is not sent, and only the original image is zoomed in the mobile terminal 100A, so that on the premise of satisfying the display size of the original image, there is no need to send the zoom command. The target picture is zoomed; and after the picture on the mobile terminal 100A fills the display area in the direction of the zoom boundary, the zooming instruction starts to be sent to the display device 200 to realize synchronous zooming.
显示设备200可以在接收到缩放指令后,按照所述显示位置移动目标图片的位置。由于用户输入缩放命令时指定的缩放位置会因移动终端100A与显示设备200之间的屏幕尺寸差异,不能完全对应。因此,在接收到缩放指令后,显示设备200可以按照显示位置将图片进行移动,使缩放位置与显示器275的中心位置重合,从而在后续缩放过程中,能够以中心区域显示被缩放的图片区域,达到更好的显示效果。即在移动目标图片位置后,显示设备200以所述显示位置为基准,按照所述缩放比例对所述目标图片执行缩放。After receiving the zoom instruction, the display device 200 may move the position of the target picture according to the display position. Because the zoom position specified when the user inputs the zoom command may not correspond completely due to the difference in screen size between the mobile terminal 100A and the display device 200 . Therefore, after receiving the zoom instruction, the display device 200 can move the picture according to the display position, so that the zoom position coincides with the center position of the display 275, so that in the subsequent zoom process, the zoomed image area can be displayed in the center area, achieve better display effect. That is, after moving the position of the target picture, the display device 200 uses the display position as a reference, and performs scaling on the target picture according to the scaling ratio.
由以上技术方案可知,上述实施例中提供的图片同步缩放方法可以通过移动终端100A接收用户输入的缩放指令,并且根据缩放指令对原图片执行缩放。当原图片边界超出显示区域边界时,向显示设备200发送缩放指令。其中缩放指令包括显示位置和缩放比例,显示设备200可以根据显示位置和缩放比例对目标图片执行同步缩放。所述方法通过基于显示位置和缩放比例的映射算法,实现对图片的同步缩放,缓解显示错位的问题。It can be known from the above technical solutions that the picture synchronous scaling method provided in the above embodiments can receive the scaling instruction input by the user through the mobile terminal 100A, and perform scaling on the original picture according to the scaling instruction. When the boundary of the original picture exceeds the boundary of the display area, a zoom instruction is sent to the display device 200 . The scaling instruction includes a display position and a scaling ratio, and the display device 200 can perform synchronous scaling on the target picture according to the display position and the scaling ratio. The method realizes the synchronous scaling of pictures through the mapping algorithm based on the display position and the scaling ratio, and alleviates the problem of display misalignment.
基于上述图片同步缩放方法,本申请的部分实施例中,还提供一种移动终端100A,包括显示单元310、通信单元320和处理单元330。其中,所述显示单元310被配置为显示原图片;所述通信单元320被配置为与显示设备建立通信连接;所述处理单元330被配置为执行以下程序步骤:Based on the above-mentioned picture synchronous scaling method, in some embodiments of the present application, a mobile terminal 100A is further provided, which includes a display unit 310 , a communication unit 320 and a processing unit 330 . Wherein, the display unit 310 is configured to display the original picture; the communication unit 320 is configured to establish a communication connection with the display device; the processing unit 330 is configured to execute the following program steps:
接收用户输入的缩放命令;响应于所述缩放命令,对所显示的原图片执行缩放;如果所述原图片的边界超出所述显示单元310的显示区域边界,计算显示位置和缩放比例;向所述显示设备发送缩放指令,所述缩放指令包括所述显示位置和缩放比例。Receive a zoom command input by the user; in response to the zoom command, perform zooming on the displayed original picture; if the boundary of the original picture exceeds the display area boundary of the display unit 310, calculate the display position and the zoom ratio; The display device sends a zoom instruction, where the zoom instruction includes the display position and the zoom ratio.
同理,为了配合移动终端100A实施图片同步缩放,在一些实施例中还提供一种显示设备200,包括显示器275、通信器220和控制器250。其中,所述显示器275被配置为显示目标图片,所述通信器220被配置为与移动终端100A建立通信连接;所述控制器250被配置为执行以下程序步骤:Similarly, in order to cooperate with the mobile terminal 100A to implement picture synchronization scaling, in some embodiments, a display device 200 is also provided, including a display 275 , a communicator 220 and a controller 250 . Wherein, the display 275 is configured to display the target picture, the communicator 220 is configured to establish a communication connection with the mobile terminal 100A; the controller 250 is configured to execute the following program steps:
接收缩放指令,所述缩放指令由所述移动终端100A在原图片边界超出显示区域边界时输入,所述缩放指令包括显示位置和缩放比例;所述原图片为所述移动终端100A中显示的图片;响应于所述缩放指令,按照所述显示位置移动目标图片的位置,所述目标图片为所述显示器中显示的图片;以所述显示位置为基准,按照所述缩放比例对所述目标图片执行缩放。receiving a zoom instruction, the zoom instruction is input by the mobile terminal 100A when the border of the original image exceeds the border of the display area, and the zoom instruction includes a display position and a zoom ratio; the original image is the image displayed in the mobile terminal 100A; In response to the zoom instruction, move the position of the target picture according to the display position, where the target picture is a picture displayed in the display; and use the display position as a reference, perform the execution on the target picture according to the zoom ratio zoom.
根据上述移动终端100A和显示设备200,在本申请的部分实施例中可以通过处理单元330和控制器250分别执行配置的程序步骤实现上述实施例中的图片同步缩放方法。在建立通信连接后,可由用户操控移动终端100A,对移动终端100A显示的原图片进行缩放,并在原图片超出缩放区域后,通过通信单元320将缩放指令发送给显示设备200。显示设备200的控制器250可以在通过通信器220接收到缩放指令后,对目标图片进行移动、缩放处理,实现与移动终端100A中的缩放过程的同步处理。According to the mobile terminal 100A and the display device 200 described above, in some embodiments of the present application, the processing unit 330 and the controller 250 respectively execute the configured program steps to implement the picture synchronization scaling method in the above embodiments. After the communication connection is established, the user can manipulate the mobile terminal 100A to zoom the original picture displayed on the mobile terminal 100A, and after the original picture exceeds the zoom area, the communication unit 320 sends a zoom instruction to the display device 200 . After receiving the scaling instruction through the communicator 220, the controller 250 of the display device 200 can perform moving and scaling processing on the target picture, so as to realize the synchronous processing with the scaling process in the mobile terminal 100A.
< 结合显示区域进行缩放处理> < Scaling processing combined with display area >
由于移动终端100A对原图的显示与显示设备200对目标图片进行显示时,会根据不同的屏幕尺寸对图片进行缩放显示,而在实际应用中,只要移动终端100A将原图片缩放至与显示设备200缩放的程度相同以后,再执行缩放就会使得显示设备200需要局部显示图片,因此,在部分实施例中,还可以根据移动终端100A的屏幕尺寸和显示设备的屏幕尺寸综合对缩放过程进行判断,以确定缩放边界。即在建立图片投屏关系后,移动终端100A可以先对自身的屏幕状态和显示设备200的屏幕状态进行检测,并根据检测结果确定显示区域的缩放边界。因此,移动终端100A的处理单元330还可以被配置为执行以下程序步骤:Since the mobile terminal 100A displays the original image and the display device 200 displays the target image, the image will be zoomed and displayed according to different screen sizes, but in practical applications, as long as the mobile terminal 100A zooms the original image to the same size as the display device After the 200 has been zoomed to the same degree, performing the zooming will make the display device 200 need to display the picture locally. Therefore, in some embodiments, the zooming process can also be judged comprehensively according to the screen size of the mobile terminal 100A and the screen size of the display device. , to determine the zoom boundary. That is, after establishing the picture projection relationship, the mobile terminal 100A may first detect its own screen state and the screen state of the display device 200, and determine the zoom boundary of the display area according to the detection result. Therefore, the processing unit 330 of the mobile terminal 100A may also be configured to perform the following program steps:
获取显示区域宽高比。其中,所述显示区域宽高比包括显示单元310的显示区域宽高比和所述显示设备的显示区域宽高比。实际应用中,为了能够获取显示单元310的显示区域宽高比,处理单元330可以在实时检测移动终端100A的屏幕状态,以确定显示区域宽高比。由于界面UI的限制,屏幕上并非所有显示区域都用来显示图片,因此在本申请一些实施例中,显示区域是指界面中用于显示图片的区域。而显示区域宽高比则是指用于显示图片的区域的宽高比,见公式(1):Get the display area aspect ratio. The aspect ratio of the display area includes the aspect ratio of the display area of the display unit 310 and the aspect ratio of the display area of the display device. In practical applications, in order to obtain the aspect ratio of the display area of the display unit 310, the processing unit 330 may detect the screen state of the mobile terminal 100A in real time to determine the aspect ratio of the display area. Due to the limitation of the interface UI, not all display areas on the screen are used to display pictures. Therefore, in some embodiments of the present application, the display area refers to the area used to display pictures in the interface. The display area aspect ratio refers to the aspect ratio of the area used to display the picture, see formula (1):
wh_mobile=W_mobile/H_mobile       公式(1)wh_mobile=W_mobile/H_mobile Formula (1)
式中,wh_mobile为移动终端100A的显示区域宽高比;W_mobile为移动终端100A中图片显示区域宽度;H_mobile为移动终端100A中图片显示区域高度。In the formula, wh_mobile is the aspect ratio of the display area of the mobile terminal 100A; W_mobile is the width of the picture display area in the mobile terminal 100A; H_mobile is the height of the picture display area in the mobile terminal 100A.
显然,对于不同的放置状态,移动终端100A通常有不同形状的图片显示区域。处理单元330可以通过检测移动终端100A的放置状态,确定显示区域形状,进而计算出显示区域宽高比。例如,可以通过检测移动终端100A内置的重力传感器,确定当前移动终端100A是处于横向状态还是竖向状态。当移动终端100A处于横向状态时, 显示区域的宽度大于高度,即显示区域宽高比大于1;当移动终端100A处于竖向状态时,显示区域的高度大于宽度,即显示区域宽高比小于1。需要说明的是,所述显示区域宽高比的计算过程中,处理单元330可以通过显示区域的宽度和高度方向的实际物理尺寸计算,也可以通过显示区域的宽度和高度方向所占像素点数量计算,实际计算结果相同。Obviously, for different placement states, the mobile terminal 100A usually has picture display areas with different shapes. The processing unit 330 may determine the shape of the display area by detecting the placement state of the mobile terminal 100A, and then calculate the aspect ratio of the display area. For example, it can be determined whether the mobile terminal 100A is currently in a landscape state or a portrait state by detecting a gravity sensor built in the mobile terminal 100A. When the mobile terminal 100A is in the landscape state, the width of the display area is greater than the height, that is, the aspect ratio of the display area is greater than 1; when the mobile terminal 100A is in the portrait state, the height of the display area is greater than the width, that is, the aspect ratio of the display area is less than 1 . It should be noted that, in the process of calculating the aspect ratio of the display area, the processing unit 330 may calculate the actual physical size of the width and height of the display area, or calculate the number of pixels occupied by the width and height of the display area. calculation, the actual calculation result is the same.
显示设备200的显示区域宽高比则需要在移动终端100A与显示设备200建立通信连接关系后,从显示设备200中获取。例如,当需要确定显示区域宽高比时,处理单元330可以通过通信单元320向显示设备200发送获取指令。显示设备200的控制器250在接收到获取指令后,可以响应于该获取指令,并提取当前显示器275上显示区域的宽度和高度,从而将显示区域的宽度和高度数据反馈给移动终端100A。移动终端100A的处理单元330再根据反馈结果计算显示设备200的显示区域宽高比。其中,显示设备200的显示区域宽高比wh_tv的计算方式与移动终端100A的计算方式相同,不再赘述。The aspect ratio of the display area of the display device 200 needs to be acquired from the display device 200 after the mobile terminal 100A establishes a communication connection relationship with the display device 200 . For example, when the aspect ratio of the display area needs to be determined, the processing unit 330 may send an acquisition instruction to the display device 200 through the communication unit 320 . After receiving the acquisition instruction, the controller 250 of the display device 200 may respond to the acquisition instruction and extract the width and height of the display area currently on the display 275, thereby feeding back the width and height data of the display area to the mobile terminal 100A. The processing unit 330 of the mobile terminal 100A then calculates the aspect ratio of the display area of the display device 200 according to the feedback result. The calculation method of the display area aspect ratio wh_tv of the display device 200 is the same as the calculation method of the mobile terminal 100A, and will not be repeated.
同理,对于不同类型的显示设备200,其具有不同形状的显示区域。并且,对于部分可旋转显示器275的显示设备200,在不同旋转状态下也具有不同形状的显示区域,因此需要在实际应用中根据不同的旋转状态确定显示区域宽高比。例如,当显示设备200处于横屏状态时,显示区域宽高比wh_tv大于1;当显示设备200处于竖屏状态时,显示区域宽高比wh_tv小于1。Similarly, for different types of display devices 200, they have different shapes of display areas. In addition, for the display device 200 with a part of the rotatable display 275, there are display areas with different shapes in different rotation states, so it is necessary to determine the aspect ratio of the display area according to different rotation states in practical applications. For example, when the display device 200 is in a landscape state, the display area aspect ratio wh_tv is greater than 1; when the display device 200 is in a portrait state, the display area aspect ratio wh_tv is less than 1.
在获取显示区域宽高比以后,处理可以对比所述显示单元310的显示区域宽高比和所述显示设备的显示区域宽高比,以确定缩放边界。如果所述显示单元310的显示区域宽高比大于所述显示设备200的显示区域宽高比,确定显示单元310的左右两侧边为所述缩放边界。即,如果wh_tv<wh_mobile,则移动终端100A的缩放边界为显示单元310中显示区域的左右边界,即移动终端100A上的图片左右充满显示区域时,认为是原图大小,继续放大则开始向显示设备200发送放大指令;未到达左右边界时,则不发送放大命令(或者发送缩放指令,但缩放指令中的信息指示显示设备200维持原图状态)。After obtaining the display area aspect ratio, the process may compare the display area aspect ratio of the display unit 310 with the display area aspect ratio of the display device to determine the zoom boundary. If the aspect ratio of the display area of the display unit 310 is greater than the aspect ratio of the display area of the display device 200 , the left and right sides of the display unit 310 are determined as the scaling boundaries. That is, if wh_tv<wh_mobile, the zoom boundary of the mobile terminal 100A is the left and right boundaries of the display area in the display unit 310 , that is, when the picture on the mobile terminal 100A fills the display area on the left and right, it is considered to be the size of the original image, and if it continues to zoom in, it starts to display The device 200 sends a zoom-in command; when the left and right boundaries are not reached, no zoom-in command is sent (or a zoom command is sent, but the information in the zoom command instructs the display device 200 to maintain the original image state).
如果所述显示单元310的显示区域宽高比小于所述显示设备的显示区域宽高比,确定所述显示单元310的上下两侧边为所述缩放边界。即,如果wh_tv>wh_mobile,则移动终端100A的缩放边界为显示区域的上下边界,即移动终端100A上的图片上下充满显示区域时,认为是原图大小,继续放大则开始向显示设备200发送放大指令;未到达起始边界时,不发送放大命令。If the aspect ratio of the display area of the display unit 310 is smaller than the aspect ratio of the display area of the display device, determine that the upper and lower sides of the display unit 310 are the scaling boundaries. That is, if wh_tv>wh_mobile, the zoom boundary of the mobile terminal 100A is the upper and lower boundaries of the display area, that is, when the picture on the mobile terminal 100A fills the display area up and down, it is considered to be the size of the original image, and if it continues to zoom in, it starts to send the zoom to the display device 200 command; when the start boundary is not reached, no zoom command is sent.
可见,在本申请一些实施例中,通过对比显示单元310的显示区域宽高比和显示设备200的显示区域宽高比,可以确定缩放边界,并根据缩放边界控制向显示设备200发送缩放指令。通过显示区域宽高比,可以适应多种类型的移动终端100A和显示设备200的屏幕,缓解因屏幕尺寸差异造成的显示效果差别过大的问题。It can be seen that, in some embodiments of the present application, by comparing the aspect ratio of the display area of the display unit 310 with the aspect ratio of the display area of the display device 200 , a scaling boundary can be determined, and a scaling instruction can be sent to the display device 200 according to the scaling boundary control. The aspect ratio of the display area can be adapted to various types of screens of the mobile terminal 100A and the display device 200 , thereby alleviating the problem of excessively different display effects caused by differences in screen sizes.
在确定缩放边界以后,移动终端100A的处理单元330将会在确定显示图片超出缩放边界时,自动向显示设备200发送缩放指令。由于发送的缩放指令中包括显示位置和缩放比例,但因为移动终端100A与显示设备200之间的屏幕尺寸差异,导致在移动终端100A中输入缩放命令时对应的缩放位置不能直接发送给显示设备200,而需要经过一定的转换,将缩放位置对应转化成图片上的特定区域,再发送给显示设备200, 使显示设备200能够按照显示位置进行缩放,缓解显示错位的问题。After determining the zoom boundary, the processing unit 330 of the mobile terminal 100A will automatically send a zoom instruction to the display device 200 when it is determined that the displayed picture exceeds the zoom boundary. Since the sent zoom command includes the display position and the zoom ratio, but because of the difference in screen size between the mobile terminal 100A and the display device 200 , the corresponding zoom position cannot be directly sent to the display device 200 when the zoom command is input in the mobile terminal 100A , and needs to undergo certain conversion to convert the zoom position into a specific area on the picture, and then send it to the display device 200, so that the display device 200 can zoom in and out according to the display position, so as to alleviate the problem of display misalignment.
为此,移动终端100A的处理单元330还需要在发送缩放指令之前,计算显示位置和缩放比例。在一些实施例中,显示位置可以按照下式完成计算,见公式(2)(3):To this end, the processing unit 330 of the mobile terminal 100A also needs to calculate the display position and the zoom ratio before sending the zoom command. In some embodiments, the display position can be calculated according to the following formula, see formula (2) (3):
Ox=(W/2-(X0-X1))/W×Px   公式(2);Ox=(W/2-(X0-X1))/W×Px Formula (2);
Oy=(H/2-(Y0-Y1))/W×Py   公式(3);Oy=(H/2-(Y0-Y1))/W×Py Formula (3);
式中,(Ox,Oy)为所述显示位置的坐标;W为缩放后图片的宽度;H为缩放后图片的高度;(X0,Y0)显示区域中心点坐标;(X1,Y1)为缩放后图片中心点坐标;Px为图片宽度方向像素值;Py为图片高度方向像素值。In the formula, (Ox, Oy) is the coordinate of the described display position; W is the width of the picture after scaling; H is the height of the picture after scaling; (X0, Y0) The coordinates of the center point of the display area; (X1, Y1) are the scaling The coordinates of the center point of the rear image; Px is the pixel value in the width direction of the image; Py is the pixel value in the height direction of the image.
在一些实施例中,缩放比例可以按照下式完成计算,见公式(4)(5):In some embodiments, the scaling ratio can be calculated according to the following formula, see formula (4) (5):
Scale=H1/H0   公式(4);Scale=H1/H0 Formula (4);
或者,Scale=W1/W0   公式(5);Or, Scale=W1/W0 Formula (5);
式中,Scale为缩放比例;H0为显示区域高度;H1为缩放后图片高度;W0为显示区域宽度;W1为缩放后图片宽度。In the formula, Scale is the scaling ratio; H0 is the height of the display area; H1 is the height of the image after scaling; W0 is the width of the display area; W1 is the width of the image after scaling.
在一些实施例中,图10为根据本申请一个或多个实施例的显示位置计算原理图,如图10所示,图中手机显示区域中心点(X0,Y0),如果原图片的显示分辨率为1920×1080,缩放位置在放大后图片的从左至右40%处,从上到下40%处,对应像素点(1920×40%),(1080×40%),即(768,432)。则发送给显示设备的信息为,图片显示位置为(768,432),放大2倍。设定要发给显示设备的显示位置为(Ox,Oy),缩放比例为Scale,则以wh_tv>wh_mobile的情况为例,此时移动终端100A的缩放边界为上下边界。在屏幕任何参考坐标系下(横向为x,竖向为y),对于移动终端100A来说A/B/C/D/E/F点的坐标是可以直接获取到的,并且图片宽高像素Px,Py也是已知的,则缩放比例,见公式(6):In some embodiments, FIG. 10 is a schematic diagram of display position calculation according to one or more embodiments of the present application. As shown in FIG. 10 , the center point (X0, Y0) of the display area of the mobile phone in the figure, if the display resolution of the original image The ratio is 1920×1080, and the zoom position is 40% from left to right and 40% from top to bottom of the enlarged image, corresponding to pixels (1920×40%), (1080×40%), namely (768, 432). Then the information sent to the display device is, the picture display position is (768, 432), and the magnification is 2 times. Set the display position to be sent to the display device as (Ox, Oy) and the scaling ratio as Scale, taking the case of wh_tv>wh_mobile as an example, the scaling boundary of the mobile terminal 100A is the upper and lower boundaries. In any reference coordinate system of the screen (x in the horizontal direction, y in the vertical direction), for the mobile terminal 100A, the coordinates of the A/B/C/D/E/F points can be directly obtained, and the picture width and height pixels Px, Py are also known, then the scaling ratio, see formula (6):
Scale=(Cy-Ay)/(Fy-Dy)     公式(6);Scale=(Cy-Ay)/(Fy-Dy) Formula (6);
其中,Cy、Ay、Fy、Dy分别表示C、A、F、D的y轴坐标值,即显示区域高度H0=Cy-Ay;缩放后图片高度H1=Fy-Dy。并且,分别计算显示区域中心点G(X0,Y0)的坐标,以及缩放后图片中心点H(X1,Y1)的坐标,见公式(7)(8):Among them, Cy, Ay, Fy, Dy represent the y-axis coordinate values of C, A, F, and D respectively, that is, the height of the display area H0=Cy-Ay; the height of the image after scaling H1=Fy-Dy. And, calculate the coordinates of the center point G(X0, Y0) of the display area and the coordinates of the center point H(X1, Y1) of the zoomed image respectively, see formulas (7) (8):
X0=Gx=(Dx+Ex)/2;Y0=Gy=(Dy+Ey)/2;    公式(7)X0=Gx=(Dx+Ex)/2; Y0=Gy=(Dy+Ey)/2; Formula (7)
X1=Hx=(Ax+Bx)/2;Y1=Hy=(Ay+By)/2     公式(8)X1=Hx=(Ax+Bx)/2; Y1=Hy=(Ay+By)/2 Formula (8)
因此,放大后图片大小:H=AC=Cy-Ay;W=AB=Bx-Ax。Therefore, the enlarged picture size: H=AC=Cy-Ay; W=AB=Bx-Ax.
则,下式中的Hx-Gx和Hy-Gy为放大后图片中心点较原图中心点在x轴及y轴方向上的移动距离,见公式(9)(10):Then, Hx-Gx and Hy-Gy in the following formula are the moving distances of the center point of the enlarged image in the x-axis and y-axis directions compared with the center point of the original image, see formula (9) (10):
Ox=(AB/2-(Hx-Gx))/AB×Px    公式(9)Ox=(AB/2-(Hx-Gx))/AB×Px Formula (9)
Oy=(AC/2-(Hy-Gy))/AC×Py    公式(10)Oy=(AC/2-(Hy-Gy))/AC×Py Formula (10)
综上,移动终端100A在计算获得显示位置和缩放比例后,可以将计算得到的(Ox,Oy)和Scale通过数据传输通道传递给显示设备200,以使显示设备200能够根据传递的显示位置和缩放比例对显示的图片进行移动和缩放。To sum up, after the mobile terminal 100A calculates and obtains the display position and the scaling ratio, it can transmit the calculated (Ox, Oy) and Scale to the display device 200 through the data transmission channel, so that the display device 200 can perform the calculation according to the transmitted display position and scale. The zoom ratio moves and zooms the displayed picture.
< 先图片移动、再缩放> < Picture moves first, then zooms >
在一些实施例中,为了适应显示设备200的显示器275屏幕形式,显示设备200需要先对所显示的图片进行移动,使图片处于合适的位置,再执行缩放,从而使用户缩放的区域处于显示器275的合适范围内,因此按照所述显示位置移动目标图片的位 置的步骤还包括以下步骤:In some embodiments, in order to adapt to the screen form of the display 275 of the display device 200 , the display device 200 needs to move the displayed picture so that the picture is in an appropriate position, and then perform zooming, so that the area zoomed by the user is on the display 275 Therefore, the step of moving the position of the target image according to the display position further includes the following steps:
将所述目标图片移动至默认位置;遍历所述目标图片中与所述显示位置相对应的像素点;移动所述目标图片,以将所述像素点设置为与所述显示器的中心点重合。显示设备200在接收到缩放指令后,可以通过控制器250响应于缩放指令,对缩放指令中的显示位置和缩放比例进行提取,并执行相关显示控制程序,先将图片先复位到默认显示位置、然后将图片的(Ox,Oy)像素点位置移动到屏幕中心,再以屏幕中心将图片缩放Scale倍。其中,默认位置可以是根据上一次移动或缩放过程所确定的初始显示位置,也可以是显示设备200中UI界面上的指定位置。通过将图片移动至默认位置,可以便于识别图片中缩放位置对应的区域,从而有利于实现同步缩放。moving the target picture to a default position; traversing the pixel points corresponding to the display position in the target picture; moving the target picture to set the pixel points to coincide with the center point of the display. After receiving the zoom instruction, the display device 200 can respond to the zoom instruction through the controller 250, extract the display position and zoom ratio in the zoom instruction, and execute the relevant display control program, first reset the picture to the default display position, Then move the (Ox, Oy) pixel position of the picture to the center of the screen, and then scale the picture by Scale times from the center of the screen. The default position may be an initial display position determined according to the last moving or zooming process, or may be a designated position on the UI interface in the display device 200 . By moving the picture to the default position, the area corresponding to the zoomed position in the picture can be easily identified, thereby facilitating synchronous zooming.
随着显示设备200上执行的缩放过程,显示器275中所呈现的图片会根据缩放指令调整大小,而在部分情况下,放大后的图片可能有部分边超出显示区域,则为了获得更好的显示效果。在一些实施例中,图11为根据本申请一个或多个实施例的显示设备向边界调整图片位置效果示意图,图12为根据本申请一个或多个实施例的显示设备居中调整图片位置效果示意图,如图11、图12所示,以所述显示位置为基准,按照所述缩放比例对所述目标图片执行缩放的步骤还包括:检测执行缩放后的目标图片边界;判断所述目标图片边界是否超出所述显示器的显示区域边界;如果所述目标图片边界超出所述显示器的显示区域边界,移动缩放后的目标图片位置,以使所述目标图片边界与显示区域边界重合;如果所述目标图片边界未超出所述显示器的显示区域边界,移动所述目标图片位置,使在所述目标图片居中显示。图13为根据本申请一个或多个实施例的图片未超出显示区域边界时的同步缩放效果示意图;图14为根据本申请一个或多个实施例的图片超出显示区域边界时的同步缩放效果示意图,如图13、图14所示,显示设备200在执行对图片的缩放后,可以对目标图片的边界进行检测,以判断目标图片边界是否超出显示区域边界。如果此时显示设备200的显示区域在某一个或两个边界上可以超出显示区域,则将边界调整为恰好在显示边界位置,以显示更大的图片内容。如果放大后的图片两边都没有到达边界,则自动将图片移动到中间位置进行显示。With the zooming process performed on the display device 200, the picture displayed on the display 275 will be resized according to the zooming instruction. In some cases, the enlarged picture may have some edges beyond the display area. In order to obtain a better display Effect. In some embodiments, FIG. 11 is a schematic diagram illustrating the effect of adjusting the position of a picture toward the border by a display device according to one or more embodiments of the present application, and FIG. 12 is a schematic diagram illustrating the effect of adjusting the position of a picture in the center of the display device according to one or more embodiments of the present application. 11 and 12, the step of performing scaling on the target picture according to the scaling ratio based on the display position further includes: detecting the target picture boundary after performing the scaling; judging the target picture boundary Whether it exceeds the display area boundary of the display; if the target picture boundary exceeds the display area boundary of the display, move the zoomed target picture position to make the target picture boundary coincide with the display area boundary; if the target The picture boundary does not exceed the display area boundary of the display, and the position of the target picture is moved so that the target picture is displayed in the center. FIG. 13 is a schematic diagram of a synchronous zoom effect when a picture does not exceed the border of the display area according to one or more embodiments of the present application; FIG. 14 is a schematic diagram of a synchronized zoom effect when a picture exceeds the border of the display area according to one or more embodiments of the present application 13 and 14 , after the display device 200 performs zooming on the picture, it can detect the boundary of the target picture to determine whether the boundary of the target picture exceeds the boundary of the display area. If the display area of the display device 200 can exceed the display area on one or two boundaries at this time, the boundary is adjusted to be exactly at the position of the display boundary to display larger picture content. If the enlarged picture does not reach the border on both sides, it will automatically move the picture to the middle position for display.
由以上实施例可知,移动终端100A和显示设备200可以在wh_tv>wh_mobile的情况下的同步映射缩放。整个同步缩放的过程中以显示位置确定移动终端100A和显示设备200中所显示图片之间的关联关系,将用户在移动终端100A上指定的缩放位置映射到显示设备200中,从而按照对应的缩放比例执行缩放后,完成对显示设备200中所显示图片的缩放。不仅实现了同步缩放,而且可以适应移动终端100A与显示设备200之间的屏幕形式差异,缓解显示错位的问题。It can be known from the above embodiments that the mobile terminal 100A and the display device 200 can be synchronously mapped and scaled in the case of wh_tv>wh_mobile. During the entire process of synchronous zooming, the display position is used to determine the association between the pictures displayed in the mobile terminal 100A and the display device 200, and the zoom position specified by the user on the mobile terminal 100A is mapped to the display device 200, so as to scale according to the corresponding zoom position. After the scaling is performed, the scaling of the picture displayed in the display device 200 is completed. It not only realizes synchronous scaling, but also can adapt to the difference in screen form between the mobile terminal 100A and the display device 200, so as to alleviate the problem of display misalignment.
需要说明的是,移动终端100A可以在用户操作的整个放大过程中进行采样,并在整缩放过程进行多次计算和发送缩放指令,以达到顺滑的操作效果。上述实施例中所采用的方法在wh_tv>wh_mobile时同样适用于竖向图片的显示过程中。而如果wh_tv<wh_mobile,即在显示设备200为竖屏模式或者移动终端100A为横向状态,此时同步缩放方法在移动终端100A选择放大边界时,应以显示区域的左右边界为依据,其余计算原理相同,不再赘述。It should be noted that the mobile terminal 100A may perform sampling during the entire zooming process of the user's operation, and perform multiple calculations and send zooming instructions during the entire zooming process, so as to achieve a smooth operation effect. The method adopted in the above embodiment is also applicable to the display process of the vertical picture when wh_tv>wh_mobile. However, if wh_tv<wh_mobile, that is, when the display device 200 is in the vertical screen mode or the mobile terminal 100A is in the horizontal state, the synchronous scaling method should be based on the left and right boundaries of the display area when the mobile terminal 100A selects the enlargement boundary, and the rest of the calculation principles are the same and will not be repeated here.
移动终端100A和显示设备200之间还可以采用图片投屏的方式完成同步显示。即在一些实施例中,移动终端100A可以通过建立的通信连接将所显示的内容直接发 送给显示设备200,显示设备200直接对投屏内容进行显示。此时,当用户输入缩放动作指令时,由于移动终端100A上显示的内容随着缩放动作指令改变,因此发送给显示设备200的投屏画面也发生改变,实现同步缩放的效果。The synchronous display between the mobile terminal 100A and the display device 200 may also be completed by means of screen projection. That is, in some embodiments, the mobile terminal 100A may directly send the displayed content to the display device 200 through the established communication connection, and the display device 200 directly displays the screencast content. At this time, when the user inputs the zoom action instruction, since the content displayed on the mobile terminal 100A changes with the zoom action instruction, the screen projection image sent to the display device 200 also changes, realizing the effect of synchronous zooming.
为了实现移动终端100A与显示设备200之间的图片同步缩放,在本申请的部分实施例中还提供一种图片同步缩放方法,包括以下步骤:In order to realize the synchronous scaling of pictures between the mobile terminal 100A and the display device 200, a method for synchronous scaling of pictures is also provided in some embodiments of the present application, including the following steps:
接收由所述移动终端100A发送的缩放指令。与上述实施例相同,在执行图片同步缩放方法前,移动终端100A先要与显示设备200建立通信连接关系,并且在建立通信连接后向显示设备200发送缩放指令。显示设备200可以通过通信器接收缩放指令。A zoom instruction sent by the mobile terminal 100A is received. Similar to the above embodiment, before executing the picture synchronous scaling method, the mobile terminal 100A first establishes a communication connection relationship with the display device 200, and sends a scaling instruction to the display device 200 after the communication connection is established. The display device 200 may receive the scaling instruction through the communicator.
响应于所述缩放指令,在所述显示器的预设显示区域内显示目标图片。图15为根据本申请一个或多个实施例的预设显示区域示意图,图16为根据本申请一个或多个实施例的在预设显示区域内缩放目标图片效果示意图,如图15、图16所示,显示设备200在接收到缩放指令后,可以根据缩放指令在显示器275上构建预设显示区域,所述预设显示区域覆盖所述移动终端100A中的全部显示区域。例如,用户在移动终端100A上执行放大命令后,显示设备200可以构建一个足以覆盖移动终端100A的预设显示区域,使图片在预设显示区域内进行显示。In response to the zoom instruction, a target picture is displayed in a preset display area of the display. FIG. 15 is a schematic diagram of a preset display area according to one or more embodiments of the present application, and FIG. 16 is a schematic diagram of an effect of zooming a target image in the preset display area according to one or more embodiments of the present application, as shown in FIGS. 15 and 16 . As shown, after receiving the zoom instruction, the display device 200 can construct a preset display area on the display 275 according to the zoom instruction, and the preset display area covers the entire display area in the mobile terminal 100A. For example, after the user executes the zoom-in command on the mobile terminal 100A, the display device 200 may construct a preset display area sufficient to cover the mobile terminal 100A, so that the picture is displayed in the preset display area.
预设显示区域可以在边界形式上与移动终端100A中的显示区域保持一致,当显示的内容相同时,各区域内显示内容在显示区域中的位置也保持一致,从而可以将移动终端100A上执行的缩放命令直接传递给显示设备200。即显示设备200可以按照所述缩放指令,对所述目标图片执行同步缩放。The preset display area can be consistent with the display area in the mobile terminal 100A in the form of boundaries, and when the displayed contents are the same, the positions of the displayed contents in each area in the display area are also consistent, so that the execution of the mobile terminal 100A can be performed. The zoom command is directly passed to the display device 200 . That is, the display device 200 may perform synchronous scaling on the target picture according to the scaling instruction.
由于在本申请一些实施例中,通过在显示设备200中构建覆盖移动终端100A中的全部显示区域的预设显示区域,因此可以保留图片在移动终端100A中的显示位置关系,从而可以直接将缩放位置和缩放比例应用在缩放指令中,使显示设备200可以直接按照缩放位置和缩放比例执行缩放动作,避免显示错位的问题。Because in some embodiments of the present application, by constructing a preset display area covering all display areas in the mobile terminal 100A in the display device 200, the display position relationship of the picture in the mobile terminal 100A can be preserved, so that the zooming can be directly adjusted. The position and scaling ratio are applied in the scaling instruction, so that the display device 200 can directly perform the scaling action according to the scaling position and scaling ratio, thereby avoiding the problem of display misalignment.
基于上述图片同步缩放方法,本申请的部分实施例中还提供一种显示设备200,包括显示器275、通信器220和控制器250。其中,所述显示器275被配置为显示目标图片,所述通信器220被配置为与移动终端100A建立通信连接;所述控制器250被配置为执行以下程序步骤:Based on the above picture synchronization scaling method, some embodiments of the present application further provide a display device 200 including a display 275 , a communicator 220 and a controller 250 . Wherein, the display 275 is configured to display the target picture, the communicator 220 is configured to establish a communication connection with the mobile terminal 100A; the controller 250 is configured to execute the following program steps:
接收由所述移动终端100A发送的缩放指令;响应于所述缩放指令,在所述显示器的预设显示区域内显示目标图片,所述预设显示区域覆盖所述移动终端100A中的全部显示区域;按照所述缩放指令,对所述目标图片执行同步缩放。由于移动终端100A和显示设备的屏幕整体尺寸存在着较大的差异,因此用户在移动终端100A上输入的缩放命令在直接应用于显示设备200时会造成数据偏差。例如,用户在手机上输入双指相互分离的触控动作,以输入缩放命令。由于手指长度和手机屏幕的限制,相互分离的距离一般在1-10cm,由于显示设备200所显示的图片实际尺寸要大,因此这1-10cm的分离距离在移动终端100A和显示设备200上对应的缩放比例不同,因此容易破坏图片缩放过程的同步性。Receive a zoom instruction sent by the mobile terminal 100A; in response to the zoom instruction, display a target image in a preset display area of the display, and the preset display area covers the entire display area in the mobile terminal 100A ; According to the scaling instruction, perform synchronous scaling on the target picture. Since the overall screen sizes of the mobile terminal 100A and the display device are quite different, the zoom command input by the user on the mobile terminal 100A may cause data deviation when directly applied to the display device 200 . For example, a user enters a two-finger touch gesture separated from each other on a mobile phone to enter a zoom command. Due to the limitation of the finger length and the screen of the mobile phone, the separation distance is generally 1-10cm. Since the actual size of the picture displayed by the display device 200 is larger, the separation distance of 1-10cm corresponds to the mobile terminal 100A and the display device 200 . The scaling ratios are different, so it is easy to break the synchronization of the picture scaling process.
为此,在本申请的部分实施例中,移动终端100A在将缩放指令发送给显示设备200之前,还可以执行以下步骤:To this end, in some embodiments of the present application, before sending the zoom instruction to the display device 200, the mobile terminal 100A may further perform the following steps:
接收用户输入的缩放命令。本实施例中,移动终端100A可以按照上述实施例中 的方式接收用户输入的缩放命令。同理,缩放命令中可以包括缩放位置和缩放比例,并支持不同的方式完成缩放命令的输入。响应于所述缩放命令,计算调整位移和调整中心点。在接收到用户输入的缩放命令以后,移动终端100A可以根据缩放命令计算调整位移和调整中心点。其中,调整距离用于指示缩放比例,可以是指根据用户输入的缩放命令中所确定的控制动作中的距离,例如双指的分离距离。调整重心点则是用于标记缩放位置的点,例如,双指触摸点连线的中点。Receives zoom commands entered by the user. In this embodiment, the mobile terminal 100A can receive the zoom command input by the user in the manner in the above-mentioned embodiment. Similarly, the zoom command can include the zoom position and the zoom ratio, and supports different ways to complete the input of the zoom command. In response to the zoom command, an adjustment displacement and an adjustment center point are calculated. After receiving the zoom command input by the user, the mobile terminal 100A may calculate the adjustment displacement and adjust the center point according to the zoom command. The adjustment distance is used to indicate the zoom ratio, and may refer to the distance in the control action determined according to the zoom command input by the user, such as the separation distance of two fingers. The adjustment center of gravity point is the point used to mark the zoom position, for example, the midpoint of the line connecting the two-finger touch points.
需要说明的是,在实际应用中,为了实现对图片查看过程的同步控制,在显示图片时用户除输入缩放命令外,还可能输入移动命令,例如通过滑动触控的方式显示图片中的局部内容。对于这种移动命令,移动终端100A可以向显示设备200发送移动位置点和移动距离,以使显示设备200对图片进行同步移动。It should be noted that, in practical applications, in order to realize the synchronous control of the picture viewing process, the user may input a movement command in addition to the zoom command when displaying the picture, such as displaying partial content in the picture by sliding touch. . For such a movement command, the mobile terminal 100A may send the movement position point and the movement distance to the display device 200, so that the display device 200 can move the picture synchronously.
按照所述调整位移和调整中心点,对所显示的原图片执行缩放。在计算调整位移和调整中心点后,移动终端100A一方面可以按照调整中心点确定缩放位置,另一方面按照调整位移确定缩放比例,对所显示的原图片执行缩放。同时,移动终端100A还根据调整位移或调整中心点向显示设备200发送缩放指令,所述缩放指令包括调整位移或调整中心点。Perform scaling of the displayed original image by adjusting the displacement and adjusting the center point as described. After calculating the adjustment displacement and the adjustment center point, the mobile terminal 100A can determine the zoom position according to the adjustment center point on the one hand, and determine the zoom ratio according to the adjustment displacement on the other hand, and perform zooming on the displayed original picture. At the same time, the mobile terminal 100A also sends a zoom instruction to the display device 200 according to the adjustment displacement or the center point adjustment, where the zoom instruction includes adjusting the displacement or adjusting the center point.
基于上述方法,在一些实施例中还提供一种移动终端100A,包括显示单元310、通信单元320和处理单元330。其中,所述显示单元310被配置为显示原图片;所述通信单元320被配置为与显示设备建立通信连接;所述处理单元330被配置为执行以下程序步骤:Based on the above method, in some embodiments, a mobile terminal 100A is also provided, which includes a display unit 310 , a communication unit 320 and a processing unit 330 . Wherein, the display unit 310 is configured to display the original picture; the communication unit 320 is configured to establish a communication connection with the display device; the processing unit 330 is configured to execute the following program steps:
接收用户输入的缩放命令;响应于所述缩放命令,计算调整位移和调整中心点;按照所述调整位移和调整中心点,对所显示的原图片执行缩放;向显示设备发送缩放指令,所述缩放指令包括调整位移或调整中心点。由于移动终端100A与显示设备200之间的屏幕尺寸差异,在将缩放指令发送给显示设备200后,显示设备200还可以按照缩放指令中的调整位移或者调整中心点调整缩放参数,从而对图片执行缩放。Receive a zoom command input by the user; in response to the zoom command, calculate the adjustment displacement and adjust the center point; perform zooming on the displayed original picture according to the adjustment displacement and adjustment center point; send a zoom instruction to the display device, the Scaling commands include adjusting the displacement or adjusting the center point. Due to the difference in screen size between the mobile terminal 100A and the display device 200, after the zoom instruction is sent to the display device 200, the display device 200 can also adjust the zoom parameter according to the adjustment displacement or the center point in the zoom instruction, so as to perform the operation on the picture. zoom.
在一些实施例中,按照所述缩放指令,对所述目标图片执行同步缩放的步骤还包括:解析所述缩放指令,以获得调整位移;根据所述移动终端100A中显示区域与所述预设显示区域的比例关系,将所述调整位移等比例转化为缩放尺寸;按照所述缩放尺寸对所述预设显示区域内的图片执行缩放。In some embodiments, according to the scaling instruction, the step of performing synchronous scaling on the target picture further includes: parsing the scaling instruction to obtain an adjustment displacement; according to the display area in the mobile terminal 100A and the preset The proportional relationship of the display area is to convert the adjusted displacement into a scaled size; and the picture in the preset display area is scaled according to the scaled size.
本实施例中,控制器250在接收到缩放指令后,可以先对缩放指令进行解析,从而获得调整位移,再根据移动终端100A与显示设备200中显示区域的比例关系,将调整位移转化为缩放尺寸,从而按照缩放尺寸对预设显示区域内的图片执行缩放。In this embodiment, after receiving the scaling instruction, the controller 250 may first parse the scaling instruction to obtain the adjustment displacement, and then convert the adjustment displacement into scaling according to the proportional relationship between the mobile terminal 100A and the display area in the display device 200 size, so as to perform scaling on the picture in the preset display area according to the scaling size.
例如,当显示设备200的显示器275屏幕尺寸(按像素计)是移动终端100A显示单元310屏幕尺寸(按像素计)的5倍时,在缩放指令中解析出的缩放尺寸为L0,则将缩放尺寸等比例转化为5×L0,即可以获得缩放尺寸。For example, when the screen size (in pixels) of the display 275 of the display device 200 is 5 times the screen size (in pixels) of the display unit 310 of the mobile terminal 100A, the zoom size parsed in the zoom instruction is L0, then the zoom The scale is converted into 5×L0, and the scaled size can be obtained.
在一些实施例中,对所述目标图片执行同步缩放的步骤还包括:解析所述缩放指令,以获得调整中心点;定位目标图片的中心点;移动所述目标图片,以使所述目标图片中心点与所述调整中心点重合;以所述目标图片中心点为基准,对所述预设显示区域中的图片执行缩放。为了在显示设备200上确定图片进行缩放的位置,控制器250在获取缩放指令以后,可以对缩放指令进行解析,从而获得调整中心点,同时定位所显示目标图像的中心点,并移动目标图片以使目标图片中心点与调整中心点重合,即 使被缩放的位置处于显示器275的中部区域,再以目标图片中心点为基准,对预设显示区域中的图片执行缩放。In some embodiments, the step of performing synchronous scaling on the target picture further includes: parsing the scaling instruction to obtain an adjustment center point; locating the center point of the target picture; moving the target picture to make the target picture The center point coincides with the adjustment center point; and based on the center point of the target image, zooming is performed on the image in the preset display area. In order to determine the zooming position of the picture on the display device 200, after the controller 250 obtains the zooming instruction, it can parse the zooming instruction to obtain the adjustment center point, locate the center point of the displayed target image, and move the target image to Make the center point of the target image coincide with the adjustment center point, even if the zoomed position is in the middle area of the display 275, and then use the center point of the target image as a reference to perform zooming on the image in the preset display area.
可见,在上述实施例中,显示设备200可以分别根据调整位移和调整中心点,确定显示设备200所显示图像的缩放比例和缩放位移,从而将移动终端100A接收到的缩放命令转化为适应于显示设备200的缩放指令,以适应移动终端100A和显示设备200之间的屏幕尺寸差异。It can be seen that, in the above embodiment, the display device 200 can determine the scaling ratio and the scaling displacement of the image displayed by the display device 200 according to the adjustment displacement and the adjustment center point respectively, so as to convert the zoom command received by the mobile terminal 100A into an image suitable for display A scaling instruction of the device 200 to accommodate the difference in screen size between the mobile terminal 100A and the display device 200 .
由以上技术方案可知,上述实施例提供的图片同步缩放方法可以在移动终端100A在接收到缩放命令后,可以根据缩放命令计算调整位移和调整中心点,以便对原图片进行缩放。同时,移动终端100A还向显示设备发送缩放指令,以使显示设备在覆盖移动终端100A全部显示区域的预设显示区域中对目标图片进行同步缩放。所述方法通过在显示设备中构建覆盖移动终端100A全部显示区域的预设显示区域,实现将移动终端100A上执行缩放命令同步转换至显示设备,实现对图片的同步缩放,缓解显示错位的问题。As can be seen from the above technical solutions, the picture synchronous scaling method provided by the above embodiments can, after receiving the scaling command, the mobile terminal 100A can calculate the adjustment displacement and adjust the center point according to the scaling command, so as to scale the original picture. At the same time, the mobile terminal 100A also sends a zoom instruction to the display device, so that the display device synchronously zooms the target picture in the preset display area covering the entire display area of the mobile terminal 100A. By constructing a preset display area covering the entire display area of the mobile terminal 100A in the display device, the method realizes the synchronous conversion of the zoom command executed on the mobile terminal 100A to the display device, realizes the synchronous zooming of the picture, and alleviates the problem of display misalignment.
为了实现移动终端100A与显示设备200之间的图片同步缩放,在本申请的部分实施例中还提供一种图片同步缩放方法,包括以下步骤:移动终端100A接收用户输入的缩放命令;所述移动终端100A根据所述缩放命令计算基准点和调节参量,所述调节参量为所述移动终端100A根据用户输入计算获得的移动距离和/或缩放比例;所述移动终端100A按照所述基准点和调节参量,对所显示的原图片执行缩放以及向显示设备200发送缩放指令,所述缩放指令包括所述基准点和调节参量;所述显示设备200响应于所述缩放指令,获取目标图片的当前显示状态;所述显示设备200按照所述基准点和所述调节参量,在所述当前显示状态的基础上对所述目标图片执行缩放。In order to realize the synchronous scaling of pictures between the mobile terminal 100A and the display device 200, some embodiments of the present application also provide a synchronous picture scaling method, including the following steps: the mobile terminal 100A receives a scaling command input by a user; The terminal 100A calculates the reference point and the adjustment parameter according to the zoom command, and the adjustment parameter is the moving distance and/or the zoom ratio calculated and obtained by the mobile terminal 100A according to the user input; the mobile terminal 100A calculates the reference point and the adjustment parameter according to the parameters, perform scaling on the displayed original picture and send a scaling instruction to the display device 200, where the scaling instruction includes the reference point and the adjustment parameter; the display device 200, in response to the scaling instruction, obtains the current display of the target picture state; the display device 200 scales the target picture on the basis of the current display state according to the reference point and the adjustment parameter.
与上述实施例的区别在于,在本申请一些实施例中,移动终端100A直接向显示设备200发送基准点和调节参数,显示设备200则可以根据基准点和调节参数对当前显示的图片执行缩放。即,将移动终端100A上的操作复刻到显示设备200上,移动终端100A可以向显示设备200发送缩放指令,缩放指令代表移动终端100A当前显示基础上的调整参数量,即基于当前显示状态移动图片的参数量,和/或基于基准点的图片缩放量。The difference from the above embodiments is that in some embodiments of the present application, the mobile terminal 100A directly sends the reference point and adjustment parameters to the display device 200 , and the display device 200 can scale the currently displayed picture according to the reference point and the adjustment parameters. That is, the operation on the mobile terminal 100A is copied to the display device 200, and the mobile terminal 100A can send a zoom command to the display device 200, and the zoom command represents the adjustment parameter amount based on the current display of the mobile terminal 100A, that is, the movement based on the current display state The parameter amount of the image, and/or the amount of image scaling based on the fiducial point.
基于此,如果移动终端100A和显示设备200最初的图片显示效果是对应的,则在每一步对上一个状态操作结果也是对应的,按照递推归纳,则以后的每一个操作的结果两者也是对应的。即在本申请一些实施例中,让移动终端100A和显示设备200对应同步缩放的充分信息为:如果移动终端100A中对图片执行的操作是移动,则向显示设备200通知其向哪个方向移动了多少距离;如果移动终端100A中对图片执行的操作是缩放,则向显示设备200通知其基于哪个点,缩放了多少倍。Based on this, if the initial picture display effects of the mobile terminal 100A and the display device 200 are corresponding, the result of the previous state operation at each step is also corresponding. According to the recursive induction, the results of each subsequent operation are both corresponding. That is, in some embodiments of the present application, sufficient information for the mobile terminal 100A and the display device 200 to correspond to synchronous scaling is: if the operation performed on the picture in the mobile terminal 100A is to move, the display device 200 is notified in which direction it has moved. How much distance; if the operation performed on the picture in the mobile terminal 100A is zooming, the display device 200 is notified based on which point and how many times it is zoomed.
基于上述图片同步缩放方法,本申请的部分实施例中一种显示设备200,包括显示器275、通信器220和控制器250。其中,所述显示器275被配置为显示目标图片,所述通信器220被配置为与移动终端100A建立通信连接;所述控制器250被配置为执行以下程序步骤:Based on the above picture synchronization scaling method, a display device 200 in some embodiments of the present application includes a display 275 , a communicator 220 and a controller 250 . Wherein, the display 275 is configured to display the target picture, the communicator 220 is configured to establish a communication connection with the mobile terminal 100A; the controller 250 is configured to execute the following program steps:
接收由所述移动终端100A发送的缩放指令;所述缩放指令包括基准点和调节参量,所述调节参量为所述移动终端100A根据用户输入计算获得的移动距离和/或缩放比例;响应于所述缩放指令,获取目标图片的当前显示状态;按照所述基准点和所述 调节参量,在所述当前显示状态的基础上对所述目标图片执行缩放。Receive a zoom instruction sent by the mobile terminal 100A; the zoom instruction includes a reference point and an adjustment parameter, and the adjustment parameter is the moving distance and/or zoom ratio calculated and obtained by the mobile terminal 100A according to the user input; in response to the The zoom instruction is used to obtain the current display state of the target picture; and according to the reference point and the adjustment parameter, the target picture is zoomed on the basis of the current display state.
基于上述方法,在一些实施例中还提供一种移动终端100A,包括显示单元310、通信单元320和处理单元330。其中,所述显示单元310被配置为显示原图片;所述通信单元320被配置为与显示设备200建立通信连接;所述处理单元330被配置为执行以下程序步骤:Based on the above method, in some embodiments, a mobile terminal 100A is also provided, which includes a display unit 310 , a communication unit 320 and a processing unit 330 . Wherein, the display unit 310 is configured to display the original picture; the communication unit 320 is configured to establish a communication connection with the display device 200; the processing unit 330 is configured to execute the following program steps:
接收用户输入的缩放命令;响应于所述缩放命令,计算基准点和调节参量,所述调节参量为所述移动终端100A根据用户输入计算获得的移动距离和/或缩放比例;按照所述基准点和调节参量,对所显示的原图片执行缩放;向显示设备发送缩放指令,所述缩放指令基准点和调节参量。Receive a zoom command input by a user; in response to the zoom command, calculate a reference point and an adjustment parameter, where the adjustment parameter is the moving distance and/or zoom ratio calculated and obtained by the mobile terminal 100A according to the user input; according to the reference point and an adjustment parameter, perform zooming on the displayed original picture; send a zooming instruction to the display device, the zooming instruction reference point and the adjustment parameter.
<无线网络资源分配><Wireless network resource allocation>
上文介绍过,要实现投屏功能,需要在移动终端100A与显示设备200之间建立通信连接,例如通过WiFi连接方式。以P2P(Peer To Peer,点对点)投屏为例,当采用WiFi连接时,将移动终端100A和显示设备200接入同一个无线网络,采用P2P服务来实现投屏,同时还要保证正常的WLAN功能,此时,会出现P2P抢占WLAN资源的问题,导致正常的WLAN功能受限制,丢包率上升问题。As described above, to implement the screen projection function, a communication connection needs to be established between the mobile terminal 100A and the display device 200 , for example, through a WiFi connection. Taking P2P (Peer To Peer) screen projection as an example, when a WiFi connection is used, the mobile terminal 100A and the display device 200 are connected to the same wireless network, and the P2P service is used to realize the screen projection. At the same time, the normal WLAN must be ensured. At this time, the problem of P2P preempting WLAN resources will occur, which will limit the normal WLAN function and increase the packet loss rate.
在一些实施例中,图17为根据本申请一个或多个实施例的一种可能的P2P的设备发现流程,如图17所示,在进行P2P配对的设备发现阶段,P2P的移动终端100A和显示设备200要不停的在1、6、11信道进行扫描和监听的切换,当移动终端100A和显示设备200恰巧处于同一个信道,且移动终端100A为扫描也就是发送了探测请求,同时显示设备200为监听,监听到了移动终端100A发来的探测请求时候,显示设备200响应了该探测请求回复了探测回复才算是完成了设备的发现过程(该过程也可以是同一信道下显示设备200做扫描,移动终端100A做监听)。基于上述发现设备阶段的流程要求,若要实现用户随时的进行投屏,就需要显示设备200的后台在不停的进行P2P的扫描和监听,这样会导致信道不停的在1、6、11切换,极大的影响了WLAN端口的正常使用,不仅占用了天线资源同时频繁切换信道也会增加网络延时,使网络变得更加卡顿。为此提出如下解决方案,设置多种工作模式,根据不同的情况选择相应的工作模式。In some embodiments, FIG. 17 is a possible P2P device discovery process according to one or more embodiments of the present application. As shown in FIG. 17 , in the device discovery stage of P2P pairing, the P2P mobile terminal 100A and The display device 200 should constantly switch between scanning and monitoring on channels 1, 6, and 11. When the mobile terminal 100A and the display device 200 happen to be in the same channel, and the mobile terminal 100A scans, that is, sends a detection request, and displays the When the device 200 monitors the detection request sent by the mobile terminal 100A, the display device 200 responds to the detection request and replies to the detection response to complete the device discovery process (this process can also be performed by the display device 200 under the same channel). scanning, the mobile terminal 100A monitors). Based on the above process requirements of the device discovery stage, if the user is to perform screen projection at any time, the background of the display device 200 needs to continuously perform P2P scanning and monitoring, which will cause the channel to keep on 1, 6, 11. Switching greatly affects the normal use of WLAN ports. It not only occupies antenna resources, but also frequently switches channels, which increases network latency and makes the network more stuck. To this end, the following solutions are proposed, multiple working modes are set, and corresponding working modes are selected according to different situations.
<以网络传输为主的模式><Mode based on network transmission>
在一些实施例中,图18为根据本申请一个或多个实施例的在以网络传输为主的模式中一种时长的调整流程,如图18所示,当一些依赖网络的应用如下载应用、音频应用、视频应用等进行网络数据的请求时,网络数据请求经由框架层和核心层传输至驱动模块,驱动模块由此确定显示设备所处的传输模式为以网络为主的模式,并发送第一传输时长调整指令至无线通讯固件如WiFi固件。In some embodiments, FIG. 18 is a process of adjusting a duration in a network transmission-based mode according to one or more embodiments of the present application. As shown in FIG. 18 , when some network-dependent applications such as download applications , audio applications, video applications, etc. request network data, the network data request is transmitted to the driver module through the framework layer and the core layer, and the driver module determines that the transmission mode of the display device is the network-based mode, and sends The first transmission duration adjustment command is sent to wireless communication firmware such as WiFi firmware.
在一些实施例中,第一传输时长调整指令可以为具体的时长分配指令,也可为如图8中所示的△t调整指令,△t为网络传输和投屏传输所占的时间片的差值。以无线通讯模块提供的传输时间片为1s为例,当第一传输时长调整指令为△t=800时,WiFi固件根据第一传输时长调整指令确定为网络传输提供传输服务的第一传输时长为900ms,为投屏传输提供传输服务的第二传输时长为100ms。因此在每一秒钟的900ms内进行网络传输,WLAN端口进行数据包的收发,数据包经由驱动模块、核心层和框架层传输至网络应用。In some embodiments, the first transmission duration adjustment instruction may be a specific duration allocation instruction, or may be a Δt adjustment instruction as shown in FIG. 8 , where Δt is the difference between the time slice occupied by network transmission and screencast transmission. difference. Taking the transmission time slice provided by the wireless communication module as 1s as an example, when the first transmission duration adjustment command is Δt=800, the WiFi firmware determines the first transmission duration to provide transmission services for network transmission according to the first transmission duration adjustment command: 900ms, and the second transmission duration for providing transmission services for screencast transmission is 100ms. Therefore, network transmission is performed within 900ms of each second, and the WLAN port transmits and receives data packets, and the data packets are transmitted to the network application through the driver module, core layer and framework layer.
在一些实施例中,显示设备还包括检测模块225,用于检测网络传输质量并根据传输质量触发驱动模块。在以网络传输为主的模式时,检测模块为驱动模块。当网络环境变差, 检测模块检测到WiFi丢包率变高,延时高于预设阈值时,并将丢包命令发送至驱动模块,驱动模块可通过第三传输时长调整指令对△t大小进行强制调整,逐步调节△t,例如以10ms为单位逐步增加△t的绝对值,通过不断的比对WLAN的延时,直到调整到满足WLAN基本收发包的水平(例如延时低于200ms),同时保证P2P占用天线的时间不会影响到P2P的正常监听,例如不低于50ms/1s。例如,当驱动模块检测到延时高于预设阈值时,调整△t=810,则WiFi固件确定为网络传输提供传输服务的第一传输时长为905ms,为投屏传输提供传输服务的第二传输时长为95ms。若延时依然高于预设阈值,则调整△t=820,依此类推。In some embodiments, the display device further includes a detection module 225 for detecting network transmission quality and triggering the driving module according to the transmission quality. In the network transmission-based mode, the detection module is the drive module. When the network environment becomes worse, the detection module detects that the WiFi packet loss rate becomes higher and the delay is higher than the preset threshold, and sends the packet loss command to the drive module, and the drive module can adjust the command to the size of Δt through the third transmission duration Make mandatory adjustment and gradually adjust Δt, for example, gradually increase the absolute value of Δt in units of 10ms, and continuously compare the delay of WLAN until it is adjusted to the level that satisfies the basic sending and receiving packets of WLAN (for example, the delay is lower than 200ms) , and at the same time ensure that the time that P2P occupies the antenna will not affect the normal monitoring of P2P, for example, not less than 50ms/1s. For example, when the driver module detects that the delay is higher than the preset threshold and adjusts Δt=810, the WiFi firmware determines that the first transmission duration for network transmission is 905ms, and the second transmission duration for screencast transmission is determined to be 905ms. The transmission time is 95ms. If the delay is still higher than the preset threshold, adjust Δt=820, and so on.
<以投屏传输为主的模式><Mode based on screen projection transmission>
在一些实施例中,图20为根据本申请一个或多个实施例的一种可能的P2P的设备发现流程,如图20所示,结合显示设备的使用场景,因此将显示设备的P2P发现设备阶段的扫描和监听更改为只在固定信道(如1、6、11中选一)进行监听,这样可以减少信道切换导致的天线资源占用,同时由于显示设备一直处于监听状态,所以也可以提高P2P发现设备的效率。In some embodiments, FIG. 20 is a possible P2P device discovery process according to one or more embodiments of the present application. As shown in FIG. 20 , combined with the usage scenario of the display device, the P2P discovery device of the display device is The scanning and monitoring of the stage is changed to monitoring only on fixed channels (such as 1, 6, and 11), which can reduce the occupation of antenna resources caused by channel switching. At the same time, because the display device is always in the monitoring state, it can also improve P2P discovery. equipment efficiency.
在一些实施例中,图19为根据本申请一个或多个实施例的在以投屏传输为主的模式中一种时长的调整流程,如图19所示,在为投屏传输提供传输服务的第二传输时长内,如在图20示例的100ms内,投屏应用发起P2P监听时,监听命令经由框架层、适配层和驱动模块传输至WiFi固件,WiFi固件切换到监听信道如信道6进行监听。In some embodiments, FIG. 19 is a process of adjusting a duration in a mode mainly based on screen projection transmission according to one or more embodiments of the present application. As shown in FIG. 19 , when a transmission service is provided for screen projection transmission Within the second transmission duration, such as within 100ms of the example in Figure 20, when the screen-casting application initiates P2P monitoring, the monitoring command is transmitted to the WiFi firmware via the framework layer, the adaptation layer and the driver module, and the WiFi firmware switches to the monitoring channel such as channel 6 to monitor.
在一些实施例中,WiFi固件监听时,收到了P2P的探测请求,将探测请求发送至驱动模块,驱动模块从中解析出包含P2P IE信息的报文,由此确定显示设备所处的传输模式为投屏为主的模式。In some embodiments, when the WiFi firmware is monitoring, a P2P detection request is received, and the detection request is sent to the driver module, and the driver module parses the message containing the P2P IE information, thereby determining that the transmission mode of the display device is Screen-based mode.
在一些实施例中,驱动模块确定显示设备所处的传输模式为投屏为主的模式后,发送第二传输时长调整指令至WiFi固件。在一些实施例中,第二传输时长调整指令可以为具体的时长分配指令,也可为如图19中所示的△t调整指令,△t为网络传输和投屏传输所占的时间片的差值。以无线通讯模块提供的传输时间片为1s为例,第二传输时长调整指令为△t=-600时,WiFi固件根据时长调整指令确定为网络传输提供传输服务的第一传输时长为200ms,为投屏传输提供传输服务的第二传输时长为800ms。In some embodiments, the driving module sends a second transmission duration adjustment instruction to the WiFi firmware after determining that the transmission mode in which the display device is located is the screen-casting mode. In some embodiments, the second transmission duration adjustment instruction may be a specific duration allocation instruction, or may be a Δt adjustment instruction as shown in FIG. 19 , where Δt is the difference between the time slice occupied by network transmission and screencast transmission. difference. Taking the transmission time slice provided by the wireless communication module as 1s as an example, when the second transmission duration adjustment command is Δt=-600, the WiFi firmware determines the first transmission duration to provide transmission services for network transmission according to the duration adjustment command to be 200ms, which is The second transmission duration for the screencast transmission to provide the transmission service is 800ms.
因此在每一秒钟的800ms内进行投屏传输,P2P端口进行数据包的收发,数据包经由驱动模块、适配层和框架层传输至投屏应用。如果是视频数据,则可通过投屏应用进行播放。Therefore, the screen projection transmission is performed within 800ms of each second, and the P2P port sends and receives data packets, and the data packets are transmitted to the screen projection application through the driver module, the adaptation layer and the framework layer. If it is video data, it can be played through the screen casting application.
在一些实施例中,在以投屏传输为主的模式时,检测模块为投屏应用。当投屏应用检测到P2P丢包率变高,超过预设阈值,例如丢包数量超过100包,此时投屏会表现出花瓶卡顿问题。投屏应用会将丢包命令发送至驱动模块,驱动模块可通过第三传输时长调整指令对△t大小进行强制调整,逐步调节△t,例如以10ms为单位逐步增加△T的绝对值,通过不断的比对投屏的丢包率,直到调整到满足P2P基本收发包的水平,同时保证WLAN占用天线的时间不会影响到网络传输的正常进行,例如不低于50ms/1s。In some embodiments, in the mode of screencasting transmission as the main mode, the detection module is a screencasting application. When the screencasting application detects that the P2P packet loss rate has increased and exceeds the preset threshold, for example, the number of lost packets exceeds 100 packets, the screencasting will show a vase freeze problem. The screen-casting application will send the packet loss command to the driver module. The driver module can forcefully adjust the size of Δt through the third transmission duration adjustment command, and gradually adjust Δt. Constantly compare the packet loss rate of the projection screen until it is adjusted to meet the level of basic P2P sending and receiving packets, and at the same time ensure that the time that the WLAN occupies the antenna will not affect the normal progress of network transmission, for example, not less than 50ms/1s.
例如,当驱动模块接收到丢包命令时,调整△t=-610,则WiFi固件确定为网络传输提供传输服务的第一传输时长为195ms,为投屏传输提供传输服务的第二传输时长为805ms。若延时依然高于预设阈值,则调整△t=-620,依此类推。For example, when the driver module receives the packet loss command and adjusts Δt=-610, the WiFi firmware determines that the first transmission duration for network transmission is 195ms, and the second transmission duration for screencast transmission is 805ms. If the delay is still higher than the preset threshold, adjust Δt=-620, and so on.
上述实施例以P2P投屏为例,也可应用至其他投屏技术,对此不作限制。The above embodiment takes P2P screen projection as an example, and can also be applied to other screen projection technologies, which is not limited thereto.
通过对网络传输和投屏传输划分时间片,使网络传输和投屏传输在各自的时间片工作,从而解决了二者互相争抢资源的问题,保证了网络传输和投屏的有序性的同时,提高了显示设备的工作效率。同时,充分考虑显示设备的实际工作情况,设置两种传输模式:网络传输为主的模式和点对点投屏传输为主的模式,并根据不同的传输模式确定传输时长调整指令,使得网络传输和投屏的工作时间片可以随传输模式的不同而灵活调整,进一步实现了资源的有效利用。By dividing the network transmission and screen projection transmission into time slices, the network transmission and the screen projection transmission work in their respective time slices, thus solving the problem of competition between the two for resources and ensuring the orderly and orderly network transmission and screen projection. At the same time, the working efficiency of the display device is improved. At the same time, fully considering the actual working conditions of the display device, two transmission modes are set: the network transmission-based mode and the point-to-point projection screen transmission mode, and the transmission duration adjustment instructions are determined according to different transmission modes, so that network transmission and projection The working time slice of the screen can be flexibly adjusted with different transmission modes, which further realizes the effective use of resources.
为了方便解释,已经结合具体的实施方式进行了上述说明。但是,上述在一些实施例中讨论不是意图穷尽或者将实施方式限定到上述公开的具体形式。根据上述的教导,可以得到多种修改和变形。上述实施方式的选择和描述是为了更好的解释原理以及实际的应用,从而使得本领域技术人员更好的使用实施方式以及适于具体使用考虑的各种不同的变形的实施方式。For the convenience of explanation, the above description has been made in conjunction with specific embodiments. However, the above discussion in some embodiments is not intended to be exhaustive or to limit implementations to the specific forms disclosed above. Numerous modifications and variations are possible in light of the above teachings. The above embodiments have been chosen and described to better explain the principles and practical applications, so as to enable those skilled in the art to better utilize the embodiments and various modified embodiments suitable for specific use considerations.

Claims (12)

  1. 一种显示设备,包括:A display device comprising:
    显示器;monitor;
    通信器,被配置为与移动终端建立通信连接;a communicator configured to establish a communication connection with the mobile terminal;
    控制器,被配置为:Controller, configured as:
    与所述移动终端建立投屏关系;establishing a screen projection relationship with the mobile terminal;
    通过所述显示器显示目标图片,所述目标图片为与所述显示器中显示的原图片内容相同的图片;Displaying a target picture through the display, where the target picture is a picture with the same content as the original picture displayed on the display;
    在所述原图片边界超出所述移动终端的显示区域边界时,同步缩放所述目标图片。When the boundary of the original picture exceeds the boundary of the display area of the mobile terminal, the target picture is scaled synchronously.
  2. 根据权利要求1所述的显示设备,所述控制器被进一步配置为:The display device of claim 1, the controller is further configured to:
    同步缩放所述目标图片的步骤中,接收缩放指令,所述缩放指令由所述移动终端在原图片边界超出显示区域边界时输入,所述缩放指令包括显示位置和缩放比例;In the step of synchronously scaling the target picture, a scaling instruction is received, and the scaling instruction is input by the mobile terminal when the border of the original picture exceeds the border of the display area, and the scaling instruction includes a display position and a scaling ratio;
    响应于所述缩放指令,按照所述显示位置移动目标图片的位置;In response to the zoom instruction, move the position of the target picture according to the display position;
    以所述显示位置为基准,按照所述缩放比例对所述目标图片执行缩放。Based on the display position, the target picture is zoomed according to the zoom ratio.
  3. 根据权利要求2所述的显示设备,所述控制器被进一步配置为:The display device of claim 2, the controller is further configured to:
    按照所述显示位置移动目标图片的位置的步骤中,将所述目标图片移动至默认位置;In the step of moving the position of the target picture according to the display position, the target picture is moved to a default position;
    遍历所述目标图片中与所述显示位置相对应的像素点;Traverse the pixel points corresponding to the display position in the target picture;
    移动所述目标图片,以将所述像素点设置为与所述显示器的中心点重合。The target picture is moved to set the pixel points to coincide with the center point of the display.
  4. 根据权利要求2所述的显示设备,所述控制器被进一步配置为:The display device of claim 2, the controller is further configured to:
    以所述显示位置为基准,按照所述缩放比例对所述目标图片执行缩放的步骤中,检测执行缩放后的目标图片边界;Taking the display position as a benchmark, in the step of performing scaling on the target picture according to the scaling ratio, detecting the target picture boundary after performing the scaling;
    判断所述目标图片边界是否超出所述显示器的显示区域边界;Determine whether the target picture boundary exceeds the display area boundary of the display;
    如果所述目标图片边界超出所述显示器的显示区域边界,移动缩放后的目标图片位置,以使所述目标图片边界与显示区域边界重合。If the boundary of the target picture exceeds the boundary of the display area of the display, the position of the scaled target picture is moved to make the boundary of the target picture coincide with the boundary of the display area.
  5. 根据权利要求4所述的显示设备,所述控制器被进一步配置为:The display device of claim 4, the controller is further configured to:
    以所述显示位置为基准,按照所述缩放比例对所述目标图片执行缩放的步骤中,如果所述目标图片边界未超出所述显示器的显示区域边界,移动所述目标图片位置,使在所述目标图片居中显示。Taking the display position as a benchmark, in the step of scaling the target picture according to the scaling ratio, if the boundary of the target picture does not exceed the display area boundary of the display, move the target picture position so that the target picture is in the desired position. The target image is displayed in the center.
  6. 根据权利要求1所述的显示设备,所述控制器被进一步配置为:The display device of claim 1, the controller is further configured to:
    同步缩放所述目标图片的步骤中,接收由所述移动终端发送的缩放指令;In the step of synchronously scaling the target picture, receiving a scaling instruction sent by the mobile terminal;
    响应于所述缩放指令,在所述显示器的预设显示区域内显示目标图片,所述预设显示区域覆盖所述移动终端中的全部显示区域;In response to the zoom instruction, displaying the target picture in a preset display area of the display, the preset display area covering all the display areas in the mobile terminal;
    按照所述缩放指令,对所述目标图片执行同步缩放。According to the scaling instruction, synchronous scaling is performed on the target picture.
  7. 根据权利要求6所述的显示设备,所述控制器被进一步配置为:The display device of claim 6, the controller is further configured to:
    按照所述缩放指令,对所述目标图片执行同步缩放的步骤中,解析所述缩放指令,以获得调整位移;In the step of performing synchronous scaling on the target image according to the scaling instruction, parsing the scaling instruction to obtain an adjustment displacement;
    根据所述移动终端中显示区域与所述预设显示区域的比例关系,将所述调整位移等比例转化为缩放尺寸;According to the proportional relationship between the display area in the mobile terminal and the preset display area, the adjusted displacement is converted into a scaled size in equal proportions;
    按照所述缩放尺寸对所述预设显示区域内的图片执行缩放。Zooming is performed on the picture in the preset display area according to the zooming size.
  8. 根据权利要求6所述的显示设备,所述控制器被进一步配置为:The display device of claim 6, the controller is further configured to:
    按照所述缩放指令,对所述目标图片执行同步缩放的步骤中,解析所述缩放指令,以获得调整中心点;In the step of performing synchronous scaling on the target image according to the scaling instruction, parsing the scaling instruction to obtain an adjustment center point;
    定位目标图片的中心点;Locate the center point of the target image;
    移动所述目标图片,以使所述目标图片中心点与所述调整中心点重合;moving the target picture so that the center point of the target picture coincides with the adjustment center point;
    以所述目标图片中心点为基准,对所述预设显示区域中的图片执行缩放。Based on the center point of the target picture, zooming is performed on the pictures in the preset display area.
  9. 根据权利要求1所述的显示设备,所述控制器被进一步配置为:The display device of claim 1, the controller is further configured to:
    同步缩放所述目标图片的步骤中,接收由所述移动终端发送的缩放指令,所述缩放指令包括基准点和调节参量,所述调节参量为所述移动终端根据用户输入计算获得的移动距离和/或缩放比例;In the step of synchronously scaling the target picture, a scaling instruction sent by the mobile terminal is received, and the scaling instruction includes a reference point and an adjustment parameter, and the adjustment parameter is the moving distance calculated by the mobile terminal according to the user input and / or scaling;
    响应于所述缩放指令,获取目标图片的当前显示状态;In response to the zoom instruction, obtain the current display state of the target picture;
    按照所述基准点和所述调节参量,在所述当前显示状态的基础上对所述目标图片执行缩放。According to the reference point and the adjustment parameter, scaling is performed on the target picture based on the current display state.
  10. 一种移动终端,包括:A mobile terminal, comprising:
    显示单元;Display unit;
    通信单元,被配置为与显示设备建立通信连接;a communication unit, configured to establish a communication connection with the display device;
    处理单元,被配置为:Processing unit, configured as:
    接收用户输入的缩放命令;Receive the zoom command input by the user;
    响应于所述缩放命令,对所显示的原图片执行缩放;In response to the zoom command, zooming is performed on the displayed original picture;
    如果所述原图片的边界超出所述显示单元的显示区域边界,计算显示位置和缩放比例;If the border of the original picture exceeds the border of the display area of the display unit, calculate the display position and the zoom ratio;
    向所述显示设备发送缩放指令,所述缩放指令包括所述显示位置和缩放比例。Send a zoom instruction to the display device, where the zoom instruction includes the display position and the zoom ratio.
  11. 根据权利要求10所述的移动终端,所述处理单元被进一步配置为:The mobile terminal of claim 10, the processing unit is further configured to:
    计算显示位置和缩放比例的步骤中,获取显示区域宽高比,所述显示区域宽高比包括所述显示单元的显示区域宽高比和所述显示设备的显示区域宽高比;In the step of calculating the display position and the zoom ratio, the aspect ratio of the display area is obtained, and the aspect ratio of the display area includes the aspect ratio of the display area of the display unit and the aspect ratio of the display area of the display device;
    对比所述显示单元的显示区域宽高比和所述显示设备的显示区域宽高比,以确定缩放边界;comparing the aspect ratio of the display area of the display unit and the aspect ratio of the display area of the display device to determine the scaling boundary;
    如果所述显示单元的显示区域宽高比大于所述显示设备的显示区域宽高比,确定所述显示单元的左右两侧边为所述缩放边界;If the aspect ratio of the display area of the display unit is greater than the aspect ratio of the display area of the display device, determine that the left and right sides of the display unit are the scaling boundaries;
    如果所述显示单元的显示区域宽高比小于所述显示设备的显示区域宽高比,确定所述显示单元的上下两侧边为所述缩放边界。If the aspect ratio of the display area of the display unit is smaller than the aspect ratio of the display area of the display device, determine that the upper and lower sides of the display unit are the scaling boundaries.
  12. 一种图片同步缩放方法,包括:A method for synchronous scaling of pictures, comprising:
    移动终端接收用户输入的缩放命令;The mobile terminal receives the zoom command input by the user;
    所述移动终端根据所述缩放命令对所显示的原图片执行缩放;The mobile terminal performs zooming on the displayed original picture according to the zooming command;
    如果所述原图片边界超出显示区域边界,所述移动终端向显示设备发送缩放指令,所述缩放指令包括显示位置和缩放比例;If the original picture boundary exceeds the display area boundary, the mobile terminal sends a zoom instruction to the display device, and the zoom instruction includes a display position and a zoom ratio;
    所述显示设备按照所述显示位置移动目标图片的位置;The display device moves the position of the target picture according to the display position;
    以所述显示位置为基准,按照所述缩放比例对所述目标图片执行缩放。Based on the display position, the target picture is zoomed according to the zoom ratio.
PCT/CN2021/118592 2020-10-29 2021-09-15 Display device, mobile terminal and picture synchronous scaling method WO2022089076A1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN202011179994.XA CN114430492B (en) 2020-10-29 2020-10-29 Display device, mobile terminal and picture synchronous scaling method
CN202011179994.X 2020-10-29
CN202110175799.8A CN112954419B (en) 2021-02-09 2021-02-09 Display device and display method
CN202110175799.8 2021-02-09

Publications (1)

Publication Number Publication Date
WO2022089076A1 true WO2022089076A1 (en) 2022-05-05

Family

ID=81381863

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/118592 WO2022089076A1 (en) 2020-10-29 2021-09-15 Display device, mobile terminal and picture synchronous scaling method

Country Status (1)

Country Link
WO (1) WO2022089076A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102637198A (en) * 2012-02-28 2012-08-15 优视科技有限公司 Realization method and device of webpage content display, browser and mobile terminal
WO2013173548A2 (en) * 2012-05-17 2013-11-21 Thomson Licensing Adapting large format stereoscopic content to other platforms
CN105204808A (en) * 2015-09-25 2015-12-30 小米科技有限责任公司 Picture projection method and device and terminal equipment
CN110456907A (en) * 2019-07-24 2019-11-15 广东虚拟现实科技有限公司 Control method, device, terminal device and the storage medium of virtual screen
CN110851214A (en) * 2019-09-29 2020-02-28 深圳市火乐科技发展有限公司 Projection picture control method and related product
CN110853068A (en) * 2019-09-30 2020-02-28 华为技术有限公司 Picture processing method and device, electronic equipment and readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102637198A (en) * 2012-02-28 2012-08-15 优视科技有限公司 Realization method and device of webpage content display, browser and mobile terminal
WO2013173548A2 (en) * 2012-05-17 2013-11-21 Thomson Licensing Adapting large format stereoscopic content to other platforms
CN105204808A (en) * 2015-09-25 2015-12-30 小米科技有限责任公司 Picture projection method and device and terminal equipment
CN110456907A (en) * 2019-07-24 2019-11-15 广东虚拟现实科技有限公司 Control method, device, terminal device and the storage medium of virtual screen
CN110851214A (en) * 2019-09-29 2020-02-28 深圳市火乐科技发展有限公司 Projection picture control method and related product
CN110853068A (en) * 2019-09-30 2020-02-28 华为技术有限公司 Picture processing method and device, electronic equipment and readable storage medium

Similar Documents

Publication Publication Date Title
US20180013974A1 (en) Display apparatus, display method, and computer program
EP3276954A1 (en) Multi-image adjusting method and device, and multipoint controller unit
JP2000305543A (en) Multi-image display system and multi-image display method
US20240053944A1 (en) Display apparatus and method for controlling screen projections from multiple devices to same screen
EP2869587A1 (en) Multimedia device and remote control device for synchronizing screen, and method for same
US11662971B2 (en) Display apparatus and cast method
EP4160386A1 (en) Efficient communication interface for casting interactively controlled visual content
WO2023011058A1 (en) Display device, communication terminal, and projected-screen image dynamic display method
EP3203465A1 (en) Image display method, user terminal and video receiving equipment
CN114430492B (en) Display device, mobile terminal and picture synchronous scaling method
CN115437542A (en) Display device and screen projection inverse control method
CN113593488A (en) Backlight adjusting method and display device
WO2022089076A1 (en) Display device, mobile terminal and picture synchronous scaling method
CN111078926A (en) Method for determining portrait thumbnail image and display equipment
WO2022193475A1 (en) Display device, method for receiving screen projection content, and screen projection method
CN103782603B (en) The system and method that user interface shows
US9635425B2 (en) Handheld display zoom feature
CN111259639B (en) Self-adaptive adjustment method of table and display equipment
CN114286153A (en) Window adjusting method based on Bluetooth AOA and display equipment
WO2021008137A1 (en) Display device and video picture scaling method
CN111723359B (en) Display device and operation method thereof
WO2023179129A1 (en) Display device, screen projection device, and device control method based on trajectory extraction
CN113825001B (en) Panoramic picture browsing method and display device
WO2021218473A1 (en) Display method and display device
JP7425507B2 (en) Information processing terminal and program

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

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

Country of ref document: EP

Kind code of ref document: A1