CN109582421A - A kind of page display method, device and equipment - Google Patents

A kind of page display method, device and equipment Download PDF

Info

Publication number
CN109582421A
CN109582421A CN201811447095.6A CN201811447095A CN109582421A CN 109582421 A CN109582421 A CN 109582421A CN 201811447095 A CN201811447095 A CN 201811447095A CN 109582421 A CN109582421 A CN 109582421A
Authority
CN
China
Prior art keywords
page
scaling
display
picture
display object
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
CN201811447095.6A
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.)
Zhuhai Seal Interest Technology Co Ltd
Original Assignee
Zhuhai Seal Interest Technology 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 Zhuhai Seal Interest Technology Co Ltd filed Critical Zhuhai Seal Interest Technology Co Ltd
Priority to CN201811447095.6A priority Critical patent/CN109582421A/en
Publication of CN109582421A publication Critical patent/CN109582421A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

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

Abstract

The embodiment of the invention discloses a kind of page display method, device and equipment, wherein the display object includes: text, picture, control or forms this method comprises: terminal obtains M display object in first page;The terminal obtains the scaling ratio of system display, and the scaling ratio is the percent value of the display interface size and former display interface size after terminal display scaling;The terminal zooms in and out M after being scaled display object to M display object in the first page according to the scaling ratio respectively;The terminal shows M display object after the scaling.Using the embodiment of the present invention, the display page can be effectively improved in the whole clarity of terminal by being zoomed in and out by scaling ratio to display object.

Description

A kind of page display method, device and equipment
Technical field
The present invention relates to field of computer technology more particularly to a kind of page display methods, device and equipment.
Background technique
With the very fast development of display technology, notebook, TV resolution on the market is higher and higher, therefore occurs The concept of high split screen.The screen of 1024*768 resolution ratio is known as common screen;Screen more than this resolution ratio is known as high split screen.
The appearance of high split screen represents the display effect being more clear, but many existing softwares are run in software in society When, the effect is unsatisfactory in high score screen display for the display page of software.Because many softwares do not consider at the beginning of design High split screen display available, so whole software page elements are all less than normal, bring result be exactly content of pages show it is unintelligible.
For the display page of the software problem undesirable in high score screen display effect, Microsoft is in win7 and win10 system System provides to obtain solution are as follows: carries out integrally stretching to the display page of software.But integrally stretching shows that the page can to show Show that the text of the page, picture fog.So the display effect of software is very influenced in this way, so that software is in the mistake used It takes in journey to user negative user experience.Therefore, software how to be allowed to show that the page shows that becoming apparent from is to need at present in terminal It solves the problems, such as.
Summary of the invention
The embodiment of the present invention provides a kind of page display method, device and equipment, effectively can enough improve software and show the page In the display resolution of terminal.
In a first aspect, the embodiment of the invention provides a kind of page display methods, this method comprises:
Terminal obtains M display object in first page, and the display object includes: text, picture, control or window Body;
The terminal obtains the scaling ratio of system display, and the scaling ratio is after the terminal display scales The percent value of display interface size and former display interface size;
The terminal zooms in and out to obtain respectively according to the scaling ratio to M display object in the first page M display object after scaling;
The terminal shows M display object after the scaling.
Implement the embodiment of the present invention, integrally stretching directly is carried out to the display page compared to the prior art, the application is implemented Example respectively zooms in and out text, image, control or the forms of the display page according to scaling ratio, the display after being scaled Object, terminal export the display object after scaling, can effectively improve the display page in the whole clarity of terminal.
Optionally, terminal shows the first coordinate of the first display area of each of object display object according to M The second coordinate of each corresponding transformed second display area of display object is determined with scaling ratio.
Implement the embodiment of the present invention and shows that the size of object is corresponding after M display object is zoomed in and out according to scaling ratio Change, it is thus determined that the coordinate of M each corresponding transformed display area in display area of display object of display object can So that the integral layout of the display page is more rationally uniform.
Optionally, M display object includes text, zooms in and out to text and includes:
The font size of the text in the first page zoomed in and out according to the scaling ratio after being scaled Text.
Wherein, the font size that the text after scaling is determined by scaling ratio, will text corresponding with the font size Word is determined as the text after scaling.
Implement the embodiment of the present invention, terminal determines the font size of text by scaling ratio, will be with the font size Corresponding text is determined as the text after scaling, rather than by directly being stretched to the font of the page according to pantograph ratio value, Page text be can effectively improve in the display resolution of terminal.
Optionally, M display object includes picture, zooms in and out to picture and includes:
Terminal judges whether the scaling ratio is 1.0;
If scaling ratio is 1.0, terminal handles the picture of the first page according to antialiasing method, obtains everywhere Picture after reason, by the picture after treated picture the is determined as scaling.
If the scaling ratio is not 1.0, the terminal lookup is matched with the picture identification in the first page and picture Element meets the picture of the scaling ratio, after the picture for matching with picture identification and meeting scaling ratio is determined as scaling Picture.
Optionally, terminal handles the picture of the first page according to antialiasing method, the figure that obtains that treated After piece, further includes: will treated image cache in the terminal, when picture for display next time first page directly displays Treated picture.
Implement the embodiment of the present invention, terminal handles page pictures by antialiasing algorithm when scaling is 1.0, Page text can be can effectively improve in the display resolution of terminal with softening picture.Picture after caching process, for next time Directly displaying that treated when showing the picture of first page, picture can reduce the time of terminal processes picture.
Optionally, terminal searches the plurality of pictures of different pixels corresponding with picture according to picture identification, and terminal is according to figure The original pixel of piece searches pixel from the plurality of pictures of different pixels and picture original pixel meets the picture of scaling ratio, by pixel The picture for meeting scaling ratio with picture original pixel is determined as the picture after scaling.
Implement the embodiment of the present invention, terminal finds the picture of respective pixel according to scaling ratio and picture original pixel, will The picture is shown in terminal, rather than directly carries out equal proportion stretching to picture, can effectively improve page pictures in terminal Display resolution.
Optionally, M display object includes control, zooms in and out to control and includes:
The whole size of the control of the first page is zoomed in and out into the page after being scaled according to the scaling ratio Face control.
Optionally, M display object includes forms, zooms in and out to forms and includes:
The length of the forms of the first page and height are zoomed in and out after being scaled according to the scaling ratio Page forms.
Implement the embodiment of the present invention, terminal is by scaling ratio respectively to text, picture, control and the forms of the display page It zooms in and out, enough display pages that improves can be imitated in the whole clarity of terminal.
Second aspect, the embodiment of the invention provides a kind of page display devices, comprising:
First acquisition unit, for obtaining M in first page display object, the display object includes: text, figure Piece, control or forms;
Second acquisition unit, for obtaining the scaling ratio of system display;
Unit for scaling, for contracting respectively according to the scaling ratio to M display object in the first page Put M after being scaled display object;
Display unit, for showing M display object after the scaling.
Optionally, the M display object includes page text, and the unit for scaling is specifically used for:
The font size of the text in the first page zoomed in and out according to the scaling ratio after being scaled Text.
Optionally, the M display object includes picture;The unit for scaling includes:
Judging unit, for judging whether the scaling ratio is 1.0;
First determination unit judges the scaling ratio for 1.0, by the figure of the first page for the judging unit Piece is handled according to antialiasing method, the picture that obtains that treated, by the figure after treated picture the is determined as scaling Piece;
Second determination unit judges that the scaling ratio is not 1.0 for the judging unit, and the terminal is searched and institute State the picture that picture identification matching and pixel in first page meet the scaling ratio, described will be matched with picture identification and The picture for meeting scaling ratio is determined as the picture after scaling.
Optionally, the M display object includes page control;The unit for scaling is specifically used for:
The whole size of the control of the first page is zoomed in and out into the page after being scaled according to the scaling ratio Face control.
Optionally, the M display object includes page forms;The unit for scaling is specifically used for:
The length of the forms of the first page and height are zoomed in and out after being scaled according to the scaling ratio Page forms.
The third aspect, the embodiment of the present application provide a kind of terminal device, for executing the page provided by first aspect The method of display.The terminal includes: memory, processor, input equipment and output equipment.Wherein, the memory is for depositing Storage supports terminal device to execute the computer program of the above method, and the computer program includes program instruction, the processor It is configured for calling described program instruction, the method for executing above-mentioned first aspect.
Fourth aspect, the embodiment of the present invention provide a kind of computer readable storage medium, are stored on readable storage medium storing program for executing Instruction, when it runs on a processor, so that processor executes the method that the page of above-mentioned first aspect description is shown.
5th aspect, the embodiment of the invention provides a kind of computer program products comprising instruction, when it is in processor When upper operation, so that processor executes the method that the page of above-mentioned first aspect description is shown.
Detailed description of the invention
Technical solution in order to illustrate the embodiments of the present invention more clearly, below will be to needed in embodiment description Attached drawing is briefly described.
Fig. 1 is a kind of terminal device structural schematic diagram provided in an embodiment of the present invention;
Fig. 2 is a kind of flow diagram of page display method provided in an embodiment of the present invention;
Fig. 3 is page schematic diagram to be shown provided in an embodiment of the present invention;
Fig. 4 is terminal display scaling schematic diagram provided in an embodiment of the present invention;
Fig. 5 is another kind provided in an embodiment of the present invention page schematic diagram to be shown;
Fig. 6 is the different pixels picture schematic diagram of terminal storage provided in an embodiment of the present invention;
Fig. 7 is a kind of structural schematic diagram of page display device provided in an embodiment of the present invention.
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 is described.
The term " includes " and " having " and their any changes occurred in present specification, claims and attached drawing Shape, it is intended that cover and non-exclusive include.Such as contain the process, method of a series of steps or units, system, product or Equipment is not limited to listed step or unit, but optionally further comprising the step of not listing or unit or optional Ground further includes the other step or units intrinsic for these process, methods, product or equipment.In addition, term " first ", " the Two " and " third " etc. are and to be not intended to describe specific sequence for distinguishing different objects.
In the specific implementation, terminal described in the embodiment of the present invention is including but not limited to such as with touch sensitive surface The mobile phone, laptop computer or tablet computer of (for example, touch-screen display and/or touch tablet) etc it is other just Portable device.It is to be further understood that in certain embodiments, the equipment is not portable communication device, but there is touching Touch the desktop computer of sensing surface (for example, touch-screen display and/or touch tablet).
In following discussion, the terminal including display and touch sensitive surface is described.It is, however, to be understood that It is that terminal may include one or more of the other physical user-interface device of such as physical keyboard, mouse and/or control-rod.
Terminal supports various application programs, such as one of the following or multiple: drawing application program, demonstration application journey Sequence, word-processing application, website create application program, disk imprinting application program, spreadsheet applications, game application Program, telephony application, videoconference application, email application, instant messaging applications, exercise Support application program, photo management application program, digital camera application program, digital camera application program, web-browsing application Program, digital music player application and/or video frequency player application program.
Referring to Figure 1, Fig. 1 is a kind of terminal device structural schematic diagram that present invention implementation provides.This reality as shown in Figure 1 Applying the terminal device 100 in example may include: one or more processors 101, memory 102, one or more input equipments 103 and one or more output equipments 104.Above-mentioned processor 101, input equipment 103, output equipment 104 and memory 102 are logical Cross the connection of bus 105.For memory 102 for storing computer program, the computer program includes program instruction, processor 101 for executing the program instruction of the storage of memory 102.Fig. 1 is for through bus link, in which:
It should be appreciated that in embodiments of the present invention, alleged processor 101 can be central processing unit (central Processing unit, CPU), can also be digital signal processor (digital signal processing, DSP), specially With integrated circuit (application specific integrated circuit, ASIC), ready-made programmable gate array (field-programmable gate array, FPGA) either other programmable logic device, discrete gate or transistor are patrolled Collect device, discrete hardware components etc..General processor can be microprocessor or the processor be also possible to it is any conventional Processor etc..
Memory 102 can be coupled with processor 101 by bus 105 or input/output port, and memory 102 can also To be integrated with processor 101.Memory 102 is for storing various software programs and/or multiple groups instruction.Specifically, depositing Reservoir 102 may include the memory of high random access, and may also comprise nonvolatile memory, such as one or more magnetic Disk storage device, flash memory device or other non-volatile solid-state memory devices.Memory 302 can also store network communication journey Sequence, the network communication program can be used for and one or more optional equipments, one or more terminals, one or more network equipments It is communicated.
Input equipment 103 may include that Trackpad, fingerprint adopt sensor (for acquiring the finger print information and fingerprint of user Directional information), microphone etc., output equipment 104 may include display (liquid crystal display, LCD etc.), raise Sound device etc..
In the embodiment of the present application, memory 102 can be used for storing the application by terminal memory or the network equipment M display object of acquisition.The realization for the information display method that one or more embodiments about the application provide, please refers to The description of subsequent processes embodiment.
Terminal device as shown in connection with fig. 1, the embodiment of the invention provides a kind of methods that the page is shown, referring to fig. 2, figure A kind of flow diagram of 2 page display methods provided for one embodiment of the present of invention.Wherein, as shown in Fig. 2, the application A kind of method that shows of page that provides of one embodiment may include:
S201, terminal obtain M display object in first page, and the display object includes: text, picture, control Or forms.
Referring to Fig. 3, Fig. 3 is page schematic diagram to be shown provided in an embodiment of the present invention.As shown in figure 3, the page to be shown Bread text containing the page, control, forms and picture.Left side is the interface schematic diagram of prior art processing, and right side is at the application The interface schematic diagram of reason.
Wherein, page control includes the visualized graphs element that can be placed on forms, such as button, Document Editing frame Deng.Wherein most of is to have the function of to execute or by triggering the function of causing code to run and complete response.Forms are applications The program window and dialog box of program, forms may include multiple controls.Forms are as the container comprising multiple controls, almost each Application program will include a forms.
S202, terminal obtain the scaling ratio of system display.
Specifically, it is described scaling ratio be the terminal display scaling after display interface size with original display interface it is big Small percent value.Referring to fig. 4, Fig. 4 is terminal display pantograph ratio schematic diagram provided in an embodiment of the present invention.As shown in figure 4, When the pantograph ratio of terminal system display is 100%, scaling ratio is 1.0.The pantograph ratio of terminal system display is 125% When, scaling ratio is 1.25.In the prior art, terminal directly integrally stretches the display page, terminal according to scaling ratio The length and width for showing page entirety is stretched 1.25 times, this can directly reduce the whole clarity of the display page.Terminal system When the pantograph ratio of system display is 150%, scaling ratio is 1.5.Certainly, scaling ratio according to the system of terminal it is different without Together.Under some systems, the value for scaling ratio may be 1.7.
S203, terminal zoom in and out M display object in the first page according to the scaling ratio respectively M display object after to scaling.
Optionally, terminal shows the first coordinate of the first display area of each of object display object according to M The second coordinate of each corresponding transformed second display area of display object is determined with scaling ratio.
Referring to Fig. 5, Fig. 5 is page schematic diagram to be shown provided in an embodiment of the present invention.As shown in figure 5, with the page It is illustrated for control 1.Control 1 scale the upper coordinate of the first coordinate of preceding first display area, lower coordinate, left coordinate and Right coordinate is respectively (10,6), (10,4), (9,5), (11,5) before scaling.The first coordinate of preceding first display area will be scaled The second coordinate of the second display area is obtained after zooming in and out according to scaling ratio, for scaling ratio and be 1.5, control 1 contracts Put the second coordinate of rear second display area upper coordinate, lower coordinate, left coordinate and right coordinate be respectively (15,9), (15,6), (13.5,7.5), (16.5,7.5).Likewise, being carried out for the text of the page, the coordinate of the display area of picture and forms same The processing of sample.Behind the display area position for determining each display object, the display object after scaling is shown and is shown accordingly Region.By taking the control 1 in Fig. 5 as an example, the region that the control 1 after scaling is shown is the second display area, the display area Upper coordinate, lower coordinate, left coordinate and right coordinate are respectively (15,9), (15,6), (13.5,7.5), (16.5,7.5).
It is understood that the evolution of the display area of display object can be and is determined in the form of coordinate, Can also otherwise, the application does not limit this.
Implement the embodiment of the present invention and shows that the size of object is corresponding after M display object is zoomed in and out according to scaling ratio Change, it is thus determined that the coordinate of M each corresponding transformed display area in display area of display object of display object can So that the integral layout of the display page is more rationally uniform.
Optionally, M display object includes text, and zooming in and out to text includes: according to scaling ratio by first page In the font size of text zoom in and out the text after being scaled.
Referring to Fig. 5, illustrated with the text 1 " rubbish cleaning " in Fig. 5 to be illustrated.The font of text 1 " rubbish cleaning " Size is 4, if scaling ratio is 1.5, it is determined that the font size of the font 1 " rubbish cleaning " after scaling is 6;If scaling ratio It is 1.25, it is determined that the font size of the font 1 " rubbish cleaning " after scaling is 4.5.
Implement the embodiment of the present invention, terminal determines the font size of text by scaling ratio, will be with the font size Text before corresponding text replacement scaling, rather than by directly being stretched to the font of the page according to pantograph ratio value, it can To effectively improve page text in the display resolution of terminal.
Optionally, M display object includes picture, zooms in and out to picture and includes:
Terminal judges whether the scaling ratio is 1.0;
If scaling ratio is 1.0, terminal handles the picture of the first page according to antialiasing method, obtains everywhere Picture after reason, by the picture after treated picture the is determined as scaling.
If scaling ratio is not 1.0, terminal is searched and the picture match in the first page according to the scaling ratio And meet the picture of the scaling ratio, the figure after the picture with picture match and satisfaction scaling ratio to be determined as to scaling Piece.
The picture of the first page is carried out processing according to antialiasing method by optional terminal can be with softening picture.It obtains After treated picture, will treated image cache in the terminal, when picture for display next time first page is direct Display treated picture.
Implement the embodiment of the present invention, terminal handles page pictures by antialiasing algorithm when scaling is 1.0, Page text can be can effectively improve in the display resolution of terminal with softening picture.Picture after caching process, for next time Directly displaying that treated when showing the picture of first page, picture can reduce the time of terminal processes picture.
When scaling ratio is not 1.0, referring to Fig. 6, Fig. 6 is the different pictures for the terminal storage that the real embodiment of the present invention provides Sketch map piece schematic diagram.As shown in fig. 6, the pixel of the original picture itself is 100*100, what which respectively corresponded there are two pixel Picture, pixel are respectively 125*125 and 150*150.It is illustrated so that the picture identification of the picture is 001 as an example, in terminal It is stored with picture corresponding with the picture pixels, the pixel of the corresponding picture is respectively 125*125 and 150*150,.Work as end Judgement scaling ratio in end is not 1.0, searches this corresponding two picture according to picture identification 001, then searches and picture preimage Element meets the picture of scaling ratio, the picture after the picture that pixel and picture original pixel meet scaling ratio to be determined as to scaling. For example, the picture that pixel is 125*125 to be then determined as to the picture after scaling when scaling ratio is 1.25;When scaling ratio is 1.5, then the picture that pixel is 150*150 is determined as to the picture after scaling.
Implement the embodiment of the present invention, terminal finds the picture of respective pixel according to scaling ratio and picture original pixel, will The picture is shown in terminal, rather than directly carries out equal proportion stretching to picture, can effectively improve page pictures in terminal Display resolution.
Optionally, M display object includes control, zooms in and out to control and includes:
The whole size of the control of the first page is zoomed in and out into the page after being scaled according to the scaling ratio Face control.
Optionally, M display object includes forms, zooms in and out to forms and includes:
The length of the forms of the first page and height are zoomed in and out after being scaled according to the scaling ratio Page forms.
Referring to Fig. 5, illustrated with the forms 1 in Fig. 5 to be illustrated.For example, the length of forms 1 and height are respectively 30 Hes 60.When scaling ratio is 1.25, the length and height after the scaling of window 1 are respectively 37.5 and 75;It is 1.5 when scaling ratio, window Length and height after 1 scaling of mouth are respectively 45 and 90.
Referring to Fig. 3, Image to left is the display page effect of prior art processing in Fig. 3, and right side picture is at the application The effect of the reason display page.The display page entirety display effect on the left side is more fuzzy, and the display page on the right integrally shows effect Fruit is relatively clear.Implement the embodiment of the present invention, compared to the prior art according to scaling directly to display page entirety income Scaling, the embodiment of the present application respectively zoom in and out text, image, control or the forms of the display page according to scaling ratio, Display object after being scaled, terminal export the display object after scaling, can effectively improve the display page in the whole of terminal Body clarity.
Referring to Fig. 7, Fig. 7 is a kind of structural schematic diagram of page display device provided in an embodiment of the present invention.As shown in Figure 7 The device 700 that the page is shown includes: first acquisition unit 701, second acquisition unit 702, unit for scaling 703 and display unit 704。
Wherein, first acquisition unit 701, for obtaining M in first page display object, the display object packet It includes: text, picture, control or forms;Second acquisition unit 702, for obtaining the scaling ratio of system display, the scaling Ratio is the percent value of the display interface size and former display interface size after terminal display scaling;Unit for scaling 703, for after zooming in and out and being scaled respectively to M display object in the first page according to the scaling ratio M display object;Display unit 704, for showing M display object after the scaling.
Optionally, the M display object includes page text, and the unit for scaling 703 is specifically used for: according to the contracting It puts ratio and the font size of the text in the first page is zoomed in and out to the text after being scaled.
Optionally, the M display object includes picture;The unit for scaling includes:
Judging unit, for judging whether the scaling ratio is 1.0;
First determination unit judges the scaling ratio for after 1.0, by the first page for the judging unit Picture handled according to antialiasing method, the picture that obtains that treated, treated after picture is determined as scaling by described Picture;
Second determination unit judges that the scaling ratio is not after 1.0 for the judging unit, and the terminal is searched It is matched with the picture identification in the first page and pixel meets the picture for scaling ratio, it will described and picture identification Match and the picture for meeting scaling ratio is determined as the picture after scaling.
Optionally, M display object includes page control, and the unit for scaling 703 is specifically used for: according to the pantograph ratio The whole size of the control of the first page is zoomed in and out the page control after being scaled by value.
Optionally, M display object includes page forms, and the unit for scaling 703 is specifically used for: according to the pantograph ratio The length of the forms of the first page and height are zoomed in and out the page forms after being scaled by value.
A kind of computer readable storage medium, the computer-readable storage medium are provided in another embodiment of the application Matter is stored with computer program, and the computer program includes program instruction, realization when described program instruction is executed by processor.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the application Portion or part steps.And storage medium above-mentioned include: USB flash disk, mobile hard disk, read-only memory (read-only memory, ROM), random access memory (random access memory, RAM), magnetic or disk etc. are various can store program The medium of code.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof real It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.The computer program Product includes one or more computer instructions.When loading on computers and executing the computer program instructions, all or It partly generates according to process or function described in the embodiment of the present application.The computer can be general purpose computer, dedicated meter Calculation machine, computer network or other programmable devices.The computer instruction can store in computer readable storage medium In, or from a computer readable storage medium to the transmission of another computer readable storage medium, for example, the computer Instruction can pass through wired (such as coaxial cable, optical fiber, number from a web-site, computer, server or data center User's line (digital subscriber line, DSL) or wireless (such as infrared, wireless, microwave etc.) mode are to another net Website, computer, server or data center are transmitted.The computer readable storage medium can be computer can Any usable medium of access either includes the data storage such as one or more usable mediums integrated server, data center Equipment.The usable medium can be magnetic medium, (for example, floppy disk, hard disk, tape), optical medium (such as digital multi light Disk (digital versatile disc, DVD), semiconductor medium (such as solid state hard disk solid state disk, SSD) Deng.
Above-described specific embodiment carries out the purpose of the embodiment of the present invention, technical scheme and beneficial effects It is further described, it should be understood that the foregoing is merely the specific embodiments of the embodiment of the present invention, and does not have to In limit the embodiment of the present invention protection scope, it is all on the basis of the technical solution of the embodiment of the present invention, done it is any Modification, equivalent replacement, improvement etc. should all include within the protection scope of the embodiment of the present invention.

Claims (10)

1. a kind of page display method characterized by comprising
Terminal obtains M display object in first page, and the display object includes: text, picture, control or forms, institute Stating M is positive integer;
The terminal obtains the scaling ratio of system display, and the scaling ratio is the display after terminal display scaling The percent value of interface size and former display interface size;
The terminal zooms in and out M display object in the first page respectively according to the scaling ratio and is scaled M display object afterwards;
The terminal shows M display object after the scaling.
2. the method according to claim 1, wherein the M display object includes text;It is described according to described Scaling ratio zooms in and out M after being scaled display object to M display object in the first page respectively, wraps It includes:
The font size of the text in the first page is zoomed in and out to the text after being scaled according to the scaling ratio.
3. the method according to claim 1, wherein the M display object includes picture;It is described according to described Scaling ratio zooms in and out M after being scaled display object to M display object in the first page respectively, wraps It includes:
The terminal judges whether the scaling ratio is 1.0;
If the scaling ratio is 1.0, the terminal handles the picture of the first page according to antialiasing method, obtains To treated picture, by the picture after treated picture the is determined as scaling;
If the scaling ratio is not 1.0, the terminal lookup is matched with the picture identification in the first page and pixel is full Foot it is described scaling ratio picture, by it is described match with picture identification and pixel satisfaction scale ratio picture be determined as scaling after Picture.
4. the method according to claim 1, wherein the M display object includes page control;It is described according to The scaling ratio zooms in and out M after being scaled display object to M display object in the first page respectively, Include:
The whole size of the first page control is zoomed in and out into the page control after being scaled according to the scaling ratio.
5. the method according to claim 1, wherein the M display object includes page forms;It is described according to The scaling ratio zooms in and out M after being scaled display object to M display object in the first page respectively, Include:
The length of the forms of the first page and height are zoomed in and out into the page after being scaled according to the scaling ratio Forms.
6. a kind of page display device characterized by comprising
First acquisition unit, for obtaining M in first page display object, the display object include: text, picture, Control or forms;
Second acquisition unit, for obtaining the scaling ratio of system display, the scaling ratio is terminal display contracting The percent value of display interface size and former display interface size after putting;
Unit for scaling, for being zoomed in and out respectively according to the scaling ratio to M display object in the first page M display object after to scaling;
Display unit, for showing M display object after the scaling.
7. device according to claim 6, which is characterized in that the M display object includes page text, the scaling Unit is specifically used for:
The font size of the text in the first page is zoomed in and out to the text after being scaled according to the scaling ratio.
8. device according to claim 6, which is characterized in that the M display object includes picture;The unit for scaling Include:
Judging unit, for judging whether the scaling ratio is 1.0;
First determination unit judges the scaling ratio for 1.0, by the picture root of the first page for the judging unit It is handled according to antialiasing method, the picture that obtains that treated, by the picture after treated picture the is determined as scaling;
Second determination unit is not 1.0 for the scaling ratio, and the terminal is searched and the picture mark in the first page Know matching and pixel meet it is described scaling ratio picture, by it is described match with picture identification and pixel satisfaction scale ratio figure Piece is determined as the picture after scaling.
9. device according to claim 6, which is characterized in that the M display object includes page control;The scaling Unit is specifically used for:
The whole size of the control of the first page is zoomed in and out to the page control after being scaled according to the scaling ratio Part.
10. a kind of terminal device characterized by comprising processor, memory, input equipment and output equipment, the processing Device, the memory, the input equipment and the output equipment are connected with each other, wherein the memory is calculated for storing Machine program, the computer program include program instruction, and the processor is configured for calling described program instruction, are executed such as Lower process:
M display object in first page is obtained, the display object includes: text, picture, control or forms;
The scaling ratio of system display is obtained, the scaling ratio is the display interface size after terminal display scaling With the percent value of former display interface size;
The M after being scaled are zoomed in and out respectively to M display object in the first page according to the scaling ratio Show object;
M display object after showing the scaling by the output equipment.
CN201811447095.6A 2018-11-29 2018-11-29 A kind of page display method, device and equipment Pending CN109582421A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811447095.6A CN109582421A (en) 2018-11-29 2018-11-29 A kind of page display method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811447095.6A CN109582421A (en) 2018-11-29 2018-11-29 A kind of page display method, device and equipment

Publications (1)

Publication Number Publication Date
CN109582421A true CN109582421A (en) 2019-04-05

Family

ID=65925702

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811447095.6A Pending CN109582421A (en) 2018-11-29 2018-11-29 A kind of page display method, device and equipment

Country Status (1)

Country Link
CN (1) CN109582421A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110362265A (en) * 2019-07-16 2019-10-22 深圳雷曼光电科技股份有限公司 Control method, device, computer equipment and the storage medium of display interface
CN113886744A (en) * 2021-12-08 2022-01-04 浙江口碑网络技术有限公司 Content rendering method and device, electronic equipment and storage medium
CN114385102A (en) * 2021-12-17 2022-04-22 深圳积木易搭科技技术有限公司 Interface element self-adaptive display method, equipment and storage medium
CN115097966A (en) * 2022-06-23 2022-09-23 北京字跳网络技术有限公司 Page display method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103530079A (en) * 2013-09-30 2014-01-22 山西云途信息技术有限公司 Picture displaying method and device adaptive to mobile terminals of different resolution ratios
CN105955754A (en) * 2016-05-18 2016-09-21 青岛海信移动通信技术股份有限公司 Method and device for displaying characters of user interface
CN108172200A (en) * 2018-01-25 2018-06-15 腾讯科技(深圳)有限公司 A kind of method and terminal device of this display of applicating Chinese
CN108733779A (en) * 2018-05-04 2018-11-02 百度在线网络技术(北京)有限公司 The method and apparatus of text figure

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103530079A (en) * 2013-09-30 2014-01-22 山西云途信息技术有限公司 Picture displaying method and device adaptive to mobile terminals of different resolution ratios
CN105955754A (en) * 2016-05-18 2016-09-21 青岛海信移动通信技术股份有限公司 Method and device for displaying characters of user interface
CN108172200A (en) * 2018-01-25 2018-06-15 腾讯科技(深圳)有限公司 A kind of method and terminal device of this display of applicating Chinese
CN108733779A (en) * 2018-05-04 2018-11-02 百度在线网络技术(北京)有限公司 The method and apparatus of text figure

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
许维臣: "《3DS MAX、VRAY室内效果图渲染实战》", 31 May 2011 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110362265A (en) * 2019-07-16 2019-10-22 深圳雷曼光电科技股份有限公司 Control method, device, computer equipment and the storage medium of display interface
CN110362265B (en) * 2019-07-16 2021-08-31 深圳雷曼光电科技股份有限公司 Display interface control method and device, computer equipment and storage medium
CN113886744A (en) * 2021-12-08 2022-01-04 浙江口碑网络技术有限公司 Content rendering method and device, electronic equipment and storage medium
CN114385102A (en) * 2021-12-17 2022-04-22 深圳积木易搭科技技术有限公司 Interface element self-adaptive display method, equipment and storage medium
CN115097966A (en) * 2022-06-23 2022-09-23 北京字跳网络技术有限公司 Page display method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN109582421A (en) A kind of page display method, device and equipment
JP5854442B2 (en) Handwriting input method to write multiple characters continuously
US20140089110A1 (en) Terminal apparatus, advertisement display control apparatus, and advertisement display method
EP3180687A1 (en) Hover-based interaction with rendered content
CN109118447B (en) Picture processing method, picture processing device and terminal equipment
WO2016045523A1 (en) Display method and device for interface contents of mobile terminal and terminal
CN109062653B (en) Long image-text information display method, computer device and computer readable storage medium
US20160216885A1 (en) Method and device for processing touch operation of electronic apparatus
US20210055809A1 (en) Method and device for handling event invocation using a stylus pen
WO2021159935A1 (en) Image display method and related product
WO2016192546A1 (en) Method and device for updating data point of dynamic curve
CN108196839A (en) New function bootstrap technique and device
CN107491502A (en) A kind of method and terminal for selecting entry
TWI704804B (en) Electronic apparatus and automatic advertisement closing method thereof
CN111880668A (en) Input display method and device and electronic equipment
CN105278751A (en) Method and apparatus for implementing human-computer interaction, and protective case
CN108415890B (en) Method for setting top display unit cell, terminal equipment and computer readable storage medium
US20160379033A1 (en) Interaction method and apparatus
CN109492249B (en) Rapid generation method and device of design drawing and terminal equipment
CN111382831B (en) Accelerating convolutional nerves network model Forward reasoning method and device
CN107329654A (en) Draw method, device and the computer-readable recording medium of element floating layer
CN106776749A (en) Modes to open a file method to set up and system
CN110263741A (en) Video frame extraction method, apparatus and terminal device
CN111506185B (en) Method, device, electronic equipment and storage medium for operating document
CN113934339A (en) Method and device for page self-adaptive layout based on rem

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