CN109254815A - Display methods, mobile terminal and the storage medium of display interface - Google Patents
Display methods, mobile terminal and the storage medium of display interface Download PDFInfo
- Publication number
- CN109254815A CN109254815A CN201810956739.8A CN201810956739A CN109254815A CN 109254815 A CN109254815 A CN 109254815A CN 201810956739 A CN201810956739 A CN 201810956739A CN 109254815 A CN109254815 A CN 109254815A
- Authority
- CN
- China
- Prior art keywords
- display interface
- crack
- pattern
- mobile terminal
- projected
- 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.)
- Withdrawn
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
Abstract
Provided herein a kind of display methods of display interface, mobile terminal and storage medium, obtain the screenshot of display interface, and the shooting photo that mobile terminal screen ruptures under same display interface;The shooting photo and the screenshot are compared, shape and position that the crack that the mobile terminal screen ruptures is projected on the display interface are obtained;It is projected in shape and position on the display interface according to the crack, forms corresponding pattern, to be shown on current display interface.The logical crack for obtaining mobile terminal screen of the application projects shape and position in the display interface, to form corresponding pattern, to be shown on current display interface, the perception for visually generating mobile terminal screen rupture is avoided, realize improves screen interface when its mobile terminal uses after mobile terminal screen rupture shows the not enough defect of beauty and improve the usage experience of user.
Description
Technical field
This application involves technical field of mobile terminals, in particular to a kind of display methods of display interface, mobile terminal and
Storage medium.
Background technique
With the development of science and technology, one of the daily indispensable tool that mobile phone is developing progressively as people.With mobile phone technique function
The enhancing of energy, the screen of mobile phone is increasing, thus also results in mobile phone and be easy to drop and cause the rupture of mobile phone screen.Due to
The cost of mobile phone replacement screen is larger or the reasons such as be busy with one's work, and mobile phone screen is caused not replaced, and on mobile phone screen
Crack can not only influence the beauty of mobile phone, also affect the usage experience of user.It, can only be by having replaced in existing technology
Whole mobile phone screen improve after mobile phone screen rupture unsightly with the bad usage experience of user.
Summary of the invention
The main purpose of the application is the display methods for providing a kind of display interface, mobile terminal and storage medium, is being moved
Improve screen interface when mobile terminal uses after dynamic terminal screen rupture and shows not beautiful enough defect.
To achieve the above object, this application provides a kind of display methods of display interface, comprising the following steps:
The screenshot of display interface is obtained, and the shooting photo that mobile terminal screen ruptures under same display interface;
The shooting photo and the screenshot are compared, the crack for obtaining the mobile terminal screen rupture is projected in described show
Show the shape on interface and position;
It is projected in shape and position on the display interface according to the crack, corresponding pattern is formed, to be shown in
On current display interface.
Further, described that shape and position on the display interface are projected according to the crack, it is formed corresponding
In the step of pattern, comprising:
It is projected in the lines of shape on the display interface according to the crack, obtains the width of the lines;
Select lines of lines of the width greater than preset threshold as target shape;
According to the lines of the target shape and its corresponding position, corresponding pattern is formed.
Further, described that shape and position on the display interface are projected according to the crack, it is formed corresponding
In the step of pattern, comprising:
It is projected in shape and position on the display interface according to the crack, is filled with the filling lines of same width
In on the position that the crack is projected in the display interface.
Further, in the step of formation corresponding pattern, comprising:
Obtain user's selection to the relevant pattern material in the filling crack, and formed accordingly with the pattern material
Pattern.
Further, described that shape and position on the display interface are projected according to the crack, it is formed corresponding
Pattern, be shown on current display interface pattern the step of in, comprising:
When receiving user and replacing the instruction of the pattern, one first is randomly selected from multiple patterns of generation
Current pattern is changed to first pattern by pattern.
Further, described that shape and position on the display interface are projected according to the crack, it is formed corresponding
Pattern, after the step that is shown on current display interface, comprising:
Identify that the position that the crack is projected on the display interface whether there is application icon;
If recognizing there are the application icon, in the pattern of generation, the corresponding application drawing mark of removal
Set the pattern of region.
Further, described that shape and position on the display interface are projected according to the crack, it is formed corresponding
Pattern, after the step that is shown on current display interface, comprising:
Identify presently described display interface with the presence or absence of application icon;
If recognizing the transparency for adjusting the pattern displaying there are the application icon.
Further, described that shape and position on the display interface are projected according to the crack, it is formed corresponding
Pattern, after the step that is shown on current display interface, comprising:
When receiving the first instruction of the adjusting pattern contrast of user's input, the comparison of the pattern is adjusted
Degree.
The application also provides a kind of mobile terminal, including memory and processor, is stored with computer in the memory
The step of program, the processor realizes any of the above-described the method when executing the computer program.
The application also provides a kind of computer readable storage medium, is stored thereon with computer program, the computer journey
The step of method described in any of the above embodiments is realized when sequence is executed by processor.
Display interface display methods, mobile terminal and storage medium provided herein, has the advantages that
Display interface display methods, mobile terminal and storage medium provided herein, obtains the screenshot of display interface,
And the shooting photo that mobile terminal screen ruptures under same display interface;Comparison shooting photo and screenshot obtain mobile whole
The crack of end screen projects shape and position in the display interface;Shape and position in the display interface are projected according to crack
It sets, forms corresponding pattern, to be shown on current display interface.The application is by obtaining splitting for mobile terminal screen rupture
Seam projects shape and position in the display interface, forms corresponding pattern, to be shown on current display interface, avoids
The perception for visually generating mobile terminal screen rupture, realizing, which improves its mobile terminal after mobile terminal screen rupture, uses
When screen interface show not enough beautiful defect, and then improve the usage experience of user.
Detailed description of the invention
Fig. 1 is the display methods step schematic diagram of display interface in one embodiment of the application;
Fig. 2 is the structural schematic block diagram of the mobile terminal of one embodiment of the application.
The embodiments will be further described with reference to the accompanying drawings for realization, functional characteristics and the advantage of the application purpose.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood
The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, not
For limiting the application.
Referring to Fig.1, a kind of display methods of display interface is provided in one embodiment of the application, comprising the following steps:
Step S1 obtains the screenshot of display interface, and the shooting that mobile terminal screen ruptures under same display interface
Photo.
In the present embodiment, user passes through the screenshot key or back by screenshot function that mobile terminal is current of mobile terminal
Scape interface screenshot obtains the screenshot picture of display interface, and saves on mobile terminals.Meanwhile user is set using shootings such as cameras
The photo of mobile terminal screen rupture of the screenshot picture of standby shooting and display interface under the same display interface, by the shooting
Photo is transmitted to mobile terminal, and mobile terminal saves the shooting photo of received mobile terminal screen rupture.Wherein, mobile
Terminal is mobile phone.
Step S2 compares the shooting photo and the screenshot, obtains the crack projection of the mobile terminal screen rupture
Shape and position on the display interface.
In the present embodiment, mobile terminal opens by feature operation APP or in setting system broken screen picture processing function
The screenshot for the shooting photo and display interface that mobile terminal screen ruptures can be subjected to image comparison processing, it is mobile eventually by comparison
The difference of the screenshot of the shooting photo and display interface of holding screen rupture between the two, obtains mobile terminal screen crack and throws
Shadow is in the position of the shape sum of display interface.
Step S3 is projected in shape and position on the display interface according to the crack, forms corresponding pattern, with
It is shown on current display interface.
In the present embodiment, shape and position in the display interface are projected according to the crack that identification compares, passes through figure
The modes such as picture processing carry out the corresponding pattern of the formation such as image synthesis or image completion, to be displayed on the display interface.According to right
Than the shape of the fracture shape on shooting photo and the material for forming corresponding pattern, pick out to form similar or identical pattern element
Pattern material is arranged filling and forms corresponding pattern, is shown on currently used interface by material.Such as fracture shape is suitble to flow
Husky figure, it will form the relational pattern of drift sand, it is opposite with cracking initiation perfectly to combine, make its theme like mobile terminal
Modification or drawing on wallpaper, rather than visual screen ruptures.It goes to avoid visually to produce with the artistic feeling of background picture
The perception of raw mobile terminal screen rupture.
Above-mentioned display interface includes any display interface of main interface background or mobile terminal.
Specifically, in one embodiment, the display interface is main interface background, is projected in above-mentioned according to the crack
Shape and position on the display interface, form corresponding pattern, in the step S3 that is shown on current display interface,
Include:
Step 31, shape and position in the main interface background are projected according to the crack, are carried on the back in the main interface
Corresponding pattern is formed on scape, and the main interface background is filled using a part as the main interface background.
In the present embodiment, after mobile terminal compares out the shape and position that crack is projected in main interface background, in master
Corresponding pattern is formed by modes such as image procossings in the main interface background of interface background screenshot, according on comparison shooting photo
Fracture shape and formed corresponding pattern material shape, pick out to form similar or identical pattern material, by pattern element
Material arranges filling and forms corresponding pattern, is shown in currently used main interface background.It is equivalent to formed corresponding pattern
It is embedded in main interface background.
In another embodiment, the display interface is main interface background, it is above-mentioned be projected according to the crack it is described
Shape and position on display interface, form corresponding pattern, in the step S3 that is shown on current display interface, packet
It includes:
Step 32, shape and position in the main interface background are projected according to the crack, form the first main interface
Background picture is projected in shape and position in the main interface background with the crack in the first main interface background picture
Formed corresponding pattern is set, the first main interface background picture is replaced to current main interface background.
In the present embodiment, after mobile terminal compares out the shape and position that crack is projected in main interface background, pass through
The modes such as graphics process form corresponding pattern, according to the material of fracture shape and formation corresponding pattern on comparison shooting photo
Shape, pick out to form similar or identical pattern material, by pattern material arrange filling form corresponding pattern, be shown in
In currently used main interface background, which is the corresponding generation of the shape being projected in main interface background with crack and position
The entire main interface background picture of corresponding pattern, can be using the main interface background picture as new main interface background.First main boundary
Face background picture is projected in by main interface background and crack to be formed by pattern in main interface background and synthesizes.
In another embodiment, any display interface of the display interface meaning mobile terminal, it is above-mentioned according to the crack
The shape being projected on the display interface and position, in the step of forming corresponding pattern, comprising:
Step S33 is projected in the lines of shape on the display interface according to the crack, obtains the width of the lines
Degree;
Step S34 selects lines of lines of the width greater than preset threshold as target shape;
Step S35 forms corresponding pattern according to the lines of the target shape and its corresponding position.
In the present embodiment, identification compares out mobile terminal screen crack and is projected in the corresponding position of current display interface and shape
After shape, mobile terminal is clicked correlation function switch button open detection selection function or automatically turned on by user detects and selects function
It can be carried out the width size for detecting identified crack, if fracture width is less than preset threshold, pattern do not carried out to the crack
Filling processing, not will form corresponding pattern on display interface corresponding position.In debugging mobile terminal early period, can acquire big
The experimental data of amount, and being analyzed and processed to these experimental datas, obtains an effective parameter, be set as one it is optimal
Threshold value, if Size of Crack be less than the threshold value, the later period formed corresponding pattern when, the crack the corresponding position of mobile terminal not
Form corresponding pattern.
In one embodiment, the display interface is any display interface of mobile terminal, above-mentioned to be thrown according to the crack
Shape and position of the shadow on the display interface, in the step of forming corresponding pattern, comprising:
Step S36 is projected in shape and position on the display interface according to the crack, with the filling of same width
Lines is filled in the crack and is projected on the position of the display interface.
In the present embodiment, identification compares out mobile terminal screen crack and is projected in the corresponding position of mobile terminal display interface
After shape, mobile terminal is projected in display interface position with the crack of the filling lines filling mobile terminal screen of same width
On pattern be formed by with the filling lines of same width shown.Such as: mobile terminal screen is filled using clube tree
Crack projection shape in the display interface and position be formed by pattern, shown with the filling lines of same width, be with
The limb and branch of clube tree are that same width size is shown.
In another embodiment, the display interface is any display interface of mobile terminal, above-mentioned according to the crack
The shape being projected on the display interface and position, in the step of forming corresponding pattern, comprising:
S37 is projected in shape and position on the display interface according to the crack, is projected with width and the crack
The consistent filling lines of shape size on the display interface is filled in the position that the crack is projected in the display interface
It sets.
In the present embodiment, identification compares out mobile terminal screen crack, and to be projected in mobile terminal current display interface corresponding
After location and shape, mobile terminal projects shape and position institute in the display interface with the crack of width and mobile terminal screen
Equirotal filling lines shows that crack projection shape in the display interface and position are formed by figure in the pattern of formation
The projection of case, i.e. crack forms the fracture shape one on the Size of Crack and mobile terminal screen of corresponding pattern in the display interface
It causes.
In another embodiment, the display interface is any display interface of mobile terminal, above-mentioned according to the crack
The shape being projected on the display interface and position, in the step of forming corresponding pattern, comprising:
Step S38 is projected in shape and position on the display interface according to the crack, and pop-up needs client to confirm
The window of display mode;
Step S39, when receiving the first instruction of user's input shown with same width, with the filling of same width
Lines is filled in the crack and is projected on the position of the display interface;
Step S310 is thrown when receiving the second instruction of user's input shown with gradual change with width and the crack
The consistent filling lines of shape size of the shadow on the display interface is filled in the crack and is projected in the display interface
On position.
In the present embodiment, identification compares out mobile terminal screen crack and is projected in the corresponding location and shape of display interface
Afterwards, mobile terminal pops up a window, is projected in display interface about crack for user's selection and is formed by pattern displaying side
Formula, when user's selection unifies the display mode of size in the display interface with fracture width, mobile terminal is for crack aobvious
Show that interface is respectively formed lines width fracture shape of the same size;When user's selection is shown in display interface in the form of the gradual change of crack
On display mode when, mobile terminal is projected in the crack shape that display interface is respectively formed lines width size gradual change for crack
Shape, the fracture shape for forming projection in the display interface is consistent with the fracture shape on mobile terminal screen, is being regarded with enhancing
In feel to embellishing a design on then display interface rather than the crack on mobile terminal screen avoids visually generating
The perception of mobile terminal screen rupture, and forming the color that corresponding pattern is filled in the later period also can be as Size of Crack changes
And change, i.e., when crack from large to small when, the color filled is from depth to shallow.
In one embodiment, the display interface is any display interface of mobile terminal, the above-mentioned corresponding pattern of formation
The step of in, comprising:
Step S311 obtains the relevant pattern material in the filling crack of user's selection, and with the pattern material shape
At corresponding pattern.
In the present embodiment, mobile terminal identification mobile terminal screen on crack be projected in display interface shape it
Afterwards, it is selected into pattern, user can select the pattern material liked according to personal preference and the shape in crack, and pattern material includes
It is not limited to scenery with hills and waters ink and wash, plant leaf, sketch texture etc., mobile terminal pattern material according to selected by user arranged
Pattern material selected by user is filled into fracture shape generated with suitable, relatively perfect combination by analysis processing
In.
In one embodiment, the display interface is any display interface of mobile terminal, above-mentioned to be thrown according to the crack
Shape and position of the shadow on the display interface, form corresponding pattern, with the step being shown on current display interface
After S3, comprising:
Step S41 is randomly selected from multiple patterns of generation when receiving user and replacing the instruction of the pattern
Current pattern is changed to first pattern by one the first pattern.
In the present embodiment, mobile terminal is projected in shape and position on current display interface according to crack, forms one
The corresponding pattern to be shown on current display interface of series, is come out with one of patterned display, user according to fitness,
Personal preference etc. passes through the replacement button on the APP for clicking mobile terminal screen disruption treatments or is showing above pattern more
It changes the modes such as button and carries out pattern replacement.When the user clicks the replacement button on the APP of mobile terminal screen disruption treatments or
When showing the replacement button above pattern, mobile terminal can accordingly be shown in current display interface in a series of of formation
On pattern in randomly select a pattern displaying and come out, if user is still unsatisfied with, continue to click mobile terminal screen broken
It splits the replacement button on the APP of processing or is showing the replacement button above pattern, until being to the pattern satisfaction shown
Only.
In another embodiment, the display interface is any display interface of mobile terminal, above-mentioned according to the crack
The shape being projected on the display interface and position form corresponding pattern, with the step being shown on current display interface
After rapid S3, comprising:
Step S42, when receive user with choose the second pattern replacement current pattern instruction when, more by current pattern
It is changed to second pattern.
In the present embodiment, mobile terminal projects shape and position in the display interface according to crack, is formed a series of
The pattern being accordingly shown in current display interface, is sorted pattern according to taxonomic revision, is gone out with one of patterned display
Come.When user is dissatisfied to the pattern shown, click replacement button on the APP of mobile terminal screen disruption treatments or
Replacement button above displaying pattern, mobile terminal go out all pattern displayings for the formation sorted according to taxonomic revision
Come, user therefrom selects be satisfied with pattern, then clicks the application button on the second chosen pattern, and mobile terminal will be selected
In the pattern that uses of the second pattern replacement current presentation.
In one embodiment, the display interface is any display interface of mobile terminal, above-mentioned to be thrown according to the crack
Shape and position of the shadow on the display interface, form corresponding pattern, with the step being shown on current display interface
Later, comprising:
Step S43 identifies that the position that the crack is projected on the display interface whether there is application icon;
Step S51 in the pattern of generation, is removed and is answered described in corresponding to if recognizing there are the application icon
With the pattern of picture mark position region.
In the present embodiment, mobile terminal forms crack projection corresponding pattern in the display interface in the display interface
Afterwards, there is application icon in the corresponding position of display interface if being formed by the pattern in crack, to prevent the figure for being formed by crack
Case stops checking for application icon, then removes the figure on the pattern in the crack of formation in the band of position corresponding to application icon
Case.If the pattern in crack generated uses in the background of mobile terminal main interface, can be according in different main interfaces
Application layout generates the pattern for removing the crack pattern of application icon corresponding position accordingly.User is allowed to be switched to different masters
When interface, it will not influence screen interface when mobile terminal uses to application icon due to being formed by crack pattern blocks and show
The usage experience of the beauty and user shown.
In one embodiment, the display interface is any display interface of mobile terminal, above-mentioned to be thrown according to the crack
Shape and position of the shadow on the display interface, form corresponding pattern, with the step being shown on current display interface
Later, comprising:
Step S44 identifies presently described display interface with the presence or absence of application icon;
Step S52, if recognizing the transparency for adjusting the pattern displaying there are the application icon.
In the present embodiment, mobile terminal forms crack projection corresponding pattern in the display interface in the display interface
Afterwards, if there are application icons on the display interface of institute's screenshot, the transparency for being formed by crack pattern is turned up, to prevent from blocking
Application icon.
In another embodiment, the display interface is any display interface of mobile terminal, above-mentioned according to the crack
The shape being projected on the display interface and position form corresponding pattern, with the step being shown on current display interface
After rapid, comprising:
Step S45 identifies that the position that the crack is projected on the display interface whether there is application icon;
Step S53 adjusts corresponding application icon position region if recognizing there are the application icon
Transparency.
In the present embodiment, mobile terminal forms crack projection corresponding pattern in the display interface in the display interface
Afterwards, if on the display interface of institute's screenshot, crack is projected in the position on the display interface, and there are application icons, then institute is turned up
The crack pattern of formation corresponds to the transparency of application icon position region, and realization can both prevent from blocking application icon
Former figuratum effect can be saved again.
In one embodiment, the display interface is any display interface of mobile terminal, above-mentioned to be thrown according to the crack
Shape and position of the shadow on the display interface, form corresponding pattern, with the step being shown on current display interface
After S3, comprising:
Step S46 adjusts the pattern when receiving the first instruction of the adjusting pattern contrast of user's input
Contrast.
In the present embodiment, in order to which distincter with the color for being formed by crack pattern in display interface and pattern is apparent
It is formed by crack pattern to enhance, the perception for visually generating mobile terminal screen rupture is avoided, is formed by adjusting
The contrast of crack pattern realize.Mobile terminal forms mobile terminal screen crack in the display interface and is projected in display circle
On face when corresponding pattern, user can open mobile terminal screen rupture clarity in the setting system of mobile terminal and adjust function
Can, mobile terminal automatically adjusts the contrast of the crack pattern of formed mobile terminal screen crack projection in the display interface,
Keep the color for being formed by crack pattern distincter apparent with pattern, avoids visually generating mobile terminal screen rupture
Perception.
Referring to Fig. 2, the embodiment of the present invention also provides a kind of mobile terminal, including processor 1080 and memory 1020, institute
Memory 1020 is stated for executing the program of above-mentioned display interface display methods;The processor 1080 is configurable for holding
The program stored in the row memory.
For ease of description, only parts related to embodiments of the present invention are shown, disclosed by specific technical details, asks
Referring to present invention method part.The mobile terminal can be include mobile phone, tablet computer, PDA (Personal
Digital Assistant, personal digital assistant), POS (Point of Sales, point-of-sale terminal), vehicle-mounted computer etc. it is any eventually
End equipment, by taking mobile terminal is mobile phone as an example:
Fig. 2 shows be mobile phone relevant to mobile terminal provided in an embodiment of the present invention part-structure block diagram.Ginseng
Fig. 2 is examined, mobile phone includes: radio frequency (Radio Frequency, RF) circuit 1010, memory 1020, input unit 1030, display
Unit 1040, sensor 1050, voicefrequency circuit 1060, Wireless Fidelity (wireless fidelity, WiFi) module 1070, place
Manage the components such as device 1080 and power supply 1090.It will be understood by those skilled in the art that handset structure shown in Figure 2 not structure
The restriction of pairs of mobile phone may include perhaps combining certain components or different components than illustrating more or fewer components
Arrangement.
It is specifically introduced below with reference to each component parts of the Fig. 2 to mobile phone:
RF circuit 1010 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base station
After downlink information receives, handled to processor 1080;In addition, the data for designing uplink are sent to base station.In general, RF circuit
1010 include but is not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise
Amplifier, LNA), duplexer etc..In addition, RF circuit 1010 can also be logical with network and other equipment by wireless communication
Letter.Any communication standard or agreement, including but not limited to global system for mobile communications (Global can be used in above-mentioned wireless communication
System of Mobile communication, GSM), general packet radio service (General Packet Radio
Service, GPRS), CDMA (Code Division Multiple Access, CDMA), wideband code division multiple access
(Wideband Code Division Multiple Access, WCDMA), long term evolution (Long Term Evolution,
LTE), Email, short message service (Short Messaging Service, SMS) etc..
Memory 1020 can be used for storing software program and module, and processor 1080 is stored in memory by operation
1020 software program and module, thereby executing the various function application and data processing of mobile phone.Memory 1020 can be led
It to include storing program area and storage data area, wherein storing program area can be needed for storage program area, at least one function
Application program (such as sound-playing function, image player function etc.) etc.;Storage data area, which can be stored, uses institute according to mobile phone
Data (such as audio data, phone directory etc.) of creation etc..In addition, memory 1020 may include high random access storage
Device, can also include nonvolatile memory, and a for example, at least disk memory, flush memory device or other volatibility are solid
State memory device.
Input unit 1030 can be used for receiving the number or character information of input, and generate with the user setting of mobile phone with
And the related key signals input of function control.Specifically, input unit 1030 may include touch panel 1031 and other inputs
Equipment 1032.Touch panel 1031, also referred to as touch screen collect touch operation (such as the user of user on it or nearby
Use the behaviour of any suitable object or attachment such as finger, stylus on touch panel 1031 or near touch panel 1031
Make), and corresponding attachment device is driven according to preset formula.Optionally, touch panel 1031 may include touch detection
Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band
The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it
It is converted into contact coordinate, then gives processor 1080, and order that processor 1080 is sent can be received and executed.In addition,
Touch panel 1031 can be realized using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch surface
Plate 1031, input unit 1030 can also include other input equipments 1032.Specifically, other input equipments 1032 may include
But in being not limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc.
It is one or more.
Display unit 1040 can be used for showing information input by user or be supplied to user information and mobile phone it is each
Kind menu.Display unit 1040 may include display panel 1041, optionally, can use liquid crystal display (Liquid
Crystal Display, LCD), the forms such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED)
To configure display panel 1041.Further, touch panel 1031 can cover display panel 1041, when touch panel 1031 detects
After arriving touch operation on it or nearby, processor 1080 is sent to determine the type of touch event, is followed by subsequent processing device
1080 provide corresponding visual output according to the type of touch event on display panel 1041.Although in Fig. 2, touch panel
1031 and display panel 1041 are the input and input function for realizing mobile phone as two independent components, but in certain realities
Apply in example, can be integrated by touch panel 1031 and display panel 1041 and that realizes mobile phone output and input function.
Mobile phone may also include at least one sensor 1050, such as optical sensor, motion sensor and other sensors.
Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light
Light and shade adjust the brightness of display panel 1041, proximity sensor can close display panel when mobile phone is moved in one's ear
1041 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (generally three axis) and add
The size of speed can detect that size and the direction of gravity when static, can be used to identify application (such as the horizontal/vertical screen of mobile phone posture
Switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Also as mobile phone
The other sensors such as configurable gyroscope, barometer, hygrometer, thermometer, infrared sensor, details are not described herein.
Voicefrequency circuit 1060, loudspeaker 1061, microphone 1062 can provide the audio interface between user and mobile phone.Audio
Electric signal after the audio data received conversion can be transferred to loudspeaker 1061, be converted by loudspeaker 1061 by circuit 1060
For voice signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 1062, by voicefrequency circuit 1060
Audio data is converted to after reception, then by after the processing of audio data output processor 1080, through RF circuit 1010 to be sent to ratio
Such as another mobile phone, or audio data is exported to memory 1020 to be further processed.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronics postal by WiFi module 1070
Part, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 2 shows
WiFi module 1070, but it is understood that, and it is not belonging to must be configured into for mobile phone, it can according to need do not changing completely
Become in the range of the essence of invention and omits.
Processor 1080 is the control centre of mobile phone, using the various pieces of various interfaces and connection whole mobile phone,
By running or execute the software program and/or module that are stored in memory 1020, and calls and be stored in memory 1020
Interior data execute the various functions and processing data of mobile phone, to carry out integral monitoring to mobile phone.Optionally, processor
1080 may include one or more processing units;Preferably, processor 1080 can integrate application processor and modulation /demodulation processing
Device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is mainly located
Reason wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 1080.
Mobile phone further includes the power supply 1090 (such as battery) powered to all parts, it is preferred that power supply can pass through power supply
Management system and processor 1080 are logically contiguous, to realize management charging, electric discharge and power consumption pipe by power-supply management system
The functions such as reason.
Although being not shown, mobile phone can also include camera, bluetooth module etc., and details are not described herein.
Referring to Fig. 2, in embodiments of the present invention, processor 1080 included by the mobile terminal is also with the following functions:
The screenshot of display interface is obtained, and the shooting photo that mobile terminal screen ruptures under same display interface;
The shooting photo and the screenshot are compared, the crack for obtaining the mobile terminal screen rupture is projected in described show
Show the shape on interface and position;
It is projected in shape and position on the display interface according to the crack, corresponding pattern is formed, to be shown in
On current display interface.
One embodiment of the application also provides a kind of computer readable storage medium, is stored thereon with computer program, calculates
Machine program realizes a kind of display methods of display interface when being executed by processor, specifically:
The screenshot of display interface is obtained, and the shooting photo that mobile terminal screen ruptures under same display interface;
The shooting photo and the screenshot are compared, the crack for obtaining the mobile terminal screen rupture curtain is projected in described show
Show the shape on interface and position;
It is projected in shape and position on the display interface according to the crack, corresponding pattern is formed, to be shown in
On current display interface.
In one embodiment, the display interface is main interface background, and above-mentioned processor is projected in institute according to the crack
The shape on display interface and position are stated, corresponding pattern is formed, in the step that is shown on current display interface, packet
It includes:
It is projected in shape and position in the main interface background according to the crack, is formed in the main interface background
Corresponding pattern fills the main interface background using a part as the main interface background.
In another embodiment, the display interface is main interface background, and above-mentioned processor is projected according to the crack
Shape and position on the display interface, form corresponding pattern, in the step that is shown on current display interface, packet
It includes:
It is projected in shape and position in the main interface background according to the crack, forms the first main interface Background
Piece is projected in shape and position institute shape in the main interface background with the crack in the first main interface background picture
At corresponding pattern, the first main interface background picture is replaced into current interface background.
In one embodiment, any display interface of the display interface meaning mobile terminal, above-mentioned processor is according to
In the step of crack is projected in shape and position on the display interface, forms corresponding pattern, comprising:
It is projected in the lines of shape on the display interface according to the crack, obtains the width of the lines;
Select lines of lines of the width greater than preset threshold as target shape;
According to the lines of the target shape and its corresponding position, corresponding pattern is formed.
In one embodiment, the display interface is any display interface of mobile terminal, and above-mentioned processor is according to
In the step of crack is projected in shape and position on the display interface, forms corresponding pattern, comprising:
It is projected in shape and position on the display interface according to the crack, is filled with the filling lines of same width
In on the position that the crack is projected in the display interface.
In another embodiment, the display interface is any display interface of mobile terminal, and above-mentioned processor is according to institute
In the step of stating the shape and position that crack is projected on the display interface, forming corresponding pattern, comprising:
It is projected in shape and position on the display interface according to the crack, institute is projected in width and the crack
It states the consistent filling lines of the shape size on display interface and is filled in the crack and be projected on the position of the display interface.
In another embodiment, the display interface is any display interface of mobile terminal, and above-mentioned processor is according to institute
In the step of stating the shape and position that crack is projected on the display interface, forming corresponding pattern, comprising:
It is projected in shape and position on the display interface according to the crack, pop-up needs client to confirm display mode
Window;
When receiving the first instruction of user's input shown with same width, filled with the filling lines of same width
In on the position that the crack is projected in the display interface;
When receiving the second instruction of user's input shown with gradual change, it is projected in width and the crack described aobvious
Show that the consistent filling lines of the shape size on interface is filled in the crack and is projected on the position of the display interface.
In one embodiment, the display interface is any display interface of mobile terminal, and above-mentioned processor is formed accordingly
Pattern the step of in, comprising:
The relevant pattern material in the filling crack of user's selection is obtained, and corresponding figure is formed with the pattern material
Case.
In one embodiment, the display interface is any display interface of mobile terminal, and above-mentioned processor is according to
Crack is projected in shape and position on the display interface, forms corresponding pattern, to be shown on current display interface
The step of after, comprising:
When receiving user and replacing the instruction of the pattern, one first is randomly selected from multiple patterns of generation
Current pattern is changed to first pattern by pattern.
In another embodiment, the display interface is any display interface of mobile terminal, and above-mentioned processor is according to institute
The shape and position that crack is projected on the display interface are stated, corresponding pattern is formed, to be shown in current display interface
On step after, comprising:
When receiving user and replacing the instruction of the pattern with the second pattern chosen, current pattern is changed to described
Second pattern.
In one embodiment, the display interface is any display interface of mobile terminal, and above-mentioned processor is according to
Crack is projected in shape and position on the display interface, forms corresponding pattern, to be shown on current display interface
The step of after, comprising:
Identify that the position that the crack is projected on the display interface whether there is application icon;
If recognizing there are the application icon, in the pattern of generation, the corresponding application drawing mark of removal
Set the pattern of region.
In one embodiment, the display interface is any display interface of mobile terminal, and above-mentioned processor is according to
Crack is projected in shape and position on the display interface, forms corresponding pattern, to be shown on current display interface
The step of after, comprising:
Identify presently described display interface with the presence or absence of application icon;
If recognizing the transparency for adjusting the pattern displaying there are the application icon.
In another embodiment, the display interface is any display interface of mobile terminal, and above-mentioned processor is according to institute
The shape and position that crack is projected on the display interface are stated, corresponding pattern is formed, to be shown in current display interface
On step after, comprising:
Identify that the position that the crack is projected on the display interface whether there is application icon;
If recognizing the transparency for adjusting corresponding application icon position region there are the application icon.
In one embodiment, the display interface is any display interface of mobile terminal, and above-mentioned processor is according to
Crack is projected in shape and position on the display interface, forms corresponding pattern, to be shown on current display interface
The step of after, comprising:
When receiving the first instruction of the adjusting pattern contrast of user's input, the comparison of the pattern is adjusted
Degree.
In conclusion for display methods, mobile terminal and the storage medium of the display interface provided in the embodiment of the present application,
Obtain the photo of mobile terminal screen rupture and the photo of mobile terminal display interface;The photo ruptured according to mobile terminal screen
With the photo of mobile terminal display interface, shape and position of the crack of mobile terminal screen in mobile terminal display interface are compared
It sets;According to the shape in crack and crack in the position of mobile terminal display interface, formed on mobile terminal display interface corresponding
Pattern.By comparing shape and position of the crack of mobile terminal screen in mobile terminal display interface, and in mobile terminal
Corresponding pattern is formed on display interface to avoid the perception of mobile terminal screen rupture is visually generated, to realize in movement
Improve its screen after terminal screen rupture and show not beautiful enough defect, and then improves the usage experience of user.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the computer program can store and a non-volatile computer
In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein,
Any reference used in provided herein and embodiment to memory, storage, database or other media,
Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM
(PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include
Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM can by diversified forms
, such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double speed are according to rate SDRAM (SSRSDRAM), increasing
Strong type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM
(RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit
It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components
It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or
The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit
It closes or communicates to connect, can be electrical property, mechanical or other forms.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
Those of ordinary skill in the art will appreciate that implement the method for the above embodiments be can be with
Relevant hardware is instructed to complete by program, the program can store in a kind of computer readable storage medium, on
Stating the storage medium mentioned can be read-only memory, disk or CD etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, device, article or the method that include a series of elements not only include those elements, and
And further include the other elements being not explicitly listed, or further include for this process, device, article or method institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, device of element, article or method.
The foregoing is merely preferred embodiment of the present application, are not intended to limit the scope of the patents of the application, all utilizations
Equivalent structure or equivalent flow shift made by present specification and accompanying drawing content is applied directly or indirectly in other correlations
Technical field, similarly include in the scope of patent protection of the application.
Claims (10)
1. a kind of display methods of display interface, which comprises the following steps:
The screenshot of display interface is obtained, and the shooting photo that mobile terminal screen ruptures under same display interface;
The shooting photo and the screenshot are compared, the crack for obtaining the mobile terminal screen rupture is projected in display circle
Shape and position on face;
It is projected in shape and position on the display interface according to the crack, forms corresponding pattern, it is current to be shown in
Display interface on.
2. the display methods of display interface according to claim 1, which is characterized in that described to be projected according to the crack
Shape and position on the display interface, in the step of forming corresponding pattern, comprising:
It is projected in the lines of shape on the display interface according to the crack, obtains the width of the lines;
Select lines of lines of the width greater than preset threshold as target shape;
According to the lines of the target shape and its corresponding position, corresponding pattern is formed.
3. the display methods of display interface according to claim 1, which is characterized in that described to be projected according to the crack
Shape and position on the display interface, in the step of forming corresponding pattern, comprising:
It is projected in shape and position on the display interface according to the crack, institute is filled in the filling lines of same width
Crack is stated to be projected on the position of the display interface.
4. the display methods of display interface according to claim 1, which is characterized in that the step for forming corresponding pattern
In rapid, comprising:
The pattern material in the filling crack of user's selection is obtained, and corresponding pattern is formed with the pattern material.
5. the display methods of display interface according to claim 1, which is characterized in that described to be projected according to the crack
Shape and position on the display interface, form corresponding pattern, with after the step that is shown on current display interface,
Include:
When receiving user and replacing the instruction of the pattern, first figure is randomly selected from multiple patterns of generation
Current pattern is changed to first pattern by case.
6. the display methods of display interface according to claim 1, which is characterized in that described to be projected according to the crack
Shape and position on the display interface, form corresponding pattern, with after the step that is shown on current display interface,
Include:
Identify that the position that the crack is projected on the display interface whether there is application icon;
If recognizing there are the application icon, in the pattern of generation, the corresponding application icon position institute of removal
Pattern in region.
7. the display methods of display interface according to claim 1, which is characterized in that described to be projected according to the crack
Shape and position on the display interface, form corresponding pattern, with after the step that is shown on current display interface,
Include:
Identify presently described display interface with the presence or absence of application icon;
If recognizing the transparency for adjusting the pattern displaying there are the application icon.
8. the display methods of display interface according to claim 1, which is characterized in that described to be projected according to the crack
Shape and position on the display interface, form corresponding pattern, with after the step that is shown on current display interface,
Include:
When receiving the first instruction of the adjusting pattern contrast of user's input, the contrast of the pattern is adjusted.
9. a kind of mobile terminal, including memory and processor, it is stored with computer program in the memory, feature exists
In the step of processor realizes any one of claims 1 to 8 the method when executing the computer program.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program
The step of method described in any item of the claim 1 to 8 is realized when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810956739.8A CN109254815A (en) | 2018-08-21 | 2018-08-21 | Display methods, mobile terminal and the storage medium of display interface |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810956739.8A CN109254815A (en) | 2018-08-21 | 2018-08-21 | Display methods, mobile terminal and the storage medium of display interface |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109254815A true CN109254815A (en) | 2019-01-22 |
Family
ID=65049575
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810956739.8A Withdrawn CN109254815A (en) | 2018-08-21 | 2018-08-21 | Display methods, mobile terminal and the storage medium of display interface |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109254815A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110060203A (en) * | 2019-04-22 | 2019-07-26 | 京东方科技集团股份有限公司 | Image display method, image display apparatus, electronic equipment and storage medium |
CN110099172A (en) * | 2019-04-28 | 2019-08-06 | 维沃移动通信有限公司 | A kind of screen wallpaper recommended method and terminal |
CN113783996A (en) * | 2021-08-17 | 2021-12-10 | 咪咕文化科技有限公司 | Screen defect optimization method, device and equipment and computer storage medium |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140253494A1 (en) * | 2013-03-11 | 2014-09-11 | Motorola Mobility Llc | Method and device for detecting display damage and reconfiguring presentation data and actuation elements |
US20150193074A1 (en) * | 2014-01-07 | 2015-07-09 | Lenovo Enterprise Solutions (Singapore) Pte. Ltd. | System and method for altering interactive element placement based around damaged regions on a touchscreen device |
CN105630643A (en) * | 2015-08-26 | 2016-06-01 | 宇龙计算机通信科技(深圳)有限公司 | Screen display method, screen display apparatus and terminal |
CN106228548A (en) * | 2016-07-18 | 2016-12-14 | 图麟信息科技(上海)有限公司 | The detection method of a kind of screen slight crack and device |
CN107102805A (en) * | 2016-02-23 | 2017-08-29 | 西安中兴新软件有限责任公司 | A kind of display methods and display device |
CN107422915A (en) * | 2017-07-26 | 2017-12-01 | 广东欧珀移动通信有限公司 | Response control mehtod, device, storage medium and the terminal of touch-screen |
CN107562282A (en) * | 2017-09-26 | 2018-01-09 | 广东小天才科技有限公司 | Control method and device for wearable equipment screen |
CN107948392A (en) * | 2016-10-12 | 2018-04-20 | 中兴通讯股份有限公司 | Terminal and display fault handling method |
CN108255557A (en) * | 2018-01-10 | 2018-07-06 | 深圳市欧信计算机通信科技有限公司 | The broken screen emergency method of mobile terminal and its system |
WO2018175351A1 (en) * | 2017-03-20 | 2018-09-27 | Paypal, Inc. | Automated user device damage remidiation |
-
2018
- 2018-08-21 CN CN201810956739.8A patent/CN109254815A/en not_active Withdrawn
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140253494A1 (en) * | 2013-03-11 | 2014-09-11 | Motorola Mobility Llc | Method and device for detecting display damage and reconfiguring presentation data and actuation elements |
US20150193074A1 (en) * | 2014-01-07 | 2015-07-09 | Lenovo Enterprise Solutions (Singapore) Pte. Ltd. | System and method for altering interactive element placement based around damaged regions on a touchscreen device |
CN105630643A (en) * | 2015-08-26 | 2016-06-01 | 宇龙计算机通信科技(深圳)有限公司 | Screen display method, screen display apparatus and terminal |
CN107102805A (en) * | 2016-02-23 | 2017-08-29 | 西安中兴新软件有限责任公司 | A kind of display methods and display device |
CN106228548A (en) * | 2016-07-18 | 2016-12-14 | 图麟信息科技(上海)有限公司 | The detection method of a kind of screen slight crack and device |
CN107948392A (en) * | 2016-10-12 | 2018-04-20 | 中兴通讯股份有限公司 | Terminal and display fault handling method |
WO2018175351A1 (en) * | 2017-03-20 | 2018-09-27 | Paypal, Inc. | Automated user device damage remidiation |
CN107422915A (en) * | 2017-07-26 | 2017-12-01 | 广东欧珀移动通信有限公司 | Response control mehtod, device, storage medium and the terminal of touch-screen |
CN107562282A (en) * | 2017-09-26 | 2018-01-09 | 广东小天才科技有限公司 | Control method and device for wearable equipment screen |
CN108255557A (en) * | 2018-01-10 | 2018-07-06 | 深圳市欧信计算机通信科技有限公司 | The broken screen emergency method of mobile terminal and its system |
Non-Patent Citations (1)
Title |
---|
易橙电子商务: "囧科技:手机碎屏后,"壁纸修复大法"化解尴尬", 《HTTPS://WWW.SOHU.COM/A/139298183_353689》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110060203A (en) * | 2019-04-22 | 2019-07-26 | 京东方科技集团股份有限公司 | Image display method, image display apparatus, electronic equipment and storage medium |
CN110099172A (en) * | 2019-04-28 | 2019-08-06 | 维沃移动通信有限公司 | A kind of screen wallpaper recommended method and terminal |
CN110099172B (en) * | 2019-04-28 | 2021-12-28 | 维沃移动通信有限公司 | Screen wallpaper recommendation method and terminal |
CN113783996A (en) * | 2021-08-17 | 2021-12-10 | 咪咕文化科技有限公司 | Screen defect optimization method, device and equipment and computer storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104243671B (en) | Volume adjusting method, device and electronic equipment | |
CN107105160A (en) | A kind of method, system and mobile terminal for starting camera | |
CN109254815A (en) | Display methods, mobile terminal and the storage medium of display interface | |
CN108519851A (en) | A kind of interface switching method and mobile terminal | |
CN106331502A (en) | Terminal and its filter photographing method and device | |
CN110209245A (en) | Face identification method and Related product | |
CN104238918A (en) | List view assembly sliding display method and device | |
CN108052300A (en) | Application interface switching method, mobile terminal and readable storage medium storing program for executing | |
CN108932093A (en) | Split screen application switching method, device, storage medium and electronic equipment | |
CN108762814A (en) | Bright screen method and relevant device | |
CN108055567A (en) | A kind of method for processing video frequency, device, terminal device and storage medium | |
CN107957841A (en) | Roll screenshotss method and device | |
CN104820546B (en) | Function information methods of exhibiting and device | |
CN107066268A (en) | The display location switching method and device of widget application | |
CN105786439B (en) | The control method and device of sound in a kind of terminal | |
CN108958626A (en) | Gesture identification method, device, readable storage medium storing program for executing and mobile terminal | |
CN110456911A (en) | Electronic equipment control method and device, electronic equipment and readable storage medium | |
CN109493821A (en) | Screen brightness regulation method, device and storage medium | |
CN107103074A (en) | The processing method and mobile terminal of a kind of sharing information | |
CN108055383A (en) | Acquisition methods, device and the mobile terminal of screenshot picture | |
CN108040492A (en) | A kind of data copy method and user terminal | |
CN107678822B (en) | A kind of information processing method and device, terminal and readable storage medium storing program for executing | |
CN106484260A (en) | A kind of applied program processing method of mobile terminal, device and mobile terminal | |
CN109040580A (en) | Mobile terminal and its control method taken pictures and device | |
CN109062643A (en) | A kind of display interface method of adjustment, device and terminal |
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 | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20190122 |