CN113190452A - Dial testing service system, method, equipment and storage medium - Google Patents
Dial testing service system, method, equipment and storage medium Download PDFInfo
- Publication number
- CN113190452A CN113190452A CN202110501622.2A CN202110501622A CN113190452A CN 113190452 A CN113190452 A CN 113190452A CN 202110501622 A CN202110501622 A CN 202110501622A CN 113190452 A CN113190452 A CN 113190452A
- Authority
- CN
- China
- Prior art keywords
- data
- service
- layer
- target
- logic
- 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
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 71
- 238000000034 method Methods 0.000 title claims abstract description 29
- 230000004044 response Effects 0.000 claims abstract description 90
- 238000012545 processing Methods 0.000 claims abstract description 30
- 238000004891 communication Methods 0.000 claims description 32
- 230000005540 biological transmission Effects 0.000 claims description 20
- 238000006243 chemical reaction Methods 0.000 claims description 10
- 238000012217 deletion Methods 0.000 claims description 10
- 230000037430 deletion Effects 0.000 claims description 10
- 238000004590 computer program Methods 0.000 claims description 9
- 238000012856 packing Methods 0.000 claims description 6
- 230000006399 behavior Effects 0.000 description 12
- 230000008569 process Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000010354 integration Effects 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000013515 script Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3684—Test management for test design, e.g. generating new test cases
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention discloses a dial testing service system, a method, equipment and a storage medium, wherein the system comprises an external interface layer, a service logic layer and a basic supporting layer which are mutually connected; the external interface layer is used for receiving request data sent by the preset request end, transmitting the request data to the service logic layer and returning response logic data to the preset request end so as to determine a dial test result aiming at the target service cluster according to the response logic data; the service logic layer is used for carrying out service processing on the received request data, generating processed data and transmitting the processed data to the basic supporting layer, and carrying out response processing on the received converted data, generating response logic data and transmitting the response logic data to the external interface layer; and the basic support layer is used for generating target request data according to the received processed data and sending the target request data to the target service cluster, and is also used for responding to response data returned by the target service cluster, generating converted data and transmitting the converted data to the business logic layer, so that the code reuse rate is improved, and the use cost is reduced.
Description
Technical Field
The present invention relates to the field of dial testing technologies, and in particular, to a dial testing service system, method, device, and storage medium.
Background
With the Continuous development of technology, Continuous Integration is an important link in the mainstream internet software development process, whether Continuous Integration (CI) or Continuous Delivery (CD), and more emphasis is placed on adjustment and testing in the software development Delivery process, so as to avoid problems after deployment into a production environment. In order to respond to the change of the online service quality to adjust in time and ensure stable and normal operation of the service, dial testing needs to be performed on each service interface.
Dial-up testing is a means of testing the quality of network links. The active request is polled for 7 × 24 hours of on-line service, a monitoring system is matched to periodically monitor a website, a domain name, a background interface and the like, and the quality condition of the website can be analyzed by checking the change of the availability and the delay along with the time interval.
The method for distinguishing different service dial tests based on the connection protocol can be divided into two types: short connection dial test and long connection dial test. The traditional scheme is that independent test scripts are compiled through customization or active calling is conducted on a service interface by means of an open source tool such as Postman/Jmeter, independent development of dial testing requirements needs to be conducted on each product, code reuse rate is low, dial testing behaviors cannot be subjected to real-time feedback on the dial testing behaviors of a large number of users due to the fact that different connection protocols cannot be managed in a unified mode, use convenience is low, and use cost is high.
Disclosure of Invention
The invention provides a dial testing service system, a method, equipment and a storage medium, which solve the technical problems that in the prior art, because each product needs to be independently developed according to the dial testing requirement, the code reuse rate is low, the dial testing behavior cannot be uniformly managed due to different connection protocols, the use convenience is low, and the use cost is high.
The invention provides a dial testing service system, which comprises an external interface layer, a service logic layer and a basic supporting layer which are connected with each other;
the external interface layer is used for receiving request data sent by a preset request end and transmitting the request data to the service logic layer;
the service logic layer is used for carrying out service processing on the received request data, generating processed data and transmitting the processed data to the basic supporting layer;
the basic supporting layer is used for generating target request data according to the received processed data and sending the target request data to a target service cluster, and is also used for responding to response data returned by the target service cluster based on the target request data, generating converted data and transmitting the converted data to the business logic layer;
the business logic layer is also used for responding the received converted data, generating response logic data and transmitting the response logic data to the external interface layer;
the external interface layer is further configured to return the response logic data to the preset request end, so that the preset request end determines a dial test result for the target service cluster according to the response logic data.
Optionally, the external interface layer includes a plurality of service interfaces, the service logic layer includes a plurality of service modules corresponding to the service cluster, and the service interfaces are connected to the service modules one by one;
the service interface is used for receiving request data sent by a preset request end and transmitting the request data to the service module;
and the service module is used for performing service processing corresponding to the first service type on the request data according to the first service type corresponding to the request data, generating processed data and transmitting the processed data to the basic support layer.
Optionally, the service module is further configured to perform service processing corresponding to a second service type on the converted data according to the second service type corresponding to the converted data, generate response logic data, and transmit the response logic data to the service interface;
the service interface is further configured to forward the response logic data to the preset request end.
Optionally, the external interface layer further includes a control interface, and the control interface is in communication connection with the base support layer;
and the control interface is used for receiving a control instruction sent by a preset request end and transmitting the control instruction to the basic supporting layer.
Optionally, the control instruction includes a deletion instruction and a query instruction; the basic supporting layer comprises a virtual client library, and the virtual client library comprises a plurality of virtual clients;
the virtual client library is used for responding to the deletion instruction and deleting the virtual client corresponding to the deletion instruction; and the virtual client corresponding to the query instruction is selected in response to the query instruction.
Optionally, the control instruction further includes a creation instruction, and the base support layer further includes a transmission driver library and a communication protocol library;
and the basic supporting layer is also used for responding to the creating instruction, selecting a target transmission driver from the transmission driver library, selecting a target communication protocol from the communication protocol library, and creating a new virtual client in the virtual client library by adopting the target transmission driver and the target communication protocol.
Optionally, the virtual client is configured to perform data packing, data encryption, and protocol conversion on the received processed data, generate target request data, and send the target request data to the target service cluster; and the system is also used for responding to response data returned by the target service cluster based on the target request data, performing protocol conversion, data decryption and data unpacking on the response data, generating converted data and transmitting the converted data to the business logic layer.
The second aspect of the present invention further provides a dial testing service method, which relates to an external interface layer, a service logic layer and a basic support layer that are connected with each other, and the method includes:
receiving request data sent by a preset request end through the external interface layer and transmitting the request data to the service logic layer;
performing service processing on the received request data through the service logic layer to generate processed data and transmitting the processed data to the basic supporting layer;
generating target request data according to the received processed data through the basic supporting layer and sending the target request data to a target service cluster;
responding to response data returned by the target service cluster based on the target request data through the basic supporting layer, generating converted data and transmitting the converted data to the business logic layer;
the service logic layer is used for responding the received converted data to generate response logic data and transmitting the response logic data to the external interface layer;
and returning the response logic data to the preset request end through the external interface layer so that the preset request end determines a dial test result aiming at the target service cluster according to the response logic data.
In an aspect of the present invention, an electronic device is further provided, which includes a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the dial testing service method according to the second aspect of the present invention.
The fourth aspect of the present invention also provides a computer-readable storage medium on which a computer program is stored, which, when executed by the processor, implements the dial testing service method according to the second aspect of the present invention.
According to the technical scheme, the invention has the following advantages:
the invention provides a dial testing service system, which comprises an external interface layer, a service logic layer and a basic supporting layer which are connected with each other, wherein the external interface layer receives request data sent by a preset request end and transmits the request data to the service logic layer; the service logic layer performs service processing on the received request data to generate processed data and transmits the processed data to the basic supporting layer; the basic supporting layer generates target request data according to the received processed data and sends the target request data to the target service cluster, and after the target service cluster returns response data, the returned response data generates converted data and transmits the converted data to the service logic layer; the service logic layer carries out response processing on the received converted data to generate response logic data and transmits the response logic data to the external interface layer; and the external interface layer returns the response logic data to the preset request end, so that the preset request end determines a dial test result aiming at the target service cluster according to the response logic data. Therefore, the technical problems that in the prior art, due to the fact that each product needs to be independently developed according to the dial testing requirement, the code reuse rate is low, the dial testing behavior cannot be uniformly managed due to different connection protocols, the use convenience is low, and the use cost is high are solved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a block diagram of a dial testing service system according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating steps of a dial testing service method according to a second embodiment of the present invention;
fig. 3 is a block diagram of a dial testing service system according to a third embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a dial testing service system, a method, equipment and a storage medium, which are used for solving the technical problems that in the prior art, because each product needs to be independently developed for dial testing, the code reuse rate is low, and dial testing behaviors cannot be uniformly managed due to different connection protocols, the use convenience is low, and the use cost is high.
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the embodiments described below are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a block diagram illustrating a configuration of a dial testing service system according to an embodiment of the present invention.
The invention provides a dial testing service system, which comprises an external interface layer 101, a service logic layer 102 and a basic support layer 103 which are connected with each other;
the external interface layer 101 is configured to receive request data sent by a preset request end and transmit the request data to the service logic layer;
in the embodiment of the invention, because the behavior that a plurality of users simultaneously carry out dial test on the same or different service clusters may occur in the process of carrying out dial test on different service clusters, an external interface layer is provided for this purpose, the external interface layer receives the request data sent by the preset request end and transmits the request data to the service logic layer, so that the service logic layer carries out corresponding service processing according to the service type corresponding to the request data.
The preset request end may be one or multiple, and when the user performs the dial test action, the type to be dial tested, such as login, information transmission, and the like, may be input through the preset request end, which is not limited in this embodiment of the present invention.
The service logic layer 102 is configured to perform service processing on the received request data, generate processed data, and transmit the processed data to the basic support layer 103;
in the embodiment of the invention, the business logic layer mainly encapsulates the business requirements needed by different service clusters from the perspective of users so as to simulate the behavior operation of the users.
For example, the user registration behavior involves the associated invocation of three background interfaces (obtaining the mobile phone login authentication code, checking whether the mobile phone authentication code is correct, registering the user), so that the user registration interface can be encapsulated in the service logic layer, and only the user registration behavior is displayed from the user perspective.
In a specific implementation, after the service logic layer receives the request data, the corresponding encapsulated service module may be invoked according to a service request corresponding to the request data, for example, a request for user registration, user login, or user information sending, to generate corresponding processed data, and transmit the processed data to the basic support layer.
Further, the external interface layer 101 includes a plurality of service interfaces, the service logic layer 102 includes a plurality of service modules corresponding to the service cluster, and the service interfaces are connected to the service modules one by one;
the service interface is used for receiving request data sent by a preset request end and transmitting the request data to the service module;
the service module is configured to perform service processing corresponding to the first service type on the request data according to the first service type corresponding to the request data, generate processed data, and transmit the processed data to the basic support layer 103.
In this specific implementation, there may be a plurality of service clusters, and a plurality of service interfaces with the same number may be provided on the external interface layer, where each service interface corresponds to one service cluster. The service logic layer may encapsulate a corresponding service module for each service cluster, and connect the service interfaces with the service modules one by one.
When a preset request end sends request data, the request data is received through a corresponding service interface and transmitted to a corresponding service module, and the service module executes corresponding service processing according to a first service type corresponding to the request data, such as service types of user registration, user login, user information sending or connection establishment, so as to generate processed data and transmit the processed data to a basic supporting layer, and waits for the data to be sent to a target service cluster.
The basic support layer 103 is configured to generate target request data according to the received processed data and send the target request data to a target service cluster, and is further configured to respond to response data returned by the target service cluster based on the target request data, generate converted data, and transmit the converted data to the business logic layer 102;
in the embodiment of the present invention, after receiving the processed data sent by the service logic layer, the base support layer may perform further data processing, such as data packing, encryption, protocol conversion, and the like, on the processed data based on the communication protocol and the transmission protocol used by the target service cluster, so as to generate the target request data and send the target request data to the corresponding target service cluster.
Meanwhile, after the target service cluster responds to the returned response data based on the target request data, in order to enable the preset request terminal to analyze the response data, the returned response data can be subjected to data processing such as data unpacking, decryption and protocol conversion, so that converted data which can be analyzed by the preset request terminal can be obtained and transmitted to the service logic layer for further processing.
Further, the external interface layer 101 further includes a control interface, and the control interface is in communication connection with the base support layer 103;
the control interface is configured to receive a control instruction sent by a preset request end and transmit the control instruction to the basic support layer 103.
In an example of the present invention, the external interface layer may further include a control interface, where the control interface is configured to receive a control instruction sent by the preset request end, and transmit the control instruction to the basic support layer, so as to implement control over the virtual client in the basic support layer.
In another embodiment of the present invention, the control instruction includes a delete instruction and a query instruction; the base support layer 103 comprises a virtual client library, which comprises a plurality of virtual clients;
the virtual client library is used for responding to the deletion instruction and deleting the virtual client corresponding to the deletion instruction; and the virtual client corresponding to the query instruction is selected in response to the query instruction.
In the embodiment of the present invention, in order to control the virtual clients in the virtual client library, the control instruction may include a deletion instruction and a query instruction, and the virtual clients corresponding to the deletion instruction may be deleted by responding to the deletion instruction through the virtual client library in the basic support layer; if the query instruction is the query instruction, the virtual client corresponding to the query instruction can be selected to be used subsequently in response to the query instruction.
Further, the control instruction further includes a creation instruction, and the basic support layer 103 further includes a transmission driver library and a communication protocol library;
the basic support layer 103 is further configured to respond to the creation instruction, select a target transport driver from the transport driver library, select a target communication protocol from the communication protocol library, and create a new virtual client in the virtual client library by using the target transport driver and the target communication protocol.
In order to improve the use flexibility of the virtual client, a target transmission driver can be selected from a transmission driver library in response to an input creation instruction, a target communication protocol is selected from the communication protocol library, and a new virtual client is created in the virtual client library by adopting the target transmission driver and the target communication protocol.
For example, the creation instruction indicates that it is necessary to create a HTTP-based transport driver, and the communication protocol is Json, at this time, a target HTTP-based transport driver may be selected from the transport database, a target communication protocol Json may be selected from the communication protocol library, and a corresponding virtual client may be created in the virtual client library.
It should be noted that the communication protocol library may include common communication protocols such as Json, Protobuf, and Dubbo, or a custom private communication protocol, and mainly provides capabilities of packing, unpacking, encrypting, decrypting, and the like for communication information. The transmission driver library can comprise different types of drivers based on transmission protocols such as HTTP, TCP, Websocket and the like, and provides behavior operation capabilities such as connection establishment, request sending, request receiving, connection disconnection and the like with a server.
Optionally, the virtual client is configured to perform data packing, data encryption, and protocol conversion on the received processed data, generate target request data, and send the target request data to the target service cluster; and is further configured to respond to response data returned by the target service cluster based on the target request data, perform protocol conversion, data decryption, and data unpacking on the response data, generate converted data, and transmit the converted data to the business logic layer 102.
In the embodiment of the invention, after the request data sent by the preset request terminal is received through the service interface, because different service interfaces correspond to different service clusters and different service types, the communication protocol and the transmission protocol corresponding to the target service cluster can be determined at the moment. After the service logic layer performs service processing on the request data to obtain processed data, the virtual client in the basic support layer performs data packing, data encryption and protocol conversion on the processed data to obtain a target request corresponding to the target service cluster and sends the target request to the target service cluster. And after the target service cluster responds to the target request data and returns response data, the virtual client performs protocol conversion, data decryption and data unpacking on the response data to obtain converted data which can be analyzed by a preset request end and transmits the converted data to the service logic layer.
The service logic layer 102 is further configured to perform response processing on the received converted data, generate response logic data, and transmit the response logic data to the external interface layer 101;
optionally, the service module is further configured to perform service processing corresponding to a second service type on the converted data according to the second service type corresponding to the converted data, generate response logic data, and transmit the response logic data to the service interface;
the service interface is further configured to forward the response logic data to the preset request end.
In the embodiment of the present invention, after obtaining the converted data processed by the response data returned by the target service cluster, it is necessary to verify whether the converted data completes the service again through the service module, for example, in the service registration process, it is necessary to receive the verification code returned by the target service cluster and send the data to the target service cluster again for registration. At this time, corresponding service processing may be executed according to the second service type corresponding to the converted data, so as to ensure that response logic data is generated and returned to the service interface after the whole service flow is completed. And the service interface forwards the response logic data to a preset request end.
The external interface layer 101 is further configured to return the response logic data to the preset request end, so that the preset request end determines a dial test result for the target service cluster according to the response logic data.
In the embodiment of the present invention, when the preset request end receives the response logic data returned by the external interface layer, it may determine whether the dial test result for the target service cluster is normal according to the response logic data, for example, the response logic data may be compared with the standard data of the preset request end, if the result is consistent, the dial test result for the target service cluster is normal, and if the result is inconsistent, the dial test result for the target service cluster is abnormal.
In the embodiment of the invention, the dial testing service system comprises an external interface layer, a service logic layer and a basic supporting layer which are connected with each other, wherein the external interface layer receives request data sent by a preset request end and transmits the request data to the service logic layer; the service logic layer performs service processing on the received request data to generate processed data and transmits the processed data to the basic supporting layer; the basic supporting layer generates target request data according to the received processed data and sends the target request data to the target service cluster, and after the target service cluster returns response data, the returned response data generates converted data and transmits the converted data to the service logic layer; the service logic layer carries out response processing on the received converted data to generate response logic data and transmits the response logic data to the external interface layer; and the external interface layer returns the response logic data to the preset request end, so that the preset request end determines a dial test result aiming at the target service cluster according to the response logic data. Therefore, the technical problems that in the prior art, due to the fact that each product needs to be independently developed according to the dial testing requirement, the code reuse rate is low, the dial testing behavior cannot be uniformly managed due to different connection protocols, the use convenience is low, and the use cost is high are solved.
Referring to fig. 2, fig. 2 is a flowchart illustrating a step of a dial testing service method according to a second embodiment of the present invention.
The embodiment of the invention provides a dial testing service method, which relates to an external interface layer, a service logic layer and a basic supporting layer which are connected with each other, and comprises the following steps:
In the embodiment of the invention, the external interface layer receives the request data sent by the preset request end and transmits the request data to the service logic layer; the service logic layer performs service processing on the received request data to generate processed data and transmits the processed data to the basic supporting layer; the basic supporting layer generates target request data according to the received processed data and sends the target request data to the target service cluster, and after the target service cluster returns response data, the returned response data generates converted data and transmits the converted data to the service logic layer; the service logic layer carries out response processing on the received converted data to generate response logic data and transmits the response logic data to the external interface layer; and the external interface layer returns the response logic data to the preset request end, so that the preset request end determines a dial test result aiming at the target service cluster according to the response logic data. Therefore, the technical problems that in the prior art, due to the fact that each product needs to be independently developed according to the dial testing requirement, the code reuse rate is low, the dial testing behavior cannot be uniformly managed due to different connection protocols, the use convenience is low, and the use cost is high are solved.
Referring to fig. 3, fig. 3 is a block diagram of a dial testing service system according to a third embodiment of the present invention.
The dial testing service system provided by the invention comprises an external interface layer, a service logic layer and a basic supporting layer.
In a specific implementation, the service cluster may be a product, and therefore in this embodiment, the external interface layer includes a service interface and a universal interface, where the service interface includes a product service interface a, a product service interface B, and the like, and the universal interface is a control interface, which includes a Client interface used for deleting or creating a virtual Client and a Call interface used for querying the virtual Client.
The service logic layer comprises a product service module A, a product service module B, a product service module C and the like, wherein each product service module comprises a plurality of sub-service modules, such as a login module, a room module, a message module and the like.
The basic support layer comprises a virtual Client library Client Pool, a transmission Driver library and a communication Protocol library Protocol; the Client Pool comprises a plurality of virtual Client clients, wherein the corresponding product Client A comprises A Client01, A Client02, A Client03 and the like, the corresponding product Client B comprises BCclient 01, B Client02, B Client03 and the like, and the corresponding product Client C comprises C Client01, CCclient 02, C Client03 and the like; the transmission Driver library Driver comprises transmission drivers such as HTTP, TCP and Websocket; the communication Protocol library Protocol includes communication protocols such as Json, Protocol and proprietary Protocol.
An embodiment of the present invention further provides an electronic device, which includes a memory and a processor, where the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the dial testing service method according to any of the above embodiments.
The embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by the processor, the dial testing service method according to any of the above embodiments is implemented.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (10)
1. A dial testing service system is characterized by comprising an external interface layer, a service logic layer and a basic supporting layer which are connected with each other;
the external interface layer is used for receiving request data sent by a preset request end and transmitting the request data to the service logic layer;
the service logic layer is used for carrying out service processing on the received request data, generating processed data and transmitting the processed data to the basic supporting layer;
the basic supporting layer is used for generating target request data according to the received processed data and sending the target request data to a target service cluster, and is also used for responding to response data returned by the target service cluster based on the target request data, generating converted data and transmitting the converted data to the business logic layer;
the business logic layer is also used for responding the received converted data, generating response logic data and transmitting the response logic data to the external interface layer;
the external interface layer is further configured to return the response logic data to the preset request end, so that the preset request end determines a dial test result for the target service cluster according to the response logic data.
2. The dial-up testing service system according to claim 1, wherein the external interface layer comprises a plurality of service interfaces, the service logic layer comprises a plurality of service modules corresponding to the service cluster, and the service interfaces are connected with the service modules one by one;
the service interface is used for receiving request data sent by a preset request end and transmitting the request data to the service module;
and the service module is used for performing service processing corresponding to the first service type on the request data according to the first service type corresponding to the request data, generating processed data and transmitting the processed data to the basic support layer.
3. The dial testing service system according to claim 2, wherein the service module is further configured to perform service processing corresponding to a second service type on the converted data according to the second service type corresponding to the converted data, generate response logic data, and transmit the response logic data to the service interface;
the service interface is further configured to forward the response logic data to the preset request end.
4. The dial testing service system according to claim 2, wherein the external interface layer further comprises a control interface, the control interface being in communication connection with the base support layer;
and the control interface is used for receiving a control instruction sent by a preset request end and transmitting the control instruction to the basic supporting layer.
5. The dial testing service system according to claim 4, wherein the control command comprises a delete command and a query command; the basic supporting layer comprises a virtual client library, and the virtual client library comprises a plurality of virtual clients;
the virtual client library is used for responding to the deletion instruction and deleting the virtual client corresponding to the deletion instruction; and the virtual client corresponding to the query instruction is selected in response to the query instruction.
6. The dial testing service system according to claim 5, wherein the control instructions further comprise a creation instruction, and the base support layer further comprises a transmission driver library and a communication protocol library;
and the basic supporting layer is also used for responding to the creating instruction, selecting a target transmission driver from the transmission driver library, selecting a target communication protocol from the communication protocol library, and creating a new virtual client in the virtual client library by adopting the target transmission driver and the target communication protocol.
7. The dial testing service system according to claim 5, wherein the virtual client is configured to perform data packing, data encryption, and protocol conversion on the received processed data, generate target request data, and send the target request data to the target service cluster; and the system is also used for responding to response data returned by the target service cluster based on the target request data, performing protocol conversion, data decryption and data unpacking on the response data, generating converted data and transmitting the converted data to the business logic layer.
8. A dial testing service method is characterized by relating to an external interface layer, a service logic layer and a basic supporting layer which are connected with each other, and the method comprises the following steps:
receiving request data sent by a preset request end through the external interface layer and transmitting the request data to the service logic layer;
performing service processing on the received request data through the service logic layer to generate processed data and transmitting the processed data to the basic supporting layer;
generating target request data according to the received processed data through the basic supporting layer and sending the target request data to a target service cluster;
responding to response data returned by the target service cluster based on the target request data through the basic supporting layer, generating converted data and transmitting the converted data to the business logic layer;
the service logic layer is used for responding the received converted data to generate response logic data and transmitting the response logic data to the external interface layer;
and returning the response logic data to the preset request end through the external interface layer so that the preset request end determines a dial test result aiming at the target service cluster according to the response logic data.
9. An electronic device comprising a memory and a processor, the memory having stored thereon a computer program that, when executed by the processor, causes the processor to perform the steps of the dial testing service method of claim 8.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a dial testing service method according to claim 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110501622.2A CN113190452A (en) | 2021-05-08 | 2021-05-08 | Dial testing service system, method, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110501622.2A CN113190452A (en) | 2021-05-08 | 2021-05-08 | Dial testing service system, method, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113190452A true CN113190452A (en) | 2021-07-30 |
Family
ID=76988481
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110501622.2A Pending CN113190452A (en) | 2021-05-08 | 2021-05-08 | Dial testing service system, method, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113190452A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115086405A (en) * | 2022-06-10 | 2022-09-20 | 上海莉莉丝科技股份有限公司 | Data processing method, system, device, medium and program product for server |
CN115086405B (en) * | 2022-06-10 | 2024-05-31 | 上海莉莉丝科技股份有限公司 | Data processing method, system, device, medium and program product for server |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106569421A (en) * | 2015-10-12 | 2017-04-19 | 北京新能源汽车股份有限公司 | Remote monitoring method and system for electric vehicle |
CN107193668A (en) * | 2017-04-26 | 2017-09-22 | 深圳中兴网信科技有限公司 | The call method and system at interface service end |
CN107463365A (en) * | 2016-08-24 | 2017-12-12 | 上海幸福九号网络科技有限公司 | A kind of SOA solution systems and method |
CN109005085A (en) * | 2018-08-24 | 2018-12-14 | 北京奇艺世纪科技有限公司 | A kind of service availability monitoring system, method, device and equipment |
CN112532564A (en) * | 2019-09-17 | 2021-03-19 | 中国移动通信集团广东有限公司 | Service calling method and device and electronic equipment |
-
2021
- 2021-05-08 CN CN202110501622.2A patent/CN113190452A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106569421A (en) * | 2015-10-12 | 2017-04-19 | 北京新能源汽车股份有限公司 | Remote monitoring method and system for electric vehicle |
CN107463365A (en) * | 2016-08-24 | 2017-12-12 | 上海幸福九号网络科技有限公司 | A kind of SOA solution systems and method |
CN107193668A (en) * | 2017-04-26 | 2017-09-22 | 深圳中兴网信科技有限公司 | The call method and system at interface service end |
CN109005085A (en) * | 2018-08-24 | 2018-12-14 | 北京奇艺世纪科技有限公司 | A kind of service availability monitoring system, method, device and equipment |
CN112532564A (en) * | 2019-09-17 | 2021-03-19 | 中国移动通信集团广东有限公司 | Service calling method and device and electronic equipment |
Non-Patent Citations (2)
Title |
---|
王子豪: "自动拨打测试系统的设计与实现", 《中国优秀硕士学位论文全文数据库信息科技辑》, no. 03, 15 March 2021 (2021-03-15), pages 136 - 375 * |
陈博: "3G数据业务拨测系统公共支撑库及API接口设计与实现", 《中国优秀硕士学位论文全文数据库信息科技辑》, no. 08, 15 August 2012 (2012-08-15), pages 136 - 563 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115086405A (en) * | 2022-06-10 | 2022-09-20 | 上海莉莉丝科技股份有限公司 | Data processing method, system, device, medium and program product for server |
CN115086405B (en) * | 2022-06-10 | 2024-05-31 | 上海莉莉丝科技股份有限公司 | Data processing method, system, device, medium and program product for server |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101229858B1 (en) | Web-based system and method for sharing testing devices | |
US20100205600A1 (en) | Simulation method for realizing large batches and different kinds of baseboard management controllers using a single server | |
CN108737080A (en) | Storage method, device, system and the equipment of password | |
CN110413329A (en) | IOT equipment remote debugging method, apparatus and system | |
CN113433831A (en) | Control method and module of intelligent household equipment and storage medium | |
CN109660487B (en) | Authorization method based on H5 webpage, storage medium, electronic device and system | |
CN110351276A (en) | Data processing method, equipment and computer readable storage medium | |
CN112994981A (en) | Method and device for adjusting time delay data, electronic equipment and storage medium | |
CN106453349A (en) | An account number login method and apparatus | |
CN105612723A (en) | Method and device for distributing traffic by using plurality of network interfaces in wireless communication system | |
CN112087327B (en) | Information state acquisition method and apparatus, storage medium, and electronic apparatus | |
CN108540516B (en) | Running state information acquisition method, control terminal, network equipment and system | |
CN109787963A (en) | Business handling method, apparatus, computer equipment and storage medium | |
US20210258402A1 (en) | Many-to-many state identification system of equipment names that are broadcasted from internet-of-things | |
CN115951923B (en) | Subscription event management method, display system, device and storage medium | |
CN112187869A (en) | Remote debugging system and method of IOT device, electronic device and storage medium | |
CN113190452A (en) | Dial testing service system, method, equipment and storage medium | |
CN111147285A (en) | Cloud security product unified management method | |
CN108737350B (en) | Information processing method and client | |
CN113660645B (en) | Device configuration method and device, electronic device and storage medium | |
CN114115074A (en) | Device control method and device, computer readable storage medium, processor | |
CN113949631A (en) | Client disaster tolerance processing method and system and electronic equipment | |
CN110808943B (en) | Client connection emergency management method, client and computer readable storage medium | |
CN113760688A (en) | Remote debugging method, system, webpage server, equipment and storage medium | |
CN116074080B (en) | Data processing method and platform of satellite ground station management system |
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 |