CN117009016A - Display mode switching method, system, terminal equipment and storage medium - Google Patents
Display mode switching method, system, terminal equipment and storage medium Download PDFInfo
- Publication number
- CN117009016A CN117009016A CN202310854405.0A CN202310854405A CN117009016A CN 117009016 A CN117009016 A CN 117009016A CN 202310854405 A CN202310854405 A CN 202310854405A CN 117009016 A CN117009016 A CN 117009016A
- Authority
- CN
- China
- Prior art keywords
- display mode
- switching
- plug
- stereoscopic
- request instruction
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 65
- 230000000694 effects Effects 0.000 claims description 13
- 239000011521 glass Substances 0.000 claims description 5
- 238000009877 rendering Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 6
- 238000004891 communication Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000001747 exhibiting effect Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44521—Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
- G06F9/44526—Plug-ins; Add-ons
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/448—Execution paradigms, e.g. implementations of programming paradigms
- G06F9/4488—Object-oriented
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Telephone Function (AREA)
Abstract
The application discloses a display mode switching method, a system, terminal equipment and a storage medium, wherein the display mode switching method comprises the following steps: receiving a request instruction for switching to a target display mode, which is sent by an accessed plug-in, wherein the plug-in is a program library configured based on an android system and comprises a display mode switching interface; the plug-in is used for sending the request instruction to the screen management service according to the call instruction of the display mode switching interface, wherein the call instruction and the request instruction comprise target display mode information; and when the current display mode is a 2D plane display mode and the target display mode information is stereoscopic display mode information, switching the current display mode into a frame sequence stereoscopic display mode according to the stereoscopic display mode information. The application aims to realize the switching of a frame sequence stereoscopic display mode and a plane display mode based on an android platform.
Description
Technical Field
The present application relates to the field of stereoscopic display technologies, and in particular, to a display mode switching method, a system, a terminal device, and a storage medium.
Background
With the development and popularization of mobile intelligent equipment based on an Android system (Android), the realization of three-dimensional display through an Android platform is increasingly receiving attention. However, most of the existing stereoscopic display switching schemes of the frame sequence format rely on display card driving support, for example, the display card of the Yingweida requires 3D vision support, the display card of the AMD requires HD3D support, and the stereoscopic display switching schemes of the frame sequence format can only be realized on a personal computer platform, so that the stereoscopic display switching of the frame sequence format can not be realized by supporting an android platform.
Therefore, there is a need to propose a solution that supports the implementation of flat and stereoscopic display mode switching on an android platform.
Disclosure of Invention
The application mainly aims to provide a display mode switching method, a system, terminal equipment and a storage medium, and aims to solve the problem that the prior art cannot support an android platform to realize three-dimensional display mode switching of plane and frame sequence formats.
In order to achieve the above object, an embodiment of the present application provides a display mode switching method, which is applied to a screen management service, the display mode switching method including:
receiving a request instruction for switching to a target display mode, which is sent by an accessed plug-in, wherein the plug-in is a program library configured based on an android system and comprises a display mode switching interface; the plug-in is used for sending the request instruction to the screen management service according to the call instruction of the display mode switching interface, wherein the call instruction and the request instruction comprise target display mode information;
and when the current display mode is a 2D plane display mode and the target display mode information is stereoscopic display mode information, switching the current display mode into a frame sequence stereoscopic display mode according to the stereoscopic display mode information.
Optionally, the step of switching the current display mode to the frame sequential stereoscopic display mode includes:
and according to the frame sequence stereoscopic display mode, the left eye picture and the right eye picture are displayed in a carousel mode in a frame sequence form so that an observer can see the 3D stereoscopic picture when wearing matched glasses.
Optionally, after the step of receiving the request instruction for switching to the target display mode sent by the accessed plug-in unit, the method further includes:
and when the current display mode is a frame sequence stereoscopic display mode and the target display mode information is plane display mode information, switching the current display mode into a 2D plane display mode according to the plane display mode information.
Optionally, the step of switching the current display mode to the 2D flat display mode includes:
and displaying left and right binocular pictures according to the 2D plane display mode, wherein the left and right binocular pictures have no stereoscopic effect.
Optionally, before the step of receiving the request instruction for switching to the target display mode sent by the accessed plug-in unit, the method further includes:
and accessing the plug-in into the screen management service, wherein the plug-in is used for receiving a calling instruction for switching a display mode interface, generating the request instruction for switching to the target display mode according to the calling instruction, and sending the request instruction to the screen management service.
The embodiment of the application also provides a display mode switching system, which comprises a plug-in and a screen management service, wherein:
the plug-in is used for receiving a call instruction of switching a display mode interface, generating a request instruction of switching to a target display mode according to the call instruction of switching the display mode interface and sending the request instruction to the screen management service, wherein the plug-in is a program library configured based on an android system, the plug-in comprises the switching display mode interface, and the call instruction and the request instruction comprise target display mode information;
the screen management service is used for receiving a request instruction sent by the accessed plug-in unit and used for switching to a target display mode, and when the current display mode is a 2D plane display mode and the target display mode information is stereoscopic display mode information, the current display mode is switched to a frame sequence stereoscopic display mode according to the stereoscopic display mode information.
The embodiment of the application also provides a terminal device, which comprises a memory, a processor and a display mode switching program stored on the memory and capable of running on the processor, wherein the display mode switching program realizes the steps of the display mode switching method when being executed by the processor.
The embodiment of the application also provides a computer readable storage medium, wherein the computer readable storage medium stores a display mode switching program, and the display mode switching program realizes the steps of the display mode switching method when being executed by a processor.
The display mode switching method, the system, the terminal equipment and the storage medium provided by the embodiment of the application are applied to screen management service, and a request instruction for switching to a target display mode is sent by receiving an accessed plug-in, wherein the plug-in is a program library configured based on an android system and comprises a display mode switching interface; the plug-in is used for sending the request instruction to the screen management service according to the call instruction of the display mode switching interface, wherein the call instruction and the request instruction comprise target display mode information; and when the current display mode is a 2D plane display mode and the target display mode information is stereoscopic display mode information, switching the current display mode into a frame sequence stereoscopic display mode according to the stereoscopic display mode information. And a switch for switching the display mode in the running process is provided for the screen management service by calling the plug-in based on the android system configuration and the interface for switching the display mode. Based on the scheme of the application, the bottom screen management service can be directly driven to render and switch the target display mode according to the request instruction for switching to the target display mode sent by the plug-in, so that the problem that the prior art does not support the mutual switching between the planar display and the frame sequence three-dimensional display in the operation process of the android platform is solved.
Drawings
FIG. 1 is a schematic diagram of functional modules of a terminal device to which a mode switching device of the present application belongs;
FIG. 2 is a flowchart illustrating a mode switching method according to a first exemplary embodiment of the present application;
fig. 3 is a schematic diagram of displaying a left-eye picture and a right-eye picture in a carousel when switching to a frame sequential stereoscopic display mode according to a second exemplary embodiment of the display mode switching method of the present application;
fig. 4 is a schematic diagram of left and right binocular images continuously displayed when switching to a 2D flat display mode according to a third exemplary embodiment of the display mode switching method of the present application;
fig. 5 is a flowchart illustrating a mode switching method according to a fourth exemplary embodiment of the present application.
The achievement of the objects, functional features and advantages of the present application will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
The main solutions of the embodiments of the present application are: receiving a request instruction for switching to a target display mode sent by an accessed plug-in through a screen management service, wherein the plug-in is a program library configured based on an android system and comprises a display mode switching interface; the plug-in is used for sending the request instruction to the screen management service according to the call instruction of the display mode switching interface, wherein the call instruction and the request instruction comprise target display mode information; and when the current display mode is a 2D plane display mode and the target display mode information is stereoscopic display mode information, switching the current display mode into a frame sequence stereoscopic display mode according to the stereoscopic display mode information. And a switch for switching the display mode in the running process is provided for the screen management service by calling the plug-in based on the android system configuration and the interface for switching the display mode. Based on the scheme of the application, the bottom screen management service can be directly driven to render and switch the target display mode according to the request instruction for switching to the target display mode sent by the plug-in, so that the problem that the prior art does not support the mutual switching between the planar display and the frame sequence three-dimensional display in the operation process of the android platform is solved.
Specifically, referring to fig. 1, fig. 1 is a schematic diagram showing functional modules of a terminal device to which a mode switching device of the present application belongs. The display mode switching device can be a device which is independent of the terminal equipment and can be used for plug-in access and call and stereoscopic picture display, and the device can be carried on the terminal equipment in a hardware or software mode. The terminal equipment can be an intelligent mobile terminal with a data processing function such as a mobile phone and a tablet personal computer, and can also be a fixed terminal equipment or a server with a data processing function.
In this embodiment, the terminal device to which the display mode switching apparatus belongs at least includes an output module 110, a processor 120, a memory 130, and a communication module 140.
The memory 130 stores an operating system and a display mode switching program, and the display mode switching device may store information such as a library configured based on the android system, a call instruction for switching a display mode interface, a request instruction for switching to a target display mode sent to a screen management service according to the call instruction, a driving instruction of the received screen management service, and a target display effect after switching displayed according to the driving instruction, in the memory 130; the output module 110 may be a display screen or the like. The communication module 140 may include a WIFI module, a mobile communication module, a bluetooth module, and the like, and communicates with an external device or a server through the communication module 140.
Wherein the display mode switching program in the memory 130 when executed by the processor performs the steps of:
receiving a request instruction for switching to a target display mode, which is sent by an accessed plug-in, wherein the plug-in is a program library configured based on an android system and comprises a display mode switching interface; the plug-in is used for sending the request instruction to the screen management service according to the call instruction of the display mode switching interface, wherein the call instruction and the request instruction comprise target display mode information;
and when the current display mode is a 2D plane display mode and the target display mode information is stereoscopic display mode information, switching the current display mode into a frame sequence stereoscopic display mode according to the stereoscopic display mode information.
Further, the display mode switching program in the memory 130 when executed by the processor also implements the steps of:
and according to the frame sequence stereoscopic display mode, the left eye picture and the right eye picture are displayed in a carousel mode in a frame sequence form so that an observer can see the 3D stereoscopic picture when wearing matched glasses.
Further, the display mode switching program in the memory 130 when executed by the processor also implements the steps of:
and when the current display mode is a frame sequence stereoscopic display mode and the target display mode information is plane display mode information, switching the current display mode into a 2D plane display mode according to the plane display mode information.
Further, the display mode switching program in the memory 130 when executed by the processor also implements the steps of:
and displaying left and right binocular pictures according to the 2D plane display mode, wherein the left and right binocular pictures have no stereoscopic effect.
Further, the display mode switching program in the memory 130 when executed by the processor also implements the steps of:
and accessing the plug-in into the screen management service, wherein the plug-in is used for receiving a calling instruction for switching a display mode interface, generating the request instruction for switching to the target display mode according to the calling instruction, and sending the request instruction to the screen management service.
According to the scheme, the request instruction for switching to the target display mode, which is sent by the accessed plug-in unit, is received through the screen management service, wherein the plug-in unit is a program library configured based on an android system and comprises a display mode switching interface; the plug-in is used for sending the request instruction to the screen management service according to the call instruction of the display mode switching interface, wherein the call instruction and the request instruction comprise target display mode information; and when the current display mode is a 2D plane display mode and the target display mode information is stereoscopic display mode information, switching the current display mode into a frame sequence stereoscopic display mode according to the stereoscopic display mode information. And a switch for switching the display mode in the running process is provided for the screen management service by calling the plug-in based on the android system configuration and the interface for switching the display mode. Based on the scheme of the application, the bottom screen management service can be directly driven to render and switch the target display mode according to the request instruction for switching to the target display mode sent by the plug-in, so that the problem that the prior art does not support the mutual switching between the planar display and the frame sequence three-dimensional display in the operation process of the android platform is solved.
The first embodiment of the method of the present application is presented based on the above-described architecture of the terminal device, but not limited to the above-described architecture.
Referring to fig. 2, fig. 2 is a flowchart illustrating a mode switching method according to a first exemplary embodiment of the present application. The execution main body of the method of the embodiment may be a display mode switching device, or may be a display mode switching terminal device or a server, and the embodiment uses the display mode switching device as an example, where the display mode switching device may be integrated on a terminal device such as a smart phone, a tablet computer, etc. with a data processing function.
In this embodiment, the display mode switching method is mainly applied to a screen management service, where the screen management service is pre-accessed with a plug-in, the plug-in is a library configured based on an android system, the plug-in includes a display mode switching interface, and the plug-in is configured to send the request instruction to the screen management service according to a call instruction for switching the display mode interface.
In this embodiment, the display mode switching method includes:
step S10, receiving a request instruction for switching to a target display mode, which is sent by an accessed plug-in, wherein the plug-in is a program library configured based on an android system and comprises a display mode switching interface; the plug-in is used for sending the request instruction to the screen management service according to the call instruction of the display mode switching interface, wherein the call instruction and the request instruction comprise target display mode information.
The scheme of the embodiment mainly aims at the problems that the existing three-dimensional display mode switching can only be operated on a PC platform and the three-dimensional display of the frame sequence format is required to be driven by a software package or an SDK corresponding to a display card, and realizes the switching of the display mode based on the android platform, particularly the three-dimensional display mode of the frame sequence format, and does not depend on the driving support of the display card any more.
According to the method, a request instruction for switching to a target display mode is sent to a screen management service according to a received call instruction by responding to the received call instruction for switching the display mode interface through a pre-accessed program library based on android system configuration, namely a plug-in. Wherein, the calling instruction and the request instruction both comprise target display mode information. Alternatively, the target display mode information may include, but is not limited to, stereoscopic display mode information or planar display mode information to be switched.
Alternatively, the call instruction for switching the display mode interface may be sent to the plug-in by any display terminal and its related device. And the plug-in generates a request instruction for switching to the target display mode after receiving the call instruction for switching the display mode interface, and sends the request instruction to the screen management service.
And then, the screen management service receives a request instruction which is sent by the plug-in and is used for switching to a target display mode.
Step S20, when the current display mode is the 2D planar display mode and the target display mode information is the stereoscopic display mode information, switching the current display mode to the frame sequence stereoscopic display mode according to the stereoscopic display mode information.
Specifically, according to a received request instruction for switching to a target display mode, target display mode information is extracted, and a rendering mode is determined according to the target display mode information. And rendering the picture according to the determined rendering mode to obtain a switched target display effect, and driving the screen to display the switched target display effect obtained by rendering through the screen management service.
More specifically, when the current display mode is the 2D flat display mode and the extracted target display mode information is the stereoscopic display mode information, the current display mode, that is, the 2D flat display mode in which the 2D picture is continuously displayed, is switched to the frame sequential stereoscopic display mode according to the stereoscopic display mode information. The frame sequence stereoscopic display is a display technology capable of realizing three-dimensional pictures, and a stereoscopic effect can be created on a single display screen by rapidly switching different picture frames. This technique uses a sequence of pictures at multiple viewing angles, which are then alternately displayed on the screen at a very fast speed.
According to the scheme, the bottom screen management service can be directly driven to render and switch the target display mode according to the request instruction for switching to the target display mode sent by the plug-in, and the problem that the prior art does not support the mutual switching between the planar display and the frame sequence stereoscopic display in the operation process of the android platform is solved.
Further, based on the embodiment shown in fig. 2, in this embodiment, the step of switching the current display mode to the frame sequential stereoscopic display mode may include:
step S201, according to the frame sequence stereoscopic display mode, the left eye picture and the right eye picture are displayed in turn in a frame sequence form, so that the observer can see the 3D stereoscopic picture when wearing the matched glasses.
Specifically, if the target display mode to be switched is a frame sequence stereoscopic display mode, the left eye picture and the right eye picture are displayed in a carousel mode in a frame sequence form according to the determined frame sequence stereoscopic display mode, wherein the left eye picture and the right eye picture which are displayed in a carousel mode in the frame sequence form can be used for an observer to see the 3D stereoscopic picture when wearing matched glasses.
Referring to fig. 3, fig. 3 is a schematic diagram illustrating a left-eye screen and a right-eye screen in a carousel manner when switching to a frame sequential stereoscopic display mode according to a second exemplary embodiment of the display mode switching method of the present application. After switching to the frame sequence stereoscopic display mode, the left side picture (i.e., left eye picture) and the right side picture (i.e., right eye picture) are displayed in a carousel in the form of a frame sequence, thereby exhibiting a stereoscopic effect.
According to the embodiment, through the scheme, a switch for switching the display mode in the running process is provided for the screen management service by calling the plug-in unit based on the android system configuration and the interface for switching the display mode. Determining the rendering mode as a frame sequence display mode according to stereoscopic display mode information; according to the frame sequence display mode, the left eye picture and the right eye picture are displayed in a carousel mode in a frame sequence mode, and mode switching between a stereoscopic display mode and a planar display mode of a frame sequence format can be realized in the operation process of the android platform.
Further, based on the above-mentioned embodiment, in this embodiment, after receiving the request instruction for switching to the target display mode sent by the accessed plug-in, the step S10 may further include:
step S30, when the current display mode is a frame sequence stereoscopic display mode and the target display mode information is plane display mode information, switching the current display mode to a 2D plane display mode according to the plane display mode information.
Specifically, when the current display mode is the frame sequence stereoscopic display mode and the extracted target display mode information is the planar display mode information, the current display mode, that is, the frame sequence stereoscopic display mode is switched to the 2D planar display mode according to the planar display mode information.
Further, as an embodiment, the step of switching the current display mode to the 2D flat display mode may include:
step S301, displaying left and right binocular images according to the 2D plane display mode, wherein the left and right binocular images have no stereoscopic effect.
Specifically, when the original display mode is a stereoscopic display mode, the left and right binocular pictures are sequentially displayed according to the single frame display mode determined in the plane display mode information, wherein the left and right binocular pictures do not have a stereoscopic effect.
Referring to fig. 4, fig. 4 is a schematic diagram illustrating left and right binocular images continuously displayed when switching to the 2D flat display mode according to a third exemplary embodiment of the display mode switching method of the present application. After the display is switched to the flat display mode, the screen continuously displays left and right binocular pictures of a single frame, and no stereoscopic effect is achieved.
According to the scheme, the request instruction for switching to the target display mode sent by the accessed plug-in is received based on the screen management service, and the request instruction comprises target display mode information; and when the current display mode is a 2D plane display mode and the target display mode information is stereoscopic display mode information, switching the current display mode into a frame sequence stereoscopic display mode according to the stereoscopic display mode information. According to the embodiment of the application, the bottom screen management service can be directly driven to render and switch the target display mode according to the request instruction for switching to the target display mode sent by the plug-in, so that the problem that the prior art does not support the mutual switching between the planar display and the frame sequence stereoscopic display in the operation process of the android platform is solved.
Compared with the prior art, the embodiment provides a new plug-in based on the android system configuration, and a switch for switching the display mode in the running process is provided for screen management service by calling the plug-in based on the android system configuration and a display mode switching interface thereof, so that mode switching between a three-dimensional display mode and a planar display mode of a frame sequence format on an android platform can be supported.
Further, referring to fig. 5, fig. 5 is a flowchart illustrating a fourth exemplary embodiment of a mode switching method according to the present application. Based on the above-mentioned embodiment, in this embodiment, before receiving the request instruction for switching to the target display mode sent by the accessed plug-in step S10, the display mode switching method may further include:
and step S01, the plug-in is connected to the screen management service, and the plug-in is used for receiving a call instruction for switching a display mode interface, generating the request instruction for switching to the target display mode according to the call instruction and sending the request instruction to the screen management service.
Specifically, a plug-in unit configured on the basis of an android system in advance is accessed to a screen management service, wherein the plug-in unit is used for receiving a call instruction for switching a display mode interface. In this embodiment, the generation manner of the call instruction for switching the display mode interface may be: creating a display mode switching page for a user to input mode switching information on the display mode switching page; and generating a calling instruction for switching the display mode interface according to the mode switching information.
The system combining the display mode switching page, the plug-in unit and the screen management service is constructed through the scheme, based on the system, a call instruction for switching the display mode interface can be sent to the plug-in unit through the display mode switching page, the call instruction is received through the plug-in unit, then a request instruction for switching to a target display mode is sent to the screen management service according to the received call instruction, the request instruction is received through the screen management service, target display mode information is extracted according to the received request instruction, and a rendering mode is determined according to the target display mode information; and rendering according to the determined rendering mode to obtain a switched target display effect, and driving a screen to display the switched target display effect, so that the switching of the target display mode is realized.
According to the scheme, the request instruction for switching to the target display mode sent by the accessed plug-in is received through the screen management service, wherein the plug-in is a program library configured based on an android system and is used for sending the request instruction to the screen management service according to the calling instruction for switching the display mode interface, the plug-in comprises the switching display mode interface, and the calling instruction and the request instruction comprise target display mode information; and when the current display mode is a 2D plane display mode and the target display mode information is stereoscopic display mode information, switching the current display mode into a frame sequence stereoscopic display mode according to the stereoscopic display mode information. And a switch for switching the display mode in the running process is provided for the screen management service by calling the plug-in based on the android system configuration and the interface for switching the display mode. Based on the scheme of the application, the bottom screen management service can be directly driven to render and switch the target display mode according to the request instruction for switching to the target display mode sent by the plug-in, so that the problem that the prior art does not support the mutual switching between the planar display and the frame sequence three-dimensional display in the operation process of the android platform is solved.
In addition, the embodiment of the application also provides a display mode switching system, which comprises a plug-in and a screen management service, wherein:
the plug-in is used for receiving a call instruction of switching a display mode interface, generating a request instruction of switching to a target display mode according to the call instruction of switching the display mode interface and sending the request instruction to the screen management service, wherein the plug-in is a program library configured based on an android system, the plug-in comprises the switching display mode interface, and the call instruction and the request instruction comprise target display mode information;
the screen management service is used for receiving a request instruction sent by the accessed plug-in unit and used for switching to a target display mode, and when the current display mode is a 2D plane display mode and the target display mode information is stereoscopic display mode information, the current display mode is switched to a frame sequence stereoscopic display mode according to the stereoscopic display mode information.
The principle and implementation process of the display mode switching in this embodiment are referred to the above embodiments, and will not be described in detail herein.
In addition, the embodiment of the application also provides a terminal device, which comprises a memory, a processor and a display mode switching program stored on the memory and capable of running on the processor, wherein the display mode switching program realizes the steps of the display mode switching method when being executed by the processor.
Because the display mode switching program is executed by the processor, all the technical schemes of all the embodiments are adopted, and therefore, the display mode switching program has at least all the beneficial effects brought by all the technical schemes of all the embodiments, and is not described in detail herein.
In addition, the embodiment of the application also provides a computer readable storage medium, wherein the computer readable storage medium stores a display mode switching program, and the display mode switching program realizes the steps of the display mode switching method when being executed by a processor.
Because the display mode switching program is executed by the processor, all the technical schemes of all the embodiments are adopted, and therefore, the display mode switching program has at least all the beneficial effects brought by all the technical schemes of all the embodiments, and is not described in detail herein.
Compared with the prior art, the display mode switching method, the system, the terminal equipment and the storage medium provided by the embodiment of the application are applied to screen management service, and the request instruction for switching to the target display mode is sent by receiving the accessed plug-in, wherein the plug-in is a program library configured based on an android system and comprises a display mode switching interface; the plug-in is used for sending the request instruction to the screen management service according to the call instruction of the display mode switching interface, wherein the call instruction and the request instruction comprise target display mode information; and when the current display mode is a 2D plane display mode and the target display mode information is stereoscopic display mode information, switching the current display mode into a frame sequence stereoscopic display mode according to the stereoscopic display mode information. And a switch for switching the display mode in the running process is provided for the screen management service by calling the plug-in based on the android system configuration and the interface for switching the display mode. Based on the scheme of the application, the bottom screen management service can be directly driven to render and switch the target display mode according to the request instruction for switching to the target display mode sent by the plug-in, so that the problem that the prior art does not support the mutual switching between the planar display and the frame sequence three-dimensional display in the operation process of the android platform is solved.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present application are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) as above, comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, a controlled terminal, or a network device, etc.) to perform the method of each embodiment of the present application.
The foregoing description is only of the preferred embodiments of the present application, and is not intended to limit the scope of the application, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.
Claims (8)
1. A display mode switching method, applied to a screen management service, comprising:
receiving a request instruction for switching to a target display mode, which is sent by an accessed plug-in, wherein the plug-in is a program library configured based on an android system and comprises a display mode switching interface; the plug-in is used for sending the request instruction to the screen management service according to the call instruction of the display mode switching interface, wherein the call instruction and the request instruction comprise target display mode information;
and when the current display mode is a 2D plane display mode and the target display mode information is stereoscopic display mode information, switching the current display mode into a frame sequence stereoscopic display mode according to the stereoscopic display mode information.
2. The display mode switching method according to claim 1, wherein the step of switching the current display mode to the frame-sequential stereoscopic display mode comprises:
and according to the frame sequence stereoscopic display mode, the left eye picture and the right eye picture are displayed in a carousel mode in a frame sequence form so that an observer can see the 3D stereoscopic picture when wearing matched glasses.
3. The display mode switching method according to claim 1, wherein after the step of receiving the request instruction for switching to the target display mode sent by the accessed plug-in, the method further comprises:
and when the current display mode is a frame sequence stereoscopic display mode and the target display mode information is plane display mode information, switching the current display mode into a 2D plane display mode according to the plane display mode information.
4. The display mode switching method of claim 3, wherein the step of switching the current display mode to the 2D flat display mode comprises:
and displaying left and right binocular pictures according to the 2D plane display mode, wherein the left and right binocular pictures have no stereoscopic effect.
5. The display mode switching method according to claim 1, wherein before the step of receiving the request instruction for switching to the target display mode sent by the accessed plug-in, the method further comprises:
and accessing the plug-in into the screen management service, wherein the plug-in is used for receiving a calling instruction for switching a display mode interface, generating the request instruction for switching to the target display mode according to the calling instruction, and sending the request instruction to the screen management service.
6. A display mode switching system, the display mode switching system comprising a plug-in and a screen management service, wherein:
the plug-in is used for receiving a call instruction of switching a display mode interface, generating a request instruction of switching to a target display mode according to the call instruction of switching the display mode interface and sending the request instruction to the screen management service, wherein the plug-in is a program library configured based on an android system, the plug-in comprises the switching display mode interface, and the call instruction and the request instruction comprise target display mode information;
the screen management service is used for receiving a request instruction sent by the accessed plug-in unit and used for switching to a target display mode, and when the current display mode is a 2D plane display mode and the target display mode information is stereoscopic display mode information, the current display mode is switched to a frame sequence stereoscopic display mode according to the stereoscopic display mode information.
7. A terminal device comprising a memory, a processor and a display mode switching program stored on the memory and executable on the processor, which display mode switching program, when executed by the processor, implements the steps of the display mode switching method according to any one of claims 1-5.
8. A computer-readable storage medium, on which a display mode switching program is stored, which, when executed by a processor, implements the steps of the display mode switching method according to any one of claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310854405.0A CN117009016A (en) | 2023-07-12 | 2023-07-12 | Display mode switching method, system, terminal equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310854405.0A CN117009016A (en) | 2023-07-12 | 2023-07-12 | Display mode switching method, system, terminal equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117009016A true CN117009016A (en) | 2023-11-07 |
Family
ID=88570226
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310854405.0A Pending CN117009016A (en) | 2023-07-12 | 2023-07-12 | Display mode switching method, system, terminal equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117009016A (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102210156A (en) * | 2008-11-18 | 2011-10-05 | 松下电器产业株式会社 | Reproduction device, reproduction method, and program for stereoscopic reproduction |
US20170242572A1 (en) * | 2016-02-18 | 2017-08-24 | Fuji Xerox Co., Ltd. | Information processing apparatus and non-transitory computer readable medium |
CN109068122A (en) * | 2018-09-25 | 2018-12-21 | 上海玮舟微电子科技有限公司 | Image display method, device, equipment and storage medium |
CN109814823A (en) * | 2018-12-28 | 2019-05-28 | 努比亚技术有限公司 | 3D mode switching method, double-sided screen terminal and computer readable storage medium |
CN113259651A (en) * | 2021-07-07 | 2021-08-13 | 江西科骏实业有限公司 | Stereoscopic display method, apparatus, medium, and computer program product |
CN113835651A (en) * | 2020-06-24 | 2021-12-24 | 深圳市万普拉斯科技有限公司 | Data display processing method and device, computer equipment and storage medium |
CN114385062A (en) * | 2022-01-18 | 2022-04-22 | 北京有竹居网络技术有限公司 | Display scheme switching method and device, readable storage medium and electronic equipment |
CN115174883A (en) * | 2022-06-28 | 2022-10-11 | 深圳市安卓安科技有限公司 | Active 3D effect display method, system and equipment based on planar OLED screen |
-
2023
- 2023-07-12 CN CN202310854405.0A patent/CN117009016A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102210156A (en) * | 2008-11-18 | 2011-10-05 | 松下电器产业株式会社 | Reproduction device, reproduction method, and program for stereoscopic reproduction |
US20170242572A1 (en) * | 2016-02-18 | 2017-08-24 | Fuji Xerox Co., Ltd. | Information processing apparatus and non-transitory computer readable medium |
CN109068122A (en) * | 2018-09-25 | 2018-12-21 | 上海玮舟微电子科技有限公司 | Image display method, device, equipment and storage medium |
CN109814823A (en) * | 2018-12-28 | 2019-05-28 | 努比亚技术有限公司 | 3D mode switching method, double-sided screen terminal and computer readable storage medium |
CN113835651A (en) * | 2020-06-24 | 2021-12-24 | 深圳市万普拉斯科技有限公司 | Data display processing method and device, computer equipment and storage medium |
CN113259651A (en) * | 2021-07-07 | 2021-08-13 | 江西科骏实业有限公司 | Stereoscopic display method, apparatus, medium, and computer program product |
CN114385062A (en) * | 2022-01-18 | 2022-04-22 | 北京有竹居网络技术有限公司 | Display scheme switching method and device, readable storage medium and electronic equipment |
CN115174883A (en) * | 2022-06-28 | 2022-10-11 | 深圳市安卓安科技有限公司 | Active 3D effect display method, system and equipment based on planar OLED screen |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109271125B (en) | Screen display control method and device of split type terminal equipment and storage medium | |
US8446461B2 (en) | Three-dimensional (3D) display method and system | |
US11574613B2 (en) | Image display method, image processing method and relevant devices | |
US8723930B2 (en) | Mobile terminal and method of controlling a three-dimensional image therein | |
CN109640180B (en) | Method, device, equipment, terminal, server and storage medium for 3D display of video | |
US10860280B2 (en) | Display method and device | |
KR20150020918A (en) | Display device and control method thereof | |
CN112752085A (en) | Naked eye 3D video playing system and method based on human eye tracking | |
WO2022166712A1 (en) | Image display method, apparatus, readable medium, and electronic device | |
EP3092613B1 (en) | Image processing method and electronic device implementing the same | |
CN111258690A (en) | Method and device for constructing 3D page | |
CN112333438B (en) | Stereoscopic image processing method, apparatus, device and computer readable storage medium | |
JP5224352B2 (en) | Image display apparatus and program | |
CN112929643B (en) | 3D display device, method and terminal | |
CN117009016A (en) | Display mode switching method, system, terminal equipment and storage medium | |
CN105183288B (en) | Single-window multi-task display method and intelligent mobile terminal thereof | |
CN102984483A (en) | Three-dimensional user interface display system and method | |
CN113905186B (en) | Free viewpoint video picture splicing method, terminal and readable storage medium | |
JP2001331169A (en) | Stereoscopic video display device and information storage medium | |
CN112199147A (en) | Screen recording method and system applied to intelligent terminal and computer readable storage medium | |
CN110809147A (en) | Image processing method and device, computer storage medium and electronic equipment | |
JPH1139507A (en) | Stereoscopic image display device | |
CN103577133A (en) | Ultra-high-definition information display system and display method thereof | |
US20240220010A1 (en) | Terminal apparatus and method of operating terminal apparatus | |
WO2023231666A1 (en) | Information exchange method and apparatus, and electronic device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |