CN113423120A - Data distribution processing method and device based on private network terminal and electronic equipment - Google Patents
Data distribution processing method and device based on private network terminal and electronic equipment Download PDFInfo
- Publication number
- CN113423120A CN113423120A CN202110693538.5A CN202110693538A CN113423120A CN 113423120 A CN113423120 A CN 113423120A CN 202110693538 A CN202110693538 A CN 202110693538A CN 113423120 A CN113423120 A CN 113423120A
- Authority
- CN
- China
- Prior art keywords
- data packet
- packet detection
- data
- detection rule
- detection result
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 23
- 238000001514 detection method Methods 0.000 claims abstract description 181
- 238000012545 processing Methods 0.000 claims abstract description 42
- 238000000034 method Methods 0.000 claims abstract description 33
- 238000004590 computer program Methods 0.000 claims description 9
- 238000004891 communication Methods 0.000 claims description 7
- 230000005540 biological transmission Effects 0.000 abstract description 10
- 238000010586 diagram Methods 0.000 description 10
- 230000006870 function Effects 0.000 description 6
- 230000008569 process Effects 0.000 description 5
- 230000000694 effects Effects 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
- H04W28/0231—Traffic management, e.g. flow control or congestion control based on communication conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
- H04W28/10—Flow control between communication endpoints
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/16—Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
Abstract
The embodiment of the invention provides a data distribution processing method, a device and electronic equipment based on a private network terminal, wherein the method comprises the steps of obtaining service data sent by the private network terminal, wherein the service data comprises protocol parameter information, detecting the protocol parameter information according to a pre-stored data packet detection rule to obtain a detection result, if the detection result accords with the data packet detection rule, sending the service data to an intranet server corresponding to the protocol parameter information to enable the intranet server to realize intranet services corresponding to the service data, and if the detection result does not accord with the data packet detection rule, sending the service data to an extranet server corresponding to the protocol parameter information to enable the extranet server to realize extranet services corresponding to the service data. The embodiment reduces the complexity of the data distribution processing flow of the private network terminal and the load of the 5G core network, simultaneously reduces the transmission delay and improves the use experience of users.
Description
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a data distribution processing method and device based on a private network terminal and electronic equipment.
Background
With the development of mobile communication technology, 5G networks are increasingly popular with users due to the advantages of high transmission speed, capability of customizing different transmission strategies according to network industry attributes, and the like, and enterprise customers have higher requirements on the security of the 5G networks accessed by 5G private network terminals.
In the prior art, when a 5G private Network terminal accesses a 5G Network, data offloading may be involved, in a data offloading processing method of the existing 5G private Network terminal, a request is usually sent to a NEF (Network Exposure Function) Network element of a 5G core Network through an intranet server, the NEF Network element calls a PCF (Policy Control Function) to write a data offloading rule, the PCF pushes the data offloading rule to an SMF (Session Management Function), the SMF issues the data offloading rule to a UPF (User Plane Function), and finally the UPF performs a data offloading action.
However, the data distribution processing method of the current private network terminal involves more core network elements, increases transmission delay, increases the load of the 5G core network, and affects the user experience.
Disclosure of Invention
The embodiment of the invention provides a data distribution processing method and device based on a private network terminal and electronic equipment, so as to reduce transmission delay and improve the use experience of a user.
In a first aspect, an embodiment of the present invention provides a data offloading processing method based on a private network terminal, including:
acquiring service data sent by a private network terminal, wherein the service data comprises protocol parameter information;
detecting the protocol parameter information according to a pre-stored data packet detection rule to obtain a detection result;
if the detection result accords with the data packet detection rule, the service data is sent to an intranet server corresponding to the protocol parameter information, so that the intranet server realizes an intranet service corresponding to the service data;
and if the detection result is that the data packet detection rule is not met, the service data is sent to an external network server corresponding to the protocol parameter information, so that the external network server realizes the external network service corresponding to the service data.
Optionally, the protocol parameter information includes a destination address and a transport layer protocol,
detecting the protocol parameter information according to a pre-stored data packet detection rule to obtain a detection result, including:
and respectively detecting the destination address and the transport layer protocol according to a pre-stored data packet detection rule to obtain a first detection result.
Optionally, the detecting the destination address and the transport layer protocol according to a pre-stored data packet detection rule respectively to obtain a first detection result, including:
if the destination address and the transport layer protocol are matched with a pre-stored data packet detection rule, a first detection result is that the data packet detection rule is met;
and if any one of the destination address and the transport layer protocol is not matched with a pre-stored data packet detection rule, the first detection result is that the data packet detection rule is not met.
Optionally, the protocol parameter information includes a source address, a destination address and a transport layer protocol,
detecting the protocol parameter information according to a pre-stored data packet detection rule to obtain a detection result, including:
and respectively detecting the source address, the destination address and the transport layer protocol according to a pre-stored data packet detection rule to obtain a second detection result.
Optionally, the detecting the source address, the destination address, and the transport layer protocol according to a pre-stored data packet detection rule respectively to obtain a second detection result, including:
if the source address, the destination address and the transport layer protocol are matched with a pre-stored data packet detection rule, a second detection result is that the data packet detection rule is met;
and if any one of the source address, the destination address and the transport layer protocol is not matched with a pre-stored data packet detection rule, the second detection result is that the data packet detection rule is not met.
Optionally, the destination address includes a destination network address and a destination port number,
if the detection result is that the data packet detection rule is met, the sending the service data to the intranet server corresponding to the protocol parameter information includes:
if the detection result is in accordance with the data packet detection rule, determining a destination intranet server according to the destination network address and the destination port number;
and sending the service data to the target intranet server according to the transport layer protocol.
In a second aspect, an embodiment of the present invention provides a data offloading processing apparatus based on a private network terminal, including:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring service data sent by a private network terminal, and the service data comprises protocol parameter information;
the processing module is used for detecting the protocol parameter information according to a pre-stored data packet detection rule to obtain a detection result;
the processing module is further configured to send the service data to an intranet server corresponding to the protocol parameter information if the detection result conforms to the data packet detection rule, so that the intranet server realizes an intranet service corresponding to the service data;
and the processing module is further configured to send the service data to an extranet server corresponding to the protocol parameter information if the detection result is that the data packet detection rule is not met, so that the extranet server realizes an extranet service corresponding to the service data.
In a third aspect, an embodiment of the present invention provides an electronic device, including:
the application program interface API is used for receiving an adding operation request, a deleting operation request, a changing operation request and an inquiring operation request of the data packet detection rule sent by the control console interface;
the communication module is used for data communication of the intranet server or the extranet server;
at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor executes the data offloading processing method based on the private network terminal according to any one of the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer-executable instruction is stored in the computer-readable storage medium, and when a processor executes the computer-executable instruction, the method for processing data offloading based on a private network terminal according to any one of the first aspect is implemented.
In a fifth aspect, an embodiment of the present invention provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the method for processing data offloading based on a private network terminal according to the first aspect and various possible designs of the first aspect is implemented.
After the scheme is adopted, business data containing protocol parameter information and sent by the private network terminal can be obtained first, then the protocol parameter information is detected according to a prestored data packet detection rule to obtain a detection result, if the detection result accords with the data packet detection rule, the business data is sent to an intranet server corresponding to the protocol parameter information, and the intranet server further realizes an intranet business corresponding to the business data; if the detection result is that the protocol parameter information does not conform to the data packet detection rule, the service data is sent to the external network server corresponding to the protocol parameter information, so that the external network server realizes the external network service corresponding to the service data, and the data is shunted by directly determining whether the acquired service data of the private network terminal is the internal network service or the external network service according to the pre-stored data packet detection rule, so that the complexity of the private network terminal data shunting processing flow and the load of a 5G core network are reduced, meanwhile, the transmission delay is reduced, and the use experience of a user is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic diagram illustrating a method for processing access of a private network terminal in the prior art;
fig. 2 is a schematic structural diagram of an application system of a data offloading processing method based on a private network terminal according to an embodiment of the present invention;
fig. 3 is a schematic flow chart of a data offloading processing method based on a private network terminal according to an embodiment of the present invention;
fig. 4 is a schematic diagram illustrating a principle of a data offloading processing method based on a private network terminal according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a data offloading processing apparatus based on a private network terminal according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of including other sequential examples in addition to those illustrated or described. 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 apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The private network terminal is obtained by customizing functions such as Modem, Android Ril and Android Framework on the basis of a common terminal. The private network terminal can also compatibly support the trunking service defined by protocols such as B-Trunc, 3GPP and the like on the basis of supporting the common communication service. In addition, different private network terminals may relate to different trunking service functions (for example, may relate to services such as group call, point call, video backhaul, video monitoring, video point call, short multimedia message, and the like), and different service classifications may also be different, some services belong to an intranet service, some services belong to an extranet service, and for different service types, the offloading processing methods for the private network terminals in the prior art are substantially the same, for example, fig. 1 is a schematic diagram of a data offloading processing method based on the private network terminals in the prior art, as shown in fig. 1, a data offloading processing method based on the private network terminals generally sends a request to a NEF network element of a 5G core network through an intranet server, then the NEF network element calls a PCF to write a data offloading rule, and the PCF pushes the data offloading rule to an SMF, and the SMF then issues the data offloading rule to a UPF, finally, the data splitting action is executed by the UPF. However, the data distribution processing method of the current private network involves more core network elements, the flow is too complex, the transmission delay is increased, and the load of the 5G core network is increased, which affects the user experience.
Based on the problems, the data distribution is carried out in a mode of directly determining whether the acquired service data of the private network terminal is an intranet service or an extranet service according to the pre-stored data packet detection rule, so that the complexity of a data distribution processing flow and the load of a 5G core network are reduced, the transmission delay is reduced, and the technical effect of the use experience of a user is improved.
Fig. 2 is a schematic structural diagram of an application system of a data offloading processing method based on a private network terminal according to an embodiment of the present invention, as shown in fig. 2, in this embodiment, the data offloading processing device may include a private network terminal 201, a base station 202, a UPF203, a data offloading processing device 204, an intranet server 205, and an extranet platform 206, where the data offloading processing device 204 may obtain service data sent by the private network terminal 201 through the UPF203, and then determine whether the service data is an intranet service or an extranet service according to a pre-stored data packet detection rule, and if the service data is an intranet service, send the service data to the intranet server 205. Otherwise, it is sent to the extranet platform 206. The extranet platform 206 may include an operator 5G core network, the internet, and a corresponding extranet server, among others.
Furthermore, the data offloading processing device 204 may be located between the 5G private network sink UPF and the intranet server 205. Further, the data offloading processing device 204 may be deployed in the intranet server 205.
The technical solution of the present invention will be described in detail below with specific examples. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
Fig. 3 is a schematic flowchart of a data offloading processing method based on a private network terminal according to an embodiment of the present invention, where the method of this embodiment may be executed by the data offloading processing device 204. As shown in fig. 3, the method of this embodiment may include:
s301: and acquiring service data sent by a private network terminal, wherein the service data comprises protocol parameter information.
In this embodiment, the service to be implemented by the private network terminal may be a service inside a relevant department, that is, an intranet service, or a service interacting with other external departments, that is, an extranet service. In order to improve the data security, the service data corresponding to the intranet service can only be transferred between the interiors of relevant departments, and cannot be transmitted to the extranet. Therefore, it is necessary to determine the service data sent by the private network terminal, determine the data type (intranet type or extranet type) corresponding to the service data, and then send the data type to the corresponding server for subsequent processing.
Correspondingly, the service data sent by the private network terminal may be obtained first, wherein the service data may include protocol parameter information in addition to the basic service data. The data type of the service data can be determined according to the protocol parameter information.
S302: and detecting the protocol parameter information according to a pre-stored data packet detection rule to obtain a detection result.
In this embodiment, after the service data including the protocol parameter information is acquired, in order to determine whether the service data is an intranet service or an extranet service, the protocol parameter information may be detected according to a pre-stored data packet detection rule, so as to obtain a detection result.
Further, in one implementation, if the protocol parameter information includes a destination address and a transport layer protocol,
detecting the protocol parameter information according to a pre-stored data packet detection rule to obtain a detection result, which may specifically include:
and respectively detecting the destination address and the transport layer protocol according to a pre-stored data packet detection rule to obtain a first detection result.
Specifically, the pre-stored packet detection rule may include various types of parameter information belonging to the intranet service, and may include, for example, an access address (e.g., an IP address, a URL (Uniform Resource Locator) address, a Host address, or the like) of each intranet server, and may further include a transport layer protocol dedicated to the intranet service.
Correspondingly, whether the service data is the intranet service can be determined according to the destination address and the transport layer protocol.
Further, if the destination address and the transport layer protocol are both matched with the pre-stored packet detection rule, the first detection result is that the packet detection rule is met.
Correspondingly, the destination address and the transport layer protocol are both in a preset parameter information list corresponding to the intranet service, and for example, if the destination address is an access address of the intranet server, it may be determined that the first detection result is in accordance with a data packet detection rule, that is, the service data is the intranet service.
And if any one of the destination address and the transport layer protocol is not matched with the pre-stored data packet detection rule, the first detection result is that the data packet detection rule is not met.
Correspondingly, if one of the destination address or the transport layer protocol is not matched with the pre-stored data packet detection rule, it may be determined that the first detection result is that the data packet detection rule is not met, that is, the service data is an external network service.
For example, if the destination address is not in the access address list of the intranet server, or the transport layer protocol is not a transport layer protocol dedicated to the intranet service, it may be determined that the service data is the extranet service.
In addition, the destination address may further include a destination network address and a destination port number, where the destination network address may be an IP address, a URL address, a Host address, or the like.
If the detection result is that the data packet detection rule is met, the service data is sent to the intranet server corresponding to the protocol parameter information, which may specifically include:
and if the detection result is that the data packet detection rule is met, determining a destination intranet server according to the destination network address and the destination port number.
And sending the service data to the target intranet server according to a transport layer protocol.
Specifically, in order to improve the processing efficiency of the service data, different intranet servers may be allocated to different services. For example, service a1 may be processed by intranet server a2, service B1 may be processed by intranet server B2, and service C1 may be processed by intranet server C2. Therefore, the destination intranet server capable of processing the corresponding service can be comprehensively determined according to the destination network address and the port number, and the accuracy of determining the intranet server is improved.
Further, after the destination intranet server is determined, the service data may be sent to the destination intranet server through a transport layer protocol matched with the intranet server.
In another implementation, the protocol parameter information may also include a source address, a destination address, and a transport layer protocol,
the detecting the protocol parameter information according to the pre-stored data packet detection rule to obtain a detection result, which may specifically include:
and respectively detecting the source address, the destination address and the transport layer protocol according to a pre-stored data packet detection rule to obtain a second detection result.
Further, if the source address, the destination address and the transport layer protocol are all matched with the pre-stored packet detection rule, the second detection result is that the packet detection rule is met.
And if any one of the source address, the destination address and the transport layer protocol is not matched with a pre-stored data packet detection rule, the second detection result is that the data packet detection rule is not met.
Specifically, the source address may be a source network address and a source port, where the source network address may be an IP address, a URL address, a Host address, or the like.
By increasing the judgment of the source network address and the source port, whether the terminal is a private network terminal specified by the intranet can be determined, and the safety of service data transmission is improved in a multi-judgment mode.
S303: and if the detection result is that the data packet detection rule is met, the service data is sent to the intranet server corresponding to the protocol parameter information, so that the intranet server realizes the intranet service corresponding to the service data.
In this embodiment, the detection result may include two types, and if the detection result conforms to the data packet detection rule, the service data may be sent to the corresponding intranet server according to the destination address and the transport layer protocol, so that the intranet server implements the intranet service corresponding to the service data.
S304: and if the detection result is that the detection result does not accord with the data packet detection rule, the service data is sent to the external network server corresponding to the protocol parameter information, so that the external network server realizes the external network service corresponding to the service data.
In this embodiment, if the detection result is that the data packet detection rule is not met, the service data may be sent to the corresponding extranet server according to the destination address and the transport layer protocol, so that the extranet server implements the extranet service corresponding to the service data.
After the scheme is adopted, the service data which is sent by the private network terminal and contains the protocol parameter information can be obtained firstly, then the protocol parameter information is detected according to the prestored data packet detection rule to obtain a detection result, if the detection result accords with the data packet detection rule, the service data is sent to the intranet server corresponding to the protocol parameter information, and then the intranet server realizes the intranet service corresponding to the service data; if the detection result is that the protocol parameter information does not conform to the data packet detection rule, the service data is sent to the external network server corresponding to the protocol parameter information, so that the external network server realizes the external network service corresponding to the service data, and the data is shunted by directly determining whether the acquired service data of the private network terminal is the internal network service or the external network service according to the pre-stored data packet detection rule, so that the complexity of the private network terminal data shunting processing flow and the load of a 5G core network are reduced, meanwhile, the transmission delay is reduced, and the use experience of a user is improved.
Based on the method of fig. 3, the present specification also provides some specific embodiments of the method, which are described below.
Further, acquiring the service data sent by the private network terminal may specifically include:
and acquiring service data from the UPF deployed to the private network terminal.
Specifically, the UPF may be a UPF that is sunk to the private network terminal, and the service data is acquired by the UPF that is sunk to the private network terminal, so that the flow between nodes in the service information acquisition process is reduced, and the acquisition speed of the service data is increased.
In another embodiment, the method may further include:
acquiring parameter information corresponding to an intranet service, and establishing a data packet detection rule according to the parameter information corresponding to the intranet service. The packet inspection rule is stored.
In this embodiment, specific information in the packet detection rule may be determined according to an actual application scenario, and will not be discussed in detail here.
Furthermore, in another embodiment, the method may further include:
specific rules in the data packet detection rules are added, deleted, changed or inquired through a user-defined display interface, and therefore the practicability of the data packet detection rules and the flexibility of the data packet detection rule setting are improved.
Fig. 4 is a schematic diagram illustrating a principle of a data offloading processing method based on a private network terminal according to an embodiment of the present invention, and as shown in fig. 4, in this embodiment, service data sent by the private network terminal may be received through a sinking UPF, then protocol parameter information included in the service data is detected according to a pre-stored data packet detection rule, then a service type (an intranet service or an extranet service) corresponding to the service data may be determined according to a detection result, and the service data is transmitted to a corresponding server according to the service type. The pre-stored data packet detection rule may be obtained from an intranet server.
Based on the same idea, an embodiment of this specification further provides a device corresponding to the method, and fig. 5 is a schematic structural diagram of a data offloading processing device based on a private network terminal according to an embodiment of the present invention, and as shown in fig. 5, the data offloading processing device may include:
the acquiring module 501 is configured to acquire service data sent by a private network terminal, where the service data includes protocol parameter information.
The processing module 502 is configured to detect the protocol parameter information according to a pre-stored data packet detection rule, so as to obtain a detection result.
In this embodiment, in an implementation manner, if the protocol parameter information includes a destination address and a transport layer protocol, the processing module 502 is further configured to:
and respectively detecting the destination address and the transport layer protocol according to a pre-stored data packet detection rule to obtain a first detection result.
Further, the processing module 502 is further configured to:
and if the destination address and the transport layer protocol are matched with a pre-stored data packet detection rule, the first detection result is that the data packet detection rule is met.
And if any one of the destination address and the transport layer protocol is not matched with a pre-stored data packet detection rule, the first detection result is that the data packet detection rule is not met.
In another implementation manner, if the protocol parameter information includes a source address, a destination address, and a transport layer protocol, the processing module 502 is further configured to:
and respectively detecting the source address, the destination address and the transport layer protocol according to a pre-stored data packet detection rule to obtain a second detection result.
Further, the processing module 502 is further configured to:
and if the source address, the destination address and the transport layer protocol are matched with a pre-stored data packet detection rule, the second detection result is that the data packet detection rule is met.
And if any one of the source address, the destination address and the transport layer protocol is not matched with a pre-stored data packet detection rule, the second detection result is that the data packet detection rule is not met.
In addition, if the destination address includes a destination network address and a destination port number, the processing module 502 is further configured to:
and if the detection result is that the data packet detection rule is met, determining a destination intranet server according to the destination network address and the destination port number.
And sending the service data to the target intranet server according to the transport layer protocol.
The processing module 502 is further configured to send the service data to an intranet server corresponding to the protocol parameter information if the detection result is that the data packet detection rule is met, so that the intranet server implements an intranet service corresponding to the service data.
The processing module 502 is further configured to send the service data to an extranet server corresponding to the protocol parameter information if the detection result is that the data packet detection rule is not met, so that the extranet server implements an extranet service corresponding to the service data.
The apparatus provided in the embodiment of the present invention may implement the method in the embodiment shown in fig. 2, and the implementation principle and the technical effect are similar, which are not described herein again.
Fig. 6 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention, and as shown in fig. 6, an electronic device 600 according to the embodiment includes:
an API (Application Program Interface) 601, configured to receive an add operation request, a delete operation request, a modify operation request, and an query operation request for a packet detection rule sent by a console Interface.
And a communication module 602, configured to communicate data with an intranet server or an extranet server.
At least one processor 603 and memory 604. The processor 603 and the memory 604 are connected by a bus.
In a specific implementation, the at least one processor 603 executes computer-executable instructions stored by the memory 604, so that the at least one processor 603 performs the method in the above-described method embodiments.
For a specific implementation process of the processor 603, reference may be made to the above method embodiments, which have similar implementation principles and technical effects, and details are not described herein again.
In the embodiment shown in fig. 6, it should be understood that the Processor may be a Central Processing Unit (CPU), other general purpose processors, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor, or in a combination of the hardware and software modules within the processor.
The memory may comprise high speed RAM memory and may also include non-volatile storage NVM, such as at least one disk memory.
The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, the buses in the figures of the present application are not limited to only one bus or one type of bus.
In addition, the electronic device 600 may also include a power module 605 for providing power to the modules.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer execution instruction is stored in the computer-readable storage medium, and when a processor executes the computer execution instruction, the data offloading processing method based on the private network terminal in the foregoing method embodiment is implemented.
The embodiment of the present invention further provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the method for processing data offloading based on the private network terminal as described above is implemented.
The computer-readable storage medium may be implemented by any type of volatile or non-volatile memory device or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk. Readable storage media can be any available media that can be accessed by a general purpose or special purpose computer.
An exemplary readable storage medium is coupled to the processor such the processor can read information from, and write information to, the readable storage medium. Of course, the readable storage medium may also be an integral part of the processor. The processor and the readable storage medium may reside in an Application Specific Integrated Circuits (ASIC). Of course, the processor and the readable storage medium may also reside as discrete components in the apparatus.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.
Claims (10)
1. A data distribution processing method based on a private network terminal is characterized by comprising the following steps:
acquiring service data sent by a private network terminal, wherein the service data comprises protocol parameter information;
detecting the protocol parameter information according to a pre-stored data packet detection rule to obtain a detection result;
if the detection result accords with the data packet detection rule, the service data is sent to an intranet server corresponding to the protocol parameter information, so that the intranet server realizes an intranet service corresponding to the service data;
and if the detection result is that the data packet detection rule is not met, the service data is sent to an external network server corresponding to the protocol parameter information, so that the external network server realizes the external network service corresponding to the service data.
2. The method of claim 1, wherein the protocol parameter information includes a destination address and a transport layer protocol,
detecting the protocol parameter information according to a pre-stored data packet detection rule to obtain a detection result, including:
and respectively detecting the destination address and the transport layer protocol according to a pre-stored data packet detection rule to obtain a first detection result.
3. The method according to claim 2, wherein the detecting the destination address and the transport layer protocol according to a pre-stored packet detection rule to obtain a first detection result comprises:
if the destination address and the transport layer protocol are matched with a pre-stored data packet detection rule, a first detection result is that the data packet detection rule is met;
and if any one of the destination address and the transport layer protocol is not matched with a pre-stored data packet detection rule, the first detection result is that the data packet detection rule is not met.
4. The method of claim 1, wherein the protocol parameter information comprises a source address, a destination address, and a transport layer protocol,
detecting the protocol parameter information according to a pre-stored data packet detection rule to obtain a detection result, including:
and respectively detecting the source address, the destination address and the transport layer protocol according to a pre-stored data packet detection rule to obtain a second detection result.
5. The method according to claim 4, wherein the detecting the source address, the destination address and the transport layer protocol according to pre-stored packet detection rules respectively to obtain a second detection result, comprises:
if the source address, the destination address and the transport layer protocol are matched with a pre-stored data packet detection rule, a second detection result is that the data packet detection rule is met;
and if any one of the source address, the destination address and the transport layer protocol is not matched with a pre-stored data packet detection rule, the second detection result is that the data packet detection rule is not met.
6. The method according to claim 2 or 3, wherein the destination address comprises a destination network address and a destination port number,
if the detection result is that the data packet detection rule is met, the sending the service data to the intranet server corresponding to the protocol parameter information includes:
if the detection result is in accordance with the data packet detection rule, determining a destination intranet server according to the destination network address and the destination port number;
and sending the service data to the target intranet server according to the transport layer protocol.
7. The utility model provides a data reposition of redundant personnel processing apparatus based on private network terminal which characterized in that includes:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring service data sent by a private network terminal, and the service data comprises protocol parameter information;
the processing module is used for detecting the protocol parameter information according to a pre-stored data packet detection rule to obtain a detection result;
the processing module is further configured to send the service data to an intranet server corresponding to the protocol parameter information if the detection result conforms to the data packet detection rule, so that the intranet server realizes an intranet service corresponding to the service data;
and the processing module is further configured to send the service data to an extranet server corresponding to the protocol parameter information if the detection result is that the data packet detection rule is not met, so that the extranet server realizes an extranet service corresponding to the service data.
8. An electronic device, comprising:
the application program interface API is used for receiving an adding operation request, a deleting operation request, a changing operation request and an inquiring operation request of the data packet detection rule sent by the control console interface;
the communication module is used for data communication of the intranet server or the extranet server;
at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor executes the data offloading processing method based on the private network terminal according to any one of claims 1 to 6.
9. A computer-readable storage medium, wherein a computer executing instruction is stored in the computer-readable storage medium, and when a processor executes the computer executing instruction, the method for processing data offloading based on a private network terminal according to any one of claims 1 to 6 is implemented.
10. A computer program product comprising a computer program, wherein the computer program is configured to implement the data offloading processing method based on the private network terminal according to any one of claims 1 to 6 when executed by a processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110693538.5A CN113423120A (en) | 2021-06-22 | 2021-06-22 | Data distribution processing method and device based on private network terminal and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110693538.5A CN113423120A (en) | 2021-06-22 | 2021-06-22 | Data distribution processing method and device based on private network terminal and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113423120A true CN113423120A (en) | 2021-09-21 |
Family
ID=77717745
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110693538.5A Pending CN113423120A (en) | 2021-06-22 | 2021-06-22 | Data distribution processing method and device based on private network terminal and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113423120A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114727291A (en) * | 2022-03-31 | 2022-07-08 | 中国电信股份有限公司 | Local distribution system, method, device, network equipment and storage medium |
CN115277179A (en) * | 2022-07-26 | 2022-11-01 | 湖南三湘银行股份有限公司 | Open platform comprehensive safety protection method based on multi-step protection |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018001079A1 (en) * | 2016-06-29 | 2018-01-04 | 中兴通讯股份有限公司 | Service rule identification method and device |
CN108282412A (en) * | 2018-01-19 | 2018-07-13 | 世纪龙信息网络有限责任公司 | Network shunt method, apparatus, system and computer equipment |
CN110933061A (en) * | 2019-11-22 | 2020-03-27 | 中国联合网络通信集团有限公司 | Communication method and device |
CN111866773A (en) * | 2019-04-29 | 2020-10-30 | 大唐移动通信设备有限公司 | Data acquisition method and device |
CN112218315A (en) * | 2020-09-27 | 2021-01-12 | 浪潮软件科技有限公司 | End-to-end QoS policy execution and Ethernet data forwarding method of 5G private network |
CN112566185A (en) * | 2020-12-18 | 2021-03-26 | 京信网络***股份有限公司 | Base station service data distribution method, device, storage medium and base station |
-
2021
- 2021-06-22 CN CN202110693538.5A patent/CN113423120A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018001079A1 (en) * | 2016-06-29 | 2018-01-04 | 中兴通讯股份有限公司 | Service rule identification method and device |
CN108282412A (en) * | 2018-01-19 | 2018-07-13 | 世纪龙信息网络有限责任公司 | Network shunt method, apparatus, system and computer equipment |
CN111866773A (en) * | 2019-04-29 | 2020-10-30 | 大唐移动通信设备有限公司 | Data acquisition method and device |
CN110933061A (en) * | 2019-11-22 | 2020-03-27 | 中国联合网络通信集团有限公司 | Communication method and device |
CN112218315A (en) * | 2020-09-27 | 2021-01-12 | 浪潮软件科技有限公司 | End-to-end QoS policy execution and Ethernet data forwarding method of 5G private network |
CN112566185A (en) * | 2020-12-18 | 2021-03-26 | 京信网络***股份有限公司 | Base station service data distribution method, device, storage medium and base station |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114727291A (en) * | 2022-03-31 | 2022-07-08 | 中国电信股份有限公司 | Local distribution system, method, device, network equipment and storage medium |
CN114727291B (en) * | 2022-03-31 | 2023-09-29 | 中国电信股份有限公司 | Local shunting system, method, device, network equipment and storage medium |
CN115277179A (en) * | 2022-07-26 | 2022-11-01 | 湖南三湘银行股份有限公司 | Open platform comprehensive safety protection method based on multi-step protection |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109561141B (en) | CDN node selection method and equipment | |
EP3664372A1 (en) | Network management method and related device | |
CN107395572B (en) | Data processing method and Internet of things gateway | |
CN110912835B (en) | Service distribution method, device and system | |
CN110913025B (en) | Service calling method, device, equipment and medium | |
CN109391502B (en) | Information configuration method and management unit | |
CN111163130B (en) | Network service system and data transmission method thereof | |
CN108429739B (en) | Method, system and terminal equipment for identifying honeypots | |
CN110995873A (en) | Gateway service interface discovery method, system, electronic device and storage medium | |
CN113423120A (en) | Data distribution processing method and device based on private network terminal and electronic equipment | |
CN109348434B (en) | Scene information sending method, sending device and terminal equipment | |
CN110602234B (en) | Block chain network node management method, device, equipment and storage medium | |
CN112752352B (en) | Method and equipment for determining I-SMF (intermediate session management function) | |
CN110830984B (en) | Method, device, equipment and storage medium for routing QoS acceleration request message | |
CN115396510B (en) | Communication method and communication module | |
CN114363879B (en) | Roaming processing method and system for wireless terminal | |
CN112866013B (en) | Network configuration method, device and system | |
CN109981796B (en) | Connection method and device | |
CN113986995A (en) | Request distribution method and device, storage medium and electronic equipment | |
CN114979128A (en) | Cross-region communication method and device and electronic equipment | |
CN114025400A (en) | Session state holding method and session state holding device | |
CN113422772B (en) | Private network terminal access processing method and device and electronic equipment | |
CN105050116A (en) | Business processing method in mobile communication system and access network equipment | |
CN113891385B (en) | Method, device and equipment for detecting link state of network equipment | |
CN113115400B (en) | Communication method and device |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210921 |
|
RJ01 | Rejection of invention patent application after publication |