WO2021104321A1 - Image display method and electronic device - Google Patents

Image display method and electronic device Download PDF

Info

Publication number
WO2021104321A1
WO2021104321A1 PCT/CN2020/131539 CN2020131539W WO2021104321A1 WO 2021104321 A1 WO2021104321 A1 WO 2021104321A1 CN 2020131539 W CN2020131539 W CN 2020131539W WO 2021104321 A1 WO2021104321 A1 WO 2021104321A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
target
electronic device
display interface
target area
Prior art date
Application number
PCT/CN2020/131539
Other languages
French (fr)
Chinese (zh)
Inventor
马成
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2021104321A1 publication Critical patent/WO2021104321A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/53Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformation in the plane of the image
    • G06T3/40Scaling the whole image or part thereof
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/30Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by output arrangements for receiving control signals generated by the game device
    • A63F2300/303Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by output arrangements for receiving control signals generated by the game device for displaying additional data, e.g. simulating a Head Up Display

Definitions

  • the embodiments of the present application relate to the field of communication technology, and in particular, to an image display method and terminal device.
  • the display content is often not well presented to users.
  • the user in order to view the global status of the game, the user can view it through the global map in the upper left corner of the screen, but the global map is smaller.
  • the user In order to better view the global map, the user needs to manually click the zoom function next to the global map Press the button; or to view the global state of the game, the user's finger presses down on the game screen and drags the game screen to achieve the purpose of viewing the state of other game areas.
  • the above operation methods will affect the user's game rhythm, and the user experience will be poor.
  • the embodiments of the present invention provide an image display method and an electronic device to solve the problem of inconvenience for users to view the content displayed on the screen in the prior art.
  • the present invention is implemented as follows:
  • an embodiment of the present invention provides an image display method, which is applied to an electronic device, and the image display method includes:
  • the image in the target area is the thumbnail of the current display interface or the thumbnail of the global image;
  • the image displayed on the current display interface is a partial image of the global image;
  • the target image is all images or partial images in the target area
  • the target device includes: At least one of the second screen of the electronic device and the display device connected to the electronic device.
  • an electronic device including:
  • the determining module is used to determine the target area of the current display interface; wherein the current display interface is displayed on the first screen of the electronic device; the image in the target area is a thumbnail or global image of the current display interface A thumbnail of an image; in the case where the image in the target area is a thumbnail of the global image, the image displayed on the current display interface is a partial image of the global image;
  • the processing module is configured to obtain the target image in the target area determined by the determining module, and display the target image in an enlarged scale on the target device; wherein, the target image is all the images in the target area or
  • the target device includes: at least one of a second screen of the electronic device and a display device connected to the electronic device.
  • an embodiment of the present invention provides an electronic device, including: a memory, a processor, and a computer program stored in the memory and running on the processor.
  • the processor executes the computer program as described above. The steps in the image display method described.
  • an embodiment of the present invention provides a computer-readable storage medium with a computer program stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps in the image display method described above are implemented .
  • the electronic device can enlarge and display the target image in the target area of the current display interface on the target device.
  • the enlarged target image can facilitate the user to more clearly view the image content related to the image displayed on the current display interface. Enlarging and displaying the target image on other display devices can avoid affecting the user's viewing and operation of other display contents on the current display interface, which is convenient for the user to use.
  • FIG. 1 shows one of the schematic flowcharts of an image display method provided by an embodiment of the present invention
  • FIG. 2 shows one of the structural schematic diagrams of the electronic device provided by the embodiment of the present invention
  • FIG. 3 shows the second structural diagram of an electronic device provided by an embodiment of the present invention
  • FIG. 4 shows the third structural diagram of an electronic device provided by an embodiment of the present invention.
  • FIG. 5 shows a schematic diagram of a hollow frame provided by an embodiment of the present invention
  • FIG. 6 shows one of the block diagrams of the electronic device provided by the embodiment of the present invention.
  • FIG. 7 shows the second block diagram of the electronic device provided by the embodiment of the present invention.
  • one embodiment or “an embodiment” mentioned in the specification means that a specific feature, structure, or characteristic related to the embodiment is included in at least one embodiment of the present invention. Therefore, the appearances of "in one embodiment” or “in an embodiment” in various places throughout the specification do not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner.
  • an image display method is provided, which is applied to an electronic device.
  • the electronic device may include, but is not limited to, any of a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted terminal, a wearable device, and a pedometer.
  • the image display method includes:
  • Step 101 The electronic device determines the target area of the current display interface.
  • the current display interface described here is displayed on the first screen of the electronic device.
  • the current display interface may include, but is not limited to: a display interface of a preset application (such as any display interface of application A), a preset application Any one of the preset display interface (such as the specific interface of Application A), the preset desktop page (such as the desktop homepage), etc.
  • the target area mentioned here is a partial area or the entire area of the current display interface, that is, the target area may be a partial display interface of the current display interface, or may be the entire display interface of the current display interface.
  • the image in the target area can be the thumbnail of the current display interface or the thumbnail of the global image.
  • the image currently displayed on the display interface is a partial image of the global image.
  • the current display interface displays a partial area of the entire game map, while the global area of the entire game map is displayed in the upper left corner of the screen.
  • Step 102 The electronic device obtains a target image in the target area, and displays the target image in an enlarged manner on the target device.
  • the target image described here may be all images in the target area, or a partial image in the target area.
  • the target image includes at least one of a static image and a dynamic image, that is, the target image can be a static image, such as a static image; it can also be a dynamic image, such as a dynamic image, a video image, a game screen, etc.;
  • a static image, the other part is a dynamic image, for example, one part is a video image, and the other part is a black frame image of the video playback window.
  • the target image includes a dynamic image
  • the dynamic image can be enlarged and displayed on the target device in real time for the user to view.
  • the target device described here includes: at least one of a second screen of the electronic device and a display device connected to the electronic device.
  • the structural relationship between the first screen and the second screen may be: the first screen 201 and the second screen 202 are connected, as shown in FIG. 2.
  • the connection 203 between the first screen 201 and the second screen 202 may also be bendable, that is, the first screen 201 and the second screen 203 may be folded in half.
  • Display devices connected to electronic devices include, but are not limited to: augmented reality (Augmented Reality, AR for short) devices (such as AR glasses), televisions and other electronic devices with displays, etc.
  • the magnification of the target image can be set according to actual requirements, which is not limited in the embodiment of the present invention.
  • the electronic device may enlarge and display the target image in the target area on the target device.
  • the target device is the second screen of the electronic device
  • the target image is enlarged and displayed on the second screen
  • the electronic device sends the image data of the target image to the AR glasses
  • the target image is enlarged and displayed on the AR glasses.
  • the enlarged target image can facilitate the user to more clearly view the image content related to the image displayed on the current display interface. Enlarging and displaying the target image on other display devices can avoid affecting the user's viewing and operation of other display contents on the current display interface, which is convenient for the user to use.
  • the target area can be determined by color recognition, which specifically includes: performing color recognition on the current display interface; and determining a predetermined image area in the current display interface as the target area.
  • the preset image area is an image area surrounded by an image of a preset color.
  • the user may want to enlarge and display a specific image in the display interface, and the edges of the specific image are displayed with preset colors. For example, when a video call is made, the video image of one party is smaller The window form is displayed in the video call interface, and the edge of some small windows is displayed with a white border, so that the preset color used to determine the target area can be preset for the display interface. After detecting the display interface, the electronic device recognizes the preset color of the display interface, and determines the image area surrounded by the image of the preset color as the target area.
  • the electronic device includes: a first screen and a second screen.
  • the target device is the second screen of the electronic device.
  • the current display interface is the game battle interface of game application A, and the target area is the global map displayed in the upper left corner of the screen in the game battle interface.
  • the user starts the game application A in the mobile phone and enters the game battle interface.
  • the game battle interface is displayed on the first screen 201 of the mobile phone.
  • the upper left corner of the game battle interface displays a global map 204 and a global map 204.
  • the border is a fixed color.
  • the mobile phone can determine that the currently launched application is game application A through the package name of the application.
  • the mobile phone can also recognize that the current display interface is a game battle interface based on the specific image characteristics of the display interface.
  • the preset color recognition is performed to determine the position of the global map, and the image of the global map is used as the target image.
  • the mobile phone obtains the image of the global map, and after the enlargement processing, controls the enlarged image of the global map to be displayed on the second screen, as shown in FIG. 4.
  • the enlarged image 205 of the global map may be displayed in the second screen 202 in the center.
  • the global map can be correspondingly projected onto the second screen according to the aspect ratio of the global map.
  • the target area can also be recorded in the screen coordinates corresponding to the first screen.
  • Coordinate information for example, if the target area is a rectangular area, the point coordinates of the four corners of the target area can be recorded to locate the target area.
  • the point coordinates of the four corners are (0, 0), (0, b), (a) , 0) (a, b), so that when the display interface is displayed next time, the target area can be directly determined according to the previously recorded coordinate information.
  • the above-mentioned preset method may be applicable to the display interface of the preset application or the preset display interface of the preset application, and so on.
  • the target image can be determined by the image selection graphic, which specifically includes: displaying an image selection graphic in the current display interface; and determining the image selected by the image selection graphic as the target image.
  • the shape, size, and position of the image selection graphic are variable. For example, receiving a user's first input of the image selection graphic; in response to the first input, adjusting at least one of the size, shape, and position of the image selection graphic.
  • the first input mentioned here includes, but is not limited to: at least one of touch operation, voice command, and the like.
  • image selection graphics are preset, such as rectangles, circles, triangles, etc., and users can choose according to actual needs.
  • the image selection graphic is initially displayed in the middle of the screen, and the user can move the image selection graphic to other positions on the screen according to his own needs. Selecting the target image through the image selection graphic can make the selection of the target image more flexible.
  • a control button for controlling the display and hiding of the image selection graphic may be provided, so that the user can control the display or hiding of the image selection graphic according to his own needs.
  • the control button can be a virtual button or a mechanical button.
  • the image selection graphic may include, but is not limited to: a mask with a preset shape or a hollow frame with a preset shape.
  • the image selection graphic is a mask with a preset shape
  • the image covered by the mask is determined as the target image.
  • the mask is displayed in a semi-transparent state, so that the user can view the displayed content of the area covered by the mask.
  • the user can adjust the size, shape and position of the mask.
  • the image in the hollow frame is determined as the target image.
  • the frame of the hollow frame can be set to be visible, and the inside of the frame is transparent, so that the user can view the displayed content inside the frame.
  • the user can adjust the size, shape and position of the hollow frame.
  • the electronic device is a mobile phone
  • the target device is AR glasses
  • the current display interface is the game battle interface of the game application A
  • the target area is the global map 204 displayed in the upper left corner of the screen in the game battle interface.
  • the user first pairs the AR glasses with the mobile phone. Users can manually add applications that support AR zoom in the phone's settings.
  • the application settings users can choose according to their needs, such as frequently used applications.
  • a prompt message may pop up to prompt the user whether to enable the zoom function. If the user chooses to turn on the zoom function, the global map 204 in the upper left corner of the game battle interface is recognized. After the recognition is completed, a hollow frame is displayed on the global map 204, as shown in FIG. 5.
  • other methods can also be used, such as pressing anywhere on the screen of the mobile phone, and when it is detected that the pressed area is greater than the preset area value, the zoom function is automatically turned on.
  • the implementation may be It is summarized as: receiving the second input of the user; in response to the second input, displaying the image selection graphic in the display interface.
  • the second input described here may include, but is not limited to: voice input instructions to the electronic device, touch operations to any position on the first screen, touch operations to a preset position on the first screen, and touch to preset buttons. At least one of control operations, etc.
  • the touch operation described here may include, but is not limited to, at least one of a click touch operation, a sliding touch operation, and a push touch operation.
  • the preset keys described herein may include, but are not limited to: at least one of virtual keys and mechanical keys.
  • the user can adjust the size, shape and/or position of the hollow frame according to their own needs.
  • the mobile phone transmits the pixel information in the target area framed by the hollow frame to the AR glasses.
  • AR glasses construct a corresponding plane in the field of view and display the enlarged target image.
  • all the images in the target area can also be directly determined as the target image.
  • the electronic device can obtain each frame of the dynamic image according to the frame rate of the dynamic image, and then obtain the image data corresponding to the target area from each frame of the image (that is, the target image). ), and the acquired image data is enlarged and displayed on the target device, so that the enlarged target image displayed on the target device can change in real time with the change of the dynamic image in the display interface for the user to view.
  • step 102 enlarging and displaying the image in the target area on the target device includes: acquiring the target image in the target area; enlarging the target image by a preset multiple; and displaying the target image enlarged by the preset multiple on In the target device.
  • the target image in the target area when the image in the target area is enlarged and displayed in the target device, the target image in the target area can be acquired first, then the target image is enlarged, and finally the enlarged target image is processed. Displayed in the target device.
  • the electronic device can magnify and display the target image in the target area of the current display interface on the target device.
  • the enlarged target image can facilitate the user to more clearly view the image content related to the image displayed on the current display interface. Enlarging and displaying the target image on other display devices can avoid affecting the user's viewing and operation of other display contents on the current display interface, which is convenient for the user to use.
  • an electronic device which can implement the details in the above-mentioned image display method and achieve the same effect. In order to avoid repetition, details are not repeated here.
  • the electronic device includes:
  • the determining module 601 is used to determine the target area of the current display interface.
  • the current display interface is displayed on the first screen of the electronic device.
  • the image in the target area is the thumbnail of the current display interface or the thumbnail of the global image; when the image in the target area is the thumbnail of the global image, the image displayed on the current display interface
  • the image is a partial image of the global image.
  • the processing module 602 is configured to obtain the target image in the target area determined by the determining module 601, and display the target image in a magnified manner in the target device.
  • the target image is all images or partial images in the target area
  • the target device includes: at least one of a second screen of the electronic device and a display device connected to the electronic device.
  • the determining module 601 includes:
  • the recognition unit is used to perform color recognition on the current display interface.
  • the first determining unit is configured to determine a predetermined image area in the current display interface as the target area.
  • the predetermined image area is an image area surrounded by an image of a preset color recognized by the recognition unit.
  • processing module 602 includes:
  • the display unit is used to display an image selection graphic in the current display interface.
  • the second determining unit is configured to determine the image selected by the image selection graphic displayed by the display unit as the target image.
  • the image selection graphic is a mask with a preset shape or a hollow frame with a preset shape.
  • the second determining unit includes:
  • the first determining subunit is configured to determine the image covered by the mask as the target image when the image selection graphic is a mask with a preset shape.
  • the second determining subunit is configured to determine the image in the hollow frame as the target image when the image selection graphic is a hollow frame with a preset shape.
  • the target image includes a dynamic image.
  • the processing module 602 includes:
  • the first acquiring unit is used to acquire each frame of the dynamic image.
  • the second acquiring unit is configured to acquire a target image corresponding to the target area in each frame of image acquired by the first acquiring unit.
  • the first processing unit is configured to enlarge and display the target image acquired by the second acquisition unit in the target device.
  • the electronic device can enlarge and display the target image in the target area of the current display interface on the target device.
  • the enlarged target image can facilitate the user to more clearly view the image content related to the image displayed on the current display interface. Enlarging and displaying the target image on other display devices can avoid affecting the user's viewing and operation of other display contents on the current display interface, which is convenient for the user to use.
  • FIG. 7 is a schematic diagram of the hardware structure of an electronic device that implements various embodiments of the present invention.
  • the electronic device 700 includes but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, a processor 710, and Power 711 and other components.
  • a radio frequency unit 701 includes but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, a processor 710, and Power 711 and other components.
  • the electronic device may include more or fewer components than those shown in the figure, or a combination of certain components, or different components. Layout.
  • electronic devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminals, wearable devices, and pedometers.
  • the radio frequency unit 701 is used to receive offline cache instructions
  • the processor 710 is configured to determine a target area of the current display interface; obtain a target image in the target area, and enlarge and display the target image in the target device.
  • the current display interface is displayed on the first screen of the electronic device.
  • the image in the target area is the thumbnail of the current display interface or the thumbnail of the global image; when the image in the target area is the thumbnail of the global image, the image displayed on the current display interface
  • the image is a partial image of the global image.
  • the target image is all images or partial images in the target area, and the target device includes: at least one of a second screen of the electronic device and a display device connected to the electronic device.
  • the electronic device can enlarge and display the target image in the target area of the current display interface on the target device.
  • the enlarged target image can facilitate the user to more clearly view the image content related to the image displayed on the current display interface. Enlarging and displaying the target image on other display devices can avoid affecting the user's viewing and operation of other display contents on the current display interface, which is convenient for the user to use.
  • the radio frequency unit 701 can be used for receiving and sending signals during the process of sending and receiving information or talking. Specifically, after receiving the downlink data from the base station, it is processed by the processor 710; Uplink data is sent to the base station.
  • the radio frequency unit 701 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • the radio frequency unit 701 can also communicate with the network and other devices through a wireless communication system.
  • the electronic device provides users with wireless broadband Internet access through the network module 702, such as helping users to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 703 can convert the audio data received by the radio frequency unit 701 or the network module 702 or stored in the memory 709 into an audio signal and output it as sound. Moreover, the audio output unit 703 may also provide audio output related to a specific function performed by the electronic device 700 (for example, call signal reception sound, message reception sound, etc.).
  • the audio output unit 703 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 704 is used to receive audio or video signals.
  • the input unit 704 may include a graphics processing unit (GPU) 7041 and a microphone 7042.
  • the graphics processor 7041 is used for the image of a still picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed.
  • the processed image frame can be displayed on the display unit 706.
  • the image frame processed by the graphics processor 7041 may be stored in the memory 709 (or other storage medium) or sent via the radio frequency unit 701 or the network module 702.
  • the microphone 7042 can receive sound, and can process such sound into audio data.
  • the processed audio data can be converted into a format that can be sent to the mobile communication base station via the radio frequency unit 701 for output in the case of a telephone call mode.
  • the electronic device 700 further includes at least one sensor 705, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 7061 according to the brightness of the ambient light.
  • the proximity sensor can turn off the display panel 7061 and the display panel 7061 when the electronic device 700 is moved to the ear. / Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three-axis), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 705 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
  • the display unit 706 is used to display information input by the user or information provided to the user.
  • the display unit 706 may include a display panel 7061, and the display panel 7061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • the user input unit 707 may be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the electronic device.
  • the user input unit 707 includes a touch panel 7071 and other input devices 7072.
  • the touch panel 7071 also called a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 7071 or near the touch panel 7071. operating).
  • the touch panel 7071 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 710, the command sent by the processor 710 is received and executed.
  • the touch panel 7071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the user input unit 707 may also include other input devices 7072.
  • other input devices 7072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
  • the touch panel 7071 can be overlaid on the display panel 7061.
  • the touch panel 7071 detects a touch operation on or near it, it is transmitted to the processor 710 to determine the type of the touch event, and then the processor 710 determines the type of the touch event according to the touch.
  • the type of event provides corresponding visual output on the display panel 7061.
  • the touch panel 7071 and the display panel 7061 are used as two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 7071 and the display panel 7061 can be integrated
  • the implementation of the input and output functions of the electronic device is not specifically limited here.
  • the interface unit 708 is an interface for connecting an external device and the electronic device 700.
  • the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc.
  • the interface unit 708 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the electronic device 700 or can be used to connect the electronic device 700 to an external device. Transfer data between devices.
  • the memory 709 can be used to store software programs and various data.
  • the memory 709 may mainly include a program storage area and a data storage area.
  • the program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc.
  • the memory 709 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the processor 710 is the control center of the electronic device, which uses various interfaces and lines to connect the various parts of the entire electronic device, runs or executes software programs and/or modules stored in the memory 709, and calls data stored in the memory 709 , Perform various functions of electronic equipment and process data, so as to monitor the electronic equipment as a whole.
  • the processor 710 may include one or more processing units; preferably, the processor 710 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, and application programs.
  • the processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 710.
  • the electronic device 700 may also include a power source 711 (such as a battery) for supplying power to various components.
  • a power source 711 such as a battery
  • the power source 711 may be logically connected to the processor 710 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system. And other functions.
  • the electronic device 700 includes some functional modules not shown, which will not be repeated here.
  • the embodiment of the present invention further provides an electronic device, including a processor 710, a memory 709, a computer program stored on the memory 709 and running on the processor 710, and when the computer program is executed by the processor 710
  • an electronic device including a processor 710, a memory 709, a computer program stored on the memory 709 and running on the processor 710, and when the computer program is executed by the processor 710
  • the embodiment of the present invention also provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium.
  • a computer program is stored on the computer-readable storage medium.
  • the computer program is executed by a processor, each process of the above-mentioned image display method embodiment is realized, and the same technology can be achieved. The effect, in order to avoid repetition, will not be repeated here.
  • the computer-readable storage medium such as read-only memory (Read-Only Memory, ROM for short), random access memory (Random Access Memory, RAM for short), magnetic disk, or optical disk, etc.
  • the technical solution of the present invention essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to make a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the method described in each embodiment of the present invention.
  • a terminal which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.

