CN114257652A - Request message processing method, device, equipment and readable storage medium - Google Patents

Request message processing method, device, equipment and readable storage medium Download PDF

Info

Publication number
CN114257652A
CN114257652A CN202111507438.5A CN202111507438A CN114257652A CN 114257652 A CN114257652 A CN 114257652A CN 202111507438 A CN202111507438 A CN 202111507438A CN 114257652 A CN114257652 A CN 114257652A
Authority
CN
China
Prior art keywords
processing system
grid
request message
processing
service management
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111507438.5A
Other languages
Chinese (zh)
Other versions
CN114257652B (en
Inventor
李明
马融
李春兰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Citic Bank Corp Ltd
Original Assignee
China Citic Bank Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Citic Bank Corp Ltd filed Critical China Citic Bank Corp Ltd
Priority to CN202111507438.5A priority Critical patent/CN114257652B/en
Publication of CN114257652A publication Critical patent/CN114257652A/en
Application granted granted Critical
Publication of CN114257652B publication Critical patent/CN114257652B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Hardware Redundancy (AREA)

Abstract

The invention provides a method, a device, equipment and a readable storage medium for processing a request message, wherein the method comprises the following steps: acquiring a request message and a dual-grid framework processing system, wherein the dual-grid framework processing system comprises an outer grid processing system and an inner grid processing system; determining a service management scheme corresponding to the request message according to the request message; and obtaining an execution strategy according to the dual-grid framework processing system and the service management scheme, and processing the request message according to the execution strategy and the service management scheme to obtain a request message processing result. According to the invention, an internal grid processing system is added, the internal grid processing system and the application program run in a process, and when the internal grid processing system is used for generating the execution strategy, the execution strategy with higher dimensionality and higher precision can be generated according to the content of the message body of the request message, so that the precision and dimensionality of the request message processing are improved.

Description

Request message processing method, device, equipment and readable storage medium
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a method, an apparatus, a device, and a readable storage medium for processing a request packet.
Background
At present, in the process of processing a request message, there are many problems in the process of generating a corresponding execution strategy, for example, there are problems of low dimensionality and low accuracy of the generated execution strategy.
Disclosure of Invention
The present invention is directed to a method, an apparatus, a device and a readable storage medium for processing a request packet, so as to solve the above problem.
In order to achieve the above object, the embodiments of the present application provide the following technical solutions:
in one aspect, an embodiment of the present application provides a method for processing a request packet, where the method includes:
acquiring a request message and a dual-grid framework processing system, wherein the dual-grid framework processing system comprises an outer grid processing system and an inner grid processing system;
determining a service management scheme corresponding to the request message according to the request message;
and obtaining an execution strategy according to the dual-grid framework processing system and the service management scheme, and processing the request message according to the execution strategy and the service management scheme to obtain a request message processing result.
Optionally, the obtaining an execution policy according to the dual-grid architecture processing system and the service management scheme, and processing the request packet according to the execution policy and the service management scheme to obtain a request packet processing result includes:
acquiring a message header contained in the request message and a public field corresponding to the request message based on the outer grid processing system;
obtaining a first execution strategy according to the message header, the public field and the service management scheme;
and processing the request message according to the first execution strategy and the service management scheme to obtain a request message processing result.
Optionally, the obtaining an execution policy according to the dual-grid architecture processing system and the service management scheme, and processing the request packet according to the execution policy and the service management scheme to obtain a request packet processing result includes:
acquiring a message body contained in the request message based on the internal grid processing system;
obtaining a second execution strategy according to the message body and the service management scheme;
and processing the request message according to the second execution strategy and the service management scheme to obtain a request message processing result.
Optionally, the obtaining an execution policy according to the dual-grid architecture processing system and the service governance scheme includes:
judging whether an external grid processing system in the double-grid-architecture processing system is available, if so, obtaining an execution strategy based on the external grid processing system and the service management scheme; if the request message is not available, forwarding the request message to the inner grid processing system;
acquiring a message header contained in the request message and a public field corresponding to the request message based on the internal grid processing system;
and obtaining an execution strategy according to the message header, the public field and the service management scheme.
Optionally, after forwarding the request packet data to the internal grid processing system and obtaining an execution policy based on the internal grid processing system and the service management scheme, the method further includes:
sending a control command to a worker, wherein the control command comprises a command for the worker to maintain the outer grid processing system;
judging whether the outer grid processing system in the double-grid-architecture processing system is recovered to be normal or not, if the outer grid processing system is recovered to be normal, forwarding the request message which is forwarded to the inner grid processing system from the outer grid processing system and is not processed by the inner grid processing system back to the outer grid processing system;
and obtaining an execution strategy by using the external grid processing system and the service management scheme.
Optionally, the method for building the dual-grid architecture processing system includes:
acquiring a service grid, and taking the service grid as an external grid processing system of the dual-grid architecture processing system, wherein the external grid processing system and an application program are not operated in a process, and the application program is used for processing the request message;
and based on the service grid, adding the internal grid processing system to obtain the double-grid framework processing system, wherein the internal grid processing system and the application program run in a process.
In a second aspect, an embodiment of the present application provides a request packet processing apparatus, where the apparatus includes an obtaining module, a first computing module, and a processing module.
The system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring a request message and a dual-grid framework processing system, and the dual-grid framework processing system comprises an outer grid processing system and an inner grid processing system;
the first calculation module is used for determining a service management scheme corresponding to the request message according to the request message;
and the processing module is used for obtaining an execution strategy according to the dual-grid framework processing system and the service management scheme, and processing the request message according to the execution strategy and the service management scheme to obtain a request message processing result.
Optionally, the processing module includes:
a first obtaining unit, configured to obtain, based on the outer grid processing system, a packet header included in the request packet and a common field corresponding to the request packet;
the first computing unit is used for obtaining a first execution strategy according to the message header, the public field and the service management scheme;
and the first processing unit is used for processing the request message according to the first execution strategy and the service management scheme to obtain a request message processing result.
Optionally, the processing module includes:
a second obtaining unit, configured to obtain, based on the internal grid processing system, a packet body included in the request packet;
the second computing unit is used for obtaining a second execution strategy according to the message body and the service management scheme;
and the second processing unit is used for processing the request message according to the second execution strategy and the service management scheme to obtain a request message processing result.
Optionally, the processing module includes:
a judging unit, configured to judge whether an external grid processing system in the dual-grid-architecture processing system is available, and if the external grid processing system is available, obtain an execution policy based on the external grid processing system and the service management scheme; if the request message is not available, forwarding the request message to the inner grid processing system;
a third obtaining unit, configured to obtain, based on the internal grid processing system, a packet header included in the request packet and a common field corresponding to the request packet;
and the third computing unit is used for obtaining an execution strategy according to the message header, the public field and the service management scheme.
Optionally, the apparatus further includes:
the sending module is used for sending a control command to a worker, wherein the control command comprises a command for the worker to maintain the outer grid processing system;
a judging module, configured to judge whether the outer grid processing system in the dual-grid-architecture processing system returns to normal, and if the outer grid processing system returns to normal, forward the request packet forwarded from the outer grid processing system to the inner grid processing system and forward the request packet that has not been processed by the inner grid processing system back to the outer grid processing system;
and the second computing module is used for obtaining an execution strategy by utilizing the outer grid processing system and the service management scheme.
Optionally, the obtaining module includes:
a fourth obtaining unit, configured to obtain a service grid, where the service grid is used as an external grid processing system of the dual-grid-architecture processing system, where the external grid processing system and an application program are not running in a process, and the application program is used to process the request packet;
and the adding unit is used for adding the internal grid processing system based on the service grid to obtain the double-grid framework processing system, and the internal grid processing system and the application program run in one process.
In a third aspect, an embodiment of the present application provides a request packet processing device, where the device includes a memory and a processor. The memory is used for storing a computer program; the processor is used for realizing the steps of the request message processing method when executing the computer program.
In a fourth aspect, an embodiment of the present application provides a readable storage medium, where a computer program is stored on the readable storage medium, and when the computer program is executed by a processor, the computer program implements the steps of the request message processing method.
The invention has the beneficial effects that:
1. the invention provides an external grid processing system and an internal grid processing system at the same time, when the request message is processed, the corresponding grid processing system can be selected for processing according to the requirements of the user, and the application range and the applicability of the embodiment can be improved through the mode.
2. According to the invention, an internal grid processing system is added, the internal grid processing system and the application program run in a process, and when the internal grid processing system is used for generating the execution strategy, the execution strategy with higher dimensionality and higher precision can be generated according to the content of the message body of the request message, so that the precision and dimensionality of the request message processing are improved.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the embodiments of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is a schematic flow chart of a request message processing method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a request packet processing apparatus according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a request packet processing device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that: like reference numbers or letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined or explained in subsequent figures. Meanwhile, in the description of the present invention, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
Example 1
As shown in fig. 1, the present embodiment provides a request message processing method, which includes step S1, step S2, and step S3.
Step S1, acquiring a request message and a dual-grid framework processing system, wherein the dual-grid framework processing system comprises an outer grid processing system and an inner grid processing system;
step S2, determining a service management scheme corresponding to the request message according to the request message;
step S3, obtaining an execution strategy according to the dual-grid framework processing system and the service management scheme, and processing the request message according to the execution strategy and the service management scheme to obtain a request message processing result.
In this embodiment, the dual-grid-architecture processing system is built based on an existing service grid, and the dual-grid-architecture processing system in this embodiment includes a service grid, that is, an external grid processing system, where the service grid and an application program are not run in a process, and the service grid may generate a corresponding execution policy according to a header of a message and a common field (e.g., an IP address of a request message) corresponding to the request message, but the dimensionality and accuracy of the execution policy are not very high Mobile phone number, etc.) to generate execution strategies with higher dimensionality and higher precision, thereby improving the precision and dimensionality of the request message processing.
In this embodiment, an external grid processing system and an internal grid processing system are provided at the same time, and when a request packet is processed, a corresponding grid processing system can be selected for processing according to the requirements of a user, so that the application range and the applicability of this embodiment can be improved.
Meanwhile, step S2 in the present embodiment is implemented by the conventional technical means.
In a specific embodiment of the present disclosure, the step S3 may further include a step S31, a step S32 and a step S33.
Step S31, acquiring a message header contained in the request message and a public field corresponding to the request message based on the outer grid processing system;
step S32, obtaining a first execution strategy according to the message header, the public field and the service management scheme;
and step S33, processing the request message according to the first execution strategy and the service management scheme to obtain a request message processing result.
In a specific embodiment of the present disclosure, the step S3 may further include a step S34, a step S35 and a step S36.
Step S34, obtaining a message body contained in the request message based on the internal grid processing system;
step S35, obtaining a second execution strategy according to the message body and the service management scheme;
and step S36, processing the request message according to the second execution strategy and the service management scheme to obtain a request message processing result.
In the step S31 to the step S36, the method may further include performing customization according to a user, for example, the user may select the outer grid processing system or the inner grid processing system to process the request packet in a customized manner, and the specific user may further input selection information, where the selection information includes information for selecting the outer grid processing system or the inner grid processing system to process the request packet, and then select the corresponding grid processing system to process according to the selection information, so that the humanization of the method may be embodied.
In a specific embodiment of the present disclosure, the step S3 may further include a step S37, a step S38 and a step S39.
Step S37, judging whether an external grid processing system in the double-grid framework processing system is available, if so, obtaining an execution strategy based on the external grid processing system and the service management scheme; if the request message is not available, forwarding the request message to the inner grid processing system;
step S38, acquiring a message header contained in the request message and a public field corresponding to the request message based on the inner grid processing system;
and step S39, obtaining an execution strategy according to the message header, the public field and the service management scheme.
In this embodiment, if the current external grid processing system cannot be used, the request packet received by the external grid processing system is forwarded to the internal grid processing system, and the internal grid processing system is used to process the request packet.
In this embodiment, when a request packet received by an outer grid processing system is forwarded to an inner grid processing system, a function of the outer grid processing system included in the inner grid processing system is enabled at this time, that is, when the inner grid processing system is initially designed, the inner grid processing system has a first function and a second function, where the first function is a function capable of implementing the outer grid processing system, the second function is a function capable of implementing the inner grid processing system, and when the outer grid processing system is not capable, the function of the outer grid processing system included in the inner grid processing system is enabled, so as to obtain a packet header included in the request packet and a common field corresponding to the request packet.
In addition, in the embodiment, the external grid processing system is designed separately, because the external grid processing system is independent of the application program, it can perform upgrading and function publishing independently, and will not affect the application program.
In a specific embodiment of the present disclosure, the method may further include step S4, step S5, and step S6.
Step S4, sending a control command to a worker, wherein the control command comprises a command for the worker to maintain the outer grid processing system;
step S5, determining whether the outer grid processing system in the dual-grid-architecture processing system is normal, and if the outer grid processing system is normal, forwarding the request packet forwarded from the outer grid processing system to the inner grid processing system and forwarding the request packet not yet processed by the inner grid processing system back to the outer grid processing system;
and step S6, obtaining an execution strategy by using the external grid processing system and the service management scheme.
In this embodiment, through sending control command to the staff, can in time let relevant staff know outer grid system goes wrong, and then in time handle it, guarantee entire system's stability. In addition, in the embodiment, the method for sending the short message or the mail to the related staff can be used for reminding the staff, so that the external grid processing system can be repaired in time.
In a specific embodiment of the present disclosure, the step S1 may further include a step S11 and a step S12.
Step S11, obtaining a service grid, and using the service grid as an external grid processing system of the dual-grid architecture processing system, wherein the external grid processing system and an application program are not operated in a process, and the application program is used for processing the request message;
and step S12, based on the service grid, adding the internal grid processing system to obtain the double-grid structure processing system, wherein the internal grid processing system and the application program run in a process.
Example 2
As shown in fig. 2, the present embodiment provides a request packet processing apparatus, which includes an obtaining module 701, a first calculating module 702, and a processing module 703.
An obtaining module 701, configured to obtain a request packet and a dual-grid framework processing system, where the dual-grid framework processing system includes an outer grid processing system and an inner grid processing system;
a first calculation module 702, configured to determine, according to the request packet, a service management scheme corresponding to the request packet;
the processing module 703 is configured to obtain an execution policy according to the dual-grid architecture processing system and the service management scheme, and process the request packet according to the execution policy and the service management scheme to obtain a request packet processing result.
In this embodiment, the dual-grid-architecture processing system is built based on an existing service grid, and the dual-grid-architecture processing system in this embodiment includes a service grid, that is, an external grid processing system, where the service grid and an application program are not run in a process, and the service grid may generate a corresponding execution policy according to a header of a message and a common field (e.g., an IP address of a request message) corresponding to the request message, but the dimensionality and accuracy of the execution policy are not very high Mobile phone number, etc.) to generate execution strategies with higher dimensionality and higher precision, thereby improving the precision and dimensionality of the request message processing.
In this embodiment, an external grid processing system and an internal grid processing system are provided at the same time, and when a request packet is processed, a corresponding grid processing system can be selected for processing according to the requirements of a user, so that the application range and the applicability of this embodiment can be improved.
In a specific embodiment of the present disclosure, the processing module 703 further includes a first obtaining unit 7031, a first calculating unit 7032, and a first processing unit 7033.
A first obtaining unit 7031, configured to obtain, based on the external grid processing system, a packet header included in the request packet and a common field corresponding to the request packet;
a first calculating unit 7032, configured to obtain a first execution policy according to the packet header, the common field, and the service governance scheme;
a first processing unit 7033, configured to process the request packet according to the first execution policy and the service management scheme, so as to obtain a request packet processing result.
In a specific embodiment of the present disclosure, the processing module 703 further includes a second obtaining unit 7034, a second calculating unit 7035, and a second processing unit 7036.
A second obtaining unit 7034, configured to obtain, based on the internal grid processing system, a packet body included in the request packet;
a second calculating unit 7035, configured to obtain a second execution policy according to the message body and the service administration scheme;
a second processing unit 7036, configured to process the request packet according to the second execution policy and the service management scheme, so as to obtain a request packet processing result.
In a specific embodiment of the present disclosure, the processing module 703 further includes a determining unit 7037, a third obtaining unit 7038, and a third calculating unit 7039.
A determining unit 7037, configured to determine whether an external grid processing system in the dual-grid architecture processing system is available, and if the external grid processing system is available, obtain an execution policy based on the external grid processing system and the service management scheme; if the request message is not available, forwarding the request message to the inner grid processing system;
a third obtaining unit 7038, configured to obtain, based on the internal grid processing system, a packet header included in the request packet and a common field corresponding to the request packet;
and a third calculating unit 7039, configured to obtain an execution policy according to the packet header, the common field, and the service management scheme.
In a specific embodiment of the present disclosure, the apparatus further includes a sending module 704, a determining module 705, and a second calculating module 706.
A sending module 704, configured to send a control command to a worker, where the control command includes a command for the worker to perform maintenance on the external grid processing system;
a determining module 705, configured to determine whether the outer grid processing system in the dual-grid-architecture processing system recovers to normal, and if the outer grid processing system recovers to normal, forward the request packet forwarded from the outer grid processing system to the inner grid processing system and forward the request packet that has not been processed by the inner grid processing system to the outer grid processing system;
a second computing module 706 configured to obtain an execution policy using the external grid processing system and the service governance scheme.
In a specific embodiment of the present disclosure, the obtaining module 701 further includes a fourth obtaining unit 7011 and an adding unit 7012.
A fourth obtaining unit 7011, configured to obtain a service grid, where the service grid is used as an external grid processing system of the dual-grid architecture processing system, the external grid processing system and an application program are not run in a process, and the application program is used to process the request packet;
an adding unit 7012, configured to add the internal grid processing system based on the service grid to obtain the dual-grid framework processing system, where the internal grid processing system and the application program operate in one process.
It should be noted that, regarding the apparatus in the above embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated herein.
Example 3
Corresponding to the above method embodiments, the embodiments of the present disclosure further provide a request packet processing device, and the request packet processing device described below and the request packet processing method described above may be referred to correspondingly.
Fig. 3 is a block diagram illustrating a request message processing device 800 according to an example embodiment. As shown in fig. 3, the request message processing apparatus 800 may include: a processor 801, a memory 802. The request message processing device 800 may also include one or more of a multimedia component 803, an input/output (I/O) interface 804, and a communication component 805.
The processor 801 is configured to control the overall operation of the request message processing apparatus 800, so as to complete all or part of the steps in the request message processing method. The memory 802 is used to store various types of data to support operation at the requesting message processing device 800, such data can include, for example, instructions for any application or method operating on the requesting message processing device 800, as well as application-related data such as contact data, messaging, pictures, audio, video, and so forth. The Memory 802 may be implemented by any type of volatile or non-volatile Memory device or combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic Memory, flash Memory, magnetic disk or optical disk. The multimedia components 803 may include screen and audio components. Wherein the screen may be, for example, a touch screen and the audio component is used for outputting and/or inputting audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signal may further be stored in the memory 802 or transmitted through the communication component 805. The audio assembly also includes at least one speaker for outputting audio signals. The I/O interface 804 provides an interface between the processor 801 and other interface modules, such as a keyboard, mouse, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 805 is used for wired or wireless communication between the request message processing apparatus 800 and other apparatuses. Wireless communication, such as Wi-Fi, bluetooth, Near Field Communication (NFC), 2G, 3G, or 4G, or a combination of one or more of them, so that the corresponding communication component 805 may include: Wi-Fi module, bluetooth module, NFC module.
In an exemplary embodiment, the request message Processing Device 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components, for performing the request message Processing methods described above.
In another exemplary embodiment, a computer readable storage medium including program instructions which, when executed by a processor, implement the steps of the request message processing method described above is also provided. For example, the computer readable storage medium may be the memory 802 described above that includes program instructions executable by the processor 801 of the request message processing device 800 to perform the request message processing method described above.
Example 4
Corresponding to the above method embodiment, the embodiment of the present disclosure further provides a readable storage medium, and a readable storage medium described below and the above request message processing method may be referred to correspondingly.
A readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the steps of the request message processing method of the above-mentioned method embodiment.
The readable storage medium may be a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and various other readable storage media capable of storing program codes.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (14)

1. A method for processing request message is characterized in that the method comprises the following steps:
acquiring a request message and a dual-grid framework processing system, wherein the dual-grid framework processing system comprises an outer grid processing system and an inner grid processing system;
determining a service management scheme corresponding to the request message according to the request message;
and obtaining an execution strategy according to the dual-grid framework processing system and the service management scheme, and processing the request message according to the execution strategy and the service management scheme to obtain a request message processing result.
2. The method according to claim 1, wherein the obtaining an execution policy according to the dual-grid architecture processing system and the service governance scheme, and processing the request packet according to the execution policy and the service governance scheme to obtain a request packet processing result comprises:
acquiring a message header contained in the request message and a public field corresponding to the request message based on the outer grid processing system;
obtaining a first execution strategy according to the message header, the public field and the service management scheme;
and processing the request message according to the first execution strategy and the service management scheme to obtain a request message processing result.
3. The method according to claim 1, wherein the obtaining an execution policy according to the dual-grid architecture processing system and the service governance scheme, and processing the request packet according to the execution policy and the service governance scheme to obtain a request packet processing result comprises:
acquiring a message body contained in the request message based on the internal grid processing system;
obtaining a second execution strategy according to the message body and the service management scheme;
and processing the request message according to the second execution strategy and the service management scheme to obtain a request message processing result.
4. The method according to claim 1, wherein obtaining an execution policy according to the dual-grid architecture processing system and the service governance scheme comprises:
judging whether an external grid processing system in the double-grid-architecture processing system is available, if so, obtaining an execution strategy based on the external grid processing system and the service management scheme; if the request message is not available, forwarding the request message to the inner grid processing system;
acquiring a message header contained in the request message and a public field corresponding to the request message based on the internal grid processing system;
and obtaining an execution strategy according to the message header, the public field and the service management scheme.
5. The method according to claim 4, wherein after forwarding the request packet data to the internal grid processing system and obtaining an execution policy based on the internal grid processing system and the service administration scheme, the method further comprises:
sending a control command to a worker, wherein the control command comprises a command for the worker to maintain the outer grid processing system;
judging whether the outer grid processing system in the double-grid-architecture processing system is recovered to be normal or not, if the outer grid processing system is recovered to be normal, forwarding the request message which is forwarded to the inner grid processing system from the outer grid processing system and is not processed by the inner grid processing system back to the outer grid processing system;
and obtaining an execution strategy by using the external grid processing system and the service management scheme.
6. The request message processing method according to claim 1, wherein the construction method of the dual-grid architecture processing system comprises:
acquiring a service grid, and taking the service grid as an external grid processing system of the dual-grid architecture processing system, wherein the external grid processing system and an application program are not operated in a process, and the application program is used for processing the request message;
and based on the service grid, adding the internal grid processing system to obtain the double-grid framework processing system, wherein the internal grid processing system and the application program run in a process.
7. A request packet processing apparatus, comprising:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring a request message and a dual-grid framework processing system, and the dual-grid framework processing system comprises an outer grid processing system and an inner grid processing system;
the first calculation module is used for determining a service management scheme corresponding to the request message according to the request message;
and the processing module is used for obtaining an execution strategy according to the dual-grid framework processing system and the service management scheme, and processing the request message according to the execution strategy and the service management scheme to obtain a request message processing result.
8. The request message processing device according to claim 7, wherein the processing module includes:
a first obtaining unit, configured to obtain, based on the outer grid processing system, a packet header included in the request packet and a common field corresponding to the request packet;
the first computing unit is used for obtaining a first execution strategy according to the message header, the public field and the service management scheme;
and the first processing unit is used for processing the request message according to the first execution strategy and the service management scheme to obtain a request message processing result.
9. The request message processing device according to claim 7, wherein the processing module includes:
a second obtaining unit, configured to obtain, based on the internal grid processing system, a packet body included in the request packet;
the second computing unit is used for obtaining a second execution strategy according to the message body and the service management scheme;
and the second processing unit is used for processing the request message according to the second execution strategy and the service management scheme to obtain a request message processing result.
10. The request message processing device according to claim 7, wherein the processing module includes:
a judging unit, configured to judge whether an external grid processing system in the dual-grid-architecture processing system is available, and if the external grid processing system is available, obtain an execution policy based on the external grid processing system and the service management scheme; if the request message is not available, forwarding the request message to the inner grid processing system;
a third obtaining unit, configured to obtain, based on the internal grid processing system, a packet header included in the request packet and a common field corresponding to the request packet;
and the third computing unit is used for obtaining an execution strategy according to the message header, the public field and the service management scheme.
11. The request message processing device according to claim 10, further comprising:
the sending module is used for sending a control command to a worker, wherein the control command comprises a command for the worker to maintain the outer grid processing system;
a judging module, configured to judge whether the outer grid processing system in the dual-grid-architecture processing system returns to normal, and if the outer grid processing system returns to normal, forward the request packet forwarded from the outer grid processing system to the inner grid processing system and forward the request packet that has not been processed by the inner grid processing system back to the outer grid processing system;
and the second computing module is used for obtaining an execution strategy by utilizing the outer grid processing system and the service management scheme.
12. The request message processing device according to claim 7, wherein the obtaining module includes:
a fourth obtaining unit, configured to obtain a service grid, where the service grid is used as an external grid processing system of the dual-grid-architecture processing system, where the external grid processing system and an application program are not running in a process, and the application program is used to process the request packet;
and the adding unit is used for adding the internal grid processing system based on the service grid to obtain the double-grid framework processing system, and the internal grid processing system and the application program run in one process.
13. A request message processing apparatus, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the request message processing method according to any one of claims 1 to 6 when executing the computer program.
14. A readable storage medium, characterized by: the readable storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps of the request message processing method according to any one of claims 1 to 6.
CN202111507438.5A 2021-12-10 2021-12-10 Request message processing method, device, equipment and readable storage medium Active CN114257652B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111507438.5A CN114257652B (en) 2021-12-10 2021-12-10 Request message processing method, device, equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111507438.5A CN114257652B (en) 2021-12-10 2021-12-10 Request message processing method, device, equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN114257652A true CN114257652A (en) 2022-03-29
CN114257652B CN114257652B (en) 2024-01-30

Family

ID=80794696

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111507438.5A Active CN114257652B (en) 2021-12-10 2021-12-10 Request message processing method, device, equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN114257652B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101043478A (en) * 2007-04-20 2007-09-26 北京航空航天大学 Service gateway and method for realizing message safe process
CN104423982A (en) * 2013-08-27 2015-03-18 阿里巴巴集团控股有限公司 Request processing method and device
CN111767157A (en) * 2019-08-07 2020-10-13 北京京东尚科信息技术有限公司 Request processing method and device based on service grid
CN112350890A (en) * 2020-10-27 2021-02-09 广州虎牙科技有限公司 Message processing method, device, server and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101043478A (en) * 2007-04-20 2007-09-26 北京航空航天大学 Service gateway and method for realizing message safe process
CN104423982A (en) * 2013-08-27 2015-03-18 阿里巴巴集团控股有限公司 Request processing method and device
CN111767157A (en) * 2019-08-07 2020-10-13 北京京东尚科信息技术有限公司 Request processing method and device based on service grid
CN112350890A (en) * 2020-10-27 2021-02-09 广州虎牙科技有限公司 Message processing method, device, server and storage medium

Also Published As

Publication number Publication date
CN114257652B (en) 2024-01-30

Similar Documents

Publication Publication Date Title
KR101863981B1 (en) Using text messages to interact with spreadsheets
CN107450903B (en) Information processing method and device
US8548444B2 (en) Linking a name to a phone number in a text message based on a contact list in a mobile device
CN108762760A (en) Software interface customizing method, device, computer equipment and storage medium
US20140059450A1 (en) Combined message boxes
CN110875871A (en) Management method of instant messaging application and electronic equipment
CN112579891A (en) Cloud resource recommendation method and device, electronic terminal and storage medium
US20220083729A1 (en) Interactive information notification method, apparatus and device, and computer readable storage medium
US20230401377A1 (en) Document creation method and apparatus, and device and storage medium
CN109656995B (en) Data export method, device, terminal, server and storage medium
CN111199390A (en) Invoice reimbursement method and device, storage medium and electronic equipment
CN114257652B (en) Request message processing method, device, equipment and readable storage medium
CN113079086B (en) Message transmission method, message transmission device, electronic device, and storage medium
CN114157627B (en) Group processing method, device, electronic equipment and medium
CN113138702B (en) Information processing method, device, electronic equipment and storage medium
CN109274808B (en) Address book information management method and system, electronic equipment and storage medium
CN113364915A (en) Information display method and device and electronic equipment
CN111966506A (en) Content sharing method based on different application programs and computer equipment
CN114997866B (en) Service contract generation method, device, equipment and readable storage medium
CN117591487B (en) Financial document sharing method and related device
CN108712569B (en) Content screening method, medium, device and computing equipment
CN114240350A (en) Architecture information management method, apparatus, device and readable storage medium
CN113852686A (en) Block chain network communication method, device, equipment and readable storage medium
CN116842221A (en) Data processing method, device, electronic equipment and storage medium
CN115495562A (en) Dialogue processing method, dialogue processing device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant