Service message transmission method and device, storage medium, program product and processor
When the flight information changes, the service message is constructed and mapped based on the changed network reception address, and transmitted through the email address, the problem of the inability to receive messages in the areas not covered by the SITA network is solved, and the effect of expanding the message reception area is achieved.
Patent Information
- Application Number
- CN202411883738.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-19
- Publication Date
- 2025-03-28
AI Technical Summary
In the prior art, airlines are unable to send service messages to areas that are not covered or SITA withdrawn through the SITA network during flight shutdown or passenger check-in, resulting in limited message reception areas.
By responding to changes in flight information, the control of the departure system constructs service messages based on the changed network reception address, and uses the mapping relationship corresponding to the network reception address to map service messages to the target queue. Then, the service message is parsed through the departure message control system, determined its corresponding email address, and transmitted the service message to the email address.
It realizes that service messages can still be received in areas where the SITA network is not covered or withdrawn, expands the message receiving area, and solves the problem of limited message receiving area.
Smart Images

Figure CN119728632A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computers, and in particular to a method, device, storage medium, program product and processor for transmitting a service message. Background Art
[0002] Currently, during the passenger check-in process or after the flight is closed, airlines need to exchange data with organizations such as airports and other airlines. Therefore, the departure system used by the airline is required to send relevant business messages to the above organizations.
[0003] In the related art, the departure system usually uses a communication link (such as a SITA link) to send corresponding business messages to the seven-letter address of an external organization. However, some areas that are not covered by the SITA network, or countries or regions where SITA has withdrawn its deployment for some reason, cannot receive these messages, resulting in a technical problem of limited message receiving areas.
[0004] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0005] The embodiments of the present invention provide a method, device, storage medium, program product and processor for transmitting a service message, so as to at least solve the technical problem of limited message receiving area.
[0006] According to one aspect of an embodiment of the present application, a method for transmitting a business message is provided, which may include: in response to a change in flight information, controlling a departure system to construct a business message based on a network receiving address of the changed flight information; mapping the business message to a target queue using a mapping relationship corresponding to the network receiving address, wherein the mapping relationship is used to characterize the correspondence between the network receiving address and the target queue; controlling a departure message control system to parse the business message in the target queue to obtain a parsing result; determining an email address corresponding to the business message based on the parsing result; and transmitting the business message to the email address.
[0007] Optionally, in response to a change in flight information, controlling the construction of a business message based on a change in a network receiving address includes: in response to a change in flight information, determining a network receiving address based on an airport address table; based on the flight information and the network receiving address, controlling the departure system to construct a business message of a target type; the method also includes: transmitting the business message of the target type to a message bus interface.
[0008] Optionally, the business message is mapped to the target queue using the mapping relationship corresponding to the network receiving address, including: controlling the message bus interface, parsing the message header of the business message, and obtaining the network receiving address in the business message; in response to the network receiving address belonging to a preset address set, mapping the business message to the target queue according to the mapping relationship.
[0009] Optionally, controlling the departure message control system to parse the business message in the target queue to obtain a parsing result includes: in response to the departure routing function system monitoring the business message in the target queue, controlling the departure routing function to transmit the business message to the queue corresponding to the departure message control system; controlling the departure message control system to parse the queue corresponding to the departure message control system to obtain a parsing result.
[0010] Optionally, based on the parsing result, determining the email address corresponding to the business message includes: retrieving a preset matching rule, wherein the preset matching rule is used to characterize the association between the parsing result and the email address; and determining the email address corresponding to the parsing result using the preset matching rule.
[0011] Optionally, transmitting the business message to the email address includes: converting the business message into an email to be sent; and controlling the email proxy server to transmit the email to be sent to the email address.
[0012] According to another aspect of an embodiment of the present application, a device for transmitting a business message is also provided, which may include: a first control unit, for controlling the departure system to construct a business message based on the network receiving address of the changed flight information in response to a change in flight information; a second control unit, for mapping the business message to a target queue using a mapping relationship corresponding to the network receiving address, wherein the mapping relationship is used to characterize the correspondence between the network receiving address and the target queue; a third control unit, for controlling the departure message control system to parse the business message in the target queue to obtain a parsing result; a determination unit, for determining the email address corresponding to the business message based on the parsing result; and a transmission unit, for transmitting the business message to the email address.
[0013] According to another aspect of an embodiment of the present application, a computer-readable storage medium is also provided, which includes a stored program, wherein when the program is running, the device where the computer-readable storage medium is located is controlled to execute the method for transmitting the business message of the embodiment of the present application.
[0014] According to another aspect of an embodiment of the present application, a processor is further provided, the processor being used to run a program, wherein the program, when run by the processor, executes the method for transmitting a service message of an embodiment of the present application.
[0015] According to another aspect of an embodiment of the present application, a computer program product is further provided, the computer program product comprising computer instructions, wherein the computer instructions, when executed by a processor, implement the method for transmitting the service message of the embodiment of the present application.
[0016] In an embodiment of the present application, in response to a change in flight information, the departure system is controlled to construct a service message based on the network receiving address of the changed flight information; the service message is mapped to the target queue using the mapping relationship corresponding to the network receiving address, wherein the mapping relationship is used to characterize the corresponding relationship between the network receiving address and the target queue; the departure message control system is controlled to parse the service message in the target queue to obtain a parsing result; based on the parsing result, the email address corresponding to the service message is determined; and the service message is transmitted to the email address. That is, in an embodiment of the present application, when the flight information changes, a service message is constructed based on the network interface address for receiving the flight information, and based on the mapping relationship, the service message can be mapped to the target queue, and the target queue can be transmitted to the departure message control system, and the departure message control system parses the target queue to obtain a parsing result, determines the email address corresponding to the parsing structure, and transmits the service message to the email address, thereby ensuring that the service message can be received even in places where the network is not covered, thereby solving the technical problem of limited message receiving area and achieving the technical effect of expanding the message receiving area. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] 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:
[0018] Figure 1 It is a flow chart of a method for transmitting a service message according to an embodiment of the present application;
[0019] Figure 2 It is a schematic diagram of an architecture for sending a business message by email according to an embodiment of the present application;
[0020] Figure 3 This is a flow chart of sending a service message by email according to an embodiment of the present application;
[0021] Figure 4 is a schematic diagram of a transmission device for a service message according to an embodiment of the present application;
[0022] Figure 5 is a structural block diagram of a computer terminal according to an embodiment of the present application;
[0023] Figure 6It is a block diagram of an electronic device according to a method for transmitting a business message according to an embodiment of the present application. DETAILED DESCRIPTION
[0024] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution 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, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0025] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0026] According to an embodiment of the present application, an embodiment of a method for transmitting a business message is provided. The steps shown in the flowchart of the accompanying drawing can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0027] In this embodiment, a method for transmitting a business message is proposed. When the flight information changes, the method can construct a business message based on the network interface address for receiving the flight information. Based on the mapping relationship, the business message can be mapped to the target queue, and the target queue can be transmitted to the departure message control system. The departure message control system parses the target queue to obtain a parsing result, determines the email address corresponding to the parsing structure, and transmits the business message to the email address, thereby solving the technical problem of a limited message receiving area and achieving the technical effect of expanding the message receiving area.
[0028] Figure 1 is a flow chart of a method for transmitting a service message according to an embodiment of the present application, such as Figure 1 As shown, the method may include the following steps:
[0029] Step S102, in response to a change in flight information, controlling the departure system to construct a service message based on a network receiving address of the changed flight information.
[0030] In the technical solution provided in the above step S102 of the present application, the above flight information may include information such as the passenger list, luggage status, flight status, etc. during the passenger check-in process. The above departure system (Departure Control System, referred to as DCS) may be a large host system that provides check-in services to passengers, and may include functions such as passenger check-in, flight control, loading, and telegram processing. The above network receiving address may be a target address for sending a business message, may be a seven-character address, and may refer to the address of the recipient to which the business message is scheduled to be delivered when sending or routing the business message. The above business message may be used to transmit flight information, may be a non-real-time (TYPE-B) message, may be an electronic document used in the civil aviation industry to exchange flight and passenger information, and may be used to interact with relevant organizations for data after the flight is closed.
[0031] Optionally, for the departure control system (DCS) of the civil aviation industry, the network receiving address may be a seven-character address used in a network (e.g., SITA network), which may be used to identify telegram receiving points of airports, airlines, or other aviation-related organizations around the world. When the departure system needs to send a service message (e.g., a TYPE-B message), the network receiving address may be determined based on the flight information and the recipient information so that the service message can be correctly routed and delivered to the destination.
[0032] Optionally, the concept of the target address in this embodiment is expanded to include not only the SI TA seven-word address, but also a virtual network address set to cope with areas not covered by a network (eg, the SI TA network).
[0033] For example, the seven-character address may be a SITA telegram sending and receiving address, which may be composed of seven letters and numbers, the first three letters may be a three-character code of an airport or city, the fourth and fifth digits may be a department code, and the last two digits may be a company code. The business message may be a telecommunications telegram type, and may be a non-real-time message.
[0034] Optionally, in the field of civil aviation passenger check-in services, multiple TYPE-B business messages need to be sent after the flight is closed. For example, the above-mentioned business messages can be teletype passenger list messages (TPM for short), passenger service information messages (PSM for short), passenger transfer information messages (PTM for short), baggage transfer information messages (BTM for short), etc.
[0035] Optionally, the telex passenger list message may contain a message of detailed information of all passengers on the flight, and may be used to transmit the final passenger list to the destination airport or airline to support boarding, security check, baggage handling and other operations. The passenger service information message may be used to convey various information related to passenger services, including but not limited to reservation confirmation, seat allocation, special service request and other information, and may be used to ensure that airlines and airports can provide appropriate services. The passenger transfer information message may contain information required for the transfer process, such as transfer flight details, passenger luggage information and other service requirements, and may be used to help the transfer airport or airline prepare for pick-up and re-boarding. The baggage transfer information message may be used to process the information of passenger luggage in transfer or connecting flights, and may include the final destination, special markings, number of pieces, etc. of the luggage, to ensure that the luggage can be correctly and timely transferred to the next flight. The above-mentioned business message can be used in civil aviation business to ensure the accurate transmission of passenger information and aircraft information, support the smooth operation of flights and the smooth experience of passengers.
[0036] It should be noted that this is only an example, and there is no specific limitation on the content of flight information, the type of departure system, the type of network receiving address, and the format of the business message.
[0037] Optionally, when flight information (such as passenger list, baggage status, etc.) changes, DCS can determine the business messages that need to be sent and the network receiving address (which can be a SITA seven-character address) to which these business messages should be sent based on the latest flight information. If the destination airport is located in an area not covered by the SITA network, DCS can generate a message sent to a pre-defined virtual seven-character address and determine the email address to send the message through the following steps to complete the transmission of the business message.
[0038] For example, if flight CA997 flies from Beijing Capital International Airport to Vancouver International Airport, and the number of passengers on the flight changes, the DCS can construct a corresponding TPM message. If the SITA network in the area where Vancouver International Airport is located is unstable, the DCS can set the target address to a virtual seven-word address SVOXX1 E (SVO here can represent Moscow Sheremetyevo Airport, but the actual Vancouver Airport code is YVR, which is only used as an example here). Furthermore, based on the network receiving address, a business message can be constructed.
[0039] Step S104: Map the service message to the target queue using the mapping relationship corresponding to the network receiving address, wherein the mapping relationship is used to represent the corresponding relationship between the network receiving address and the target queue.
[0040] In the technical solution provided in the above step S104 of the present application, the above mapping relationship can be a mapping relationship between a seven-character address and a topic queue, which can be used to characterize the corresponding relationship between a network receiving address and a target queue, and can be a pre-set relationship. It should be noted that this is only an example, and the type of mapping relationship is not specifically limited. The above target queue can be a Topic queue, which can be a queue in a microservice message system (Microservice EventServer, MES for short). The above MES can be used to provide services such as message forwarding for applications running on a collaborative R&D platform (e.g., TAP platform), can be an important component in a distributed system, and can be used to solve system decoupling, asynchronous messages, and achieve high performance, high availability, scalability, and eventual consistency architecture.
[0041] Optionally, a topic stores a certain type of message, which can only be sent by producers bound to the topic and received by consumers bound to the topic. Users can define multiple queues with different topics according to their needs. Therefore, based on the mapping relationship between the network receiving address and the target queue, the business message can be mapped to the target queue corresponding to the business message.
[0042] Optionally, DCS can call the message bus interface (Trave l sky Unified Message Bus, referred to as TUMS) service to route business messages. TUMS can map certain specific seven-character addresses into MES Topics, and put TYPE-B business messages sent to these seven-character addresses into the queue, thereby achieving the purpose of mapping business messages to corresponding target queues. Among them, the above-mentioned TUMS can be an internal message bus of TravelSky, which can be used to provide forwarding services for TYPE-B messages, SMS, and message-type data for TravelSky PSS platform software (such as TUMS) and application software, and support message interaction services between PSS platform software and external systems.
[0043] Optionally, TUMS can check whether the target network address of the service message belongs to a predefined set of virtual addresses. If so, TUMS can use the mapping relationship between the address and the Topic queue to forward the service message to the corresponding MES queue.
[0044] For example, TUMS recognizes that the target address SVOXX1 E is a pre-set virtual address, so that the TPM message can be forwarded to the DR_PPSCBM_DR queue according to the mapping rule. DR_PPSCBM_DR can represent a specific queue that the Departure Message Control System (DM) should monitor. It should be noted that the above mapping relationship of the business message is only for example and is not specifically limited here.
[0045] Step S106, controlling the outbound message control system to parse the service message in the target queue to obtain a parsing result.
[0046] In the technical solution provided in step S106 of the present application, the departure message control system can be controlled to parse the service message in the target queue to obtain a parsing result. The parsing result may include information such as the service message type, the target airport and the airline. This is only an example, and the type of the parsing result is not specifically limited.
[0047] Optionally, this embodiment can use the departure message control system to monitor the target queue. When a business message is monitored, the business message can be parsed to obtain the parsing result. Based on the parsing result, key aviation information can be obtained, such as the two-letter code of the airline, the message type, the three-letter code of the target airport, etc. Among them, the above-mentioned departure message control system can be used for the incoming processing of the departure TypeB message of the open platform; it can be used to generate and send the departure TypeB message of the open platform, and can group and send TypeB messages based on the notification of the open departure software; it can be responsible for the data synchronization function between the host DCS, the open departure software and the departure airport local backup system DLB.
[0048] For example, after receiving the TPM message, the DM can parse the TPM message to obtain a parsing result, which can be used to determine the airline type, the message type is TPM, and the three-letter code of the target airport is SVO (actually it should be YVR, SVO is used here as an example of a virtual address). It should be noted that this is only an example, and there is no specific limitation on the content of the parsing result. As long as the data obtained by parsing the business message is obtained, it should be within the scope of protection of this application.
[0049] Optionally, the target queue may be monitored, and the TYPE-B service messages may be forwarded to the message queue of the DM. The DM monitors the queue, obtains and parses the TYPE-B service messages.
[0050] Step S108: Determine the email address corresponding to the business message based on the analysis result.
[0051] In the technical solution provided in the above step S108 of the present application, the email address corresponding to the business message can be determined based on the parsing result. The above email address can be an email address, or a specific email address, or an address pre-configured according to dimensions such as airline, airport, and message type. It should be noted that this is only an example, and there is no specific limitation on the way to construct the email address.
[0052] Optionally, the DM queries the rules in the DC based on the parsed results such as the airline, target airport, and message type to find a specific email address to which the message should be sent.
[0053] For example, DM can query the DC rules and find that when the airline is CA, the target airport is SVO (actually it should be YVR), and the message type is TPM, it should be sent to the email address XXXX@RUSVOAPT.COM.CN (RUSVOAPT is used as an example here).
[0054] Step S110, transmitting the business message to the email address.
[0055] In the technical solution provided in the above step S110 of the present application, the business message can be sent according to the email address.
[0056] Optionally, the DM can use the mail service to send the business message to the email address determined in the above steps. The above steps ensure that even in areas where the SITA network is unavailable, the departure system can send key business messages to the destination via email, meeting the communication needs of airlines, airports and other institutions.
[0057] For example, after determining the email address, you can use DM to construct an email with XXXX@RUSVOAPT.COM.CN as the recipient address, and use the TPM message as the email body, and send it through the TAP email proxy server.
[0058] Currently, during the passenger check-in process or after the flight is closed, airlines need to exchange data with airports, other airlines, other institutions, etc. Therefore, the departure system used by the airlines needs to send relevant business messages to the above organizations.
[0059] In the related art, the departure system usually uses the SITA link to send TYPE-B service messages to the seven-word address of the external organization. However, some areas that are not covered by the SITA network, or countries or regions where SITA has withdrawn from deployment for some reason, cannot receive these messages, so there is a technical problem of limited message receiving area.
[0060] In order to solve the above technical problems, in this embodiment, a system and method for sending TYPE-B messages are proposed. In order to meet the message needs of airlines, airports and other institutions in these areas, the method opens the departure DM software to develop the function of sending TYPE-B messages by email, and converts the messages sent by DCS to some designated SI TA seven-character addresses through the SI TA link into messages sent to the user's designated email address by email, thereby supporting the TYPE-B message needs of users in areas not covered by the SI TA network. In addition, the above system and method for sending TYPE-B messages breaks through the limitations of the SI TA network. As long as there is an Internet area, the message can be sent to the target email address, expanding the way and scope of DCS sending messages, so that areas not covered by the SI TA network can also receive TYPE-B type business messages.
[0061] In this embodiment, Figure 2 is a schematic diagram of an architecture for sending a business message by email according to an embodiment of the present application, such as Figure 2 As shown, the architecture may include: a departure system 201, a departure message control system 202, a microservice message system 203, a departure routing function system 204, a microservice message system 205, a departure core function system 206 and a collaborative R&D platform 207 (e.g., a TAP development platform).
[0062] Optionally, after receiving a request to send a TYPE-B message, the departure system queries the network receiving address corresponding to the business message type specified in the request and constructs a business message. If the network receiving address of the business message is a seven-character address, the departure system can send the constructed business message to the message bus interface. The message bus interface forwards the business message to the Topic queue specified by the microservice message system based on the pre-configured mapping relationship between the seven-character address and the Topic. The departure routing function system monitors the queue, consumes and parses the message to obtain the parsing result. Based on the parsing result, determine the email address corresponding to the message type, airport, and airline pre-defined by the user in the departure core function system that matches the business message type, target airport, and airline. Furthermore, the mail service can be called to send the business message to the email address specified by the user.
[0063] Optionally, the prerequisites for DM to send a TYPE-B message request by email may include: DCS pre-defines the seven-character address; DCS configures the seven-character address according to the airline, airport and message type; TUMS configures the mapping relationship between the seven-character address and the Topic; DM monitors the Topic queue specified by TUMS; DC pre-configures the email addresses corresponding to the airline, airport and message type.
[0064] In this embodiment, DCS predefines virtual seven-character addresses with certain characteristics. These seven-character addresses are not defined in the SITA network and will not be routed through SITA. And the first three characters of these seven-character addresses are the three-character codes of the airports of the target address of the message. TUMS can recognize these virtual seven-character addresses and map them to MES Topic addresses. When receiving business messages with these virtual seven-character addresses as target addresses, the business messages can be forwarded to the Topic queues (that is, target queues) corresponding to these seven-character addresses. DM has the function of sending emails, so that messages can be sent directly to the user-specified email address through the network in the form of emails without routing through SITA. Email addresses can be configured in DC according to dimensions such as airlines, airports, and message types.
[0065] Optionally, DCS can perform a flight closing operation, construct a business message, and request TUMS to send the message to a preset seven-word address. After receiving the message, TUMS identifies whether the message address is within a specific address set range. If so, it sends the message to the specified MES Topic queue. DR monitors the queue and forwards the message to DM through the message bus interface. After receiving the message, DM can parse the message for key information such as airline and airport. Furthermore, DC rules can be matched based on the parsing results to obtain the email address. DM can send emails through the TAP proxy server, thereby completing the conversion of the DCS host's receiving address into an email address for sending.
[0066] Optionally, this embodiment obtains the message constructed by the DCS from the MES message middleware, parses the message and sends an email. The above process may include the joint action of a monitoring module, a parsing module, an addressing module, a sending module, etc. It should be noted that the type of module here is only an example and is not specifically limited here.
[0067] In this embodiment, the departure service message of the DCS host is sent to the user by email without changing the message version and the message content or field. It should be clear that in this embodiment, the TYPE-B service message is mainly sent by email, rather than through the SITA network.
[0068] Through the above steps S102 and S110 of the present application, in response to the change of flight information, the departure system is controlled to construct a business message based on the network receiving address of the changed flight information; the business message is mapped to the target queue using the mapping relationship corresponding to the network receiving address, wherein the mapping relationship is used to characterize the corresponding relationship between the network receiving address and the target queue; the departure message control system is controlled to parse the business message in the target queue to obtain the parsing result; based on the parsing result, the email address corresponding to the business message is determined; and the business message is transmitted to the email address. That is to say, in an embodiment of the present application, when the flight information changes, a business message is constructed based on the network interface address for receiving the flight information, and based on the mapping relationship, the business message can be mapped to the target queue, and the target queue can be transmitted to the departure message control system, and the departure message control system parses the target queue to obtain the parsing result, determines the email address corresponding to the parsing structure, and transmits the business message to the email address, thereby solving the technical problem of limited message receiving area and achieving the technical effect of expanding the message receiving area.
[0069] The above method of this embodiment is further introduced below.
[0070] As an optional implementation, step S102, in response to a change in flight information, controlling based on changing the network receiving address, constructing a business message includes: in response to a change in flight information, determining the network receiving address based on the airport address table; based on the flight information and the network receiving address, controlling the departure system to construct a business message of the target type; the method also includes: transmitting the business message of the target type to the message bus interface.
[0071] In this embodiment, an airport address table can be defined in advance, and the airport address table can be used to represent a database or list of communication addresses of major airports, and can be a collection of communication address information for airlines, airport operators and aviation service providers to record and manage airports around the world. By using the airport address table, various business messages can be sent to the destination airport or the receiving point designated by the airline according to the departure and arrival airports of the flight. Among them, the above-mentioned target type can be a pre-set type, for example, it can be a TYPE-B type. It should be noted that this is only an example, and there is no specific limitation on the target type.
[0072] Optionally, after the flight is closed, the DCS system can construct various TYPE-B service messages according to the flight information, and obtain the seven-character address (i.e., the network receiving address) according to the predefined airport address table. Furthermore, during the process of DM obtaining the TYPE-B service message, the DCS can send the TYPE-B service message to TUMS (DCS system).
[0073] Optionally, when the user closes the flight in the DCS, the flight information changes. In response to the change in flight information, the network receiving address is determined based on the airport address table. Based on the flight information and the network receiving address, the DCS can construct various TYPE-B service messages, and the target addresses of each message obtained can be used as the respective message header structures. After the construction is completed, the TUMS service can be called for routing. For example, the message header target address of the business message can be PEKKICASHAAPCA. It should be noted that this is only an example, and there is no specific restriction on the representation form of the message header target address.
[0074] For example, flight information may include flight number, departure and arrival time, aircraft model, passenger information, baggage information, etc. When the above flight information changes, such as flight delays, aircraft changes, passenger list updates, etc., the departure system can re-evaluate which external organizations need to receive the latest business messages, such as airport operators, airlines, or other flight-related service providers. When the DCS detects changes in flight information, it can query the airport address table and determine which seven-character addresses the TYPE-B message should be sent to based on the latest information of the flight (such as the target airport, airline, etc.). For example, if the original flight information indicates that the message should be sent to SVOXX1 E (a SITA address at Moscow Sheremetyevo International Airport), the change in flight information may require the message to be sent to a new address. The DCS will construct and send a specific type of business message based on the updated flight information and network receiving address. This process may involve constructing TPM (teletype passenger list message), PSM (passenger service message), PTM (passenger transfer message), BTM (baggage transfer message), etc. For example, if a flight delay causes a change in the passenger list, the DCS will construct a new TPM message containing the updated passenger list. Furthermore, the constructed business message can first be transmitted to the message bus interface (TUMS). As a bridge between the departure system and the microservice message system (MES), TUMS can be used to identify the target address of the message and route the message to the correct MES Topic queue based on pre-configured rules. For example, if the seven-word address SVOXX1 E has been mapped to a specific Topic (such as DR_PPSCBM_DR), TUMS will forward the message to that Topic.
[0075] Optionally, through the above steps, the message receiving address can be dynamically adjusted according to the flight information changes, and the updated business message can be efficiently transmitted to the message processing system through the message bus interface, ultimately ensuring that the business message can be accurately and timely delivered to the designated recipient, whether through the SITA network or email.
[0076] As an optional implementation, step S104, using the mapping relationship corresponding to the network receiving address, maps the business message to the target queue, including: controlling the message bus interface, parsing the message header of the business message, and obtaining the network receiving address in the business message; in response to the network receiving address belonging to a preset address set, mapping the business message to the target queue according to the mapping relationship.
[0077] In this embodiment, an address set may be pre-set, and the address set may include seven-word addresses corresponding to different regions, which may be a seven-word address set, and may be used to characterize a pre-defined seven-word address set range. It should be noted that this is only an example, and there is no specific limitation on the method of obtaining the preset address set.
[0078] Optionally, after obtaining the service message, the message bus interface can be used to parse the message header of the service message to obtain the network receiving address in the service message. Determine whether the network receiving address belongs to the preset address set. If the network receiving address belongs to the preset address set, the service message can be mapped to the corresponding target queue based on the network receiving address.
[0079] Optionally, TUMS routing the address of the service message may include the following steps: TUMS parses the message header of each service message to obtain the target seven-word address of the message (that is, the network receiving address). Determine whether the network receiving address belongs to a predefined seven-word address set range. If so, the service message can be placed in the MES Topic queue mapped with the seven-word address according to the predefined mapping relationship between the seven-word address and MESTopic. For example, the seven-word address SVOXX1 E is mapped to the MES Topic queue DR_PPSCBM_DR of DR. TUMS can put all messages with the target address SVOXX1 E into the DR_PPSCBM_DR queue.
[0080] In this embodiment, TUMS and MES are used as message queue middleware to asynchronously send service messages to the designated MES queue to ensure that the messages are sent in order.
[0081] As an optional implementation, step S106, controlling the departure message control system to parse the business message in the target queue to obtain a parsing result, includes: in response to the departure routing function system monitoring the business message in the target queue, controlling the departure routing function to transmit the business message to the queue corresponding to the departure message control system; controlling the departure message control system to parse the queue corresponding to the departure message control system to obtain a parsing result.
[0082] In this embodiment, the target queue is monitored by the departure routing function system. In response to the departure routing function system monitoring the service message, the departure routing function can be controlled to transmit the service message to the queue corresponding to the departure message control system. Further, the departure message control system can be used to parse the queue corresponding to the departure message control system to obtain the parsing result.
[0083] Optionally, for monitoring and forwarding of business messages, the DR system can continuously monitor the MES queue to wait for the arrival of the corresponding TYPE-B type business message. The DR system can forward the received TYPE-B type business message to the MES Topic message queue of the DM. The DM system can continuously monitor the MES queue to wait for the arrival of the corresponding message. When the DM system receives a TYPE-B type business message, it can use the DM system to parse the TYPE-BMessage in the MES Topic message queue to obtain the message content.
[0084] In this embodiment, the DM system can also be used to parse the message and the target address. The DM system can parse the message header of each business message to obtain the target seven-word address of the message, and determine the target receiving airport of the business message according to the first three digits of the seven-word address. For example, if the seven-word address in the message header is SVOXX1 E, then SVO is taken as the target airport of the message. Furthermore, according to the message identification element in the message, information such as the message type, target airline and airport date can be parsed. Among them, the example of the message identification element can be: PSM. It should be noted that this is only for example, and there is no specific limitation on the example of message element identification.
[0085] Optionally, Table 1 is a message type table. As shown in Table 1, the message types include but are not limited to the following:
[0086] Table 1 Message type table
[0087] MsgType Message Type BTM Baggage transfer report PSM Passenger Service Report PTM Passenger transfer report MVT Flight Status Report SOM Seat Reservation COM Flight closure report TPM Telex passenger list
[0088] Optionally, the two-character code of the target airline in the message can be parsed according to the first two digits of the flight element in the business message. For example, the two-character code of the target airline can be: CA.
[0089] Optionally, the service message may be parsed to obtain the terminal date, for example, the terminal date may be parsed according to the flight element in the message: O7DEC. It should be noted that the size of the terminal date here is only for example and is not specifically limited here.
[0090] As an optional implementation, step S108, based on the analysis result, determines the email address corresponding to the business message, including: calling a preset matching rule, wherein the preset matching rule is used to characterize the association between the analysis result and the email address; and using the preset matching rule to determine the email address corresponding to the analysis result.
[0091] In this embodiment, a preset matching rule may be constructed in advance, and the preset matching rule may be a DC rule, which may be used to characterize the association between the parsing result and the email address. It should be noted that no specific limitation is imposed on the method for constructing the preset matching rule.
[0092] Optionally, a matching DC rule may be constructed in advance, based on which a target email address may be obtained, an email may be constructed and sent through a TAP email proxy server.
[0093] Optionally, the DM system may be used to determine the email address according to preset matching rules.
[0094] Optionally, the business message is parsed to obtain a parsing result, which can be used to determine flight information, and may include message type, airline, target airport, terminal departure date, etc. The parsing result is matched with the DC rule to obtain a preset email address (also referred to as a target email address).
[0095] For example, it can be pre-defined in the DC rule: airline = CA, message type = PSM, target airport = SVO, departure date range is before 2099-12-31, then the corresponding email address can be XXXX@RUSVOAPT.COM.CN. Then when DM receives a PSM message from CA airline, if the flight date is 2024-12-31 (before 2099-12-31), DM can determine that the email address is: XXXX@RUSVOAPT.COM.CN. Furthermore, the business message can be transmitted to the email address.
[0096] As an optional implementation, step S110, transmitting the business message to the email address, includes: converting the business message into an email to be sent; controlling the email proxy server to transmit the email to be sent to the email address.
[0097] In this embodiment, the service message can be converted into an email to be sent, for example, the service message can be converted according to a preset format to obtain the email to be sent. Further, the email proxy server can be controlled to transmit the email to be sent to the email address.
[0098] Optionally, the DM system can be used to forward business messages by email. You can pre-configure the mail server address, mail server port, proxy server address, proxy server port, proxy server account information, etc. (for example, the password uses SM4 and MD5 double encryption to ensure system and information security), configure the mail protocol and timeout, enable SSL and TLS authentication, and configure the mail title. Furthermore, send mails according to the obtained mail addresses.
[0099] In this embodiment, multiple email addresses are supported to be configured, and emails can be sent in sequence according to the configuration order of the multiple email addresses.
[0100] Figure 3 is a flow chart of sending a service message by email according to an embodiment of the present application, such as Figure 3 As shown, the method may include the following steps:
[0101] Step S301: DCS constructs a service message.
[0102] In this embodiment, the user can operate the flight closure in the DCS, which can trigger the DCS to automatically send various business messages.
[0103] Step S302: determine the network receiving address according to the business message logic.
[0104] In this embodiment, the DCS constructs various service messages and calculates the target airport of the received message according to the sending rules of each service message. The target seven-word address of each message is obtained according to the airline, target airport, and service message type. Based on the network receiving address, the final service message is constructed. Furthermore, the TUMS service request can be called to route the message address.
[0105] Step S303: TUMS maps the target address of DCS to the target queue.
[0106] In this embodiment, TUMS can obtain the MES Topic queue corresponding to certain specific seven-word addresses according to the mapping relationship between the seven-word address configured in TUMS and the MES Topic, and forward the message to the queue.
[0107] Step S304: DR monitors the target queue and forwards the message to DM.
[0108] In this embodiment, the DR monitors the target queue through the MES and forwards the message to the DM.
[0109] Step S305: DM monitors the MES Topic queue of the DR forwarding message.
[0110] In this embodiment, the DM may monitor the MES Topic queue of the DR forwarding message through the MES to obtain the service message.
[0111] Step S306: DM analyzes the service message to obtain an analysis result.
[0112] In this embodiment, the DM parses the service message, obtains the message type and airline, and determines the target airport according to the first three digits of the seven-character address obtained by the DCS.
[0113] Step S307: determine the email address based on the analysis result.
[0114] In this embodiment, DM matches DC rules according to message type, airline, and target airport to obtain the email address of each message type of the airline at the target airport.
[0115] Step S308: construct an email and transmit it to the email address.
[0116] In this embodiment, DM constructs an email, and uses the email address obtained by matching the DC rule as the recipient of the email; the sender of DM is set to a fixed value of MSGDCS@TRAVELSKY.COM.CN by default; and the original message sent by DCS is sent as the body of the email.
[0117] Optionally, the email is sent to the email address of the above airline at the target airport through the TAP email proxy server.
[0118] In this embodiment, through the above steps, we ensure that the TYPE-B type business message forwarding process between the DCS system and the DR and DM systems is efficient, reliable and scalable. A variety of different TYPE-B types of business messages can be configured according to business needs, and the same business message can be configured with multiple different email addresses to meet the business needs of multiple users for messages. This process architecture is designed to reduce the coupling between systems and improve the maintainability and scalability of the overall system; expand the functions of the DCS host and support overseas customers in areas without SITA network coverage to still receive TYPE-B type business message processing services normally.
[0119] In this embodiment, the problem of being unable to receive messages in areas not covered by the SITA network is solved. The service message is sent to the user by email, and the user can receive the service message and complete the service processing as long as the user has a network. The demand for service message data of flights, passengers and settlement services is guaranteed.
[0120] Optionally, this embodiment can be configured according to the dimensions of airline, airport, and message type, so that each airline can configure different business message types at different airports; and each group of information can be configured with multiple email addresses, so as to meet the message needs of different business entities or organizations in the airline's overseas business.
[0121] In an embodiment of the present application, in response to a change in flight information, the departure control system constructs a business message based on the network receiving address of the changed flight information; the business message is mapped to the target queue using the mapping relationship corresponding to the network receiving address, wherein the mapping relationship is used to characterize the correspondence between the network receiving address and the target queue; the departure message control system is controlled to parse the business message in the target queue to obtain a parsing result; based on the parsing result, the email address corresponding to the business message is determined; and the business message is transmitted to the email address, thereby solving the technical problem of a limited message receiving area and achieving the technical effect of expanding the message receiving area.
[0122] According to an embodiment of the present application, a service message transmission device is also provided. It should be noted that the service message transmission device of this embodiment can be used to execute the service message transmission method of embodiment 1 of the present application.
[0123] Figure 4 Schematic diagram of a transmission device for a service message according to an embodiment of the present application. Figure 4 As shown, the service message transmission device 40 may include: a first control unit 402 , a second control unit 404 , a third control unit 406 , a determination unit 408 and a transmission unit 410 .
[0124] The first control unit 402 is used to control the departure system to construct a service message based on the network receiving address of the changed flight information in response to the change of the flight information.
[0125] The second control unit 404 is used to map the service message to the target queue by using the mapping relationship corresponding to the network receiving address, wherein the mapping relationship is used to represent the corresponding relationship between the network receiving address and the target queue.
[0126] The third control unit 406 is used to control the outbound message control system to parse the service message in the target queue to obtain a parsing result.
[0127] The determination unit 408 is used to determine the email address corresponding to the business message based on the parsing result.
[0128] The transmission unit 410 is used to transmit the service message to the email address.
[0129] The transmission device of the service message of this embodiment controls the departure system to construct a service message based on the network receiving address of the changed flight information through the first control unit in response to the change of flight information; maps the service message to the target queue by using the mapping relationship corresponding to the network receiving address through the second control unit, wherein the mapping relationship is used to characterize the correspondence between the network receiving address and the target queue; controls the departure message control system to parse the service message in the target queue and obtain the parsing result through the third control unit; determines the email address corresponding to the service message based on the parsing result through the determination unit; and transmits the service message to the email address through the transmission unit, thereby solving the technical problem of limited message receiving area and achieving the technical effect of expanding the message receiving area.
[0130] The embodiment of the present application may provide a computer terminal, which may be any computer terminal device in a computer terminal group. Optionally, in this embodiment, the computer terminal may also be replaced by a terminal device such as a mobile terminal.
[0131] Optionally, in this embodiment, the computer terminal may be located in at least one network device among a plurality of network devices of the computer network.
[0132] In this embodiment, the above-mentioned computer terminal can execute the program code of the following steps in the method for transmitting a business message: in response to a change in flight information, control the departure system to construct a business message based on the network receiving address of the changed flight information; use the mapping relationship corresponding to the network receiving address to map the business message to the target queue, wherein the mapping relationship is used to characterize the correspondence between the network receiving address and the target queue; control the departure message control system to parse the business message in the target queue to obtain a parsing result; based on the parsing result, determine the email address corresponding to the business message; and transmit the business message to the email address.
[0133] Optionally, Figure 5 is a structural block diagram of a computer terminal according to an embodiment of the present application, such as Figure 5 As shown, the computer terminal 508 may include: one or more (only one is shown in the figure) processors 502 , a memory 504 and a transmission device 506 .
[0134] Among them, the memory can be used to store software programs and modules, such as the program instructions / modules corresponding to the transmission method and device of the service message in the embodiment of the present application, and the processor executes various functional applications and data processing by running the software programs and modules stored in the memory, that is, realizing the above-mentioned transmission method of the service message. The memory may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory may further include a memory remotely arranged relative to the processor, and these remote memories may be connected to the computer terminal 508 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0135] The processor can call the information and application stored in the memory through the transmission device to perform the following steps: in response to the change of flight information, control the departure system to construct a business message based on the network receiving address of the changed flight information; use the mapping relationship corresponding to the network receiving address to map the business message to the target queue, wherein the mapping relationship is used to characterize the correspondence between the network receiving address and the target queue; control the departure message control system to parse the business message in the target queue to obtain the parsing result; based on the parsing result, determine the email address corresponding to the business message; and transmit the business message to the email address.
[0136] It can be understood by those skilled in the art that Figure 5 The structure shown is for illustration only, and the computer terminal 508 may also be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a PDA, a mobile Internet device (Mobile Internet Devices, referred to as MID), a PAD, or other terminal devices. Figure 5 The structure of the computer terminal 508 is not limited. For example, the computer terminal 508 may also include Figure 5 More or fewer components (such as network interfaces, display devices, etc.) shown in, or having Figure 5 Different configurations shown.
[0137] A person of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing the hardware related to the terminal device through a program, and the program can be stored in a computer-readable storage medium, and the storage medium may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc.
[0138] According to an embodiment of the present application, a computer-readable storage medium is also provided, which includes a stored program, wherein the program executes the method for transmitting the service message in the above embodiment.
[0139] Optionally, in this embodiment, the computer-readable storage medium may be located in any one of the computer terminals in a computer terminal group in a computer network, or in any one of the mobile terminals in a mobile terminal group.
[0140] Optionally, in this embodiment, the computer-readable storage medium is configured to store program codes for executing the following steps: in response to a change in flight information, controlling the departure system to construct a business message based on the network receiving address of the changed flight information; mapping the business message to a target queue using a mapping relationship corresponding to the network receiving address, wherein the mapping relationship is used to characterize the correspondence between the network receiving address and the target queue; controlling the departure message control system to parse the business message in the target queue to obtain a parsing result; determining the email address corresponding to the business message based on the parsing result; and transmitting the business message to the email address.
[0141] Optionally, the computer-readable storage medium may also execute program code for the following steps: in response to a change in flight information, determining a network receiving address based on an airport address table; based on the flight information and the network receiving address, controlling the departure system to construct a business message of a target type; the method further includes: transmitting the business message of the target type to a message bus interface.
[0142] Optionally, the above-mentioned computer-readable storage medium can also execute the program code of the following steps: control the message bus interface, parse the message header of the business message, and obtain the network receiving address in the business message; in response to the network receiving address belonging to a preset address set, map the business message to the target queue according to the mapping relationship.
[0143] Optionally, the computer-readable storage medium may also execute program codes for the following steps: in response to the departure routing function system monitoring the service message in the target queue, controlling the departure routing function to transmit the service message to the queue corresponding to the departure message control system; controlling the departure message control system to parse the queue corresponding to the departure message control system to obtain the parsing result.
[0144] Optionally, the computer-readable storage medium may also execute program code for the following steps: retrieving a preset matching rule, wherein the preset matching rule is used to characterize the association between the parsing result and the email address; and determining the email address corresponding to the parsing result using the preset matching rule.
[0145] Optionally, the business message is converted into an email to be sent; and the email proxy server is controlled to transmit the email to be sent to the email address.
[0146] In this embodiment, when the flight information changes, a business message is constructed based on the network interface address for receiving the flight information, and based on the mapping relationship, the business message can be mapped to the target queue, and the target queue can be transmitted to the departure message control system. The target queue is parsed by the departure message control system to obtain the parsing result, determine the email address corresponding to the parsing structure, and transmit the business message to the email address, thereby solving the technical problem of limited message receiving area and achieving the technical effect of expanding the message receiving area.
[0147] According to an embodiment of the present application, a processor is also provided, which is used to run a program, wherein when the program is run by the processor, the method for transmitting the service message in the above embodiment is executed.
[0148] Optionally, in this embodiment, the computer terminal may be located in at least one network device among a plurality of network devices of the computer network.
[0149] In this embodiment, the above-mentioned computer terminal can execute the program code of the following steps in the method for transmitting a business message: in response to a change in flight information, control the departure system to construct a business message based on the network receiving address of the changed flight information; use the mapping relationship corresponding to the network receiving address to map the business message to the target queue, wherein the mapping relationship is used to characterize the correspondence between the network receiving address and the target queue; control the departure message control system to parse the business message in the target queue to obtain a parsing result; based on the parsing result, determine the email address corresponding to the business message; and transmit the business message to the email address.
[0150] Wherein, the memory can be used to store software programs and modules, such as the program instructions / modules corresponding to the transmission method and device of the service message in the embodiment of the present application, and the processor executes various functional applications and data processing by running the software programs and modules stored in the memory, that is, realizing the above-mentioned transmission method of the service message. The memory may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory may further include a memory remotely arranged relative to the processor, and these remote memories may be connected to the computer terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0151] The processor can call the information and application stored in the memory through the transmission device to perform the following steps: in response to the change of flight information, control the departure system to construct a business message based on the network receiving address of the changed flight information; use the mapping relationship corresponding to the network receiving address to map the business message to the target queue, wherein the mapping relationship is used to characterize the correspondence between the network receiving address and the target queue; control the departure message control system to parse the business message in the target queue to obtain the parsing result; based on the parsing result, determine the email address corresponding to the business message; and transmit the business message to the email address.
[0152] Optionally, the processor may also execute program codes of the following steps: in response to a change in flight information, determining a network receiving address based on an airport address table; based on the flight information and the network receiving address, controlling the departure system to construct a business message of a target type; the method also includes: transmitting the business message of the target type to a message bus interface.
[0153] Optionally, the processor may also execute the following program code steps: control the message bus interface, parse the message header of the business message, and obtain the network receiving address in the business message; in response to the network receiving address belonging to a preset address set, map the business message to the target queue according to the mapping relationship.
[0154] Optionally, the processor may also execute program codes of the following steps: in response to the departure routing function system monitoring the service message in the target queue, controlling the departure routing function to transmit the service message to the queue corresponding to the departure message control system; controlling the departure message control system to parse the queue corresponding to the departure message control system to obtain the parsing result.
[0155] Optionally, the processor may also execute program code of the following steps: calling a preset matching rule, wherein the preset matching rule is used to characterize the association between the parsing result and the email address; and determining the email address corresponding to the parsing result using the preset matching rule.
[0156] Optionally, the processor may also execute program codes of the following steps: converting the business message into an email to be sent; and controlling the email proxy server to transmit the email to be sent to an email address.
[0157] By adopting the embodiment of the present application, when the flight information changes, a business message is constructed based on the network interface address for receiving the flight information, and based on the mapping relationship, the business message can be mapped to the target queue, and the target queue can be transmitted to the departure message control system. The target queue is parsed by the departure message control system to obtain the parsing result, determine the email address corresponding to the parsing structure, and transmit the business message to the email address, thereby solving the technical problem of limited message receiving area and achieving the technical effect of expanding the message receiving area.
[0158] According to an embodiment of the present application, a computer program product is also provided, which includes computer instructions, wherein when the computer instructions are executed by a processor, the method for transmitting the service message in the above embodiment is implemented.
[0159] An embodiment of the present application may provide an electronic device, which may include a memory and a processor.
[0160] Figure 6 It is a block diagram of an electronic device according to a method for transmitting a service message in an embodiment of the present application. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present application described and / or required herein.
[0161] like Figure 6 As shown, the device 600 includes a computing unit 601, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 602 or a computer program loaded from a storage unit 608 to a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the device 600 can also be stored. The computing unit 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0162] A number of components in the device 600 are connected to the I / O interface 605, including: an input unit 606, such as a keyboard, a mouse, etc.; an output unit 607, such as various types of displays, speakers, etc.; a storage unit 608, such as a disk, an optical disk, etc.; and a communication unit 609, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 609 allows the device 600 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0163] The computing unit 601 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 601 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The computing unit 601 performs the various methods and processes described above, such as a verification method for data. For example, in some embodiments, the verification method for data may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 608. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 600 via ROM 602 and / or communication unit 609. When the computer program is loaded into RAM 603 and executed by the computing unit 601, one or more steps of the data verification method described above may be performed. Alternatively, in other embodiments, the computing unit 601 may be configured to perform the data verification method in any other appropriate manner (e.g., by means of firmware).
[0164] According to an embodiment of the present application, a method for transmitting a business message is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0165] Various embodiments of the systems and techniques described above herein may be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on a chip (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include: being implemented in one or more computer programs that are executable and / or interpreted on a programmable system that includes at least one programmable processor that may be a dedicated or general purpose programmable processor that may receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0166] The program code for implementing the method of the present application can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, a special-purpose computer or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code can be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0167] In the context of the present application, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0168] To provide interaction with a user, the systems and techniques described herein may be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or an LCD (liquid crystal display, monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or a path ball) through which the user can provide input to the computer. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0169] The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a Local Area Network (LAN), a Wide Area Network (WAN), and the Internet.
[0170] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.
[0171] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0172] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.
[0173] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of units can be 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 interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0174] 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 over multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0175] 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. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0176] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of each embodiment method of the present application. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
[0177] The above are only preferred implementations of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A method for transmitting a service message, characterized in that: include: In response to a change in flight information, controlling the departure system to construct a service message based on a changed network receiving address of the flight information; Mapping the service message to the target queue by using the mapping relationship corresponding to the network receiving address, wherein the mapping relationship is used to characterize the corresponding relationship between the network receiving address and the target queue; Controlling the outbound message control system to parse the service message in the target queue to obtain a parsing result; Based on the analysis result, determine the email address corresponding to the business message; The business message is transmitted to the email address.
2. The method according to claim 1, characterized in that In response to the flight information changing, the control is based on changing the network receiving address, and constructing the service message includes: In response to a change in the flight information, determining the network receiving address based on an airport address table; Based on the flight information and the network receiving address, control the departure system to construct and obtain the service message of the target type; The method further includes: transmitting the service message of the target type to the message bus interface.
3. The method according to claim 1, characterized in that The mapping the service message to the target queue by using the mapping relationship corresponding to the network receiving address includes: Control the message bus interface to parse the message header of the service message to obtain the network receiving address in the service message; In response to the network receiving address belonging to a preset address set, the service message is mapped to the target queue according to the mapping relationship.
4. The method according to claim 1, characterized in that: The control system for controlling the outbound message parses the service message in the target queue to obtain a parsing result, including: In response to the outbound routing function system monitoring the service message in the target queue, controlling the outbound routing function to transmit the service message to the queue corresponding to the outbound message control system; The outbound message control system is controlled to parse the queue corresponding to the outbound message control system to obtain the parsing result.
5. The method according to claim 1, characterized in that The determining, based on the parsing result, an email address corresponding to the business message includes: Retrieving a preset matching rule, wherein the preset matching rule is used to characterize the association relationship between the parsing result and the email address; The preset matching rule is used to determine the email address corresponding to the parsing result.
6. The method according to claim 1, characterized in that The transmitting the service message to the email address includes: Convert the business message into an email to be sent; Control the mail proxy server to transmit the mail to be sent to the mail address.
7. A transmission device for a service message, characterized in that: include: A first control unit, configured to control the departure system to construct a service message based on a changed network receiving address of the flight information in response to a change in the flight information; A second control unit, configured to map the service message to a target queue by using a mapping relationship corresponding to the network receiving address, wherein the mapping relationship is used to characterize a corresponding relationship between the network receiving address and the target queue; A third control unit is used to control the outbound message control system to parse the service message in the target queue to obtain a parsing result; A determination unit, configured to determine an email address corresponding to the service message based on the parsing result; A transmission unit, used for transmitting the service message to the email address.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the method according to any one of claims 1 to 6.
9. A computer program product, characterized in that The method comprises computer instructions, which, when executed by a processor, implement the method according to any one of claims 1 to 6.
10. A processor, characterized in that: The processor is used to run a program, wherein the program executes the method according to any one of claims 1 to 6 when run by the processor.
Citation Information
Patent Citations
Method, device and system for satellite short data communication between ship and shore
CN102055515A
Service message processing method and device
CN112445868A
Information synchronization change method and device, computer and readable storage medium
CN112738008A
Airport message management method and device, medium and computing equipment
CN117950888A
Consigned luggage processing method and device, computer program product and electronic equipment
CN119130298A