WO2020259091A1 - 屏幕内容显示方法及终端 - Google Patents

屏幕内容显示方法及终端 Download PDF

Info

Publication number
WO2020259091A1
WO2020259091A1 PCT/CN2020/089079 CN2020089079W WO2020259091A1 WO 2020259091 A1 WO2020259091 A1 WO 2020259091A1 CN 2020089079 W CN2020089079 W CN 2020089079W WO 2020259091 A1 WO2020259091 A1 WO 2020259091A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
target
screenshot
user interface
screen
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2020/089079
Other languages
English (en)
French (fr)
Inventor
侯宇涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Publication of WO2020259091A1 publication Critical patent/WO2020259091A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/82Protecting input, output or interconnection devices
    • G06F21/84Protecting input, output or interconnection devices output devices, e.g. displays or monitors
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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

Definitions

  • the present disclosure relates to the field of communication technology, and in particular to a method and terminal for displaying screen content.
  • smart terminal such as mobile phones, tablet computers
  • people use smart terminals more and more frequently.
  • the content displayed on the smart terminal screen may be viewed by others for a long time. For example, when you see a certain news or picture and want to share it with others, or you can recognize a QR code through support And after the payment function is completed, the payment success interface will be shown to the merchant for viewing.
  • the smart terminal when viewing the content displayed on the screen to others, the smart terminal is turned over and the screen is turned toward others so that others can view the content displayed on the screen, which is somewhat inconvenient to operate.
  • the terminal may just receive the private information, and display some or all of the private information through the prompt box, so that it is easy to be seen by others, leading to the leakage of the terminal user’s information, which poses a security risk .
  • the embodiments of the present disclosure provide a method and terminal for displaying screen content, so as to solve the problems of complicated operations and security risks when viewing content displayed on the screen for others in the related art.
  • a method for displaying screen content which is applied to a terminal, the terminal includes: a first screen and a second screen, the first screen and the second screen are set opposite to each other; wherein, the screen Content display methods include:
  • a screenshot is taken of the target area of the user interface; wherein the target area is the target area of the user interface including target information area;
  • the screenshot obtained according to the screenshot operation is displayed on the second screen.
  • a terminal in a second aspect, includes: a first screen and a second screen, the first screen and the second screen are disposed opposite to each other, and the terminal further includes:
  • the receiving module is used to receive the screenshot operation input by the user
  • the processing module is configured to, in response to the screenshot operation received by the receiving module, take a screenshot of the target area of the user interface when the user interface displayed on the first screen is the target interface; wherein, the target An area is an area where the user interface includes target information;
  • the display module is configured to display the screenshot obtained by the processing module according to the screenshot operation on the second screen.
  • a terminal including: a processor, a memory, and a computer program stored on the memory and capable of running on the processor.
  • the computer program is executed by the processor to achieve the above The steps of the screen content display method described.
  • a computer-readable storage medium is provided, and a computer program is stored on the computer-readable storage medium.
  • the computer program is executed by a processor, the steps of the screen content display method as described above are realized.
  • the captured image is displayed on the second screen, so that others can directly view the content that the terminal user wants to share through the second screen.
  • the operation of turning the terminal is no longer necessary, so it is convenient for the terminal user to show the information displayed on the screen to others for viewing.
  • the screenshot is a part of the user interface displayed on the first screen, rather than the entire area, it is not necessary to provide all the content displayed on the first screen to others to view, thereby reducing the risk of private information being seen by others. Improve the security of terminal use.
  • FIG. 1 shows a schematic flowchart of a method for displaying screen content provided by an embodiment of the present disclosure
  • FIG. 2 shows one of the schematic diagrams of the work flow of the example provided by the embodiment of the present disclosure
  • FIG. 3 shows the second schematic diagram of the work flow of the example provided by the embodiment of the present disclosure
  • FIG. 4 shows one of the block diagrams of the terminal provided by the embodiment of the present disclosure
  • Fig. 5 shows the second block diagram of the terminal provided by the embodiment of the present disclosure.
  • a method for displaying screen content is provided, which is applied to a terminal.
  • the terminal includes: a first screen and a second screen.
  • the first screen and the second screen are set opposite to each other.
  • the first screen and the second screen may be two independent display screens, or may be two sub-display screens formed by bending one screen.
  • the screen content display method includes:
  • Step 101 Receive a screenshot operation input by the user.
  • the screenshot operations described here can be screenshot operations through physical buttons (such as power button + home button or smart screen button), screenshot operations through virtual buttons, screenshot operations through voice, and screenshot through fingerprint buttons. Operations or screenshot operations performed by pressing on the first screen or the second screen, etc.
  • the screenshot operation is actively triggered by the end user, so that the end user can select the screenshot according to their own needs.
  • the screenshot operation can be automatically triggered by the terminal, for example, when it is determined that the user interface displayed on the first screen is the target interface.
  • Step 102 In response to the screenshot operation, in the case where the user interface displayed on the first screen is the target interface, a screenshot of the target area of the user interface is performed.
  • the target area is an area of the user interface including target information, and is a partial area of the user interface.
  • the target information is information for others to view.
  • the specific size of the target area can be designed according to actual needs, including target information.
  • the terminal receives the screenshot operation input by the terminal user
  • the user interface displayed on the first screen is the target interface
  • the user interface can be identified, the position of the target information on the user interface can be determined, and then the user interface The area where the target information is located is determined as the target area, and a screenshot of the target area of the user interface is taken, so that the obtained screenshot includes the target information.
  • the target interface is a news interface
  • the news content that is, target information
  • the area where the news content is located in the news interface can be determined as the target area.
  • Step 103 Display the screenshot obtained according to the screenshot operation on the second screen.
  • the captured image is displayed on the second screen, so that others can directly view the content that the terminal user wants to share through the second screen.
  • the operation of turning the terminal is no longer necessary, so it is convenient for the terminal user to show the information displayed on the screen to others for viewing.
  • the screenshot is a part of the user interface displayed on the first screen, rather than the entire area, it is not necessary to provide all the content displayed on the first screen to others to view, thereby reducing the risk of private information being seen by others. Improve the security of terminal use.
  • step 102 in response to the screenshot operation, when the user interface displayed on the first screen is the target interface, taking a screenshot of the target area of the user interface includes: in response to the screenshot operation, acquiring the first information in the user interface; In the case of confirming that the user interface is the target interface according to the first information, a screenshot of the target area of the user interface is taken.
  • first information may be obtained from the user interface, and then whether the user interface is a target interface is determined according to the obtained first information.
  • the user interface is determined to be the target interface, a screenshot of the target area of the user interface is taken.
  • the first information mentioned here is all or part of the information in the user interface.
  • the first information can be designed according to the type of the target interface.
  • the user interface is a payment interface
  • the target interface is a payment success interface
  • the target information is payment information
  • the payment information includes at least: payment amount information, payee information , Transaction status information and icon information in the payment success interface
  • the first information may at least include: payment amount information, payee information, transaction status information, icon information in the payment interface, payment amount information, payee Information, transaction status information, and location information of the icon information of the payment interface on the payment interface.
  • the transaction status information mentioned here is information used to indicate the success or failure of the transaction.
  • the first information in the user interface is used to determine whether the user interface is the target interface, which can improve the accuracy of judgment.
  • taking a screenshot of the target area of the user interface includes: sending the first information to the server; receiving the confirmation information issued by the server; according to the confirmation information, the user interface
  • the area that includes the target information in is determined as the target area, and a screenshot of the target area is taken.
  • the confirmation information described here is issued by the server after comparing the first information with pre-stored target interface information, and is used to indicate that the user interface is the target interface.
  • the acquired first information can be sent to the server.
  • the server receives the first information uploaded by the terminal, the first information can be combined with the stored big data.
  • the target interface information is compared to determine whether the user interface is the target interface.
  • the server determines that the user interface is the target interface, it sends feedback information to the terminal to inform the terminal that the user interface is the target interface.
  • the terminal determines that the user interface is the target interface, the terminal takes a screenshot of the target area of the user interface.
  • the server determines that the user interface is not the target interface, it also sends feedback information to the terminal to inform the terminal that the user interface is not the target interface, and the terminal does not perform the screenshot operation of the user interface.
  • the server can store a large amount of data about the target interface, the server can determine whether the user interface is the target interface, which can further improve the accuracy of the judgment.
  • the first information is used as a data stream upload server, and the data stream has various encryption methods and is difficult to crack, so the security is higher. Further, since only the first information extracted from the user interface is uploaded to the server, instead of uploading the image of the entire user interface to the server, this can also reduce the data flow and reduce the use of data flow.
  • the terminal is a mobile phone
  • the user interface is a payment interface
  • the target interface is a payment success interface
  • the target information is payment information.
  • Step 201 After the end user completes the payment, the display on the first screen (such as the main screen) of the mobile phone stays on the payment interface, such as the payment interface of WeChat or Alipay, and then enters step 202.
  • the payment interface such as the payment interface of WeChat or Alipay
  • Step 202 The terminal user presses the smart screen recognition button on the left side of the mobile phone, and then proceeds to step 203.
  • Step 203 After the mobile phone detects that the smart screen recognition button is triggered, it analyzes the first information of the current payment interface through the image processing algorithm, and then proceeds to step 204.
  • Step 204 The mobile phone uploads the parsed first information to the server, and then enters step 205.
  • Step 205 The server compares the first information with the existing big data payment success interface information, and then proceeds to step 206 or step 207.
  • the first information may at least include: payment amount information, payee information, transaction status information, icon information in the user interface and payment amount information, payee information, transaction status information, and icon information on the payment interface. Location information on the interface.
  • Step 206 The server determines that the payment interface is a payment success interface through the first information, and then sends feedback information to the mobile phone to inform the user of the comparison result, and then proceeds to step 208.
  • Step 207 After determining that the payment interface is not a payment success interface or the comparison fails, the server sends feedback information to the mobile phone to inform the user of the comparison result through the first information, and then proceeds to step 211.
  • Step 208 When the mobile phone determines that the payment interface is a payment success interface according to the received feedback information, it responds to the screenshot operation, takes a screenshot of the target area containing the payment information in the payment interface, and then proceeds to step 209.
  • the payment information includes at least: payment amount information, payee information, transaction status information, and icon information in the payment success interface.
  • Step 209 The mobile phone transfers the captured screenshot to the second screen (such as the secondary screen) in an animation manner for display, and then proceeds to step 210.
  • the second screen such as the secondary screen
  • the animation mode described here may be that the screenshot moves toward the top of the terminal until it disappears in the first screen.
  • Step 210 The second screen of the mobile phone lights up to display the screenshots from the first screen, and after the screenshots are displayed on the second screen for a preset time (such as 10 seconds), the second screen is controlled to automatically turn off, and the process ends.
  • a preset time such as 10 seconds
  • Step 211 When the mobile phone determines that the payment interface is not a payment interface according to the received instruction information, it does not respond to the screenshot operation generated by triggering the smart screen recognition button, and the process ends.
  • taking a screenshot of the target area of the user interface includes: in response to the screenshot operation, detecting that the touch body is on the first screen According to the sliding trajectory, determine the target area of the user interface; take a screenshot of the determined target area.
  • the user can manually take a screenshot, using a finger or a stylus, etc., to draw a screenshot trajectory (that is, a sliding trajectory) on the first screen, and then the terminal can take a screenshot of the user interface according to the screenshot trajectory.
  • a screenshot trajectory that is, a sliding trajectory
  • Users can intercept corresponding images according to their own needs to avoid leaking private information to others.
  • the target interface is the payment success interface
  • the target information is the payment information
  • the screenshots obtained should at least include: payment amount information, payee information, transaction status information, and icon information in the payment success interface for the seller to view.
  • step 102 in response to the screenshot operation, in the case where the user interface displayed on the first screen is the target interface, taking a screenshot of the target area of the user interface includes: in response to the screenshot operation, acquiring the sliding track on the first screen ; Detect whether the sliding trajectory forms a closed-loop trajectory; when the sliding trajectory forms a closed-loop trajectory, the area enclosed by the closed-loop trajectory is determined as the target area; when the sliding trajectory does not form a closed-loop trajectory and the sliding trajectory does not change within the preset time , Complement the sliding trajectory according to the preset method to form a closed-loop trajectory, and determine the area enclosed by the closed-loop trajectory as the target area; take a screenshot of the target area.
  • the terminal detects whether the screenshot trajectory forms a closed-loop trajectory.
  • the area enclosed by the closed-loop trajectory is considered to be the image that the terminal user wants to capture, and the area enclosed by the closed-loop trajectory is determined as the target area.
  • the terminal can automatically complete the screenshot trajectory according to the preset method to form a closed-loop trajectory (the area enclosed by the automatically-completed closed-loop trajectory The target information is included), and the area enclosed by the closed-loop trajectory is determined as the target area, so as to take a screenshot of the target area.
  • the screenshot trajectory does not form a closed-loop trajectory, the screenshot operation of the terminal user this time can be ignored.
  • the sliding trajectory can be completed to form a closed-loop trajectory, so that the closed-loop trajectory can be enclosed
  • the area of includes target information, so the area enclosed by the closed-loop trajectory is determined as the target area.
  • the terminal is a mobile phone
  • the user interface is a payment interface
  • the target interface is a payment success interface
  • the target information is payment information.
  • Step 301 After the terminal user completes the payment, the display of the first screen (such as the main screen) stays on the user's payment success interface, such as the payment success interface of WeChat and Alipay, and then proceeds to step 302.
  • the payment success interface such as the payment success interface of WeChat and Alipay
  • Step 302 The terminal user performs a long-press touch operation on the first screen to trigger the manual screen capture function, and then proceeds to step 303.
  • Step 303 The mobile phone detects the sliding track of the terminal user on the first screen, determines whether the current sliding track forms a closed loop, and then proceeds to step 304 or step 305.
  • the sliding track forms the boundary of the screenshot.
  • Step 304 After detecting that the sliding track forms a closed loop, the mobile phone takes a screenshot of the payment success interface according to the sliding track, and then proceeds to step 306.
  • Step 305 After the mobile phone detects that the sliding track does not form a closed loop and the sliding track has not changed within a preset time, it automatically completes the sliding track, and then takes a screenshot of the payment success interface according to the completed sliding track, and then Go to step 306.
  • Step 306 A screenshot preview interface is formed and displayed on the first screen, and then step 307 is entered.
  • Step 307 The terminal user makes a gesture upward swipe operation on the first screen, and then enters step 308.
  • Step 308 According to the swipe operation of the terminal user, the captured screenshot is transferred to the second screen (such as the secondary screen) in an animated manner for display, and the screenshot is displayed on the second screen for a preset time (such as 10 seconds) Then control the second screen to go out automatically, and the process ends.
  • the second screen such as the secondary screen
  • a preset time such as 10 seconds
  • the animation mode described here may be that the screenshot moves along the user's gesture direction on the first screen until it disappears in the first screen.
  • the captured image is displayed on the second screen, so that others can directly view the content that the terminal user wants to share through the second screen.
  • the operation of turning the terminal is no longer necessary, so it is convenient for the terminal user to show the information displayed on the screen to others for viewing.
  • the screenshot is a part of the user interface displayed on the first screen, rather than the entire area, it is not necessary to provide all the content displayed on the first screen to others to view, thereby reducing the risk of private information being seen by others. Improve the security of terminal use.
  • a terminal which can realize the details in the above-mentioned method for displaying screen content and achieve the same effect.
  • the terminal includes: a first screen and a second screen, and the first screen and the second screen are arranged opposite to each other.
  • the terminal further includes:
  • the receiving module 401 is configured to receive a screenshot operation input by the user.
  • the processing module 402 is configured to, in response to the screenshot operation received by the receiving module 401, perform a screenshot of the target area of the user interface when the user interface displayed on the first screen is the target interface.
  • the target area is an area of the user interface including target information, and is a partial area of the user interface.
  • the display module 403 is configured to display the screenshot obtained by the processing module 402 according to the screenshot operation on the second screen.
  • processing module 402 includes:
  • the first obtaining submodule is configured to obtain the first information in the user interface in response to the screenshot operation received by the receiving module 401.
  • the first information is all or part of the information in the user interface.
  • the first screenshot sub-module is configured to determine the area in the user interface that includes the target information when the user interface is confirmed to be the target interface according to the first information obtained by the first obtaining sub-module Is the target area, and a screenshot of the target area is taken.
  • the first screenshot submodule includes:
  • the sending unit is configured to send the first information obtained by the obtaining unit to the server.
  • the receiving unit is configured to receive the confirmation information issued by the server.
  • the confirmation information is issued by the server after comparing the first information with pre-stored target interface information, and is used to indicate that the user interface is the target interface.
  • the screenshot unit is configured to determine an area in the user interface that includes the target information as the target area according to the confirmation information received by the receiving unit, and take a screenshot of the target area.
  • processing module 402 includes:
  • the second acquisition submodule is configured to acquire the sliding track on the first screen in response to the screenshot operation.
  • the detection sub-module is configured to detect whether the sliding trajectory acquired by the second acquisition sub-module forms a closed-loop trajectory.
  • the first determining sub-module is configured to determine an area enclosed by the closed-loop trajectory as the target area when the detection sub-module detects that the sliding trajectory forms a closed-loop trajectory.
  • the second determining sub-module is configured to perform the sliding trajectory according to the preset method when the detection sub-module detects that the sliding trajectory does not form a closed-loop trajectory, and the sliding trajectory has not changed within a preset time Complement to form a closed-loop trajectory, and determine an area enclosed by the closed-loop trajectory as the target area.
  • the target information is included in the area enclosed by the automatically completed closed loop trajectory.
  • the second screenshot sub-module is used to screenshot the target area.
  • the second determining submodule includes:
  • the trajectory processing unit is configured to follow the preset method according to the target information of the user interface and the sliding trajectory when the sliding trajectory does not form a closed-loop trajectory and the sliding trajectory does not change within a preset time Complement the sliding trajectory to form a closed-loop trajectory;
  • the determining unit is configured to determine an area enclosed by the closed-loop trajectory as the target area.
  • the user interface is a payment interface
  • the target interface is a payment success interface
  • the target information is payment information.
  • the payment information includes at least: payment amount information, payee information, transaction status information, and icon information in the payment success interface.
  • the target interface is a payment success interface
  • the target information is payment information
  • the first information includes at least: payment amount information, payee information, and transaction status Information, icon information in the payment interface, the payment amount information, payee information, transaction status information, and location information of the icon information in the payment interface on the payment interface.
  • the captured image is displayed on the second screen, so that others can directly view the content that the terminal user wants to share through the second screen.
  • the operation of turning the terminal is no longer necessary, so it is convenient for the terminal user to show the information displayed on the screen to others for viewing.
  • the screenshot is a part of the user interface displayed on the first screen, rather than the entire area, it is not necessary to provide all the content displayed on the first screen to others to view, thereby reducing the risk of private information being seen by others. Improve the security of terminal use.
  • Fig. 5 is a schematic diagram of the hardware structure of a terminal for implementing various embodiments of the present disclosure.
  • the terminal 500 includes but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and a power supply 511 and other components.
  • a radio frequency unit 501 includes but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and a power supply 511 and other components.
  • terminal structure shown in FIG. 5 does not constitute a limitation on the terminal, and the terminal may include more or less components than shown in the figure, or combine certain components, or arrange different components.
  • terminals include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminals, wearable devices, and pedometers
  • the processor 510 is configured to receive a screenshot operation input by the user; in response to the screenshot operation, when the user interface displayed on the first screen is the target interface, take a screenshot of the target area of the user interface; The unit 506 displays the screenshot obtained according to the screenshot operation on the second screen.
  • the target area is an area of the user interface including target information, and is a partial area of the user interface.
  • the captured image is displayed on the second screen, so that others can directly view the content that the terminal user wants to share through the second screen.
  • the operation of turning the terminal is no longer necessary, so it is convenient for the terminal user to show the information displayed on the screen to others for viewing.
  • the screenshot is a part of the user interface displayed on the first screen, rather than the entire area, it is not necessary to provide all the content displayed on the first screen to others to view, thereby reducing the risk of private information being seen by others. Improve the security of terminal use.
  • the radio frequency unit 501 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, the downlink data from the base station is received and processed by the processor 510; Uplink data is sent to the base station.
  • the radio frequency unit 501 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 501 can also communicate with the network and other devices through a wireless communication system.
  • the terminal provides users with wireless broadband Internet access through the network module 502, such as helping users to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 503 may convert the audio data received by the radio frequency unit 501 or the network module 502 or stored in the memory 509 into an audio signal and output it as sound. Moreover, the audio output unit 503 may also provide audio output related to a specific function performed by the terminal 500 (for example, call signal reception sound, message reception sound, etc.).
  • the audio output unit 503 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 504 is used to receive audio or video signals.
  • the input unit 504 may include a graphics processing unit (GPU) 5041 and a microphone 5042.
  • the graphics processor 5041 is configured to monitor images of still pictures or videos obtained by an image capture device (such as a camera) in the video capture mode or the image capture mode. Data is processed.
  • the processed image frame may be displayed on the display unit 506.
  • the image frame processed by the graphics processor 5041 may be stored in the memory 509 (or other storage medium) or sent via the radio frequency unit 501 or the network module 502.
  • the microphone 5042 can receive sound, and can process such sound into audio data.
  • the processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 501 for output in the case of a telephone call mode.
  • the terminal 500 also includes at least one sensor 505, 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 5061 according to the brightness of the ambient light.
  • the proximity sensor can close the display panel 5061 and/or when the terminal 500 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 terminal posture (such as horizontal and vertical screen switching, related games, Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 505 can also include fingerprint sensor, pressure sensor, iris sensor, molecular sensor, gyroscope, barometer, hygrometer, thermometer, infrared Sensors, etc., will not be repeated here.
  • the display unit 506 is used to display information input by the user or information provided to the user.
  • the display unit 506 may include a display panel 5061, and the display panel 5061 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 507 may be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the terminal.
  • the user input unit 507 includes a touch panel 5071 and other input devices 5072.
  • the touch panel 5071 also called a touch screen, can collect user 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 5071 or near the touch panel 5071. operating).
  • the touch panel 5071 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 510, the command sent by the processor 510 is received and executed.
  • the touch panel 5071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the user input unit 507 may also include other input devices 5072.
  • other input devices 5072 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 5071 can be overlaid on the display panel 5061.
  • the touch panel 5071 detects a touch operation on or near it, it is transmitted to the processor 510 to determine the type of the touch event.
  • the type of event provides corresponding visual output on the display panel 5061.
  • the touch panel 5071 and the display panel 5061 are used as two independent components to implement the input and output functions of the terminal, in some embodiments, the touch panel 5071 and the display panel 5061 can be integrated. Realize the input and output functions of the terminal, which are not limited here.
  • the interface unit 508 is an interface for connecting an external device with the terminal 500.
  • 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 508 may 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 terminal 500 or may be used to communicate between the terminal 500 and the external device. Transfer data between.
  • the memory 509 can be used to store software programs and various data.
  • the memory 509 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 (such as audio data, phone book, etc.) created by the use of mobile phones.
  • the memory 509 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 510 is the control center of the terminal. It uses various interfaces and lines to connect the various parts of the entire terminal. It executes by running or executing software programs and/or modules stored in the memory 509, and calling data stored in the memory 509. Various functions of the terminal and processing data, so as to monitor the terminal as a whole.
  • the processor 510 may include one or more processing units; preferably, the processor 510 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, application programs, etc., and the modem The processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 510.
  • the terminal 500 may also include a power source 511 (such as a battery) for supplying power to various components.
  • a power source 511 such as a battery
  • the power source 511 may be logically connected to the processor 510 through a power management system, so that the power management system can manage charging, discharging, and power consumption Features.
  • the terminal 500 includes some functional modules not shown, which will not be repeated here.
  • the embodiment of the present disclosure further provides a terminal, including a processor 510, a memory 509, a computer program stored on the memory 509 and running on the processor 510, and the computer program is implemented when the processor 510 is executed.
  • a terminal including a processor 510, a memory 509, a computer program stored on the memory 509 and running on the processor 510, and the computer program is implemented when the processor 510 is executed.
  • the embodiments of the present disclosure also provide 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 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 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. ⁇
  • the technical solution of the present disclosure essentially or the part that contributes to the related 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, optical disk). ) 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 disclosure.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Human Computer Interaction (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

一种屏幕内容显示方法及终端。所述方法包括:接收用户输入的截图操作(101);响应于所述截图操作,在所述第一屏幕显示的用户界面为目标界面的情况下,对所述用户界面的目标区域进行截图(102);其中,所述目标区域为所述用户界面包括目标信息的区域;将根据所述截图操作获得的截图显示于第二屏幕中。

Description

屏幕内容显示方法及终端
相关申请的交叉引用
本申请主张在2019年6月27日在中国提交的中国专利申请号No.201910570018.8的优先权,其全部内容通过引用包含于此。
技术领域
本公开涉及通信技术领域,尤其涉及一种屏幕内容显示方法及终端。
背景技术
随着智能终端(如手机、平板电脑)技术的发展,人们对智能终端的使用也越来越频繁。用户在使用智能终端时,时长会有将智能终端屏幕上显示的内容给他人查看的情况发生,例如,看到某个新闻或者图片想要分享给他人看,又或是通过支持识别二维码且支付功能的应用程序支付完后,将支付成功界面给商家查看等。
一般在给他人查看屏幕显示的内容时,会翻转智能终端,将屏幕朝向他人,以便他人查看屏幕显示的内容,操作有些不便。另外,有时给他人查看屏幕显示的内容时,终端可能正好接收到了隐私信息,并通过提示框显示了部分或全部隐私信息,这样则容易被他人看到,导致终端用户的信息泄露,存在安全风险。
发明内容
本公开实施例提供了一种屏幕内容显示方法及终端,以解决相关技术中在给他人查看屏幕显示的内容时,存在操作繁琐以及安全风险的问题。
为了解决上述技术问题,本公开采用如下技术方案:
第一方面,提供了一种屏幕内容显示方法,应用于终端,所述终端包括:第一屏幕和第二屏幕,所述第一屏幕与所述第二屏幕相背设置;其中,所述屏幕内容显示方法包括:
接收用户输入的截图操作;
响应于所述截图操作,在所述第一屏幕显示的用户界面为目标界面的情况下,对所述用户界面的目标区域进行截图;其中,所述目标区域为所述用户界面包括目标信息的区域;
将根据所述截图操作获得的截图显示于第二屏幕中。
第二方面,提供了一种终端,所述终端包括:第一屏幕和第二屏幕,所述第一屏幕与所述第二屏幕相背设置,所述终端还包括:
接收模块,用于接收用户输入的截图操作;
处理模块,用于响应于所述接收模块接收到的截图操作,在所述第一屏幕显示的用户界面为目标界面的情况下,对所述用户界面的目标区域进行截图;其中,所述目标区域为所述用户界面包括目标信息的区域;
显示模块,用于将所述处理模块根据所述截图操作获得的截图显示于第二屏幕中。
第三方面,提供了一种终端,包括:处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如上所述的屏幕内容显示方法的步骤。
第四方面,提供了一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如上所述的屏幕内容显示方法的步骤。
本公开实施例中,终端在对目标区域进行截图后,将截得的图像显示于第二屏幕中,这样,他人就可以直接通过第二屏幕查看终端用户想要分享的内容,由于终端用户也不必再进行翻转终端的操作,因此方便了终端用户将屏幕显示的信息展示给他人查看。另外,由于截图是第一屏幕显示的用户界面的部分区域,而非全部区域,这样又可以不用将第一屏幕显示的所有内容都提供给他人查看,从而降低隐私信息被他人看到的风险,提高终端使用的安全性。
附图说明
为了更清楚地说明本公开实施例的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本公 开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1表示本公开实施例提供的屏幕内容显示方法的流程示意图;
图2表示本公开实施例提供的示例的工作流程示意图之一;
图3表示本公开实施例提供的示例的工作流程示意图之二;
图4表示本公开实施例提供的终端的框图之一;
图5表示本公开实施例提供的终端的框图之二。
具体实施方式
下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。
依据本公开实施例的一个方面,提供了一种屏幕内容显示方法,应用于终端。该终端包括:第一屏幕和第二屏幕。其中,第一屏幕与第二屏幕相背设置。第一屏幕和第二屏幕可以是独立的两个显示屏幕,也可以是一个屏幕弯折后形成的两个子显示屏幕。
参见图1,该屏幕内容显示方法包括:
步骤101:接收用户输入的截图操作。
这里所述的截图操作可以是通过物理按键进行的截图操作(如电源键+home键或智慧识屏按键)、通过虚拟按键进行的截图操作、通过语音进行的截图操作、通过指纹按键进行的截图操作或通过在第一屏幕或第二屏幕的按压操作进行的截图操作等。该截图操作由终端用户主动触发,以便终端用户能够根据自身的需求进行截图选择。当然可以理解的是,该截图操作可以终端自动触发的,例如在确定第一屏幕显示的用户界面为目标界面时自动触发。
步骤102:响应于截图操作,在第一屏幕显示的用户界面为目标界面的情况下,对用户界面的目标区域进行截图。
其中,该目标区域为用户界面包括目标信息的区域,且是用户界面的部分区域。该目标信息为供他人查看的信息。该目标区域的具体大小,可根据 实际需求设计,包括目标信息即可。
本公开实施例中,终端接收到终端用户输入的截图操作后,在第一屏幕显示的用户界面为目标界面时,可对用户界面进行识别,确定目标信息在用户界面的位置,然后将用户界面中目标信息所在的区域,确定为目标区域,并对用户界面的目标区域进行截图,以使获得的截图中包括目标信息。
例如,在目标界面为新闻界面时,可以对新闻界面中包括的新闻内容(即目标信息)进行识别,并将新闻界面中新闻内容所在的区域确定为目标区域。
步骤103:将根据截图操作获得的截图显示于第二屏幕中。
本公开实施例中,终端在对目标区域进行截图后,将截得的图像显示于第二屏幕中,这样,他人就可以直接通过第二屏幕查看终端用户想要分享的内容,由于终端用户也不必再进行翻转终端的操作,因此方便了终端用户将屏幕显示的信息展示给他人查看。另外,由于截图是第一屏幕显示的用户界面的部分区域,而非全部区域,这样又可以不用将第一屏幕显示的所有内容都提供给他人查看,从而降低隐私信息被他人看到的风险,提高终端使用的安全性。
可选地,步骤102响应于截图操作,在第一屏幕显示的用户界面为目标界面的情况下,对用户界面的目标区域进行截图包括:响应于截图操作,获取用户界面中的第一信息;在根据第一信息确认用户界面为目标界面的情况下,对用户界面的目标区域进行截图。
本公开实施例中,在确定用户界面是否为目标界面时,可从该用户界面中获取第一信息,然后根据获取的第一信息确定该用户界面是否为目标界面。在确定用户界面为目标界面时,再对用户界面的目标区域进行截图。
其中,这里所述的第一信息为用户界面中的全部或部分信息。该第一信息可根据目标界面的类型进行设计设计,例如,在用户界面为支付界面,目标界面为支付成功界面,目标信息为支付信息(该支付信息至少包括:支付金额信息、收款方信息、交易状态信息和支付成功界面中的图标信息)时,该第一信息可至少包括:支付金额信息、收款方信息、交易状态信息、支付界面中的图标信息以及支付金额信息、收款方信息、交易状态信息、支付界面的图标信息在支付界面上的位置信息。这里所述的交易状态信息为用于指 示交易成功或失败的信息。
本公开实施例中,通过用户界面中的第一信息来确定用户界面是否为目标界面,可以提高判断的准确性。
其中,在根据第一信息确认用户界面为目标界面的情况下,对用户界面的目标区域进行截图包括:发送第一信息至服务器;接收服务器下发的确认信息;根据该确认信息,将用户界面中包括目标信息的区域,确定为目标区域,并对目标区域进行截图。这里所述的确认信息为服务器将第一信息与预先存储的目标界面信息进行对比后下发的,用于指示用户界面为目标界面。
本公开实施例中,在确定用户界面是否为目标界面时,可以将获取的第一信息发送至服务器,服务器接收到终端上传的第一信息后,可将该第一信息与已存储的大数据目标界面信息进行比对,从而来判断用户界面是否为目标界面。在服务器确定用户界面为目标界面后,下发反馈信息至终端,以告知终端该用户界面为目标界面,终端在确定用户界面为目标界面时,对用户界面的目标区域进行截图。而在服务器确定用户界面不是目标界面后,同样下发反馈信息至终端,以告知终端该用户界面非目标界面,终端则不执行对该用户界面的截图操作。
由于服务器可存储大量有关目标界面的数据,因此通过服务器来判断用户界面是否为目标界面,可进一步提高判断的准确性。另外,第一信息是作为数据流上传服务器的,数据流的加密方式多样,难以破解,因此安全性更高。进一步地,由于只是将从用户界面提取的第一信息上传至服务器,而非将整个用户界面的图像上传服务器,因此,这样还能够减小数据流,降低数据流量的使用。
为了更好的理解上述技术方案,下面以一示例加以说明。
假设,终端为手机,用户界面为支付界面,目标界面为支付成功界面,目标信息为支付信息。
参见图2,具体流程包括:
步骤201:当终端用户支付完成后,手机的第一屏幕(如主屏)的显示停留在支付界面,如微信、支付宝的支付界面,然后进入步骤202。
步骤202:终端用户按下手机左侧的智慧识屏按键,然后进入步骤203。
步骤203:手机在检测到智慧识屏按键被触发后,通过图像处理算法,解析出当前支付界面的第一信息,然后进入步骤204。
步骤204:手机将解析出的第一信息上传至服务器,然后进入步骤205。
步骤205:服务器将该第一信息与已有的大数据支付成功界面信息进行比对,然后进入步骤206或步骤207。
其中,该第一信息可至少包括:支付金额信息、收款方信息、交易状态信息、用户界面中的图标信息以及支付金额信息、收款方信息、交易状态信息、支付界面的图标信息在用户界面上的位置信息。
步骤206:服务器通过该第一信息,确定该支付界面为支付成功界面,则下发反馈信息至手机,以告知用户比对结果,然后进入步骤208。
步骤207:服务器通过该第一信息,确定该支付界面非支付成功界面,或是比对失败后,下发反馈信息至手机,以告知用户比对结果,然后进入步骤211。
步骤208:手机根据接收到反馈信息,确定该支付界面为支付成功界面时,响应截图操作,对支付界面中包含支付信息的目标区域进行截图,然后进入步骤209。
其中,该支付信息至少包括:支付金额信息、收款方信息、交易状态信息和支付成功界面中的图标信息等。
步骤209:手机将截得的截图以动画的方式传到第二屏幕(如副屏)进行显示,然后进入步骤210。
其中,这里所述的动画方式可以是截图向终端顶部向移动,直至消失于第一屏幕中。
步骤210:手机的第二屏幕亮起,显示第一屏幕传过来的截图,并且在截图显示于第二屏幕预设时长(如10秒钟)后,控制第二屏幕自动熄灭,流程结束。
步骤211:手机根据接收到的指示信息,确定该支付界面非支付界面时,不响应因触发智慧识屏按键而产生的截图操作,流程结束。
以上即为该示例的流程,需要说明的是,该示例仅为示意用,并非是对本公开实施例的具体限定。
可选地,步骤102响应于截图操作,在第一屏幕显示的用户界面为目标界面的情况下,对用户界面的目标区域进行截图包括:响应于截图操作,检测触控体在第一屏幕上的滑动轨迹;根据滑动轨迹,确定用户界面的目标区域;对确定的目标区域进行截图。
本公开实施例中,用户可手动截图,通过手指或触控笔等,在第一屏幕描绘截图轨迹(即滑动轨迹),然后终端根据该截图轨迹对该用户界面进行截图,这样的方式使得终端用户可以根据自身需求来截取相应的图像,避免将隐私信息泄露给他人。
例如,在用户界面为支付界面,目标界面为支付成功界面,目标信息为支付信息时,若终端用户需要将支付成功界面给卖家查看,则可在触发截图操作后,通过手指在支付成功界面描绘截图轨迹,从而使终端根据该截图轨迹进行截图。其中,获得的截图中应当至少包括:支付金额信息、收款方信息、交易状态信息和支付成功界面中的图标信息这些支付信息,以便卖家查看。
可选地,步骤102响应于截图操作,在第一屏幕显示的用户界面为目标界面的情况下,对用户界面的目标区域进行截图,包括:响应于截图操作,获取第一屏幕上的滑动轨迹;检测滑动轨迹是否形成闭环轨迹;在滑动轨迹形成闭环轨迹时,将闭环轨迹围设出的区域,确定为目标区域;在滑动轨迹未形成闭环轨迹,且预设时间内滑动轨迹未发生变化时,按照预设方法对滑动轨迹进行补全形成闭环轨迹,并将闭环轨迹围设出的区域确定为目标区域;对目标区域进行截图。
终端用户手动截图时,终端检测该截图轨迹是否形成闭环轨迹。在截图轨迹形成闭环轨迹时,认为闭环轨迹围设出的区域即为终端用户想要截取的图像,则将该闭环轨迹围设出的区域确定为目标区域。在截图轨迹未形成闭环轨迹,且预设时间内滑动轨迹未发生变化时,终端可按照预设方法对该截图轨迹进行自动补全,形成闭环轨迹(自动补全的闭环轨迹围设出的区域内包括所述目标信息),并将该闭环轨迹围设出的区域确定为目标区域,以便于对目标区域进行截图。当然可以理解的是,也可以设计在截图轨迹未形成闭环轨迹时,忽略终端用户本次的截图操作。
在对截图轨迹自动补全时,可根据目标信息在用户界面中位置和滑动轨迹的两个端点,并按照预设方法,对滑动轨迹进行补全形成闭环轨迹,以使该闭环轨迹围设出的区域包括目标信息,从而将闭环轨迹围设出的区域确定为目标区域。
为了更好的理解上述技术方案,下面以一示例加以说明。
假设,终端为手机,用户界面为支付界面,目标界面为支付成功界面,目标信息为支付信息。
参见图3,具体流程包括:
步骤301:当终端用户支付完成后,第一屏幕(如主屏)的显示停留在用户支付成功界面,如微信、支付宝的支付成功界面,然后进入步骤302。
步骤302:终端用户在第一屏幕进行长按触控操作,触发手动截屏功能,然后进入步骤303。
步骤303:手机检测终端用户在第一屏幕上的滑动轨迹,判断当前的滑动轨迹是否形成闭环,然后进入步骤304或步骤305。
其中,滑动轨迹形成截图的边界。
步骤304:手机在检测到滑动轨迹形成闭环后,根据滑动轨迹对支付成功界面进行截图,然后进入步骤306。
步骤305:手机在检测到滑动轨迹未形成闭环,且预设时间内该滑动轨迹未发生变化后,对滑动轨迹进行自动补全,然后根据补全后的滑动轨迹对支付成功界面进行截图,然后进入步骤306。
步骤306:形成截图预览界面显示于第一屏幕中,然后进入步骤307。
步骤307:终端用户在第一屏幕上做手势上划操作,然后进入步骤308。
步骤308:根据终端用户的上划操作,将截得的截图以动画的方式传到第二屏幕(如副屏)进行显示,并且在截图显示于第二屏幕预设时长(如10秒钟)后控制第二屏幕自动熄灭,流程结束。
其中,这里所述的动画方式可以是截图沿用户在第一屏幕上的手势方向移动,直至消失于第一屏幕中。
以上即为该示例的流程,需要说明的是,该示例仅为示意用,并非是对本公开实施例的具体限定。
本公开实施例中,终端在对目标区域进行截图后,将截得的图像显示于第二屏幕中,这样,他人就可以直接通过第二屏幕查看终端用户想要分享的内容,由于终端用户也不必再进行翻转终端的操作,因此方便了终端用户将屏幕显示的信息展示给他人查看。另外,由于截图是第一屏幕显示的用户界面的部分区域,而非全部区域,这样又可以不用将第一屏幕显示的所有内容都提供给他人查看,从而降低隐私信息被他人看到的风险,提高终端使用的安全性。
依据本公开实施例的另一个方面,提供了一种终端,能实现上述屏幕内容显示方法中的细节,并达到相同的效果。
其中,所述终端包括:第一屏幕和第二屏幕,所述第一屏幕与所述第二屏幕相背设置。
参见图4,所述终端还包括:
接收模块401,用于接收用户输入的截图操作。
处理模块402,用于响应于所述接收模块401接收到的截图操作,在所述第一屏幕显示的用户界面为目标界面的情况下,对所述用户界面的目标区域进行截图。
其中,所述目标区域为所述用户界面包括目标信息的区域,且为所述用户界面的部分区域。
显示模块403,用于将所述处理模块402根据所述截图操作获得的截图显示于第二屏幕中。
可选地,所述处理模块402包括:
第一获取子模块,用于响应于所述接收模块401接收到的截图操作,获取所述用户界面中的第一信息。
其中,所述第一信息为所述用户界面中的全部或部分信息。
第一截图子模块,用于在根据所述第一获取子模块获取到的第一信息确认所述用户界面为目标界面的情况下,将所述用户界面中包括所述目标信息的区域,确定为所述目标区域,并对所述目标区域进行截图。
可选地,所述第一截图子模块包括:
发送单元,用于发送所述获取单元获取到的第一信息至服务器。
接收单元,用于接收所述服务器下发的确认信息。
其中,所述确认信息为所述服务器将所述第一信息与预先存储的目标界面信息进行对比后下发的,用于指示所述用户界面为目标界面。
截图单元,用于根据所述接收单元接收到的确认信息,将所述用户界面中包括所述目标信息的区域,确定为所述目标区域,并对所述目标区域进行截图。
可选地,所述处理模块402包括:
第二获取子模块,用于响应于所述截图操作,获取所述第一屏幕上的滑动轨迹。
检测子模块,用于检测所述第二获取子模块获取的所述滑动轨迹是否形成闭环轨迹。
第一确定子模块,用于在所述检测子模块检测到所述滑动轨迹形成闭环轨迹时,将所述闭环轨迹围设出的区域,确定为所述目标区域。
第二确定子模块,用于在所述检测子模块检测到所述滑动轨迹未形成闭环轨迹,且预设时间内所述滑动轨迹未发生变化时,并按照预设方法对所述滑动轨迹进行补全形成闭环轨迹,并将所述闭环轨迹围设出的区域确定为所述目标区域。
其中,自动补全的闭环轨迹围设出的区域内包括所述目标信息。
第二截图子模块,用于对所述目标区域进行截图。
可选地,所述第二确定子模块包括:
轨迹处理单元,用于在所述滑动轨迹未形成闭环轨迹,且预设时间内所述滑动轨迹未发生变化时,根据所述用户界面的目标信息和所述滑动轨迹,按照所述预设方法对所述滑动轨迹进行补全形成闭环轨迹;
确定单元,用于将所述闭环轨迹围设出的区域确定为所述目标区域。
可选地,所述用户界面为支付界面,所述目标界面为支付成功界面,所述目标信息为支付信息。
可选地,所述支付信息至少包括:支付金额信息、收款方信息、交易状态信息和支付成功界面中的图标信息。
可选地,在所述用户界面为支付界面,所述目标界面为支付成功界面, 所述目标信息为支付信息时,所述第一信息至少包括:支付金额信息、收款方信息、交易状态信息、所述支付界面中的图标信息以及所述支付金额信息、收款方信息、交易状态信息、所述支付界面中的图标信息在所述支付界面上的位置信息。
本公开实施例中,终端在对目标区域进行截图后,将截得的图像显示于第二屏幕中,这样,他人就可以直接通过第二屏幕查看终端用户想要分享的内容,由于终端用户也不必再进行翻转终端的操作,因此方便了终端用户将屏幕显示的信息展示给他人查看。另外,由于截图是第一屏幕显示的用户界面的部分区域,而非全部区域,这样又可以不用将第一屏幕显示的所有内容都提供给他人查看,从而降低隐私信息被他人看到的风险,提高终端使用的安全性。
图5为实现本公开各个实施例的一种终端的硬件结构示意图。
该终端500包括但不限于:射频单元501、网络模块502、音频输出单元503、输入单元504、传感器505、显示单元506、用户输入单元507、接口单元508、存储器509、处理器510、以及电源511等部件。本领域技术人员可以理解,图5中示出的终端结构并不构成对终端的限定,终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本公开实施例中,终端包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。
处理器510,用于接收用户输入的截图操作;响应于所述截图操作,在所述第一屏幕显示的用户界面为目标界面的情况下,对所述用户界面的目标区域进行截图;通过显示单元506将根据所述截图操作获得的截图显示于第二屏幕中。
其中,所述目标区域为所述用户界面包括目标信息的区域,且为所述用户界面的部分区域。
本公开实施例中,终端在对目标区域进行截图后,将截得的图像显示于第二屏幕中,这样,他人就可以直接通过第二屏幕查看终端用户想要分享的内容,由于终端用户也不必再进行翻转终端的操作,因此方便了终端用户将屏幕显示的信息展示给他人查看。另外,由于截图是第一屏幕显示的用户界 面的部分区域,而非全部区域,这样又可以不用将第一屏幕显示的所有内容都提供给他人查看,从而降低隐私信息被他人看到的风险,提高终端使用的安全性。
应理解的是,本公开实施例中,射频单元501可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器510处理;另外,将上行的数据发送给基站。通常,射频单元501包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元501还可以通过无线通信系统与网络和其他设备通信。
终端通过网络模块502为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。
音频输出单元503可以将射频单元501或网络模块502接收的或者在存储器509中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元503还可以提供与终端500执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元503包括扬声器、蜂鸣器以及受话器等。
输入单元504用于接收音频或视频信号。输入单元504可以包括图形处理器(Graphics Processing Unit,GPU)5041和麦克风5042,图形处理器5041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元506上。经图形处理器5041处理后的图像帧可以存储在存储器509(或其它存储介质)中或者经由射频单元501或网络模块502进行发送。麦克风5042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元501发送到移动通信基站的格式输出。
终端500还包括至少一种传感器505,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板5061的亮度,接近传感器可在终端500移动到耳边时,关闭显示面板5061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小, 静止时可检测出重力的大小及方向,可用于识别终端姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器505还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。
显示单元506用于显示由用户输入的信息或提供给用户的信息。显示单元506可包括显示面板5061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板5061。
用户输入单元507可用于接收输入的数字或字符信息,以及产生与终端的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元507包括触控面板5071以及其他输入设备5072。触控面板5071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板5071上或在触控面板5071附近的操作)。触控面板5071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器510,接收处理器510发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板5071。除了触控面板5071,用户输入单元507还可以包括其他输入设备5072。具体地,其他输入设备5072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。
进一步的,触控面板5071可覆盖在显示面板5061上,当触控面板5071检测到在其上或附近的触摸操作后,传送给处理器510以确定触摸事件的类型,随后处理器510根据触摸事件的类型在显示面板5061上提供相应的视觉输出。虽然在图5中,触控面板5071与显示面板5061是作为两个独立的部件来实现终端的输入和输出功能,但是在某些实施例中,可以将触控面板5071与显示面板5061集成而实现终端的输入和输出功能,具体此处不做限定。
接口单元508为外部装置与终端500连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或 无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元508可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到终端500内的一个或多个元件或者可以用于在终端500和外部装置之间传输数据。
存储器509可用于存储软件程序以及各种数据。存储器509可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器509可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
处理器510是终端的控制中心,利用各种接口和线路连接整个终端的各个部分,通过运行或执行存储在存储器509内的软件程序和/或模块,以及调用存储在存储器509内的数据,执行终端的各种功能和处理数据,从而对终端进行整体监控。处理器510可包括一个或多个处理单元;优选的,处理器510可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器510中。
终端500还可以包括给各个部件供电的电源511(比如电池),优选的,电源511可以通过电源管理系统与处理器510逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。
另外,终端500包括一些未示出的功能模块,在此不再赘述。
优选的,本公开实施例还提供一种终端,包括处理器510,存储器509,存储在存储器509上并可在所述处理器510上运行的计算机程序,该计算机程序被处理器510执行时实现上述屏幕内容显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
本公开实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述屏幕内容显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘 述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本公开的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本公开各个实施例所述的方法。
上面结合附图对本公开的实施例进行了描述,但是本公开并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本公开的启示下,在不脱离本公开宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本公开的保护之内。

Claims (12)

  1. 一种屏幕内容显示方法,应用于终端,所述终端包括:第一屏幕和第二屏幕,所述第一屏幕与所述第二屏幕相背设置,其中,所述方法包括:
    接收用户输入的截图操作;
    响应于所述截图操作,在所述第一屏幕显示的用户界面为目标界面的情况下,对所述用户界面的目标区域进行截图;其中,所述目标区域为所述用户界面包括目标信息的区域;
    将根据所述截图操作获得的截图显示于第二屏幕中。
  2. 根据权利要求1所述的方法,其中,所述响应于所述截图操作,在所述第一屏幕显示的用户界面为目标界面的情况下,对所述用户界面的目标区域进行截图,包括:
    响应于所述截图操作,获取所述用户界面中的第一信息;所述第一信息为所述用户界面中的全部或部分信息;
    在根据所述第一信息确认所述用户界面为目标界面的情况下,将所述用户界面中包括所述目标信息的区域,确定为所述目标区域,并对所述目标区域进行截图。
  3. 根据权利要求2所述的方法,其中,所述在根据所述第一信息确认所述用户界面为目标界面的情况下,将所述用户界面中包括所述目标信息的区域,确定为所述目标区域,并对所述目标区域进行截图,包括:
    发送所述第一信息至服务器;
    接收所述服务器下发的确认信息;所述确认信息为所述服务器将所述第一信息与预先存储的目标界面信息进行对比后下发的,用于指示所述用户界面为目标界面;
    根据所述确认信息,将所述用户界面中包括所述目标信息的区域,确定为所述目标区域,并对所述目标区域进行截图。
  4. 根据权利要求1所述的方法,其中,所述响应于所述截图操作,在所述第一屏幕显示的用户界面为目标界面的情况下,对所述用户界面的目标区域进行截图,包括:
    响应于所述截图操作,获取所述第一屏幕上的滑动轨迹;
    检测所述滑动轨迹是否形成闭环轨迹;
    在所述滑动轨迹形成闭环轨迹时,将所述闭环轨迹围设出的区域,确定为所述目标区域;
    在所述滑动轨迹未形成闭环轨迹,且预设时间内所述滑动轨迹未发生变化时,按照预设方法对所述滑动轨迹进行补全形成闭环轨迹,并将所述闭环轨迹围设出的区域确定为所述目标区域;其中,所述闭环轨迹围设出的区域内包括所述目标信息
    对所述目标区域进行截图。
  5. 根据权利要求4所述的方法,其中,所述在所述滑动轨迹未形成闭环轨迹,且预设时间内所述滑动轨迹未发生变化时,按照预设方法对所述滑动轨迹进行补全形成闭环轨迹,并将所述闭环轨迹围设出的区域确定为所述目标区域,包括:
    在所述滑动轨迹未形成闭环轨迹,且预设时间内所述滑动轨迹未发生变化时,根据所述用户界面的目标信息和所述滑动轨迹的两个端点,并按照所述预设方法对所述滑动轨迹进行补全形成闭环轨迹;
    将所述闭环轨迹围设出的区域确定为所述目标区域。
  6. 一种终端,包括:第一屏幕和第二屏幕,所述第一屏幕与所述第二屏幕相背设置,其中,所述终端还包括:
    接收模块,用于接收用户输入的截图操作;
    处理模块,用于响应于所述接收模块接收到的截图操作,在所述第一屏幕显示的用户界面为目标界面的情况下,对所述用户界面的目标区域进行截图;其中,所述目标区域为所述用户界面包括目标信息的区域;
    显示模块,用于将所述处理模块根据所述截图操作获得的截图显示于第二屏幕中。
  7. 根据权利要求6所述的终端,其中,所述处理模块包括:
    第一获取子模块,用于响应于所述接收模块接收到的截图操作,获取所述用户界面中的第一信息;所述第一信息为所述用户界面中的全部或部分信息;
    第一截图子模块,用于在根据所述第一获取子模块获取到的第一信息确认所述用户界面为目标界面的情况下,将所述用户界面中包括所述目标信息的区域,确定为所述目标区域,并对所述目标区域进行截图。
  8. 根据权利要求7所述的终端,其中,所述第一截图子模块包括:
    发送单元,用于发送所述获取单元获取到的第一信息至服务器;
    接收单元,用于接收所述服务器下发的确认信息,所述确认信息为所述服务器将所述第一信息与预先存储的目标界面信息进行对比后下发的,用于指示所述用户界面为目标界面;
    截图单元,用于根据所述接收单元接收到的确认信息,将所述用户界面中包括所述目标信息的区域,确定为所述目标区域,并对所述目标区域进行截图。
  9. 根据权利要求6所述的终端,其中,所述处理模块包括:
    第二获取子模块,用于响应于所述截图操作,获取所述第一屏幕上的滑动轨迹;
    检测子模块,用于检测所述第二获取子模块获取的所述滑动轨迹是否形成闭环轨迹;
    第一确定子模块,用于在所述检测子模块检测到所述滑动轨迹形成闭环轨迹时,将所述闭环轨迹围设出的区域,确定为所述目标区域;
    第二确定子模块,用于在所述检测子模块检测到所述滑动轨迹未形成闭环轨迹,且预设时间内所述滑动轨迹未发生变化时,并按照预设方法对所述滑动轨迹进行补全形成闭环轨迹,并将所述闭环轨迹围设出的区域确定为所述目标区域;其中,所述闭环轨迹围设出的区域内包括所述目标信息;
    第二截图子模块,用于对所述目标区域进行截图。
  10. 根据权利要求9所述的终端,其中,所述第二确定子模块包括:
    轨迹处理单元,用于在所述滑动轨迹未形成闭环轨迹,且预设时间内所述滑动轨迹未发生变化时,根据所述用户界面的目标信息和所述滑动轨迹,按照所述预设方法对所述滑动轨迹进行补全形成闭环轨迹;
    确定单元,用于将所述闭环轨迹围设出的区域确定为所述目标区域。
  11. 一种终端,包括:处理器、存储器及存储在所述存储器上并可在所 述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至5中任一项所述的屏幕内容显示方法的步骤。
  12. 一种计算机可读存储介质,其中,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1至5中任一项所述的屏幕内容显示方法的步骤。
PCT/CN2020/089079 2019-06-27 2020-05-08 屏幕内容显示方法及终端 Ceased WO2020259091A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910570018.8 2019-06-27
CN201910570018.8A CN110287741A (zh) 2019-06-27 2019-06-27 一种屏幕内容显示方法及终端

Publications (1)

Publication Number Publication Date
WO2020259091A1 true WO2020259091A1 (zh) 2020-12-30

Family

ID=68019952

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/089079 Ceased WO2020259091A1 (zh) 2019-06-27 2020-05-08 屏幕内容显示方法及终端

Country Status (2)

Country Link
CN (1) CN110287741A (zh)
WO (1) WO2020259091A1 (zh)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110287741A (zh) * 2019-06-27 2019-09-27 维沃移动通信有限公司 一种屏幕内容显示方法及终端
CN110851099A (zh) * 2019-11-11 2020-02-28 维沃移动通信有限公司 一种调节方法及电子设备
CN114527900A (zh) * 2020-10-30 2022-05-24 华为技术有限公司 界面信息的展示方法和电子设备
CN112733213B (zh) * 2020-12-28 2022-04-01 维沃移动通信有限公司 内容显示的方法及装置
CN112764624B (zh) 2021-01-26 2022-09-09 维沃移动通信有限公司 息屏显示方法及装置
CN114911397B (zh) * 2022-05-18 2024-08-06 北京五八信息技术有限公司 一种数据处理方法、装置、电子设备及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108563966A (zh) * 2018-03-02 2018-09-21 北京珠穆朗玛移动通信有限公司 截图显示方法、移动终端及存储介质
CN108898552A (zh) * 2018-06-27 2018-11-27 努比亚技术有限公司 图片拼接方法、双屏终端及计算机可读存储介质
CN109309753A (zh) * 2018-07-23 2019-02-05 努比亚技术有限公司 图片分享方法、终端及计算机可读存储介质
CN110287741A (zh) * 2019-06-27 2019-09-27 维沃移动通信有限公司 一种屏幕内容显示方法及终端

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104679405B (zh) * 2015-02-06 2019-05-14 深圳市金立通信设备有限公司 一种终端
CN107678644B (zh) * 2017-09-18 2020-06-02 维沃移动通信有限公司 一种图像处理方法及移动终端
CN107861681A (zh) * 2017-10-26 2018-03-30 深圳市万普拉斯科技有限公司 截屏处理方法、装置、计算机设备和存储介质

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108563966A (zh) * 2018-03-02 2018-09-21 北京珠穆朗玛移动通信有限公司 截图显示方法、移动终端及存储介质
CN108898552A (zh) * 2018-06-27 2018-11-27 努比亚技术有限公司 图片拼接方法、双屏终端及计算机可读存储介质
CN109309753A (zh) * 2018-07-23 2019-02-05 努比亚技术有限公司 图片分享方法、终端及计算机可读存储介质
CN110287741A (zh) * 2019-06-27 2019-09-27 维沃移动通信有限公司 一种屏幕内容显示方法及终端

Also Published As

Publication number Publication date
CN110287741A (zh) 2019-09-27

Similar Documents

Publication Publication Date Title
WO2021098678A1 (zh) 投屏控制方法及电子设备
CN108182019B (zh) 一种悬浮控件显示处理方法及移动终端
WO2020147674A1 (zh) 未读消息提示方法及移动终端
WO2020156111A1 (zh) 界面显示方法及终端
CN108536411A (zh) 一种移动终端控制方法及移动终端
WO2020259091A1 (zh) 屏幕内容显示方法及终端
CN108536365A (zh) 一种图像分享方法及终端
CN108628565B (zh) 一种移动终端操作方法及移动终端
CN107977144A (zh) 一种截屏处理方法及移动终端
CN107908382B (zh) 一种分屏显示方法及移动终端
WO2020238497A1 (zh) 图标移动方法及终端设备
CN108471498A (zh) 一种拍摄预览方法及终端
CN109710349B (zh) 一种截屏方法及移动终端
CN107707953A (zh) 一种资源数据展示方法及移动终端
WO2019179332A1 (zh) 应用程序的关闭方法及移动终端
WO2021068885A1 (zh) 控制方法及电子设备
WO2020238449A1 (zh) 通知消息的处理方法及终端
WO2019184947A1 (zh) 图像查看方法及移动终端
WO2020233323A1 (zh) 显示控制方法、终端设备及计算机可读存储介质
CN108628515A (zh) 一种多媒体内容的操作方法和移动终端
WO2020151513A1 (zh) 信息处理方法及终端设备
WO2021104232A1 (zh) 显示方法及电子设备
CN110324497A (zh) 一种操作控制方法及终端
WO2019154360A1 (zh) 界面切换方法及移动终端
WO2021031844A1 (zh) 图标显示方法及终端

Legal Events

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

Ref document number: 20832084

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

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 20832084

Country of ref document: EP

Kind code of ref document: A1