SQL-based message queue SDK access method, system and storage medium
Through the SQL-based message queue SDK access method, a unified interface for multi-language SDKs is realized, which solves the problem of convenient access to multi-language message queue SDKs, improves development efficiency and security, and optimizes concurrency management.
Patent Information
- Application Number
- CN202211663233.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-23
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2042-12-23
AI Technical Summary
Existing technology cannot effectively solve the problem of convenient access to message queue SDKs in multiple languages, resulting in the need to write multiple calling interfaces in different languages when accessing multiple asynchronous RPCs, affecting development efficiency.
Using the SQL-based Message Queue SDK access method, by receiving and interpreting SQL requests, the corresponding Message Queue SDK call statements are generated and processed in the message service cluster and queue cluster to achieve a unified access interface for multi-language SDKs, including user verification. and load balancing management.
It simplifies access to message queue SDKs in multiple languages, improves execution efficiency, ensures access security, optimizes concurrency management, and significantly improves development efficiency.
Smart Images

Figure CN115941619B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of information technology, and in particular to a method, system and storage medium for accessing a message queue SDK based on SQL. Background Art
[0002] Message queue MQ (Message Queue) is an important component in distributed systems. Its general usage scenario can be simply described as: when you don't need to get the result immediately, but the concurrency needs to be controlled, that's when you need to use the message queue. Message queues mainly solve problems such as application coupling, asynchronous processing, and traffic clipping. Message queues have gradually become the core means of internal communication in enterprise IT systems. Because of its advantages such as low coupling, reliable delivery, easy broadcasting, traffic control, and eventual consistency, it has gradually become one of the main means of implementing asynchronous RPC. In order to meet customers' needs for different languages, there will be asynchronous RPCs implemented by SDKs in various languages. Each SDK corresponding to different languages provides a complete message queue processing call interface. Although it is convenient for a single user to use, when an application project needs to access multiple asynchronous RPCs, it is necessary to write multiple call interfaces in different languages, resulting in a lot of repetitive work and affecting the development efficiency of the project. For this reason, it is necessary to study the message queue usage scheme that can adapt to different SDKs.
[0003] The prior art discloses a multi-project message management method and system, including: establishing project applications and project groups, configuring each project application id and project group id, creating message queues, and binding at least one message queue to each project application; calling the project application message through SDK, and sending the project application message to the bound corresponding message queue; generating a project application message including application authentication data and forwarding target, and judging whether the project application message has forwarding authority; if it is judged that there is forwarding authority, the project application message is forwarded and then parsed to obtain the target message queue id in the project application message, and judging whether the sender corresponding to the target message queue id has sending authority; if it is judged that the sender does not have sending authority, failure is returned, otherwise the application message accesses the message queue. The unified management and forwarding operations of the project message queue are realized through the system SDK, which can improve the management effect of the project message queue. However, its technical solution cannot solve the problem of insufficient convenience of accessing the SDK message queues in multiple languages. Summary of the invention
[0004] The technical problem to be solved by the present invention is that there is currently a lack of a convenient access solution for message queue SDKs in multiple languages. A method, system and storage medium for accessing message queue SDKs based on SQL are proposed, which can provide a unified access interface for message queue SDKs in multiple languages, significantly improving the execution efficiency of applications that need to access message queue SDKs in multiple languages.
[0005] To solve the above technical problems, the present invention adopts the following technical solution: a SQL-based message queue SDK access method, comprising the following steps:
[0006] Receive network messages containing SQL requests;
[0007] Interpret the SQL request and generate a corresponding message queue SDK call statement;
[0008] Submit the call statement to the message queue SDK to obtain the call result;
[0009] The calling result is encoded to generate a response message of the network message.
[0010] Preferably, the network message also includes a user verification message, which includes a user login name and password. After receiving the network message, the user login name and password are first verified. If the verification is successful, execution continues. Otherwise, if the verification fails, a response message indicating that the login verification failed is generated.
[0011] Preferably, the method for generating a call statement of the corresponding message queue SDK includes:
[0012] Establish a conversion comparison table between SQL keywords and calling statements;
[0013] Obtaining a call statement corresponding to an SQL keyword of an SQL request according to the conversion comparison table;
[0014] The parameters of the SQL request are extracted and filled into the calling statement, thereby completing the generation of the calling statement.
[0015] Preferably, the method of submitting the call statement to the message queue SDK includes:
[0016] Establish a message service cluster and a message queue cluster, wherein the message service cluster includes several message servers, and the message queue cluster includes several message queue shards, and the message queue shards are called by the message queue SDK;
[0017] Each message server in the message service cluster is allocated at least one message queue shard;
[0018] The message server of the message service cluster receives the call statement, and adds the received call statement to an allocated message queue slice.
[0019] Preferably, the method for allocating message queue shards by the message service cluster includes:
[0020] The message servers of the message service cluster periodically vote to elect a leader server within a period;
[0021] The Leader server generates an allocation plan for the message queue shards.
[0022] Preferably, the Leader server dynamically adjusts the allocation scheme of the message queue shards according to the message queue SDK load. The method for dynamically adjusting the allocation scheme of the message queue shards includes:
[0023] The Leader server monitors the load rate of the message queue SDK;
[0024] According to the load rate of the message queue SDK, the average load rate of the message queue SDK corresponding to each message server is obtained, which is recorded as the average load rate of the message server;
[0025] The message server with an average load rate higher than the preset threshold is recorded as a high-load message server, and the message server with the lowest average load rate and allocated more than two message queue shards is recorded as a surplus message server. One message queue shard is selected from the message queue shards of the surplus message server and allocated to the high-load message server.
[0026] Preferably, the load rate of the message queue SDK includes the CPU usage of the server running the message queue SDK, the TPS of the message queue SDK, and the network traffic of the message queue SDK. The average load rate of the message queue SDK is the average CPU usage, average TPS, and average network traffic of the message queue SDK corresponding to each message server. The CPU usage, the TPS, and the network traffic are respectively set with thresholds. If the average CPU usage, the average TPS, or the average network traffic exceeds the corresponding threshold, the average load rate is determined to be higher than the preset threshold. Conversely, if the average CPU usage, the average TPS, and the average network traffic do not exceed the corresponding threshold, the average load rate is determined to be lower than the preset threshold. A SQL-based message queue SDK access system is used to execute the aforementioned SQL-based message queue SDK access method, including a client, an SQL interface server, and a message server.
[0027] The client sends a network message containing an SQL request to the SQL interface server, the SQL interface server interprets the SQL request, generates a corresponding message queue SDK call statement, the SQL interface server submits the call statement to the message server, the message server calls the local message queue SDK to obtain the call result, and feeds the call result back to the SQL interface server, the SQL interface server encodes the call result, generates a response message to the network message, and sends the corresponding message to the client.
[0028] A computer system includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the SQL-based message queue SDK access method described above is implemented.
[0029] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the SQL-based message queue SDK access method described above is implemented.
[0030] The beneficial technical effects of the present invention include: by interpreting and encoding network message requests, conversion between local message queue SDK and SQL requests is realized, and message queue SDKs in multiple languages can be operated using unified SQL statements, thereby simplifying access to message queue SDKs in multiple languages and improving the access efficiency of message queue SDK; user identity is verified through user verification messages to ensure the security of message queue SDK access; balanced control of message queue SDK access load can be achieved through message service clusters and message queue clusters, achieving more optimized concurrency management and improving the access efficiency of message queue SDK.
[0031] Other features and advantages of the present invention will be disclosed in detail in the following specific embodiments and drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] The present invention will be further described below in conjunction with the accompanying drawings:
[0033] Figure 1 The figure is a flow chart of a method for accessing a message queue SDK according to an embodiment of the present invention.
[0034] Figure 2 A flowchart of a method for generating a call statement according to an embodiment of the present invention.
[0035] Figure 3 The present invention is a flowchart of a method for submitting a call statement according to an embodiment of the present invention.
[0036] Figure 4This is a schematic diagram of exclusive connection of a message service cluster according to an embodiment of the present invention.
[0037] Figure 5 This is a schematic diagram of message service cluster sharing connection according to an embodiment of the present invention.
[0038] Figure 6 The figure is a schematic diagram of message queue cluster connection according to an embodiment of the present invention.
[0039] Figure 7 The present invention is a flowchart of a method for dynamically adjusting message queue fragmentation according to an embodiment of the present invention.
[0040] Figure 8 This is a schematic diagram of message queue sharding before adjustment according to an embodiment of the present invention.
[0041] Fig. 9 The figure is a schematic diagram of message queue sharding after adjustment according to an embodiment of the present invention.
[0042] Fig.10 The figure is a schematic diagram of the computer system structure according to an embodiment of the present invention.
[0043] Among them: 10, client, 20, SQL interface server, 30, message service cluster, 31, load balancing module, 32, message server, 40, message queue cluster, 41, message queue sharding, 50, computer system, 51, memory, 52, computer program, 53, processor. DETAILED DESCRIPTION
[0044] The technical solutions of the embodiments of the present invention are explained and described below in conjunction with the drawings of the embodiments of the present invention, but the following embodiments are only preferred embodiments of the present invention, not all. Based on the embodiments in the implementation mode, other embodiments obtained by those skilled in the art without creative work are all within the protection scope of the present invention.
[0045] In the following description, terms such as "inside", "outside", "up", "down", "left", "right", etc. that indicate directions or positional relationships are only used to facilitate the description of the embodiments and simplify the description, and do not indicate or imply that the referred device or element must have a specific direction, be constructed and operate in a specific direction. Therefore, it should not be understood as a limitation of the present invention.
[0046] Explanation of the name:
[0047] RAFT, a distributed consensus algorithm.
[0048] MQ (Message Queue) is a "first-in, first-out" data structure in the basic data structure. It is generally used to solve problems such as application decoupling, asynchronous messaging, and traffic peak shaving, and to achieve high performance, high availability, scalability, and eventual consistency architecture.
[0049] SQL (Structured Query Language) Structured Query Language.
[0050] SDK, which is the abbreviation of Software Development Kit, is translated as software development kit. In this embodiment, it refers to the message queue calling toolkit.
[0051] KV storage refers to the Key-value data storage method, which is a data storage method that stores data in key-value pairs.
[0052] TPS (Transaction per Second) refers to the number of transactions that the system can process per second, that is, the system throughput.
[0053] Before introducing the solution of this embodiment, the related technology of this embodiment is introduced.
[0054] Message queue MQ (Message Queue) is an important component in distributed systems. Its general usage scenario can be simply described as: when you don't need to get results immediately, but the concurrency needs to be controlled, that's when you need to use a message queue. Message queues mainly solve problems such as application coupling, asynchronous processing, and traffic clipping. Message queues have gradually become the core means of internal communication in enterprise IT systems. In order to meet customer needs for different languages, there will be asynchronous RPCs implemented by SDKs in various languages. Each SDK corresponding to different languages provides a complete message queue processing call interface. Although it is convenient for a single user to use, when an application project needs to access multiple asynchronous RPCs, it is necessary to write multiple call interfaces in different languages, resulting in a lot of repetitive work and affecting the development efficiency of the project.
[0055] Structured Query Language (SQL) is a special-purpose programming language. It is a database query and programming language used to access data, query, update, and manage relational database systems. SQL has multiple functions such as data manipulation and data definition. It is a non-procedural language, a unified language, and a common language for all relational databases. It is precisely because of these characteristics that SQL can provide great convenience for users and improve the work quality and efficiency of computer application systems.
[0056] This embodiment uses SQL, a widely used formatting language, to implement a unified interface for calling message queue SDKs in multiple languages. When developing an application project, SQL is used to write the operation code for the message queue. After the project is deployed, the SQL-based message queue SDK access method or system provided in this embodiment can be used to access the message queue without considering the language type of the message queue SDK. This significantly simplifies the access to the message queue SDK. Please refer to the attached Figure 1 , the SQL-based message queue SDK access method includes the following steps:
[0057] Step A01) receiving a network message containing an SQL request;
[0058] Step A02) interpreting the SQL request and generating a corresponding message queue SDK call statement;
[0059] Step A03) Submit the call statement to the message queue SDK to obtain the call result;
[0060] Step A04) Encode the call result and generate a response message of the network message.
[0061] Accept SQL requests through network messages, which is suitable for use in distributed systems. Interpret SQL requests as call statements corresponding to the local message queue SDK, and make access calls to the message queue SDK. Encode the results of the access call into network messages and feed them back to the requester to complete the access to the message queue SDK. For message queue SDKs in different languages, use the corresponding interpretation rules to achieve a unified access interface for the message queue SDK and simplify access to the message queue SDK.
[0062] The network message also includes a user verification message, which includes the user login name and password. After receiving the network message, the user login name and password are first verified. If the verification is successful, the execution continues. Otherwise, if the verification fails, a response message indicating that the login verification failed is generated. The user identity is verified through the user verification message to ensure the security of the message queue SDK access.
[0063] Please refer to the attached Figure 2 , the method of generating the corresponding message queue SDK call statement includes:
[0064] Step B01) Create a conversion comparison table between SQL keywords and call statements;
[0065] Step B02) obtaining a call statement corresponding to the SQL keyword of the SQL request according to the conversion comparison table;
[0066] Step B03) extract the parameters of the SQL request and fill in the call statement, thus completing the generation of the call statement.
[0067] The correspondence between the main SQL keywords and the message queue SDK call statements is as follows:
[0068] The SQL keyword SET corresponds to setting the corresponding attributes of the client 10 of the message queue.
[0069] The SQL keyword INSERT corresponds to creating a Producer object for the message queue and sending a message.
[0070] The SQL keyword SELECT / CALL corresponds to creating or associating a Consumer object with a message queue and pulling messages.
[0071] The SQL keywords COMMIT / ROLLBACK correspond to the confirmation / rollback retry of message consumption. You can use the corresponding call statements in the language corresponding to the local message queue SDK.
[0072] Please refer to the attached Figure 3 , the methods for submitting call statements to the message queue SDK include:
[0073] Step C01) establishing a message service cluster 30 and a message queue cluster 40, wherein the message service cluster 30 includes a plurality of message servers 32, and the message queue cluster 40 includes a plurality of message queue shards 41, and the message queue shards 41 are called by the message queue SDK;
[0074] Step C02) Each message server 32 of the message service cluster 30 is allocated at least one message queue shard 41;
[0075] Step C03 ) The message server 32 of the message service cluster 30 receives the call statement, and adds the received call statement to an allocated message queue shard 41 .
[0076] This embodiment uses raft to build a three-node message service cluster 30 and provides an RPC interface for KV storage. Figure 4, the user uses the client 10 to connect to the SQL interface server 20, sends a network message with an SQL request to the SQL interface server 20, and the SQL interface server 20 creates a user object in the memory, and then interprets the corresponding SQL request as a message queue SDK call statement, and then passes it to the message service cluster 30 for processing. In this embodiment, the user object of the SQL interface server 20 can correspond to only one user or multiple users. In the setting of the SQL interface server 20, when auto_commit=false, the user object corresponds to only one user, and the user exclusively uses the user object, that is, the consumer object. Please refer to the attached Figure 5 When auto_commit=true, the consumer object is shared by multiple users, and each consumer object establishes a request queue. SQL requests sent by clients 10 of different users will be added to the request queue in sequence, and the consumer object processes the SQL requests in the request queue one by one.
[0077] The message service cluster 30 may include only a plurality of message servers 32, or may also include a load balancing module 31. Figure 6 The call statement sent by the SQL interface server 20 passes through the load balancer to select a message server 32 from multiple message servers 32. Then the selected message server 32 sends the call statement to the message queue cluster 40 and receives the call result.
[0078] The method for allocating message queue shards 41 by the message service cluster 30 includes: the message servers 32 of the message service cluster 30 periodically vote to elect a leader server within a period; and the leader server generates an allocation plan for the message queue shards 41 .
[0079] The Leader server dynamically adjusts the allocation scheme of message queue shard 41 according to the message queue SDK load. Please refer to the attached Figure 7 , the method for dynamically adjusting the allocation scheme of the message queue shard 41 includes:
[0080] Step D01) The Leader server monitors the load rate of the message queue SDK;
[0081] Step D02) according to the load rate of the message queue SDK, the average load rate of the message queue SDK corresponding to each message server 32 is obtained, and recorded as the average load rate of the message server 32;
[0082] Step D03) The message server 32 whose average load rate is higher than the preset threshold is recorded as a high-load message server 32, and the message server 32 with the lowest average load rate and allocated with more than two message queue shards 41 is recorded as a surplus message server 32, and one message queue shard 41 is selected from the message queue shards 41 of the surplus message servers 32 and allocated to the high-load message server 32.
[0083] In this embodiment, the load rate of the message queue SDK includes the CPU usage of the server running the message queue SDK, the TPS of the message queue SDK, and the network traffic of the message queue SDK. The average load rate of the message queue SDK is the average CPU usage, average TPS, and average network traffic of the message queue SDK corresponding to each message server 32. The CPU usage, TPS, and network traffic are respectively set with thresholds. If the average CPU usage, average TPS, or average network traffic exceeds the corresponding threshold, it is determined that the average load rate is higher than the preset threshold. Conversely, if the average CPU usage, average TPS, and average network traffic do not exceed the corresponding threshold, it is determined that the average load rate is lower than the preset threshold. The SQL-based message queue SDK access system is used to execute the SQL-based message queue SDK access method as described above, including a client 10, an SQL interface server 20, and a message server 32.
[0084] Please refer to the attached Figure 8 , the message server 32 corresponding to Consumer1 is allocated with two message queue shards 41, namely Partition1 and Partition2, while the message server 32 corresponding to Consumer2 is allocated with one message queue shard 41, namely Partition3. When the message server 32 corresponding to Consumer2 is relatively busy, Partition3 will also be relatively busy, resulting in an average load rate higher than the preset threshold. If the performance of the message server 32 corresponding to Consumer1 is poor or there are fewer SQL requests at this time, the utilization rate of the message queue shards 41 Partition1 and Partition2 will be low. At this time, the message server 32 corresponding to Consumer1 will be recorded as a surplus message server 32, and the message server 32 corresponding to Consumer2 will be recorded as a high-load message server 32. Therefore, please refer to the attached Fig. 9, the Leader server will select a message queue shard 41 from message queue shards 41 Partition1 and Partition2, and assign it to the message server 32 corresponding to Consumer 2. The method for collecting information such as TPS and network data traffic of the local client 10 is: based on a code-free plug-in, report machine performance information, such as CPU usage, memory usage, TPS of the message queue SDK, and network traffic of the message queue SDK. Regularly call the KV storage interface of jraft, report to the message service cluster 30, that is, upload to the Leader server, and then synchronize in all message servers 32.
[0085] The client 10 sends a network message containing an SQL request to the SQL interface server 20. The SQL interface server 20 interprets the SQL request and generates a call statement for the corresponding message queue SDK. The SQL interface server 20 submits the call statement to the message server 32. The message server 32 calls the local message queue SDK to obtain the call result, and feeds the call result back to the SQL interface server 20. The SQL interface server 20 encodes the call result, generates a response message for the network message, and sends the corresponding message to the client 10.
[0086] A computer system 50 includes a memory 51, a processor 53, and a computer program 52 stored in the memory 51 and executable on the processor 53. When the computer program 52 is executed by the processor 53, the aforementioned SQL-based message queue SDK access method is implemented.
[0087] The computer system 50 may be a general-purpose computer system 50 or a special-purpose computer system 50. In a specific implementation, the computer system 50 may be a server cluster including multiple servers. Those skilled in the art will appreciate that Fig.10 This is only an example of the computer system 50 and does not constitute a limitation on the computer system 50 . The computer system 50 may include more or fewer components than shown in the figure, or a combination of certain components, or different components, such as input and output devices, network access devices, etc.
[0088] The processor 53 may be a central processing unit (CPU), or other general-purpose processors 53, a digital signal processor 53 (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor 53 may be a microprocessor 53 or any conventional processor 53.
[0089] In some embodiments, the memory 51 may be an internal storage unit of the computer system 50, such as a hard disk or memory of the computer system 50. In other embodiments, the memory 51 may also be an external storage device of the computer system 50, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the computer system 50. Further, the memory 51 may also include both an internal storage unit of the computer system 50 and an external storage device. The memory 51 is used to store an operating system, an application program, a boot loader, data, and other programs. The memory 51 may also be used to temporarily store data that has been output or is to be output.
[0090] A computer-readable storage medium stores a computer program 52. When the computer program 52 is executed by a processor 53, the SQL-based message queue SDK access method described above is implemented.
[0091] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Those skilled in the art should understand that the present invention includes but is not limited to the contents described in the drawings and the above specific embodiments. Any modification that does not deviate from the functional and structural principles of the present invention will be included in the scope of the claims.
Claims
1. SQL-based message queue SDK access method, characterized in that: The following steps are involved: Receive network messages containing SQL requests; Interpreting the SQL request and generating a corresponding message queue SDK call statement; the method for generating the corresponding message queue SDK call statement includes: Establish a conversion comparison table between SQL keywords and calling statements; Obtaining a call statement corresponding to an SQL keyword of an SQL request according to the conversion comparison table; Extract the parameters of the SQL request and fill in the call statement, that is, complete the generation of the call statement; Submit the call statement to the message queue SDK to obtain the call result; the method of submitting the call statement to the message queue SDK includes: Establish a message service cluster and a message queue cluster, wherein the message service cluster includes several message servers, and the message queue cluster includes several message queue shards, and the message queue shards are called by the message queue SDK; Each message server in the message service cluster is allocated at least one message queue shard; The message server of the message service cluster receives the call statement, and adds the received call statement to an allocated message queue shard; The calling result is encoded to generate a response message of the network message.
2. The SQL-based message queue SDK access method according to claim 1, characterized in that: The network message also includes a user verification message, which includes a user login name and password. After receiving the network message, the user login name and password are first verified. If the verification is successful, execution continues. Otherwise, if the verification fails, a response message indicating that the login verification failed is generated.
3. The SQL-based message queue SDK access method according to claim 1, characterized in that: The method for allocating message queue fragments by the message service cluster includes: The message servers of the message service cluster periodically vote to elect a leader server within a period; The Leader server generates an allocation plan for the message queue shards.
4. The SQL-based message queue SDK access method according to claim 3, characterized in that: The Leader server dynamically adjusts the allocation scheme of the message queue shards according to the message queue SDK load. The method for dynamically adjusting the allocation scheme of the message queue shards includes: The Leader server monitors the load rate of the message queue SDK; According to the load rate of the message queue SDK, the average load rate of the message queue SDK corresponding to each message server is obtained, which is recorded as the average load rate of the message server; The message server with an average load rate higher than the preset threshold is recorded as a high-load message server, and the message server with the lowest average load rate and allocated more than two message queue shards is recorded as a surplus message server. One message queue shard is selected from the message queue shards of the surplus message server and allocated to the high-load message server.
5. The SQL-based message queue SDK access method according to claim 4, characterized in that: The load rate of the message queue SDK includes the CPU usage of the server running the message queue SDK, the TPS of the message queue SDK and the network traffic of the message queue SDK. The average load rate of the message queue SDK is the average CPU usage, average TPS and average network traffic of the message queue SDK corresponding to each message server. The CPU usage, the TPS and the network traffic are respectively set with thresholds. If the average CPU usage, the average TPS or the average network traffic exceeds the corresponding threshold, the average load rate is determined to be higher than the preset threshold. Conversely, if the average CPU usage, the average TPS and the average network traffic do not exceed the corresponding threshold, the average load rate is determined to be lower than the preset threshold.
6. A SQL-based message queue SDK access system, used to execute the SQL-based message queue SDK access method according to any one of claims 1 to 5, characterized in that: Including client, SQL interface server and message server, The client sends a network message containing an SQL request to the SQL interface server, the SQL interface server interprets the SQL request, generates a corresponding message queue SDK call statement, the SQL interface server submits the call statement to the message server, the message server calls the local message queue SDK to obtain a call result, and feeds the call result back to the SQL interface server, the SQL interface server encodes the call result, generates a response message to the network message, and sends the response message to the client.
7. A computer system, characterized in that: The computer system includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the SQL-based message queue SDK access method according to any one of claims 1 to 5 is implemented.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the SQL-based message queue SDK access method according to any one of claims 1 to 5 is implemented.
