Disclosure of Invention
In view of this, the present invention provides a method, an apparatus, and a system for starting a stereoscopic application applied to a mobile terminal, which can meet the use requirement of the stereoscopic application without improving the interactivity of the existing mobile terminal, and can improve the user experience when the mobile terminal uses the stereoscopic application because the user of the mobile terminal does not need to debug the stereoscopic parameters.
The embodiment of the invention provides a three-dimensional application starting method applied to a mobile terminal, which comprises the following steps:
the network server receives stereo parameter configuration information of stereo application;
the network server generates three-dimensional parameter data according to the received three-dimensional parameter configuration information;
and when a request for calling the three-dimensional parameter data transmitted by the mobile terminal is received, the network server sends the three-dimensional parameter data to the mobile terminal so that the mobile terminal starts the three-dimensional application in a three-dimensional mode according to the three-dimensional parameter data.
The stereo parameter configuration information of the stereo application includes:
stereoscopic effect control parameter information for controlling the stereoscopic effect of the stereoscopic application and identification information of the stereoscopic application.
Wherein the identification information of the stereoscopic application includes:
at least one of a stereoscopic application name, version information, a hardware device identification number, and distribution channel information.
Wherein the stereoscopic effect control parameter information for controlling the stereoscopic application includes: x parameter, Y parameter, Z parameter and W parameter;
wherein, the X parameter represents the interchange of left and right disparity maps; the Y parameter represents the center distance of the left camera and the right camera when the left disparity map and the right disparity map are generated; the Z parameter represents the vertical distance from the focal point of the left camera and the right camera to the cameras when the left-right disparity map is generated; the W parameter indicates a cut surface that does not generate parallax.
When the stereoscopic parameter configuration information of the stereoscopic application is updated, the stereoscopic application starting method further includes:
the network server receives new stereo parameter configuration information of the stereo application;
and the network server generates new stereoscopic parameter data of the stereoscopic application according to the received new stereoscopic parameter configuration information and replaces the original stereoscopic parameter data of the stereoscopic application.
Wherein the stereoscopic application comprises a stereoscopic game.
Correspondingly, the embodiment of the invention also provides a method for starting the three-dimensional application of the mobile terminal, which comprises the following steps:
when receiving a starting command of the three-dimensional application, the mobile terminal sends a request command of three-dimensional parameter data to the network server;
the mobile terminal receives the three-dimensional parameter data sent by the network server;
and the mobile terminal starts the three-dimensional application in a three-dimensional mode according to the received three-dimensional parameter data.
The mobile terminal starts the stereoscopic application in a stereoscopic mode according to the received stereoscopic parameter data, and the method comprises the following steps:
the mobile terminal analyzes the received stereoscopic parameter data to obtain stereoscopic effect control parameter information of the stereoscopic application, wherein the stereoscopic effect control parameter information is used for controlling the stereoscopic effect of the stereoscopic application;
and the mobile terminal starts the three-dimensional application and loads the analyzed three-dimensional effect control parameter information into the three-dimensional application.
Wherein, after the request command for sending the stereoscopic parameter data to the network server, the method further comprises:
the mobile terminal judges whether the request command is sent successfully or not;
if the judgment result is yes, the mobile terminal receives the three-dimensional parameter data sent by the network server;
if the judgment result is negative, the mobile terminal judges whether the stereoscopic parameter data of the stereoscopic application is stored locally; if the stereoscopic parameter data of the stereoscopic application are locally stored, the mobile terminal starts the stereoscopic application in a stereoscopic mode according to the locally stored stereoscopic parameter data of the stereoscopic application; and if the stereo parameter data of the stereo application is not stored locally, the mobile terminal starts the stereo application in a two-dimensional mode.
Wherein, if the stereoscopic parameter data of the stereoscopic application is stored locally, before receiving the stereoscopic parameter data sent by the network server, the method further includes:
the mobile terminal judges whether the stereoscopic parameter data of the stereoscopic application stored by the network server is updated or not;
if the judgment result is yes, the mobile terminal receives the updated new three-dimensional parameter data sent by the network server and executes the step of starting the three-dimensional application in a three-dimensional mode according to the received new three-dimensional parameter data;
and if the judgment result is negative, the mobile terminal starts the three-dimensional application in a three-dimensional mode according to the locally stored three-dimensional parameter data of the three-dimensional application.
Correspondingly, the embodiment of the invention also provides a network server applied to the starting of the three-dimensional application, which comprises the following components:
the transmission module is used for receiving the stereo parameter configuration information of the stereo application;
the generating module is used for generating stereo parameter data according to the stereo parameter configuration information received by the transmitting module;
the transmission module is further used for sending the three-dimensional parameter data to the mobile terminal when receiving a request for calling the three-dimensional parameter data from the mobile terminal, so that the mobile terminal can start the three-dimensional application in a three-dimensional mode according to the three-dimensional parameter data.
The stereo parameter configuration information of the stereo application includes:
stereoscopic effect control parameter information for controlling the stereoscopic effect of the stereoscopic application and identification information of the stereoscopic application.
Wherein the stereoscopic effect control parameter information of the stereoscopic application includes: x parameter, Y parameter, Z parameter and W parameter;
wherein, the X parameter represents the interchange of left and right disparity maps; the Y parameter represents the center distance of the left camera and the right camera when the left disparity map and the right disparity map are generated; the Z parameter represents the vertical distance from the focal point of the left camera and the right camera to the cameras when the left-right disparity map is generated; the W parameter indicates a cut surface that does not generate parallax.
The transmitting module is further configured to receive new stereoscopic parameter configuration information of the stereoscopic application when the stereoscopic parameter configuration information of the stereoscopic application is updated;
the generating module is further configured to generate new stereoscopic parameter data of the stereoscopic application and replace the original stereoscopic parameter data of the stereoscopic application when the transmitting module receives the new stereoscopic parameter data of the stereoscopic application.
Correspondingly, an embodiment of the present invention further provides a stereoscopic application service system, including: a processing device and a network server;
the processing device is used for configuring stereo parameter configuration information of stereo application and sending the configured stereo parameter configuration information to the network server;
the network server is used for receiving the three-dimensional parameter configuration information sent by the processing device and sending the three-dimensional parameter data to the mobile terminal when receiving a request for calling the three-dimensional parameter data sent by the mobile terminal, so that the mobile terminal starts the three-dimensional application in a three-dimensional mode according to the three-dimensional parameter data.
Correspondingly, an embodiment of the present invention further provides a mobile terminal, including:
the receiving module is used for receiving an input starting command of the three-dimensional application;
the sending module is used for sending a request command of the three-dimensional parameter data to a network server when the receiving module receives a starting command of the three-dimensional application;
the receiving module is further configured to receive stereoscopic parameter data sent by the network server;
and the stereoscopic application starting module is used for starting the stereoscopic application in a stereoscopic mode according to the stereoscopic parameter data received by the receiving module.
Wherein, the stereoscopic application starting module comprises:
the analysis unit is used for analyzing the three-dimensional parameter data received by the receiving module to obtain three-dimensional effect control parameter information of the three-dimensional application;
and the starting unit is used for starting the stereoscopic application and loading the stereoscopic effect control parameter information obtained by the analysis of the analysis unit into the stereoscopic application.
Wherein the mobile terminal further comprises: the device comprises a first judgment module and a second judgment module;
the first judging module is configured to judge whether the request command is successfully sent after the request command for sending the stereoscopic parameter data to the network server is sent;
the receiving module is specifically configured to receive the stereoscopic parameter data sent by the network server when the determination result of the first determining module is yes;
the second judging module is configured to, when the judgment result of the first judging module is yes, judge whether stereoscopic parameter data of the stereoscopic application is stored locally; the stereoscopic application starting module is further configured to start the stereoscopic application in a stereoscopic manner according to the locally stored stereoscopic parameter data of the stereoscopic application when the judgment result of the second judgment module is yes, and start the stereoscopic application in a two-dimensional manner when the judgment result of the second judgment module is no.
Wherein the mobile terminal further comprises: a third judgment module;
the third judging module is configured to judge whether the stereoscopic parameter data of the stereoscopic application stored in the network server is updated before the receiving module receives the stereoscopic parameter data sent by the network server;
the receiving module is specifically configured to receive, when the determination result of the third determining module is yes, the updated new stereoscopic parameter data sent by the network server;
the stereoscopic application starting module is used for starting the stereoscopic application in a stereoscopic mode according to the new stereoscopic parameter data received by the receiving module;
and the stereoscopic application starting module is further configured to start the stereoscopic application in a stereoscopic manner according to the locally stored stereoscopic parameter data of the stereoscopic application when the judgment result of the third judgment module is negative.
Finally, an embodiment of the present invention provides a mobile terminal, including: a touch screen and a processor;
the touch screen is used for receiving an input starting command of the three-dimensional application;
the processor is used for sending a request command of the three-dimensional parameter data to the network server when the touch screen receives a starting command of the three-dimensional application; and the system is used for receiving the three-dimensional parameter data sent by the network server and starting the three-dimensional application in a three-dimensional mode according to the received three-dimensional parameter data.
In the embodiment of the invention, when the three-dimensional application is started, the mobile terminal acquires the three-dimensional parameter data of the three-dimensional application from the network server and starts the three-dimensional application in a three-dimensional mode according to the three-dimensional effect control parameter information in the three-dimensional parameter data. The stereoscopic effect control parameter information for starting the stereoscopic application is acquired from the network server, so that on one hand, the use requirement of the stereoscopic application can be met without improving the interactivity of the conventional mobile terminal, on the other hand, the user of the mobile terminal does not need to debug the stereoscopic effect control parameter information, instead, the professional carries out the debugging of the stereoscopic effect control parameter, and uploads the adjusted stereoscopic effect control parameter to the network server for the user to call, thereby ensuring the stereoscopic effect of the user when the user uses the stereoscopic application, and improving the user experience when the mobile terminal uses the stereoscopic application.
Detailed Description
The present invention will be described in detail below with reference to the accompanying drawings and embodiments.
It should be noted that, if not conflicting, the embodiments of the present invention and the features of the embodiments may be combined with each other within the scope of protection of the present invention. Additionally, while functional block divisions are performed in apparatus schematics, with logical sequences shown in flowcharts, in some cases, steps shown or described may be performed in sequences other than block divisions in apparatus or flowcharts.
The three-dimensional application starting method provided by the embodiment of the invention has the general idea that: and configuring the stereo parameter configuration information of the stereo application under the line, and uploading the stereo parameter configuration information to a network server. And the network server generates the stereo parameter data which can be downloaded by the mobile terminal according to the uploaded stereo parameter configuration information. When the mobile terminal starts the stereoscopic application, the mobile terminal needs to request the network server for stereoscopic parameter data of the stereoscopic application. After obtaining the three-dimensional parameter data from the network server, the mobile terminal analyzes the three-dimensional parameter data to obtain the three-dimensional effect control parameter information, so that the three-dimensional application is started according to the three-dimensional effect control parameter information. Therefore, when the stereoscopic application starting method of the mobile terminal is introduced, the embodiments of the present invention need to be introduced from two perspectives, namely, a network server (i.e., a server) and the mobile terminal (i.e., a client).
In all embodiments of the present invention, the mobile terminal includes portable human-computer interaction devices such as PDAs, tablet computers, MP4, smart phones, electronic books, game machines, and the like.
In this embodiment, by way of example and not limitation, the stereoscopic parameter data may be implemented by a stereoscopic parameter configuration file.
The stereoscopic application starting method according to the embodiment of the present invention will be described from a network server (server) through fig. 1 to 3.
As shown in fig. 1, it is a flowchart of a stereoscopic application starting method applied to a mobile terminal according to a first embodiment of the present invention, and the flowchart includes:
step S101, a network server receives stereo parameter configuration information of stereo application;
in the embodiment of the invention, the stereo parameter configuration information of the stereo application is configured by professional staff on line, and the configured stereo application configuration information is uploaded to a network server. The stereoscopic parameter configuration information includes: stereoscopic effect control parameter information and identification information of a stereoscopic application. The stereoscopic effect control parameter information is used for identifying and controlling the stereoscopic effect parameter information of a certain stereoscopic application, and the identification information of the stereoscopic application is used for uniquely identifying the one-to-one correspondence between the stereoscopic application and a certain type of mobile terminal, so that when the certain type of mobile terminal requests the stereoscopic effect control parameter information of the certain stereoscopic application from the server, the network server can uniquely determine the stereoscopic effect control parameter information of the stereoscopic application requested by the mobile terminal. The identification information of the stereoscopic application includes: one or more of a stereoscopic application name, version information, a hardware device identification number, and distribution channel information.
Wherein, the stereoscopic effect control parameter information includes: x parameter, Y parameter, Z parameter and W parameter; wherein, the X parameter represents the interchange of left and right disparity maps; the Y parameter represents the center distance of the left camera and the right camera when the left disparity map and the right disparity map are generated; the Z parameter represents the vertical distance from the focal point of the left camera and the right camera to the cameras when the left-right disparity map is generated; the W parameter represents a cropping plane that does not produce parallax, and is used to control a UI interface in a stereoscopic application to not produce parallax to adapt to a touch screen operation. The relationship between the stereo parameters in the stereo effect is shown in fig. 2. In FIG. 2, 0 is the focal point of the camera, oLRepresenting a camera producing a left view oRRepresenting the camera producing the right view.
When configuring the stereo parameter configuration information of the stereo application, an offline professional generally adopts the following method:
the method comprises the steps that three-dimensional applications are installed on a certain type of mobile terminal, a common three-dimensional application is a three-dimensional game, a desktop computer is connected externally, and three-dimensional effect control parameter information corresponding to each three-dimensional application is adjusted according to each three-dimensional application needing to be adjusted by means of powerful processing and interaction capacity of the desktop computer. The specific method comprises the steps of adjusting the three-dimensional effect control parameter information one by one, watching the three-dimensional effect on the mobile terminal at the same time to enable the mobile terminal to present comfortable and reasonable three-dimensional experience, taking the adjusted three-dimensional parameter as the three-dimensional parameter applicable to the game, and uploading the three-dimensional parameter to a network server for subsequent use. By way of example and not limitation, the stereoscopic effect control parameter information of the stereoscopic game a after being configured by a professional is structured as follows: 1, y, 0.04, z, 0.4, w, 0.02, and the stereoscopic effect control parameter information of the stereoscopic game B has the following structure: { "x":1.5, "y": 0.08, "z":0.6, "w":0.04 }.
Step S102, the network server generates three-dimensional parameter data according to the received three-dimensional parameter configuration information;
after receiving the stereo parameter configuration information transmitted offline, the network server generates stereo parameter data for the mobile terminal to download according to the stereo parameter configuration information.
Step S103, when a request for calling the three-dimensional parameter data transmitted by the mobile terminal is received, the network server sends the three-dimensional parameter data to the mobile terminal;
when the mobile terminal starts the stereoscopic application, the mobile terminal needs to request the network server for stereoscopic parameter data of the stereoscopic application. And when the network server receives a request for calling the three-dimensional parameter data transmitted by the mobile terminal, the network server sends the three-dimensional parameter data corresponding to the three-dimensional application to be started by the mobile terminal to the mobile terminal according to the request of the mobile terminal. After the mobile terminal obtains the three-dimensional parameter data from the network server, the three-dimensional parameter data is analyzed to obtain three-dimensional effect control parameter information, and therefore three-dimensional application is started according to the three-dimensional effect control parameter information.
In the embodiment of the invention, when receiving the stereo parameter configuration information transmitted offline, the network server generates corresponding stereo parameter data according to the stereo parameter configuration information. And when receiving a request for calling the three-dimensional parameter data transmitted by the mobile terminal, the network server sends the three-dimensional parameter data to the mobile terminal. When the mobile terminal starts the stereo application, the stereo application can be started in a stereo mode directly according to the received stereo parameter data. So, can not need to promote current mobile terminal's interactivity alright satisfy three-dimensional application user demand on the one hand, on the other hand mobile terminal's user also need not debug stereoeffect control parameter information again, but carries out stereoeffect control parameter debugging by the professional to reach network server on with the stereoeffect control parameter who adjusts and supply the user to call, thereby guaranteed the stereoeffect of user when using three-dimensional application, improved the user experience when mobile terminal uses three-dimensional application.
As shown in fig. 3, it is a flowchart of a second embodiment of the stereoscopic application starting method applied to a mobile terminal provided by the present invention, and the flowchart includes:
step S301 to step S303 identical to step S101 to step S103;
unlike the embodiment shown in fig. 1, this embodiment further includes the following steps:
step S304, when the stereo parameter configuration information of the stereo application is updated, the network server receives the new stereo parameter configuration information of the stereo application;
step S305, generating new stereo parameter data of the stereo application according to the received new stereo parameter configuration information, and replacing the original stereo parameter data of the stereo application.
Steps S304 to S305 are directed to how the network server updates when the stereo parameter configuration information of the same stereo application changes. The updating of the stereo parameter configuration information may include: modifying the stereo effect control parameter information, deleting the stereo parameter information and the like.
And after the stereo parameter configuration information is updated offline, uploading the updated stereo parameter configuration information to a network server. And the network server generates corresponding new stereo parameter data according to the updated new stereo parameter configuration information after receiving the new stereo parameter configuration information, and replaces the original stereo parameter data of the stereo application by using the new stereo parameter data. Therefore, after a stereoscopic parameter data request sent by the mobile terminal is subsequently received, the updated new stereoscopic parameter data is sent to the mobile terminal. Therefore, the mobile terminal can start the three-dimensional application according to the new three-dimensional parameter data.
The stereoscopic application launching method of the embodiment of the present invention will be described from the mobile terminal (i.e., client) side through fig. 4-5.
As shown in fig. 4, it is a flowchart of a method for starting a stereoscopic application of a mobile terminal according to a first embodiment of the present invention, and the method includes:
step S401, when receiving a start command of the three-dimensional application, the mobile terminal sends a request command of three-dimensional parameter data to the network server;
when the user of the mobile terminal wants to start the stereoscopic application, a start command can be input to the mobile terminal through the touch screen. And when the mobile terminal receives a three-dimensional application starting command input by a user, sending a request command of three-dimensional parameter data to the network server. And after receiving the request command, the network server sends the corresponding three-dimensional parameter data to the mobile terminal.
Step S402, the mobile terminal receives the three-dimensional parameter data sent by the network server;
step S403, the mobile terminal starts the stereoscopic application in a stereoscopic manner according to the received stereoscopic parameter data.
In steps S402 to S403, after the mobile terminal receives the stereoscopic parameter data sent by the network server, the mobile terminal may directly start the stereoscopic application in a stereoscopic manner according to the stereoscopic parameter data. The three-dimensional parameter data for starting the three-dimensional application is acquired by the mobile terminal from the network server, so that the requirement of the current three-dimensional application can be met without improving the interaction capacity of the mobile terminal, and the mobile terminal is started according to the three-dimensional parameter data acquired from the network server when the three-dimensional application is started, so that a user is not required to debug the three-dimensional effect of the three-dimensional application, and the user experience when the mobile terminal uses the three-dimensional application is improved.
Specifically, when the mobile terminal starts the stereoscopic application in a stereoscopic manner according to the received stereoscopic parameter data, the method includes two steps:
firstly, analyzing received three-dimensional parameter data to obtain three-dimensional effect control parameter information of three-dimensional application; the stereoscopic effect control parameter information is used for controlling the stereoscopic effect of the stereoscopic application;
and secondly, starting the three-dimensional application, and loading the analyzed three-dimensional effect control parameter information into the three-dimensional application.
It should be noted that, because the stereoscopic effect control parameter information in the stereoscopic parameter data is uploaded to the network server after being configured on line by a professional, the stereoscopic effect when the mobile terminal starts the stereoscopic application can be ensured. Meanwhile, the stereo effect control parameter information is acquired from the network server, so that the starting terminal can be compatible with the active stereo drive and the passive stereo drive.
Please refer to fig. 5, which is a flowchart illustrating a stereoscopic application starting method of a mobile terminal according to a second embodiment of the present invention, the method includes:
step S501, which is the same as step S401 in the embodiment shown in fig. 4;
after step S501, that is, after the mobile terminal sends the request command of the stereoscopic parameter data to the network server, the method further includes:
step S502, the mobile terminal judges whether the request command is successfully sent;
in step S502, whether the request command is successfully transmitted is determined such that the mobile terminal successfully accesses the stereoscopic parameter data stored in the network server. If the determination result is yes, step S503 similar to step S402 is executed. If the determination result is negative, executing step S504;
in the embodiment of the present invention, the mobile terminal determines whether the request command is successfully sent through the prompt information of the mobile terminal or the feedback of the network server, for example, after the mobile terminal sends the request command of the stereoscopic parameter data, whether the stereoscopic parameter data sent by the network server is received is waited for within a certain time. If receiving prompt information such as network overtime, command unsuccessfully transmitted and the like, judging that the request command is unsuccessfully transmitted, otherwise, if receiving the three-dimensional parameter data, judging that the request command is successfully transmitted.
Step S504, the mobile terminal judges whether the stereo parameter data of the stereo application is stored locally;
in step S504, if the determination result is yes, that is, the mobile terminal locally stores the stereoscopic parameter data of the stereoscopic application, then step S505 is executed; if the determination result is no, that is, the mobile terminal does not locally store the stereoscopic parameter data of the stereoscopic application, step S506 is executed.
And step S505, the mobile terminal starts the stereoscopic application in a stereoscopic mode according to the stereoscopic parameter data of the stereoscopic application stored locally.
In step S505, the stereoscopic parameter data stored locally is specifically parsed to obtain stereoscopic effect control parameter information of the stereoscopic application, and when the application is started, the stereoscopic effect control parameter information obtained through parsing is loaded into the stereoscopic application.
Step S506, the stereoscopic application is started in a two-dimensional manner.
Before step S503 is executed, that is, before receiving the stereoscopic parameter data sent by the network server, the method further includes:
step S507, the mobile terminal judges whether the stereo parameter data of the stereo application stored in the network server is updated;
it should be noted that the precondition for executing step S507 is that the mobile terminal locally stores the stereoscopic application configuration file of the stereoscopic application. And if the stereo application configuration information of the stereo application is not stored locally, directly receiving the stereo application configuration file sent by the network server. When judging whether the network server has the updated three-dimensional parameter data, the specific method is as follows: the mobile terminal obtains an identification bit value for identifying the updating of the three-dimensional parameter data in the three-dimensional parameter data by accessing the three-dimensional parameter data on the network server, and determines whether the three-dimensional parameter data of the three-dimensional application stored in the network server is updated or not according to the identification bit value.
If the determination result in step S507 is yes, that is, if the stereoscopic parameter data of the stereoscopic application stored in the web server is updated, step S503 is executed. In step S503, the updated new stereoscopic parameter data sent by the network server is specifically received. After step S503 is executed, step S508 is executed. If the determination result is no, step S509 is executed.
Step S508, the mobile terminal starts the stereoscopic application in a stereoscopic mode according to the received new stereoscopic parameter data;
in step S508, the received new stereoscopic parameter data is specifically analyzed to obtain new stereoscopic effect control parameter information of the stereoscopic application, and when the application is started, the new stereoscopic effect control parameter information obtained through the analysis is loaded into the stereoscopic application.
Step S509, the stereoscopic application is started in a stereoscopic manner according to the stereoscopic parameter data of the stereoscopic application stored locally.
In step S509, the stereoscopic parameter data stored locally is specifically parsed to obtain stereoscopic effect control parameter information of the stereoscopic application, and when the application is started, the stereoscopic effect control parameter information obtained through parsing is loaded into the stereoscopic application.
The above fig. 1-5 describe the starting method of the stereoscopic application in detail from the network server (i.e. server) side and the mobile terminal (i.e. client) side, respectively, and the following describes the structure of the device adopting the above stereoscopic application starting method in detail with reference to the structure block diagrams of fig. 6-10. It is understood that, in the following description, the operation manner similar to the starting method will not be described in detail when describing the structural composition and the working principle.
Fig. 6 is a block diagram of a network server 6 applied to start a stereoscopic application of a mobile terminal according to an embodiment of the present invention, where the network server 6 includes: a transmission module 61 and a generation module 62.
A transmitting module 61, configured to receive stereoscopic parameter configuration information of a stereoscopic application;
in the embodiment of the invention, the stereo parameter configuration information of the stereo application is configured by professional staff on line, and the configured stereo application configuration information is uploaded to a network server. The stereoscopic parameter configuration information includes: stereoscopic effect control parameter information and identification information of a stereoscopic application. The stereoscopic effect control parameter information is used for identifying and controlling the stereoscopic effect parameter information of a certain stereoscopic application, and the identification information of the stereoscopic application is used for uniquely identifying the one-to-one correspondence between the stereoscopic application and a certain type of mobile terminal, so that when the certain type of mobile terminal requests the stereoscopic effect control parameter information of the certain stereoscopic application from the server, the server can uniquely determine the stereoscopic effect control parameter information of the stereoscopic application requested by the mobile terminal. The identification information of the stereoscopic application includes: one or more of a stereoscopic application name, version information, a hardware device identification number, and distribution channel information.
Wherein, the stereoscopic effect control parameter information includes: x parameter, Y parameter, Z parameter and W parameter; wherein, the X parameter represents the interchange of left and right disparity maps; the Y parameter represents the center distance of the left camera and the right camera when the left disparity map and the right disparity map are generated; the Z parameter represents the vertical distance from the focal point of the left camera and the right camera to the cameras when the left-right disparity map is generated; the W parameter represents a cropping plane that does not produce parallax, and is used to control a UI interface in a stereoscopic application to not produce parallax to adapt to a touch screen operation. The relationship between the stereo parameters in the stereo effect is shown in fig. 2. In FIG. 2, 0 is the focal point of the camera, oLRepresenting a camera producing a left view oRRepresenting the camera producing the right view.
When configuring the stereo parameter configuration information of the stereo application, an offline professional generally adopts the following method:
the method comprises the steps that three-dimensional applications such as three-dimensional games are installed on a certain type of mobile terminal, meanwhile, a desktop computer is connected externally, and the three-dimensional effect control parameter information corresponding to each three-dimensional application is adjusted according to each three-dimensional application needing to be adjusted by means of the powerful processing and interaction capacity of the desktop computer. The specific method comprises the steps of adjusting the three-dimensional effect control parameter information one by one, watching the three-dimensional effect on the mobile terminal at the same time to enable the mobile terminal to present comfortable and reasonable three-dimensional experience, taking the adjusted three-dimensional parameter as the three-dimensional parameter applicable to the game, and uploading the three-dimensional parameter to a network server for subsequent use. By way of example and not limitation, the stereoscopic effect control parameter information of the stereoscopic game a after being configured by a professional is structured as follows: 1, y, 0.04, z, 0.4, w, 0.02, and the stereoscopic effect control parameter information of the stereoscopic game B has the following structure: { "x":1.5, "y": 0.08, "z":0.6, "w":0.04 }.
A generating module 62, configured to generate stereoscopic parameter data according to the stereoscopic parameter configuration information received by the transmitting module 61;
after receiving the stereo parameter configuration information transmitted offline, the network server generates stereo parameter data for the mobile terminal to download according to the stereo parameter configuration information.
The transmitting module 61 is further configured to send the stereoscopic parameter data to the mobile terminal when receiving a request for calling the stereoscopic parameter data sent by the mobile terminal, so that the mobile terminal starts the stereoscopic application in a stereoscopic manner according to the stereoscopic parameter data.
When the mobile terminal starts the stereoscopic application, the mobile terminal needs to request the network server for stereoscopic parameter data of the stereoscopic application. And when the network server receives a request for calling the three-dimensional parameter data transmitted by the mobile terminal, the network server sends the three-dimensional parameter data corresponding to the three-dimensional application to be started by the mobile terminal to the mobile terminal according to the request of the mobile terminal. After the mobile terminal obtains the three-dimensional parameter data from the network server, the three-dimensional parameter data is analyzed to obtain three-dimensional effect control parameter information, and therefore three-dimensional application is started according to the three-dimensional effect control parameter information.
In the embodiment of the invention, when receiving the stereo parameter configuration information transmitted offline, the network server generates corresponding stereo parameter data according to the stereo parameter configuration information. And when receiving a request for calling the three-dimensional parameter data transmitted by the mobile terminal, the network server sends the three-dimensional parameter data to the mobile terminal. When the mobile terminal starts the stereo application, the stereo application can be started in a stereo mode directly according to the received stereo parameter data. So, can not need to promote current mobile terminal's interactivity alright satisfy three-dimensional application user demand on the one hand, on the other hand mobile terminal's user also need not debug stereoeffect control parameter information again, but carries out stereoeffect control parameter debugging by the professional to reach network server on with the stereoeffect control parameter who adjusts and supply the user to call, thereby guaranteed the stereoeffect of user when using three-dimensional application, improved the user experience when mobile terminal uses three-dimensional application.
Further, the transmitting module 61 is further configured to receive new stereoscopic parameter configuration information of the stereoscopic application when the stereoscopic parameter configuration information of the stereoscopic application is updated; the generating module 62 is further configured to generate new stereoscopic parameter data of the stereoscopic application and replace the original stereoscopic parameter data of the stereoscopic application when the transmitting module receives the new stereoscopic parameter data of the stereoscopic application.
And after the stereo parameter configuration information is updated offline, uploading the updated stereo parameter configuration information to a network server. And when receiving the new stereo parameter configuration information, the network server generates corresponding new stereo parameter data according to the new stereo parameter configuration information, and replaces the original stereo parameter data of the stereo application with the new stereo parameter data. Thus, after receiving the request of the stereo parameter data sent by the mobile terminal, the updated new stereo parameter data is sent to the mobile terminal. Therefore, the mobile terminal can start the three-dimensional application according to the new three-dimensional parameter data.
As shown in fig. 7, it is a block diagram of a structure of an embodiment of a stereoscopic application service system applied to a mobile terminal according to an embodiment of the present invention, where the service system includes: a processing device 7 and a web server 6.
The processing device 7 is used for configuring the stereo parameter configuration information of the stereo application and sending the configured stereo parameter configuration information to the network server 6;
the network server 6 is used for receiving the stereo parameter configuration information sent by the processing device 7; and when a request for calling the three-dimensional parameter data transmitted by the mobile terminal is received, sending the three-dimensional parameter data to the mobile terminal so that the mobile terminal starts the three-dimensional application in a three-dimensional mode according to the three-dimensional parameter data.
The network service system of the invention configures the stereo parameter configuration information of the stereo application through the offline processing device 7, and uploads the stereo parameter configuration information to the network server 6. And the network server 6 generates the stereo parameter data which can be downloaded by the mobile terminal according to the uploaded stereo parameter configuration information. When the mobile terminal starts the stereoscopic application, the mobile terminal needs to request the network server for stereoscopic parameter data of the stereoscopic application. After obtaining the three-dimensional parameter data from the network server, the mobile terminal analyzes the three-dimensional parameter data to obtain the three-dimensional effect control parameter information in the three-dimensional parameter data, so that the three-dimensional application is started according to the three-dimensional effect control parameter information. Therefore, on one hand, the requirement can be met without improving the interactivity of the conventional mobile terminal, and on the other hand, the user of the mobile terminal does not need to debug the three-dimensional parameters, so that the user experience when the mobile terminal uses the three-dimensional application is improved.
As shown in fig. 8, which is a block diagram of a mobile terminal according to a first embodiment of the present invention, the mobile terminal 8 includes: a receiving module 81, a sending module 82 and a stereo application starting module 83.
A receiving module 81, configured to receive an input start command of a stereoscopic application;
a sending module 82, configured to send a request command of the stereoscopic parameter data to the network server 8 when the receiving module 81 receives a start command of the stereoscopic application;
the receiving module 81 is further configured to receive stereoscopic parameter data sent by the network server;
when the user of the mobile terminal wants to start the stereoscopic application, a start command may be input to the mobile terminal through the receiving module 81. When the receiving module 81 of the mobile terminal receives the stereoscopic application start command input by the user, the sending module 82 sends a request command of stereoscopic parameter data to the network server 6. After receiving the request command, the network server 6 sends the corresponding stereoscopic parameter data to the mobile terminal 8.
And a stereoscopic application starting module 83, configured to start a stereoscopic application in a stereoscopic manner according to the stereoscopic parameter data received by the receiving module 81.
In this embodiment, after receiving the stereoscopic parameter data sent by the network server, the mobile terminal 8 may start the stereoscopic application in a stereoscopic manner according to the stereoscopic parameter data. The three-dimensional parameter data for starting the three-dimensional application is acquired by the mobile terminal from the network server, so that the requirement of the current three-dimensional application can be met without improving the interaction capacity of the mobile terminal, and the mobile terminal is directly started according to the three-dimensional parameter data acquired from the network server when the three-dimensional application is started, so that a user is not required to debug the three-dimensional effect of the three-dimensional application, and the user experience when the mobile terminal uses the three-dimensional application is improved.
Specifically, the stereoscopic application starting module 83 specifically includes: parsing unit 831 and startup unit 832. When the mobile terminal 8 starts the stereoscopic application in the stereoscopic manner according to the received stereoscopic parameter data, specifically, by mutual starting of the parsing unit 831 and the starting unit 832 of the stereoscopic application starting module 83. Wherein,
the parsing unit 831 is configured to parse the stereoscopic parameter data received by the receiving module 81 to obtain stereoscopic effect control parameter information of a stereoscopic application; the stereoscopic effect control parameter information is used to control the stereoscopic effect of the stereoscopic application.
A starting unit 832, configured to start the stereoscopic application, and load the stereoscopic effect control parameter information parsed by the parsing unit 831 into the stereoscopic application.
It should be noted that, because the stereoscopic effect control parameter information in the stereoscopic parameter data is uploaded to the network server after being configured on line by a professional, the stereoscopic effect when the mobile terminal starts the stereoscopic application can be ensured. Meanwhile, the stereo effect control parameter information is acquired from the network server, so that the starting terminal can be compatible with the active stereo drive and the passive stereo drive.
As shown in fig. 9, which is a block diagram of a second embodiment of a mobile terminal according to an embodiment of the present invention, compared with the mobile terminal 8 in the embodiment shown in fig. 8, the mobile terminal further includes: a first judging module 84, a second judging module 85 and a first judging module 86.
A first judging module 84, configured to, after the request command for sending the stereoscopic parameter data to the network server, judge whether the request command is sent successfully;
the first judgment module 84 judges whether the request command is successfully sent, and judges whether the mobile terminal successfully accesses the stereoscopic parameter data stored on the network server. If the judgment result is yes, the mobile terminal has successfully accessed the stereo parameter data stored on the network server.
A receiving module 81, configured to receive the stereoscopic parameter data sent by the network server 6 when the determination result of the first determining module 84 is yes;
a second judging module 85, configured to, when the judgment result of the first judging module 84 is yes, judge whether stereoscopic parameter data of a stereoscopic application is locally stored;
the stereoscopic application starting module 83 is further configured to start the stereoscopic application in a stereoscopic manner according to the locally stored stereoscopic parameter data of the stereoscopic application when the determination result of the second determining module 85 is yes, and start the stereoscopic application in a two-dimensional manner when the determination result of the second determining module 85 is no.
When the stereoscopic application is started in a stereoscopic manner according to the stereoscopic parameter data of the stereoscopic application stored locally, the stereoscopic application starting module 83 specifically analyzes the stereoscopic parameter data stored locally to obtain stereoscopic effect control parameter information of the stereoscopic application, and when the application is started, loads the stereoscopic effect control parameter information obtained by the analysis into the stereoscopic application.
The third judging module 86 is configured to judge whether the stereoscopic parameter data of the stereoscopic application stored in the network server 6 is updated before the receiving module 81 receives the stereoscopic parameter data sent by the network server 6;
the third determining module 86 determines whether the stereoscopic parameter data of the stereoscopic application stored in the network server 6 is updated on the premise that: the mobile terminal locally stores a stereo application configuration file. When judging whether the network server has the updated three-dimensional parameter data, the specific method is as follows: the mobile terminal obtains an identification bit value for identifying the updating of the three-dimensional parameter data in the three-dimensional parameter data by accessing the three-dimensional parameter data on the network server, and determines whether the three-dimensional parameter data of the three-dimensional application stored in the network server is updated or not according to the identification bit value.
A receiving module 81, configured to receive, when the determination result of the third determining module 86 is yes, the updated new stereoscopic parameter data sent by the network server 6;
the stereoscopic application starting module 83 is configured to start the stereoscopic application in a stereoscopic manner according to the new stereoscopic parameter data received by the receiving module 81; specifically, the received new stereoscopic parameter data is analyzed to obtain new stereoscopic effect control parameter information of the stereoscopic application, and the new stereoscopic effect control parameter information obtained through analysis is loaded into the stereoscopic application when the application is started.
The stereoscopic application starting module 83 is further configured to start the stereoscopic application in a stereoscopic manner according to the stereoscopic parameter data of the stereoscopic application stored locally when the determination result of the third determining module 86 is negative. Specifically, the stereoscopic parameter data stored locally is analyzed to obtain stereoscopic effect control parameter information of the stereoscopic application, and the stereoscopic effect control parameter information obtained through analysis is loaded into the stereoscopic application when the application is started.
As shown in fig. 10, it is a block diagram of a third embodiment of a mobile terminal according to an embodiment of the present invention, and the block diagram includes: a touch screen 101 and a processor 102;
the touch screen 101 is used for receiving an input starting command of the stereoscopic application;
a processor 102, configured to send a request command of stereoscopic parameter data to the web server 6 when the touch screen 101 receives a start command of a stereoscopic application; and is used for receiving the stereoscopic parameter data sent by the network server 6 and starting the stereoscopic application in a stereoscopic manner according to the received stereoscopic parameter data.
When receiving an input start command of a stereoscopic application and starting the stereoscopic application, the touch screen 101 of the mobile terminal needs to request stereoscopic parameter data of the stereoscopic application from the network server. And when the network server receives a request for calling the three-dimensional parameter data transmitted by the mobile terminal, the network server sends the three-dimensional parameter data corresponding to the three-dimensional application to be started by the mobile terminal to the mobile terminal according to the request of the mobile terminal. After the mobile terminal obtains the three-dimensional parameter data from the network server, the three-dimensional parameter data is analyzed to obtain three-dimensional effect control parameter information, and therefore three-dimensional application is started according to the three-dimensional effect control parameter information. The three-dimensional effect control parameter information for starting the three-dimensional application is acquired from the network server, so that on one hand, the use requirement of the three-dimensional application can be met without improving the interactivity of the conventional mobile terminal, on the other hand, a user of the mobile terminal does not need to debug the three-dimensional parameters, instead, a professional carries out three-dimensional parameter debugging, and the adjusted three-dimensional parameters are uploaded to the network server for the user to call, so that the three-dimensional effect of the user when the user uses the three-dimensional application is ensured, and the user experience when the mobile terminal uses the three-dimensional application is improved.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes performed by the present specification and drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.