Multi-camera page switching system, method and vehicle navigation

By using multiple camera page switching systems in the vehicle navigation system, using event monitoring, status table management and page management units to solve the problem of page black screens and screen stuttering problems during multi -camera switching, and improve the user experience.

CN115941866BActive Publication Date: 2025-01-28BEI DOU ZHI LIAN KE JI YOU XIAN GONG SI
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211657462.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-22
Publication Date
2025-01-28
Estimated Expiration
2042-12-22

AI Technical Summary

Technical Problem

When switching between multiple cameras, the on-board navigation system is prone to problems such as black screen on the page and lag in the picture, resulting in poor user experience.

Method used

The multi -camera page switching system is adopted, including event monitoring unit, status table management unit, and page management unit. Through the pre -constructed interactive relationship table and page status management table, the separation of logic control and behavior control, the camera channel switching and page loading.

Benefits of technology

It reduces the operation coupling of the system, improves the reliability of the system, avoids the black screen and screen stuttering problem of multiple camera switching, and enhances the user's sense of experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115941866B_ABST
    Figure CN115941866B_ABST
Patent Text Reader

Abstract

The present invention provides a multi-camera page switching system, method and vehicle navigation, comprising: an event monitoring unit, a state table management unit and a page management unit; the event monitoring unit is used to obtain a triggering event for a camera page, and send the triggering event to the state table management unit; the state table management unit is used to determine an interaction result and a page state change result according to the triggering event and a pre-built multi-camera interaction relationship table and a page state management table, and send the interaction result and the page state change result to the page management unit; wherein the interaction result includes: the current camera page; the page management unit is used to switch the camera channel according to the interaction result and the page state change result, and load the current camera page in the foreground. The present invention avoids the problems of black screen, screen freeze, etc. when switching multiple cameras, and improves the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of intelligent driving technology, and in particular to a multi-camera page switching system, method and vehicle-mounted navigation. Background Art

[0002] The in-vehicle navigation system is a special automotive information product developed specifically for the special operating environment and electrical circuit characteristics of the car. It has high temperature resistance, dust resistance, and shock resistance, and can be integrated with the automotive electronic circuit. It supports in-car Internet access, audio and video entertainment, satellite positioning, voice navigation, games, telephone and other functions, and can also realize specific functions such as visual reversing and fault detection. With the development of technologies such as in-vehicle electronics, intelligent driving and vehicle networking, in-vehicle navigation systems are increasingly used in the automotive industry. As the central control device of automotive electronics, the in-vehicle navigation system connects multiple key electronic devices of the car and can control multiple functions of the car body.

[0003] With the popularization of intelligent vehicle bodies and visual driving assistance functions, the multi-camera function of in-vehicle navigation is becoming more and more popular, and multi-camera has also become a development trend of smart electronic products, such as reversing rear view function, steering blind spot display function, panoramic imaging function, infrared night vision function, fatigue driving detection, face recognition function, etc. With the increase of pixels and acquisition rate, in-vehicle navigation requires more system resource support when loading camera images. When the in-vehicle navigation switches multiple cameras, the page switching is often completed, but the camera data has not been processed. Therefore, the page black screen, the picture freezes, etc., which makes the user experience worse. Summary of the invention

[0004] In view of this, the purpose of the present invention is to provide a multi-camera page switching system, method and vehicle navigation, so as to avoid problems such as black screen and screen freeze when switching multiple cameras, thereby improving the user experience.

[0005] In order to achieve the above purpose, the technical solution adopted by the embodiment of the present invention is as follows:

[0006] In a first aspect, an embodiment of the present invention provides a multi-camera page switching system, comprising: an event monitoring unit, a status table management unit and a page management unit; the event monitoring unit is used to obtain a trigger event for a camera page, and send the trigger event to the status table management unit; the status table management unit is used to determine the interaction result and the page state change result according to the trigger event and a pre-built multi-camera interaction relationship table and a page state management table, and send the interaction result and the page state change result to the page management unit; wherein the interaction result includes: the current camera page; the page management unit is used to switch the camera channel according to the interaction result and the page state change result, and load the current camera page in the foreground.

