CN104978115B - Content display method and device - Google Patents

Content display method and device Download PDF

Info

Publication number
CN104978115B
CN104978115B CN201410132076.XA CN201410132076A CN104978115B CN 104978115 B CN104978115 B CN 104978115B CN 201410132076 A CN201410132076 A CN 201410132076A CN 104978115 B CN104978115 B CN 104978115B
Authority
CN
China
Prior art keywords
screen
page
content
display
type
Prior art date
Application number
CN201410132076.XA
Other languages
Chinese (zh)
Other versions
CN104978115A (en
Inventor
陈宪涛
刘雅兰
陈单枝
侯月姣
Original Assignee
腾讯科技(深圳)有限公司
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 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Priority to CN201410132076.XA priority Critical patent/CN104978115B/en
Publication of CN104978115A publication Critical patent/CN104978115A/en
Application granted granted Critical
Publication of CN104978115B publication Critical patent/CN104978115B/en

Links

Abstract

The invention discloses a kind of content display method and devices, belong to field of computer technology.The described method includes: whether detection screen direction by vertical screen direction is switched to transverse screen direction;If screen direction is switched to transverse screen direction, the content type of present displayed content is obtained;Display pattern corresponding with content type is switched to according to content type;It solves when electronic equipment rotates, either what shows content on screen, only shows the display content on screen by stretching or compressing to be laid on postrotational screen, display mode is single and is unable to fully the problem of utilizing source of screen;Achieve the effect that display pattern can be selected according to the content type of display content.

Description

Content display method and device

Technical field

The present embodiments relate to field of computer technology, in particular to a kind of content display method and device.

Background technique

Modern electronic equipment carries screen rotation function mostly.When electronic equipment rotates, in the display on screen The display layout of appearance also ensues variation.

Generally, when electronic equipment rotates, the layout of the display content on electronic equipment screen follows electronics The rotation of equipment and change;Display content on screen usually by stretch or compress be laid on postrotational screen come It is shown.As shown in Figure 1, the display content when mobile phone 100 is rotated from vertical screen 101 to transverse screen 102, on 100 screen of mobile phone Tiling is shown in transverse screen 102 after being stretched.

During realizing the embodiment of the present invention, inventor has found background technique the prior art has at least the following problems: working as electronics When equipment rotates, either what shows content on screen, only puts down the display content on screen by stretching or compressing It is layered on postrotational screen and is shown, display mode is single and is unable to fully utilize source of screen.

Summary of the invention

In order to solve when electronic equipment rotates, either what shows content on screen, only will be aobvious on screen Show that content is shown by stretching or compressing to be laid on postrotational screen, display mode is single and is unable to fully utilize screen The problem of curtain resource, the embodiment of the invention provides a kind of content display method and devices.The technical solution is as follows:

In a first aspect, providing a kind of content display method, which comprises

Whether detection screen direction by vertical screen direction is switched to transverse screen direction;

If the screen direction is switched to the transverse screen direction, the content type of present displayed content is obtained;

Display pattern corresponding with the content type is switched to according to the content type.

Second aspect, provides a kind of content display, and described device includes:

First detection module, for detecting whether screen direction by vertical screen direction is switched to transverse screen direction;

Type acquisition module obtains in current display if being switched to the transverse screen direction for the screen direction The content type of appearance;

Mode switch module, for switching to display pattern corresponding with the content type according to the content type.

Technical solution provided in an embodiment of the present invention has the benefit that

Whether transverse screen direction is switched to by vertical screen direction by detection screen direction;If screen direction is switched to transverse screen side To then obtaining the content type of present displayed content;Display pattern corresponding with content type is switched to according to content type;Solution It has determined when electronic equipment rotates, either what shows content on screen, and the display content on screen is only passed through drawing It stretches or compresses to be laid on postrotational screen and be shown, display mode is single and is unable to fully asking using source of screen Topic;Achieve the effect that display pattern can be selected according to the content type of display content.

Detailed description of the invention

To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.

Fig. 1 is the schematic diagram of display effect after the screen direction switching that background technique provides;

Fig. 2 is the method flow diagram of content display method provided by one embodiment of the present invention;

Fig. 3 A is the method flow diagram for the content display method that another embodiment of the present invention provides;

Fig. 3 B is the schematic diagram of the display effect of the display content for the video type that another embodiment of the present invention provides;

Fig. 3 C is the schematic diagram of the display effect of the display content for the text type that another embodiment of the present invention provides;

Fig. 3 D is the method flow diagram for the content display method that another embodiment of the present invention provides;

Fig. 3 E is the method flow diagram for the content display method that another embodiment of the present invention provides;

Fig. 4 is the structural block diagram of content display provided by one embodiment of the present invention;

Fig. 5 is the structural block diagram for the content display that another embodiment of the present invention provides;

Fig. 6 is the structural schematic diagram of electronic equipment provided by one embodiment of the present invention.

Specific embodiment

To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention Formula is described in further detail.

" electronic equipment " described herein usually includes the electronic equipment of display screen and gravity sensor, the electricity Sub- equipment has screen rotation function.It specifically may is that smart phone, tablet computer, E-book reader, MP3 player (Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard audio level 3), MP4(Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard audio level 4) player, wearable electronic and super basis etc..

Referring to FIG. 2, it illustrates the method flow diagrams of content display method provided by one embodiment of the present invention.This reality It applies example and is mainly applied in the electronic equipment including display screen and gravity sensor with the content display method to illustrate. The content display method, comprising:

Step 202, whether detection screen direction by vertical screen direction is switched to transverse screen direction;

Step 204, if screen direction is switched to transverse screen direction, the content type of present displayed content is obtained;

Step 206, display pattern corresponding with content type is switched to according to content type.

In conclusion content display method provided in this embodiment, whether cut by vertical screen direction by detection screen direction It is changed to transverse screen direction;If screen direction is switched to transverse screen direction, the content type of present displayed content is obtained;According to content Type switches to display pattern corresponding with content type;It solves when electronic equipment rotates, it is either assorted on screen It shows content, the display content on screen is shown by stretching or compressing to be laid on postrotational screen only, is shown Show that mode is single and is unable to fully the problem of utilizing source of screen;Having reached can select to show according to the content type of display content Show the effect of mode.

Since electronic equipment can be switched to transverse screen direction from vertical screen direction, vertical screen side can also be switched to from transverse screen direction To, therefore will illustrate that respectively electronic equipment is switched to transverse screen direction from vertical screen direction by two embodiments below, from cross When screen direction is switched to vertical screen direction, the variation of the display pattern of content is shown on the electronic equipment screen.It is specific as follows:

Fig. 3 A is please referred to, it illustrates the method flow diagrams for the content display method that another embodiment of the present invention provides. The present embodiment is mainly applied in the electronic equipment including display screen and gravity sensor with the content display method, and working as should It is illustrated when electronic equipment is switched to transverse screen direction from vertical screen direction.The content display method, comprising:

Step 301, whether detection screen direction by vertical screen direction is switched to transverse screen direction;

Whether electronic equipment detection screen direction by vertical screen direction is switched to transverse screen direction, is electronic equipment specifically In gravity sensor detection screen direction whether transverse screen direction is switched to by vertical screen direction.

Step 302, if screen direction is switched to transverse screen direction, the content type of present displayed content is obtained;

If screen direction is switched to transverse screen direction, electronic equipment obtains the content type of present displayed content.Display The content type of content includes picture type, video type, type of play, text type or type of webpage.

Step 303, if content type is picture type or video type or type of play, by vertical screen display pattern switching To transverse screen display mode, Current Content is shown with transverse screen display mode;

Electronic equipment switches to display pattern corresponding with content type according to content type.If content type is picture category Type or video type or type of play, then electronic equipment by vertical screen display pattern switching to transverse screen display mode, with transverse screen display Mode shows Current Content;

Display screen when due to vertical screen is shown displayed across narrow display when electronic equipment rotates, when transverse screen Screen can laterally become wider, it is therefore desirable to be in the display of picture type or video type or type of play by content type Appearance, which is laid in transverse screen in a manner of stretching, to be shown, namely shows Current Content with transverse screen display mode.As shown in Figure 3B, When electronic equipment 200 switches to transverse screen direction 212 from vertical screen direction 211, video 213 is shown with transverse screen display mode.

Step 304, it if content type is text type or type of webpage, is shown by vertical screen display pattern switching to multi-page Show mode, and is shown present displayed content as a page in the n page, n >=2.

If content type is text type or type of webpage, electronic equipment is shown by vertical screen display pattern switching to multi-page Show mode, and is shown present displayed content as a page in the n page, n >=2.

Multi-page display pattern refers to disposably shows multiple display contents on the screen;The n page can refer to electronics The browsing history page of equipment caching.As shown in Figure 3 C, electronic equipment 200 switches to transverse screen direction 212 from vertical screen direction 211 When, it, will be in display content 214, display content 215 and display when electronic equipment detects that display content 214 is text type Hold 216 to be shown in together on transverse screen screen.

Such as Fig. 3 D, this step includes again following sub-step:

304a, electronic equipment obtain with the associated other display contents of present displayed content, using other display contents as Other n-1 page is shown;

Other display contents can refer to the browsing history page of electronic equipment caching.For example, the display content in Fig. 3 C 215 and display content 216.

304b, electronic equipment highlight the page corresponding to present displayed content in the n page.

Electronic equipment shows the page corresponding to present displayed content with predetermined prominent effect, makes a reservation for prominent effect packet Include: highlighted, placed in the middle, text prompt, picture are prompted, are outlined, adding shade and add any one in dynamic special efficacy.For example, figure In 3C, present displayed content 214 is highlighted in each page with the effect of overstriking frame.

It should be added that user can trigger the entering signal into any one interface in the n page, electronics Equipment receives entering signal, into the page corresponding with entering signal;Any one in the n page is closed for that can also trigger The shutdown signal at interface, electronic equipment receive shutdown signal, close the page corresponding with shutdown signal.For example, if user clicks It shows content 214, then enters the interface of display content 214, the full screen display display content 214 in the transverse screen of electronic equipment;Again For example, closing the interface of display content 215 if user clicks the close button in display 215 upper right corner of content.

In conclusion content display method provided in this embodiment, whether cut by vertical screen direction by detection screen direction It is changed to transverse screen direction;If screen direction is switched to transverse screen direction, the content type of present displayed content is obtained;According to content Type switches to display pattern corresponding with content type;It solves when electronic equipment rotates, it is either assorted on screen It shows content, the display content on screen is shown by stretching or compressing to be laid on postrotational screen only, is shown Show that mode is single and is unable to fully the problem of utilizing source of screen;Having reached can select to show according to the content type of display content Show the effect of mode.

In addition, in such a way that multipage surface model is provided, it can be by the multi-page switching key of original design on the screen It is put into unessential level, the page can be simplified but also improves the service efficiency of the page.

Fig. 3 A illustrated embodiment is the institute on electronic equipment screen when electronic equipment is switched to transverse screen direction from vertical screen direction The case where display content shown, below one embodiment will illustrate that electronic equipment from transverse screen direction is switched to vertical screen direction When, it is specific as follows the case where the display content shown on electronic equipment screen:

Fig. 3 E is please referred to, it illustrates the method flow diagrams of content display method provided by one embodiment of the present invention.This Embodiment is mainly applied in the electronic equipment including display screen and gravity sensor with the content display method, and works as the electricity It is illustrated when sub- equipment is switched to vertical screen direction from transverse screen direction.The content display method, comprising:

Step 305, whether detection screen direction by transverse screen direction is switched to vertical screen direction;

Whether electronic equipment detection screen direction by transverse screen direction is switched to vertical screen direction.Implement shown in this step and Fig. 3 A Step 301 is similar in example, and details are not described herein again.

Step 306, if screen direction is switched to vertical screen direction, vertical screen display side is switched to by multi-page display pattern Formula, and using 1 page in the n page as display content.

If screen direction is switched to vertical screen direction, electronic equipment switches to vertical screen display side by multi-page display pattern Formula, and using 1 page in the n page as display content.User's triggering enters the entrance of any 1 page in the n page Signal, electronic equipment receive the entering signal into the corresponding page.

If showing when electronic equipment is in transverse screen direction and only showing a display content on screen, work as screen direction When being switched to vertical screen direction, which is shown on the screen with vertical screen display formula.

It should be added that in this step if the content type of display content is picture type or video type Or type of play, when screen direction is switched to vertical screen direction by electronic equipment, show content with vertical screen display mode on the screen Display.

In conclusion content display method provided in this embodiment, whether cut by transverse screen direction by detection screen direction It is changed to vertical screen direction;If screen direction is switched to vertical screen direction, vertical screen display mode is switched to by multi-page display pattern, And using 1 page in the n page as display content;When electronic equipment is switched to vertical screen direction by transverse screen direction, reach It is able to enter the effect of any one page in multipage surface model.

In a specific embodiment, specific as follows by taking the QQ browser that Tencent produces as an example:

Assuming that mobile phone QQ browser is used in user, when mobile phone is switched to transverse screen direction from vertical screen direction by the user When, mobile phone detects that screen direction is switched to transverse screen direction by vertical screen direction, and mobile phone can also detect detection user simultaneously is currently In viewing video still in browsing webpage, if user is watching video, the video namely usually said is shown with transverse screen mode Full screen display;If user is switched to multi-page display pattern in browsing webpage, can be currently clear with user by history page The page look at is simultaneously displayed on screen, and the page that user currently browses is highlighted, user can enter wherein any one The page, can also close wherein any one page, and multi-page display pattern can make full use of transverse screen resource.

The following are the device of the invention embodiments can refer to above-mentioned corresponding the details of wherein not detailed description Embodiment of the method.

Referring to FIG. 4, it illustrates the structural block diagrams of content display provided by one embodiment of the present invention.This is interior Holding display device being implemented in combination with as all or part of of electronic equipment by software, hardware or both.This is interior Holding display device may include: first detection module 420, type acquisition module 440 and mode switch module 460;

First detection module 420, for detecting whether screen direction by vertical screen direction is switched to transverse screen direction;

Type acquisition module 440, if detecting that screen direction is switched to transverse screen direction for first detection module 420, Then obtain the content type of present displayed content;

Mode switch module 460, for switching to the content class got with type acquisition module 440 according to content type The corresponding display pattern of type.

In conclusion content display provided in this embodiment, whether cut by vertical screen direction by detection screen direction It is changed to transverse screen direction;If screen direction is switched to transverse screen direction, the content type of present displayed content is obtained;According to content Type switches to display pattern corresponding with content type;It solves when electronic equipment rotates, it is either assorted on screen It shows content, the display content on screen is shown by stretching or compressing to be laid on postrotational screen only, is shown Show that mode is single and is unable to fully the problem of utilizing source of screen;Having reached can select to show according to the content type of display content Show the effect of mode.

Referring to FIG. 5, the structural block diagram of the content display provided it illustrates another embodiment of the present invention.It should Content display being implemented in combination with as all or part of of electronic equipment by software, hardware or both.It should Content display may include: first detection module 520, type acquisition module 540 and mode switch module 560;

First detection module 520, for detecting whether screen direction by vertical screen direction is switched to transverse screen direction;

Type acquisition module 540, if detecting that screen direction is switched to transverse screen direction for first detection module 520, Then obtain the content type of present displayed content;

Mode switch module 560, for switching to the content class got with type acquisition module 540 according to content type The corresponding display pattern of type.

Further, mode switch module 560, comprising: the first switch unit 561 and the second switch unit 562;

First switch unit 561, if being picture type or video type or type of play for content type, by vertical screen Display pattern switches to transverse screen display mode, shows Current Content with transverse screen display mode;

Second switch unit 562 is cut if being text type or type of webpage for content type by vertical screen display mode Multi-page display pattern is shifted to, and is shown present displayed content as a page in the n page, n >=2.

Further, the second switch unit 562, comprising: content capture unit 501 and highlight subelement 502;

Content capture unit 501, for acquisition and the associated other display contents of present displayed content, by other displays Content is shown as other n-1 page;

Subelement 502 is highlighted, for highlighting the page corresponding to present displayed content in the n page.

Further, subelement 502 is highlighted, is also used to protrude the page corresponding to present displayed content with predetermined Effect shows, predetermined prominent effect includes: that highlighted, placed in the middle, text prompt, picture prompts, are outlined plus shade and adding dynamic spy Any one in effect.

Further, content display, further includes: the second detection module 580 and content display module 590;

Second detection module 580, for detecting whether screen direction by transverse screen direction is switched to vertical screen direction;

Content display module 590, if detecting that screen direction is switched to vertical screen direction for the second detection module 580, Vertical screen display mode is then switched to by multi-page display pattern, and using 1 page in the n page as display content.

In conclusion content display provided in this embodiment, whether cut by vertical screen direction by detection screen direction It is changed to transverse screen direction;If screen direction is switched to transverse screen direction, the content type of present displayed content is obtained;According to content Type switches to display pattern corresponding with content type;It solves when electronic equipment rotates, it is either assorted on screen It shows content, the display content on screen is shown by stretching or compressing to be laid on postrotational screen only, is shown Show that mode is single and is unable to fully the problem of utilizing source of screen;Having reached can select to show according to the content type of display content Show the effect of mode.

Referring to FIG. 6, it illustrates the exemplary structure schematic diagrames of electronic equipment provided by one embodiment of the present invention.It should Electronic equipment is used for the content display method for implementing to provide in above-described embodiment, specifically:

Electronic equipment 600 may include communication unit 610, include one or more computer readable storage medium Memory 620, input unit 630, display unit 640, sensor 650, voicefrequency circuit 660, wireless communication unit 670, packet Include one or the equal components of processor 680 and power supply 690 of more than one processing core.Those skilled in the art can manage Solution, electronic devices structure shown in Fig. 6 do not constitute the restriction to electronic equipment, may include more more or fewer than illustrating Component perhaps combines certain components or different component layouts.Wherein:

Communication unit 610 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base station Downlink information receive after, transfer to one or more than one processor 680 processing;In addition, the data for being related to uplink are sent To base station.In general, communication unit 610 includes but is not limited to antenna, at least one amplifier, tuner, one or more oscillations Device, subscriber identity module (SIM) card, transceiver, coupler, LNA(Low Noise Amplifier, low-noise amplifier), Duplexer etc..In addition, communication unit 610 can also be communicated with network and other equipment by wireless communication.Wireless communication can be with Using any communication standard or agreement, including but not limited to GSM (Global System of Mobile communication, Global system for mobile communications), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), LTE (Long Term Evolution, long term evolution), Email, SMS (Short Messaging Service, short message service) etc..Memory 620 can be used for storing software program and module, than Such as, memory 620 can be used for storing the software program of acquisition voice signal, the software program for realizing keyword identification, realize The software program of continuous speech recognition and the software program etc. for realizing setting prompting item.Processor 680 is deposited by operation The software program and module in memory 620 are stored up, thereby executing functions such as various function application and data processings.Memory 620 can mainly include storing program area and storage data area, wherein storing program area can storage program area, at least one function Application program needed for energy (such as sound-playing function, image player function etc.) etc.;Storage data area can be stored according to electronics Equipment 600 uses created data (such as audio data, phone directory etc.) etc..In addition, memory 620 may include high speed Random access memory, can also include nonvolatile memory, a for example, at least disk memory, flush memory device or Other volatile solid-state parts.Correspondingly, memory 620 can also include Memory Controller, to provide processor 680 Access with input unit 630 to memory 620.

Input unit 630 can be used for receiving the number or character information of input, and generate and user setting and function Control related keyboard, operating stick, optics or trackball signal input.Specifically, input unit 630 may include touch sensitive surface 631 and other input equipments 632.Touch sensitive surface 631, also referred to as touch display screen or Trackpad collect user at it On or near touch operation (such as user using any suitable object or attachment such as finger, stylus on touch sensitive surface 631 Or the operation near touch sensitive surface 631), and corresponding attachment device is driven according to preset formula.Optionally, touch-sensitive Surface 631 may include both touch detecting apparatus and touch controller.Wherein, the touch of touch detecting apparatus detection user Orientation, and touch operation bring signal is detected, transmit a signal to touch controller;Touch controller is from touch detecting apparatus Upper reception touch information, and it is converted into contact coordinate, then give processor 680, and the life that processor 680 is sent can be received It enables and is executed.Furthermore, it is possible to be realized using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves touch-sensitive Surface 631.In addition to touch sensitive surface 631, input unit 630 can also include other input equipments 632.Specifically, other are inputted Equipment 632 can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, behaviour Make one of bar etc. or a variety of.

Display unit 640 can be used for showing information input by user or the information and electronic equipment that are supplied to user 600 various graphical user interface, these graphical user interface can by figure, text, icon, video and any combination thereof Lai It constitutes.Display unit 640 may include display panel 641, optionally, can using LCD (Liquid Crystal Display, Liquid crystal display), the forms such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) configure display Panel 641.Further, touch sensitive surface 631 can be covered on display panel 641, when touch sensitive surface 631 detects on it Or after neighbouring touch operation, processor 680 is sent to determine the type of touch event, is followed by subsequent processing device 680 according to touch The type of event provides corresponding visual output on display panel 641.Although in Fig. 6, touch sensitive surface 631 and display panel 641 be to realize input and input function as two independent components, but in some embodiments it is possible to by touch sensitive surface 631 integrate with display panel 641 and realize and output and input function.

