CN106354458A - Double-screen display method and device - Google Patents
Double-screen display method and device Download PDFInfo
- Publication number
- CN106354458A CN106354458A CN201610735856.2A CN201610735856A CN106354458A CN 106354458 A CN106354458 A CN 106354458A CN 201610735856 A CN201610735856 A CN 201610735856A CN 106354458 A CN106354458 A CN 106354458A
- Authority
- CN
- China
- Prior art keywords
- screen
- display screen
- display
- terminal
- double
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1423—Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
Abstract
The invention discloses a double-screen display method and a double-screen display device. The double-screen display method comprises the steps of detecting whether terminals support double-screen display or not, wherein double screens comprise a main display screen and a subsidiary display screen; if so, generating HDMI (High-Definition Multimedia Interface) equipment adding events; according to the HDMI equipment adding events, taking the subsidiary display screen as HDMI equipment for initialization; after initializing the subsidiary display screen, conducting double-screen display. By the method and the device, a problem that the double-screen display method has huge development work and relatively weak compatibility in a prior art is solved, and the subsidiary display screen can be simulated into the HDMI equipment and displayed by an original HDMI display mechanism in an operating system, and thus the display mechanism of the subsidiary display screen is not again developed and has no compatibility.
Description
Technical field
The present embodiments relate to display technology field, particularly to a kind of double-screen display method and device.
Background technology
Shuangping san refers to: passes through the technology that main display and secondary display screen show simultaneously on an electronic device.android
The primary display mechanism of operating system generally only supports the display of a display screen, namely the display of main display.
The method realizing shuangping san in prior art, comprising: in android operating system, using primary display machine
System realizes the display of main display;Then the secondary screen display mechanism similar with primary display mechanism passing through again to develop is realized secondary
The display of display screen.This pair screen display mechanism includes the equipment set relevant interface from bsp driver to application layer.
During realizing the embodiment of the present invention, find prior art at least there is problems in that
The development redesigning completely required for a set of secondary screen display mechanism is very huge, and this secondary screen display
Show that mechanism cannot be completely compatible with primary display mechanism, various compatibility issues during use, occur.Such as, cut in display
Under carry over scape, the display picture of main display and secondary display screen is unable to Complete Synchronization.
Content of the invention
Development in order to solve the problems, such as double-screen display method of the prior art is huge and compatible poor, this
Bright embodiment provides a kind of double-screen display method and device.Described technical scheme is as follows:
According to embodiments of the present invention in a first aspect, providing a kind of double-screen display method, methods described includes:
Whether detection terminal has double-display screen, and described double-display screen includes main display and secondary display screen;
If described terminal has described double-display screen, generate HDMI hdmi equipment and add event;
Event is added according to described hdmi equipment, described pair display screen is initialized as described hdmi equipment;
Carry out shuangping san after described pair display screen initializes and finishes.
Second aspect according to embodiments of the present invention, provides a kind of double display unit, and described device includes:
Whether terminal detection module, have double-display screen for detection terminal, described double-display screen include main display and
Secondary display screen;
Event generation module, if having described double-display screen for described terminal, generates HDMI
Hdmi equipment adds event;
Initial setup module, for adding event according to described hdmi equipment, using described pair display screen as described hdmi
Equipment is initialized;
Double-screen display module, for carrying out shuangping san after described pair display screen initializes and finishes.
Technical scheme provided in an embodiment of the present invention has the benefit that
Carry out equipment interpolation by secondary display screen is modeled to hdmi equipment so that secondary display screen is identified as by operating system
One common hdmi equipment is realizing shuangping san;The development solving double-screen display method of the prior art is huge
And the poor problem of compatibility;Reach and secondary display screen has been modeled to hdmi equipment, shown using primary hdmi in operating system
Show mechanism to realize the display of secondary screen, from without again developing secondary screen display mechanism, less there is the effect of compatibility issue
Really.
It should be appreciated that above general description and detailed description hereinafter are only illustrative, can not be limited this
Invention.
Brief description
Fig. 1 is the flow chart of the double-screen display method that one embodiment of the invention provides;
Fig. 2 is the flow chart of the double-screen display method that another embodiment of the present invention provides;
Fig. 3 is the configuration diagram of the software and hardware of android equipment that one embodiment of the invention provides;
Fig. 4 is the flow chart of the double-screen display method that further embodiment of the present invention provides;
Fig. 5 is the block diagram of the double display unit that one embodiment of the invention provides;
Fig. 6 is the block diagram of the double display unit that another embodiment of the present invention provides;
Fig. 7 is the block diagram of the double display unit that further embodiment of the present invention provides;
Fig. 8 is the block diagram of the terminal that one embodiment of the invention provides.
Specific embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention
Formula is described in further detail.
In the embodiment of the present invention provide double-screen display method can apply in the terminal, terminal be mobile phone, panel computer,
(moving picture experts group audio layer iii, dynamic image expert presses for E-book reader, mp3
Contracting standard audio aspect 3) player, mp4 (moving picture experts group audio layer iv, dynamic shadow
As expert's compression standard audio frequency aspect 4) player, pocket computer on knee and desk computer etc..
Alternatively, this terminal is provided with main display and secondary display screen, and secondary display screen is one or more.Optional
Ground, the operating system in this terminal supports hdmi, and (high definition multimedia interface, fine definition is many
Media interface) equipment display mechanism.Such as, this operating system be android (ARIXTRA) system, Linux system, unix (outstanding
Nice) system etc..
Refer to Fig. 1, the flow chart that the double-screen display method of one embodiment of the invention offer is provided.The present embodiment
It is applied to illustrate in terminal with this double-screen display method.This double-screen display method, comprising:
Step 101, whether detection terminal has double-display screen.
Alternatively, double-display screen includes main display and secondary display screen.
Step 102, if terminal has double-display screen, generates hdmi equipment and adds event.
Step 103, adds event according to hdmi equipment, secondary display screen is initialized as hdmi equipment.
Step 104, carries out shuangping san after the initialization of secondary display screen finishes.
In sum, the double-screen display method that the present embodiment provides, is carried out by secondary display screen is modeled to hdmi equipment
Equipment adds so that secondary display screen is identified as a common hdmi equipment to realize shuangping san by operating system;Solve
The huge and compatible poor problem of the development of double-screen display method of the prior art;Reach and secondary display screen has been simulated
Become hdmi equipment, realize the display of secondary screen using primary hdmi display mechanism in operating system, from without again opening
Send out secondary screen display mechanism, less there is the effect of compatibility issue.
Refer to Fig. 2, the flow chart of the double-screen display method that another embodiment of the present invention provides.The embodiment of the present invention with
This double-screen display method is applied to illustrate in terminal.This double-screen display method, comprising:
Whether step 201, have double-display screen by bsp driver detection terminal.
Alternatively, double-display screen includes main display and secondary display screen.When double-display screen is had on terminal, main display
It is arranged on the front of terminal, secondary display screen is arranged on the back side of terminal;Or, main display and secondary display screen are arranged on terminal
Same surface, the embodiment of the present invention is not limited to this.
Bsp driver has the ability of the hardware parameter of reading terminals.After starting up of terminal, by bottom layer driving journey
Whether sequence detection terminal has double-display screen.
If terminal has double-display screen, enter step 202;If terminal has single display screen, according to conventional display
Mode carries out single screen and shows.
Step 202, if terminal has double-display screen, generates hdmi equipment by bsp driver and adds event.
Alternatively, hdmi equipment adds the screen parameter that event carries secondary display screen.
Alternatively, the screen parameter of secondary display screen includes: equipment id (identity, identity), screen size, screen
At least one in resolution and screen material.
Schematically, when terminal has double-display screen, terminal generates a hdmi equipment by bsp driver and adds
Plus event, this hdmi equipment adds event and carries equipment id, screen size, screen resolution and the screen material of secondary display screen
In at least one screen parameter.
It should be noted that secondary display screen is not connected with the mainboard of terminal using hdmi hardware interface, alternatively, secondary aobvious
Display screen uses flexible PCB or interface circuit to be connected with the mainboard of terminal.Alternatively, secondary display screen is connected with the mainboard of terminal
Mode, the mode being connected with the mainboard of terminal with main display is identical.
Step 203, obtains the screen parameter of secondary display screen from hdmi equipment interpolation event.
Schematically, the other program layers in terminal obtain the screen ginseng of secondary display screen from hdmi equipment interpolation event
Number.
Step 204, the screen parameter of secondary display screen is initialized as the device parameter of hdmi equipment.
Schematically, the other program layers in terminal, according to internal hdmi display mechanism, the screen of secondary display screen are joined
Number is initialized as the device parameter of hdmi equipment.Secondary display screen after initialization is considered as one in each program layer
Individual common hdmi equipment.
Step 205, carries out shuangping san after the initialization of secondary display screen finishes.
After initialization finishes, secondary display screen is carried out by each program layer in terminal as a common hdmi equipment
Display.The secondary screen display content of this secondary display screen is identical with the main screen display content of main display, or, the pair of this secondary display screen
Screen display content is different from the main screen display content of main display.
In sum, the double-screen display method that the present embodiment provides, is carried out by secondary display screen is modeled to hdmi equipment
Equipment adds so that secondary display screen is identified as a common hdmi equipment to realize shuangping san by operating system;Solve
The huge and compatible poor problem of the development of double-screen display method of the prior art;Reach and secondary display screen has been simulated
Become hdmi equipment, realize the display of secondary screen using primary hdmi display mechanism in operating system, from without again opening
Send out secondary screen display mechanism, less there is the effect of compatibility issue.
Alternatively, the terminal in above-mentioned Fig. 1 and Fig. 2 embodiment is to run the terminal having android operating system.In order to just
In description, first the software and hardware architecture running the terminal having android operating system is schematically illustrated.As shown in figure 3,
According to basipetal order, include successively in terminal: application layer 301, framework layer 302, surfaceflinger 303
Layer, hal layer 304, bsp driver 305 and hardware layer 306.
Application layer 301 is the layer at the application program place of android operating system.Various application programs all operate in this
Layer, such as: multipad, wallpaper application program, status bar application program, clock application program etc..
Framework layer 302 is used for providing the service of system level.Such as: power management, message queue, assure reason etc..
Framework layer 302 is additionally operable to provide hardware capability calling interface to application layer 301.
Surfaceflinger layer 303 is the serve end program of graphic display system.Surfaceflinger layer 303 is used for
The show layers that different application is provided merges into final display content.Such as, figure multipad being provided
The status bar that mark, the wallpaper of wallpaper application program offer, state application provide, according to predetermined map overlay order, generates
Final display content on a display screen.Wherein, the figure layer positioned at upper strata can cover the figure layer positioned at lower floor.
Specific hardware layer 306 is being taken out by hal (hardware abstraction layer, hardware abstraction layer) layer 304
As a hardware interface layer out, this hardware interface layer is responsible for realizing function and the control of specific hardware layer 306, simultaneously
Be surfaceflinger layer 303 above again and framework layer 302 provides unified api (application
Programming interface, application programming interface) interface.
Bsp driver 305 is the program entering row data communication with the hardware in hardware layer 306.Bsp driver
305 have the ability obtaining the hardware parameter in hardware layer 306, and such as, bsp driver 304 has the screen reading display screen
The ability of curtain parameter.
Hardware layer 306 includes: the hardware such as networking component, wireless communication components, external memory storage, display screen, display chip.
In the present embodiment, main display 32 and secondary display screen 34 are included with hardware layer 306.
Refer to Fig. 4, the flow chart that it illustrates the double-screen display method that further embodiment of the present invention provides.The present invention
Embodiment is applied to the operation shown in Fig. 3 with this double-screen display method to be had to illustrate in the terminal of android operating system.
This double-screen display method includes:
Step 401, by display screen attribute from surfaceflinger layer to bsp driver inquiry terminal.
Bsp driver has the ability of the display screen attribute reading display screen.
After starting up of terminal, surfaceflinger layer is to the display screen attribute of bsp driver inquiry terminal.
Step 402, by display screen attribute from bsp driver to surfaceflinger layer feedback terminal.
Bsp driver reads the display screen attribute of display screen, and the display to surfaceflinger layer feedback terminal
Screen attribute.
Alternatively, this display screen attribute is to have the equipment of single display screen for instruction terminal, still has double-display screen
Equipment.
Step 403, if display screen attribute is to have main display and secondary display screen, by surfcaeflinger simultaneously
Layer writes predetermined value to flag node.
Because the program layer on bsp driver cannot directly read the display screen attribute of display screen, thus logical
Cross flag node and indicate display screen attribute to each program layer.
Alternatively, flag node is used for indicating that this terminal has single display screen to the distinct program layer in terminal, or double
Display screen.This flag node is the storage file of a specified location, or the flag in a specified file.Alternatively,
This flag node has two kinds of values: 1 or 0.Wherein, when the value of flag node is 1, GC group connector has double-display screen;Mark
When the value of note node is 0, GC group connector has single display screen.
If 1 is predetermined value, then the flag node with predetermined value is used for indicating this terminal to the distinct program layer in terminal
There is double-display screen.Certainly, the value of predetermined value is not necessarily 1, and the present embodiment is not added with following fixed to this.
If display screen attribute is to have main display and secondary display screen, by surfcaeflinger layer to labelling simultaneously
Node writes predetermined value 1.If display screen attribute is only to have main display, shown according to conventional flow for displaying.
Step 404, generates hdmi equipment by bsp driver and adds event.
After flag node is written into predetermined value, the value that bsp driver can read this flag node is predetermined
Value.Bsp driver generates hdmi equipment and adds event.
Alternatively, hdmi equipment adds the screen parameter that event carries secondary display screen.
Alternatively, the screen parameter of secondary display screen includes: in equipment id, screen size, screen resolution and screen material
At least one.
Schematically, when terminal has double-display screen, terminal generates a hdmi equipment by bsp driver and adds
Plus event, this hdmi equipment adds event and carries equipment id, screen size, screen resolution and the screen material of secondary display screen
In at least one screen parameter.
It should be noted that when outside hdmi equipment insertion terminal, also can generate hdmi equipment and add event, but should
Carry in hdmi equipment interpolation event is the device parameter of outside hdmi equipment.Will be secondary aobvious by bsp driver in this step
The screen parameter of display screen is modeled as the device parameter of hdmi equipment, and simulation generates a hdmi equipment and adds event.
Step 405, obtains the screen parameter of secondary display screen from hdmi equipment interpolation event.
Schematically, the other program layers in terminal obtain the screen ginseng of secondary display screen from hdmi equipment interpolation event
Number.
The screen parameter of secondary display screen is carried out initially as the device parameter of hdmi equipment by step 406 by hal layer
Change.
Hal layer, when receiving hdmi equipment interpolation event, obtains the device parameter of hdmi equipment from hdmi mechanical floor, leads to
Cross the device parameter execution initialization flow process of this hdmi equipment.
Due to carry in hdmi equipment interpolation event be secondary display screen screen parameter, so hal layer is by secondary display screen
Screen parameter initialized as the device parameter of hdmi equipment.
It should be noted that this initialization procedure adopts the hdmi equipment initialization machine of primary offer in Android system
System.This initialization procedure is directed not only to hal layer, also can be related to surfaceflinger layer, framework layer and application layer.
Also, it should be noted in the initialization procedure of secondary display screen, main display also can execute initialization procedure, main
The initialization procedure of display screen is the existing flow process in Android system, and the present embodiment repeats no more to this.
Step 407, after the initialization of secondary display screen finishes, exports secondary screen display by presentation class to secondary display screen
Show content, secondary screen display content is identical or different with the main screen display content of main display.
After main display and secondary display screen initialization finish, master is exported to main display by surfcaeflinger layer
Screen display content, to secondary display screen output secondary screen display content.
Alternatively, surfcaeflinger layer passes through presentation class to secondary display screen output secondary screen display content.
When realizing double screen with display function, secondary screen display content is identical with the main screen display content of main display;Work as realization
During two separate display function, secondary screen display content is different from the main screen display content of main display.
In sum, the double-screen display method that the present embodiment provides, is carried out by secondary display screen is modeled to hdmi equipment
Equipment adds so that secondary display screen is identified as a common hdmi equipment to realize shuangping san by operating system;Solve
The huge and compatible poor problem of the development of double-screen display method of the prior art;Reach and secondary display screen has been simulated
Become hdmi equipment, realize the display of secondary screen using primary hdmi display mechanism in operating system, from without again opening
Send out secondary screen display mechanism, less there is the effect of compatibility issue.
The double-screen display method that the present embodiment provides, also by setting the value of flag node so that in android equipment
Each program layer can obtain the display screen attribute of terminal, and then realize secondary display screen is modeled as the function of hdmi equipment.
Following for apparatus of the present invention embodiment, can be used for executing the inventive method embodiment.Real for apparatus of the present invention
Apply the details not disclosed in example, refer to the inventive method embodiment.
Refer to Fig. 5, it illustrates the block diagram of the double display unit that one embodiment of invention provides.This double screen
Display device can pass through special hardware circuit, or, being implemented in combination in of software and hardware becomes all or part of of server.
The embodiment of the present invention is applied to illustrate in terminal with this double display unit.This double display unit, comprising:
Whether terminal detection module 501, have double-display screen for detection terminal.
Event generation module 502, if having double-display screen for terminal, generating hdmi equipment and adding event.
Initial setup module 503, for adding event according to hdmi equipment, secondary display screen is carried out just as hdmi equipment
Beginningization.
Double-screen display module 504, for carrying out shuangping san after the initialization of secondary display screen finishes.
In sum, the double display unit that the present embodiment provides, is carried out by secondary display screen is modeled to hdmi equipment
Equipment adds so that secondary display screen is identified as a common hdmi equipment to realize shuangping san by operating system;Solve
The huge and compatible poor problem of the development of double-screen display method of the prior art;Reach and secondary display screen has been simulated
Become hdmi equipment, realize the display of secondary screen using primary hdmi display mechanism in operating system, from without again opening
Send out secondary screen display mechanism, less there is the effect of compatibility issue.
Refer to Fig. 6, it illustrates the block diagram inventing the double display unit that another embodiment provides.This pair
Screen display device can pass through special hardware circuit, or, being implemented in combination in of software and hardware becomes the whole of server or one
Point.The embodiment of the present invention is applied to illustrate in terminal with this double display unit, and the present embodiment is with this shuangping san
Device is applied to the framework of the software and hardware of android equipment shown in Fig. 3 to illustrate.This double display unit, comprising:
Whether terminal detection module 601, for having double-display screen by bsp driver detection terminal.
Event generation module 602, if having double-display screen for terminal, generates hdmi equipment by bsp driver
Interpolation event.
Initial setup module 603, for adding event according to hdmi equipment, secondary display screen is carried out just as hdmi equipment
Beginningization.
Alternatively, initial setup module 603 includes parameter acquiring unit 6031 and initial setting up unit 6032.
Parameter acquiring unit 6031, for obtaining the screen parameter of secondary display screen from hdmi equipment interpolation event.
Initial setting up unit 6032, for carrying out just the screen parameter of secondary display screen as the device parameter of hdmi equipment
Beginningization.
Double-screen display module 604, for carrying out shuangping san after the initialization of secondary display screen finishes.
In sum, the double display unit that the present embodiment provides, is carried out by secondary display screen is modeled to hdmi equipment
Equipment adds so that secondary display screen is identified as a common hdmi equipment to realize shuangping san by operating system;Solve
The huge and compatible poor problem of the development of double-screen display method of the prior art;Reach and secondary display screen has been simulated
Become hdmi equipment, realize the display of secondary screen using primary hdmi display mechanism in operating system, from without again opening
Send out secondary screen display mechanism, less there is the effect of compatibility issue.
Refer to Fig. 7, the block diagram of the double display unit of invention further embodiment offer is provided.This pair
Screen display device can pass through special hardware circuit, or, being implemented in combination in of software and hardware becomes the whole of server or one
Point.The embodiment of the present invention is applied to illustrate in terminal with this double display unit, and the present embodiment is with this shuangping san
Device is applied to the framework of the software and hardware of android equipment shown in Fig. 3 to illustrate.This double display unit, comprising:
Whether terminal detection module 701, for having double-display screen by bsp driver detection terminal.
Alternatively, terminal detection module 701 includes attribute enquiry unit 7011, attribute feedback unit 7012 and node write
Unit 7013.
Attribute enquiry unit 7011, for by display from surfaceflinger layer to bsp driver inquiry terminal
Screen attribute.
Attribute feedback unit 7012, for by display from bsp driver to surfaceflinger layer feedback terminal
Screen attribute;
Node writing unit 7013, if be that there is main display and secondary display screen simultaneously for display screen attribute,
Surfcaeflinger layer writes predetermined value to flag node;Otherwise process according to single device and shown.
Alternatively, wherein, the flag node with predetermined value is used for the distinct program layer instruction terminal in android terminal
Support shuangping san.
Event generation module 702, if having double-display screen for terminal, generates hdmi equipment by bsp driver
Interpolation event.
Initial setup module 703, for obtaining the screen parameter of secondary display screen from hdmi equipment interpolation event.
Alternatively, Initialize installation module 703 includes parameter acquiring unit 7031 and initial setting up unit 7032.
Parameter acquiring unit 7031, for obtaining the screen parameter of secondary display screen from hdmi equipment interpolation event.
Initial setting up unit 7032, for by hal layer using the screen parameter of secondary display screen as hdmi equipment equipment
Parameter is initialized.
Double-screen display module 704, for by presentation class, to secondary display screen output secondary screen display content, pair is shielded
Display content is identical or different with the main screen display content of main display.
In sum, the double display unit that the present embodiment provides, is carried out by secondary display screen is modeled to hdmi equipment
Equipment adds so that secondary display screen is identified as a common hdmi equipment to realize shuangping san by operating system;Solve
The huge and compatible poor problem of the development of double-screen display method of the prior art;Reach and secondary display screen has been simulated
Become hdmi equipment, realize the display of secondary screen using primary hdmi display mechanism in operating system, from without again opening
Send out secondary screen display mechanism, less there is the effect of compatibility issue.
The double display unit that the present embodiment provides, also by setting the value of flag node so that in android equipment
Each program layer can obtain the display screen attribute of terminal, and then realize secondary display screen is modeled as the function of hdmi equipment.
The present embodiment is with this terminal applies in the double-screen display method in Fig. 1 or Fig. 2 or Fig. 4.
Fig. 8 it illustrates one embodiment of the invention offer terminal 800 block diagram, this terminal can include radio frequency (rf,
Radio frequency) circuit 801, include the memorizer 802 of one or more computer-readable recording mediums, defeated
Enter unit 803, display unit 804, sensor 805, voicefrequency circuit 806, Wireless Fidelity (wifi, wireless fidelity)
The parts such as module 807, the processor 808 including or more than one processing core and power supply 808.This area skill
Art personnel are appreciated that the restriction of the not structure paired terminal of the terminal structure shown in Fig. 8, can include more more than illustrating or more
Few part, or combine some parts, or different part arrangements.Wherein:
Rf circuit 801 can be used for receiving and sending messages or communication process in, the reception of signal and transmission, especially, by base station
After downlink information receives, transfer to one or more than one processor 808 is processed;In addition, by be related to up data is activation to
Base station.Generally, rf circuit 801 includes but is not limited to antenna, at least one amplifier, tuner, one or more agitator, use
Family identity module (sim, subscriber identity module) card, transceiver, bonder, low-noise amplifier
(lna, low noise amplifier), duplexer etc..Additionally, rf circuit 801 can also by radio communication and network and its
His equipment communication.Described radio communication can use arbitrary communication standard or agreement, including but not limited to global system for mobile telecommunications system
System (gsm, global system of mobile communication), general packet radio service (gprs, general
Packet radio service), CDMA (cdma, code division multiple access), wideband code division many
Location (wcdma, wideband code division multiple access), Long Term Evolution (lte, long term
Evolution), Email, Short Message Service (sms, short messaging service) etc..
Memorizer 802 can be used for storing software program and module, and processor 808 is stored in memorizer 802 by operation
Software program and module, thus executing various function application and data processing.Memorizer 802 can mainly include storing journey
Sequence area and storage data field, wherein, storing program area can (compare the application program needed for storage program area, at least one function
As sound-playing function, image player function etc.) etc.;Storage data field can store according to terminal using the data being created
(such as voice data, phone directory etc.) etc..Additionally, memorizer 802 can include high-speed random access memory, can also include
Nonvolatile memory, for example, at least one disk memory, flush memory device or other volatile solid-state parts.Phase
Ying Di, memorizer 802 can also include Memory Controller, to provide processor 808 and input block 803 to memorizer 802
Access.
Input block 803 can be used for numeral or the character information of receives input, and produces and user setup and function
Control relevant keyboard, mouse, action bars, optics or trace ball signal input.Specifically, in a specific embodiment
In, input block 803 may include Touch sensitive surface and other input equipments.Touch sensitive surface, also referred to as touch display screen or touch
Control plate, can collect user thereon or neighbouring touch operation (such as user use any suitable object such as finger, stylus or
Operation on Touch sensitive surface or near Touch sensitive surface for the adnexa), and corresponding connection dress is driven according to formula set in advance
Put.Optionally, Touch sensitive surface may include touch detecting apparatus and two parts of touch controller.Wherein, touch detecting apparatus inspection
Survey the touch orientation of user, and detect the signal that touch operation brings, transmit a signal to touch controller;Touch controller from
Receive touch information on touch detecting apparatus, and be converted into contact coordinate, then give processor 808, and can reception processing
Order that device 808 is sent simultaneously is executed.Furthermore, it is possible to it is multiple using resistance-type, condenser type, infrared ray and surface acoustic wave etc.
Type realizes Touch sensitive surface.Except Touch sensitive surface, input block 803 can also include other input equipments.Specifically, other are defeated
Enter equipment and can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, Mus
One or more of mark, action bars etc..
In the present embodiment, display unit 804 includes main display 8041 and secondary display screen 8042, and display unit 804 can use
By the information of user input or it is supplied to the information of user and the various graphical user interface of terminal in display, these figures are used
Family interface can be made up of figure, text, icon, video and its combination in any.Display unit 804 may include display floater,
Optionally, can using liquid crystal display (lcd, liquid crystal display), Organic Light Emitting Diode (oled,
Organic light-emitting diode) etc. form configuring display floater.Further, Touch sensitive surface can cover display
Panel, when Touch sensitive surface detects thereon or after neighbouring touch operation, sends processor 808 to determine touch event
Type, provides corresponding visual output with preprocessor 808 on a display panel according to the type of touch event.In some enforcements
In example, can Touch sensitive surface and display floater integrated and realize input and output function.
Terminal may also include at least one sensor 805, such as optical sensor, motion sensor and other sensors.
Specifically, optical sensor may include ambient light sensor and proximity transducer, and wherein, ambient light sensor can be according to ambient light
The brightness to adjust display floater for the light and shade, proximity transducer can cut out display floater and/or the back of the body when terminal moves in one's ear
Light.As one kind of motion sensor, Gravity accelerometer can detect (generally three axles) acceleration in all directions
Size, can detect that size and the direction of gravity when static, can be used for identify mobile phone attitude application (such as horizontal/vertical screen switching,
Dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Can also configure as terminal
Gyroscope, barometer, drimeter, thermometer, the other sensors such as infrared ray sensor, will not be described here.
Voicefrequency circuit 806, speaker, microphone can provide the audio interface between user and terminal.Voicefrequency circuit 806 can
The signal of telecommunication after the voice data receiving is changed, is transferred to speaker, is converted to acoustical signal output by speaker;Another
Aspect, the acoustical signal of collection is converted to the signal of telecommunication by microphone, is converted to voice data after being received by voicefrequency circuit 806, then
After voice data output processor 808 is processed, through rf circuit 801 being sent to such as another terminal, or by voice data
Export to memorizer 802 to process further.Voicefrequency circuit 806 is also possible that earphone jack, with provide peripheral hardware earphone with
The communication of terminal.
Wifi belongs to short range wireless transmission technology, and terminal can help user's transceiver electronicses postal by wifi module 807
Part, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and has accessed.
Processor 808 is the control centre of terminal, using the various pieces of various interfaces and connection whole mobile phone, leads to
Cross and run or software program and/or module that execution is stored in memorizer 802, and call and be stored in memorizer 802
Data, the various functions of execution terminal and processing data, thus carry out integral monitoring to mobile phone.Optionally, processor 808 can wrap
Include one or more processing cores;Preferably, processor 808 can integrated application processor and modem processor, wherein, should
Mainly process operating system, user interface and application program etc. with processor, modem processor mainly processes radio communication.
It is understood that above-mentioned modem processor can not also be integrated in processor 808.
Terminal also includes the power supply 808 (such as battery) powered to all parts it is preferred that power supply can pass through power supply pipe
Reason system is logically contiguous with processor 808, thus realizing management charging, electric discharge and power managed by power-supply management system
Etc. function.Power supply 808 can also include one or more direct current or alternating current power supply, recharging system, power failure inspection
The random component such as slowdown monitoring circuit, power supply changeover device or inverter, power supply status indicator.
Although not shown, terminal can also include photographic head, bluetooth module etc., will not be described here.Specifically in this enforcement
In example, the processor 808 in terminal can run and be stored in one of memorizer 802 or more than one programmed instruction, thus
Realize the method for information display provided in each embodiment of the method above-mentioned.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can
Completed with the hardware instructing correlation by program, this program can be stored in a computer-readable recording medium, storage
Medium may include that read only memory (rom, read only memory), random access memory (ram, random
Access memory), disk or CD etc..
Claims (12)
1. a kind of double-screen display method is it is characterised in that methods described includes:
Whether detection terminal has double-display screen, and described double-display screen includes main display and secondary display screen;
If described terminal has described double-display screen, generate HDMI hdmi equipment and add event;
Event is added according to described hdmi equipment, described pair display screen is initialized as described hdmi equipment;
Carry out shuangping san after described pair display screen initializes and finishes.
2. method according to claim 1, will be described it is characterised in that described add event according to described hdmi equipment
Secondary display screen is initialized as described hdmi equipment, comprising:
The screen parameter of described pair display screen is obtained from described hdmi equipment interpolation event;
The described screen parameter of described pair display screen is initialized as the device parameter of described hdmi equipment.
If 3. method according to claim 1, it is characterised in that described terminal has described double-display screen, is given birth to
Described hdmi equipment is become to add event, comprising:
Described hdmi equipment is generated by bsp driver and adds event, described hdmi equipment adds event and carries described pair
The described screen parameter of display screen.
4. it is characterised in that described terminal is android terminal, described android terminal includes method according to claim 2
Hardware abstraction layer hal layer;
The described described screen parameter using described pair display screen is initialized as the described device parameter of hdmi equipment, bag
Include:
By described hal layer, the described screen parameter of described pair display screen is carried out just as the described device parameter of hdmi equipment
Beginningization.
5., according to the arbitrary described method of Claims 1-4 it is characterised in that described terminal is android terminal, described ARIXTRA is eventually
End includes surfaceflinger layer, and described surfaceflinger layer is the serve end program of graphic display system;
Whether described detection terminal has double-display screen, comprising:
Inquire the display screen attribute of described terminal by described surfaceflinger layer to described bsp driver;
Feed back the described display screen attribute of described terminal by described bsp driver to described surfaceflinger layer;
When described display screen attribute is that have described main display and described pair display screen simultaneously, by described
Surfcaeflinger layer writes predetermined value to flag node;
Wherein, the described flag node with described predetermined value is used for described in the distinct program layer instruction in described android terminal
Terminal has double-display screen.
6., according to the arbitrary described method of Claims 1-4 it is characterised in that described terminal is android terminal, described ARIXTRA is eventually
End includes display interface presentation class;
Described described pair display screen initialize finish after carry out shuangping san, comprising:
Secondary screen display content, described secondary screen display content and institute are exported to described pair display screen by described presentation class
The main screen display content stating main display is identical or different.
7. a kind of double display unit is it is characterised in that described device includes:
Whether terminal detection module, have double-display screen for detection terminal, and described double-display screen includes main display and pair shows
Display screen;
Event generation module, if having described double-display screen for described terminal, generates HDMI hdmi
Equipment adds event;
Initial setup module, for adding event according to described hdmi equipment, using described pair display screen as described hdmi equipment
Initialized;
Double-screen display module, for carrying out shuangping san after described pair display screen initializes and finishes.
8. device according to claim 7 is it is characterised in that described initial setup module, comprising:
Parameter acquiring unit and initial setting up unit;
Parameter acquiring unit, obtains the screen parameter of described pair display screen from described hdmi equipment interpolation event;
Initial setting up unit, the described screen parameter of described pair display screen is carried out just as the device parameter of described hdmi equipment
Beginningization.
9. device according to claim 7 it is characterised in that
Described event generation module, adds event for generating described hdmi equipment by bsp driver, described hdmi sets
Standby interpolation event carries the described screen parameter of described pair display screen.
10. it is characterised in that described terminal is android terminal, described android terminal includes device according to claim 8
Described hal layer;
Described initial setting up unit, for being set the described screen parameter of described pair display screen as hdmi by described hal layer
Standby described device parameter is initialized.
11. according to the arbitrary described device of claim 7 to 10 it is characterised in that described terminal be described android terminal, described
Android terminal includes described surfaceflinger layer, and described surfaceflinger layer is the described of described graphic display system
Serve end program;
Described terminal detection module, comprising:
Attribute enquiry unit, for inquiring described terminal by described surfaceflinger layer to described bsp driver
Display screen attribute;
Attribute feedback unit, for feeding back described terminal by described bsp driver to described surfaceflinger layer
Described display screen attribute;
Node writing unit, for described display screen attribute be have simultaneously described main display and described pair display screen when,
Predetermined value is write to flag node by described surfcaeflinger layer;
Wherein, the described flag node with described predetermined value is used for described in the distinct program layer instruction in described android terminal
Terminal has double-display screen.
12. according to the arbitrary described device of claim 7 to 10 it is characterised in that described terminal be android terminal, described ARIXTRA
Terminal includes described display interface presentation class;
Described double-screen display module, for being exported in secondary screen display to described pair display screen by described presentation class
Hold, described secondary screen display content is identical or different with the main screen display content of described main display.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610735856.2A CN106354458B (en) | 2016-08-26 | 2016-08-26 | Double-screen display method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610735856.2A CN106354458B (en) | 2016-08-26 | 2016-08-26 | Double-screen display method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106354458A true CN106354458A (en) | 2017-01-25 |
CN106354458B CN106354458B (en) | 2019-09-20 |
Family
ID=57855256
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610735856.2A Active CN106354458B (en) | 2016-08-26 | 2016-08-26 | Double-screen display method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106354458B (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107463325A (en) * | 2017-07-12 | 2017-12-12 | 福州瑞芯微电子股份有限公司 | A kind of display methods for supporting multi-screen to input and device |
CN107832273A (en) * | 2017-11-17 | 2018-03-23 | 青岛海信移动通信技术股份有限公司 | Content display method and device in mobile terminal ink screen |
CN107995452A (en) * | 2017-11-07 | 2018-05-04 | 珠海研果科技有限公司 | A kind of method that double-screen synchronous is shown |
WO2019007325A1 (en) * | 2017-07-03 | 2019-01-10 | 中兴通讯股份有限公司 | Method, device, and system for obtaining sensor data, and computer readable storage medium |
CN110968252A (en) * | 2019-12-18 | 2020-04-07 | 华为技术有限公司 | Display method of interactive system, interactive system and electronic equipment |
CN111182356A (en) * | 2019-12-31 | 2020-05-19 | 珠海六点智能科技有限公司 | Method and system for realizing double-screen different display of Android video playing |
CN112242122A (en) * | 2020-10-09 | 2021-01-19 | 北京如影智能科技有限公司 | Dual-screen display method, device and system based on android system |
CN113312016A (en) * | 2021-05-10 | 2021-08-27 | 南京市德赛西威汽车电子有限公司 | Method for double-screen different display in vehicle-mounted entertainment system |
CN114915820A (en) * | 2021-02-09 | 2022-08-16 | 海信视像科技股份有限公司 | Display apparatus and control method thereof |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070285533A1 (en) * | 2006-06-13 | 2007-12-13 | Matsushita Electric Industrial Co., Ltd. | Image displaying apparatus |
CN102665005A (en) * | 2012-04-26 | 2012-09-12 | 网经科技(苏州)有限公司 | Wireless multimedia terminal |
CN103106058A (en) * | 2013-01-25 | 2013-05-15 | Tcl集团股份有限公司 | Double-screen display method and intelligent display terminal based on android platform |
CN103390397A (en) * | 2013-07-24 | 2013-11-13 | 福州瑞芯微电子有限公司 | Double screen display device and method based on Android system |
CN103646638A (en) * | 2013-12-25 | 2014-03-19 | 厦门雅迅网络股份有限公司 | Android platform based double-screen display method |
CN104123110A (en) * | 2013-04-26 | 2014-10-29 | 上海赤炫信息科技有限公司 | Android double-screen extraordinary image display method |
-
2016
- 2016-08-26 CN CN201610735856.2A patent/CN106354458B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070285533A1 (en) * | 2006-06-13 | 2007-12-13 | Matsushita Electric Industrial Co., Ltd. | Image displaying apparatus |
CN102665005A (en) * | 2012-04-26 | 2012-09-12 | 网经科技(苏州)有限公司 | Wireless multimedia terminal |
CN103106058A (en) * | 2013-01-25 | 2013-05-15 | Tcl集团股份有限公司 | Double-screen display method and intelligent display terminal based on android platform |
CN104123110A (en) * | 2013-04-26 | 2014-10-29 | 上海赤炫信息科技有限公司 | Android double-screen extraordinary image display method |
CN103390397A (en) * | 2013-07-24 | 2013-11-13 | 福州瑞芯微电子有限公司 | Double screen display device and method based on Android system |
CN103646638A (en) * | 2013-12-25 | 2014-03-19 | 厦门雅迅网络股份有限公司 | Android platform based double-screen display method |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019007325A1 (en) * | 2017-07-03 | 2019-01-10 | 中兴通讯股份有限公司 | Method, device, and system for obtaining sensor data, and computer readable storage medium |
CN107463325A (en) * | 2017-07-12 | 2017-12-12 | 福州瑞芯微电子股份有限公司 | A kind of display methods for supporting multi-screen to input and device |
CN107995452A (en) * | 2017-11-07 | 2018-05-04 | 珠海研果科技有限公司 | A kind of method that double-screen synchronous is shown |
CN107995452B (en) * | 2017-11-07 | 2020-09-29 | 珠海研果科技有限公司 | Double-screen synchronous display method |
CN107832273A (en) * | 2017-11-17 | 2018-03-23 | 青岛海信移动通信技术股份有限公司 | Content display method and device in mobile terminal ink screen |
CN110968252A (en) * | 2019-12-18 | 2020-04-07 | 华为技术有限公司 | Display method of interactive system, interactive system and electronic equipment |
CN111182356A (en) * | 2019-12-31 | 2020-05-19 | 珠海六点智能科技有限公司 | Method and system for realizing double-screen different display of Android video playing |
CN112242122A (en) * | 2020-10-09 | 2021-01-19 | 北京如影智能科技有限公司 | Dual-screen display method, device and system based on android system |
CN114915820A (en) * | 2021-02-09 | 2022-08-16 | 海信视像科技股份有限公司 | Display apparatus and control method thereof |
CN113312016A (en) * | 2021-05-10 | 2021-08-27 | 南京市德赛西威汽车电子有限公司 | Method for double-screen different display in vehicle-mounted entertainment system |
Also Published As
Publication number | Publication date |
---|---|
CN106354458B (en) | 2019-09-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106354458B (en) | Double-screen display method and device | |
CN106933525B (en) | A kind of method and apparatus showing image | |
CN103473092B (en) | A kind of download the processing method of application, device and terminal unit | |
CN103631580B (en) | Method and device for generating theme icon | |
CN106502906A (en) | A kind of method and apparatus of test application program | |
CN104571979B (en) | A kind of method and apparatus for realizing split view | |
CN106227588A (en) | The creation method of a kind of multi-instance object, device and mobile terminal | |
CN105094809A (en) | Method and device for modifying layout of combined image and terminal device | |
CN106254910A (en) | A kind of method and apparatus recording image | |
CN104021129B (en) | Show the method and terminal of group picture | |
CN104869465A (en) | Video playing control method and device | |
CN103491525A (en) | Method for achieving card-free mobile phone, mobile phone and server | |
CN103491421B (en) | Content displaying method, device and intelligent television | |
CN106445340A (en) | Method and device for displaying stereoscopic image by double-screen terminal | |
CN106708390A (en) | Screen capture method, apparatus and system | |
CN103631592B (en) | A kind of configuration, call method, device and equipment that shows resource | |
CN103607431A (en) | Mobile terminal resource processing method, apparatus and equipment thereof | |
CN103559731A (en) | Method and terminal for displaying lyrics under screen locking state | |
CN105635553A (en) | Image shooting method and device | |
CN106375182A (en) | Voice communication method and device based on instant messaging application | |
CN106371797A (en) | Method and device for configuring sound effect | |
CN106330672A (en) | Instant messaging method and system | |
CN106055598A (en) | Information display method and apparatus | |
CN106210838A (en) | Caption presentation method and device | |
CN106303605A (en) | A kind of methods, devices and systems sent a notification message |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder | ||
CP01 | Change in the name or title of a patent holder |
Address after: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11 Patentee after: Qingdao Hisense Mobile Communication Technology Co.,Ltd. Address before: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11 Patentee before: HISENSE MOBILE COMMUNICATIONS TECHNOLOGY Co.,Ltd. |