CN109005282A - A kind of display methods and mobile terminal - Google Patents

A kind of display methods and mobile terminal Download PDF

Info

Publication number
CN109005282A
CN109005282A CN201810681502.3A CN201810681502A CN109005282A CN 109005282 A CN109005282 A CN 109005282A CN 201810681502 A CN201810681502 A CN 201810681502A CN 109005282 A CN109005282 A CN 109005282A
Authority
CN
China
Prior art keywords
display
advertisement bar
size
mobile terminal
display window
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.)
Granted
Application number
CN201810681502.3A
Other languages
Chinese (zh)
Other versions
CN109005282B (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810681502.3A priority Critical patent/CN109005282B/en
Publication of CN109005282A publication Critical patent/CN109005282A/en
Application granted granted Critical
Publication of CN109005282B publication Critical patent/CN109005282B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages

Abstract

The present invention provides a kind of display methods and mobile terminals, are related to technical field of data processing.Wherein, which comprises the advertisement bar in identification display window;The advertisement bar is located at the fringe region of the display window;Obtain the first size of the advertisement bar;Obtain the second size of the mobile terminal display screen;Third size is set by the dimensional parameters of the display window;The third size is greater than or equal to the sum of the first size and the second size;The display position of the advertisement bar is set to target area, the target area is located in the display window and is located at except display screen display area.The display position of advertisement bar is set to target area by the embodiment of the present invention, and target area is located in display window and is located at except display screen display area, and then the advertisement bar is hidden, and avoids accidentally touching advertisement bar, convenient for users.

Description

A kind of display methods and mobile terminal
Technical field
The present invention relates to technical field of data processing, more particularly to a kind of display methods and mobile terminal.
Background technique
Currently, many applications realize profit by breaking for commercialsy in its operational process.The advertisement is intercutted opportunity and is shown Show that position is determined by the application.In general, the advertisement be shown in mobile terminal using meeting in order to increase the exposure rate of the advertisement Common operating area.For example, for the mobile mobile terminal that shields comprehensively, using advertisement would generally be shown in virtual key position It sets, has increased the exposure rate of advertisement.
In first technology, display circle of mobile terminal can be occupied using the advertisement bar intercutted in operational process by the application Face, shown referring to Fig.1, Fig. 1 is shown in the prior art, occupies display by the advertisement bar that the application is intercutted using in operational process The schematic diagram of screen.In Fig. 1, mobile terminal bottom region can be the position where the virtual key of the mobile terminal, application Advertisement is shown in the position, the exposure rate of the advertisement can be increased to a certain extent.
Inventor has found that above-mentioned prior art has the following disadvantages: since above-mentioned advertisement bar is in the course of the research It applies and intercuts in its operational process, what mobile terminal was unable to control the advertisement bar intercuts opportunity and display position, on the one hand, The advertisement bar can block the display content of original display screen, and influence the beauty of display window;On the other hand, the advertisement bar is aobvious Show that position is generally in the common operating area of mobile terminal, influences the operation to mobile terminal, may cause and accidentally touch the advertisement Item brings inconvenience to user.
Summary of the invention
The present invention provides a kind of display methods and mobile terminal, it is intended to solve to hide using the advertisement bar intercutted in operational process The display content for keeping off original display interface, influences the beauty of display interface, leads to user's accidentally touching advertisement problem.
In a first aspect, being applied to mobile terminal the embodiment of the invention provides a kind of display methods, comprising:
Identify the advertisement bar in display window;The advertisement bar is located at the fringe region of the display window;
Obtain the first size of the advertisement bar;
Obtain the second size of the mobile terminal display screen;
The dimensional parameters of the display window are revised as third size;The third size is greater than or equal to described first The sum of size and the second size;
The display position of the advertisement bar is set to target area, the target area be located in the display window and Except display screen display area.
Second aspect, the embodiment of the invention also provides a kind of mobile terminals, comprising:
Advertisement bar identification module, for identification advertisement bar in display window;The advertisement bar is located at the display window Fringe region;
First size obtains module, for obtaining the first size of the advertisement bar;
Second dimension acquisition module, for obtaining the second size of the mobile terminal display screen;
Dimensional parameters setup module, for setting third size for the dimensional parameters of the display window;The third Size is greater than or equal to the sum of the first size and the second size;
First display module, for the display position of the advertisement bar to be set to target area, the target area position In the display window and it is located at except display screen display area.
The third aspect, the embodiment of the invention also provides a kind of mobile terminal, which includes processor, memory And it is stored in the computer program that can be run on the memory and on the processor, the computer program is by the place The step of reason device realizes display methods of the present invention when executing.
Fourth aspect, the embodiment of the invention also provides a kind of computer readable storage medium, the computer-readable storages Computer program is stored on medium, the computer program realizes the step of display methods of the present invention when being executed by processor Suddenly.
In embodiments of the present invention, the advertisement bar in display window is identified, obtains the first size of advertisement bar, obtains The dimensional parameters of display window are set third size by the second size for taking mobile terminal display screen, which is greater than Or it is equal to the sum of above-mentioned first size and the second size, the display position of the advertisement bar is set to target area, the mesh Mark region is located in the display window and is located at except display screen display area, and then the advertisement bar is hidden, and not only eliminates The advertisement bar intercutted in application operational process occupies display screen large area, it is thus also avoided that the influence to mobile terminal operation, Accidentally touching advertisement bar is avoided, it is convenient for users.
Detailed description of the invention
Fig. 1 is shown in the prior art, occupies showing for display screen using the advertisement bar intercutted in operational process by the application It is intended to;
Fig. 2 shows the flow charts of the display methods provided in the embodiment of the present invention one;
Fig. 3 shows the display window schematic diagram with advertisement bar provided in the embodiment of the present invention one;
Fig. 4 shows another schematic diagram of the display window with advertisement bar provided in the embodiment of the present invention one;
Fig. 5 show provided in the embodiment of the present invention one for the corresponding display window of Fig. 3, after dimensional parameters are set The display window schematic diagram of third size;
Fig. 6 shows the signal that the display position of advertisement bar is set to target area provided in the embodiment of the present invention one Figure;
Fig. 7 shows the flow chart of the display methods provided in the embodiment of the present invention two;
Fig. 8 shows the schematic diagram for identifying advertisement bar in display window provided in the embodiment of the present invention two;
Fig. 9 shows showing for the region of indicia framing institute's frame choosing after the reception adjustment operation provided in the embodiment of the present invention two It is intended to;
Figure 10 shows the top of the display window provided in the embodiment of the present invention two and display screen top is aligned, with third The schematic diagram that size shows display window in display screen;
Figure 11 show provided in the embodiment of the present invention two except the display area that advertisement bar is located at display screen when, if Trigger action is received, advertisement bar is shown into the schematic diagram in the display area of display screen;
Figure 12 show provided in the embodiment of the present invention two except the display area that advertisement bar is located at display screen when, if Trigger action is received, advertisement bar is shown in the another schematic diagram of the display area of display screen;
Figure 13 shows the structural block diagram for the mobile terminal that according to embodiments of the present invention three provide;
Figure 14 shows the structural block diagram for another mobile terminal that according to embodiments of the present invention three provide;
Figure 15 is the hardware structural diagram of one of embodiment of the present invention mobile terminal.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
Embodiment one
Referring to Fig. 2, the flow chart of the display methods provided in the embodiment of the present invention one is provided, can specifically include as follows Step:
Step 101, the advertisement bar in display window is identified;The advertisement bar is located at the fringe region of the display window.
In embodiments of the present invention, which can store the display window in memory or caching, the display window It mouthful can be the window that is initially displayed on the display screen of the mobile terminal.In embodiments of the present invention, this is not especially limited. It should be noted that the display window can be the display window of the operating system of the mobile terminal.
In embodiments of the present invention, the advertisement bar in display window can be identified in several ways, for example, can preset Advertisement bar mark, searches whether that there are above-mentioned advertisement bar marks, and if it exists, then exist in the display window in the display window Advertisement bar obtains the initial ad position further using the position where the advertising logo as initial ad position The display properties such as pixel, by the advertisement bar identify and the advertisement bar mark surrounding a certain range in, display properties and it is above-mentioned just The display properties of beginning advertisement bar position, the region in default spacing is as the advertisement bar.
In embodiments of the present invention, advertisement bar sample data in a variety of applications can also be obtained in advance, using these advertisements The training of sample data using advertisement bar sample data as inputting, using advertisement bar identification as the advertisement bar identification model exported. In the embodiment of the present invention, machines training patterns such as SVM (Support Vector Machine, support vector machines) can be used, The above-mentioned advertisement bar identification model of training.In embodiments of the present invention, to specifically using, which kind of method is constructed and training advertisement bar is known Other model is not especially limited.
By the above method, advertisement bar is identified from display window.It is somebody's turn to do it should be noted that above-mentioned advertisement bar can be located at The fringe region of display window.The fringe region of display window can be top, bottom, left side, the right side etc. of display window, In the embodiment of the present invention, this is not especially limited.
For example, referring to shown in Fig. 3, Fig. 3 shows the display window schematic diagram with advertisement bar, in Fig. 3, identifies Advertisement bar in display window is region hatched in Fig. 3, and advertisement bar is the bottom being located in display window fringe region Portion region.
For example, referring to shown in Fig. 4, Fig. 4 shows another schematic diagram of display window with advertisement bar, in Fig. 4, identifies The advertisement bar in display window come is region hatched in Fig. 4, and advertisement bar is located in display window fringe region Left area.
Step 102, the first size of the advertisement bar is obtained.
In embodiments of the present invention, after the advertisement bar in identification display window, the advertisement bar can further be obtained First size.The first size can be wide, high size of advertisement bar etc..This is not limited specifically in embodiments of the present invention It is fixed.
It should be noted that in embodiments of the present invention, it can be according to the advertisement bar in the specific of display window fringe region Position may further determine that and specifically need which information the first size of the advertisement bar obtained includes.
Specifically, can only obtain the height of the advertisement bar if advertisement bar is located at bottom or the top area of display window Size can only obtain the width dimensions of the advertisement bar if above-mentioned advertisement bar is located at the left or right side of the display window, In the embodiment of the present invention, this is not especially limited.
For example, referring to shown in Fig. 3, which is located at the bottom section of display window, can only obtain the advertisement bar Height dimension.For another example then in Fig. 4, which is located at the left area of display window referring to shown in Fig. 4, can only obtain The width dimensions of the advertisement bar.The height dimension and width dimensions that the advertisement bar can also be obtained simultaneously, in the embodiment of the present invention In, this is not especially limited.
For example, referring to shown in Fig. 3, since the advertisement bar is located at the bottom section of display window, the advertisement can be only obtained The height dimension of item, if the height dimension of the advertisement bar is 0.8 inch, the size of the advertisement bar be can be, 0.8 English of height It is very little.The height dimension and width dimensions of the advertisement bar can also be obtained simultaneously, if the height dimension of the advertisement bar is 0.8 inch, Width dimensions are 4.5 inches, then the size of the advertisement bar can be, 0.8 inch of height, and width dimensions are 4.5 inches.
For another example in Fig. 4, advertisement bar is located at the left area of display window referring to shown in Fig. 4, it is wide can only to obtain this Accuse the width dimensions of item.If the width dimensions of the advertisement bar are 1 inch, the size of the advertisement bar be can be, and width is 1 English It is very little.Likewise, the height dimension and width dimensions of the advertisement bar can also be obtained simultaneously, if the height dimension of the advertisement bar is 8 Inch, width dimensions are that the size of 1 inch of then advertisement bar can be, and 8 inches of height, width dimensions are 1 inch.
In embodiments of the present invention, by further determining that, which shows in the specific of fringe region of display window Show position, and then can only obtain the width dimensions of the advertisement bar, or only obtain the height dimension of the advertisement bar, and then reduce The size quantity of acquisition.
Step 103, the second size of the mobile terminal display screen is obtained.
In embodiments of the present invention, physical attribute of the second of mobile terminal display screen having a size of the mobile terminal, as Wide, the high size of the display screen, after usual mobile terminal production, the second size of display screen is had determined that.In this hair In bright embodiment, this is not especially limited.
It, can be by obtaining the second of the display screen of the mobile terminal in the physical parameter of the mobile terminal in concrete application Size can also obtain the second size of the display screen of the mobile terminal by calling respective function.For example, being directed to android System, can be in system source code frameworks base core java android app Activity.java, can be with By on Create function, the second size of the display screen of the mobile terminal is obtained.In embodiments of the present invention, this is not made It is specific to limit.
If the height dimension of the mobile terminal display screen of acquisition is 8 inches by the above method, width dimensions are 4.5 English Very little, the second size of the mobile terminal display screen can be, 8 inches of height, and width dimensions are 4.5 inches.
Step 104, third size is set by the dimensional parameters of the display window;The third size is greater than or equal to The sum of the first size and the second size.
In embodiments of the present invention, according to above-mentioned first size and the second size, the dimensional parameters of display window are arranged For third size, the third size be greater than or equal to the first size and the second size and.In the third of setting display window During dimensional parameters, the setting to third dimensional parameters can be determined according to above-mentioned first size and the second size.
For example, it is directed to the example of above-mentioned Fig. 3, it, should if only obtaining since the advertisement bar is located at the bottom section of display window The height dimension of advertisement bar, if the height dimension of the advertisement bar is 0.8 inch, if the mobile terminal display screen of corresponding acquisition Height dimension be 8 inches, width dimensions be 4.5 inches, then be arranged after third size in height dimension can be greater than or Equal to 8.8 inches, the width dimensions in the width dimensions in the third size, with the second size of display screen can be kept one It causes or greater than the width dimensions in the second size of the display screen.Then the third size of the display window can be with are as follows: width dimensions For more than or equal to 4.5 inches, height dimension is greater than or equal to 8.8 inches.Then third size is are as follows: width dimensions be greater than or Equal to 4.5 inches, height dimension is greater than or equal to 8.8 inches.In embodiments of the present invention, this is not especially limited.
For another example the example of above-mentioned Fig. 4 is directed to, since the advertisement bar is located at the left area of display window, if only obtaining The width dimensions of the advertisement bar, if the width dimensions of the advertisement bar are 1 inch, if the mobile terminal display screen of corresponding acquisition Height dimension be 8 inches, width dimensions be 4.5 inches, then the width dimensions in modified third size can be greater than or Equal to 5.5 inches, the height dimension in the height dimension in third size, with the second size of display screen can be consistent Or greater than the height dimension in the second size of the display screen.Then the third size of the display window can be with are as follows: width dimensions are More than or equal to 5.5 inches, height dimension is greater than or equal to 8 inches.Then third size is are as follows: width dimensions be more than or equal to 5.5 inches, height dimension is greater than or equal to 8 inches.In embodiments of the present invention, this is not especially limited.
In concrete application, modification third dimensional parameters can be modified by the relevant interface of third dimensional parameters, example It such as, can be in system source code frameworks base core java android app for Android system In Activity.java, by Activity, the modification of the functions such as Window, Windowmanager.LayoutParams is above-mentioned The third dimensional parameters of system display window.This is not especially limited in embodiments of the present invention.
Step 105, the display position of the advertisement bar is set to target area, the target area is located at the display In window and it is located at except display screen display area.
In embodiments of the present invention, the display position of advertisement bar is set to target area, the target area is aobvious positioned at this Show in window and be located at except display screen display area, so that the advertisement bar is hidden in except the display area of the display screen.
Specifically, the display window of third size, before the content of display can modify size than it, the content of display is more. For example, being referred to shown in Fig. 5, Fig. 5 is shown, the third size for the corresponding display window of Fig. 3, after dimensional parameters are arranged Display window schematic diagram.
In embodiments of the present invention, optionally, the display position of advertisement bar is set to target area, target area position In display window and it is located at except display screen display area.It can be, which is rendered into the aobvious of the mobile terminal It being shown in display screen, the display position of the advertisement bar is set to target area, which is located in the display window, and Except the display screen display area of the mobile terminal, so that the advertisement bar is hidden in except the display area of the display screen, In embodiments of the present invention, this is not especially limited.
In embodiments of the present invention, the display position of advertisement bar is set to target area, the target area is aobvious positioned at this Show in window and is located at except display screen display area.For example, referring to shown in Fig. 6, Fig. 6 is shown, will be by the display of advertisement bar Position is set to the schematic diagram of target area.
Compared with the existing technology, for example, in Fig. 1, in the display screen display area of the mobile terminal, it is shown that advertisement bar and The content of Line1-Line8, and in the embodiment of the present invention, the display position of advertisement bar is set to target area, the target area Domain is located in the display window and is located at except display screen display area, and referring to shown in Fig. 6, the display screen of the mobile terminal is shown In region, it is shown that the content of Line1-Line9, compared with the existing technology, in the display screen display area of the mobile terminal not Only to show the content of Line9, user also can't see the content of the advertisement bar more.
In the embodiment of the present invention, in the display window of third size, which is still remained, still, due to third The display area of the display screen of the display window and mobile terminal of size, is adaptively adjusted, so that the display window In the advertisement bar, be shown in except the display area of the display screen of the mobile terminal.And user is commonly seen and operable area Domain only has the display area of the display screen of the mobile terminal, and advertisement bar is hidden, therefore avoids using operational process In the advertisement bar that intercuts display screen large area is occupied, it is thus also avoided that the influence to mobile terminal operation avoids accidentally touching advertisement Item, it is convenient for users.
In embodiments of the present invention, the advertisement bar in display window is identified, obtains the first size of advertisement bar, obtains The dimensional parameters of display window are set third size by the second size for taking mobile terminal display screen, which is greater than Or it is equal to the sum of above-mentioned first size and the second size, the display position of the advertisement bar is set to target area, the mesh Mark region is located in the display window and is located at except display screen display area, and then the advertisement bar is hidden, and not only eliminates The advertisement bar intercutted in application operational process occupies display screen large area, it is thus also avoided that the influence to mobile terminal operation, Accidentally touching advertisement bar is avoided, it is convenient for users.
Embodiment two
Referring to Fig. 7, the flow chart of the display methods provided in the embodiment of the present invention two is shown, is applied to mobile terminal, It can specifically include following steps:
Step 201, the advertisement bar in display window is identified;The advertisement bar is located at the fringe region of the display window.
In embodiments of the present invention, step 201 is referred to the specific record of step 101 in the embodiment of the present invention, at this This is not especially limited in inventive embodiments.
In embodiments of the present invention, if through the above steps 201, the advertisement bar in display window is identified, referring to Fig. 8 institute Show, Fig. 8 is shown, and identifies the schematic diagram of advertisement bar in display window.Fig. 8 section line is that oblique right 45 region 20 is For the advertisement bar identified in the display window.
Step 202, indicia framing is shown in the display window.
It in embodiments of the present invention, can be in the display window after the advertisement bar in the display window being identified Show indicia framing, optionally, which can be located at the region where the advertisement bar, which can receive the tune to it Whole operation, and then change its size.
For example, advertisement bar is referred to shown in Fig. 8, in advertisement bar Fig. 8, the hatching of dash area is area horizontally to the right Overseas box 20 is as showing indicia framing in the display window.
In embodiments of the present invention, show that the purpose of indicia framing is in the display window, if above-mentioned steps 201 In the advertisement bar that identifies do not meet the needs of user, user can be according to the indicia framing shown in display window, according to it Actual needs, adjusts the size of the advertisement bar region, can both tune up advertisement bar region, can also be by advertisement bar Region is turned down, so that finally determining advertisement bar meets user demand.That is, the advertisement bar in the embodiment of the present invention can It is edited with receiving user.
Step 203, the adjustment to the indicia framing is received to operate.
In embodiments of the present invention, the adjustment that can receive for the indicia framing operates.
Specifically, the corresponding relationship of the adjustment operation and response for the indicia framing can be preset, and then according to the mark Remember the different operation of frame, determines the region of indicia framing institute's frame choosing after adjustment operation.For example, if the preset adjustment to indicia framing In operation, if the inside towards the advertisement bar region operates above-mentioned indicia framing, which is turned down, if The above-mentioned indicia framing of peripheral operation towards the advertisement bar region, then tune up the advertisement bar region.It is specific adjust it is lower or The degree tuned up is according to adjustment operational degree determines, specifically adjusts to that direction, then is directed to according to adjustment operation specific Indicia framing determines.In embodiments of the present invention, this is not especially limited.
For example, above-mentioned example shown in Fig. 8 is directed to, according to above-mentioned preset adjustment operation and response to the indicia framing Corresponding relationship, the region where the advertisement bar is tuned up, until the first advertising area adjusted includes in Fig. 8 simultaneously, Oblique left 45 degree of the region of hatching, the then region that indicia framing institute's frame in the display window after adjustment operation selects, Ke Yiru Shown in Fig. 9.Fig. 9 shows the schematic diagram in the region of indicia framing institute's frame choosing after receiving adjustment operation.
Step 204, according to the region of indicia framing institute's frame choosing after the adjustment operation, the first ruler of the advertisement bar is obtained It is very little.
In embodiments of the present invention, the region of indicia framing institute's frame choosing after being operated according to above-mentioned adjustment, determines that this is wide Accuse the first size of item.
For example, in Fig. 9, in the display window, the region of indicia framing institute's frame choosing after above-mentioned adjustment being operated, really Fixed new advertisement bar.Advertisement bar after i.e. above-mentioned adjustment operation, for bottom section in the display window, hatching oblique right 45 The shadow region of degree.
In turn, the first size of the advertisement bar can be obtained for the advertisement bar after above-mentioned adjustment operation.For example, needle To above-mentioned example, in Fig. 9, determine that the first size of advertisement bar is to determine that bottom section in the display window, hatching are oblique The first size of right 45 degree of shadow region.The method for specifically obtaining the first size of the advertisement bar is referred to above-mentioned implementation Step 102 in example one, details are not described herein again.
In embodiments of the present invention, show that the purpose of indicia framing is in display window, if identified in above-mentioned steps 201 Advertisement bar out does not meet the needs of user, the indicia framing that user can be arranged according to the advertisement bar region, according to it Actual needs, adjusts the size of the advertisement bar region, can both tune up advertisement bar region, can also be by advertisement bar Region is turned down, so that finally determining advertisement bar meets user demand.That is, the advertisement bar in the embodiment of the present invention can It is edited with receiving user.
Optionally, in inventive embodiments, when the fringe region is the display window bottom, described in the acquisition The step of first size of advertisement bar may include: the first height for obtaining the advertisement bar.
For example, referring to shown in Fig. 3, which is located at the bottom section of display window, is obtaining the first of the advertisement bar During size, the first height dimension of the advertisement bar can be only obtained.
For example, referring to shown in Fig. 3, since the advertisement bar is located at the bottom section of display window, the advertisement can be only obtained First height dimension of item, if the first height dimension of the advertisement bar is 0.8 inch, the size of the advertisement bar be can be, the One 0.8 inch of height.
Optionally, in inventive embodiments, when the fringe region is at the top of the display window, described in the acquisition The step of first size of advertisement bar may include: the first height for obtaining the advertisement bar.
Optionally, described to obtain when the fringe region is the display window left or right side in inventive embodiments The step of taking the first size of the advertisement bar may include: the first width for obtaining the advertisement bar.
For example, referring to shown in Fig. 4, then in Fig. 4, which is located at the left area of display window, and can only obtain should First width dimensions of advertisement bar.
For example, referring to shown in Fig. 4, in Fig. 4, advertisement bar is located at the left area of display window, can only obtain the advertisement First width dimensions of item.If the first width dimensions of the advertisement bar are 1 inch, the first size of the advertisement bar be can be, First width is 1 inch.
In embodiments of the present invention, by further determining that, which shows in the specific of fringe region of display window Show position, and then can only obtain the first width dimensions of the advertisement bar, or only obtains the first height dimension of the advertisement bar, into And reduce the size quantity of acquisition.
Step 205, the second size of the mobile terminal display screen is obtained.
In embodiments of the present invention, above-mentioned steps 205 are referred to the step 103 in above-described embodiment one, herein no longer It repeats.
It should be noted that it is optional, it is described to obtain the shifting when the fringe region is the display window bottom The step of second size of dynamic terminal display screen may include: the second height for obtaining the mobile terminal display screen.
For example, being directed to the example of above-mentioned Fig. 3, since the advertisement bar is located at the bottom section of display window, then it is somebody's turn to do in acquisition During second size of mobile terminal display screen, the second height of the mobile terminal display screen can be only obtained.
For example, the example of above-mentioned Fig. 3 is directed to, when the fringe region is the display window bottom, if what is obtained should Second height dimension of mobile terminal display screen is 8 inches, then the second height of the mobile terminal display screen obtained is 8 English It is very little.
Optionally, described to obtain the mobile terminal display screen when the fringe region is at the top of the display window The second size the step of, may include: the second height for obtaining the mobile terminal display screen.
Optionally, described to obtain the mobile terminal when the fringe region is the display window left or right side The step of second size of display screen may include: the second width for obtaining the mobile terminal display screen.
For example, being directed to the example of above-mentioned Fig. 4, since the advertisement bar is located at the left area of display window, then it is somebody's turn to do in acquisition During second size of mobile terminal display screen, the second width of the mobile terminal display screen can be only obtained.
For example, the example of above-mentioned Fig. 4 is directed to, when the fringe region is the display window left side, if what is obtained should Second width dimensions of mobile terminal display screen are 4.5 inches, then the second width of the mobile terminal display screen obtained is 4.5 inch.
Step 206, third size is set by the dimensional parameters of the display window;The third size is greater than or equal to The sum of the first size and the second size.
In embodiments of the present invention, the step 206, the step 104 being referred in above-described embodiment need to illustrate It is that optionally, when the fringe region is the display window bottom, the dimensional parameters by the display window are arranged The step of for third size, may include: to set first height and described for the dimensional parameters of the display window The sum of two height.
For example, the example for above-mentioned Fig. 3 will then shown since the advertisement bar is located at the bottom section of display window During the dimensional parameters of window are set as third size, the dimensional parameters of the display window can be set to above-mentioned The sum of one height and the second height.
For example, the example of above-mentioned Fig. 3 is directed to, when above-mentioned fringe region is display window bottom, if the advertisement obtained First height of item is 0.8 inch, and the second height of the mobile terminal display screen of acquisition is 8 inches, then above-mentioned can will show Show that the dimensional parameters of window are set as the sum of above-mentioned first height and the second height, that is, can be by the size of above-mentioned display window Parameter is set as 8+0.8=8.8 inches.
Optionally, when the fringe region is at the top of the display window, the size by the display window is joined Number the step of being set as third size, may include: by the dimensional parameters of the display window be set as first height with The sum of described second height.
Optionally, described by the display window when the fringe region is the display window left or right side Dimensional parameters are set as the step of third size, may include: to set described first for the dimensional parameters of the display window The sum of width and second width.
For example, the example for above-mentioned Fig. 4 will then shown since the advertisement bar is located at the left area of display window During the dimensional parameters of window are set as third size, the dimensional parameters of above-mentioned display window can be set to above-mentioned The sum of one width and the second width.
For example, the example of above-mentioned Fig. 4 is directed to, when above-mentioned fringe region is display window left side, if the advertisement obtained First width of item is 1 inch, and the second width of the mobile terminal display screen of acquisition is 4.5 inches, then above-mentioned can will show Show that the dimensional parameters of window are set as the sum of above-mentioned first width and second width, that is, can be by the size of above-mentioned display window Parameter is set as 1+4.5=5.5 inches.
Step 207, the display position of the advertisement bar is set to target area, the target area is located at the display In window and it is located at except display screen display area.
In the present invention is implemented, above-mentioned steps 207 can need to illustrate with reference to the step 105 in the embodiment of the present invention one , optionally, when the fringe region is the display window bottom, the display position by the advertisement bar is arranged It, the step of target area is located in the display window and is located at except display screen display area, can be in target area It include: that will be aligned at the top of the top of the display window and the display screen, with the third size by the display window It is shown in the display screen.
For example, the example of above-mentioned Fig. 3 is directed to, since the advertisement bar is located at the bottom section of display window, then by advertisement The display position of item is set to target area, and target area is located at the mistake in display window and being located at except display screen display area Cheng Zhong can will be aligned at the top of the top of above-mentioned display window and the display screen, with above-mentioned third size by above-mentioned display window Mouth is shown in the display screen.
For example, being directed to the example of above-mentioned Fig. 3, when the fringe region is the display window bottom, it is referred to It states shown in Figure 10, Figure 10 is shown, and is aligned at the top of the top of display window and display screen, with third size by display window aobvious The schematic diagram shown in display screen.The left side of Figure 10 is to set the dimensional parameters of display window to above-mentioned first height and second high Display window schematic diagram after degree, the right side of Figure 10 are that will be aligned at the top of the top of above-mentioned display window and the display screen, The schematic diagram for being shown above-mentioned display window in the display screen with above-mentioned third size.
Optionally, when the fringe region is at the top of the display window, the display position by the advertisement bar It is set to target area, the step of target area is located in the display window and is located at except display screen display area, It may include: to be aligned the bottom of the display window with the bottom of the display screen, with the third size by the display Window is shown in the display screen.
Optionally, when the fringe region is the display window left side, the display position by the advertisement bar It is set to target area, the step of target area is located in the display window and is located at except display screen display area, It may include: by the right-justification on the right side of the display window and the display screen, with the third size by the display Window is shown in the display screen.
For example, the example of above-mentioned Fig. 4 is directed to, since the advertisement bar is located at the left area of display window, then by advertisement The display position of item is set to target area, and target area is located at the mistake in display window and being located at except display screen display area Cheng Zhong, can be by the right-justification on the right side of above-mentioned display window and the display screen, with above-mentioned third size by above-mentioned display window Mouth is shown in the display screen.Optionally, when on the right side of the fringe region is the display window, it is described will it is described extensively The display position for accusing item is set to target area, and the target area is located in the display window and is located at display screen viewing area The step of except domain may include: that will be aligned on the left of the left side of the display window and the display screen, with the third ruler It is very little to show the display window in the display screen.
In embodiments of the present invention, by determining specific location of the advertisement bar in the display window, by display window Dimensional parameters be set as third size during, it is possible to reduce partial arithmetic amount improves execution efficiency.
Step 208, advertisement bar display control control is generated.
In embodiments of the present invention, in the display window of third size, which is still remained, still, due to right The display window of third size is adjusted during display to display screen according to the position of advertisement bar, so that this is aobvious Show the advertisement bar in window, is shown in except the display area of the display screen of the mobile terminal.And user is commonly seen and can grasp The region of work only have the display screen of the mobile terminal can display area, advertisement bar is hidden, for the ease of user, After advertisement bar is shown in except the display area of the display screen of the mobile terminal, moreover it is possible to easily check the advertisement bar content, then Need to generate advertisement bar display control control.
In embodiments of the present invention, can be generated the advertisement bar display control control of preset attribute, the preset attribute it is wide Accusing a display control control can be that background color is transparent, occupy the lesser advertisement bar display control control of display area of mobile terminal Part.Can the preset advertisement bar display control control size, neither by the setting of the size of the advertisement bar display control control The extra display area for occupying mobile terminal, but it is inconvenient for use to be unlikely to user.In embodiments of the present invention, this is not made to have Body limits.
Show that advertisement bar is hidden in display screen referring to Fig.1 shown in 0, on the right side of Figure 10 can advertisement bar except display area Afterwards, the interface schematic diagram for having advertisement bar display control control is generated on the display screen of mobile terminal.21 in Figure 10 be wide Accuse a display control control.
It should be noted that if the mobile terminal is to shield comprehensively, then the advertisement bar display control control is in the mobile terminal Display screen on display position can not be overlapped with the virtual key of the mobile terminal, avoid user misoperation.
Meanwhile the display position of the advertisement bar display control control on the display screen of the mobile terminal is blank area as far as possible Domain avoids covering other display contents.In embodiments of the present invention, this is not especially limited.
When step 209, except the display area that the advertisement bar is located at the display screen, if receiving to the advertisement The advertisement bar, then is shown in the display area of the display screen by the trigger action of display control control.
In embodiments of the present invention, when being located at except the display area of display screen of above-mentioned mobile terminal in above-mentioned advertisement bar When, if receiving the trigger action for the advertisement bar display control control, which can be shown in the display screen Display area, i.e., by the advertisement bar show in the display screen can display area.And then meets user and the advertisement bar is looked into See or understand demand.
In concrete application, it can be extracted for the advertisement bar display control control and the trigger action, the trigger action are set It can be and touch the advertisement bar display control control, the advertisement bar display control control can also be clicked, can also be that sliding should Advertisement bar display control control etc. is in embodiments of the present invention not especially limited this.
When being located at except the display area of display screen of above-mentioned mobile terminal in above-mentioned advertisement bar, if the advertisement bar is shown Any one that control receives in above-mentioned trigger action is controlled then to show the advertisement bar in the display area of the display screen. In embodiments of the present invention, which is shown in the display area of display screen, is can be display window reduction is direct The display window is shown on the display screen of the mobile terminal.In embodiments of the present invention, this is not especially limited.
For example, in such cases, above-mentioned advertisement bar is located at the display of above-mentioned mobile terminal for shown in the above-mentioned right side Figure 10 Except the display area of screen, when above-mentioned advertisement bar display control control, in this case, receive trigger action, then it can be with The advertisement bar is shown in the display area of the display screen, the advertisement bar directly can be subjected to reduction and shown, after reduction display Be referred to shown in Figure 11.Figure 11 is shown, when except the display area that advertisement bar is located at display screen, if receiving to wide Advertisement bar, is shown in the schematic diagram of the display area of display screen by the trigger action for accusing a display control control.
In Figure 11, the advertisement bar show control 21 be also shown on the advertisement bar, facilitate receive user to the advertisement The hiding operation of item.
Optionally, it can also be in the display window, the position of the adjustable advertisement bar can also adjust the advertisement The size of region, so that the advertisement bar occupies original content in the display screen of the mobile terminal less as far as possible.It can also incite somebody to action The background color of the advertisement bar is arranged to transparent etc., in embodiments of the present invention, is not especially limited to this.
It should be noted that if the mobile terminal be comprehensively screen, then by the advertisement bar show in display screen can viewing area Domain can not be overlapped with the virtual key of the mobile terminal, and then avoid user misoperation.
For example, referring to shown in Figure 12, Figure 12 is shown, when except the display area that advertisement bar is located at display screen, if connecing The trigger action for advertisement bar display control control is received, advertisement bar is shown in the another signal of the display area of display screen Figure.
Specifically, for advertisement bar display control control 21 shown in above-mentioned Figure 12, if the mobile terminal is to shield comprehensively, when When advertisement bar is located at except the display area of the display screen of mobile terminal, if the advertisement bar display control control 21, receives touching Hair operation can then show the advertisement bar 20 in the display area of display screen, as shown in figure 12.Wherein, 23 in Figure 12 can Think the region where the virtual key of comprehensive screen mobile terminal.The advertisement bar 20 can be for by size adjustment and position tune Advertisement bar after whole.
Step 210, it after the advertisement bar to be shown in the display area of the display screen, is received again to described wide The trigger action for accusing a display control control, then continue the display position of the advertisement bar being set to the target area.
Wherein, the target area is located in the display window and is located at except display screen display area.
In embodiments of the present invention, it after being shown in the display area of display screen in above-mentioned advertisement bar, receives again pair The trigger action of the advertisement bar display control control then continues the display position of advertisement bar being set to target area, target area Domain is located in the display window and is located at except display screen display area, and the advertisement bar is made to be hidden in the display area of display screen Except.
For example, referring to shown in above-mentioned Figure 11, in such cases, after above-mentioned advertisement bar is shown in the display area of display screen, When receiving the trigger action to the advertisement bar display control control again, then continue the display position of advertisement bar being set to mesh Region is marked, target area is located in the display window and is located at except display screen display area, is hidden in the advertisement bar aobvious Except the display area of display screen.Advertisement bar is hidden, the schematic diagram after advertisement bar is hidden, it can be with reference to the above-mentioned right side Figure 10 It is shown.Details are not described herein again.
It should be noted that in the embodiment of the present invention, if the mobile terminal is screen comprehensively, when recognizing in the display window Advertisement bar, and the display window is shown in the display screen of comprehensive screen mobile terminal, the advertisement bar is just comprehensive to this The virtual key of screen mobile terminal has part to cover or all cover, and can not also change the size of the display window, directly aobvious The display properties of the virtual key of comprehensive screen mobile terminal is set as setting by the virtual key for showing comprehensive screen mobile terminal Top, blocks the advertisement bar by the virtual key of comprehensive screen mobile terminal, to avoid the maloperation of user, in the embodiment of the present invention In, this is not especially limited.
In embodiments of the present invention, the advertisement bar in display window is identified, obtains the first size of advertisement bar, obtains The dimensional parameters of display window are set third size by the second size for taking mobile terminal display screen, which is greater than Or it is equal to the sum of above-mentioned first size and the second size, the display position of the advertisement bar is set to target area, the mesh Mark region is located in the display window and is located at except display screen display area, and then the advertisement bar is hidden, and not only eliminates The advertisement bar intercutted in application operational process occupies display screen large area, it is thus also avoided that the influence to mobile terminal operation, Accidentally touching advertisement bar is avoided, it is convenient for users.
It should be noted that for simple description, therefore, it is stated as a series of action groups for embodiment of the method It closes, but those skilled in the art should understand that, the embodiment of the present application is not limited by the described action sequence, because according to According to the embodiment of the present application, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art also should Know, the embodiments described in the specification are all preferred embodiments, and related movement might not all be the application reality It applies necessary to example.
Embodiment three
Referring to Fig.1 shown in 3, for the structural block diagram for the mobile terminal 300 that the embodiment of the present invention three provides, above-mentioned mobile terminal 300 can specifically include:
Advertisement bar identification module 301, for identification advertisement bar in display window;The advertisement bar is located at the display window The fringe region of mouth;
First size obtains module 304, for obtaining the first size of the advertisement bar;
Second dimension acquisition module 305, for obtaining the second size of the mobile terminal display screen;
Dimensional parameters setup module 306, for setting third size for the dimensional parameters of the display window;Described Three sizes are greater than or equal to the sum of the first size and the second size;
First display module 307, for the display position of the advertisement bar to be set to target area, the target area In the display window and it is located at except display screen display area.
Optionally, referring to Fig.1 shown in 4, on the basis of above-mentioned Figure 13, the mobile terminal can also include: indicia framing Display module 302, for showing indicia framing in the display window;
Adjustment operation receiving module 303, for receiving the operation of the adjustment to the indicia framing;
The first size obtains module 304, may include:
First size acquiring unit 3041 is obtained for the region according to indicia framing institute's frame choosing after the adjustment operation The first size of the advertisement bar.
Above-mentioned terminal can also include:
Display control control generation module 308, for generating advertisement bar display control control;
Second display module 309, when for being located at except the display area of the display screen when the advertisement bar, if receiving To the trigger action to the advertisement bar display control control, then the advertisement bar is shown in the viewing area of the display screen Domain.
Above-mentioned mobile terminal can also include:
Third display module 310, for being connect after the advertisement bar to be shown in the display area of the display screen again The trigger action to the advertisement bar display control control is received, then continues for be set to the display position of the advertisement bar described Target area, the target area are located in the display window and are located at except display screen display area.
Optionally, when the fringe region is the display window bottom, the first size obtains module 304, can To include:
First height acquiring unit, for obtaining the first height of the advertisement bar;
Second dimension acquisition module 305, comprising:
Second height acquiring unit, for obtaining the second height of the mobile terminal display screen;
The dimensional parameters setup module 306, comprising:
Dimensional parameters setting unit, for by the dimensional parameters of the display window be set as first height with it is described The sum of second height;
First display module 307, comprising:
First display unit, for will be aligned at the top of the top of the display window and the display screen, with described Three sizes show the display window in the display screen.
Mobile terminal provided in an embodiment of the present invention can be realized mobile terminal in the embodiment of the method for Fig. 1 to Figure 12 and realize Each process, to avoid repeating, which is not described herein again.
In this way, in embodiments of the present invention, the advertisement bar in display window is identified, the first ruler of advertisement bar is obtained It is very little, the second size of mobile terminal display screen is obtained, sets third size for the dimensional parameters of display window, the third size More than or equal to the sum of above-mentioned first size and the second size, the display position of the advertisement bar is set to target area, institute It states target area to be located in the display window and be located at except display screen display area, and then the advertisement bar is hidden, not only It eliminates and display screen large area is occupied using the advertisement bar intercutted in operational process, it is thus also avoided that the shadow of mobile terminal operation It rings, avoids accidentally touching advertisement bar, it is convenient for users.
The hardware structural diagram of Figure 15 one of each embodiment mobile terminal to realize the present invention,
The mobile terminal 700 includes but is not limited to: radio frequency unit 701, network module 702, voice output unit 703, defeated Enter unit 704, sensor 705, display unit 706, user input unit 707, interface unit 708, memory 709, processor The components such as 710 and power supply 711.It will be understood by those skilled in the art that mobile terminal structure shown in Figure 15 is not constituted Restriction to mobile terminal, mobile terminal may include than illustrating more or fewer components, perhaps combine certain components or Different component layouts.In embodiments of the present invention, mobile terminal include but is not limited to mobile phone, tablet computer, laptop, Palm PC, car-mounted terminal, wearable device and pedometer etc..
Wherein, processor 710, for identification advertisement bar in display window;The advertisement bar is located at the display window Fringe region;
Obtain the first size of the advertisement bar;
Obtain the second size of the mobile terminal display screen;
Third size is set by the dimensional parameters of the display window;The third size is greater than or equal to described first The sum of size and the second size;
The display position of the advertisement bar is set to target area, the target area be located in the display window and Except display screen display area.
The embodiment of the present invention identifies the advertisement bar in display window, obtains the first size of advertisement bar, obtains and moves Second size of dynamic terminal display screen, sets third size for the dimensional parameters of display window, which is greater than or waits In the sum of above-mentioned first size and the second size, the display position of the advertisement bar is set to target area, the target area Domain is located in the display window and is located at except display screen display area, and then the advertisement bar is hidden, and not only eliminates and answers Display screen large area is occupied with the advertisement bar intercutted in operational process, it is thus also avoided that the influence to mobile terminal operation avoids Accidentally touching advertisement bar, it is convenient for users.
It should be understood that the embodiment of the present invention in, radio frequency unit 701 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, to processor 710 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 701 includes but is not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 701 can also by wireless communication system and network and other set Standby communication.
Mobile terminal provides wireless broadband internet by network module 702 for user and accesses, and such as user is helped to receive It sends e-mails, browse webpage and access streaming video etc..
Voice output unit 703 can be received by radio frequency unit 701 or network module 702 or in memory 709 The voice data of storage is converted into voice signal and exports to be sound.Moreover, voice output unit 703 can also be provided and be moved The relevant sound output of the specific function that dynamic terminal 700 executes is (for example, call signal receives sound, message sink sound etc. Deng).Voice output unit 703 includes loudspeaker, buzzer and receiver etc..
Input unit 704 is for receiving sound or vision signal.Input unit 704 may include graphics processor (Graphics Processing Unit, GPU) 7041 and microphone 7042, graphics processor 7041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 706.Through graphics processor 7041, treated that picture frame can be deposited Storage is sent in memory 709 (or other storage mediums) or via radio frequency unit 701 or network module 702.Mike Wind 7042 can receive sound, and can be voice data by such acoustic processing.Treated voice data can be The format output that mobile communication base station can be sent to via radio frequency unit 701 is converted in the case where telephone calling model.
Mobile terminal 700 further includes at least one sensor 705, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 7061, and proximity sensor can close when mobile terminal 700 is moved in one's ear Display panel 7061 or backlight.As a kind of motion sensor, accelerometer sensor can detect (generally three in all directions Axis) acceleration size, can detect that size and the direction of gravity when static, it is (such as horizontal to can be used to identify mobile terminal posture Vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Sensor 705 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, humidity Meter, thermometer, infrared sensor etc., details are not described herein.
Display unit 706 is for showing information input by user or being supplied to the information of user.Display unit 706 can wrap Display panel 7061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 7061.
User input unit 707 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family setting and the related key signals input of function control.Specifically, user input unit 707 include touch panel 7071 and Other input equipments 7072.Touch panel 7071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 7071 or in touch panel 7071 Neighbouring operation).Touch panel 7071 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to touch controller;Touch control Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 710, receiving area It manages the order that device 710 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Seed type realizes touch panel 7071.In addition to touch panel 7071, user input unit 707 can also include other input equipments 7072.Specifically, other input equipments 7072 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 7071 can be covered on display panel 7061, when touch panel 7071 is detected at it On or near touch operation after, send processor 710 to determine the type of touch event, be followed by subsequent processing device 710 according to touching The type for touching event provides corresponding visual output on display panel 7061.Although in Figure 15, touch panel 7071 and aobvious Show that panel 7061 is the function that outputs and inputs of realizing mobile terminal as two independent components, but in some embodiments In, can be integrated by touch panel 7071 and display panel 7061 and realize the function that outputs and inputs of mobile terminal, it is specific this Place is without limitation.
Interface unit 708 is the interface that external device (ED) is connect with mobile terminal 700.For example, external device (ED) may include having Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end Mouth, port, the port voice input/output (I/O), video i/o port, earphone end for connecting the device with identification module Mouthful etc..Interface unit 708 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and By one or more elements that the input received is transferred in mobile terminal 700 or can be used in 700 He of mobile terminal Data are transmitted between external device (ED).
Memory 709 can be used for storing software program and various data.Memory 709 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Voice data, phone directory etc.) etc..In addition, memory 709 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 710 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program or module that are stored in memory 709, and calls and is stored in memory Data in 709 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Processing Device 710 may include one or more processing units;Preferably, processor 710 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 110.
Mobile terminal 700 can also include the power supply 711 (such as battery) powered to all parts, it is preferred that power supply 711 Can be logically contiguous by power-supply management system and processor 710, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
In addition, mobile terminal 700 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 710, and memory 709 is stored in On memory 709 and the computer program that can run on above-mentioned processor 710, the computer program are executed by processor 710 Each process of Shi Shixian above-mentioned display method embodiment, and identical technical effect can be reached, to avoid repeating, here no longer It repeats.
Based on the hardware configuration of above-mentioned mobile terminal, various embodiments of the present invention are described in detail below.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, realizes each process of above-mentioned display method embodiment when which is executed by processor, and can reach Identical technical effect, to avoid repeating, which is not described herein again.Wherein, above-mentioned computer readable storage medium is deposited Ru read-only Reservoir (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), Magnetic or disk 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, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device 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, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form, all of these belong to the protection of the present invention.

Claims (11)

1. a kind of display methods is applied to mobile terminal, which is characterized in that the described method includes:
Identify the advertisement bar in display window;The advertisement bar is located at the fringe region of the display window;
Obtain the first size of the advertisement bar;
Obtain the second size of the mobile terminal display screen;
Third size is set by the dimensional parameters of the display window;The third size is greater than or equal to the first size The sum of with second size;
The display position of the advertisement bar is set to target area, the target area is located in the display window and is located at Except display screen display area.
2. the method according to claim 1, wherein it is described identification display window in advertisement bar the step of it Afterwards, before the first size for obtaining the advertisement bar, further includes:
Indicia framing is shown in the display window;
The adjustment to the indicia framing is received to operate;
The step of first size for obtaining the advertisement bar, comprising:
According to the region of indicia framing institute's frame choosing after the adjustment operation, the first size of the advertisement bar is obtained.
3. the method according to claim 1, wherein the display position by the advertisement bar is set to target After the step of region, further includes:
Generate advertisement bar display control control;
When except the display area that the advertisement bar is located at the display screen, if receiving to the advertisement bar display control control The advertisement bar is then shown in the display area of the display screen by the trigger action of part.
4. according to the method described in claim 3, it is characterized in that, described be shown in the aobvious of the display screen for the advertisement bar After the step of showing region, further includes:
After the advertisement bar to be shown in the display area of the display screen, received again to the advertisement bar display control The trigger action of control then continues the display position of the advertisement bar being set to the target area.
5. the method according to claim 1, wherein when the fringe region be the display window bottom when, The step of first size for obtaining the advertisement bar, comprising:
Obtain the first height of the advertisement bar;
The step of second size for obtaining the mobile terminal display screen, comprising:
Obtain the second height of the mobile terminal display screen;
The step of dimensional parameters by the display window are set as third size, comprising:
The sum of first height and second height are set by the dimensional parameters of the display window;
The step of display position by the advertisement bar is set to target area, comprising:
It will be aligned at the top of the top of the display window and the display screen, the display window existed with the third size It is shown in the display screen.
6. a kind of mobile terminal, which is characterized in that the mobile terminal includes:
Advertisement bar identification module, for identification advertisement bar in display window;The advertisement bar is located at the side of the display window Edge region;
First size obtains module, for obtaining the first size of the advertisement bar;
Second dimension acquisition module, for obtaining the second size of the mobile terminal display screen;
Dimensional parameters setup module, for setting third size for the dimensional parameters of the display window;The third size More than or equal to the sum of the first size and the second size;
First display module, for the display position of the advertisement bar to be set to target area, the target area is located at institute It states in display window and is located at except display screen display area.
7. mobile terminal according to claim 6, which is characterized in that further include:
Indicia framing display module, for showing indicia framing in the display window;
Adjustment operation receiving module, for receiving the operation of the adjustment to the indicia framing;
The first size obtains module, comprising:
First size acquiring unit obtains the advertisement for the region according to indicia framing institute's frame choosing after the adjustment operation The first size of item.
8. mobile terminal according to claim 6, which is characterized in that further include:
Display control control generation module, for generating advertisement bar display control control;
Second display module, when for being located at except the display area of the display screen when the advertisement bar, if receiving to institute The trigger action of advertisement bar display control control is stated, then the advertisement bar is shown in the display area of the display screen.
9. mobile terminal according to claim 8, which is characterized in that further include:
Third display module, for after the advertisement bar to be shown in the display area of the display screen, receiving again pair The trigger action of the advertisement bar display control control then continues the display position of the advertisement bar being set to the target area Domain.
10. mobile terminal according to claim 6, which is characterized in that when the fringe region is the display window bottom When portion, the first size obtains module, comprising:
First height acquiring unit, for obtaining the first height of the advertisement bar;
Second dimension acquisition module, comprising:
Second height acquiring unit, for obtaining the second height of the mobile terminal display screen;
The dimensional parameters setup module, comprising:
Dimensional parameters setting unit, for setting first height and described second for the dimensional parameters of the display window The sum of height;
First display module, comprising:
First display unit, for will be aligned at the top of the top of the display window and the display screen, with the third ruler It is very little to show the display window in the display screen.
11. a kind of mobile terminal, which is characterized in that including processor, memory and be stored on the memory and can be in institute The computer program run on processor is stated, such as claim 1 to 5 is realized when the computer program is executed by the processor Any one of described in display methods the step of.
CN201810681502.3A 2018-06-27 2018-06-27 Display method and mobile terminal Active CN109005282B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810681502.3A CN109005282B (en) 2018-06-27 2018-06-27 Display method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810681502.3A CN109005282B (en) 2018-06-27 2018-06-27 Display method and mobile terminal