[0007] In one embodiment, the status table management unit is also used to construct an interaction relationship table and a page status management table of multiple cameras based on the camera page type classification and trigger event classification; wherein the interaction relationship table is used to characterize the interaction response strategies and interaction results between multiple cameras; and the page status management table is used to characterize the page status changes of multiple cameras.

[0008] In one embodiment, the system further includes: a page drawing unit, which is used to obtain a captured image of a camera corresponding to a current camera page, and to draw and render the captured image for display.

[0009] In one implementation, the page management unit is used to destroy the camera page running in the background and recycle resources after the current camera page in the foreground is loaded.

[0010] In a second aspect, an embodiment of the present invention provides a multi-camera page switching method, which is applied to the multi-camera page switching system of any one of the first aspects provided above, and the method includes: obtaining a trigger event for a camera page through an event monitoring unit, and sending the trigger event to a status table management unit; determining an interaction result and a page state change result according to the trigger event and a pre-built multi-camera interaction relationship table and a page state management table through the status table management unit, and sending the interaction result and the page state change result to the page management unit; wherein the interaction result includes: the current camera page; the page management unit is used to switch camera channels according to the interaction result and the page state change result, and load the current camera page in the foreground.

[0011] In one embodiment, before obtaining the trigger event for the camera page through the event monitoring unit, the method also includes: constructing an interaction relationship table and a page status management table of multiple cameras according to the camera page type classification and the trigger event classification through the status table management unit; wherein the interaction relationship table is used to characterize the interaction response strategies and interaction results between multiple cameras; and the page status management table is used to characterize the page status changes of multiple cameras.

[0012] In one implementation, loading the current camera page in the foreground includes: obtaining a capture screen of a camera corresponding to the current camera page through a page drawing unit, and drawing and rendering the capture screen for display.

[0013] In one embodiment, after the current camera page is loaded in the foreground, the method further includes: destroying the camera page running in the background and recycling resources by the page management unit.

[0014] In a third aspect, an embodiment of the present invention provides a vehicle-mounted navigation system, including any one of the multi-camera page switching systems provided in the first aspect above.

[0015] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of any one of the methods provided in the second aspect are executed.

[0016] The embodiments of the present invention bring the following beneficial effects:

[0017] The above-mentioned multi-camera page switching system, method and vehicle navigation provided by the embodiment of the present invention include: an event monitoring unit, a state table management unit and a page management unit; the event monitoring unit is used to obtain a trigger event for a camera page, and send the trigger event to the state table management unit; the state table management unit is used to determine the interaction result and the page state change result according to the trigger event and a pre-built multi-camera interaction relationship table and a page state management table, and send the interaction result and the page state change result to the page management unit; wherein the interaction result includes: the current camera page; the page management unit is used to switch the camera channel according to the interaction result and the page state change result, and load the current camera page in the foreground. The above system separates the logical control and behavioral control of the camera page through the state table management unit and the page management unit, wherein the state table management unit implements logical control, and the camera and page management units implement behavioral control. After the camera page is triggered, the interaction result and the page state change result are first determined through the pre-built multi-camera interaction relationship table and the page state management table, and then the camera channel is switched and the current camera page is loaded through the page management unit, thereby reducing the system operation coupling, improving the system operation reliability, avoiding problems such as black screen and screen freeze when switching multiple cameras, and improving the user experience.

[0018] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention are realized and obtained by the structures particularly pointed out in the description, claims and drawings.

[0019] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0021] Figure 1 A schematic diagram of the structure of a multi-camera page switching system provided by an embodiment of the present invention;

[0022] Figure 2 A schematic diagram of downward data changes in a page status table provided by an embodiment of the present invention;

[0023] Figure 3 A schematic diagram of upward data changes in a page status table provided by an embodiment of the present invention;

[0024] Figure 4 A schematic diagram of page switching provided by an embodiment of the present invention;

[0025] Figure 5 A flowchart of a multi-camera page switching method provided by an embodiment of the present invention;

[0026] Figure 6 A flowchart of another multi-camera page switching method provided by an embodiment of the present invention.

[0027] icon:

[0028] 101 - event monitoring unit; 102 - state table management unit; 103 - page management unit. DETAILED DESCRIPTION

[0029] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0030] At present, with the popularization of intelligent vehicle bodies and visual driving assistance functions, the multi-camera function of in-vehicle navigation is becoming more and more popular, and multi-camera has become a development trend of smart electronic products. When the in-vehicle navigation switches multiple cameras, the page switching is often completed, but the camera data has not been processed. Therefore, the page black screen, the picture freezes, etc., which makes the user experience worse.

[0031] Based on this, the embodiments of the present invention provide a multi-camera page switching system, method and vehicle navigation to avoid problems such as black screen and screen freeze when switching multiple cameras, thereby improving the user experience.

[0032] To facilitate understanding of this embodiment, a multi-camera page switching system disclosed in an embodiment of the present invention is first introduced in detail. Figure 1 The structural diagram of a multi-camera page switching system shown in the figure illustrates that the system mainly includes: an event monitoring unit 101, a state table management unit 102 and a page management unit 103.

[0033] The event monitoring unit 101 is used to obtain the trigger event of the camera page and send the trigger event to the state table management unit. In the specific implementation, the event monitoring unit 101 obtains the state change information of the camera page, including: page startup start information, page startup completion information, page closing information, etc. After obtaining the page state change information of the camera, the event monitoring unit 101 can inject the trigger event corresponding to the page state change information into the state table management unit 102 to manage the data in the table.

[0034] The state table management unit 102 is used to determine the interaction result and the page state change result according to the trigger event and the pre-built multi-camera interaction relationship table and the page state management table, and send the interaction result and the page state change result to the page management unit 103; wherein the interaction result includes: the current camera page. In specific implementation, the state table management unit 102 is used to uniformly manage the relevant pages of all cameras. The state table management unit 102 can pre-build the interaction relationship table and the page state management table according to the operation requirements of the vehicle navigation system. The interaction relationship table is used to define the functional interaction of various possible interaction scenarios and output the interaction result, wherein the interaction result includes: the current camera page (the camera page currently to be displayed). The page state management table can be dynamically changed according to the current system operation state, especially when the header data changes, the page state change result can be output to the page management unit 103. Specifically, in the embodiment of the present invention, after receiving the trigger event, the state table management unit 102 can search and output the interaction result in the interaction relationship table according to the current page state information and trigger information, and search and output the page state change result in the page state management table according to the current page state information and trigger information.

[0035] The page management unit 103 is used to switch the camera channel according to the interaction result and the page state change result, and load the current camera page in the foreground. In the specific implementation, the page management unit 103 is used to manage the camera resources and pages. When the header state (i.e., the page state change result) output by the state table management unit 102 changes, the page management unit 103 can dynamically adjust the camera channel switching according to the interaction result and the page state change result output by the state table management unit 102, and load the current camera page corresponding to the interaction result to the foreground, and destroy and recycle the camera page that has entered the background.

[0036] The above-mentioned multi-camera page switching system provided by the embodiment of the present invention separates the logical control and behavioral control of the camera page through the state table management unit and the page management unit, wherein the state table management unit implements logical control, and the camera and page management units implement behavioral control. After the camera page is triggered, the interaction result and the page state change result are first determined through the pre-built multi-camera interaction relationship table and the page state management table, and then the camera channel is switched and the current camera page is loaded through the page management unit, thereby reducing the system operation coupling, improving the system operation reliability, avoiding problems such as black screen and screen freeze when switching multiple cameras, and improving the user experience.

[0037] In one embodiment, the status table management unit 102 is also used to construct an interaction relationship table and a page status management table of multiple cameras based on the camera page type classification and trigger event classification; wherein the interaction relationship table is used to characterize the interaction response strategies and interaction results between multiple cameras; and the page status management table is used to characterize the page status changes of multiple cameras.

[0038] During the specific implementation, an interaction relationship table of multiple cameras is constructed, including: camera page type classification, trigger event classification and determination of interaction relationship.

[0039] Specifically, the camera page type classification is to divide all camera devices into multiple response levels from high to low according to their response methods, the importance of vehicle body safety and other factors. High-level devices have higher resource usage permissions. Different digital identifiers can be used in the interactive relationship table to represent camera pages of different levels. In specific applications, the opening and closing of camera pages are determined by vehicle body signals, that is, passive responses; some are manually opened, that is, active responses; and some camera pages may involve vehicle body safety issues, such as reversing and blind spots. Therefore, the response methods and importance of each camera page are also different. Usually, the priority of camera pages involving vehicle body safety is generally higher than that not involving vehicle body safety. The level of passive response is generally higher than the level of active response, but it is not absolute. In actual applications, it may be necessary to construct it according to the application scenario. In the embodiment of the present invention, by constructing an interactive relationship table, all application scenarios can be covered, and the interactive logic of each page will not be confused.

[0040] The trigger event classification is to classify the camera page according to the trigger method, such as active opening, passive response and emergency start, etc. Specifically, different digital identifiers can be used to represent different trigger events in the interaction relationship table.

[0041] Determining the interactive relationship is to construct a multi-dimensional interactive relationship table according to the determined camera page type classification and trigger event classification. The interactive relationship table provides interactive response strategies for multiple scenarios and can return interactive results.

[0042] In an embodiment of the present invention, a variety of complex scenarios are logically processed by constructing an interaction relationship table (that is, different digital arrays are used to represent different application scenarios, and a clear interaction result can be output under various trigger conditions in different scenarios), and the complex scenarios are converted into simple matrix relationships. This can simplify the complex relationships, make the system less prone to errors during operation, and further improve the reliability of system operation; at the same time, the interaction relationship table can be dynamically adapted to different application scenarios, and the application scenarios and scope are wider.

[0043] In one implementation, after the event listening unit 101 injects a trigger event into the state table management unit 102, the state table management unit 102 may obtain an interaction result based on the trigger event, including: starting a start event injection, starting a completion event injection, closing a start event injection, closing a completion event injection, and obtaining an interaction result.

[0044] Specifically, the start event injection is to pass the start signal to the state table management unit 102 when the page is pre-started or a specific page start signal is triggered. The state table management unit 102 can add the started camera page type to the interaction relationship table according to the injected start signal, and return the output result of the interaction relationship table (i.e., the interaction result). Among them, the page refers to the camera screen display page, and the pre-start refers to the existence of a trigger signal before the page is started.

[0045] Specifically, the close event injection is to transmit the close signal to the state table management unit 102 when the page is pre-closed or a specific page close signal is triggered. The state table management unit 102 can delete the closed camera page type from the interaction relationship table according to the injected close signal, and return the output result of the interaction relationship table.

[0046] Specifically, the state table management unit 102 obtains the interaction result by querying the header result in the page state management table according to the injected trigger event. When the header state of the page state management table changes, it indicates that the foreground page needs to be logically switched. Otherwise, it indicates that the foreground page does not need to be changed.

[0047] In the embodiment of the present invention, both startup and shutdown are injected into the state table management unit as trigger events, replacing the general injection of only startup events, and no longer needing to pay attention to the page recovery event (the reliability of the recovery event is poor during page processing), thereby normalizing the startup and shutdown of the page. At the same time, the output of the state table management unit only has one data, the table header, and the page processing logic is simpler and more reliable.

