CN114095502B - Service processing method, system, device and medium - Google Patents

Service processing method, system, device and medium Download PDF

Info

Publication number
CN114095502B
CN114095502B CN202111179296.4A CN202111179296A CN114095502B CN 114095502 B CN114095502 B CN 114095502B CN 202111179296 A CN202111179296 A CN 202111179296A CN 114095502 B CN114095502 B CN 114095502B
Authority
CN
China
Prior art keywords
target
data
service data
service
gateway
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.)
Active
Application number
CN202111179296.4A
Other languages
Chinese (zh)
Other versions
CN114095502A (en
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.)
Zhejiang Geely Holding Group Co Ltd
Hangzhou Youxing Technology Co Ltd
Original Assignee
Zhejiang Geely Holding Group Co Ltd
Hangzhou Youxing Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Geely Holding Group Co Ltd, Hangzhou Youxing Technology Co Ltd filed Critical Zhejiang Geely Holding Group Co Ltd
Priority to CN202111179296.4A priority Critical patent/CN114095502B/en
Publication of CN114095502A publication Critical patent/CN114095502A/en
Application granted granted Critical
Publication of CN114095502B publication Critical patent/CN114095502B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • 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

Abstract

The application discloses a service processing method, a system, a device and a medium, wherein the application obtains flow data of a plurality of gateways, processing capacity data of a plurality of processor cores and a target identifier, carries out load balancing processing according to the flow data and the processing capacity data, determines a target gateway from the plurality of gateways, determines a target processor core from the plurality of processor cores, determines transmission channel information from the target gateway and the target processor core, sends first target service data to a target terminal corresponding to the target identifier based on the transmission channel information, can realize the improvement of safety verification efficiency under high concurrent flow, improves the efficiency of service processing and ensures the data security of service processing.

Description