Publications (2)

Publication Number Publication Date
CN109005282A true CN109005282A (en) 2018-12-14
CN109005282B CN109005282B (en) 2020-10-27

Family

ID=64601915

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810681502.3A Active CN109005282B (en) 2018-06-27 2018-06-27 Display method and mobile terminal

Country Status (1)

Country Link
CN (1) CN109005282B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102236658A (en) * 2010-04-26 2011-11-09 富士通株式会社 Webpage content extracting method and device
CN102257485A (en) * 2008-12-16 2011-11-23 富媒体俱乐部有限责任公司 Content rendering control system and method
CN103729784A (en) * 2014-01-26 2014-04-16 合一信息技术(北京)有限公司 Interactive advertisement management method and system
US20160018987A1 (en) * 2014-07-18 2016-01-21 Yahoo Japan Corporation Information display device, distribution device, information display method, and non-transitory computer readable storage medium
CN105701154A (en) * 2015-12-29 2016-06-22 腾讯科技(深圳)有限公司 Advertisement removal method and device
CN105898511A (en) * 2015-12-08 2016-08-24 乐视网信息技术(北京)股份有限公司 Advertisement display method and device
CN106998393A (en) * 2017-05-24 2017-08-01 维沃移动通信有限公司 A kind of video playing control method and mobile terminal
CN107329736A (en) * 2017-05-22 2017-11-07 北京金山安全管理系统技术有限公司 The display methods and device of information, storage medium and processor
CN107340955A (en) * 2017-07-07 2017-11-10 广州优视网络科技有限公司 The method and apparatus for obtaining the positional information after change in location of the view on screen

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102257485A (en) * 2008-12-16 2011-11-23 富媒体俱乐部有限责任公司 Content rendering control system and method
CN102236658A (en) * 2010-04-26 2011-11-09 富士通株式会社 Webpage content extracting method and device
CN103729784A (en) * 2014-01-26 2014-04-16 合一信息技术(北京)有限公司 Interactive advertisement management method and system
US20160018987A1 (en) * 2014-07-18 2016-01-21 Yahoo Japan Corporation Information display device, distribution device, information display method, and non-transitory computer readable storage medium
CN105898511A (en) * 2015-12-08 2016-08-24 乐视网信息技术(北京)股份有限公司 Advertisement display method and device
CN105701154A (en) * 2015-12-29 2016-06-22 腾讯科技(深圳)有限公司 Advertisement removal method and device
CN107329736A (en) * 2017-05-22 2017-11-07 北京金山安全管理系统技术有限公司 The display methods and device of information, storage medium and processor
CN106998393A (en) * 2017-05-24 2017-08-01 维沃移动通信有限公司 A kind of video playing control method and mobile terminal
CN107340955A (en) * 2017-07-07 2017-11-10 广州优视网络科技有限公司 The method and apparatus for obtaining the positional information after change in location of the view on screen

