CN108898552B - Picture splicing method, double-screen terminal and computer readable storage medium - Google Patents
Picture splicing method, double-screen terminal and computer readable storage medium Download PDFInfo
- Publication number
- CN108898552B CN108898552B CN201810686227.4A CN201810686227A CN108898552B CN 108898552 B CN108898552 B CN 108898552B CN 201810686227 A CN201810686227 A CN 201810686227A CN 108898552 B CN108898552 B CN 108898552B
- Authority
- CN
- China
- Prior art keywords
- picture
- screen
- main screen
- auxiliary
- current preview
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/40—Scaling of whole images or parts thereof, e.g. expanding or contracting
- G06T3/4038—Image mosaicing, e.g. composing plane images from plane sub-images
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/50—Image enhancement or restoration using two or more images, e.g. averaging or subtraction
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Image Processing (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a picture splicing method which is applied to a double-screen terminal comprising a main screen and an auxiliary screen, and comprises the following steps: when the double-screen terminal receives a user instruction triggered by a user based on a volume key and a power key, detecting whether the main screen and the auxiliary screen are both in a picture preview mode so as to judge the type of the user instruction; if yes, judging the type of the user instruction as a picture splicing instruction; respectively acquiring picture paths of current preview pictures in a main screen and an auxiliary screen, and judging whether the current preview pictures in the main screen and the auxiliary screen are stored in a double-screen terminal or not according to the picture paths; if yes, acquiring current preview pictures in the main screen and the auxiliary screen according to the picture path, and performing picture splicing processing to generate corresponding puzzles. The invention also discloses a double-screen terminal and a computer readable storage medium. The invention can realize the rapid splicing of the current preview pictures in the main screen and the auxiliary screen of the double-screen terminal, save the time of a user and improve the user experience.
Description
Technical Field
The present invention relates to the field of image stitching technology, and in particular, to an image stitching method, a dual-screen terminal, and a computer readable storage medium.
Background
With the development of communication equipment technology, especially the rapid development of the mobile phone industry, mobile phones have become necessary communication equipment in daily life, and meanwhile, the requirements of people on mobile phones are gradually increased. In recent years, a dual-screen smart phone is slowly popularized and popularized, and brings better experience to people, but certain functions of the dual-screen smart phone are still to be perfected, for example, when a user browses pictures in two screens of the dual-screen smart phone respectively, if the currently viewed pictures in a main screen and an auxiliary screen of a dual-screen terminal are required to be spliced, after a picture interface is withdrawn from a certain screen, two pictures are required to be searched by starting picture processing software, then the two pictures are spliced together, the operation process is complicated, and the user is required to search the just viewed pictures again in a plurality of pictures in a folder, so that time is wasted, the jigsaw efficiency is low, and the user experience is poor.
The foregoing is provided merely for the purpose of facilitating understanding of the technical solutions of the present invention and is not intended to represent an admission that the foregoing is prior art.
Disclosure of Invention
The invention mainly aims to provide a picture splicing method, a double-screen terminal and a computer readable storage medium, which aim to realize rapid splicing of current preview pictures in a main screen and an auxiliary screen of the double-screen terminal, save the time of a user and improve the user experience.
In order to achieve the above object, the present invention provides a picture stitching method applied to a dual-screen terminal, where the dual-screen terminal includes a main screen and an auxiliary screen, and the picture stitching method includes:
when the double-screen terminal receives a user instruction triggered by a user based on a volume key and a power key, detecting whether the main screen and the auxiliary screen are both in a picture preview mode or not so as to judge the type of the user instruction;
if the main screen and the auxiliary screen are both in the picture preview mode, judging that the type of the user instruction is a picture splicing instruction;
respectively acquiring picture paths of current preview pictures in the main screen and the auxiliary screen, and judging whether the current preview pictures in the main screen and the auxiliary screen are stored in the double-screen terminal or not according to the picture paths;
and if the current preview pictures in the main screen and the auxiliary screen are stored in the double-screen terminal, acquiring the current preview pictures in the main screen and the auxiliary screen according to the picture path, and performing picture splicing processing on the acquired current preview pictures in the main screen and the auxiliary screen to generate corresponding puzzles.
Optionally, before the step of performing the image stitching processing on the obtained current preview images in the main screen and the auxiliary screen to generate the corresponding jigsaw, the method further includes:
Displaying a preset splicing mode selection interface on the main screen, wherein the splicing mode selection interface at least comprises more than two splicing modes;
when receiving a user-triggered splicing mode selection instruction, performing image splicing processing on the obtained current preview images in the main screen and the auxiliary screen to generate corresponding puzzles, wherein the method comprises the following steps of:
and performing picture splicing processing on the obtained current preview pictures in the main screen and the auxiliary screen according to the splicing mode in the splicing mode selection instruction so as to generate corresponding puzzles.
Optionally, after the steps of respectively obtaining the picture paths of the current preview pictures in the main screen and the auxiliary screen, and judging whether the current preview pictures in the main screen and the auxiliary screen are both stored in the dual-screen terminal according to the picture paths, the method includes:
if only one of the current preview pictures in the main screen and the auxiliary screen is stored in the double-screen terminal, marking the current preview picture stored in the double-screen terminal as a first picture, and marking the current preview picture which is not stored in the double-screen terminal as a second picture;
acquiring the first picture according to the picture path of the first picture, and performing screenshot operation on a screen corresponding to the second picture to acquire a picture screenshot corresponding to the second picture;
And carrying out picture splicing processing on picture screenshots corresponding to the first picture and the second picture so as to generate corresponding jigsaw.
Optionally, after the step of recording the current preview picture stored in the dual-screen terminal as the first picture and recording the current preview picture not stored in the dual-screen terminal as the second picture if only one of the current preview pictures in the primary screen and the secondary screen is stored in the dual-screen terminal, the method further includes:
acquiring the first picture according to a picture path of the first picture;
displaying a screenshot frame on a screen corresponding to the second picture, and acquiring a corresponding region screenshot according to the screenshot operation when receiving the screenshot operation triggered by a user based on the screenshot frame;
and carrying out picture splicing processing on the first picture and the region screenshot so as to generate a corresponding jigsaw.
Optionally, after the steps of respectively obtaining the picture paths of the current preview pictures in the main screen and the auxiliary screen, and judging whether the current preview pictures in the main screen and the auxiliary screen are both stored in the dual-screen terminal according to the picture paths, the method further includes:
if the current preview pictures in the main screen and the auxiliary screen are not stored in the double-screen terminal, performing screenshot operation on the main screen and the auxiliary screen respectively to obtain corresponding main screen screenshot and auxiliary screen screenshot;
And performing picture splicing processing on the main screen capture and the auxiliary screen capture to generate corresponding jigsaw.
Optionally, the picture stitching method further includes:
after generating the corresponding jigsaw, detecting the installed social software in the double-screen terminal, generating a corresponding jigsaw sharing page based on the installed social software and the jigsaw, and displaying the corresponding jigsaw sharing page in the main screen;
and when receiving a puzzle sharing request triggered by a user based on the puzzle sharing page, sending the puzzle to a corresponding social platform according to social software information in the puzzle sharing request.
Optionally, the picture stitching method further includes:
after generating the corresponding jigsaw, detecting the installed picture processing software in the double-screen terminal, generating the corresponding jigsaw beautifying page based on the installed picture processing software and the jigsaw, and displaying the corresponding jigsaw beautifying page in the main screen;
when a jigsaw beautifying request triggered by a user based on the jigsaw beautifying page is received, skipping to corresponding picture processing software according to the picture processing software information in the jigsaw beautifying request, so that the user beautifies the jigsaw.
Optionally, the picture stitching method further includes:
if any one of the main screen and the auxiliary screen is not in the picture preview mode, judging the type of the user instruction as a screenshot instruction;
and respectively carrying out screenshot operation on the main screen and the auxiliary screen according to the screenshot instruction, and storing the obtained screenshot into a preset folder.
In addition, in order to achieve the above object, the present invention also provides a dual-screen terminal, which includes a main screen and an auxiliary screen, and further includes a memory, a processor, and a picture stitching program stored in the memory and capable of running on the processor, wherein the picture stitching program when executed by the processor implements the steps of the picture stitching method as described above.
In addition, to achieve the above object, the present invention also provides a computer-readable storage medium having stored thereon a picture stitching program which, when executed by a processor, implements the steps of the picture stitching method as described above.
The invention provides a picture splicing method, a double-screen terminal and a computer readable storage medium, wherein the method is applied to the double-screen terminal, the double-screen terminal comprises a main screen and an auxiliary screen, and when the double-screen terminal receives a user instruction triggered by a user based on a volume down key and a power key, whether the main screen and the auxiliary screen of the double-screen terminal are in a picture preview mode or not is detected, so that the type of the user instruction is judged. And if the main screen and the auxiliary screen of the double-screen terminal are both in the picture preview mode, judging the type of the user instruction as a picture splicing instruction. And then, respectively acquiring the picture paths of the current preview pictures in the main screen and the auxiliary screen, judging whether the current preview pictures in the main screen and the auxiliary screen are stored in the double-screen terminal according to the picture paths, if the current preview pictures in the main screen and the auxiliary screen are stored in the double-screen terminal, acquiring the current preview pictures in the main screen and the current preview pictures in the auxiliary screen directly according to the picture paths, and carrying out picture splicing processing on the acquired current preview pictures in the main screen and the current preview pictures in the auxiliary screen so as to generate corresponding puzzles, thereby realizing the quick splicing of the current preview pictures in the main screen and the auxiliary screen of the double-screen terminal, avoiding that a user needs to splice the two pictures through picture editing software or puzzles in the prior art, avoiding that the user searches the current preview pictures in the main screen and the current preview pictures in the auxiliary screen again in a plurality of pictures of folders, saving the time of the user and improving the user experience.
Drawings
FIG. 1 is a schematic diagram of a terminal structure of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart of a first embodiment of a picture stitching method according to the present invention;
FIG. 3 is a flowchart of a second embodiment of the image stitching method of the present invention;
FIG. 4 is a flowchart of a third embodiment of a picture stitching method according to the present invention;
fig. 5 is a flowchart of a fourth embodiment of the picture stitching method according to the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
In the following description, suffixes such as "module", "component", or "unit" for representing elements are used only for facilitating the description of the present invention, and have no specific meaning per se. Thus, "module," "component," or "unit" may be used in combination.
Terminals (also known as dual screen terminals) may be implemented in a variety of forms. For example, the terminals described in the present invention may include mobile terminals such as cell phones, tablet computers, notebook computers, palm computers, personal digital assistants (Personal Digital Assistant, PDA), portable media players (Portable Media Player, PMP), navigation devices, wearable devices, smart bracelets, pedometers, and fixed terminals such as digital TVs, desktop computers, and the like.
The following description will be given taking a mobile terminal as an example, and those skilled in the art will understand that the configuration according to the embodiment of the present invention can be applied to a fixed type terminal in addition to elements particularly used for a moving purpose.
Referring to fig. 1, fig. 1 is a schematic diagram of a terminal structure of a hardware operating environment according to an embodiment of the present invention, where the mobile terminal 100 may include: RF (Radio Frequency) unit 101, wi-Fi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the mobile terminal structure shown in fig. 1 is not limiting of the mobile terminal and that the mobile terminal may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
The following describes the components of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be used for receiving and transmitting signals during the information receiving or communication process, specifically, after receiving downlink information of the base station, processing the downlink information by the processor 110; and, the uplink data is transmitted to the base station. Typically, the radio frequency unit 101 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 101 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication, global System for Mobile communications), GPRS (General Packet Radio Service ), CDMA2000 (Code Division Multiple Access, CDMA 2000), WCDMA (Wideband Code Division Multiple Access ), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, time Division synchronous code Division multiple Access), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency Division Duplex Long term evolution), and TDD-LTE (Time Division Duplexing-Long Term Evolution, time Division Duplex Long term evolution), etc.
Wi-Fi belongs to a short-distance wireless transmission technology, and a mobile terminal can help a user to send and receive e-mails, browse webpages, access streaming media and the like through the Wi-Fi module 102, so that wireless broadband Internet access is provided for the user. Although fig. 1 shows Wi-Fi module 102, it is to be understood that it does not belong to the necessary constitution of the mobile terminal, and can be omitted entirely as required within the scope of not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the Wi-Fi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a talk mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output (e.g., a call signal reception sound, a message reception sound, etc.) related to a specific function performed by the mobile terminal 100. The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive an audio or video signal. The a/V input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042, the graphics processor 1041 processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphics processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or Wi-Fi module 102. The microphone 1042 can receive sound (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, and the like, and can process such sound into audio data. The processed audio (voice) data may be converted into a format output that can be transmitted to the mobile communication base station via the radio frequency unit 101 in the case of a telephone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting the audio signal.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and the proximity sensor can turn off the display panel 1061 and/or the backlight when the mobile terminal 100 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and direction when stationary, and can be used for applications of recognizing the gesture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; as for other sensors such as fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. that may also be configured in the mobile phone, the detailed description thereof will be omitted.
The display unit 106 is used to display information input by a user or information provided to the user. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the mobile terminal. In particular, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect touch operations thereon or thereabout by a user (e.g., operations of the user on the touch panel 1071 or thereabout by using any suitable object or accessory such as a finger, a stylus, etc.) and drive the corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch azimuth of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into touch point coordinates, and sends the touch point coordinates to the processor 110, and can receive and execute commands sent from the processor 110. Further, the touch panel 1071 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 107 may include other input devices 1072 in addition to the touch panel 1071. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, mouse, joystick, etc., as specifically not limited herein.
Further, the touch panel 1071 may overlay the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or thereabout, the touch panel 1071 is transferred to the processor 110 to determine the type of touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of touch event. Although in fig. 1, the touch panel 1071 and the display panel 1061 are two independent components for implementing the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 may be integrated with the display panel 1061 to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 108 serves as an interface through which at least one external device can be connected with the mobile terminal 100. For example, the external devices may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and an external device.
Memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area that may store an operating system, application programs required for at least one function (such as a sound playing function, an image playing function, etc.), and a storage data area; the storage data area may store data (such as audio data, phonebook, etc.) created according to the use of the handset, etc. In addition, memory 109 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by running or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power source 111 (e.g., a battery) for supplying power to the respective components, and preferably, the power source 111 may be logically connected to the processor 110 through a power management system, so as to perform functions of managing charging, discharging, and power consumption management through the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described herein.
As shown in fig. 1, the memory 109, which is a computer readable storage medium, may include an operating system, a network communication module, a user interface module, and a picture stitching program, and the processor 110 may be configured to call the picture stitching program stored in the memory 109 and perform the following steps:
when the double-screen terminal receives a user instruction triggered by a user based on a volume key and a power key, detecting whether the main screen and the auxiliary screen are both in a picture preview mode or not so as to judge the type of the user instruction;
if the main screen and the auxiliary screen are both in the picture preview mode, judging that the type of the user instruction is a picture splicing instruction;
respectively acquiring picture paths of current preview pictures in the main screen and the auxiliary screen, and judging whether the current preview pictures in the main screen and the auxiliary screen are stored in the double-screen terminal or not according to the picture paths;
And if the current preview pictures in the main screen and the auxiliary screen are stored in the double-screen terminal, acquiring the current preview pictures in the main screen and the auxiliary screen according to the picture path, and performing picture splicing processing on the acquired current preview pictures in the main screen and the auxiliary screen to generate corresponding puzzles.
Further, the processor 110 may be configured to invoke a picture stitching program stored in the memory 109, and further perform the following steps:
displaying a preset splicing mode selection interface on the main screen, wherein the splicing mode selection interface at least comprises more than two splicing modes;
when receiving a user-triggered splicing mode selection instruction, performing image splicing processing on the obtained current preview images in the main screen and the auxiliary screen to generate corresponding puzzles, wherein the method comprises the following steps of:
and performing picture splicing processing on the obtained current preview pictures in the main screen and the auxiliary screen according to the splicing mode in the splicing mode selection instruction so as to generate corresponding puzzles.
Further, the processor 110 may be configured to invoke a picture stitching program stored in the memory 109, and further perform the following steps:
if only one of the current preview pictures in the main screen and the auxiliary screen is stored in the double-screen terminal, marking the current preview picture stored in the double-screen terminal as a first picture, and marking the current preview picture which is not stored in the double-screen terminal as a second picture;
Acquiring the first picture according to the picture path of the first picture, and performing screenshot operation on a screen corresponding to the second picture to acquire a picture screenshot corresponding to the second picture;
and carrying out picture splicing processing on picture screenshots corresponding to the first picture and the second picture so as to generate corresponding jigsaw.
Further, the processor 110 may be configured to invoke a picture stitching program stored in the memory 109, and further perform the following steps:
acquiring the first picture according to a picture path of the first picture;
displaying a screenshot frame on a screen corresponding to the second picture, and acquiring a corresponding region screenshot according to the screenshot operation when receiving the screenshot operation triggered by a user based on the screenshot frame;
and carrying out picture splicing processing on the first picture and the region screenshot so as to generate a corresponding jigsaw.
Further, the processor 110 may be configured to invoke a picture stitching program stored in the memory 109, and further perform the following steps:
if the current preview pictures in the main screen and the auxiliary screen are not stored in the double-screen terminal, performing screenshot operation on the main screen and the auxiliary screen respectively to obtain corresponding main screen screenshot and auxiliary screen screenshot;
And performing picture splicing processing on the main screen capture and the auxiliary screen capture to generate corresponding jigsaw.
Further, the processor 110 may be configured to invoke a picture stitching program stored in the memory 109, and further perform the following steps:
after generating the corresponding jigsaw, detecting the installed social software in the double-screen terminal, generating a corresponding jigsaw sharing page based on the installed social software and the jigsaw, and displaying the corresponding jigsaw sharing page in the main screen;
and when receiving a puzzle sharing request triggered by a user based on the puzzle sharing page, sending the puzzle to a corresponding social platform according to social software information in the puzzle sharing request.
Further, the processor 110 may be configured to invoke a picture stitching program stored in the memory 109, and further perform the following steps:
after generating the corresponding jigsaw, detecting the installed picture processing software in the double-screen terminal, generating the corresponding jigsaw beautifying page based on the installed picture processing software and the jigsaw, and displaying the corresponding jigsaw beautifying page in the main screen;
when a jigsaw beautifying request triggered by a user based on the jigsaw beautifying page is received, skipping to corresponding picture processing software according to the picture processing software information in the jigsaw beautifying request, so that the user beautifies the jigsaw.
Further, the processor 110 may be configured to invoke a picture stitching program stored in the memory 109, and further perform the following steps:
if any one of the main screen and the auxiliary screen is not in the picture preview mode, judging the type of the user instruction as a screenshot instruction;
and respectively carrying out screenshot operation on the main screen and the auxiliary screen according to the screenshot instruction, and storing the obtained screenshot into a preset folder.
Based on the hardware structure of the double-screen terminal, various embodiments of the picture splicing method are provided.
The invention provides a picture splicing method.
Referring to fig. 2, fig. 2 is a flowchart illustrating a first embodiment of a picture stitching method according to the present invention.
In this embodiment, the picture stitching method is applied to a dual-screen terminal, where the dual-screen terminal includes a main screen and an auxiliary screen, and the method includes:
step S10, when the double-screen terminal receives a user instruction triggered by a user based on a volume key and a power key, detecting whether the main screen and the auxiliary screen are both in a picture preview mode so as to judge the type of the user instruction;
in this embodiment, the dual-screen terminal in the present invention includes, but is not limited to, a dual-screen smart phone, a dual-screen tablet computer, and the like, and the dual-screen terminal includes a main screen and an auxiliary screen. When the double-screen terminal receives a user instruction triggered by a user based on a volume key and a power key, whether the main screen and the auxiliary screen of the double-screen terminal are in a picture preview mode or not is detected, and therefore the type of the user instruction is judged. The picture preview mode refers to that the screen is in a preview interface of pictures, for example, the screen opens a picture of a gallery. The manner in which the user triggers the user command based on the volume down key and the power key may specifically be to press the volume down key and the power key simultaneously to trigger the user command, in general, the shortcut operation that the user presses the volume down key and the power key simultaneously triggers the screenshot operation, but in the present invention, the user command type may include the screenshot command and the picture stitching command, and the user command type triggered by the shortcut operation is determined specifically according to the modes in which the main screen and the auxiliary screen are located.
If the main screen and the auxiliary screen are both in the picture preview mode, executing step S20: judging the type of the user instruction as a picture splicing instruction;
and if the main screen and the auxiliary screen of the double-screen terminal are both in the picture preview mode, judging the type of the user instruction as a picture splicing instruction. That is, when the user browses the picture on both the main screen and the auxiliary screen, the triggering of the shortcut operation may be that the user wants to execute the picture splicing operation, so when the main screen and the auxiliary screen are both defined to be in the picture preview mode, the shortcut operation of pressing the volume down key and the power key corresponds to the picture splicing instruction.
Step S30, respectively acquiring picture paths of current preview pictures in the main screen and the auxiliary screen, and judging whether the current preview pictures in the main screen and the auxiliary screen are stored in the double-screen terminal or not according to the picture paths;
if the current preview pictures in the main screen and the auxiliary screen are stored in the dual-screen terminal, executing step S40: and acquiring current preview pictures in the main screen and the auxiliary screen according to the picture path, and performing picture splicing processing on the acquired current preview pictures in the main screen and the auxiliary screen to generate corresponding puzzles.
When judging that the user instruction is a picture splicing instruction, the double-screen terminal respectively acquires picture paths of current preview pictures in the main screen and the auxiliary screen, judges whether the current preview pictures in the main screen and the auxiliary screen are stored in the double-screen terminal according to the picture paths of the two pictures, namely judges whether the current preview pictures in the main screen and the current preview pictures in the auxiliary screen can be directly acquired from a memory or a corresponding folder of the terminal.
If the current preview pictures in the main screen and the auxiliary screen are stored in the double-screen terminal, the current preview pictures in the main screen and the current preview pictures in the auxiliary screen can be directly obtained according to the picture paths of the two pictures, and picture splicing processing is carried out on the obtained current preview pictures in the main screen and the obtained current preview pictures in the auxiliary screen so as to generate corresponding puzzles, thereby realizing quick splicing of the current preview pictures in the main screen and the auxiliary screen of the double-screen terminal, avoiding that a user needs to splice the two pictures through picture editing software or puzzlement software in the prior art, avoiding that the user searches the current preview pictures in the main screen and the current preview pictures in the auxiliary screen again in a plurality of pictures of folders, saving the user time and improving the user experience.
In addition, if only one of the current preview pictures in the main screen and the auxiliary screen is stored in the double-screen terminal, the current preview picture stored in the double-screen terminal is marked as a first picture, and the current preview picture not stored in the double-screen terminal is marked as a second picture; at this time, a first picture is obtained according to a picture path of the first picture, and a screenshot operation is performed on a screen corresponding to the second picture, so as to obtain a picture screenshot corresponding to the second picture. And then performing picture splicing processing on picture screenshots corresponding to the first picture and the second picture to generate corresponding puzzles. I.e. the picture stored in the dual-screen terminal is directly taken, whereas the picture not stored in the dual-screen terminal is taken as a screenshot.
If the current preview pictures in the main screen and the auxiliary screen are not stored in the double-screen terminal, the main screen and the auxiliary screen are subjected to screenshot operation respectively to obtain corresponding main screen screenshots and auxiliary screen screenshots, and then picture splicing processing is performed on the main screen screenshots and the auxiliary screen screenshots to generate corresponding jigsaw.
Further, after step S10, the following steps are further included:
step S21, judging the type of the user instruction as a screenshot instruction if any one of the main screen and the auxiliary screen is not in a picture preview mode;
and step S31, performing screenshot operation on the main screen and the auxiliary screen respectively according to the screenshot instruction, and storing the obtained screenshot into a preset folder.
In this embodiment, when the dual-screen terminal receives a user instruction triggered by a user based on a volume key and a power key, whether the main screen and the auxiliary screen of the dual-screen terminal are both in a picture preview mode is detected, so that the type of the user instruction is judged. If any one of the main screen and the auxiliary screen of the double-screen terminal is not in the picture preview mode, namely one of the main screen and the auxiliary screen is not in the picture preview mode or both of the main screen and the auxiliary screen are not in the picture preview mode, at the moment, judging the type of the user instruction to be a screenshot instruction. That is, when the user browses the picture only on one screen of the main screen and the auxiliary screen or does not browse the picture on both screens, the shortcut operation is triggered only because the user wants to execute the screenshot operation, and therefore, when only one screen of the main screen and the auxiliary screen is defined not to be in the picture preview mode, the shortcut operation of simultaneously pressing the volume down key and the power key corresponds to the screenshot instruction. At this time, the main screen and the auxiliary screen are respectively subjected to screenshot operation according to the screenshot instruction, and the obtained screenshot is saved in a preset folder. The screenshot is the screen picture currently displayed by the intercepted main screen and auxiliary screen.
The invention provides a picture splicing method which is applied to a double-screen terminal, wherein the double-screen terminal comprises a main screen and an auxiliary screen, and when the double-screen terminal receives a user instruction triggered by a user based on a volume key and a power key, whether the main screen and the auxiliary screen of the double-screen terminal are in a picture preview mode or not is detected, so that the type of the user instruction is judged. And if the main screen and the auxiliary screen of the double-screen terminal are both in the picture preview mode, judging the type of the user instruction as a picture splicing instruction. And then, respectively acquiring the picture paths of the current preview pictures in the main screen and the auxiliary screen, judging whether the current preview pictures in the main screen and the auxiliary screen are stored in the double-screen terminal according to the picture paths, if the current preview pictures in the main screen and the auxiliary screen are stored in the double-screen terminal, acquiring the current preview pictures in the main screen and the current preview pictures in the auxiliary screen directly according to the picture paths, and carrying out picture splicing processing on the acquired current preview pictures in the main screen and the current preview pictures in the auxiliary screen so as to generate corresponding puzzles, thereby realizing the quick splicing of the current preview pictures in the main screen and the auxiliary screen of the double-screen terminal, avoiding that a user needs to splice the two pictures through picture editing software or puzzles in the prior art, avoiding that the user searches the current preview pictures in the main screen and the current preview pictures in the auxiliary screen again in a plurality of pictures of folders, saving the time of the user and improving the user experience.
Further, referring to fig. 3, fig. 3 is a flowchart illustrating a second embodiment of the picture stitching method according to the present invention. Based on the first embodiment shown in fig. 2, before step S40, the picture stitching method may further include:
step S50, displaying a preset splicing mode selection interface on the main screen, wherein the splicing mode selection interface at least comprises more than two splicing modes;
when receiving the user-triggered splice mode selection instruction, step S40 includes:
and S41, performing picture splicing processing on the obtained current preview pictures in the main screen and the auxiliary screen according to the splicing mode in the splicing mode selection instruction so as to generate corresponding puzzles.
In this embodiment, the dual-screen terminal determines whether the current preview pictures in the main screen and the auxiliary screen are both stored in the dual-screen terminal according to the picture path, and if the current preview pictures in the main screen and the auxiliary screen are both stored in the dual-screen terminal, the current preview pictures in the main screen and the current preview pictures in the auxiliary screen can be directly obtained according to the picture paths of the two pictures. Then, a preset splicing mode selection interface can be displayed on the main screen, wherein the splicing mode selection interface at least comprises more than two splicing modes, and the splicing modes can comprise an up-down splicing mode, a left-right splicing mode, a picture splicing mode in the picture and the like. When a user-triggered splicing mode selection instruction is received, performing picture splicing processing on the obtained current preview pictures in the main screen and the auxiliary screen according to the splicing mode in the splicing mode selection instruction, for example, if the user selects an up-down splicing mode, splicing the current preview pictures in the main screen and the auxiliary screen up-down, specifically, which screen of the current preview pictures is located above the splicing picture can be preset, and a certain template can be preset, for example, when the main screen is taken as the main screen, the current preview pictures in the main screen are located above during up-down splicing; when the left and right are spliced, the current preview picture in the main screen is at the left side. In this embodiment, by letting the user select the splicing mode, the jigsaw may be performed according to the user's requirement, so as to improve the user experience.
Further, referring to fig. 4, fig. 4 is a flowchart of a third embodiment of the picture stitching method according to the present invention. Based on the first embodiment shown in fig. 2, after step S30, the picture stitching method may further include:
step S421, if only one of the current preview pictures in the main screen and the auxiliary screen is stored in the dual-screen terminal, marking the current preview picture stored in the dual-screen terminal as a first picture, and marking the current preview picture not stored in the dual-screen terminal as a second picture;
step S422, obtaining the first picture according to the picture path of the first picture, and performing a screenshot operation on a screen corresponding to the second picture to obtain a picture screenshot corresponding to the second picture;
step S423, performing a picture stitching process on the picture shots corresponding to the first picture and the second picture to generate corresponding tiles.
In this embodiment, after obtaining the picture paths of the current preview pictures in the main screen and the auxiliary screen, the dual-screen terminal determines whether the current preview pictures in the main screen and the auxiliary screen are both stored in the dual-screen terminal according to the picture paths, that is, determines whether the current preview pictures in the main screen and the current preview pictures in the auxiliary screen can be directly obtained from a memory or a corresponding folder of the terminal, and if only one of the current preview pictures in the main screen and the current preview pictures in the auxiliary screen is stored in the dual-screen terminal, that is, only one of the current preview pictures is stored in the dual-screen terminal, the current preview picture stored in the dual-screen terminal is recorded as a first picture, and the current preview picture not stored in the dual-screen terminal is recorded as a second picture; and acquiring a first picture according to the picture path of the first picture, and performing screenshot operation on a screen corresponding to the second picture to acquire a picture screenshot corresponding to the second picture. The picture screenshot is a screen picture of the second picture which is taken and corresponds to the current display of the screen. And then, performing picture splicing processing on picture screenshots corresponding to the first picture and the second picture to generate corresponding puzzles. Of course, in a specific embodiment, the second picture may also be obtained by direct download.
In this embodiment, after judging whether the current preview pictures in the main screen and the auxiliary screen are stored in the dual-screen terminal, the dual-screen terminal directly acquires the pictures stored in the terminal, and acquires the screen shots of the pictures not stored in the terminal, so as to splice the pictures, and by performing distinguishing processing on different conditions, the pictures existing in the terminal can be prevented from being subjected to screen shot storage again to occupy the memory, meanwhile, the pictures (such as the pictures in the online webpage) not stored in the terminal are directly acquired through the screen shots, so that the two pictures are spliced, the rapid splicing of the current preview pictures in the main screen and the auxiliary screen of the dual-screen terminal can be realized, the user does not need to download and store the second picture by himself, then the picture editing software or the picture splicing software splices the two pictures, the situation that the user searches the first picture and the second picture again in a plurality of pictures of folders can be avoided, the user time can be saved, and the user experience can be improved.
Further, referring to fig. 5, based on the third embodiment shown in fig. 4, after step S421, the picture stitching method may further include:
s424, acquiring the first picture according to a picture path of the first picture;
S425, displaying a screenshot frame on a screen corresponding to the second picture, and acquiring a corresponding region screenshot according to the screenshot operation when receiving the screenshot operation triggered by the user based on the screenshot frame;
s426, performing picture splicing processing on the first picture and the region screenshot to generate a corresponding jigsaw.
In this embodiment, after obtaining the picture paths of the current preview pictures in the main screen and the auxiliary screen, the dual-screen terminal determines whether the current preview pictures in the main screen and the auxiliary screen are both stored in the dual-screen terminal according to the picture paths, i.e. determines whether the current preview pictures in the main screen and the current preview pictures in the auxiliary screen can be directly obtained from the memory of the terminal or the corresponding folder. If only one of the current preview pictures in the main screen and the auxiliary screen is detected to be stored in the double-screen terminal, namely only one of the current preview pictures is stored in the double-screen terminal, the current preview picture stored in the double-screen terminal is marked as a first picture, and the current preview picture which is not stored in the double-screen terminal is marked as a second picture; then, the first picture is obtained according to the picture path of the first picture, and the obtaining mode of the second picture can be as follows: and displaying a screenshot frame on a screen corresponding to the second picture, so that a user can intercept a part needing screenshot in a screen where the second picture is positioned by pulling and shrinking the screenshot frame, when receiving screenshot operation triggered by the user based on the screenshot frame, the double-screen terminal acquires a corresponding region screenshot according to the screenshot operation, and then, performing picture splicing processing on the first picture and the region screenshot to generate a corresponding jigsaw. Of course, in a specific embodiment, the screenshot frames may be displayed on the main screen and the auxiliary screen at the same time, so that the user may screenshot the picture portion to be intercepted and then splice the screenshot frames, thereby improving the user experience.
Further, after step S30, the picture stitching method may further include:
step S431, if the current preview pictures in the main screen and the auxiliary screen are not stored in the double-screen terminal, performing screenshot operation on the main screen and the auxiliary screen respectively to obtain corresponding main screenshot and auxiliary screenshot;
and step S432, performing picture splicing processing on the main screen capture and the auxiliary screen capture to generate corresponding jigsaw.
In this embodiment, after obtaining the picture paths of the current preview pictures in the main screen and the auxiliary screen, the dual-screen terminal determines whether the current preview pictures in the main screen and the auxiliary screen are both stored in the dual-screen terminal according to the picture paths, that is, determines whether the current preview pictures in the main screen and the current preview pictures in the auxiliary screen can be directly obtained from a memory or a corresponding folder of the terminal, if the current preview pictures in the main screen and the auxiliary screen are not stored in the dual-screen terminal, then performing a screenshot operation on the main screen and the auxiliary screen respectively to obtain corresponding main screen shots and auxiliary screen shots, and then performing a picture splicing process on the main screen shots and the auxiliary screen shots to generate corresponding puzzles. Of course, in a specific embodiment, the screenshot frames may also be displayed on the primary screen and the secondary screen, so that the user may screenshot the picture portion that wants to be intercepted, and then splice the picture portions.
Further, based on the embodiments shown in fig. 2 to 5, the picture stitching method may further include:
step S60, after generating the corresponding jigsaw, detecting the installed social software in the double-screen terminal, generating the corresponding jigsaw sharing page based on the installed social software and the jigsaw, and displaying the corresponding jigsaw sharing page in the main screen;
step S70, when a puzzle sharing request triggered by a user based on the puzzle sharing page is received, sending the puzzle to a corresponding social platform according to social software information in the puzzle sharing request.
In this embodiment, after generating the corresponding jigsaw, the dual-screen terminal may detect the social software installed in the dual-screen terminal, generate the corresponding jigsaw sharing interface based on the installed social software and the jigsaw, and display the corresponding jigsaw sharing interface in the home screen. Of course, the display is not limited to the mode of displaying only in the main screen, and may be displayed in the sub screen or split screen. For example, a tile is displayed in one of the screens and a shared portion is displayed in the other screen. And when receiving a puzzle sharing request triggered by a user based on the puzzle sharing page, sending the puzzle to a corresponding social platform according to social software information in the puzzle sharing request. For example, when social software such as WeChat and QQ is installed in the dual-screen terminal, the puzzle sharing page may include a thumbnail of the puzzle, icons of each social software, and corresponding text descriptions, where the text descriptions may include meanings of each icon and descriptions that users can share through the page. Of course, in the puzzle sharing page, the icons of each social software may be thinned to share to the corresponding social platform or friends in the social software, for example, to a circle of friends, weChat friends, QQ space, and QQ friends. When a user clicks an icon of a certain social software in the puzzle sharing page, the puzzle sharing request can be triggered, and then the puzzle can be shared according to the puzzle sharing request, for example, when the user clicks to share to a friend circle, the puzzle can be shared to the friend circle, and when the user clicks to share to a QQ friend, the puzzle can be shared to the corresponding QQ friend. According to the embodiment, the user can share the spliced pictures directly, the user does not need to open a preset folder, such as a gallery, and then share the pictures, so that the user experience can be improved.
Further, based on the embodiments shown in fig. 2 to 5, the picture stitching method may further include:
step S80, after generating the corresponding jigsaw, detecting the installed picture processing software in the double-screen terminal, generating the corresponding jigsaw beautifying page based on the installed picture processing software and the jigsaw, and displaying the corresponding jigsaw beautifying page in the main screen;
step S90, when a jigsaw beautifying request triggered by a user based on the jigsaw beautifying page is received, skipping to corresponding picture processing software according to the picture processing software information in the jigsaw beautifying request, so that the user beautifies the jigsaw.
In this embodiment, after the corresponding jigsaw is generated, in order to facilitate the user to beautify the jigsaw, the dual-screen terminal may detect the installed picture processing software in the dual-screen terminal, and then generate the corresponding jigsaw beautifying interface based on the installed picture processing software and the jigsaw, and display the corresponding jigsaw beautifying interface in the main screen. When a jigsaw beautifying request triggered by a user based on the jigsaw beautifying page is received, skipping to corresponding picture processing software according to the jigsaw information in the jigsaw beautifying request, so that the user can beautify the jigsaw. The jigsaw beautifying page can comprise a thumbnail of the jigsaw, icons of each picture processing software and corresponding text descriptions, wherein the text descriptions can comprise meanings of each icon, descriptions of the jigsaw beautifying by a user through the page and the like. Of course, in a specific embodiment, some common beautifying functions, such as cutting, filtering, adding text, mosaic, etc., may be counted, so that the user can directly perform simple beautifying treatment on the interface. According to the embodiment, the spliced pictures can be conveniently and directly transferred to the picture processing software for beautifying by a user, the user does not need to open the picture processing software and then select the picture to beautify, and user experience can be improved.
The invention also provides a computer readable storage medium.
The computer readable storage medium of the present invention stores a picture stitching program which, when executed by a processor, implements the steps of the picture stitching method according to any of the above embodiments.
The specific embodiments of the computer readable storage medium of the present invention are substantially the same as the embodiments of the above-mentioned picture stitching method, and will not be described herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The embodiments of the present invention have been described above with reference to the accompanying drawings, but the present invention is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present invention and the scope of the claims, which are to be protected by the present invention.
Claims (9)
1. The picture splicing method is characterized by being applied to a double-screen terminal, wherein the double-screen terminal comprises a main screen and an auxiliary screen, and comprises the following steps of:
when the double-screen terminal receives a user instruction triggered by a user based on a volume key and a power key, detecting whether the main screen and the auxiliary screen are both in a picture preview mode or not so as to judge the type of the user instruction;
if the main screen and the auxiliary screen are both in the picture preview mode, judging that the type of the user instruction is a picture splicing instruction;
respectively acquiring picture paths of current preview pictures in the main screen and the auxiliary screen, and judging whether the current preview pictures in the main screen and the auxiliary screen are stored in the double-screen terminal or not according to the picture paths;
After the steps of respectively acquiring the picture paths of the current preview pictures in the main screen and the auxiliary screen and judging whether the current preview pictures in the main screen and the auxiliary screen are stored in the double-screen terminal according to the picture paths, the method comprises the following steps:
if only one of the current preview pictures in the main screen and the auxiliary screen is stored in the double-screen terminal, marking the current preview picture stored in the double-screen terminal as a first picture, and marking the current preview picture which is not stored in the double-screen terminal as a second picture;
acquiring the first picture according to the picture path of the first picture, and performing screenshot operation on a screen corresponding to the second picture to acquire a picture screenshot corresponding to the second picture, or performing downloading operation on the second picture to acquire a downloaded picture corresponding to the second picture;
performing picture splicing processing on picture screenshots corresponding to the first picture and the second picture to generate corresponding puzzles, or performing picture splicing processing on downloaded pictures corresponding to the first picture and the second picture to generate corresponding puzzles;
and if the current preview pictures in the main screen and the auxiliary screen are stored in the double-screen terminal, acquiring the current preview pictures in the main screen and the auxiliary screen according to the picture path, and performing picture splicing processing on the acquired current preview pictures in the main screen and the auxiliary screen to generate corresponding puzzles.
2. The method for splicing pictures according to claim 1, wherein before the step of performing picture splicing processing on the obtained current preview pictures in the main screen and the auxiliary screen to generate corresponding tiles, the method further comprises:
displaying a preset splicing mode selection interface on the main screen, wherein the splicing mode selection interface at least comprises more than two splicing modes;
when receiving a user-triggered splicing mode selection instruction, performing image splicing processing on the obtained current preview images in the main screen and the auxiliary screen to generate corresponding puzzles, wherein the method comprises the following steps of:
and performing picture splicing processing on the obtained current preview pictures in the main screen and the auxiliary screen according to the splicing mode in the splicing mode selection instruction so as to generate corresponding puzzles.
3. The picture stitching method as recited in claim 2, wherein if only one of the current preview pictures in the main screen and the auxiliary screen is stored in the dual-screen terminal, the step of marking the current preview picture stored in the dual-screen terminal as a first picture and marking the current preview picture not stored in the dual-screen terminal as a second picture further comprises:
Acquiring the first picture according to a picture path of the first picture;
displaying a screenshot frame on a screen corresponding to the second picture, and acquiring a corresponding region screenshot according to the screenshot operation when receiving the screenshot operation triggered by a user based on the screenshot frame;
and carrying out picture splicing processing on the first picture and the region screenshot so as to generate a corresponding jigsaw.
4. The picture stitching method according to claim 1, wherein after the steps of respectively obtaining the picture paths of the current preview pictures in the main screen and the auxiliary screen, and judging whether the current preview pictures in the main screen and the auxiliary screen are both stored in the dual-screen terminal according to the picture paths, the method further comprises:
if the current preview pictures in the main screen and the auxiliary screen are not stored in the double-screen terminal, performing screenshot operation on the main screen and the auxiliary screen respectively to obtain corresponding main screen screenshot and auxiliary screen screenshot;
and performing picture splicing processing on the main screen capture and the auxiliary screen capture to generate corresponding jigsaw.
5. The picture stitching method as recited in claim 1, wherein the picture stitching method further comprises:
after generating the corresponding jigsaw, detecting the installed social software in the double-screen terminal, generating a corresponding jigsaw sharing page based on the installed social software and the jigsaw, and displaying the corresponding jigsaw sharing page in the main screen;
And when receiving a puzzle sharing request triggered by a user based on the puzzle sharing page, sending the puzzle to a corresponding social platform according to social software information in the puzzle sharing request.
6. The picture stitching method as recited in claim 1, wherein the picture stitching method further comprises:
after generating the corresponding jigsaw, detecting the installed picture processing software in the double-screen terminal, generating the corresponding jigsaw beautifying page based on the installed picture processing software and the jigsaw, and displaying the corresponding jigsaw beautifying page in the main screen;
when a jigsaw beautifying request triggered by a user based on the jigsaw beautifying page is received, skipping to corresponding picture processing software according to the picture processing software information in the jigsaw beautifying request, so that the user beautifies the jigsaw.
7. The picture stitching method as recited in claim 1, wherein the picture stitching method further comprises:
if any one of the main screen and the auxiliary screen is not in the picture preview mode, judging the type of the user instruction as a screenshot instruction;
and respectively carrying out screenshot operation on the main screen and the auxiliary screen according to the screenshot instruction, and storing the obtained screenshot into a preset folder.
8. A dual-screen terminal, characterized in that it comprises a main screen and an auxiliary screen, and further comprises a memory, a processor and a picture stitching program stored on the memory and operable on the processor, which when executed by the processor, implements the steps of the picture stitching method according to any of claims 1 to 7.
9. A computer readable storage medium, wherein a picture stitching program is stored on the computer readable storage medium, which when executed by a processor, implements the steps of the picture stitching method according to any one of claims 1 to 7.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810686227.4A CN108898552B (en) | 2018-06-27 | 2018-06-27 | Picture splicing method, double-screen terminal and computer readable storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810686227.4A CN108898552B (en) | 2018-06-27 | 2018-06-27 | Picture splicing method, double-screen terminal and computer readable storage medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN108898552A CN108898552A (en) | 2018-11-27 |
| CN108898552B true CN108898552B (en) | 2023-09-12 |
Family
ID=64346746
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201810686227.4A Active CN108898552B (en) | 2018-06-27 | 2018-06-27 | Picture splicing method, double-screen terminal and computer readable storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN108898552B (en) |
Families Citing this family (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109636720B (en) * | 2018-11-28 | 2023-03-21 | 维沃移动通信(杭州)有限公司 | Image display method and terminal equipment |
| CN109683777B (en) * | 2018-12-19 | 2020-11-17 | 维沃移动通信有限公司 | Image processing method and terminal equipment |
| CN110209326B (en) * | 2019-05-08 | 2020-12-25 | 珠海格力电器股份有限公司 | Screenshot method and device, folding screen device and storage medium |
| CN110287741A (en) * | 2019-06-27 | 2019-09-27 | 维沃移动通信有限公司 | A screen content display method and terminal |
| CN110399074B (en) * | 2019-07-18 | 2021-11-16 | 上海幻电信息科技有限公司 | Picture splicing method and device, mobile terminal and storage medium |
| CN112860161A (en) * | 2020-12-31 | 2021-05-28 | 中国农业银行股份有限公司 | Multi-screen capturing and recording method and device based on examination anti-cheating scene |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2017012439A1 (en) * | 2015-07-23 | 2017-01-26 | 腾讯科技(深圳)有限公司 | Picture splicing method, terminal, and system |
| CN107505825A (en) * | 2017-08-30 | 2017-12-22 | 珠海格力电器股份有限公司 | Holographic display method and device and user terminal |
| CN107705251A (en) * | 2017-09-21 | 2018-02-16 | 努比亚技术有限公司 | Picture joining method, mobile terminal and computer-readable recording medium |
| CN107820016A (en) * | 2017-11-29 | 2018-03-20 | 努比亚技术有限公司 | Shooting display methods, double screen terminal and the computer-readable storage medium of double screen terminal |
| CN107995420A (en) * | 2017-11-30 | 2018-05-04 | 努比亚技术有限公司 | Remote group photo control method, double-sided screen terminal and computer-readable recording medium |
| CN108076292A (en) * | 2017-12-28 | 2018-05-25 | 努比亚技术有限公司 | Image pickup method, mobile terminal and storage medium |
| CN108184022A (en) * | 2017-12-28 | 2018-06-19 | 努比亚技术有限公司 | Processing method, mobile terminal and the computer readable storage medium for the item that happens suddenly |
-
2018
- 2018-06-27 CN CN201810686227.4A patent/CN108898552B/en active Active
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2017012439A1 (en) * | 2015-07-23 | 2017-01-26 | 腾讯科技(深圳)有限公司 | Picture splicing method, terminal, and system |
| CN107505825A (en) * | 2017-08-30 | 2017-12-22 | 珠海格力电器股份有限公司 | Holographic display method and device and user terminal |
| CN107705251A (en) * | 2017-09-21 | 2018-02-16 | 努比亚技术有限公司 | Picture joining method, mobile terminal and computer-readable recording medium |
| CN107820016A (en) * | 2017-11-29 | 2018-03-20 | 努比亚技术有限公司 | Shooting display methods, double screen terminal and the computer-readable storage medium of double screen terminal |
| CN107995420A (en) * | 2017-11-30 | 2018-05-04 | 努比亚技术有限公司 | Remote group photo control method, double-sided screen terminal and computer-readable recording medium |
| CN108076292A (en) * | 2017-12-28 | 2018-05-25 | 努比亚技术有限公司 | Image pickup method, mobile terminal and storage medium |
| CN108184022A (en) * | 2017-12-28 | 2018-06-19 | 努比亚技术有限公司 | Processing method, mobile terminal and the computer readable storage medium for the item that happens suddenly |
Also Published As
| Publication number | Publication date |
|---|---|
| CN108898552A (en) | 2018-11-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN108898552B (en) | Picture splicing method, double-screen terminal and computer readable storage medium | |
| EP3691235A1 (en) | Display method and mobile terminal | |
| CN107977144A (en) | A kind of screenshotss processing method and mobile terminal | |
| EP3920012B1 (en) | Information processing method and terminal device | |
| US11250046B2 (en) | Image viewing method and mobile terminal | |
| CN110187925B (en) | Desktop pre-starting control method, device and computer readable storage medium | |
| CN110865745A (en) | Screen capturing method and terminal equipment | |
| CN107808084A (en) | A kind of touch operation method and mobile terminal | |
| CN107580131A (en) | Image processing method and mobile terminal | |
| CN109542325B (en) | Double-sided screen touch method, double-sided screen terminal and readable storage medium | |
| CN111158815B (en) | Dynamic wallpaper blurring method, terminal and computer readable storage medium | |
| EP4084511A1 (en) | Application sharing method, first electronic device, and computer-readable storage medium | |
| CN111475066B (en) | Background switching method of application program and electronic device | |
| WO2019120190A1 (en) | Dialing method and mobile terminal | |
| CN107506103A (en) | A kind of terminal control method, terminal and computer-readable recording medium | |
| WO2020063136A1 (en) | Application program start-up method and terminal device | |
| EP4096203B1 (en) | Session information processing method, and electronic device | |
| CN112947831B (en) | Screen-throwing reverse control method, mobile terminal and computer readable storage medium | |
| CN107291491B (en) | Split screen starting method, terminal and computer readable storage medium | |
| CN111209072B (en) | Application sharing method, first electronic device and readable storage medium | |
| CN109947617B (en) | Method, terminal and readable storage medium for monitoring display content of application interface | |
| CN109189534A (en) | A kind of screenshotss method and terminal device | |
| CN110083205B (en) | Page switching method, wearable device and computer-readable storage medium | |
| CN110955365B (en) | A display method and electronic device for application identification | |
| CN110764852B (en) | Screenshot method, terminal and computer readable storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| TA01 | Transfer of patent application right | ||
| TA01 | Transfer of patent application right |
Effective date of registration: 20230818 Address after: 518000 2512, Changhong science and technology building, No. 18, Keji South 12th Road, high tech Zone, Yuehai street, Nanshan District, Shenzhen, Guangdong Applicant after: TUWEI INFORMATION TECHNOLOGY (SHENZHEN) Co.,Ltd. Address before: 518057 Dazu Innovation Building, 9018 Beihuan Avenue, Nanshan District, Shenzhen City, Guangdong Province, 6-8, 10-11, 6 and 6-10 floors in Area A, B and C Applicant before: NUBIA TECHNOLOGY Co.,Ltd. |
|
| GR01 | Patent grant | ||
| GR01 | Patent grant |