Electronic equipment 600 may also include at least one sensor 650, for example, optical sensor, motion sensor and other Sensor.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can basis The light and shade of ambient light adjusts the brightness of display panel 641, proximity sensor can when electronic equipment 600 is moved in one's ear, Close display panel 641 and/or backlight.As a kind of motion sensor, gravity accelerometer can detect all directions The size of upper (generally three axis) acceleration, can detect that size and the direction of gravity, can be used to identify mobile phone posture when static Application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (for example pedometer, strikes Hit) etc.;Gyroscope, barometer, hygrometer, thermometer, infrared sensor for can also configure as electronic equipment 600 etc. other Sensor, details are not described herein.Gravity sensor can be used for " whether detection screen direction by vertical screen direction is switched to transverse screen side To ", " detection screen direction whether by transverse screen direction be switched to vertical screen direction ".

Voicefrequency circuit 660, loudspeaker 661, microphone 662 can provide the audio interface between user and electronic equipment 600. Electric signal after the audio data received conversion can be transferred to loudspeaker 661, be converted by loudspeaker 661 by voicefrequency circuit 660 For voice signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 662, is connect by voicefrequency circuit 660 Audio data is converted to after receipts, then by after the processing of audio data output processor 680, is sent to through communication unit 610 another Electronic equipment, or audio data is exported to memory 620 to be further processed.Voicefrequency circuit 660 is also possible that ear Tip jack, to provide the communication of peripheral hardware earphone Yu electronic equipment 600.

