Virtual cockpit simulation method and system, electronic equipment and storage medium

By separating the control appearance feature resource module and operation logic simulation module in the virtual cockpit simulation system, the problem of high control development and maintenance costs in the existing technology is solved, and rapid response when appearance attributes or operation logic changes are achieved and efficient maintenance.

CN118918753AInactive Publication Date: 2024-11-08BEIJING BLUESKY AVIATION TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410803841.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-20
Publication Date
2024-11-08
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The appearance attributes and operation logic of the controls in the existing virtual cockpit simulation system are associated and bound, resulting in the source code being modified and recompiled one by one when the appearance attributes or operation logic changes, resulting in high development and maintenance costs.

Method used

The appearance feature resource module of the control and the operation logic simulation module are separated and designed, so that when the appearance attributes or operation logic change, only the corresponding functional modules need to be modified to achieve simplified development, upgrade and maintenance of the control.

Benefits of technology

It greatly simplifies the control development, upgrade and maintenance process, reduces costs, improves efficiency, and flexibly adapts to the cockpit controls and operating process training needs of different models.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118918753A_ABST
    Figure CN118918753A_ABST
Patent Text Reader

Abstract

The invention provides a virtual cockpit simulation method and system, electronic equipment and a storage medium, and the method comprises the steps: determining a target control appearance feature and a target control operation logic corresponding to a target model, the target control appearance feature being determined according to an appearance feature resource module; the target control operation logic is determined according to an operation logic simulation module, and the appearance feature resource module and the operation logic simulation module are different function modules in the virtual cockpit simulation system. And performing control operation simulation in a virtual cockpit according to the target control appearance characteristics and the target control operation logic. The appearance feature resource module and the operation logic simulation module corresponding to the control are separately designed, so that only the corresponding function module needs to be modified when the appearance attribute changes or the operation logic changes, and the development and upgrade maintenance process of the control is greatly simplified.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of flight simulation, and in particular to a virtual cockpit simulation method, system, electronic equipment and storage medium. Background Art

[0002] The virtual cockpit simulation system is a system that simulates the appearance and operating characteristics of various controls and instruments in the cockpit to meet the needs of pilot theoretical training, cockpit control usage learning and operating procedure training.

[0003] Different controls in the existing virtual cockpit simulation system exist as separate objects, and the appearance attributes and operation logic of the controls are associated and bound. When the appearance attributes or operation logic of a control changes, the source code corresponding to the appearance attributes and operation logic of the control needs to be modified and recompiled one by one, which makes the control development and upgrade maintenance costly. Summary of the invention

[0004] The present invention provides a virtual cockpit simulation method, system, electronic device and storage medium, which are applied to a virtual cockpit simulation system to solve the defect of high development and upgrade and maintenance costs of virtual cockpit controls in the prior art. By separating the appearance feature resource module and the operation logic simulation module corresponding to the control, it is achieved that when the appearance attributes change or the operation logic changes, only the corresponding function module needs to be modified, which greatly simplifies the control development and upgrade and maintenance process.

[0005] The present invention provides a virtual cockpit simulation method, comprising the following steps: Determine the appearance features of the target control and the target control operation logic corresponding to the target aircraft model, wherein the appearance features of the target control are determined according to the appearance feature resource module, and the target control operation logic is determined according to the operation logic simulation module, wherein the appearance feature resource module and the operation logic simulation module are different functional modules in the virtual cockpit simulation system, and the control operation logic is used to simulate the operation effect of the real control in the virtual environment; Control operation simulation in the virtual cockpit is performed according to the target control appearance characteristics and the target control operation logic.

[0006] According to a virtual cockpit simulation method provided by the present invention, the control operation simulation in the virtual cockpit is performed according to the target control appearance characteristics and the target control operation logic, including: loading the target control appearance characteristics to generate a virtual cockpit environment, the virtual cockpit environment including virtual operation controls; receiving control operation information and position movement information, the control operation information representing the operation information generated by the user's operation on the virtual operation control, and the position movement information representing the movement information generated by the user's operation on the virtual operation control; and performing control operation simulation according to the control operation information and / or the position movement information, and the target control operation logic.

[0007] According to a virtual cockpit simulation method provided by the present invention, the control operation simulation is performed according to the control operation information and / or the position movement information, and the target control operation logic, including: judging the control state according to the control operation information and / or the position movement information to obtain target state information; and updating the display style of the virtual operation control from an initial display style to a changed display style according to the target state information, and the changed display style corresponds to the target state information.

[0008] According to a virtual cockpit simulation method provided by the present invention, before loading the target control appearance features and generating a virtual cockpit environment, the method includes: acquiring feature control image resources corresponding to different aircraft models; and generating the appearance feature resource module based on the feature control image resources corresponding to the different aircraft models.

[0009] According to a virtual cockpit simulation method provided by the present invention, the appearance feature resource module is generated according to a target user interface framework, and the method further includes: generating a target feature file by updating the appearance features of controls corresponding to the target aircraft model, the target feature file adopts a target user interface language, and the target user interface framework has a corresponding relationship with the target user interface language; in the appearance feature resource module, updating the corresponding relationship between the target aircraft model and the appearance features of the target control to the corresponding relationship between the target aircraft model and the target feature file.

[0010] According to a virtual cockpit simulation method provided by the present invention, the method also includes: obtaining an updated operation logic algorithm corresponding to the target control, the target control corresponds to a target control type, and the target control type includes at least two controls; in the operation logic simulation module, updating the operation logic algorithm corresponding to the target control type to the updated operation logic algorithm.

[0011] The present invention also provides a virtual cockpit simulation system, comprising the following modules: A content determination module, used to determine the appearance features and operation logic of a target control corresponding to a target aircraft model, wherein the appearance features of the target control are determined according to an appearance feature resource module, and the operation logic of the target control is determined according to an operation logic simulation module, wherein the appearance feature resource module and the operation logic simulation module are different functional modules in the virtual cockpit simulation system, and the control operation logic is used to simulate the operation effect of a real control in a virtual environment; The control simulation module is used to simulate the control operation in the virtual cockpit according to the appearance characteristics of the target control and the operation logic of the target control.

[0012] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps of any of the above-mentioned virtual cockpit simulation methods are implemented.

[0013] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of any of the virtual cockpit simulation methods described above are implemented.

[0014] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the steps of any of the above-mentioned virtual cockpit simulation methods are implemented.

[0015] The virtual cockpit simulation method, system, electronic device and storage medium provided by the present invention separate the appearance feature resource module and the operation logic simulation module corresponding to the control, so that when the appearance attributes or the operation logic change, only the corresponding function module needs to be modified, which greatly simplifies the control development and upgrade maintenance process. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0017] Figure 1 This is one of the flow charts of the simulation method of the virtual cockpit provided by the present invention.

[0018] Figure 2 This is one of the flow charts of the control operation simulation method provided by the present invention.

[0019] Figure 3 This is the second flow chart of the control operation simulation method provided by the present invention.

[0020] Figure 4 This is the third flow chart of the control operation simulation method provided by the present invention.

[0021] Figure 5 This is the second flow chart of the virtual cockpit simulation method provided by the present invention.

[0022] Figure 6 This is the third flow chart of the virtual cockpit simulation method provided by the present invention.

[0023] Figure 7 Schematic diagram of different types of buttons provided by the present invention.

[0024] Figure 8 It is a schematic diagram of the implementation flow of the virtual cockpit simulation system provided by the present invention.

[0025] Fig. 9 It is one of the flow charts for realizing the operation logic of the virtual cockpit control provided by the present invention.

[0026] Fig.10 This is the second flowchart of the virtual cockpit control operation logic provided by the present invention.

[0027] Fig.11 It is a structural schematic diagram of the virtual cockpit simulation system provided by the present invention.

[0028] Fig.12 It is a schematic diagram of the physical structure of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0029] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. 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] The virtual cockpit simulation system is a system that simulates the appearance and operating characteristics of various controls and instruments in the cockpit to meet the needs of pilot theoretical training, cockpit control usage learning and operating procedure training.

[0031] Different controls in existing virtual cockpit technologies exist as separate objects, and the appearance attributes and operation logic of controls are associated and bound. When the appearance attributes or operation logic of a control changes, the source code corresponding to the appearance attributes and operation logic of the control needs to be modified and recompiled one by one, which leads to high control development and upgrade maintenance costs.

[0032] In view of this, the present invention provides a virtual cockpit simulation method, including: determining the appearance characteristics of a target control and the target control operation logic corresponding to a target aircraft model, wherein the appearance characteristics of the target control are determined according to an appearance characteristic resource module, and the operation logic of the target control is determined according to an operation logic simulation module, wherein the appearance characteristic resource module and the operation logic simulation module are different functional modules in the virtual cockpit simulation system, and the control operation logic is used to simulate the operation effect of a real control in a virtual environment; and simulating the operation of the control in the virtual cockpit according to the appearance characteristics of the target control and the operation logic of the target control. The method separates the appearance characteristic resource module and the operation logic simulation module corresponding to the control, thereby realizing that when the appearance attributes or the operation logic change, only the corresponding functional module needs to be modified, which greatly simplifies the control development and upgrade maintenance process.

[0033] The technical solutions in the embodiments of the present invention will be described below in conjunction with the accompanying drawings in the embodiments of the present invention.

[0034] Figure 1 It is one of the flow charts of the simulation method of the virtual cockpit provided by the present invention, such as Figure 1 As shown, the method includes the following: Step 101: Determine the target control appearance features and target control operation logic corresponding to the target aircraft model, wherein the target control appearance features are determined based on an appearance feature resource module, and the target control operation logic is determined based on an operation logic simulation module. The appearance feature resource module and the operation logic simulation module are different functional modules in the virtual cockpit simulation system, and the control operation logic is used to simulate the operation effect of a real control in a virtual environment.

[0035] It should be noted that, in the case of virtual cockpit simulation, the target aircraft model is obtained, and according to the target aircraft model, the appearance feature resource module can determine the appearance features of the target control corresponding to the target aircraft model, and the appearance feature resource module may include the correspondence between the aircraft model and the appearance features of the control. According to the target aircraft model and the operation logic simulation module, the target control operation logic corresponding to the target aircraft model can be determined, and the operation logic simulation module may include the correspondence between the aircraft model and the control operation logic. Among them, the control operation logic is used to simulate the operation effect of the real control in the virtual environment, that is, when the virtual control is operated, the operation effect of the real control can be simulated. Since the appearance feature resource module and the operation logic simulation module are different functional modules in the virtual cockpit simulation system, that is, two independently set functional modules, they can be independently designed or maintained and upgraded.

[0036] Exemplarily, the present invention can adopt a method for quickly building a virtual cockpit based on WPF (Windows Presentation Foundation). As a free and unlicensed application building framework provided by Microsoft, WPF provides developers with powerful tools for creating modern user interfaces. The present invention can construct a virtual simulation control library by combining WPF's XAML (Extensible Application Markup Language) and C# language, as well as an algorithm for simulating control operation logic. The virtual simulation control library can store the correspondence between the model and the control appearance features and the correspondence between the model and the control operation logic, that is, the virtual simulation control library can be used for virtual cockpit simulation. The virtual simulation control library established by the simulation algorithm of the control operation logic can flexibly adapt to the cockpit controls of different models in terms of function, and meet the operation process training requirements of different models.

[0037] Step 102: simulating the control operation in the virtual cockpit according to the appearance characteristics of the target control and the target control operation logic.

[0038] It should be noted that there are many methods for simulating the control operation in the virtual cockpit according to the appearance characteristics of the target control and the operation logic of the target control. For example, the operation logic and appearance characteristics / display mode of the simulated aircraft control can be simulated by an algorithm, and a virtual simulation control library can be established to simulate the operation logic and appearance characteristics / display mode of the simulated aircraft control. The present invention does not limit the method for simulating the control operation in the virtual cockpit according to the appearance characteristics of the target control and the operation logic of the target control. Among them, the rich virtual simulation control library can flexibly adapt to the cockpit environment of different models and meet the operation process training requirements of different models.

[0039] Exemplarily, the technical principle of the virtual cockpit simulation method provided by the present invention can be to simulate the operating logic and appearance characteristics of real controls through algorithms, so that pilots can practice cockpit control operations in a virtual environment and improve their understanding and proficiency in how to use the controls.

[0040] It can be understood that by separating the control operation logic from the appearance properties, when the appearance properties change or the control properties change, only the corresponding functional modules need to be modified, which greatly simplifies the control development and upgrade maintenance process.

[0041] In some embodiments, the target control appearance features can be used to simulate the cockpit environment, and the target control operation logic can be used to simulate the control operation process.

[0042] Figure 2 It is one of the flow charts of the control operation simulation method provided by the present invention, such as Figure 2As shown, the step 102 performs control operation simulation in the virtual cockpit according to the appearance characteristics of the target control and the operation logic of the target control, which may include: Step 201: Load the appearance features of the target control and generate a virtual cockpit environment, wherein the virtual cockpit environment includes a virtual operation control.

[0043] It should be noted that there are many ways to load the target control appearance features and generate a virtual cockpit environment. For example, it may be to load the target control appearance features in a virtual simulation control library, or to load the target control appearance features in other information libraries, etc. The present invention does not limit the way to load the target control appearance features and generate a virtual cockpit environment.

[0044] Step 202: receiving control operation information and / or position movement information, wherein the control operation information represents operation information generated by a user's operation on the virtual operation control, and the position movement information represents movement information generated by a user's operation on the virtual operation control.

[0045] It should be noted that, when the user operates the virtual operation control, the control operation information and position movement information are received, wherein the control operation information represents the operation information generated by the user's operation on the virtual operation control. Exemplarily, the control operation information may be the operation information corresponding to the control generated by user operations such as mouse clicks, touches, and pressing virtual operation controls. The position movement information represents the movement information generated by the user's operation on the virtual operation control. Exemplarily, the position movement information may be the position movement information corresponding to the control generated by user operations such as twisting the virtual operation control, rotating the virtual operation control, and toggling the virtual operation control. Among them, the virtual operation control may be a virtual control or a physical control, and the present invention does not limit the type and form of the virtual operation control.

[0046] Exemplarily, the virtual operation control may include a button switch, which is on the display desktop or touch panel. When the mouse (touch point) is clicked to enter the control display area, a mouse click or finger press operation is performed. After the operation, the algorithm captures the button or touch state change information.

[0047] Step 203: Perform control operation simulation according to the control operation information and / or the position movement information, and the target control operation logic.

[0048] It should be noted that there are many ways to simulate control operations based on the control operation information and / or the position movement information, and the target control operation logic. For example, it can be simulated through an algorithm or through other devices. The present invention does not limit the method of simulating control operations based on the control operation information and / or the position movement information, and the target control operation logic.

[0049] Exemplarily, the present invention can send control operation information and position movement information to the simulation host, and the button display state presents a pressed or popped state change.

[0050] In some embodiments, the control state information may be determined according to the control operation information and the position movement information, and then the control display style may be adjusted according to the control state information.

[0051] Figure 3 This is the second flow chart of the control operation simulation method provided by the present invention. Figure 3 As shown, the step 203 performs control operation simulation according to the control operation information and / or the position movement information, and the target control operation logic, and may include: Step 301: Determine the state of a control according to the control operation information and / or the position movement information to obtain target state information.

[0052] It should be noted that there are many ways to determine the target state information by performing control state judgment based on the control operation information and / or the position movement information. For example, the target state information can be determined based on the correspondence between the preset operation information and the control state, or the correspondence between the preset position movement information and the control state, or it can be determined by calculation based on a preset algorithm, etc. The present invention does not limit the way to determine the target state information by performing control state judgment based on the control operation information and / or the position movement information.

[0053] Step 302: According to the target state information, the display style of the virtual operation control is updated from the initial display style to a changed display style, wherein the changed display style corresponds to the target state information.

[0054] It should be noted that after acquiring the target state information, the display style of the virtual operation control may be changed according to the target state information, for example, updated from an initial display style to a changed display style, and the changed display style corresponds to the target state information.

[0055] Exemplarily, the present invention can send button status information to the simulation host when the button control state changes, and the button display state presents a pressed or popped state change.

[0056] In some embodiments, the correspondence between the machine model and the control appearance features can be established by acquiring characteristic control images corresponding to different machine models.

[0057] Figure 4 FIG. 3 is a flow chart of the control operation simulation method provided by the present invention. Figure 4 As shown, the method includes: Step 401: Obtaining feature control image resources corresponding to different models; It should be noted that there are many ways to obtain feature control image resources corresponding to different models, such as taking photos or collecting them from the Internet. The present invention does not limit the method for obtaining feature control image resources corresponding to different models.

[0058] Step 402: Generate the appearance feature resource module according to the feature control image resources corresponding to the different models.

[0059] It should be noted that there are many ways to generate the appearance feature resource module according to the feature control image resources corresponding to the different models, for example, a correspondence between the model and the feature control image can be established, or a correspondence between the model, the control state and the feature control image can be established. The present invention does not limit the way to generate the appearance feature resource module according to the feature control image resources corresponding to the different models.

[0060] For example, when designing a control model, reusability and modularity are considered so that the control model can easily adapt to the characteristics of different appearance resources. Therefore, when constructing a control model, its appearance attributes are bound to control resources of different aircraft characteristics by using the data binding function provided by WPF, so as to separate the operation logic from the appearance resources, thereby realizing the dynamic loading and binding of appearance resources according to the characteristics of the aircraft model when rendering a virtual cockpit environment of different aircraft characteristics.

[0061] Step 403: Load the appearance features of the target control and generate a virtual cockpit environment, wherein the virtual cockpit environment includes a virtual operation control.

[0062] It should be noted that the description of step 403 may refer to the description of step 201 in the aforementioned embodiment, and will not be repeated here.

[0063] Step 404: receiving control operation information and position movement information, wherein the control operation information represents operation information generated by the user's operation on the virtual operation control, and the position movement information represents movement information generated by the user's operation on the virtual operation control.

[0064] It should be noted that the description of step 404 can refer to the description of step 202 in the above embodiment, which will not be repeated here.

[0065] Step 405: Perform control operation simulation according to the control operation information and / or the position movement information, and the target control operation logic.

[0066] It should be noted that the description of step 405 can refer to the description of step 203 in the above embodiment, which will not be repeated here.

[0067] For example, for different types of cockpit controls, the actual display is mainly a virtual implementation of the operation process. Among them, the control front-end display / initial display is written in the declarative language XAML, and the control of the state change after the control operation can be written in the C# file. The control implementation of different operation logics follows the following steps: For button switches on the display desktop or touch panel, the mouse (touch point) enters the control display area and is clicked or pressed by the finger. After the operation, the algorithm captures the button or touch state change information and sends the button state information to the simulation host. The button display state shows a state change of being pressed in or popped out.

[0068] For a button switch with a protective cover, when the protective cover is closed, the mouse (touch point) enters the control display area and clicks or presses with the mouse or the finger. After the operation, the algorithm captures the button or touch state change information and sends the button state information to the simulation host. The protective cover is in the open state. If the mouse clicks or the finger presses the open cover part, the algorithm captures the button or touch state change information and sends the button state information to the simulation host. The cover is closed. If the button area is operated, the display state after the operation shows a pressed or popped-up state change.

[0069] For the lever switch, after the mouse (touch point) enters the control display area, click the mouse to select or press the finger to move the lever to different switch positions. After the operation, the algorithm captures the lever or touch state change information and the mouse (touch point) position information, calculates the gear position to which the lever is moved, and sends the gear position information to the simulation host. The display state of the lever is consistent with the expected position direction of the switch.

[0070] For the knob switch, after the mouse (touch point) enters the control display area, click the mouse to select or press the finger to twist the switch to the target switch position. After the operation, the algorithm captures the switch or touch state change information and the mouse (touch point) position information, calculates the gear position to which the knob is turned, and sends the gear position information to the simulation host. The switch display state remains at the twisted gear position.

[0071] For the knob, after the mouse (touch point) enters the control display area, click the mouse to select or press the finger to twist the switch to any position. After the operation, the algorithm captures the knob or touch state change information and the mouse (touch point) position information, and sends the information that the real control corresponding to the knob position should output to the simulation host, calculates the angle of rotation of the knob, and the indication state of the knob stays at the position where the mouse is released or the finger is lifted.

[0072] For the encoder, the pilot can rotate it to any gear brake position after selecting it. After the operation, the algorithm captures the encoder or touch state change information and the position information of the mouse (touch point), and calculates the rotated encoder angle based on the position information. When the rotation angle exceeds the encoder brake blocking angle, the encoder rotation information is sent to the simulation host, and the encoder displays the turntable rotation blocking angle.

[0073] For the operating handle, the pilot can select the handle and push or pull it to any position within the limit range. After the operation, the algorithm captures the touch state change information of the handle and the position information of the mouse (touch point), calculates the potential value corresponding to the current position and sends it to the simulation host. The handle display state changes in real time with the mouse (touch point) position.

[0074] In some embodiments, an updated feature file may be generated in a language corresponding to the appearance feature correspondence to update the appearance feature.

[0075] Figure 5 FIG. 2 is a flow chart of the virtual cockpit simulation method provided by the present invention. Figure 5 As shown, the appearance feature resource module is generated according to the target user interface framework, and the method includes the following steps: Step 501: Determine the target control appearance features and target control operation logic corresponding to the target aircraft model, wherein the target control appearance features are determined based on an appearance feature resource module, and the target control operation logic is determined based on an operation logic simulation module. The appearance feature resource module and the operation logic simulation module are different functional modules in the virtual cockpit simulation system, and the control operation logic is used to simulate the operation effect of a real control in a virtual environment.

[0076] It should be noted that the description of step 501 can refer to the description of step 101 in the above embodiment, which will not be repeated here.

[0077] Step 502: simulating the control operation in the virtual cockpit according to the appearance characteristics of the target control and the operation logic of the target control.

[0078] It should be noted that the description of step 502 can refer to the description of step 102 in the above embodiment, which will not be repeated here.

[0079] Step 503: Generate a target feature file by updating the appearance features of the control corresponding to the target model. The target feature file adopts a target user interface language. The target user interface framework has a corresponding relationship with the target user interface language.

[0080] It should be noted that the appearance feature resource module is generated according to the target user interface framework. The target user interface framework may be a WPF framework, etc. The target user interface language may be a XAML language, etc.

[0081] Exemplarily, the present invention can combine WPF and the algorithm of simulating the control operation logic to build a virtual simulation control library. That is, the appearance feature resource module is generated according to WPF. The target feature file can be generated by updating the control appearance features corresponding to the target model, that is, obtaining the style display features of different models and writing them into the XAML file.

[0082] Step 504: In the appearance feature resource module, the correspondence between the target machine model and the appearance feature of the target control is updated to the correspondence between the target machine model and the target feature file.

[0083] It should be noted that updating the appearance features of the control can be achieved by updating the correspondence between the target machine model and the appearance features of the target control to the correspondence between the target machine model and the target feature file.

[0084] For example, when the model features need to be updated, the style resources in the virtual simulation control library can be replaced according to the features of different models to achieve rapid appearance attribute adaptation and construct virtual cockpits of different models. The corresponding virtual cockpit environment can also be customized according to the features of different models. When the operation logic is consistent, there is no need to compile the code, only to modify the XAML style resource file, and the customized transformation and upgrade of the cockpit environment can be achieved by adapting different appearance attribute resources.

[0085] It is understandable that the above method makes the appearance attribute resources of the control flexible and configurable. For controls with consistent operation logic, a new control style can be obtained by simply replacing the image resources, which simplifies the process of updating the appearance characteristics of the control.

[0086] In some embodiments, controls may be categorized according to operation logic, and a category of controls may be updated when the operation logic of the controls is updated.

[0087] Figure 6 FIG3 is a flow chart of the method for simulating a virtual cockpit provided by the present invention. Figure 6 As shown, the method includes the following: Step 601: Determine the target control appearance features and target control operation logic corresponding to the target aircraft model, wherein the target control appearance features are determined based on an appearance feature resource module, and the target control operation logic is determined based on an operation logic simulation module. The appearance feature resource module and the operation logic simulation module are different functional modules in the virtual cockpit simulation system, and the control operation logic is used to simulate the operation effect of a real control in a virtual environment.

[0088] It should be noted that the description of step 601 can refer to the description of step 101 in the aforementioned embodiment, which will not be repeated here.

[0089] Step 602: simulating the control operation in the virtual cockpit according to the appearance characteristics of the target control and the operation logic of the target control.

[0090] It should be noted that the description of step 602 can refer to the description of step 102 in the above embodiment, which will not be repeated here.

[0091] Step 603: Obtain an update operation logic algorithm corresponding to the target control, the target control corresponds to a target control type, and the target control type includes at least two controls; It should be noted that the technical principle of efficiently upgrading the control function logic is to classify the cockpit controls according to the operation logic and implement a simulation algorithm that encapsulates the control operation logic. When the operation logic of the class changes, the background C# can be modified directly without modifying the code logic of each control.

[0092] Step 604: In the operation logic simulation module, the operation logic algorithm corresponding to the target control type is updated to the updated operation logic algorithm.

[0093] For example, when a certain type of controls with the same operation logic need to be upgraded, the present invention provides a fast and efficient method. It is only necessary to locate and modify the background C# operation logic simulation algorithm of this type of controls to achieve the function upgrade of all similar controls. This method greatly simplifies the process of system upgrade and maintenance, reduces the investment of time and cost, and ensures that the system is always in the best state.

[0094] Figure 7 Schematic diagram of different types of buttons provided by the present invention. Figure 7 As shown in the figure, the operation logic of several different types of buttons is the same, and the operation logic of their backgrounds in the method provided by the present invention is the same. When upgrading the function, there is no need to modify the code of each type of control. Only the same logic code needs to be modified.

[0095] For example, the operation logic of the real cockpit control is analyzed. The simulation algorithm for realizing the operation logic of the control first needs to analyze and classify the operation logic of the controls in the real cockpit of the aircraft. At present, the common controls in the cockpit mainly include button switches, button switches with protective covers, lever switches, knob switches, knobs, encoders, operating handles, status indicator lights, etc. For button switches, the pilot performs a pressing operation to switch the button state. For button switches with protective covers, the pilot needs to open the protective cover first and then press the operation to switch the button state. For lever switches, the pilot needs to select the lever first and then wave the lever to different switch positions. For knob switches, the pilot needs to select the knob switch and twist it to the target switch position. For knobs, the pilot can rotate to any position after selecting. For encoders, the pilot can rotate to any gear brake position after selecting. For operating handles, the pilot can push or pull the handle to any position within the limit range after selecting the handle. For status indicator controls, the pilot visually observes the display state of the light to determine the flight state, and then performs the next operation.

[0096] Among them, the virtual simulation control library can be managed according to the operating logic of the real control, so that the functional upgrade of the same type of controls only requires modifying the logic code once, which greatly improves the upgrade and maintenance efficiency of the virtual cockpit and reduces the subsequent costs and troubles.

[0097] It is understandable that the above control operation logic update method can make upgrade maintenance quick and efficient. When the aircraft control operation logic changes, the function upgrade of the same type of control only needs to modify the logic code once, and the control function upgrade of the entire cockpit system can be achieved.

[0098] The following describes an exemplary application of an embodiment of the present invention in a practical application scenario.

[0099] Figure 8 Schematic diagram of the implementation process of the virtual cockpit simulation system provided by the present invention. Figure 8 As shown, the virtual cockpit simulation system includes an attribute binding and data interaction module and a control style resource set module. First, the attribute binding and data interaction module reads the style resource set, and performs control panel layout and loading according to the control style binding to build a virtual cockpit. When an operation control instruction is received, the operation control instruction is transmitted to the control style resource set module through the aircraft simulation system.

[0100] The control style resource set module is modeled according to the operation control instructions and the control operation algorithm, and determines the control properties and the image resources corresponding to the control. The control properties include buttons, knobs, switches, handles and encoders. The properties and images of the corresponding controls are called and displayed according to the operation control instructions.

[0101] Fig. 9 This is one of the flow charts for implementing the operation logic of the virtual cockpit control provided by the present invention. Fig. 9 As shown, the steps include: Step 701: Obtain the click (press) and movement position of the mouse or contact point; Step 702: Determine the state of the control according to the above information; Step 703: Sending status information to the simulation host; Step 704: Display style status update.

[0102] Fig.10 This is the second flowchart of the virtual cockpit control operation logic provided by the present invention. Fig.10 As shown, the steps include: Step 801: Obtain model feature control image resources; Step 802: constructing a control model binding resource; Step 803: Loading control style resources according to the characteristics of the model; Step 804: Render the cockpit environment.

[0103] The technical advantages of the above embodiments include: 1. A virtual simulation control library established through a simulation algorithm of the control operation logic can flexibly adapt to cockpit controls of different models and meet the operation process training requirements of different models. 2. Flexible and configurable. For controls with consistent operation logic, a new control style can be obtained by simply replacing the image resources. 3. Fast and efficient upgrade and maintenance. When the operation logic of the aircraft control changes, the function upgrade of the same type of control only requires modifying the logic code once, and the control function upgrade of the entire cockpit system can be achieved.

[0104] The virtual cockpit simulation system provided by the present invention is described below. The virtual cockpit simulation system described below and the virtual cockpit simulation method described above can be referred to each other.

[0105] Fig.11 Schematic diagram of the structure of the virtual cockpit simulation system provided by the present invention. Fig. 9 As shown, the virtual cockpit simulation system 900 includes a content determination module 901 and a control simulation module 902, wherein:

[0106] The content determination module 901 is used to determine the target control appearance characteristics and target control operation logic corresponding to the target aircraft model, the target control appearance characteristics are determined according to the appearance characteristic resource module, and the target control operation logic is determined according to the operation logic simulation module. The appearance characteristic resource module and the operation logic simulation module are different functional modules in the virtual cockpit simulation system, and the control operation logic is used to simulate the operation effect of the real control in the virtual environment; the control simulation module 902 is used to simulate the control operation in the virtual cockpit according to the target control appearance characteristics and the target control operation logic.

[0107] Based on the above embodiments, in this embodiment, the control simulation module 802 includes an environment simulation unit, an information acquisition unit and an operation simulation unit, wherein:

[0108] The environment simulation unit is used to load the appearance features of the target control and generate a virtual cockpit environment, wherein the virtual cockpit environment includes a virtual operation control; The information acquisition unit is used to receive control operation information and position movement information, wherein the control operation information represents the operation information generated by the user's operation on the virtual operation control, and the position movement information represents the movement information generated by the user's operation on the virtual operation control; The operation simulation unit is used to perform control operation simulation according to the control operation information and / or the position movement information, and the target control operation logic.

[0109] Based on the above embodiments, in this embodiment, the operation simulation unit is specifically used to: judge the control state according to the control operation information and / or the position movement information to obtain target state information; and update the display style of the virtual operation control from the initial display style to the changed display style according to the target state information, and the changed display style corresponds to the target state information.

[0110] Based on the above embodiments, in this embodiment, the device also includes an appearance feature construction module, which is specifically used to: obtain feature control image resources corresponding to different models; and generate the appearance feature resource module according to the feature control image resources corresponding to the different models.

[0111] Based on the above embodiments, in this embodiment, the device also includes an appearance update module, which is specifically used to: generate a target feature file from the appearance features of the updated control corresponding to the target model, the target feature file adopts a target user interface language, and the target user interface framework has a corresponding relationship with the target user interface language; in the appearance feature resource module, the correspondence between the target model and the appearance features of the target control is updated to the correspondence between the target model and the target feature file.

[0112] Based on the above embodiments, in this embodiment, the device also includes an operation logic update module, and the operation logic update module is specifically used to: obtain an updated operation logic algorithm corresponding to the target control, the target control corresponds to a target control type, and the target control type includes at least two controls; in the operation logic simulation module, the operation logic algorithm corresponding to the target control type is updated to the updated operation logic algorithm.

[0113] Fig.12 Schematic diagram of the physical structure of the electronic device provided by the present invention. Fig.12 As shown, the electronic device may include: a processor 1001, a communication interface 1002, a memory 1003 and a communication bus 1004, wherein the processor 1001, the communication interface 1002 and the memory 1003 complete mutual communication through the communication bus 1004. The processor 1001 may call the logic instructions in the memory 1003 to execute the virtual cockpit simulation method, the method comprising: determining the appearance characteristics and target control operation logic corresponding to the target aircraft model, the appearance characteristics of the target control are determined according to the appearance characteristics resource module, the target control operation logic is determined according to the operation logic simulation module, the appearance characteristics resource module and the operation logic simulation module are different functional modules in the virtual cockpit simulation system, and the control operation logic is used to simulate the operation effect of the real control in the virtual environment; and performing control operation simulation in the virtual cockpit according to the appearance characteristics of the target control and the target control operation logic.

[0114] In addition, the logic instructions in the above-mentioned memory 1003 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, 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, and the computer software product is stored in a storage medium, including several instructions for 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 method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0115] On the other hand, the present invention also provides a computer program product, which includes a computer program, and the computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the virtual cockpit simulation method provided by the above methods, and the method includes: determining the target control appearance characteristics and target control operation logic corresponding to the target aircraft model, the target control appearance characteristics are determined according to the appearance characteristic resource module, and the target control operation logic is determined according to the operation logic simulation module. The appearance characteristic resource module and the operation logic simulation module are different functional modules in the virtual cockpit simulation system, and the control operation logic is used to simulate the operation effect of the real control in the virtual environment; the control operation simulation in the virtual cockpit is performed according to the target control appearance characteristics and the target control operation logic.

[0116] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website site, a computer, a server, or a data center to another website site, a computer, a server, or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a server or a data center that includes one or more available media integrated. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive Solid State Disk (SSD)), etc.