Abstract

Provided in the embodiments of the present invention are an image display method and an electronic device. The image display method comprises: determining a target area of a current display interface, the current display interface being displayed in a first screen of an electronic device; and obtaining a target image in the target area, and enlargedly displaying the target image in a target device, wherein the image in the target area is a thumbnail of the current display interface or a thumbnail of a global image, and the target device comprises: at least one of a second screen of the electronic device and a display device connected to the electronic device. In the embodiments of the present invention, the electronic device can enlargedly display in the target device the target image in the target area of the current display interface. The enlarged target image is convenient for a user to more clearly view image content related to an image displayed on the current display interface.

Description

图像显示方法及电子设备Image display method and electronic equipment
相关申请的交叉引用Cross-references to related applications
本申请主张在2019年11月25日在中国提交的中国专利申请号No.201911168065.6的优先权,其全部内容通过引用包含于此。This application claims the priority of Chinese Patent Application No. 201911168065.6 filed in China on November 25, 2019, the entire content of which is incorporated herein by reference.
技术领域Technical field
本申请实施例涉及通信技术领域,尤其涉及一图像显示方法及终端设备。The embodiments of the present application relate to the field of communication technology, and in particular, to an image display method and terminal device.
背景技术Background technique
随着通信技术的迅速发展,以智能手机为首的电子设备已成为人们生活中各方面不可或缺的工具。用户可以通过电子设备进行网络社交、视频观看、文章阅读、游戏娱乐等。而用户在使用电子设备的这些功能时,都要借助电子设备的屏幕来实现。With the rapid development of communication technology, electronic devices led by smart phones have become indispensable tools in all aspects of people's lives. Users can perform social networking, video viewing, article reading, game entertainment, etc. through electronic devices. When users use these functions of the electronic device, they must use the screen of the electronic device to achieve.
但由于电子设备(尤其是手机)的屏幕的大小有限,往往无法很好的将显示内容展现给用户。例如,对于有些游戏,用户为了查看游戏全局状态,可以通过屏幕左上角的全局地图进行查看,但该全局地图显示较小,为了更好的查看全局地图,需要用户手动点击全局地图旁边的放大功能按键;或是为了查看游戏全局状态,用户手指按住游戏屏幕,拖动游戏画面,以达到查看其他游戏区域状态的目的。以上操作方式,会影响用户的游戏节奏,用户体验较差。However, due to the limited size of the screens of electronic devices (especially mobile phones), the display content is often not well presented to users. For example, for some games, in order to view the global status of the game, the user can view it through the global map in the upper left corner of the screen, but the global map is smaller. In order to better view the global map, the user needs to manually click the zoom function next to the global map Press the button; or to view the global state of the game, the user's finger presses down on the game screen and drags the game screen to achieve the purpose of viewing the state of other game areas. The above operation methods will affect the user's game rhythm, and the user experience will be poor.
发明内容Summary of the invention
本发明实施例提供一种图像显示方法及电子设备,以解决现有技术中对于屏幕显示的内容,存在用户查看不便的问题。The embodiments of the present invention provide an image display method and an electronic device to solve the problem of inconvenience for users to view the content displayed on the screen in the prior art.
为了解决上述技术问题,本发明是这样实现的:In order to solve the above technical problems, the present invention is implemented as follows:
第一方面,本发明实施例提供了一种图像显示方法,应用于电子设备,所述图像显示方法,包括:In the first aspect, an embodiment of the present invention provides an image display method, which is applied to an electronic device, and the image display method includes:
确定当前显示界面的目标区域;其中,所述当前显示界面显示于所述电子设备的 第一屏幕中;所述目标区域内的图像为所述当前显示界面的缩略图或全局图像的缩略图;在所述目标区域内的图像为所述全局图像的缩略图的情况下,所述当前显示界面显示的图像为所述全局图像的局部图像;Determining the target area of the current display interface; wherein the current display interface is displayed on the first screen of the electronic device; the image in the target area is the thumbnail of the current display interface or the thumbnail of the global image; In the case where the image in the target area is a thumbnail of the global image, the image displayed on the current display interface is a partial image of the global image;
获取所述目标区域内的目标图像,并将所述目标图像放大显示于目标设备中;其中,所述目标图像为所述目标区域内的全部图像或局部图像,所述目标设备包括:所述电子设备的第二屏幕以及与所述电子设备连接的显示设备中的至少一种。Acquire a target image in the target area, and enlarge and display the target image in a target device; wherein, the target image is all images or partial images in the target area, and the target device includes: At least one of the second screen of the electronic device and the display device connected to the electronic device.
第二方面,本发明实施例提供了一种电子设备,包括:In the second aspect, an embodiment of the present invention provides an electronic device, including:
确定模块,用于确定当前显示界面的目标区域;其中,所述当前显示界面显示于所述电子设备的第一屏幕中;所述目标区域内的图像为所述当前显示界面的缩略图或全局图像的缩略图;在所述目标区域内的图像为所述全局图像的缩略图的情况下,所述当前显示界面显示的图像为所述全局图像的局部图像;The determining module is used to determine the target area of the current display interface; wherein the current display interface is displayed on the first screen of the electronic device; the image in the target area is a thumbnail or global image of the current display interface A thumbnail of an image; in the case where the image in the target area is a thumbnail of the global image, the image displayed on the current display interface is a partial image of the global image;
处理模块,用于获取所述确定模块确定的所述目标区域内的目标图像,并将所述目标图像放大显示于目标设备中;其中,所述目标图像为所述目标区域内的全部图像或局部图像,所述目标设备包括:所述电子设备的第二屏幕以及与所述电子设备连接的显示设备中的至少一种。The processing module is configured to obtain the target image in the target area determined by the determining module, and display the target image in an enlarged scale on the target device; wherein, the target image is all the images in the target area or For a partial image, the target device includes: at least one of a second screen of the electronic device and a display device connected to the electronic device.
第三方面,本发明实施例提供了一种电子设备,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如上所述的图像显示方法中的步骤。In a third aspect, an embodiment of the present invention provides an electronic device, including: a memory, a processor, and a computer program stored in the memory and running on the processor. The processor executes the computer program as described above. The steps in the image display method described.
第四方面,本发明实施例提供了一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如上所述的图像显示方法中的步骤。In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium with a computer program stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps in the image display method described above are implemented .
本发明实施例中,电子设备可以将当前显示界面目标区域内的目标图像,放大显示于目标设备中。放大后的目标图像可以便于用户更加清楚的查看与当前显示界面显示的图像相关的图像内容。而将目标图像放大显示于其他显示设备中,可以避免影响用户对当前显示界面其他显示内容的查看和操作,方便用户的使用。In the embodiment of the present invention, the electronic device can enlarge and display the target image in the target area of the current display interface on the target device. The enlarged target image can facilitate the user to more clearly view the image content related to the image displayed on the current display interface. Enlarging and displaying the target image on other display devices can avoid affecting the user's viewing and operation of other display contents on the current display interface, which is convenient for the user to use.
附图说明Description of the drawings
为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例的描述中所需要 使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions of the embodiments of the present invention more clearly, the following will briefly introduce the accompanying drawings that need to be used in the description of the embodiments of the present invention. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative labor.
图1表示本发明实施例提供的图像显示方法的流程示意图之一;FIG. 1 shows one of the schematic flowcharts of an image display method provided by an embodiment of the present invention;
图2表示本发明实施例提供的电子设备的结构示意图之一;FIG. 2 shows one of the structural schematic diagrams of the electronic device provided by the embodiment of the present invention;
图3表示本发明实施例提供的电子设备的结构示意图之二;FIG. 3 shows the second structural diagram of an electronic device provided by an embodiment of the present invention;
图4表示本发明实施例提供的电子设备的结构示意图之三;FIG. 4 shows the third structural diagram of an electronic device provided by an embodiment of the present invention;
图5表示本发明实施例提供的中空框的示意图;FIG. 5 shows a schematic diagram of a hollow frame provided by an embodiment of the present invention;
图6表示本发明实施例提供的电子设备的框图之一;FIG. 6 shows one of the block diagrams of the electronic device provided by the embodiment of the present invention;
图7表示本发明实施例提供的电子设备的框图之二。FIG. 7 shows the second block diagram of the electronic device provided by the embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.
应理解,说明书中提到的“一个实施例”或“一实施例”意味着与实施例有关的特定特征、结构或特性包括在本发明的至少一个实施例中。因此,在整个说明书各处出现的“在一个实施例中”或“在一实施例中”未必一定指相同的实施例。此外,这些特定的特征、结构或特性可以任意适合的方式结合在一个或多个实施例中。It should be understood that “one embodiment” or “an embodiment” mentioned in the specification means that a specific feature, structure, or characteristic related to the embodiment is included in at least one embodiment of the present invention. Therefore, the appearances of "in one embodiment" or "in an embodiment" in various places throughout the specification do not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner.
在本发明的各种实施例中,应理解,下述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。In the various embodiments of the present invention, it should be understood that the size of the sequence number of the following processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not be implemented in the present invention. The implementation process of the example constitutes any limitation.
依据本发明实施例的一个方面,提供了一种图像显示方法,应用于电子设备。该电子设备可以包括但不限于:手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备以及计步器等中的任意一种。According to one aspect of the embodiments of the present invention, an image display method is provided, which is applied to an electronic device. The electronic device may include, but is not limited to, any of a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted terminal, a wearable device, and a pedometer.
如图1所示,该图像显示方法包括:As shown in Figure 1, the image display method includes:
步骤101:电子设备确定当前显示界面的目标区域。Step 101: The electronic device determines the target area of the current display interface.
这里所述的当前显示界面显示于电子设备的第一屏幕中,该当前显示界面可以包括但不限于:预设应用程序的显示界面(如应用程序A的任一显示界面)、预设应用程序的预设显示界面(如应用程序A的特定界面)、预设桌面分页(如桌面主页)等中的任意一种。The current display interface described here is displayed on the first screen of the electronic device. The current display interface may include, but is not limited to: a display interface of a preset application (such as any display interface of application A), a preset application Any one of the preset display interface (such as the specific interface of Application A), the preset desktop page (such as the desktop homepage), etc.
这里所述的目标区域为当前显示界面的部分区域或全部区域,即该目标区域可以是该当前显示界面的局部显示界面,也可以是该当前显示界面的全部显示界面。该目标区域内的图像可以是当前显示界面的缩略图,也可以是全局图像的缩略图。在目标区域内的图像为全局图像的缩略图的情况下,当前显示界面显示的图像为该全局图像的局部图像。例如,对于有些游戏,当前显示界面显示的是整个游戏地图的局部区域,而屏幕左上角显示的整个游戏地图的全局区域。The target area mentioned here is a partial area or the entire area of the current display interface, that is, the target area may be a partial display interface of the current display interface, or may be the entire display interface of the current display interface. The image in the target area can be the thumbnail of the current display interface or the thumbnail of the global image. When the image in the target area is a thumbnail of the global image, the image currently displayed on the display interface is a partial image of the global image. For example, for some games, the current display interface displays a partial area of the entire game map, while the global area of the entire game map is displayed in the upper left corner of the screen.
步骤102:电子设备获取目标区域内的目标图像,并将目标图像放大显示于在目标设备中。Step 102: The electronic device obtains a target image in the target area, and displays the target image in an enlarged manner on the target device.
这里所述的目标图像可以是目标区域内的全部图像,也可以是目标区域内的局部图像。该目标图像包括:静态图像和动态图像中的至少一种,即该目标图像可以是静态图像,如静态图片;也可以是动态图像,如动态图片、视频图像、游戏画面等;还可以一部分为静态图像,另一部分为动态图像,如一部分为视频图像,另一部分为视频播放窗口的黑色边框图像。在目标图像包括动态图像时,可以将该动态图像实时放大显示于目标设备上,以便用户查看。The target image described here may be all images in the target area, or a partial image in the target area. The target image includes at least one of a static image and a dynamic image, that is, the target image can be a static image, such as a static image; it can also be a dynamic image, such as a dynamic image, a video image, a game screen, etc.; A static image, the other part is a dynamic image, for example, one part is a video image, and the other part is a black frame image of the video playback window. When the target image includes a dynamic image, the dynamic image can be enlarged and displayed on the target device in real time for the user to view.
这里所述的目标设备包括:该电子设备的第二屏幕以及与该电子设备连接的显示设备中的至少一种。在目标设备为电子设备的第二屏幕时,第一屏幕与第二屏幕的结构关系可以是:第一屏幕201与第二屏幕202连接,如图2所示。还可选地是,第一屏幕201与第二屏幕的202的连接处203还可以是可弯折的,即第一屏幕201与第二屏幕203可以进行对折。与电子设备连接的显示设备包括但不限于:增强现实(Augmented Reality,简称AR)设备(如AR眼镜)、电视机等具有显示器的其他电子设备等。The target device described here includes: at least one of a second screen of the electronic device and a display device connected to the electronic device. When the target device is the second screen of the electronic device, the structural relationship between the first screen and the second screen may be: the first screen 201 and the second screen 202 are connected, as shown in FIG. 2. Optionally, the connection 203 between the first screen 201 and the second screen 202 may also be bendable, that is, the first screen 201 and the second screen 203 may be folded in half. Display devices connected to electronic devices include, but are not limited to: augmented reality (Augmented Reality, AR for short) devices (such as AR glasses), televisions and other electronic devices with displays, etc.
其中,目标图像放大的倍数,可以根据实际需求进行设置,本发明实施例对此不进行限定。The magnification of the target image can be set according to actual requirements, which is not limited in the embodiment of the present invention.
在本发明实施例中,电子设备可以将目标区域内的目标图像,放大显示于目标设备中。例如,在目标设备为电子设备的第二屏幕时,将目标图像放大显示于第二屏幕中;在目标 设备为与电子设备连接的AR眼镜时,电子设备将目标图像的图像数据,发送至该AR眼镜,使目标图像放大显示于AR眼镜上。放大后的目标图像可以便于用户更加清楚的查看与当前显示界面显示的图像相关的图像内容。而将目标图像放大显示于其他显示设备中,可以避免影响用户对当前显示界面其他显示内容的查看和操作,方便用户的使用。In the embodiment of the present invention, the electronic device may enlarge and display the target image in the target area on the target device. For example, when the target device is the second screen of the electronic device, the target image is enlarged and displayed on the second screen; when the target device is AR glasses connected to the electronic device, the electronic device sends the image data of the target image to the AR glasses, the target image is enlarged and displayed on the AR glasses. The enlarged target image can facilitate the user to more clearly view the image content related to the image displayed on the current display interface. Enlarging and displaying the target image on other display devices can avoid affecting the user's viewing and operation of other display contents on the current display interface, which is convenient for the user to use.
可选地,本发明实施例中,可以通过颜色识别确定目标区域,具体包括:对当前显示界面进行颜色识别;将当前显示界面中的预定图像区域,确定为目标区域。其中,该预设图像区域为被预设颜色的图像包围的图像区域。Optionally, in this embodiment of the present invention, the target area can be determined by color recognition, which specifically includes: performing color recognition on the current display interface; and determining a predetermined image area in the current display interface as the target area. Wherein, the preset image area is an image area surrounded by an image of a preset color.
对于有的显示界面,用户可能会想将该显示界面中的特定图像进行放大显示,且该特定图像的边缘均显示有预设颜色,如,在进行视频通话时,其中一方的视频图像以小窗口形式显示于视频通话的界面中,有的小窗口的边缘则显示有白色边框,这样则可以针对该显示界面,预先设置用于确定目标区域的预设颜色。当电子设备检测到该显示界面后,对该显示界面进行预设颜色的识别,并将被该预设颜色的图像包围的图像区域,确定为目标区域。For some display interfaces, the user may want to enlarge and display a specific image in the display interface, and the edges of the specific image are displayed with preset colors. For example, when a video call is made, the video image of one party is smaller The window form is displayed in the video call interface, and the edge of some small windows is displayed with a white border, so that the preset color used to determine the target area can be preset for the display interface. After detecting the display interface, the electronic device recognizes the preset color of the display interface, and determines the image area surrounded by the image of the preset color as the target area.
为了更好地理解上述方案,下面以一示例加以说明。In order to better understand the above-mentioned solution, an example is given below.
假设,电子设备为手机,该电子设备包括:第一屏幕和第二屏幕。目标设备为该电子设备的第二屏幕。当前显示界面为游戏应用程序A的游戏对战界面,目标区域为游戏对战界面中显示于屏幕左上角的全局地图。Assuming that the electronic device is a mobile phone, the electronic device includes: a first screen and a second screen. The target device is the second screen of the electronic device. The current display interface is the game battle interface of game application A, and the target area is the global map displayed in the upper left corner of the screen in the game battle interface.
如图3所示,用户启动手机中的游戏应用程序A,并进入游戏对战界面,游戏对战界面显示于手机的第一屏幕201中,游戏对战界面的左上角显示有全局地图204,全局地图204的边框是固定的颜色。As shown in Figure 3, the user starts the game application A in the mobile phone and enters the game battle interface. The game battle interface is displayed on the first screen 201 of the mobile phone. The upper left corner of the game battle interface displays a global map 204 and a global map 204. The border is a fixed color.
手机能够通过应用程序的包名,确定当前启动的应用程序为游戏应用程序A。手机还能够根据显示界面特定的图像特征,识别出当前显示界面为游戏对战界面。在检测到当前显示界面为游戏对战界面的情况下,进行预设颜色识别,从而确定出全局地图的位置,并将全局地图的图像作为目标图像。手机获取全局地图的图像,对其放大处理后,控制放大后的全局地图的图像,显示于第二屏幕中,如图4所示。可选地,可以将放大后的全局地图的图像205,居中显示于第二屏幕202中。还可选地是,可以根据全局地图的长宽比例,将全局地图对应投射到第二屏幕中。The mobile phone can determine that the currently launched application is game application A through the package name of the application. The mobile phone can also recognize that the current display interface is a game battle interface based on the specific image characteristics of the display interface. When it is detected that the current display interface is a game battle interface, the preset color recognition is performed to determine the position of the global map, and the image of the global map is used as the target image. The mobile phone obtains the image of the global map, and after the enlargement processing, controls the enlarged image of the global map to be displayed on the second screen, as shown in FIG. 4. Optionally, the enlarged image 205 of the global map may be displayed in the second screen 202 in the center. Alternatively, the global map can be correspondingly projected onto the second screen according to the aspect ratio of the global map.
可选地,在目标区域始终会显示于第一屏幕中的固定位置的情况下,在第一次通过预设颜色识别目标区域后,还可以记录目标区域在第一屏幕对应的屏幕坐标下的坐标信息,例如,目标区域为长方形区域,则可记录目标区域四个角的点坐标来定位目标区域,如四个角的点坐标分别为(0,0)、(0,b)、(a,0)(a,b),这样,再下次显示该显示界面的情况下,则可以根据之前记录坐标信息,直接确定目标区域。Optionally, in the case that the target area is always displayed in a fixed position on the first screen, after the target area is recognized by the preset color for the first time, the target area can also be recorded in the screen coordinates corresponding to the first screen. Coordinate information, for example, if the target area is a rectangular area, the point coordinates of the four corners of the target area can be recorded to locate the target area. For example, the point coordinates of the four corners are (0, 0), (0, b), (a) , 0) (a, b), so that when the display interface is displayed next time, the target area can be directly determined according to the previously recorded coordinate information.
上述预设方式可适用于预设应用程序的显示界面或预设应用程序的预设显示界面等。The above-mentioned preset method may be applicable to the display interface of the preset application or the preset display interface of the preset application, and so on.
可选地,本发明实施例中,可以通过图像选择图形确定目标图像,具体包括:在当前显示界面中显示一图像选择图形;将图像选择图形选中的图像,确定为目标图像。Optionally, in the embodiment of the present invention, the target image can be determined by the image selection graphic, which specifically includes: displaying an image selection graphic in the current display interface; and determining the image selected by the image selection graphic as the target image.
该图像选择图形的形状、尺寸以及位置可变。例如,接收用户对图像选择图形的第一输入;响应于第一输入,调整图像选择图形的尺寸、形状以及位置中的至少一种。这里所述的第一输入包括但不限于:触控操作、语音指令等中的至少一种。The shape, size, and position of the image selection graphic are variable. For example, receiving a user's first input of the image selection graphic; in response to the first input, adjusting at least one of the size, shape, and position of the image selection graphic. The first input mentioned here includes, but is not limited to: at least one of touch operation, voice command, and the like.
例如,预先设置了多种形状的图像选择图形,如长方形、圆形、三角形等,用户可以根据实际需求进行选择。又例如,用户选择长方形的图像选择图形后,还可以根据实际需求,对图像选择图形的长和宽的尺寸,进行调整。再例如,图像选择图形初始显示于屏幕中间位置,用户可根据自身需求,将图像选择图形移动至屏幕其他位置。通过图像选择图形选择目标图像,可以使目标图像的选择更加灵活。For example, various shapes of image selection graphics are preset, such as rectangles, circles, triangles, etc., and users can choose according to actual needs. For another example, after the user selects a rectangular image to select a graphic, he can also adjust the length and width of the selected graphic according to actual needs. For another example, the image selection graphic is initially displayed in the middle of the screen, and the user can move the image selection graphic to other positions on the screen according to his own needs. Selecting the target image through the image selection graphic can make the selection of the target image more flexible.
可选地,本发明实施例中,可以设置一用于控制图像选择图形显示和隐藏的控制按键,以便用户根据自身需求,控制图像选择图形显示或隐藏。该控制按键可以是虚拟按键,也可以是机械按键。Optionally, in the embodiment of the present invention, a control button for controlling the display and hiding of the image selection graphic may be provided, so that the user can control the display or hiding of the image selection graphic according to his own needs. The control button can be a virtual button or a mechanical button.
可选地,本发明实施例中,该图像选择图形可以包括但不限于:预设形状的蒙版或预设形状的中空框。Optionally, in the embodiment of the present invention, the image selection graphic may include, but is not limited to: a mask with a preset shape or a hollow frame with a preset shape.
其中,在图像选择图形为预设形状的蒙版的情况下,将蒙版覆盖的图像,确定为目标图像。一般,该蒙版以半透明状态进行显示,以便用户对蒙版覆盖区域的显示内容的查看。在使用该蒙版时,用户可以调整该蒙版的尺寸、形状和位置。Wherein, when the image selection graphic is a mask with a preset shape, the image covered by the mask is determined as the target image. Generally, the mask is displayed in a semi-transparent state, so that the user can view the displayed content of the area covered by the mask. When using the mask, the user can adjust the size, shape and position of the mask.
其中,在图像选择图形为预设形状的中空框的情况下,将中空框框内的图像,确定为目标图像。可以设置该中空框的边框可见,边框内部为透明状态,以便用户对边框内部的显示内容的查看。在使用该中空框时,用户可以调整该中空框的尺寸、形状和位置。Wherein, when the image selection graphic is a hollow frame with a preset shape, the image in the hollow frame is determined as the target image. The frame of the hollow frame can be set to be visible, and the inside of the frame is transparent, so that the user can view the displayed content inside the frame. When using the hollow frame, the user can adjust the size, shape and position of the hollow frame.
为了更好地理解上述方案,下面以一示例加以说明。In order to better understand the above-mentioned solution, an example is given below.
假设,电子设备为手机,目标设备为AR眼镜,当前显示界面为游戏应用程序A的游戏对战界面,目标区域为游戏对战界面中显示于屏幕左上角的全局地图204。Assuming that the electronic device is a mobile phone, the target device is AR glasses, the current display interface is the game battle interface of the game application A, and the target area is the global map 204 displayed in the upper left corner of the screen in the game battle interface.
用户先将AR眼镜与手机配对。用户可以在手机的设置功能中,手动添加支持AR放大的应用程序。应用程序的设置,用户可以根据需求进行选择,如经常使用的应用程序。The user first pairs the AR glasses with the mobile phone. Users can manually add applications that support AR zoom in the phone's settings. The application settings, users can choose according to their needs, such as frequently used applications.
当用户启动游戏应用程序A,并进入游戏对战界面后,可以弹出提示信息,提示用户是否开启放大功能。若用户选择开启放大功能,则对游戏对战界面的左上角的全局地图204进行识别,识别完成后,在全局地图204上显示一中空框,如图5所示。可选地,对于放大功能的开启,还可以采用其他方式,如可以在手机的屏幕的任意位置进行按压,当检测到按压面积大于预设面积值时,则自动开启放大功能,其实现方式可以概括为:接收用户的第二输入;响应于第二输入,显示图像选择图形于显示界面中。这里所述的第二输入可以包括但不限于:对电子设备的语音输入指令、对第一屏幕任意位置的触控操作、对第一屏幕预设位置的触控操作、对预设按键的触控操作等中的至少一种。这里所述的触控操作可以包括但不限于:点击触控操作、滑动触控操作、按压触控操作等中的至少一种。这里所述的预设按键可以包括但不限于:虚拟按键、机械按键中的至少一种。When the user starts the game application A and enters the game battle interface, a prompt message may pop up to prompt the user whether to enable the zoom function. If the user chooses to turn on the zoom function, the global map 204 in the upper left corner of the game battle interface is recognized. After the recognition is completed, a hollow frame is displayed on the global map 204, as shown in FIG. 5. Optionally, for turning on the zoom function, other methods can also be used, such as pressing anywhere on the screen of the mobile phone, and when it is detected that the pressed area is greater than the preset area value, the zoom function is automatically turned on. The implementation may be It is summarized as: receiving the second input of the user; in response to the second input, displaying the image selection graphic in the display interface. The second input described here may include, but is not limited to: voice input instructions to the electronic device, touch operations to any position on the first screen, touch operations to a preset position on the first screen, and touch to preset buttons. At least one of control operations, etc. The touch operation described here may include, but is not limited to, at least one of a click touch operation, a sliding touch operation, and a push touch operation. The preset keys described herein may include, but are not limited to: at least one of virtual keys and mechanical keys.
显示中空框后,用户可以根据自身需求,调节中空框的尺寸、形状和/或位置。当调节好后,手机把中空框框出的目标区域内的像素信息,传递给AR眼镜。AR眼镜在视野中建造对应平面,显示放大后的目标图像。After the hollow frame is displayed, the user can adjust the size, shape and/or position of the hollow frame according to their own needs. When adjusted, the mobile phone transmits the pixel information in the target area framed by the hollow frame to the AR glasses. AR glasses construct a corresponding plane in the field of view and display the enlarged target image.
当然可以理解的是,除了上述通过图像选择图形选择目标图像,还可以直接将目标区域内的全部图像确定为目标图像。Of course, it can be understood that, in addition to the aforementioned selection of the target image by the image selection graphic, all the images in the target area can also be directly determined as the target image.
可选地,在目标图像包括动态图像时,电子设备可以按照动态图像的帧率,获取动态图像中的每一帧图像,然后从每一帧图像中获取对应目标区域的图像数据(即目标图像),并将获取的图像数据放大显示于目标设备上,从而使目标设备上显示的、放大后的目标图像,能够随着显示界面中动态图像的变化而实时变化,以便用户的查看。Optionally, when the target image includes a dynamic image, the electronic device can obtain each frame of the dynamic image according to the frame rate of the dynamic image, and then obtain the image data corresponding to the target area from each frame of the image (that is, the target image). ), and the acquired image data is enlarged and displayed on the target device, so that the enlarged target image displayed on the target device can change in real time with the change of the dynamic image in the display interface for the user to view.
可选地,步骤102将目标区域内的图像,放大显示于在目标设备中,包括:获取目标区域内的目标图像;将目标图像放大预设倍数;将放大预设倍数的目标图像,显示于目标设备中。Optionally, step 102 enlarging and displaying the image in the target area on the target device includes: acquiring the target image in the target area; enlarging the target image by a preset multiple; and displaying the target image enlarged by the preset multiple on In the target device.
本发明实施例中,在将目标区域内的图像放大显示于在目标设备中时,可以先获取目标区域内的目标图像,然后对目标图像进行放大处理,最后将经过放大处理后的目标图像,显示于目标设备中。In the embodiment of the present invention, when the image in the target area is enlarged and displayed in the target device, the target image in the target area can be acquired first, then the target image is enlarged, and finally the enlarged target image is processed. Displayed in the target device.
综上所述,本发明实施例中,电子设备可以将当前显示界面目标区域内的目标图像,放大显示于目标设备中。放大后的目标图像可以便于用户更加清楚的查看与当前显示界面显示的图像相关的图像内容。而将目标图像放大显示于其他显示设备中,可以避免影响用户对当前显示界面其他显示内容的查看和操作,方便用户的使用。To sum up, in the embodiment of the present invention, the electronic device can magnify and display the target image in the target area of the current display interface on the target device. The enlarged target image can facilitate the user to more clearly view the image content related to the image displayed on the current display interface. Enlarging and displaying the target image on other display devices can avoid affecting the user's viewing and operation of other display contents on the current display interface, which is convenient for the user to use.
以上介绍了本发明实施例提供的图像显示方法,下面将结合附图介绍本发明实施例提供的电子设备。The image display method provided by the embodiment of the present invention has been described above, and the electronic device provided by the embodiment of the present invention will be described below with reference to the accompanying drawings.
依据本发明实施例的另一个方面,提供了一种电子设备,所述电子设备能实现上述图像显示方法中的细节,并达到相同的效果,为避免重复,这里不再赘述。According to another aspect of the embodiments of the present invention, an electronic device is provided, which can implement the details in the above-mentioned image display method and achieve the same effect. In order to avoid repetition, details are not repeated here.
如图6所示,所述电子设备包括:As shown in FIG. 6, the electronic device includes:
确定模块601,用于确定当前显示界面的目标区域。The determining module 601 is used to determine the target area of the current display interface.
其中,所述当前显示界面显示于所述电子设备的第一屏幕中。所述目标区域内的图像为所述当前显示界面的缩略图或全局图像的缩略图;在所述目标区域内的图像为所述全局图像的缩略图的情况下,所述当前显示界面显示的图像为所述全局图像的局部图像。Wherein, the current display interface is displayed on the first screen of the electronic device. The image in the target area is the thumbnail of the current display interface or the thumbnail of the global image; when the image in the target area is the thumbnail of the global image, the image displayed on the current display interface The image is a partial image of the global image.
处理模块602,用于获取所述确定模块601确定的所述目标区域内的目标图像,并将目标图像放大显示于目标设备中。The processing module 602 is configured to obtain the target image in the target area determined by the determining module 601, and display the target image in a magnified manner in the target device.
其中,所述目标图像为所述目标区域内的全部图像或局部图像,所述目标设备包括:所述电子设备的第二屏幕以及与所述电子设备连接的显示设备中的至少一种。The target image is all images or partial images in the target area, and the target device includes: at least one of a second screen of the electronic device and a display device connected to the electronic device.
可选地,所述确定模块601包括:Optionally, the determining module 601 includes:
识别单元,用于对所述当前显示界面进行颜色识别。The recognition unit is used to perform color recognition on the current display interface.
第一确定单元,用于将所述当前显示界面中的预定图像区域,确定为所述目标区域。The first determining unit is configured to determine a predetermined image area in the current display interface as the target area.
其中,所述预定图像区域为被所述识别单元识别出的预设颜色的图像包围的图像区域。Wherein, the predetermined image area is an image area surrounded by an image of a preset color recognized by the recognition unit.
可选地,所述处理模块602包括:Optionally, the processing module 602 includes:
显示单元,用于在所述当前显示界面中显示一图像选择图形。The display unit is used to display an image selection graphic in the current display interface.
第二确定单元,用于将所述显示单元显示的所述图像选择图形选中的图像,确定为所述目标图像。The second determining unit is configured to determine the image selected by the image selection graphic displayed by the display unit as the target image.
可选地,所述图像选择图形为预设形状的蒙版或预设形状的中空框。Optionally, the image selection graphic is a mask with a preset shape or a hollow frame with a preset shape.
所述第二确定单元包括:The second determining unit includes:
第一确定子单元,用于在所述图像选择图形为预设形状的蒙版的情况下,将所述蒙版覆盖的图像,确定为所述目标图像。The first determining subunit is configured to determine the image covered by the mask as the target image when the image selection graphic is a mask with a preset shape.
第二确定子单元,用于在所述图像选择图形为预设形状的中空框的情况下,将所述中空框框内的图像,确定为所述目标图像。The second determining subunit is configured to determine the image in the hollow frame as the target image when the image selection graphic is a hollow frame with a preset shape.
可选地,所述目标图像包括动态图像。Optionally, the target image includes a dynamic image.
所述处理模块602包括:The processing module 602 includes:
第一获取单元,用于获取所述动态图像中的每一帧图像。The first acquiring unit is used to acquire each frame of the dynamic image.
第二获取单元,用于获取所述第一获取单元获取的所述每一帧图像中对应所述目标区域的目标图像。The second acquiring unit is configured to acquire a target image corresponding to the target area in each frame of image acquired by the first acquiring unit.
第一处理单元,用于将所述第二获取单元获取的所述目标图像放大显示于所述目标设备中。The first processing unit is configured to enlarge and display the target image acquired by the second acquisition unit in the target device.
本发明实施例中,电子设备可以将当前显示界面目标区域内的目标图像,放大显示于目标设备中。放大后的目标图像可以便于用户更加清楚的查看与当前显示界面显示的图像相关的图像内容。而将目标图像放大显示于其他显示设备中,可以避免影响用户对当前显示界面其他显示内容的查看和操作,方便用户的使用。In the embodiment of the present invention, the electronic device can enlarge and display the target image in the target area of the current display interface on the target device. The enlarged target image can facilitate the user to more clearly view the image content related to the image displayed on the current display interface. Enlarging and displaying the target image on other display devices can avoid affecting the user's viewing and operation of other display contents on the current display interface, which is convenient for the user to use.
图7为实现本发明各个实施例的一种电子设备的硬件结构示意图;FIG. 7 is a schematic diagram of the hardware structure of an electronic device that implements various embodiments of the present invention;
该电子设备700包括但不限于:射频单元701、网络模块702、音频输出单元703、输入单元704、传感器705、显示单元706、用户输入单元707、接口单元708、存储器709、处理器710、以及电源711等部件。本领域技术人员可以理解,图7中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,电子设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。The electronic device 700 includes but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, a processor 710, and Power 711 and other components. Those skilled in the art can understand that the structure of the electronic device shown in FIG. 7 does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than those shown in the figure, or a combination of certain components, or different components. Layout. In the embodiment of the present invention, electronic devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminals, wearable devices, and pedometers.
其中,射频单元701,用于接收离线缓存指令;Among them, the radio frequency unit 701 is used to receive offline cache instructions;
处理器710,用于确定当前显示界面的目标区域;获取所述目标区域内的目标图像,并将所述目标图像放大显示于目标设备中。The processor 710 is configured to determine a target area of the current display interface; obtain a target image in the target area, and enlarge and display the target image in the target device.
其中,所述当前显示界面显示于所述电子设备的第一屏幕中。所述目标区域内的图像为所述当前显示界面的缩略图或全局图像的缩略图;在所述目标区域内的图像为所述全局图像的缩略图的情况下,所述当前显示界面显示的图像为所述全局图像的局部图像。所述目标图像为所述目标区域内的全部图像或局部图像,所述目标设备包括:所述电子设备的第二屏幕以及与所述电子设备连接的显示设备中的至少一种。Wherein, the current display interface is displayed on the first screen of the electronic device. The image in the target area is the thumbnail of the current display interface or the thumbnail of the global image; when the image in the target area is the thumbnail of the global image, the image displayed on the current display interface The image is a partial image of the global image. The target image is all images or partial images in the target area, and the target device includes: at least one of a second screen of the electronic device and a display device connected to the electronic device.
本发明实施例中,电子设备可以将当前显示界面目标区域内的目标图像,放大显示于目标设备中。放大后的目标图像可以便于用户更加清楚的查看与当前显示界面显示的图像相关的图像内容。而将目标图像放大显示于其他显示设备中,可以避免影响用户对当前显示界面其他显示内容的查看和操作,方便用户的使用。In the embodiment of the present invention, the electronic device can enlarge and display the target image in the target area of the current display interface on the target device. The enlarged target image can facilitate the user to more clearly view the image content related to the image displayed on the current display interface. Enlarging and displaying the target image on other display devices can avoid affecting the user's viewing and operation of other display contents on the current display interface, which is convenient for the user to use.
需要说明的是,本实施例中上述电子设备700可以实现本发明实施例中方法实施例中的各个过程,以及达到相同的有益效果,为避免重复,此处不再赘述。It should be noted that the above-mentioned electronic device 700 in this embodiment can implement each process in the method embodiment in the embodiment of the present invention and achieve the same beneficial effects. To avoid repetition, details are not described herein again.
应理解的是,本发明实施例中,射频单元701可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器710处理;另外,将上行的数据发送给基站。通常,射频单元701包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元701还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present invention, the radio frequency unit 701 can be used for receiving and sending signals during the process of sending and receiving information or talking. Specifically, after receiving the downlink data from the base station, it is processed by the processor 710; Uplink data is sent to the base station. Generally, the radio frequency unit 701 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 701 can also communicate with the network and other devices through a wireless communication system.
电子设备通过网络模块702为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The electronic device provides users with wireless broadband Internet access through the network module 702, such as helping users to send and receive emails, browse web pages, and access streaming media.
音频输出单元703可以将射频单元701或网络模块702接收的或者在存储器709中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元703还可以提供与电子设备700执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元703包括扬声器、蜂鸣器以及受话器等。The audio output unit 703 can convert the audio data received by the radio frequency unit 701 or the network module 702 or stored in the memory 709 into an audio signal and output it as sound. Moreover, the audio output unit 703 may also provide audio output related to a specific function performed by the electronic device 700 (for example, call signal reception sound, message reception sound, etc.). The audio output unit 703 includes a speaker, a buzzer, a receiver, and the like.
输入单元704用于接收音频或视频信号。输入单元704可以包括图形处理器(Graphics Processing Unit,GPU)7041和麦克风7042,图形处理器7041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理 后的图像帧可以显示在显示单元706上。经图形处理器7041处理后的图像帧可以存储在存储器709(或其它存储介质)中或者经由射频单元701或网络模块702进行发送。麦克风7042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元701发送到移动通信基站的格式输出。The input unit 704 is used to receive audio or video signals. The input unit 704 may include a graphics processing unit (GPU) 7041 and a microphone 7042. The graphics processor 7041 is used for the image of a still picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed. The processed image frame can be displayed on the display unit 706. The image frame processed by the graphics processor 7041 may be stored in the memory 709 (or other storage medium) or sent via the radio frequency unit 701 or the network module 702. The microphone 7042 can receive sound, and can process such sound into audio data. The processed audio data can be converted into a format that can be sent to the mobile communication base station via the radio frequency unit 701 for output in the case of a telephone call mode.
电子设备700还包括至少一种传感器705,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板7061的亮度,接近传感器可在电子设备700移动到耳边时,关闭显示面板7061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器705还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The electronic device 700 further includes at least one sensor 705, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display panel 7061 according to the brightness of the ambient light. The proximity sensor can turn off the display panel 7061 and the display panel 7061 when the electronic device 700 is moved to the ear. / Or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three-axis), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 705 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
显示单元706用于显示由用户输入的信息或提供给用户的信息。显示单元706可包括显示面板7061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板7061。The display unit 706 is used to display information input by the user or information provided to the user. The display unit 706 may include a display panel 7061, and the display panel 7061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
用户输入单元707可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元707包括触控面板7071以及其他输入设备7072。触控面板7071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板7071上或在触控面板7071附近的操作)。触控面板7071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器710,接收处理器710发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板7071。除了触控面板7071,用户输入单元707还可以包括其他输入设备7072。具体地,其他输入设备7072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 707 may be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the electronic device. Specifically, the user input unit 707 includes a touch panel 7071 and other input devices 7072. The touch panel 7071, also called a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 7071 or near the touch panel 7071. operating). The touch panel 7071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch position, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 710, the command sent by the processor 710 is received and executed. In addition, the touch panel 7071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 7071, the user input unit 707 may also include other input devices 7072. Specifically, other input devices 7072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
进一步的,触控面板7071可覆盖在显示面板7061上,当触控面板7071检测到在其 上或附近的触摸操作后,传送给处理器710以确定触摸事件的类型,随后处理器710根据触摸事件的类型在显示面板7061上提供相应的视觉输出。虽然在图7中,触控面板7071与显示面板7061是作为两个独立的部件来实现电子设备的输入和输出功能,但是在某些实施例中,可以将触控面板7071与显示面板7061集成而实现电子设备的输入和输出功能,具体此处不做限定。Further, the touch panel 7071 can be overlaid on the display panel 7061. When the touch panel 7071 detects a touch operation on or near it, it is transmitted to the processor 710 to determine the type of the touch event, and then the processor 710 determines the type of the touch event according to the touch. The type of event provides corresponding visual output on the display panel 7061. Although in FIG. 7, the touch panel 7071 and the display panel 7061 are used as two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 7071 and the display panel 7061 can be integrated The implementation of the input and output functions of the electronic device is not specifically limited here.
接口单元708为外部装置与电子设备700连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元708可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到电子设备700内的一个或多个元件或者可以用于在电子设备700和外部装置之间传输数据。The interface unit 708 is an interface for connecting an external device and the electronic device 700. For example, the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc. The interface unit 708 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the electronic device 700 or can be used to connect the electronic device 700 to an external device. Transfer data between devices.
存储器709可用于存储软件程序以及各种数据。存储器709可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器709可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 709 can be used to store software programs and various data. The memory 709 may mainly include a program storage area and a data storage area. The program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc. In addition, the memory 709 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
处理器710是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器709内的软件程序和/或模块,以及调用存储在存储器709内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。处理器710可包括一个或多个处理单元;优选的,处理器710可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器710中。The processor 710 is the control center of the electronic device, which uses various interfaces and lines to connect the various parts of the entire electronic device, runs or executes software programs and/or modules stored in the memory 709, and calls data stored in the memory 709 , Perform various functions of electronic equipment and process data, so as to monitor the electronic equipment as a whole. The processor 710 may include one or more processing units; preferably, the processor 710 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, and application programs. The processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 710.
电子设备700还可以包括给各个部件供电的电源711(比如电池),优选的,电源711可以通过电源管理系统与处理器710逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The electronic device 700 may also include a power source 711 (such as a battery) for supplying power to various components. Preferably, the power source 711 may be logically connected to the processor 710 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system. And other functions.
另外,电子设备700包括一些未示出的功能模块,在此不再赘述。In addition, the electronic device 700 includes some functional modules not shown, which will not be repeated here.
优选的,本发明实施例还提供一种电子设备,包括处理器710,存储器709,存储在 存储器709上并可在所述处理器710上运行的计算机程序,该计算机程序被处理器710执行时实现上述图像显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, the embodiment of the present invention further provides an electronic device, including a processor 710, a memory 709, a computer program stored on the memory 709 and running on the processor 710, and when the computer program is executed by the processor 710 Each process of the foregoing image display method embodiment is implemented, and the same technical effect can be achieved. In order to avoid repetition, details are not repeated here.
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述图像显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。The embodiment of the present invention also provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above-mentioned image display method embodiment is realized, and the same technology can be achieved. The effect, in order to avoid repetition, will not be repeated here. Wherein, the computer-readable storage medium, such as read-only memory (Read-Only Memory, ROM for short), random access memory (Random Access Memory, RAM for short), magnetic disk, or optical disk, etc.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that in this article, the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, It also includes other elements that are not explicitly listed, or elements inherent to the process, method, article, or device. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, article, or device that includes the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better.的实施方式。 Based on this understanding, the technical solution of the present invention essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to make a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the method described in each embodiment of the present invention.
上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。The embodiments of the present invention are described above with reference to the accompanying drawings, but the present invention is not limited to the above-mentioned specific embodiments. The above-mentioned specific embodiments are only illustrative and not restrictive. Those of ordinary skill in the art are Under the enlightenment of the present invention, many forms can be made without departing from the purpose of the present invention and the scope of protection of the claims, and they all fall within the protection of the present invention.

