Systems and methods for computer message conversion and validation
A computer-implemented method for validating and converting a data message is provided. The method is implemented using a data message validation and conversion (DMVC) computer device in communication with a memory. The method includes receiving from a client device a first data message in a first communication protocol. The first data message includes a plurality of data elements that include a format and a content. The method also includes converting the first data message into a second communication protocol, determining if the format and the content of each data element of the plurality of data elements is valid, if the determination is that at least one of the format and the content of at least one data element is not valid, generating a detailed report about the first data message and providing the detailed report to the client device, and otherwise transmitting the converted first data message.
1 . A computer device for validating and converting computer data messages in different communication formats, the computer device comprising at least one processor communicatively coupled to at least one memory device, the at least one processor configured to:
receive from a plurality of client computer devices a plurality of data messages, wherein each of the received plurality of data messages includes (i) a plurality of data elements of an authorization request message and (ii) at least one setting option, wherein each of the plurality of data elements includes a format defined by a byte-size of that data element and a byte-location of that data element across the corresponding data message, and wherein the at least one setting option in each data message specifies: (i) a first communication protocol that the data message is currently in, (ii) a second communication protocol that the data message is to be converted into, and (iii) a destination for the data message after conversion;
determine, for each received data message, that a first byte-size and a first byte-location of one or more data elements of that received data message correspond to the first communication protocol by comparing (i) at least one stored first byte-size and at least one stored first byte-location in a database for the first communication protocol to (ii) the first byte-size and the first byte-location of each received data message;
retrieve, from the database for each received data message, at least one stored second byte-size and at least one stored second byte-location corresponding to the second communication protocol specified by the at least one setting option included in that received data message;
generate a new data message for each received data message by repositioning within each new data message at least one of the first byte-size or the first byte-location of the first communication protocol into at least one of a second byte-size corresponding to the at least one stored second byte-size and a second byte-location corresponding to the at least one stored second byte-location, thereby converting each received data message into the second communication protocol;
determine validity of each of the plurality of data elements in each converted new data message by comparing (i) a format of each data element in each converted new data message to rules for proper format corresponding to the second communication protocol and (ii) a content of each data element in each converted new data message to a stored content in the database; and
for each converted new data message:
if the determination is that at least one of the content or the format of at least one of the plurality of data elements is invalid after conversion to the second communication protocol, execute debugging operations including: (i) marking the at least one data element as invalid, (ii) identifying at least one of the invalid content or the invalid format of the at least one data element, (iii) generating computer-executable debugging instructions to correct at least one of the identified invalid content or the identified invalid format, (iv) generating a report listing at least one of the identified invalid content or the identified invalid format, and the debugging instructions, and (v) transmitting the report to one of the plurality of client computer devices that transmitted the received data message, thereby reducing time required to debug the plurality of data elements of the converted new data message and reducing time required to convert the by providing (i) identification of at least one of the invalid content or the invalid format and (ii) the debugging instructions to correct at least one of the identified invalid content or the identified invalid format; and
if the determination is that the format and the content of the plurality of data elements is valid after conversion to the second communication protocol, transmit the converted new data message to the destination identified by the at least one setting option included in the received data message.
2 . The computer device of claim 1 , wherein the at least one setting option is configured to instruct the computer device how to process the received data message including the at least one setting option.
3 . The computer device of claim 1 , wherein the plurality of data elements and the at least one setting option constitute separate parts of each received data message.
4 . The computer device of claim 1 , wherein the at least one processor is further configured to read the content of each of the plurality of data elements based on at least one of the byte-size and the byte-location corresponding to the first communication protocol.
5 . The computer device of claim 1 , wherein the destination is a processing network, and wherein the second communication protocol enables communication between the computer device and the processing network.
6 . The computer device of claim 1 , wherein the destination is a client computer device of the plurality of client computer devices.
7 . The computer device of claim 1 , wherein the at least one processor is further configured to:
store a plurality of format and content information for a plurality of additional data elements;
compare each data element in a converted new data message to the plurality of format and content information to determine whether the format and the content of each data element in the converted new data message is valid; and
mark as invalid each data element in the converted new data message that includes at least one of the format or the content determined to be invalid.
8 . A computer-implemented method for validating and converting computer data messages in different communication formats, the method implemented using a computer device including at least one processor communicatively coupled to at least one memory device, the method comprising:
receiving from a plurality of client computer devices a plurality of data messages, wherein each of the received plurality of data messages includes (i) a plurality of data elements of an authorization request message and (ii) at least one setting option, wherein each of the plurality of data elements includes a format defined by a byte-size of that data element and a byte-location of that data element across the corresponding data message, and wherein the at least one setting option in each data message specifies: (i) a first communication protocol that the data message is currently in, (ii) a second communication protocol that the data message is to be converted into, and (iii) a destination for the data message after conversion;
determining, for each received data message, that a first byte-size and a first byte-location of one or more data elements of that received data message correspond to the first communication protocol by comparing (i) at least stored first byte-size and at least one stored first byte-location in a database for the first communication protocol to (ii) the first byte-size and the first byte-location of each received data message
retrieving from the database for each received data message, at least stored second byte-size and at least one stored second byte-location corresponding to the second communication protocol specified by the at least one setting option included in that received data message;
generating a new data message for each received data message by repositioning within each new data message at least one of the first byte-size or the first byte-location of the first communication protocol into at least one of a second byte-size corresponding to the at least one stored second byte-size and a second byte-location corresponding to the at least one stored second byte-location, thereby converting each received data message into the second communication protocol;
determining the validity each of the plurality of data elements in each converted new data message by comparing (i) a format of each data element in each converted new data message to rules for proper format corresponding to the second communication protocol and (ii) a content of each data element in each converted new data message to a stored content in the database; and
for each converted new data message:
if the determination is that at least one of the content or the format of at least one of the plurality of data elements is invalid after conversion to the second communication protocol, executing debugging operations comprising: (i) marking the at least one data element as invalid, (ii) identifying at least one of the invalid content or the invalid format of the at least one data element, (iii) generating computer-executable debugging instructions to correct at least one of the identified invalid content or the identified invalid format, (iv) generating a report listing at least one of the identified invalid content or the identified invalid format, and the debugging instructions, and (v) transmitting the report to one of the plurality of client computer devices that transmitted the received data message, thereby reducing time required to debug the plurality of data elements of the converted new data message by providing (i) identification of at least one of the invalid content or the invalid format and (ii) the debugging instructions to correct at least one of the identified invalid content or the identified invalid format; and
if the determination is that the format and the content of the plurality of data elements is valid after conversion to the second communication protocol, transmitting the converted new data message to the destination identified by the at least one setting option included in the received data message.
9 . The computer-implemented method of claim 8 , wherein the at least one setting option is configured to instruct the computer device how to process the received data message including the at least one setting option.
10 . The computer-implemented method of claim 8 , wherein the plurality of data elements and the at least one setting option constitute separate parts of each received data message.
11 . The computer-implemented method of claim 8 further comprising reading the content of each of the plurality of data elements based on at least one of the byte-size and the byte-location corresponding to the first communication protocol.
12 . The computer-implemented method of claim 8 , wherein the destination is a processing network, and wherein the second communication protocol enables communication between the computer device and the processing network.
13 . The computer-implemented method of claim 8 , wherein the destination is a client computer device of the plurality of client computer devices.
14 . The computer-implemented method of claim 8 further comprising:
storing a plurality of format and content information for a plurality of additional data elements;
comparing each data element in a converted new data message to the plurality of format and content information to determine whether the format and the content of each data element in the converted new data message is valid; and
marking as invalid each data element in the converted new data message that includes at least one of the format or the content determined to be invalid.
15 . At least one non-transitory computer-readable storage medium having computer-executable instructions embodied thereon, wherein when executed by a computer device having at least one processor coupled to at least one memory device, the computer-executable instructions cause the at least one processor to:
receive from a plurality of client computer devices a plurality of data messages, wherein each of the received plurality of data messages includes (i) a plurality of data elements of an authorization request message and (ii) at least one setting option, wherein each of the plurality of data elements includes a format defined by a byte-size of that data element and a byte-location of that data element across the corresponding data message, and wherein the at least one setting option in each data message specifies (i) a first communication protocol that the data message is currently in, (ii) a second communication protocol that the data message is to be converted into, and (iii) a destination for the data message after conversion;
determine, for each received data message, that a first byte-size and a first byte-location of one or more data elements of that received data message correspond to the first communication protocol by comparing (i) at least one stored first byte-size and at least one stored first byte-location in a database for the first communication protocol to (ii) the first byte-size and the first byte-location of each received data message;
retrieve from the database for each received data message, at least one stored second byte-size and at least one stored second byte-location corresponding to the second communication protocol specified by the at least one setting option included in that received data message;
generate a new data message for each received data message by repositioning within each new data message at least one of the first byte-size or the first byte-location of the first communication protocol into at least one of a second byte-size corresponding to the at least one stored second byte-size and a second byte-location corresponding to the at least one stored second byte-location, thereby converting each received data message into the second communication protocol;
determine validity of each of the plurality of data elements in each converted new data message by comparing (i) a format of each data element in each converted new data message to rules for proper format and content corresponding to the second communication protocol and (ii) a content of each data element in each converted new data message to a stored content in the database; and
for each converted new data message:
if the determination is that at least one of the content or the format of at least one of the plurality of data elements is invalid after conversion to the second communication protocol, execute debugging operations including: (i) marking the at least one data element as invalid, (ii) identifying at least one of the invalid content or the invalid format of the at least one data element, (iii) generating computer-executable debugging instructions to correct at least one of the identified invalid content or the identified invalid format, (iv) generating a report listing at least one of the identified invalid content or the identified invalid format, and the debugging instructions, and (v) transmitting the report to one of the plurality of client computer devices that transmitted the received data message, thereby reducing time required to debug the plurality of data elements of the converted new data message by providing (i) identification of at least one of the invalid content or the invalid format and (ii) the debugging instructions to correct at least one of the identified invalid content or the identified invalid format; and
if the determination is that the format and the content of the plurality of data elements is valid after conversion to the second communication protocol, transmit the converted new data message to the destination identified by the at least one setting option included in the received data message.
16 . The at least one non-transitory computer-readable storage medium of claim 15 , wherein the at least one setting option is configured to instruct the computer device how to process the received data message including the at least one setting option.
17 . The at least one non-transitory computer-readable storage medium of claim 15 , wherein the plurality of data elements and the at least one setting option constitute separate parts of each received data message.
18 . The at least one non-transitory computer-readable storage medium of claim 15 , wherein the computer-executable instructions further cause the at least one processor to read the content of each of the plurality of data elements based on at least one of the byte-size and the byte-location corresponding to the first communication protocol.
19 . The at least one non-transitory computer-readable storage medium of claim 15 , wherein the destination is a processing network, and wherein the second communication protocol enables communication between the computer device and the processing network.
20 . The at least one non-transitory computer-readable storage medium of claim 15 , wherein the computer-executable instructions further cause the at least one processor to:
store a plurality of format and content information for a plurality of additional data elements;
compare each data element in a converted new data message to the plurality of format and content information to determine whether the format and the content of each data element in the converted new data message is valid; and
mark as invalid each data element in the converted new data message that includes at least one of the format or the content determined to be invalid.