CN103959732A - Service message processing method, device and system - Google Patents

Service message processing method, device and system Download PDF

Info

Publication number
CN103959732A
CN103959732A CN201280002563.3A CN201280002563A CN103959732A CN 103959732 A CN103959732 A CN 103959732A CN 201280002563 A CN201280002563 A CN 201280002563A CN 103959732 A CN103959732 A CN 103959732A
Authority
CN
China
Prior art keywords
interface
service message
service
physical interface
osp
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
CN201280002563.3A
Other languages
Chinese (zh)
Other versions
CN103959732B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN103959732A publication Critical patent/CN103959732A/en
Application granted granted Critical
Publication of CN103959732B publication Critical patent/CN103959732B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]

Landscapes

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

Abstract

Provided are a service processing method, device and system. The service processing method comprises: receiving a first service message on a first physical interface; sending the first service message to an open service platform (OSP) for service processing; receiving a second service message sent by the OSP, and performing a service application corresponding to the first physical interface on the second service message; and sending the second service message which has completed the service application on the first physical interface or a second physical interface. The service processing method, device and system provided in the embodiments of the present invention are used for solving the problem in the prior art that when an OSP service is processed in a physical layer, the service is repeatedly applied due to the fact that a service application configured on a physical port is repeatedly performed.

Description

