Summary of the invention
The object of the invention aims to provide display control method and device, the terminal of a kind of application, which solves existing skill
The application that the terminal that in art, the interaction capabilities such as mobile terminal is fairly limited for PC terminal is difficult in terminal is virtual
The problem of reality VRization display.
For solving above-mentioned technical problem, embodiment of the present invention offer techniques below scheme:
In first aspect, the embodiment of the present invention provides the display control method of a kind of application, including:
The Virtual Reality pattern receiving described application starts instruction;
Start instruction according to described VR pattern, obtain be pre-configured with, the parameter configuration of described application display pattern VRization
File, includes display pattern VRization parameter in the parameter configuration files of described display pattern VRization;
According to described display pattern VRization parameter, carry out the VRization display of described application.
Alternatively:
The parameter configuration files of described display pattern VRization is associated with Apply Names;
Application that described acquisition is pre-configured with, described display pattern VRization parameter configuration files particularly as follows:
The parameter configuration files of application that the name acquiring according to described application is pre-configured with, described display pattern VRization;
Or
The parameter configuration files of described display pattern VRization is associated with Apply Names, application version number;Described acquisition is pre-
Application that first configure, described display pattern VRization parameter configuration files particularly as follows:
Title according to described application, the version number of described application obtain be pre-configured with, described application display pattern VR
The parameter configuration files changed;
Or
The parameter configuration files of described display pattern VRization identifies relevant to Apply Names, application version number, display device
Connection;
Application that described acquisition is pre-configured with, described display pattern VRization parameter configuration files particularly as follows:
The display device mark of title, the version number of described application and described terminal according to described application obtains joins in advance
The parameter configuration files of application that put, described display pattern VRization.
Alternatively, described acquisition be pre-configured with, described application display pattern VRization parameter configuration files include:
Obtain pre-configured at remote server and be stored in application in remote server, described display pattern VR
The parameter configuration files changed;
Or
Prestore, the parameter configuration files of described application display pattern VRization is obtained from described terminal local.
Alternatively, described acquisition be pre-configured with, described application display pattern VRization parameter configuration files particularly as follows:
Judge whether the parameter configuration files of described application display pattern VRization updates;
If so, at remote server, obtain the parameter configuration files of the described application display pattern VRization after updating;
If it is not, obtain the parameter configuration files of the former described application display pattern VRization of described terminal local storage.
Alternatively, described display pattern VRization parameter includes at least one in following parameter:
Horizontal parallax figure exchanges instruction, when producing horizontal parallax figure about distance between camera, produce horizontal parallax figure
Time about, camera is to the distance of parallax free plane, the distance of left and right camera to the cutting face not producing parallax, application scenarios level
Maximum angle that visual angle is horizontally diverted with user and application scenarios vertical angle of view are with the maximum angle of user's vertical duction.
Alternatively, described method also includes:
The three-dimensional pattern receiving described application starts instruction;
Start instruction according to described three-dimensional pattern, obtain be pre-configured with, the parameter of described application display pattern three-dimensional
Configuration file, includes display pattern three-dimensional parameter in the parameter configuration files of described display pattern three-dimensional;
According to described display pattern three-dimensional parameter, the three-dimensional carrying out described application shows.
Alternatively, described display pattern three-dimensional parameter includes at least one in following parameter:
Horizontal parallax figure exchanges instruction, when producing horizontal parallax figure about distance between camera, produce horizontal parallax figure
Time about, camera is to the distance of parallax free plane, the distance of left and right camera to the cutting face not producing parallax.
In second aspect, the embodiment of the present invention also provides for the display control unit of a kind of application, including:
VR pattern starts instruction and receives unit, starts instruction for receiving the Virtual Reality pattern of described application;
VRization parameter configuration files acquiring unit, for starting instruction according to described VR pattern, obtains be pre-configured with, institute
State the parameter configuration files of application display pattern VRization, the parameter configuration files of described display pattern VRization includes display mould
Formula V Rization parameter;
VRization display unit, for according to described display pattern VRization parameter, carrying out the VRization display of described application.
Alternatively:
The parameter configuration files of described display pattern VRization is associated with Apply Names;
Described VRization parameter configuration files acquiring unit specifically for:
The parameter configuration files of application that the name acquiring according to described application is pre-configured with, described display pattern VRization;
Or
The parameter configuration files of described display pattern VRization is associated with Apply Names, application version number;Described VRization is joined
Number configuration file acquiring units specifically for:
Title according to described application, the version number of described application obtain be pre-configured with, described application display pattern VR
The parameter configuration files changed;
Or
The parameter configuration files of described display pattern VRization identifies relevant to Apply Names, application version number, display device
Connection;
Described VRization parameter configuration files acquiring unit specifically for:
The display device mark of title, the version number of described application and described terminal according to described application obtains joins in advance
The parameter configuration files of application that put, described display pattern VRization.
Alternatively, described VRization parameter configuration files acquiring unit includes:
Server VRization parameter configuration files acquisition module, for obtaining pre-configured and storing at remote server
The parameter configuration files of application in remote server, described display pattern VRization;
Or
Local VRization parameter configuration files acquisition module, for obtaining that prestore, described answering from described terminal local
Parameter configuration files by display pattern VRization.
Alternatively, described VRization parameter configuration files acquiring unit includes:
VRization parameter configuration files obtains judge module, for judging the parameter configuration literary composition of described application display pattern VRization
Whether part updates;
VRization parameter configuration files obtains judge module, for judging the parameter configuration literary composition of described application display pattern VRization
Whether part updates;
VRization parameter configuration files acquisition module, is used for:
Obtain judge module in described VRization parameter configuration files and judge the parameter configuration of described application display pattern VRization
When file updates, at remote server, obtain the parameter configuration files of the described application display pattern VRization after updating;
Obtain judge module in described VRization parameter configuration files and judge the parameter configuration of described application display pattern VRization
When file does not updates, obtain the parameter configuration files of the former described application display pattern VRization of described terminal local storage.
Alternatively, described display pattern VRization parameter includes at least one in following parameter:
Horizontal parallax figure exchanges instruction, when producing horizontal parallax figure about distance between camera, produce horizontal parallax figure
Time about, camera is to the distance of parallax free plane, the distance of left and right camera to the cutting face not producing parallax, application scenarios level
Maximum angle that visual angle is horizontally diverted with user and application scenarios vertical angle of view are with the maximum angle of user's vertical duction.
Alternatively, described device also includes:
Three-dimensional pattern starts instruction and receives unit, starts instruction for receiving the three-dimensional pattern of described application;
Three-dimensional parameter configuration files acquiring unit, for starting instruction according to described three-dimensional pattern, acquisition is pre-configured with
, described application display pattern three-dimensional parameter configuration files, in the parameter configuration files of described display pattern three-dimensional wrap
Containing display pattern three-dimensional parameter;
Three-dimensional display unit, for according to described display pattern three-dimensional parameter, the three-dimensional carrying out described application shows
Show.
Alternatively, described display pattern three-dimensional parameter includes at least one in following parameter:
Horizontal parallax figure exchanges instruction, when producing horizontal parallax figure about distance between camera, produce horizontal parallax figure
Time about, camera is to the distance of parallax free plane, the distance of left and right camera to the cutting face not producing parallax.
In the third aspect, the embodiment of the present invention additionally provides a kind of terminal, including:
Central processing unit, starts instruction for receiving the Virtual Reality pattern of described application;Open according to described VR pattern
Dynamic instruction, obtains be pre-configured with, the parameter configuration files of described application display pattern VRization, the ginseng of described display pattern VRization
Number configuration file includes display pattern VRization parameter;
Display screen, for according to described display pattern VRization parameter, carrying out the VRization display of described application.
Have the beneficial effects that in the present invention: the parameter of the embodiment of the present invention pre-configured display pattern VRization, at needs
During the VR display carrying out applying, only need to obtain these VRization parameters and utilize these parameters to carry out VR to show, therefore, for
Terminal limited in one's ability, such as mobile phone, panel computer, it is achieved that the application in terminal is pre-by calling is processed in mobile terminal etc.
The parameter configuration files of the display pattern VRization first configured carries out the Virtual Realityization display applied, and terminal only need to obtain ginseng
Number configuration file, and, display pattern VRization parameter can be debugged in advance by professional and be determined and configure, so that
Must show that picture is more true, improve user's feeling of immersion, and be greatly reduced terminal itself and carry out Virtual Reality and show
The power consumption needed.
Detailed description of the invention
In order to make the purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, right
The present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, not
For limiting the present invention.
As long as additionally, technical characteristic involved in each embodiment of invention described below is the most not
The conflict of composition just can be mutually combined.
For the ease of understanding the embodiment of the present invention, before being illustrated starting at each embodiment of the present invention, realities all to the present invention
Execute some terms related in example to explain.
In all embodiments of the invention, terminal include having the PDA of virtual reality effect, desktop computer, panel computer,
MP4, smart mobile phone, the electricity Portable mobile electronic device such as paper book, wherein, the user interface of terminal show it can is that common 2D is aobvious
Show pattern, it is also possible to be virtual reality pattern, certainly can also is that three-dimensional pattern.Certainly, terminal herein can also extend
To the large-scale plant equipment with virtual reality effect.That is, the sayed terminal of the embodiment of the present invention can be to install application
Program and there are all display devices of VR display function.Wherein, the effect of virtual reality can be that terminal unlatching has virtual
One section of software program, such as APP of reality display effect, it is also possible to be being implemented in combination in by software and hardware.
The alleged application of the embodiment of the present invention, can be game application etc..
Fig. 1 is the flow chart of the display control method of a kind of application that the embodiment of the present invention provides.As it is shown in figure 1, the party
Method comprises the following steps:
S11, receive described application Virtual Reality pattern start instruction.
In order to strengthen the experience sense of application, it is often necessary to the enhancing that the scene in application carries out Virtual Reality is shown
Showing, after the Virtual Reality pattern receiving application starts instruction, the driver calling Virtual Reality is added by game
It is downloaded in game show.
For example, concrete, application place terminal can provide interactive interface, and interactive interface shows application icon, and
Startupoptions about application is provided, such as common startupoptions, VR pattern startupoptions, three-dimensional pattern can also be had to start choosing
Etc., when user selects one of them option for certain application, be i.e. equivalent to receive startup instruction, such as, user selects
VR pattern startupoptions, terminal i.e. receives VR pattern and starts instruction.
S12, according to described VR pattern start instruction, obtain be pre-configured with, described application display pattern VRization parameter
Configuration file, includes display pattern VRization parameter in the parameter configuration files of described display pattern VRization.
The parameter configuration files of display pattern VRization can prestore on the remote server or terminal local, at this
In step, the parameter configuration files of display pattern VRization can be obtained from server or obtain display pattern from terminal local
The parameter configuration files of VRization.
Such as, professional debugs and determines various display pattern VRization parameter in advance, and according to the parameter determined
Generate the parameter configuration files of display pattern VRization, and file is placed on the server, in this step, can be from server
Drop-down parameter configuration files.
It is understood that if user is to start application with VR pattern first, can get parms at server configuration
File is also stored in terminal local, and when being again started up this application after user starts application with VR pattern first, due to end
The parameter configuration files of the display pattern VRization that end the most stored local useful family is stored when starting application with VR pattern first,
Directly can obtain this parameter configuration files from terminal local.
As one optimization, when being again started up this application after user starts application with VR pattern first, in this step
In, first can determine whether whether the parameter configuration files of described application display pattern VRization updates, such as, lead to server
Letter, obtains the more new logo of parameter configuration files of display pattern VRization, and this more new logo is used for indicating the parameter configuration files be
No being updated, it can be a flag bit, such as, represent renewal with 1, represent with 0 and do not update, and it can also be version number,
The version number of parameter configuration files of the display pattern VRization that terminal can be obtained by contrast at server and locally stored
The version number of parameter configuration files of display pattern VRization, determine whether this parameter configuration files updates;The most i.e. update,
The parameter configuration files of the described application display pattern VRization after updating is obtained at remote server;If it is not, i.e. do not update, then
Obtain the parameter configuration files of the former application display pattern VRization of terminal local storage.
Wherein, the parameter configuration files of display pattern VRization here can be associated with Apply Names, i.e. this parameter is joined
Putting file can be with Apply Names one_to_one corresponding, i.e. a kind of the most corresponding parameter configuration files of application, that is, show pattern VR
The parameter configuration files changed associates storage with Apply Names, can find and this application using Apply Names as index
The parameter configuration files of names associate.
Improving as one, the parameter configuration files of display pattern VRization here can also be with Apply Names, application version
This number is associated, i.e. this parameter configuration files can be with Apply Names and application version one_to_one corresponding, each version of i.e. each application
This is all to there being respective parameter configuration files, that is, the parameter configuration files of display pattern VRization is and Apply Names, application
Version number correlation storage, can find and this Apply Names, application version using Apply Names, application version number as index
The parameter configuration files of this number association.So, in this step, can be according to the title of described application, the version number of described application
Parameter that is pre-configured and that be stored in application in remote server, described display pattern VRization is obtained at remote server
Configuration file.Same, it is also possible to be that the title according to described application, the version number of described application obtain from described terminal local
The parameter configuration files of application that prestore, described display pattern VRization.For every kind of version of an application, it is equipped with
Parameter configuration files, from regardless of whether user runs which version of this application, can be effectively ensured VR display effect.
Or, improve as one, owing to the terminal capabilities of different brands and model is different, therefore, same
Version same applies VRization display parameters required in different terminals to be different, therefore, in order to ensure to apply
VRization display effect, for different brands and the terminal of model, can determine this version in advance for a certain version of a certain application
The parameter of VRization of this application and generate parameter configuration files, say, that make the parameter configuration files of display pattern VRization
Being associated with Apply Names, application version number, display device mark, display device mark is used for indicating the brand and model of terminal,
I.e., it is possible to using Apply Names, application version number, display device mark as index, find and this Apply Names, application version
Number association parameter configuration files.Then, in this step, can according to the title of described application, the version number of described application and
The display device mark of described terminal obtains pre-configured from remote server and is stored in remote server, described
The parameter configuration files of application display pattern VRization.Same, it is also possible to it is the title according to described application, the version of described application
This number obtains prestore, described application display pattern VRization with the display device mark of described terminal from described terminal local
Parameter configuration files.Performance in view of terminal is different, therefore, applies every kind of version at different terminals for one, all
It is configured with parameter configuration files, from regardless of whether user uses the terminal of which kind of model, terminal is run which version of this application,
The VR display effect of application scenarios can be effectively ensured.
In this step, corresponding solely due to the model of same Apply Names, same application version number and terminal presentation facility
One without two a display pattern VRization parameter configuration files, therefore with Apply Names, application version number and terminal presentation facility
Model is so by a large scale and the lookup method of little scope, it is possible to increase looking into of the display pattern VRization parameter configuration files of application
Look for efficiency, and, what different terminals was different applies the corresponding different parameter configuration files of different versions, can be effectively ensured
The VRization effect of the different application used under scene, promotes Consumer's Experience.Such as: send plant Great War corpse 2.0 version Android
Handset serial 205618563975486, first carries out the joining of Android mobile phone serial number 205618563975486 of its correspondence
Put the lookup of file, then search corresponding game name and version in the configuration file corresponding with serial number, after searching successfully,
Display pattern VRization parameter corresponding for this mobile phone is loaded into plant Great War by the Android mobile phone of Serial No. 205618563975486
In the operation program of corpse 2.0 version so that this game has the display effect of display pattern VRization.
In this step, the parameter configuration files of display pattern VRization is that the display pattern VRization applied by debugging is joined
Number, and the parameter configuration files that generates according to the title of application and the version number of application or according to the title of application, application
The parameter configuration files that version number and display device mark generate.Due to the terminal interaction ability such as mobile phone, flat board relative to PC eventually
For end fairly limited, therefore need to carry out debugging under line the display pattern VRization parameter configuration files of application, concrete operations are: hands
The external PC terminal of the terminal such as machine, flat board, utilizes the powerful process of computer and interaction capabilities, for each need regulation should
With, the regulation carrying out display pattern VRization parameter corresponding to application determines, then and according to the title applied and the version of application
Number or generate corresponding display pattern VRization parameter configuration according to the title of application, version number and the display device mark of application
File is saved in remote server, it is to be understood that the different editions of different application, is required to debug respectively and determines and generate
Parameter configuration files.And need time corresponding with the terminal of different brands and model for parameter configuration files, for different ends
End is required to debug respectively, is required to debug respectively for the different editions of application.Carry out debugging application display pattern VRization ginseng
The professional that the personnel of number debugging are generally in this area, watches application by debugging display pattern VRization program parameter simultaneously
The effect of picture display mode VRization, makes the effect of application picture display mode VRization disclosure satisfy that the body that user is the most comfortable
Test.
In this step, the professional in this area can be that new opplication carries out display pattern VRization parameter configuration literary composition
The debugging of part and storage, it is also possible to be the tune to the display pattern VRization parameter configuration files applied after updating application version
Examination and storage, original for covering display pattern VRization parameter is joined by the display pattern VRization parameter configuration files the most again debugged
Put file, and set more new logo prompting terminal, thus the increase and decrease realizing display pattern VRization parameter configuration files flexibly changes
Delete.
Concrete, display pattern VRization parameter includes at least one in following parameter:
Horizontal parallax figure exchanges instruction, when producing horizontal parallax figure about distance between camera, produce horizontal parallax figure
Time about, camera is to the distance of parallax free plane, the distance of left and right camera to the cutting face not producing parallax, application scenarios level
Maximum angle that visual angle is horizontally diverted with user and application scenarios vertical angle of view are with the maximum angle of user's vertical duction.
S13, according to described display pattern VRization parameter, carry out the VRization display of described application.
In this step, at remote server, the parameter configuration files of display pattern VRization is obtained or from end when terminal
After end this locality obtains the parameter configuration files of display pattern VRization, terminal will show pattern VRization parameter or is loaded into the fortune of application
In line program thus the VRization display carrying out applying.
The parameter of the embodiment of the present invention pre-configured display pattern VRization, when needing the VR display carrying out applying, only
These VRization parameters need to be obtained and utilize these parameters to carry out VR to show, therefore, be directed to the disposal abilities such as mobile terminal
Limited terminal, such as mobile phone, panel computer, it is achieved that the application in terminal is by calling pre-configured display pattern VR
The Virtual Realityization display that the parameter configuration files changed carries out applying, terminal only need to get parms configuration file, and,
Display pattern VRization parameter can be debugged in advance by professional and be determined and configure, so that display picture is more true,
Improve user's feeling of immersion, and be greatly reduced terminal itself and carry out the power consumption that Virtual Realityization display needs.
Alternatively, when realizing application display pattern VRization, moreover it is possible to the three-dimensional realizing application shows.Fig. 2 is the present invention
The flow chart that the display control method of a kind of application that embodiment provides shows for three-dimensional, the method comprises the following steps:
S21, receive described application three-dimensional pattern start instruction;
S22, start instruction according to described three-dimensional pattern, obtain be pre-configured with, described application display pattern three-dimensional
Parameter configuration files, includes display pattern three-dimensional parameter in the parameter configuration files of described display pattern three-dimensional;
S23, according to described display pattern three-dimensional parameter, the three-dimensional carrying out described application shows.
Concrete, display pattern three-dimensional parameter can include at least one in following parameter:
Horizontal parallax figure exchanges instruction, when producing horizontal parallax figure about distance between camera, produce horizontal parallax figure
Time about, camera is to the distance of parallax free plane, the distance of left and right camera to the cutting face not producing parallax.
How application is carried out the process that three-dimensional shows by step S21-S23 and is similar in step S11-S13 the most corresponding
With carrying out the process that Virtual Reality shows, referring to the description in step S11-S13, here is omitted.
The display control method of the application that the embodiment of the present invention provides, on the one hand, application can be by obtaining display pattern
The parameter configuration files of VRization carries out the Virtual Realityization display applied.On the other hand, it is possible to application is carried out three-dimensional and shows
Show, in the process, it is achieved that in the terminal such as mobile phone, flat board application by call pre-configured display pattern VRization or
The parameter configuration files of three-dimensional carries out the Virtual Reality applied or three-dimensional shows so that picture is more true, improves
User's feeling of immersion, and be greatly reduced terminal itself and carry out Virtual Reality or the power consumption of three-dimensional display needs.
Fig. 3 and Fig. 4 is the Virtual Reality parameter of the display control method of a kind of application that the embodiment of the present invention provides
Schematic diagram.Described display pattern VRization parameter can include at least one in following parameter: horizontal parallax figure exchanges instruction, produces
Distance between camera about during raw horizontal parallax figure, when producing horizontal parallax figure about camera to parallax free plane distance,
Maximum angle that left and right camera is horizontally diverted to the distance in the cutting face not producing parallax, application scenarios horizontal view angle with user and
Application scenarios vertical angle of view is with the maximum angle of user's vertical duction, and wherein, " horizontal parallax figure exchanges and regards about instruction, generation
Distance between camera about during difference figure, when producing horizontal parallax figure about camera to the distance of parallax free plane, left and right camera
Distance to the cutting face not producing parallax " also it is display pattern three-dimensional parameter.
As it is shown on figure 3, L represents that left camera, R represent right camera, x represents that horizontal parallax figure exchanges instruction;Y represents a generation left side
Distance between camera about during right disparity map, in order to control regarding extent;Z represent generation horizontal parallax figure time about camera
To the distance of parallax free plane, to control the distance of parallax free plane;W represents that left and right camera is to the cutting face not producing parallax
Distance, makes it not produce parallax with adaptive contact action for the UI controlled in application scenarios.
In actual enforcement, first the professional in this area can carry out the debugging of three-dimensional parameter and determine, by observing
The three-dimensional display effect of application picture, defines these three-dimensional parameters in a program and debugs, final these three-dimensionals of preservation
Parameter.After completing three-dimensional parameter testing, on the basis of three-dimensional parameter, need to carry out the tune of display pattern VRization parameter
Examination, in VRization shows, as shown in Figure 4, external square region is actual application scenarios region, and internal square region is user
The application scenarios picture area seen on screen, pxl represents what the horizontal view angle of application scenarios turned left with user's level
Maximum angle;Pxr represents the maximum angle that the horizontal view angle of application scenarios turns right with user's level;Pyt represents applied field
The maximum angle that the vertical angle of view of scape rotates vertically upward with user;Pyb represents that the vertical angle of view of application scenarios is vertical with user
The maximum angle rotated down;Professional in this area by rotate beholder towards, record this application picture and exist
Deflection angle maximum in level, vertical direction, finally by the three-dimensional parameter now adjusted and Virtual Reality parameter
As being suitable for the configuration parameter of this application and being saved in server, call for subsequent terminal.Beholder towards rotation side
To contrary all the time with the rotation direction of virtual realityization application picture, such as beholder's level turns left, picture then level to
Right avertence turns, and vice versa;For another example beholder rotates vertically upward, and picture deflects the most vertically downward, and vice versa.Can at pxr and
Pxl takes the maximum angle that minima px is horizontally diverted with user as application scenarios horizontal view angle, can take in pyr and pyl
Minima py as application scenarios vertical angle of view with the maximum angle of user's vertical duction.
For example, for game application B, its display pattern VRization parameter can be following structure:
Its display pattern three-dimensional parameter can be following structure:
Wherein, x is 1 to represent horizontal parallax figure and exchange, and x is that other values mark outside 1 is not exchanged.
Fig. 5 is the signal of the display pattern VR gasifying device of the display control unit of a kind of application that the embodiment of the present invention provides
Figure.As it is shown in figure 5, this device includes:
VR pattern starts instruction and receives unit 51, starts instruction for receiving the Virtual Reality pattern of described application;
VRization parameter configuration files acquiring unit 52, indicates for starting according to described VR pattern, that acquisition is pre-configured with,
The parameter configuration files of described application display pattern VRization, includes display in the parameter configuration files of described display pattern VRization
Pattern VRization parameter;
VRization display unit 53, for according to described display pattern VRization parameter, carrying out the VRization display of described application.
Alternatively, in one embodiment of the invention:
The parameter configuration files of described display pattern VRization is associated with Apply Names;
Described VRization parameter configuration files acquiring unit 52 specifically for:
The parameter configuration files of application that the name acquiring according to described application is pre-configured with, described display pattern VRization.
Alternatively, in one embodiment of the invention:
The parameter configuration files of described display pattern VRization is associated with Apply Names, application version number;
Described VRization parameter configuration files acquiring unit 52 specifically for: according to the title of described application, described application
Version number obtains be pre-configured with, the parameter configuration files of described application display pattern VRization.
Alternatively, in one embodiment of the invention:
The parameter configuration files of described display pattern VRization identifies relevant to Apply Names, application version number, display device
Connection;
Described VRization parameter configuration files acquiring unit 52 specifically for: according to the title of described application, described application
The display device mark of version number and described terminal obtains be pre-configured with, the parameter configuration literary composition of described application display pattern VRization
Part.
Alternatively, described VRization parameter configuration files acquiring unit 52 includes:
Server VRization parameter configuration files acquisition module, for obtaining pre-configured and storing at remote server
The parameter configuration files of application in remote server, described display pattern VRization;Or,
Local VRization parameter configuration files acquisition module, for obtaining that prestore, described answering from described terminal local
Parameter configuration files by display pattern VRization.
Alternatively, described VRization parameter configuration files acquiring unit 52 includes:
VRization parameter configuration files obtains judge module, for judging the parameter configuration literary composition of described application display pattern VRization
Whether part updates;
VRization parameter configuration files acquisition module, is used for:
Obtain judge module in described VRization parameter configuration files and judge the parameter configuration of described application display pattern VRization
When file updates, at remote server, obtain the parameter configuration files of the described application display pattern VRization after updating;
Obtain judge module in described VRization parameter configuration files and judge the parameter configuration of described application display pattern VRization
When file does not updates, obtain the parameter configuration files of the former described application display pattern VRization of described terminal local storage.
In this device, described display pattern VRization parameter includes at least one in following parameter:
Horizontal parallax figure exchanges instruction, when producing horizontal parallax figure about distance between camera, produce horizontal parallax figure
Time about, camera is to the distance of parallax free plane, the distance of left and right camera to the cutting face not producing parallax, application scenarios level
Maximum angle that visual angle is horizontally diverted with user and application scenarios vertical angle of view are with the maximum angle of user's vertical duction.
Fig. 6 is showing of the display pattern three-dimensional device of the display control unit of a kind of application that the embodiment of the present invention provides
It is intended to.As shown in Figure 6, this device includes:
Three-dimensional pattern starts instruction and receives unit 61, starts instruction for receiving the three-dimensional pattern of described application;
Three-dimensional parameter configuration files acquiring unit 62, for starting instruction according to described three-dimensional pattern, obtains and joins in advance
The parameter configuration files of application that put, described display pattern three-dimensional, in the parameter configuration files of described display pattern three-dimensional
Include display pattern three-dimensional parameter;
Three-dimensional display unit 63, for according to described display pattern three-dimensional parameter, carries out the three-dimensional of described application
Display.
In this device, described three-dimensional parameter includes that described display pattern three-dimensional parameter includes in following parameter extremely
Few one:
Horizontal parallax figure exchanges instruction, when producing horizontal parallax figure about distance between camera, produce horizontal parallax figure
Time about, camera is to the distance of parallax free plane, the distance of left and right camera to the cutting face not producing parallax.
Owing to apparatus of the present invention embodiment and the inventive method embodiment are based on identical inventive concept, in embodiment of the method
The technology contents described is equally applicable to apparatus of the present invention embodiment, and here is omitted.
The embodiment of the present invention provides the display control unit of a kind of application, and terminal carries out display pattern VRization under online
Or three-dimensional parameter testing, and generate parameter configuration files according to title, the version number of application and the display device mark of application,
When needing the Virtual Realityization display pattern starting application, terminal can directly invoke Virtual Reality parameter configuration literary composition
Part, if there is not Virtual Reality parameter configuration files, terminal can directly invoke three-dimensional parameter configuration files, so, hands
Game in the terminal such as machine, flat board can realize Virtual Reality or three-dimensional shows, the picture of application is more true, improves
User's feeling of immersion, and be greatly reduced terminal itself and carry out the power consumption that debugging needs.
Fig. 7 is the structural representation of a kind of terminal that the embodiment of the present invention provides, as it is shown in fig. 7, comprising:
Central processing unit 71, starts instruction for receiving the Virtual Reality pattern of described application;According to described VR pattern
Start instruction, obtain be pre-configured with, the parameter configuration files of described application display pattern VRization, described display pattern VRization
Parameter configuration files includes display pattern VRization parameter;
Display screen 72, for according to described display pattern VRization parameter, carrying out the VRization display of described application.
Central processing unit is the control centre of this terminal, utilizes various interface and the whole electronic equipment of connection each
Part, by running or perform the software program that is stored in memory element and/or module, and calls and is stored in memory element
Interior data, to perform the various functions of electronic equipment and/or to process data.Described central processing unit can be by integrated circuit group
Become, it is also possible to formed by connecting many identical functions or the integrated chip of envelope table of difference in functionality.I.e. processor can be GPU,
The combination of the control chip in digital signal processor and communication unit.
Fig. 8 is the application scenarios flow chart schematic diagram of a kind of terminal that the embodiment of the present invention provides, as shown in Figure 8, terminal
Send the order starting game with three-dimensional display mode, and send unit type field and game name and version to service end
Number etc. field, such as: send IOS handset serial 865264157626124, terminal will be from server request adaptation IOS mobile phone
The parameter configuration files of the three-dimensional+virtual reality of serial number 865264157626124, checks whether access server becomes
Merit, if unsuccessful, will check the local parameter configuration files whether having available three-dimensional+virtual reality, if not having, then with
Common 2D mode running game, if there is the parameter configuration files of available three-dimensional+virtual reality this locality, needs to check visitor
Whether family end is arranged enables virtual reality pattern, if it is not, the most only with the solid of locally available three-dimensional parameter configuration files
Change mode running game, the most then run in the virtual reality mode of locally available virtual reality parameter configuration files
Game;If accessing server success, need to check whether three-dimensional+virtual reality parameter configuration files has renewal, if having more
Newly, then download new three-dimensional+virtual reality parameter configuration files from server and replace local existing configuration file, needing
Want viewing client-side whether to arrange and enable virtual reality pattern, if it is not, the most only with the three-dimensional parameter configuration files updated
Three-dimensional mode running game, the most then the virtual reality mode of the virtual reality parameter configuration files to update is run
Game.
In the present embodiment, by integrated to three-dimensional and virtual display parameter configuration files, issue three-dimensional user
Display mode starts game and opens virtual reality when controlling switch, obtains three-dimensional and VR integrative collocation file thus carries out
Three-dimensional shows.When user issues the startup game of three-dimensional display mode and opens virtual reality control switch, obtain three-dimensional
With VR integrative collocation file thus carry out VRization display.
In embodiments of the present invention, when needs start stereo game, terminal can directly invoke three-dimensional+virtual reality
Parameter configuration files, system has certain compatibility, it is possible to compatibility itself has been the game of three-dimensional, the newest in client
Increase virtual reality and controlled switch, needed whether viewing client-side arranges the virtual reality pattern that enables, realize game neatly
The switching of the method for operation.
The embodiment of the present invention achieves the application in the terminal such as mobile phone, flat board by calling pre-configured display pattern
The parameter configuration files of VRization carries out the Virtual Realityization display applied so that picture is more true, improves user's feeling of immersion,
And be greatly reduced terminal itself and carry out the power consumption that Virtual Realityization display debugging needs.
Professional should further appreciate that, each example described in conjunction with the embodiments described herein
Unit and algorithm steps, it is possible to electronic hardware, computer software or the two be implemented in combination in, hard in order to clearly demonstrate
Part and the interchangeability of software, the most generally describe composition and the step of each example according to function.
These functions perform with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.
Professional and technical personnel can use different methods to realize described function to each specifically should being used for, but this realization
It is not considered that it is beyond the scope of this invention.Described computer software can be stored in computer read/write memory medium, this journey
Sequence is upon execution, it may include such as the flow process of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic disc, CD,
Read-only store-memory body or random store-memory body etc..
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all essences in the present invention
Any amendment, equivalent and the improvement etc. made within god and principle, should be included within the scope of the present invention.