Embodiment
Hereinafter will describe the present invention with reference to the accompanying drawings and in conjunction with the embodiments in detail.Need to prove that under the situation of not conflicting, embodiment and the feature among the embodiment among the application can make up mutually.
At first in the described network of the embodiment of the invention, there are personal network equipment, individual net gateway, individual network server and business/content server.Fig. 1 is the schematic diagram that is used to implement the networking of the embodiment of the invention, as shown in Figure 1, net inside the individual, one or more personal network equipments (personal network equipment 1, personal network equipment 2...... personal network equipment n) link to each other with individual net gateway by short-range communication technique; Individual's net gateway links to each other with the individual network server of network side by wired or wireless mode, business/content server links to each other with individual network server, individual's net gateway can directly link to each other with business/content server, also can carry out transfer, and individual network server itself can exist also simultaneously as business/content server by individual network server.Can there be a plurality of individual's nets to link to each other with individual network server simultaneously in addition.
Find the other side by device discovery procedure between personal network equipment and the individual net gateway, and register, just can carry out service interaction subsequently, similarly, individual net gateway also need be registered on individual network server.
In the stage of personal network equipment to individual net gateway registration, can form a routing table on individual's net gateway, wherein, the sign and the address of personal network equipment have been write down, when individual net gateway during to the registration of individual network server, it also can send to individual network server with information (indicating and the address) and its routing table of oneself, has a routing table on the individual network server equally, has wherein write down the sign and the address of all equipment of registering on this server.The present invention will use this routing table to carry out professional transmission.
Method embodiment
According to embodiments of the invention, a kind of method for transmitting service is provided, in individual net gateway and individual network server, routing table is set respectively in advance, wherein, sign and address that routing table in individual's net gateway is used to write down personal network equipment, the routing table in the individual network server is used to write down the sign and the address of the personal network equipment of registering on this individual's network server.Fig. 2 is the flow chart according to the method for transmitting service of the embodiment of the invention, and as shown in Figure 2, this method comprises:
Step S202, individual net gateway receives purpose personal network equipment information and business datum.
The routing iinformation of step S204, the individual net gateway purpose personal network equipment of search purposes personal network equipment information correspondence in routing table.
Step S206, individual net gateway sends business datum according to routing iinformation to the purpose personal network equipment.
For step S202, one of can be in the following manner realize:
Mode one:
Individual's net gateway receives purpose personal network equipment information and the business datum from individual network server.
Before this, individual network server is triggered and sends business datum to the purpose personal network equipment; Individual's network server is according to the information inquiry purpose personal network equipment information in the routing table; Individual's network server sends purpose personal network equipment information and business datum according to the purpose personal network equipment information that inquires to one or more individual net gateways.
Particularly, individual network server sends the common service data according to the purpose personal network equipment information that inquires to a guy of institute net gateway; Individual's network server sends the private service data of this purpose individual gateway correspondence respectively to each purpose individual net gateway according to the purpose personal network equipment information that inquires.
Wherein, individual network server is triggered and sends business datum and comprise one of following to the trigger condition of purpose personal network equipment: personal network equipment request, system's active push.
Preferably, individual network server according to the purpose personal network equipment information that inquires before one or more individual net gateways send purpose personal network equipment information and business datum, this method also comprises: individual network server obtains business datum to business/content server.
Further, individual network server one of in the following manner sends purpose personal network equipment information and business datum to one or more individual net gateways: clean culture, multicast, broadcasting.
Mode two
Individual's net gateway receives purpose personal network equipment information and the business datum from business/content server.
Before this, individual network server is triggered and sends business datum to the purpose personal network equipment; Individual's network server is according to the information inquiry purpose personal network equipment information in the routing table; Individual's network server sends a notification message to business/content server, and wherein, notification message carries purpose personal network equipment information and business datum; Business/content server sends purpose personal network equipment information and business datum according to purpose personal network equipment information to one or more individual net gateways.
Preferably, individual's network server is after business/content server sends a notification message, if do not connect between business/content server one or more individual net gateway corresponding with purpose personal network equipment information, then connect earlier, carry out subsequent operation again.
Preferably, before the routing iinformation of individual net gateway according to the information inquiry purpose personal network equipment in the routing table, individual's net gateway can judge during business datum whether that the business datum that sends to self is arranged according to purpose personal network equipment information, if have, then receive the business datum of this individual's net gateway.
Further, step S206 also comprises: individual net gateway uses routing iinformation to send purpose personal network equipment information and business datum to the purpose personal network equipment.In this case, the purpose personal network equipment receives purpose personal network equipment information and business datum; The purpose personal network equipment judges whether the destination of the purpose personal network equipment information correspondence that receives is correct, if, then receive business datum, if not, error message then returned.
By this embodiment, the routing iinformation of individual's net gateway purpose personal network equipment of search purposes personal network equipment information correspondence in routing table, and use routing iinformation to send business datum to the purpose personal network equipment, solved the problem that sends professional processing scheme between personal network equipment and the individual net gateway is not provided at present, and then realized that the business of PN sends.
Below in conjunction with specific embodiment implementation procedure of the present invention is described in detail.
Embodiment one
Fig. 3 is the flow chart that arrives the business transmission of single personal network equipment according to the individual network server of the embodiment of the invention, as shown in Figure 3, comprises following step:
Step S302, individual network server are triggered transmission business/content to certain personal network equipment.
Wherein, the condition of triggering has multiple, as the personal network equipment request, and system's active push etc.
Step S304, individual network server be according to the information of the information inquiry purpose personal network equipment in the routing table, as its address and corresponding individual net gateway information etc.
Step S306, individual network server sends purpose personal network equipment information and business datum according to the information that inquires to corresponding individual net gateway.
Step S308, individual net gateway are according to the information of the information inquiry purpose personal network equipment in the routing table, as its address etc.
Step S310, individual net gateway sends purpose personal network equipment information and business datum according to the information that inquires to corresponding personal network equipment.
Step S312, personal network equipment judge whether the information that receives issues oneself,, judges whether destination is correct that is, if, then receive these data, if not, error message then returned.
By this embodiment, realized that individual network server sends to the business of single personal network equipment.
For the professional transmission flow of individual network server, comprise following situation to a plurality of personal network equipments:
Situation 1, a plurality of personal network equipments are in same individual's net, and the content that transmits is identical, and this moment, flow process and above-mentioned Fig. 3 were basic identical, just can use mode of unicast to send when a plurality of personal network equipments send data at individual net gateway and also can use multicast or broadcast mode to send.
Situation 2, a plurality of personal network equipments are in same individual net, and the content that transmits is not quite similar, and the implementation procedure of this situation is described below by embodiment two.
Embodiment two
Fig. 4 is the flow chart that arrives the business transmission of a plurality of personal network equipments according to the individual network server of the embodiment of the invention, as shown in Figure 4, comprises following step:
Step S402, individual network server are triggered transmission business/content to certain personal network equipment.
Wherein, the condition of triggering has multiple, as the personal network equipment request, and system's active push etc.
Step S404, individual network server be according to the information of the information inquiry purpose personal network equipment in the routing table, as its address and corresponding individual net gateway information etc.
Step S406, individual network server sends purpose personal network equipment information and business datum according to the information that inquires to corresponding individual net gateway.
Step S408, individual net gateway judges whether to send to the data of oneself, if having then receive this partial data.
Step S410, individual net gateway are according to the information of the information inquiry purpose personal network equipment in the routing table, as its address etc.
Step S412, individual net gateway sends purpose personal network equipment information and business datum according to the information that inquires to corresponding personal network equipment.
Wherein, individual's net gateway sends to all purpose personal network equipments with common data, private data is sent to each purpose personal network equipment respectively, and common data is meant that all purpose personal network equipments all need the data that receive, and can use the mode of clean culture, multicast or broadcasting to send; Private data is meant the data that certain or some purpose personal network equipments only need receive, and can use the mode of clean culture, multicast or broadcasting to send.
Step S414, personal network equipment judge whether the information that receives issues oneself,, judges whether destination is correct that is, if, then receive these data, if not, error message then returned.
By this embodiment, realized that individual network server sends to the business of a plurality of personal network equipments.
Situation 3, a plurality of personal network equipments are in different individuals nets, and the content that transmits is identical, and this moment, flow process was the same substantially with above-mentioned Fig. 3, just in step S306, individual network server can send to business datum the pairing a plurality of individual net gateways of a plurality of personal network equipments.
Situation 4, a plurality of personal network equipments are in different individuals nets, and the content that transmits is not quite similar, this moment, flow process and above-mentioned Fig. 4 were similar, and just in step S406, individual network server can send data to a plurality of individual net gateways, and, can send to a guy of institute net gateway for common data,, only send to corresponding individual net gateway for private data.
For the professional process of transmitting of business/content server, comprise following situation to single personal network equipment:
The business that situation 1, business/content server directly arrive single personal network equipment sends, and the implementation procedure of this situation is described below by embodiment three.
Embodiment three
Fig. 5 is the flow chart that directly arrives the business transmission of single personal network equipment according to the business/content server of the embodiment of the invention, as shown in Figure 5, comprises following step:
Step S502, individual network server are triggered transmission business/content to certain personal network equipment.
Wherein, the condition of triggering has multiple, as the personal network equipment request, and system's active push or the like.
Step S504, individual network server be according to the information of the information inquiry purpose personal network equipment in the routing table, as its address and corresponding individual net gateway information etc.
Step S506, individual network server is with information notification business/content server of inquiring and notify this service to send business datum to destination device.
Step S508, business/content server connects according to the information and the corresponding individual net gateway that receive.
This step is an optional step, is connected if set up with business/content server between the individual net gateway, does not then need this step.
Step S510, business/content server transmission purpose personal network equipment information and business datum are to corresponding individual net gateway.
Step S512, individual net gateway are according to the information of the information inquiry purpose personal network equipment in the routing table, as its address etc.
Step S514, individual net gateway sends purpose personal network equipment information and business datum according to the information that inquires to corresponding personal network equipment.
Step S516, personal network equipment judge whether the information that receives issues oneself,, judges whether destination is correct that is, if, then receive these data, if not, error message then returned.
By this embodiment, realized that business/content server directly arrives the business transmission of single personal network equipment.
Situation 2, business/content server sends by the business that individual network server is forwarded to single personal network equipment, and the implementation procedure of this situation is described below by embodiment four.
Embodiment four
Fig. 6 is forwarded to the flow chart that the business of single personal network equipment sends according to the business/content server of the embodiment of the invention by individual network server, as shown in Figure 6, comprises following step:
Step S602, individual network server are triggered transmission business/content to certain personal network equipment.
Wherein, the condition of triggering has multiple, as the personal network equipment request, and system's active push etc.
Step S604, individual network server be according to the information of the information inquiry purpose personal network equipment in the routing table, as its address and corresponding individual net gateway information etc.
Step S606, individual network server obtains the corresponding business data to business/content server.
Step S608, individual network server transmission purpose personal network equipment information and business datum are to corresponding individual net gateway.
Step S610, individual net gateway are according to the information of the information inquiry purpose personal network equipment in the routing table, as its address etc.
Step S612, individual net gateway sends purpose personal network equipment information and business datum according to the information that inquires to corresponding personal network equipment.
Step S614, personal network equipment judge whether the information that receives issues oneself,, judges whether destination is correct that is, if, then receive these data, if not, error message then returned.
By this embodiment, realized that business/content server sends by the business that individual network server is forwarded to single personal network equipment.
For the professional process of transmitting of business/content server, comprise following situation to a plurality of personal network equipments:
The business that situation 1, business/content server directly arrive a plurality of personal network equipments sends, and the implementation procedure of this situation is described below by embodiment five.
Embodiment five
Fig. 7 is the flow chart that directly arrives the business transmission of a plurality of personal network equipments according to the business/content server of the embodiment of the invention, as shown in Figure 7, comprises following step:
Step S702, individual network server are triggered transmission business/content to certain personal network equipment.
Wherein, the condition of triggering has multiple, as the personal network equipment request, and system's active push etc.
Step S704, individual network server be according to the information of the information inquiry purpose personal network equipment in the routing table, as its address and corresponding individual net gateway information etc.
Step S706, individual network server is with information notification business/content server of inquiring and notify this service to send business datum to destination device.
Step S708, business/content server connects respectively according to the information that receives and corresponding each individual net gateway.
This step is an optional step, is connected if set up with business/content server between certain individual net gateway, does not then need to carry out this step.
Step S710, business/content server transmission purpose personal network equipment information and business datum are to corresponding individual net gateway.
Wherein, can send to a guy of institute net gateway,, only send to corresponding individual net gateway for private data for common data.
Step S712, individual net gateway judges whether to send to the data of oneself, if having, then receives this partial data.
Step S714, individual net gateway are according to the information of the information inquiry purpose personal network equipment in the routing table, as its address etc.
Step S716, individual net gateway sends purpose personal network equipment information and business datum according to the information that inquires to corresponding personal network equipment.
Wherein, individual net gateway sends to all purpose personal network equipments with common data, and private data is sent to each purpose personal network equipment respectively.
Step S718, personal network equipment judge whether the information that receives issues oneself,, judges whether destination is correct, if then receive these data, if not then returning error message that is.
By this embodiment, realized that business/content server directly arrives the business transmission of a plurality of personal network equipments.
Situation 2, business/content server sends by the business that individual network server is forwarded to a plurality of personal network equipments, flow process and above-mentioned Fig. 6 are similar, just individual network server can be sent to data respectively each corresponding individual net gateway in step S608, and individual net gateway can judge whether to send to the data of oneself, if have then receive this partial data, individual in addition net gateway can send to common data all purpose personal network equipments, and private data is sent to each purpose personal network equipment respectively.
Embodiment six
The user has MP3, MP4 and portable terminal (for example, mobile phone), and they all support bluetooth, and portable terminal has the ability of gateway.
MP3 is connected by bluetooth with portable terminal (as individual net gateway) as personal network equipment with MP4, and routing table as shown in table 1 is arranged on portable terminal, has wherein write down the information of MP3 and MP4, and form is as follows:
Table 1
| Device numbering | Indications | The address |
| 001 | KZ200 | 43:7d:ee:ad:1e:00 |
| 002 | MZ400 | 43:7d:ee:ad:1e:05 |
When this portable terminal after registration on the individual network server, have routing table as shown in table 2 on the individual network server, write down the information of this portable terminal and coupled personal network equipment, form is as follows:
Table 2
The user sends the request of download song to individual network server by MP3, after individual's network server is received request, according to the information of the information inquiry in the table 2 to this MP3 and individual net gateway thereof, individual's network server sends to song and personal network equipment information according to the information that inquires user's portable terminal, after portable terminal is received these data, according to its routing table (table 1) of information inquiry of personal network equipment, and this song is sent to MP3 according to the information that inquires.
By this embodiment, realized same user's data transmission course among the PN.
Embodiment seven
User A has MP4 and portable terminal, and user B also has MP4 and portable terminal, and they all support bluetooth.
The MP4A of user A is connected by bluetooth with portable terminal A (as individual net gateway) as personal network equipment, and routing table as shown in table 3 is arranged on portable terminal, has wherein write down the information of MP4, and form is as follows:
Table 3
| Device numbering | Indications | The address |
| 001 | MZ400 | 43:7d:ee:ad:1e:05 |
The MP4B of user B is connected by bluetooth with portable terminal B (as individual net gateway) as personal network equipment, and routing table as shown in table 4 is arranged on portable terminal, has wherein write down the information of MP4, and form is as follows:
Table 4
| Device numbering | Indications | The address |
| 001 | MZ400 | 43:7d:ee:ad:1e:06 |
When two users' portable terminal after registration on the individual network server, have routing table as shown in table 5 on the individual network server, write down the information of this portable terminal and coupled personal network equipment, form is as follows:
Table 5
| Device numbering | Indications | The address | Indications (associate device) | Address (associate device) |
| 001 | M600 | 10.40.76.99 | MZ400 | 43:7d:ee:ad:1e:05 |
| 002 | N97 | 10.40.76.102 | MZ400 | 43:7d:ee:ad:1e:06 |
Two users' MP4 carries out internet game by individual network server, after individual's network server receives request, information according to MP4 of the information inquiry to two in the table 5 and individual net gateway thereof, individual's network server sends to corresponding individual net gateway (i.e. two users' portable terminal) according to the information that inquires with game data, game data is divided into public part (background frame for example, music or the like) and private data (for example to feedback of user operation or the like), individual's network server sends to each portable terminal (gateway) with common data, and private data is sent to corresponding mobile terminal (gateway) respectively; Portable terminal receives after game data and the purpose personal network equipment information search purposes personal network equipment information in the routing table of oneself, judgement is to send the data to MP4, and portable terminal sends to MP4 (purpose personal network equipment) according to the information that inquires with these data.
By this embodiment, realized the data transmission procedure of different user among the PN.
Device embodiment
Embodiment one
According to embodiments of the invention, a kind of individual net gateway is provided, this individual's net gateway can be used to realize above-mentioned method for transmitting service.Fig. 8 is the structured flowchart according to the individual net gateway of the embodiment of the invention, and as shown in Figure 8, this individual's net gateway comprises: receiver module 2, enquiry module 4, the first sending modules 6 are described said structure below.
Receiver module 2 is used to receive purpose personal network equipment information and business datum; Enquiry module 4 is connected to receiver module 2, is used for the routing iinformation at the purpose personal network equipment of routing table search purposes personal network equipment information correspondence; First sending module 6 is connected to enquiry module 4, is used for sending business datum according to routing iinformation to the purpose personal network equipment.
Receiver module 2 one of can be in the following manner realized:
Mode one:
Purpose personal network equipment information and business datum that receiver module 2 receives from individual network server.
Mode two
Purpose personal network equipment information and business datum that receiver module 2 receives from business/content server.
Preferably, individual net gateway also comprises:
Judge module, be used for before the routing iinformation of enquiry module 4 according to the information inquiry purpose personal network equipment of routing table, judge during business datum whether that according to purpose personal network equipment information the business datum that sends to self is arranged,, then receive the business datum of this individual's net gateway if having.
Further, first sending module 6 can use routing iinformation to send purpose personal network equipment information and business datum to the purpose personal network equipment.In this case, personal network equipment receives purpose personal network equipment information and business datum; Personal network equipment judges whether the destination of the purpose personal network equipment information correspondence that receives is correct, if, then receive business datum, if not, error message then returned.
By this embodiment, provide the individual net gateway that can communicate with personal network equipment.
Embodiment two
According to embodiments of the invention, a kind of individual network server is provided, this individual's network server can be used to realize above-mentioned method for transmitting service.Fig. 9 is the structured flowchart according to the individual network server of the embodiment of the invention, and as shown in Figure 9, this individual's network server comprises trigger module 1, and enquiry module 3, the second sending modules 5 are described said structure below.
Trigger module 1, being used to be triggered sends business datum to the purpose personal network equipment; Enquiry module 3 is connected to trigger module 1, is used for the purpose personal network equipment information according to the information inquiry purpose personal network equipment of routing table; Second sending module 5 is connected to enquiry module 3, is used for sending purpose personal network equipment information and business datum according to the purpose personal network equipment information that inquires to one or more individual net gateways.
Wherein, trigger module 1 is triggered and sends business datum and comprise one of following to the trigger condition of purpose personal network equipment: personal network equipment request, system's active push.
Particularly, enquiry module 3 sends the common service data according to the purpose personal network equipment information that inquires to a guy of institute net gateway; Enquiry module 3 sends the private service data of this purpose individual gateway correspondence respectively to each purpose individual net gateway according to the purpose personal network equipment information that inquires.
Wherein, second sending module 5 one of in the following manner sends purpose personal network equipment information and business datum to one or more individual net gateways: clean culture, multicast, broadcasting.
Preferably, individual network server also comprises:
Acquisition module is used for obtaining business datum to business/content server, so that second sending module 5 carries out transmit operation.
Notification module is used for sending a notification message to business/content server, and wherein, notification message carries purpose personal network equipment information and business datum; So that business/content server sends purpose personal network equipment information and business datum according to purpose personal network equipment information to one or more individual net gateways.
Set up module, be used at individual notification module after business/content server sends a notification message, if do not connect between business/content server one or more individual net gateway corresponding with purpose personal network equipment information, then connect, carry out subsequent operation again with business/content server.
Pass through the above embodiment of the present invention, the routing iinformation of individual's net gateway purpose personal network equipment of search purposes personal network equipment information correspondence in routing table, and use routing iinformation to send business datum to the purpose personal network equipment, the problem that sends professional processing scheme between personal network equipment and the individual net gateway that do not provide at present has been provided, and then the business that has realized PN sends, when existing a large amount of individuals to net, can realize professional transmission and management effectively.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with the general calculation device, they can concentrate on the single calculation element, perhaps be distributed on the network that a plurality of calculation element forms, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in the storage device and carry out by calculation element, and in some cases, can carry out step shown or that describe with the order that is different from herein, perhaps they are made into each integrated circuit modules respectively, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.