Monitoring picture switching method and device, electronic equipment and medium
By acquiring the status of external controls and monitoring screen information, collaborative switching instructions are generated, achieving deep collaboration between external controls and internal instructions. This solves the problem of disconnection between external controls and internal instructions in existing monitoring screen switching, and improves the screen switching efficiency and display effect of the monitoring system.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- SHENZHEN STARCAM TECH
- Filing Date
- 2026-03-20
- Publication Date
- 2026-06-02
AI Technical Summary
The existing monitoring screen switching methods suffer from disconnect between external controls and internal commands, poor display mode adaptability, and cumbersome switching operations, resulting in low screen switching efficiency and affecting the timeliness and user experience of the monitoring system.
By acquiring the status information of external controls and the current monitoring screen information, the system intelligently determines the target collaborative switching mode, generates collaborative switching instructions, and combines external switching signals and internal switching instructions to accurately determine the target monitoring display window and display the screen, thereby achieving deep collaborative cooperation between external controls and internal instructions.
It improves the efficiency and display effect of monitoring screen switching, supports flexible switching of multiple screen modes, meets the monitoring needs in different scenarios, and improves the adaptability and user experience of the monitoring system.
Smart Images

Figure CN122137938A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of video surveillance technology, specifically to a method, device, electronic device, and storage medium for switching surveillance footage. Background Technology
[0002] Surveillance systems are a core component of security protection, production monitoring, and scene monitoring. They capture live footage through cameras and transmit it to terminal devices for display. Users can switch between and view monitoring feeds via these devices, thus gaining real-time insight into the monitored area. The efficiency of feed switching and the quality of the display directly impact the timeliness and effectiveness of monitoring, making it one of the core functions of a surveillance system.
[0003] Currently, existing monitoring screen switching methods are mainly divided into two categories: one is to trigger the switching operation through external physical controls (such as joysticks, button panels, and wireless remote controls), and the other is to achieve screen switching through software commands inside the monitoring system (such as interface clicks and shortcut key settings). However, the monitoring screen switching solutions in related technologies have many shortcomings: First, external controls and internal instructions are independent of each other and do not form a collaborative mechanism. External controls can only achieve simple screen flipping and channel switching, and cannot combine with internal preset instructions to complete accurate screen adaptation. Internal instructions also cannot respond to changes in the state of external controls to make dynamic adjustments. Second, the switching between single-screen and multi-screen display modes of monitoring screens lacks intelligent adaptation. It does not combine the working status of external controls and the content characteristics of the current monitoring screen to make judgments. For example, high-definition real-time monitoring screens are prone to display blurring and loss of details in multi-screen mode, while conventional monitoring screens waste display area in single-screen mode. Third, when switching between screens of different monitoring channels, users need to perform multiple operations to match the corresponding display window. Moreover, the triggering operation of external controls is not associated with the hierarchy of monitoring display windows, resulting in low accuracy and cumbersome operation of screen switching. Fourth, the switching between single-screen and multi-screen modes relies on only a single triggering method, resulting in poor flexibility and adaptability in the switching process.
[0004] The aforementioned problems result in low screen switching efficiency in existing monitoring systems. In scenarios such as security patrols and production anomaly investigations, users are unable to quickly and accurately switch to the target monitoring screen, and may even miss key monitoring information due to poor screen display, which seriously affects the user experience and supervision effectiveness of the monitoring system. Summary of the Invention
[0005] This application provides a monitoring screen switching method, electronic device, apparatus, and storage medium to solve problems such as the disconnect between external controls and internal instructions, poor display mode adaptability, and cumbersome switching operations in existing monitoring screen switching methods.
[0006] In a first aspect, embodiments of this application provide a method for switching monitoring screens, including: Acquire the status information of external controls and the current monitoring screen information of the terminal devices running the monitoring system; The target collaborative switching mode of the monitoring screen is determined based on the status information of the external control and the current monitoring screen information; In response to a trigger operation on the external control, an external switching signal is generated, and a preset internal switching instruction is retrieved. A collaborative switching instruction is generated based on the external switching signal and the internal switching instruction, and the collaborative switching instruction carries the screen parameters of the target monitoring screen. Based on the collaborative switching instruction and the target collaborative switching mode, a target monitoring display window is determined in at least one monitoring display window in the monitoring interface of the monitoring system; The target monitoring screen is displayed through the target monitoring display window.
[0007] Optionally, in some embodiments of this application, determining the target collaborative switching mode of the monitoring screen based on the external control status information and the current monitoring screen information includes: Obtain the preset control linkage rules of the monitoring system; The target collaborative switching mode is determined based on the external control status information, the current monitoring screen information, and the preset control linkage rules.
[0008] Optionally, in some embodiments of this application, determining the target collaborative switching mode based on the external control status information, the current monitoring screen information, and the preset control linkage rules includes: In response to the external control status information indicating that the control is not activated and the current monitoring screen information being any monitoring screen content, the target collaborative switching mode is determined to be a single-screen display mode; or... In response to the external control status information indicating that the control is activated and in single-control mode, and the current monitoring screen information being non-HD real-time screen content, the target collaborative switching mode is determined to be multi-screen display mode; or... In response to the external control status information indicating that the control is activated and in single-control mode, and the current monitoring screen information being high-definition real-time screen content, the target collaborative switching mode is determined to be single-screen display mode; The high-definition real-time video content can be any of the following: a monitoring video with a resolution higher than a preset resolution, or a real-time monitoring video with a frame rate higher than a preset frame rate.
[0009] Optionally, in some embodiments of this application, determining the target monitoring display window in at least one monitoring display window of the monitoring interface of the monitoring system according to the cooperative switching instruction and the target cooperative switching mode includes: A main control unit is determined, which includes multiple sub-display units. The main control unit is used to manage the multiple sub-display units, and the sub-display units are used to load the monitoring screen corresponding to the monitoring display window in the monitoring interface of the monitoring system. The main control unit is loaded, and the main control unit determines the target sub-display unit among the multiple sub-display units according to the screen parameters in the collaborative switching instruction; Among the at least one monitoring display window, the monitoring display window corresponding to the target sub-display unit is determined as the target monitoring display window; The step of displaying the target monitoring screen through the target monitoring display window includes: The target monitoring screen is loaded through the target sub-display unit and displayed in the target monitoring display window.
[0010] Optionally, in some embodiments of this application, if the target collaborative switching mode is a multi-screen display mode, the method further includes: In response to a first collaborative operation that switches from a multi-screen display mode to a single-screen display mode, the first collaborative operation includes a first trigger operation of an external control and a first adaptation instruction within the control, adjusting the display priority of the multiple sub-display units, wherein different sub-display units have different display priorities; Based on the display priority of each sub-display unit and the monitoring screen loaded by each sub-display unit, a single sub-display unit is determined from the plurality of sub-display units so that the monitoring screen is displayed in the monitoring interface of the monitoring system only through the monitoring display window corresponding to the single sub-display unit.
[0011] Optionally, in some embodiments of this application, the method further includes: In response to a second collaborative operation that switches from a single-screen display mode to a multi-screen display mode, the second collaborative operation includes a second trigger operation of an external control and a second internal adaptation instruction, adjusting the display priority of the multiple sub-display units to the same display priority, so as to display the monitoring screen side by side in the monitoring display windows corresponding to the multiple sub-display units in the monitoring interface of the monitoring system.
[0012] Optionally, in some embodiments of this application, obtaining the screen parameters in the cooperative handover instruction includes: Obtain preset screen display rules, which are used to indicate the channel level of the monitoring screen displayed in different monitoring display windows; The screen parameters are determined based on the channel level of the target monitoring screen and the preset screen display rules.
[0013] Secondly, embodiments of this application provide a monitoring screen switching device, comprising: The acquisition module is used to acquire the status information of external controls and the current monitoring screen information of the terminal devices running the monitoring system. The first determining module is used to determine the target collaborative switching mode of the monitoring screen based on the status information of the external control and the current monitoring screen information. The generation module is used to respond to the trigger operation of the external control, generate an external switching signal, retrieve a preset internal switching instruction, and generate a collaborative switching instruction based on the external switching signal and the internal switching instruction. The collaborative switching instruction carries the screen parameters of the target monitoring screen. The second determining module is used to determine a target monitoring display window in at least one monitoring display window in the monitoring interface of the monitoring system according to the collaborative switching instruction and the target collaborative switching mode. The display module is used to display the target monitoring screen through the target monitoring display window.
[0014] Accordingly, this application also provides an electronic device, including a memory, a processor, and a processor program stored in the memory and executable on the processor, wherein the processor executes the program as described in any of the preceding methods.
[0015] This application also provides a storage medium storing a processor program that, when executed by a processor, implements the method described in any of the preceding claims.
[0016] This application provides a method, apparatus, electronic device, and storage medium for switching monitoring screens. After acquiring the status information of external controls and the current monitoring screen information of a terminal device running a monitoring system, a target collaborative switching mode for the monitoring screen is determined based on the external control status information and the current monitoring screen information. Next, in response to a trigger operation on the external control, an external switching signal is generated, and a preset internal switching instruction is retrieved. A collaborative switching instruction is generated based on the external switching signal and the internal switching instruction, the collaborative switching instruction carrying screen parameters of the target monitoring screen. Then, based on the collaborative switching instruction and the target collaborative switching mode, a target monitoring display window is determined in at least one monitoring display window in the monitoring interface of the monitoring system. Finally, the target monitoring screen is displayed through the target monitoring display window. In the monitoring screen switching solution provided in this application, the technical solution enables deep collaboration between external controls and internal commands. It intelligently determines the target collaborative switching mode for multiple screens by combining the status information of the external controls and the content characteristics of the current monitoring screen. Based on the external switching signal triggered by the external controls and the target collaborative switching mode for multiple screens, it generates collaborative switching commands based on the external switching signal triggered by the external controls and the system's preset internal switching commands, matching the target monitoring display window and displaying the screen. Simultaneously, it supports the target collaborative switching mode for multiple screens, based on the external switching signal triggered by the external controls and the collaborative switching of the system's multi-screen mode. This balances ease of operation with adaptability of screen display, effectively solving the pain points of existing monitoring screen switching, improving the screen switching efficiency and display effect of the monitoring system, and is suitable for various security, industrial, and transportation monitoring scenarios. Attached Figure Description
[0017] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0018] Figure 1 An application scenario diagram provided for an embodiment of this application; Figure 2 This is a flowchart illustrating the monitoring screen switching method provided in an embodiment of this application; Figure 3 This is a schematic diagram of the monitoring screen switching device provided in the embodiments of this application; Figure 4 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application. Detailed Implementation
[0019] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0020] In the description of this application, it should be understood that the terms "center," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," and "outer," etc., indicating orientation or positional relationships based on the orientation or positional relationships shown in the accompanying drawings, are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of this application. Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, a feature defined with "first" or "second" may explicitly or implicitly include one or more of the stated features. In the description of this application, "a plurality of" means two or more, unless otherwise explicitly specified.
[0021] As mentioned above, the screen switching in related technologies suffers from problems such as disconnect between external controls and internal commands, poor display mode adaptability, cumbersome switching operations, and low accuracy, severely impacting the timeliness and user experience of monitoring. To address these technical issues, the inventive concept of this application is as follows: by acquiring the status information of external controls and the current monitoring screen information, the target collaborative switching mode for single / multi-screen displays is intelligently determined; an external switching signal is generated in response to the triggering operation of the external controls, while simultaneously retrieving the system's preset internal switching commands and fusing them to generate a collaborative switching command carrying screen parameters; based on the collaborative switching command and the target collaborative switching mode, the target window is accurately determined and the screen is displayed in the monitoring interface's display window; simultaneously, flexible switching between single / multi-screen modes is supported through the coordinated operation of external operations and internal commands, thereby achieving intelligent, accurate, and efficient switching of monitoring screens, improving the adaptability and user experience of the monitoring system.
[0022] It should be understood that the technical solution of this application can be applied to the following scenarios, but is not limited to: security building monitoring, industrial production line monitoring, park panoramic monitoring, urban traffic road monitoring, warehouse logistics monitoring, campus monitoring, and other scenarios that require the acquisition, switching, and display of monitoring images. The technical solution of this application can be adapted to various monitoring terminal devices, realizing the coordinated cooperation between external physical controls and internal commands of the monitoring system, and meeting the monitoring image switching needs in different scenarios.
[0023] In one embodiment, Figure 1 An application scenario diagram provided for an embodiment of this application, such as... Figure 1 As shown, this application scenario may include a monitoring terminal device 110, an external control 120, and a monitoring camera 130. The monitoring terminal device 110 runs a monitoring system, and the monitoring camera 130 is used to capture images of the monitored area and transmit them to the monitoring terminal device 110. The external control 120 establishes a wired or wireless connection with the monitoring terminal device 110 and is used by the user to trigger the switching operation of the monitoring screen.
[0024] For example, the monitoring terminal device 110 can be an industrial control computer, monitoring host, monitor, tablet computer, desktop computer, integrated monitoring screen, or other terminal device with the ability to display and process monitoring images; the external control 120 can be a physical button panel, joystick controller, wireless remote control, touch panel, fingerprint recognition control, or other hardware control that can trigger external operation signals. The external control 120 can communicate with the monitoring terminal device 110 via USB, Bluetooth, WiFi, 485 bus, or other means; the monitoring camera 130 can be a high-definition network camera, PTZ camera, bullet camera, panoramic camera, or other image acquisition device. It can be deployed individually or in a network to acquire real-time images of different monitoring areas.
[0025] For example, the monitoring terminal device 110 can obtain the status information of the external control 120 and the monitoring screen information currently displayed by the monitoring system, and determine the target collaborative switching mode (single screen / multiple screens) of the monitoring screen based on the two. When the user performs a trigger operation on the external control 120, the monitoring terminal device 110 generates an external switching signal and retrieves the preset internal switching command in the system, and merges them to generate a collaborative switching command. Then, based on the collaborative switching command and the target collaborative switching mode, the target monitoring display window is determined among the multiple monitoring display windows of the monitoring interface, and finally the target monitoring screen is displayed through the target monitoring display window to realize the collaborative switching of the monitoring screen.
[0026] also, Figure 1 The number of monitoring terminal devices 110, external controls 120, and monitoring cameras 130 is merely exemplary. In practice, other numbers of devices may be included, such as multiple external controls connected to a monitoring terminal device, multiple monitoring cameras networked to transmit images to a monitoring terminal device, or multiple monitoring terminal devices linked together to display images. This application does not limit this.
[0027] After introducing the application scenarios of the embodiments of this application, the technical solution of this application will be described in detail below: Figure 2This is a flowchart illustrating the monitoring screen switching method provided in the embodiments of this application. The method can be implemented by, for example... Figure 1 The monitoring terminal device shown performs, but is not limited to, the actions described. For example... Figure 2 As shown, the method may include the following steps: S101: Obtain the status information of external controls and the current monitoring screen information of the terminal devices running the monitoring system; S102: Determine the target collaborative switching mode of the monitoring screen based on the external control status information and the current monitoring screen information. The target collaborative switching mode includes: single screen display mode or multi-screen display mode. S103: In response to the trigger operation of the external control, generate an external switching signal, retrieve a preset internal switching instruction, and generate a collaborative switching instruction based on the external switching signal and the internal switching instruction, wherein the collaborative switching instruction carries the screen parameters of the target monitoring screen; S104: Based on the cooperative switching instruction and the target cooperative switching mode, determine the target monitoring display window in at least one monitoring display window in the monitoring interface of the monitoring system; S105: Display the target monitoring screen through the target monitoring display window.
[0028] In one embodiment, external control status information refers to the working status, mode status, and other related information of the external hardware control connected to the terminal device, used to characterize whether the external control is in an operable state and the current operating mode type. For example, external control status information may include, but is not limited to: the activation status (activated / inactive) of the external control, the operating mode (single-control mode / multi-control mode; single-control mode means the external control controls only a single monitoring channel screen, multi-control mode means the external control can control multiple monitoring channel screens simultaneously), the connection status (connected / not connected), and the operating level of the external control (such as the speed adjustment level of a joystick, the function level of a button), etc. The activation status of the external control is triggered by the user through a preset operation, such as long-pressing the power button to activate the control and short-pressing the sleep button to deactivate it; the operating mode of the external control can be switched by the user through the mode button on the control, or it can be automatically matched by the monitoring system according to the number of monitoring cameras.
[0029] Current monitoring screen information refers to the characteristic and attribute information of the monitoring screen currently displayed on the monitoring interface by the monitoring system. It is used to characterize the content type, display parameters, channel information, etc., of the current screen. For example, current monitoring screen information may include, but is not limited to: the resolution, frame rate, screen type (high-definition real-time screen / regular monitoring screen / playback screen), monitoring channel number, camera type used for image acquisition, and the percentage of the screen's display area. High-definition real-time screen refers to monitoring screens that meet preset display parameters and are the screens where the monitoring system needs to highlight details; regular monitoring screens refer to ordinary monitoring screens with resolutions and frame rates lower than preset values; and playback screens refer to historical monitoring screens stored by the monitoring system.
[0030] The monitoring terminal device can obtain the status information of external controls in real time through the communication interface with the external controls. For example, it can read the button status of the physical button panel through the USB interface and obtain the connection status of the wireless remote control through the Bluetooth module. At the same time, the monitoring terminal device can extract the current monitoring screen information from its own video processing module. For example, it can obtain the resolution and frame rate parameters of the screen from the video decoding unit and obtain the monitoring channel number of the current screen from the channel management unit.
[0031] In one embodiment, the target collaborative switching mode includes a single-screen display mode and a multi-screen display mode, which are the optimal screen display modes determined by the monitoring system based on the status of external controls and the characteristics of the current monitoring screen. The single-screen display mode refers to displaying the monitoring screen through a single monitoring display window in the monitoring system's interface. This window occupies all or most of the display area of the monitoring interface and is suitable for high-definition real-time monitoring scenarios that require clear display of screen details. The multi-screen display mode refers to displaying the monitoring screen side-by-side through at least two monitoring display windows in the monitoring system's interface. Each window corresponds to the screen of one or more monitoring channels and is suitable for panoramic monitoring scenarios that require simultaneous viewing of multiple monitoring areas. For example, the multi-screen display mode can achieve various display formats such as 2-screen, 4-screen, 9-screen, and 16-screen, and the monitoring display windows can be evenly distributed or distributed in a preset proportion within the monitoring interface.
[0032] The monitoring terminal device comprehensively judges the acquired external control status information and the current monitoring screen information to determine the most suitable target collaborative switching mode for the current scene. The judgment logic will be described in detail in subsequent embodiments. This judgment process realizes intelligent adaptation of display mode with operation controls and screen content, avoiding problems such as poor screen display effect and wasted display area caused by a single display mode.
[0033] In one embodiment, a trigger operation for an external control refers to an operation performed by the user on the external control to trigger a switch in the monitoring screen. Different types of external controls correspond to different trigger operation forms. For example, if the external control is a joystick controller, the trigger operation can be moving the joystick up, down, left, or right, or pressing the joystick; if the external control is a physical button panel, the trigger operation can be pressing the number keys or clicking the function keys; if the external control is a wireless remote control, the trigger operation can be pressing the switch key or channel key on the remote control; if the external control is a touch panel, the trigger operation can be sliding, clicking, zooming, etc. on the panel.
[0034] When the monitoring terminal device detects the user's aforementioned trigger operation, it first generates an external switching signal. This signal carries information related to the user's operation intent, such as the direction of the joystick movement corresponding to switching to the previous / next channel, the pressing of the number key corresponding to a specific monitoring channel number, and a swipe operation corresponding to split-screen switching. Simultaneously, the monitoring terminal device retrieves a preset internal switching instruction based on the type of the external switching signal. Internal switching instructions are software instructions pre-stored in the monitoring system, used to implement functions such as channel matching, resolution adaptation, frame rate adjustment, and window positioning in the monitoring screen. They are the core software logic for screen switching in the monitoring system. For example, internal switching instructions may include, but are not limited to: monitoring channel matching instructions, screen resolution adaptation instructions, display window positioning instructions, split-screen mode switching instructions, and screen playback instructions. Different external switching signals correspond to different internal switching instructions. For example, if the external switching signal is "Channel 3 triggered," then the "monitoring channel 3 matching instruction" is retrieved; if the external switching signal is "4 split-screen triggered," then the "4 split-screen mode switching instruction" is retrieved.
[0035] Subsequently, the monitoring terminal equipment fuses the external switching signal with the internal switching command to generate a collaborative switching command. This command is a comprehensive switching command that combines external user operation and internal system adaptation, and is key to achieving precise switching of monitoring screens. The collaborative switching command carries the screen parameters of the target monitoring screen. These screen parameters refer to relevant parameters such as the display attributes, channel information, and window information of the target monitoring screen, used to indicate the specific characteristics and display position of the target monitoring screen. For example, screen parameters may include, but are not limited to: the channel number, resolution, frame rate, display window identifier, split-screen position, and screen type of the target monitoring screen.
[0036] In one embodiment, after generating a collaborative switching command and obtaining the image parameters it carries, the monitoring terminal device, in conjunction with the previously determined target collaborative switching mode, determines the target monitoring display window within at least one monitoring display window in the monitoring interface of the monitoring system. Here, a monitoring display window refers to an independent display area in the monitoring interface used to display the monitoring image. In single-screen display mode, the monitoring interface has only one monitoring display window, while in multi-screen display mode, the monitoring interface has multiple monitoring display windows, each with a unique window identifier or position identifier.
[0037] If the target collaborative switching mode is single-screen display mode, then there is only one monitoring display window in the monitoring interface, which is directly identified as the target monitoring display window. If the target collaborative switching mode is multi-screen display mode, then the monitoring terminal device accurately matches the corresponding window among multiple monitoring display windows as the target monitoring display window based on the screen parameters (such as display window identifier and split-screen position) in the collaborative switching command. This process combines the collaborative switching command with the display mode, ensuring that the target monitoring screen can be displayed in the appropriate window.
[0038] Finally, the monitoring terminal device loads and displays the target monitoring image through the designated target monitoring display window, achieving the final switching of the monitoring image. If the target monitoring image is a real-time captured image, the monitoring terminal device acquires and decodes the video stream from the corresponding monitoring camera and displays it in real-time in the target monitoring display window; if the target monitoring image is a historical playback image, the monitoring terminal device retrieves and decodes the corresponding video file from local storage or cloud storage and displays it in the target monitoring display window. Simultaneously, the monitoring terminal device can adjust the resolution and frame rate of the target monitoring image according to the image parameters to ensure clear and smooth image display.
[0039] In the aforementioned core process, the core innovation of this application's technical solution lies in achieving coordinated operation between external controls and internal instructions. It deeply integrates the user's external hardware operations with the monitoring system's internal software instructions, generating coordinated switching instructions that combine operational intent and system compatibility. Simultaneously, it intelligently determines the display mode by combining the status of external controls and the characteristics of the monitoring screen, realizing intelligent, precise, and efficient switching of the monitoring screen, effectively solving the problems of disconnect between external and internal operations and poor display mode adaptability in existing technologies.
[0040] In one embodiment, determining the target collaborative switching mode of the monitoring screen based on the external control status information and the current monitoring screen information in S102 includes: obtaining the preset control linkage rules of the monitoring system; and determining the target collaborative switching mode based on the external control status information, the current monitoring screen information, and the preset control linkage rules.
[0041] The preset control linkage rules refer to a set of rules pre-existing in the monitoring system, used to associate the status information of external controls, the current monitoring screen information, and the target collaborative switching mode. These rules serve as the basis for the monitoring terminal device to determine the display mode. This rule set is preset by the monitoring system developers and can also be customized by users according to the needs of the actual monitoring scenario. For example, users can adjust parameter thresholds and matching relationships in the rules within the monitoring system's settings interface. The core design logic of the preset control linkage rules is to match the display mode of the monitoring screen with the operable status of the external controls and the display requirements of the current screen, ensuring ease of operation and optimal display effect.
[0042] When determining the target collaborative switching mode, the monitoring terminal equipment first retrieves preset control linkage rules from the locally stored rule base. Then, it compares the acquired external control status information, the current monitoring screen information, and the matching conditions in the rules one by one, determining the corresponding target collaborative switching mode based on the comparison results. This process automates and standardizes the display mode determination through preset rules, avoiding the tedious manual switching of display modes and improving the intelligence level of the monitoring system.
[0043] In one embodiment, determining the target collaborative switching mode based on the external control status information, the current monitoring screen information, and the preset control linkage rules includes: determining the target collaborative switching mode as a single-screen display mode in response to the external control status information indicating that the control is not activated and the current monitoring screen information being any monitoring screen content; or, determining the target collaborative switching mode as a multi-screen display mode in response to the external control status information indicating that the control is activated and in single-control mode and the current monitoring screen information being non-HD real-time screen content; or, determining the target collaborative switching mode as a single-screen display mode in response to the external control status information indicating that the control is activated and in single-control mode and the current monitoring screen information being HD real-time screen content; wherein the HD real-time screen content is any of the following: a monitoring screen with a resolution higher than a preset resolution, or a real-time monitoring screen with a frame rate higher than a preset frame rate.
[0044] This embodiment provides specific rules for determining the target collaborative switching mode. These rules are the core of the preset control linkage rules and combine three core dimensions: the activation state of the external control, the operation mode, and the content type of the current monitoring screen. This achieves multi-dimensional and accurate determination. The following provides a detailed explanation of each determination scenario: Scenario 1: External control is not active, and the current screen displays any content. When the external control status information indicates that the control is inactive, it means that the user is not currently switching monitoring screens through the external control, and the monitoring system is in a passive display state. At this time, regardless of whether the current monitoring screen is a high-definition real-time screen, a regular monitoring screen, or a playback screen, the target collaborative switching mode is determined to be a single-screen display mode. The reason for this judgment logic is that when the external control is inactive, the user does not need to quickly switch between multiple screens. The single-screen mode can ensure the visual effect of the currently displayed screen, avoid visual distraction in the multi-screen mode, and at the same time reduce the video decoding pressure on the monitoring terminal equipment, thereby improving the system operating efficiency.
[0045] Scenario 2: The external control is activated and in single-control mode; the current screen is a non-HD real-time view. When the external control status information indicates that the control is active and in single-control mode, and the current monitoring screen information is non-HD real-time video content (i.e., regular monitoring screen, playback screen), the target collaborative switching mode is determined to be multi-screen display mode. In single-control mode, the external control only controls a single monitoring channel's screen, and the non-HD real-time video does not need to display details. In this case, multi-screen mode allows users to view screens from multiple monitoring areas simultaneously, improving the efficiency of panoramic monitoring. Meanwhile, the external control in single-control mode can meet the user's need for precise switching of a single channel's screen. The combination of both achieves a balance between panoramic monitoring and precise switching.
[0046] Scenario 3: The external control is activated and in single-control mode; the current screen is a high-definition real-time view. When the external control status information indicates that the control is active and in single-control mode, and the current monitoring screen is high-definition real-time video content, the target collaborative switching mode is determined to be single-screen display mode. High-definition real-time video content is defined as real-time monitoring video with a resolution higher than a preset resolution or frame rate higher than a preset frame rate. The preset resolution and frame rate can be customized by the user according to actual needs. For example, if the preset resolution is 1080P and the preset frame rate is 30fps, and the monitoring screen resolution is 4K or the frame rate is 60fps, it is determined to be a high-definition real-time video. This type of video is where the monitoring system needs to display key details, such as fault diagnosis screens in industrial production lines or abnormal behavior monitoring screens in security scenarios. Single-screen mode can utilize the entire display area of the monitoring interface to display the video, ensuring clear visibility of details and avoiding the loss of details caused by image compression in multi-screen mode. The external control in single-control mode allows the user to precisely control the switching of this high-definition real-time video, meeting the needs of key monitoring.
[0047] It should be noted that if the status information of the external control indicates that the control is activated and in multi-control mode, the monitoring system can automatically match the multi-screen display mode according to the number of monitoring cameras. For example, if there are 8 monitoring cameras connected in multi-control mode, the 8-screen multi-screen display mode will be automatically matched. This situation can be used as an extension condition of the preset control linkage rules, which can be set by the user according to the actual scenario. This application does not impose specific restrictions on this.
[0048] The aforementioned judgment rule enables deep linkage between the status of external controls and the content of the monitoring screen, allowing the target collaborative switching mode to accurately match the current monitoring scenario and user operation needs, taking into account both the screen display effect and the ease of operation. This is an important design aspect of the technical solution of this application.
[0049] In one embodiment, determining a target monitoring display window in at least one monitoring display window in the monitoring interface of the monitoring system according to the collaborative switching instruction and the target collaborative switching mode in S104 includes: determining a main control unit, the main control unit including multiple sub-display units, the main control unit being used to manage the multiple sub-display units, and the sub-display units being used to load the monitoring screen corresponding to the monitoring display window in the monitoring interface of the monitoring system; loading the main control unit, and determining a target sub-display unit among the multiple sub-display units according to the screen parameters in the collaborative switching instruction; and determining the monitoring display window corresponding to the target sub-display unit in the at least one monitoring display window as the target monitoring display window; correspondingly, displaying the target monitoring screen through the target monitoring display window in S105 includes: loading the target monitoring screen through the target sub-display unit to display the target monitoring screen in the target monitoring display window.
[0050] This embodiment provides a hardware / software architecture implementation scheme for determining the monitoring display window and displaying the screen. Through a hierarchical architecture of main control unit and sub-display units, it achieves fine-grained management of the monitoring display window and the monitoring screen. This architecture is the core hardware / software module for the monitoring terminal device to switch screens, similar to, but not limited to, the main controller and sub-controller in a computer system, or the parent container and child container in a container architecture. The following provides a detailed description of each unit: The main control unit is the core processing unit in the monitoring terminal equipment used to manage and control all sub-display units. It can be implemented by hardware chips (such as FPGA chips or MCU chips) or software modules (such as the window management module in the monitoring system). Its core functions include: status management of sub-display units, association matching between sub-display units and monitoring display windows, determining the target sub-display unit based on the screen parameters of the collaborative switching command, and controlling the loading and display of the sub-display unit's screen. The main control unit corresponds one-to-one with the monitoring interface of the monitoring system; one monitoring interface corresponds to one main control unit. The main control unit can contain one or more sub-display units, the specific number depending on the target collaborative switching mode. In single-screen display mode, it contains one sub-display unit; in multi-screen display mode, it contains multiple sub-display units.
[0051] A sub-display unit refers to a sub-processing unit under the main control unit, used for loading and processing monitoring images. It can also be implemented by hardware chips or software modules. Its core functions include: receiving control commands from the main control unit, loading the corresponding monitoring images (real-time video streams or historical video files), decoding and adapting the monitoring images, and transmitting the processed images to the corresponding monitoring display window for display. Each sub-display unit corresponds one-to-one with a monitoring display window in the monitoring system interface; that is, one sub-display unit corresponds to one monitoring display window. The number of sub-display units is exactly the same as the number of monitoring display windows. Each sub-display unit is independent and can load different monitoring images simultaneously or the same monitoring image.
[0052] When determining the target monitoring display window, the monitoring terminal equipment first identifies the main control unit and loads it from the hardware / software resources of the monitoring system, putting it into operation. Subsequently, the main control unit parses the screen parameters in the collaborative switching command and accurately determines the target sub-display unit among the multiple sub-display units it manages based on the screen parameters (such as display window identifier, monitoring channel number, and split screen position). Finally, the monitoring display window in the monitoring interface that has a one-to-one correspondence with the target sub-display unit is determined as the target monitoring display window.
[0053] When displaying the target monitoring screen, the target sub-display unit performs the specific screen loading operation: according to the control command of the main control unit, the target sub-display unit retrieves the video data of the target monitoring screen from the corresponding monitoring camera or storage device, performs decoding, resolution adaptation, frame rate adjustment and other processing on the video data, and then transmits the processed screen signal to the corresponding target monitoring display window, which completes the final screen display.
[0054] The aforementioned main control unit-sub-display unit architecture enables hierarchical management of monitoring display windows and screens. The independent operation of each sub-display unit ensures that the screen displays of different monitoring windows do not interfere with each other in multi-screen mode, while the centralized management of the main control unit ensures the accuracy and efficiency of screen switching. At the same time, this architecture can flexibly adapt to single / multi-screen display modes. Mode switching can be achieved simply by adjusting the number and working status of the sub-display units, thereby improving the flexibility and scalability of the monitoring system.
[0055] In one embodiment, if the target collaborative switching mode is a multi-screen display mode, the method further includes: in response to a first collaborative operation switching from a multi-screen display mode to a single-screen display mode, the first collaborative operation including a first trigger operation of an external control and an internal first adaptation instruction, adjusting the display priority of the plurality of sub-display units, wherein different sub-display units have different display priorities; determining a single sub-display unit from the plurality of sub-display units according to the display priority of each sub-display unit and the monitoring screen loaded by each sub-display unit, so as to display the monitoring screen in the monitoring interface of the monitoring system only through the monitoring display window corresponding to the single sub-display unit.
[0056] This embodiment provides a specific implementation scheme for switching from a multi-screen display mode to a single-screen display mode. This switching process is achieved through a first collaborative operation, which combines the first trigger operation of an external control with the first adaptation command within the monitoring system. This achieves a further fusion of external and internal operations, ensuring the accuracy and adaptability of the mode switching. The following provides a detailed description of each step: The first collaborative operation is the core operation that triggers the switch from multi-screen to single-screen mode. It consists of two parts: an external operation and an internal command, neither of which can be omitted. The first trigger operation of the external control refers to the specific operation performed by the user on the external control to trigger the mode switch. This operation is preset by the user, such as long-pressing the button on the joystick controller, double-clicking the "single screen" button on the physical button panel, or long-pressing the "confirm" button on the wireless remote control. The first adaptation command is an internal software command automatically generated and retrieved by the monitoring system after detecting the first trigger operation of the external control, used to implement the mode switch. For example, the first adaptation command may include: a command to adjust the display priority of the sub-display unit, a command to enlarge the monitoring display window, and a command to adapt the screen resolution. The monitoring terminal device will only execute the multi-screen to single-screen mode switch operation when both the first trigger operation and the first adaptation command are detected simultaneously. This design effectively avoids mode switching caused by user error and improves the operational stability of the monitoring system.
[0057] When the monitoring terminal device detects the first collaborative operation, it first performs an adjustment operation on the display priority of the sub-display units. In multi-screen display mode, the display priority of multiple sub-display units is the same, and the monitoring display windows corresponding to each sub-display unit are displayed side by side in the monitoring interface without any hierarchy. When the trigger mode is switched, the monitoring terminal device adjusts the display priority of multiple sub-display units according to preset rules, so that the display priority of each sub-display unit is in a different state. The adjustment rules for display priority can be preset by the user. For example, the adjustment rules may include: determining the priority based on the clarity of the monitoring image loaded by the sub-display unit (sub-display units with high-definition images have higher priority), determining the priority based on the importance of the monitoring channel corresponding to the sub-display unit (sub-display units with core monitoring channels have higher priority), determining the priority based on the intent of the first trigger operation of the external control (sub-display units pointed to when the user triggers the operation have higher priority), determining the priority based on the acquisition time of the monitoring image (sub-display units with real-time acquisition images have higher priority), etc. The display priority of each sub-display unit has a unique priority identifier, such as the numbers 1, 2, 3, etc., with larger numbers indicating higher priority.
[0058] After adjusting the display priorities of multiple sub-display units, the monitoring terminal device determines a single sub-display unit from among them based on the display priority of each sub-display unit and the monitoring images loaded by each sub-display unit. This single sub-display unit is the one with the highest display priority. If multiple sub-display units with the same highest priority exist, the determination is further made based on the characteristics of the monitoring images they load (such as whether they are high-definition real-time images or core channel images). Once the single sub-display unit is determined, the monitoring terminal device uses its corresponding monitoring display window as the sole display window in the single-screen display mode, controlling this window to be enlarged to the entire display area of the monitoring interface. At the same time, it controls the monitoring display windows corresponding to other sub-display units to be hidden or put into sleep mode. Ultimately, in the monitoring interface of the monitoring system, the monitoring image is displayed only through the monitoring display window corresponding to this single sub-display unit, realizing the switching from multi-screen display mode to single-screen display mode.
[0059] Meanwhile, when displaying images, the single sub-display unit will adaptively adjust the loaded monitoring images according to the display area size of the monitoring interface. For example, it will enlarge the resolution and optimize the frame rate to ensure that the display effect of the images in single-screen mode is clear and smooth, and avoid the image blurring caused by window enlargement.
[0060] In one embodiment, the method further includes: a second collaborative operation in response to switching from a single-screen display mode to a multi-screen display mode, the second collaborative operation including a second trigger operation of an external control and an internal second adaptation instruction, adjusting the display priority of the plurality of sub-display units to the same display priority, so as to display the monitoring screen side by side in the monitoring display windows corresponding to the plurality of sub-display units in the monitoring interface of the monitoring system.
[0061] This embodiment provides a specific implementation scheme for switching from a single-screen display mode to a multi-screen display mode, corresponding to the logic of switching from multi-screen to single-screen. This switching process is achieved through a second collaborative operation, which also combines external control operations and internal command adaptation to ensure the convenience and accuracy of mode switching. The following provides a detailed description of each step: The second collaborative operation is the core operation for triggering the single-screen to multi-screen mode switch. It consists of two parts: the second trigger operation of the external control and the second adaptation command within the monitoring system. The second trigger operation of the external control refers to the specific operation performed by the user on the external control to trigger the mode switch. This operation is also user-preset and distinct from the first trigger operation. Examples include a short press of the joystick controller's press button, a single click of the "split screen" button on the physical button panel, or pressing the "back" button on the wireless remote control. The internal second adaptation command is an internal software command automatically generated and retrieved by the monitoring system after detecting the second trigger operation of the external control. For example, the second adaptation command may include: a command to restore the display priority of the sub-display unit, a command to split the monitoring display window, and a command to load multi-channel images. Similarly, the monitoring terminal device will only execute the single-screen to multi-screen mode switch operation when both the second trigger operation and the second adaptation command are detected simultaneously, to avoid accidental operation.
[0062] When the monitoring terminal device detects the second collaborative operation, it first performs a restoration operation on the display priority of the sub-display units: restoring the different display priorities adjusted in single-screen display mode to the same display priority, so that all sub-display units are back in an equal working state. Subsequently, according to the preset screen splitting rules (such as 2-screen, 4-screen, 9-screen), the monitoring terminal device controls the monitoring display windows corresponding to each sub-display unit to restore from the hidden / sleep state to the display state, and distributes each window side by side in the monitoring interface according to the preset rules.
[0063] Simultaneously, the monitoring terminal device controls each sub-display unit to reload the corresponding monitoring screen. If a single sub-display unit in single-screen mode loads the screen of the core monitoring channel, it will still load that screen in multi-screen mode, while other sub-display units load screens of other preset monitoring channels. If the user specifies the monitoring channel to be loaded via an external control when triggering the second collaborative operation, each sub-display unit loads the corresponding screen according to the user's operation intention. Ultimately, in the monitoring interface of the monitoring system, the monitoring display windows corresponding to multiple sub-display units display their respective monitoring screens side by side, realizing the switching from single-screen display mode to multi-screen display mode.
[0064] It should be noted that during the switching between single and multi-view modes, the monitoring terminal device will retain the user's previous operation settings, such as the split-screen format of the multi-view mode and the matching relationship of monitoring channels, to avoid users having to repeatedly set up settings and improve operational convenience. At the same time, a screen transition process will be performed during the mode switching, such as fade-in and fade-out, and swipe switching, to avoid visual discomfort caused by sudden changes in the screen and optimize the user's monitoring experience.
[0065] In one embodiment, obtaining the screen parameters in the collaborative switching instruction includes: obtaining a preset screen display rule, the preset screen display rule being used to indicate the channel level of the monitoring screen displayed in different monitoring display windows; and determining the screen parameters based on the channel level of the target monitoring screen and the preset screen display rule.
[0066] This embodiment provides a specific method for determining screen parameters in collaborative switching commands. The determination of screen parameters is based on preset screen display rules and the channel level of the target monitoring screen, achieving precise matching between screen parameters and the monitoring display window. This ensures that the target monitoring screen can be displayed in the corresponding window, improving the accuracy of screen switching. The following provides a detailed description of each step: Preset display rules refer to a set of rules pre-existing in the monitoring system that indicates the relationship between different monitoring display windows and monitoring screen channel levels, serving as the basis for determining screen parameters. This rule set is preset by developers and can also be customized by users according to the needs of actual monitoring scenarios. For example, users can adjust the matching relationship between monitoring display windows and channel levels, and modify the classification criteria for channel levels, etc., in the monitoring system's settings interface. Channel level refers to the hierarchical division of all monitoring channels in the monitoring system based on factors such as the importance of the monitoring channel, the type of monitoring area, and the performance of the cameras. Different monitoring channels correspond to different channel levels. For example, channel levels can be divided into first-level, second-level, and third-level levels. First-level channels are core monitoring channels (such as key workstations in industrial production lines or entrances and exits in security scenarios), second-level channels are important monitoring channels (such as ordinary workstations in industrial production lines or corridors in security scenarios), and third-level channels are general monitoring channels (such as green belts in parks or corner areas of warehouses).
[0067] The core of the preset screen display rules is to associate different monitoring display windows with different channel levels, that is, to designate a specific monitoring display window to display the monitoring channel footage of a specific level. For example, if the monitoring system is a 4-screen multi-view display mode with 4 monitoring display windows, the preset screen display rules can be set as follows: window 1 displays the first-level monitoring footage, window 2 displays the second-level monitoring footage, window 3 displays the third-level monitoring footage, and window 4 displays the playback monitoring channel. If it is a 2-screen multi-view display mode, the rules can be set as follows: the left window displays the first-level monitoring footage, and the right window displays the second / third-level monitoring footage. In single-screen display mode, a single monitoring display window can display monitoring footage of any level, without explicit association restrictions.
[0068] The channel level of the target monitoring screen refers to the level to which the monitoring channel corresponding to the target monitoring screen belongs. The monitoring terminal equipment can extract the monitoring channel number of the target monitoring screen from the external switching signal of the collaborative switching command, and then retrieve the channel level corresponding to the channel number from the channel management library of the monitoring system, thereby determining the channel level of the target monitoring screen.
[0069] When determining the screen parameters, the monitoring terminal device first retrieves the preset screen display rules from the local rule base, then compares the determined channel level of the target monitoring screen with the association in the preset screen display rules, determines the monitoring display window associated with the channel level based on the comparison results, and integrates the identifier and position of the monitoring display window, as well as the channel number, resolution, frame rate and other information of the target monitoring screen, and finally determines the screen parameters in the collaborative switching instruction.
[0070] For example, if the channel level of the target monitoring screen is the first level, and the preset screen display rule indicates that window 1 is associated with the first level, then the screen parameters will include information such as "display window identifier: 1" and "channel level: first level"; if the channel level of the target monitoring screen is the second level, and the preset screen display rule indicates that the right window is associated with the second level, then the screen parameters will include information such as "display window position: right side" and "channel level: second level".
[0071] In one embodiment, the monitoring terminal device displays the preset screen display rules based on the application's monitoring interface. Users can view or modify these rules through the monitoring system's settings interface. If the monitoring terminal device determines that the user has not modified the preset screen display rules, it can determine the screen parameters based on those rules. If the monitoring terminal device determines that the user has modified the preset screen display rules, it can determine the screen parameters based on the modified rules. This design allows users to flexibly adjust the association between the monitoring display window and the channel hierarchy according to actual monitoring needs, making the display position of the monitoring screen more consistent with user operating habits and monitoring requirements, further enhancing the personalization and adaptability of the monitoring system.
[0072] In the above embodiments, the display window and screen parameters of the monitoring screen are determined by preset screen display rules and channel levels. This helps users understand, adapt to and predict the display situation and switching structure of the monitoring screen, allowing users to quickly locate the display position of the target monitoring screen according to the channel level, thereby improving the user's operating efficiency and monitoring experience.
[0073] To illustrate the technical solution of this application more intuitively, the following example demonstrates it in a specific monitoring scenario: A car parts manufacturing workshop has deployed 16 surveillance cameras, including 4 4K high-definition cameras deployed at key workstations such as welding and assembly (first-level channel), 8 1080P standard cameras deployed at ordinary workstations such as material transportation and inspection (second-level channel), and 4 720P cameras deployed at workshop entrances, corridors, and other areas (third-level channel). The monitoring terminal equipment is an industrial control computer, and the external control is a joystick controller. The preset resolution threshold is 1080P, and the preset frame rate threshold is 30fps. The images captured by the 4K high-definition cameras have a resolution of 4K and a frame rate of 60fps, which are judged as high-definition real-time images.
[0074] The monitoring terminal device obtains the status information of the external control as "inactive", and the current monitoring screen information is "4K high-definition real-time screen of the first-level channel". According to the preset control linkage rules, the target collaborative switching mode is determined to be the single screen display mode. The monitoring interface of the industrial control computer displays the high-definition real-time screen of the welding station in a single window. When the user presses and holds the power button on the joystick controller, the external control is activated and switched to single control mode. The monitoring terminal device updates the status information of the external control to "activated, single control mode". The current monitoring screen is still a high-definition real-time screen, so the single screen display mode is maintained. The user triggers the "switch to secondary level channel 3" operation by moving the joystick controller. The monitoring terminal device generates an external switching signal as "channel 3 trigger" and retrieves the internal switching instruction as "secondary level channel 3 matching instruction". The two are then merged to generate a collaborative switching instruction. The screen parameters carried by this instruction are "display window identifier: 1, channel number: 3, channel level: secondary, resolution: 1080P". When the monitoring terminal device detects that the current screen is a second-level conventional monitoring screen, it switches the target collaborative switching mode from a single screen to a 4-screen multi-screen display mode according to the preset control linkage rules. The main control unit manages the 4 sub-display units, which correspond to 4 monitoring display windows respectively. The main control unit determines the target sub-display unit as sub-display unit 2 based on the screen parameters of the collaborative switching command. Its corresponding monitoring display window 2 is the target monitoring display window. The material transport station screen of channel 3 is displayed through this window. The other three windows display the screens of two key stations at the first level and another channel screen at the second level, respectively. When an abnormality occurs at the welding station in the workshop, the user presses and holds the button on the joystick (first trigger operation). The monitoring terminal device detects this operation and retrieves the first adaptation instruction (priority adjustment instruction), triggering the first collaborative operation to adjust the display priority of the four sub-display units. The first sub-display unit corresponding to the welding station has the highest priority and is determined as a single sub-display unit. The monitoring interface switches to single-screen display mode, displaying a high-definition real-time image of the welding station in full screen, which is convenient for users to troubleshoot abnormalities. After the anomaly investigation is completed, the user briefly presses the joystick's press button (second trigger operation), the monitoring terminal device retrieves the second adaptation command (priority recovery command), triggers the second collaborative operation, restores the display priority of the sub-display units to the same state, the monitoring interface switches back to the 4-screen multi-view display mode, and continues panoramic monitoring.
[0075] In the above-mentioned exemplary scenarios, the technical solution of this application realizes the coordinated operation of external controls and internal instructions, and intelligently switches the display mode according to the status of external controls and the characteristics of the monitoring screen, so that users can quickly and accurately switch the monitoring screen, taking into account the needs of panoramic monitoring and key monitoring, and effectively improving the efficiency and timeliness of industrial production line monitoring.
[0076] In one embodiment, in a multi-screen display mode, in response to a trigger operation on an external control, the monitoring terminal device can determine multiple target monitoring screens and the screen parameters of each of the multiple target monitoring screens. The multiple target monitoring screens can be multiple monitoring screens that the trigger operation needs to jump to. For example, if the trigger operation is "full-channel round-robin", then the multiple target monitoring screens to jump to are the real-time screens of all monitoring channels.
[0077] The screen parameters can not only indicate the target monitoring display window displaying the target monitoring screen, but also include the loading order and loading time of the target sub-display units corresponding to the target monitoring display window, as well as the preset animation display mode of the target monitoring display window. Subsequently, the monitoring terminal device can determine the target sub-display units and target monitoring display windows corresponding to each of the multiple target monitoring screens according to the above embodiment, and load the multiple target sub-display units according to the loading order and loading time in the screen parameters of each of the multiple target monitoring screens, and display the monitoring display windows according to the multiple preset animation display modes.
[0078] Specifically, the monitoring terminal device can obtain the network connection status of the terminal device and the priority order of multiple target sub-display units. Based on the network connection status and the priority order, it determines the loading order and loading time of each target sub-display unit. For example, the network connection status can be represented by signal strength. If the signal strength is greater than the signal strength threshold, the loading order and loading time of multiple target sub-display units can be determined to be the same, enabling the simultaneous loading and display of multiple monitoring screens. If the signal strength is less than or equal to the signal strength threshold, the loading order of multiple target sub-display units can be determined to be consistent with the priority order of the target sub-display units. The loading time of the highest priority target sub-display unit is later than the preset waiting time after the determination of the multiple target sub-display units. The loading times of other target sub-display units, except for the highest priority target sub-display unit, are sequentially later than the loading time of the highest priority target sub-display unit according to their priority order. This design can simultaneously load the images of multiple target sub-display units when the network connection is good, i.e., the signal strength is high, providing a better visual experience; when the network connection is poor, i.e., the signal strength is low, it provides stable data transmission through a preset waiting time and prioritizes loading the images of higher priority sub-display units, maximizing the display effect of the monitoring screen and avoiding image loading failure due to network lag.
[0079] The priority of a target sub-display unit can be determined based on the channel level of the target monitoring screen corresponding to the target sub-display unit. The sub-display units corresponding to the first-level channel have the highest priority, followed by the second-level channel, and the third-level channel has the lowest priority, so as to prioritize the display of the screen of the core monitoring channel and ensure the timeliness of monitoring.
[0080] For example, preset animation display methods may include: a sliding display method based on a preset sliding direction, a display method that gradually expands from small to large, a display method that gradually decreases in transparency, and a display method that fades in and out, but are not limited to the above methods. By setting animation display methods for switching monitoring screens, users can be provided with a richer visual experience and avoid the abruptness of screen transitions.
[0081] Furthermore, considering users' viewing habits for different monitoring channels and the content characteristics of the monitoring images, the technical solution of this application can also combine the historical trigger records of users' views of the target monitoring images recorded in the monitoring terminal equipment with the content characteristics of the monitoring images to trigger automatic switching of the display mode, thereby further improving the intelligence level of the monitoring system. Specifically, in the multi-screen display mode, after determining the target monitoring display window according to the collaborative switching instruction and the target collaborative switching mode, the process may further include: obtaining the total number of triggers, the total display duration, and the number and duration of the target monitoring screen displayed in single-screen display mode on the terminal device within a preset period, as recorded by the monitoring terminal device; calculating the first screen parameters of the target monitoring screen based on the total number of triggers, the total display duration, the number of single-screen displays, and the single-screen display duration; simultaneously, obtaining the screen content of the target monitoring screen and obtaining the second screen parameters of the target monitoring screen based on the screen content; determining the target screen parameters of the target monitoring screen based on the first and second screen parameters; and automatically switching from the multi-screen display mode to the single-screen display mode if the target screen parameters are greater than a preset parameter threshold, so that the monitoring interface of the monitoring system only displays the target monitoring display window and displays the target monitoring screen through the target monitoring display window.
[0082] The first screen parameter indicates the probability that the target monitoring screen will be displayed in single-screen mode, and can be calculated using a preset formula combined with the user's historical usage records. The second screen parameter indicates whether the content characteristics of the target monitoring screen are suitable for single-screen display; for example, if it is a high-definition real-time screen, the second screen parameter is 1, and if it is a regular monitoring screen, it is 0. The target screen parameter is a weighted sum of the first and second screen parameters, used to comprehensively determine whether the target monitoring screen is suitable for single-screen display. This design allows the monitoring system to automatically switch display modes based on user habits and screen content characteristics, further reducing the number of user operations and improving the personalization and adaptability of the monitoring system.
[0083] This application provides a monitoring screen switching method. After acquiring the status information of external controls and the current monitoring screen information of the terminal device running the monitoring system, a target collaborative switching mode for the monitoring screen is determined based on the external control status information and the current monitoring screen information. Then, in response to a trigger operation on the external control, an external switching signal is generated, and a preset internal switching instruction is retrieved. A collaborative switching instruction is generated based on the external switching signal and the internal switching instruction, the collaborative switching instruction carrying the screen parameters of the target monitoring screen. Next, based on the collaborative switching instruction and the target collaborative switching mode, a target monitoring display window is determined in at least one monitoring display window in the monitoring interface of the monitoring system. Finally, the target monitoring screen is displayed through the target monitoring display window. In the monitoring screen switching scheme provided by this application, deep collaboration between external controls and internal instructions can be achieved. The target collaborative switching mode for single / multiple screens is intelligently determined by combining the status information of the external control and the content characteristics of the current monitoring screen. A collaborative switching instruction is generated based on the external switching signal triggered by the external control and the system's preset internal switching instruction, accurately matching the target monitoring display window and displaying the screen. Simultaneously, single / multiple screens are supported. The collaborative switching of multiple screen modes balances ease of operation and adaptability of screen display, effectively solving the pain points of existing monitoring screen switching, improving the screen switching efficiency and display effect of the monitoring system, and is suitable for various security, industrial, transportation and other monitoring scenarios.
[0084] To facilitate better implementation of the monitoring screen switching method of this application embodiment, this application embodiment also provides a monitoring screen switching device, wherein the meanings of the terms are the same as those in the monitoring screen switching method described above, and specific implementation details can be found in the description of the system embodiment.
[0085] Please see Figure 3 , Figure 3 This is a schematic diagram of the monitoring screen switching device provided in an embodiment of this application. Specifically, the monitoring screen switching device may include an acquisition module 201, a first determination module 202, a generation module 203, a second determination module 204, and a display module 205, as follows: The acquisition module 201 is used to acquire the status information of external controls and the current monitoring screen information of the terminal devices running the monitoring system. The first determining module 202 is used to determine the target collaborative switching mode of the monitoring screen based on the external control status information and the current monitoring screen information. The generation module 203 is used to generate an external switching signal in response to a trigger operation on the external control, and to retrieve a preset internal switching instruction, and generate a collaborative switching instruction based on the external switching signal and the internal switching instruction, wherein the collaborative switching instruction carries the screen parameters of the target monitoring screen. The second determining module 204 is used to determine a target monitoring display window in at least one monitoring display window in the monitoring interface of the monitoring system according to the collaborative switching instruction and the target collaborative switching mode. The display module 205 is used to display the target monitoring screen through the target monitoring display window.
[0086] This application embodiment provides a monitoring screen switching device. After the acquisition module 201 acquires the external control status information and current monitoring screen information of the terminal device running the monitoring system, the first determining module 202 determines the target collaborative switching mode of the monitoring screen based on the external control status information and the current monitoring screen information. Then, the generation module 203 generates an external switching signal in response to the trigger operation of the external control and retrieves a preset internal switching instruction. Based on the external switching signal and the internal switching instruction, a collaborative switching instruction is generated, which carries the screen parameters of the target monitoring screen. Then, the second determining module 204 determines the target monitoring display window in at least one monitoring display window in the monitoring interface of the monitoring system based on the collaborative switching instruction and the target collaborative switching mode. Finally, the display mode is displayed. Block 205 displays the target monitoring screen through the target monitoring display window. In the monitoring screen switching scheme provided in this application, the technical solution of this application can realize deep collaboration between external controls and internal instructions. It can intelligently determine the target collaborative switching mode of single screen or multiple screens by combining the status information of external controls and the content characteristics of the current monitoring screen. It generates collaborative switching instructions based on the external switching signals triggered by external controls and the internal switching instructions preset by the system, matches the target monitoring display window and displays the screen. At the same time, it supports the target collaborative switching mode of multiple screens. Based on the external switching signals triggered by external controls and the collaborative switching of multiple screen modes, it takes into account the convenience of operation and the adaptability of screen display, effectively solves the pain points of existing monitoring screen switching, improves the screen switching efficiency and display effect of the monitoring system, and is suitable for various security, industrial, transportation and other monitoring scenarios.
[0087] Furthermore, embodiments of this application also provide an electronic device, such as... Figure 4 As shown, it illustrates a structural schematic diagram of the electronic device involved in the embodiments of this application, specifically: The electronic device may include components such as a processor 301 with one or more processing cores, a memory 302 with one or more processor-readable storage media, a power supply 303, and an input unit 304. Those skilled in the art will understand that... Figure 4 The electronic device structure shown does not constitute a limitation on the electronic device and may include more or fewer components than shown, or combine certain components, or have different component arrangements. Wherein: Processor 301 is the control center of the electronic device. It connects various parts of the electronic device via various interfaces and lines. By running or executing software programs and / or modules stored in memory 302, and by calling data stored in memory 302, it performs various functions and processes data, thereby providing overall monitoring of the electronic device. Optionally, processor 301 may include one or more processing cores; preferably, processor 301 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and applications, and the modem processor mainly handles the switching of wireless monitoring screens. It is understood that the modem processor may not be integrated into processor 301.
[0088] The memory 302 can be used to store software programs and modules. The processor 301 executes various functional applications and monitoring screen switching methods by running the software programs and modules stored in the memory 302. The memory 302 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as sound playback function, image playback function, etc.), etc.; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 302 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 302 may also include a memory controller to provide the processor 301 with access to the memory 302.
[0089] The electronic device also includes a power supply 303 that supplies power to various components. Preferably, the power supply 303 can be logically connected to the processor 301 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. The power supply 303 may also include one or more DC or AC power supplies, recharging systems, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components.
[0090] The electronic device may also include an input unit 304, which can be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
[0091] Although not shown, the electronic device may also include a display unit, etc., which will not be described in detail here. Specifically, in the embodiments of this application, the processing 301 in the electronic device loads the executable files corresponding to the processes of one or more applications into the memory 302 according to the following instructions, and the processing 301 runs the applications stored in the memory 302 to realize various functions, as follows: The system acquires the status information of external controls and the current monitoring screen information of the terminal device running the monitoring system; determines the target collaborative switching mode of the monitoring screen based on the external control status information and the current monitoring screen information; generates an external switching signal in response to a trigger operation on the external control and retrieves a preset internal switching instruction; generates a collaborative switching instruction based on the external switching signal and the internal switching instruction, the collaborative switching instruction carrying the screen parameters of the target monitoring screen; determines a target monitoring display window in at least one monitoring display window in the monitoring interface of the monitoring system based on the collaborative switching instruction and the target collaborative switching mode; and displays the target monitoring screen through the target monitoring display window.
[0092] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.
[0093] In this embodiment, after obtaining the external control status information and current monitoring screen information of the terminal device running the monitoring system, the target collaborative switching mode of the monitoring screen is determined based on the external control status information and the current monitoring screen information. Then, in response to a trigger operation on the external control, an external switching signal is generated, and a preset internal switching instruction is retrieved. A collaborative switching instruction is generated based on the external switching signal and the internal switching instruction, the collaborative switching instruction carrying the screen parameters of the target monitoring screen. Next, based on the collaborative switching instruction and the target collaborative switching mode, a target monitoring display window is determined in at least one monitoring display window in the monitoring interface of the monitoring system. Finally, the target monitoring screen is displayed through the target monitoring display window. This application provides a monitoring screen switching... In this alternative solution, the technical solution of this application enables deep collaboration between external controls and internal commands. It intelligently determines the target collaborative switching mode for multiple screens by combining the status information of the external controls and the content characteristics of the current monitoring screen. Based on the external switching signals triggered by the external controls and the system's preset internal switching commands, it generates collaborative switching commands, matches the target monitoring display window, and displays the screen. Simultaneously, it supports the target collaborative switching mode for multiple screens, balancing ease of operation and screen display adaptability. This effectively solves the pain points of existing monitoring screen switching, improves the screen switching efficiency and display effect of the monitoring system, and is suitable for various security, industrial, and transportation monitoring scenarios.
[0094] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be performed by instructions, or by instructions controlling related hardware. These instructions can be stored in a processor-readable storage medium and loaded and executed by a processor.
[0095] Therefore, embodiments of this application provide a storage medium storing multiple instructions that can be loaded by a processor to execute steps in any of the monitoring screen switching methods provided in embodiments of this application. For example, the instructions can execute the following steps: The system acquires the status information of external controls and the current monitoring screen information of the terminal device running the monitoring system; determines the target collaborative switching mode of the monitoring screen based on the external control status information and the current monitoring screen information; generates an external switching signal in response to a trigger operation on the external control and retrieves a preset internal switching instruction; generates a collaborative switching instruction based on the external switching signal and the internal switching instruction, the collaborative switching instruction carrying the screen parameters of the target monitoring screen; determines a target monitoring display window in at least one monitoring display window in the monitoring interface of the monitoring system based on the collaborative switching instruction and the target collaborative switching mode; and displays the target monitoring screen through the target monitoring display window.
[0096] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.
[0097] The storage medium may include: read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.
[0098] Since the instructions stored in the storage medium can execute the steps in any of the monitoring screen switching methods provided in the embodiments of this application, the beneficial effects that any of the monitoring screen switching methods provided in the embodiments of this application can achieve can be realized. For details, please refer to the previous embodiments, which will not be repeated here.
[0099] The above provides a detailed description of a monitoring screen switching method, apparatus, electronic device, and storage medium provided in the embodiments of this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims
1. A method for switching monitoring screens, characterized in that, include: Acquire the status information of external controls and the current monitoring screen information of the terminal devices running the monitoring system; The target collaborative switching mode of the monitoring screen is determined based on the status information of the external control and the current monitoring screen information; In response to a trigger operation on the external control, an external switching signal is generated, and a preset internal switching instruction is retrieved. A collaborative switching instruction is generated based on the external switching signal and the internal switching instruction, and the collaborative switching instruction carries the screen parameters of the target monitoring screen. Based on the collaborative switching instruction and the target collaborative switching mode, a target monitoring display window is determined in at least one monitoring display window in the monitoring interface of the monitoring system; The target monitoring screen is displayed through the target monitoring display window.
2. The method according to claim 1, characterized in that, The step of determining the target collaborative switching mode of the monitoring screen based on the external control status information and the current monitoring screen information includes: Obtain the preset control linkage rules of the monitoring system; The target collaborative switching mode is determined based on the external control status information, the current monitoring screen information, and the preset control linkage rules.
3. The method according to claim 2, characterized in that, The step of determining the target collaborative switching mode based on the external control status information, the current monitoring screen information, and the preset control linkage rules includes: In response to the external control status information indicating that the control is not activated and the current monitoring screen information being any monitoring screen content, the target collaborative switching mode is determined to be a single-screen display mode; or... In response to the external control status information indicating that the control is activated and in single-control mode, and the current monitoring screen information being non-HD real-time screen content, the target collaborative switching mode is determined to be multi-screen display mode; or... In response to the external control status information indicating that the control is activated and in single-control mode, and the current monitoring screen information being high-definition real-time screen content, the target collaborative switching mode is determined to be single-screen display mode; The high-definition real-time video content can be any of the following: a monitoring video with a resolution higher than a preset resolution, or a real-time monitoring video with a frame rate higher than a preset frame rate.
4. The method according to any one of claims 1 to 3, characterized in that, The step of determining the target monitoring display window in at least one monitoring display window in the monitoring interface of the monitoring system according to the cooperative switching instruction and the target cooperative switching mode includes: A main control unit is determined, which includes multiple sub-display units. The main control unit is used to manage the multiple sub-display units, and the sub-display units are used to load the monitoring screen corresponding to the monitoring display window in the monitoring interface of the monitoring system. The main control unit is loaded, and the main control unit determines the target sub-display unit among the multiple sub-display units according to the screen parameters in the collaborative switching instruction; Among the at least one monitoring display window, the monitoring display window corresponding to the target sub-display unit is determined as the target monitoring display window; The step of displaying the target monitoring screen through the target monitoring display window includes: The target monitoring screen is loaded through the target sub-display unit and displayed in the target monitoring display window.
5. The method according to claim 4, characterized in that, If the target collaborative switching mode is a multi-screen display mode, the method further includes: In response to a first collaborative operation that switches from a multi-screen display mode to a single-screen display mode, the first collaborative operation includes a first trigger operation of an external control and a first adaptation instruction within the control, adjusting the display priority of the multiple sub-display units, wherein different sub-display units have different display priorities; Based on the display priority of each sub-display unit and the monitoring screen loaded by each sub-display unit, a single sub-display unit is determined from the plurality of sub-display units so that the monitoring screen is displayed in the monitoring interface of the monitoring system only through the monitoring display window corresponding to the single sub-display unit.
6. The method according to claim 5, characterized in that, The method further includes: In response to a second collaborative operation that switches from a single-screen display mode to a multi-screen display mode, the second collaborative operation includes a second trigger operation of an external control and a second internal adaptation instruction, adjusting the display priority of the multiple sub-display units to the same display priority, so as to display the monitoring screen side by side in the monitoring display windows corresponding to the multiple sub-display units in the monitoring interface of the monitoring system.
7. The method according to any one of claims 1 to 3, characterized in that, Obtaining the screen parameters in the collaborative switching instruction includes: Obtain preset screen display rules, which are used to indicate the channel level of the monitoring screen displayed in different monitoring display windows; The screen parameters are determined based on the channel level of the target monitoring screen and the preset screen display rules.
8. A monitoring screen switching device, characterized in that, include: The acquisition module is used to acquire the status information of external controls and the current monitoring screen information of the terminal devices running the monitoring system. The first determining module is used to determine the target collaborative switching mode of the monitoring screen based on the status information of the external control and the current monitoring screen information. The generation module is used to respond to the trigger operation of the external control, generate an external switching signal, retrieve a preset internal switching instruction, and generate a collaborative switching instruction based on the external switching signal and the internal switching instruction. The collaborative switching instruction carries the screen parameters of the target monitoring screen. The second determining module is used to determine a target monitoring display window in at least one monitoring display window in the monitoring interface of the monitoring system according to the collaborative switching instruction and the target collaborative switching mode. The display module is used to display the target monitoring screen through the target monitoring display window.
9. An electronic device, characterized in that, include: A memory, a processor, and a processor program stored in the memory and executable on the processor, wherein the processor executes the program in accordance with the steps of the monitoring screen switching method according to any one of claims 1 to 7.
10. A storage medium, characterized in that, The computer processing program is stored and can be loaded by a processor and executed according to any one of claims 1 to 7 for switching monitoring screens.