[0048] Refer to the interaction relationship table shown in Table 1 and the page status management table shown in Table 2, where different bits in the horizontal brackets represent different camera pages, which can be set as follows: (reversing page bit, blind spot page bit, driving recorder page bit), "1" indicates that the current page is in an activated state, and "0" indicates that the current page is in a silent state; the vertical direction indicates a trigger event, "1" indicates that an activation event is triggered, "0" indicates that no event is triggered, and "-1" indicates that a hidden event is triggered; output item (i.e., interaction result), "0" indicates no page output, "1" indicates driving recorder page output, "2" indicates blind spot page output, and "3" indicates reversing page output.

[0049] Table 1 Interaction relationship table

[0050]

[0051] Table 2 Page status management table

[0052]

[0053] Assuming that the original state is the blind spot page display, and the reversing page and the dashcam page are both in a silent state, the state is represented as (0,1,0), and the page output state is 2. At this time, if the dashcam opening event (0,0,1) is triggered, the page output result is 2 according to Table 1, and the blind spot page is still output, which is unchanged compared to the original state. According to Table 2, it can be determined that the current state has changed to (0,1,1). If the reversing opening event (1,0,0) is triggered again, the output result is 3 according to Table 1, and the reversing page is displayed. According to Table 2, it can be determined that the current state has changed to (1,1,1). If the exit blind spot event (0,-1,0) is continued to be triggered, the output result is 3 according to Table 1, and the reversing page is kept displayed. According to Table 2, it can be determined that the current state has changed to (1,0,1). If the exit reversing event (-1,0,0) is continued to be triggered, the output result is 1 according to Table 1, and the driving recorder page should be displayed. According to Table 2, it can be determined that the current state becomes (0,0,1).

[0054] Furthermore, the above system also includes: a page drawing unit, which is used to obtain the captured picture of the camera corresponding to the current camera page, and draw and render the captured picture for display.

[0055] In the specific implementation, after obtaining the interaction result, the startup resources can be obtained and the camera screen can be loaded, including: switching the camera channel, obtaining the camera screen frame data, and drawing and rendering the screen effect.

[0056] Specifically, switching the camera channel is accomplished by the page management unit 103 switching system resources to a designated channel (i.e., switching the camera to the camera channel corresponding to the interaction result) according to the obtained header change result (i.e., the page status change result), so that the corresponding camera content can be output normally.

[0057] Specifically, obtaining the camera picture frame data is to transmit the captured picture content of the camera to the page drawing unit in the form of data.

[0058] Specifically, the drawing and rendering picture effect is to render the acquired camera capture picture on the display screen of the device through the page drawing unit.

[0059] In one embodiment, the page management unit is also used to destroy the camera page running in the background and recycle resources after the current camera page in the foreground is loaded. In a specific implementation, after the state table management unit outputs a signal that the foreground page is loaded, the page management unit can destroy the camera page in the background and recycle resources to ensure the effective use of system resources and the smoothness of page switching.

[0060] In the above-mentioned multi-camera page switching system provided by the embodiment of the present invention, the page management unit performs page opening and page closing operations according to the output result of the state table management unit, realizes the separation of logic control and behavior control, reduces the coupling of system operation, and improves the reliability of system operation. When the camera page is switched, the recycling of the background page is based on the completion of the loading of the foreground page, so that the black screen problem caused by the slow loading of camera resources in the background page recovery stage will not occur during the page switching process, and the page effect switching is smoother and the visual effect is better.

[0061] For ease of understanding, the present invention also provides a schematic diagram of downward data changes in a page status table, see Figure 2 As shown, the "☆" indicates the change of the header status and the interaction result. In a blank table, when the low-level page triggers loading, the header status changes from blank to P1; when the high-level page is triggered, according to the interactive relationship table result, P2 will occupy the header position, and the header status changes; when the intermediate page triggers loading again, according to the interactive relationship table result, its priority is higher than P1, but lower than P2, so it can only be ranked behind P2 and before P1. At this time, only the order in the table changes, and the header is still P2.

[0062] See also Figure 3 The diagram shows a schematic diagram of the upward data change of a page status table, where "☆" indicates a change in the header status and the interaction result. When the high-level page P2 needs to exit the display, according to the sorting result of the interaction relationship table, the intermediate page P3 will occupy the header position, and the header status will change; when the intermediate page P3 continues to exit, P1 will occupy the header position again; if P1 continues to exit the page, the header position will be empty. If the current header is a high-level page and an exit event of a low-level page occurs, you only need to remove the low-level page from the data in the table, and the header status will not change.

[0063] For further information, see Figure 4 A page switching schematic diagram is shown. When the P1 page is being displayed and the P2 page needs to be loaded and displayed, the P2 page will directly cover the P1 page and load and display the camera image information. At this time, the P2 page will be displayed in the foreground, and the P1 page will become a background page and be in a state to be recycled. After the P2 page is loaded, the P2 page will send a page loading completion message. After receiving the page loading completion message, the page management unit will destroy the P1 page to be recycled and recycle resources to ensure that the system runs in a low resource consumption state.

[0064] The multi-camera page switching system provided by the embodiment of the present invention can uniformly classify and manage all cameras of the vehicle navigation system, dynamically adjust the number and type of cameras, and flexibly configure the interaction strategy of multiple cameras, so that the system has high adaptability and scalability; the above-mentioned system separates the logic control and behavior control of camera-related pages, the state table management unit realizes the logic control, and the camera and page management unit realizes the behavior control, thereby reducing the system operation coupling and improving the system operation reliability; whether the above-mentioned system switches pages upward or downward, it switches with overlay pages, and page destruction is realized in the background, the switching effect is smoother, and the adverse effects such as black screen and freeze are avoided.

[0065] For the aforementioned multi-camera page switching system, the embodiment of the present invention also provides a multi-camera page switching method, see Figure 5 The flowchart of a multi-camera page switching method shown in FIG. 1 illustrates that the method mainly includes the following steps S501 to S503:

[0066] Step S501: Acquire a trigger event for a camera page through an event monitoring unit, and send the trigger event to a state table management unit.

[0067] Specifically, the event monitoring unit can obtain the state change information of the camera page, including: page startup start information, page startup completion information, page closing information, etc. After obtaining the camera page state change information, the event monitoring unit can inject the trigger event corresponding to the page state change information into the state table management unit.

[0068] Step S502: The state table management unit determines the interaction result and the page state change result according to the trigger event and the pre-built multi-camera interaction relationship table and the page state management table, and sends the interaction result and the page state change result to the page management unit.

[0069] The interaction result includes: the current camera page. Specifically, after receiving the trigger event, the state table management unit can search and output the interaction result in the interaction relationship table according to the current page state information and the trigger information, and search and output the page state change result in the page state management table according to the current page state information and the trigger information.

[0070] Step S503: The page management unit is used to switch the camera channel according to the interaction result and the page state change result, and load the current camera page in the foreground.

[0071] Specifically, the page management unit can dynamically adjust the camera channel switching according to the interaction result and the page state change result output by the state table management unit, and load and display the current camera page corresponding to the interaction result to the foreground.

[0072] The above-mentioned multi-camera page switching method provided by the embodiment of the present invention separates the logical control and behavioral control of the camera page through the state table management unit and the page management unit, wherein the state table management unit implements logical control, and the camera and page management units implement behavioral control. After the camera page is triggered, the interaction result and the page state change result are first determined through the pre-built multi-camera interaction relationship table and the page state management table, and then the camera channel is switched and the current camera page is loaded through the page management unit, thereby reducing the system operation coupling, improving the system operation reliability, avoiding problems such as black screen and screen freeze when switching multiple cameras, and improving the user experience.

[0073] In one embodiment, before obtaining the trigger event for the camera page through the event monitoring unit, the above method also includes: constructing an interaction relationship table and a page status management table of multiple cameras according to the camera page type classification and the trigger event classification through the status table management unit; wherein the interaction relationship table is used to characterize the interaction response strategies and interaction results between multiple cameras; and the page status management table is used to characterize the page status changes of multiple cameras.

[0074] In the specific implementation, the status table management unit can construct a multi-dimensional interaction relationship table according to the determined camera page type classification and trigger event classification. The interaction relationship table provides interaction response strategies for multiple scenarios and can return interaction results. At the same time, based on the constructed page status management table, it is used to characterize the page status changes of multiple cameras.

[0075] In one embodiment, when the current camera page is loaded in the foreground, the following methods may be used: the acquisition screen of the camera corresponding to the current camera page is obtained through the page drawing unit, and the acquisition screen is drawn and rendered for display. Specifically, the content of the camera acquisition screen is transmitted to the page drawing unit in the form of data, and the page drawing unit can render the acquired camera acquisition screen and draw it on the display screen of the device.

[0076] In one embodiment, after the current camera page is loaded in the foreground, the method further includes: destroying the camera page running in the background and recycling resources through the page management unit. Specifically, after the state table management unit outputs a foreground page loading completion signal, the page management unit can destroy the camera page in the background and recycle resources to ensure the effective use of system resources and the smoothness of page switching.

[0077] For ease of understanding, the present invention also provides another method for switching multiple camera pages. Figure 6 As shown, the method mainly includes the following steps S601 to S604:

[0078] Step S601: Acquire a page state change triggering event, and inject the triggering event into the state table management unit.

[0079] Step S602: according to a preset strategy, adjust the data in the page status management table, and when the header data changes, send the interaction result and the page status change result to the page management unit.

[0080] Specifically, the preset strategy is a predetermined camera page type classification and trigger event classification.

[0081] Step S603: Obtain the camera resources and data information corresponding to the interaction results and the page status change results, load and display the camera page in the foreground.

[0082] Step S604: destroy the background camera page and recycle system resources.

[0083] Specifically, according to the interaction results and the page status change results, the camera page that needs to be displayed in the foreground and switched to the background is determined, the camera page that needs to be displayed in the foreground is loaded and displayed in the foreground, and after the foreground page is loaded, the camera page that is switched to the background is destroyed and resources are recycled.

[0084] It should be noted that the implementation principle and technical effects of the method provided in the embodiment of the present invention are the same as those of the aforementioned system embodiment. For the sake of brief description, for matters not mentioned in the method embodiment, reference may be made to the corresponding contents in the aforementioned system embodiment.

[0085] The embodiment of the present invention provides a vehicle navigation system, including the multi-camera page switching system provided by the above embodiment. The implementation principle and technical effects of the vehicle navigation page switching provided by this embodiment are the same as those of the above system embodiment, and will not be repeated here.

[0086] The computer program product of the readable storage medium provided in the embodiment of the present invention includes a computer-readable storage medium storing program code, and the instructions included in the program code can be used to execute the methods described in the previous method embodiments. The specific implementation can be referred to the previous method embodiments, which will not be repeated here.

[0087] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0088] Finally, it should be noted that the above-described embodiments are only specific implementations of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed by the present invention, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims

1. A multi-camera page switching system, characterized in that: include: Event monitoring unit, state table management unit and page management unit; The event monitoring unit is used to obtain a trigger event for a camera page, and send the trigger event to the state table management unit; The state table management unit is used to determine the interaction result according to the trigger event and the pre-built multi-camera interaction relationship table, and determine the page state change result according to the trigger event and the pre-built page state management table, and send the interaction result and the page state change result to the page management unit; wherein the interaction result includes: the current camera page; In the interaction relationship table and the page status management table, different bits in the horizontal brackets represent the page status of different camera pages, and different bits in the vertical brackets represent the triggering events of different camera pages. The output result of the interaction relationship table is the interaction result determined according to the page status and the triggering event, and different digital identifiers represent different camera pages. The output result of the page status management table is the page status change result determined according to the page status and the triggering event. Determining the interaction result according to the trigger event and the pre-built multi-camera interaction relationship table, and determining the page state change result according to the trigger event and the pre-built page state management table, including: searching and outputting the interaction result in the interaction relationship table according to the current page state information and the trigger information, and searching and outputting the page state change result in the page state management table according to the current page state information and the trigger information; The page management unit is used to switch the camera channel according to the interaction result and the page state change result, and load the current camera page in the foreground.