Wireless communication unit 670 can be WIFI(wireless fidelity, Wireless Fidelity) module or bluetooth module Deng.Unit 670 can help user to send and receive e-mail, browse webpage and access streaming electronic equipment 600 by wireless communication Media etc., it provides wireless broadband internet access for user.Although Fig. 6 shows wireless communication unit 670, can With understanding, and it is not belonging to must be configured into for electronic equipment 600, is can according to need completely in the essence for not changing invention In the range of and omit.

Processor 680 is the control centre of electronic equipment 600, utilizes various interfaces and the entire electronic equipment of connection Various pieces by running or execute the software program and/or module that are stored in memory 620, and are called and are stored in Data in reservoir 620 execute the various functions and processing data of electronic equipment 600, to carry out whole prison to electronic equipment Control.Optionally, processor 680 may include one or more processing cores;Optionally, processor 680 can integrate application processor And modem processor, wherein the main processing operation system of application processor, user interface and application program etc., modulatedemodulate Processor is adjusted mainly to handle wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor In 680.

Electronic equipment 600 further includes the power supply 690 powered to all parts, and optionally, power supply can pass through power management System and processor 680 are logically contiguous, to realize management charging, electric discharge and power managed etc. by power-supply management system Function.Power supply 690 can be as above to state any one power supply provided in embodiment.

