CN109062848B - Purchase management method and device based on ESB bus platform and bus platform - Google Patents

Purchase management method and device based on ESB bus platform and bus platform Download PDF

Info

Publication number
CN109062848B
CN109062848B CN201810863670.4A CN201810863670A CN109062848B CN 109062848 B CN109062848 B CN 109062848B CN 201810863670 A CN201810863670 A CN 201810863670A CN 109062848 B CN109062848 B CN 109062848B
Authority
CN
China
Prior art keywords
purchase
request
monitoring management
management server
target
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.)
Active
Application number
CN201810863670.4A
Other languages
Chinese (zh)
Other versions
CN109062848A (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.)
Wuhan Suoya Information Technology Co ltd
Original Assignee
Wuhan Suoya Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Suoya Information Technology Co ltd filed Critical Wuhan Suoya Information Technology Co ltd
Priority to CN201810863670.4A priority Critical patent/CN109062848B/en
Publication of CN109062848A publication Critical patent/CN109062848A/en
Application granted granted Critical
Publication of CN109062848B publication Critical patent/CN109062848B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4204Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus
    • G06F13/4221Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus being an input/output bus, e.g. ISA bus, EISA bus, PCI bus, SCSI bus

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Economics (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Development Economics (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a purchase management method and device based on an ESB (enterprise service bus) platform and the ESB platform. The ESB bus platform of the embodiment receives a purchase request sent by a monitoring management server, wherein the purchase request is used for calling purchase management service provided by the monitoring management server; when a purchase request is received, analyzing the purchase request, and when the purchase request is an authorization request, converting the purchase request into a target request message according to a preset protocol conversion strategy, wherein the target request message is a protocol format message adapted to the monitoring management server; the target request message is sent to the monitoring management server side, so that the monitoring management server side performs corresponding purchasing management processing and returns a purchasing result, and the problems that the existing servers have differences and materials are often unable to be effectively coordinated due to complex transmitted data when the materials need to be purchased can be effectively solved.

Description

Purchase management method and device based on ESB bus platform and bus platform
Technical Field
The invention relates to the technical field of network communication, in particular to a purchase management method and device based on an ESB (enterprise service bus) platform, the ESB platform and a storage medium.
Background
At present, the development cost of material purchasing informatization management application is higher, the purchasing coverage of enterprises is wider and wider, the purchasing resources are more and more, the amount of processed purchasing information is enlarged, and the integration among systems is hindered. Because the data transmitted at present are complex, when the servers are different and materials need to be purchased, the system cannot be effectively coordinated.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a purchase management method and device based on an ESB (enterprise service bus) platform, the ESB platform and a storage medium, and aims to solve the problems that at present, servers are different, and materials are often unable to be effectively coordinated due to complex transmitted data when needing to be purchased.
In order to achieve the purpose, the invention provides a purchase management method based on an ESB (enterprise service bus) platform, which comprises the following steps of:
the ESB bus platform receives a purchase request sent by a monitoring management server, wherein the purchase request is used for calling purchase management service provided by the monitoring management server;
when the purchase request is received, analyzing the purchase request to judge whether the purchase request is an authorization request;
when the purchase request is an authorization request, converting the purchase request into a target request message according to a preset protocol conversion strategy, wherein the target request message is a protocol format message adapted to the monitoring management server;
sending the target request message to the monitoring management server side so that the monitoring management server side performs corresponding purchase management processing and returns a purchase result;
and receiving a purchase result returned by the monitoring management service end, converting the purchase result into a protocol format adapted to the monitoring management service end according to the protocol conversion strategy, and feeding back the converted purchase result to the monitoring management service end so that the monitoring management service end displays the converted purchase result.
Preferably, the converting the purchase request into the target request message according to a preset protocol conversion policy when the purchase request is an authorization request specifically includes:
when the purchase request is an authorization request, sending the purchase request into a preset request queue, determining a first preset node corresponding to the preset request queue, and performing message structure verification on the purchase request through the first preset node;
when the structure verification is successful, the purchase request is sent to a second preset node, and the destination queue and the source queue of the purchase request are initialized at the second preset node;
sending the purchase request after the initialization operation into a third preset node, and converting the purchase request into a target request message in the third preset node according to a preset protocol conversion strategy.
Preferably, after the sending the purchase request after the initialization operation to a third preset node and converting the purchase request into a target request message in the third preset node according to a preset protocol conversion policy, the method further includes:
sending the target request message to a routing node, and setting a destination address of the target request message through the routing node;
and sending the target request message with the set destination address to an MQ-Output node, and executing the step of sending the target request message to the monitoring management server.
Preferably, the sending the target request packet to the monitoring management server side so that the monitoring management server side performs corresponding purchase management processing and returns a purchase result includes:
encrypting the target request message to generate an encrypted message;
and sending the encrypted message to the monitoring management server, so that the monitoring management server decrypts the encrypted message to obtain the target request message, performs corresponding purchase management processing according to the target request message, and returns a purchase result.
Preferably, after the purchasing request is an authorization request and is converted into a target request message according to a preset protocol conversion policy, the method further includes:
calculating the estimated processing time of the target request message;
correspondingly, after the sending the target request packet to the monitoring management server, the method further includes:
and when detecting that the target request message is not sent to the monitoring management server side after the estimated processing time is exceeded, recording a purchase request corresponding to the target request message and generating prompt information.
Preferably, the protocol format adapted by the monitoring management server includes a WebService/XML protocol format or a UDP/TCP/XML protocol format.
In addition, to achieve the above object, the present invention further provides an ESB bus platform, including:
the system comprises a receiving module, a monitoring management server and a monitoring management server, wherein the receiving module is used for receiving a purchase request sent by the monitoring management server by an ESB bus platform, and the purchase request is used for calling purchase management service provided by the monitoring management server;
the analysis module is used for analyzing the purchase request when receiving the purchase request so as to judge whether the purchase request is an authorization request;
the adaptive module is used for converting the purchase request into a target request message according to a preset protocol conversion strategy when the purchase request is an authorization request, wherein the target request message is a protocol format message adapted to the monitoring management server;
the processing module is used for sending the target request message to the monitoring management server so that the monitoring management server performs corresponding purchase management processing and returns a purchase result;
and the management module is used for receiving the purchase result returned by the monitoring management server, converting the purchase result into a protocol format adapted to the monitoring management server according to the protocol conversion strategy, and feeding back the converted purchase result to the monitoring management server so that the monitoring management server displays the converted purchase result.
In addition, in order to achieve the above object, the present invention further provides a procurement management apparatus, which includes a memory, a processor, and a procurement management program based on an ESB bus platform, stored on the memory and operable on the processor, wherein the procurement management program based on the ESB bus platform is configured to implement the steps of the procurement management method according to any one of the above items.
In addition, in order to achieve the above object, the present invention is further a computer-readable storage medium, wherein the computer-readable storage medium stores a purchase management program based on an ESB bus platform, and the purchase management program based on the ESB bus platform implements the steps of the purchase management method when being executed by a processor.
The ESB bus platform receives a purchase request sent by a monitoring management server, wherein the purchase request is used for calling purchase management service provided by the monitoring management server; when a purchase request is received, analyzing the purchase request, and when the purchase request is an authorization request, converting the purchase request into a target request message according to a preset protocol conversion strategy, wherein the target request message is a protocol format message adapted to the monitoring management server; the target request message is sent to the monitoring management server, so that the monitoring management server performs corresponding purchasing management processing and returns a purchasing result, the problems that the existing servers are different, and materials are often not effectively coordinated due to complex transmitted data when needing purchasing can be effectively solved, the working efficiency of related personnel can be improved, and the development cost of the ESB bus platform is lower than that of other purchasing management systems.
Drawings
FIG. 1 is a schematic diagram of a procurement management device of a hardware operating environment according to an embodiment of the invention;
FIG. 2 is a schematic flow chart of a first embodiment of a procurement management method based on an ESB bus platform according to the invention;
FIG. 3 is a block diagram of an ESB bus platform according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a procurement management apparatus of a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 1, the purchase management apparatus may include: a processor 1001, such as a CPU, a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory).
Those skilled in the art will appreciate that the configuration shown in FIG. 1 does not constitute a limitation of the procurement management equipment and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, the memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a procurement management program based on the ESB bus platform.
In the purchase management apparatus shown in fig. 1, the network interface 1004 is mainly used for data communication; the user interface 1003 is mainly used for receiving input instructions of a user; the secure device calls, via the processor 1001, a procurement management program based on the ESB bus platform stored in the memory 1005, and performs the following operations:
the ESB bus platform receives a purchase request sent by a monitoring management server, wherein the purchase request is used for calling purchase management service provided by the monitoring management server;
when the purchase request is received, analyzing the purchase request to judge whether the purchase request is an authorization request;
when the purchase request is an authorization request, converting the purchase request into a target request message according to a preset protocol conversion strategy, wherein the target request message is a protocol format message adapted to the monitoring management server;
sending the target request message to the monitoring management server side so that the monitoring management server side performs corresponding purchase management processing and returns a purchase result;
and receiving a purchase result returned by the monitoring management service end, converting the purchase result into a protocol format adapted to the monitoring management service end according to the protocol conversion strategy, and feeding back the converted purchase result to the monitoring management service end so that the monitoring management service end displays the converted purchase result.
Further, the processor 1001 may call the purchase management program based on the ESB bus platform stored in the memory 1005, and further perform the following operations:
when the purchase request is an authorization request, sending the purchase request into a preset request queue, determining a first preset node corresponding to the preset request queue, and performing message structure verification on the purchase request through the first preset node;
when the structure verification is successful, the purchase request is sent to a second preset node, and the destination queue and the source queue of the purchase request are initialized at the second preset node;
sending the purchase request after the initialization operation into a third preset node, and converting the purchase request into a target request message in the third preset node according to a preset protocol conversion strategy.
Further, the processor 1001 may call the purchase management program based on the ESB bus platform stored in the memory 1005, and further perform the following operations:
sending the target request message to a routing node, and setting a destination address of the target request message through the routing node;
and sending the target request message with the set destination address to an MQ-Output node, and executing the step of sending the target request message to the monitoring management server.
Further, the processor 1001 may call the purchase management program based on the ESB bus platform stored in the memory 1005, and further perform the following operations:
encrypting the target request message to generate an encrypted message;
and sending the encrypted message to the monitoring management server, so that the monitoring management server decrypts the encrypted message to obtain the target request message, performs corresponding purchase management processing according to the target request message, and returns a purchase result.
Further, the processor 1001 may call the purchase management program based on the ESB bus platform stored in the memory 1005, and further perform the following operations:
calculating the estimated processing time of the target request message;
and when detecting that the target request message is not sent to the monitoring management server side after the estimated processing time is exceeded, recording a purchase request corresponding to the target request message and generating prompt information.
The ESB bus platform of the embodiment receives a purchase request sent by a monitoring management server, wherein the purchase request is used for calling purchase management service provided by the monitoring management server; when a purchase request is received, analyzing the purchase request, and when the purchase request is an authorization request, converting the purchase request into a target request message according to a preset protocol conversion strategy, wherein the target request message is a protocol format message adapted to the monitoring management server; the target request message is sent to the monitoring management server, so that the monitoring management server performs corresponding purchasing management processing and returns a purchasing result, the problems that the existing servers are different, and materials are often not effectively coordinated due to complex transmitted data when needing purchasing can be effectively solved, the working efficiency of related personnel can be improved, and the development cost of the ESB bus platform is lower than that of other purchasing management systems.
Based on the hardware structure, the embodiment of the purchase management method based on the ESB bus platform is provided.
Referring to fig. 2, fig. 2 is a schematic flow chart of a first embodiment of a procurement management method based on an ESB bus platform according to the invention.
In a first embodiment, the method comprises the steps of:
step S10: the ESB bus platform receives a purchase request sent by a monitoring management server, wherein the purchase request is used for calling purchase management service provided by the monitoring management server;
it is understood that the ESB is collectively referred to as Enterprise Service Bus, the name of which is Enterprise Service Bus. It is a product of the combination of traditional middleware technology and XML (extensible markup language), Web service and other technologies. The ESB provides the most basic connection center in the network and is an essential element for constructing the nervous system of an enterprise. The ESB bus platform in the embodiment belongs to an ESB integrated platform, and the ESB integrated platform comprises three functional components: namely an ESB bus platform, an adapter and a monitoring management platform (corresponding to the monitoring management server). The bus platform is realized based on a Message Broker (responsible for Message flow processing), and serves as a core role of the whole ESB integrated platform; the adapter is responsible for accessing each service system to the ESB integrated platform to complete functions of communication mode conversion, message format processing and the like of the bottom layer; the monitoring management platform functions are divided into two major categories, one is service management, and the other is service management, including functions of registration, release, inquiry, statistics and the like of services. And the other type is operation monitoring, which comprises functions of service monitoring, queue monitoring, abnormity alarming and the like. The bus platform, the adapter and the monitoring management platform form a complete ESB integrated platform to provide information bus service for each business system.
In this embodiment, the ESB bus platform may issue the monitoring management interface, so that the monitoring management server sends the purchase request to call the corresponding purchase management service by calling the interface. The monitoring management server can be characterized as a webpage terminal, a computer or a mobile phone and other terminal equipment;
step S20: when the purchase request is received, analyzing the purchase request to judge whether the purchase request is an authorization request;
it can be understood that the bus platform realizes the authentication of the service requester and the service provider through an authentication mechanism, and simultaneously, determines which access systems can use which services through service authorization, thereby ensuring the security of the business system.
Step S30: when the purchase request is an authorization request, converting the purchase request into a target request message according to a preset protocol conversion strategy, wherein the target request message is a protocol format message adapted to the monitoring management server;
specifically, the step S30 further includes: when the purchase request is an authorization request, sending the purchase request into a preset request queue, determining a first preset node corresponding to the preset request queue, and performing message structure verification on the purchase request through the first preset node;
when the structure verification is successful, the purchase request is sent to a second preset node, and the destination queue and the source queue of the purchase request are initialized at the second preset node;
sending the purchase request subjected to the initialization operation into a third preset node, and converting the purchase request into a target request message in the third preset node according to a preset protocol conversion strategy;
sending the target request message to a routing node, and setting a destination address of the target request message through the routing node;
and sending the target request message with the set destination address to an MQ-Output node.
It should be noted that the protocol format adapted by the monitoring management server of this embodiment includes a WebService/XML protocol format or a UDP/TCP/XML protocol format.
Specifically, the main flow of step S30 in this embodiment may be:
1. the request message enters a service request processing main message flow through a queue (namely a preset request queue);
2. firstly, verifying the correctness of an XML message through an MSG.REQUEST.VALIDARATION node (namely a first preset node), and entering a request initialization node if the message structure is correct;
3. entering a request initialization node (a second preset node), wherein the request initialization node is responsible for initializing a destination queue and a source queue name of a request message;
4. entering a data preparenode (third preset node) which is responsible for generating a complete request message and then putting the request message into a routing node;
5. the routing node is responsible for setting a destination address of the request message and then putting the destination address into the MQ-Output node, so that the service request processing is completed.
Step S40: and sending the target request message to the monitoring management server so that the monitoring management server performs corresponding purchase management processing and returns a purchase result.
Step S50: and receiving a purchase result returned by the monitoring management service end, converting the purchase result into a protocol format adapted to the monitoring management service end according to the protocol conversion strategy, and feeding back the converted purchase result to the monitoring management service end so that the monitoring management service end displays the converted purchase result.
It can be understood that the bus platform makes a logic judgment on the response of the service, and finally generates a response message to be returned to the service requester system.
In a specific implementation, the ESB bus platform encrypts the target request message to generate an encrypted message; and then sending the encrypted message to the monitoring management server, so that the monitoring management server decrypts the encrypted message to obtain the target request message, performs corresponding purchase management processing according to the target request message, and returns a purchase result. The bus platform can combine with the current popular encryption and decryption algorithm to complete the encryption and decryption conversion of data while serving the routing.
Further, the embodiment also performs service timeout check on the purchase request, and calculates the estimated processing time of the target request message; correspondingly, after the sending the target request packet to the monitoring management server, the method further includes: and when detecting that the target request message is not sent to the monitoring management server side after the estimated processing time is exceeded, recording a purchase request corresponding to the target request message and generating prompt information. It will be appreciated that there may be a possibility of failure of the service throughout the process. Therefore, the bus platform will record the processing start-stop time of each message, and check whether the service has timed out in the process of message processing. If the service has timed out, the bus platform will record the service information of the timed out waiting for manual means to process.
The ESB bus platform of the embodiment receives a purchase request sent by a monitoring management server, wherein the purchase request is used for calling purchase management service provided by the monitoring management server; when a purchase request is received, analyzing the purchase request, and when the purchase request is an authorization request, converting the purchase request into a target request message according to a preset protocol conversion strategy, wherein the target request message is a protocol format message adapted to the monitoring management server; the target request message is sent to the monitoring management server, so that the monitoring management server performs corresponding purchasing management processing and returns a purchasing result, the problems that the existing servers are different, and materials are often not effectively coordinated due to complex transmitted data when needing purchasing can be effectively solved, the working efficiency of related personnel can be improved, and the development cost of the ESB bus platform is lower than that of other purchasing management systems.
In addition, an embodiment of the present invention further provides an ESB bus platform, where the ESB bus platform includes:
the system comprises a receiving module 10, a monitoring management server and a monitoring management server, wherein the receiving module is used for receiving a purchase request sent by the monitoring management server by an ESB bus platform, and the purchase request is used for calling purchase management service provided by the monitoring management server;
the analysis module 20 is configured to, when the purchase request is received, analyze the purchase request to determine whether the purchase request is an authorization request;
the adaptation module 30 is configured to, when the purchase request is an authorization request, convert the purchase request into a target request message according to a preset protocol conversion policy, where the target request message is a protocol format message adapted by the monitoring management server;
the processing module 40 is configured to send the target request packet to the monitoring management server, so that the monitoring management server performs corresponding purchase management processing and returns a purchase result;
and the management module 50 is configured to receive a purchase result returned by the monitoring management server, convert the purchase result into a protocol format adapted to the monitoring management server according to the protocol conversion policy, and feed back the converted purchase result to the monitoring management server, so that the monitoring management server displays the converted purchase result.
In this embodiment, a specific implementation manner of the cloud ESB bus platform of the present invention may refer to the foregoing purchase management method embodiment, and details are not described here.
In addition, an embodiment of the present invention further provides a computer-readable storage medium, where a purchase management program based on an ESB bus platform is stored on the computer-readable storage medium, and when executed by a processor, the purchase management program based on the ESB bus platform implements the following operations:
the ESB bus platform receives a purchase request sent by a monitoring management server, wherein the purchase request is used for calling purchase management service provided by the monitoring management server;
when the purchase request is received, analyzing the purchase request to judge whether the purchase request is an authorization request;
when the purchase request is an authorization request, converting the purchase request into a target request message according to a preset protocol conversion strategy, wherein the target request message is a protocol format message adapted to the monitoring management server;
sending the target request message to the monitoring management server side so that the monitoring management server side performs corresponding purchase management processing and returns a purchase result;
and receiving a purchase result returned by the monitoring management service end, converting the purchase result into a protocol format adapted to the monitoring management service end according to the protocol conversion strategy, and feeding back the converted purchase result to the monitoring management service end so that the monitoring management service end displays the converted purchase result.
Further, when executed by the processor, the purchase management program based on the ESB bus platform also realizes the following operations:
when the purchase request is an authorization request, sending the purchase request into a preset request queue, determining a first preset node corresponding to the preset request queue, and performing message structure verification on the purchase request through the first preset node;
when the structure verification is successful, the purchase request is sent to a second preset node, and the destination queue and the source queue of the purchase request are initialized at the second preset node;
sending the purchase request after the initialization operation into a third preset node, and converting the purchase request into a target request message in the third preset node according to a preset protocol conversion strategy.
Further, when executed by the processor, the purchase management program based on the ESB bus platform also realizes the following operations: sending the target request message to a routing node, and setting a destination address of the target request message through the routing node;
and sending the target request message with the set destination address to an MQ-Output node, and executing the step of sending the target request message to the monitoring management server.
Further, when executed by the processor, the purchase management program based on the ESB bus platform also realizes the following operations: encrypting the target request message to generate an encrypted message;
and sending the encrypted message to the monitoring management server, so that the monitoring management server decrypts the encrypted message to obtain the target request message, performs corresponding purchase management processing according to the target request message, and returns a purchase result.
Further, when executed by the processor, the purchase management program based on the ESB bus platform also realizes the following operations: calculating the estimated processing time of the target request message;
and when detecting that the target request message is not sent to the monitoring management server side after the estimated processing time is exceeded, recording a purchase request corresponding to the target request message and generating prompt information.
Further, when executed by the processor, the purchase management program based on the ESB bus platform also realizes the following operations:
when the purchase request is an authorization request, sending the purchase request into a preset request queue, and converting the purchase request into a target request message in a preset format;
carrying out message structure verification on the target request message through a first preset node;
and when the verification is successful, determining the target purchasing request as a protocol format message adapted to the monitoring management server side, and executing the step of sending the target purchasing request to the monitoring management server side.
Further, when executed by the processor, the purchase management program based on the ESB bus platform also realizes the following operations:
when the verification is successful, the target purchasing request is sent to a preset target queue;
responding the target access request through a second preset node to judge whether follow-up operation of the target access request needs to be performed;
and when the judgment result is that the follow-up operation of the target access request needs to be flushed, determining the target purchase request as a protocol format message adapted to the monitoring management server.
Further, when executed by the processor, the purchase management program based on the ESB bus platform also realizes the following operations:
taking out the target access request from the second preset node, and sending the target access request to a routing node, so that the routing node sets a destination address of the target access request and a monitoring queue of the monitoring management server;
and executing the step of sending the target purchasing request to the monitoring management server side according to the set destination address and the monitoring queue of the monitoring management server side.
Further, when executed by the processor, the purchase management program based on the ESB bus platform also realizes the following operations:
and receiving a purchase result returned by the monitoring management service end, converting the purchase result into a protocol format adapted to the monitoring management service end according to the protocol conversion strategy, and feeding back the converted purchase result to the monitoring management service end so that the monitoring management service end displays the converted purchase result.
Further, when executed by the processor, the purchase management program based on the ESB bus platform also realizes the following operations:
calculating the estimated processing time of the target request message;
and when detecting that the target request message is not sent to the monitoring management server side after the estimated processing time is exceeded, recording a purchase request corresponding to the target request message and generating prompt information.
The ESB bus platform of the embodiment receives a purchase request sent by a monitoring management server, wherein the purchase request is used for calling purchase management service provided by the monitoring management server; when a purchase request is received, analyzing the purchase request, and when the purchase request is an authorization request, converting the purchase request into a target request message according to a preset protocol conversion strategy, wherein the target request message is a protocol format message adapted to the monitoring management server; the target request message is sent to the monitoring management server, so that the monitoring management server performs corresponding purchasing management processing and returns a purchasing result, the problems that the existing servers are different, and materials are often not effectively coordinated due to complex transmitted data when needing purchasing can be effectively solved, the working efficiency of related personnel can be improved, and the development cost of the ESB bus platform is lower than that of other purchasing management systems.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (8)

1. A purchase management method based on an ESB bus platform is characterized by comprising the following steps:
the ESB bus platform receives a purchase request sent by a monitoring management server, wherein the purchase request is used for calling purchase management service provided by the monitoring management server;
when the purchase request is received, analyzing the purchase request to judge whether the purchase request is an authorization request;
when the purchase request is an authorization request, converting the purchase request into a target request message according to a preset protocol conversion strategy, wherein the target request message is a protocol format message adapted to the monitoring management server;
sending the target request message to the monitoring management server side so that the monitoring management server side performs corresponding purchase management processing and returns a purchase result;
receiving a purchase result returned by the monitoring management service end, converting the purchase result into a protocol format adapted to the monitoring management service end according to the protocol conversion strategy, and feeding back the converted purchase result to the monitoring management service end so that the monitoring management service end displays the converted purchase result;
wherein, when the purchase request is an authorization request, the purchase request is converted into a target request message according to a preset protocol conversion strategy, which specifically includes:
when the purchase request is an authorization request, sending the purchase request into a preset request queue, determining a first preset node corresponding to the preset request queue, and performing message structure verification on the purchase request through the first preset node;
when the structure verification is successful, the purchase request is sent to a second preset node, and the destination queue and the source queue of the purchase request are initialized at the second preset node;
sending the purchase request after the initialization operation into a third preset node, and converting the purchase request into a target request message in the third preset node according to a preset protocol conversion strategy.
2. The method of claim 1, wherein the sending the initialized purchase request to a third preset node, and after the third preset node converts the purchase request into a target request message according to a preset protocol conversion policy, the method further comprises:
sending the target request message to a routing node, and setting a destination address of the target request message through the routing node;
and sending the target request message with the set destination address to an MQ-Output node, and executing the step of sending the target request message to the monitoring management server.
3. The method according to claim 1, wherein the sending the target request packet to the monitoring management service end so that the monitoring management service end performs corresponding purchase management processing and returns a purchase result specifically includes:
encrypting the target request message to generate an encrypted message;
and sending the encrypted message to the monitoring management server, so that the monitoring management server decrypts the encrypted message to obtain the target request message, performs corresponding purchase management processing according to the target request message, and returns a purchase result.
4. The method according to any one of claims 1-3, wherein after the purchase request is an authorization request and the purchase request is converted into a target request message according to a preset protocol conversion policy, the method further comprises:
calculating the estimated processing time of the target request message;
correspondingly, after the sending the target request packet to the monitoring management server, the method further includes:
and when detecting that the target request message is not sent to the monitoring management server side after the estimated processing time is exceeded, recording a purchase request corresponding to the target request message and generating prompt information.
5. The method according to any of claims 1-3, wherein the protocol format adapted by the monitoring management server comprises a WebService/XML protocol format or a UDP/TCP/XML protocol format.
6. An ESB bus platform, comprising:
the system comprises a receiving module, a monitoring management server and a monitoring management server, wherein the receiving module is used for receiving a purchase request sent by the monitoring management server by an ESB bus platform, and the purchase request is used for calling purchase management service provided by the monitoring management server;
the analysis module is used for analyzing the purchase request when receiving the purchase request so as to judge whether the purchase request is an authorization request;
the adaptive module is used for converting the purchase request into a target request message according to a preset protocol conversion strategy when the purchase request is an authorization request, wherein the target request message is a protocol format message adapted to the monitoring management server;
the processing module is used for sending the target request message to the monitoring management server so that the monitoring management server performs corresponding purchase management processing and returns a purchase result;
the management module is used for receiving the purchase result returned by the monitoring management server, converting the purchase result into a protocol format adapted to the monitoring management server according to the protocol conversion strategy, and feeding back the converted purchase result to the monitoring management server so that the monitoring management server displays the converted purchase result;
the adaptive module is further configured to send the purchase request to a preset request queue when the purchase request is an authorization request, determine a first preset node corresponding to the preset request queue, and perform message structure verification on the purchase request through the first preset node;
the adaptation module is further configured to send the purchase request to a second preset node when the structure verification is successful, and initialize a destination queue and a source queue of the purchase request at the second preset node;
the adaptation module is further configured to send the purchase request after the initialization operation to a third preset node, and convert the purchase request into a target request packet in the third preset node according to a preset protocol conversion policy.
7. A procurement management apparatus characterized by, the apparatus comprising a memory, a processor, and an ESB bus platform based procurement management program stored on the memory and executable on the processor, the ESB bus platform based procurement management program configured to implement the steps of the procurement management method of any of claims 1 to 5.
8. A computer-readable storage medium, wherein the computer-readable storage medium has stored thereon an ESB bus platform based procurement management program that, when executed by a processor, implements the steps of the procurement management method of any of claims 1-5.
CN201810863670.4A 2018-08-01 2018-08-01 Purchase management method and device based on ESB bus platform and bus platform Active CN109062848B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810863670.4A CN109062848B (en) 2018-08-01 2018-08-01 Purchase management method and device based on ESB bus platform and bus platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810863670.4A CN109062848B (en) 2018-08-01 2018-08-01 Purchase management method and device based on ESB bus platform and bus platform

Publications (2)

Publication Number Publication Date
CN109062848A CN109062848A (en) 2018-12-21
CN109062848B true CN109062848B (en) 2021-01-26

Family

ID=64832295

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810863670.4A Active CN109062848B (en) 2018-08-01 2018-08-01 Purchase management method and device based on ESB bus platform and bus platform

Country Status (1)

Country Link
CN (1) CN109062848B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110636127B (en) * 2019-09-20 2022-07-01 大唐融合通信股份有限公司 Communication processing method and system between information data
CN116319860B (en) * 2023-02-15 2023-11-10 呀邦管理科技(北京)有限责任公司 Purchasing management method based on ESB bus platform

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105637842A (en) * 2013-09-20 2016-06-01 甲骨文国际公司 Techniques for reliable messaging for an intermediary in a network communication environment
CN106991530A (en) * 2017-03-30 2017-07-28 国网福建省电力有限公司 E-commerce platform, financial managing and control system, economic law business application system and SAP system integrated interface data transmission method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102364921A (en) * 2011-11-21 2012-02-29 携程计算机技术(上海)有限公司 Realization method and equipment for enterprise service bus and corresponding platform
GB201305211D0 (en) * 2013-03-21 2013-05-01 Ibm Workload placement in a computer system
CN105763419A (en) * 2016-02-02 2016-07-13 邦彦技术股份有限公司 Instant messaging service calling method and enterprise service bus server
CN107608985A (en) * 2016-07-12 2018-01-19 深圳市远行科技股份有限公司 Big data service integration method, apparatus and system
CN108074076A (en) * 2017-12-08 2018-05-25 上海壹账通金融科技有限公司 Service providing method, device, equipment and readable storage medium storing program for executing based on ESB

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105637842A (en) * 2013-09-20 2016-06-01 甲骨文国际公司 Techniques for reliable messaging for an intermediary in a network communication environment
CN106991530A (en) * 2017-03-30 2017-07-28 国网福建省电力有限公司 E-commerce platform, financial managing and control system, economic law business application system and SAP system integrated interface data transmission method

Also Published As

Publication number Publication date
CN109062848A (en) 2018-12-21

Similar Documents

Publication Publication Date Title
CN108462758B (en) Bank-enterprise direct connection communication method, device, equipment and computer readable storage medium
US10609015B2 (en) Method and apparatus of providing messaging service and callback feature to mobile stations
CN109120684B (en) Information management method and device, ESB (Enterprise service bus) platform and storage medium
CN101194233B (en) System and method of testing wireless component applications
US8261080B2 (en) System and method for managing digital certificates on a remote device
US20150163179A1 (en) Execution of a workflow that involves applications or services of data centers
CN109672523B (en) Information encryption method, device and equipment based on filter and readable storage medium
CN110648241B (en) Method and device for processing claims based on micro-service architecture
EP2933983A1 (en) System architecture, subsystem, and method for opening of telecommunication network capability
CN113709221A (en) API management and API gateway calling method
CN112954050B (en) Distributed management method and device, management equipment and computer storage medium
CN109062848B (en) Purchase management method and device based on ESB bus platform and bus platform
CN101860549A (en) Access session data processing method under Web Service and device
CN105763419A (en) Instant messaging service calling method and enterprise service bus server
JP2010092407A (en) Authentication information processing apparatus, authentication information transmission method, and authentication method
WO2019228491A1 (en) Traffic information query method and device, traffic information providing method and device, and medium
CN108200046A (en) Register method, device, terminal device and the proxy server of terminal device
CN117215902B (en) Log analysis method, device, equipment and storage medium
US10148590B2 (en) Method and system for dynamically unblocking customers in critical workflows using pre-defined unlock codes
Heins et al. Ingredients for NB-IoT Design Concepts
CN107800729B (en) Information query method and system
CN113037541A (en) Network device management method, device and storage medium
CN116167760A (en) Best practice method for data provider in data transaction environment, electronic device and readable storage medium
KR20110048277A (en) Method for managing extention of the expiration for financial product
JP2010266919A (en) Connection service use history information provision system, method, and management terminal

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