WO2014205686A1 - 一种对业务处理的方法、系统以及相关设备 - Google Patents

一种对业务处理的方法、系统以及相关设备 Download PDF

Info

Publication number
WO2014205686A1
WO2014205686A1 PCT/CN2013/078020 CN2013078020W WO2014205686A1 WO 2014205686 A1 WO2014205686 A1 WO 2014205686A1 CN 2013078020 W CN2013078020 W CN 2013078020W WO 2014205686 A1 WO2014205686 A1 WO 2014205686A1
Authority
WO
WIPO (PCT)
Prior art keywords
user
user information
address
server
gateway device
Prior art date
Application number
PCT/CN2013/078020
Other languages
English (en)
French (fr)
Inventor
郭�东
郭建成
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP13888495.2A priority Critical patent/EP2993865A4/en
Priority to PCT/CN2013/078020 priority patent/WO2014205686A1/zh
Priority to CN201380000577.6A priority patent/CN103650551B/zh
Publication of WO2014205686A1 publication Critical patent/WO2014205686A1/zh
Priority to US14/981,060 priority patent/US20160149855A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5041Network service management, e.g. ensuring proper service fulfilment according to agreements characterised by the time relationship between creation and deployment of a service
    • H04L41/5051Service on demand, e.g. definition and deployment of services in real time
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/604Address structures or formats
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/16Gateway arrangements

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method, system, and related device for processing a service. Background technique
  • SP Service Provider
  • location information latitude and longitude coordinate data
  • the operator has a cooperative relationship with the SP.
  • the operator can provide services such as channel and navigation between the user equipment and the SP.
  • the SP can provide content services. If the SP server is to perform content recommendation, accounting, etc. for a user equipment, the SP server needs to record the user information corresponding to the user equipment.
  • IP Internet Protocol
  • the header enhancement action is performed, that is, the user information is inserted in the service message.
  • HTTP Hypertext Transfer Protocol
  • TCP Transmission Control Protocol
  • the embodiment of the invention provides a method, a system and a related device for processing a service, which can reduce the loss of system resources of the gateway device.
  • a first aspect of the present invention provides a method for processing a service, including:
  • the gateway device When the gateway device receives the activation request sent by the user equipment, the gateway device allocates a user IP address to the user equipment; - the gateway device sends the user information and the user IP address of the user equipment to the SP server, so that the SP server saves the correspondence between the user IP address and the user information, and according to the user IP address and user information Correspondence relationship performs business processing on the business text.
  • the method before the step of the gateway device sending the user information and the user IP address of the user equipment to the SP server, the method further includes:
  • the gateway device performs the step of transmitting the user information of the user equipment and the user IP address to the SP server.
  • the gateway device sends user information and a user IP address of the user equipment to an SP server, so that The SP server stores the correspondence between the user IP address and the user information, and performs service processing on the service text according to the correspondence between the user IP address and the user information, including:
  • the gateway device encapsulates the user information and the user IP address of the user equipment into a user information packet
  • the gateway device sends the user information packet to the SP server, so that the SP server parses the user information packet and saves the correspondence between the user IP address and the user information included in the user information packet, and according to The corresponding relationship between the user IP address and the user information performs service processing on the service text.
  • the gateway device sends the user information packet to the SP server, including:
  • the gateway device establishes a service interaction with the SP server in a manner based on the IP network transmission; the gateway device sends the user information packet to the SP server through the service interaction.
  • a second aspect of the present invention provides a method for processing a service, including:
  • the SP server receives the user information and the user IP address of the user equipment sent by the gateway device, and saves the correspondence between the user IP address and the user information;
  • the SP server When the SP server receives the service packet of the user equipment that is forwarded by the gateway device, the SP server performs service processing on the service packet according to the correspondence between the user IP address and the user information.
  • the SP server receives the user information and the user IP address of the user equipment sent by the gateway device, and saves the correspondence between the user IP address and the user information, including:
  • the SP server receives the user information packet sent by the gateway device, where the user information packet includes the user information of the user equipment and the user IP address, and the user information packet is sent by the user equipment to be sent by the gateway device. Generated upon request;
  • the SP server parses the user information packet and saves the correspondence between the user IP address and the user information included in the user information packet.
  • the SP server when the SP server receives the service packet of the user equipment that is forwarded by the gateway device, The SP server performs service processing on the service packet according to the correspondence between the user IP address and the user information, including:
  • the SP server When the SP server receives the service packet of the user equipment that is forwarded by the gateway device, the SP server extracts the user IP address of the received service packet;
  • the SP server acquires user information corresponding to the user IP address extracted from the service >3 ⁇ 4 text according to the correspondence between the user IP address and the user information;
  • the SP server performs service processing on the service packet according to the obtained user information, where the service processing includes content recommendation service processing and billing service processing.
  • a third aspect of the invention provides a computer storage medium
  • the computer storage medium can store a program that, when executed, includes some or all of the steps of a method of business processing provided by the first aspect.
  • a fourth aspect of the present invention provides a computer storage medium
  • the computer storage medium can store a program that, when executed, includes some or all of the steps of a method of service processing provided by the second aspect.
  • a fifth aspect of the present invention provides a gateway device, including:
  • An allocating module configured to allocate a user IP address to the user equipment when receiving the activation request by the user equipment
  • a sending module configured to send the user information and the user IP address of the user equipment to the SP server, so that the SP server saves a correspondence between the user IP address and the user information, and according to the - - Correspondence between the user's IP address and user information performs business processing on the service text.
  • the method further includes:
  • a determining module configured to determine whether the activation request is a request based on user information
  • the sending module is specifically configured to send the user information and the user IP address of the user equipment to the SP server if the determining module determines to be yes.
  • the sending module includes:
  • An encapsulating unit configured to encapsulate user information and a user IP address of the user equipment into a user information message
  • a message sending unit configured to send the user information message to the SP server, so that the SP server parses the user information message and saves a correspondence between a user IP address and user information included in the user information message And processing the service text according to the correspondence between the user IP address and the user information.
  • the message sending unit includes:
  • the packet sending unit is configured to send the user information packet to the SP server by using the service interaction.
  • a sixth aspect of the present invention provides an SP server, including:
  • a receiving module configured to receive user information and a user IP address of the user equipment sent by the gateway device, and a saving module, configured to save a correspondence between the user IP address and the user information;
  • a processing module configured to perform service processing on the service packet according to the correspondence between the user IP address and the user information in the saving module, when receiving the service packet of the user equipment that is forwarded by the gateway device.
  • the receiving module is specifically configured to receive a user information packet sent by the gateway device, where the user information packet includes user information of the user equipment and a user IP address, and the user information packet is received by the gateway device. Generated when the user device sends an activation request;
  • the saving module is specifically configured to parse the user information packet and save the user information packet, including - The correspondence between the user IP address and user information.
  • the processing module includes:
  • an extracting unit configured to: when receiving the service packet of the user equipment that is forwarded by the gateway device, extract the user IP address of the received service packet;
  • An obtaining unit configured to acquire, according to the corresponding relationship between the user IP address and the user information in the saving module, user information corresponding to a user IP address extracted from the service packet;
  • the service processing unit is configured to perform service processing on the service packet according to the obtained user information, where the service processing includes content recommendation service processing and billing service processing.
  • a seventh aspect of the present invention provides a system for processing a service, comprising: the foregoing gateway device and the SP server.
  • An eighth aspect of the present invention provides a gateway device, including: a processor, a communication interface, and a memory, where
  • the communication interface is configured to communicate with a user equipment and an SP server;
  • the memory is used to store a program
  • the processor is configured to execute the program to implement
  • the user equipment When the user equipment receives the activation request, the user equipment is assigned a user IP address; the user information of the user equipment and the user IP address are sent to the SP server, so that the SP server saves the user IP address and the user information. Corresponding relationship, and performing service processing on the service text according to the correspondence between the user IP address and the user information.
  • the processor is further configured to:
  • the user information and the user IP address of the user equipment are sent to the SP server.
  • the processor is specifically configured to:
  • the system performs business processing on the service text according to the correspondence between the user IP address and the user information.
  • the processor is specifically configured to:
  • the user information message is sent to the SP server through the service interaction.
  • a ninth aspect of the present invention provides an SP server, including: a processor, a communication interface, and a memory, where
  • the communication interface is configured to communicate with a gateway device
  • the memory is used to store a program
  • the processor is configured to execute the program to implement
  • the corresponding relationship between the IP address and the user information performs business processing on the service text.
  • the processor is specifically configured to:
  • the gateway device Receiving a user information message sent by the gateway device, where the user information message includes the user information of the user equipment and the user IP address, and the user information message is generated when the gateway device receives the activation request sent by the user equipment. ;
  • the user information message is parsed and the correspondence between the user IP address and the user information included in the user information message is saved.
  • the processor is specifically configured to:
  • the gateway device may The user information and the user IP address are sent to the SP server, so that the SP server can save the correspondence between the user IP address and the user information, so that the SP server can perform the correspondence between the user IP address and the user information in subsequent service access.
  • the corresponding user information is found, so that the gateway device does not need to provide the user information to the SP server, and the gateway device does not need to maintain the service packet to reduce the loss of system resources of the gateway device.
  • FIG. 1 is a schematic flowchart of a method for processing a service according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of a method for determining an activation request according to an embodiment of the present invention
  • FIG. 4 is a schematic flowchart of a method for sending a user information message according to an embodiment of the present invention
  • FIG. 5 is a schematic flowchart of another method for processing a service according to an embodiment of the present invention
  • FIG. 6 is a schematic flowchart of a method for receiving a user information message according to an embodiment of the present invention
  • FIG. 7 is a schematic flowchart of a method for processing a service packet according to an embodiment of the present invention
  • FIG. 8 is a schematic structural diagram of a system for processing a service according to an embodiment of the present invention. Schematic diagram of a gateway device;
  • FIG. 10 is a schematic structural diagram of another gateway device according to an embodiment of the present disclosure.
  • FIG. 11 is a schematic structural diagram of a sending module according to an embodiment of the present disclosure.
  • FIG. 12 is a schematic structural diagram of an SP server according to an embodiment of the present disclosure.
  • FIG. 13 is a schematic structural diagram of a processing module according to an embodiment of the present disclosure.
  • FIG. 14 is a schematic structural diagram of still another gateway device according to an embodiment of the present disclosure.
  • FIG. 15 is a schematic structural diagram of another SP server according to an embodiment of the present invention. - - detailed description
  • FIG. 1 is a schematic flowchart diagram of a method for processing a service according to an embodiment of the present invention, where the method includes:
  • the gateway device When the gateway device receives the activation request sent by the user equipment, the gateway device allocates a user IP address to the user equipment.
  • the gateway device when the gateway device receives the activation request from the user equipment, the gateway device allocates the user IP address to the user equipment, so that the user equipment can carry the user IP address in the service packet that is subsequently sent.
  • the gateway device may determine whether to provide the user information to the SP server according to the activation request. If the gateway device needs to provide the user information to the SP server, the step of S102 is performed.
  • the gateway device sends the user information and the user IP address of the user equipment to the SP server, so that the SP server saves the correspondence between the user IP address and the user information, and according to the user IP address and user information.
  • the gateway device sends the user information and the user IP address of the user equipment to the SP server, so that the SP server saves the correspondence between the user IP address and the user information, and according to the user IP address and user information.
  • the gateway device sends the user information and the user IP address of the user equipment to the SP server, so that the SP server saves the correspondence between the user IP address and the user information, so that the SP server can be configured according to the
  • the corresponding relationship between the user IP address and the user information is used to perform service processing on the service packet, that is, in the subsequent service access, the gateway device can no longer provide the user information of the user to the SP server, and the gateway device does not need to report the service.
  • the SP server can obtain the user information corresponding to the user IP address in the subsequent received service packet according to the corresponding relationship between the saved user IP address and the user information, and perform related service processing according to the user information, for example, Content recommendation business processing, accounting business processing, and so on.
  • the gateway device may send the user information of the user equipment and the user IP address to the SP server, so that the SP server can save the correspondence between the user IP address and the user information, so that In the subsequent service access, the SP server can find the corresponding user information according to the corresponding relationship between the user IP address and the user information, so that the gateway device does not need to provide the user information to the SP server, and the gateway device does not need to report the service.
  • Text - - Maintenance to reduce the loss of system resources to the gateway device.
  • FIG. 2 is a schematic flowchart of a method for determining an activation request according to an embodiment of the present invention
  • the method in the embodiment of the present invention may be performed before step S102 in the foregoing embodiment corresponding to FIG. carried out.
  • the embodiment of the present invention is described by determining an activation request.
  • the method of the embodiment of the present invention specifically includes:
  • the gateway device determines whether the activation request is a request based on user information. Specifically, the gateway device determines whether the activation request is a request based on user information, that is, the gateway device determines whether the user equipment is activated. The user information of the user device is to be provided to the SP server.
  • the gateway device performs user information and a user of the user equipment.
  • the gateway device When the determination in S201 is YES, it is determined that the gateway device needs to provide user information to the SP server, so that the gateway device performs the step of S102, that is, the gateway device performs user information and user IP address of the user equipment.
  • the step of sending to the SP server when the determination in S201 is no, the gateway device does not send the user information and the user IP address of the user equipment to the SP service crying port.
  • the gateway device determines whether the user information is provided to the SP server by determining whether the activation request is a request based on user information, so that the gateway device can satisfy the SP quickly and effectively.
  • FIG. 3 is a schematic flowchart of a method for encapsulating user information in the embodiment of the present invention
  • the method in the embodiment of the present invention may correspond to the corresponding embodiment in FIG. S102 in the middle.
  • the embodiment of the present invention is described as being encapsulated into a user information packet, and the method in the embodiment of the present invention specifically includes:
  • the gateway device encapsulates the user information and the user IP address of the user equipment into a user information packet.
  • the gateway device when the gateway device allocates a user IP address to the user equipment, and determines that the activation request is a request based on user information, the gateway device encapsulates the user information and the user IP address of the user equipment into user information.
  • the message, where the user information packet may further include a correspondence between the user information and the user IP address.
  • the gateway device sends the user information packet to the SP server, so that the SP server parses the user information packet and saves the correspondence between the user IP address and the user information included in the user information packet. And processing the service text according to the correspondence between the user IP address and the user information;
  • the gateway device may send the user information packet to the SP server, so that the SP server parses the user information packet and saves the user information packet.
  • the gateway device may no longer provide the user information of the user to the SP server, and the gateway device does not need to maintain the service packet, but the SP server and the user according to the saved user IP address.
  • the user information corresponding to the user IP address in the subsequently received service >3 ⁇ 4 text can be obtained, and the related service processing is performed according to the user information, for example, content recommendation service processing, accounting service processing, etc. .
  • the gateway device may encapsulate the user information and the user IP address of the user equipment into a user information packet, and send the user information packet to the SP server, so that the SP server can The corresponding relationship between the user IP address and the user information is saved, so that the SP server can find the corresponding user information according to the corresponding relationship between the user IP address and the user information in the subsequent service access, so that the gateway device does not need to provide the SP server again.
  • User information, and the gateway device does not need to maintain service packets to reduce the loss of system resources of the gateway device.
  • FIG. 4 is a schematic flowchart of a method for sending a user information message according to an embodiment of the present invention.
  • the method in the embodiment of the present invention may correspond to S302 in the embodiment corresponding to FIG. 3 above.
  • the embodiment of the present invention is described by sending a user information packet, and the method in the embodiment of the present invention specifically includes:
  • the gateway device establishes a service interaction with an SP server by using an IP network transmission manner.
  • the gateway device sends the user information packet to the SP server by using the service interaction
  • the gateway device when the gateway device encapsulates the user information and the user IP address into user information - After the message, the gateway device can establish a service interaction with the SP server in a manner based on the IP network transmission, and send the user information packet to the SP server through the service interaction, so that the SP server can record User information and user IP address carried in the user information packet.
  • the gateway device may establish a service interaction with the SP server in any manner to send the encapsulated user information packet to the SP server, that is, the gateway device is not limited to the user information based on the IP network transmission.
  • the message is sent to the SP server, and the gateway device can send the user information message to the SP server in any manner, and no comment is made here.
  • the gateway device sends the user information message to the SP server in a manner based on the IP network transmission, so that the gateway device can quickly provide the required user information to the SP server.
  • FIG. 5 is a schematic flowchart diagram of another method for processing a service according to an embodiment of the present disclosure, where the method includes:
  • the SP server receives user information and a user IP address of the user equipment sent by the gateway device, and saves a correspondence between the user IP address and the user information.
  • the SP server may receive the user information and the user IP address of the user equipment sent by the gateway device, and save the user IP address. Correspondence with user information.
  • the SP server when the SP server receives the service packet of the user equipment that is forwarded by the gateway device, the SP server performs service processing on the service packet according to the correspondence between the user IP address and the user information;
  • the SP server when the SP server receives the service packet of the user equipment that is forwarded by the gateway device, the SP server performs service processing on the service packet according to the correspondence between the user IP address and the user information. For example, content recommendation business processing, billing business processing, and the like.
  • the SP server can obtain the user information corresponding to the user IP address in the subsequent received service packet according to the corresponding relationship between the saved user IP address and the user information, and the gateway device does not need to be used in the subsequent service request.
  • the user information is provided to the SP server, and the gateway device does not need to maintain the service packet.
  • the gateway device sends the user information and the user IP address of the user equipment to the SP server in advance, so that the SP server can be based on the user.
  • the association between the IP address and the user information finds the associated user information, so that in the subsequent service access, the gateway device does not need to provide user information to the SP server, and does not need to maintain the service packet to reduce the system of the gateway device. Loss of resources.
  • FIG. 6 is a schematic flowchart of a method for receiving user information in the embodiment of the present invention.
  • the method in the embodiment of the present invention may correspond to the foregoing embodiment in FIG. 5 .
  • the embodiment of the present invention is described by receiving a user information packet, and the method of the embodiment of the present invention specifically includes:
  • the SP server receives a user information packet sent by the gateway device, where the user information packet includes user information of the user equipment and a user IP address, and the user information packet is received by the gateway device by the user equipment. Generated when an activation request is sent;
  • the specific process of receiving the user information and the user IP address of the user equipment by the SP server may be a user information message sent by the receiving gateway device, where the user information packet is obtained by encapsulating the user information of the user equipment and the user IP address. .
  • the user information message is generated when the gateway device receives the activation request sent by the user equipment, and the activation request is a request based on the user information.
  • the SP server parses the user information packet and saves a correspondence between a user IP address and user information included in the user information packet.
  • the SP server can save the correspondence between the user IP address and the user information included in the user information packet by receiving the user information packet sent by the gateway device, so that the SP server can The user relationship between the user IP address and the user information is used to find the associated user information, so that the gateway device does not need to provide the user information to the SP server in subsequent service access, and does not need to maintain the service packet to reduce the gateway device. Loss of system resources.
  • FIG. 7 is a schematic flowchart of a method for processing a service packet according to an embodiment of the present invention.
  • the method in the embodiment of the present invention may correspond to S502 in the foregoing embodiment of FIG.
  • the embodiment of the present invention is described in the process of processing a service packet, and the method in the embodiment of the present invention specifically includes:
  • the SP server when the SP server receives the service packet of the user equipment that is forwarded by the gateway device, the SP server extracts the user IP address of the received service packet. - -
  • the SP server acquires user information corresponding to the user IP address extracted from the service>3 ⁇ 4 text according to the correspondence between the user IP address and the user information;
  • the SP server may obtain, according to the saved correspondence between the user IP address and the user information, the information from the service ⁇ 3 ⁇ 4 User information corresponding to the extracted user IP address.
  • the SP server performs business processing on the service packet according to the obtained user information, where the service processing includes content recommendation service processing and billing service processing;
  • the SP server can obtain the user information corresponding to the user IP address in the subsequent received service packet according to the correspondence between the user IP address and the user information, and perform related information according to the obtained user information.
  • Business processing During this period, the gateway device does not need to provide user information to the SP server, and there is no need to maintain service packets.
  • the gateway device sends the user information of the user equipment and the user IP address to the SP server in advance, so that the SP server can find the correspondence between the user IP address and the user information.
  • the associated user information is such that the gateway device does not need to provide user information to the SP server in subsequent service requests, and does not need to maintain the service packet to reduce the loss of system resources of the gateway device.
  • the embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium can store a program, and the program includes the part of the method for processing the service described in the method embodiment of FIG. 1 to FIG. 4 when executed. Or all steps.
  • the embodiment of the present invention further provides another computer storage medium, wherein the computer storage medium may store a program, where the program is executed, including the method for processing a service described in the method embodiments of FIG. 5 to FIG. 7 above. Some or all of the steps.
  • FIG. 8 is a schematic structural diagram of a system for processing a service according to an embodiment of the present invention, where the system includes: a gateway device 1 and an SP server 2;
  • the gateway device 1 is configured to: when receiving the activation request by the user equipment, assign a user IP address to the user equipment; send user information of the user equipment and a user IP address to the SP server 2, so that the The SP server 2 stores the correspondence between the user IP address and the user information, and performs service processing on the service packet according to the correspondence between the user IP address and the user information.
  • the gateway device 1 is further configured to determine whether the activation request is a request based on user information; - - If the determination is yes, the user information and the user IP address of the user equipment are sent to the SP server.
  • the gateway device 1 is configured to encapsulate the user information and the user IP address of the user equipment into a user information packet, and send the user information packet to the SP server 2, so that the SP server 2 resolves the
  • the user information message is stored and the correspondence between the user IP address and the user information included in the user information message is saved, and the service text is processed according to the correspondence between the user IP address and the user information.
  • the gateway device 1 is specifically configured to establish a service interaction with the SP server 2 in an IP network-based transmission manner; and send the user information packet to the SP server 2 through the service interaction.
  • the SP server 2 is configured to receive the user information and the user IP address of the user equipment sent by the gateway device 1, and save the correspondence between the user IP address and the user information; and receive the user equipment forwarded by the gateway device 1
  • the service processing is performed on the service according to the correspondence between the user IP address and the user information.
  • the SP server 2 is specifically configured to receive a user information packet sent by the gateway device 1, where the user information packet includes user information of the user equipment and a user IP address, and the user information packet is at the gateway device. 1: Received when the user equipment sends an activation request; parses the user information packet and saves a correspondence between the user IP address and the user information included in the user information message.
  • the SP server 2 is configured to: when receiving the service packet of the user equipment that is forwarded by the gateway device 1, extract the user IP address of the received service packet; according to the user IP address and Corresponding relationship of the user information, the user information corresponding to the user IP address extracted from the service information is obtained; the service processing is performed on the service packet according to the obtained user information, where the service processing includes content recommendation Business processing and accounting business processing.
  • the gateway device 1 sends the user information of the user equipment and the user IP address to the SP server 2 in advance, so that the SP server can correspond to the user information according to the user IP address.
  • the associated user information is found, so that in the subsequent service request, the gateway device 1 does not need to provide the user information to the SP server 2, and the service packet is not required to be maintained, so as to reduce the loss of the system resources of the gateway device 1.
  • FIG. 9 is a schematic structural diagram of a gateway device 1 according to an embodiment of the present invention.
  • the gateway device 1 may include: an allocating module 11 and a sending module 12;
  • the allocating module 11 is configured to allocate a user IP address to the user equipment when receiving the activation request by the user equipment;
  • the allocation module when the gateway device 1 receives the activation request sent by the user equipment, the allocation module
  • the user equipment may be assigned a user IP address, so that the user equipment may carry the user IP address in a subsequent service packet.
  • the sending module 12 sends the user information of the user equipment and the user IP address to the SP server 2, so that the SP server 2 saves the correspondence between the user IP address and the user information, and according to the user IP address and Corresponding relationship of user information performs business processing on service packets;
  • the sending module 12 sends the user information of the user equipment and the user IP address to the SP server 2, so that the SP server 2 saves the correspondence between the user IP address and the user information, so that the user is in the subsequent service.
  • the gateway device 1 can no longer provide the user information of the user to the SP server 2, and the gateway device 1 does not need to maintain the service message, but the SP server 2 according to the saved user IP address and user information.
  • the user information corresponding to the user IP address in the subsequent received service message may be obtained, and the related service processing may be performed according to the user information, for example, content recommendation service processing, accounting service processing, and the like.
  • the gateway device 1 sends the user information of the user equipment and the user IP address to the SP server 2 in advance, so that the SP server can correspond to the user information according to the user IP address.
  • the associated user information is found, so that in the subsequent service request, the gateway device 1 does not need to provide the user information to the SP server 2, and the service packet is not required to be maintained, so as to reduce the loss of the system resources of the gateway device 1.
  • the gateway device 1 may include the allocation module 11 and the sending module 12 in the foregoing embodiment of FIG.
  • the gateway device 1 of the embodiment of the present invention may further include: a determining module 13;
  • the determining module 13 is configured to determine whether the activation request is a request based on user information. Specifically, the determining module 13 determines whether the activation request is a request based on user information, that is, after the user equipment is activated. Whether to provide the user information of the user equipment to the SP server 2. - The sending module 12 is specifically configured to send the user information of the user equipment and the user IP address to the SP server 2 if the determining module 13 determines YES.
  • the gateway device 1 determines whether the user information is provided to the SP server 2 by determining whether the activation request is a request based on user information, so that the gateway device 1 can be fast and effective. The requirements of the SP server 2 for user information are met.
  • FIG. 11 is a schematic structural diagram of a sending module 12 according to an embodiment of the present invention.
  • the sending module 12 may include: a packaging unit 121 and a packet sending unit 122. Encapsulating the user information and the user IP address of the user equipment into a user information packet;
  • the allocating module 11 allocates a user IP address to the user equipment
  • the determining module 13 determines that the activation request is a request based on user information
  • the encapsulating unit 121 is a user of the user equipment.
  • the information and the user IP address are encapsulated into a user information, and the user information may further include a correspondence between the user information and the user IP address.
  • the message sending unit 122 is configured to send the user information message to the SP server 2, so that the SP server 2 parses the user information message and saves the user IP address included in the user information message. Corresponding relationship of the user information, and performing service processing on the service packet according to the correspondence between the user IP address and the user information;
  • the message sending unit 122 includes: a creating subunit 1221;
  • the establishing subunit 1221 is configured to establish a service interaction with the SP server 2 in a manner based on an IP network transmission;
  • the packet sending unit 122 is specifically configured to send the user information packet to the SP server 2 through the service interaction;
  • the establishing subunit 1221 may establish a service interaction with the SP server 2 by using an IP network transmission manner, and The message sending unit 122 sends the user information message to the SP server 2 through the service interaction, so that the SP server 2 can record the user information and the user IP address carried by the user information message.
  • the establishing sub-unit 1221 may establish a service interaction with the SP server in any manner, that is, the message sending unit 122 is not limited to transmitting the user information message to the SP server 2 in a manner based on the IP network transmission.
  • Message sending unit 122 - - The user information message can be sent to the SP server 2 in any way, and no comment is made here.
  • the gateway device 1 sends the user information message to the SP server 2 in a manner based on IP network transmission, so that the gateway device 1 can quickly provide the required information to the SP server 2.
  • FIG. 12 is a schematic structural diagram of an SP server 2 according to an embodiment of the present invention.
  • the SP server 2 may include: a receiving module 21, a saving module 22, and a processing module 23;
  • the receiving module 21 is configured to receive user information and a user IP address of the user equipment sent by the gateway device 1;
  • the receiving module 21 may receive the user information and the user IP address of the user equipment sent by the gateway device 1.
  • the saving module 22 is configured to save a correspondence between the user IP address and the user information.
  • the processing module 23 is configured to: when receiving the service packet of the user equipment that is forwarded by the gateway device, according to the saving module 22 Corresponding relationship between the user IP address and the user information in the service processing of the service packet;
  • the processing module 23 when receiving the service packet of the user equipment forwarded by the gateway device 1, the processing module 23 reports the service report according to the correspondence between the user IP address and the user information in the saving module 22
  • the text performs business processing, for example, content recommendation service processing, accounting service processing, and the like.
  • the processing module 23 may obtain the user information corresponding to the user IP address in the subsequent received service packet according to the saved relationship between the user IP address and the user information, and may enable the gateway device in the subsequent service request. 1 It is not necessary to provide user information to the SP server 2, and the gateway device 1 does not need to maintain the service message.
  • the receiving module 21 is specifically configured to receive a user information packet sent by the gateway device 1, where the user information packet includes user information of the user equipment and a user IP address, and the user information packet is in the The gateway device 1 is generated when the user equipment receives the activation request;
  • the saving module 22 is specifically configured to parse the user information packet and save the correspondence between the user IP address and the user information included in the user information packet.
  • the gateway device 1 can send the user information of the user equipment and the user IP address to the SP server 2 in advance, so that the SP server 2 can root - Finding the associated user information according to the correspondence between the user's IP address and the user information, so that the gateway device 1 does not need to provide the user information to the SP server 2, and does not need to maintain the service packet in the subsequent service request.
  • the loss of system resources to the gateway device 1 is reduced.
  • FIG. 13 is a schematic diagram of a structure of a processing module 23 according to an embodiment of the present invention.
  • the processing module 23 may include: an extracting unit 231, an obtaining unit 232, and a service processing unit 233;
  • the extracting unit 231 is configured to: when receiving the service packet of the user equipment that is forwarded by the gateway device 1, extract the user IP address of the received service packet;
  • the extracting unit 231 extracts the user IP address of the received service packet.
  • the obtaining unit 232 is configured to obtain user information corresponding to the user IP address extracted from the service packet according to the correspondence between the user IP address and the user information in the saving module 22;
  • the extracting unit 231 extracts the user IP address of the service packet
  • the user information corresponding to the user IP address extracted from the service packet is obtained.
  • the service processing unit 233 is configured to perform service processing on the service packet according to the obtained user information, where the service processing includes content recommendation service processing and billing service processing;
  • the gateway device 1 sends the user information of the user equipment and the user IP address to the SP server 2 in advance, so that the SP server can correspond to the user information according to the user IP address.
  • the associated user information is found, so that in the subsequent service request, the gateway device 1 does not need to provide the user information to the SP server 2, and the service packet is not required to be maintained, so as to reduce the loss of the system resources of the gateway device 1.
  • FIG. 14 is a schematic structural diagram of another gateway device 1 according to an embodiment of the present invention.
  • the gateway device 1 may include a processor 1001, a communication interface 1002, and a memory 1003 (the number of processors 1001 in the gateway device 1) It can be one or more, and one processor 1001 is taken as an example in Fig. 14).
  • the processor 1001, the communication interface 1002, and the memory 1003 may be connected by a communication bus or other means, wherein FIG. 14 is exemplified by a communication bus connection.
  • the communication interface 1002 is configured to communicate with the user equipment and the SP server 2; - the memory 1003 is for storing a program;
  • the processor 1001 is configured to execute the program to implement
  • the user equipment When the user equipment receives the activation request, the user equipment is assigned a user IP address; the user information of the user equipment and the user IP address are sent to the SP server 2, so that the SP server 2 saves the user IP address and The correspondence between the user information and the service processing of the service text according to the correspondence between the user IP address and the user information.
  • the processor 1001 is further configured to:
  • the user information and the user IP address of the user equipment are sent to the SP server 2.
  • the processor 1001 is specifically configured to:
  • the correspondence between the user IP address and the user information included in the packet is processed according to the correspondence between the user IP address and the user information.
  • the processor 1001 is specifically configured to:
  • the user information message is sent to the SP server 2 through the service interaction.
  • the gateway device 1 sends the user information of the user equipment and the user IP address to the SP server 2 in advance, so that the SP server can correspond to the user information according to the user IP address.
  • the associated user information is found, so that in the subsequent service request, the gateway device 1 does not need to provide the user information to the SP server 2, and the service packet is not required to be maintained, so as to reduce the loss of the system resources of the gateway device 1.
  • the SP server 2 may include a processor 2001, a communication interface 2002, and a memory 2003 (the number of processors 2001 in the SP server 2) It may be one or more, and one processor 2001 is taken as an example in Fig. 15).
  • the processor 2001, the communication interface 2002, and the memory 2003 may be connected by a communication bus or other means, wherein FIG. 15 is exemplified by a communication bus connection.
  • the communication interface 2002 is configured to communicate with the gateway device 1; - the memory 2003 is used to store a program;
  • the processor 2001 is configured to execute the program to implement
  • the service text is processed according to the correspondence between the user IP address and the user information.
  • the processor 2001 is specifically configured to:
  • the user information message includes user information of the user equipment and a user IP address, and the user information message is when the gateway device 1 receives the activation request sent by the user equipment.
  • the user information message is parsed and the correspondence between the user IP address and the user information included in the user information message is saved.
  • the processor 2001 is specifically configured to:
  • the gateway device 1 sends the user information of the user equipment and the user IP address to the SP server 2 in advance, so that the SP server can correspond to the user information according to the user IP address.
  • the associated user information is found, so that in the subsequent service request, the gateway device 1 does not need to provide the user information to the SP server 2, and the service packet is not required to be maintained, so as to reduce the loss of the system resources of the gateway device 1.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Landscapes

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

Abstract

本发明实施例公开一种对业务处理的方法、系统以及相关设备,其中,所述方法包括:当网关设备接收到用户设备发送激活请求时,网关设备为所述用户设备分配用户IP地址;所述网关设备将所述用户设备的用户信息和用户IP地址发送到SP服务器,以使所述SP服务器保存用户IP地址与用户信息的对应关系,并根据所述用户IP地址和用户信息的对应关系对业务报文进行业务处理。采用本发明,可以减少对网关设备的系统资源的损耗。

Description

一 一 一种对业务处理的方法、 系统以及相关设备 技术领域
本发明涉及通信技术领域, 尤其涉及一种对业务处理的方法、 系统以及相 关设备。 背景技术
SP ( Service Provider, 服务提供商)是通过移动通信网和定位技术获取用 户设备的位置信息(经纬度坐标数据), 开展一系列应用服务的新型移动数据 业务,它将成为我们将来舒适生活中密不可分的一部分。随着网络技术的演进, 位置服务的应用也越来越丰富, 为用户提供更有价值的多媒体应用。
运营商与 SP—般具有合作关系, 运营商可以为用户设备和 SP之间提供 通道、 导航等服务, SP可以提供内容服务。 若 SP服务器要对某个用户设备进 行内容推荐、 记账等操作, SP服务器需要记录该用户设备所对应的用户信息。 由于用户设备发起的业务报文中, 只有动态分配的 IP ( Internet Protocol, 网络 之间互连的协议)地址, 没有移动台识别号码等用户信息, 所以在现有技术中 需要运营商在网关设备执行头增强动作, 即在业务报文中插入用户信息。对于 HTTP( Hypertext transfer protocol,超文本传输协议 )AVAP( Wireless Application Protocol, 无线应用协议)业务, 在业务报文中插入用户信息后, 会改变业务 流的原始 TCP ( Transmission Control Protocol , 传输控制协议) Sequence ( Sequence, 序列), 使网关设备要动态维护所有 TCP报文的 Sequence, 该操 作需要对每个报文进行处理, 从而导致设备性能下降。 发明内容
本发明实施例提供一种对业务处理的方法、 系统以及相关设备, 可以减少 对网关设备的系统资源的损耗。
本发明第一方面提供了一种对业务处理的方法, 包括:
当网关设备接收到用户设备发送激活请求时,网关设备为所述用户设备分 配用户 IP地址; - - 所述网关设备将所述用户设备的用户信息和用户 IP地址发送到 SP服务 器, 以使所述 SP服务器保存用户 IP地址与用户信息的对应关系, 并根据所述 用户 IP地址和用户信息的对应关系对业务 文进行业务处理。
在第一种可能的实现方式中,在所述网关设备将所述用户设备的用户信息 和用户 IP地址发送到 SP服务器的步骤之前, 还包括:
所述网关设备判断所述激活请求是否为基于用户信息的请求;
若判断为是, 所述网关设备执行将所述用户设备的用户信息和用户 IP地 址发送到 SP服务器的步骤。
结合第一方面或第一方面的第一种可能的实现方式,在第二种可能的实现 方式中,所述网关设备将所述用户设备的用户信息和用户 IP地址发送到 SP服 务器, 以使所述 SP服务器保存用户 IP地址与用户信息的对应关系, 并根据所 述用户 IP地址和用户信息的对应关系对业务 文进行业务处理, 包括:
所述网关设备将所述用户设备的用户信息和用户 IP地址封装成用户信息 报文;
所述网关设备将所述用户信息报文发送到 SP服务器, 以使所述 SP服务 器解析所述用户信息报文并保存用户信息报文中包括的用户 IP地址与用户信 息的对应关系, 并根据所述用户 IP地址和用户信息的对应关系对业务 文进 行业务处理。
结合第一方面的第二种可能的实现方式,在第三种可能的实现方式中, 所 述网关设备将所述用户信息报文发送到 SP服务器, 包括:
所述网关设备以基于 IP网络传输的方式建立与 SP服务器的业务交互; 所述网关设备将所述用户信息报文通过该业务交互发送到所述 SP服务 器。
本发明第二方面提供了一种对业务处理的方法, 包括:
SP服务器接收网关设备发送的用户设备的用户信息和用户 IP地址, 并保 存用户 IP地址与用户信息的对应关系;
当 SP服务器接收到所述网关设备转发的所述用户设备的业务报文时, 所 述 SP服务器根据所述用户 IP地址和用户信息的对应关系对所述业务报文进行 业务处理。 - - 在第一种可能的实现方式中, 所述 SP服务器接收网关设备发送的用户设 备的用户信息和用户 IP地址, 并保存用户 IP地址与用户信息的对应关系, 包 括:
所述 SP服务器接收网关设备发送的用户信息报文, 所述用户信息报文包 括用户设备的用户信息和用户 IP地址, 且所述用户信息报文是在所述网关设 备接收到用户设备发送激活请求时生成的;
所述 SP服务器解析所述用户信息报文并保存用户信息报文包括的用户 IP 地址与用户信息的对应关系。
结合第二方面或第二方面的第一种可能的实现方式,在第二种可能的实现 方式中, 所述当 SP服务器接收到所述网关设备转发的所述用户设备的业务报 文时,所述 SP服务器根据所述用户 IP地址和用户信息的对应关系对所述业务 报文进行业务处理, 包括:
当所述 SP服务器接收到所述网关设备转发的所述用户设备的业务报文 时, 所述 SP服务器提取接收到的所述业务报文的用户 IP地址;
所述 SP服务器根据所述用户 IP地址和用户信息的对应关系获取从所述业 务 >¾文中提取到的用户 IP地址所对应的用户信息;
所述 SP服务器根据获取到的所述用户信息对所述业务报文进行业务处 理, 所述业务处理包括内容推荐业务处理和记账业务处理。
本发明第三方面提供了一种计算机存储介质,
所述计算机存储介质可存储有程序,该程序执行时包括第一方面提供的一 种对业务处理的方法的部分或全部步骤。
本发明第四方面提供了一种计算机存储介质,
所述计算机存储介质可存储有程序,该程序执行时包括第二方面提供的一 种对业务处理的方法的部分或全部步骤。
本发明第五方面提供了一种网关设备, 包括:
分配模块, 用于当接收到用户设备发送激活请求时, 为所述用户设备分配 用户 IP地址;
发送模块,用于将所述用户设备的用户信息和用户 IP地址发送到 SP服务 器, 以使所述 SP服务器保存用户 IP地址与用户信息的对应关系, 并根据所述 - - 用户 IP地址和用户信息的对应关系对业务 文进行业务处理。
在第一种可能的实现方式中, 还包括:
判断模块, 用于判断所述激活请求是否为基于用户信息的请求;
则发送模块, 具体用于若所述判断模块判断为是,将所述用户设备的用户 信息和用户 IP地址发送到 SP服务器。
结合第五方面或第五方面的第一种可能的实现方式,在第二种可能的实现 方式中, 所述发送模块包括:
封装单元, 用于将所述用户设备的用户信息和用户 IP地址封装成用户信 息报文;
报文发送单元, 用于将所述用户信息报文发送到 SP服务器, 以使所述 SP 服务器解析所述用户信息报文并保存用户信息报文中包括的用户 IP地址与用 户信息的对应关系, 并才艮据所述用户 IP地址和用户信息的对应关系对业务 文进行业务处理。
结合第五方面的第二种可能的实现方式,在第四种可能的实现方式中, 所 述报文发送单元包括:
建立子单元,用于以基于 IP网络传输的方式建立与 SP服务器的业务交互; 则报文发送单元,具体用于将所述用户信息报文通过该业务交互发送到所 述 SP服务器。
本发明第六方面提供了一种 SP服务器, 包括:
接收模块,用于接收网关设备发送的用户设备的用户信息和用户 IP地址; 保存模块, 用于保存用户 IP地址与用户信息的对应关系;
处理模块, 用于当接收到所述网关设备转发的所述用户设备的业务报文 时, 根据保存模块中的所述用户 IP地址和用户信息的对应关系对所述业务报 文进行业务处理。
在第一种可能的实现方式中,
所述接收模块, 具体用于接收网关设备发送的用户信息报文, 所述用户信 息报文包括用户设备的用户信息和用户 IP地址, 且所述用户信息报文是在所 述网关设备接收到用户设备发送激活请求时生成的;
所述保存模块,具体用于解析所述用户信息报文并保存用户信息报文包括 - - 的用户 IP地址与用户信息的对应关系。
结合第六方面或第六方面的第一种可能的实现方式,在第二种可能的实现 方式中, 所述处理模块包括:
提取单元, 用于当接收到所述网关设备转发的所述用户设备的业务报文 时, 提取接收到的所述业务报文的用户 IP地址;
获取单元, 用于根据所述保存模块中的所述用户 IP地址和用户信息的对 应关系获取从所述业务报文中提取到的用户 IP地址所对应的用户信息;
业务处理单元,用于根据获取到的所述用户信息对所述业务报文进行业务 处理, 所述业务处理包括内容推荐业务处理和记账业务处理。
本发明第七方面提供了一种对业务处理的系统, 包括: 上述的网关设备和 上述的 SP服务器。
本发明第八方面提供了一种网关设备, 包括:处理器、通信接口和存储器, 其中,
所述通信接口, 用于与用户设备和 SP服务器进行通信;
所述存储器用于存储程序;
所述处理器用于执行所述程序, 以实现
当接收到用户设备发送激活请求时, 为所述用户设备分配用户 IP地址; 将所述用户设备的用户信息和用户 IP地址发送到 SP服务器, 以使所述 SP服务器保存用户 IP地址与用户信息的对应关系, 并根据所述用户 IP地址 和用户信息的对应关系对业务 文进行业务处理。
在第一种可能的实现方式中, 所述处理器还用于:
判断所述激活请求是否为基于用户信息的请求;
若判断为是,执行将所述用户设备的用户信息和用户 IP地址发送到 SP服 务器。
结合第八方面或第八方面的第一种可能的实现方式,在第二种可能的实现 方式中, 所述处理器具体用于:
将所述用户设备的用户信息和用户 IP地址封装成用户信息报文; 将所述用户信息报文发送到 SP服务器, 以使所述 SP服务器解析所述用 户信息报文并保存用户信息报文中包括的用户 IP地址与用户信息的对应关 - - 系,并才艮据所述用户 IP地址和用户信息的对应关系对业务 文进行业务处理。
结合第八方面的第二种可能的实现方式,在第三种可能的实现方式中, 所 述处理器具体用于:
以基于 IP网络传输的方式建立与 SP服务器的业务交互;
将所述用户信息报文通过该业务交互发送到所述 SP服务器。
本发明第九方面提供了一种 SP服务器, 包括: 处理器、 通信接口和存储 器, 其中,
所述通信接口, 用于与网关设备进行通信;
所述存储器用于存储程序;
所述处理器用于执行所述程序, 以实现
接收网关设备发送的用户设备的用户信息和用户 IP地址, 并保存用户 IP 地址与用户信息的对应关系;
当接收到所述网关设备转发的所述用户设备的业务报文时,根据所述用户
IP地址和用户信息的对应关系对所述业务 文进行业务处理。
在第一种可能的实现方式中, 所述处理器具体用于:
接收网关设备发送的用户信息报文,所述用户信息报文包括用户设备的用 户信息和用户 IP地址, 且所述用户信息报文是在所述网关设备接收到用户设 备发送激活请求时生成的;
解析所述用户信息报文并保存用户信息报文包括的用户 IP地址与用户信 息的对应关系。
结合第九方面或第九方面的第一种可能的实现方式,在第二种可能的实现 方式中, 所述处理器具体用于:
当接收到所述网关设备转发的所述用户设备的业务报文时,提取接收到的 所述业务 ^艮文的用户 IP地址;
根据所述用户 IP地址和用户信息的对应关系获取从所述业务报文中提取 到的用户 IP地址所对应的用户信息;
根据获取到的所述用户信息对所述业务报文进行业务处理,所述业务处理 包括内容推荐业务处理和记账业务处理。
由上可见, 本发明的一些可行的实施方式中, 网关设备可以将用户设备的 用户信息和用户 IP地址发送到 SP服务器,以使 SP服务器可以保存用户 IP地 址与用户信息的对应关系, 使得在后续的业务访问中, SP服务器可以根据所 述用户 IP地址与用户信息的对应关系查找到对应的用户信息, 使得网关设备 无需再向 SP服务器提供用户信息, 同时所述网关设备也无需对业务报文进行 维护, 以减少对网关设备的系统资源的损耗。 附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施 例中所需要使用的附图作筒单地介绍,显而易见地, 下面描述中的附图仅仅是 本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的 前提下, 还可以根据这些附图获得其他的附图。
图 1为本发明实施例提供的一种对业务处理的方法的流程示意图; 图 2为本发明实施例提供的其中一种判断激活请求的方法的流程示意图; 图 3 为本发明实施例提供的其中一种封装成用户信息报文的方法的流程 示意图;
图 4 为本发明实施例提供的其中一种发送用户信息报文的方法的流程示 意图;
图 5为本发明实施例提供的另一种对业务处理的方法的流程示意图; 图 6 为本发明实施例提供的其中一种接收用户信息报文的方法的流程示 意图;
图 7为本发明实施例提供的其中一种处理业务报文的方法的流程示意图; 图 8为本发明实施例提供的一种对业务处理的系统的结构示意图; 图 9为本发明实施例提供的一种网关设备的结构示意图;
图 10为本发明实施例提供的另一种网关设备的结构示意图;
图 11为本发明实施例提供的一种发送模块的结构示意图;
图 12为本发明实施例提供的一种 SP服务器的结构示意图;
图 13为本发明实施例提供的一种处理模块的结构示意图;
图 14为本发明实施例提供的又一种网关设备的结构示意图;
图 15为本发明实施例提供的另一种 SP服务器的结构示意图。 - - 具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清 楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是 全部的实施例。基于本发明中的实施例, 本领域普通技术人员在没有作出创造 性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。
请参见图 1 , 为本发明实施例提供的一种对业务处理的方法的流程示意 图, 所述方法包括:
5101 , 当网关设备接收到用户设备发送激活请求时, 网关设备为所述用户 设备分配用户 IP地址;
具体的, 当网关设备接收到用户设备发送激活请求时, 网关设备为所述用 户设备分配用户 IP地址, 使得用户设备在后续发送的业务报文中可以携带有 该用户 IP地址。网关设备可以根据所述激活请求判断是否要向 SP服务器提供 用户信息, 若网关设备需要向 SP服务器提供用户信息, 则执行 S102的步骤。
5102, 所述网关设备将所述用户设备的用户信息和用户 IP地址发送到 SP 服务器, 以使所述 SP服务器保存用户 IP地址与用户信息的对应关系, 并根据 所述用户 IP地址和用户信息的对应关系对业务 文进行业务处理;
具体的, 所述网关设备将所述用户设备的用户信息和用户 IP地址发送到 SP服务器, 以使所述 SP服务器保存用户 IP地址与用户信息的对应关系, 使 得所述 SP服务器可以根据所述用户 IP地址和用户信息的对应关系对业务报文 进行业务处理, 即用户在后续的业务访问中, 网关设备可以不再向 SP服务器 提供该用户的用户信息, 并且所述网关设备无需对业务报文进行维护, 而由
SP服务器根据已保存的用户 IP地址与用户信息的对应关系, 可以获取到后续 所接收的业务报文中的用户 IP地址所对应的用户信息, 并根据所述用户信息 进行关联业务处理, 例如, 内容推荐业务处理、 记账业务处理等等。
由上可见, 本发明的一些可行的实施方式中, 网关设备可以将用户设备的 用户信息和用户 IP地址发送到 SP服务器,以使 SP服务器可以保存用户 IP地 址与用户信息的对应关系, 使得在后续的业务访问中, SP服务器可以根据所 述用户 IP地址与用户信息的对应关系查找到对应的用户信息, 使得网关设备 无需再向 SP服务器提供用户信息, 同时所述网关设备也无需对业务报文进行 - - 维护, 以减少对网关设备的系统资源的损耗。
进一步的, 再请参见图 2, 为本发明实施例提供的其中一种判断激活请求 的方法的流程示意图,本发明实施例的所述方法可在上述图 1对应的实施例中 的步骤 S102之前执行。 本发明实施例以判断激活请求进行说明。 本发明实施 例的所述方法具体包括:
S201 , 所述网关设备判断所述激活请求是否为基于用户信息的请求; 具体的, 所述网关设备判断所述激活请求是否为基于用户信息的请求, 即 网关设备判断在用户设备被激活后是否要向 SP服务器提供该用户设备的用户 信息。
S202,若判断为是,所述网关设备执行将所述用户设备的用户信息和用户
IP地址发送到 SP服务器的步骤;
当 S201判断为是时, 即确定所述网关设备需要向 SP服务器提供用户信 息, 从而所述网关设备将执行 S102的步骤, 即所述网关设备执行将所述用户 设备的用户信息和用户 IP地址发送到 SP服务器的步骤;当 S201判断为否时, 所述网关设备不用将所述用户设备的用户信息和用户 IP地址发送到 SP服务 哭口 。
由上可见, 本发明的一些可行的实施方式中, 网关设备通过判断所述激活 请求是否为基于用户信息的请求, 以决定是否向 SP服务器提供用户信息, 使 得网关设备可以快速、 有效地满足 SP服务器对用户信息的需求。
进一步的, 再请参见图 3, 为本发明实施例提供的其中一种封装成用户信 息 4艮文的方法的流程示意图,本发明实施例的所述方法可对应于上述图 1对应 的实施例中的 S102。 本发明实施例以封装成用户信息报文进行说明, 本发明 实施例的所述方法具体包括:
S301 , 所述网关设备将所述用户设备的用户信息和用户 IP地址封装成用 户信息报文;
具体的, 当网关设备为所述用户设备分配用户 IP地址, 且判断所述激活 请求为基于用户信息的请求时,所述网关设备将所述用户设备的用户信息和用 户 IP地址封装成用户信息报文, 其中, 所述用户信息报文还可以包括用户信 息和用户 IP地址的对应关系。 - -
S302,所述网关设备将所述用户信息报文发送到 SP服务器, 以使所述 SP 服务器解析所述用户信息报文并保存用户信息报文中包括的用户 IP地址与用 户信息的对应关系, 并才艮据所述用户 IP地址和用户信息的对应关系对业务 文进行业务处理;
在网关设备经过封装得到用户信息报文时,所述网关设备可以将所述用户 信息报文发送到 SP服务器, 以使所述 SP服务器解析所述用户信息报文并保 存用户信息报文中包括的用户 IP地址与用户信息的对应关系, 并根据所述用 户 IP地址和用户信息的对应关系对业务 文进行业务处理。 即用户在后续的 业务访问中, 网关设备可以不再向 SP服务器提供该用户的用户信息, 并且所 述网关设备无需对业务报文进行维护,而由 SP服务器根据已保存的用户 IP地 址与用户信息的对应关系, 可以获取到后续所接收的业务>¾文中的用户 IP地 址所对应的用户信息, 并根据所述用户信息进行关联业务处理, 例如, 内容推 荐业务处理、 记账业务处理等等。
由上可见, 本发明的一些可行的实施方式中, 网关设备可以将用户设备的 用户信息和用户 IP地址封装成用户信息报文,并将用户信息报文发送到 SP服 务器, 以使 SP服务器可以保存用户 IP地址与用户信息的对应关系,使得在后 续的业务访问中, SP服务器可以根据所述用户 IP地址与用户信息的对应关系 查找到对应的用户信息, 使得网关设备无需再向 SP服务器提供用户信息, 同 时所述网关设备也无需对业务报文进行维护,以减少对网关设备的系统资源的 损耗。
请参见图 4, 为本发明实施例提供的其中一种发送用户信息报文的方法的 流程示意图, 本发明实施例的所述方法可对应于上述图 3 对应的实施例中的 S302。本发明实施例以发送用户信息报文进行说明,本发明实施例的所述方法 具体包括:
S401 ,所述网关设备以基于 IP网络传输的方式建立与 SP服务器的业务交 互;
S402, 所述网关设备将所述用户信息报文通过该业务交互发送到所述 SP 服务器;
具体的, 当所述网关设备将所述用户信息和用户 IP地址封装成用户信息 - - 报文后,所述网关设备可以以基于 IP网络传输的方式建立与 SP服务器的业务 交互, 并将所述用户信息报文通过该业务交互发送到所述 SP服务器, 使 SP 服务器可以记录所述用户信息报文所携带的用户信息和用户 IP地址。 其中, 所述网关设备可以以任何方式建立与 SP服务器的业务交互以将封装得到的用 户信息报文发送到所述 SP服务器,即所述网关设备不仅限于以基于 IP网络传 输的方式将用户信息报文发送到 SP服务器, 网关设备可以以任何方式将用户 信息报文发送到 SP服务器, 在此不进行赞述。
由上可见, 本发明的一些可行的实施方式中, 网关设备以基于 IP网络传 输的方式将用户信息报文发送到 SP服务器, 使得网关设备可以快速地向 SP 服务器提供所需的用户信息。
请参见图 5, 为本发明实施例提供的另一种对业务处理的方法的流程示意 图, 所述方法包括:
S501 , SP服务器接收网关设备发送的用户设备的用户信息和用户 IP地址, 并保存用户 IP地址与用户信息的对应关系;
具体的, 当网关设备接收到用户设备发送激活请求,且所述激活请求为基 于用户信息的请求时, SP服务器可以接收网关设备发送的用户设备的用户信 息和用户 IP地址, 并保存用户 IP地址与用户信息的对应关系。
S502, 当 SP服务器接收到所述网关设备转发的所述用户设备的业务报文 时,所述 SP服务器根据所述用户 IP地址和用户信息的对应关系对所述业务报 文进行业务处理;
具体的, 当 SP服务器接收到所述网关设备转发的所述用户设备的业务报 文时,所述 SP服务器根据所述用户 IP地址和用户信息的对应关系对所述业务 报文进行业务处理, 例如, 内容推荐业务处理、 记账业务处理等等。 SP服务 器根据已保存的用户 IP地址与用户信息的对应关系, 可以获取到后续所接收 的业务报文中的用户 IP地址所对应的用户信息, 在后续的业务请求中可以使 网关设备不需要再向 SP服务器提供用户信息, 并可以使得网关设备无需对所 述业务报文进行维护。
由上可见, 本发明的一些可行的实施方式中, 网关设备通过预先将用户设 备的用户信息和用户 IP地址发送到 SP服务器, 以使 SP服务器可以根据用户 - -
IP地址与用户信息的对应关系查找到关联的用户信息, 使得在后续的业务访 问中, 网关设备无需再向 SP服务器提供用户信息, 并无需对业务报文进行维 护, 以减少对网关设备的系统资源的损耗。
进一步的, 再请参看图 6, 为本发明实施例提供的其中一种接收用户信息 4艮文的方法的流程示意图,本发明实施例的所述方法可对应于上述图 5对应的 实施例中的 S501。 本发明实施例以接收用户信息报文进行说明, 本发明实施 例的所述方法具体包括:
5601 , 所述 SP服务器接收网关设备发送的用户信息报文, 所述用户信息 报文包括用户设备的用户信息和用户 IP地址, 且所述用户信息报文是在所述 网关设备接收到用户设备发送激活请求时生成的;
所述 SP服务器接收用户设备的用户信息和用户 IP地址的具体过程可以为 接收网关设备发送的用户信息报文,所述用户信息报文是通过封装用户设备的 用户信息和用户 IP地址所得到的。 其中, 所述用户信息报文是在所述网关设 备接收到用户设备发送激活请求,且所述激活请求为基于用户信息的请求时所 生成的。
5602, 所述 SP服务器解析所述用户信息报文并保存用户信息报文包括的 用户 IP地址与用户信息的对应关系;
由上可见, 本发明的一些可行的实施方式中, SP服务器通过接收网关设 备发送的用户信息报文, 可以保存用户信息报文包括的用户 IP地址与用户信 息的对应关系,使得 SP服务器可以根据用户 IP地址与用户信息的对应关系查 找到关联的用户信息, 使得在后续的业务访问中, 网关设备无需再向 SP服务 器提供用户信息, 并无需对业务报文进行维护, 以减少对网关设备的系统资源 的损耗。
再请参见图 7, 为本发明实施例提供的其中一种处理业务报文的方法的流 程示意图, 本发明实施例的所述方法可对应于上述图 5 对应的实施例中的 S502。本发明实施例以处理业务报文进行说明,本发明实施例的所述方法具体 包括:
S701 , 当所述 SP服务器接收到所述网关设备转发的所述用户设备的业务 报文时, 所述 SP服务器提取接收到的所述业务报文的用户 IP地址; - -
5702,所述 SP服务器根据所述用户 IP地址和用户信息的对应关系获取从 所述业务>¾文中提取到的用户 IP地址所对应的用户信息;
具体的,在所述 SP服务器提取到所述业务报文的用户 IP地址之后,所述 SP服务器可以根据已保存的所述用户 IP地址和用户信息的对应关系, 获取从 所述业务^¾文中提取到的用户 IP地址所对应的用户信息。
5703, 所述 SP服务器根据获取到的所述用户信息对所述业务报文进行业 务处理, 所述业务处理包括内容推荐业务处理和记账业务处理;
在后续的业务访问中, SP服务器可以根据用户 IP地址和用户信息的对应 关系, 获取后续所接收到的业务报文中的用户 IP地址所对应的用户信息, 并 根据获取到的用户信息进行相关业务处理。 在此期间, 网关设备无需再向 SP 服务器提供用户信息, 并无需对业务报文进行维护。
由上可见, 本发明的一些可行的实施方式中, 网关设备通过预先将用户设 备的用户信息和用户 IP地址发送到 SP服务器, 以使 SP服务器可以根据用户 IP地址与用户信息的对应关系查找到关联的用户信息, 使得在后续的业务请 求中, 网关设备无需再向 SP服务器提供用户信息, 并无需对业务报文进行维 护, 以减少对网关设备的系统资源的损耗。
本发明实施例还提供了一种计算机存储介质, 其中,所述计算机存储介质 可存储有程序,该程序执行时包括上述图 1至图 4的方法实施例中记载的对业 务处理的方法的部分或全部步骤。
本发明实施例还提供了另一种计算机存储介质, 其中, 所述计算机存储介 质可存储有程序,该程序执行时包括上述图 5至图 7的方法实施例中记载的对 业务处理的方法的部分或全部步骤。
请参见图 8, 为本发明实施例提供的一种对业务处理的系统的结构示意 图, 所述系统包括: 网关设备 1和 SP服务器 2;
所述网关设备 1 , 用于当接收到用户设备发送激活请求时, 为所述用户设 备分配用户 IP地址; 将所述用户设备的用户信息和用户 IP地址发送到 SP服 务器 2, 以使所述 SP服务器 2保存用户 IP地址与用户信息的对应关系, 并根 据所述用户 IP地址和用户信息的对应关系对业务报文进行业务处理。
所述网关设备 1 , 还用于判断所述激活请求是否为基于用户信息的请求; - - 若判断为是,执行将所述用户设备的用户信息和用户 IP地址发送到 SP服务器
2。
所述网关设备 1 , 具体用于将所述用户设备的用户信息和用户 IP地址封 装成用户信息报文; 将所述用户信息报文发送到 SP服务器 2, 以使所述 SP服 务器 2解析所述用户信息报文并保存用户信息报文中包括的用户 IP地址与用 户信息的对应关系, 并才艮据所述用户 IP地址和用户信息的对应关系对业务 文进行业务处理。
所述网关设备 1 , 具体用于以基于 IP网络传输的方式建立与 SP服务器 2 的业务交互; 将所述用户信息报文通过该业务交互发送到所述 SP服务器 2。
所述 SP服务器 2, 用于接收网关设备 1发送的用户设备的用户信息和用 户 IP地址, 并保存用户 IP地址与用户信息的对应关系; 当接收到所述网关设 备 1转发的所述用户设备的业务报文时, 根据所述用户 IP地址和用户信息的 对应关系对所述业务 4艮文进行业务处理。
所述 SP服务器 2, 具体用于接收网关设备 1发送的用户信息报文, 所述 用户信息报文包括用户设备的用户信息和用户 IP地址, 且所述用户信息报文 是在所述网关设备 1接收到用户设备发送激活请求时生成的;解析所述用户信 息报文并保存用户信息报文包括的用户 IP地址与用户信息的对应关系。
所述 SP服务器 2, 具体用于当接收到所述网关设备 1转发的所述用户设 备的业务报文时, 提取接收到的所述业务报文的用户 IP地址; 根据所述用户 IP地址和用户信息的对应关系获取从所述业务 4艮文中提取到的用户 IP地址所 对应的用户信息; 根据获取到的所述用户信息对所述业务报文进行业务处理, 所述业务处理包括内容推荐业务处理和记账业务处理。
由上可见, 本发明的一些可行的实施方式中, 网关设备 1通过预先将用户 设备的用户信息和用户 IP地址发送到 SP服务器 2, 以使 SP服务器 可以根 据用户 IP地址与用户信息的对应关系查找到关联的用户信息, 使得在后续的 业务请求中, 网关设备 1无需再向 SP服务器 2提供用户信息, 并无需对业务 报文进行维护, 以减少对网关设备 1的系统资源的损耗。
下面通过附图 9-11对图 8中的网关设备 1进行详细说明, 并且通过附图 12-13对图 8中的 SP服务器 2进行详细说明。 - - 具体的, 请参见图 9, 为本发明实施例提供的一种网关设备 1的结构示意 图, 所述网关设备 1可以包括: 分配模块 11、 发送模块 12;
所述分配模块 11 , 用于当接收到用户设备发送激活请求时, 为所述用户 设备分配用户 IP地址;
具体的, 当网关设备 1 接收到用户设备发送激活请求时, 所述分配模块
11可以为所述用户设备分配用户 IP地址, 使得用户设备在后续发送的业务报 文中可以携带有该用户 IP地址。
所述发送模块 12, 将所述用户设备的用户信息和用户 IP地址发送到 SP 服务器 2, 以使所述 SP服务器 2保存用户 IP地址与用户信息的对应关系, 并 根据所述用户 IP地址和用户信息的对应关系对业务报文进行业务处理;
具体的,所述发送模块 12将所述用户设备的用户信息和用户 IP地址发送 到 SP服务器 2, 以使所述 SP服务器 2保存用户 IP地址与用户信息的对应关 系, 使用户在后续的业务访问中, 网关设备 1可以不再向 SP服务器 2提供该 用户的用户信息, 并且所述网关设备 1无需对业务报文进行维护, 而由 SP服 务器 2根据已保存的用户 IP地址与用户信息的对应关系, 可以获取到后续所 接收的业务报文中的用户 IP地址所对应的用户信息, 并根据所述用户信息进 行关联业务处理, 例如, 内容推荐业务处理、 记账业务处理等等。
由上可见, 本发明的一些可行的实施方式中, 网关设备 1通过预先将用户 设备的用户信息和用户 IP地址发送到 SP服务器 2, 以使 SP服务器 可以根 据用户 IP地址与用户信息的对应关系查找到关联的用户信息, 使得在后续的 业务请求中, 网关设备 1无需再向 SP服务器 2提供用户信息, 并无需对业务 报文进行维护, 以减少对网关设备 1的系统资源的损耗。
进一步的, 再请参见图 10, 为本发明实施例提供的另一种网关设备 1 的 结构示意图, 所述网关设备 1可以包括上述图 9对应实施例中的分配模块 11、 发送模块 12, 进一步的, 本发明实施例的网关设备 1 还可以包括: 判断模块 13;
所述判断模块 13, 用于判断所述激活请求是否为基于用户信息的请求; 具体的,所述判断模块 13判断所述激活请求是否为基于用户信息的请求, 即判断在用户设备被激活后是否要向 SP服务器 2提供该用户设备的用户信息。 - - 则发送模块 12, 具体用于若所述判断模块 13判断为是, 将所述用户设备 的用户信息和用户 IP地址发送到 SP服务器 2。
由上可见, 本发明的一些可行的实施方式中, 网关设备 1通过判断所述激 活请求是否为基于用户信息的请求,以决定是否向 SP服务器 2提供用户信息, 使得网关设备 1可以快速、 有效地满足 SP服务器 2对用户信息的需求。
进一步的, 再请参见图 11 , 为本发明实施例提供的一种发送模块 12的结 构示意图, 所述发送模块 12可以包括: 封装单元 121、 报文发送单元 122; 所述封装单元 121 , 用于将所述用户设备的用户信息和用户 IP地址封装 成用户信息报文;
具体的, 当所述分配模块 11为所述用户设备分配用户 IP地址, 且所述判 断模块 13判断所述激活请求为基于用户信息的请求时, 所述封装单元 121将 所述用户设备的用户信息和用户 IP地址封装成用户信息 文, 其中, 所述用 户信息 ^艮文还可以包括用户信息和用户 IP地址的对应关系。
所述报文发送单元 122,用于将所述用户信息报文发送到 SP服务器 2, 以 使所述 SP服务器 2解析所述用户信息报文并保存用户信息报文中包括的用户 IP地址与用户信息的对应关系, 并才艮据所述用户 IP地址和用户信息的对应关 系对业务报文进行业务处理;
其中, 所述报文发送单元 122包括: 建立子单元 1221;
所述建立子单元 1221 ,用于以基于 IP网络传输的方式建立与 SP服务器 2 的业务交互;
则所述报文发送单元 122, 具体用于将所述用户信息报文通过该业务交互 发送到所述 SP服务器 2;
具体的, 当所述封装单元 121将所述用户信息和用户 IP地址封装成用户 信息报文后, 所述建立子单元 1221可以以基于 IP网络传输的方式建立与 SP 服务器 2的业务交互,并由所述报文发送单元 122将所述用户信息报文通过该 业务交互发送到所述 SP服务器 2,使 SP服务器 2可以记录所述用户信息报文 所携带的用户信息和用户 IP地址。 其中, 所述建立子单元 1221可以以任何方 式建立与 SP服务器 的业务交互, 即所述报文发送单元 122不仅限于以基于 IP网络传输的方式将用户信息报文发送到 SP服务器 2,所述报文发送单元 122 - - 可以以任何方式将用户信息报文发送到 SP服务器 2, 在此不进行赞述。
由上可见, 本发明的一些可行的实施方式中, 网关设备 1以基于 IP网络 传输的方式将用户信息报文发送到 SP服务器 2, 使得网关设备 1可以快速地 向 SP服务器 2提供所需的用户信息。
请参见图 12, 为本发明实施例提供的一种 SP服务器 2的结构示意图, 所 述 SP服务器 2可以包括: 接收模块 21、 保存模块 22、 处理模块 23;
所述接收模块 21 , 用于接收网关设备 1发送的用户设备的用户信息和用 户 IP地址;
具体的, 当 SP服务器 2需要通过用户信息才能对所述业务报文执行相关 业务时, 所述接收模块 21可以接收由所述网关设备 1发送的用户设备的用户 信息和用户 IP地址。
所述保存模块 22, 用于保存用户 IP地址与用户信息的对应关系; 所述处理模块 23, 用于当接收到所述网关设备转发的所述用户设备的业 务报文时,根据保存模块 22中的所述用户 IP地址和用户信息的对应关系对所 述业务报文进行业务处理;
具体的, 当接收到所述网关设备 1转发的所述用户设备的业务报文时, 所 述处理模块 23根据保存模块 22中的所述用户 IP地址和用户信息的对应关系 对所述业务报文进行业务处理,例如, 内容推荐业务处理、记账业务处理等等。 所述处理模块 23根据已保存的用户 IP地址与用户信息的对应关系,可以获取 到后续所接收的业务报文中的用户 IP地址所对应的用户信息, 在后续的业务 请求中可以使网关设备 1不需要再向 SP服务器 2提供用户信息, 并可以使得 网关设备 1无需对所述业务报文进行维护。
其中, 所述接收模块 21 , 具体用于接收网关设备 1发送的用户信息报文, 所述用户信息报文包括用户设备的用户信息和用户 IP地址, 且所述用户信息 报文是在所述网关设备 1接收到用户设备发送激活请求时生成的;
所述保存模块 22, 具体用于解析所述用户信息报文并保存用户信息报文 包括的用户 IP地址与用户信息的对应关系。
由上可见, 本发明的一些可行的实施方式中, 网关设备 1通过预先将用户 设备的用户信息和用户 IP地址发送到 SP服务器 2, 以使 SP服务器 2可以根 - - 据用户 IP地址与用户信息的对应关系查找到关联的用户信息, 使得在后续的 业务请求中, 网关设备 1无需再向 SP服务器 2提供用户信息, 并无需对业务 报文进行维护, 以减少对网关设备 1的系统资源的损耗。
进一步的, 再请参见图 13, 为本发明实施例提供的一种处理模块 23的结 构示意图, 所述处理模块 23可以包括: 提取单元 231、 获取单元 232、 业务处 理单元 233;
所述提取单元 231 , 用于当接收到所述网关设备 1转发的所述用户设备的 业务报文时, 提取接收到的所述业务报文的用户 IP地址;
具体的, 当接收到所述网关设备 1转发的所述用户设备的业务报文时, 所 述提取单元 231提取接收到的所述业务报文的用户 IP地址。
所述获取单元 232, 用于根据所述保存模块 22中的所述用户 IP地址和用 户信息的对应关系获取从所述业务报文中提取到的用户 IP地址所对应的用户 信息;
具体的, 在所述提取单元 231提取到所述业务报文的用户 IP地址之后, 获取从所述业务报文中提取到的用户 IP地址所对应的用户信息。
所述业务处理单元 233, 用于根据获取到的所述用户信息对所述业务报文 进行业务处理, 所述业务处理包括内容推荐业务处理和记账业务处理;
由上可见, 本发明的一些可行的实施方式中, 网关设备 1通过预先将用户 设备的用户信息和用户 IP地址发送到 SP服务器 2, 以使 SP服务器 可以根 据用户 IP地址与用户信息的对应关系查找到关联的用户信息, 使得在后续的 业务请求中, 网关设备 1无需再向 SP服务器 2提供用户信息, 并无需对业务 报文进行维护, 以减少对网关设备 1的系统资源的损耗。
请参见图 14, 为本发明实施例提供的另一种网关设备 1 的结构示意图, 所述网关设备 1可以包括处理器 1001、通信接口 1002和存储器 1003 (网关设 备 1中的处理器 1001的数量可以为一个或多个, 图 14中以一个处理器 1001 为例)。 本发明的一些实施例中, 处理器 1001、 通信接口 1002和存储器 1003 可通过通信总线或其他方式连接, 其中, 图 14以通过通信总线连接为例。
其中, 所述通信接口 1002, 用于与用户设备和 SP服务器 2进行通信; - - 所述存储器 1003用于存储程序;
所述处理器 1001用于执行所述程序, 以实现
当接收到用户设备发送激活请求时, 为所述用户设备分配用户 IP地址; 将所述用户设备的用户信息和用户 IP地址发送到 SP服务器 2, 以使所述 SP服务器 2保存用户 IP地址与用户信息的对应关系, 并根据所述用户 IP地 址和用户信息的对应关系对业务 文进行业务处理。
所述处理器 1001还用于:
判断所述激活请求是否为基于用户信息的请求;
若判断为是,执行将所述用户设备的用户信息和用户 IP地址发送到 SP服 务器 2。
所述处理器 1001具体用于:
将所述用户设备的用户信息和用户 IP地址封装成用户信息报文; 将所述用户信息报文发送到 SP服务器 2,以使所述 SP服务器 2解析所述 用户信息报文并保存用户信息报文中包括的用户 IP地址与用户信息的对应关 系,并才艮据所述用户 IP地址和用户信息的对应关系对业务 文进行业务处理。
所述处理器 1001具体用于:
以基于 IP网络传输的方式建立与 SP服务器 2的业务交互;
将所述用户信息报文通过该业务交互发送到所述 SP服务器 2。
由上可见, 本发明的一些可行的实施方式中, 网关设备 1通过预先将用户 设备的用户信息和用户 IP地址发送到 SP服务器 2, 以使 SP服务器 可以根 据用户 IP地址与用户信息的对应关系查找到关联的用户信息, 使得在后续的 业务请求中, 网关设备 1无需再向 SP服务器 2提供用户信息, 并无需对业务 报文进行维护, 以减少对网关设备 1的系统资源的损耗。
请参见图 15, 为本发明实施例提供的另一种 SP服务器 2的结构示意图, 所述 SP服务器 2可以包括处理器 2001、通信接口 2002和存储器 2003 ( SP服 务器 2中的处理器 2001的数量可以为一个或多个,图 15中以一个处理器 2001 为例)。 本发明的一些实施例中, 处理器 2001、 通信接口 2002和存储器 2003 可通过通信总线或其他方式连接, 其中, 图 15以通过通信总线连接为例。
其中, 所述通信接口 2002, 用于与网关设备 1进行通信; - - 所述存储器 2003用于存储程序;
所述处理器 2001用于执行所述程序, 以实现
接收网关设备 1发送的用户设备的用户信息和用户 IP地址, 并保存用户 IP地址与用户信息的对应关系;
当接收到所述网关设备 1转发的所述用户设备的业务报文时,根据所述用 户 IP地址和用户信息的对应关系对所述业务 文进行业务处理。
所述处理器 2001具体用于:
接收网关设备 1发送的用户信息报文,所述用户信息报文包括用户设备的 用户信息和用户 IP地址, 且所述用户信息报文是在所述网关设备 1接收到用 户设备发送激活请求时生成的;
解析所述用户信息报文并保存用户信息报文包括的用户 IP地址与用户信 息的对应关系。
所述处理器 2001具体用于:
当接收到所述网关设备 1转发的所述用户设备的业务报文时,提取接收到 的所述业务 文的用户 IP地址;
根据所述用户 IP地址和用户信息的对应关系获取从所述业务报文中提取 到的用户 IP地址所对应的用户信息;
根据获取到的所述用户信息对所述业务报文进行业务处理,所述业务处理 包括内容推荐业务处理和记账业务处理。
由上可见, 本发明的一些可行的实施方式中, 网关设备 1通过预先将用户 设备的用户信息和用户 IP地址发送到 SP服务器 2, 以使 SP服务器 可以根 据用户 IP地址与用户信息的对应关系查找到关联的用户信息, 使得在后续的 业务请求中, 网关设备 1无需再向 SP服务器 2提供用户信息, 并无需对业务 报文进行维护, 以减少对网关设备 1的系统资源的损耗。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程, 是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算 机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。 其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory, ROM )或随机存储记忆体(Random Access Memory, RAM )等。 - - 以上所揭露的仅为本发明较佳实施例而已,当然不能以此来限定本发明之 权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。

Claims

权 利 要 求
1、 一种对业务处理的方法, 其特征在于, 包括:
当网关设备接收到用户设备发送激活请求时,网关设备为所述用户设备分 配用户 IP地址;
所述网关设备将所述用户设备的用户信息和用户 IP地址发送到 SP服务 器, 以使所述 SP服务器保存用户 IP地址与用户信息的对应关系, 并根据所述 用户 IP地址和用户信息的对应关系对业务 文进行业务处理。
2、 如权利要求 1所述的方法, 其特征在于, 在所述网关设备将所述用户 设备的用户信息和用户 IP地址发送到 SP服务器的步骤之前, 还包括:
所述网关设备判断所述激活请求是否为基于用户信息的请求;
若判断为是, 所述网关设备执行将所述用户设备的用户信息和用户 IP地 址发送到 SP服务器的步骤。
3、 如权利要求 1或 2所述的方法, 其特征在于, 所述网关设备将所述用 户设备的用户信息和用户 IP地址发送到 SP服务器, 以使所述 SP服务器保存 用户 IP地址与用户信息的对应关系, 并根据所述用户 IP地址和用户信息的对 应关系对业务 文进行业务处理, 包括:
所述网关设备将所述用户设备的用户信息和用户 IP地址封装成用户信息 报文;
所述网关设备将所述用户信息报文发送到 SP服务器, 以使所述 SP服务 器解析所述用户信息报文并保存用户信息报文中包括的用户 IP地址与用户信 息的对应关系, 并根据所述用户 IP地址和用户信息的对应关系对业务 文进 行业务处理。
4、 如权利要求 3所述的方法, 其特征在于, 所述网关设备将所述用户信 息报文发送到 SP服务器, 包括:
所述网关设备以基于 IP网络传输的方式建立与 SP服务器的业务交互; 所述网关设备将所述用户信息报文通过该业务交互发送到所述 SP服务 器。
5、 一种对业务处理的方法, 其特征在于, 包括:
SP服务器接收网关设备发送的用户设备的用户信息和用户 IP地址, 并保 存用户 IP地址与用户信息的对应关系;
当 SP服务器接收到所述网关设备转发的所述用户设备的业务报文时, 所 述 SP服务器根据所述用户 IP地址和用户信息的对应关系对所述业务报文进行 业务处理。
6、如权利要求 5所述的方法, 其特征在于, 所述 SP服务器接收网关设备 发送的用户设备的用户信息和用户 IP地址, 并保存用户 IP地址与用户信息的 对应关系, 包括:
所述 SP服务器接收网关设备发送的用户信息报文, 所述用户信息报文包 括用户设备的用户信息和用户 IP地址, 且所述用户信息报文是在所述网关设 备接收到用户设备发送激活请求时生成的;
所述 SP服务器解析所述用户信息报文并保存用户信息报文包括的用户 IP 地址与用户信息的对应关系。
7、如权利要求 5或 6所述的方法, 其特征在于, 所述当 SP服务器接收到 所述网关设备转发的所述用户设备的业务报文时, 所述 SP服务器根据所述用 户 IP地址和用户信息的对应关系对所述业务 文进行业务处理, 包括:
当所述 SP服务器接收到所述网关设备转发的所述用户设备的业务报文 时, 所述 SP服务器提取接收到的所述业务报文的用户 IP地址;
所述 SP服务器根据所述用户 IP地址和用户信息的对应关系获取从所述业 务 >¾文中提取到的用户 IP地址所对应的用户信息;
所述 SP服务器根据获取到的所述用户信息对所述业务报文进行业务处 理, 所述业务处理包括内容推荐业务处理和记账业务处理。
8、 一种计算机存储介质, 其特征在于,
所述计算机存储介质可存储有程序, 该程序执行时包括如权利要求 1至 4 任一项所述的步骤。
9、 一种计算机存储介质, 其特征在于,
所述计算机存储介质可存储有程序, 该程序执行时包括如权利要求 5至 7 任一项所述的步骤。
10、 一种网关设备, 其特征在于, 包括:
分配模块, 用于当接收到用户设备发送激活请求时, 为所述用户设备分配 用户 IP地址;
发送模块,用于将所述用户设备的用户信息和用户 IP地址发送到 SP服务 器, 以使所述 SP服务器保存用户 IP地址与用户信息的对应关系, 并根据所述 用户 IP地址和用户信息的对应关系对业务 文进行业务处理。
11、 如权利要求 10所述的网关设备, 其特征在于, 还包括:
判断模块, 用于判断所述激活请求是否为基于用户信息的请求; 则发送模块, 具体用于若所述判断模块判断为是,将所述用户设备的用户 信息和用户 IP地址发送到 SP服务器。
12、 如权利要求 10或 11所述的网关设备, 其特征在于, 所述发送模块包 括:
封装单元, 用于将所述用户设备的用户信息和用户 IP地址封装成用户信 息报文;
报文发送单元, 用于将所述用户信息报文发送到 SP服务器, 以使所述 SP 服务器解析所述用户信息报文并保存用户信息报文中包括的用户 IP地址与用 户信息的对应关系, 并才艮据所述用户 IP地址和用户信息的对应关系对业务 文进行业务处理。
13、 如权利要求 12所述的网关设备, 其特征在于, 所述报文发送单元包 括:
建立子单元,用于以基于 IP网络传输的方式建立与 SP服务器的业务交互; 则报文发送单元,具体用于将所述用户信息报文通过该业务交互发送到所 述 SP服务器。
14、 一种 SP服务器, 其特征在于, 包括:
接收模块,用于接收网关设备发送的用户设备的用户信息和用户 IP地址; 保存模块, 用于保存用户 IP地址与用户信息的对应关系;
处理模块, 用于当接收到所述网关设备转发的所述用户设备的业务报文 时, 根据保存模块中的所述用户 IP地址和用户信息的对应关系对所述业务报 文进行业务处理。
15、 如权利要求 14所述的 SP服务器, 其特征在于,
所述接收模块, 具体用于接收网关设备发送的用户信息报文, 所述用户信 息报文包括用户设备的用户信息和用户 IP地址, 且所述用户信息报文是在所 述网关设备接收到用户设备发送激活请求时生成的;
所述保存模块,具体用于解析所述用户信息报文并保存用户信息报文包括 的用户 IP地址与用户信息的对应关系。
16、 如权利要求 14或 15所述的 SP服务器, 其特征在于, 所述处理模块 包括:
提取单元, 用于当接收到所述网关设备转发的所述用户设备的业务报文 时, 提取接收到的所述业务报文的用户 IP地址;
获取单元, 用于根据所述保存模块中的所述用户 IP地址和用户信息的对 应关系获取从所述业务报文中提取到的用户 IP地址所对应的用户信息;
业务处理单元,用于根据获取到的所述用户信息对所述业务报文进行业务 处理, 所述业务处理包括内容推荐业务处理和记账业务处理。
17、 一种对业务处理的系统, 其特征在于, 包括:
如权利要求 10-13任一项所述的网关设备和如权利要求 14-16任一项所述 的 SP服务器。
18、 一种网关设备, 其特征在于, 包括: 处理器、 通信接口和存储器, 其 中,
所述通信接口, 用于与用户设备和 SP服务器进行通信;
所述存储器用于存储程序;
所述处理器用于执行所述程序, 以实现
当接收到用户设备发送激活请求时, 为所述用户设备分配用户 IP地址; 将所述用户设备的用户信息和用户 IP地址发送到 SP服务器, 以使所述 SP服务器保存用户 IP地址与用户信息的对应关系, 并根据所述用户 IP地址 和用户信息的对应关系对业务 文进行业务处理。
19、 如权利要求 18所述的网关设备, 其特征在于, 所述处理器还用于: 判断所述激活请求是否为基于用户信息的请求;
若判断为是,执行将所述用户设备的用户信息和用户 IP地址发送到 SP服 务器。
20、 如权利要求 18或 19所述的网关设备, 其特征在于, 所述处理器具体 用于:
将所述用户设备的用户信息和用户 IP地址封装成用户信息报文; 将所述用户信息报文发送到 SP服务器, 以使所述 SP服务器解析所述用 户信息报文并保存用户信息报文中包括的用户 IP地址与用户信息的对应关 系,并才艮据所述用户 IP地址和用户信息的对应关系对业务 文进行业务处理。
21、 如权利要求 20所述的网关设备, 其特征在于, 所述处理器具体用于: 以基于 IP网络传输的方式建立与 SP服务器的业务交互;
将所述用户信息报文通过该业务交互发送到所述 SP服务器。
22、 一种 SP服务器, 其特征在于, 包括: 处理器、 通信接口和存储器, 其中,
所述通信接口, 用于与网关设备进行通信;
所述存储器用于存储程序;
所述处理器用于执行所述程序, 以实现
接收网关设备发送的用户设备的用户信息和用户 IP地址, 并保存用户 IP 地址与用户信息的对应关系;
当接收到所述网关设备转发的所述用户设备的业务报文时,根据所述用户 IP地址和用户信息的对应关系对所述业务 文进行业务处理。
23、如权利要求 22所述的 SP服务器,其特征在于,所述处理器具体用于: 接收网关设备发送的用户信息报文,所述用户信息报文包括用户设备的用 户信息和用户 IP地址, 且所述用户信息报文是在所述网关设备接收到用户设 备发送激活请求时生成的;
解析所述用户信息报文并保存用户信息报文包括的用户 IP地址与用户信 息的对应关系。
24、 如权利要求 22或 23所述的 SP服务器, 其特征在于, 所述处理器具 体用于:
当接收到所述网关设备转发的所述用户设备的业务报文时,提取接收到的 所述业务 ^艮文的用户 IP地址;
根据所述用户 IP地址和用户信息的对应关系获取从所述业务报文中提取 到的用户 IP地址所对应的用户信息;
根据获取到的所述用户信息对所述业务报文进行业务处理,所述业务处理 包括内容推荐业务处理和记账业务处理。
PCT/CN2013/078020 2013-06-26 2013-06-26 一种对业务处理的方法、系统以及相关设备 WO2014205686A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
EP13888495.2A EP2993865A4 (en) 2013-06-26 2013-06-26 METHOD, SYSTEM AND APPROPRIATE DEVICE FOR SERVICE PROCESSING
PCT/CN2013/078020 WO2014205686A1 (zh) 2013-06-26 2013-06-26 一种对业务处理的方法、系统以及相关设备
CN201380000577.6A CN103650551B (zh) 2013-06-26 2013-06-26 一种对业务处理的方法、系统以及相关设备
US14/981,060 US20160149855A1 (en) 2013-06-26 2015-12-28 Service processing method, system, and relevant device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/078020 WO2014205686A1 (zh) 2013-06-26 2013-06-26 一种对业务处理的方法、系统以及相关设备

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US14/981,060 Continuation US20160149855A1 (en) 2013-06-26 2015-12-28 Service processing method, system, and relevant device