Also Published As

Publication number Publication date
CN109005282B (en) 2020-10-27

Similar Documents

Publication Publication Date Title
CN107665697B (en) A kind of adjusting method and mobile terminal of screen intensity
CN109388304A (en) A kind of screenshotss method and terminal device
CN109240577A (en) A kind of screenshotss method and terminal
CN109032445A (en) A kind of control method for screen display and terminal device
CN108196740B (en) A kind of icon display method, device and mobile terminal
CN108459815A (en) A kind of display control method and mobile terminal
CN109409244A (en) A kind of object puts the output method and mobile terminal of scheme
CN108984082A (en) A kind of image display method and mobile terminal
CN108897473A (en) A kind of interface display method and terminal
CN109710349A (en) A kind of screenshotss method and mobile terminal
CN108898555A (en) A kind of image processing method and terminal device
CN110209313A (en) Icon moving method and terminal device
CN107734172A (en) A kind of method for information display and mobile terminal
CN109343788A (en) A kind of method of controlling operation thereof and mobile terminal of mobile terminal
CN109448069A (en) A kind of template generation method and mobile terminal
CN109445653A (en) A kind of icon processing method and mobile terminal
CN109739394A (en) A kind of processing method of SAR value, mobile terminal
CN109117240A (en) A kind of method of controlling operation thereof and mobile terminal
CN108600544A (en) A kind of Single-hand control method and terminal
CN110300286A (en) A kind of image display method and terminal
CN110096203A (en) A kind of screenshot method and mobile terminal
CN107885450B (en) Realize the method and mobile terminal of mouse action
CN110083289A (en) A kind of button display methods, wearable device and computer readable storage medium
CN110022551A (en) A kind of information interacting method and terminal device
CN109542307A (en) A kind of image processing method, equipment and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant