CN114007194A - Subscription message sending method and device, electronic equipment and storage medium - Google Patents

Subscription message sending method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114007194A
CN114007194A CN202111296184.7A CN202111296184A CN114007194A CN 114007194 A CN114007194 A CN 114007194A CN 202111296184 A CN202111296184 A CN 202111296184A CN 114007194 A CN114007194 A CN 114007194A
Authority
CN
China
Prior art keywords
network element
address information
subscription
request message
subscription request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111296184.7A
Other languages
Chinese (zh)
Other versions
CN114007194B (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.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp 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 China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN202111296184.7A priority Critical patent/CN114007194B/en
Publication of CN114007194A publication Critical patent/CN114007194A/en
Priority to PCT/CN2022/103645 priority patent/WO2023077845A1/en
Application granted granted Critical
Publication of CN114007194B publication Critical patent/CN114007194B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/03Protecting confidentiality, e.g. by encryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements

Abstract

The present disclosure provides a subscription message sending method, apparatus, storage medium, and electronic device, which at least overcome, to some extent, the problem in the related art that a gateway cannot forward a subscription notification message between an operator and a private network by configuring a NAT or a static route, or other common ways. The subscription message sending method comprises the following steps: receiving a subscription request message sent by a first network element to a second network element, wherein the subscription request message comprises subscription content and callback address information; replacing callback address information in the subscription request message with address information of the gateway; encrypting callback address information; carrying the encrypted callback address information in a subscription request message to obtain a processed subscription request message; and sending the processed subscription request message to a second network element. The embodiment of the disclosure can send the subscription request message to the second network element under the condition of hiding the address information of the first network element, so that the network of the first network element is isolated from the network of the second network element, and the network security is improved.

Description

Subscription message sending method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a method and an apparatus for sending a subscription message, an electronic device, and a storage medium.
Background
With the rapid development of 5G (5th Generation Mobile Communication Technology, fifth Generation Mobile Communication Technology) private network services, the requirement for interworking between a private network and an operator network is increasingly urgent, but this also brings a series of problems of network security, operator control, and the like. To address these issues, the concept of a signaling interworking gateway is proposed. The signaling intercommunication gateway is deployed between the private network and the operator network, and signaling messages between the two networks are forwarded through the signaling intercommunication gateway, so that the functions of network isolation, topology hiding, network safety and the like are realized, the safety of the operator network and the private network is guaranteed, and the complexity of network docking is simplified.
For ordinary request and response messages, forwarding of signaling messages can be completed on the premise of hiding Network topology by configuring NAT (Network Address Translation) or static routing and the like in the private Network interworking gateway. The subscription notification message cannot be implemented in the above manner.
Disclosure of Invention
The present disclosure provides a subscription message sending method, apparatus, storage medium, and electronic device, which at least overcome, to some extent, the problem in the related art that a gateway cannot forward a subscription notification message between an operator and a private network by configuring a NAT or a static route, or other common ways.
According to a first aspect of the present disclosure, there is provided a subscription message sending method, including: receiving a subscription request message sent by a first network element to a second network element, wherein the subscription request message comprises subscription content and callback address information; replacing the callback address information in the subscription request message with address information of a gateway; encrypting the callback address information; carrying the encrypted callback address information in the subscription request message to obtain a processed subscription request message; and sending the processed subscription request message to the second network element.
Optionally, the method further includes: after the processed subscription request message is sent to the second network element, receiving a subscription notification message from the second network element, wherein the subscription notification message includes encrypted callback address information of the first network element; decrypting the encrypted callback address information of the first network element to obtain the decrypted callback address information of the first network element; replacing the address information of the gateway in the subscription notification message with the decrypted first network element callback address information to obtain a processed subscription notification message; and sending the processed subscription notification message to the first network element.
Optionally, the method further includes: and after the encrypted callback address information of the first network element is decrypted to obtain the decrypted callback address information of the first network element, deleting the encrypted callback address information of the first network element in the subscription notification message.
Optionally, the callback address information includes a callback uniform resource identifier URI, and the callback URI includes a protocol IP address and a port number interconnected between networks of the first network element.
Optionally, the address information of the gateway includes an IP address and a port number of the gateway.
Optionally, the first network element is an access and mobility management function AMF device.
Optionally, the second network element is a user data management UDM device.
According to a second aspect of the present disclosure, there is provided a subscription message sending apparatus, including: a first receiving module, configured to receive a subscription request message sent by a first network element to a second network element, where the subscription request message includes subscription content and callback address information; a first replacement module, configured to replace the callback address information in the subscription request message with address information of a gateway; the encryption module is used for encrypting the callback address information; the processing module is used for carrying the encrypted callback address information in the subscription request message to obtain a processed subscription request message; and the first sending module is used for sending the processed subscription request message to the second network element.
According to a third aspect of the present disclosure, there is provided an electronic device comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute any one of the subscription messaging methods provided by the embodiments of the present disclosure via execution of the executable instructions.
According to a fourth aspect of the present disclosure, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements any one of the subscription message sending methods provided by the embodiments of the present disclosure.
When a subscription request message sent by a first network element to a second network element is received, callback address information in the subscription request message is replaced by address information of a gateway, the callback address information is encrypted, the encrypted callback address information is carried in the subscription request message to obtain a processed subscription request message, and finally the processed subscription request message is sent to the second network element, so that the subscription request message can be sent to the second network element under the condition that the address information of the first network element is hidden, the network of the first network element is isolated from the network of the second network element, and the network security is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure. It is to be understood that the drawings in the following description are merely exemplary of the disclosure, and that other drawings may be derived from those drawings by one of ordinary skill in the art without the exercise of inventive faculty.
Fig. 1 is a flow diagram of a method of subscribing to a message sending in accordance with one or more embodiments of the present disclosure;
fig. 2 is a flow diagram of a method of subscribing to a message sending in accordance with one or more embodiments of the present disclosure;
fig. 3 is a flow diagram of a method of subscribing to a message sending in accordance with one or more embodiments of the present disclosure;
fig. 4 is a flow diagram of a method of subscribing to a message sending in accordance with one or more embodiments of the present disclosure;
fig. 5 is a flow diagram of a method of subscribing to a message sending in accordance with one or more embodiments of the present disclosure;
fig. 6 is a schematic structural diagram of a subscription messaging device according to one or more embodiments of the present disclosure;
and
fig. 7 is a schematic structural diagram of an electronic device according to one or more embodiments of the present disclosure.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus their repetitive description will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
Fig. 1 is a flowchart of a method for subscribing to a message sending according to one or more embodiments of the present disclosure, which may be performed by a gateway, for example, a signaling interworking gateway, as shown in fig. 1, and the method includes:
step S102: receiving a subscription request message sent by a first network element to a second network element, wherein the subscription request message comprises subscription content and callback address information;
optionally, the callback address information in the subscription request message may include a callback URI (Uniform Resource Identifier) of the first network element.
Step S104: replacing the callback address information in the subscription request message with address information of a gateway;
optionally, replacing the callback address information in the subscription request message with the address information of the gateway may enable the subscribed party to send the content subscribed by the subscriber (i.e. the first network element) to the gateway. Thus, the subscribed party can hide the network topology of the subscriber without knowing the actual address information of the subscriber.
Step S106: encrypting the callback address information;
optionally, the gateway side may be preset with an encryption algorithm to encrypt callback address information in a subscription request message sent by the message subscriber.
Step S108: carrying the encrypted callback address information in the subscription request message to obtain a processed subscription request message;
and carrying the encrypted callback address information in the subscription request message, so that the address information of the first network element is invisible to the second network element, and the network of the first network element can be isolated from the network of the second network element.
Step S110: and sending the processed subscription request message to the second network element.
Optionally, after receiving the subscription request message processed by the gateway, the second network element may send the subscription notification message to the gateway according to the callback address information in the received subscription request message when the data subscribed by the first network element changes or the subscription time reaches.
According to the subscription message sending method in one or more embodiments of the disclosure, when a subscription request message sent by a first network element to a second network element is received, callback address information in the subscription request message is replaced with address information of a gateway, the callback address information is encrypted, the encrypted callback address information is carried in the subscription request message to obtain a processed subscription request message, and finally the processed subscription request message is sent to the second network element, so that the subscription request message can be sent to the second network element under the condition that the address information of the first network element is hidden, a network of the first network element is isolated from a network of the second network element, and network security is improved.
Fig. 2 is a flowchart of a method for subscribing to a message sending according to one or more embodiments of the present disclosure, and as shown in fig. 2, the method may further include, on the basis of the method shown in fig. 1:
step S202: after the processed subscription request message is sent to the second network element, receiving a subscription notification message from the second network element, wherein the subscription notification message includes encrypted callback address information of the first network element; the subscription notification message may further include the content subscribed by the first network element.
Step S204: decrypting the encrypted callback address information of the first network element to obtain the decrypted callback address information of the first network element;
optionally, the gateway may further preset and maintain a decryption algorithm corresponding to the encryption algorithm, and the gateway may decrypt the encrypted callback address information based on the decryption algorithm, so as to obtain the decrypted callback address information of the first network element.
Step S206: replacing the address information of the gateway in the subscription notification message with the decrypted first network element callback address information to obtain a processed subscription notification message;
and replacing the address information of the gateway in the subscription notification message by using the decrypted callback address information of the first network element, so that the receiver of the subscription notification message is changed into an actual subscriber of the subscription notification message, namely the first network element, from the gateway.
Step S208: and sending the processed subscription notification message to the first network element.
In step S208, the processed subscription notification message may be sent to the first network element according to the decrypted callback address of the first network element.
In the embodiment shown in fig. 2, the encryption and decryption processes for the callback address information of the message subscriber are both performed at the gateway side, and the message subscriber network and the subscribed network do not perceive the behaviors of the gateway, and only a standard interface protocol needs to be supported, without any modification to the message subscriber network and the subscribed network.
Fig. 3 is a flowchart of a method for subscribing to a message sending according to one or more embodiments of the present disclosure, and as shown in fig. 3, the method may further include, on the basis of fig. 2:
s302: and deleting the encrypted callback address information in the subscription notification message after the encrypted callback address information is decrypted to obtain the decrypted callback address information.
After the encrypted callback address information of the first network element is decrypted, the obtained decrypted callback address information of the first network element is used for replacing the address information of the gateway in the subscription notification message, so that a complete subscription notification message can be obtained, on the basis, the original encrypted callback address information in the subscription notification message is deleted, and the transmission of useless information can be avoided.
In one or more embodiments of the present disclosure, the callback address information may include a callback Uniform Resource Identifier URI (Uniform Resource Identifier) including a protocol IP address and a port number of an interconnection between networks of the first network element.
Illustratively, the format of the callback URI may be http:// IP of the first network element Port/IMSI (International Mobile Subscriber Identity) of the invoked service/Subscriber.
Because the IP address and the port number form a network address, the purpose of hiding the network address of the message subscriber can be obtained by hiding the callback address information for the subscribed party.
In one or more embodiments of the present disclosure, the address information of the gateway may include an IP address and a port number of the gateway. Based on this, the callback address information in the subscription request message is replaced by the address information of the gateway; encrypting the callback address information; the encrypted callback address information is carried in the subscription request message, and the obtained processed subscription request message may specifically be that the IP and Port of the first network element are replaced by the IP and Port of the gateway, the IP and Port of the first network element are encrypted through an encryption algorithm, and finally the encrypted content is attached to the URI, and the format may be, for example, "http:// IP of the gateway: Port/IP of the called service/IMSI of the user/IP of the encrypted first network element: Port.
The IP address and the port number of the first network element are replaced by the IP address and the port number of the gateway, so that the subscription notification message can be sent to the gateway firstly and then forwarded to the first network element by the gateway, and the purpose of network isolation between the network of the first network element and the network of the second network element is achieved.
Fig. 4 is a flowchart of a method for subscribing to a message sending according to one or more embodiments of the present disclosure, as shown in fig. 4, the method includes:
step S402: network element a (which is an example of the first network element) sends a subscription request message to network element B (which is an example of the second network element) through a signaling interworking gateway (which is an example of the gateway);
step S404: the signaling intercommunication gateway receives a subscription request message of a network element A, wherein the subscription request message comprises a callback URI of the network element A, the format of the callback URI is http:// IP of the network element A: Port/called service/IMSI international mobile subscriber identity of a user, the signaling intercommunication gateway processes the received URI, replaces the IP and the Port of the network element A into the IP and the Port of the network element A, encrypts the IP and the Port of the network element A through an encryption algorithm, and finally attaches the encrypted content to the URI, and the format of the IP of the signaling intercommunication gateway is http:// IP of the signaling intercommunication gateway: Port/called service/user/encrypted IP of the network element A: Port ";
step S406: the signaling interworking gateway sends the processed subscription request message to a network element B;
step S408: when the subscribed time in the network element B occurs or the subscribed data is modified, the network element B sends a notification message to a signaling interworking gateway according to the URI in the received subscription request message;
step S410: the signaling intercommunication gateway decrypts the callback URI in the received signaling message, decrypts the real address and port of the network element A according to the encrypted address and port of the network element A in the URI, restores the callback URI in the message, namely restores the IP and the port of the gateway into the IP and the port of the network element A, and removes the encrypted content;
step S412: and the signaling interworking gateway sends the processed subscription notification message to the network element A.
The subscription message sending method shown in fig. 4 can successfully complete the forwarding of the subscription notification message under the condition that the network elements a/B are not visible to each other, and the signaling interworking gateway itself only needs to maintain the encryption/decryption algorithm, which is easy to implement.
In one or more embodiments of the present disclosure, the first network element may be an AMF (Access and Mobility Management Function) device. Based on this, the subscription message sending method according to one or more embodiments of the present disclosure may be applied to a private network user registration process, where a private network AMF subscribes user subscription Data to an operator network integrated UDM (Unified Data Management) through a signaling interworking gateway.
In one or more embodiments of the present disclosure, the second network element may be a UDM device. As described above, based on this, the subscription message sending method according to one or more embodiments of the present disclosure may be applied in a private network user registration process, where a private network AMF collects a subscription data of a user to an UDM from an operator network through a signaling interworking gateway. Therefore, the requirements of network safety and smooth expansion of customized private network services can be met, the accurate issuing of the subscription notification message is realized, and the smooth proceeding of related service processes is ensured.
In the following, a subscription message sending method according to one or more embodiments of the present disclosure is exemplarily described with reference to fig. 5, where an example is that a private network AMF subscribes user subscription data to an operator intensive UDM.
Step S502: the private network AMF (which is an example of the first network element) sends a subscription request message to the signaling interworking gateway (which is an example of the gateway) and the subscription request message contains the subscribed content and the callback URI of the signaling interworking gateway, and the format of the subscription request message is http:// IP of the private network AMF: Port/IMSI of the called service/user;
step S504: the signaling interworking gateway replaces the IP address and the port of the private network AMF of the callback URI in the subscription request message with the IP address and the port of the private network AMF, encrypts the IP address and the port of the private network AMF through an encryption algorithm, and finally adds the encrypted content into the callback URI, wherein the modified callback URI format is as follows: port/called service/IMSI of user/IP of encrypted private network AMF;
step S506: the signaling interworking gateway sends the processed subscription request message to an operator network aggregation UDM (which is an example of the second network element);
step S508: when the user subscription data is sent and changed, the operator network intensive UDM sends a subscription notification message to a signaling interworking gateway according to a callback URI in a received subscription request message;
step S510: the signaling interworking gateway decrypts the encrypted content of the callback URI in the subscription notification message to obtain the IP address and the port of the private network AMF, and restores the callback URI, wherein the restored callback URI is consistent with the callback URI in the subscription request message sent by the private network AMF;
step S512: and the signaling interworking gateway sends the processed subscription notification message to the private network AMF.
Fig. 6 is a schematic structural diagram of a subscription message sending apparatus according to one or more embodiments of the present disclosure, and as shown in fig. 6, the apparatus 610 includes:
a first receiving module 612, configured to receive a subscription request message sent by a first network element to a second network element, where the subscription request message includes subscription content and callback address information;
a first replacing module 614, configured to replace the callback address information in the subscription request message with address information of a gateway;
an encryption module 616, configured to encrypt the callback address information;
a processing module 618, configured to carry the encrypted callback address information in the subscription request message, so as to obtain a processed subscription request message;
a first sending module 620, configured to send the processed subscription request message to the second network element.
In one or more embodiments of the present disclosure, the subscription message sending device may further include:
a second receiving module, configured to receive a subscription notification message from the second network element, where the subscription notification message includes encrypted callback address information of the first network element;
the decryption module is used for decrypting the encrypted callback address information of the first network element to obtain the decrypted callback address information of the first network element;
a second replacing module, configured to replace, by the decrypted first network element callback address information, address information of the gateway in the subscription notification message, to obtain a processed subscription notification message;
and a second sending module, configured to send the processed subscription notification message to the first network element.
In one or more embodiments of the present disclosure, the subscription message sending device may further include:
and the deleting module is used for deleting the encrypted callback address information in the subscription notification message after the encrypted callback address information is decrypted to obtain the decrypted callback address information.
In one or more embodiments of the present disclosure, the callback address information may include a callback uniform resource identifier URI including a protocol IP address and a port number of an interconnection between networks of the first network element.
In one or more embodiments of the present disclosure, the address information of the gateway may include an IP address and a port number of the gateway.
In one or more embodiments of the present disclosure, the first network element may be an AMF device.
In one or more embodiments of the present disclosure, the second network element may be a UDM device.
An electronic device 700 according to this embodiment of the invention is described below with reference to fig. 7. The electronic device 700 shown in fig. 7 is only an example and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 7, electronic device 700 is embodied in the form of a general purpose computing device. The components of the electronic device 700 may include, but are not limited to: the at least one processing unit 710, the at least one memory unit 720, and a bus 730 that couples various system components including the memory unit 720 and the processing unit 710.
Wherein the storage unit stores program code that is executable by the processing unit 710 such that the processing unit 710 performs the steps according to various exemplary embodiments of the present invention as described in the above section "exemplary method" of the present specification. For example, the processing unit 710 may execute step S102 as shown in fig. 1: receiving a subscription request message sent by a first network element to a second network element, wherein the subscription request message comprises subscription content and callback address information; step S104: replacing the callback address information in the subscription request message with address information of a gateway; step S106: encrypting the callback address information; step S108: carrying the encrypted callback address information in the subscription request message to obtain a processed subscription request message; step S110: and sending the processed subscription request message to the second network element.
The storage unit 720 may include readable media in the form of volatile memory units, such as a random access memory unit (RAM)7201 and/or a cache memory unit 7202, and may further include a read only memory unit (ROM) 7203.
The storage unit 720 may also include a program/utility 7204 having a set (at least one) of program modules 7205, such program modules 7205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Bus 730 may be any representation of one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 700 may also communicate with one or more external devices 700 (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a user to interact with the electronic device 700, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 700 to communicate with one or more other computing devices. Such communication may occur via an input/output (I/O) interface 750. Also, the electronic device 700 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the internet) via the network adapter 760. As shown, the network adapter 760 communicates with the other modules of the electronic device 700 via the bus 730. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the electronic device 700, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
In an exemplary embodiment of the present disclosure, there is also provided a computer-readable storage medium having stored thereon a program product capable of implementing the above-described method of the present specification. In some possible embodiments, aspects of the invention may also be implemented in the form of a program product comprising program code means for causing a terminal device to carry out the steps according to various exemplary embodiments of the invention described in the above section "exemplary methods" of the present description, when said program product is run on the terminal device.
A program product for implementing the above method according to an embodiment of the present invention is described, which may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited in this regard and, in the present document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
A computer readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
Moreover, although the steps of the methods of the present disclosure are depicted in the drawings in a particular order, this does not require or imply that the steps must be performed in this particular order, or that all of the depicted steps must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions, etc.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

Claims (10)

1. A method for sending a subscription message, comprising:
receiving a subscription request message sent by a first network element to a second network element, wherein the subscription request message comprises subscription content and callback address information;
replacing the callback address information in the subscription request message with address information of a gateway;
encrypting the callback address information;
carrying the encrypted callback address information in the subscription request message to obtain a processed subscription request message;
and sending the processed subscription request message to the second network element.
2. The method of claim 1, further comprising:
after the processed subscription request message is sent to the second network element, receiving a subscription notification message from the second network element, wherein the subscription notification message includes encrypted callback address information of the first network element;
decrypting the encrypted callback address information of the first network element to obtain the decrypted callback address information of the first network element;
replacing the address information of the gateway in the subscription notification message with the decrypted first network element callback address information to obtain a processed subscription notification message;
and sending the processed subscription notification message to the first network element.
3. The method of claim 2, further comprising:
and after the encrypted callback address information of the first network element is decrypted to obtain the decrypted callback address information of the first network element, deleting the encrypted callback address information of the first network element in the subscription notification message.
4. The method of claim 1, wherein the callback address information comprises a callback Uniform Resource Identifier (URI) comprising a protocol IP address and a port number of an interconnection between networks of the first network element.
5. The method of claim 1, wherein the address information of the gateway comprises an IP address and a port number of the gateway.
6. The method according to claim 1, wherein the first network element is an access and mobility management function, AMF, device.
7. The method according to any of claims 1 to 6, wherein the second network element is a user data management, UDM, device.
8. A subscription messaging device, comprising:
a first receiving module, configured to receive a subscription request message sent by a first network element to a second network element, where the subscription request message includes subscription content and callback address information;
a first replacement module, configured to replace the callback address information in the subscription request message with address information of a gateway;
the encryption module is used for encrypting the callback address information;
the processing module is used for carrying the encrypted callback address information in the subscription request message to obtain a processed subscription request message;
and the first sending module is used for sending the processed subscription request message to the second network element.
9. An electronic device, comprising:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the method of subscribing to messaging recited in any of claims 1-7 via execution of the executable instructions.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the method of subscribing to a message transmission according to any one of claims 1 to 7.
CN202111296184.7A 2021-11-03 2021-11-03 Subscription message sending method and device, electronic equipment and storage medium Active CN114007194B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202111296184.7A CN114007194B (en) 2021-11-03 2021-11-03 Subscription message sending method and device, electronic equipment and storage medium
PCT/CN2022/103645 WO2023077845A1 (en) 2021-11-03 2022-07-04 Subscription message sending method and apparatus, and electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111296184.7A CN114007194B (en) 2021-11-03 2021-11-03 Subscription message sending method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114007194A true CN114007194A (en) 2022-02-01
CN114007194B CN114007194B (en) 2023-03-14

Family

ID=79927012

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111296184.7A Active CN114007194B (en) 2021-11-03 2021-11-03 Subscription message sending method and device, electronic equipment and storage medium

Country Status (2)

Country Link
CN (1) CN114007194B (en)
WO (1) WO2023077845A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114979985A (en) * 2022-05-19 2022-08-30 中国电信股份有限公司 Indirect communication message transmission method, system and gateway equipment
WO2023077845A1 (en) * 2021-11-03 2023-05-11 中国电信股份有限公司 Subscription message sending method and apparatus, and electronic device and storage medium
WO2024001120A1 (en) * 2022-06-29 2024-01-04 中国电信股份有限公司 Network isolation access method, and communication network system, device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101043478A (en) * 2007-04-20 2007-09-26 北京航空航天大学 Service gateway and method for realizing message safe process
CN109936843A (en) * 2018-05-11 2019-06-25 华为技术有限公司 Subscribe to update method, equipment and system
CN110351111A (en) * 2018-04-04 2019-10-18 中国移动通信有限公司研究院 A kind of subscription processing method, network node and customer data base
CN113114650A (en) * 2021-04-02 2021-07-13 腾讯科技(深圳)有限公司 Method, device, equipment and medium for solving network attack

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106657394B (en) * 2017-02-10 2020-06-05 浪潮软件科技有限公司 Equipment information acquisition system and method based on Internet of things big data
CN110399573A (en) * 2018-04-16 2019-11-01 中国移动通信有限公司研究院 A kind of information processing method, device, equipment and computer readable storage medium
CN112995266B (en) * 2019-12-18 2022-07-26 深圳云天励飞技术有限公司 Information pushing method and related equipment
CN114007194B (en) * 2021-11-03 2023-03-14 中国电信股份有限公司 Subscription message sending method and device, electronic equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101043478A (en) * 2007-04-20 2007-09-26 北京航空航天大学 Service gateway and method for realizing message safe process
CN110351111A (en) * 2018-04-04 2019-10-18 中国移动通信有限公司研究院 A kind of subscription processing method, network node and customer data base
CN109936843A (en) * 2018-05-11 2019-06-25 华为技术有限公司 Subscribe to update method, equipment and system
CN113114650A (en) * 2021-04-02 2021-07-13 腾讯科技(深圳)有限公司 Method, device, equipment and medium for solving network attack

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023077845A1 (en) * 2021-11-03 2023-05-11 中国电信股份有限公司 Subscription message sending method and apparatus, and electronic device and storage medium
CN114979985A (en) * 2022-05-19 2022-08-30 中国电信股份有限公司 Indirect communication message transmission method, system and gateway equipment
WO2023221404A1 (en) * 2022-05-19 2023-11-23 中国电信股份有限公司 Indirect communication message transmission method, system, and gateway device
WO2024001120A1 (en) * 2022-06-29 2024-01-04 中国电信股份有限公司 Network isolation access method, and communication network system, device and storage medium

Also Published As

Publication number Publication date
CN114007194B (en) 2023-03-14
WO2023077845A1 (en) 2023-05-11

Similar Documents

Publication Publication Date Title
CN114007194B (en) Subscription message sending method and device, electronic equipment and storage medium
CN106713320B (en) Terminal data transmission method and device
EP2406917B1 (en) Push notification service
EP2410771B1 (en) Method and system for implementing location service
CN104602238A (en) Wireless network connecting method, device and system
EP2916499A1 (en) Ip packet processing method, apparatus and network system
CN110177099B (en) Data exchange method, transmitting terminal and medium based on asymmetric encryption technology
CN111246311A (en) Data transmission method and device, storage medium and electronic equipment
CN112637796B (en) Office information response method, system, server and storage medium based on 5G
CN113055470B (en) Service request distribution method and system
EP1665725B1 (en) Remote ipsec security association management
CN1875600B (en) Method for transferring encrypted useful data objects
CN106453069B (en) A kind of instant communication message sends, checks, checking control method and its equipment
CN112966303A (en) Data encryption and decryption method and device, electronic equipment and computer storage medium
CN110545320A (en) Intranet data interaction method and equipment
WO2015156145A1 (en) Re-encryption method, re-encryption system, and re-encryption device
CN114867003A (en) Cross-network request method, system, device, equipment and storage medium
CN106878964B (en) Authentication system and method based on short message channel
CN112637230B (en) Instant messaging method and system
CN1992587A (en) Identification-based encryption system
KR20150018024A (en) Data sharing method and data sharing system
CN111866100A (en) Method, device and system for controlling data transmission rate
CN113852469B (en) Method, device, equipment and readable storage medium for transmitting data between block chain nodes
CN113472785B (en) Data processing method and device, electronic equipment and readable storage medium
WO2015043421A1 (en) Information transmission method, device and system thereof

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