Service message processing method, device and system
Service message processing method, equipment and system
The present embodiments relate to the communication technology, more particularly to a kind of service message processing method, equipment and system for technical field.Background technology
Open service platform(Open Service Platform, OSP) can quickly, flexibly, efficiently, a variety of value-added telecom services based on fixed network, data network, mobile network are economically provided, to meet and adapt to operator and user improves existing business and expands the ability of new business.
In conventional network equipment, OSP business is that the connection of Internet is carried out by other extension mode mostly, with demand of the user to service personalization, it may be necessary to carry out OSP business processings on a physical layer, but OSP does not support the hardware resource of accessing network equipment.In the prior art, if to carry out OSP business processings on a physical layer, then will be after data message enters the physical interface of the network equipment, before by normal forward, first it is redirected to OSP, data message has been carried out after OSP business processings, and the same physical interface again returned in the network equipment continues repeating process.
Always come into force over that interface due to configuring the business on network equipment physical interface, during the OSP business processings of carry out on a physical layer for causing prior art to provide, the service application on the network equipment physical interface first can be once configured before data message is redirected to OSP, data message has carried out OSP business processings and returned to after the physical interface of the network equipment, the service application on the network equipment physical interface can be once configured again, so as to cause business repeated application.The content of the invention
The embodiment of the present invention provides a kind of service message processing method, equipment and system, for solving in the prior art when physical layer carries out OSP business processings, to repeat to configure service application on the physical port, the problem of causing business repeated application.
In a first aspect, the embodiment of the present invention provides a kind of service message processing method, including:The first service message is received on the first physical interface;
First service message is sent to open service platform OSP and carries out business processing; The second service message that the OSP is sent is received, service application corresponding with first physical interface is carried out to second service message;
The second service message of service application is sent completely on first physical interface or the second physical interface.
In the first possible implementation of first aspect, it is described receive the first service message on the first physical interface after, in addition to:
First service message is sent in packet receiving queue corresponding with first physical interface;First service message from the first virtual interface corresponding with first physical interface reception packet receiving queue;
Correspondingly, it is described that first service message is sent to 0SP progress business processings, the second service message is obtained, is specially:
First service message received on first virtual interface is sent to first business interface of the 0SP, so that 0 SP carries out business processing to first service message received on first business interface, second service message is obtained.
According to the first possible implementation of first aspect, in second of possible implementation, second service message for receiving the 0SP transmissions, including:
Second service message that the 0SP is sent by first business interface is received on first virtual interface;
Correspondingly, second service message that service application is sent completely on first physical interface or the second physical interface, be specially:
Second service message that finishing service is applied sends gives out a contract for a project queue to first physical interface corresponding first;
Give out a contract for a project from corresponding with first physical interface described first and second service message of finishing service application is read in queue, and be sent completely on first physical interface second service message of service application.
According to second of first aspect possible implementation, in the third possible implementation, the service message processing method, in addition to:
Obtain the Interface status of first physical interface;
If the Interface status of first physical interface is halted state, stop sending first service message to the packet receiving queue, and stop sending the described first second business given out a contract for a project in queue Message;
If the Interface status of first physical interface is closed mode, the interface resource of first virtual interface is reclaimed.
According to first aspect the first to the third any of may implementation, in the 4th kind of possible implementation, before the first service message in the packet receiving queue from the first virtual interface reception corresponding with first physical interface, in addition to:
Distribute first virtual interface;
First physical interface and first virtual interface are bound, and first virtual interface and the OSP the first business interface are bound.
According to the first possible implementation of first aspect, in the 5th kind of possible implementation, second service message for receiving the OSP transmissions, including:
The OSP is received on the second virtual interface second service message is sent by the second business interface;
Correspondingly, second service message that service application is sent completely on first physical interface or the second physical interface, be specially:
Second service message that finishing service is applied sends gives out a contract for a project queue to second physical interface corresponding second;
Give out a contract for a project from corresponding with second physical interface described second and read second service message in queue, and be sent completely on second physical interface second service message of service application.
According to the 5th of first aspect the kind of possible implementation, in the 6th kind of possible implementation, the service message processing method, in addition to:
Obtain the Interface status of first physical interface and the Interface status of second physical interface;If the Interface status of the Interface status of first physical interface and second physical interface is halted state, stop sending first service message to the packet receiving queue, and stop sending the described second the second service message given out a contract for a project in queue;
If the Interface status of the Interface status of first physical interface and second physical interface is closed mode, the interface resource of first virtual interface and second virtual interface is reclaimed.
It is described to receive the packet receiving from first virtual interface corresponding with first physical interface in the 7th kind of possible implementation according to the 5th of first aspect the kind or the 6th kind of possible implementation Before the first service message in queue, in addition to:
Distribute first virtual interface, second virtual interface;
First physical interface and first virtual interface are bound, and first virtual interface and the OSP the first business interface are bound, second virtual interface and the OSP the second business interface are bound.
Second aspect, the embodiment of the present invention also provides a kind of network equipment, including:
Receiving module, for receiving the first service message on the first physical interface;
Service Gateway, business processing is carried out for first service message to be sent into open service platform OSP, receives the second service message that the OSP is sent, and carry out service application corresponding with first physical interface to second service message;
Sending module, the second service message for being sent completely service application on first physical interface or the second physical interface.
In the first possible implementation of second aspect, the Service Gateway, specifically for first service message is sent in packet receiving queue corresponding with first physical interface, first service message from the first virtual interface corresponding with first physical interface reception packet receiving queue, first service message received on first virtual interface is sent to the first business interface of the OSP, so that the OSP carries out business processing to first service message received on first business interface, obtain second service message, second service message that the OSP is sent by first business interface is received on first virtual interface, service application corresponding with first physical interface is carried out to second service message, second service message that finishing service is applied is sent to corresponding with first physical interface first and given out a contract for a project in queue;The sending module, reads second service message of finishing service application in queue specifically for giving out a contract for a project from described first, and passes through first physical interface and send.
According to the first possible implementation of second aspect, in second of possible implementation, the network equipment, in addition to:
Message control module, Interface status for obtaining first physical interface, if the Interface status of first physical interface is halted state, then stop sending first service message to the packet receiving queue, and stop sending the described first second service message given out a contract for a project in queue, if the Interface status of first physical interface is closed mode, the interface resource of first virtual interface is reclaimed. According to the first or second of second aspect may implementation, in the third possible implementation, the network equipment, in addition to:
Interface assignment module, for first virtual interface to be distributed into the Service Gateway, first physical interface and first virtual interface is bound, and first virtual interface and the OSP the first business interface are bound.
In the 4th kind of possible implementation of second aspect, the Service Gateway, specifically for first service message is sent in packet receiving queue corresponding with first physical interface, the-the service message from the first virtual interface reception corresponding with first physical interface packet receiving queue, first service message received on first virtual interface is sent to the first business interface of the OSP, so that the OSP carries out business processing to first service message received on first business interface, obtain second service message, second service message that the OSP is sent by the second business interface is received on the second virtual interface, service application corresponding with first physical interface is carried out to second service message, second service message that finishing service is applied is sent to corresponding with second physical interface second and given out a contract for a project in queue;
The sending module, reads second service message of finishing service application in queue specifically for giving out a contract for a project from described second, and passes through second physical interface and send.
According to the 4th of second aspect the kind of possible implementation, in the 5th kind of possible implementation, the network equipment, in addition to:
Message control module, for obtaining the Interface status of first physical interface and the Interface status of second physical interface, if the Interface status of the Interface status of first physical interface and second physical interface is halted state, then stop sending first service message to the packet receiving queue, and stop sending the described second second service message given out a contract for a project in queue, if the Interface status of the Interface status of first physical interface and second physical interface is closed mode, then reclaim the interface resource of first virtual interface and second virtual interface.
According to the 4th of second aspect the kind or the 5th kind of possible implementation, in the 6th kind of possible implementation, the network equipment, in addition to:
Interface assignment module, for first virtual interface and second virtual interface to be distributed into the Service Gateway, first physical interface and first virtual interface are bound, and bind first virtual interface and the OSP the first business interface, second virtual interface and the OSP the second business interface are bound. The third aspect provides a kind of service message processing system, including any network equipment and open service platform OSP as described in second aspect;
The OSP, for carrying out OSP business processings to text.
Service message processing method provided in an embodiment of the present invention, equipment and system, it is changed by the transmitting-receiving flow to service message, the service message for alloing the network equipment to be received from physical interface first carries out OSP business processings and then is configured service application on the physical interface again, avoid repeating to configure service application on the physical port, realize the process for carrying out OSP business processings on a physical layer.Brief description of the drawings
The accompanying drawing used required in embodiment or description of the prior art is briefly described, apparently, drawings in the following description are some embodiments of the present invention, for those of ordinary skill in the art, without having to pay creative labor, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of flow chart of service message processing method provided in an embodiment of the present invention;Fig. 2 is the flow chart of another service message processing method provided in an embodiment of the present invention;Fig. 3 is the flow chart of another service message processing method provided in an embodiment of the present invention;Fig. 4 is that the message schematic flow sheet that process mode carries out business processing is hung by OSP;Fig. 5 is the other message schematic flow sheet for hanging the corresponding online physical model of process mode shown in Fig. 4;
Fig. 6 is a kind of structural representation of the network equipment provided in an embodiment of the present invention;
Fig. 7 is the structural representation of another network equipment provided in an embodiment of the present invention;Fig. 8 is the structural representation of another network equipment provided in an embodiment of the present invention;
Fig. 9 is a kind of structural representation of service message processing system provided in an embodiment of the present invention;Figure 10 is a kind of hardware architecture diagram of the network equipment provided in an embodiment of the present invention;Fig. 11 is the hardware architecture diagram of another network equipment provided in an embodiment of the present invention.Embodiment is to make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with this Accompanying drawing in inventive embodiments, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is a part of embodiment of the invention, rather than whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art are obtained under the premise of creative work is not made belongs to the scope of protection of the invention.
Fig. 1 is a kind of flow chart of service message processing method provided in an embodiment of the present invention, and as shown in Fig. 1, the service message processing method includes:
101, receive the first service message on the first physical interface of the network equipment.
Specifically, there are multiple physical interfaces in the network equipment, and the network equipment passes through physical interface and other equipment or network connection.For example subscriber terminal equipment can be connected by the first physical interface of the network equipment with the network equipment, and subscriber terminal equipment can also pass through wireless connection with first physical interface by wired connection.In the present embodiment, the first service message that business processing and application are carried out the need for subscriber terminal equipment is sent is received on the first physical interface of the network equipment.
In the present embodiment, the first service message received on the first physical interface of the network equipment refers to that needs carry out the message of OSP business processings on the first physical interface.
102, the first service message is sent to OSP and carries out business processing by the Service Gateway in the network equipment.
Specifically, Service Gateway is provided with the network equipment, Service Gateway is for exchange datagrams text between modules and interface in the network device, the network equipment is configured before the business processing of the first physical interface in the first service message to receiving, first pass through Service Gateway and the first service message received is sent to OSP, OSP has been carried out after OSP business processings to the first service message, generates the second service message.Second service message is the 4 blunt texts that OSP business processings were only carried out to above-mentioned first message.
It should be noted that, the technical scheme provided according to embodiments of the present invention, for the message received on the physical interface, if OSP business processings need not be carried out, the service application on the physical interface is configured immediately when physical interface receives the message;If necessary to carry out OSP business processings, then when physical interface receives this article, without the service application of configuration on the physical interface, but OSP is first sent to by Service Gateway and carries out OSP business processings.OSP can be disposed on a module in the network equipment or an autonomous device outside the network equipment.
103, Service Gateway receives the second service message that OSP is sent, and carries out service application corresponding with the first physical interface to the second service message. Specifically, the second service message for completing OSP business processings is sent to Service Gateway by OSP, and Service Gateway is received after the second service message, and service application of the configuration on the first physical interface is completed to second service message.It has been achieved in that and OSP business processings is first carried out to the service message that subscriber terminal equipment is sent in physical layer, then has been configured the process of service application on the physical port.
104, the second service message of service application is sent completely on the first physical interface or the second physical interface of the network equipment.
Specifically, the second physical interface of the network equipment can connect other equipment or internet
(Internet) public network such as, the service message that the network equipment can be sent subscriber terminal equipment by the second physical interface carries out completing to configure after whole business processings and service application in the network device, sends to other equipment or network.
The difference configured according to OSP business models, the second service message that can apply finishing service is sent, or sent from the second physical interface from the first physical interface.
If OSP business models are configured to dual-port transceiver mode, it can will complete OSP business processings and configuration the second service message of service application on the first physical interface and send back the first physical interface, be sent by the first physical interface.
If OSP business models are configured to other extension process mode, OSP business processings and configuration the second service message of service application on the first physical interface can will be then completed to send to Service Gateway, proceed other business configured in the network equipment, other equipment or network are then sent to by the second physical interface.
The present embodiment, it is changed by the transmitting-receiving flow to service message, the service message for alloing the network equipment to be received from physical interface first carries out OSP business processings and then is configured service application on the physical interface again, avoid configuring business repeated application on the physical port, realize the process for carrying out OSP business processings on a physical layer.
Fig. 2 is the flow chart of another service message processing method provided in an embodiment of the present invention, and the situation that OSP business models are dual-port transceiver mode is discussed in detail on the basis of method shown in Fig. 1, in the present embodiment;As shown in Fig. 2 the service message processing method of the present embodiment includes:
201, the network equipment receives the first service message on the first physical interface of the network equipment.101 in embodiment shown in Figure 1, it will not be repeated here.
202, the first service message is sent in packet receiving queue corresponding with the first physical interface by the Service Gateway of the network equipment. Specifically, packet receiving queue is set in Service Gateway, the packet receiving queue is corresponding with the first physical interface, after the first service message being received on the first physical interface of the network equipment, before the service application on the first physical interface is configured to the service message, the first service message is sent in the packet receiving queue by Service Gateway.
203, the Service Gateway is from the first service message in the first virtual interface corresponding with the first physical interface reception packet receiving queue.
Specifically, Service Gateway circulation reads message from packet receiving queue, after the first service message for needing progress OSP business processings is read, the first service message from the first virtual interface corresponding with the first physical interface reception packet receiving queue.First virtual interface distributes to Service Gateway by the network equipment, and is bound with the first physical interface.Service Gateway reads the first service message, and the first service message read is received from the first virtual interface by the first virtual interface and the binding relationship of the first physical interface from packet receiving queue.
204, the first service message received on the first virtual interface is sent to by the Service Gateway
- business interface, so that OSP carries out business processing to the first service message received on the first business interface, obtains the second service message.
Specifically, the message received on the first virtual interface is sent to OSP the first business interface by Service Gateway.The network equipment binds the first virtual interface of OSP the first business interface and Service Gateway.OSP is received after the first service message from the first business interface, you can is carried out corresponding OSP business processings to the first service message, is obtained the second service message.The first service message that the network equipment is received from the first physical interface is before OSP business is carried out, only by having carried out repeating process in Service Gateway, equivalent to directly having carried out OSP business in the first physical interface to the first service message.
205, the Service Gateway receives the second service message that OSP is sent by the first business interface on the first virtual interface.
Specifically, the OSP business models used in the network equipment is dual-port transceiver modes, need message being transmitted from the first physical interface, then the second service message for having carried out OSP business processings is sent to the first virtual interface of Service Gateway by OSP by the first business interface.
206, the Service Gateway carries out service application corresponding with the first physical interface to the second service message.
Specifically, when the network equipment binds the first physical interface and the first virtual interface, while the service application configured on the first physical interface is reconfigured on Service Gateway, when Service Gateway is from the When one virtual interface receives the second service message, you can the service application on the first physical interface on Service Gateway is reconfigured to the second service message.
207, the second service message for having carried out service application is sent to corresponding with the first physical interface first and given out a contract for a project in queue by the Service Gateway.
Specifically, corresponding with the first physical interface first is additionally provided with Service Gateway to give out a contract for a project the bad ij of team, Service Gateway is completed to the second service message after service application of the configuration on the first physical interface, and the second service message for having carried out service application is sent into this first gives out a contract for a project queue.
208, the Service Gateway is given out a contract for a project from corresponding with the first physical interface first reads the second service message of finishing service application in queue, and passes through the first physical interface and send.
Specifically, Service Gateway circulation is given out a contract for a project from first reads message in queue, if reading the message for needing to send, then the message is transmitted by the first physical interface, the message is the second service message that finishing service is applied, complete the network equipment and receive message from the first physical interface, carried out
OSP business and configuration are after the business of the first physical interface, and the process sent from the first physical interface.
It should be noted that, the first service message that the network equipment is received on the first physical interface in 201 is not limited to the message of user terminal transmission, the message that other equipment or network are sent to user terminal is can also be, the service message processing method that the present embodiment is provided does not make restriction to the transmit-receive position of service message.
The present embodiment, by setting corresponding with physical interface packet receiving queue and queue of giving out a contract for a project in the Service Gateway of the network equipment, change business ^ blunt literary business processing and application flow, and reconfigure the service application configured in the physical interface of the network equipment first on Service Gateway, the service message for alloing the network equipment to be received from the first physical interface first carries out 0 SP business processings, then the service application on the first physical interface is configured again, and after service application has been carried out, service message is sent from the first physical interface again, realize the process for carrying out OSP business processings using bidirectional port transceiver mode on a physical layer.
Further, the network equipment can be scanned to the first physical interface state, and service condition is controlled according to the state of the first physical interface.The state of physical interface can be divided into normal condition, halted state and closed mode.When the Interface status of the first physical interface is normal condition, the OSP business processings of the present embodiment are normally carried out;This state is used to need when physical layer carries out OSP business processings.When the Interface status of the first physical interface is stops, Service Gateway stops sending out to packet receiving queue Send the first service message, and stop sending the first the second service message given out a contract for a project in queue;This state is used for when a period of time, interior temporary transient no OSP business processings needed to apply, it is possible to reduce the repeating process of service message.When the Interface status of the first physical interface is closes, the network equipment reclaims the address resource of the allocated virtual interface, including reclaims the interface IP address resource for distributing to the virtual interface of Service Gateway first;This state is used to that, when long-time need not carry out OSP business processings, the address resource of the network equipment can be saved.
Further, the network equipment also carries out interface assignment and binding procedure before the first physical interface receives the first service message.Including:First virtual interface is distributed into Service Gateway.First physical interface and the first virtual interface are bound;First virtual interface and the first business interface are bound.And reconfigure the service application configured on the first physical interface on Service Gateway.
Fig. 3 is the flow chart of another service message processing method provided in an embodiment of the present invention, and it is the other situation for hanging process mode that OSP business models are discussed in detail on the basis of method shown in Fig. 1, in the present embodiment;As shown in figure 3, the service message processing method of the present embodiment includes:
301, the network equipment receives the first service message on the first physical interface of the network equipment.101 in embodiment shown in Figure 1, no longer praise state herein.
302, the first service message is sent in packet receiving queue corresponding with the first physical interface by the Service Gateway of the network equipment.202 in embodiment shown in Figure 2, it will not be repeated here.
303, the Service Gateway is from the first service message in the first virtual interface corresponding with the first physical interface reception packet receiving queue.203 in embodiment shown in Figure 2, it will not be repeated here.
304, the first service message received on the first virtual interface is sent to by the Service Gateway
- business interface, so that OSP carries out business processing to the first service message received on the first business interface, obtains the second service message.204 in embodiment shown in Figure 2, it will not be repeated here.
305, the Service Gateway receives the second service message that OSP is sent by the second business interface on the second virtual interface.
Specifically, the second virtual interface distributes to Service Gateway by the network equipment, and the second virtual interface of OSP the second business interface and Service Gateway is bound.The OSP business models used in the network equipment hang process mode for side, therefore need message being transmitted from the second physical interface, then the second service message for having carried out OSP business processings is sent to the second virtual interface of Service Gateway by OSP by the second business interface.
306, the Service Gateway carries out business corresponding with the first physical interface to the second service message Using.
Specifically, when the network equipment binds the first business interface and the first virtual interface, the service application configured on the first physical interface is reconfigured on Service Gateway simultaneously, when Service Gateway receives the second service message from the second virtual interface, you can the service application on the first physical interface on Service Gateway is reconfigured to the second service message.
307, the second service message for having carried out service application is sent to corresponding with the second physical interface second and given out a contract for a project in queue by the Service Gateway.
Specifically, corresponding with the second physical interface second is additionally provided with Service Gateway to give out a contract for a project the bad ij of team, Service Gateway is completed to the second service message after service application of the configuration on the first physical interface, carry out other business repeating process in the network equipment to second service message, and all business processings and the second service message of application in the network equipment will have been carried out be sent to second giving out a contract for a project in queue.For example, in the network equipment or the network equipment is outer except OSP may be also configured with other business modules, if the first service message that the network equipment is received from the first physical interface needs to send from the second physical interface, and also need to carry out corresponding service in another business module in addition to OSP business, then the second service message for completing application of the configuration on the first physical interface is forwarded to another business module by Service Gateway, another business module has been carried out after business to the second service message, by the second service message and it is sent to Service Gateway, Service Gateway, which sends second service message to second, gives out a contract for a project in queue.
308, the Service Gateway is given out a contract for a project from corresponding with the second physical interface second reads the second service message of finishing service application in queue, and passes through the second physical interface and send.
Specifically, Service Gateway circulation is given out a contract for a project from second reads message in queue, if reading the message for needing to send, then the message is transmitted by the second physical interface, the message is all business processings and the second service message of application in the completion network equipment, i.e. completes the network equipment and receives message from the first physical interface, OSP business processings and configuration have been carried out after the service application of the first physical interface, and the process sent from the second physical interface.
It should be noted that, the first service message that the network equipment is received on the first physical interface in 301 is not limited to the message that subscriber terminal equipment is sent received, the message that other equipment or network are sent to user terminal is can also be, the service message processing method that the present embodiment is provided does not make restriction to the transmit-receive position of service message.
It is that the message schematic flow sheet that process mode carries out business processing is hung by OSP referring to Fig. 4, it is other Hang process mode to represent to bind by interface, service message is forwarded into OSP has been carried out after business processing, and the network equipment is beamed back again and carries out other service applications;Wherein the network equipment 41 includes Service Gateway 52, OSP 51 is set into other process mode of hanging to be repositioned onto in OSP 51 equivalent to the message for receiving the network equipment 41 from the first physical interface, has carried out returning again to other business processings of progress of Service Gateway 52 and application after OSP business;Fig. 5 is the other message schematic flow sheet for hanging the corresponding online physical model of process mode shown in Fig. 4, OSP 51 have received the message on the physical interface of the network equipment 41 first, and after OSP business processings have been carried out, proceed other business processings and application in the network equipment 41, directly configured equivalent to by OSP 51 between the first physical interface and Service Gateway 52, establish online physical model.
The present embodiment, by setting corresponding with physical interface packet receiving queue and queue of giving out a contract for a project in the Service Gateway of the network equipment, change business ^ blunt literary business processing and application flow, and reconfigure the service application configured in the physical interface of the network equipment first on Service Gateway, the service message for alloing the network equipment to be received from the first physical interface first carries out 0 SP business processings, then the service application on the first physical interface is configured again, and after service application has been carried out, service message is sent from the second physical interface, realize and hang the process that process mode carries out OSP business processings using other on a physical layer.
Further, the network equipment can be scanned to the Interface status of the first physical interface and the second physical interface, and service condition is controlled according to the Interface status of the first physical interface and the second physical interface.The state of physical interface can be divided into normal condition, halted state and closed mode.When the Interface status of the first physical interface and the second physical interface is normal condition, the OSP business processings of the present embodiment are normally carried out;This state is used to need when physical layer carries out OSP business processings.When the Interface status of the first physical interface and the second physical interface is stops, Service Gateway stops sending the first service message to packet receiving queue, and stops sending the second the second service message given out a contract for a project in queue;This state is used for when need not temporarily carry out OSP business processings, it is possible to reduce the repeating process of service message.When the Interface status of the first physical interface and the second physical interface is closes, the network equipment reclaims the address resource of the allocated virtual interface, including reclaims the interface IP address resource of the first virtual interface and the second virtual interface of distributing to Service Gateway;This state is used to carry out in long-time
During OSP business processings, the address resource of the network equipment can be saved.
Further, the network equipment also carries out interface assignment and binding procedure before the first physical interface receives the first service message.Including:First virtual interface and the second virtual interface are distributed into business Gateway.First physical interface and the first virtual interface are bound;First virtual interface and the first business interface are bound;Second virtual interface and the second business interface are bound.And reconfigure the service application configured on the first physical interface on Service Gateway.
Fig. 6 is a kind of structural representation of the network equipment provided in an embodiment of the present invention, as shown in fig. 6, the network equipment 11 of the present embodiment includes:
Receiving module 21, for receiving the first service message on the first physical interface of the network equipment 11.
Service Gateway 22, business processing is carried out for the first service message to be sent into open service platform OSP 12, receives the second service message that OSP 12 is sent, and carry out service application corresponding with the first physical interface to the second service message.
Sending module 23, the second service message for being sent completely service application on the first physical interface or the second physical interface of the network equipment 11.
The network equipment 11 is according to the difference of configuration, and the second service message that can apply finishing service is sent, or sent from the second physical interface from the first physical interface.
If OSP business models are configured to dual-port transceiver mode, it can will complete OSP business processings and configuration the second service message of service application on the first physical interface and send back the first physical interface, be sent by the first physical interface.
If OSP business models are configured to other extension process mode, OSP business processings and configuration the second service message of service application on the first physical interface can will be then completed to send to Service Gateway, proceed other business configured in the network equipment, other equipment or network are then sent to by the second physical interface.
The above-mentioned network equipment is used for the technical scheme for performing embodiment of the method shown in Fig. 1 of the present invention, and its implementing principle and technical effect is similar, and here is omitted.
In a kind of possible implementation of embodiment illustrated in fig. 6, the network equipment 11 is used for the technical scheme for performing embodiment of the method shown in Fig. 2 of the present invention.Wherein, Service Gateway 22, specifically for the first service message is sent in packet receiving queue corresponding with the first physical interface, the first service message from the first virtual interface corresponding with the first physical interface reception packet receiving queue, the first service message received on first virtual interface is sent to OSP 12 the first business interface, so that the first service message received on 12 pair of first business interface of OSP carries out business processing, the second service message is obtained;And receive the second service messages that are sent by the first business interface of OSP 12 on the first virtual interface, to the Two service messages carry out corresponding with the first physical interface service application, and the second service message that finishing service is applied is sent to corresponding with the first physical interface first and given out a contract for a project in queue.
Sending module 23, reads the second service message of finishing service application in queue specifically for giving out a contract for a project from first, and passes through the first physical interface and send.
Fig. 7 is the structural representation of another network equipment provided in an embodiment of the present invention, as shown in fig. 7, the network equipment 11 of the present embodiment is on the basis of Fig. 6, in addition to message control module 24;With reference to a kind of above-mentioned Fig. 6 possible implementation, the message control module 24, Interface status for obtaining the first physical interface, if the Interface status of the first physical interface is halted state, then stop sending the first service message to packet receiving queue, and stop sending the first the second service message given out a contract for a project in queue, if the Interface status of the first physical interface is closed mode, reclaim the interface resource for the first virtual interface for distributing to Service Gateway 22.
The network equipment of the present embodiment, scanned by the Interface status of 24 pair of first physical interface of message control module, to whether carrying out OSP business processings and being controlled, transmitting-receiving efficiency can be improved when message need not carry out OSP business processings, and save Internet resources.
Fig. 8 is the structural representation of another network equipment provided in an embodiment of the present invention, as shown in figure 8, the network equipment 11 of the present embodiment is on the basis of Fig. 7, in addition to interface assignment module 25;With reference to a kind of above-mentioned Fig. 6 possible implementation, the interface assignment module 25, for the first virtual interface to be distributed into Service Gateway 22, the first physical interface and the first virtual interface are bound, the first virtual interface and OSP 12 the first business interface are bound.
The network equipment of the present embodiment, for for the Service Gateway in the network equipment and OSP distribution interfaces resource and binding interface, allows the network equipment to carry out OSP business processings in physical layer according to interface binding relationship.
In the alternatively possible implementation of embodiment illustrated in fig. 6, the network equipment 11 is used for the technical scheme for performing embodiment of the method shown in Fig. 3 of the present invention.Wherein, Service Gateway 22, specifically for the first service message is sent in packet receiving queue corresponding with the first physical interface, the first service message from the first virtual interface corresponding with the first physical interface reception packet receiving queue, the first service message received on first virtual interface is sent to OSP 12 the first business interface, so that the first service message received on 12 pair of first business interface of OSP carries out business processing, the second service message is obtained;And receive the second service messages that are sent by the second business interface of OSP 12 on the second virtual interface, service application corresponding with the first physical interface to the progress of the second service message, that finishing service is applied Two service messages send gives out a contract for a project queue to the second physical interface corresponding second.
Sending module 23, reads the second service message of finishing service application in queue specifically for giving out a contract for a project from second, and passes through the second physical interface and send.
With reference to above-mentioned Fig. 6 alternatively possible implementation, the message control module 24, for obtaining the Interface status of the first physical interface and the Interface status of second physical interface, if the Interface status of the Interface status of the first physical interface and the second physical interface is halted state, then stop sending the first service message to packet receiving queue, and stop sending the second the second service message given out a contract for a project in queue, if the Interface status of the Interface status of the first physical interface and the second physical interface is closed mode, then reclaim the interface resource of the first virtual interface and the second virtual interface of distributing to Service Gateway 22.
The network equipment of the present embodiment, scanned by the Interface status of 24 pair of first physical interface of message control module and the second physical interface, to whether carrying out OSP business processings and being controlled, transmitting-receiving efficiency can be improved when message need not carry out OSP business processings, and save Internet resources.
With reference to above-mentioned Fig. 6 alternatively possible implementation, the interface assignment module 25, for the first virtual interface and the second virtual interface to be distributed into Service Gateway 22, first physical interface and the first virtual interface are bound, first virtual interface and OSP 12 the first business interface are bound, the second virtual interface and OSP 12 the second business interface are bound.
The network equipment of the present embodiment, for for the Service Gateway in the network equipment and OSP distribution interfaces resource and binding interface, allows the network equipment to carry out OSP business processings in physical layer according to interface binding relationship.
Fig. 9 is a kind of structural representation of service message processing system provided in an embodiment of the present invention, as shown in figure 9, the blunt literary processing system of the business 4 of the present embodiment includes:
The network equipment 61, the function for completing any embodiment in above-mentioned network equipment embodiment.OSP 62, for carrying out OSP business processings to business text.
It should be noted that OSP 62 both can have been disposed integrally with the network equipment 61, it can also separate and dispose, moreover, the OSP 62 can also be distributed frame, a part is deployed in inside the network equipment 61, a part is deployed in outside the network equipment 61, and the present embodiment is not construed as limiting.
Figure 10 is a kind of hardware architecture diagram of the network equipment provided in an embodiment of the present invention, as shown in Figure 10, and the network equipment 11 includes the first physical interface 71, processor 72 and memory 73.Wherein, the first physical interface 71, processor 72 can be connected with memory 73 by system bus or other modes, in Figure 10 so that system bus is connected as an example;System bus can be isa bus, PCI Bus or eisa bus etc..The system bus can be divided into address bus, data/address bus, controlling bus etc..For ease of representing, only represented in Figure 10 with a line, it is not intended that only one bus or a type of bus.The internal memory of memory 73 contains program code, and described program code includes computer-managed instruction.
First physical interface 71, for receiving the first service message.
Processor 72 performs described program code, business processing is carried out for the first service message to be sent into open service platform OSP, the second service message that OSP is sent is received, and the second service message is carried out and the corresponding service application of the first physical interface 71.
Different OSP business models can be configured on the network equipment 11;The OSP business models include dual-port transceiver mode and other extension process mode.
In a kind of possible implementation, the OSP business models that the network equipment 11 is configured are dual-port transceiver mode, for performing method shown in Fig. 2 of the present invention;Wherein,
Processor 72, specifically for by the first service message be sent to in the corresponding packet receiving queue of the first physical interface 71, the first service message from packet receiving queue is received with corresponding first virtual interface of the first physical interface 71, the first service message received on first virtual interface is sent to OSP the first business interface, so that OSP carries out business processing to the first service message received on the first business interface, the second service message is obtained;And the second service message that OSP is sent by the first business interface is received on the first virtual interface, service application corresponding with the first physical interface is carried out to the second service message, the second service message that finishing service is applied sends gives out a contract for a project queue to the first physical interface 71 corresponding first, the second service message of finishing service application is read in queue from giving out a contract for a project with the first physical interface 71 corresponding first, and is sent to the first physical interface 71.
First physical interface 71, the second service message for being sent completely service application.
Optionally, when OSP business models are dual-port transceiver mode, processor 72, it is additionally operable to obtain the Interface status that the first physics connects 71 mouthfuls, if the Interface status of the first physical interface 71 is halted state, stop sending the first service message to packet receiving queue, and stop sending the first the second service message given out a contract for a project in queue, if the Interface status of the first physical interface 71 is closed mode, the interface resource for the first virtual interface for distributing to Service Gateway is reclaimed.Further alternative, processor 72 is additionally operable to the first virtual interface distributing to Service Gateway, and the first physical interface 71 and the first virtual interface are bound, and the first virtual interface and the first business interface are bound.
In alternatively possible implementation, the OSP business models that the network equipment 11 is configured hang process mode to be other, for performing method shown in Fig. 3 of the present invention;It is the embodiment of the present invention referring to Fig. 11 The hardware architecture diagram of another network equipment provided;The network equipment 11 on the basis of the network equipment 11 shown in Figure 10, in addition to:Second physical interface 74.
Processor 72, specifically for by the first service message be sent to in the corresponding packet receiving queue of the first physical interface 71, the first service message from packet receiving queue is received with corresponding first virtual interface of the first physical interface 71, the first service message received on first virtual interface is sent to OSP the first business interface, so that OSP carries out business processing to the first service message received on the first business interface, the second service message is obtained;And the second service message that OSP is sent by the second business interface is received on the second virtual interface, second service message is carried out and the corresponding service application of the first physical interface 71, the second service message that finishing service is applied sends gives out a contract for a project queue to the second physical interface 74 corresponding second, second service message of finishing service application is read in queue from giving out a contract for a project with the second physical interface 74 corresponding second, and is sent to the second physical interface 74.
Second physical interface 74, the second service message for being sent completely service application.
Optionally, when OSP business models is other extension process modes, processor 72, it is additionally operable to obtain Interface status of the Interface status with second physical interface 74 of the first physical interface 71, if the Interface status of the Interface status of the first physical interface 71 and the second physical interface 74 is halted state, then stop sending the first service message to packet receiving queue, and stop sending the second the second service message given out a contract for a project in queue, if the Interface status of the Interface status of the first physical interface 71 and the second physical interface 74 is closed mode, then reclaim the interface resource of the first virtual interface and the second virtual interface of distributing to Service Gateway.It is further alternative, processor 72, it is additionally operable to the first virtual interface and the second virtual interface distributing to Service Gateway, first physical interface 71 and the first virtual interface are bound, first virtual interface and the first business interface are bound, the second virtual interface and the second business interface are bound.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above-mentioned each method embodiment can be completed by the related hardware of programmed instruction.Foregoing program can be stored in a computer read/write memory medium.The program upon execution, performs the step of including above-mentioned each method embodiment;And foregoing storage medium includes:ROM, RAM, magnetic disc or CD etc. are various can be with the medium of store program codes.
Finally it should be noted that:Various embodiments above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although the present invention is described in detail with reference to foregoing embodiments, it will be understood by those within the art that:It can still modify to the technical scheme described in foregoing embodiments, or carry out equivalent substitution to which part or all technical characteristic;And these modifications or replacement, the essence of appropriate technical solution is departed from the scope of various embodiments of the present invention technical scheme.

Claims (1)

  1. Claims
    1st, a kind of service message processing method, it is characterised in that including:
    The first service message is received on the first physical interface;
    First service message is sent to open service platform OSP and carries out business processing;The second service message that the OSP is sent is received, service application corresponding with first physical interface is carried out to second service message;
    The second service message of service application is sent completely on first physical interface or the second physical interface.
    2nd, according to the method described in claim 1, it is characterised in that it is described receive the first service message on the first physical interface after, in addition to:
    First service message is sent in packet receiving queue corresponding with first physical interface;First service message from the first virtual interface corresponding with first physical interface reception packet receiving queue;
    Correspondingly, it is described by the first service message be sent to OSP carry out business processing be specially:First service message received on first virtual interface is sent to first business interface of the OSP, so that 0 SP carries out business processing to first service message received on first business interface and obtains second service message.
    3rd, method according to claim 2, it is characterised in that second service message that the reception OSP is sent, including:
    Second service message that the OSP is sent by first business interface is received on first virtual interface;
    Correspondingly, second service message that service application is sent completely on first physical interface or the second physical interface, be specially:
    Second service message that finishing service is applied sends gives out a contract for a project queue to first physical interface corresponding first;
    Give out a contract for a project from corresponding with first physical interface described first and second service message of finishing service application is read in queue, and be sent completely on first physical interface second service message of service application.
    4th, method according to claim 3, it is characterised in that also include:
    Obtain the Interface status of first physical interface; If the Interface status of first physical interface is halted state, stop sending first service message to the packet receiving queue, and stop sending the described first second service message given out a contract for a project in queue;
    If the Interface status of first physical interface is closed mode, the interface resource of first virtual interface is reclaimed.
    5th, the method according to any one of claim 24, it is characterised in that before the blunt texts of the first business ^ in the packet receiving queue from the first virtual interface reception corresponding with first physical interface, in addition to:
    Distribute first virtual interface;
    First physical interface and first virtual interface are bound, and first virtual interface and the OSP the first business interface are bound.
    6th, method according to claim 2, it is characterised in that second service message that the reception OSP is sent, including:
    The OSP is received on the second virtual interface second service message is sent by the second business interface;
    Correspondingly, second service message that service application is sent completely on first physical interface or the second physical interface, be specially:
    Second service message that finishing service is applied sends gives out a contract for a project queue to second physical interface corresponding second;
    Give out a contract for a project from corresponding with second physical interface described second and read second service message in queue, and be sent completely on second physical interface second service message of service application.
    7th, method according to claim 6, it is characterised in that also include:
    Obtain the Interface status of first physical interface and the Interface status of second physical interface;If the Interface status of the Interface status of first physical interface and second physical interface is halted state, stop sending first service message to the packet receiving queue, and stop sending the described second the second service message given out a contract for a project in queue;
    If the Interface status of the Interface status of first physical interface and second physical interface is closed mode, the interface resource of first virtual interface and second virtual interface is reclaimed.
    8th, the method according to claim 6 or 7, it is characterised in that described from described Corresponding first virtual interface of one physical interface is received before the first service message in the packet receiving queue, in addition to:
    Distribute first virtual interface, second virtual interface;
    First physical interface and first virtual interface are bound, and first virtual interface and the OSP the first business interface are bound, second virtual interface and the OSP the second business interface are bound.
    9th, a kind of network equipment, it is characterised in that including:
    Receiving module, for receiving the first service message on the first physical interface;
    Service Gateway, business processing is carried out for first service message to be sent into open service platform OSP, receives the second service message that the OSP is sent, and carry out service application corresponding with first physical interface to second service message;
    Sending module, the second service message for being sent completely service application on first physical interface or the second physical interface.
    10, equipment according to claim 9, it is characterized in that, the Service Gateway, specifically for first service message is sent in packet receiving queue corresponding with first physical interface, first service message from the first virtual interface corresponding with first physical interface reception packet receiving queue, first service message received on first virtual interface is sent to the first business interface of the OSP, so that the OSP carries out business processing to first service message received on first business interface, obtain second service message, second service message that the OSP is sent by first business interface is received on first virtual interface, service application corresponding with first physical interface is carried out to second service message, second service message that finishing service is applied is sent to corresponding with first physical interface first and given out a contract for a project in queue;
    The sending module, reads second service message of finishing service application in queue specifically for giving out a contract for a project from described first, and passes through first physical interface and send.
    11, equipment according to claim 10, it is characterised in that also include:
    Message control module, Interface status for obtaining first physical interface, if the Interface status of first physical interface is halted state, then stop sending first service message to the packet receiving queue, and stop sending the described first second service message given out a contract for a project in queue, if the Interface status of first physical interface is closed mode, the interface money of first virtual interface is reclaimed Source.
    12nd, the equipment according to claim 10 or 11, it is characterised in that also include:Interface assignment module, for first virtual interface to be distributed into the Service Gateway, first physical interface and first virtual interface is bound, and first virtual interface and the OSP the first business interface are bound.
    13, equipment according to claim 9, it is characterized in that, the Service Gateway, specifically for first service message is sent in packet receiving queue corresponding with first physical interface, first service message from the first virtual interface corresponding with first physical interface reception packet receiving queue, first service message received on first virtual interface is sent to the first business interface of the OSP, so that the OSP carries out business processing to first service message received on first business interface, obtain second service message, second service message that the OSP is sent by the second business interface is received on the second virtual interface, service application corresponding with first physical interface is carried out to second service message, second service message that finishing service is applied is sent to corresponding with second physical interface second and given out a contract for a project in queue;
    The sending module, reads second service message of finishing service application in queue specifically for giving out a contract for a project from described second, and passes through second physical interface and send.
    14th, equipment according to claim 13, it is characterised in that also include:
    Message control module, for obtaining the Interface status of first physical interface and the Interface status of second physical interface, if the Interface status of the Interface status of first physical interface and second physical interface is halted state, then stop sending first service message to the packet receiving queue, and stop sending the described second second service message given out a contract for a project in queue, if the Interface status of the Interface status of first physical interface and second physical interface is closed mode, then reclaim the interface resource of first virtual interface and second virtual interface.
    15th, the equipment according to claim 13 or 14, it is characterised in that also include:Interface assignment module, for first virtual interface and second virtual interface to be distributed into the Service Gateway, first physical interface and first virtual interface are bound, and bind first virtual interface and the OSP the first business interface, second virtual interface and the OSP the second business interface are bound.
    16th, a kind of service message processing system, it is characterised in that including the network equipment as described in any one of claim 9 15 and open service platform OSP, the OSP for carrying out OSP business processings to service message.
CN201280002563.3A 2012-11-15 2012-11-15 Service message processing method, equipment and system Active CN103959732B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2012/084678 WO2014075269A1 (en) 2012-11-15 2012-11-15 Service message processing method, device and system

Publications (2)

Publication Number Publication Date
CN103959732A true CN103959732A (en) 2014-07-30
CN103959732B CN103959732B (en) 2016-11-09

Family

ID=50730495

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201280002563.3A Active CN103959732B (en) 2012-11-15 2012-11-15 Service message processing method, equipment and system

Country Status (2)

Country Link
CN (1) CN103959732B (en)
WO (1) WO2014075269A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1464679A (en) * 2002-06-18 2003-12-31 华为技术有限公司 Internet authentication method
US20080095179A1 (en) * 2006-10-20 2008-04-24 Kuen-Ming Lee System And Method For Controlling The Devices Connected To Control Gateway
CN101841456A (en) * 2009-03-18 2010-09-22 中国电信股份有限公司 Method and system for implementing service application division
CN102396191A (en) * 2009-02-13 2012-03-28 Adc长途电讯有限公司 Inter-networking devices for use with physical layer information

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1464679A (en) * 2002-06-18 2003-12-31 华为技术有限公司 Internet authentication method
US20080095179A1 (en) * 2006-10-20 2008-04-24 Kuen-Ming Lee System And Method For Controlling The Devices Connected To Control Gateway
CN102396191A (en) * 2009-02-13 2012-03-28 Adc长途电讯有限公司 Inter-networking devices for use with physical layer information
CN101841456A (en) * 2009-03-18 2010-09-22 中国电信股份有限公司 Method and system for implementing service application division