[0117] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the virtual cockpit simulation method provided by the above-mentioned methods, the method comprising: determining the target control appearance characteristics and target control operation logic corresponding to the target aircraft model, the target control appearance characteristics are determined according to an appearance characteristic resource module, the target control operation logic is determined according to an operation logic simulation module, the appearance characteristic resource module and the operation logic simulation module are different functional modules in the virtual cockpit simulation system, and the control operation logic is used to simulate the operation effect of a real control in a virtual environment; and performing control operation simulation in the virtual cockpit according to the target control appearance characteristics and the target control operation logic.

[0118] The above-mentioned non-transitory computer-readable storage medium can adopt any combination of one or more computer-readable media. Computer-readable media can be computer-readable signal media or non-transitory computer-readable storage media. Non-transitory computer-readable storage media can be, for example, - but not limited to - electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or devices, or any combination of the above. More specific examples (non-exhaustive lists) of non-transitory computer-readable storage media include: electrical connections with one or more wires, portable computer disks, hard disks, random access memories (RAM), read-only memories (read only memory, ROM), erasable programmable read-only memories (erasableprogrammable read only memory, EPROM) or flash memory, optical fibers, portable compact disk read-only memories (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above. In this document, non-transitory computer-readable storage media can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.

[0119] Computer-readable signal media may include a data signal propagated in baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a non-transitory computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0120] The program code embodied on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wire, optical cable, radio frequency (RF), etc., or any suitable combination of the foregoing.

[0121] Computer program code for performing the operations of the present specification may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0122] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0123] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0124] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A virtual cockpit simulation method, characterized in that: Applied to a virtual cockpit simulation system, the method comprises: determining a target control appearance feature and a target control operation logic corresponding to a target aircraft model, wherein the target control appearance feature is determined according to an appearance feature resource module, and the target control operation logic is determined according to an operation logic simulation module, wherein the appearance feature resource module and the operation logic simulation module are different functional modules in the virtual cockpit simulation system, and the control operation logic is used to simulate the operation effect of a real control in a virtual environment; The control operation simulation in the virtual cockpit is performed according to the appearance characteristics of the target control and the target control operation logic.

2. The virtual cockpit simulation method according to claim 1, characterized in that: The simulating the control operation in the virtual cockpit according to the appearance feature of the target control and the operation logic of the target control includes: The target control appearance feature is loaded to generate a virtual cockpit environment, wherein the virtual cockpit environment includes a virtual operation control; control operation information and position movement information are received, wherein the control operation information represents operation information generated by a user's operation on the virtual operation control, and the position movement information represents movement information generated by a user's operation on the virtual operation control; and control operation simulation is performed according to the control operation information and / or the position movement information, and the target control operation logic.

3. The virtual cockpit simulation method according to claim 2, characterized in that: The performing control operation simulation according to the control operation information and / or the position movement information and the target control operation logic includes: Determine the state of the control according to the control operation information and / or the position movement information to obtain target state information; According to the target state information, the display style of the virtual operation control is updated from the initial display style to a changed display style, and the changed display style corresponds to the target state information.

4. The virtual cockpit simulation method according to claim 2, characterized in that: Before loading the target control appearance features and generating a virtual cockpit environment, the method includes: Get the feature control image resources corresponding to different models; The appearance feature resource module is generated according to the feature control image resources corresponding to the different models.

5. The virtual cockpit simulation method according to claim 1, characterized in that: The appearance feature resource module is generated according to the target user interface framework, and the method further includes: Generate a target feature file by updating the appearance features of the control corresponding to the target model, wherein the target feature file adopts a target user interface language, and the target user interface framework has a corresponding relationship with the target user interface language; In the appearance feature resource module, the correspondence between the target machine model and the appearance feature of the target control is updated to the correspondence between the target machine model and the target feature file.

6. The virtual cockpit simulation method according to claim 1, characterized in that: The method further includes: obtaining an update operation logic algorithm corresponding to the target control, the target control corresponding to a target control type, and the target control type includes at least two controls; In the operation logic simulation module, the operation logic algorithm corresponding to the target control type is updated to the updated operation logic algorithm.

7. A virtual cockpit simulation system, characterized in that: include: A content determination module, used to determine the appearance features and operation logic of a target control corresponding to a target aircraft model, wherein the appearance features of the target control are determined according to an appearance feature resource module, and the operation logic of the target control is determined according to an operation logic simulation module, wherein the appearance feature resource module and the operation logic simulation module are different functional modules in the virtual cockpit simulation system, and the control operation logic is used to simulate the operation effect of a real control in a virtual environment; The control simulation module is used to simulate the control operation in the virtual cockpit according to the appearance characteristics of the target control and the operation logic of the target control.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the virtual cockpit simulation method according to any one of claims 1 to 6 are implemented.

9. A non-transitory 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 virtual cockpit simulation method according to any one of claims 1 to 6 are implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the virtual cockpit simulation method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Universal simulation platform of cockpit display control system

    CN103760780A

  • Driving simulation method, device and equipment and storage medium

    CN113539010A

  • Simulated driving system and method based on real scene interaction

    CN116126150A

  • Virtual instruction tool

    US10810899B1

  • Display substrate, display panel and display device

    WO2021207969A1