CN117082135A - Service transmission method, device, computer equipment and storage medium - Google Patents

Service transmission method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN117082135A
CN117082135A CN202311271412.4A CN202311271412A CN117082135A CN 117082135 A CN117082135 A CN 117082135A CN 202311271412 A CN202311271412 A CN 202311271412A CN 117082135 A CN117082135 A CN 117082135A
Authority
CN
China
Prior art keywords
application gateway
target application
connection
client
service request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311271412.4A
Other languages
Chinese (zh)
Inventor
王慧杰
罗涛
赵海强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202311271412.4A priority Critical patent/CN117082135A/en
Publication of CN117082135A publication Critical patent/CN117082135A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/563Data redirection of data network streams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application relates to a service transmission method, a device, computer equipment and a storage medium, relates to the technical field of computers, and can be applied to the financial field or other technical fields. The method comprises the following steps: under the condition of establishing network connection with the target application gateway, acquiring a service request, and sending the service request to the target application gateway through the network connection so that the target application gateway transmits the service request to the application server. By adopting the method, the time consumption of network transmission can be reduced.

Description

Service transmission method, device, computer equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a service transmission method, apparatus, computer device, and storage medium, which can be applied to the financial field or other technical fields.
Background
In real life, with the continuous development of application software, the requirement of users for sending service requests is also continuously increased, so that the service request transmission speed of the application software directly affects the user experience.
In order to increase the transmission speed of the service request, the currently commonly adopted methods are domain name resolution, resource combination, request compression and the like aiming at the transmission of the service request. However, with the current service transmission method, there is a problem that network transmission is time-consuming, and improvement is needed.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a service transmission method, apparatus, computer device, and storage medium that can reduce the time consumed for network transmission.
In a first aspect, the present application provides a service transmission method. The method comprises the following steps:
under the condition of establishing network connection with a target application gateway, acquiring a service request;
and sending the service request to the target application gateway through network connection so that the target application gateway transmits the service request to the application server.
In one embodiment, establishing a network connection with a target application gateway includes:
and under the condition that the client is detected to be in the target scene, sending a connection request to the target application gateway so that the target application gateway establishes network connection with the client under the condition of verifying the safety of the client.
In one embodiment, sending a connection request to a target application gateway includes:
selecting a target application gateway from the candidate application gateways according to the historical connection record; and sending a connection request to the target application gateway.
In one embodiment, selecting a target application gateway from among candidate application gateways according to the historical connection record includes:
extracting the connection frequency of the client and each candidate application gateway from the historical connection record; and taking the candidate application gateway with the largest connection frequency as a target application gateway.
In one embodiment, the target scenario is a client start scenario, a background handover scenario, or a network handover scenario.
In one embodiment, the method further comprises:
and under the condition of establishing network connection with the target application gateway, if the service request is not acquired in the connection maintaining period, sending a connection maintaining request to the target application gateway so as to enable the target application gateway to maintain network connection with the client.
In a second aspect, the application further provides a service transmission device. The device comprises:
the request acquisition module is used for acquiring a service request under the condition of establishing network connection with the target application gateway;
and the request transmission module is used for sending the service request to the target application gateway through network connection so that the target application gateway transmits the service request to the application server.
In a third aspect, the present application also provides a computer device. The computer device comprises a memory storing a computer program and a processor which when executing the computer program performs the steps of:
under the condition of establishing network connection with a target application gateway, acquiring a service request;
and sending the service request to the target application gateway through network connection so that the target application gateway transmits the service request to the application server.
In a fourth aspect, the present application also provides a computer-readable storage medium. The computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of:
under the condition of establishing network connection with a target application gateway, acquiring a service request;
and sending the service request to the target application gateway through network connection so that the target application gateway transmits the service request to the application server.
In a fifth aspect, the present application also provides a computer program product. The computer program product comprises a computer program which, when executed by a processor, implements the steps of:
under the condition of establishing network connection with a target application gateway, acquiring a service request;
and sending the service request to the target application gateway through network connection so that the target application gateway transmits the service request to the application server.
The service transmission method, the device, the computer equipment and the storage medium acquire the service request under the condition of establishing network connection with the target application gateway; and then, sending the service request to the target application gateway through network connection so that the target application gateway transmits the service request to the application server. Compared with the related art, the client needs to interact with the application server after receiving the service request each time so as to establish communication connection, and then sends the service request to the application server for processing, so that the network transmission consumes a long time; in the method, on one hand, the client side keeps network connection with the target application gateway before sending the service request, so that the service request can be directly sent to the target application gateway without network connection operation after receiving the service request, thereby improving the speed of network transmission and reducing the time consumption of network transmission; on the other hand, introducing the application gateway as an intermediary between the client and the application server can alleviate the burden on the application server to some extent.
Drawings
FIG. 1 is an application environment diagram of a service transmission method in one embodiment;
fig. 2 is a flow chart of a service transmission method in one embodiment;
FIG. 3 is a flow diagram of determining a target application gateway in one embodiment;
fig. 4 is a flow chart of a service transmission method in another embodiment;
fig. 5 is a block diagram of a service transmission apparatus in one embodiment;
fig. 6 is a block diagram of a service transmission apparatus according to another embodiment;
fig. 7 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
The service transmission method provided by the embodiment of the application can be applied to the application environment shown in figure 1. Wherein the terminal 102, the target application gateway 104 and the server 106 communicate with each other via a network. The data storage system may store data that the target application gateway 104 needs to process. The data storage system may be integrated on the target application gateway 104 or may be placed on the cloud or other application gateway. For example, the terminal 102 obtains a service request in the case of establishing a network connection with the target application gateway 104; the service request is then sent to the target application gateway 104 over the network connection such that the target application gateway 104 transmits the service request to the application server 106. The terminal 102 may be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, and internet of things devices. The server may be implemented as a stand-alone server or as a server cluster composed of a plurality of servers.
In one embodiment, as shown in fig. 2, a service transmission method is provided, and an example of application of the method to the terminal in fig. 1 is described. Alternatively, the method may be performed by a terminal, in particular by an application client provided by an application server in the terminal, in particular comprising the steps of:
s201, under the condition that network connection is established with a target application gateway, a service request is acquired.
The target application gateway refers to an application gateway which establishes network connection with the client; a service request refers to a request that needs to be sent to an application server for processing.
It may be appreciated that, in order to ensure the efficiency of service transmission, the client may take the last connected application gateway as the target application gateway and establish network connection with the target application gateway before acquiring the service request. For example, when the client is started, a network connection can be directly established with the application gateway connected last time.
Further, in order to keep a smooth connection with the target gateway, a connection request needs to be sent to the target application gateway when the client is detected to be in the target scene, so that the target application gateway establishes network connection with the client when the client is verified to be safe. The target scenario is a scenario that may cause disconnection of a network connection between the client and the target gateway, for example, the target scenario may be a client start scenario, a foreground-background switching scenario, or a network switching scenario.
Alternatively, when the client is in the target scenario, there may be a case where the network connection between the client and the target application gateway is disconnected, and therefore, in order to be able to maintain the network connection, in the case where the client is detected to be in the target scenario, a connection request needs to be sent to the target application gateway. And then, after the target application gateway receives the connection request, security verification needs to be carried out on the client side sending the connection request, and network connection is established with the client side under the condition that the security verification of the client side passes.
The method includes the steps that after a target application gateway receives a connection request, address information in a historical connection record of the target application gateway can be extracted, address information carried in the connection request is compared with the extracted address information, if the same address information exists, it is proved that a client side sending the connection request is connected with the target application gateway, and at the moment, security verification of the client side is passed; if the same address information does not exist, the verification information in the connection request needs to be analyzed to judge whether the client is safe or not.
Alternatively, the user may input specific content of the service through a client embedded in the terminal, and click a submit button on the client to trigger generation of the service request. At this time, the client can obtain the service request that the user wants to send. Since the network connection is already established with the target application gateway before the service request is acquired, the service request may be directly transmitted after the service request is acquired, i.e., S202 is performed.
S202, sending a service request to the target application gateway through network connection, so that the target application gateway transmits the service request to the application server.
Optionally, after the service request is acquired, the service request can be sent to the target application gateway through network connection with the target application gateway; and then, after the target application gateway receives the service request, the target application gateway transmits the service request to the application server.
In order to ensure the safety of the application server, the target application gateway can carry out safety detection on the service request after receiving the service request; subsequently, in case the security detection of the service request passes, the service request is transmitted to the application server.
In the service transmission method, a service request is acquired under the condition of establishing network connection with a target application gateway; and then, sending the service request to the target application gateway through network connection so that the target application gateway transmits the service request to the application server. Compared with the related art, the client needs to interact with the application server after receiving the service request each time so as to establish communication connection, and then sends the service request to the application server for processing, so that the network transmission consumes a long time; in the method, on one hand, the client side keeps network connection with the target application gateway before sending the service request, so that the service request can be directly sent to the target application gateway without network connection operation after receiving the service request, thereby improving the speed of network transmission and reducing the time consumption of network transmission; on the other hand, introducing the application gateway as an intermediary between the client and the application server can alleviate the burden on the application server to some extent.
In order to ensure the accuracy of determining the target application gateway, in this embodiment, an alternative manner of determining the target application gateway is provided, as shown in fig. 3, and specifically includes the following steps:
s301, selecting a target application gateway from the candidate application gateways according to the historical connection record.
The candidate application gateways refer to all gateways to which the client can be connected; the history connection record refers to a connection record between the client and each candidate gateway in a history period.
Alternatively, after the history connection record of the client is obtained, the history connection record may be input into a trained gateway determination model, and the gateway determination model outputs the target application gateway according to the history connection record and the model parameters.
Alternatively, the connection frequency of the client and each candidate application gateway may be extracted from the historical connection record, and the candidate application gateway with the largest connection frequency is used as the target application gateway.
It can be understood that, because different users have different use preferences, the candidate application gateway with the highest connection frequency with the client can be used as the target application gateway according to the history connection record of the client; or, in order to ensure the comprehensiveness of the connection of the application gateways, the candidate application gateways can be sequenced according to the connection frequency of the candidate application gateways and the sequence from big to small, and the preset number of candidate application gateways arranged in front are used as target application gateways at the same time.
S302, a connection request is sent to a target application gateway.
Optionally, after determining the target application gateway, a connection request may be sent to the target application gateway.
In this embodiment, the history connection record is introduced, and the accuracy of determining the target application gateway can be ensured by determining the target application gateway from the candidate application gateways based on the history connection record.
It will be appreciated that in the case where the target application gateway does not receive the service request sent by the client for a long time, the target gateway will automatically disconnect the network connection with the client. Therefore, in order to ensure the stability of the connection between the client and the target application gateway, the connection maintaining request can be sent to the target application gateway at regular time, so as to ensure the network connection between the client and the target application gateway.
Specifically, under the condition of establishing network connection with the target application gateway, if the service request is not acquired in the connection maintaining period, the connection maintaining request is sent to the target application gateway, so that the target application gateway and the client terminal maintain network connection.
Wherein the connection-keeping period refers to the longest time that the target application gateway can keep a connection with the client.
Optionally, the client may time after sending the service request to the target application gateway, and if the service request is obtained in the connection maintaining period, send the service request to the target application gateway; and if the service request is not acquired in the connection maintaining period, transmitting the connection maintaining request to the target application gateway. Further, after sending a service request or a connection maintenance request to the target application gateway, the client needs to restart the timing.
For example, the connection maintaining period may be set to 1 minute, and if the service request is acquired within 1 minute after the client sends the service request to the target application gateway, the service request is sent to the target application gateway; and if the service request is not acquired, sending a connection maintaining request to the target application gateway. Then, after sending the service request or the connection maintaining request to the target application gateway, it is again detected whether the client acquires the service request within the next 1 minute.
In this embodiment, the connection maintaining period and the connection maintaining request are introduced, and when the client does not acquire the service request in the connection maintaining period is detected, the connection maintaining request is sent to the target application gateway, so that the stability of the connection between the client and the target application gateway can be ensured.
Fig. 4 is a schematic flow chart of a service transmission method in another embodiment, and on the basis of the foregoing embodiment, this embodiment provides an alternative example of the service transmission method. With reference to fig. 4, the specific implementation procedure is as follows:
s401, under the condition that the client is detected to be in a target scene, the connection frequency of the client and each candidate application gateway is extracted from the historical connection record.
The target scene is a client starting scene, a foreground and background switching scene or a network switching scene.
S402, taking the candidate application gateway with the largest connection frequency as a target application gateway.
S403, sending a connection request to the target application gateway so that the target application gateway establishes network connection with the client under the condition of verifying the security of the client.
S404, judging whether the client acquires a service request in a connection maintaining period under the condition of establishing network connection with a target application gateway, if so, executing S405; if not, S406 is performed.
S405, sending a service request to the target application gateway through network connection, so that the target application gateway transmits the service request to the application server.
S406, sending a connection maintaining request to the target application gateway so as to enable the target application gateway to maintain network connection with the client.
The specific process of S401 to S406 may refer to the description of the foregoing method embodiment, and its implementation principle and technical effects are similar, and are not repeated herein.
It should be understood that, although the steps in the flowcharts related to the embodiments described above are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.
Based on the same inventive concept, the embodiment of the application also provides a service transmission device for realizing the service transmission method. The implementation of the solution provided by the device is similar to the implementation described in the above method, so the specific limitation in the embodiments of one or more service transmission devices provided below may refer to the limitation of the service transmission method hereinabove, and will not be repeated herein.
In one embodiment, as shown in fig. 5, there is provided a service transmission apparatus 1, including: a request acquisition module 10 and a request transmission module 20, wherein:
a request acquisition module 10, configured to acquire a service request when a network connection is established with a target application gateway;
the request transmission module 20 is configured to send a service request to the target application gateway through a network connection, so that the target application gateway transmits the service request to the application server.
In one embodiment, the service transmission device 1 further includes a network connection module 30, where the network connection module 30 is specifically configured to:
and under the condition that the client is detected to be in the target scene, sending a connection request to the target application gateway so that the target application gateway establishes network connection with the client under the condition of verifying the safety of the client.
In one embodiment, as shown in fig. 6, the network connection module 30 includes:
a gateway determining unit 31, configured to select a target application gateway from the candidate application gateways according to the history connection record;
a connection unit 32 for sending a connection request to the target application gateway.
In one embodiment, the gateway determination unit 31 is specifically configured to:
extracting the connection frequency of the client and each candidate application gateway from the historical connection record; and taking the candidate application gateway with the largest connection frequency as a target application gateway.
In one embodiment, the target scenario is a client start scenario, a background handover scenario, or a network handover scenario.
In one embodiment, the service transmission device 1 further comprises a connection maintaining module, wherein the connection maintaining module is specifically configured to:
and under the condition of establishing network connection with the target application gateway, if the service request is not acquired in the connection maintaining period, sending a connection maintaining request to the target application gateway so as to enable the target application gateway to maintain network connection with the client.
The above-mentioned respective modules in the service transmission apparatus may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a terminal, and the internal structure of which may be as shown in fig. 7. The computer device includes a processor, a memory, an input/output interface, a communication interface, a display unit, and an input means. The processor, the memory and the input/output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input/output interface. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The input/output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless mode can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a method of traffic transmission. The display unit of the computer device is used for forming a visual picture, and can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, can also be a key, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the structure shown in FIG. 7 is merely a block diagram of some of the structures associated with the present inventive arrangements and is not limiting of the computer device to which the present inventive arrangements may be applied, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In one embodiment, a computer device is provided comprising a memory and a processor, the memory having stored therein a computer program, the processor when executing the computer program performing the steps of:
under the condition of establishing network connection with a target application gateway, acquiring a service request;
and sending the service request to the target application gateway through network connection so that the target application gateway transmits the service request to the application server.
In one embodiment, the following steps are implemented when the processor executes logic in the computer program to establish a network connection with the target application gateway:
and under the condition that the client is detected to be in the target scene, sending a connection request to the target application gateway so that the target application gateway establishes network connection with the client under the condition of verifying the safety of the client.
In one embodiment, when the processor executes logic in the computer program to send a connection request to the target application gateway, the following steps are specifically implemented:
selecting a target application gateway from the candidate application gateways according to the historical connection record; and sending a connection request to the target application gateway.
In one embodiment, when the processor executes logic in the computer program for selecting a target application gateway from the candidate application gateways according to the history connection record, the following steps are specifically implemented:
extracting the connection frequency of the client and each candidate application gateway from the historical connection record; and taking the candidate application gateway with the largest connection frequency as a target application gateway.
In one embodiment, the target scenario is a client start scenario, a background handover scenario, or a network handover scenario.
In one embodiment, the following steps are embodied when the processor executes logic in a computer program:
and under the condition of establishing network connection with the target application gateway, if the service request is not acquired in the connection maintaining period, sending a connection maintaining request to the target application gateway so as to enable the target application gateway to maintain network connection with the client.
In one embodiment, a computer readable storage medium is provided having a computer program stored thereon, which when executed by a processor, performs the steps of:
under the condition of establishing network connection with a target application gateway, acquiring a service request;
and sending the service request to the target application gateway through network connection so that the target application gateway transmits the service request to the application server.
In one embodiment, this code logic in the computer program for establishing a network connection with the target application gateway, when executed by the processor, performs the steps of:
and under the condition that the client is detected to be in the target scene, sending a connection request to the target application gateway so that the target application gateway establishes network connection with the client under the condition of verifying the safety of the client.
In one embodiment, this code logic in the computer program for sending a connection request to the target application gateway, when executed by the processor, performs the steps of:
selecting a target application gateway from the candidate application gateways according to the historical connection record; and sending a connection request to the target application gateway.
In one embodiment, the code logic in the computer program for selecting a target application gateway from among the candidate application gateways based on the historical connection records, when executed by the processor, performs the steps of:
extracting the connection frequency of the client and each candidate application gateway from the historical connection record; and taking the candidate application gateway with the largest connection frequency as a target application gateway.
In one embodiment, the target scenario is a client start scenario, a background handover scenario, or a network handover scenario.
In one embodiment, the code logic in the computer program, when executed by the processor, performs the steps of:
and under the condition of establishing network connection with the target application gateway, if the service request is not acquired in the connection maintaining period, sending a connection maintaining request to the target application gateway so as to enable the target application gateway to maintain network connection with the client.
In one embodiment, a computer program product is provided comprising a computer program which, when executed by a processor, performs the steps of:
under the condition of establishing network connection with a target application gateway, acquiring a service request;
and sending the service request to the target application gateway through network connection so that the target application gateway transmits the service request to the application server.
In one embodiment, the computer program is executed by the processor to perform the operations of establishing a network connection with the target application gateway, specifically implementing the steps of:
and under the condition that the client is detected to be in the target scene, sending a connection request to the target application gateway so that the target application gateway establishes network connection with the client under the condition of verifying the safety of the client.
In one embodiment, the following steps are specifically implemented when the computer program is executed by the processor to send a connection request to the target application gateway:
selecting a target application gateway from the candidate application gateways according to the historical connection record; and sending a connection request to the target application gateway.
In one embodiment, the computer program is executed by the processor to select a target application gateway from among candidate application gateways according to the history of connections, and specifically implement the steps of:
extracting the connection frequency of the client and each candidate application gateway from the historical connection record; and taking the candidate application gateway with the largest connection frequency as a target application gateway.
In one embodiment of the present application, in one embodiment,
the target scene is a client starting scene, a foreground and background switching scene or a network switching scene.
In one embodiment, the computer program, when executed by a processor, performs the steps of:
and under the condition of establishing network connection with the target application gateway, if the service request is not acquired in the connection maintaining period, sending a connection maintaining request to the target application gateway so as to enable the target application gateway to maintain network connection with the client.
It should be noted that, the data related to the present application (including but not limited to, history connection records and the like) are all data authorized by the user or sufficiently authorized by each party, and the collection, use and processing of the related data are required to meet the related regulations.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high density embedded nonvolatile Memory, resistive random access Memory (ReRAM), magnetic random access Memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric Memory (Ferroelectric Random Access Memory, FRAM), phase change Memory (Phase Change Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like. The databases referred to in the embodiments provided herein may include at least one of a relational database and a non-relational database. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processor referred to in the embodiments provided in the present application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic unit, a data processing logic unit based on quantum computing, or the like, but is not limited thereto.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The foregoing examples illustrate only a few embodiments of the application and are described in detail herein without thereby limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of the application should be assessed as that of the appended claims.

Claims (10)

1. A method for transmitting services, applied to a client, the method comprising:
under the condition of establishing network connection with a target application gateway, acquiring a service request;
and sending the service request to the target application gateway through the network connection so that the target application gateway transmits the service request to an application server.
2. The method of claim 1, wherein establishing a network connection with a target application gateway comprises:
and under the condition that the client is detected to be in the target scene, sending a connection request to a target application gateway, so that the target application gateway establishes network connection with the client under the condition of verifying the safety of the client.
3. The method of claim 2, wherein the sending the connection request to the target application gateway comprises:
selecting a target application gateway from the candidate application gateways according to the historical connection record;
and sending a connection request to the target application gateway.
4. A method according to claim 3, wherein selecting a target application gateway from the candidate application gateways based on the history of connections comprises:
extracting the connection frequency of the client and each candidate application gateway from the historical connection record;
and taking the candidate application gateway with the largest connection frequency as a target application gateway.
5. The method of claim 2, wherein the target scenario is a client start scenario, a background handover scenario, or a network handover scenario.
6. The method according to claim 1, wherein the method further comprises:
and under the condition of establishing network connection with a target application gateway, if the service request is not acquired in a connection maintaining period, sending a connection maintaining request to the target application gateway so as to enable the target application gateway to maintain the network connection with the client.
7. A traffic transmission device, the device comprising:
the request acquisition module is used for acquiring a service request under the condition of establishing network connection with the target application gateway;
and the request transmission module is used for sending the service request to the target application gateway through the network connection so that the target application gateway transmits the service request to an application server.
8. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 6 when the computer program is executed.
9. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 6.
10. A computer program product comprising a computer program, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 6.
CN202311271412.4A 2023-09-28 2023-09-28 Service transmission method, device, computer equipment and storage medium Pending CN117082135A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311271412.4A CN117082135A (en) 2023-09-28 2023-09-28 Service transmission method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311271412.4A CN117082135A (en) 2023-09-28 2023-09-28 Service transmission method, device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117082135A true CN117082135A (en) 2023-11-17

Family

ID=88710028

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311271412.4A Pending CN117082135A (en) 2023-09-28 2023-09-28 Service transmission method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117082135A (en)

Similar Documents

Publication Publication Date Title
CN113568884B (en) File management method and device, electronic equipment and storage medium
CN110168513A (en) The part of big file is stored in different storage systems
CN116800671A (en) Data transmission method, apparatus, computer device, storage medium, and program product
CN111191143A (en) Application recommendation method and device
CN117082135A (en) Service transmission method, device, computer equipment and storage medium
CN113840313B (en) Network mode control method and device of mobile terminal and computer equipment
CN113556200A (en) Clock calibration method, and network security protection method and device based on clock synchronization
CN113568687A (en) Method for displaying Web page, related equipment and computer readable storage medium
CN116032619B (en) State inspection method and device of intelligent safety networking equipment
CN115604041B (en) Security agent method, system, apparatus, computer device, and storage medium
CN116760791B (en) Image transmission method, device, equipment and storage medium
CN110442447B (en) Message queue-based load balancing method and device and computer equipment
CN116915763A (en) Information interaction method, device, server, terminal and storage medium
CN116489089A (en) Flow control method and device and computer equipment
CN116915434A (en) Verification code asynchronous acquisition method and device based on RxJS and computer equipment
CN116846974A (en) Service request processing method, device, computer equipment and storage medium
CN117251305A (en) Login state acquisition method, login state acquisition device, computer equipment and storage medium
CN116628666A (en) Interaction method, interaction device, computer equipment and storage medium
CN116700969A (en) Task processing method, device, computer equipment and storage medium
CN117149371A (en) Resource borrowing method, resource borrowing device, computer equipment, storage medium and program product
CN114860469A (en) Data acquisition method and device, computer equipment and storage medium
CN118200314A (en) File interaction method, device, computer equipment and storage medium
CN117221830A (en) Message broadcasting method, device, equipment, storage medium and program product
CN116737848A (en) Data association method, device, computer equipment and storage medium
CN116861396A (en) Login method, device, apparatus, storage medium and program product

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