Task triggering method and device, electronic equipment and storage medium

By dynamically configuring and filling task description phrase templates, the problem of insufficient message editing flexibility in flight guarantee business is solved, and automated message editing and sending is realized, efficiency and accuracy are improved, and complex and changeable flight guarantee needs are adapted.

CN119227663AInactive Publication Date: 2024-12-31THE SECOND RES INST OF CIVIL AVIATION ADMINISTRATION OF CHINA +1
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411770629.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-04
Publication Date
2024-12-31
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the existing flight guarantee business, the traditional message editing method is based on fixed text message templates, which lacks flexibility and scalability, cannot adapt to complex and changeable flight guarantee needs, and cannot automatically obtain and fill service-related attribute values, resulting in efficiency. Low and inaccurate information transmission.

Method used

By obtaining the task to be triggered and determining the target task type, filtering and configuring the task description phrase template, parsing and filling the task object attribute values, generating dynamic task description statements, and sending them to the task executor, realizing automated message editing and sending.

Benefits of technology

It improves the efficiency of task trigger message editing and sending, ensures the accuracy of task information, adapts to complex and changeable flight guarantee needs, and improves the overall flight guarantee efficiency and safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119227663A_ABST
    Figure CN119227663A_ABST
Patent Text Reader

Abstract

The invention provides a task triggering method and device, electronic equipment and a storage medium. A to-be-triggered task is obtained, and a corresponding target task type is determined; target task description phrase templates corresponding to the target task types are screened, target task description phrases corresponding to the target task description phrase templates are determined, and task description statements corresponding to all the task types are pre-configured in the task description phrase templates; inserting a first placeholder corresponding to the task object attribute into the task description statement; analyzing a target task object attribute corresponding to a first target placeholder in the target task description phrase, and obtaining a target object attribute value corresponding to the target task object attribute; and filling the target object attribute value into the first target placeholder to generate a target task description statement, and sending the target task description statement to a task executor. Complex and changeable flight guarantee requirements can be met, the task trigger message editing and sending efficiency is improved, and the accuracy of task information is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of business management, and in particular to a task triggering method, device, electronic device and storage medium. Background Art

[0002] In the flight support business, coordination of various support links usually needs to be achieved by sending specific messages or phrases. Traditional message editing methods mainly rely on text input boxes or rich text editors. Although these methods are simple and direct, and provide editing functions such as fonts, colors, and pictures, their limitations are revealed when editing for complex business scenarios such as flight support messages.

[0003] Existing implementation solutions are usually based on fixed text message templates. Although this approach can simplify the message editing process to a certain extent, its flexibility and scalability are obviously insufficient. Fixed templates cannot adapt to the complex and changing needs of the flight support process. For example, different flights may require different message content, and different support links may also have different operation requirements.

[0004] In addition, existing solutions cannot automatically obtain and fill in business-related attribute values ​​(such as flight number, boarding gate, etc.) when sending messages. These key data need to be manually entered every time a message is edited and sent. This is not only inefficient, but also prone to human errors, resulting in inaccurate transmission of security information, thus affecting the overall efficiency and safety of flight security. Summary of the invention

[0005] The embodiments of the present application at least provide a task triggering method, device, electronic device and storage medium, which can adapt to the complex and changeable flight support needs, improve the efficiency of editing and sending task trigger messages, and ensure the accuracy of task information.

[0006] The present application provides a task triggering method, including: Get the task to be triggered and determine the corresponding target task type; Screening a target task description phrase template corresponding to the target task type, and determining a target task description phrase corresponding to the target task description phrase template, wherein the task description phrase template is pre-configured with a task description sentence corresponding to each task type, and a first placeholder corresponding to a task object attribute is inserted into the task description sentence; Parsing the target task object attribute corresponding to the first target placeholder in the target task description phrase, and obtaining the target object attribute value corresponding to the target task object attribute; The target object attribute value is filled into the first target placeholder, a target task description statement is generated, and the target task description statement is sent to the task executor.

[0007] In an optional implementation, the task description phrase template is constructed based on the following steps: In response to the task description phrase configuration operation, acquiring the task description phrase configured by the task triggering party and the task type corresponding to the task description phrase; In response to the first placeholder insertion operation, insert the first placeholder into the task description phrase, and determine the task object attribute configured for the first placeholder by the task triggering party; The task description phrase template corresponding to the task type is generated according to the task description phrase, the first placeholder and the corresponding task object attribute.

[0008] In an optional implementation manner, after filling the target object attribute value into the first target placeholder, generating a target task description statement, and sending the target task description statement to the task executor, the method further includes: Filtering a target task reply phrase template corresponding to the target task type, and determining a target task reply phrase corresponding to the target task reply phrase template, wherein the task reply phrase template is pre-configured with a task reply statement corresponding to each task type, and a second placeholder corresponding to the task execution attribute is inserted into the task reply statement; Parsing the target task execution attribute corresponding to the second target placeholder in the target task reply phrase, and obtaining the target execution attribute value corresponding to the target task execution attribute; The target execution attribute value is filled into the second target placeholder, a target task execution statement is generated, and the target task execution statement is sent to the task triggering party.

[0009] In an optional implementation, the task reply phrase template is constructed based on the following steps: In response to the task reply phrase configuration operation, acquiring the task reply phrase configured by the task triggering party and the task type corresponding to the task reply phrase; In response to the second placeholder insertion operation, inserting the second placeholder into the task description phrase, and determining the task execution attribute configured by the task executor for the second placeholder; The task reply phrase template corresponding to the task type is generated according to the task reply phrase, the second placeholder and the corresponding task execution attribute.

[0010] In an optional implementation manner, obtaining a target execution attribute value corresponding to the target task execution attribute specifically includes: Parsing the second target placeholder to determine whether a preset default value is set in the second target placeholder; If yes, then determining the preset default value as the target execution attribute value; If not, parsing the preset input type corresponding to the second target placeholder, and converting the second target placeholder into a target control of the preset input type; In response to a data input operation performed by the task executor through the target control, the target execution attribute value input by the task executor is obtained.

[0011] In an optional implementation manner, before generating the task reply phrase template corresponding to the task type according to the task reply phrase, the second placeholder and the corresponding task execution attribute, the method further includes: Parsing the second target placeholder to determine a data filling attribute corresponding to the second target placeholder, wherein the data filling attribute includes mandatory and non-mandatory; When the data filling attribute is required, checking whether the target execution attribute value is a null value; If so, the second target placeholder is converted into a data reporting window including the target control to prompt the task executor to input the target execution attribute value.

[0012] In an optional implementation, the preset input type includes at least a free text input box and a drop-down list.

[0013] The embodiment of the present application also provides a task triggering device, including: The acquisition module is used to obtain the tasks to be triggered and determine the corresponding target task types; A task description phrase screening module is used to screen the target task description phrase template corresponding to the target task type, and determine the target task description phrase corresponding to the target task description phrase template, wherein the task description phrase template is pre-configured with a task description sentence corresponding to each task type, and a first placeholder corresponding to the task object attribute is inserted into the task description sentence; An attribute value determination module, used for parsing the target task object attribute corresponding to the first target placeholder in the target task description phrase, and obtaining the target object attribute value corresponding to the target task object attribute; A placeholder filling module is used to fill the target object attribute value into the first target placeholder, generate a target task description statement, and send the target task description statement to the task executor.

[0014] An embodiment of the present application also provides an electronic device, including: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate through the bus, and when the machine-readable instructions are executed by the processor, the above-mentioned task triggering method or steps in any possible implementation of the above-mentioned task triggering method are performed.

[0015] An embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the computer program executes the above-mentioned task triggering method, or the steps in any possible implementation of the above-mentioned task triggering method.

[0016] An embodiment of the present application also provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements the above-mentioned task triggering method, or the steps in any possible implementation of the above-mentioned task triggering method.

[0017] The embodiment of the present application provides a task triggering method, device, electronic device and storage medium, which obtains the task to be triggered and determines the corresponding target task type; screens the target task description phrase template corresponding to the target task type, and determines the target task description phrase corresponding to the target task description phrase template, wherein the task description phrase template is pre-configured with a task description statement corresponding to each task type, and a first placeholder corresponding to the task object attribute is inserted into the task description statement; parses the target task object attribute corresponding to the first target placeholder in the target task description phrase, and obtains the target object attribute value corresponding to the target task object attribute; fills the target object attribute value into the first target placeholder, generates a target task description statement, and sends the target task description statement to the task executor. It can adapt to the complex and changeable flight support needs, improve the efficiency of editing and sending task trigger messages, and ensure the accuracy of task information.

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

[0019] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments. The drawings herein are incorporated into the specification and constitute a part of the specification. These drawings illustrate embodiments consistent with the present application and are used together with the specification to illustrate the technical solutions of the present application. It should be understood that the following drawings only illustrate certain embodiments of the present application and should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can also be obtained based on these drawings without creative work.

[0020] Figure 1 A flowchart of a task triggering method provided in an embodiment of the present application is shown; Figure 2 A flowchart showing a task triggering corresponding reply method provided in an embodiment of the present application is shown; Figure 3 A schematic diagram of a task triggering device provided in an embodiment of the present application is shown; Figure 4 A schematic diagram of an electronic device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION

[0021] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.

[0022] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.

[0023] The term "and / or" herein only describes an association relationship, indicating that three relationships may exist. For example, A and / or B may represent the following three situations: A exists alone, A and B exist at the same time, and B exists alone. In addition, the term "at least one" herein represents any combination of at least two of any one or more of a plurality of. For example, including at least one of A, B, and C may represent including any one or more elements selected from the set consisting of A, B, and C.

[0024] After research, it was found that the existing implementation solutions are usually based on fixed text message templates. Although this method can simplify the message editing process to a certain extent, its flexibility and scalability are obviously insufficient. Fixed templates cannot adapt to the complex and changing needs in the flight support process. For example, different flights may require different message contents, and different support links may also have different operation requirements. In addition, the existing solutions cannot automatically obtain and fill in business-related attribute values ​​(such as flight number, boarding gate, etc.) when sending messages. Each time you edit and send a message, you need to manually enter these key data. This is not only inefficient, but also prone to human errors, resulting in inaccurate transmission of support information, thereby affecting the overall flight support efficiency and safety.

[0025] Based on the above research, the present application provides a task triggering method, device, electronic device and storage medium, which obtains the task to be triggered and determines the corresponding target task type; screens the target task description phrase template corresponding to the target task type, and determines the target task description phrase corresponding to the target task description phrase template, wherein the task description phrase template is pre-configured with a task description statement corresponding to each task type, and inserts a first placeholder corresponding to the task object attribute in the task description statement; parses the target task object attribute corresponding to the first target placeholder in the target task description phrase, and obtains the target object attribute value corresponding to the target task object attribute; fills the target object attribute value into the first target placeholder, generates a target task description statement, and sends the target task description statement to the task executor. It can adapt to the complex and changeable flight support needs, improve the efficiency of editing and sending task trigger messages, and ensure the accuracy of task information.

[0026] To facilitate understanding of this embodiment, a task triggering method disclosed in the embodiment of the present application is first introduced in detail. The execution subject of the task triggering method provided in the embodiment of the present application is generally a computer device with certain computing capabilities, and the computer device includes, for example: a terminal device or a server or other processing device. The terminal device can be a user equipment (User Equipment, UE), a mobile device, a user terminal, a terminal, a cellular phone, a cordless phone, a personal digital assistant (Personal Digital Assistant, PDA), a handheld device, a computing device, a vehicle-mounted device, a wearable device, etc. In some possible implementations, the task triggering method can be implemented by a processor calling a computer-readable instruction stored in a memory.

[0027] See also Figure 1 FIG. 1 is a flowchart of a task triggering method provided in an embodiment of the present application, wherein the method includes steps S101 to S104, wherein: S101: Obtain a task to be triggered and determine the corresponding target task type.

[0028] In the specific implementation, the to-be-triggered tasks that need to be executed are first determined in the flight support business process, and their types are determined according to the specific content of the tasks. The to-be-triggered tasks can be flight support tasks, which can be divided into multiple types, each of which corresponds to a specific support link, such as boarding notification tasks, baggage handling tasks, passenger information notification tasks, aircraft maintenance tasks, cabin service tasks, etc.

[0029] Here, the status and progress of the flight can be monitored in real time through communication with the flight management system, ground service system and other related business systems, and based on pre-defined rules and conditions, it can be detected whether there are any triggered tasks that need to be executed immediately.

[0030] For example, monitor the take-off and landing time of the flight, the progress of boarding and disembarking, the status of baggage handling, maintenance requirements, etc. If it is detected that the flight is about to take off, the to-be-triggered task can be to issue a boarding notice; if it is detected that the flight has landed, the to-be-triggered task can be to arrange baggage unloading and transportation tasks.

[0031] It should be noted that the tasks to be triggered may also be determined by flight support staff according to flight operation conditions. For example, the tasks to be triggered may be the need to adjust passengers due to a seat entertainment system failure.

[0032] It should be further explained that the target task type is the task type corresponding to the task to be triggered, which may include a variety of different task types in actual applications, and the target task type is the task type corresponding to the task to be triggered among all task types.

[0033] S102. Filter the target task description phrase template corresponding to the target task type, and determine the target task description phrase corresponding to the target task description phrase template, wherein the task description phrase template is pre-configured with a task description statement corresponding to each task type, and a first placeholder corresponding to the task object attribute is inserted into the task description statement.

[0034] In the specific implementation, a predefined task description phrase template library is maintained, each task description phrase template corresponds to a specific task type and contains standardized task description phrases. These templates can be customized according to different task requirements and scenarios. When the target task type of the task to be triggered is identified and determined, the target task description phrase template matching the task type is searched in the template library.

[0035] Here, the task object attributes are the attribute information of the entity objects involved in the task execution process.

[0036] For example, if the type of task to be triggered is "boarding notification task", the target task description phrase template corresponding to the boarding notification task is filtered out, and the corresponding target task description phrase can be: "notify flight passengers to go to the boarding gate for boarding". The target task object attributes can be "flight number", "boarding time" and "boarding gate".

[0037] Among them, the task description statement in the task description phrase template already contains information related to the task to be triggered, and uses the first placeholder to represent the data that needs to be dynamically filled. Each task description phrase template contains one or more first placeholders, which are used to insert specific attribute values ​​of the task.

[0038] It should be noted that there can be multiple task description phrase templates, corresponding to multiple different task types. The target task description phrase template is a description phrase template corresponding to the target task type in multiple task description phrase templates. Correspondingly, each task description phrase template includes a first placeholder corresponding to the task object attribute inserted in the task description statement, and the first target placeholder mentioned in this embodiment is the first placeholder corresponding to the target task object attribute inserted in the target task description phrase corresponding to the target task description phrase template. Similarly, the target task object attribute is the task object attribute corresponding to the target task description phrase in the target task description phrase template corresponding to the target task type.

[0039] Specifically, the task description phrase template can be constructed based on the following steps A1 to A3: Step A1: In response to a task description phrase configuration operation, the task description phrase configured by the task triggering party and the task type corresponding to the task description phrase are obtained.

[0040] Step A2: In response to the first placeholder insertion operation, insert the first placeholder into the task description phrase, and determine the task object attribute configured for the first placeholder by the task triggering party.

[0041] Step A3: Generate the task description phrase template corresponding to the task type according to the task description phrase, the first placeholder and the corresponding task object attribute.

[0042] In the specific implementation, a phrase template configuration component is first created. The component implements the phrase configuration function based on the editable div. The task triggering party can create, edit and save the task description phrase template through the component.

[0043] Here, the task triggering party can enter the editable state of the phrase template configuration component by clicking or other triggering methods, enter free text to create standard phrase content to perform task description phrase configuration operations, and select or specify the task type corresponding to the task description phrase. The task description phrases and corresponding task types entered by the user are recorded and stored in the task description template library to ensure that each task description phrase is associated with its corresponding task type for subsequent operations.

[0044] For example, the task triggering party can enter "The flight will be boarding, please go to board as soon as possible" as the task description statement for the boarding notification task in the configuration interface.

[0045] The task triggering party may create a number of first placeholders at appropriate positions of the task description phrase through a specific button (such as a tab button) in the configuration interface, and configure corresponding task object attributes for each first placeholder.

[0046] For example, the task triggering party can insert the first placeholders of "{flight number}", "{boarding time}" and "{boarding gate}" into the task description statement "The flight will board at {boarding time}, please go to board as soon as possible", and configure the flight number attribute for the first placeholder of "{flight number}", the boarding time attribute for the first placeholder of "{boarding time}", and the boarding gate attribute for the first placeholder of "{boarding gate}". The final task description statement can be "Flight {flight number} will board at {boarding gate} at {boarding time}, please go to board as soon as possible".

[0047] It should be noted that the task triggerer can select the default value of the placeholder, the input type (such as free text box, drop-down list, etc.), and set whether it is a required item.

[0048] Here, the phrase template configuration component parses the first placeholder and its attributes configured by the user, binds this information to the first placeholder, and ensures that the task object attributes corresponding to each first placeholder are correctly configured and recorded for use in generating the task description phrase template.

[0049] Furthermore, the phrase template configuration component integrates the user-configured task description phrase, the first placeholder and its corresponding task object attributes to generate a complete task description phrase template, which includes a fixed task description phrase and a variable first placeholder part to ensure that specific attribute values ​​can be filled in according to the first placeholder during actual task execution, and the generated task description phrase template is stored in the template library and classified and managed by task type.

[0050] As a possible implementation, the structure of the placeholder may include: the keywordtype attribute is used to convert the control type, the value attribute is used as the default value of the above control, the isneed attribute is used to check whether the control is non-empty when sending a phrase, the isphrase attribute is used to pass parameters to the interface to trigger the task, and the item attribute assigns the current value of the control to the trigger task reporting item to realize automatic data reporting.

[0051] S103: parsing the target task object attribute corresponding to the first target placeholder in the target task description phrase, and obtaining the target object attribute value corresponding to the target task object attribute.

[0052] In a specific implementation, after the target task description phrase is acquired, all first target placeholders included therein are identified, and the target task object attribute corresponding to each first target placeholder is determined.

[0053] Here, the target task description phrase is scanned, all the first target placeholders therein are identified, and the target task object attributes bound thereto are parsed.

[0054] For example, in the target task description phrase "Flight {flight number} will board at {boarding time} from {boarding gate}, please go to board as soon as possible", the first target placeholders "{flight number}", "{boarding time}" and "{boarding gate}" are identified. The first target placeholder "{flight number}" is bound to the flight number attribute, the first target placeholder "{boarding time}" is bound to the boarding time attribute, and the first target placeholder "{boarding gate}" is bound to the boarding gate attribute.

[0055] Furthermore, after parsing the first target placeholder and the target task object attributes, it is necessary to obtain specific values ​​corresponding to these attributes, which usually come from data in the business system or user input.

[0056] Here, through integration with the flight management system and other business systems, the task object attribute value corresponding to each first target placeholder can be automatically obtained.

[0057] For example, for the first target placeholder "{flight number}", the specific flight number "CAXXXX" can be extracted from the flight management system as the target object attribute value; for the first target placeholder "{boarding gate}", the boarding gate information "A12" can be obtained from the boarding gate management system as the target object attribute value; for the first target placeholder "{boarding time}", the boarding time "12:30" can be obtained from the time management system as the target object attribute value.

[0058] S104: Fill the first target placeholder with the target object attribute value, generate a target task description statement, and send the target task description statement to the task executor.

[0059] In a specific implementation, the first placeholder in the target task description phrase needs to be filled with the actual task object attribute value to generate a specific target task description statement.

[0060] Here, all first target placeholders in the target task description phrase are traversed, and the corresponding target object attribute values ​​are filled into the first target placeholders. After the filling is completed, a complete task description statement is generated and sent to the task executor.

[0061] For example, the target task description statement may be "Flight CAXXXX will board from A12 at 12:30. Passengers are requested to board as soon as possible."

[0062] Optionally, encapsulate the target task description statement into a message and send it through the selected sending channel. During the sending process, record the sending status and results to ensure that the message is successfully delivered to the task executor.

[0063] As a possible implementation, after the message is sent successfully, you can request confirmation or feedback from the task executor, see Figure 2 As shown, it is a flowchart of a task trigger corresponding reply method provided in an embodiment of the present application, the method includes steps S201 to S203, wherein: S201. Filter the target task reply phrase template corresponding to the target task type, and determine the target task reply phrase corresponding to the target task reply phrase template, wherein the task reply phrase template is pre-configured with a task reply statement corresponding to each task type, and a second placeholder corresponding to the task execution attribute is inserted into the task reply statement.

[0064] S202: parsing the target task execution attribute corresponding to the second target placeholder in the target task reply phrase, and obtaining a target execution attribute value corresponding to the target task execution attribute.

[0065] S203: Fill the target execution attribute value into the second target placeholder, generate a target task execution statement, and send the target task execution statement to the task triggering party.

[0066] In the specific implementation, the task executor needs to reply to the task triggering party and provide the specific task execution status. After receiving the task description statement, the task executor needs to select an appropriate reply phrase template according to the task type.

[0067] Specifically, the specific target task type is determined based on the received target task description statement. For example, the task type may be "maintenance guidance", "passenger boarding", etc., and according to the task type, the corresponding template is filtered out from the pre-configured task reply phrase template. For example, for the "maintenance guidance" task type, the reply phrase template containing the content such as "maintenance arrival time" and "equipment inspection completion" is filtered out, and the specific target task reply phrase is determined from the filtered templates, for example, "the maintenance is in place and the equipment inspection is expected to be completed."

[0068] Here, the target task reply phrase is scanned to identify all the second target placeholders therein. These second target placeholders usually exist in a specific tag form, such as "{in place time}", and the target task execution attribute bound to the second target placeholder is parsed. For example, the second target placeholder "{in place time}" is bound to the target task execution attribute of the maintenance in place time.

[0069] It should be noted that there can be multiple task reply phrase templates, corresponding to multiple different task types. The target task reply phrase template is the reply phrase template corresponding to the target task type in the multiple task reply phrase templates. Correspondingly, each task reply phrase template includes a second placeholder corresponding to the task execution attribute inserted in the task reply statement, and the second target placeholder mentioned in this embodiment is the third placeholder corresponding to the target task execution attribute inserted in the target task reply statement corresponding to the target task reply phrase template. Similarly, the target task execution attribute is the task execution attribute corresponding to the target task recovery phrase in the target task reply phrase template corresponding to the target task type.

[0070] Here, the task execution attribute is the attribute information corresponding to the execution node during the execution of the task and related to the execution result of completing the execution node. For example, in the task reply phrase "The maintenance staff is in place and the equipment inspection is expected to be completed at {arrival time}", "arrival time" is the execution attribute information corresponding to the execution of the "Complete equipment inspection" task node.

[0071] Among them, after parsing the second target placeholder and the target task execution attribute, it is necessary to obtain the specific target execution attribute value corresponding to the target task execution attribute, and after obtaining the target execution attribute values ​​corresponding to all second target placeholders, fill these target execution attribute values ​​into the placeholder to generate a complete task execution statement.

[0072] Specifically, obtaining the target execution attribute value corresponding to the target task execution attribute can be achieved in the following manner: parsing the second target placeholder to determine whether a preset default value is set in the second target placeholder; if so, determining the preset default value as the target execution attribute value; if not, parsing the preset input type corresponding to the second target placeholder, and converting the second target placeholder into a target control of the preset input type; in response to the data input operation performed by the task executor through the target control, obtaining the target execution attribute value input by the task executor.

[0073] Here, when parsing the second target placeholder in the task reply phrase, you first need to check whether the preset default value is set for each second target placeholder, and parse them one by one. For example, in the task reply phrase "The maintenance personnel are in place and are expected to complete the equipment inspection at {time of arrival}", identify the "{time of arrival}" second target placeholder.

[0074] After that, check the properties of the second target placeholder to determine whether a preset default value is set for the second target placeholder. For example, check whether the second target placeholder "{time in place}" is pre-configured with a default time in place, such as "14:00". If the second target placeholder is set with a preset default value, the default value is directly used as the target execution property value. If the second target placeholder is not set with a default value, the system needs to parse the preset input type corresponding to the second target placeholder and convert it into the corresponding input control.

[0075] Here, if the second target placeholder has no default value set, the preset input type is parsed according to the properties of the second target placeholder, and the second target placeholder is converted into a corresponding target input control. The preset input type may be a text box, drop-down list, date selector, etc. For example, the input type of the second target placeholder "{time in place}" may be a time selector, and "{time in place}" is converted into a time selector control.

[0076] Afterwards, the target input control is displayed on the task reply interface, allowing the task executor to input data. For example, a time selector control is displayed for the task executor to input a specific arrival time. The system responds to the task executor's input operation and obtains the specific value of its input. For example, the task executor enters the arrival time "15:00" through the time selector, and the system obtains this value as the target execution attribute value, fills the obtained input value into the second target placeholder, and generates a complete task execution statement.

[0077] Exemplarily, the target task reply phrase: "The maintenance personnel are in place and the equipment inspection is expected to be completed at {in place time}" identifies the placeholder "{in place time}", checks whether "{in place time}" has a preset default value, and if there is a default value of "14:00", determines that the value is the target execution attribute value. If there is no default value, parses its input type (such as time selector), converts the "{in place time}" placeholder to a time selector control, and displays it on the task reply interface. The task executor selects or enters "15:00" through the time selector, obtains the input value "15:00", and determines it as the target execution attribute value. Fill in the target execution attribute value to generate a complete target task execution statement: "The maintenance personnel are in place and the equipment inspection is expected to be completed at 15:00".

[0078] As an optional implementation, a task reply phrase template may be constructed based on the following steps B1 to B3: Step B1: In response to a task reply phrase configuration operation, the task reply phrase configured by the task triggering party and the task type corresponding to the task reply phrase are obtained.

[0079] Step B2: In response to the second placeholder insertion operation, insert the second placeholder into the task description phrase, and determine the task execution attribute configured by the task executor for the second placeholder.

[0080] Step B3: generating the task reply phrase template corresponding to the task type according to the task reply phrase, the second placeholder and the corresponding task execution attribute.

[0081] In the specific implementation, the task triggering party inputs or selects the task reply phrase to be configured through the user interface. For example, "The maintenance personnel are in place and the equipment inspection is expected to be completed." The task triggering party selects the task type corresponding to the phrase, which can be maintenance personnel in place, equipment inspection completed, etc., and then saves the input task reply phrase and the corresponding task type to prepare for subsequent operations.

[0082] Here, the task executor enters the editing state of the task reply phrase by clicking. At the location where the second placeholder needs to be inserted, the task executor can insert the second placeholder in the phrase by clicking a specific button. The second placeholder can use a specific marking form, such as "{second placeholder name}".

[0083] Specifically, a configuration window or interface may pop up, in which the task executor configures the corresponding task execution attributes for the second placeholder. For example, the task execution attributes may be configured for the second placeholder "{arrival time}", its corresponding time attributes may be specified, and the second placeholder and its corresponding task execution attributes may be saved and bound to the task reply phrase.

[0084] Finally, a complete task response phrase template is generated by combining the task response phrase, the inserted second placeholder and its corresponding task execution attributes.

[0085] For example, the task executor enters a task reply phrase: "The maintenance personnel are in place and are expected to complete the equipment inspection", selects the task type as "equipment inspection", inserts the placeholder "{time in place}" in the task reply phrase, and configures the task execution attribute for "{time in place}" to specify it as a time attribute. A task reply phrase template is generated: "The maintenance personnel are in place and are expected to complete the equipment inspection at {time in place}", and the second placeholder "{time in place}" is bound to the time attribute.

[0086] Optionally, the second target placeholder can also be parsed to determine the data filling attributes corresponding to the second target placeholder, wherein the data filling attributes include required and non-required fields; when the data filling attributes are required, check whether the target execution attribute value is an empty value; if so, convert the second target placeholder into a data filling window including the target control to prompt the task executor to enter the target execution attribute value.

[0087] The embodiment of the present application provides a task triggering method, which obtains the task to be triggered and determines the corresponding target task type; screens the target task description phrase template corresponding to the target task type, and determines the target task description phrase corresponding to the target task description phrase template, wherein the task description phrase template is pre-configured with a task description statement corresponding to each task type, and a first placeholder corresponding to the task object attribute is inserted into the task description statement; the target task object attribute corresponding to the first target placeholder in the target task description phrase is parsed, and the target object attribute value corresponding to the target task object attribute is obtained; the target object attribute value is filled into the first target placeholder, a target task description statement is generated, and the target task description statement is sent to the task executor. It can adapt to the complex and changeable flight support needs, improve the efficiency of editing and sending task trigger messages, and ensure the accuracy of task information.

[0088] Those skilled in the art will appreciate that, in the above method of specific implementation, the order in which the steps are written does not imply a strict execution order and does not constitute any limitation on the implementation process. The specific execution order of the steps should be determined by their functions and possible internal logic.

[0089] Based on the same inventive concept, a task triggering device corresponding to the task triggering method is also provided in the embodiment of the present application. Since the principle of solving the problem by the device in the embodiment of the present application is similar to the above-mentioned task triggering method in the embodiment of the present application, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be repeated.

[0090] See also Figure 3 , Figure 3 A schematic diagram of a task triggering device provided in an embodiment of the present application. Figure 3 As shown in , the task triggering device 300 provided in the embodiment of the present application includes: The acquisition module 310 is used to acquire the task to be triggered and determine the corresponding target task type.

[0091] The task description phrase screening module 320 is used to screen the target task description phrase template corresponding to the target task type, and determine the target task description phrase corresponding to the target task description phrase template, wherein the task description phrase template is pre-configured with a task description statement corresponding to each task type, and a first placeholder corresponding to the task object attribute is inserted into the task description statement.

[0092] The attribute value determination module 330 is used to parse the target task object attribute corresponding to the first target placeholder in the target task description phrase, and obtain the target object attribute value corresponding to the target task object attribute.

[0093] The placeholder filling module 340 is used to fill the target object attribute value into the first target placeholder, generate a target task description statement, and send the target task description statement to the task executor.

[0094] For descriptions of the processing flow of each module in the device and the interaction flow between each module, reference may be made to the relevant descriptions in the above method embodiment, which will not be described in detail here.

[0095] The embodiment of the present application provides a task triggering device, which obtains the task to be triggered and determines the corresponding target task type; screens the target task description phrase template corresponding to the target task type, and determines the target task description phrase corresponding to the target task description phrase template, wherein the task description phrase template is pre-configured with a task description statement corresponding to each task type, and a first placeholder corresponding to the task object attribute is inserted into the task description statement; parses the target task object attribute corresponding to the first target placeholder in the target task description phrase, and obtains the target object attribute value corresponding to the target task object attribute; fills the target object attribute value into the first target placeholder, generates a target task description statement, and sends the target task description statement to the task executor. It can adapt to the complex and changeable flight support needs, improve the efficiency of editing and sending task trigger messages, and ensure the accuracy of task information.

[0096] Corresponds to Figure 1 or Figure 2 The task triggering method in the present application also provides an electronic device 400, such as Figure 4FIG. 4 is a schematic diagram of the structure of an electronic device 400 provided in an embodiment of the present application, including: Processor 41, memory 42, and bus 43; memory 42 is used to store execution instructions, including memory 421 and external memory 422; memory 421 here is also called internal memory, which is used to temporarily store operation data in processor 41 and data exchanged with external memory 422 such as hard disk. Processor 41 exchanges data with external memory 422 through memory 421. When the electronic device 400 is running, the processor 41 communicates with the memory 42 through bus 43, so that the processor 41 executes Figure 1 and Figure 2 Steps of the task triggering method in .

[0097] The embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the task triggering method described in the above method embodiment are executed. The storage medium can be a volatile or non-volatile computer-readable storage medium.

[0098] An embodiment of the present application also provides a computer program product, which includes computer instructions. When the computer instructions are executed by a processor, the steps of the task triggering method described in the above method embodiment can be executed. For details, please refer to the above method embodiment, which will not be repeated here.

[0099] The computer program product may be implemented in hardware, software or a combination thereof. In one optional embodiment, the computer program product is implemented as a computer storage medium. In another optional embodiment, the computer program product is implemented as a software product, such as a software development kit (SDK).

[0100] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, the specific working process of the device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here. In the several embodiments provided in the present application, it should be understood that the disclosed device and method can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0101] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0102] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0103] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, and other media that can store program codes.

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

Claims

1. A task triggering method, characterized in that: include: Get the task to be triggered and determine the corresponding target task type; Screening a target task description phrase template corresponding to the target task type, and determining a target task description phrase corresponding to the target task description phrase template, wherein the task description phrase template is pre-configured with a task description sentence corresponding to each task type, and a first placeholder corresponding to a task object attribute is inserted into the task description sentence; Parsing the target task object attribute corresponding to the first target placeholder in the target task description phrase, and obtaining the target object attribute value corresponding to the target task object attribute; The target object attribute value is filled into the first target placeholder, a target task description statement is generated, and the target task description statement is sent to the task executor.

2. The method according to claim 1, characterized in that The task description phrase template is constructed based on the following steps: In response to the task description phrase configuration operation, acquiring the task description phrase configured by the task triggering party and the task type corresponding to the task description phrase; In response to the first placeholder insertion operation, insert the first placeholder into the task description phrase, and determine the task object attribute configured for the first placeholder by the task triggering party; The task description phrase template corresponding to the task type is generated according to the task description phrase, the first placeholder and the corresponding task object attribute.

3. The method according to claim 1, characterized in that After filling the target object attribute value into the first target placeholder, generating a target task description statement, and sending the target task description statement to the task executor, the method further includes: Filtering a target task reply phrase template corresponding to the target task type, and determining a target task reply phrase corresponding to the target task reply phrase template, wherein the task reply phrase template is pre-configured with a task reply statement corresponding to each task type, and a second placeholder corresponding to the task execution attribute is inserted into the task reply statement; Parsing the target task execution attribute corresponding to the second target placeholder in the target task reply phrase, and obtaining the target execution attribute value corresponding to the target task execution attribute; The target execution attribute value is filled into the second target placeholder, a target task execution statement is generated, and the target task execution statement is sent to the task triggering party.

4. The method according to claim 3, characterized in that The task reply phrase template is constructed based on the following steps: In response to the task reply phrase configuration operation, acquiring the task reply phrase configured by the task triggering party and the task type corresponding to the task reply phrase; In response to the second placeholder insertion operation, inserting the second placeholder into the task description phrase, and determining the task execution attribute configured by the task executor for the second placeholder; The task reply phrase template corresponding to the task type is generated according to the task reply phrase, the second placeholder and the corresponding task execution attribute.

5. The method according to claim 3, characterized in that: Obtaining the target execution attribute value corresponding to the target task execution attribute, specifically including: Parsing the second target placeholder to determine whether a preset default value is set in the second target placeholder; If yes, then determining the preset default value as the target execution attribute value; If not, parsing the preset input type corresponding to the second target placeholder, and converting the second target placeholder into a target control of the preset input type; In response to a data input operation performed by the task executor through the target control, the target execution attribute value input by the task executor is obtained.

6. The method according to claim 4, characterized in that Before generating the task reply phrase template corresponding to the task type according to the task reply phrase, the second placeholder and the corresponding task execution attribute, the method further includes: Parsing the second target placeholder to determine a data filling attribute corresponding to the second target placeholder, wherein the data filling attribute includes mandatory and non-mandatory; When the data filling attribute is required, checking whether the target execution attribute value is a null value; If so, the second target placeholder is converted into a data reporting window including the target control to prompt the task executor to input the target execution attribute value.

7. The method according to claim 5, characterized in that: The preset input types include at least a free text input box and a drop-down list.

8. A task triggering device, characterized in that: include: An acquisition module is used to acquire the tasks to be triggered and determine the corresponding target task types; A task description phrase screening module is used to screen the target task description phrase template corresponding to the target task type, and determine the target task description phrase corresponding to the target task description phrase template, wherein the task description phrase template is pre-configured with a task description sentence corresponding to each task type, and a first placeholder corresponding to the task object attribute is inserted into the task description sentence; An attribute value determination module, used for parsing the target task object attribute corresponding to the first target placeholder in the target task description phrase, and obtaining the target object attribute value corresponding to the target task object attribute; A placeholder filling module is used to fill the target object attribute value into the first target placeholder, generate a target task description statement, and send the target task description statement to the task executor.

9. An electronic device, characterized in that: include: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate via the bus, and when the machine-readable instructions are executed by the processor, the steps of the task triggering method as described in any one of claims 1 to 7 are performed.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the task triggering method as described in any one of claims 1 to 7 are executed.

Citation Information

Patent Citations

  • Message processing method and device, computer equipment and storage medium

    CN111967236A

  • Message processing method and device, electronic equipment, system and storage medium

    CN116781653A

  • Template generation method and device, electronic equipment and storage medium

    CN116842926A

  • Data processing method and device and data processing task generation method and device

    CN116955386A

  • Push message generation method and device, equipment, storage medium and program product

    CN118200394A