WO2019019111A1 - Flight simulation control method, server and terminal device - Google Patents

Flight simulation control method, server and terminal device Download PDF

Info

Publication number
WO2019019111A1
WO2019019111A1 PCT/CN2017/094733 CN2017094733W WO2019019111A1 WO 2019019111 A1 WO2019019111 A1 WO 2019019111A1 CN 2017094733 W CN2017094733 W CN 2017094733W WO 2019019111 A1 WO2019019111 A1 WO 2019019111A1
Authority
WO
WIPO (PCT)
Prior art keywords
input device
aircraft
identification code
system interface
server
Prior art date
Application number
PCT/CN2017/094733
Other languages
French (fr)
Chinese (zh)
Inventor
孙晓帆
周达超
Original Assignee
深圳市大疆创新科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市大疆创新科技有限公司 filed Critical 深圳市大疆创新科技有限公司
Priority to PCT/CN2017/094733 priority Critical patent/WO2019019111A1/en
Priority to CN201780005601.3A priority patent/CN108521797B/en
Publication of WO2019019111A1 publication Critical patent/WO2019019111A1/en

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B17/00Systems involving the use of models or simulators of said systems
    • G05B17/02Systems involving the use of models or simulators of said systems electric

Definitions

  • the invention relates to the technical field of simulation simulation software, in particular to a flight simulation control method, a server and a terminal device.
  • a dedicated input device ie controller
  • the user needs to practice the operation mode of the input device when using the software or participating in the game, thereby improving the learning cost of the user and reducing the user learning and entertainment experience.
  • the invention provides a flight simulation control method, a server and a terminal device.
  • a flight simulation control method configured on a server side, the method comprising:
  • Each operational button of the input device is mapped to an aircraft model to control the motion of the aircraft in the system interface in accordance with the operation of the operational button.
  • a flight simulation control method which is configured on a terminal device side, and the method includes:
  • a flight simulation control method which is configured on a terminal device side, and the method includes:
  • Each operational button of the input device is mapped to an aircraft model to control the motion of the aircraft in the system interface in accordance with the operation of the operational button.
  • a server comprising a processor and a memory, the memory storing a number of instructions, the processor for reading an instruction from the memory to implement:
  • Each operational button of the input device is mapped to an aircraft model to control the motion of the aircraft in the system interface in accordance with the operation of the operational button.
  • a terminal device comprising a processor and a memory, the memory storing a plurality of instructions, the processor for reading an instruction from the memory to implement:
  • a terminal device comprising a processor and a memory, the memory storing a plurality of instructions, the processor for reading an instruction from the memory to implement:
  • Each operational button of the input device is mapped to an aircraft model to control the motion of the aircraft in the system interface in accordance with the operation of the operational button.
  • a machine readable storage medium having stored thereon a plurality of computer instructions, the computer instructions being executed as follows:
  • Each operational button of the input device is mapped to an aircraft model to control the motion of the aircraft in the system interface in accordance with the operation of the operational button.
  • a machine readable storage medium having stored thereon a plurality of computer instructions, the computer instructions being executed as follows:
  • a ninth aspect of the invention there is provided a machine readable storage medium having stored thereon a plurality of computer instructions that, when executed, perform the following processing:
  • Each operational button of the input device is mapped to an aircraft model to control the motion of the aircraft in the system interface in accordance with the operation of the operational button.
  • the present invention determines the corresponding system interface according to the identification code of the external input device, and maps the operations of the input device to the aircraft model according to the The operation of the operating button controls the motion of the aircraft in the system interface. It can be seen that the embodiment of the present invention can be applied to scenarios of multiple input devices, so that the user can use the familiar input device to perform game or flight simulation, thereby reducing the time cost of the learning operation mode. In addition, the user can also control the same terminal device with different input devices, simulate and control the flight of the aircraft, and get the real flight experience.
  • FIG. 1 is an application scenario diagram of a flight simulation control method according to an embodiment of the present invention
  • FIG. 2 is a schematic flow chart of a flight simulation control method according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of a system interface according to an embodiment of the present invention.
  • FIG. 4 to FIG. 5 are schematic diagrams of an input device according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a server according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of a terminal device according to another embodiment of the present invention.
  • a dedicated input device ie controller
  • the user participates in an aircraft simulation flight for one hour. Because the aircraft is not familiar with input devices during flight simulation (eg, aircraft remote control, keyboard, gamepad, etc.), a familiar process is required. After entering the device, the time has also arrived, resulting in a poor user experience.
  • the user owns a device, and the aircraft simulation software or the aircraft entertainment game is newly added to the device. Since the device only has a keyboard, although the user can be familiar with the keyboard, the user does not feel the real feeling of driving the aircraft. At this time, if the device is compatible with the aircraft-made aircraft remote controller, the flight of the aircraft is controlled by the aircraft remote controller, and the user is experienced to enjoy the flight.
  • FIG. 1 is an application scenario in which a terminal device 101 has a communication interface through which a communication interface can be used
  • the input device 102 is in communication connection.
  • the terminal device 101 is communicatively coupled to the server 104 via a local area network (LAN) or a wide area network (WAN) 103.
  • the method can be applied to the terminal device 101 or the server 104, for example, by an application or software installed on the terminal device or the server.
  • the terminal device may be a smart phone, a tablet computer or a control terminal.
  • FIG. 2 is a schematic flow chart of a flight simulation control method according to an embodiment of the present invention. Referring to FIG. 2, the method is configured on the server, and includes steps 201 to 203:
  • Step 201 Determine an identification code of the external input device.
  • the identification code is the only identifier capable of identifying the input device.
  • the terminal device acquires the identification code of the input device, and then sends the identification code of the input device to the energy server.
  • the identification code of the input device can also be recognized by the server.
  • Step 202 Determine a system interface corresponding to the identifier.
  • a plurality of system interfaces are set in the server, and each system interface corresponds to one input device, because different input devices have different operation buttons.
  • the input device matches the system interface to improve the user experience.
  • Step 203 Map each operation button of the input device to an aircraft model to control an action of the aircraft in the system interface according to the operation of the operation button.
  • the aircraft model may be implemented by simulation software or a mathematical model in a game, or may be implemented by hardware.
  • the aircraft model may include a dynamic model and a display model of the aircraft.
  • the power model is mapped to each operation button of the input device, and the parameters thereof can be adjusted according to the operation of each operation button.
  • the display model includes an aircraft that is presented to the user in the system interface. It will be appreciated that as the parameters of the aircraft model change, the corresponding aircraft motion will also change.
  • the server can adjust the parameters of the aircraft by the above operations, and then be displayed by the action of the aircraft on the system interface. The user can confirm the correct operation of the aircraft through the action of each aircraft in the operation interface to improve the control accuracy.
  • the embodiment of the present invention can be applied to scenarios of multiple input devices.
  • the user can use the familiar input device to combine the system boundary.
  • Game or flight simulation can reduce the time cost of learning operations.
  • the user interface can be more familiar with the operation mode due to the prompt of the system interface, which can reduce the learning cost, and can enable the user to experience the fun of different control modes and obtain the real flight experience.
  • the input device may be one or more of an aircraft remote controller, a game controller, and a keyboard, and the user is described in conjunction with the scenario of FIG.
  • the terminal device 101 acquires an identification code of one or more input devices 102.
  • the confirmation process of the identification code includes:
  • each communication interface may have a one-to-one correspondence with the input device 102.
  • the terminal device 101 can send the identification code of the communication interface to the server 104, and then the server 104 acquires the identification of the input device 104 according to the correspondence between the communication interface and the input device 102. code.
  • the identification code of the communication interface can also be directly used as the identification code of the input device 102. This embodiment can also be implemented without affecting other configurations. Program.
  • the terminal device 101 is small in size and the number of communication interfaces is limited, and multiple input devices 102 are required to share a communication interface, such as a USB interface.
  • the terminal device 101 detects that the communication interface accesses the input device 102, it can interact with the input device 102: for example, the terminal device 101 sends an identification request to the input device 102, and the input device 102 transmits to the terminal device 101 in response to the identification request. Its own identification code.
  • the terminal device 101 transmits the acquired identification code of the input device 102 to the server 104. This saves the purpose of the communication interface.
  • the terminal device 101 accesses the input device 102 to the service.
  • the device 104 sends access information for prompting the server 104 that the input device 102 has access to the terminal device 101.
  • the server 101 interacts with the input device 102 via the communication connection 103 to obtain the identification code of the input device 102. This can save the interaction time between the terminal device 101 and the input device 102, and improve the control efficiency.
  • the server 103 After confirming the identification code of the input device 102, the server 103 determines its corresponding system interface based on the identification code.
  • the system interface is pre-stored in the server 104 and each system interface corresponds to an input device 102. In this way, the input device matches the system interface to improve the user experience.
  • the terminal device 101 can access multiple input devices 102 at the same time.
  • the server 104 determines the priority of the multiple input devices 102 according to the identification code. In this embodiment, the priority is from the highest to the lowest. , gamepad and keyboard. That is, the server 104 determines the system interface corresponding to the aircraft remote controller as the final system interface, and transmits the above system interface to the terminal device 101.
  • Figure 3 illustrates a system interface including an aircraft flight display area and a plurality of virtual keys (e.g., weight, altitude, speed, direction, ..., back, forward, etc.).
  • the aircraft flight display area may display an action of the aircraft and a flight scene, and the plurality of virtual buttons may display flight parameters corresponding to the aircraft or control information of the input device.
  • the system interface can be adjusted and laid out according to actual needs, which is not limited in this embodiment.
  • the server 104 determines the source of the control information according to the control information of the input device 102, and then displays the system interface corresponding to the input device. If the server 104 receives the control information of the plurality of input devices at the same time, the system interface corresponding to the input device with the highest priority is displayed at this time.
  • the server 104 maps the operational buttons of the input device 102 to the aircraft model, ie to the dynamic model of the aircraft. Then, according to the operation of each operation button of the input device, the model of the aircraft is adjusted according to the control command, and the action of the aircraft is controlled. If the virtual button in FIG. 3 exists in the system interface, the operation of each operation button can also be displayed through the parameters of the virtual button in the system interface.
  • the pre-configured mapping relationship table is stored in the server 104, and the aircraft remote controller shown in FIG. 4, the game controller and the keyboard shown in FIG. 5 are taken as an example, and the mapping is off. The table is shown in Tables 1 and 2.
  • Table 1 is the mapping relationship between the operation buttons of the input device and the menu-related parameters in the aircraft model. According to the mapping relationship of Table 1, the user can adjust various parameters of the aircraft model through the input device.
  • Table 2 shows the mapping relationship between the operation buttons of the input device and the flight parameters of the aircraft in the aircraft model. According to the mapping relationship of Table 2, the user can adjust various parameters in the aircraft model through the input device to achieve the purpose of adjusting the motion of the aircraft.
  • the server 104 transmits the above-mentioned aircraft model parameters to the terminal device 101, and the terminal device 101 completes the first display.
  • Each parameter in each aircraft model may be a default value when first displayed, or may be a parameter of the current flight state of the aircraft.
  • the terminal device 101 When the user operates the operation button of the input device 102, the terminal device 101 generates a corresponding control command according to the corresponding operation, and transmits the control command to the server 104.
  • the aircraft model in the server 104 adjusts the corresponding parameters according to the mapping relationship between the control command and the parameters. For example, if the operation button is triggered once, the preset step size can be added based on the original value of the parameter to obtain the parameter update value.
  • the preset step size can be adaptively adjusted according to the characteristics of each parameter, which is not limited in this embodiment.
  • the terminal device 101 If the operation button is a joystick, the terminal device 101 generates a corresponding control command according to the rotation angle of the joystick.
  • the control intensity indicated by the control command is positively correlated with the rotation angle.
  • the server 104 adds a plurality of preset steps corresponding to the rotation angle based on the original value of the corresponding parameter according to the control instruction. long.
  • the sensitivity coefficient corresponding to the default rocker in this embodiment is 1. If the user tends to have higher sensitivity, the sensitivity coefficient can be adjusted to be greater than 1, which can reduce the action of triggering the joystick; if the user tends to have lower sensitivity, the sensitivity coefficient can be adjusted to be less than 1, so that the user can use a larger action. A smaller amount of parameter variation is obtained.
  • the flight simulation control method provided in this embodiment is configured on the terminal device.
  • the input device accesses the terminal device through a communication interface, the terminal device determines an identification code of the input device, and then determines a system interface according to the identification code, and maps each operation button of the input device to the aircraft model. Then, the aircraft model in the terminal device adjusts the corresponding parameters according to the operation of each button of the input device, and displays the action of the aircraft in the system interface.
  • the input device accesses the terminal device through a communication interface
  • the terminal device determines an identification code of the input device, and then determines a system interface according to the identification code, and maps each operation button of the input device to the aircraft model.
  • the aircraft model in the terminal device adjusts the corresponding parameters according to the operation of each button of the input device, and displays the action of the aircraft in the system interface.
  • FIG. 6 is a schematic structural diagram of a server according to an embodiment of the present invention.
  • the server 600 includes a processor 601, a memory 602, and a communication interface 603.
  • a plurality of instructions are stored in the memory 602, and the processor 601 is configured to read instructions from the memory to implement:
  • Each operational button of the input device is mapped to an aircraft model to control the motion of the aircraft in the system interface in accordance with the operation of the operational button.
  • the processor 601 maps the operation buttons of the input device to the aircraft model, including:
  • Each operation button of the input device is mapped to an aircraft model according to a mapping relationship table.
  • the processor 601 is further configured to:
  • the action of the aircraft is controlled in accordance with the control command.
  • the processor 601 acquires a control instruction that the terminal device sends an operation button corresponding to the input device, and includes:
  • control instruction corresponds to a rocker on the terminal device, adjusting a parameter of the aircraft model according to a control intensity indicated by the control instruction; a control intensity indicated by the control instruction and a rotation angle of the rocker are positive Related.
  • the processor 601 determines an identifier of the external input device, including:
  • the processor 601 determines a system interface corresponding to the identifier, including:
  • the system interface corresponding to the input device with the highest priority is determined as the system interface to be displayed.
  • the input device includes one or more of an aircraft remote controller, a game controller, and a keyboard.
  • the priority of the input device from high to low is: an aircraft remote controller, a game controller, and a keyboard.
  • FIG. 7 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
  • the terminal device 700 includes a processor 701, a memory 702, and a communication interface 703.
  • a number of instructions are stored in the memory 702, and the processor 701 is configured to read instructions from the memory to implement:
  • the processor 701 is configured to:
  • the control instruction is used to instruct the server to adjust parameters of the aircraft model according to a mapping relationship between an operation button and an aircraft model;
  • the processor 701 is configured to generate a corresponding control instruction according to the operation of the operation button, including:
  • the operation button is a rocker
  • a corresponding control command is generated according to the rotation angle of the rocker; and the control intensity indicated by the control command is positively correlated with the rotation angle.
  • FIG. 8 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
  • the terminal device 800 includes a processor 801, a memory 802, and a communication interface 803.
  • a number of instructions are stored in the memory 802, and the processor 801 is configured to read instructions from the memory to implement:
  • Each operational button of the input device is mapped to an aircraft model to control the motion of the aircraft in the system interface in accordance with the operation of the operational button.
  • the processor 801 maps the operation buttons of the input device to the aircraft model, including:
  • Each operation button of the input device is mapped to an aircraft model according to a mapping relationship table.
  • the processor 801 is further configured to:
  • the parameters of the aircraft model are adjusted according to the control command.
  • the processor 801 generates a corresponding control instruction according to the operation information of the operation button, including:
  • the operation button is a rocker
  • a corresponding control command is generated according to the rotation angle of the rocker; and the control intensity indicated by the control command is positively correlated with the rotation angle.
  • the processor 801 determines an identifier of the external input device, including:
  • the processor 801 determines an identifier of the external input device, including:
  • the identification code of the input device is determined according to a correspondence between the communication interface and the input device.
  • the processor 801 determines a system interface corresponding to the identifier, including:
  • the system interface corresponding to the input device with the highest priority is determined as the system interface to be displayed.
  • the input device includes one or more of an aircraft remote controller, a game controller, and a keyboard.
  • the priority of the input device from high to low is: an aircraft remote controller, a game controller, and a keyboard.
  • An embodiment of the invention further provides a machine readable storage medium having stored thereon a plurality of computer instructions, the computer instructions being executed as follows:
  • Each operational button of the input device is mapped to an aircraft model to control the motion of the aircraft in the system interface in accordance with the operation of the operational button.
  • An embodiment of the invention further provides a machine readable storage medium having stored thereon a plurality of computer instructions, the computer instructions being executed as follows:
  • a system interface corresponding to the identification code of the input device is received, and an action of the aircraft.
  • An embodiment of the invention further provides a machine readable storage medium having stored thereon a plurality of computer instructions, the computer instructions being executed as follows:
  • Each operational button of the input device is mapped to an aircraft model to control the motion of the aircraft in the system interface in accordance with the operation of the operational button.
  • the disclosed apparatus and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • 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, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
  • the above-described integrated unit implemented in the form of a software functional unit can be stored in a computer readable storage medium.
  • the above software functional unit is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to perform the methods of the various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like, which can store program codes. .

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Selective Calling Equipment (AREA)

Abstract

A flight simulation control method, a server and a terminal device, the method comprising: determining an identification code of an external input device (201); determining a system interface corresponding to the identification code (202); and mapping various operation keys of an input device to an aircraft model, so as to control the actions of an aircraft in the system interface according to the operation of the keys (203). It can be seen that the flight simulation control method, the server and the terminal device can be applied to scenes of multiple input devices, and a user can use an input device that it is already familiar with for gaming or flight simulation, thereby reducing the time and cost of learning an operation mode. In addition, the user can also use different input devices to control the same terminal device, simulate and control the flight of the aircraft, and obtain real flight experience.

Description

飞行仿真控制方法、服务器、终端设备Flight simulation control method, server, terminal device 技术领域Technical field
本发明涉及仿真模拟软件技术领域,尤其涉及一种飞行仿真控制方法、服务器、终端设备。The invention relates to the technical field of simulation simulation software, in particular to a flight simulation control method, a server and a terminal device.
背景技术Background technique
目前,在飞行器仿真模拟软件或者飞行器娱乐游戏中,会设置有专用的输入设备(即控制器)。这样用户在使用软件或者参与游戏时需要练习该输入设备的操作方式,提高了用户的学习成本,降低了用户学习和娱乐体验。Currently, in the aircraft simulation software or aircraft entertainment game, a dedicated input device (ie controller) is provided. In this way, the user needs to practice the operation mode of the input device when using the software or participating in the game, thereby improving the learning cost of the user and reducing the user learning and entertainment experience.
发明内容Summary of the invention
本发明提供一种飞行仿真控制方法、服务器、终端设备。The invention provides a flight simulation control method, a server and a terminal device.
根据本发明的第一方面,提供一种飞行仿真控制方法,配置在服务器侧,所述方法包括:According to a first aspect of the present invention, a flight simulation control method is provided, configured on a server side, the method comprising:
确定外部输入设备的识别码;Determining an identification code of the external input device;
确定所述识别码对应的系统界面;Determining a system interface corresponding to the identification code;
将所述输入设备的各操作按键映射到飞行器模型,以根据所述操作按键的操作控制所述系统界面中飞行器的动作。Each operational button of the input device is mapped to an aircraft model to control the motion of the aircraft in the system interface in accordance with the operation of the operational button.
根据本发明的第二方面,提供一种飞行仿真控制方法,配置在终端设备侧,所述方法包括:According to a second aspect of the present invention, a flight simulation control method is provided, which is configured on a terminal device side, and the method includes:
在监测到通信端口有输入设备接入时,向服务器发送接入信息;Sending access information to the server when it is detected that the communication port has an input device access;
接收与所述输入设备的识别码对应的系统界面,以及所述系统界面中飞行器的动作。Receiving a system interface corresponding to the identification code of the input device, and an action of the aircraft in the system interface.
根据本发明的第三方面,提供一种飞行仿真控制方法,其特征在于,配置在终端设备侧,所述方法包括:According to a third aspect of the present invention, a flight simulation control method is provided, which is configured on a terminal device side, and the method includes:
在监测到通信端口有输入设备接入时,确定外部输入设备的识别码; Determining an identification code of the external input device when monitoring that the communication port has an input device access;
确定所述识别码对应的系统界面;Determining a system interface corresponding to the identification code;
将所述输入设备的各操作按键映射到飞行器模型,以根据所述操作按键的操作控制所述系统界面中飞行器的动作。Each operational button of the input device is mapped to an aircraft model to control the motion of the aircraft in the system interface in accordance with the operation of the operational button.
根据本发明的第四方面,提供一种服务器,所述服务器包括处理器和存储器,所述存储器中存储若干指令,所述处理器用于从所述存储器中读取指令以实现:According to a fourth aspect of the present invention, a server is provided, the server comprising a processor and a memory, the memory storing a number of instructions, the processor for reading an instruction from the memory to implement:
确定外部输入设备的识别码;Determining an identification code of the external input device;
确定所述识别码对应的系统界面;Determining a system interface corresponding to the identification code;
将所述输入设备的各操作按键映射到飞行器模型,以根据所述操作按键的操作控制所述系统界面中飞行器的动作。Each operational button of the input device is mapped to an aircraft model to control the motion of the aircraft in the system interface in accordance with the operation of the operational button.
根据本发明的第五方面,提供一种终端设备,所述终端设备包括处理器和存储器,所述存储器中存储若干指令,所述处理器用于从所述存储器中读取指令以实现:According to a fifth aspect of the present invention, a terminal device is provided, the terminal device comprising a processor and a memory, the memory storing a plurality of instructions, the processor for reading an instruction from the memory to implement:
在监测到通信端口有输入设备接入时,向服务器发送接入信息;Sending access information to the server when it is detected that the communication port has an input device access;
接收与所述输入设备的识别码对应的系统界面,以及所述系统界面中飞行器的动作。Receiving a system interface corresponding to the identification code of the input device, and an action of the aircraft in the system interface.
根据本发明的第六方面,提供一种终端设备,所述终端设备包括处理器和存储器,所述存储器中存储若干指令,所述处理器用于从所述存储器中读取指令以实现:According to a sixth aspect of the present invention, a terminal device is provided, the terminal device comprising a processor and a memory, the memory storing a plurality of instructions, the processor for reading an instruction from the memory to implement:
在监测到通信端口有输入设备接入时,确定外部输入设备的识别码;Determining an identification code of the external input device when monitoring that the communication port has an input device access;
确定所述识别码对应的系统界面;Determining a system interface corresponding to the identification code;
将所述输入设备的各操作按键映射到飞行器模型,以根据所述操作按键的操作控制所述系统界面中飞行器的动作。Each operational button of the input device is mapped to an aircraft model to control the motion of the aircraft in the system interface in accordance with the operation of the operational button.
根据本发明的第七方面,提供一种机器可读存储介质,所述机器可读存储介质上存储有若干计算机指令,所述计算机指令被执行时进行如下处理:According to a seventh aspect of the present invention, there is provided a machine readable storage medium having stored thereon a plurality of computer instructions, the computer instructions being executed as follows:
确定外部输入设备的识别码; Determining an identification code of the external input device;
确定所述识别码对应的系统界面;Determining a system interface corresponding to the identification code;
将所述输入设备的各操作按键映射到飞行器模型,以根据所述操作按键的操作控制所述系统界面中飞行器的动作。Each operational button of the input device is mapped to an aircraft model to control the motion of the aircraft in the system interface in accordance with the operation of the operational button.
根据本发明的第八方面,提供一种机器可读存储介质,所述机器可读存储介质上存储有若干计算机指令,所述计算机指令被执行时进行如下处理:According to an eighth aspect of the present invention, there is provided a machine readable storage medium having stored thereon a plurality of computer instructions, the computer instructions being executed as follows:
在监测到通信端口有输入设备接入时,向服务器发送接入信息;Sending access information to the server when it is detected that the communication port has an input device access;
接收与所述输入设备的识别码对应的系统界面,以及所述系统界面中飞行器的动作。Receiving a system interface corresponding to the identification code of the input device, and an action of the aircraft in the system interface.
根据本发明的第九方面,提供一种机器可读存储介质,所述机器可读存储介质上存储有若干计算机指令,所述计算机指令被执行时进行如下处理:According to a ninth aspect of the invention, there is provided a machine readable storage medium having stored thereon a plurality of computer instructions that, when executed, perform the following processing:
在监测到通信端口有输入设备接入时,确定外部输入设备的识别码;Determining an identification code of the external input device when monitoring that the communication port has an input device access;
确定所述识别码对应的系统界面;Determining a system interface corresponding to the identification code;
将所述输入设备的各操作按键映射到飞行器模型,以根据所述操作按键的操作控制所述系统界面中飞行器的动作。Each operational button of the input device is mapped to an aircraft model to control the motion of the aircraft in the system interface in accordance with the operation of the operational button.
由以上本发明实施例提供的技术方案可见,本发明通过确定外部输入设备的识别码,然后根据该识别码确定其对应的系统界面,并将输入设备的各操作按照映射到飞行器模型,以根据所述操作按键的操作控制所述系统界面中飞行器的动作。可见,本发明实施例能够适用于多个输入设备的场景,这样用户可以使用自己熟悉的输入设备进行游戏或者飞行仿真,减少学习操作方式的时间成本。另外,用户也可以用不同的输入设备控制同一个终端设备,仿真控制飞行器飞行,得到真实飞行的体验。As can be seen from the technical solutions provided by the embodiments of the present invention, the present invention determines the corresponding system interface according to the identification code of the external input device, and maps the operations of the input device to the aircraft model according to the The operation of the operating button controls the motion of the aircraft in the system interface. It can be seen that the embodiment of the present invention can be applied to scenarios of multiple input devices, so that the user can use the familiar input device to perform game or flight simulation, thereby reducing the time cost of the learning operation mode. In addition, the user can also control the same terminal device with different input devices, simulate and control the flight of the aircraft, and get the real flight experience.
附图说明DRAWINGS
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅 是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any inventive labor.
图1是本发明一实施例提供的飞行仿真控制方法的应用场景图;1 is an application scenario diagram of a flight simulation control method according to an embodiment of the present invention;
图2是本发明一实施例提供的飞行仿真控制方法的流程示意图;2 is a schematic flow chart of a flight simulation control method according to an embodiment of the present invention;
图3是本发明一实施例提供的系统界面示意图;3 is a schematic diagram of a system interface according to an embodiment of the present invention;
图4~图5是本发明一实施例提供的输入设备的示意图;4 to FIG. 5 are schematic diagrams of an input device according to an embodiment of the present invention;
图6是本发明一实施例提供的服务器的结构示意图;FIG. 6 is a schematic structural diagram of a server according to an embodiment of the present invention;
图7是本发明一实施例提供的终端设备的结构示意图;FIG. 7 is a schematic structural diagram of a terminal device according to an embodiment of the present invention;
图8是本发明另一实施例提供的终端设备的结构示意图。FIG. 8 is a schematic structural diagram of a terminal device according to another embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
目前,在飞行器仿真模拟软件或者飞行器娱乐游戏中,会设置有专用的输入设备(即控制器)。例如,用户参与一次飞行器仿真模拟飞行,时间为一小时,由于该飞行器仿真模拟飞行过程中不熟悉输入设备(例如,飞行器遥控器、键盘、游戏手柄等),需要一个学习熟悉的过程,当熟悉输入设备后,时间也已经到达,造成用户的体验差。又如,用户拥有一台设备,在该设备上新添加了飞行器仿真模拟软件或者飞行器娱乐游戏,由于该设备仅有键盘,虽然用户能够熟悉该键盘,但是体会不到真正驾驶飞行器的感觉。此时若该设备兼容飞行器制飞行器遥控器,通过飞行器遥控器控制飞行器的飞行,使用用户体验到飞行的乐趣。Currently, in the aircraft simulation software or aircraft entertainment game, a dedicated input device (ie controller) is provided. For example, the user participates in an aircraft simulation flight for one hour. Because the aircraft is not familiar with input devices during flight simulation (eg, aircraft remote control, keyboard, gamepad, etc.), a familiar process is required. After entering the device, the time has also arrived, resulting in a poor user experience. For another example, the user owns a device, and the aircraft simulation software or the aircraft entertainment game is newly added to the device. Since the device only has a keyboard, although the user can be familiar with the keyboard, the user does not feel the real feeling of driving the aircraft. At this time, if the device is compatible with the aircraft-made aircraft remote controller, the flight of the aircraft is controlled by the aircraft remote controller, and the user is experienced to enjoy the flight.
基于上述问题,本发明实施例提供了一种飞行仿真控制方法。图1是一个应用场景,其中终端设备101具有通信接口,通过该通信接口可以与 输入设备102通信连接。该终端设备101通过局域网(LAN)或者广域网(WAN)103与服务器104通信连接。该方法可以应用在终端设备101或者服务器104之上,例如,通过安装在终端设备或者服务器之上应用程序或者软件实现。其中该终端设备可以为智能手机、平板电脑或者控制终端等。图2是本发明一实施例提供的飞行仿真控制方法的流程示意图。参见图2,该方法配置在服务器上,包括步骤201~步骤203:Based on the above problem, an embodiment of the present invention provides a flight simulation control method. FIG. 1 is an application scenario in which a terminal device 101 has a communication interface through which a communication interface can be used The input device 102 is in communication connection. The terminal device 101 is communicatively coupled to the server 104 via a local area network (LAN) or a wide area network (WAN) 103. The method can be applied to the terminal device 101 or the server 104, for example, by an application or software installed on the terminal device or the server. The terminal device may be a smart phone, a tablet computer or a control terminal. FIG. 2 is a schematic flow chart of a flight simulation control method according to an embodiment of the present invention. Referring to FIG. 2, the method is configured on the server, and includes steps 201 to 203:
步骤201,确定外部输入设备的识别码。Step 201: Determine an identification code of the external input device.
本发明实施例中,该识别码是唯一能够识别输入设备的标识。当终端设备的通信接口接入外部输入设备时,该终端设备获取该输入设备的识别码,然后将该输入设备的识别码发送能服务器。当然,该输入设备的识别码也可以由服务器识别。In the embodiment of the present invention, the identification code is the only identifier capable of identifying the input device. When the communication interface of the terminal device accesses the external input device, the terminal device acquires the identification code of the input device, and then sends the identification code of the input device to the energy server. Of course, the identification code of the input device can also be recognized by the server.
步骤202,确定所述识别码对应的系统界面。Step 202: Determine a system interface corresponding to the identifier.
由于不同的输入设备具有不同的操作按键,为匹配各输入设备,本发明实施例中,服务器中设置了多个系统界面,每个系统界面与一个输入设备相对应。输入设备与系统界面相匹配可以提高用户的使用体验。In the embodiment of the present invention, a plurality of system interfaces are set in the server, and each system interface corresponds to one input device, because different input devices have different operation buttons. The input device matches the system interface to improve the user experience.
步骤203,将所述输入设备的各操作按键映射到飞行器模型,以根据所述操作按键的操作控制所述系统界面中飞行器的动作。Step 203: Map each operation button of the input device to an aircraft model to control an action of the aircraft in the system interface according to the operation of the operation button.
本发明实施例中,飞行器模型可以由仿真软件或者游戏中的数学模型实现,也可以由硬件实现。该飞行器模型可以包括飞行器的动力模型和显示模型。其中动力模型与输入设备的各操作按键相映射,可以根据各操作按键的操作调整其参数。显示模型包括在系统界面中向用户展示的飞行器。可理解的是,在飞行器模型的参数改变时,对应的飞行器动作也会改变。这样,用户在对各操作按键操作时,服务器可以将上述操作通过调整飞行器的参数,然后由系统界面上的飞行器的动作来展现。用户可以通过操作界面中各飞行器的动作来确认自己的操作正确与否,提高控制精度。In the embodiment of the present invention, the aircraft model may be implemented by simulation software or a mathematical model in a game, or may be implemented by hardware. The aircraft model may include a dynamic model and a display model of the aircraft. The power model is mapped to each operation button of the input device, and the parameters thereof can be adjusted according to the operation of each operation button. The display model includes an aircraft that is presented to the user in the system interface. It will be appreciated that as the parameters of the aircraft model change, the corresponding aircraft motion will also change. In this way, when the user operates the operation buttons, the server can adjust the parameters of the aircraft by the above operations, and then be displayed by the action of the aircraft on the system interface. The user can confirm the correct operation of the aircraft through the action of each aircraft in the operation interface to improve the control accuracy.
可见,本发明实施例能够适用于多个输入设备的场景,通过为每个输入设备配置一个系统界面,用户可以使用自己熟悉的输入设备结合系统界 面进行游戏或者飞行仿真,可以减少学习操作的时间成本。另外,即便用户在使用不同的输入设备时,由于系统界面的提示,可以更快的熟悉操作方式,能够减少学习成本,且能够使用户体验不同控制方式的乐趣,得到真实飞行的体验。It can be seen that the embodiment of the present invention can be applied to scenarios of multiple input devices. By configuring a system interface for each input device, the user can use the familiar input device to combine the system boundary. Game or flight simulation can reduce the time cost of learning operations. In addition, even if the user uses different input devices, the user interface can be more familiar with the operation mode due to the prompt of the system interface, which can reduce the learning cost, and can enable the user to experience the fun of different control modes and obtain the real flight experience.
下面结合具体实施例和附图对本发明实施例提供的飞行仿真控制方法作进一步描述:The flight simulation control method provided by the embodiment of the present invention is further described below with reference to specific embodiments and the accompanying drawings:
实施例一Embodiment 1
本发明实施例中,输入设备可以为飞行器摇控器、游戏手柄和键盘中的一种或者多种,结合图1的场景,对用户进行飞行游戏进行描述。In the embodiment of the present invention, the input device may be one or more of an aircraft remote controller, a game controller, and a keyboard, and the user is described in conjunction with the scenario of FIG.
参见图1和图2,当一个或者多个输入设备102接入终端设备101的通信接口时,该终端设备101获取一个或者多个输入设备102的识别码。该识别码的确认过程包括:Referring to FIGS. 1 and 2, when one or more input devices 102 access the communication interface of the terminal device 101, the terminal device 101 acquires an identification code of one or more input devices 102. The confirmation process of the identification code includes:
本发明一实施例中,若终端设备101有多个通信接口,且每个通信接口可以与输入设备102一一对应。此时若其中一个通信接口接入输入设备102,则终端设备101可以将该通信接口的识别码发送给服务器104,然后服务器104根据通信接口与输入设备102的对应关系获取该输入设备104的识别码。当然,由于通信接口与输入设备104具有一一对应的关系,因此,也可以将通信接口的识别码直接作为输入设备102的识别码,在不影响其他配置的情况下,同样可以实现本实施例的方案。In an embodiment of the invention, if the terminal device 101 has multiple communication interfaces, each communication interface may have a one-to-one correspondence with the input device 102. At this time, if one of the communication interfaces is connected to the input device 102, the terminal device 101 can send the identification code of the communication interface to the server 104, and then the server 104 acquires the identification of the input device 104 according to the correspondence between the communication interface and the input device 102. code. Of course, since the communication interface has a one-to-one correspondence with the input device 104, the identification code of the communication interface can also be directly used as the identification code of the input device 102. This embodiment can also be implemented without affecting other configurations. Program.
本发明另一实施例中,终端设备101体积较小,通信接口数量有限,需要多个输入设备102共用一个通信接口,例如USB接口。当终端设备101监测到通信接口接入输入设备102时,可以与该输入设备102进行交互:例如,终端设备101向输入设备102发送识别请求,输入设备102响应于该识别请求向终端设备101发送自身的识别码。终端设备101将获取到的该输入设备102的识别码发送给服务器104。这样可以节省通信接口的目的。In another embodiment of the present invention, the terminal device 101 is small in size and the number of communication interfaces is limited, and multiple input devices 102 are required to share a communication interface, such as a USB interface. When the terminal device 101 detects that the communication interface accesses the input device 102, it can interact with the input device 102: for example, the terminal device 101 sends an identification request to the input device 102, and the input device 102 transmits to the terminal device 101 in response to the identification request. Its own identification code. The terminal device 101 transmits the acquired identification code of the input device 102 to the server 104. This saves the purpose of the communication interface.
本发明又一实施例中,终端设备101在接入输入设备102时,向服务 器104发送接入信息,该接入信息用于提示服务器104已经有输入设备102接入终端设备101。此时服务器101通过通信连接103与输入设备102交互得到该输入设备102的识别码。这样可以省掉终端设备101与输入设备102的交互时间,提高控制效率。In another embodiment of the present invention, the terminal device 101 accesses the input device 102 to the service. The device 104 sends access information for prompting the server 104 that the input device 102 has access to the terminal device 101. At this time, the server 101 interacts with the input device 102 via the communication connection 103 to obtain the identification code of the input device 102. This can save the interaction time between the terminal device 101 and the input device 102, and improve the control efficiency.
服务器103在确认输入设备102的识别码后,根据该识别码确定其对应的系统界面。该系统界面预先存储在服务器104中,且每个系统界面与一个输入设备102相对应。这样,输入设备与系统界面相匹配可以提高用户的使用体验。After confirming the identification code of the input device 102, the server 103 determines its corresponding system interface based on the identification code. The system interface is pre-stored in the server 104 and each system interface corresponds to an input device 102. In this way, the input device matches the system interface to improve the user experience.
实际应用中,终端设备101可以同时接入多个输入设备102,此时服务器104根据识别码确定该多个输入设备102的优先级,本实施例中优先级从高到低依次为飞行器摇控器、游戏手柄和键盘。即服务器104确定飞行器遥控器对应的系统界面作为最终的系统界面,并将上述系统界面发送给终端设备101。图3示出了一个系统界面,该系统界面包括飞行器飞行显示区和多个虚拟按键(例如、重量、高度、速度、方向、……,后退、前进等)。其中,飞行器飞行显示区可以显示飞行器的动作以及飞行场景,多个虚拟按钮可以显示该飞行器对应的飞行参数或者输入设备的控制信息。该系统界面可以根据实际需要进行调整与布局,本实施例不作限定。In an actual application, the terminal device 101 can access multiple input devices 102 at the same time. In this case, the server 104 determines the priority of the multiple input devices 102 according to the identification code. In this embodiment, the priority is from the highest to the lowest. , gamepad and keyboard. That is, the server 104 determines the system interface corresponding to the aircraft remote controller as the final system interface, and transmits the above system interface to the terminal device 101. Figure 3 illustrates a system interface including an aircraft flight display area and a plurality of virtual keys (e.g., weight, altitude, speed, direction, ..., back, forward, etc.). The aircraft flight display area may display an action of the aircraft and a flight scene, and the plurality of virtual buttons may display flight parameters corresponding to the aircraft or control information of the input device. The system interface can be adjusted and laid out according to actual needs, which is not limited in this embodiment.
可理解的是,用户并非利用优先级最高的输入设备,此时服务器104根据输入设备102的控制信息,判断该控制信息的来源,然后显示与该输入设备对应的系统界面。若服务器104同时接收到多个输入设备的控制信息,此时则显示优先级最高的输入设备对应的系统界面。It can be understood that the user does not utilize the input device with the highest priority. At this time, the server 104 determines the source of the control information according to the control information of the input device 102, and then displays the system interface corresponding to the input device. If the server 104 receives the control information of the plurality of input devices at the same time, the system interface corresponding to the input device with the highest priority is displayed at this time.
然后,服务器104将输入设备102的各操作按键映射到飞行器模型,即映射到飞行器的动力模型。然后根据输入设备各操作按键的操作对应控制指令调整该飞行器的模型,控制飞行器的动作。若系统界面中存在图3中的虚拟按键时,还可以通过该系统界面中虚拟按键的参数来展现各操作按键的操作。本发明实施例中,服务器104中存储预先配置的映射关系表,以图4所示的飞行器摇控器、图5所示的游戏手柄和键盘为例,该映射关 系表如表1和表2所示。The server 104 then maps the operational buttons of the input device 102 to the aircraft model, ie to the dynamic model of the aircraft. Then, according to the operation of each operation button of the input device, the model of the aircraft is adjusted according to the control command, and the action of the aircraft is controlled. If the virtual button in FIG. 3 exists in the system interface, the operation of each operation button can also be displayed through the parameters of the virtual button in the system interface. In the embodiment of the present invention, the pre-configured mapping relationship table is stored in the server 104, and the aircraft remote controller shown in FIG. 4, the game controller and the keyboard shown in FIG. 5 are taken as an example, and the mapping is off. The table is shown in Tables 1 and 2.
表1输入设备的操作按键与系统界面中菜单参数的映射关系表Table 1 Mapping relationship between the operation buttons of the input device and the menu parameters in the system interface
[根据细则26改正21.08.2017] 
Figure WO-DOC-FIGURE-1
[Correct according to Rule 26 21.08.2017]
Figure WO-DOC-FIGURE-1
表2输入设备的操作按键与系统界面中飞行参数的映射关系表Table 2 Mapping relationship between the operation buttons of the input device and the flight parameters in the system interface
[根据细则26改正21.08.2017] 
Figure WO-DOC-FIGURE-2
[Correct according to Rule 26 21.08.2017]
Figure WO-DOC-FIGURE-2
[根据细则26改正21.08.2017] 
Figure WO-DOC-FIGURE-3
[Correct according to Rule 26 21.08.2017]
Figure WO-DOC-FIGURE-3
[根据细则26改正21.08.2017] 
注:为表示方便,表1或表2中上(箭头)、下(箭头)、左(箭头)、右(箭头)分别与键盘中的向上箭头、向下箭头、向左箭头、向右箭头对应。(左-上)、(左-下)、(左-左)、(左-右)分別表示左摇杆向上、下、左、右摇动;(右-上)、(右-下)、(右-左)、(右-右)分別表示右摇杆向上、下、左、右摇动。
[Correct according to Rule 26 21.08.2017]
Note: For convenience, the upper (arrow), lower (arrow), left (arrow), and right (arrow) in Table 1 or Table 2 are respectively up, down, left, and right arrows in the keyboard. correspond. (Left-Up), (Left-Down), (Left-Left), (Left-Right) respectively indicate that the left joystick is swung up, down, left, and right; (right-up), (right-down), ( Right-left) and (right-right) indicate that the right joystick is rocked up, down, left, and right, respectively.
其中,表1为输入设备的操作按键与飞行器模型中与菜单相关参数的映射关系,根据表1的映射关系,用户可以通过输入设备调整飞行器模型的各个参数。表2为输入设备的操作按键与飞行器模型中飞行器飞行参数的映射关系。根据表2的映射关系,用户可以通过输入设备调整飞行器模型中的各个参数,达到调整飞行器的动作的目的。Among them, Table 1 is the mapping relationship between the operation buttons of the input device and the menu-related parameters in the aircraft model. According to the mapping relationship of Table 1, the user can adjust various parameters of the aircraft model through the input device. Table 2 shows the mapping relationship between the operation buttons of the input device and the flight parameters of the aircraft in the aircraft model. According to the mapping relationship of Table 2, the user can adjust various parameters in the aircraft model through the input device to achieve the purpose of adjusting the motion of the aircraft.
服务器104将上述飞行器模型参数同系统界面发送给终端设备101,由终端设备101完成首次显示。各飞行器模型中各参数在首次显示时可以为默认值,也可以为飞行器当前飞行状态的参数。The server 104 transmits the above-mentioned aircraft model parameters to the terminal device 101, and the terminal device 101 completes the first display. Each parameter in each aircraft model may be a default value when first displayed, or may be a parameter of the current flight state of the aircraft.
当用户操作输入设备102的操作按键时,终端设备101根据相应的操作生成对应的控制指令,并将该控制指令发送给服务器104。服务器104中飞行器模型根据该控制指令与参数的映射关系调整对应参数。例如,操作按键被触发一次,可以在参数原值的基础上增加预设步长,得到参数更新值。其中预设步长可以根据各个参数的特点适应性调整,本实施例不作限定。When the user operates the operation button of the input device 102, the terminal device 101 generates a corresponding control command according to the corresponding operation, and transmits the control command to the server 104. The aircraft model in the server 104 adjusts the corresponding parameters according to the mapping relationship between the control command and the parameters. For example, if the operation button is triggered once, the preset step size can be added based on the original value of the parameter to obtain the parameter update value. The preset step size can be adaptively adjusted according to the characteristics of each parameter, which is not limited in this embodiment.
若操作按键为摇杆时,终端设备101根据摇杆的旋转角度生成对应的控制指令。其中控制指令表示的控制强度与旋转角度正相关。服务器104根据该控制指令在对应参数原值基础上增加与旋转角度对应的多个预设步 长。为满足不同客户对摇杆灵敏度的需求,本实施例中默认摇杆对应的灵敏度系数为1。若用户倾向于灵敏度更高,则可以调整灵敏度系数大于1,这样可以减小触发摇杆的动作;若用户倾向于灵敏度较低,则可以调整灵敏度系数小于1,这样用户可以用较大的动作得到较小的参数变化量。If the operation button is a joystick, the terminal device 101 generates a corresponding control command according to the rotation angle of the joystick. The control intensity indicated by the control command is positively correlated with the rotation angle. The server 104 adds a plurality of preset steps corresponding to the rotation angle based on the original value of the corresponding parameter according to the control instruction. long. In order to meet the needs of different customers for the sensitivity of the joystick, the sensitivity coefficient corresponding to the default rocker in this embodiment is 1. If the user tends to have higher sensitivity, the sensitivity coefficient can be adjusted to be greater than 1, which can reduce the action of triggering the joystick; if the user tends to have lower sensitivity, the sensitivity coefficient can be adjusted to be less than 1, so that the user can use a larger action. A smaller amount of parameter variation is obtained.
至此,实施例一描述完成。So far, the description of the first embodiment is completed.
实施例二Embodiment 2
与实施例一的不同之处在于,本实施例提供的飞行仿真控制方法配置在终端设备上。在输入设备通过通信接口接入该终端设备,终端设备确定该输入设备的识别码,然后根据该识别码确定系统界面,并且将输入设备的各操作按键映射到飞行器模型。然后,终端设备中飞行器模型根据输入设备各按键的操作调整对应的参数,并在系统界面中显示飞行器的动作。具体处理过程可以参见实施例一中服务器的处理过程,在此不再赘述。The difference from the first embodiment is that the flight simulation control method provided in this embodiment is configured on the terminal device. The input device accesses the terminal device through a communication interface, the terminal device determines an identification code of the input device, and then determines a system interface according to the identification code, and maps each operation button of the input device to the aircraft model. Then, the aircraft model in the terminal device adjusts the corresponding parameters according to the operation of each button of the input device, and displays the action of the aircraft in the system interface. For details, refer to the processing procedure of the server in the first embodiment, and details are not described herein again.
至此,实施例二描述完成。So far, the description of the second embodiment is completed.
图6是本发明一实施例提供的服务器的结构示意图。参见图6,该服务器600包括处理器601、存储器602和通信接口603。存储器602中存储若干指令,处理器601用于从所述存储器中读取指令以实现:FIG. 6 is a schematic structural diagram of a server according to an embodiment of the present invention. Referring to FIG. 6, the server 600 includes a processor 601, a memory 602, and a communication interface 603. A plurality of instructions are stored in the memory 602, and the processor 601 is configured to read instructions from the memory to implement:
确定外部输入设备的识别码;Determining an identification code of the external input device;
确定所述识别码对应的系统界面;Determining a system interface corresponding to the identification code;
将所述输入设备的各操作按键映射到飞行器模型,以根据所述操作按键的操作控制所述系统界面中飞行器的动作。Each operational button of the input device is mapped to an aircraft model to control the motion of the aircraft in the system interface in accordance with the operation of the operational button.
本发明实施例中,所述处理器601将所述输入设备的各操作按键映射到飞行器模型,包括:In the embodiment of the present invention, the processor 601 maps the operation buttons of the input device to the aircraft model, including:
在所述服务器中预先配置映射关系表;Pre-configuring a mapping relationship table in the server;
根据映射关系表将所述输入设备的各操作按键映射到飞行器模型。Each operation button of the input device is mapped to an aircraft model according to a mapping relationship table.
本发明一实施例中,所述处理器601还用于:In an embodiment of the invention, the processor 601 is further configured to:
获取终端设备发送的控制指令;Obtaining a control instruction sent by the terminal device;
根据所述控制指令控制所述飞行器的动作。 The action of the aircraft is controlled in accordance with the control command.
本发明一实施例中,所述处理器601获取终端设备发送对应所述输入设备的操作按键的控制指令,包括:In an embodiment of the invention, the processor 601 acquires a control instruction that the terminal device sends an operation button corresponding to the input device, and includes:
若所述控制指令对应所述终端设备上的摇杆,则根据所述控制指令表示的控制强度调整所述飞行器模型的参数;所述控制指令表示的控制强度与所述摇杆的旋转角度正相关。And if the control instruction corresponds to a rocker on the terminal device, adjusting a parameter of the aircraft model according to a control intensity indicated by the control instruction; a control intensity indicated by the control instruction and a rotation angle of the rocker are positive Related.
本发明一实施例中,所述处理器601确定外部输入设备的识别码,包括:In an embodiment of the invention, the processor 601 determines an identifier of the external input device, including:
获取所述输入设备接入的通信接口的识别码;Obtaining an identification code of the communication interface accessed by the input device;
根据通信接口与输入设备的对应关系获取所述输入设备的识别码。Obtaining an identification code of the input device according to a correspondence between the communication interface and the input device.
本发明一实施例中,所述处理器601确定所述识别码对应的系统界面,包括:In an embodiment of the invention, the processor 601 determines a system interface corresponding to the identifier, including:
获取多个输入设备的优先级;Get the priority of multiple input devices;
确定优先级最高的输入设备对应的系统界面为需要显示的系统界面。The system interface corresponding to the input device with the highest priority is determined as the system interface to be displayed.
本发明一实施例中,所述输入设备包括飞行器摇控器、游戏手柄和键盘中的一种或者多种。In an embodiment of the invention, the input device includes one or more of an aircraft remote controller, a game controller, and a keyboard.
本发明一实施例中,所述输入设备的优先级从高到低依次为:飞行器摇控器、游戏手柄、键盘。In an embodiment of the invention, the priority of the input device from high to low is: an aircraft remote controller, a game controller, and a keyboard.
图7是本发明一实施例提供的终端设备的结构示意图。参见图7,该终端设备700包括处理器701、存储器702和通信接口703。存储器702中存储若干指令,处理器701用于从所述存储器中读取指令以实现:FIG. 7 is a schematic structural diagram of a terminal device according to an embodiment of the present invention. Referring to FIG. 7, the terminal device 700 includes a processor 701, a memory 702, and a communication interface 703. A number of instructions are stored in the memory 702, and the processor 701 is configured to read instructions from the memory to implement:
在监测到通信端口有输入设备接入时,向服务器发送接入信息;Sending access information to the server when it is detected that the communication port has an input device access;
接收与所述输入设备的识别码对应的系统界面,以及所述系统界面中飞行器的动作。Receiving a system interface corresponding to the identification code of the input device, and an action of the aircraft in the system interface.
本发明一实施例中,所述处理器701用于:In an embodiment of the invention, the processor 701 is configured to:
根据所述操作按键的操作生成对应的控制指令;Generating a corresponding control instruction according to the operation of the operation button;
将所述控制指令发送给所述服务器;所述控制指令用于指示所述服务器根据操作按键与飞行器模型的映射关系调整所述飞行器模型的参数; Sending the control instruction to the server; the control instruction is used to instruct the server to adjust parameters of the aircraft model according to a mapping relationship between an operation button and an aircraft model;
接收所述服务器发送的所述飞行器的动作。Receiving an action of the aircraft transmitted by the server.
本发明一实施例中,所述处理器701用于根据操作按键的操作生成对应的控制指令,包括:In an embodiment of the invention, the processor 701 is configured to generate a corresponding control instruction according to the operation of the operation button, including:
若所述操作按键为摇杆,则根据所述摇杆的旋转角度生成对应的控制指令;所述控制指令表示的控制强度与所述旋转角度正相关。If the operation button is a rocker, a corresponding control command is generated according to the rotation angle of the rocker; and the control intensity indicated by the control command is positively correlated with the rotation angle.
图8是本发明一实施例提供的终端设备的结构示意图。参见图8,终端设备800包括处理器801、存储器802和通信接口803。存储器802中存储若干指令,处理器801用于从所述存储器中读取指令以实现:FIG. 8 is a schematic structural diagram of a terminal device according to an embodiment of the present invention. Referring to FIG. 8, the terminal device 800 includes a processor 801, a memory 802, and a communication interface 803. A number of instructions are stored in the memory 802, and the processor 801 is configured to read instructions from the memory to implement:
在监测到通信端口有输入设备接入时,确定外部输入设备的识别码;Determining an identification code of the external input device when monitoring that the communication port has an input device access;
确定所述识别码对应的系统界面;Determining a system interface corresponding to the identification code;
将所述输入设备的各操作按键映射到飞行器模型,以根据所述操作按键的操作控制所述系统界面中飞行器的动作。Each operational button of the input device is mapped to an aircraft model to control the motion of the aircraft in the system interface in accordance with the operation of the operational button.
本发明一实施例中,所述处理器801将所述输入设备的各操作按键映射到飞行器模型,包括:In an embodiment of the invention, the processor 801 maps the operation buttons of the input device to the aircraft model, including:
在所述终端设备中预先配置映射关系表;Pre-configuring a mapping relationship table in the terminal device;
根据映射关系表将所述输入设备的各操作按键映射到飞行器模型。Each operation button of the input device is mapped to an aircraft model according to a mapping relationship table.
本发明一实施例中,所述处理器801还用于:In an embodiment of the invention, the processor 801 is further configured to:
接收所述输入设备中被触发的操作按键的操作信息;Receiving operation information of the triggered operation button in the input device;
根据所述操作按键的操作信息生成对应的控制指令;Generating a corresponding control instruction according to the operation information of the operation button;
根据所述控制指令调整飞行器模型的参数。The parameters of the aircraft model are adjusted according to the control command.
本发明一实施例中,所述处理器801根据所述操作按键的操作信息生成对应的控制指令,包括:In an embodiment of the invention, the processor 801 generates a corresponding control instruction according to the operation information of the operation button, including:
若所述操作按键为摇杆,则根据所述摇杆的旋转角度生成对应的控制指令;所述控制指令表示的控制强度与所述旋转角度正相关。If the operation button is a rocker, a corresponding control command is generated according to the rotation angle of the rocker; and the control intensity indicated by the control command is positively correlated with the rotation angle.
本发明一实施例中,所述处理器801确定外部输入设备的识别码,包括:In an embodiment of the invention, the processor 801 determines an identifier of the external input device, including:
向所述输入设备发送识别请求; Sending an identification request to the input device;
获取所述输入设备通过通信连接发送的识别码。Obtaining an identification code sent by the input device through a communication connection.
本发明一实施例中,所述处理器801确定外部输入设备的识别码,包括:In an embodiment of the invention, the processor 801 determines an identifier of the external input device, including:
获取所述输入设备接入的通信接口的识别码;Obtaining an identification code of the communication interface accessed by the input device;
根据通信接口与输入设备的对应关系确定所述输入设备的识别码。The identification code of the input device is determined according to a correspondence between the communication interface and the input device.
本发明一实施例中,所述处理器801确定所述识别码对应的系统界面,包括:In an embodiment of the invention, the processor 801 determines a system interface corresponding to the identifier, including:
获取多个输入设备的优先级;Get the priority of multiple input devices;
确定优先级最高的输入设备对应的系统界面为需要显示的系统界面。The system interface corresponding to the input device with the highest priority is determined as the system interface to be displayed.
本发明一实施例中,所述输入设备包括飞行器摇控器、游戏手柄和键盘中的一种或者多种。In an embodiment of the invention, the input device includes one or more of an aircraft remote controller, a game controller, and a keyboard.
本发明一实施例中,所述输入设备的优先级从高到低依次为:飞行器摇控器、游戏手柄、键盘。In an embodiment of the invention, the priority of the input device from high to low is: an aircraft remote controller, a game controller, and a keyboard.
本发明一实施例还提供了一种机器可读存储介质,所述机器可读存储介质上存储有若干计算机指令,所述计算机指令被执行时进行如下处理:An embodiment of the invention further provides a machine readable storage medium having stored thereon a plurality of computer instructions, the computer instructions being executed as follows:
确定外部输入设备的识别码;Determining an identification code of the external input device;
确定所述识别码对应的系统界面;Determining a system interface corresponding to the identification code;
将所述输入设备的各操作按键映射到飞行器模型,以根据所述操作按键的操作控制所述系统界面中飞行器的动作。Each operational button of the input device is mapped to an aircraft model to control the motion of the aircraft in the system interface in accordance with the operation of the operational button.
本发明一实施例还提供了一种机器可读存储介质,所述机器可读存储介质上存储有若干计算机指令,所述计算机指令被执行时进行如下处理:An embodiment of the invention further provides a machine readable storage medium having stored thereon a plurality of computer instructions, the computer instructions being executed as follows:
在监测到通信端口有输入设备接入时,向服务器发送接入信息;Sending access information to the server when it is detected that the communication port has an input device access;
接收与所述输入设备的识别码对应的系统界面,以及飞行器的动作。A system interface corresponding to the identification code of the input device is received, and an action of the aircraft.
本发明一实施例还提供了一种机器可读存储介质,所述机器可读存储介质上存储有若干计算机指令,所述计算机指令被执行时进行如下处理:An embodiment of the invention further provides a machine readable storage medium having stored thereon a plurality of computer instructions, the computer instructions being executed as follows:
在监测到通信端口有输入设备接入时,确定外部输入设备的识别码;Determining an identification code of the external input device when monitoring that the communication port has an input device access;
确定所述识别码对应的系统界面; Determining a system interface corresponding to the identification code;
将所述输入设备的各操作按键映射到飞行器模型,以根据所述操作按键的操作控制所述系统界面中飞行器的动作。Each operational button of the input device is mapped to an aircraft model to control the motion of the aircraft in the system interface in accordance with the operation of the operational button.
最后需要说明的是,本发明实施例提供的服务器中处理器的处理操作,在上述飞行仿真控制方法中已经作过详细描述相关之处参见方法实施例。另外,终端设备中处理器的处理操作在上述飞行仿真控制方法中已经作过详细描述相关之处参见方法实施例。另外,随着使用场景的变化,飞行仿真控制方法也会发生变化,相应地,服务器或者终端设备中处理器的处理操作也会相应的调整。此处将不做详细阐述说明。Finally, it should be noted that the processing operation of the processor in the server provided by the embodiment of the present invention has been described in detail in the above flight simulation control method. In addition, the processing operations of the processor in the terminal device have been described in detail in the above flight simulation control method. For details, refer to the method embodiment. In addition, as the usage scenario changes, the flight simulation control method also changes. Accordingly, the processing operations of the processor in the server or the terminal device are also adjusted accordingly. No detailed explanation will be given here.
在本发明所提供的几个实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present invention, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。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, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
上述以软件功能单元的形式实现的集成的单元,可以存储在一个计算机可读取存储介质中。上述软件功能单元存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本发明各个实施例所述方法的部分步 骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The above-described integrated unit implemented in the form of a software functional unit can be stored in a computer readable storage medium. The above software functional unit is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to perform the methods of the various embodiments of the present invention. Partial step Step. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like, which can store program codes. .
本领域技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的装置的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。A person skilled in the art can clearly understand that for the convenience and brevity of the description, only the division of each functional module described above is exemplified. In practical applications, the above function assignment can be completed by different functional modules as needed, that is, the device is installed. The internal structure is divided into different functional modules to perform all or part of the functions described above. For the specific working process of the device described above, reference may be made to the corresponding process in the foregoing method embodiments, and details are not described herein again.
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。 Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that The technical solutions described in the foregoing embodiments may be modified, or some or all of the technical features may be equivalently replaced; and the modifications or substitutions do not deviate from the technical solutions of the embodiments of the present invention. range.

Claims (43)

  1. 一种飞行仿真控制方法,其特征在于,配置在服务器侧,所述方法包括:A flight simulation control method is characterized in that it is configured on a server side, and the method includes:
    确定外部输入设备的识别码;Determining an identification code of the external input device;
    确定所述识别码对应的系统界面;Determining a system interface corresponding to the identification code;
    将所述输入设备的各操作按键映射到飞行器模型,以根据所述操作按键的操作控制所述系统界面中飞行器的动作。Each operational button of the input device is mapped to an aircraft model to control the motion of the aircraft in the system interface in accordance with the operation of the operational button.
  2. 根据权利要求1所述的方法,其特征在于,将所述输入设备的各操作按键映射到飞行器模型,包括:The method according to claim 1, wherein mapping the operation buttons of the input device to the aircraft model comprises:
    在所述服务器中预先配置映射关系表;Pre-configuring a mapping relationship table in the server;
    根据映射关系表将所述输入设备的各操作按键映射到飞行器模型。Each operation button of the input device is mapped to an aircraft model according to a mapping relationship table.
  3. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1 further comprising:
    获取终端设备发送对应所述输入设备的操作按键的控制指令;Obtaining, by the terminal device, a control instruction for transmitting an operation button corresponding to the input device;
    根据所述控制指令调整所述飞行器模型的参数以调整所述系统界面中飞行器的动作。The parameters of the aircraft model are adjusted in accordance with the control command to adjust the motion of the aircraft in the system interface.
  4. 根据权利要求3所述的方法,其特征在于,获取终端设备发送对应所述输入设备的操作按键的控制指令,包括:The method according to claim 3, wherein the obtaining, by the terminal device, a control instruction corresponding to the operation button of the input device comprises:
    若所述控制指令对应所述终端设备上的摇杆,则根据所述控制指令表示的控制强度调整所述飞行器模型的参数;所述控制指令表示的控制强度与所述摇杆的旋转角度正相关。And if the control instruction corresponds to a rocker on the terminal device, adjusting a parameter of the aircraft model according to a control intensity indicated by the control instruction; a control intensity indicated by the control instruction and a rotation angle of the rocker are positive Related.
  5. 根据权利要求1所述的方法,其特征在于,确定外部输入设备的识别码,包括:The method of claim 1 wherein determining an identification code of the external input device comprises:
    获取所述输入设备接入的通信接口的识别码;Obtaining an identification code of the communication interface accessed by the input device;
    根据通信接口与输入设备的对应关系获取所述输入设备的识别码。Obtaining an identification code of the input device according to a correspondence between the communication interface and the input device.
  6. 根据权利要求1所述的方法,其特征在于,确定所述识别码对应的系统界面,包括: The method according to claim 1, wherein the determining a system interface corresponding to the identification code comprises:
    获取多个输入设备的优先级;Get the priority of multiple input devices;
    确定优先级最高的输入设备对应的系统界面为需要显示的系统界面。The system interface corresponding to the input device with the highest priority is determined as the system interface to be displayed.
  7. 根据权利要求1~6任一项所述的方法,其特征在于,所述输入设备包括飞行器摇控器、游戏手柄和键盘中的一种或者多种。The method according to any one of claims 1 to 6, wherein the input device comprises one or more of an aircraft remote control, a game controller and a keyboard.
  8. 根据权利要求7所述的方法,其特征在于,所述输入设备的优先级从高到低依次为:飞行器摇控器、游戏手柄、键盘。The method according to claim 7, wherein the priority of the input device from high to low is: an aircraft remote controller, a game controller, and a keyboard.
  9. 一种飞行仿真控制方法,其特征在于,配置在终端设备侧,所述方法包括:A flight simulation control method is provided on the terminal device side, and the method includes:
    在监测到通信端口有输入设备接入时,向服务器发送接入信息;Sending access information to the server when it is detected that the communication port has an input device access;
    接收与所述输入设备的识别码对应的系统界面,以及所述系统界面中飞行器的动作。Receiving a system interface corresponding to the identification code of the input device, and an action of the aircraft in the system interface.
  10. 根据权利要求9所述的方法,其特征在于,所述方法包括:The method of claim 9 wherein said method comprises:
    根据所述操作按键的操作生成对应的控制指令;Generating a corresponding control instruction according to the operation of the operation button;
    将所述控制指令发送给所述服务器;所述控制指令用于指示所述服务器根据操作按键与飞行器模型的映射关系调整所述飞行器模型的参数;Sending the control instruction to the server; the control instruction is used to instruct the server to adjust parameters of the aircraft model according to a mapping relationship between an operation button and an aircraft model;
    接收所述服务器发送的所述飞行器的动作。Receiving an action of the aircraft transmitted by the server.
  11. 根据权利要求10所述的方法,其特征在于,根据操作按键的操作生成对应的控制指令包括:The method according to claim 10, wherein generating a corresponding control instruction according to the operation of the operation button comprises:
    若所述操作按键为摇杆,则根据所述摇杆的旋转角度生成对应的控制指令;所述控制指令表示的控制强度与所述旋转角度正相关。If the operation button is a rocker, a corresponding control command is generated according to the rotation angle of the rocker; and the control intensity indicated by the control command is positively correlated with the rotation angle.
  12. 一种飞行仿真控制方法,其特征在于,配置在终端设备侧,所述方法包括:A flight simulation control method is provided on the terminal device side, and the method includes:
    在监测到通信端口有输入设备接入时,确定外部输入设备的识别码;Determining an identification code of the external input device when monitoring that the communication port has an input device access;
    确定所述识别码对应的系统界面;Determining a system interface corresponding to the identification code;
    将所述输入设备的各操作按键映射到飞行器模型,以根据所述操作按键的操作控制所述系统界面中飞行器的动作。Each operational button of the input device is mapped to an aircraft model to control the motion of the aircraft in the system interface in accordance with the operation of the operational button.
  13. 根据权利要求12所述的方法,其特征在于,将所述输入设备的各操 作按键映射到飞行器模型,包括:The method of claim 12 wherein said operations of said input device are performed Mapping the buttons to the aircraft model includes:
    在所述终端设备中预先配置映射关系表;Pre-configuring a mapping relationship table in the terminal device;
    根据映射关系表将所述输入设备的各操作按键映射到飞行器模型。Each operation button of the input device is mapped to an aircraft model according to a mapping relationship table.
  14. 根据权利要求12所述的方法,其特征在于,所述方法包括:The method of claim 12 wherein said method comprises:
    接收所述输入设备中被触发的操作按键的操作信息;Receiving operation information of the triggered operation button in the input device;
    根据所述操作按键的操作信息生成对应的控制指令;Generating a corresponding control instruction according to the operation information of the operation button;
    根据所述控制指令调整所述飞行器模型的参数。The parameters of the aircraft model are adjusted according to the control command.
  15. 根据权利要求14所述的方法,其特征在于,根据所述操作按键的操作信息生成对应的控制指令,包括:The method according to claim 14, wherein the generating the corresponding control instruction according to the operation information of the operation button comprises:
    若所述操作按键为摇杆,则根据所述摇杆的旋转角度生成对应的控制指令;所述控制指令表示的控制强度与所述旋转角度正相关。If the operation button is a rocker, a corresponding control command is generated according to the rotation angle of the rocker; and the control intensity indicated by the control command is positively correlated with the rotation angle.
  16. 根据权利要求12所述的方法,其特征在于,确定外部输入设备的识别码,包括:The method of claim 12, wherein determining the identification code of the external input device comprises:
    向所述输入设备发送识别请求;Sending an identification request to the input device;
    获取所述输入设备通过通信连接发送的识别码。Obtaining an identification code sent by the input device through a communication connection.
  17. 根据权利要求12所述的方法,其特征在于,确定外部输入设备的识别码,包括:The method of claim 12, wherein determining the identification code of the external input device comprises:
    获取所述输入设备接入的通信接口的识别码;Obtaining an identification code of the communication interface accessed by the input device;
    根据通信接口与输入设备的对应关系确定所述输入设备的识别码。The identification code of the input device is determined according to a correspondence between the communication interface and the input device.
  18. 根据权利要求12所述的方法,其特征在于,确定所述识别码对应的系统界面,包括:The method according to claim 12, wherein determining a system interface corresponding to the identification code comprises:
    获取多个输入设备的优先级;Get the priority of multiple input devices;
    确定优先级最高的输入设备对应的系统界面为需要显示的系统界面。The system interface corresponding to the input device with the highest priority is determined as the system interface to be displayed.
  19. 根据权利要求12~18任一项所述的方法,其特征在于,所述输入设备包括飞行器摇控器、游戏手柄和键盘中的一种或者多种。A method according to any one of claims 12 to 18, wherein the input device comprises one or more of an aircraft remote control, a game pad and a keyboard.
  20. 根据权利要求19所述的方法,其特征在于,所述输入设备的优先级从高到低依次为:飞行器摇控器、游戏手柄、键盘。 The method according to claim 19, wherein the priority of the input device from high to low is: an aircraft remote controller, a game controller, a keyboard.
  21. 一种服务器,其特征在于,所述服务器包括处理器和存储器,所述存储器中存储若干指令,所述处理器用于从所述存储器中读取指令以实现:A server, comprising: a processor and a memory, the memory storing a number of instructions, the processor for reading an instruction from the memory to:
    确定外部输入设备的识别码;Determining an identification code of the external input device;
    确定所述识别码对应的系统界面;Determining a system interface corresponding to the identification code;
    将所述输入设备的各操作按键映射到飞行器模型,以根据所述操作按键的操作控制所述系统界面中飞行器的动作。Each operational button of the input device is mapped to an aircraft model to control the motion of the aircraft in the system interface in accordance with the operation of the operational button.
  22. 根据权利要求21所述的服务器,其特征在于,所述处理器将所述输入设备的各操作按键映射到飞行器模型,包括:The server according to claim 21, wherein the processor maps each operation button of the input device to an aircraft model, including:
    在所述服务器中预先配置映射关系表;Pre-configuring a mapping relationship table in the server;
    根据映射关系表将所述输入设备的各操作按键映射到飞行器模型。Each operation button of the input device is mapped to an aircraft model according to a mapping relationship table.
  23. 根据权利要求22所述的服务器,其特征在于,所述处理器还用于:The server according to claim 22, wherein the processor is further configured to:
    获取终端设备发送的控制指令;Obtaining a control instruction sent by the terminal device;
    根据所述控制指令调整所述飞行器模型的参数以调整所述系统界面中飞行器的动作。The parameters of the aircraft model are adjusted in accordance with the control command to adjust the motion of the aircraft in the system interface.
  24. 根据权利要求23所述的服务器,其特征在于,所述处理器获取终端设备发送对应所述输入设备的操作按键的控制指令,包括:The server according to claim 23, wherein the processor acquires a control instruction that the terminal device sends an operation button corresponding to the input device, including:
    若所述控制指令对应所述终端设备上的摇杆,则根据所述控制指令表示的控制强度调整所述飞行器模型的参数;所述控制指令表示的控制强度与所述摇杆的旋转角度正相关。And if the control instruction corresponds to a rocker on the terminal device, adjusting a parameter of the aircraft model according to a control intensity indicated by the control instruction; a control intensity indicated by the control instruction and a rotation angle of the rocker are positive Related.
  25. 根据权利要求21所述的服务器,其特征在于,所述处理器确定外部输入设备的识别码,包括:The server according to claim 21, wherein the processor determines an identification code of the external input device, including:
    获取所述输入设备接入的通信接口的识别码;Obtaining an identification code of the communication interface accessed by the input device;
    根据通信接口与输入设备的对应关系获取所述输入设备的识别码。Obtaining an identification code of the input device according to a correspondence between the communication interface and the input device.
  26. 根据权利要求21所述的服务器,其特征在于,所述处理器确定所述识别码对应的系统界面,包括:The server according to claim 21, wherein the processor determines a system interface corresponding to the identification code, including:
    获取多个输入设备的优先级;Get the priority of multiple input devices;
    确定优先级最高的输入设备对应的系统界面为需要显示的系统界面。 The system interface corresponding to the input device with the highest priority is determined as the system interface to be displayed.
  27. 根据权利要求21~26任一项所述的服务器,其特征在于,所述输入设备包括飞行器摇控器、游戏手柄和键盘中的一种或者多种。The server according to any one of claims 21 to 26, wherein the input device comprises one or more of an aircraft remote controller, a game controller and a keyboard.
  28. 根据权利要求27所述的服务器,其特征在于,所述输入设备的优先级从高到低依次为:飞行器摇控器、游戏手柄、键盘。The server according to claim 27, wherein the priority of the input device from high to low is: an aircraft remote controller, a game controller, and a keyboard.
  29. 一种终端设备,其特征在于,所述终端设备包括处理器和存储器,所述存储器中存储若干指令,所述处理器用于从所述存储器中读取指令以实现:A terminal device, comprising: a processor and a memory, wherein the memory stores a plurality of instructions, and the processor is configured to read an instruction from the memory to implement:
    在监测到通信端口有输入设备接入时,向服务器发送接入信息;Sending access information to the server when it is detected that the communication port has an input device access;
    接收与所述输入设备的识别码对应的系统界面,以及飞行器的动作。A system interface corresponding to the identification code of the input device is received, and an action of the aircraft.
  30. 根据权利要求29所述的终端设备,其特征在于,所述处理器用于:The terminal device according to claim 29, wherein the processor is configured to:
    根据所述操作按键的操作生成对应的控制指令;Generating a corresponding control instruction according to the operation of the operation button;
    将所述控制指令发送给所述服务器;所述控制指令用于指示所述服务器操作按键与飞行器模型的映射关系调整所述飞行器模型的参数;Sending the control instruction to the server; the control instruction is used to indicate a mapping relationship between the server operation button and the aircraft model to adjust parameters of the aircraft model;
    接收所述服务器发送的所述飞行器的动作。Receiving an action of the aircraft transmitted by the server.
  31. 根据权利要求30所述的终端设备,其特征在于,所述处理器用于根据操作按键的操作生成对应的控制指令,包括:The terminal device according to claim 30, wherein the processor is configured to generate a corresponding control instruction according to an operation of the operation button, including:
    若所述操作按键为摇杆,则根据所述摇杆的旋转角度生成对应的控制指令;所述控制指令表示的控制强度与所述旋转角度正相关。If the operation button is a rocker, a corresponding control command is generated according to the rotation angle of the rocker; and the control intensity indicated by the control command is positively correlated with the rotation angle.
  32. 一种终端设备,其特征在于,所述终端设备包括处理器和存储器,所述存储器中存储若干指令,所述处理器用于从所述存储器中读取指令以实现:A terminal device, comprising: a processor and a memory, wherein the memory stores a plurality of instructions, and the processor is configured to read an instruction from the memory to implement:
    在监测到通信端口有输入设备接入时,确定外部输入设备的识别码;Determining an identification code of the external input device when monitoring that the communication port has an input device access;
    确定所述识别码对应的系统界面;Determining a system interface corresponding to the identification code;
    将所述输入设备的各操作按键映射到飞行器模型,以根据所述操作按键的操作控制所述系统界面中飞行器的动作。Each operational button of the input device is mapped to an aircraft model to control the motion of the aircraft in the system interface in accordance with the operation of the operational button.
  33. 根据权利要求32所述的终端设备,其特征在于,所述处理器将所述输入设备的各操作按键映射到飞行器模型,包括: The terminal device according to claim 32, wherein the processor maps each operation button of the input device to an aircraft model, including:
    在所述终端设备中预先配置映射关系表;Pre-configuring a mapping relationship table in the terminal device;
    根据映射关系表将所述输入设备的各操作按键映射到飞行器模型。Each operation button of the input device is mapped to an aircraft model according to a mapping relationship table.
  34. 根据权利要求32所述的终端设备,其特征在于,所述处理器还用于:The terminal device according to claim 32, wherein the processor is further configured to:
    接收所述输入设备中被触发的操作按键的操作信息;Receiving operation information of the triggered operation button in the input device;
    根据所述操作按键的操作信息生成对应的控制指令;Generating a corresponding control instruction according to the operation information of the operation button;
    根据所述控制指令调整飞行器模型的参数。The parameters of the aircraft model are adjusted according to the control command.
  35. 根据权利要求34所述的终端设备,其特征在于,所述处理器根据所述操作按键的操作信息生成对应的控制指令,包括:The terminal device according to claim 34, wherein the processor generates a corresponding control instruction according to the operation information of the operation button, including:
    若所述操作按键为摇杆,则根据所述摇杆的旋转角度生成对应的控制指令;所述控制指令表示的控制强度与所述旋转角度正相关。If the operation button is a rocker, a corresponding control command is generated according to the rotation angle of the rocker; and the control intensity indicated by the control command is positively correlated with the rotation angle.
  36. 根据权利要求32所述的终端设备,其特征在于,所述处理器确定外部输入设备的识别码,包括:The terminal device according to claim 32, wherein the processor determines an identification code of the external input device, including:
    向所述输入设备发送识别请求;Sending an identification request to the input device;
    获取所述输入设备通过通信连接发送的识别码。Obtaining an identification code sent by the input device through a communication connection.
  37. 根据权利要求32所述的终端设备,其特征在于,所述处理器确定外部输入设备的识别码,包括:The terminal device according to claim 32, wherein the processor determines an identification code of the external input device, including:
    获取所述输入设备接入的通信接口的识别码;Obtaining an identification code of the communication interface accessed by the input device;
    根据通信接口与输入设备的对应关系确定所述输入设备的识别码。The identification code of the input device is determined according to a correspondence between the communication interface and the input device.
  38. 根据权利要求32所述的终端设备,其特征在于,所述处理器确定所述识别码对应的系统界面,包括:The terminal device according to claim 32, wherein the processor determines a system interface corresponding to the identifier, comprising:
    获取多个输入设备的优先级;Get the priority of multiple input devices;
    确定优先级最高的输入设备对应的系统界面为需要显示的系统界面。The system interface corresponding to the input device with the highest priority is determined as the system interface to be displayed.
  39. 根据权利要求32~38任一项所述的终端设备,其特征在于,所述输入设备包括飞行器摇控器、游戏手柄和键盘中的一种或者多种。The terminal device according to any one of claims 32 to 38, wherein the input device comprises one or more of an aircraft remote controller, a game controller and a keyboard.
  40. 根据权利要求39所述的终端设备,其特征在于,所述输入设备的优先级从高到低依次为:飞行器摇控器、游戏手柄、键盘。The terminal device according to claim 39, wherein the priority of the input device from high to low is: an aircraft remote controller, a game controller, and a keyboard.
  41. 一种机器可读存储介质,其特征在于,所述机器可读存储介质上存 储有若干计算机指令,所述计算机指令被执行时进行如下处理:A machine readable storage medium, wherein the machine readable storage medium is stored There are stored a number of computer instructions that are processed as follows when executed:
    确定外部输入设备的识别码;Determining an identification code of the external input device;
    确定所述识别码对应的系统界面;Determining a system interface corresponding to the identification code;
    将所述输入设备的各操作按键映射到飞行器模型,以根据所述操作按键的操作控制所述系统界面中飞行器的动作。Each operational button of the input device is mapped to an aircraft model to control the motion of the aircraft in the system interface in accordance with the operation of the operational button.
  42. 一种机器可读存储介质,其特征在于,所述机器可读存储介质上存储有若干计算机指令,所述计算机指令被执行时进行如下处理:A machine readable storage medium, wherein the machine readable storage medium stores a plurality of computer instructions that, when executed, perform the following processing:
    在监测到通信端口有输入设备接入时,向服务器发送接入信息;Sending access information to the server when it is detected that the communication port has an input device access;
    接收与所述输入设备的识别码对应的系统界面,以及所述系统界面中的飞行器的动作。Receiving a system interface corresponding to the identification code of the input device, and an action of the aircraft in the system interface.
  43. 一种机器可读存储介质,其特征在于,所述机器可读存储介质上存储有若干计算机指令,所述计算机指令被执行时进行如下处理:A machine readable storage medium, wherein the machine readable storage medium stores a plurality of computer instructions that, when executed, perform the following processing:
    在监测到通信端口有输入设备接入时,确定外部输入设备的识别码;Determining an identification code of the external input device when monitoring that the communication port has an input device access;
    确定所述识别码对应的系统界面;Determining a system interface corresponding to the identification code;
    将所述输入设备的各操作按键映射到飞行器模型,以根据所述操作按键的操作控制所述系统界面中飞行器的动作。 Each operational button of the input device is mapped to an aircraft model to control the motion of the aircraft in the system interface in accordance with the operation of the operational button.
PCT/CN2017/094733 2017-07-27 2017-07-27 Flight simulation control method, server and terminal device WO2019019111A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2017/094733 WO2019019111A1 (en) 2017-07-27 2017-07-27 Flight simulation control method, server and terminal device
CN201780005601.3A CN108521797B (en) 2017-07-27 2017-07-27 Flight simulation control method, server and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/094733 WO2019019111A1 (en) 2017-07-27 2017-07-27 Flight simulation control method, server and terminal device

Publications (1)

Publication Number Publication Date
WO2019019111A1 true WO2019019111A1 (en) 2019-01-31

Family

ID=63434426

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/094733 WO2019019111A1 (en) 2017-07-27 2017-07-27 Flight simulation control method, server and terminal device

Country Status (2)

Country Link
CN (1) CN108521797B (en)
WO (1) WO2019019111A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102929683A (en) * 2012-08-08 2013-02-13 韦创科技有限公司 Full-automatic simulation system of input device
US20140049461A1 (en) * 2012-08-17 2014-02-20 Innomind Solution Company Limited Fully automatic simulation system of an input device
CN105120329A (en) * 2015-09-08 2015-12-02 冠捷显示科技(厦门)有限公司 Input adaption method applied to video game control
US20170083194A1 (en) * 2009-07-08 2017-03-23 Steelseries Aps Apparatus and method for managing operations of accessories

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102789171A (en) * 2012-09-05 2012-11-21 北京理工大学 Method and system for semi-physical simulation test of visual unmanned aerial vehicle flight control
CN103093047B (en) * 2013-01-12 2015-06-17 天津大学 Typical aircraft visual simulation system
CN104462669A (en) * 2014-11-24 2015-03-25 成都盛军电子设备有限公司 Flight simulation system
CN204705825U (en) * 2015-03-13 2015-10-14 吉林医药学院 No-manned plane three-dimensional solid aobvious control comprehensive training system
CN104765280B (en) * 2015-03-13 2018-05-01 吉林医药学院 The three-dimensional aobvious control comprehensive training system of no-manned plane three-dimensional
CN104932530A (en) * 2015-06-04 2015-09-23 中国航空无线电电子研究所 Unmanned aerial vehicle control system, and downlink telemetering method and unlink telemetering method thereof
CN105159141B (en) * 2015-08-11 2019-03-22 中国航空工业集团公司西安飞机设计研究所 The verification method and device of Flying by wire rule transmission ratio

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170083194A1 (en) * 2009-07-08 2017-03-23 Steelseries Aps Apparatus and method for managing operations of accessories
CN102929683A (en) * 2012-08-08 2013-02-13 韦创科技有限公司 Full-automatic simulation system of input device
US20140049461A1 (en) * 2012-08-17 2014-02-20 Innomind Solution Company Limited Fully automatic simulation system of an input device
CN105120329A (en) * 2015-09-08 2015-12-02 冠捷显示科技(厦门)有限公司 Input adaption method applied to video game control

