CN109035148A - Head figure display methods, display device, terminal device and storage medium - Google Patents

Head figure display methods, display device, terminal device and storage medium Download PDF

Info

Publication number
CN109035148A
CN109035148A CN201811044301.9A CN201811044301A CN109035148A CN 109035148 A CN109035148 A CN 109035148A CN 201811044301 A CN201811044301 A CN 201811044301A CN 109035148 A CN109035148 A CN 109035148A
Authority
CN
China
Prior art keywords
default
head
occupy
display
tou
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.)
Pending
Application number
CN201811044301.9A
Other languages
Chinese (zh)
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.)
Golden Melon Seed Technology Development (beijing) Co Ltd
Original Assignee
Golden Melon Seed Technology Development (beijing) 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 Golden Melon Seed Technology Development (beijing) Co Ltd filed Critical Golden Melon Seed Technology Development (beijing) Co Ltd
Priority to CN201811044301.9A priority Critical patent/CN109035148A/en
Publication of CN109035148A publication Critical patent/CN109035148A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformation in the plane of the image
    • G06T3/40Scaling the whole image or part thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

This application provides a kind of figure display methods, display device, terminal device and storage mediums, are related to picture display field, which comprises receive the fixed-size head figure corresponding with particular terminal device that server is sent;If the width value of head figure is inconsistent with the target width value for presetting Tou Tu occupy-place area in present terminal device screen, default the ratio of width to height based on target width value and head figure, correct figure is adjusted, and obtains the head figure to be shown to match with target width value;Head figure to be shown is shown in default Tou Tu occupy-place area.In this way, the terminal device of any type can be adapted in current type by above-mentioned processing method stored in display server preset fixed-size head figure for particular terminal device, it is shown to realize based on presetting adaptation of the fixed-size head figure in different type of machines, while guaranteeing to be adapted to effect, saves the workload of operation personnel and reduce input cost.

Description

Head figure display methods, display device, terminal device and storage medium
Technical field
This application involves electronic equipment technical field of picture display, in particular to a kind of figure display methods, display Device, terminal device and storage medium.
Background technique
Head figure refers in browsing device net page or is located at most in the homepage of application program (Application, the APP) page The picture of upper end and center, can be for commodity that businessman sells or service progress more by the way that head figure is arranged on homepage Good publicity.
In the related technology, the method that head figure is shown in terminal device is as follows: since different terminal devices is corresponding with not With type, therefore, operation personnel need pre-production various sizes of head figure corresponding with different type of machines, and to server The various sizes of head figure made is uploaded, the access request that then server is sent in the terminal device for receiving any type Afterwards, first look for the matched head figure of the terminal device of the type, and the head figure found is returned into terminal device, due to this The size of head figure and the type of terminal device match, and terminal device can directly display this figure after receiving figure to the end.
But in the method that above-mentioned terminal device shows head figure, it is different that operation personnel need pre-production to adapt to The various sizes of picture of type is simultaneously uploaded onto the server, and is not only increased the workload of operation personnel, is also improved Input cost.
Summary of the invention
In view of this, the embodiment of the present application is designed to provide a kind of figure display methods, display device, terminal device And storage medium, it realizes and is shown based on presetting adaptation of the fixed-size head figure in different type of machines, guaranteeing to be adapted to effect While, it saves the workload of operation personnel and reduces input cost.
In a first aspect, the embodiment of the present application provides a kind of figure display methods, it is applied to terminal device, the method packet It includes:
Receive the fixed-size head figure corresponding with particular terminal device that server is sent;
If the width value of the head figure and the target width value for presetting Tou Tu occupy-place area in present terminal device screen are different Cause, then default the ratio of width to height based on the target width value and the head figure, is adjusted the head figure, obtain with it is described The head figure to be shown that target width value matches;
The head figure to be shown is shown in the default Tou Tu occupy-place area.
Second aspect, the embodiment of the present application also provides a kind of map display devices, comprising:
Receiving module, for receiving the fixed-size head figure corresponding with particular terminal device of server transmission;
Module is adjusted, for presetting the mesh in Tou Tu occupy-place area in the width value and present terminal device screen in the head figure When mark width value is inconsistent, default the ratio of width to height based on the target width value and the head figure adjusts the head figure It is whole, obtain the head figure to be shown to match with the target width value;
Display module, for showing the head figure to be shown in the default Tou Tu occupy-place area.
The third aspect, the embodiment of the present application also provides a kind of terminal devices, comprising: processor, memory and bus, institute It states memory storage to execute instruction, when terminal device operation, passes through bus between the processor and the memory It communicates, executes instruction described in the processor execution so that the terminal device executes the head figure side of display described in first aspect Method.
Fourth aspect, the embodiment of the present application also provides a kind of computer storage medium, the computer storage medium is deposited Computer executable instructions are contained, which can be performed head figure display methods described in first aspect.
A kind of figure display methods provided by the embodiments of the present application and device, are stored in the server for particular terminal Equipment presets fixed-size head figure, terminal device from obtained in server it is above-mentioned preset fixed-size head figure after, It is wide based on target when presetting the target width value mismatch in Tou Tu occupy-place area in the width value and present terminal device screen of head figure Angle value is simultaneously adjusted according to the constant mode enemy's figure of default the ratio of width to height of head figure, finally, showing in default Tou Tu occupy-place area Show the head figure to be shown obtained after adjustment.In this way, the terminal device of any type can be current by above-mentioned processing method What is stored in adaptation display server in type presets fixed-size head figure for particular terminal device, to realize base It is shown in presetting adaptation of the fixed-size head figure in different type of machines, while guaranteeing to be adapted to effect, saves operation work Make the workload of personnel and reduces input cost.
To enable the above objects, features, and advantages of the application to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate Appended attached drawing, is described in detail below.
Detailed description of the invention
Technical solution in ord to more clearly illustrate embodiments of the present application, below will be to needed in the embodiment attached Figure is briefly described, it should be understood that the following drawings illustrates only some embodiments of the application, therefore is not construed as pair The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this A little attached drawings obtain other relevant attached drawings.
Fig. 1 shows the flow chart of a kind of figure display methods provided by the embodiment of the present application.
Fig. 2 shows the flow charts of another kind head figure display methods provided by the embodiment of the present application.
Fig. 3 shows the structural schematic diagram in iphone6 Zhong Toutu occupy-place area provided by the embodiment of the present application.
Fig. 4 shows the structural schematic diagram in iphoneX Zhong Toutu occupy-place area provided by the embodiment of the present application.
Fig. 5 shows the flow chart of another kind head figure display methods provided by the embodiment of the present application.
Fig. 6 shows the structural schematic diagram in browser Zhong Toutu occupy-place area provided by the embodiment of the present application.
Fig. 7 shows the flow chart of another kind head figure display methods provided by the embodiment of the present application.
Fig. 8 shows the structural schematic diagram of a kind of map display device provided by the embodiment of the present application.
Fig. 9 shows the structural schematic diagram of computer equipment 40 provided by one embodiment of the application.
Specific embodiment
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application Middle attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is only It is some embodiments of the present application, instead of all the embodiments.The application being usually described and illustrated herein in the accompanying drawings is real The component for applying example can be arranged and be designed with a variety of different configurations.Therefore, below to the application's provided in the accompanying drawings The detailed description of embodiment is not intended to limit claimed scope of the present application, but is merely representative of the selected reality of the application Apply example.Based on embodiments herein, those skilled in the art institute obtained without making creative work There are other embodiments, shall fall in the protection scope of this application.
In view of terminal device shows in the method for head figure that operation personnel need pre-production to adapt in the prior art The various sizes of picture of different type of machines is simultaneously uploaded onto the server, and is not only increased the workload of operation personnel, is also mentioned High input cost.Based on this, the embodiment of the present application provides a kind of figure display methods, display device, terminal device and deposits Storage media can be adapted to display clothes in the terminal device of any type by increased treatment mechanism in current type in advance What is stored in business device presets fixed-size head figure for particular terminal device, to realize fixed-size based on presetting Adaptation of the head figure in different type of machines show, while guaranteeing adaptation effect, save the workload of operation personnel and Reduce input cost.It is described below by embodiment.
As shown in Figure 1, a kind of figure display methods provided by the embodiments of the present application, is applied to terminal device, the method Include:
S101, the fixed-size head figure corresponding with particular terminal device that server is sent is received.
In the embodiment of the present application, for the head figure for a certain business to be shown, operation personnel pre-production with it is specific What the screen size of terminal device matched has fixed-size head figure, and by above-mentioned there is fixed-size head figure to upload to It is stored in server.For example, the fixed dimension that the display screen of operation personnel pre-production and iponeX match Head figure, and stored in uploading onto the server.
Wherein, above-mentioned head figure includes that background image and core show image.In the embodiment of the present application, core shows that image can , can also be in the lower middle position of head figure in the middle position of head figure, it can also be in the upper middle position of head figure.Its In, the core of different location shows that image is placed in the difference of the mode in default Tou Tu occupy-place area.
In the embodiment of the present application, terminal device is sent out after the triggering command for receiving user's starting business to server Access request is sent, server returns to head figure chain corresponding with above-mentioned access request after receiving access request, to terminal device It is grounded location.Terminal device obtained from head figure chained address it is above-mentioned there is fixed-size head figure, and pass through correct figure Respective handling carries out showing above-mentioned head figure with default display standard.Here, display standard is preset i.e. not influence other to be shown In the case where data, at least the core in display head figure is gone to show image with the resolution ratio of lower limit value.
If presetting the target width value in Tou Tu occupy-place area in the width value of S102, the head figure and present terminal device screen Inconsistent, then default the ratio of width to height based on the target width value and the head figure, is adjusted the head figure, obtain with The head figure to be shown that the target width value matches.
In the embodiment of the present application, terminal device first determines whether the width value and present terminal of a figure after receiving figure to the end Whether the target width value that Tou Tu occupy-place area is preset in device screen is consistent.As an alternative embodiment, default head figure The target width value in occupy-place area and the screen width value of present terminal device screen are identical.Here, if present terminal equipment with Head schemes corresponding particular terminal device unanimously (namely present terminal equipment is consistent with the type of above-mentioned particular terminal device), then sentences The width value of broken end figure is consistent with the target width value in default Tou Tu occupy-place area;If present terminal equipment and above-mentioned specific end The type of end equipment is inconsistent, then the width value for judging a figure and the target width value in default Tou Tu occupy-place area are inconsistent.
As an alternative embodiment, the corresponding particular terminal device of above-mentioned head figure is iponeX, if it is current eventually End equipment is iponeX, then judging result is consistent;If present terminal equipment is ipone7, judging result is inconsistent.
When above-mentioned judging result is inconsistent, present terminal equipment is primarily based on the target width in default Tou Tu occupy-place area The width value of value and head figure, determines the adjustment width value of the head figure.Then, according to adjustment width value and with the pre- of the head figure If the constant mode of the ratio of width to height, processing is zoomed in and out to the head figure, width value is obtained and target width value matches to aobvious Show head figure.
S103, the head figure to be shown is shown in the default Tou Tu occupy-place area.
In the embodiment of the present application, default Tou Tu occupy-place area is predefined, and is shown in default Tou Tu occupy-place area to be shown Head figure.Wherein, the specific method for presetting Tou Tu occupy-place area is that terminal device determines default head figure based on the screen message of itself The display upper boundary values and display lower border value in occupy-place area;Then, based on determining display upper boundary values, display lower border value and The screen width value of present terminal device screen determines default Tou Tu occupy-place area.As an alternative embodiment, default head The target width value in figure occupy-place area and the screen width value of present terminal device screen are identical.
Wherein, equally include that background image and core show image in head figure to be shown, default head figure occupy-place is being determined After area, show that the core of above-mentioned head figure to be shown shows image by presetting Tou Tu occupy-place area.Wherein, Tou Tu occupy-place area is preset I.e. for holding the container of head figure to be shown, when the core of head figure to be shown shows that image is placed in container, terminal device is It can show that above-mentioned core shows image.
A kind of figure display methods provided by the embodiments of the present application, is stored in the server for particular terminal device Preset fixed-size head figure, terminal device from obtained in server it is above-mentioned preset fixed-size head figure after, in head figure When presetting the target width value mismatch in Tou Tu occupy-place area in width value and present terminal device screen, simultaneously based on target width value It is adjusted according to the constant mode enemy's figure of default the ratio of width to height of head figure, finally, showing adjustment in default Tou Tu occupy-place area The head figure to be shown obtained afterwards.In this way, the terminal device of any type can be in current type by above-mentioned processing method What is stored in adaptation display server presets fixed-size head figure for particular terminal device, to realize based on default Adaptation of the fixed-size head figure in different type of machines is shown, while guaranteeing to be adapted to effect, saves operation personnel Workload and reduce input cost.
In the embodiment of the present application, terminal device is in advance based on the screen message of itself, determines default Tou Tu occupy-place area;Its In, in APP interface display and in the case of browser shows, default Tou Tu occupy-place area is different.In APP interface display In the case of, the corresponding default Tou Tu occupy-place area of the terminal device of different type of machines is also different.
The case where for APP interface display, as shown in Fig. 2, in step 103, it is described in the default Tou Tu occupy-place area Before showing the head figure to be shown, the method also includes:
S201, the benchmark upper boundary values according to present terminal device screen determine the display in the default Tou Tu occupy-place area Upper boundary values.
In the embodiment of the present application, using the width direction where present terminal device screen as X-axis, with present terminal equipment screen Short transverse where curtain is Y-axis, establishes the corresponding coordinate system in the default Tou Tu occupy-place area, and preset above-mentioned default head The display upper boundary values (showing the Y coordinate of coboundary) in figure occupy-place area are 0.
(show the Y seat of coboundary establishing coordinate system and configuring the display upper boundary values in default Tou Tu occupy-place area Mark) after, by benchmark upper boundary values (the corresponding Y coordinate of device screen in i.e. will be current) setting of present terminal device screen It is 0, using benchmark upper boundary values as the display upper boundary values in default Tou Tu occupy-place area.Wherein, in above-mentioned coordinate system, Y is sat It is negative value above target, lower section is positive value.
S202, according to display upper boundary values, the default display lower border value in the default Tou Tu occupy-place area and work as The screen width value of preceding terminal device screen determines the default Tou Tu occupy-place area.
In the embodiment of the present application, the Y coordinate that display lower border value is default display lower boundary is preset, default head is being determined After the Y coordinate of the display coboundary in figure occupy-place area, determines the Y coordinate of display coboundary, the Y coordinate of default display lower boundary and work as The target area is determined as default head figure occupy-place by target area indicated by the screen width value of preceding terminal device screen Area.
Wherein, the determination method of above-mentioned default display lower border value is as follows: obtaining the size letter of present terminal device screen Breath, according to the dimension information of the present terminal device screen, determines the default display lower boundary in the default Tou Tu occupy-place area Value.
In the embodiment of the present application, it can be determined by following two embodiment and preset display lower border value: first, according to Screen width value, screen height value and the preconfigured coordinate letter for showing lower border value of user of present terminal device screen Breath, to determine default display lower border value.Second, obtain the occupied destination display area of data to be displayed below head figure Coordinate information has been occupied, then, has been set according to default display lower border value and the predeterminated position relationship of data to be displayed, present terminal The wide high level of standby screen and it is above-mentioned occupied coordinate information, to determine default display lower border value.
Wherein, in the terminal device of different type of machines, the display upper boundary values and display lower border value in Tou Tu occupy-place area are preset Corresponding display height value is different.Fig. 3 shows the display height value in ipone6, and Fig. 4 shows the display height in iponeX Value presets the display height value in Tou Tu occupy-place area greater than the display height value in ipone6 as shown in Figure 3 and Figure 4, in iponeX.
It is the case where for browser display, as shown in Figure 5 and Figure 6, step 103, described in the default Tou Tu occupy-place area Before the middle display head figure to be shown, the method also includes:
S301, according to the benchmark upper boundary values of present terminal device screen, the first footprint of state parameter information and Second footprint of browser address bar determines the display upper boundary values in the default Tou Tu occupy-place area.
In the embodiment of the present application, still using the width direction where present terminal device screen as X-axis, set with present terminal Short transverse where standby screen is Y-axis, establishes the corresponding coordinate system in the default Tou Tu occupy-place area, and preset above-mentioned pre- If the display upper boundary values (showing the Y coordinate of coboundary) in Tou Tu occupy-place area are 0.Wherein, in above-mentioned coordinate system, Y coordinate Top be negative value, lower section is positive value.
(show the Y seat of coboundary establishing coordinate system and configuring the display upper boundary values in default Tou Tu occupy-place area Mark) after, (state parameter information here can be signal strength letter to the state parameter information of acquisition present terminal device screen Breath, common carrier information, the network information, temporal information, information about power etc.) the first footprint and browser address bar Second footprint.Under normal conditions, the lower section of benchmark upper boundary values is state parameter information, and the lower section of state parameter information is Browser address bar, therefore, the first height value of benchmark upper boundary values, the first footprint based on preceding terminal device screen and Second height value of the second footprint, to determine in Y coordinate 0 position.In the case of this display, said reference upper boundary values Setting is negative, and 0 position is the display upper boundary values in default Tou Tu occupy-place area in Y coordinate.
S302, according to display upper boundary values, the default display lower border value in the default Tou Tu occupy-place area and work as The screen width value of preceding terminal device screen determines the default Tou Tu occupy-place area.
In the embodiment of the present application, the Y coordinate that display lower border value is default display lower boundary is preset, default head is being determined After the Y coordinate of the display coboundary in figure occupy-place area, determines the Y coordinate of display coboundary, the Y coordinate of default display lower boundary and work as The target area is determined as default head figure occupy-place by target area indicated by the screen width value of preceding terminal device screen Area.
Wherein, the determination method of above-mentioned default display lower border value is as follows: obtaining the size letter of present terminal device screen Breath, according to the dimension information of the present terminal device screen, determines the default display lower boundary in the default Tou Tu occupy-place area Value.
In the embodiment of the present application, it can be determined by following two embodiment and preset display lower border value: first, according to Screen width value, screen height value and the preconfigured coordinate letter for showing lower border value of user of present terminal device screen Breath, to determine default display lower border value.Second, obtain the occupied destination display area of data to be displayed below head figure Coordinate information has been occupied, then, has been set according to default display lower border value and the predeterminated position relationship of data to be displayed, present terminal The wide high level of standby screen and it is above-mentioned occupied coordinate information, to determine default display lower border value.
Wherein, in the display of browser, in the terminal device of various types in the display in default Tou Tu occupy-place area Display height value corresponding to boundary value and display lower border value is identical.
Further, step 103, described in institute as shown in fig. 7, in head figure display methods provided by the embodiments of the present application It states and shows the head figure to be shown in default Tou Tu occupy-place area, comprising:
S401, core display image is chosen from the head figure to be shown.
In the embodiment of the present application, choose core show image method can there are two types of: first, when in head figure to be shown When core shows middle position of the image in head figure or lower middle position in head figure, terminal device is obtaining head to be shown After figure, from head figure to be shown determine core show image target lower border value, so as to by target lower border value with it is pre- If the mode that the default display lower border value in Tou Tu occupy-place area is aligned, above-mentioned core display figure is shown by default Tou Tu occupy-place area Picture.Second, terminal device is by image processing algorithm, from head figure to be shown, determines that core shows the target area where image Then core is shown the target lower border value of the target area where image by domain, with default aobvious with default Tou Tu occupy-place area The mode for showing lower border value alignment shows that above-mentioned core shows image by default Tou Tu occupy-place area.
Wherein, above-mentioned image processing algorithm can be such that the pixel value for obtaining each pixel in the head figure to be shown; The pixel value of neighbor pixel is compared, the variation degree of neighbor pixel is obtained;It is chosen from multiple pixels adjacent It is greater than the target pixel points of preset threshold in the variation degree of pixel;Determine that default head figure accounts for according to the target pixel points of selection The profile of head figure to be shown in the area of position.Then by target area indicated by the profile of head figure to be shown in default Tou Tu occupy-place area In image as core show image.
The default display of S402, the target lower border value the core to be shown to image and the default Tou Tu occupy-place area The core is shown that image is placed in the default Tou Tu occupy-place area and shown by the mode of lower border value alignment.
In the embodiment of the present application, terminal device shows the target lower border value and the default head figure occupy-place of image with core Core is shown that image is placed in default Tou Tu occupy-place area by the mode of the default display lower border value alignment in area;Alternatively, with core The target lower border value for showing the target area where image, is aligned with the default display lower border value in default Tou Tu occupy-place area Core in target area is shown that image is placed in default Tou Tu occupy-place area by mode.
In practice, the width value of head figure to be shown and the target width value of present terminal equipment are consistent, still, height Value may be greater than the object height value of preceding terminal device, by above-mentioned display method, even if the height value of head figure to be shown is big Height value in default Tou Tu occupy-place area, also can guarantee in default Tou Tu occupy-place area and shows the core display figure of head figure to be shown Picture.
In addition, in the embodiment of the present application, when the core in head figure to be shown shows image in the upper middle position of head figure When, terminal device can also be schemed after choosing core display image in the head figure to be shown using the core is shown The mode that the target upper boundary values of picture are aligned with the display upper boundary values in the default Tou Tu occupy-place area is accounted in the default head figure Position shows the core display figure in area.Alternatively, the target upper boundary values of the target area where image are shown using core, with It is default to be shown that image is placed in by the mode of the default display upper boundary values alignment in default Tou Tu occupy-place area for core in target area In Tou Tu occupy-place area.
Further, based on terminal device with by the core show image target lower border value and the default head figure The core is shown that image is placed in the default Tou Tu occupy-place area by the mode of the default display lower border value alignment in occupy-place area The mode shown, when the height value of head figure to be shown be greater than Tou Tu occupy-place area height value when, for head figure to be shown with The shielded image in Tou Tu occupy-place area, the embodiment of the present application are handled using following mechanism, wherein step 103, described current After showing the head figure to be shown in the default Tou Tu occupy-place area of terminal device screen, further includes:
If detecting the touch control operation executed to the present terminal device screen, go out in present terminal device screen Shielded image is shown in existing opening display area;Wherein, the touch control operation is used to indicate the present terminal equipment screen The current display page of curtain, which slides down in the present terminal device screen, there is open display area, the open display Region be the present terminal device screen benchmark upper boundary values and the default Tou Tu occupy-place area display upper boundary values it Between region;The shielded image is the parts of images not shown in the default Tou Tu occupy-place area in the head figure to be shown.
In the embodiment of the present application, the shielded image in head figure to be shown and Tou Tu occupy-place area is at open display, when under user When drawing the current display page of terminal device, above-mentioned shielded image and entire current display page are moved down, entire current aobvious When showing that the page moves down, between the benchmark upper boundary values of present terminal device screen and the display upper boundary values in default Tou Tu occupy-place area Open display area is presented, at this point, the shielded image moved down can be placed in above-mentioned open display area, and passes through above-mentioned opening Display area is shown.
In above-mentioned head figure display methods, height value locating and displaying head figure of the terminal device according to Tou Tu occupy-place area (i.e. container) Display area is answered, it, compared with prior art, can to realize that display can be adapted in different types of machines by presetting fixed-size head figure The manpower for saving operation personnel export head figure, without exporting the head figure of sizes to reach multi-model adaptation.
A kind of figure display methods provided by the embodiments of the present application, the terminal device of any type is by increasing the machine handled System can be adapted to the particular terminal device that is directed to stored in display server in current type and preset fixed-size head Figure show to realize based on presetting adaptation of the fixed-size head figure in different type of machines, is guaranteeing to be adapted to the same of effect When, it saves the workload of operation personnel and reduces input cost.
A kind of map display device provided by the embodiments of the present application, for executing above-mentioned head figure display methods, such as Fig. 8 institute Show, described device includes:
Receiving module 11, for receiving the fixed-size head figure corresponding with particular terminal device of server transmission;
Module 12 is adjusted, for presetting Tou Tu occupy-place area in the width value and present terminal device screen in the head figure When target width value is inconsistent, default the ratio of width to height based on the target width value and the head figure carries out the head figure Adjustment, obtains the head figure to be shown to match with the target width value;
Display module 13, for showing the head figure to be shown in the default Tou Tu occupy-place area.
Further, head map display device provided by the embodiments of the present application, further includes:
Determining module determines the default head figure occupy-place for the benchmark upper boundary values according to present terminal device screen The display upper boundary values in area;
The determining module is also used to the default display according to the display upper boundary values, the default Tou Tu occupy-place area The screen width value of lower border value and present terminal device screen determines the default Tou Tu occupy-place area.
Further, head map display device provided by the embodiments of the present application, further includes:
The determining module is also used to benchmark upper boundary values according to present terminal device screen, state parameter information Second footprint of the first footprint and browser address bar determines the display coboundary in the default Tou Tu occupy-place area Value;
The determining module is also used to the default display according to the display upper boundary values, the default Tou Tu occupy-place area The screen width value of lower border value and present terminal device screen determines the default Tou Tu occupy-place area.
Further, head map display device provided by the embodiments of the present application, further includes:
Module is obtained, for obtaining the dimension information of present terminal device screen;
The determining module is also used to the dimension information according to the present terminal device screen, determines the default head The default display lower border value in figure occupy-place area.
Further, in head map display device provided by the embodiments of the present application, display module 13 is specifically used for:
Core is chosen from the head figure to be shown shows image;
With the target lower border value of core display image and the default display in the default Tou Tu occupy-place area is following The core is shown that image is placed in the default Tou Tu occupy-place area and shown by the mode of dividing value alignment.
Further, in head map display device provided by the embodiments of the present application, display module 13 is also used to:
If detecting the touch control operation executed to the present terminal device screen, go out in present terminal device screen Shielded image is shown in existing opening display area;Wherein, the touch control operation is used to indicate the present terminal equipment screen The current display page of curtain, which slides down in the present terminal device screen, there is open display area, the open display Region be the present terminal device screen benchmark upper boundary values and the default Tou Tu occupy-place area display upper boundary values it Between region;The shielded image is the parts of images not shown in the default Tou Tu occupy-place area in the head figure to be shown.
Further, in head map display device provided by the embodiments of the present application, display module 13 is specifically used for:
Core is chosen from the head figure to be shown shows image;
The core to be shown to the target upper boundary values of image and the display upper boundary values in the default Tou Tu occupy-place area The mode of alignment shows that the core shows image in the default Tou Tu occupy-place area.
As shown in figure 9, the embodiment of the present application also provides a kind of terminal devices, comprising: processor 402,401 and of memory Bus, the storage of memory 401 executes instruction, when terminal device operation, the processor 402 and the memory By bus communication between 401, the processor 402 executes described execute instruction so that the terminal device executes above-mentioned head figure Display methods.
Specifically, above-mentioned memory 401 and processor 402 can be general memory and processor, do not do have here Body limits, and when the computer program of 402 run memory 401 of processor storage, is able to carry out above-mentioned head figure display methods.? In above-mentioned terminal device, by increase treatment mechanism can be adapted in current type stored in display server be directed to it is specific Terminal device presets fixed-size head figure, to realize suitable in different type of machines based on fixed-size head figure is preset It saves the workload of operation personnel while guaranteeing to be adapted to effect with display and reduces input cost.
A kind of computer storage medium provided by the embodiments of the present application, the computer storage medium is stored with computer can It executes instruction, which can be performed above-mentioned head figure display methods.
Specifically, which can be general storage medium, such as mobile disk, hard disk, on the storage medium Computer program when being run, be able to carry out above-mentioned head figure display methods.In above-mentioned computer storage medium, pass through increase Treatment mechanism can be adapted to the default fixed dimension for particular terminal device stored in display server in current type Head figure, shown to realize based on presetting adaptation of the fixed-size head figure in different type of machines, guaranteeing to be adapted to effect While, it saves the workload of operation personnel and reduces input cost.
Head map display device provided by the embodiment of the present application for the specific hardware in equipment or can be installed on equipment On software or firmware etc..The technical effect of device provided by the embodiment of the present application, realization principle and generation and aforementioned side Method embodiment is identical, and to briefly describe, Installation practice part does not refer to place, can refer in corresponding in preceding method embodiment Hold.It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, device With the specific work process of unit, the corresponding process during reference can be made to the above method embodiment, details are not described herein.
In embodiment provided herein, it should be understood that disclosed device and method, it can be by others side Formula is realized.The apparatus embodiments described above are merely exemplary, for example, the division of the unit, only one kind are patrolled Function division is collected, there may be another division manner in actual implementation, in another example, multiple units or components can combine or can To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Coupling, direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some communication interfaces, device or unit It connects, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in embodiment provided by the present application can integrate in one processing unit, it can also To be that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product It is stored in a computer readable storage medium.Based on this understanding, the technical solution of the application is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a People's computer, server or network equipment etc.) execute each embodiment the method for the application all or part of the steps. And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic or disk.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing, in addition, term " the One ", " second ", " third " etc. are only used for distinguishing description, are not understood to indicate or imply relative importance.
Finally, it should be noted that embodiment described above, the only specific embodiment of the application, to illustrate the application Technical solution, rather than its limitations, the protection scope of the application is not limited thereto, although with reference to the foregoing embodiments to this Shen It please be described in detail, those skilled in the art should understand that: anyone skilled in the art Within the technical scope of the present application, it can still modify to technical solution documented by previous embodiment or can be light It is readily conceivable that variation or equivalent replacement of some of the technical features;And these modifications, variation or replacement, do not make The essence of corresponding technical solution is detached from the spirit and scope of the embodiment of the present application technical solution.The protection in the application should all be covered Within the scope of.Therefore, the protection scope of the application should be based on the protection scope of the described claims.

Claims (10)

1. a kind of figure display methods, which is characterized in that be applied to terminal device, which comprises
Receive the fixed-size head figure corresponding with particular terminal device that server is sent;
If the width value of the head figure and the target width value for presetting Tou Tu occupy-place area in present terminal device screen are inconsistent, Default the ratio of width to height based on the target width value and the head figure, is adjusted the head figure, obtains and the target The head figure to be shown that width value matches;
The head figure to be shown is shown in the default Tou Tu occupy-place area.
2. according to claim 1 figure display methods, which is characterized in that described to be shown in the default Tou Tu occupy-place area Before showing the head figure to be shown, the method also includes:
According to the benchmark upper boundary values of present terminal device screen, the display upper boundary values in the default Tou Tu occupy-place area are determined;
According to the display upper boundary values, the default display lower border value and present terminal equipment in the default Tou Tu occupy-place area The screen width value of screen determines the default Tou Tu occupy-place area.
3. according to claim 1 figure display methods, which is characterized in that described to be shown in the default Tou Tu occupy-place area Before showing the head figure to be shown, the method also includes:
According to the benchmark upper boundary values of present terminal device screen, the first footprint and browser address of state parameter information Second footprint on column determines the display upper boundary values in the default Tou Tu occupy-place area;
According to the display upper boundary values, the default display lower border value and present terminal equipment in the default Tou Tu occupy-place area The screen width value of screen determines the default Tou Tu occupy-place area.
4. according to claim 2 or 3 figure display methods, which is characterized in that it is described according to the display upper boundary values, The default display lower border value in the default Tou Tu occupy-place area and the screen width value of present terminal device screen, determine described in Before default Tou Tu occupy-place area, the method also includes:
Obtain the dimension information of present terminal device screen;
According to the dimension information of the present terminal device screen, the default display lower boundary in the default Tou Tu occupy-place area is determined Value.
5. according to claim 1 figure display methods, which is characterized in that described to be shown in the default Tou Tu occupy-place area Show that the head figure to be shown includes:
Core is chosen from the head figure to be shown shows image;
The core to be shown to the target lower border value of image and the default display lower border value in the default Tou Tu occupy-place area The mode of alignment shows that the core shows image in the default Tou Tu occupy-place area.
6. according to claim 5 figure display methods, which is characterized in that described to be shown in the default Tou Tu occupy-place area After showing the head figure to be shown, the method also includes:
If detecting the touch control operation executed to the present terminal device screen, occur in present terminal device screen Shielded image is shown in open display area;Wherein, the touch control operation is used to indicate the present terminal device screen Current display page, which slides down in the present terminal device screen, there is open display area, the open display area Between the benchmark upper boundary values of the present terminal device screen and the display upper boundary values in the default Tou Tu occupy-place area Region;The shielded image is the parts of images not shown in the default Tou Tu occupy-place area in the head figure to be shown.
7. according to claim 1 figure display methods, which is characterized in that described to be shown in the default Tou Tu occupy-place area Show that the head figure to be shown includes:
Core is chosen from the head figure to be shown shows image;
The core is shown that the target upper boundary values of image are aligned with the display upper boundary values in the default Tou Tu occupy-place area Mode, show that the core shows image in the default Tou Tu occupy-place area.
8. a kind of map display device characterized by comprising
Receiving module, for receiving the fixed-size head figure corresponding with particular terminal device of server transmission;
Module is adjusted, the target for width value and Tou Tu occupy-place area default in present terminal device screen in the head figure is wide When angle value is inconsistent, default the ratio of width to height based on the target width value and the head figure is adjusted the head figure, obtains To the head figure to be shown to match with the target width value;
Display module, for showing the head figure to be shown in the default Tou Tu occupy-place area.
9. a kind of terminal device characterized by comprising processor, memory and bus, the memory storage, which executes, to be referred to It enables, when terminal device operation, by bus communication between the processor and the memory, the processor is executed It is described to execute instruction so that the terminal device perform claim requires 1 to 7 described in any item methods.
10. a kind of computer storage medium, which is characterized in that the computer storage medium is stored with the executable finger of computer It enables, which can be performed the described in any item methods of claim 1 to 7.
CN201811044301.9A 2018-09-07 2018-09-07 Head figure display methods, display device, terminal device and storage medium Pending CN109035148A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811044301.9A CN109035148A (en) 2018-09-07 2018-09-07 Head figure display methods, display device, terminal device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811044301.9A CN109035148A (en) 2018-09-07 2018-09-07 Head figure display methods, display device, terminal device and storage medium

Publications (1)

Publication Number Publication Date
CN109035148A true CN109035148A (en) 2018-12-18

Family

ID=64624071

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811044301.9A Pending CN109035148A (en) 2018-09-07 2018-09-07 Head figure display methods, display device, terminal device and storage medium

Country Status (1)

Country Link
CN (1) CN109035148A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010123330A2 (en) * 2009-04-24 2010-10-28 No Dong Shin Customized advertisement screen and linked screen display system
CN103546715A (en) * 2013-10-30 2014-01-29 乐视致新电子科技(天津)有限公司 Method and device for adjusting proportion of picture of smart television
CN104125338A (en) * 2014-07-23 2014-10-29 晶赞广告(上海)有限公司 Method for showing advertisements on cell phone side
JP5974241B1 (en) * 2015-06-12 2016-08-23 株式会社オープンエイト Movie display frame control device and program
CN107704176A (en) * 2017-10-30 2018-02-16 努比亚技术有限公司 A kind of picture-adjusting method and terminal
CN107885411A (en) * 2016-09-30 2018-04-06 北京京东尚科信息技术有限公司 For display methods and display device without the pulldown function page

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010123330A2 (en) * 2009-04-24 2010-10-28 No Dong Shin Customized advertisement screen and linked screen display system
CN103546715A (en) * 2013-10-30 2014-01-29 乐视致新电子科技(天津)有限公司 Method and device for adjusting proportion of picture of smart television
CN104125338A (en) * 2014-07-23 2014-10-29 晶赞广告(上海)有限公司 Method for showing advertisements on cell phone side
JP5974241B1 (en) * 2015-06-12 2016-08-23 株式会社オープンエイト Movie display frame control device and program
CN107885411A (en) * 2016-09-30 2018-04-06 北京京东尚科信息技术有限公司 For display methods and display device without the pulldown function page
CN107704176A (en) * 2017-10-30 2018-02-16 努比亚技术有限公司 A kind of picture-adjusting method and terminal

Similar Documents

Publication Publication Date Title
CN105528408B (en) Page display method and device
CN109766071B (en) Display adjustment method and device for bar-shaped electronic shelf label
CN105094617A (en) Screen capturing method and device
US10332236B2 (en) Method and apparatus for adsorbing straight line/line segment, method and apparatus for constructing polygon
US9880721B2 (en) Information processing device, non-transitory computer-readable recording medium storing an information processing program, and information processing method
CN103164519A (en) Method capable of adjusting tone of tool bar and device capable of adjusting tone of tool bar
CN110989952B (en) Multi-screen-based mouse sharing implementation method, device and system
CN104778007A (en) Screen capturing method and screen capturing device
US9196051B2 (en) Electronic equipment with image analysis function and related method
CN104915131A (en) Method and apparatus for turning pages of electronic document
CN103914213A (en) Method and device for eliminating page dithering
US20170132988A1 (en) Control method and device for changing brightness
CN108399058A (en) A kind of signal display control method and device
CN109035148A (en) Head figure display methods, display device, terminal device and storage medium
CN103400387A (en) Method and device for adsorbing line segment in image, as well as method and device for constructing polygon
CN105577518A (en) Method and electronic device for displaying website corresponding information in instant messaging
US9354772B2 (en) Method and device for movement of image object
CN109559707B (en) Gamma value processing method and device of display panel and display equipment
US20160357395A1 (en) Information processing device, non-transitory computer-readable recording medium storing an information processing program, and information processing method
CN110737417A (en) demonstration equipment and display control method and device of marking line thereof
CN107024988A (en) A kind of method and device that operation is performed based on user action
CN105022734B (en) background color setting method and device
CN111309221A (en) Page processing method, device and equipment
CN104777968A (en) Information processing method and electronic equipment
CN104063111A (en) Information processing method and electronic equipment

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
CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Kong Dezhao

Inventor before: Zhang Shuai