Service processing method, system, device and medium
Technical Field
The present application relates to the field of data communications, and in particular, to a service processing method, system, device, and medium.
Background
With the rapid development of internet technology and the popularization and application of mobile terminals such as mobile phones, the access amount of a client terminal on the order of tens of millions or more of systems has become normal. And so many clients access the system, the system is required to process the requests of the clients in time and send the service data to the clients. For some clients subscribing to system messages, the system needs to send traffic data to the client periodically or aperiodically. When the service end sends the service data to the client end, the service end can initiate a request by the client end in a http polling mode at fixed time, the service end carries out safety verification on the communication connection, and returns the service data to the client end after the system processing is completed. However, under the high concurrency flow, the security verification efficiency of the service end on the communication connection is low, so that the service processing thread is blocked under the high concurrency flow, and the service processing efficiency is low.
Disclosure of Invention
In order to solve the technical problems, the application provides a service processing method, a system, a method and a medium, which can improve the security verification efficiency under high concurrent flow and the service processing efficiency.
In order to achieve the above object, the present application provides a service processing method, which includes:
acquiring flow data of a plurality of gateways, processing capacity data of a plurality of processor cores and a target identifier;
performing load balancing processing according to the flow data and the throughput data, determining a target gateway from the gateways, and determining a target processor core from the processor cores;
determining transmission channel information by the target gateway and the target processor core;
and sending first target service data to a target terminal corresponding to the target identifier based on the transmission channel information.
In some embodiments, the sending the first target service data to the target terminal corresponding to the target identifier based on the transmission channel information includes:
transmitting the first target service data to the target gateway by using the target processor core;
performing security verification on the connection of the target terminal by using the target gateway;
and if the verification is passed, the target gateway is utilized to send the first target service data to the target terminal.
In some embodiments, after the determining, by the target gateway, the target processor core, of transmission channel information, the method further comprises:
and storing the transmission channel information into a cache.
In some embodiments, the method further comprises:
acquiring the transmission channel information corresponding to the target terminal from the cache;
and sending second target service data to the target terminal based on the transmission channel information.
In some embodiments, before the obtaining traffic data for the plurality of gateways, throughput data for the plurality of processor cores, and the destination identification, the method further comprises:
receiving a service data acquisition request sent by the target terminal;
the obtaining the target identifier includes:
and determining the target identification from the service data acquisition request.
In some embodiments, the service data acquisition request further includes first service data of the target terminal;
before the first target service data is sent to the target terminal corresponding to the target identifier based on the transmission channel information, the method further includes:
extracting the first service data from the service data acquisition request;
the sending the first target service data to the target terminal corresponding to the target identifier based on the transmission channel information includes:
the first service data is sent to a service system by utilizing the target processor kernel, so that the service system carries out service processing on the first service data to generate first target service data;
performing security verification on the connection of the target terminal by using the target gateway;
and if the verification is passed, the target gateway is utilized to send the first target service data to the target terminal.
In some embodiments, before the sending, by the target processor core, the first target traffic data to the target gateway, the method further comprises:
and acquiring the first target service data from a message queue according to a preset period by using the target processor core.
In another aspect, the present application also provides a service processing system, including: a target terminal and a server;
the target terminal is used for sending a target identifier to the server;
the server is used for acquiring flow data of a plurality of gateways, processing capacity data of a plurality of processor cores and a target identifier; performing load balancing processing according to the flow data and the throughput data, determining a target gateway from the gateways, and determining a target processor core from the processor cores; determining transmission channel information by the target gateway and the target processor core; and transmitting first target service data to a target terminal corresponding to the target identifier based on the transmission channel information.
In another aspect, the present application further provides a service processing apparatus, where the apparatus includes:
the first data acquisition module is used for acquiring flow data of a plurality of gateways, processing capacity data of a plurality of processor cores and a target identifier;
the node determining module is used for carrying out load balancing processing according to the flow data and the throughput data, determining a target gateway from the gateways and determining a target processor core from the processor cores;
the transmission channel determining module is used for determining transmission channel information by the target gateway and the target processor core;
and the data transmission module is used for transmitting first target service data to the target terminal corresponding to the target identifier based on the transmission channel information.
In addition, the application also provides a storage medium, wherein at least one instruction or at least one section of program is stored in the storage medium, and the at least one instruction or the at least one section of program is loaded and executed by a processor to realize the service processing method of any one of the above.
The implementation of the application has the following beneficial effects:
the application obtains the flow data of a plurality of gateways, the processing capacity data of a plurality of processor cores and the target identification; performing load balancing processing according to the flow data and the throughput data, determining a target gateway from the gateways, and determining a target processor core from the processor cores; determining transmission channel information by the target gateway and the target processor core; and sending the first target service data to the target terminal corresponding to the target identifier based on the transmission channel information, so that the safety verification efficiency under high concurrent flow can be improved, and the service processing efficiency can be improved.
Drawings
In order to more clearly illustrate the technical solutions of the present application, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a service processing method according to an embodiment of the present application.
Fig. 2 is a flowchart of sending first target service data to a target terminal corresponding to a target identifier based on transmission channel information according to an embodiment of the present application.
Fig. 3 is a flowchart of a service processing method according to another embodiment of the present application.
Fig. 4 is a flowchart of a service processing method according to another embodiment of the present application.
Fig. 5 is a flowchart of a service processing method according to another embodiment of the present application.
Fig. 6 is a flowchart of a service processing method according to another embodiment of the present application.
Fig. 7 is a schematic diagram of a service processing apparatus according to an embodiment of the present application.
Detailed Description
In order to make the technical solution of the present application better understood by those skilled in the art, the technical solution of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, shall fall within the scope of the application.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the application described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or server that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed or inherent to such process, method, article, or apparatus, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In order to implement the technical scheme of the application, more engineering technicians can easily understand and apply the application, and the working principle of the application is further explained by combining specific embodiments.
The application can be applied to the field of data communication, provides a solution suitable for high concurrency scenes and massive user requests, can realize the requirements of the high concurrency application scenes, realize an external unified protocol, and efficiently transmit data, so that the system has high concurrency, high timeliness and high expansibility, and can still stably provide services under high pressure.
In the following, an embodiment of a service processing method according to the present application is described, and fig. 1 is a schematic flow chart of a service processing method according to an embodiment of the present application, and the present specification provides the steps of the method according to the embodiment or the flowchart, but may include more or fewer steps based on conventional or non-inventive labor. The order of steps recited in the embodiments is merely one way of performing the order of steps and does not represent a unique order of execution. Specifically, as shown in fig. 1, the method may include:
in step S101, traffic data of a plurality of gateways, throughput data of a plurality of processor cores, and a target identifier are acquired.
In this embodiment of the present disclosure, the gateway may be configured to provide a transmission channel when the target objects access the service, where each target object needs to be authenticated by the gateway when accessing the service. When at least one target object accesses a gateway, traffic data for the gateway will be generated. The processor core is used for providing business processing service for the target objects, and when at least one target object initiates a business request, the processor core generates the processing amount data of the processor core if responding to the business request to perform business processing. The target identifier may refer to an identity of the client or an identity of the terminal, and specifically may be, for example, an identifier of the client or, for example, a mac address of the terminal. Corresponding flow data and processing capacity data can be reported to the load balancer in real time through the gateway and the processor cores, so that the load balancer can acquire the flow data of a plurality of gateways and the processing capacity data of a plurality of processor cores. When the terminal accesses the service, an access request may be sent to the service, which may include the target identification, such that the server receives the target identification.
In step S102, load balancing processing is performed according to the traffic data and the throughput data, a target gateway is determined from among the plurality of gateways, and a target processor core is determined from among the plurality of processor cores.
In this embodiment of the present disclosure, the traffic data may represent traffic distribution conditions on a plurality of gateways, and the throughput data may represent throughput distribution conditions of a plurality of processor cores. The load balancing processing is performed according to the flow data and the throughput data, namely, the work tasks of the gateways are distributed, and the access requests processed by the processor cores are distributed, so that the workload balance of the gateways and the processor cores is achieved. Specifically, for example, the traffic data may be the access of gateway 1 processing one terminal, and the access of gateway 2 processing two terminals; the processor core 1 is processing traffic of one terminal and the processor core 2 is processing traffic of two terminals. When a new terminal needs to be accessed, the gateway 1 with small access quantity can be determined as a target gateway, and when a new access request is received, the processor core 1 with small processing quantity can be determined as a target processor core.
In step S103, the transmission channel information is determined by the target gateway, the target processor core.
In particular, the transmission channel information may characterize gateway information and processor core information specifically included in the transmission channel. The transmission channel may refer to a path for transmission between the target terminal and the target gateway, and between the target gateway and the target processor core. For example, after determining that the target gateway is the gateway 1 and the target processor core is the processor core 1, it may be determined that the transmission channel information includes the gateway 1 and the processor core 1, and the gateway 1 may perform security verification on the target terminal, so that the target terminal that passes the security verification performs data interaction with the processor core 1.
In step S104, the first target service data is transmitted to the target terminal corresponding to the target identifier based on the transmission channel information.
In this embodiment of the present disclosure, the first target service data is service data requested to be acquired by the target terminal to access the service. After the transmission channel information is determined, the service system can only interact with the target processor core, and the service data requested to be acquired by the target terminal can be based on the target processor core and can be based on the target gateway and the target processor core in the transmission channel information to send first target service data to the target terminal corresponding to the target identifier.
According to the embodiment, the traffic data of the gateways, the processing capacity data of the processor cores and the target identification are obtained, the load balancing processing is carried out according to the traffic data and the processing capacity data, the target gateway is determined from the gateways, the target processor core is determined from the processor cores, the transmission channel information is determined by the target gateway and the target processor core, the target terminal corresponding to the target identification is sent based on the transmission channel information, and the first target service data is sent.
In some embodiments, as shown in fig. 2, sending the first target service data to the target terminal corresponding to the target identifier based on the transmission channel information may include:
in step S201, the first target service data is sent to the target gateway using the target processor core.
In this embodiment of the present disclosure, the first target service data refers to data that the target terminal requests to obtain or data that needs to be pushed to the target terminal. The target processor core may interact with the traffic system, acquire first target traffic data from the traffic system, and send the first target traffic data to the target gateway.
In step S202, security verification of the connection is performed on the target terminal by using the target gateway.
In the embodiment of the present disclosure, traffic and routing policy settings may be performed on multiple target gateways in advance, and the protocol may be filtered. When the target terminal and the server need to perform data interaction, the target gateway can be utilized to determine whether the target terminal accords with the preset flow and routing strategy.
In step S203, if the verification is passed, the target gateway is used to transmit the first target service data to the target terminal.
In the embodiment of the present disclosure, when the security verification of the target gateway on the target terminal is passed, it may be determined that the target terminal and the server may perform data interaction. After the first target service data is sent to the target gateway by using the target processor core, the first target service data can be transmitted to the target terminal through the target gateway.
In practical application, the target gateway can acquire the user token of the target terminal, the target gateway verifies the user token, and after the user token passes the verification, the user token is converted into an internal session token. After the one-time security verification is passed, the target terminal can be communicated with the server for a long time, and the security and the high efficiency are achieved.
Optionally, a filtering policy may be configured on the target gateway, where the target gateway performs security confirmation on the received access request. For illegal requests, the terminal identification corresponding to the illegal requests can be added into the filtering strategy, and the verification function of the target gateway can be automatically perfected through setting and updating the filtering strategy of the target gateway.
According to the embodiment, the first target service data is sent to the target gateway by utilizing the target processor core, the target gateway is utilized to carry out security verification on connection of the target terminal, if the verification is passed, the first target service data is sent to the target terminal by utilizing the target gateway, the target gateway can process on-off of a transmission channel, the data is subjected to transparent transmission processing, and the target processor core can carry out data interaction with a service system when the target gateway passes the verification.
In some embodiments, after the transmission channel information is determined by the target gateway, the target processor core, the method further comprises:
and storing the transmission channel information into a cache.
In the embodiment of the present disclosure, after the transmission channel information is generated, the transmission channel information may be stored in the buffer.
According to the embodiment, the transmission channel information is stored in the buffer memory, so that the transmission channel information in the buffer memory before power failure can be directly called, and the transmission channel information acquisition efficiency is improved.
In some embodiments, as shown in fig. 3, the method may further comprise:
in step S301, transmission channel information corresponding to the target terminal is acquired from the buffer.
In the embodiment of the present disclosure, since the transmission channel information corresponding to the target terminal is stored in the buffer in advance, when the transmission channel needs to be determined, the transmission channel information corresponding to the target terminal may be directly obtained from the buffer.
In step S302, second target traffic data is transmitted to the target terminal based on the transmission channel information.
In this embodiment of the present disclosure, the second target service data refers to new service data to be sent to the target terminal, which is generated by the service system based on a new service data acquisition request or based on a subscription service after the first target service data is generated. Specifically, the target gateway and the target processor core may be determined according to the transmission channel information. And carrying out security verification on the target terminal by utilizing the target gateway, so that the target terminal passing the security verification carries out data interaction with the target processor core, and the target processor core sends second target service data to the target terminal.
In practical application, when a processor core service is restarted, data can be read from the distributed cache preferentially according to a certain time algorithm, and when the processor core service is stable, the processor core service is switched to the local memory for reading.
According to the embodiment, the transmission channel information corresponding to the target terminal is obtained from the cache, and the second target service data is sent to the target terminal based on the transmission channel information, so that the second target service data can be quickly and timely sent to the target terminal, and the service processing efficiency is improved while the safe transmission of the second target service data is ensured.
In some embodiments, as shown in fig. 4, before acquiring traffic data of the plurality of gateways, throughput data of the plurality of processor cores, and the target identification, the method may further include:
in step S401, a service data acquisition request transmitted by a target terminal is received.
The obtaining of the target identifier comprises the following steps: in step S402, a target identification is determined from the traffic data acquisition request.
According to the embodiment, the target identification is determined from the service data acquisition request by receiving the service data acquisition request sent by the target terminal, so that the safety and accuracy of the target terminal determination can be improved, and the safety problem caused by external interception of the target identification of the target terminal is avoided.
In some embodiments, the service data acquisition request may further include first service data of the target terminal. As shown in fig. 5, before sending the first target service data to the target terminal corresponding to the target identifier based on the transmission channel information, the method may further include:
in step S501, first service data is extracted from a service data acquisition request.
In this embodiment of the present disclosure, the first service data refers to data provided when the target terminal requests to perform service processing. For example, it may be a service parameter selected by the user through the target terminal.
Based on the transmission channel information, sending the first target service data to the target terminal corresponding to the target identifier includes:
in step S502, the first service data is sent to the service system by using the target processor core, so that the service system performs service processing on the first service data to generate first target service data.
In this embodiment of the present disclosure, the target processor core may perform data interaction with the service system, and send the first service data to the service system. The business system carries out business processing on the first business data and can generate first target business data.
In step S503, security verification of the connection is performed on the target terminal by the target gateway.
In the embodiment of the present disclosure, traffic and routing policy settings may be performed on multiple target gateways in advance, and the protocol may be filtered. When the target terminal and the server need to perform data interaction, the target gateway can be utilized to determine whether the target terminal accords with the preset flow and routing strategy.
In step S504, if the verification is passed, the target gateway is used to transmit the first target service data to the target terminal.
In the embodiment of the present disclosure, when the security verification of the target gateway on the target terminal is passed, it may be determined that the target terminal and the server may perform data interaction. After the first target service data is sent to the target gateway by using the target processor core, the first target service data can be transmitted to the target terminal through the target gateway.
According to the embodiment, the first service data is extracted from the service data acquisition request, the first service data is sent to the service system by using the target processor core, so that the service system carries out service processing on the first service data to generate first target service data, the target gateway is used for carrying out security verification on connection of the target terminal, if the verification is passed, the first target service data is sent to the target terminal by using the target gateway, the target gateway can process on-off of a transmission channel, data transmission processing is carried out on the data, the target processor core can carry out data interaction with the service system when the verification of the target gateway is passed, the first service data of the target terminal is sent to the service system, the service system can generate the first target service data required by the target terminal based on the first service data, usability can be improved, and a large number of terminals are supported to access scenes of the service system.
In some embodiments, as shown in fig. 6, before the first target traffic data is sent to the target gateway using the target processor core, the method further comprises:
in step S601, first target service data is acquired from a message queue according to a preset period by using a target processor core.
In the embodiment of the present disclosure, the target terminal may acquire the first target service data in a subscription manner. When the target terminal subscribes to the data of the service system, the target processor core may be utilized to acquire the first target service data from the message queue according to a preset period.
According to the embodiment, the first target service data is acquired from the message queue according to the preset period by utilizing the target processor core, so that the first target service data subscribed by the target terminal can be pushed according to the message subscription mode of the target terminal, and the timeliness of data interaction is improved.
In another aspect, the present application also provides a service processing system, which may include: a target terminal and a server;
the target terminal is used for sending the target identification to the server.
The server is used for acquiring flow data of a plurality of gateways, processing capacity data of a plurality of processor cores and a target identifier; load balancing is carried out according to the flow data and the throughput data, a target gateway is determined from a plurality of gateways, and a target processor core is determined from a plurality of processor cores; determining transmission channel information by the target gateway and the target processor core; and transmitting the first target service data to the target terminal corresponding to the target identifier based on the transmission channel information.
In another aspect, the present application further provides a service processing apparatus, as shown in fig. 7, where the apparatus may include:
a first data obtaining module 701, configured to obtain flow data of a plurality of gateways, throughput data of a plurality of processor cores, and a target identifier;
a node determining module 702, configured to perform load balancing processing according to the traffic data and the throughput data, determine a target gateway from the plurality of gateways, and determine a target processor core from the plurality of processor cores;
a transmission channel determining module 703, configured to determine transmission channel information by the target gateway and the target processor core;
and the data transmission module 704 is configured to send first target service data to a target terminal corresponding to the target identifier based on the transmission channel information.
The method comprises the steps of obtaining flow data of a plurality of gateways, processing capacity data of a plurality of processor cores and a target identifier; performing load balancing processing according to the flow data and the throughput data, determining a target gateway from the gateways, and determining a target processor core from the processor cores; determining transmission channel information by the target gateway and the target processor core; and sending the first target service data to the target terminal corresponding to the target identifier based on the transmission channel information, so that the safety verification efficiency under high concurrent flow can be improved, and the service processing efficiency can be improved.
In some embodiments, the data transmission module 704 may include:
and the first sending unit is used for sending the first target business data to the target gateway by utilizing the target processor core.
And the security verification unit is used for performing security verification on the connection of the target terminal by using the target gateway.
And the second sending unit is used for sending the first target service data to the target terminal by using the target gateway if the verification is passed.
In some embodiments, the apparatus may further comprise:
and the storage module is used for storing the transmission channel information into the cache.
In some embodiments, the apparatus may further comprise:
the channel information acquisition module is used for acquiring the transmission channel information corresponding to the target terminal from the cache.
And the second target service data sending module is used for sending the second target service data to the target terminal based on the transmission channel information.
In some embodiments, the apparatus may further comprise:
and the acquisition request receiving module is used for receiving the service data acquisition request sent by the target terminal.
The first data acquisition module 701 may also be configured to determine a destination identification from the service data acquisition request.
In some embodiments, the apparatus may further comprise:
and the first service data extraction module is used for extracting the first service data from the service data acquisition request.
The data transmission module 704 may include:
the first target service data determining unit is used for sending the first service data to the service system by utilizing the target processor core so that the service system performs service processing on the first service data to generate first target service data.
And the security verification unit is used for performing security verification on the connection of the target terminal by using the target gateway.
And the first target service data sending unit is used for sending the first target service data to the target terminal by using the target gateway if the verification is passed.
In some embodiments, the apparatus may further comprise:
the acquisition module is used for acquiring the first target service data from the message queue according to a preset period by utilizing the target processor core.
In another aspect, the present application further provides a computer readable storage medium, where at least one instruction or at least one program is stored in the storage medium, where the at least one instruction or at least one program is loaded and executed by a processor to implement a service processing method according to any one of the foregoing embodiments.
In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the application may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the application, various features of the application are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be construed as reflecting the intention that: i.e., the claimed application requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this application.
Those skilled in the art will appreciate that the modules in the apparatus of the embodiments may be adaptively changed and disposed in one or more apparatuses different from the embodiments. The modules or units or components of the embodiments may be combined into one module or unit or component and, furthermore, they may be divided into a plurality of sub-modules or sub-units or sub-components. Any combination of all features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or units of any method or apparatus so disclosed, may be used in combination, except insofar as at least some of such features and/or processes or units are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings), may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while the embodiments described herein include some features but not others included in other embodiments, combinations of features of different embodiments are meant to be within the scope of the application and form different embodiments. For example, in the claims of the present application, any of the claimed embodiments may be used in any combination.
The present application may also be embodied as a device or system program (e.g., a computer program and a computer program product) for performing a portion or all of the methods described herein. Such a program embodying the present application may be stored on a computer readable medium, or may have the form of one or more signals. Such signals may be downloaded from an internet website, provided on a carrier signal, or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the application, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The application may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the words first, second, third, etc. do not denote any order, and the words may be interpreted as names.

Claims (8)

1. A method of service processing, the method comprising:
acquiring flow data of a plurality of gateways, processing capacity data of a plurality of processor cores and a target identifier;
performing load balancing processing according to the flow data and the throughput data, determining a target gateway from the gateways, and determining a target processor core from the processor cores;
determining transmission channel information by the target gateway and the target processor core;
extracting first service data of a target terminal from a service data acquisition request;
and sending first target service data to a target terminal corresponding to the target identifier based on the transmission channel information, wherein the first target service data comprises: the first service data is sent to a service system by utilizing the target processor kernel, so that the service system carries out service processing on the first service data to generate first target service data; transmitting the first target service data to the target gateway by using the target processor core; performing security verification on the connection of the target terminal by using the target gateway; and if the verification is passed, the target gateway is utilized to send the first target service data to the target terminal.
2. The method of claim 1, wherein after the transmission channel information is determined by the target gateway, the target processor core, the method further comprises:
and storing the transmission channel information into a cache.
3. The method according to claim 2, wherein the method further comprises:
acquiring the transmission channel information corresponding to the target terminal from the cache;
and sending second target service data to the target terminal based on the transmission channel information.
4. The method of claim 1, wherein prior to the obtaining traffic data for the plurality of gateways, throughput data for the plurality of processor cores, and the destination identification, the method further comprises:
receiving a service data acquisition request sent by the target terminal;
the obtaining the target identifier includes:
and determining the target identification from the service data acquisition request.
5. The method of claim 1, wherein prior to said sending the first target traffic data to the target gateway with the target processor core, the method further comprises:
and acquiring the first target service data from a message queue according to a preset period by using the target processor core.
6. A business processing system, said system comprising: a target terminal and a server;
the target terminal is used for sending a target identifier to the server;
the server is used for acquiring flow data of a plurality of gateways, processing capacity data of a plurality of processor cores and a target identifier; performing load balancing processing according to the flow data and the throughput data, determining a target gateway from the gateways, and determining a target processor core from the processor cores; determining transmission channel information by the target gateway and the target processor core; extracting first service data of the target terminal from the service data acquisition request; and transmitting first target service data to a target terminal corresponding to the target identifier based on the transmission channel information;
wherein the sending, based on the transmission channel information, the first target service data to the target terminal corresponding to the target identifier includes: the first service data is sent to a service system by utilizing the target processor kernel, so that the service system carries out service processing on the first service data to generate first target service data; transmitting the first target service data to the target gateway by using the target processor core; performing security verification on the connection of the target terminal by using the target gateway; and if the verification is passed, the target gateway is utilized to send the first target service data to the target terminal.
7. A service processing apparatus, the apparatus comprising:
the first data acquisition module is used for acquiring flow data of a plurality of gateways, processing capacity data of a plurality of processor cores and a target identifier;
the node determining module is used for carrying out load balancing processing according to the flow data and the throughput data, determining a target gateway from the gateways and determining a target processor core from the processor cores;
the transmission channel determining module is used for determining transmission channel information by the target gateway and the target processor core;
the first service data extraction module is used for extracting first service data of the target terminal from the service data acquisition request;
the data transmission module is configured to send first target service data to a target terminal corresponding to the target identifier based on the transmission channel information, and includes: the first service data is sent to a service system by utilizing the target processor kernel, so that the service system carries out service processing on the first service data to generate first target service data; transmitting the first target service data to the target gateway by using the target processor core; performing security verification on the connection of the target terminal by using the target gateway; and if the verification is passed, the target gateway is utilized to send the first target service data to the target terminal.
8. A computer readable storage medium having stored therein at least one instruction or at least one program loaded and executed by a processor to implement the business processing method of any of claims 1 to 5.
CN202111179296.4A 2021-10-08 2021-10-08 Service processing method, system, device and medium Active CN114095502B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111179296.4A CN114095502B (en) 2021-10-08 2021-10-08 Service processing method, system, device and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111179296.4A CN114095502B (en) 2021-10-08 2021-10-08 Service processing method, system, device and medium

Publications (2)

Publication Number Publication Date
CN114095502A CN114095502A (en) 2022-02-25
CN114095502B true CN114095502B (en) 2023-11-03

Family

ID=80296841

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111179296.4A Active CN114095502B (en) 2021-10-08 2021-10-08 Service processing method, system, device and medium

Country Status (1)

Country Link
CN (1) CN114095502B (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106897139A (en) * 2015-12-21 2017-06-27 北京奇虎科技有限公司 A kind for the treatment of method and apparatus of business datum
CN106941522A (en) * 2017-03-13 2017-07-11 广州五舟科技股份有限公司 Lightweight distributed computing platform and its data processing method
CN107580033A (en) * 2017-08-24 2018-01-12 阿里巴巴集团控股有限公司 Load information treating method and apparatus, message treatment method and device, server
WO2019029320A1 (en) * 2017-08-11 2019-02-14 华为技术有限公司 Configuration management method, apparatus and device
CN110347501A (en) * 2019-06-20 2019-10-18 北京大米科技有限公司 A kind of service testing method, device, storage medium and electronic equipment
CN111555963A (en) * 2020-04-30 2020-08-18 北京思特奇信息技术股份有限公司 Message pushing method and device, electronic equipment and storage medium
CN111756737A (en) * 2020-06-24 2020-10-09 中国平安财产保险股份有限公司 Data transmission method, device, system, computer equipment and readable storage medium
CN111935752A (en) * 2020-08-28 2020-11-13 广州市百果园信息技术有限公司 Gateway access method, gateway access device, computer equipment and storage medium
CN112073398A (en) * 2020-08-27 2020-12-11 北京金山云网络技术有限公司 Message queue processing method, device and system, storage medium and electronic device
CN112486655A (en) * 2020-12-08 2021-03-12 珠海格力电器股份有限公司 High-concurrency data processing system and method
CN112613010A (en) * 2020-12-28 2021-04-06 北京世纪互联宽带数据中心有限公司 Authentication service method, device, server and authentication service system
CN112929452A (en) * 2021-03-24 2021-06-08 北京中电兴发科技有限公司 Message collaborative pushing method based on Internet of things edge gateway
CN113055367A (en) * 2021-03-08 2021-06-29 浪潮云信息技术股份公司 Method and system for realizing micro-service gateway authentication
CN113242272A (en) * 2021-03-24 2021-08-10 中国雄安集团数字城市科技有限公司 MQTT service cluster-based session processing method and system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106487936A (en) * 2016-12-29 2017-03-08 深圳市优必选科技有限公司 Data transmission method and equipment, distributed memory system
US10917458B2 (en) * 2018-11-12 2021-02-09 Pivotal Software, Inc. Message broker configuration
US20200403922A1 (en) * 2019-06-24 2020-12-24 Vmware, Inc. Load balancing of l2vpn traffic over multiple ipsec vpn tunnels

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106897139A (en) * 2015-12-21 2017-06-27 北京奇虎科技有限公司 A kind for the treatment of method and apparatus of business datum
CN106941522A (en) * 2017-03-13 2017-07-11 广州五舟科技股份有限公司 Lightweight distributed computing platform and its data processing method
WO2019029320A1 (en) * 2017-08-11 2019-02-14 华为技术有限公司 Configuration management method, apparatus and device
CN107580033A (en) * 2017-08-24 2018-01-12 阿里巴巴集团控股有限公司 Load information treating method and apparatus, message treatment method and device, server
CN110347501A (en) * 2019-06-20 2019-10-18 北京大米科技有限公司 A kind of service testing method, device, storage medium and electronic equipment
CN111555963A (en) * 2020-04-30 2020-08-18 北京思特奇信息技术股份有限公司 Message pushing method and device, electronic equipment and storage medium
CN111756737A (en) * 2020-06-24 2020-10-09 中国平安财产保险股份有限公司 Data transmission method, device, system, computer equipment and readable storage medium
CN112073398A (en) * 2020-08-27 2020-12-11 北京金山云网络技术有限公司 Message queue processing method, device and system, storage medium and electronic device
CN111935752A (en) * 2020-08-28 2020-11-13 广州市百果园信息技术有限公司 Gateway access method, gateway access device, computer equipment and storage medium
CN112486655A (en) * 2020-12-08 2021-03-12 珠海格力电器股份有限公司 High-concurrency data processing system and method
CN112613010A (en) * 2020-12-28 2021-04-06 北京世纪互联宽带数据中心有限公司 Authentication service method, device, server and authentication service system
CN113055367A (en) * 2021-03-08 2021-06-29 浪潮云信息技术股份公司 Method and system for realizing micro-service gateway authentication
CN112929452A (en) * 2021-03-24 2021-06-08 北京中电兴发科技有限公司 Message collaborative pushing method based on Internet of things edge gateway
CN113242272A (en) * 2021-03-24 2021-08-10 中国雄安集团数字城市科技有限公司 MQTT service cluster-based session processing method and system

Also Published As

Publication number Publication date
CN114095502A (en) 2022-02-25

Similar Documents

Publication Publication Date Title
CN108881448B (en) API request processing method and device
EP2633667B1 (en) System and method for on the fly protocol conversion in obtaining policy enforcement information
CN110049022B (en) Domain name access control method and device and computer readable storage medium
CN102281190B (en) Networking method for load balancing apparatus, server and client access method
CN112039942A (en) Subscription and publishing method and server
EP3170091B1 (en) Method and server of remote information query
CN103384237A (en) Method for sharing IaaS cloud account, shared platform and network device
CN110166570B (en) Service session management method and device, and electronic device
CN111786998A (en) Authority management method and device based on micro-service calling and storage medium
CN103491143A (en) File sharing method and device
CN108429739B (en) Method, system and terminal equipment for identifying honeypots
WO2014008864A1 (en) Method, apparatus, and system for sharing software among terminals
US8972968B1 (en) Alternate service for applications
CN108541000B (en) Method, medium and device for detecting network connection
CN109561054A (en) A kind of data transmission method, controller and access device
CN103023684A (en) Method, device and system for network information management
CN112532732B (en) Session processing method and device based on HTTPS
CN114040032A (en) Protocol conversion method, system, storage medium and electronic equipment
EP3902213A1 (en) Relay method, relay system, and relay program
CN114095502B (en) Service processing method, system, device and medium
CN111262779A (en) Method, device, server and system for acquiring data in instant messaging
US20140047014A1 (en) Network access system
CN106899652B (en) Method and device for pushing service processing result
CN116781764A (en) Long-connection task execution method and device and related equipment
CN110287070B (en) ESB special protocol interface test method, server and computer readable storage medium

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
GR01 Patent grant
GR01 Patent grant