CN116847158A - Display method, device, equipment and medium - Google Patents
Display method, device, equipment and medium Download PDFInfo
- Publication number
- CN116847158A CN116847158A CN202310843698.2A CN202310843698A CN116847158A CN 116847158 A CN116847158 A CN 116847158A CN 202310843698 A CN202310843698 A CN 202310843698A CN 116847158 A CN116847158 A CN 116847158A
- Authority
- CN
- China
- Prior art keywords
- camera system
- monitoring camera
- video
- target video
- panoramic monitoring
- 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 52
- 238000012544 monitoring process Methods 0.000 claims abstract description 117
- 230000006870 function Effects 0.000 claims description 9
- 230000004044 response Effects 0.000 claims description 7
- 230000008859 change Effects 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 5
- 230000008569 process Effects 0.000 description 5
- 238000004891 communication Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 230000015572 biosynthetic process Effects 0.000 description 2
- 239000002131 composite material Substances 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 239000000203 mixture Substances 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000003786 synthesis reaction Methods 0.000 description 2
- 238000012937 correction Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000149 penetrating effect Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/443—OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
- H04N21/4438—Window management, e.g. event handling following interaction with the user interface
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/414—Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance
- H04N21/41422—Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance located in transportation means, e.g. personal vehicle
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
- H04N21/4312—Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
- H04N21/4312—Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
- H04N21/4316—Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations for displaying supplemental content in a region of the screen, e.g. an advertisement in a separate window
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Software Systems (AREA)
- Business, Economics & Management (AREA)
- Marketing (AREA)
- Closed-Circuit Television Systems (AREA)
Abstract
The application provides a display method, a device, equipment and a medium, when a target video is played, if a panoramic monitoring camera system is opened, the target video is controlled to enter a picture-in-picture mode, then a layer where the target video is located is controlled to be located on a layer where a video generated by the panoramic monitoring camera system is located, and the target video is displayed in a small window on the video generated by the panoramic monitoring camera system, so that the video can be played in a picture-in-picture mode in the small window picture while the panoramic monitoring camera system is opened, and the user experience is improved.
Description
Technical Field
The present application relates to the field of computer software communications, and in particular, to a display method, apparatus, device, and medium.
Background
The panoramic monitoring camera system (Around View Monitor, AVM) is a system which shoots images through a plurality of ultra-large wide angle fish-eye lenses, performs distortion correction and stitching on the images through a special algorithm to form panoramic images around objects, is mostly applied to vehicles, achieves functions of non-blind zone running, panoramic parking and the like, and is helpful for safe driving.
In the running or parking process of a vehicle, a panoramic monitoring camera system is usually started, and if other videos are displayed on a vehicle screen before the panoramic monitoring camera system is started, the originally displayed videos are usually returned to the background, so that the experience of a user is affected.
Disclosure of Invention
The application provides a display method, a device, equipment and a medium, which are used for playing video in a picture-in-picture mode in a small window picture-in-picture mode when a panoramic monitoring camera system is opened, so that user experience is improved.
In a first aspect, the present application provides a display method, including:
when a target video is played, if the panoramic monitoring camera system is opened, controlling the target video to carry out a picture-in-picture mode;
and controlling the layer where the target video is located to be above the layer where the video generated by the panoramic monitoring camera system is located, and displaying the target video on a small window on the video generated by the panoramic monitoring camera system.
Optionally, when the target video is played, if the panoramic surveillance camera system is turned on, the target video is controlled to enter a picture-in-picture mode, which specifically includes:
when a target video is played, if the panoramic monitoring camera system is opened, modifying a state attribute value of the panoramic monitoring camera system, and controlling the target system to control the target video to enter a picture-in-picture mode when the state attribute value is monitored to change.
Optionally, when the control target system monitors that the state attribute value changes, the control target system controls the target video to enter a picture-in-picture mode, specifically including:
and controlling the target system to monitor the state attribute value of the panoramic monitoring camera system and controlling the target video to enter a picture-in-picture mode when the state attribute value is a preset value.
Optionally, controlling the layer where the target video is located to be above the layer where the video generated by the panoramic surveillance camera system is located, specifically includes:
modifying the layer where the target video is located and the layer where the video generated by the panoramic monitoring camera system is located, and reordering the layers.
Optionally, the modifying the layer where the target video is located and the layer where the video generated by the panoramic surveillance camera system is located specifically includes:
and calling an interface from a framework layer to a hardware abstraction layer, and resetting a layer where the target video is and a layer where the video generated by the panoramic monitoring camera system is.
Optionally, displaying the target video on a small window on the video generated by the panoramic surveillance camera system specifically includes:
and calling a buffer acquisition function to acquire the video drawn by the panoramic monitoring camera system from the buffer array, and combining the video drawn by the panoramic monitoring camera system with the target video to display the target video on a small window of the video generated by the panoramic monitoring camera system.
Optionally, the method for opening the panoramic monitoring camera system includes:
in response to a click operation of the 360AVM button in the status bar, the panoramic monitoring camera system is turned on.
Optionally, the method further comprises:
and adjusting the position and/or the size of the small window in response to the sliding operation of the small window.
Optionally, the method further comprises:
and responding to the closing operation of the panoramic monitoring camera system, closing the panoramic monitoring camera system, and displaying the target video in a large window mode.
In a second aspect, the present application provides a display device comprising:
the first control module is used for controlling the target video to carry out a picture-in-picture mode if the panoramic monitoring camera system is opened when the target video is played;
and the second control module is used for controlling the layer where the target video is located to be above the layer where the video generated by the panoramic monitoring camera system is located, and displaying the target video on a small window on the video generated by the panoramic monitoring camera system.
In a third aspect, the present application provides an electronic device comprising: a memory and a processor;
the memory is used for storing instructions; the processor is configured to invoke instructions in the memory to perform the display method of the first aspect and any of the possible designs of the first aspect.
In a fourth aspect, the present application provides a computer readable storage medium having stored therein computer instructions which, when executed by at least one processor of an electronic device, perform the display method of the first aspect and any of the possible designs of the first aspect.
In a fifth aspect, the application provides a computer program product comprising computer instructions which, when executed by at least one processor of an electronic device, perform the display method of the first aspect and any of the possible designs of the first aspect.
According to the display method, the device, the equipment and the medium, when the target video is played, if the panoramic monitoring camera system is opened, the target video is controlled to enter the picture-in-picture mode, then the layer where the target video is located is controlled to be located on the layer where the video generated by the panoramic monitoring camera system is located, and the target video is displayed in the small window on the video generated by the panoramic monitoring camera system, so that the video can be played in the picture-in-picture mode in the small window picture-in-picture mode while the panoramic monitoring camera system is opened, and the user experience is improved.
Drawings
In order to more clearly illustrate the application or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the application, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a display method according to an embodiment of the application;
FIG. 2 is a diagram of a display interface of a target video according to an embodiment of the present application;
FIG. 3 is a diagram of a status bar display interface according to an embodiment of the present application;
FIG. 4 is a diagram of a PIP display interface according to an embodiment of the present application;
FIG. 5 is a flow chart of a display method according to another embodiment of the application;
FIG. 6 is a schematic diagram of a display device according to an embodiment of the application;
fig. 7 is a schematic hardware structure of an electronic device according to an embodiment of the application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present application, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The terms "or", "and/or", "including at least one of", and the like, as used herein, may be construed as inclusive, or mean any one or any combination. For example, "including at least one of: A. b, C "means" any one of the following: a, A is as follows; b, a step of preparing a composite material; c, performing operation; a and B; a and C; b and C; a and B and C ", again as examples," A, B or C "or" A, B and/or C "means" any of the following: a, A is as follows; b, a step of preparing a composite material; c, performing operation; a and B; a and C; b and C; a and B and C). An exception to this definition will occur only when a combination of elements, functions, steps or operations are in some way inherently mutually exclusive.
As described in the background art, when a video is displayed on a vehicle screen, if the panoramic surveillance camera system is turned on, the originally displayed video is usually returned to the background, and then the picture of the panoramic surveillance camera system is displayed on the vehicle screen, so that the user experience is affected.
In view of the above problems, the present application provides a display method, when a video is played, if a panoramic surveillance camera system is opened, controlling the video to enter a picture-in-picture mode, then controlling a layer where the video is located to be displayed on a layer where a picture generated by the panoramic surveillance camera system is located, and displaying the video on the picture generated by the panoramic surveillance camera system, thereby being capable of playing the video in a picture-in-picture mode in a small window picture while the panoramic surveillance camera system is opened, and improving user experience.
The technical scheme of the application is described in detail below by specific examples. The following embodiments may be combined with each other, and some embodiments may not be repeated for the same or similar concepts or processes.
Fig. 1 is a flowchart of a display method according to an embodiment of the present application. On the basis of the embodiment shown in fig. 1, as shown in fig. 1, with the electronic device as an execution body, the method of this embodiment may include the following steps:
and S101, when the target video is played, if the panoramic monitoring camera system is opened, controlling the target video to enter a picture-in-picture mode.
Optionally, the target video may be a man-machine co-driving video, or may be other video.
The video of the man-machine co-driving can be a video generated after the man-machine co-driving system is started, for example, the video generated by collecting information such as vehicles, road conditions, buildings, passers-by and the like around the vehicles in the running process of the vehicles by the vehicle-mounted monitoring system after the man-machine co-driving system is started. Then, the video generated by the vehicle-mounted monitoring system can be played on the vehicle-mounted display, so that the situation around the vehicle can be monitored in real time through the video played on the vehicle-mounted display, as shown in fig. 2. In practical application, the vehicle-mounted monitoring system may be a vehicle recorder.
The other video may be video that is played on the in-vehicle display after the in-vehicle entertainment system is started.
As one implementation, when the vehicle-mounted system is started, the video of the man-machine co-driving is automatically started in the system core service (ActivityManagerService, AMS), namely, the video of the man-machine co-driving is pulled up through an interface of the AMS after the system is unlocked. AMS is a core service penetrating through android system components and is mainly responsible for starting, switching and scheduling four large components in an android system and application process management and scheduling work.
In this embodiment, when the target video is played, the panoramic monitoring camera system may be turned on to obtain a real-time image around the vehicle, and a 360-degree look-around scene is displayed on the vehicle-mounted display, so as to assist the driver in safely and easily driving and parking the vehicle.
When the panoramic monitoring camera system needs to be opened, the status bar can be pulled out in response to the sliding operation of the user on the display screen of the vehicle-mounted display, as shown in fig. 3, and then the panoramic monitoring camera system is opened in response to the clicking operation of the 360AVM button in the status bar by the user, for example, the panoramic monitoring camera system can be opened in a startActivity manner.
In this embodiment, after the panoramic monitoring camera system is turned on, the target system may be notified to control the target system to control the target video to enter the pip mode.
As an implementation manner, after the panoramic monitoring camera system is turned on, the state attribute value of the panoramic monitoring camera system may be modified, for example, the state attribute value of the panoramic monitoring camera system may be set to 1. And then, the control target system controls the target video to enter the picture-in-picture mode when monitoring that the state attribute value changes, specifically, the control target system can monitor the state attribute value of the panoramic monitoring camera system and control the target video to enter the picture-in-picture mode when the state attribute value is a preset value, so that the target video and the video generated by the panoramic monitoring camera system can be played simultaneously.
After the panoramic monitoring camera system is opened, the video generated by the panoramic monitoring camera system needs to be played on the vehicle-mounted display, and as the layer of the panoramic monitoring camera system drawn in the active mode is very high, the layer of the video generated by the panoramic monitoring camera system is very high.
S102, controlling a layer where the target video is located to be located above a layer where the video generated by the panoramic monitoring camera system is located, and displaying the target video on a small window on the video generated by the panoramic monitoring camera system.
After the control target video enters the picture-in-picture mode, the layer where the control target video is located above the layer where the video generated by the panoramic monitoring camera system is located, namely, the layer where the control target video is located above the layer where the video generated by the panoramic monitoring camera system, so that the layer where the picture-in-picture mode is located is higher than the layer where the video generated by the panoramic monitoring camera system is located, and therefore the target video can be displayed in a small window mode on the video generated by the panoramic monitoring camera system, namely, the small window picture-in-picture video can be played while the panoramic monitoring camera system is opened in the picture-in-picture mode, as shown in fig. 4.
In this embodiment, after the target video is controlled to enter the picture-in-picture mode, the layer where the target video is located and the layer where the video generated by the panoramic monitoring camera system is located are modified, and the layers are reordered to control the layer where the target video is located to be above the layer where the video generated by the panoramic monitoring camera system is located.
In practical application, the layer of the panoramic monitoring camera system drawn in the active mode is very high, namely the layer of the video generated by the panoramic monitoring camera system is very high, so that an interface from a frame layer to a hardware abstraction layer is called, and the layer of the target video and the layer of the video generated by the panoramic monitoring camera system are reset, so that the layer of the target video is positioned above the layer of the video generated by the panoramic monitoring camera system. It should be noted that the android System includes, from top to bottom, a Framework (FWK) layer, a Hardware Abstraction (HAL) layer, a System Library (System Library) layer, and a Kernel (Kernel) layer.
Specifically, a layer reordering (setLayerOrder) method is defined by customizing in an image synthesis module (surfeflinger), so that a layer where a video generated by the panoramic monitoring system is located and a layer where a target video is located are modified, and meanwhile, a layer (SurfaceFlinger rebuildlayerStack) adjusted by the layer synthesis module is reordered. Then, a vertical synchronization signal request (requestnextsync) may be invoked to request a next Vertical Synchronization (VSYNC) signal that triggers a callback (handleMessage) function of a message queue (MessageQueue) to invoke Refresh (InValidate and Refresh) messages. When the Refresh message is processed, a buffer acquisition (AcquireBuffer) function is finally called to take out the video drawn by the panoramic monitoring camera system from a buffer queue (buffer queue), and the video drawn by the panoramic monitoring camera system is synthesized with the target video, so that a small window for playing the video can be displayed on the video generated by the panoramic monitoring camera system, the effect of a picture-in-picture mode under the panoramic monitoring camera system is achieved, and the powerful computing power of the EVB is embodied. When App draws, a block of graphics buffer is taken out of the buffer array, and after drawing is completed, the drawn graphics are buffered into the buffer array. Then, the image composition module may take out a block of the drawn graphic from the buffer array and then perform the composition process. The setLayerOrder is an interface from a java layer to a native layer, and is used for adjusting a picture layer of a picture-in-picture mode when a video enters the picture-in-picture mode under the condition that a panoramic monitoring camera system is opened. The video drawn by the panoramic monitoring camera system can be video after rendering the video generated by the panoramic monitoring camera system.
According to the display method provided by the application, when the target video is played, if the panoramic monitoring camera system is opened, the target video is controlled to enter the picture-in-picture mode, then the layer where the target video is located is controlled to be located above the layer where the video generated by the panoramic monitoring camera system is located, and the target video is displayed on the small window on the video generated by the panoramic monitoring camera system, so that the video can be played in the picture-in-picture mode while the panoramic monitoring camera system is opened, and the user experience is improved.
Fig. 5 shows a flowchart of a display method according to an embodiment of the application. On the basis of the embodiment shown in fig. 1, as shown in fig. 5, with the electronic device as an execution body, the method of this embodiment may include the following steps:
s201, when the car machine system is started, playing the target video.
Optionally, the target video is a video of man-machine co-driving, and when the car system is started, the video of man-machine co-driving is automatically started in the system core service AMS, namely, the video of man-machine co-driving is pulled up through an interface of the AMS after the system is unlocked.
S202, responding to clicking operation of a 360AVM button in a status bar, and opening the panoramic monitoring camera system.
Optionally, the user may perform a sliding operation on the display screen of the vehicle-mounted display to trigger and display the status bar, the vehicle system responds to the sliding operation of the user on the display screen of the vehicle-mounted display to pull out the status bar, and then the user may perform a clicking operation on the 360AVM button in the status bar to trigger an opening operation of the panoramic surveillance camera system, and the vehicle system responds to the clicking operation of the user on the 360AVM button in the status bar to open the panoramic surveillance camera system, for example, the panoramic surveillance camera system may be opened by a startActivity manner.
S203, modifying the state attribute value of the panoramic monitoring camera system.
After the panoramic monitoring camera system is turned on, the status attribute value of the panoramic monitoring camera system may be modified to indicate that the panoramic monitoring camera system is turned on.
S204, the control target system monitors the state attribute value of the panoramic monitoring camera system and controls the target video to enter the picture-in-picture mode when the state attribute value is a preset value.
In this embodiment, the control target system monitors the state attribute value of the panoramic monitoring camera system, and after the state attribute value of the panoramic monitoring camera system is monitored, it is determined whether the state attribute value is a preset value, if yes, the control target video enters the pip mode, and if not, the control target video does not enter the pip mode. For example, the target system may be controlled to monitor the state attribute value of the panoramic monitoring camera system at a preset time interval, and the target system may be controlled to enter the picture-in-picture mode when the state attribute value is a preset value. In practical applications, the target video can be controlled to enter the picture-in-picture mode through enterpicturelnpicturemode.
S205, controlling a layer where the target video is located to be located above a layer where the video generated by the panoramic monitoring camera system is located, and displaying the target video on a small window on the video generated by the panoramic monitoring camera system.
Step S205 is similar to the implementation of step S102 in the embodiment of fig. 1, and is not described herein.
In some embodiments, after the target video is displayed on the small window on the video generated by the panoramic monitoring camera system, the user can perform sliding operation on the small window, the car machine system responds to the sliding operation of the small window, and the position and/or the size of the small window are adjusted, so that the small window can be adjusted according to the user needs, and the user experience is further improved. In practical applications, the default size of the widget may be 480×720, and the widget may be dragged at any position on the screen, and the dragging to the outside of the screen may be restored to the corresponding position of the screen according to the position of the finger.
In some embodiments, after the target video is displayed on the small window on the video generated by the panoramic monitoring camera system, the user may perform a closing operation on the panoramic monitoring camera system, for example, may perform a clicking operation on a closing button in the video where the panoramic monitoring camera system is located. The vehicle-mounted system responds to the closing operation of the panoramic monitoring camera system by a user, closes the panoramic monitoring camera system, and displays the target video in a large window mode, for example, the target video is displayed on the whole vehicle-mounted display. After the target video enters the picture-in-picture mode, the sharing function is disabled, for example, the button to be shared can be operated in a non-clickable or hidden mode, and when the panoramic monitoring camera system is closed to display the target video in a large window, the sharing function is restored.
According to the display method provided by the application, after the target video is played, the panoramic monitoring camera system is opened in response to the click operation of the 260AVM button, the target video is controlled to enter the picture-in-picture mode, and then the layer where the target video is located is controlled to be located on the layer where the video generated by the panoramic monitoring camera system is located, so that the target video is displayed on the small window on the video generated by the panoramic monitoring camera system, the small window picture-in-picture playing video can be carried out while the panoramic monitoring camera system is opened in the picture-in-picture mode, and the user experience is improved.
Fig. 6 is a schematic structural diagram of a display device according to an embodiment of the present application, as shown in fig. 6, where the display device 10 of the present embodiment is used to implement operations corresponding to electronic equipment in any of the above method embodiments, and the display device 10 of the present embodiment includes:
the first control module 11 is configured to control the target video to perform a picture-in-picture mode if the panoramic monitoring camera system is turned on during playing of the target video;
the second control module 12 is configured to control the layer on which the target video is located to be above the layer on which the video generated by the panoramic surveillance camera system is located, and display the target video on the small window of the video generated by the panoramic surveillance camera system.
The display device 10 provided in the embodiment of the present application may execute the above-mentioned method embodiment, and the specific implementation principle and technical effects thereof may be referred to the above-mentioned method embodiment, and this embodiment is not repeated herein.
Fig. 7 shows a schematic hardware structure of an electronic device according to an embodiment of the present application. As shown in fig. 7, the electronic device 20, configured to implement operations corresponding to the electronic device in any of the above method embodiments, the electronic device 20 of this embodiment may include: a memory 21, a processor 22 and a communication interface 23.
A memory 21 for storing computer instructions. The Memory 21 may include a high-speed random access Memory (Random Access Memory, RAM), and may further include a Non-Volatile Memory (NVM), such as at least one magnetic disk Memory, and may also be a U-disk, a removable hard disk, a read-only Memory, a magnetic disk, or an optical disk.
A processor 22 for executing computer instructions stored in the memory to implement the display method in the above embodiment. Reference may be made in particular to the relevant description of the embodiments of the method described above. The processor 22 may be a central processing unit (Central Processing Unit, CPU), but may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present application may be embodied directly in a hardware processor for execution, or in a combination of hardware and software modules in a processor for execution.
Alternatively, the memory 21 may be separate or integrated with the processor 22.
The communication interface 23 may be connected to the processor 22. The processor 22 may control the communication interface 23 to perform the functions of receiving and transmitting signals.
The electronic device provided in this embodiment may be used to execute the above display method, and its implementation manner and technical effects are similar, and this embodiment is not repeated here.
The present application also provides a computer readable storage medium having stored therein computer instructions which, when executed by a processor, are adapted to carry out the methods provided by the various embodiments described above.
The present application also provides a computer program product comprising computer instructions stored in a computer readable storage medium. The computer instructions may be read from a computer-readable storage medium by at least one processor of the device, and executed by the at least one processor, cause the device to implement the methods provided by the various embodiments described above.
The embodiment of the application also provides a chip, which comprises a memory and a processor, wherein the memory is used for storing computer instructions, and the processor is used for calling and running the computer instructions from the memory, so that a device provided with the chip executes the method in various possible implementation manners.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same. Although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments may be modified or some or all of the technical features may be replaced with equivalents. Such modifications and substitutions do not depart from the spirit of the application.
Claims (12)
1. A display method, the method comprising:
when a target video is played, if the panoramic monitoring camera system is opened, controlling the target video to carry out a picture-in-picture mode;
and controlling the layer where the target video is located to be above the layer where the video generated by the panoramic monitoring camera system is located, and displaying the target video on a small window on the video generated by the panoramic monitoring camera system.
2. The method according to claim 1, wherein when the target video is played, if the panoramic surveillance camera system is turned on, controlling the target video to enter a picture-in-picture mode specifically comprises:
when a target video is played, if the panoramic monitoring camera system is opened, modifying a state attribute value of the panoramic monitoring camera system, and controlling the target system to control the target video to enter a picture-in-picture mode when the state attribute value is monitored to change.
3. The method according to claim 2, wherein the controlling the target system to control the target video to enter a picture-in-picture mode when the state attribute value is monitored to change comprises:
and controlling the target system to monitor the state attribute value of the panoramic monitoring camera system and controlling the target video to enter a picture-in-picture mode when the state attribute value is a preset value.
4. The method according to claim 2, wherein controlling the layer on which the target video is located to be above the layer on which the video generated by the panoramic monitoring camera system is located, specifically comprises:
modifying the layer where the target video is located and the layer where the video generated by the panoramic monitoring camera system is located, and reordering the layers.
5. The method of claim 4, wherein modifying the layer where the target video is located and the layer where the video generated by the panoramic surveillance camera system is located specifically comprises:
and calling an interface from a framework layer to a hardware abstraction layer, and resetting a layer where the target video is and a layer where the video generated by the panoramic monitoring camera system is.
6. The method according to claim 1, wherein the target video is displayed in a small window on the video generated by the panoramic monitoring camera system, specifically comprising:
and calling a buffer acquisition function to acquire the video drawn by the panoramic monitoring camera system from the buffer array, and combining the video drawn by the panoramic monitoring camera system with the target video to display the target video on a small window of the video generated by the panoramic monitoring camera system.
7. The method according to any one of claims 1 to 6, wherein the method for opening the panoramic monitoring camera system comprises:
in response to a click operation of the 360AVM button in the status bar, the panoramic monitoring camera system is turned on.
8. The method according to any one of claims 1-6, further comprising:
and adjusting the position and/or the size of the small window in response to the sliding operation of the small window.
9. The method according to any one of claims 1-6, further comprising:
and responding to the closing operation of the panoramic monitoring camera system, closing the panoramic monitoring camera system, and displaying the target video in a large window mode.
10. A display device, the device comprising:
the first control module is used for controlling the target video to carry out a picture-in-picture mode if the panoramic monitoring camera system is opened when the target video is played;
and the second control module is used for controlling the layer where the target video is located to be above the layer where the video generated by the panoramic monitoring camera system is located, and displaying the target video on a small window on the video generated by the panoramic monitoring camera system.
11. An electronic device, comprising: a processor, and a memory communicatively coupled to the processor;
the memory stores computer-executable instructions;
the processor executes computer-executable instructions stored in the memory to implement the display method of any one of claims 1 to 9.
12. A computer readable storage medium having stored therein computer instructions which, when executed by a processor, are adapted to carry out the display method of any one of claims 1 to 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310843698.2A CN116847158A (en) | 2023-07-10 | 2023-07-10 | Display method, device, equipment and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310843698.2A CN116847158A (en) | 2023-07-10 | 2023-07-10 | Display method, device, equipment and medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116847158A true CN116847158A (en) | 2023-10-03 |
Family
ID=88164957
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310843698.2A Pending CN116847158A (en) | 2023-07-10 | 2023-07-10 | Display method, device, equipment and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116847158A (en) |
-
2023
- 2023-07-10 CN CN202310843698.2A patent/CN116847158A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10631051B2 (en) | Method and system for starting smart television | |
WO2021008427A1 (en) | Image synthesis method and apparatus, electronic device, and storage medium | |
WO2023160234A1 (en) | Transition animation generation method, electronic device, and storage medium | |
WO2022242487A1 (en) | Display method and related device | |
CN113938727A (en) | Display device | |
CN111479059B (en) | Photographing processing method and device, electronic equipment and storage medium | |
CN113825002B (en) | Display device and focal length control method | |
CN115546410A (en) | Window display method and device, electronic equipment and storage medium | |
US9875521B2 (en) | Image output apparatus, image output method, and program | |
CN111260746A (en) | Backing image processing method, electronic device and storage medium | |
CN107197182B (en) | Method and device for displaying screen menu on television and television | |
CN111654740B (en) | Rendering method and device in video playing process and electronic equipment | |
CN112667335A (en) | Method, device and equipment for loading image frames of backing car and storage medium | |
CN109597595A (en) | Control method, device, computer equipment and the storage medium of liquid crystal display | |
CN113038141A (en) | Video frame processing method and electronic equipment | |
CN116847158A (en) | Display method, device, equipment and medium | |
CA2270705A1 (en) | Display technique for three dimensional virtual reality | |
CN108184054B (en) | Preprocessing method and preprocessing device for images shot by intelligent terminal | |
CN116527978A (en) | Multi-screen interaction control method and device | |
CN112929682B (en) | Method, device and system for transparently processing image background and electronic equipment | |
CN113096054B (en) | Image frame synthesis method, device and storage medium | |
CN116075804A (en) | Image data processing device and method | |
JP2012039516A (en) | Image display device and method for controlling the same | |
CN116719587B (en) | Screen display method, electronic device and computer readable storage medium | |
WO2022083571A1 (en) | Electronic device and prompting method for function setting thereof, and playing method for prompting file |
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 |