Also Published As

Publication number Publication date
CN108521797B (en) 2021-04-06
CN108521797A (en) 2018-09-11

Similar Documents

Publication Publication Date Title
US11826656B2 (en) Latency compensation for interface type in emulation
KR102050934B1 (en) Information processing method, terminal, and computer storage medium
US9707485B2 (en) Systems and methods for cloud processing and overlaying of content on streaming video frames of remotely processed applications
EP2919874B1 (en) Systems and methods for cloud processing and overlaying of content on streaming video frames of remotely processed applications
WO2018095295A1 (en) Method, apparatus and system for interaction of information in application service
CN111228811B (en) Virtual object control method, device, equipment and medium
CN109107167A (en) Interaction control method, electronic equipment and storage medium in game
US11270087B2 (en) Object scanning method based on mobile terminal and mobile terminal
JP2015139565A (en) Server computer related to game, and game program
US20190235640A1 (en) Haptic ecosystem
CN114007143A (en) Information interaction method, device and equipment, computer storage medium and program product
TWI803224B (en) Contact person message display method, device, electronic apparatus, computer readable storage medium, and computer program product
CN113274731B (en) Virtual character selection sequence adjustment method, device, equipment and storage medium
JP2017131507A (en) Program and game system
US9808714B2 (en) Network enabled game controller
WO2019019111A1 (en) Flight simulation control method, server and terminal device
CN112619131B (en) Method, device and equipment for switching states of virtual props and readable storage medium
CN115837159A (en) Virtual handle control method based on android device and storage medium
JP6054677B2 (en) Processing system, information processing apparatus, control method, program, and recording medium
US9839839B2 (en) Information processing system including a portable terminal and a wireless controller each wirelessly connected to an information processing device
CN113713369B (en) Function key mapping method, simulation control method, device and equipment for multiplayer game
WO2023173648A1 (en) Method and apparatus for processing in game, terminal device, and storage medium
JP2016087017A (en) Mobile terminal device, game device, game system, game control method and game control program
CN113926200A (en) Task completion method and related device
CN117046113A (en) Game skill releasing method, game skill releasing device, electronic equipment and readable storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17919500

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17919500

Country of ref document: EP

Kind code of ref document: A1