Also Published As

Publication number Publication date
WO2014075269A1 (en) 2014-05-22
CN103959732B (en) 2016-11-09

Similar Documents

Publication Publication Date Title
CN106375142B (en) The test method and device of application program
CN105763385B (en) Traffic scheduling method and device
CN107483390A (en) A kind of cloud rendering web deployment subsystem, system and cloud rendering platform
CN103109271A (en) Inter-platform application migration realization method and system
CN105101163A (en) Method and apparatus for card personalization over air
CN103888928A (en) Business strategy control method and system
CN102845123A (en) Virtual private cloud connection method and tunnel proxy server
CN104378754A (en) System and method for implementing mobile communication network services
CN111224821A (en) Security service deployment system, method and device
CN107342933A (en) A kind of activation of smart machine and binding method and device
CN106302448A (en) remote access control method and device
CN109147118A (en) Access control system of residential community, adaptation method and things-internet gateway
CN110493337A (en) Data access method, gateway, system, storage medium and device
CN104144490A (en) Method, terminal, network server and system for opening account of user card
CN103039059A (en) IP address allocation method, system and device
CN109819064A (en) Method for communication between modules, operating system module and conference panel
CN104539576B (en) Communication means and system based on IPv6 networks
CN101795478B (en) Method for data bypass, network side equipment and access gateway
CN106411588B (en) A kind of network device management method, main equipment and management server
CN103533580A (en) Wifi data non-seamless branching method, apparatus and system
CN101808040B (en) Access server method of mobile E-mail client and mobile terminal
CN103974224A (en) Credit control method and equipment
CN103959732A (en) Service message processing method, device and system
CN105338528B (en) Method, system and the wireless access node that packet redirects
CN104838624A (en) Method, apparatus and system for controlling forwarding of service data in virtual network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant