CN111831487A - Data source output method, device, system and storage medium - Google Patents

Data source output method, device, system and storage medium Download PDF

Info

Publication number
CN111831487A
CN111831487A CN201910538378.XA CN201910538378A CN111831487A CN 111831487 A CN111831487 A CN 111831487A CN 201910538378 A CN201910538378 A CN 201910538378A CN 111831487 A CN111831487 A CN 111831487A
Authority
CN
China
Prior art keywords
host
data source
target monitoring
monitoring host
control information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910538378.XA
Other languages
Chinese (zh)
Inventor
刘波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chongqing Fengniao Uav Research Institute Co ltd
Original Assignee
Fonair Aviation Co Ltd
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 Fonair Aviation Co Ltd filed Critical Fonair Aviation Co Ltd
Publication of CN111831487A publication Critical patent/CN111831487A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/20Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the invention discloses a data source output method, a data source output device, a data source output system and a storage medium. The output method comprises the following steps: the working position host acquires control information; the working position host and other working position hosts jointly select a target monitoring host, wherein the target monitoring host has the control right on the data source host; if the work position host is selected as the target monitoring host, controlling the data source host according to the control information so that the data source host outputs a corresponding data source according to the control information; if the target monitoring host is not selected, the target monitoring host is used as a monitoring target monitoring host to be selected, so that a new target monitoring host is selected together with other monitoring hosts to be selected when the current target monitoring host is determined to be in fault. The invention can replace the target monitoring host of the data source host, thereby avoiding the data source host from losing control.

Description

Data source output method, device, system and storage medium
Technical Field
The invention relates to the field of aircraft control, in particular to a data source output method, device and system and a storage medium.
Background
A large screen monitoring system of an unmanned aerial vehicle control center needs to remotely and centrally monitor key parameters and flight states of an unmanned aerial vehicle in operation. Staff at management and control center can also be directed against large-size screen information and do necessary remote control to unmanned aerial vehicle. Since the source of the signal monitoring the large screen is not unique, multiple screen outputs from multiple data source hosts are common.
Although software such as an unbounded mouse can use the same mouse keyboard across hosts, the data source master control machine of the mouse keyboard needs to be set, and once the data source master control machine fails, other data source hosts cannot be continuously operated.
That is, in the prior art, when the master controller of the data source host fails, the data source host in the system loses control.
Disclosure of Invention
Embodiments of the present invention provide a data source output method, apparatus, system, and computer-readable storage medium, which can replace a target monitoring host of a data source host when the target monitoring host fails, thereby avoiding a loss of control of the data source host.
In a first aspect, the present invention provides an output method of a data source, the output method is applied to an aircraft control system, the aircraft control system includes a data source host and at least two work site hosts, the data source host is used for outputting the data source, and the output method includes:
the working position host computer obtains control information;
the working position host and other working position hosts jointly select a target monitoring host, wherein the target monitoring host has the control right on the data source host;
if the work position host is selected as the target monitoring host, controlling the data source host according to the control information so that the data source host outputs a corresponding data source according to the control information; and if the target monitoring host is not selected as the target monitoring host, the target monitoring host is monitored as a monitoring host to be selected, so that a new target monitoring host is selected together with other monitoring hosts to be selected when the current target monitoring host is determined to be in fault.
Further, the working position host and the other working position hosts select the target monitoring host together, including:
judging whether first preset information of the target monitoring host exists in the control information, wherein the first preset information comprises at least one of an address and a name of the target monitoring host;
if the first preset information exists, determining the target monitoring host according to the first preset information of the target monitoring host; and if not, determining the target monitoring host according to preset conditions.
Further, the determining the target monitoring host according to the first preset information of the target monitoring host includes:
judging whether the self is matched with the first preset information or not;
if yes, the target monitoring host is judged to be selected, and if not, the target monitoring host is judged not to be selected.
Further, the determining the target monitoring host according to the preset condition includes:
judging whether the host is the work position host with the minimum load in the at least two work position hosts;
if yes, the target monitoring host is judged to be selected, and if not, the target monitoring host is judged not to be selected.
Further, the monitoring the target monitoring host as the candidate monitoring host to select a new target monitoring host together with other candidate monitoring hosts when determining that the current target monitoring host fails includes:
judging whether the target monitoring host controls the data source host or not;
if not, determining that the current target monitoring host is in fault, and selecting a new target monitoring host together with other monitoring hosts to be selected.
Further, before the controlling the data source host by the target monitoring host to enable the data source host to output the corresponding data source according to the control information, the method includes:
judging whether second preset information sent by the data source host is acquired within preset time, wherein the second preset information comprises at least one of an address and a name of the data source host;
if yes, the target monitoring host is used, the data source host is controlled according to second preset information and the control information, and therefore the data source host outputs a corresponding data source according to the control information.
In a second aspect, the present invention provides an output method of a data source, the output method is applied to an aircraft control system, the aircraft control system includes the data source host and at least two work site hosts, and the output method includes:
the data source host acquires control information of a target monitoring host in the working position host, wherein the control information is acquired at the working position host and is sent to the data source host when the control information is selected as the target monitoring host, and the target monitoring host has the control right on the data source host;
and outputting a corresponding data source according to the control information.
Further, before the data source host acquires the control information of the target monitoring host in the work station host, the method includes:
and sending second preset information to the at least two working position hosts according to the first preset frequency, wherein the second preset information comprises at least one of the name and the address of the data source host.
Further, the outputting the corresponding data source according to the control information includes:
judging whether a data source other than the data source corresponding to the control information exists according to a second preset frequency;
if yes, closing data sources except the data source corresponding to the control information.
In a third aspect, the present invention further provides a work bit host, where the work bit host includes:
one or more processors;
a memory; and
one or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the processor to implement the output method of the data source of any of the first aspects.
In a fourth aspect, the present invention further provides a data source host, including:
one or more processors;
a memory; and
one or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the processor to implement the output method of the data source of any of the second aspects.
In a fifth aspect, the present invention further provides an aircraft control system, where the aircraft control system includes a data source host and at least two work bit hosts, the at least two work bit hosts are respectively connected to the data source host, the work bit hosts are configured to implement the data source output method according to any one of the above aspects, and the data source host is configured to implement the data source output method according to any one of the second aspects.
In a sixth aspect, the present invention further provides a storage medium storing a plurality of instructions, the instructions being suitable for being loaded by a processor to perform the steps of the output method of the data source according to any one of the first aspect or the steps of the output method of the data source according to any one of the second aspect.
The invention has the beneficial effects that: different from the prior art, the invention provides an output method of a data source, which is applied to an aircraft control system, wherein the aircraft control system comprises a data source host and at least two work station hosts, the data source host is used for outputting the data source, and the output method comprises the following steps: the working position host acquires control information; the working position host and other working position hosts jointly select a target monitoring host, wherein the target monitoring host has the control right on the data source host; if the work position host is selected as the target monitoring host, controlling the data source host according to the control information so that the data source host outputs a corresponding data source according to the control information; if the target monitoring host is not selected, the target monitoring host is used as a monitoring target monitoring host to be selected, so that a new target monitoring host is selected together with other monitoring hosts to be selected when the current target monitoring host is determined to be in fault. When the control information is acquired, the target monitoring host and the monitoring host to be selected are determined from the plurality of working position hosts, and the monitoring host to be selected is used as the target monitoring host when the target monitoring host fails to obtain the control over the data source host, so that the target monitoring host of the data source host can be replaced, and the data source host is prevented from losing control.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic structural diagram of an embodiment of an aircraft control system provided by an embodiment of the invention;
FIG. 2 is a flow chart illustrating an output method of a data source according to an embodiment of the present invention;
FIG. 3 is a flow chart illustrating an output method of a data source according to another embodiment of the present invention;
FIG. 4 is a flow chart illustrating an output method of a data source according to another embodiment of the present invention;
FIG. 5 is a schematic structural diagram of an embodiment of a work bit host provided in the embodiments of the present invention;
fig. 6 is a schematic structural diagram of an embodiment of a data source host provided in an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the description of the present invention, it is to be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", etc. indicate orientations or positional relationships based on those shown in the drawings, and are only for convenience of description and simplicity of description, but do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be considered as limiting the present invention. Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more features. In the description of the present invention, "a plurality" means two or more unless specifically defined otherwise.
In the present disclosure, the word "exemplary" is used to mean "serving as an example, instance, or illustration. Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments. The following description is presented to enable any person skilled in the art to make and use the invention. In the following description, details are set forth for the purpose of explanation. It will be apparent to one of ordinary skill in the art that the present invention may be practiced without these specific details. In other instances, well-known structures and processes are not shown in detail to avoid obscuring the description of the invention with unnecessary detail. Thus, the present invention is not intended to be limited to the embodiments shown, but is to be accorded the widest scope consistent with the principles and features disclosed herein.
The embodiment of the invention provides a data source output method, a data source output device, a data source output system and a storage medium. The following are detailed below.
First, an embodiment of the present invention provides an aircraft control system, where the aircraft control system includes a data source host and at least two work station hosts, and the at least two work station hosts are connected to the data source host respectively.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an aircraft control system 10 according to an embodiment of the present invention.
In the embodiment of the present invention, the aircraft control system 10 includes a first station host 11, a second station host 12, a third station host 13, and 3 data source hosts 14. The first working position host 11 is respectively connected with 3 data source hosts 14, the second working position host 12 is respectively connected with 3 data source hosts 14, and the third working position host 13 is respectively connected with 3 data source hosts 14. In other embodiments, the aircraft control system 10 is not limited to include 3 host computers 14 and 3 host computers 14, and it is only necessary to ensure that the aircraft control system 10 includes the host computer 14 and at least two host computers 14, which are respectively connected to the host computers 14.
In this embodiment, the first workstation host 11, the second workstation host 12, the third workstation host 13, and the 3 data source hosts 14 may be devices such as a smart phone, a smart watch, an ipad, a tablet computer, a desktop computer, and a server, which is not limited in this disclosure. The data source host 14 is used to provide a data source. The first working bit host 11, the second working bit host 12 and the third working bit host 13 are configured to obtain the control information, and control the 3 data source hosts 14 according to the control information, so that the 3 data source hosts 14 provide different data sources. The first work station host 11, the second work station host 12 and the third work station host 13 are connected with each other to execute the same program, and the positions in the aircraft control system 10 are equal to each other to form a peer-to-peer network.
It should be noted that the aircraft control system 10 of the present invention further includes a management and control center networking router, a data relay server, a large screen monitoring router, a data processor, a large monitoring screen, and the like, which are not described in detail herein. The control center networking router, the data transfer server, the large-screen monitoring router and the data processor are used for processing key parameters, flight states and the like of the aircraft to form a data source, and the data source is sent to the data source host 14 through the large-screen monitoring router. The data source host 14 sends the data source to the monitor large screen for display.
To illustrate the method of operation of the aircraft control system 10 of the present invention, referring to fig. 2, fig. 2 is a schematic flow chart of a first embodiment of a method for outputting data sources provided by an embodiment of the present invention. The main bodies for executing the method are a first workstation host 11, a second workstation host 12 and a third workstation host 13,. The specific flow of the output method of the data source may be as follows:
s21: the work station host acquires control information.
In the embodiment of the present invention, the first operating site host 11, the second operating site host 12, and the third operating site host 13 simultaneously obtain the control information. For example, a user sends control information through a mouse or a keyboard, and the first workstation host 11, the second workstation host 12, and the third workstation host 13 simultaneously acquire the control information.
S22: and the working position host and other working position hosts jointly select a target monitoring host, wherein the target monitoring host has the control right on the data source host.
In the embodiment of the present invention, information interaction is performed among the first workstation host 11, the second workstation host 12, and the third workstation host 13, so as to select a target monitoring host. The policy of the selected target monitoring host is set according to specific situations, which is not limited by the present invention.
In a specific embodiment, whether first preset information of a target monitoring host exists in the control information is judged, wherein the first preset information comprises at least one of an address and a name of the target monitoring host; if the first preset information exists, determining the target monitoring host according to the first preset information of the target monitoring host; and if not, determining the target monitoring host according to preset conditions. That is, if the user designates the target monitoring host through the control information, the monitoring host is determined according to the target monitoring host designated by the user, and if the user does not designate the target monitoring host, the target monitoring host is determined according to the preset condition.
S23, if the work position host is selected as the target monitoring host, controlling the data source host according to the control information so that the data source host outputs the corresponding data source according to the control information; if the target monitoring host is not selected, the target monitoring host is used as a monitoring target monitoring host to be selected, so that a new target monitoring host is selected together with other monitoring hosts to be selected when the current target monitoring host is determined to be in fault.
In the embodiment of the present invention, if the target monitoring host is selected, it indicates that the target monitoring host has the control right for the data source host 14, and the data source host 14 is controlled according to the control information, so that the data source host 14 outputs the corresponding data source according to the control information. If the host is selected as the target monitoring host, the host does not have the control right on the data source host 14 and is used as the monitoring target monitoring host of the monitoring host to be selected. When the target monitoring host is used as a monitoring host to be selected, a new target monitoring host is selected together with other monitoring hosts to be selected when the current target monitoring host is determined to be in fault. The new target monitoring host controls the data source host 14 according to the control information, so that the data source host 14 outputs the corresponding data source according to the control information. That is, the target host is monitored by the monitoring host to be selected, and when the target monitoring host fails, the target monitoring host is replaced in time, so that the data source host 14 is prevented from losing control.
To specifically describe the output method of the data source, please refer to fig. 3, and fig. 3 is a flowchart illustrating a second embodiment of the output method of the data source according to an embodiment of the present invention. The specific flow of the output method of the data source may be as follows:
s31: the work station host acquires control information.
In the embodiment of the present invention, the first work station host 11 obtains the control information. Specifically, the first station master 11, the second station master 12, and the third station master 13 simultaneously obtain the control information. For example, a user sends control information through a mouse or a keyboard, and the first workstation host 11, the second workstation host 12, and the third workstation host 13 simultaneously acquire the control information.
S32: and judging whether first preset information of the target monitoring host exists in the control information.
In the embodiment of the invention, after the control information is acquired, whether first preset information of the target monitoring host exists in the control information is judged. The first preset information comprises at least one of an address and a name of the target monitoring host. If the first preset information of the target monitoring host exists in the control information, indicating that the user designates the target monitoring host, the target monitoring host may be determined according to the first preset information of the target monitoring host, and then S33 is executed. If the first preset information of the target monitoring host does not exist in the control information, it indicates that the user does not designate the target monitoring host, and the target monitoring host needs to be determined according to the preset condition, and then S34 is executed. The preset conditions may be load, network speed, preset priority, and the like. On one hand, the user can determine the target monitoring host according to own habits, so that the humanization of the system is improved, and the user experience is improved; on the other hand, if the user does not specify the target monitoring host, the target monitoring host is selected according to the preset conditions, so that the target monitoring host is automatically determined, and the intelligence of the system is improved.
S33: and judging whether the self is matched with the first preset information.
In the embodiment of the invention, if the control information comprises first preset information of the target monitoring host, the target monitoring host is determined according to the first preset information of the target monitoring host. Specifically, it is determined whether the target monitoring host matches the first preset information, and if the target monitoring host matches the first preset information, the target monitoring host is selected as the target monitoring host, and then S351 is executed. If the host itself is not matched with the first preset information, it is determined that the host itself is not selected as the target monitoring host, and then S361 is executed. For example, the control information includes first preset information, and the first preset information is: a first work station host 11. That is, the user designates the first work station host 11 as the target monitoring host. At this time, the first station master 11, the second station master 12, and the third station master 13 respectively determine whether they match the first preset information. The first work station host 11 is matched with the first preset information, so that the first work station host 11 judges that the first work station host is the target monitoring host; the second working position host 12 and the third working position host 13 are not matched with the first preset information, so that the second working position host 12 and the third working position host 13 both judge that the second working position host is not a target monitoring host. And then the first working position host 11, the second working position host 12 and the third working position host 13 can select the target monitoring host as the first working position host 11.
S34: and judging whether the host is the least loaded work bit host of the at least two work bit hosts.
In the embodiment of the invention, if the control information does not include the first preset information of the target monitoring host, the target monitoring host is determined according to the preset condition. Specifically, it is determined whether the host is the lowest-load one of the at least two work level hosts, and if the host is the lowest-load one of the at least two work level hosts, it is determined that the host is selected as the target monitoring host, and then S351 is executed. If the host is not the least loaded one of the at least two work level hosts, it is determined that the host is not selected as the target monitoring host, and then S361 is executed. For example, the control information does not include the first preset information. I.e. the user only wants to change the source of the output data, but does not specify which job master is to be used for execution. At this time, information interaction is performed among the first workstation host 11, the second workstation host 12, and the third workstation host 13, and finally, the loads of the three workstation hosts are respectively: the number of the first working position host machine 11 is 10%, the number of the second working position host machine 12 is 20%, and the number of the third working position host machine 13 is 40%. The first work level master 11 determines that its own load is minimum, and therefore, the first work level master 11 determines that it is the target monitoring master, and the first work level master 11 performs S351. The second work station host 12 and the third work station host 13 both determine that they are not the work station host with the minimum load, and therefore, both the second work station host 12 and the third work station host 13 determine that they are not the target monitoring host, and then S361 is executed. And then the first working position host 11, the second working position host 12 and the third working position host 13 can select the target monitoring host as the first working position host 11. In other embodiments, it may also be determined whether the master is the master with the highest network speed or the highest preset priority of the at least two work level masters, and if so, S351 is executed; if not, S361 is executed, which is not limited by the present invention.
S351: and judging whether second preset information sent by the data source host is acquired within preset time.
In this embodiment of the present invention, the second preset information includes at least one of an address and a name of the data source host 14. The preset time may be 5s, 10s or other values, which may be set according to specific situations, and the present invention is not limited thereto. If the second preset information sent by the data source host 14 is obtained within the preset time, it indicates that the data source host 14 is online and can be controlled, S352 is executed, and if the second preset information sent by the data source host 14 is not obtained within the preset time, it indicates that the data source host 14 is not online and cannot be controlled, and a prompt message may be sent to prompt the user that the current data source host 14 is unavailable.
S352: and the target monitoring host controls the data source host so that the data source host outputs a corresponding data source according to the control information.
In the embodiment of the present invention, if the second preset information sent by the data source host 14 is obtained within the preset time, which indicates that the data source host 14 is online and can be controlled, the target monitoring host controls the data source host 14, so that the data source host 14 outputs the corresponding data source according to the control information.
S353: and ending the control data source host.
In the embodiment of the present invention, after the target monitoring host controls the data source host 14 so that the data source host 14 outputs the corresponding data source according to the control information, the control of the data source host 14 is terminated. That is, after the work position host is used as a target monitoring host to complete the remote control task, the control of the data source host 14 can be finished, and other tasks can be performed, so that the utilization rate of the work position host can be improved.
Further, after the data source host 14 is controlled as the target monitoring host to output the corresponding data source according to the control information, the data source host 14 may also send a task completion instruction to the other monitoring hosts to be selected, so that the other monitoring hosts to be selected end the task of monitoring the target monitoring host as the monitoring host to be selected, and thus the other monitoring hosts to be selected can perform other tasks, and the utilization rate of the whole system is improved.
S361: and judging whether the target monitoring host controls the data source host or not so that the data source host outputs a corresponding data source according to the control information.
In the embodiment of the present invention, when it is determined that the target monitoring host is not selected as the target monitoring host, it is determined whether the target monitoring host controls the data source host 14, so that the data source host 14 outputs the corresponding data source according to the control information. If the target monitoring host controls the data source host 14 so that the data source host 14 outputs the corresponding data source according to the control information, it indicates that the target monitoring host has no fault and can complete the task, and the monitoring host to be selected can end the task of monitoring the target monitoring host as the monitoring host to be selected, perform other tasks, and improve the utilization rate of the whole system. If the target monitoring host does not control the data source host 14, so that the data source host 14 outputs the corresponding data source according to the control information, it indicates that the target monitoring host fails to complete the task, and S362 is performed.
Specifically, whether a heartbeat packet sent by the target monitoring host is acquired within a preset time is judged, and if the heartbeat packet sent by the target monitoring host is acquired within the preset time, the target monitoring host is judged to control the data source host, so that the data source host outputs a corresponding data source according to the control information. And if the heartbeat packet sent by the target monitoring host is not acquired within the preset time, judging that the target monitoring host does not control the data source host, so that the data source host outputs the corresponding data source according to the control information. In other embodiments, whether the target monitoring host controls the data source host may also be determined in other manners, which is not limited in this application.
S362: and determining the fault of the current target monitoring host, and selecting a new target monitoring host together with other monitoring hosts to be selected.
In the embodiment of the present invention, if the target monitoring host does not control the data source host 14, so that the data source host 14 outputs the corresponding data source according to the control information, it is determined that the current target monitoring host fails, and a new target monitoring host is selected together with other monitoring hosts to be selected. Specifically, the target monitoring host may be determined according to preset conditions, where the preset conditions may be load, network speed, preset priority, and the like. The specific method is similar to S34, and the present invention is not described herein again. For example, the first station host 11, the second station host 12, and the third station host 13 select the target monitoring host as the first station host 11, and the second station host 12 and the third station host 13 monitor the first station host 11 for the monitoring host to be selected. When the first working position host 11 fails, the second working position host 12 and the third working position host 13 are used as monitoring hosts to be selected to jointly select a target monitoring host. That is, if the target monitoring host fails, the monitoring hosts to be selected jointly select a new target monitoring host to execute the control task, so as to avoid the data source host 14 losing control.
Different from the prior art, the invention provides an output method of a data source, which is applied to an aircraft control system, wherein the aircraft control system comprises a data source host and at least two work station hosts, the data source host is used for outputting the data source, and the output method comprises the following steps: the working position host acquires control information; the working position host and other working position hosts jointly select a target monitoring host, wherein the target monitoring host has the control right on the data source host; if the work position host is selected as the target monitoring host, controlling the data source host according to the control information so that the data source host outputs a corresponding data source according to the control information; if the target monitoring host is not selected, the target monitoring host is used as a monitoring target monitoring host to be selected, so that a new target monitoring host is selected together with other monitoring hosts to be selected when the current target monitoring host is determined to be in fault. When the control information is acquired, the target monitoring host and the monitoring host to be selected are determined from the plurality of working position hosts, and the monitoring host to be selected is used as the target monitoring host when the target monitoring host fails to obtain the control over the data source host, so that the target monitoring host of the data source host can be replaced, and the data source host is prevented from losing control.
Referring to fig. 4, fig. 4 is a schematic flowchart of a third embodiment of the output method of the data source according to the embodiment of the present invention. The main body executing the output method of the data source is the data source host 14, and the output method of the data source comprises the following steps:
s41: the data source host acquires control information of a target monitoring host in the work position host, wherein the control information is acquired at the work position host and is sent to the data source host when the control information is selected as the target monitoring host, and the target monitoring host has the control right on the data source host.
In this embodiment, before the data source host 14 obtains the control information of the target monitoring host in the work level hosts, second preset information is sent to at least two work level hosts according to the first preset frequency, where the second preset information includes at least one of a name and an address of the data source host 14, and the second preset information is used to identify the data source host 14. The data source host 14 sends the second preset information to the work position host in real time, so that the target monitoring host can control the data source host 14 conveniently.
S42: and outputting the corresponding data source according to the control information.
In a specific embodiment, judging whether a data source other than the data source corresponding to the control information exists according to a second preset frequency; and if so, closing the data sources except the data source corresponding to the control information. For example, according to the control information, the data source host needs to display the window a, but the data source host displays the window a and the window B at this time, and then the data source host closes the window B. And the data sources except the data source corresponding to the control information are closed, so that redundant data sources can be prevented from being output, and the display effect of the large monitor screen is ensured.
Different from the prior art, the invention provides an output method of a data source, which is applied to an aircraft control system, wherein the aircraft control system comprises a data source host and at least two work station hosts, the data source host is used for outputting the data source, and the output method comprises the following steps: the data source host acquires control information of a target monitoring host in the working position host, wherein the control information is acquired at the working position host and is sent to the data source host when the control information is selected as the target monitoring host, and the target monitoring host has the control right on the data source host and outputs a corresponding data source according to the control information. The invention can replace the target monitoring host of the data source host, thereby avoiding the data source host from losing control.
An embodiment of the present invention further provides a work station host, where the work station host includes:
one or more processors;
a memory; and
one or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the processor for the steps of the output method of the data source in any of the embodiments of fig. 1-3 and the text description thereof.
Fig. 5 is a schematic diagram illustrating a structure of a work bit host according to an embodiment of the present invention, specifically:
the work bit host may include components such as a processor 501 of one or more processing cores, memory 502 of one or more computer-readable storage media, a power supply 503, and an input unit 504. Those skilled in the art will appreciate that the station host architecture shown in fig. 5 does not constitute a limitation of the station host and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. Wherein:
the processor 501 is a control center of the work bit host, connects various parts of the whole work bit host by using various interfaces and lines, and executes various functions and processes data of the work bit host by running or executing software programs and/or modules stored in the memory 502 and calling data stored in the memory 502, thereby performing overall monitoring of the work bit host. Optionally, processor 501 may include one or more processing cores; preferably, the processor 501 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 501.
The memory 502 may be used to store software programs and modules, and the processor 501 executes various functional applications and data processing by operating the software programs and modules stored in the memory 502. The memory 502 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data created according to the use of the work bit host, and the like. Further, the memory 502 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 502 may also include a memory controller to provide the processor 501 with access to the memory 502.
The workstation host further comprises a power source 503 for supplying power to each component, and preferably, the power source 503 may be logically connected to the processor 501 through a power management system, so as to implement functions of managing charging, discharging, power consumption, and the like through the power management system. The power supply 503 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
The workstation host may also include an input unit 504, where the input unit 504 may be used to receive entered numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
Although not shown, the work station host may further include a display unit and the like, which are not described in detail herein. Specifically, in the embodiment of the present invention, the processor 501 in the work bit host loads the executable file corresponding to the process of one or more application programs into the memory 502 according to the following instructions, and the processor 501 runs the application programs stored in the memory 502, thereby implementing various functions as follows:
the working position host acquires control information;
the working position host and other working position hosts jointly select a target monitoring host, wherein the target monitoring host has the control right on the data source host;
if the work position host is selected as the target monitoring host, controlling the data source host according to the control information so that the data source host outputs a corresponding data source according to the control information; if the target monitoring host is not selected, the target monitoring host is used as a monitoring target monitoring host to be selected, so that a new target monitoring host is selected together with other monitoring hosts to be selected when the current target monitoring host is determined to be in fault.
An embodiment of the present invention further provides a data source host, where the data source host includes:
one or more processors;
a memory; and
one or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the processor for the steps of the output method of the data source in any of the embodiments of fig. 1, 4 and the text description thereof.
Fig. 6 is a schematic diagram showing a structure of a data source host according to an embodiment of the present invention, specifically:
the data source host may include components such as a processor 601 of one or more processing cores, memory 602 of one or more computer-readable storage media, a power supply 603, and an input unit 604. Those skilled in the art will appreciate that the data source host architecture shown in FIG. 6 does not constitute a limitation of the data source host and may include more or fewer components than shown, or some components in combination, or a different arrangement of components. Wherein:
the processor 601 is a control center of the data source host, connects various parts of the entire data source host by using various interfaces and lines, and performs various functions of the data source host and processes data by running or executing software programs and/or modules stored in the memory 602 and calling the data stored in the memory 602, thereby performing overall monitoring of the data source host. Optionally, processor 601 may include one or more processing cores; preferably, the processor 601 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 601.
The memory 602 may be used to store software programs and modules, and the processor 601 executes various functional applications and data processing by operating the software programs and modules stored in the memory 602. The memory 602 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data created according to use of the data source host, and the like. Further, the memory 602 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 602 may also include a memory controller to provide the processor 601 with access to the memory 602.
The data source host further comprises a power supply 603 for supplying power to each component, and preferably, the power supply 603 may be logically connected to the processor 601 through a power management system, so as to implement functions of managing charging, discharging, power consumption management, and the like through the power management system. The power supply 603 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
The data source host may also include an input unit 604, and the input unit 604 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
Although not shown, the data source host may further include a display unit and the like, which are not described in detail herein. Specifically, in the embodiment of the present invention, the processor 601 in the data source host loads the executable file corresponding to the process of one or more application programs into the memory 602 according to the following instructions, and the processor 601 runs the application programs stored in the memory 602, thereby implementing various functions as follows:
the data source host acquires control information of a target monitoring host in the working position host, wherein the control information is acquired at the working position host and is sent to the data source host when the control information is selected as the target monitoring host, and the target monitoring host has the control right on the data source host;
and outputting the corresponding data source according to the control information.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, an embodiment of the present invention provides a storage medium, which may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like. The storage medium stores a plurality of instructions, and the instructions can be loaded by the processor to execute the steps of any map data manufacturing method provided by the embodiment of the invention. For example, the instructions may perform the steps of:
the working position host acquires control information;
the working position host and other working position hosts jointly select a target monitoring host, wherein the target monitoring host has the control right on the data source host;
if the work position host is selected as the target monitoring host, controlling the data source host according to the control information so that the data source host outputs a corresponding data source according to the control information; if the target monitoring host is not selected, the target monitoring host is used as a monitoring target monitoring host to be selected, so that a new target monitoring host is selected together with other monitoring hosts to be selected when the current target monitoring host is determined to be in fault.
Or, the following steps are executed:
the data source host acquires control information of a target monitoring host in the working position host, wherein the control information is acquired at the working position host and is sent to the data source host when the control information is selected as the target monitoring host, and the target monitoring host has the control right on the data source host;
and outputting the corresponding data source according to the control information.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and parts that are not described in detail in a certain embodiment may refer to the above detailed descriptions of other embodiments, and are not described herein again.
In a specific implementation, each unit or structure may be implemented as an independent entity, or may be combined arbitrarily to be implemented as one or several entities, and the specific implementation of each unit or structure may refer to the foregoing method embodiment, which is not described herein again.
The above detailed description is provided for a method, an apparatus, a system and a storage medium for outputting a data source according to an embodiment of the present invention, and a specific example is applied in this document to explain the principle and the implementation of the present invention, and the description of the above embodiment is only used to help understanding the method and the core idea of the present invention; meanwhile, for those skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (13)

1. An output method of a data source is applied to an aircraft control system, the aircraft control system comprises a data source host and at least two work site hosts, the data source host is used for outputting the data source, and the output method comprises the following steps:
the working position host computer obtains control information;
the working position host and other working position hosts jointly select a target monitoring host, wherein the target monitoring host has the control right on the data source host;
if the work position host is selected as the target monitoring host, controlling the data source host according to the control information so that the data source host outputs a corresponding data source according to the control information; and if the target monitoring host is not selected as the target monitoring host, the target monitoring host is monitored as a monitoring host to be selected, so that a new target monitoring host is selected together with other monitoring hosts to be selected when the current target monitoring host is determined to be in fault.
2. The output method according to claim 1, wherein the selecting of the target monitoring host by the working bit host and the other working bit hosts comprises:
judging whether first preset information of the target monitoring host exists in the control information, wherein the first preset information comprises at least one of an address and a name of the target monitoring host;
if the first preset information exists, determining the target monitoring host according to the first preset information of the target monitoring host; and if not, determining the target monitoring host according to preset conditions.
3. The output method according to claim 2, wherein the determining the target monitoring host according to the first preset information of the target monitoring host comprises:
judging whether the self is matched with the first preset information or not;
if yes, the target monitoring host is judged to be selected, and if not, the target monitoring host is judged not to be selected.
4. The output method according to claim 2, wherein the determining the target monitoring host according to the preset condition comprises:
judging whether the host is the work position host with the minimum load in the at least two work position hosts;
if yes, the target monitoring host is judged to be selected, and if not, the target monitoring host is judged not to be selected.
5. The output method according to any one of claims 1 to 4, wherein the monitoring the target monitoring host as the candidate monitoring host to select a new target monitoring host together with other candidate monitoring hosts when determining that the current target monitoring host fails includes:
judging whether the target monitoring host controls the data source host or not;
if not, determining that the current target monitoring host is in fault, and selecting a new target monitoring host together with other monitoring hosts to be selected.
6. The output method according to claim 5, wherein before the target monitoring host controlling the data source host to output the corresponding data source according to the control information, the method comprises:
judging whether second preset information sent by the data source host is acquired within preset time, wherein the second preset information comprises at least one of an address and a name of the data source host;
if yes, the target monitoring host is used, the data source host is controlled according to second preset information and the control information, and therefore the data source host outputs a corresponding data source according to the control information.
7. An output method of a data source is applied to an aircraft control system, the aircraft control system comprises the data source host and at least two work station hosts, and the output method comprises the following steps:
the data source host acquires control information of a target monitoring host in the working position host, wherein the control information is acquired at the working position host and is sent to the data source host when the control information is selected as the target monitoring host, and the target monitoring host has the control right on the data source host;
and outputting a corresponding data source according to the control information.
8. The data source host of claim 7, wherein before the data source host obtains the control information of the target monitoring host in the work site host, the method comprises:
and sending second preset information to the at least two working position hosts according to the first preset frequency, wherein the second preset information comprises at least one of the name and the address of the data source host.
9. The data source host of claim 7, wherein outputting the corresponding data source according to the control information comprises:
judging whether a data source other than the data source corresponding to the control information exists according to a second preset frequency;
if yes, closing data sources except the data source corresponding to the control information.
10. A work station host, comprising:
one or more processors;
a memory; and
one or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the processor to implement the output method of the data source of any of claims 1 to 6.
11. A data source host, comprising:
one or more processors;
a memory; and
one or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the processor to implement the output method of the data source of any of claims 7 to 9.
12. An aircraft control system, characterized in that the aircraft control system comprises a data source host and at least two work bit hosts, the at least two work bit hosts are respectively connected with the data source host, the work bit hosts are used for realizing the output method of the data source according to any one of claims 1 to 6, and the data source hosts are used for realizing the output method of the data source according to any one of claims 7 to 9.
13. A storage medium having stored thereon a plurality of instructions adapted to be loaded by a processor to perform the steps of the method for outputting of a data source according to any one of claims 1 to 6 or the method for outputting of a data source according to any one of claims 7 to 9.
CN201910538378.XA 2019-04-15 2019-06-20 Data source output method, device, system and storage medium Pending CN111831487A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2019103009960 2019-04-15
CN201910300996 2019-04-15

Publications (1)

Publication Number Publication Date
CN111831487A true CN111831487A (en) 2020-10-27

Family

ID=72912360

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910538378.XA Pending CN111831487A (en) 2019-04-15 2019-06-20 Data source output method, device, system and storage medium

Country Status (1)

Country Link
CN (1) CN111831487A (en)

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5214694A (en) * 1990-03-20 1993-05-25 Sony Corporation Scramble signal transmission system for earth station of communication satellite
US6281892B1 (en) * 1998-12-16 2001-08-28 Alcatel Usa Sourcing, L.P. System and method of table-driven computer interface
CN1955918A (en) * 2005-10-28 2007-05-02 三星电子株式会社 Scheduling system and method for remotely controlling display device
CN101592955A (en) * 2009-04-08 2009-12-02 孙卓 A kind of full-automatic unmanned aerial vehicle control system
CN101854350A (en) * 2010-04-16 2010-10-06 北京航空航天大学 Multidisciplinary collaborative-design information communication platform
CN101923739A (en) * 2010-08-19 2010-12-22 北京航空航天大学 Integrated display system for aircraft engine parameters and air service information and construction method thereof
CN202694152U (en) * 2012-05-23 2013-01-23 西安翔宇航空科技股份有限公司 Unmanned aerial vehicle control system
CN103455005A (en) * 2013-09-06 2013-12-18 北京四方继保自动化股份有限公司 Controller redundancy and switching method
CN104702386A (en) * 2015-03-17 2015-06-10 成都智慧之芯科技有限公司 Full-network-based centralized control system and method
CN204705825U (en) * 2015-03-13 2015-10-14 吉林医药学院 No-manned plane three-dimensional solid aobvious control comprehensive training system
CN205353672U (en) * 2016-01-07 2016-06-29 谭圆圆 Flight monitoring device , unmanned aerial vehicle and ground control station
CN207406418U (en) * 2017-10-27 2018-05-25 深圳海汇科技有限公司 A kind of generator set controller for possessing redundancy control capability
CN108153144A (en) * 2017-11-29 2018-06-12 中核控制***工程有限公司 A kind of DCS redundant manipulators no-harass switch method
CN108391090A (en) * 2018-03-16 2018-08-10 中山市嘟嘟天地教育咨询有限责任公司 Remote monitoring communicates method for building up, device, computer equipment and storage medium
CN109460062A (en) * 2018-12-21 2019-03-12 祺步智能科技(上海)有限公司 A kind of multiple no-manned plane console

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5214694A (en) * 1990-03-20 1993-05-25 Sony Corporation Scramble signal transmission system for earth station of communication satellite
US6281892B1 (en) * 1998-12-16 2001-08-28 Alcatel Usa Sourcing, L.P. System and method of table-driven computer interface
CN1955918A (en) * 2005-10-28 2007-05-02 三星电子株式会社 Scheduling system and method for remotely controlling display device
CN101592955A (en) * 2009-04-08 2009-12-02 孙卓 A kind of full-automatic unmanned aerial vehicle control system
CN101854350A (en) * 2010-04-16 2010-10-06 北京航空航天大学 Multidisciplinary collaborative-design information communication platform
CN101923739A (en) * 2010-08-19 2010-12-22 北京航空航天大学 Integrated display system for aircraft engine parameters and air service information and construction method thereof
CN202694152U (en) * 2012-05-23 2013-01-23 西安翔宇航空科技股份有限公司 Unmanned aerial vehicle control system
CN103455005A (en) * 2013-09-06 2013-12-18 北京四方继保自动化股份有限公司 Controller redundancy and switching method
CN204705825U (en) * 2015-03-13 2015-10-14 吉林医药学院 No-manned plane three-dimensional solid aobvious control comprehensive training system
CN104702386A (en) * 2015-03-17 2015-06-10 成都智慧之芯科技有限公司 Full-network-based centralized control system and method
CN205353672U (en) * 2016-01-07 2016-06-29 谭圆圆 Flight monitoring device , unmanned aerial vehicle and ground control station
CN207406418U (en) * 2017-10-27 2018-05-25 深圳海汇科技有限公司 A kind of generator set controller for possessing redundancy control capability
CN108153144A (en) * 2017-11-29 2018-06-12 中核控制***工程有限公司 A kind of DCS redundant manipulators no-harass switch method
CN108391090A (en) * 2018-03-16 2018-08-10 中山市嘟嘟天地教育咨询有限责任公司 Remote monitoring communicates method for building up, device, computer equipment and storage medium
CN109460062A (en) * 2018-12-21 2019-03-12 祺步智能科技(上海)有限公司 A kind of multiple no-manned plane console

Similar Documents

Publication Publication Date Title
US11184216B2 (en) State control method and apparatus
CN109886693B (en) Consensus realization method, device, equipment and medium for block chain system
WO2016107443A1 (en) Snapshot processing method and related device
CN109144697A (en) A kind of method for scheduling task, device, electronic equipment and storage medium
CN103645915A (en) Setting method and device of RAS configuration
CN113312145A (en) Container scheduling method and device, electronic equipment and medium
CN108694083A (en) A kind of data processing method and device of server
CN116578447B (en) Virtual machine data recovery method and device, computer equipment and storage medium
CN113129060A (en) Offline commodity recommendation display system, method, device, equipment and storage medium
CN113095776A (en) Business process management method and device, computer equipment and storage medium
CN111831487A (en) Data source output method, device, system and storage medium
CN111130856A (en) Server configuration method, system, equipment and computer readable storage medium
US20220121963A1 (en) Network operator processing method, apparatus, electronic device and storage medium
KR102062082B1 (en) Energy management system
CN114647501A (en) Mycat system deployment, operation and maintenance method, device, equipment and storage medium
CN107818002A (en) The management method and device of a kind of Command Line Interface
CN110519393A (en) Monitoring and managing method, device, equipment, server and the medium of self-service device
CN114115718B (en) Distributed block storage system service quality control method, device, equipment and medium
CN111858234A (en) Task execution method, device, equipment and medium
CN117033084B (en) Virtual machine backup method and device, electronic equipment and storage medium
CN111738718A (en) Block chain updating method, block chain updating device, storage medium and electronic equipment
CN104199737B (en) A kind of method and apparatus for synchronizing handled image
CN114979141B (en) Task processing method, device, equipment and storage medium
US10305733B1 (en) Defining software infrastructure using a physical model
CN116578334B (en) User online dynamic docking method and system based on configuration

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20230519

Address after: No. 2-4 Wolong Road, Longxing Town, Liangjiang New District, Chongqing, 404100

Applicant after: Chongqing Fengniao UAV Research Institute Co.,Ltd.

Address before: No.289, Chengxin Dajian Road, xihanggang street, Shuangliu District, Chengdu, Sichuan 610200 China (Sichuan) pilot Free Trade Zone, Chengdu

Applicant before: Fengniao Aviation Technology Co.,Ltd.