Although being not shown, electronic equipment 600 can also be including bluetooth module etc., and details are not described herein.

Electronic equipment 600 further includes having perhaps one of them or one of more than one program of memory and one Procedure above is stored in memory, and is configured to execute above-mentioned Fig. 2 to Fig. 3 E institute by one or more than one processor Show content display method described in any embodiment.

In addition, being also implemented as the computer program executed by CPU, the computer program according to the method for the present invention It may be stored in a computer readable storage medium.When the computer program is executed by CPU, executes and limited in method of the invention Fixed above-mentioned function.

The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.

Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..

The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.

Claims (7)

1. a kind of content display method, which is characterized in that the described method includes:
Whether detection screen direction by vertical screen direction is switched to transverse screen direction;
If the screen direction is switched to the transverse screen direction, the content type of present displayed content is obtained;
If the content type is picture type or video type or type of play, shown by vertical screen display pattern switching to transverse screen Show mode, the Current Content is shown with the transverse screen display mode;
If the content type is text type or type of webpage, mould is shown by the vertical screen display pattern switching to multi-page Formula, and shown the present displayed content as a page in the n page, n >=2;
When receiving entering signal of the user for any one page in the n page, enter letter into described Number corresponding page, and it is displayed in full screen in transverse screen the display content of the page of entrance;
When receiving shutdown signal of the user for any one page in the n page, closes and believe with the closing Number corresponding page;
Wherein, described by the vertical screen display pattern switching to multi-page display pattern, and using the present displayed content as One of page is shown, comprising:
Acquisition and the associated other display contents of the present displayed content, using other display contents as other n-1 The page is shown;
The page corresponding to the present displayed content is highlighted in the n page.
2. the method according to claim 1, wherein described exist the page corresponding to the present displayed content It is highlighted in the n page, comprising:
The page corresponding to the present displayed content is shown that the predetermined prominent effect includes: height with predetermined prominent effect Bright, placed in the middle, text prompt, picture are prompted, are outlined, adding shade and add any one in dynamic special efficacy.
3. method according to claim 1 or 2, which is characterized in that described by the vertical screen display pattern switching to multipage Face display pattern, and after the present displayed content is shown as a page in the n page, further includes:
Detect whether the screen direction by the transverse screen direction is switched to the vertical screen direction;
If the screen direction is switched to the vertical screen direction, the vertical screen is switched to by the multi-page display pattern and is shown Show mode, and using 1 page in the n page as display content.
4. a kind of content display, which is characterized in that described device includes:
First detection module, for detecting whether screen direction by vertical screen direction is switched to transverse screen direction;
Type acquisition module obtains present displayed content if being switched to the transverse screen direction for the screen direction Content type;
Mode switch module, for switching to display pattern corresponding with the content type according to the content type;
Wherein, the mode switch module, comprising: the first switch unit and the second switch unit;
First switch unit, if being picture type or video type or type of play for the content type, by erecting Screen display pattern switching shows the Current Content to transverse screen display mode with the transverse screen display mode;
Second switch unit, if being text type or type of webpage for the content type, by the vertical screen display Pattern switching shows the present displayed content as a page in the n page to multi-page display pattern, n >= 2;
Wherein, second switch unit, comprising: content capture unit and highlight subelement;
The content capture unit, for obtain with the associated other display contents of the present displayed content, will it is described its It shows that content is shown as other n-1 page;
It is described to highlight subelement, for the page corresponding to the present displayed content is prominent in the n page Display;
Described device is also used to, when receiving entering signal of the user for any one page in the n page, into Enter the page corresponding with the entering signal, and is displayed in full screen in transverse screen the display content of the page of entrance;When receiving use When family is directed to the shutdown signal of any one page in the n page, the page corresponding with the shutdown signal is closed.
5. device according to claim 4, which is characterized in that described to highlight subelement, being also used to will be described current The page corresponding to display content shows with predetermined prominent effect, the predetermined prominent effect include: it is highlighted, placed in the middle, text mentions Show, picture is prompted, is outlined, add shade and adds any one in dynamic special efficacy.
6. device according to claim 4 or 5, which is characterized in that described device, further includes: the second detection module and interior Hold display module;
Second detection module, for detecting whether the screen direction by the transverse screen direction is switched to the vertical screen side To;
The content display module is shown if being switched to the vertical screen direction for the screen direction by the multi-page Show pattern switching to the vertical screen display mode, and using 1 page in the n page as display content.
7. a kind of computer readable storage medium, which is characterized in that be stored with computer program, the meter in the storage medium The step of claim 1-3 any the method is realized when calculation machine program is executed by processor.
CN201410132076.XA 2014-04-02 2014-04-02 Content display method and device CN104978115B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410132076.XA CN104978115B (en) 2014-04-02 2014-04-02 Content display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410132076.XA CN104978115B (en) 2014-04-02 2014-04-02 Content display method and device

Publications (2)

Publication Number Publication Date
CN104978115A CN104978115A (en) 2015-10-14
CN104978115B true CN104978115B (en) 2019-09-20

Family

ID=54274671

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410132076.XA CN104978115B (en) 2014-04-02 2014-04-02 Content display method and device

Country Status (1)

Country Link
CN (1) CN104978115B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105487797B (en) * 2015-11-25 2019-02-05 Oppo广东移动通信有限公司 A kind of control method and terminal device of screen display mode
JP2019511029A (en) * 2016-01-15 2019-04-18 華為技術有限公司Huawei Technologies Co.,Ltd. Display method and terminal
CN105657178A (en) * 2016-02-19 2016-06-08 珠海市魅族科技有限公司 Method and mobile terminal for displaying weather information
CN105979342B (en) * 2016-06-24 2018-01-02 武汉斗鱼网络科技有限公司 A kind of live switching method of webcast website's transverse screen portrait layout and system
CN106547456A (en) * 2016-10-27 2017-03-29 北京小米移动软件有限公司 Terminal unit screen rotation method and device
CN108076348A (en) * 2016-11-10 2018-05-25 阿里巴巴集团控股有限公司 Video playing control method and device
CN106649207A (en) * 2016-11-26 2017-05-10 深圳市金立通信设备有限公司 Displaying control method and terminal device
CN106851169A (en) * 2017-03-14 2017-06-13 微鲸科技有限公司 Display mode switching method, device and display device
CN107295251B (en) * 2017-06-09 2018-09-25 腾讯科技(深圳)有限公司 Image processing method, device, terminal and storage medium
CN107908324A (en) * 2017-11-14 2018-04-13 优酷网络技术(北京)有限公司 Method for showing interface and device
CN108040179A (en) * 2017-12-25 2018-05-15 广东欧珀移动通信有限公司 Screen switching and Related product
CN108234763A (en) * 2017-12-29 2018-06-29 广州优视网络科技有限公司 Horizontal/vertical screen switching method, device and terminal
CN109117241B (en) * 2018-09-27 2020-08-21 Oppo广东移动通信有限公司 Display direction control method, system and mobile terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102760027A (en) * 2011-04-27 2012-10-31 联想(北京)有限公司 Display processing method and device as well as electronic equipment
EP2626772A1 (en) * 2012-02-07 2013-08-14 LG Electronics, Inc. Mobile terminal and method of controlling the mobile terminal
CN103336646A (en) * 2012-02-24 2013-10-02 三星电子株式会社 Method and apparatus for content view display in a mobile device
EP2687968A2 (en) * 2012-07-20 2014-01-22 BlackBerry Limited A handheld device with ergonomic display features

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102760027A (en) * 2011-04-27 2012-10-31 联想(北京)有限公司 Display processing method and device as well as electronic equipment
EP2626772A1 (en) * 2012-02-07 2013-08-14 LG Electronics, Inc. Mobile terminal and method of controlling the mobile terminal
CN103336646A (en) * 2012-02-24 2013-10-02 三星电子株式会社 Method and apparatus for content view display in a mobile device
EP2687968A2 (en) * 2012-07-20 2014-01-22 BlackBerry Limited A handheld device with ergonomic display features

Also Published As

Publication number Publication date
CN104978115A (en) 2015-10-14

Similar Documents

Publication Publication Date Title
AU2018200188B2 (en) Side menu displaying method and apparatus and terminal
CN103632165B (en) A kind of method of image procossing, device and terminal device
CN103500002B (en) The method of application program management, device and terminal unit
CN103473494B (en) A kind of run the method for application, device and terminal unit
US20170078561A1 (en) Method for controlling cameras, storage medium and terminal
JP5931298B2 (en) Virtual keyboard display method, apparatus, terminal, program, and recording medium
US20200177726A1 (en) Method for switching applications in split screen mode, computer device and computer-readable storage medium
CN103472906A (en) Method and device for switching double screens of terminal, and terminal equipment
CN103500079A (en) Notification message display method and device and electronic equipment
CN103617165A (en) Picture loading method, device and terminal
CN104243671B (en) Volume adjusting method, device and electronic equipment
CN103854298A (en) Method for integrating pictures with two-dimension codes and terminal
CN103501485B (en) Push the method, apparatus and terminal device of application
CN104571838B (en) A kind of quick method and apparatus for starting application program
CN103455256A (en) Method and terminal for rotating display picture of screen
CN104618217B (en) Share method, terminal, server and the system of resource
CN103399633B (en) A kind of wireless remote control method and mobile terminal
US10269163B2 (en) Method and apparatus for switching real-time image in instant messaging
CN105243638B (en) A kind of method and apparatus uploading image
CN104298436B (en) A kind of quickly revert operating method and terminal
CN103258163B (en) A kind of script virus recognition methods, Apparatus and system
CN103455582A (en) Display method of navigation page of browser and mobile terminal
CN103455603B (en) Web page contents caching, webpage loading method, device and terminal unit
WO2014206143A1 (en) Method, apparatus and device for displaying number of unread messages
CN104238918B (en) List View component slippage display methods and device

Legal Events

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