Publications (1)

Publication Number Publication Date
WO2014205686A1 true WO2014205686A1 (zh) 2014-12-31

Family

ID=50253436

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/078020 WO2014205686A1 (zh) 2013-06-26 2013-06-26 一种对业务处理的方法、系统以及相关设备

Country Status (4)

Country Link
US (1) US20160149855A1 (zh)
EP (1) EP2993865A4 (zh)
CN (1) CN103650551B (zh)
WO (1) WO2014205686A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108924237A (zh) * 2018-07-18 2018-11-30 深圳市网心科技有限公司 一种信息传输方法、服务器、系统及计算机存储介质
CN111245873B (zh) * 2018-11-28 2023-09-05 北京京东尚科信息技术有限公司 服务降级方法、装置、设备及存储介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1835475A (zh) * 2005-03-14 2006-09-20 华为技术有限公司 通用分组无线业务网络侧激活的方法
CN101841764A (zh) * 2009-03-16 2010-09-22 华为软件技术有限公司 移动终端位置信息的发送、获取方法及装置
CN102843391A (zh) * 2011-06-21 2012-12-26 中兴通讯股份有限公司 一种信息发送方法及网关

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6775262B1 (en) * 2000-03-10 2004-08-10 Telefonaktiebolaget Lm Ericsson (Publ) Method and apparatus for mapping an IP address to an MSISDN number within a wireless application processing network
CN101695164A (zh) * 2009-09-28 2010-04-14 华为技术有限公司 一种控制资源访问的校验方法、装置和系统
US8914523B2 (en) * 2010-05-17 2014-12-16 Verizon Patent And Licensing Inc. Dynamic internet protocol registry for mobile internet protocol based communications
US8521858B2 (en) * 2010-06-07 2013-08-27 Verizon Patent Licensing Inc. Selection of a policy and charging rules function device
EP2637378A4 (en) * 2010-11-24 2014-10-08 Huawei Tech Co Ltd METHOD AND NETWORK UNITS FOR DETERMINING THE IP ADDRESS OF A USER
CN102790810B (zh) * 2012-07-18 2015-03-04 大唐移动通信设备有限公司 一种ip地址分配方法及装置

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1835475A (zh) * 2005-03-14 2006-09-20 华为技术有限公司 通用分组无线业务网络侧激活的方法
CN101841764A (zh) * 2009-03-16 2010-09-22 华为软件技术有限公司 移动终端位置信息的发送、获取方法及装置
CN102843391A (zh) * 2011-06-21 2012-12-26 中兴通讯股份有限公司 一种信息发送方法及网关

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2993865A4 *

Also Published As

Publication number Publication date
US20160149855A1 (en) 2016-05-26
EP2993865A4 (en) 2016-05-18
CN103650551A (zh) 2014-03-19
CN103650551B (zh) 2017-11-17
EP2993865A1 (en) 2016-03-09

Similar Documents

Publication Publication Date Title
US10587544B2 (en) Message processing method, processing server, terminal, and storage medium
EP3195566B1 (en) Service layer interworking using mqtt protocol
EP3462781B1 (en) Data transmission
WO2015055010A1 (zh) 数据传输方法及装置和存储介质
WO2014067311A1 (zh) 资源订阅方法及装置
US9992109B2 (en) Data transmission method, apparatus and system
WO2012062049A1 (zh) 移动互联网业务的实现方法、网关、代理及系统
EP2710776A1 (en) Anonymous signalling
WO2014029094A1 (zh) 报文处理方法、深度包检测请求网元和深度包检测设备
WO2016180020A1 (zh) 一种报文处理方法、设备和系统
WO2014101661A1 (zh) 业务流镜像方法及镜像设备
WO2015106453A1 (zh) 处理业务的方法和网络设备
WO2014179950A1 (zh) 一种文件上传方法、客户端和服务端
CN110417632B (zh) 一种网络通信方法、系统及服务器
WO2014205700A1 (zh) 一种ip地址分配的系统和方法
WO2016015441A1 (zh) 一种业务数据管理的方法、装置及系统
KR101999237B1 (ko) 게이트웨이, 방법, 컴퓨터 프로그램, 및 대응하는 저장 수단
CN110771117B (zh) 一种采用面向id的网络的会话层通信
EP2879362A1 (en) Communication system, method, and program
WO2013185696A2 (zh) 一种数据处理的方法与设备
WO2014205686A1 (zh) 一种对业务处理的方法、系统以及相关设备
KR102003739B1 (ko) 액세스 노드에 의한 애플리케이션 호스팅 방법 및 장치
WO2017005118A1 (zh) 维持通信连接的方法、装置、终端及服务器
EP3220584A1 (en) Wifi sharing method and system, home gateway and wireless local area network gateway
WO2015085531A1 (zh) Qos提升方法、装置及系统

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13888495

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2013888495

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE