A data processing method, device, system and storage medium

By creating and allocating data processing tasks on the idle data server, the problem of low flight recovery efficiency in emergencies in the aviation field is solved, and timely processing and efficient management of events are achieved.

CN112988374BActive Publication Date: 2024-10-15ALIBABA GROUP HOLDING LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201911295407.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-12-16
Publication Date
2024-10-15
Estimated Expiration
2039-12-16

AI Technical Summary

Technical Problem

In the aviation field, flight recovery work is less efficient in the face of emergencies and cannot meet flight management requirements.

Method used

By determining that there is an idle data server, a data processing task is created and assigned to the idle target server to process pending events, thereby ensuring timely execution of the data processing task.

Benefits of technology

It improves the processing efficiency of pending events, solves the problem of event queuing, and meets the rapid response needs of flight management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112988374B_ABST
    Figure CN112988374B_ABST
Patent Text Reader

Abstract

The embodiment of the present application provides a data processing method, device, system and storage medium, wherein the system includes an application end and at least one data service end; the application end is used to create a data processing task based on at least one pending event when it is determined that there is at least one data service end in an idle state; and the data processing task is assigned to a target service end in the at least one idle data service end; the target service end is used to execute the data processing task to process the at least one pending event. Accordingly, the embodiment of the present application can improve the queuing problem of pending events and improve the processing efficiency of pending events.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a data processing method, device, system and storage medium. Background Art

[0002] In the aviation industry, when emergencies such as bad weather, aircraft failures, airport closures or traffic control occur, airlines need to reschedule their flights to quickly respond to these emergencies.

[0003] At present, the efficiency of flight recovery work in the face of emergencies is relatively low and cannot meet the flight management requirements. Summary of the invention

[0004] Multiple aspects of the present application provide a data processing method, device, system and storage medium to improve event processing efficiency.

[0005] The embodiment of the present application provides a data processing system, including an application end and at least one data service end;

[0006] The application end is used to create a data processing task based on at least one pending event when it is determined that there is at least one data service end in an idle state; and allocate the data processing task to a target service end among the at least one data service end in an idle state;

[0007] The target server is used to execute the data processing task to process the at least one event to be processed.

[0008] The present application also provides a data processing method, including:

[0009] When it is determined that there is at least one data server in an idle state, creating a data processing task based on at least one event to be processed;

[0010] Allocating the data processing task to a target server among the at least one data server in an idle state;

[0011] The target server is used to execute the data processing task to process the at least one task to be processed.

[0012] The present application also provides a data processing method, including:

[0013] Providing the running status information to the application end, so that the application end determines whether to create a data processing task according to the running status information;

[0014] If the data processing task is obtained, executing the data processing task to process at least one event to be processed;

[0015] The data processing task is created by the application end based on the at least one event to be processed.

[0016] The embodiment of the present application also provides a computing device, including a memory and a processor;

[0017] The memory is used to store one or more computer instructions;

[0018] The processor is coupled to the memory and configured to execute the one or more computer instructions for:

[0019] When it is determined that there is at least one data server in an idle state, creating a data processing task based on at least one event to be processed;

[0020] Allocating the data processing task to a target server among the at least one data server in an idle state;

[0021] The target server is used to execute the data processing task to process the at least one task to be processed.

[0022] The embodiment of the present application also provides a computing device, including a memory and a processor;

[0023] The memory is used to store one or more computer instructions;

[0024] The processor is coupled to the memory and configured to execute the one or more computer instructions for:

[0025] Providing the running status information to the application end, so that the application end determines whether to create a data processing task according to the running status information;

[0026] If the data processing task is obtained, executing the data processing task to process at least one event to be processed;

[0027] The data processing task is created by the application end based on the at least one event to be processed.

[0028] An embodiment of the present application also provides a computer-readable storage medium storing computer instructions. When the computer instructions are executed by one or more processors, the one or more processors are caused to execute the aforementioned data processing method.

[0029] In the embodiment of the present application, when it is determined that there is at least one data service end in an idle state, a data processing task is created to place at least one event to be processed in the same data processing task for processing; and the data processing task can be assigned to the target data end in an idle state for execution. This ensures the timely execution of the data processing task, thereby improving the queuing problem of the events to be processed and improving the processing efficiency of the events to be processed. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0031] Figure 1 A schematic diagram of the structure of a data processing system provided in one embodiment of the present application;

[0032] Figure 2 A schematic diagram of the structure of another data processing system provided in one embodiment of the present application;

[0033] Figure 3 A schematic diagram of an application in a flight recovery scenario provided by an embodiment of the present application;

[0034] Figure 4 A flowchart of a data processing method provided in another embodiment of the present application;

[0035] Figure 5 A flowchart of another data processing method provided in yet another embodiment of the present application;

[0036] Figure 6 A schematic diagram of the structure of a computing device provided in yet another embodiment of the present application;

[0037] Figure 7 A schematic diagram of the structure of another computing device provided for yet another embodiment of the present application. DETAILED DESCRIPTION

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

[0039] At present, when faced with emergencies, the efficiency of flight recovery work is relatively low and cannot meet the management requirements of flights. In order to solve the existing technical problems, in some embodiments of the present application: when it is determined that there is at least one data service end in an idle state, a data processing task is created to place at least one pending event in the same data processing task for processing; and the data processing task can be assigned to the target data end in an idle state for execution. This ensures the timely execution of the data processing task, thereby improving the queuing problem of pending events and improving the processing efficiency of pending events.

[0040] The technical solutions provided by various embodiments of the present application are described in detail below in conjunction with the accompanying drawings.

[0041] Figure 1 This is a schematic diagram of the structure of a data processing system provided in one embodiment of the present application. Figure 1 As shown, the system includes: an application end 10 and at least one data service end 20. Figure 1 Only one application terminal 10 is shown in the figure, but in this embodiment, the number of application terminals can be one or more. When there are multiple application terminals, the functions of the multiple application terminals are the same.

[0042] The data processing system provided in this embodiment can be applied to various scenarios where events need to be processed in a timely manner, such as traffic restoration, personnel scheduling, process scheduling, etc. Among them, the traffic restoration scenario may involve various types of transportation such as airplanes, trains, high-speed railways or subways; the personnel scheduling scenario may involve various types of personnel such as corporate employees, hotel service personnel or venue staff management; the process scheduling scenario may involve various types of meetings such as concerts, academic conferences, internal company meetings or multi-party talks. Of course, these are all exemplary, and this embodiment is not limited to this.

[0043] These scenarios often have the characteristics of diverse events, many emergencies, or complex event handling processes, which leads to low event handling efficiency in these scenarios.

[0044] In this embodiment, the application end 10 may pay attention to the running status of at least one data server 20 , so as to determine whether there is an idle data server 20 among the at least one data server 20 .

[0045] In actual applications, the application end 10 may obtain the operating status information of at least one data service end 20 , thereby determining the operating status of at least one data service end 20 .

[0046] The operation status information may include an overall structural identifier of whether there is an idle data server 20. For example, when the preset field in the operation status information is assigned a value of 1, it indicates that there is an idle data server 20, and when the field is assigned a value of 0, it indicates that there is no idle data server 20.

[0047] Of course, the running status information may also include the running status data of at least one data server 20. For example, the association between the tasks being executed and the data server 20 may be recorded in a list or the like to reflect the data server 20 executing the tasks and the idle server.

[0048] In some cases, the application end 10 can communicate directly with at least one data server 20 to obtain the operation status information of at least one data server 20. Of course, in other cases, the operation status information can also be transmitted indirectly between the two, which will be mentioned later.

[0049] Based on this, the application end 10 may create a data processing task based on at least one event to be processed when it is determined that there is at least one data service end 20 in an idle state.

[0050] Among them, in different application scenarios, the events to be processed may not be exactly the same. For example, in the flight recovery scenario, the events to be processed may be severe weather events, aircraft failure events, airport closure events, or flow control events. For another example, in the conference process scheduling scenario, the events to be processed may be venue facility failure events, personnel injury and illness events, or flow control events. Correspondingly, in different application scenarios, the task objectives of the data processing tasks are also different. For example, in the flight recovery scenario, the data processing task may be a flight scheduling task, and the task objective is to generate a reasonable flight schedule. In the conference process scheduling scenario, the data processing task may be a conference process scheduling task, and the task objective is to generate a more reasonable conference process. Of course, these are merely exemplary, and the events to be processed and the data processing tasks in this embodiment are not limited to this.

[0051] When these events occur, it is usually expected that they will be processed as quickly as possible. However, if tasks are blindly created for the events, it often leads to problems such as task accumulation and event queuing.

[0052] In this embodiment, when the application end 10 determines that there is an idle data service end 20, creating a data processing task can solve these problems well. Considering that there may be an influence relationship between events, in this embodiment, the application end 10 waits for the idle data service end 20 to appear, and then packages and processes at least one pending event that may have an influence relationship, that is, creates a data processing task for packaging and processing at least one pending event. Therefore, the packaging and processing of pending events can be realized in units of data processing tasks.

[0053] On this basis, the application end 10 can allocate the data processing task to at least one target server in the data service end 20 that is in an idle state, so as to use the target server to perform the data processing task and further process at least one pending event.

[0054] In this way, at least one pending event is allocated to the target server for processing in a timely manner based on the data processing task. Moreover, since the target server is in an idle state when accepting the data processing task, the data processing task can be executed immediately without waiting in line. This ensures that at least one pending event enters the processing state in a timely manner.

[0055] In this embodiment, when it is determined that there is at least one data service end 20 in an idle state, a data processing task is created to place at least one event to be processed in the same data processing task for processing; and the data processing task can be assigned to the target data end in an idle state for execution. This ensures the timely execution of the data processing task, thereby improving the queuing problem of the events to be processed and improving the processing efficiency of the events to be processed.

[0056] Figure 2 This is a schematic diagram of the structure of another data processing system provided in one embodiment of the present application. Figure 2 In this embodiment, Figure 1 Based on the structure shown, a cache server 30 is added. In terms of quantity, at least one application end 10 and at least one data server 20 share a cache server 30. Of course, this embodiment does not limit this. In terms of physical implementation, multiple physical machines with a distributed structure can be used to implement the function of the cache server 30.

[0057] In this embodiment, the cache server 30 can be used as a buffer between the application end 10 and at least one data server 20. The cache server 30 can be implemented as a redis (Remote Dictionary Server) database, of course, this embodiment is not limited to this. Among them, the redis database is an open source log-type, key-value database written in ANSI C language, supporting network deployment, and can also be based on memory or persistent, and can provide APIs in multiple languages.

[0058] On the one hand, the cache server 30 can be used to cache the running status information.

[0059] In this embodiment, at least one data server 20 may write the running status information to the cache server 30. Among them, at least one data server 20 may periodically write the running status information to the cache server 30, for example, once every 5 minutes. Of course, timed writing or other writing methods may also be used, which is not limited in this embodiment.

[0060] The application end 10 can read the operation status information of at least one data server 20 from the cache server 30, and can determine whether there is at least one data server 20 in an idle state among the at least one data server 20 according to the operation status information. This is an implementation method of transmitting the operation status information between the application end 10 and the data server 20 in an indirect manner as mentioned above.

[0061] In this embodiment, the cache server 30 can perform data standardization on the operation status information written by at least one data server 20. In practical applications, the cache server 30 can cache the operation status information of at least one data server 20 in the form of key-value. For example, the idle state is used as the key. When the data server is in the idle state, the value is assigned to 1, and when the data server is in the non-idle state, the value is assigned to 0. Of course, the information of the task being run by the data server 20 can also be added on the basis of the key-value, such as the task identifier, the event involved in the task, or the task start time, etc. Of course, this embodiment does not limit this.

[0062] Accordingly, the cache server 30 can realize the communication of the operating status information between the application end 10 and the data server 20 by caching the operating status information of at least one data server 20 .

[0063] On the other hand, the cache server 30 may be used to cache data processing tasks.

[0064] In this embodiment, the application end 10 can write the data processing task into the cache server 30 .

[0065] In actual applications, the cache server 30 can manage the data processing tasks in its cache in the form of a queue. The application end 10 actually writes the data processing tasks into the task queue in the cache server 30.

[0066] In this embodiment, there may be only one data processing task in the task queue in the cache server 30 at the same time, which ensures that the data processing task is created and processed immediately. Of course, this embodiment is not limited to this, and multiple data processing tasks may also exist in the task queue in the cache server at the same time. For example, if the application end 10 determines that there are N data service ends 20 in an idle state, N is an integer greater than 1, then M data processing tasks can be created based on at least one event to be processed, M≤N. The application end 10 can write all M data processing tasks into the task queue of the cache server 30. In this case, the data processing tasks in the task queue can also be processed in a timely manner.

[0067] In this embodiment, based on the cache server 30, at least the following two methods can be used to implement the allocation of data processing tasks.

[0068] In one implementation, at least one data server 20 can preemptively allocate data processing tasks from the cache server 30 when the at least one data server 20 is in an idle state.

[0069] In this implementation, at least one data server 20 can preemptively allocate data processing tasks in the task queue of the cache server 30. Preemptive allocation refers to competitively taking data processing tasks from the cache server 30. After a data server 20 successfully preempts, the cache server 30 will delete the preempted data processing tasks, and other data servers 20 will no longer perceive the preempted data processing tasks.

[0070] In particular, for the situation where there are multiple data processing tasks in the task queue in the cache server 30 mentioned above, the multiple data processing tasks in the task queue can be pre-allocated sequentially.

[0071] In one case, at least one data server 20 may monitor the cache server 30. If a data processing task is monitored from the cache server 30, it determines whether it is in an idle state. If it is determined that it is in an idle state, the data processing task is taken out from the cache server 30 to grab the data processing task.

[0072] In this case, at least one data service end 20 participates in the pre-matching.

[0073] At least one data server 20 can monitor the task queue in the cache server 30. When it is detected that there is a data processing task in the task queue, it determines whether it is in an idle state. If it is in an idle state, the data processing task can be taken out from the cache server 30; if it is not in an idle state, the data processing task will not be taken out from the cache server 30.

[0074] In another case, at least one data server 20 in an idle state may monitor the cache server 30. If a data processing task is monitored from the cache server 30, the data processing task is taken out from the cache server 30 to preemptively allocate the data processing task.

[0075] In this case, the data service end 20 in an idle state participates in the pre-allocation.

[0076] At least one data server 20 in an idle state may monitor the task queue of the cache server, while a data server 20 that is not in an idle state may no longer monitor the cache server, which can save the monitoring resources of this part of the data server 20; and the data server 20 in an idle state can directly take out the data processing task from the cache server 30 when a data processing task is monitored.

[0077] In either of the above situations, the data processing task will be pre-allocated to a data server 20 in an idle state, and the data server 20 will serve as a target server for executing the data processing task.

[0078] In another implementation, the cache server 30 may select a data server 20 from at least one data server 20 in an idle state as a target server.

[0079] In this implementation, the cache server 30 is no longer limited to the cache function, but carries a part of the logic processing function. Since the cache server 30 caches the running status information of at least one data server 20, the cache server 30 can determine the data server 20 that is in an idle state. Based on this, the target server can be specified for the data processing task.

[0080] The cache server 30 may determine the target server by random selection, or may obtain the load information of each data server 20 and select the data server 20 with the most suitable load as the target server. Of course, this embodiment is not limited thereto.

[0081] In this embodiment, a cache server 30 is added to the system architecture. Based on the cache server 30, the application end 10 and at least one data server 20 can be decoupled and no longer depend on each other. In addition, the cache server 30 can standardize data, thereby improving the scalability of the system. The expansion of the application end 10 or the data server 20 dimension will not affect the overall operation of the system.

[0082] In the above or following embodiments, the application end 10 may obtain task configuration parameters in response to a task creation operation; create a data processing task according to the task configuration parameters, and the task configuration parameters are determined according to at least one event to be processed.

[0083] In this embodiment, the application terminal 10 can provide an interactive interface to the user, and the user can perform a task creation operation in the interactive interface to input task configuration parameters. The task configuration parameters include but are not limited to recovery target parameters, scenario parameters, data mining parameters, or event description parameters. The task configuration parameters can be used as algorithm constraints of the data processing task to guide the execution process of the data processing task.

[0084] The at least one event to be processed may be part or all of the unprocessed events, which is not limited in this embodiment. In practical applications, it can be determined by the user.

[0085] Usually, a large amount of business data is needed in the process of processing the pending event as a basis for processing. In different application scenarios, the business data is different. For example, in the flight recovery scenario, the business data may include flight data, passenger data, maintenance result data, etc. In this embodiment, the application end 10 can be configured with several types of access interfaces to adapt to different business systems.

[0086] In one case, the application end 10 can establish communication with the business system as needed, and obtain business data adapted to the task configuration parameters (ie, required for at least one event to be processed) from the business system through an access interface.

[0087] In another case, the application end 10 can also synchronize the business data in the business system to the cache server 30 based on the access interface between the application end 10 and the business system, and can obtain the business data adapted to the task configuration parameters from the cache server 30 as needed in the subsequent process. This can decouple the application end 10 from the business system, thereby avoiding dependence on the business system. For example, in the field of flight recovery, if the business system (such as the flight operation control FOC system) sends a fault, the data processing system in this embodiment will not be affected, and the flight recovery can still be performed based on the business data in the cache server 30, which effectively improves the availability of the system.

[0088] Based on this, the application end 10 can create a data processing task according to the task configuration parameters and the acquired business data. In this way, when the target service end acquires the data processing task, it can smoothly execute the data processing task according to the task configuration parameters and the business data.

[0089] In this embodiment, the application end 10 can also determine the information of the target task that needs to be closed in response to the task closing operation; determine the information of the data service end 20 where the target task is located based on the running status information; generate a stop command based on the information of the target task and the information of the data service end 20 where the target task is located; and provide the stop command to the data service end 20 where the target task is located to release the data service end 20 where the target task is located to an idle state.

[0090] The running status information includes information about the tasks currently being run by the data processing end.

[0091] In actual applications, emergency events, privileged events, etc. may occur. In these cases, these special events may need to be processed first. If there is no idle data service end 20 in at least one data service end 20, the user can initiate a task closing operation in the application end 10.

[0092] The application end 10 can display the currently executed data processing tasks to the user in the interactive interface, so that the user can actively select the target task to be closed. The application end 10 can determine the information of the data service end 20 where the target task is located based on the running status information, and thus can generate a stop command based on the information of the target task and the information of the data service end 20 where the target task is located, and provide the stop command to the data service end 20 where the target task is located.

[0093] Of course, the process of issuing the stop instruction in this embodiment is not limited to this. For example, the application end 10 can generate a stop command based on the information of the target task to be closed, and the cache server 30 can send the stop command directly to the data service end 20 where the target task is located based on the running status information, and so on.

[0094] When the data service end 20 where the target task is located obtains the stop command, it will stop the target task, release the processing resources, and enter the idle state. The application end 10 will know that the running state of the data service end 20 has become the idle state.

[0095] On this basis, users can create data processing tasks based on the aforementioned special events.

[0096] In actual applications, in addition to special events, events corresponding to the target task and some or all of other unprocessed events can be added to create data processing tasks. This can not only achieve timely processing of special events, but also ensure other actual processing time limits.

[0097] In addition, in this embodiment, the target server may execute the acquired data processing task to process at least one event to be processed. Furthermore, the target server may provide the task processing structure to the application 10 .

[0098] The application end 10 can perform subsequent processing such as scheme comparison and data statistics based on the task processing results. Moreover, the application end 10 can also synchronize the task processing results to the aforementioned business system so that the business system can perform business data update operations based on them.

[0099] In this embodiment, the application end 10 can provide a rich access interface, so it can be connected to a variety of business systems, effectively improving the adaptability of the data processing system; the data decoupling between the application end 10 and the business system can be achieved through the cache server 30, thereby improving the availability of the data processing system; in addition, the application end 10 can selectively release at least one data server 20 to more flexibly allocate data processing tasks, thereby more flexibly responding to various events.

[0100] Figure 3 A schematic diagram of an application in a flight recovery scenario provided in one embodiment of the present application.

[0101] like Figure 3 As shown, multiple data servers can write running status information to the cache server. The application can obtain the running status of multiple data servers from the cache server, and start creating a flight scheduling task when it is determined that there is an idle data server.

[0102] like Figure 3 As shown, the currently unprocessed events include severe weather events, aircraft failure events A, aircraft failure events B, and airport closure events C. The airline staff can perform task creation operations in the application end, input task configuration parameters according to the aforementioned four events, and the application end can also obtain business data that matches the task configuration parameters from the FOC system or cache server, and create flight scheduling tasks based on the task configuration parameters and the obtained business data.

[0103] The application writes the flight scheduling task into the task queue in the cache server. Figure 3As shown in the figure, data service end b and data service end c in the idle state are listening to the task queue in the cache server. If data service end b listens to the flight scheduling task first, data service end b will take the flight scheduling task from the task queue and execute the flight scheduling task immediately, that is, data service end b grabs the flight scheduling task. By executing the flight scheduling task, data service end b can generate a flight scheduling plan under the condition of considering the above four events at the same time.

[0104] The data service end b can provide the flight scheduling plan to the application end, and the application end can synchronize the flight scheduling plan to the FOC system so that the airline can implement this flight scheduling plan.

[0105] Figure 4 This is a flow chart of a data processing method provided by another embodiment of the present application. The data processing method provided by this embodiment can be executed by a data processing device, which can be implemented as software or a combination of software and hardware, and the data processing device can be integrated in a computing device. Figure 4 As shown, the method includes:

[0106] 400. When it is determined that there is at least one data server in an idle state, create a data processing task based on at least one event to be processed;

[0107] 401. Allocate a data processing task to a target server among at least one data server in an idle state;

[0108] 402. Utilize the target server to execute a data processing task to process at least one task to be processed.

[0109] In an optional embodiment, the method further comprises:

[0110] Obtaining operating status information of at least one data server;

[0111] According to the running status information, it is determined whether there is at least one data server in an idle state among the at least one data server.

[0112] In an optional embodiment, the step of obtaining the operation status information of at least one data server includes:

[0113] The operating status information of at least one data server is obtained from the cache server, where the operating status information is written by at least one data server into the cache server.

[0114] In an optional embodiment, the step of allocating the data processing task to a target server among at least one data server in an idle state comprises:

[0115] The data processing task is written into the cache server, so that at least one data server in an idle state can preemptively allocate the data processing task from the cache server.

[0116] In an optional embodiment, the step of allocating the data processing task to a target server among at least one data server in an idle state comprises:

[0117] The data processing task is written into the cache server, so that the cache server selects a data server from at least one idle data server as a target server according to the running status information.

[0118] In an optional embodiment, the step of creating a data processing task includes:

[0119] In response to the task creation operation, obtaining task configuration parameters;

[0120] Create data processing tasks according to task configuration parameters;

[0121] The task configuration parameters are determined according to at least one event to be processed.

[0122] In an optional embodiment, the step of creating a data processing task according to the task configuration parameters includes:

[0123] Obtain business data that matches the task configuration parameters from the cache server, and generate a data processing task based on the task configuration parameters and the obtained business data.

[0124] In an optional embodiment, before obtaining the business data adapted to the task configuration parameters from the cache server, the step further includes:

[0125] Synchronize business data in the business system to the cache server.

[0126] In an optional embodiment, the running status information includes information about tasks being run by the data processing end, and the method further includes:

[0127] In response to the task closing operation, determining information of a target task to be closed;

[0128] According to the running status information, determine the information of the data server where the target task is located;

[0129] Generate a stop command based on the information of the target task and the information of the data server where the target task is located;

[0130] A stop command is provided to the data server where the target task is located, so as to release the data server where the target task is located to an idle state.

[0131] In an optional embodiment, the at least one event to be processed includes an event corresponding to the target task and part or all of other unprocessed events.

[0132] In an optional embodiment, the event to be processed is a severe weather event, an aircraft failure event, an airport closure event, or a traffic control event;

[0133] Data processing tasks include flight scheduling tasks.

[0134] It is worth noting that for the technical details in the relevant embodiments of the above-mentioned data processing method, reference can be made to the relevant descriptions in the aforementioned embodiments of the data processing system, especially the relevant descriptions for the application end. In order to save space, they will not be repeated here, but this should not cause any loss to the scope of protection of this application.

[0135] Figure 5 The flowchart of another data processing method provided by another embodiment of the present application is shown below. The data processing method provided by this embodiment can be executed by a data processing device, which can be implemented as software or a combination of software and hardware, and the data processing device can be integrated in a computing device. Figure 5 As shown, the method includes:

[0136] 500. Providing the running status information to the application end, so that the application end determines whether to create a data processing task according to the running status information;

[0137] 501. If a data processing task is obtained, execute the data processing task to process at least one event to be processed;

[0138] The data processing task is created by the application based on at least one event to be processed.

[0139] In an optional embodiment, the step of providing the running status information to the application terminal includes:

[0140] The running status information is written to the cache server so that the application can obtain the running status information from the cache server.

[0141] In an optional embodiment, the data processing task is written from the application end to the cache server end. If the data processing task is obtained, the data processing task is executed, including:

[0142] In the idle state, the cache server is monitored. If a data processing task is monitored from the cache server, the data processing task is taken out from the cache server to preemptively allocate the data processing task;

[0143] When a data processing task is pre-assigned, the data processing task is executed.

[0144] In an optional embodiment, the data processing task is written from the application end to the cache server end. If the data processing task is obtained, the data processing task is executed, including:

[0145] Monitor the cache server. If a data processing task is monitored from the cache server, determine whether it is in an idle state.

[0146] When it is determined that it is in an idle state, it takes the data processing task out of the cache server to preemptively allocate the data processing task;

[0147] When a data processing task is pre-assigned, the data processing task is executed.

[0148] It is worth noting that for the technical details in the relevant embodiments of the above-mentioned data processing method, reference can be made to the relevant descriptions in the aforementioned embodiments of the data processing system, especially the relevant descriptions for the data service end. In order to save space, they will not be repeated here, but this should not cause loss of protection scope of this application.

[0149] It should be noted that the execution subject of each step of the method provided in the above embodiment can be the same device, or the method can be executed by different devices. For example, the execution subject of steps 400 to 402 can be device A; for another example, the execution subject of steps 400 and 401 can be device A, and the execution subject of step 402 can be device B; and so on.

[0150] In addition, in some of the processes described in the above embodiments and the accompanying drawings, multiple operations that appear in a specific order are included, but it should be clearly understood that these operations may not be executed in the order in which they appear in this article or executed in parallel, and the sequence numbers of the operations, such as 400, 401, etc., are only used to distinguish between different operations, and the sequence numbers themselves do not represent any execution order. In addition, these processes may include more or fewer operations, and these operations may be executed in sequence or in parallel. It should be noted that the descriptions of "first", "second", etc. in this article are used to distinguish different messages, devices, modules, etc., do not represent the order of precedence, and do not limit the "first" and "second" to be different types.

[0151] Figure 6 A schematic diagram of a computing device provided in another embodiment of the present application is shown below. Figure 6 As shown, the computing device includes: a memory 60 and a processor 61;

[0152] The memory 60 is used to store one or more computer instructions;

[0153] The processor 61 is coupled to the memory 60 and is configured to execute one or more computer instructions for:

[0154] When it is determined that there is at least one data server in an idle state, creating a data processing task based on at least one event to be processed;

[0155] Allocating the data processing task to a target server among at least one data server in an idle state;

[0156] The target server is used to execute a data processing task to process at least one pending task.

[0157] In an optional embodiment, the processor 61 is further configured to:

[0158] Obtaining operating status information of at least one data server;

[0159] According to the running status information, it is determined whether there is at least one data server in an idle state among the at least one data server.

[0160] In an optional embodiment, when the processor 61 obtains the operation status information of at least one data server, it is used to:

[0161] The operating status information of at least one data server is obtained from the cache server, where the operating status information is written by at least one data server into the cache server.

[0162] In an optional embodiment, the processor 61 allocates the data processing task to the target server among at least one data server in an idle state, including:

[0163] The data processing task is written into the cache server, so that at least one data server in an idle state can preemptively allocate the data processing task from the cache server.

[0164] In an optional embodiment, when allocating the data processing task to the target server among at least one data server in an idle state, the processor 61 is configured to:

[0165] The data processing task is written into the cache server, so that the cache server selects a data server from at least one idle data server as a target server according to the running status information.

[0166] In an optional embodiment, when creating a data processing task, the processor 61 is used to:

[0167] In response to the task creation operation, obtaining task configuration parameters;

[0168] Create data processing tasks according to task configuration parameters;

[0169] The task configuration parameters are determined according to at least one event to be processed.

[0170] In an optional embodiment, when creating a data processing task according to the task configuration parameters, the processor 61 is used to:

[0171] Obtain business data that matches the task configuration parameters from the cache server, and generate a data processing task based on the task configuration parameters and the obtained business data.

[0172] In an optional embodiment, before the processor 61 obtains the service data adapted to the task configuration parameters from the cache server, the processor 61 further includes:

[0173] Synchronize business data in the business system to the cache server.

[0174] In an optional embodiment, the running status information includes information about the tasks being run by the data processing end, and the processor 61 is further configured to:

[0175] In response to the task closing operation, determining information of a target task to be closed;

[0176] According to the running status information, determine the information of the data server where the target task is located;

[0177] Generate a stop command based on the information of the target task and the information of the data server where the target task is located;

[0178] A stop command is provided to the data server where the target task is located, so as to release the data server where the target task is located to an idle state.

[0179] In an optional embodiment, the at least one event to be processed includes an event corresponding to the target task and part or all of other unprocessed events.

[0180] In an optional embodiment, the event to be processed is a severe weather event, an aircraft failure event, an airport closure event, or a traffic control event;

[0181] Data processing tasks include flight scheduling tasks.

[0182] It is worth noting that for the technical details in the relevant embodiments of the above-mentioned computing device, reference can be made to the relevant descriptions in the aforementioned embodiments of the data processing system, especially the relevant descriptions for the application end. In order to save space, they will not be repeated here, but this should not cause any loss to the scope of protection of this application.

[0183] Further, if Figure 6 As shown, the computing device also includes: a display 62, a communication component 63, a power component 64, an audio component 65 and other components. Figure 6 Only some components are shown schematically, and it does not mean that the computing device only includes Figure 6 Components shown.

[0184] Accordingly, an embodiment of the present application further provides a computer-readable storage medium storing a computer program, which, when executed, can implement the steps that can be executed by a computing device in the above method embodiment.

[0185] Figure 7 A schematic diagram of the structure of another computing device provided in yet another embodiment of the present application. Figure 7 As shown, the computing device includes: a memory 70 and a processor 71;

[0186] The memory is used to store one or more computer instructions;

[0187] The processor is coupled to the memory and is configured to execute one or more computer instructions for:

[0188] Providing the running status information to the application end, so that the application end determines whether to create a data processing task according to the running status information;

[0189] If a data processing task is obtained, execute the data processing task to process at least one pending event;

[0190] The data processing task is created by the application based on at least one event to be processed.

[0191] In an optional embodiment, when providing the running status information to the application end, the processor 71 is used to:

[0192] The running status information is written to the cache server so that the application can obtain the running status information from the cache server.

[0193] In an optional embodiment, the data processing task is written from the application end to the cache server end. If the data processing task is obtained, the processor 71 is used to:

[0194] In the idle state, the cache server is monitored. If a data processing task is monitored from the cache server, the data processing task is taken out from the cache server to preemptively allocate the data processing task;

[0195] When a data processing task is pre-assigned, the data processing task is executed.

[0196] In an optional embodiment, the data processing task is written from the application end to the cache server end. If the data processing task is obtained, the processor 71 is used to:

[0197] Monitor the cache server. If a data processing task is monitored from the cache server, determine whether it is in an idle state.

[0198] When it is determined that it is in an idle state, it takes the data processing task out of the cache server to preemptively allocate the data processing task;

[0199] When a data processing task is pre-assigned, the data processing task is executed.

[0200] It is worth noting that for the technical details in the relevant embodiments of the above-mentioned computing device, reference can be made to the relevant descriptions in the aforementioned embodiments of the data processing system, especially the relevant descriptions for the data server. In order to save space, they will not be repeated here, but this should not cause any loss to the scope of protection of this application.

[0201] Further, if Figure 7 As shown, the computing device also includes: a communication component 72, a power supply component 73 and other components. Figure 7 Only some components are shown schematically, and it does not mean that the computing device only includes Figure 7 Components shown.

[0202] Accordingly, an embodiment of the present application further provides a computer-readable storage medium storing a computer program, which, when executed, can implement the steps that can be executed by a computing device in the above method embodiment.

[0203] in, Figure 6 and 7 The memory in a computer is used to store computer programs and can be configured to store various other data to support operations on the device on which it is located. Examples of such data include instructions for any application or method operating on the device on which it is located, contact data, phone book data, messages, pictures, videos, etc. The memory can be implemented by any type of volatile or non-volatile storage device or a combination of them, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0204] in, Figure 6 and 7The communication component in is configured to facilitate wired or wireless communication between the device where the communication component is located and other devices. The device where the communication component is located can access a wireless network based on a communication standard, such as WiFi, 2G, 3G, 4G or 5G, or a combination thereof. In an exemplary embodiment, the communication component receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component can be implemented based on near field communication (NFC) technology, radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology or other technologies to facilitate short-range communication.

[0205] in, Figure 6 The display in the embodiment includes a screen, which may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.

[0206] in, Figure 6 and 7 The power supply component in the device provides power to various components of the device where the power supply component is located. The power supply component may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the device where the power supply component is located.

[0207] in, Figure 6 The audio component in can be configured to output and / or input audio signals. For example, the audio component includes a microphone (MIC), and when the device where the audio component is located is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in a memory or sent via a communication component. In some embodiments, the audio component also includes a speaker for outputting an audio signal.

[0208] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0209] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0210] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0211] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0212] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0213] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0214] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0215] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0216] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims

1. A data processing system, characterized in that: It includes an application end, a cache server end and at least one data server end; The application end is used to create a data processing task based on at least one event to be processed when it is determined that there is at least one data service end in an idle state; and assigning the data processing task to a target server among the at least one data server in an idle state; obtaining operation status information of the at least one data server, wherein the operation status information includes information of tasks being run by the data processing terminal; In response to the task closing operation, determining information of a target task to be closed; Determine the information of the data server where the target task is located according to the running status information; Generate a stop command based on the information of the target task and the information of the data server where the target task is located; Providing the stop command to the data server where the target task is located, so as to release the data server where the target task is located to an idle state; The target server is used to execute the data processing task to process the at least one event to be processed.

2. The system according to claim 1, characterized in that Also includes a cache server; the at least one data server is specifically used to write the running status information into the cache server; The application end is also used to obtain the running status information of the at least one data server from the cache server; and determine whether there is at least one data server in an idle state among the at least one data server according to the running status information.

3. The system according to claim 2, characterized in that The application end is specifically used to write the data processing task into the cache server end; The at least one data server is used to preemptively allocate the data processing task from the cache server when the at least one data server is in an idle state, and becomes the target server when preemptively allocating the data processing task.

4. The system according to claim 3, characterized in that The first data server is specifically used to monitor the cache server, and if the data processing task is monitored from the cache server, the data processing task is taken out from the cache server to preemptively allocate the data processing task; The first data server is any one of the at least one data server in an idle state.

5. The system according to claim 3, characterized in that The second data server is specifically used to monitor the cache server, and if the data processing task is monitored from the cache server, it determines whether it is in an idle state; if it is determined that it is in an idle state, it takes the data processing task out of the cache server to preemptively allocate the data processing task; The second data server is any one of the at least one data server.

6. The system according to claim 2, characterized in that The application end is specifically used to write the data processing task into the cache server end; The cache server is used to select a data server from the at least one data server in an idle state as the target server.

7. The system according to claim 2, characterized in that When creating a data processing task, the application end is specifically used to respond to a task creation operation and obtain task configuration parameters; create the data processing task according to the task configuration parameters, and the task configuration parameters are determined according to the at least one event to be processed.

8. The system according to claim 7, characterized in that The application end is specifically used to obtain business data adapted to the task configuration parameters from the cache server end, and generate the data processing task according to the task configuration parameters and the obtained business data; The business data in the cache server is synchronized from the business system by the application.

9. The system according to claim 8, characterized in that The target server is further configured to provide the task processing result to the application, so that the application synchronizes the task processing result to the business system.

10. The system according to claim 1, characterized in that The at least one task to be processed includes the event corresponding to the target task and part or all of other unprocessed events.

11. The system according to claim 1, characterized in that The event to be processed is a severe weather event, an aircraft failure event, an airport closure event or a traffic control event; The data processing tasks include flight scheduling tasks.

12. The system according to claim 1, characterized in that The event to be processed is a venue facility failure event, a personnel injury or illness event, or a flow control event.

13. A data processing method, applicable to an application end in a data processing system, wherein the data processing system further comprises at least one data service end, characterized in that: include: When it is determined that there is at least one data server in an idle state, creating a data processing task based on at least one event to be processed; Allocating the data processing task to a target server among the at least one data server in an idle state; Utilizing the target server to execute the data processing task to process the at least one task to be processed; Acquire the running status information of the at least one data service end, wherein the running status information includes information of the tasks being run by the data processing end; In response to the task closing operation, determining information of a target task to be closed; Determine the information of the data server where the target task is located according to the running status information; Generate a stop command based on the information of the target task and the information of the data server where the target task is located; The stop command is provided to the data server where the target task is located, so as to release the data server where the target task is located to an idle state.

14. The method according to claim 13, characterized in that Also includes: According to the running status information, it is determined whether there is at least one data server in an idle state among the at least one data server.

15. The method according to claim 13, characterized in that The obtaining of the operation status information of at least one data server includes: The operating status information of the at least one data server is obtained from the cache server, where the operating status information is written by the at least one data server into the cache server.

16. The method according to claim 15, characterized in that The allocating the data processing task to a target server among the at least one data server in an idle state comprises: The data processing task is written into the cache server, so that the at least one data server in an idle state can preemptively allocate the data processing task from the cache server.

17. The method according to claim 15, characterized in that The allocating the data processing task to a target server among the at least one data server in an idle state comprises: The data processing task is written into the cache server, so that the cache server selects a data server from the at least one idle data server as the target server according to the running status information.

18. The method according to claim 15, characterized in that The creating of the data processing task comprises: In response to the task creation operation, obtaining task configuration parameters; Creating the data processing task according to the task configuration parameters; The task configuration parameters are determined according to the at least one event to be processed.

19. The method according to claim 18, characterized in that The step of creating the data processing task according to the task configuration parameters includes: Business data adapted to the task configuration parameters is obtained from the cache server, and the data processing task is generated according to the task configuration parameters and the obtained business data.

20. The method according to claim 19, characterized in that Before obtaining the business data adapted to the task configuration parameters from the cache server, the method further includes: The business data in the business system is synchronized to the cache server.

21. The method according to claim 13, characterized in that The at least one event to be processed includes the event corresponding to the target task and part or all of other unprocessed events.

22. The method according to claim 13, characterized in that The event to be processed is a severe weather event, an aircraft failure event, an airport closure event or a traffic control event; The data processing tasks include flight scheduling tasks.

23. A data processing method, characterized in that: include: Providing the running status information to the application end, so that the application end determines whether to create a data processing task according to the running status information, wherein the running status information includes information about the task being run by the data processing end; If the data processing task is obtained, executing the data processing task to process at least one event to be processed; Among them, the data processing task is created by the application end based on the at least one event to be processed, and the application end also determines the information of the target task that needs to be closed in response to the task closing operation; determines the information of the data server where the target task is located according to the running status information; generates a stop command based on the information of the target task and the information of the data server where the target task is located; and provides the stop command to the data server where the target task is located to release the data server where the target task is located to an idle state.

24. The method according to claim 23, characterized in that Providing the running status information to the application end includes: The running status information is written into the cache server, so that the application can obtain the running status information from the cache server.

25. The method according to claim 24, characterized in that The data processing task is written by the application end to the cache server end. If the data processing task is obtained, executing the data processing task includes: In the case of being in an idle state, monitoring the cache server, if the data processing task is monitored from the cache server, taking the data processing task from the cache server to preemptively allocate the data processing task; In case the data processing task is pre-allocated, the data processing task is executed.

26. The method according to claim 24, characterized in that The data processing task is written by the application end to the cache server end. If the data processing task is obtained, executing the data processing task includes: Monitor the cache server, and if the data processing task is monitored from the cache server, determine whether the cache server is in an idle state; When determining that the server is in an idle state, taking the data processing task out from the cache server to preemptively allocate the data processing task; In case the data processing task is pre-allocated, the data processing task is executed.

27. A computing device, characterized in that including memory and processor; The memory is used to store one or more computer instructions; The processor is coupled to the memory and is configured to execute the one or more computer instructions so as to execute the data processing method according to any one of claims 13 to 22.

28. A computing device, characterized in that including memory and processor; The memory is used to store one or more computer instructions; The processor is coupled to the memory and is configured to execute the one or more computer instructions so as to execute the data processing method according to any one of claims 23 to 26.

29. A computer-readable storage medium storing computer instructions, characterized in that: When the computer instructions are executed by one or more processors, the one or more processors are caused to execute the data processing method according to any one of claims 13 to 26.