Claims (14)

  1. 一种图像显示方法,应用于电子设备,所述图像显示方法包括:An image display method applied to an electronic device, the image display method including:
    确定当前显示界面的目标区域;其中,所述当前显示界面显示于所述电子设备的第一屏幕中;所述目标区域内的图像为所述当前显示界面的缩略图或全局图像的缩略图;在所述目标区域内的图像为所述全局图像的缩略图的情况下,所述当前显示界面显示的图像为所述全局图像的局部图像;Determining the target area of the current display interface; wherein the current display interface is displayed on the first screen of the electronic device; the image in the target area is the thumbnail of the current display interface or the thumbnail of the global image; In the case where the image in the target area is a thumbnail of the global image, the image displayed on the current display interface is a partial image of the global image;
    获取所述目标区域内的目标图像,并将所述目标图像放大显示于目标设备中;Acquiring a target image in the target area, and zooming in and displaying the target image in a target device;
    其中,所述目标图像为所述目标区域内的全部图像或局部图像,所述目标设备包括:所述电子设备的第二屏幕以及与所述电子设备连接的显示设备中的至少一种。The target image is all images or partial images in the target area, and the target device includes: at least one of a second screen of the electronic device and a display device connected to the electronic device.
  2. 根据权利要求1所述的图像显示方法,其中,所述确定当前显示界面的目标区域,包括:The image display method according to claim 1, wherein said determining the target area of the current display interface comprises:
    对所述当前显示界面进行颜色识别;Perform color recognition on the current display interface;
    将所述当前显示界面中的预定图像区域,确定为所述目标区域;Determining a predetermined image area in the current display interface as the target area;
    其中,所述预定图像区域为被预设颜色的图像包围的图像区域。Wherein, the predetermined image area is an image area surrounded by an image of a preset color.
  3. 根据权利要求1所述的图像显示方法,其中,所述获取所述目标区域内的目标图像,包括:The image display method according to claim 1, wherein said acquiring the target image in the target area comprises:
    在所述目标区域中显示一图像选择图形;Displaying an image selection graphic in the target area;
    将所述图像选择图形选中的图像,确定为所述目标图像。The image selected by the image selection graphic is determined as the target image.
  4. 根据权利要求3所述的图像显示方法,其中,所述图像选择图形为预设形状的蒙版或预设形状的中空框;The image display method according to claim 3, wherein the image selection graphic is a mask with a preset shape or a hollow frame with a preset shape;
    所述将所述图像选择图形选中的图像,确定为所述目标区域,包括:The determining the image selected by the image selection graphic as the target area includes:
    在所述图像选择图形为所述蒙版的情况下,将所述蒙版覆盖的图像,确定为所述目标图像;In a case where the image selection graphic is the mask, determining the image covered by the mask as the target image;
    在所述图像选择图形为所述中空框的情况下,将所述中空框框内的图像,确定为所述目标图像。In the case that the image selection graphic is the hollow frame, the image in the hollow frame is determined as the target image.
  5. 根据权利要求1所述的图像显示方法,其中,在所述目标图像包括动态图像的情况下,所述获取所述目标区域内的目标图像,将所述目标图像放大显示于目标设 备中,包括:The image display method according to claim 1, wherein, in the case that the target image includes a dynamic image, the acquiring the target image in the target area, and enlarging the display of the target image in the target device, comprises :
    获取所述动态图像中的每一帧图像;Acquiring each frame of image in the dynamic image;
    获取所述每一帧图像中对应所述目标区域的目标图像;Acquiring a target image corresponding to the target area in each frame of image;
    将所述目标图像放大显示于所述目标设备中。The target image is enlarged and displayed in the target device.
  6. 一种电子设备,包括:An electronic device including:
    确定模块,用于确定当前显示界面的目标区域;其中,所述当前显示界面显示于所述电子设备的第一屏幕中;所述目标区域内的图像为所述当前显示界面的缩略图或全局图像的缩略图;在所述目标区域内的图像为所述全局图像的缩略图的情况下,所述当前显示界面显示的图像为所述全局图像的局部图像;The determining module is used to determine the target area of the current display interface; wherein the current display interface is displayed on the first screen of the electronic device; the image in the target area is a thumbnail or global image of the current display interface A thumbnail of an image; in the case where the image in the target area is a thumbnail of the global image, the image displayed on the current display interface is a partial image of the global image;
    处理模块,用于获取所述确定模块确定的所述目标区域内的目标图像,并将所述目标图像放大显示于目标设备中;其中,所述目标图像为所述目标区域内的全部图像或局部图像,所述目标设备包括:所述电子设备的第二屏幕以及与所述电子设备连接的显示设备中的至少一种。The processing module is configured to obtain the target image in the target area determined by the determining module, and display the target image in an enlarged scale on the target device; wherein, the target image is all the images in the target area or For a partial image, the target device includes: at least one of a second screen of the electronic device and a display device connected to the electronic device.
  7. 根据权利要求6所述的电子设备,其中,所述确定模块包括:The electronic device according to claim 6, wherein the determining module comprises:
    识别单元,用于对所述当前显示界面进行颜色识别;An identification unit, configured to perform color identification on the current display interface;
    第一确定单元,用于将所述当前显示界面中的预定图像区域,确定为所述目标区域;A first determining unit, configured to determine a predetermined image area in the current display interface as the target area;
    其中,所述预定图像区域为被预设颜色的图像包围的图像区域。Wherein, the predetermined image area is an image area surrounded by an image of a preset color.
  8. 根据权利要求6所述的电子设备,其中,所述处理模块包括:The electronic device according to claim 6, wherein the processing module comprises:
    显示单元,用于在所述当前显示界面中显示一图像选择图形;A display unit for displaying an image selection graphic in the current display interface;
    第二确定单元,用于将所述显示单元显示的所述图像选择图形选中的图像,确定为所述目标图像。The second determining unit is configured to determine the image selected by the image selection graphic displayed by the display unit as the target image.
  9. 根据权利要求8所述的电子设备,其中,所述图像选择图形为预设形状的蒙版或预设形状的中空框;8. The electronic device according to claim 8, wherein the image selection graphic is a mask with a preset shape or a hollow frame with a preset shape;
    所述第二确定单元包括:The second determining unit includes:
    第一确定子单元,用于在所述图像选择图形为预设形状的蒙版的情况下,将所述蒙版覆盖的图像,确定为所述目标图像;The first determining subunit is configured to determine the image covered by the mask as the target image when the image selection graphic is a mask with a preset shape;
    第二确定子单元,用于在所述图像选择图形为预设形状的中空框的情况下,将所述中空框框内的图像,确定为所述目标图像。The second determining subunit is configured to determine the image in the hollow frame as the target image when the image selection graphic is a hollow frame with a preset shape.
  10. 根据权利要求6所述的电子设备,其中,所述目标图像包括动态图像;The electronic device according to claim 6, wherein the target image includes a dynamic image;
    所述处理模块包括:The processing module includes:
    第一获取单元,用于获取所述动态图像中的每一帧图像;The first obtaining unit is used to obtain each frame of the dynamic image;
    第二获取单元,用于获取所述第一获取单元获取的所述每一帧图像中对应所述目标区域的目标图像;A second acquiring unit, configured to acquire a target image corresponding to the target area in each frame of image acquired by the first acquiring unit;
    第一处理单元,用于将所述第二获取单元获取的所述目标图像放大显示于所述目标设备中。The first processing unit is configured to enlarge and display the target image acquired by the second acquisition unit in the target device.
  11. 一种电子设备,包括:处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至5中任一项所述的图像显示方法的步骤。An electronic device, comprising: a processor, a memory, and a computer program stored on the memory and capable of running on the processor, the computer program being executed by the processor is implemented as in claims 1 to 5 Any one of the steps of the image display method.
  12. 一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至5中任一项所述的图像显示方法中的步骤。A computer-readable storage medium having a computer program stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps in the image display method according to any one of claims 1 to 5 are realized .
  13. 一种计算机程序产品,所述程序产品被至少一个处理器执行以实现如权利要求1至5中任一项所述的图像显示方法。A computer program product, which is executed by at least one processor to implement the image display method according to any one of claims 1 to 5.
  14. 一种电子设备,包括所述电子设备被配置成用于执行如权利要求1至5中任一项所述的图像显示方法。An electronic device, comprising the electronic device configured to execute the image display method according to any one of claims 1 to 5.
PCT/CN2020/131539 2019-11-25 2020-11-25 Image display method and electronic device WO2021104321A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911168065.6 2019-11-25
CN201911168065.6A CN111026316A (en) 2019-11-25 2019-11-25 Image display method and electronic equipment

Publications (1)

Publication Number Publication Date
WO2021104321A1 true WO2021104321A1 (en) 2021-06-03

Family

ID=70202099

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/131539 WO2021104321A1 (en) 2019-11-25 2020-11-25 Image display method and electronic device

Country Status (2)

Country Link
CN (1) CN111026316A (en)
WO (1) WO2021104321A1 (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111026316A (en) * 2019-11-25 2020-04-17 维沃移动通信有限公司 Image display method and electronic equipment
CN111841005B (en) * 2020-08-05 2023-11-24 网易(杭州)网络有限公司 In-game display control method and device
CN112181548A (en) * 2020-08-25 2021-01-05 北京中联合超高清协同技术中心有限公司 Display and image display method
CN113918070A (en) * 2020-08-31 2022-01-11 北京金山办公软件股份有限公司 Synchronous display method and device, readable storage medium and electronic equipment
CN112181342B (en) * 2020-10-15 2023-08-18 Oppo广东移动通信有限公司 Display method, display device, electronic equipment and storage medium
CN112308767B (en) * 2020-10-19 2023-11-24 武汉中科通达高新技术股份有限公司 Data display method and device, storage medium and electronic equipment
CN114666427B (en) * 2020-12-08 2023-10-27 荣耀终端有限公司 Image display method, electronic equipment and storage medium
CN113082702A (en) * 2021-04-15 2021-07-09 网易(杭州)网络有限公司 Game display control method and electronic equipment
CN114185450A (en) 2021-10-18 2022-03-15 北京鸿合爱学教育科技有限公司 Aerial view processing method and device and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105824492A (en) * 2015-09-30 2016-08-03 维沃移动通信有限公司 Display control method and terminal
US20170132753A1 (en) * 2015-11-05 2017-05-11 Acer Incorporated Display device and display method
CN111026316A (en) * 2019-11-25 2020-04-17 维沃移动通信有限公司 Image display method and electronic equipment

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103246873B (en) * 2013-04-28 2016-05-18 北京贞观雨科技有限公司 A kind of method of the answering information that gathers answering card and device
CN105872845A (en) * 2016-04-18 2016-08-17 深圳Tcl数字技术有限公司 Method for intelligently regulating size of subtitles and television
CN106228063A (en) * 2016-07-27 2016-12-14 北京金山安全软件有限公司 Auxiliary function permission control method and device and terminal equipment
CN106534674A (en) * 2016-10-17 2017-03-22 努比亚技术有限公司 Method for displaying focus area and mobile terminal
CN107357580B (en) * 2017-07-05 2020-04-21 竞技世界(北京)网络技术有限公司 Method for guiding terminal user to open auxiliary function permission of application
CN108764001A (en) * 2018-05-29 2018-11-06 维沃移动通信(深圳)有限公司 A kind of information processing method and mobile terminal
CN109840060A (en) * 2019-01-31 2019-06-04 维沃移动通信有限公司 A kind of display control method and terminal device
CN109976629A (en) * 2019-02-28 2019-07-05 维沃移动通信有限公司 Image display method, terminal and mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105824492A (en) * 2015-09-30 2016-08-03 维沃移动通信有限公司 Display control method and terminal
US20170132753A1 (en) * 2015-11-05 2017-05-11 Acer Incorporated Display device and display method
CN111026316A (en) * 2019-11-25 2020-04-17 维沃移动通信有限公司 Image display method and electronic equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
KY FLOATING: "How to Split Push in LOL Map", XP009528156, Retrieved from the Internet <URL:https://m.wanyx.com/wangyougonglue/223373.html> *

Also Published As

Publication number Publication date
CN111026316A (en) 2020-04-17

Similar Documents

Publication Publication Date Title
WO2021104321A1 (en) Image display method and electronic device
WO2021098678A1 (en) Screencast control method and electronic device
JP7359920B2 (en) Image processing method and flexible screen terminal
WO2021115373A1 (en) Application icon position adjusting method and electronic device
WO2020156169A1 (en) Display control method and terminal device
WO2020220991A1 (en) Screen capture method, terminal device and computer-readable storage medium
WO2019174628A1 (en) Photographing method and mobile terminal
WO2021098677A1 (en) Display method and electronic device
WO2020156120A1 (en) Notification message display method and mobile terminal
WO2020233323A1 (en) Display control method, terminal device, and computer-readable storage medium
WO2021036531A1 (en) Screenshot method and terminal device
WO2020238449A1 (en) Notification message processing method and terminal
WO2020238497A1 (en) Icon moving method and terminal device
WO2019184947A1 (en) Image viewing method and mobile terminal
WO2021121398A1 (en) Video recording method and electronic device
WO2021068885A1 (en) Control method and electronic device
WO2021004306A1 (en) Operation control method and terminal
WO2021077908A1 (en) Parameter adjusting method and electronic device
WO2020238562A1 (en) Display method and terminal
WO2021115172A1 (en) Display method and electronic device
WO2021197265A1 (en) Information presentation method, electronic device and storage medium
WO2020199986A1 (en) Video call method and terminal device
EP4092613A1 (en) Image cropping method and electronic device
JP2022534757A (en) Imaging method and terminal
WO2021083114A1 (en) Photo viewing method and electronic device

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

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

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 20893685

Country of ref document: EP

Kind code of ref document: A1

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

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

122 Ep: pct application non-entry in european phase

Ref document number: 20893685

Country of ref document: EP

Kind code of ref document: A1