CN117041148A - Message routing method, device and computer equipment - Google Patents

Message routing method, device and computer equipment Download PDF

Info

Publication number
CN117041148A
CN117041148A CN202310975509.7A CN202310975509A CN117041148A CN 117041148 A CN117041148 A CN 117041148A CN 202310975509 A CN202310975509 A CN 202310975509A CN 117041148 A CN117041148 A CN 117041148A
Authority
CN
China
Prior art keywords
machine room
service processing
service
processing request
target machine
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.)
Pending
Application number
CN202310975509.7A
Other languages
Chinese (zh)
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 Construction Bank Corp
CCB Finetech Co Ltd
Original Assignee
China Construction Bank Corp
CCB Finetech 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 China Construction Bank Corp, CCB Finetech Co Ltd filed Critical China Construction Bank Corp
Priority to CN202310975509.7A priority Critical patent/CN117041148A/en
Publication of CN117041148A publication Critical patent/CN117041148A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present application relates to the field of communication processing technology, and relates to a message routing method, a message routing device, a computer device, a storage medium and a computer program product. The message routing method comprises the following steps: receiving a service processing request; the method comprises the steps of sending an identity tag carried by a service processing request to target machine room equipment, and receiving a dynamic short code generated by the target machine room equipment; transmitting the dynamic short code to a service requester corresponding to the service processing request; when receiving the verification information sent by the service request party, the method sends the service information carried by the service processing request to the target machine room equipment according to the verification information and a preset routing address list, so that the message routing speed can be increased, the time consumption in the message routing process can be reduced, the message routing accuracy can be improved, and the message routing error can be prevented.

Description

Message routing method, device and computer equipment
Technical Field
The present application relates to the field of communication processing technology, and in particular, to a message routing method, an apparatus, a computer device, a storage medium, and a computer program product.
Background
With the rapid development of the internet, the service volume borne by the internet system of the service provider is larger and larger, the service data of the service requester is also more and more important, the service provider has a certain trend of building a plurality of machine room devices or disaster recovery machine rooms, and under the trend, the routing control of the plurality of machine room devices is very important.
In the service data routing control of the multi-machine room device, the service information of the service requester needs to be accurately routed to the target machine room device, usually, after the gateway of the service provider receives the service information of the service requester, the gateway does not identify the specific content of the service information, but directly sends the service information to any one machine room device in a polling mode to identify the service information, and then sends the service information to the target machine room device through routing forwarding among the machine room devices.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a message routing method, apparatus, computer device, storage medium, and computer program product that can improve message routing efficiency.
In a first aspect, the present application provides a message routing method, including:
Receiving a service processing request;
the identity tag carried by the service processing request is sent to target machine room equipment, and a dynamic short code generated by the target machine room equipment is received; the target machine room equipment is used for matching target node factors corresponding to the identity tags from a preset node factor list and generating dynamic short codes corresponding to the service processing requests according to the target node factors;
transmitting the dynamic short code to a service requester corresponding to the service processing request;
when receiving the verification information sent by the service request party, sending the service information carried by the service processing request to the target machine room equipment according to the verification information and a preset routing address list; and the target machine room equipment is used for carrying out service processing according to the service information.
In one embodiment, before the sending the identity tag carried by the service processing request to the target machine room device, the method includes:
and determining the target machine room equipment according to the service processing request.
In one embodiment, the determining the target machine room device according to the service processing request includes:
Acquiring time information of service processing requests received by each machine room device in the last time, and sequencing the time information corresponding to each machine room device according to a preset sequence;
determining the target machine room equipment from the machine room equipment according to the sequence of the time information;
the sending the identity tag carried by the service processing request to the target machine room equipment includes:
and sending the identity tag carried by the service processing request to a routing address corresponding to the target machine room equipment.
In one embodiment, the machine room devices are in one-to-one correspondence with the region codes;
the node factor list comprises a one-to-one mapping relation between the region codes and the node factors;
the target machine room equipment is used for matching the target node factors corresponding to the identity tags from the node factor list according to the corresponding region codes, and generating the dynamic short codes according to the target node factors.
In one embodiment, before the sending the dynamic short code to the service requester corresponding to the service processing request, the method includes:
generating verification information containing the dynamic short code according to preset display information and the dynamic short code;
The sending the dynamic short code to the service requester corresponding to the service processing request includes:
and sending the verification information containing the dynamic short code to the service processing request.
In one embodiment, before sending the service information carried by the service processing request to the target machine room device, the method includes:
checking the checking information;
the sending the service information carried by the service processing request to the target machine room equipment according to the verification information and a preset routing address list includes:
and when the verification result shows that the verification information contains the dynamic short code corresponding to the service processing request, sending the service information carried by the service processing request to the target machine room equipment according to the dynamic short code corresponding to the service processing request and the routing address list.
In one embodiment, the routing address list includes a one-to-one mapping relationship of node factors and routing addresses;
the sending the service information carried by the service processing request to the target machine room device according to the dynamic short code corresponding to the service processing request and the routing address list includes:
Obtaining a target node factor corresponding to the dynamic short code;
according to the target node factor, matching the route address list to a route address corresponding to the target node factor as a route address corresponding to the target machine room equipment;
and sending the service information carried by the service processing request to a routing address corresponding to the target machine room equipment.
In a second aspect, the present application also provides a message routing device, including:
the receiving module is used for receiving the service processing request;
the first transceiver module is used for sending the identity tag carried by the service processing request to target machine room equipment and receiving a dynamic short code generated by the target machine room equipment; the target machine room equipment is used for matching target node factors corresponding to the identity tags from a preset node factor list and generating dynamic short codes corresponding to the service processing requests according to the target node factors;
the sending module is used for sending the dynamic short code to a service requester corresponding to the service processing request;
the second transceiver module is used for sending the service information carried by the service processing request to the target machine room equipment according to the verification information and a preset routing address list when the verification information sent by the service requester is received; and the target machine room equipment is used for carrying out service processing according to the service information.
In a third aspect, the present application also provides a computer device. The computer device comprises a memory storing a computer program and a processor implementing the message routing method according to any of the embodiments above when the processor executes the computer program.
In a fourth aspect, the present application also provides a computer-readable storage medium. The computer readable storage medium has stored thereon a computer program which, when executed by a processor, implements the message routing method of any of the above embodiments.
In a fifth aspect, the present application also provides a computer program product. The computer program product comprises a computer program which, when executed by a processor, implements the message routing method according to any of the embodiments described above.
According to the message routing method, the device, the computer equipment, the storage medium and the computer program product, when the service processing request sent by the service request party is received, the identity tag carried by the service processing request is only sent to the target machine room equipment, so that the data content transmitted by the routing equipment is simpler, the message routing speed is increased, the time consumption is reduced, the receiving address of the target machine room equipment corresponding to the current verification information can be determined according to the routing address list, and therefore, when the service processing requests of different service request parties are processed at the same time and the verification information sent by different service request parties is received, the receiving address of the target machine room equipment corresponding to the different service request parties can be determined through the routing address list, and the information error routing is prevented.
Drawings
FIG. 1 is an application environment diagram of a message routing method in one embodiment;
FIG. 2 is a flow diagram of a message routing method in one embodiment;
FIG. 3 is a flow diagram of a message routing method in one embodiment;
FIG. 4 is a flow diagram of a message routing method in one embodiment;
FIG. 5 is a flow diagram of a message routing method in one embodiment;
FIG. 6 is a block diagram of an apparatus for message routing method in one embodiment;
fig. 7 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
The message routing method provided by the embodiment of the application can be applied to an application environment shown in fig. 1. The service provider can provide the routing device 102 and at least one machine room device 106, and can quickly switch to the machine room devices in other areas to provide service processing support when a disaster, a natural disaster, a fault or a network interruption occurs in a certain area by establishing the machine room devices in different geographic positions, so that service interruption caused by single-point fault is avoided; in addition, by arranging the machine room equipment in different areas, the business services of different business requesters can be deployed nearby, so that the time of data transmission is reduced, and the response speed is improved; moreover, by providing a plurality of machine room devices, the pressure of a single machine room device can be reduced, thereby allowing service providers to develop more diversified services. Different equipment room devices 106 may accept the same or different services.
The computer room equipment can comprise basic equipment such as a server, a network switch, a router, a data storage system and the like, the basic equipment provides necessary support for data storage, service operation, network communication and security assurance of a service provider, and the computer room equipment can realize efficient and stable data processing effect through reasonable configuration and management of the basic equipment. The routing device 102 may be connected to routers included in at least one equipment room device 106 via a network.
The routing device 102 in the embodiment of the present application is further in communication connection with at least one terminal 104 of a service requester through a network, and the routing device 102 is further connected with a data storage system, in this embodiment, the message routing method may be applied to the routing device 102, when the routing device 102 receives a service processing request sent by the terminal 104 of any service requester, the routing device selects a target machine room device from the machine room devices 106, then sends an identity tag carried by the service processing request to the target machine room device, and receives a dynamic short code generated by the target machine room device, where the target machine room device is configured to match a target node factor corresponding to the identity tag carried by the service processing request from a preset node factor list, and generate a dynamic short code corresponding to the service processing request according to the target node factor; the routing device 102 then sends the dynamic short code to the terminal 104 of the service requester corresponding to the service processing request; when the routing device 102 receives the verification information sent by the terminal 104 of the service requester, a preset routing address list is obtained from the data storage system, and then the service information carried by the service processing request is sent to the target machine room device according to the verification information and the routing address list; the target machine room equipment is used for carrying out corresponding service processing according to the service information. The service requester's terminal 104 may be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices. The portable wearable device may be a smart watch, smart bracelet, headset, or the like. The equipment room device 104 may include a server or a server cluster formed by a plurality of servers. The routing device 102 may be directly or indirectly connected to the terminal 104 and the equipment room device 106 through wired or wireless communication, for example, through a network connection. The node factor list may be pre-stored in a data storage system of the target room device, the data storage system may be a separate storage device, or the data storage system may be located on any one of the servers included in the target room device.
In one embodiment, as shown in fig. 2, a message routing method is provided, and this embodiment is illustrated by applying the message routing method to a routing device, where the message routing method includes:
step 202, receiving a service processing request.
The service processing request may refer to a request for performing corresponding service processing, which is made for any one service provided by the service provider.
As an example, the service processing request may be, for example, a request for transferring a virtual resource stored by the service requester at the service provider, or alternatively, the service processing request may be, for example, a request for querying a specific value of a virtual resource existing by the service requester at the service provider. The service processing request may be sent by a man-machine interaction interface of the terminal, and the man-machine interaction interface of the terminal may be a platform interface specified by a service provider, where the service requester may complete registration in advance.
Step 204, the identity tag carried by the service processing request is sent to the target machine room equipment, and a dynamic short code generated by the target machine room equipment is received; the target machine room equipment is used for matching the target node factors corresponding to the identity tags from a preset node factor list, and generating dynamic short codes corresponding to the service processing requests according to the target node factors.
The identity tag may be composed of at least one of letters, characters or numbers to uniquely identify the service requester.
As an example, the service requester completes registration in advance on a platform interface designated by the service requester to obtain an account corresponding to the service requester, and then the service requester sends a service processing request on the platform interface, where the service processing request may carry an identity tag corresponding to the service requester, and the identity tag may specifically be an account ID number, an account name, or a terminal device number and a terminal device name of a terminal used by the service requester corresponding to the service requester.
The target machine room equipment refers to machine room equipment for providing a service corresponding to the service processing request. The target machine room equipment can generate a dynamic short code for the service requester corresponding to the service processing request and perform corresponding service processing according to the service processing request.
The dynamic short code refers to a string of changeable characters consisting of numbers and letters, and as an example, the dynamic short code may be a short message verification code, an interactive serial number, and the like.
The node factor list may include, for example, a one-to-one mapping relationship between an identity tag and a node factor, after receiving a service processing request, the routing device sends the identity tag of the service processing request to a machine room device for processing a corresponding service, and after receiving the identity tag of the service processing request, the machine room device matches the node factor corresponding to the service processing request from the one-to-one mapping relationship between the identity tag and the node factor as a target node factor, and generates a dynamic short code according to the target node factor. Wherein the node factor may be at least one of letters, characters or numbers.
The process of generating the dynamic short code by the target machine room device according to the target node factor may be, for example, combining preset short code information with the target node factor. The short code information can contain fixed characters, and the target machine room equipment can carry out tail pasting treatment or random combination on the characters contained in the short code information and the target node factors to obtain the dynamic short code.
As an example, the short code information may include a fixed character "beijing", and the target node factor that the target machine room device matches according to the identity tag of the service processing request is "123", so that the target machine room device may perform tail-attaching processing on the short code information and the target node factor to obtain a dynamic short code "beijing123", or alternatively, the target machine room device may randomly combine the short code information and the target node factor to obtain a dynamic short code "b1ei2jing3".
After the dynamic short code is generated, the target machine room equipment returns the dynamic short code to the routing equipment.
And 206, transmitting the dynamic short code to a service requester corresponding to the service processing request.
As an example, the dynamic short codes also carry the identity tag, so as to distinguish service processing requests corresponding to different dynamic short codes.
After receiving the dynamic short code, the routing device sends the dynamic short code to a terminal of a service requester of the same service processing request of the identity tag according to the identity tag carried by the dynamic short code.
Step 208, when receiving the verification information sent by the service requester, sending the service information carried by the service processing request to the target machine room equipment according to the verification information and a preset routing address list; the target machine room equipment is used for carrying out service processing according to the service information.
The verification information refers to information sent by the service requester for determining that the service provider is authorized to perform corresponding service processing.
The verification information may carry an equipment tag of the target machine room equipment, and as an example, the routing device sends the equipment tag corresponding to the target machine room equipment to the service requester at the same time in step 206, and after receiving the dynamic short code and the equipment tag, the service requester may generate the verification information according to the equipment tag and send the verification information to the routing device. The equipment label can be at least one of letters, characters or numbers, and is used for uniquely indicating target machine room equipment for generating the dynamic short codes.
The routing address list may contain a one-to-one mapping of device tags and routing addresses.
After receiving the verification information sent by the service requester, the routing device firstly obtains the device tag carried by the verification information, then matches the routing address corresponding to the device tag from the routing address list as the receiving address of the target machine room device, further, as an example, when the routing device obtains the service processing request in step 202, the routing device stores the service information carried by the service processing request into the information queue for queuing, and when the routing device obtains the verification information sent by the service requester sending the service processing request, the routing device sends the service information in the information queue to the routing address matched from the routing address list, and after receiving the service information, the target machine room device performs subsequent related processing according to the service information.
In the message routing method, the hardware deployment of the adopted terminal, routing equipment and machine room equipment is simpler, the whole interaction is simple, the operation and maintenance cost is reduced while the interaction fault risk is reduced, the routing equipment can only send the identity tag carried by the service processing request to the target machine room equipment when receiving the service processing request sent by the service requesting party, so that the data content transmitted by the routing equipment is simpler, the message routing speed is accelerated, the time consumption is reduced, the target machine room equipment adopts the identity tag to match the node factor list to the target node factor, further a dynamic short code is generated, the routing equipment receives the check information sent by the service requesting party again after sending the dynamic short code to the service requesting party, and further determines the receiving address of the target machine room equipment corresponding to the current check information according to the routing address list, thereby enabling the routing equipment to simultaneously process the service processing requests of different service requesting parties and to determine the receiving addresses of the target machine room equipment corresponding to different service requesting parties through the routing address list when receiving the check information sent by different service requesting parties, and preventing the occurrence of wrong routing.
As shown in fig. 3, in some alternative embodiments, prior to step 204, further comprising:
and 203, determining target machine room equipment according to the service processing request.
In this embodiment, the routing device can implement information interaction between at least one terminal and at least one machine room device, and when a service processing request sent by a terminal of any service requester is received, it is required to determine a target machine room device for processing the current service processing request.
As an example, the routing device may store in advance a one-to-one correspondence between a plurality of services and a plurality of machine room devices, that is, it is equivalent to that in this embodiment, different machine room devices are respectively responsible for different service processing; or, the routing device may use the machine room device with the least number of service processing requests to be processed as the target machine room device corresponding to the current service processing request according to the queuing number in the information queue corresponding to each machine room device, that is, the functions of each machine room device are the same in this embodiment, and the routing device may perform random allocation of the service processing requests according to the workload of each machine room device, or, the routing device may sequentially allocate the received multiple service processing requests according to the preset arrangement sequence of the machine room devices.
As shown in fig. 4, in some alternative embodiments, step 203 comprises:
step 2032, obtaining time information of each machine room device that has received a service processing request last time, and ordering the time information corresponding to each machine room device according to a preset sequence;
step 2034, determining the target machine room equipment from the machine room equipment according to the ordering of the time information.
Accordingly, in step 204, the routing device may send the identity tag carried by the service processing request to the routing address corresponding to the target machine room device.
The preset sequence refers to the front-to-back sequence of the service processing requests received by different machine room devices.
As an example, the routing device is connected to the machine room device a, the machine room device B, and the machine room device C, respectively, and the routing device, according to a preset sequence stored in advance by the service provider, is the machine room device a, the machine room device C, and the machine room device B, and when receiving the service processing request, the routing device determines a target machine room device corresponding to the service processing request according to a repeated sequence of the machine room device a, the machine room device C, the machine room device B, the machine room device a, the machine room device C, and the machine room device B.
In some alternative embodiments, the machine room devices are in one-to-one correspondence with the area codes; the node factor list comprises a one-to-one mapping relation between region codes and node factors; the target machine room equipment is used for matching the node factors from the node factor list to the target node factors corresponding to the identity tags according to the corresponding region codes, and generating dynamic short codes according to the target node factors.
The area code may be at least one of letters, characters or numbers, and each machine room device has a corresponding area code, and the area code is used for uniquely identifying the machine room device, i.e. is equivalent to an identity tag of the machine room device.
The node factors can also be at least one of letters, characters or numbers, and the area codes of different machine room devices can respectively correspond to the node factors with different types and different lengths.
The target machine room equipment can be provided with a code generator, a node factor list is stored in the code generator in advance, after the target regional machine room receives the identity tag of the service processing request, the code generator can be adopted to match the target node factor corresponding to the regional code from the node factor list according to the regional code corresponding to the target regional machine room, and further according to the target node factor, a dynamic short code is generated by adopting a code generation algorithm, and the code generator can also store the generated dynamic short code.
As shown in fig. 5, in some alternative embodiments, prior to step 206, further comprising:
step 205, generating verification information containing the dynamic short code according to the preset display information and the dynamic short code.
Step 206 comprises: step 206a, sending the verification information containing the dynamic short code to the service processing request.
The presentation information may refer to preset, fixed text content. The presentation information may also contain, for example, the insertion location of the dynamic short code, then in step 205, the process of generating verification information from the presentation information and the dynamic short code may include: and inserting the dynamic short code into the insertion position in the display information to generate verification information.
The display information can also be understood as text information used for tail-end processing, and the display information is used for packaging the dynamic short codes, so that verification information sent from the routing equipment has the same fixed text format.
In some alternative embodiments, step 208 further comprises:
checking the checking information;
and when the verification result shows that the verification information contains the dynamic short code corresponding to the service processing request, sending the service information carried by the service processing request to the target machine room equipment according to the dynamic short code corresponding to the service processing request and the routing address list.
As an example, in step 206, when the routing device sends the dynamic short code to the service requester, the routing device stores the dynamic short code at the same time, and when receiving the verification information, matches the text content included in the verification information with all the stored dynamic short codes, and if the matching is successful, considers that the verification information includes the dynamic short code; if the matching fails, the verification information is considered to not contain the dynamic short code.
Or, in step 206, the routing device may also record the sending time of the dynamic short code when sending the dynamic short code to the service requester, and calculate the time of receiving the verification information and the time interval of the sending time when receiving the verification information, and when the time interval does not reach the preset valid duration threshold and the text content contained in the verification information is successfully matched with the stored dynamic short code, the routing device considers that the verification information contains the dynamic short code; when the time interval reaches a preset effective duration threshold value or the text content contained in the verification information is unsuccessfully matched with the stored dynamic short codes, the routing equipment considers that the verification information does not contain the dynamic short codes.
Or the dynamic short code generated by the target machine room equipment can also carry an identity tag of a service processing request, and correspondingly, when the routing equipment sends the dynamic short code to a service requester, the routing equipment can correspondingly store the dynamic short code and the identity tag carried by the dynamic short code, and simultaneously record the sending time of the dynamic short code; the verification information sent by the service request party can also carry the identity tag of the current service request party; when the routing equipment receives the check information, calculating the time interval of the time for receiving the check information and the time for sending the check information, matching text content and carried identity labels contained in the check information with all stored dynamic short codes and carried identity labels, and if the time interval does not reach a preset effective duration threshold, the text content is matched with the dynamic short codes and the text content is matched with the identity labels carried by the dynamic short codes, the routing equipment considers that the check information contains the dynamic short codes; if the time interval reaches a preset effective duration threshold, the text content is not matched with the dynamic short code, or the text content is matched with the dynamic short code but the identity labels carried by the text content and the dynamic short code are not matched, the routing equipment considers that the verification information does not contain the dynamic short code.
Further, step 208 may further include: and when the checking result shows that the checking information does not contain the dynamic short code corresponding to the service processing request, sending preset prompting information to the service requester to prompt the service requester to fail in verification.
After receiving the verification information, the service requester needs to send the verification information to the service provider again according to the dynamic short code, and the gateway equipment checks whether the verification information contains the dynamic short code, namely, whether the verification information sent by the service requester after receiving the verification information is checked, so that the received verification information is ensured to be the authorization confirmation of the service processing request sent in the previous time.
In some alternative embodiments, the routing address list includes a one-to-one mapping of node factors to routing addresses;
according to the dynamic short code and the route address list corresponding to the service processing request, the step of sending the service information carried by the service processing request to the target machine room equipment comprises the following steps:
obtaining a target node factor corresponding to the dynamic short code; according to the target node factor, matching the route address list to the route address corresponding to the target node factor, and taking the route address as the route address corresponding to the target machine room equipment; and sending the service information carried by the service processing request to a routing address corresponding to the target machine room equipment.
The routing device may be provided with a decoder, in which a routing address list is stored in advance, after receiving the verification information sent by the service requester, the routing device obtains a dynamic short code from the verification information, further obtains a target node factor corresponding to the dynamic short code, then finds a node factor matched with the target node factor from the routing address list, and further uses a routing address corresponding to the matched node factor as a routing address of the target machine room device. The routing address list stored in the routing device may be understood as a plurality of routing rules.
In the message routing method, the process that the routing device generates the dynamic short code according to the identity tag and the process that the target machine room device decodes the dynamic short code according to the verification information can be realized offline, the generation process and the decoding process of the dynamic short code can be independent of the network, and normal processing can be realized when the network is interrupted.
Compared with the prior art that the routing equipment does not recognize information, the method for routing the information is characterized in that the front-end equipment and the cache database are additionally arranged in the buffer area (Demilitarized Zone, DMZ) for information recognition and routing rule storage by the equipment in each equipment room, the method for routing the information is simple in whole interaction, reduces the risk of interaction faults and operation and maintenance costs, and when receiving the service processing request sent by the service requester, the equipment in the routing can determine the corresponding target equipment in the service processing request according to the preset equipment arrangement sequence and only sends the identity tag carried by the service processing request to the target equipment in the equipment room, so that the data content transmitted by the routing equipment is simpler, the message routing speed is accelerated, time consumption is reduced, dynamic short codes carried by the equipment can be extracted when the verification information sent by the service requester is received, the service requester does not need to change the reply habit when replying the information of the service provider, the efficient information recognition effect is achieved, the message routing speed is accelerated, and the service processing response speed of the service provider is accelerated.
It should be understood that, although the steps in the flowcharts related to the above embodiments are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.
Based on the same inventive concept, the embodiment of the application also provides a message routing device for realizing the above-mentioned related message routing method. The implementation of the solution provided by the device is similar to the implementation described in the above method, so the specific limitations in one or more embodiments of the message routing device provided below may be referred to above as limitations of the message routing method, and will not be described herein.
In one embodiment, as shown in fig. 6, a message routing apparatus 600 is provided: a receiving module 602, a first transceiver module 604, a transmitting module 606, and a second transceiver module 608, wherein:
the receiving module 602 is configured to receive a service processing request;
the first transceiver module 604 is configured to send an identity tag carried by a service processing request to a target machine room device, and receive a dynamic short code generated by the target machine room device; the target machine room equipment is used for matching target node factors corresponding to the identity tags from a preset node factor list and generating dynamic short codes corresponding to the service processing requests according to the target node factors;
the sending module 606 is configured to send the dynamic short code to a service requester corresponding to the service processing request;
the second transceiver module 608 is configured to send, when receiving the check information sent by the service requester, service information carried by the service processing request to the target machine room device according to the check information and a preset routing address list; the target machine room equipment is used for carrying out service processing according to the service information.
In some alternative embodiments, the first transceiver module 604 is further configured to:
and determining the target machine room equipment according to the service processing request.
In some alternative embodiments, the first transceiver module 604 is further configured to:
acquiring time information of service processing requests received by each machine room device in the last time, and sequencing the time information corresponding to each machine room device according to a preset sequence;
determining target machine room equipment from the machine room equipment according to the ordering of the time information;
the transmitting module 606 is further configured to:
and sending the identity tag carried by the service processing request to a routing address corresponding to the target machine room equipment.
In some alternative embodiments, the machine room devices are in one-to-one correspondence with the area codes;
the node factor list comprises a one-to-one mapping relation between region codes and node factors;
the target machine room equipment is used for matching the node factors from the node factor list to the target node factors corresponding to the identity tags according to the corresponding region codes, and generating dynamic short codes according to the target node factors.
In some alternative embodiments, the sending module 606 is further configured to:
generating verification information containing the dynamic short code according to preset display information and the dynamic short code;
and sending the verification information containing the dynamic short codes to the service processing request.
In some alternative embodiments, the second transceiver module 608 is further configured to:
Checking the checking information;
and when the verification result shows that the verification information contains the dynamic short code corresponding to the service processing request, sending the service information carried by the service processing request to the target machine room equipment according to the dynamic short code corresponding to the service processing request and the routing address list.
In some alternative embodiments, the routing address list includes a one-to-one mapping of node factors to routing addresses;
the second transceiver module 608 is further configured to:
obtaining a target node factor corresponding to the dynamic short code;
according to the target node factor, matching the route address list to the route address corresponding to the target node factor, and taking the route address as the route address corresponding to the target machine room equipment;
and sending the service information carried by the service processing request to a routing address corresponding to the target machine room equipment.
The various modules in the message routing apparatus described above may be implemented in whole or in part by software, hardware, or a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a terminal, and the internal structure of which may be as shown in fig. 7. The computer device includes a processor, a memory, an input/output interface, a communication interface, a display unit, and an input means. The processor, the memory and the input/output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input/output interface. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The input/output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless mode can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a message routing method. The display unit of the computer device is used for forming a visual picture, and can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, can also be a key, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the structure shown in FIG. 7 is merely a block diagram of some of the structures associated with the present inventive arrangements and is not limiting of the computer device to which the present inventive arrangements may be applied, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In one embodiment, a computer readable storage medium is provided having a computer program stored thereon, which when executed by a processor, implements the steps of the message routing method described above.
In one embodiment, a computer program product is provided comprising a computer program product which, when executed by a processor, implements the steps of the message routing method described above.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high density embedded nonvolatile Memory, resistive random access Memory (ReRAM), magnetic random access Memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric Memory (Ferroelectric Random Access Memory, FRAM), phase change Memory (Phase Change Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like. The databases referred to in the embodiments provided herein may include at least one of a relational database and a non-relational database. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processor referred to in the embodiments provided in the present application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic unit, a data processing logic unit based on quantum computing, or the like, but is not limited thereto.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The foregoing examples illustrate only a few embodiments of the application and are described in detail herein without thereby limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of the application should be assessed as that of the appended claims.

Claims (11)

1. A method of message routing, comprising:
receiving a service processing request;
the identity tag carried by the service processing request is sent to target machine room equipment, and a dynamic short code generated by the target machine room equipment is received; the target machine room equipment is used for matching target node factors corresponding to the identity tags from a preset node factor list and generating dynamic short codes corresponding to the service processing requests according to the target node factors;
Transmitting the dynamic short code to a service requester corresponding to the service processing request;
when receiving the verification information sent by the service request party, sending the service information carried by the service processing request to the target machine room equipment according to the verification information and a preset routing address list; and the target machine room equipment is used for carrying out service processing according to the service information.
2. The method of claim 1, wherein before sending the identity tag carried by the service processing request to the target machine room device, the method comprises:
and determining the target machine room equipment according to the service processing request.
3. The method of claim 2, wherein the determining the target machine room device according to the service processing request comprises:
acquiring time information of service processing requests received by each machine room device in the last time, and sequencing the time information corresponding to each machine room device according to a preset sequence;
determining the target machine room equipment from the machine room equipment according to the sequence of the time information;
the sending the identity tag carried by the service processing request to the target machine room equipment includes:
And sending the identity tag carried by the service processing request to a routing address corresponding to the target machine room equipment.
4. The method of claim 1, wherein the machine room devices are in one-to-one correspondence with area codes;
the node factor list comprises a one-to-one mapping relation between the region codes and the node factors;
the target machine room equipment is used for matching the target node factors corresponding to the identity tags from the node factor list according to the corresponding region codes, and generating the dynamic short codes according to the target node factors.
5. The method of claim 4, wherein before the sending the dynamic short code to the service requester corresponding to the service processing request, the method comprises:
generating verification information containing the dynamic short code according to preset display information and the dynamic short code;
the sending the dynamic short code to the service requester corresponding to the service processing request includes:
and sending the verification information containing the dynamic short code to the service processing request.
6. The method of claim 5, wherein before sending the service information carried by the service processing request to the target equipment room device, the method comprises:
Checking the checking information;
the sending the service information carried by the service processing request to the target machine room equipment according to the verification information and a preset routing address list includes:
and when the verification result shows that the verification information contains the dynamic short code corresponding to the service processing request, sending the service information carried by the service processing request to the target machine room equipment according to the dynamic short code corresponding to the service processing request and the routing address list.
7. The method of claim 6, wherein the routing address list includes a one-to-one mapping of node factors to routing addresses;
the sending the service information carried by the service processing request to the target machine room device according to the dynamic short code corresponding to the service processing request and the routing address list includes:
obtaining a target node factor corresponding to the dynamic short code;
according to the target node factor, matching the route address list to a route address corresponding to the target node factor as a route address corresponding to the target machine room equipment;
and sending the service information carried by the service processing request to a routing address corresponding to the target machine room equipment.
8. A message routing apparatus, comprising:
the receiving module is used for receiving the service processing request;
the first transceiver module is used for sending the identity tag carried by the service processing request to target machine room equipment and receiving a dynamic short code generated by the target machine room equipment; the target machine room equipment is used for matching target node factors corresponding to the identity tags from a preset node factor list and generating dynamic short codes corresponding to the service processing requests according to the target node factors;
the sending module is used for sending the dynamic short code to a service requester corresponding to the service processing request;
the second transceiver module is used for sending the service information carried by the service processing request to the target machine room equipment according to the verification information and a preset routing address list when the verification information sent by the service requester is received; and the target machine room equipment is used for carrying out service processing according to the service information.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the message routing method of any of claims 1 to 7 when the computer program is executed.
10. A computer readable storage medium having stored thereon a computer program, which when executed by a processor implements the steps of the message routing method of any of claims 1 to 7.
11. A computer program product comprising a computer program, characterized in that the computer program, when being executed by a processor, implements the steps of the message routing method of any of claims 1 to 7.
CN202310975509.7A 2023-08-03 2023-08-03 Message routing method, device and computer equipment Pending CN117041148A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310975509.7A CN117041148A (en) 2023-08-03 2023-08-03 Message routing method, device and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310975509.7A CN117041148A (en) 2023-08-03 2023-08-03 Message routing method, device and computer equipment

Publications (1)

Publication Number Publication Date
CN117041148A true CN117041148A (en) 2023-11-10

Family

ID=88621952

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310975509.7A Pending CN117041148A (en) 2023-08-03 2023-08-03 Message routing method, device and computer equipment

Country Status (1)

Country Link
CN (1) CN117041148A (en)

Similar Documents

Publication Publication Date Title
US11887176B2 (en) Method for registering customized device, server, and terminal
WO2018108059A1 (en) Method and device for processing template data, requesting for template data and presenting template data
US10397147B2 (en) Method, apparatus and device for exchanging name card
CN106572173A (en) Method, apparatus and system for updating configuration information
CN106686105B (en) Message pushing method, computing device, server and information sharing system
CN110750222A (en) Printing method, printing device, computer equipment and storage medium
CN109947408B (en) Message pushing method and device, storage medium and electronic equipment
CN106254319B (en) Light application login control method and device
CN104660557A (en) Operation processing method and device
US9246925B2 (en) Method and system for third-party service platform login
US20120143943A1 (en) Cloud service system and method, and recording medium
CN109274705A (en) Service providing method, apparatus and system based on user identity
CN110213071B (en) Data checking method, device, system, computer equipment and storage medium
CN108684044A (en) A kind of user behavior detecting system, method and device
CN107391003A (en) Navigation data processing method
US20210112025A1 (en) Method and server for processing messages
US11357020B2 (en) Connecting computer processing systems and transmitting data
US11290575B2 (en) Connecting computer processing systems and transmitting data
US11405766B2 (en) Connecting computer processing systems and transmitting data
CN108600255B (en) Mock service management method, device, computer equipment and storage medium
WO2014169498A1 (en) Method and system for third-party service platform login
CN117041148A (en) Message routing method, device and computer equipment
CN114745280B (en) Asset information management method, device, equipment and readable storage medium
CN113873450B (en) Short message configuration method, device, computer equipment and storage medium
US9760327B2 (en) Determining rendering systems utilizing printer locations and rendering system attributes

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