2. The system according to claim 1, characterized in that The status table management unit is also used to construct an interaction relationship table and a page status management table of multiple cameras according to the camera page type classification and the trigger event classification; wherein the interaction relationship table is used to characterize the interaction response strategy and interaction results between the multiple cameras; the page status management table is used to characterize the page status changes of the multiple cameras; the interaction response strategy between the multiple cameras is the interaction relationship between the camera page type classification and the trigger event classification, the camera page type classification is to divide all camera devices into multiple response levels from high to low according to their response methods and the importance of vehicle body safety; the trigger event classification is to classify the camera pages according to the trigger method.

3. The system according to claim 2, characterized in that The system further includes: a page drawing unit, which is used to obtain the acquisition picture of the camera corresponding to the current camera page, and to draw and render the acquisition picture before displaying it.

4. The system according to claim 1, characterized in that The page management unit is used to destroy the camera page running in the background and recycle resources after the current camera page in the foreground is loaded.

5. A multi-camera page switching method, characterized in that: The method is applied to the multi-camera page switching system according to any one of claims 1 to 4, and the method comprises: Acquire a trigger event for a camera page through an event monitoring unit, and send the trigger event to the state table management unit; The state table management unit determines the interaction result according to the trigger event and the pre-built multi-camera interaction relationship table, and determines the page state change result according to the trigger event and the pre-built page state management table, and sends the interaction result and the page state change result to the page management unit; wherein the interaction result includes: the current camera page; In the interaction relationship table, different bits in the horizontal brackets represent page states of different camera pages, and different bits in the vertical brackets represent trigger events of different camera pages. The interaction result is the output result determined according to the page state and the trigger event, and different digital identifiers represent different camera pages. Determine the interaction result according to the trigger event and the pre-built multi-camera interaction relationship table, and determine the page state change result according to the trigger event and the pre-built page state management table: search and output the interaction result in the interaction relationship table according to the current page state information and the trigger information, and search and output the page state change result in the page state management table according to the current page state information and the trigger information; The page management unit is used to switch the camera channel according to the interaction result and the page state change result, and load the current camera page in the foreground.

6. The method according to claim 5, characterized in that Before acquiring the triggering event for the camera page through the event monitoring unit, the method further includes: The state table management unit constructs an interaction relationship table and a page state management table of multiple cameras according to the camera page type classification and the trigger event classification; wherein the interaction relationship table is used to characterize the interaction response strategy and the interaction result between the multiple cameras; the page state management table is used to characterize the page state change of the multiple cameras; the interaction response strategy between the multiple cameras is the interaction relationship between the camera page type classification and the trigger event classification, the camera page type classification is to divide all camera devices into multiple response levels from high to low according to their response methods and the importance involved in vehicle body safety; the trigger event classification is to classify the camera pages according to the trigger method.

7. The method according to claim 5, characterized in that Load the current camera page in the foreground, including: The acquisition picture of the camera corresponding to the current camera page is obtained through the page drawing unit, and the acquisition picture is drawn and rendered before being displayed.

8. The method according to claim 5, characterized in that After loading the current camera page in the foreground, the method further includes: The camera page running in the background is destroyed and resources are recycled through the page management unit.

9. A vehicle navigation system, characterized in that: A multi-camera page switching system comprising any one of claims 1 to 4.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 5 to 8 are performed.

Citation Information

Patent Citations

  • Page switching method for mobile terminal, and mobile terminal

    CN107943552A

  • Enabling stateful dynamic links in mobile applications

    CN109074277A