CN108108096B - Electronic device, screenshot method and related product - Google Patents

Electronic device, screenshot method and related product Download PDF

Info

Publication number
CN108108096B
CN108108096B CN201711349621.0A CN201711349621A CN108108096B CN 108108096 B CN108108096 B CN 108108096B CN 201711349621 A CN201711349621 A CN 201711349621A CN 108108096 B CN108108096 B CN 108108096B
Authority
CN
China
Prior art keywords
content
area
display screen
image
regular
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
Application number
CN201711349621.0A
Other languages
Chinese (zh)
Other versions
CN108108096A (en
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201711349621.0A priority Critical patent/CN108108096B/en
Publication of CN108108096A publication Critical patent/CN108108096A/en
Application granted granted Critical
Publication of CN108108096B publication Critical patent/CN108108096B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72469User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72484User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events

Abstract

The embodiment of the application discloses an electronic device, a screenshot method and a related product, and the electronic device comprises a shell, a circuit board, a battery and a cover plate, wherein the circuit board, the battery and the cover plate are arranged on the shell; the display screen is used for displaying the first content in the special-shaped area and displaying the second content in the regular area; the circuit is used for acquiring first content displayed in the special-shaped area and second content displayed in the regular area when a screenshot instruction aiming at the display screen is detected; and fusing the first content to the second content; and extracting the content of the rule area; and saving the content. The embodiment of the application is beneficial to improving the integrity and the storage efficiency of the screenshot of the electronic device.

Description

Electronic device, screenshot method and related product
Technical Field
The application relates to the technical field of mobile terminals, in particular to an electronic device, a screenshot method and a related product.
Background
With the popularization and application of smart phones in a large number, smart phones can support more and more applications and have more and more powerful functions, and smart phones develop towards diversification and individuation and become indispensable electronic products in user life.
Disclosure of Invention
The embodiment of the application provides an electronic device, a screenshot method and a related product, aiming at improving screenshot integrity and storage efficiency of the electronic device.
In a first aspect, an embodiment of the present application provides an electronic device, including a housing, a circuit board, a battery, and a cover plate, where the circuit board, the battery, and the cover plate are disposed on the housing, the cover plate includes a first region and a second region excluding the first region, a display screen is disposed on an inner surface of the first region, the display screen includes a special-shaped region and a regular region, and the circuit board is disposed with a circuit connected to the display screen;
the display screen is used for displaying first content in the special-shaped area and displaying second content in the regular area;
the circuit is used for acquiring first content displayed by the special-shaped area and second content displayed by the regular area when a screenshot instruction aiming at the display screen is detected; and fusing the first content to the second content; and extracting the content of the rule area; and saving the content.
In a second aspect, an embodiment of the present application provides a screenshot method, which is applied to an electronic device, where the electronic device includes a housing, a circuit board, a battery, and a cover plate, the circuit board, the battery, and the cover plate are disposed on the housing, the cover plate includes a first area and a second area except the first area, a display screen is disposed on an inner surface of the first area, the display screen includes a special-shaped area and a regular area, and the method includes:
when a screenshot instruction aiming at the display screen is detected, acquiring first content displayed in the special-shaped area and second content displayed in the regular area;
fusing the first content to the second content;
extracting the content of the rule area;
and saving the content.
In a third aspect, an embodiment of the present application provides a screenshot device, which is applied to an electronic device, where the electronic device includes a casing, a circuit board, a battery, and a cover plate, the circuit board, the battery, and the cover plate are disposed on the casing, the cover plate includes a first region and a second region excluding the first region, a display screen is disposed on an inner surface of the first region, the display screen includes a special-shaped region and a regular region, the screenshot device includes an obtaining unit, a fusing unit, an extracting unit, and a storing unit, where,
the acquisition unit is used for acquiring first content displayed in the special-shaped area and second content displayed in the regular area when a screenshot instruction for the display screen is detected;
the fusion unit is used for fusing the first content to the second content;
the extraction unit is used for extracting the content of the rule area;
the storage unit is used for storing the content.
In a fourth aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for executing the steps of any of the methods in the second aspect of the embodiment of the present application.
In a fifth aspect, the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program makes a computer perform part or all of the steps described in any one of the methods in the second aspect of the present application.
In a sixth aspect, the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to perform some or all of the steps described in any one of the methods of the second aspect of the present application. The computer program product may be a software installation package.
It can be seen that, in the embodiment of the application, when a screenshot instruction for a display screen is detected, an electronic device first acquires first content displayed in an abnormal area and second content displayed in a regular area; secondly, fusing the first content to the second content; thirdly, extracting the content of the rule area; finally, the content is saved. Therefore, when the electronic device captures the picture, the first content of the special-shaped area can be fused into the second content of the regular area, and only the content of the regular area is stored, so that the completeness of the picture capture is ensured, the storage consumption is reduced, and the completeness of the picture capture and the storage efficiency are improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1A is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 1B is a schematic partial structural diagram of another electronic device provided in the embodiment of the present application;
fig. 1C is a schematic structural diagram of another electronic device provided in the embodiment of the present application;
fig. 1D is a schematic structural diagram of another electronic device provided in the embodiment of the present application;
fig. 2A is a schematic flowchart of a screenshot method disclosed in an embodiment of the present application;
FIG. 2B is an exemplary diagram of a screenshot disclosed in an embodiment of the present application;
FIG. 2C is an exemplary diagram of another screenshot disclosed in an embodiment of the present application;
FIG. 3 is a schematic flow chart diagram of another screenshot method disclosed in the embodiments of the present application;
FIG. 4 is a schematic flow chart diagram illustrating another screenshot method disclosed in an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device disclosed in an embodiment of the present application;
fig. 6 is a block diagram of functional units of a screenshot device disclosed in an embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The electronic device according to the embodiment of the present application may include various handheld devices, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to a wireless modem, and various forms of User Equipment (UE), Mobile Stations (MS), terminal devices (terminal device), and the like. For convenience of description, the above-mentioned apparatuses are collectively referred to as electronic devices.
The following describes embodiments of the present application in detail.
Referring to fig. 1A, fig. 1A is a schematic structural diagram of an electronic device 100 according to an embodiment of the present disclosure, where the electronic device 100 includes: the battery pack comprises a shell 110, a circuit board 120, a battery 130 and a cover plate 140, wherein the circuit board 120, the battery 130 and the cover plate 140 are arranged on the shell 110, the cover plate 140 comprises a first area 141 and a second area 142 except the first area, a display screen 150 is arranged on the inner surface of the first area 141, the display screen 150 comprises a special-shaped area 151 and a regular area 152, and the circuit board 120 is further provided with a circuit 160 connected with the display screen 150; wherein the content of the first and second substances,
the display 150 is configured to display a first content in the special-shaped area 151 and a second content in the regular area 152;
the circuit 160 is configured to, when a screenshot instruction for the display screen 150 is detected, obtain a first content displayed in the special-shaped area 151 and a second content displayed in the regular area 152; and fusing the first content to the second content; and extracting the contents of the rule area 152; and saving the content.
Here, the irregular area refers to an irregularly shaped display area, such as the irregular area 151 in fig. 1A, and the regular area refers to a regularly shaped display area, such as the rectangular regular area 152 in fig. 1A. The irregular area 151 and the regular area 152 constitute the display 150, that is, the irregular area 151 and the regular area 152 have the same function, and can display contents.
The circuit 160 may include a processor and a memory, wherein the processor is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, and performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory and calling data stored in the memory, thereby performing overall monitoring of the electronic device. Optionally, the processor may integrate an application processor and a modem processor, wherein the application processor mainly handles operating systems, user interfaces, application programs, and the like, and the modem processor mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor. The memory may be used for storing software programs and modules, and the processor executes various functional applications and data processing of the electronic device by operating the software programs and modules stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to use of the electronic device, and the like. Further, the memory 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.
It can be seen that, in the embodiment of the application, when a screenshot instruction for a display screen is detected, an electronic device first acquires first content displayed in an abnormal area and second content displayed in a regular area; secondly, fusing the first content to the second content; thirdly, extracting the content of the rule area; finally, the content is saved. Therefore, when the electronic device captures the picture, the first content of the special-shaped area can be fused into the second content of the regular area, and only the content of the regular area is stored, so that the completeness of the picture capture is ensured, the storage consumption is reduced, and the completeness of the picture capture and the storage efficiency are improved.
In one possible example, the first content includes system state information; in the context of the merging of the first content into the second content, the circuit 160 is specifically configured to: identifying key content of the second content; and determining background content in the second content other than the key content; and displaying the first content in an overlapping manner in the display area of the background content.
In one possible example, the first content includes a movie of a subject; in the context of the merging of the first content into the second content, the circuit 160 is specifically configured to: adjusting a viewing range for the subject; and when it is detected that the first content in the adjusted viewing interface is in the rule area 152, caching the image of the rule area 152.
In this possible example, in terms of the extracting the content of the rule area 152, the circuit 160 is specifically configured to: extracts the cached image of the regular area 152,
in one possible example, the first content includes a first partial image of a target image currently displayed by the display screen 150; in the context of the merging of the first content into the second content, the circuit 160 is specifically configured to: determining a characteristic image of the target image; and upon detecting that a coincident image is included between the first partial image and the feature image, reducing the target image so that the coincident image is in the regular region 152; and displaying the first partial image in a first display area of the regular area 152 when it is detected that no overlapping image is included between the first partial image and the feature image, the first display area being a display area of the regular area 152 other than a second display area of the feature image.
In one possible example, the second region 142 comprises a monolithic region that coincides with one side edge portion of the cap plate 140.
In this possible example, as shown in fig. 1B, at least one functional component is disposed on a position area of the circuit board 120 corresponding to the second area 142, and the circuit 160 is connected to the at least one functional component; the at least one functional component includes a speaker 171 and a microphone 172.
For example, the second region 142 comprises a monolithic region that is partially coincident with one side edge of the cover sheet 140.
By way of further example, as shown in fig. 1C, the second region 142 includes symmetrical multi-piece regions, each piece region partially coinciding with one side edge of the cover plate 140. In this example, since the first patch area and the second patch area are symmetrically disposed on the cover plate, the area of the display screen adapted to the first patch area is also symmetrical, so that when displaying an image, the display of the symmetrical image can be supported, or the display of the image after rotating according to a specific angle can be supported, thereby improving the display adaptation capability of the electronic device.
For another example, as shown in fig. 1D, at least one functional component is disposed on a position region of the circuit board 120 corresponding to the second region 142, and the circuit 160 is connected to the at least one functional component; the multi-slice region includes a first slice region 1421 and a second slice region 1422, and the at least one functional component includes a first functional component set corresponding to the first slice region and a second functional component set corresponding to the second slice region;
the first set of functional components and the second set of functional components each include a speaker 171 and a microphone 172.
Further, the first set of functional components or the second set of functional components may further include at least one of: the device comprises a front camera, a face recognition device, a proximity sensor and an ambient light sensor.
It can be seen that, in this example, because the electronic device is symmetrically provided with the functional components, the telephone function in different areas is supported, that is, no matter which area is close to the human ear, the telephone function can be supported, and because the speakers are arranged at multiple positions, the stereo sound field can be created, and the audio playing effect can be improved.
In one possible example, the display screen 150 includes a touch screen and a display screen, and the display screen includes an organic light emitting diode display screen OLED.
Referring to fig. 2A, fig. 2A is a schematic flow chart of a screenshot method provided in an embodiment of the present application, and is applied to an electronic apparatus as described in any one of fig. 1A to 1D, where the electronic apparatus includes a housing, a circuit board, a battery, and a cover plate, the circuit board, the battery, and the cover plate are disposed on the housing, the cover plate includes a first area and a second area excluding the first area, a display screen is disposed on an inner surface of the first area, and the display screen includes a special-shaped area and a regular area, and as shown in the figure, the screenshot method includes:
s201, when a screenshot instruction aiming at the display screen is detected, the electronic device obtains first content displayed in the special-shaped area and second content displayed in the regular area.
The screenshot instruction can be generated when the electronic device detects that the power key and the volume + key or the power key and the volume-key are synchronously pressed.
S202, the electronic device fuses the first content to the second content.
S203, the electronic device extracts the content of the rule area.
S204, the electronic device saves the content.
It can be seen that, in the embodiment of the application, when a screenshot instruction for a display screen is detected, an electronic device first acquires first content displayed in an abnormal area and second content displayed in a regular area; secondly, fusing the first content to the second content; thirdly, extracting the content of the rule area; finally, the content is saved. Therefore, when the electronic device captures the picture, the first content of the special-shaped area can be fused into the second content of the regular area, and only the content of the regular area is stored, so that the completeness of the picture capture is ensured, the storage consumption is reduced, and the completeness of the picture capture and the storage efficiency are improved.
In one possible example, the electronic device first content includes system state information; the fusing the first content to the second content comprises: the electronic device identifying key content of the second content; determining background content in the second content other than the key content; and displaying the first content in an overlapping manner in the display area of the background content.
The system state information includes system time, signal connection identifier, electric quantity, etc. The key content refers to an image with an image area ratio greater than a preset ratio, for example, as shown in fig. 2B, in the target image, the flower image ratio is greater than the preset ratio, the key content in the target image is determined to be a flower image, the electronic device determines background content except the flower image, and displays the first content in the background content portion in an overlapping manner, wherein the layout format of the first content can be flexibly adjusted according to the distribution of the background content, and is not limited uniquely here.
Therefore, in this example, the electronic device can superimpose the first content on the background content portion of the second content to perform screenshot, so that screenshot storage cost is reduced, screenshot information loss is reduced as much as possible, and screenshot integrity is improved.
In one possible example, the first content includes a movie of a subject; the electronic device fusing the first content to the second content, including: the electronic device adjusts a viewing range for the subject; and when the first content in the adjusted viewing interface is detected to be in the regular area, caching the image of the regular area.
As shown in fig. 2C, in the self-photographing scene, the electronic device adjusts all images of the photographed flower to a regular area by adjusting the viewing range, and caches the screenshot, so as to form a complete flower image.
Therefore, in this example, the electronic device can adjust the image of the shot object falling into the special-shaped area to the regular area by dynamically adjusting the viewing range, and store the screenshot to form a screenshot containing the image of the complete shot object, thereby improving the intelligence and the integrity of the screenshot.
In this possible example, the electronic device extracts the content of the rule area, including: and the electronic device extracts the cached images of the regular area.
In one possible example, the first content includes a first partial image of a target image currently displayed by the display screen; the electronic device fusing the first content to the second content, including: the electronic device determining a feature image of the target image; when it is detected that a coincident image is included between the first partial image and the feature image, reducing the target image so that the coincident image is in the regular region; and displaying the first partial image in a first display area of the regular area when it is detected that no overlapping image is included between the first partial image and the characteristic image, wherein the first display area is a display area of the regular area except for a second display area of the characteristic image.
In specific implementation, the electronic device can recognize the feature image in the current target image according to a pre-stored image recognition algorithm, for example, a main building is recognized as the feature image in the building image, and mountains, forests, sky and the like are recognized as the feature image in the landscape image.
As can be seen, in this example, the electronic device can dynamically adjust the first content based on the specific distribution condition of the feature image through feature image analysis, specifically, when the first content includes a part of the feature image, reduce the target image so that the part of the feature image falls into the regular region, and when the first content does not include the feature image, display the first partial image in the first display region of the regular region, thereby implementing adjustment of all the feature images of the target image to the screenshot in the regular region, and facilitating improvement of the completeness and flexibility of the screenshot.
Referring to fig. 3, fig. 3 is a schematic flow chart of a screenshot method provided by an embodiment of the present application, and the screenshot method is applied to an electronic device as described in any one of fig. 1A to 1D, where the electronic device includes a housing, a circuit board, a battery, and a cover plate, the circuit board, the battery, and the cover plate are disposed on the housing, the cover plate includes a first area and a second area excluding the first area, a display screen is disposed on an inner surface of the first area, and the display screen includes a special-shaped area and a regular area. As shown in the figure, the screenshot method includes:
s301, when a screenshot instruction aiming at the display screen is detected, the electronic device obtains first content displayed in the special-shaped area and second content displayed in the regular area, wherein the first content comprises system state information.
S302, the electronic device identifies key contents of the second contents.
S303, the electronic device determines the background content of the second content except the key content.
S304, the electronic device displays the first content in the display area of the background content in an overlapping manner.
S305, the electronic device extracts the content of the rule area.
S306, the electronic device saves the content.
It can be seen that, in the embodiment of the application, when a screenshot instruction for a display screen is detected, an electronic device first acquires first content displayed in an abnormal area and second content displayed in a regular area; secondly, fusing the first content to the second content; thirdly, extracting the content of the rule area; finally, the content is saved. Therefore, when the electronic device captures the picture, the first content of the special-shaped area can be fused into the second content of the regular area, and only the content of the regular area is stored, so that the completeness of the picture capture is ensured, the storage consumption is reduced, and the completeness of the picture capture and the storage efficiency are improved.
In addition, the electronic device can superpose the first content on the background content part of the second content for screenshot, thereby reducing screenshot storage cost, reducing screenshot information loss as much as possible, and improving screenshot integrity
Referring to fig. 4, fig. 4 is a schematic flow chart of a screenshot method provided by an embodiment of the present application, and the screenshot method is applied to an electronic device according to any one of the embodiments of fig. 1A to 1D, where the electronic device includes a housing, a circuit board, a battery, and a cover plate, the circuit board, the battery, and the cover plate are disposed on the housing, the cover plate includes a first area and a second area excluding the first area, a display screen is disposed on an inner surface of the first area, and the display screen includes a special-shaped area and a regular area. As shown in the figure, the screenshot method includes:
s401, when a screenshot instruction aiming at the display screen is detected, the electronic device obtains first content displayed in the special-shaped area and second content displayed in the regular area, wherein the first content comprises an image of a shot object.
S402, the electronic device adjusts the view range of the object to be shot.
S403, when the electronic device detects that the first content in the adjusted viewing interface is in the regular area, caching the image in the regular area.
S404, the electronic device extracts the cached images of the regular area.
S405, the electronic device saves the image.
It can be seen that, in the embodiment of the application, when a screenshot instruction for a display screen is detected, an electronic device first acquires first content displayed in an abnormal area and second content displayed in a regular area; secondly, fusing the first content to the second content; thirdly, extracting the content of the rule area; finally, the content is saved. Therefore, when the electronic device captures the picture, the first content of the special-shaped area can be fused into the second content of the regular area, and only the content of the regular area is stored, so that the completeness of the picture capture is ensured, the storage consumption is reduced, and the completeness of the picture capture and the storage efficiency are improved.
In addition, the electronic device can adjust the view range dynamically to adjust the image of the shot object falling into the special-shaped area to the regular area, and store the screenshot to form a screenshot containing the image of the complete shot object, so that the intelligence and the integrity of the screenshot are improved.
In accordance with the embodiments shown in fig. 2A, fig. 3, and fig. 4, please refer to fig. 5, and fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application, where the electronic device includes a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the programs include instructions for performing the following steps;
when a screenshot instruction aiming at the display screen is detected, acquiring first content displayed in the special-shaped area and second content displayed in the regular area;
fusing the first content to the second content;
extracting the content of the rule area;
and saving the content.
It can be seen that, in the embodiment of the application, when a screenshot instruction for a display screen is detected, an electronic device first acquires first content displayed in an abnormal area and second content displayed in a regular area; secondly, fusing the first content to the second content; thirdly, extracting the content of the rule area; finally, the content is saved. Therefore, when the electronic device captures the picture, the first content of the special-shaped area can be fused into the second content of the regular area, and only the content of the regular area is stored, so that the completeness of the picture capture is ensured, the storage consumption is reduced, and the completeness of the picture capture and the storage efficiency are improved.
In one possible example, the first content includes system state information; in the aspect of fusing the first content to the second content, the instructions in the program are specifically configured to: identifying key content of the second content; and determining background content in the second content other than the key content; and displaying the first content in an overlapping manner in the display area of the background content.
In one possible example, the first content includes a movie of a subject; in the aspect of fusing the first content to the second content, the instructions in the program are specifically configured to: adjusting a viewing range for the subject; and when the first content in the adjusted viewing interface is detected to be in the regular area, caching the image of the regular area.
In this possible example, in terms of the extracting the content of the rule area, the instructions in the program are specifically configured to perform the following operations: and extracting the cached image of the regular area.
In one possible example, the first content includes a first partial image of a target image currently displayed by the display screen; in the aspect of fusing the first content to the second content, the instructions in the program are specifically configured to: determining a characteristic image of the target image; and when it is detected that a coincident image is included between the first partial image and the feature image, reducing the target image so that the coincident image is in the regular region; and displaying the first partial image in a first display area of the regular area when it is detected that no overlapping image is included between the first partial image and the feature image, the first display area being a display area of the regular area other than a second display area of the feature image.
The above description has introduced the solution of the embodiment of the present application mainly from the perspective of the method-side implementation process. It is understood that the electronic device comprises corresponding hardware structures and/or software modules for performing the respective functions in order to realize the above functions. Those of skill in the art would readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, the electronic device may be divided into the functional units according to the method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
Fig. 6 is a block diagram of functional units of a screenshot device 600 according to an embodiment of the present application. This screenshot device 600 is applied to electron device, and this electron device includes casing, circuit board, battery, apron, set up on the casing the circuit board the battery with the apron, the apron includes first region and except that the second area outside the first region, the internal surface in first region is provided with the display screen, the display screen includes that dysmorphism is regional and rule is regional, and screenshot device 600 includes: an acquisition unit 601, a fusion unit 602, an extraction unit 603, and a saving unit 604, wherein,
the obtaining unit 601 is configured to obtain a first content displayed in the special-shaped area and a second content displayed in the regular area when a screenshot instruction for the display screen is detected;
the merging unit 602 is configured to merge the first content into the second content;
the extracting unit 603 is configured to extract the content of the rule area;
the saving unit 604 is configured to save the content.
It can be seen that, in the embodiment of the application, when a screenshot instruction for a display screen is detected, an electronic device first acquires first content displayed in an abnormal area and second content displayed in a regular area; secondly, fusing the first content to the second content; thirdly, extracting the content of the rule area; finally, the content is saved. Therefore, when the electronic device captures the picture, the first content of the special-shaped area can be fused into the second content of the regular area, and only the content of the regular area is stored, so that the completeness of the picture capture is ensured, the storage consumption is reduced, and the completeness of the picture capture and the storage efficiency are improved.
In one possible example, the first content includes system state information; in the aspect of fusing the first content to the second content, the fusing unit 602 is specifically configured to: identifying key content of the second content; and determining background content in the second content other than the key content; and displaying the first content in an overlapping manner in the display area of the background content.
In one possible example, the first content includes a movie of a subject; in the aspect of fusing the first content to the second content, the fusing unit 602 is specifically configured to: adjusting a viewing range for the subject; and when the first content in the adjusted viewing interface is detected to be in the regular area, caching the image of the regular area.
In this possible example, in terms of the extracting the content of the rule area, the extracting unit 603 is specifically configured to: and extracting the cached image of the regular area.
In one possible example, the first content includes a first partial image of a target image currently displayed by the display screen; in the aspect of fusing the first content to the second content, the fusing unit 602 is specifically configured to: determining a characteristic image of the target image; and when it is detected that a coincident image is included between the first partial image and the feature image, reducing the target image so that the coincident image is in the regular region; and displaying the first partial image in a first display area of the regular area when it is detected that no overlapping image is included between the first partial image and the feature image, the first display area being a display area of the regular area other than a second display area of the feature image.
Wherein, the obtaining unit 601 may be a receiver, the fusing unit 602 and the extracting unit 603 may be processors, and the saving unit 604 may be a memory.
Embodiments of the present application also provide a computer storage medium, where the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any one of the methods described in the above method embodiments, and the computer includes a mobile terminal.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods as described in the above method embodiments. The computer program product may be a software installation package, the computer comprising a mobile terminal.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units is only one type of division of logical functions, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit may be stored in a computer readable memory if it is implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the above-mentioned method of the embodiments of the present application. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (11)

1. An electronic device is characterized by comprising a shell, a circuit board, a battery and a cover plate, wherein the circuit board, the battery and the cover plate are arranged on the shell, the cover plate comprises a first area and a second area except the first area, a display screen is arranged on the inner surface of the first area, the display screen comprises a special-shaped area and a regular area, and the circuit board is provided with a circuit connected with the display screen;
the display screen is used for displaying first content in the special-shaped area and displaying second content in the regular area;
the circuit is used for acquiring first content displayed by the special-shaped area and second content displayed by the regular area when a screenshot instruction aiming at the display screen is detected; and fusing the first content to the second content; extracting second content fusing the first content of the rule area; and saving the extracted content;
wherein the first content includes system state information; in the aspect of said fusing the first content to the second content, the circuitry is specifically configured to: identifying key content of the second content; and determining background content in the second content other than the key content; and displaying the first content in an overlapping manner in the display area of the background content.
2. An electronic device is characterized by comprising a shell, a circuit board, a battery and a cover plate, wherein the circuit board, the battery and the cover plate are arranged on the shell, the cover plate comprises a first area and a second area except the first area, a display screen is arranged on the inner surface of the first area, the display screen comprises a special-shaped area and a regular area, and the circuit board is provided with a circuit connected with the display screen;
the display screen is used for displaying first content in the special-shaped area and displaying second content in the regular area;
the circuit is used for acquiring first content displayed by the special-shaped area and second content displayed by the regular area when a screenshot instruction aiming at the display screen is detected; and fusing the first content to the second content; extracting second content fusing the first content of the rule area; and saving the extracted content;
wherein the first content comprises an image of a subject; in the aspect of said fusing the first content to the second content, the circuitry is specifically configured to: adjusting a viewing range for the subject; and when the first content in the adjusted viewing interface is detected to be in the regular area, caching the image of the regular area.
3. The apparatus of claim 2, wherein in said extracting the content of the rule region, the circuitry is specifically configured to: and extracting the cached image of the regular area.
4. An electronic device is characterized by comprising a shell, a circuit board, a battery and a cover plate, wherein the circuit board, the battery and the cover plate are arranged on the shell, the cover plate comprises a first area and a second area except the first area, a display screen is arranged on the inner surface of the first area, the display screen comprises a special-shaped area and a regular area, and the circuit board is provided with a circuit connected with the display screen;
the display screen is used for displaying first content in the special-shaped area and displaying second content in the regular area;
the circuit is used for acquiring first content displayed by the special-shaped area and second content displayed by the regular area when a screenshot instruction aiming at the display screen is detected; and fusing the first content to the second content; extracting second content fusing the first content of the rule area; and saving the extracted content;
wherein the first content comprises a first partial image of a target image currently displayed by the display screen; in the aspect of said fusing the first content to the second content, the circuitry is specifically configured to: determining a characteristic image of the target image; and reducing the target image so that the superimposed image is in the regular region when it is detected that a superimposed image is included between the first partial image and the feature image; and when it is detected that no overlapping image is included between the first partial image and the feature image, displaying the first partial image in a first display area of the regular area, the first display area being a display area of the regular area other than a second display area of the feature image.
5. A screenshot method is applied to an electronic device, the electronic device comprises a shell, a circuit board, a battery and a cover plate, the circuit board, the battery and the cover plate are arranged on the shell, the cover plate comprises a first area and a second area except the first area, a display screen is arranged on the inner surface of the first area, the display screen comprises a special-shaped area and a regular area, and the screenshot method comprises the following steps:
when a screenshot instruction aiming at the display screen is detected, acquiring first content displayed in the special-shaped area and second content displayed in the regular area;
fusing the first content to the second content;
extracting second content fused with the first content in the rule area;
saving the extracted content;
wherein the first content includes system state information; the fusing the first content to the second content comprises:
identifying key content of the second content;
determining background content in the second content other than the key content;
and displaying the first content in an overlapping manner in the display area of the background content.
6. A screenshot method is applied to an electronic device, the electronic device comprises a shell, a circuit board, a battery and a cover plate, the circuit board, the battery and the cover plate are arranged on the shell, the cover plate comprises a first area and a second area except the first area, a display screen is arranged on the inner surface of the first area, the display screen comprises a special-shaped area and a regular area, and the screenshot method comprises the following steps:
when a screenshot instruction aiming at the display screen is detected, acquiring first content displayed in the special-shaped area and second content displayed in the regular area;
fusing the first content to the second content;
extracting second content fused with the first content in the rule area;
saving the extracted content;
wherein the first content comprises an image of a subject; the fusing the first content to the second content comprises:
adjusting a viewing range for the subject;
and when the first content in the adjusted viewing interface is detected to be in the regular area, caching the image of the regular area.
7. The method of claim 6, wherein the extracting the content of the rule region comprises:
and extracting the cached image of the regular area.
8. A screenshot method is applied to an electronic device, the electronic device comprises a shell, a circuit board, a battery and a cover plate, the circuit board, the battery and the cover plate are arranged on the shell, the cover plate comprises a first area and a second area except the first area, a display screen is arranged on the inner surface of the first area, the display screen comprises a special-shaped area and a regular area, and the screenshot method comprises the following steps:
when a screenshot instruction aiming at the display screen is detected, acquiring first content displayed in the special-shaped area and second content displayed in the regular area;
fusing the first content to the second content;
extracting second content fused with the first content in the rule area;
saving the extracted content;
wherein the first content comprises a first partial image of a target image currently displayed by the display screen; the fusing the first content to the second content comprises:
determining a characteristic image of the target image;
when it is detected that a coincident image is included between the first partial image and the feature image, reducing the target image so that the coincident image is in the regular region;
when it is detected that no overlapping image is included between the first partial image and the feature image, and the first partial image is displayed in a first display area of the regular area, the first display area is a display area of the regular area other than a second display area of the feature image.
9. A screenshot device is applied to an electronic device, the electronic device comprises a shell, a circuit board, a battery and a cover plate, the circuit board, the battery and the cover plate are arranged on the shell, the cover plate comprises a first area and a second area except the first area, a display screen is arranged on the inner surface of the first area, the display screen comprises a special-shaped area and a regular area, the screenshot device comprises an acquisition unit, a fusion unit, an extraction unit and a storage unit, wherein,
the acquisition unit is used for acquiring first content displayed in the special-shaped area and second content displayed in the regular area when a screenshot instruction for the display screen is detected;
the fusion unit is used for fusing the first content to the second content;
the extraction unit is used for extracting second content fused with the first content in the rule area;
the storage unit is used for storing the extracted content;
wherein the first content includes system state information; the fusing the first content to the second content comprises:
identifying key content of the second content; determining background content in the second content other than the key content; displaying the first content in a display area of the background content in an overlapping manner;
or
The first content comprises an image of a photographed object; the fusing the first content to the second content comprises: adjusting a viewing range for the subject; and when the first content in the adjusted viewing interface is detected to be in the regular area, caching the image of the regular area.
10. An electronic device comprising a processor, a memory, a communication interface, and one or more programs stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps in the method of any of claims 5-8.
11. A computer-readable storage medium, characterized in that a computer program for electronic data exchange is stored, wherein the computer program causes a computer to perform the method according to any of the claims 5-8.
CN201711349621.0A 2017-12-15 2017-12-15 Electronic device, screenshot method and related product Active CN108108096B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711349621.0A CN108108096B (en) 2017-12-15 2017-12-15 Electronic device, screenshot method and related product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711349621.0A CN108108096B (en) 2017-12-15 2017-12-15 Electronic device, screenshot method and related product

Publications (2)

Publication Number Publication Date
CN108108096A CN108108096A (en) 2018-06-01
CN108108096B true CN108108096B (en) 2021-03-12

Family

ID=62217206

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711349621.0A Active CN108108096B (en) 2017-12-15 2017-12-15 Electronic device, screenshot method and related product

Country Status (1)

Country Link
CN (1) CN108108096B (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102708539B (en) * 2012-04-21 2016-05-18 上海量明科技发展有限公司 Obtain method and the client of image by secondary sectional drawing
US20140313142A1 (en) * 2013-03-07 2014-10-23 Tactus Technology, Inc. Method for remotely sharing touch
CN106020634B (en) * 2016-05-04 2019-04-16 北京小米移动软件有限公司 Screenshotss method and device
CN107436714B (en) * 2017-09-20 2020-05-22 任文 Method for acquiring screen capture of mobile phone

Also Published As

Publication number Publication date
CN108108096A (en) 2018-06-01

Similar Documents

Publication Publication Date Title
CN108093134B (en) Anti-interference method of electronic equipment and related product
CN107197146B (en) Image processing method and device, mobile terminal and computer readable storage medium
CN107967129B (en) Display control method and related product
CN107566752B (en) Shooting method, terminal and computer storage medium
CN108574778B (en) Screen projection brightness adjusting method and related product
CN107205116B (en) Image selection method, mobile terminal, image selection device, and computer-readable storage medium
CN111355998B (en) Video processing method and device
CN108108137B (en) Display control method and related product
CN107566746B (en) Photographing method and user terminal
CN107864299B (en) Picture display method and related product
CN108564915B (en) Brightness adjusting method and related product
CN108600539B (en) Mobile terminal, position detection method and related product
CN108877734B (en) Color temperature adjusting method of touch display screen and related product
CN108108095B (en) Electronic device, screenshot method and related product
CN110072057B (en) Image processing method and related product
CN108616687A (en) A kind of photographic method, device and mobile terminal
CN107566654B (en) Unlocking control method and related product
CN108121583B (en) Screen capturing method and related product
CN109995704B (en) Advertisement blocking method, device, equipment and computer readable storage medium
CN111601063B (en) Video processing method and electronic equipment
CN108108096B (en) Electronic device, screenshot method and related product
CN112419143A (en) Image processing method, special effect parameter setting method, device, equipment and medium
CN108683699B (en) Method and device for forwarding service request
CN107608776B (en) Method for previewing face information and related product
CN107957750B (en) Electronic device, screenshot method and related product

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
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant