[0030] Hereinafter, the present invention will be described in detail with reference to the accompanying drawings and the embodiments.
[0031] Hereinafter, the present invention will be described in detail with reference to the drawings and in conjunction with the embodiments. It should be noted that the embodiments in this application and the features in the embodiments can be combined with each other if there is no conflict.
[0032] In the related art, it is mentioned that the server needs to send the same service data to different personal network PNs or service applicants, which causes a waste of transmission resources and reduces the efficiency of the server to distribute services. In order to solve the above technical problems, an embodiment of the present invention provides a personal network merging method, and the processing flow is as follows: figure 1 Shown, including:
[0033] Step S102: When the server determines that the same service data needs to be sent to at least two personal network PNs at the same time, the server notifies the at least two PNs to merge;
[0034] Step S104: The server sends the service data to the merged PN.
[0035] In the embodiment of the present invention, when the server determines that the same service data needs to be sent to at least two personal network PNs at the same time, the server notifies at least two PNs to merge, and the server sends the service data to the merged PN instead of as related As mentioned in the technology, the server needs to send the same service data to different personal network PNs or service applicants, which can reduce the number of service data transmissions, thereby saving transmission resources and improving the efficiency of server distribution services.
[0036] Such as figure 1 As shown in the process, when step S104 is implemented, the server notifies at least two PNs to merge. Preferably, the server can notify at least two PNs of adjacent or the same user based on the location information and/or user information of each network. merge. Of course, during implementation, it is also possible to determine and notify several PN mergers that meet the conditions based on other information of the personal network.
[0037] During implementation, at least two PNs are merged to generate a new PN, and a gateway is selected from the new PN. The server sends service data to the merged PN through the gateway of the merged PN (ie, the selected gateway). The gateway of the PN is determined by the PNE and PNGW contained in at least two PNs through capability and/or status negotiation. Capabilities include the capabilities of PNE and PNGW themselves, for example, the connection speed between PNE and PNGW and the server, its own load capacity, its own battery life, business data processing capabilities, and so on. The status includes the current environment, location, and own status of PNE and PNGW, for example, the strength of the signal in the network environment, the current battery support time, which protocol is used for signal transmission in the network, whether the device is idle, the current geographic location, Whether to roam and so on.
[0038] There are multiple options for the gateway of the merged PN. The capability and/or status negotiation mentioned above is the more common one. Random selection or other selection methods can also be used. The better one is included in at least two PNs. In PNE and PNGW, the device with the fastest connection speed to the server is selected as the gateway of the merged PN, which can improve the transmission efficiency in the subsequent business data transmission process. Another better choice is to select the device with the best load capacity among the PNE and PNGW contained in at least two PNs as the gateway of the merged PN. Of course, compared to the above-mentioned better ones, speed can be combined with load, and the device with better load capacity and the fastest connection speed with the server can be selected as the gateway of the merged PN.
[0039] Based on the same inventive concept, the embodiment of the present invention also provides another personal network merging method, the processing flow of which is as follows: figure 2 Shown, including:
[0040] Step S202: When at least two PNs receive the merge notification sent by the server, merge the at least two PNs into one PN, where the server needs to send the same service data to the at least two PNs at the same time;
[0041] Step S204: Use the merged PN to receive the service data sent by the server.
[0042] figure 2 In the process shown, when at least two PNs receive the merge notification sent by the server, at least two PNs are merged into one PN, and the merged PN is used to receive the service data sent by the server, which reduces the number of service data transmissions and saves transmission resources , Improve the efficiency of server distribution business.
[0043] Such as figure 2 As shown in the process, when step S202 is implemented, at least two PNs of adjacent locations or the same user can be merged according to the location information and/or user information of each person’s network, or according to information other than location information and/or user information. Other information determines which PN needs to be merged.
[0044] In implementation, it is better to merge at least two PNs to generate a new PN, select a gateway from the new PN, and receive the service data sent by the server through the gateway of the merged PN (ie, the selected gateway), where the merge The gateway of the latter PN is determined by the PNE and PNGW included in at least two PNs through capability and/or status negotiation. Capabilities include the capabilities of PNE and PNGW themselves, for example, the connection speed between PNE and PNGW and the server, its own load capacity, its own battery life, business data processing capabilities, and so on. The status includes the current environment, location, and own status of PNE and PNGW, for example, the strength of the signal in the network environment, the current battery support time, which protocol is used for signal transmission in the network, whether the device is idle, the current geographic location, Whether to roam and so on.
[0045] There are multiple options for the gateway of the merged PN. The capability and/or status negotiation mentioned above is the more common one. Random selection or other selection methods can also be used. The better one is included in at least two PNs. In PNE and PNGW, the device with the fastest connection speed to the server is selected as the gateway of the merged PN, which can improve the transmission efficiency in the subsequent business data transmission process. Another better choice is to select the device with the best load capacity among the PNE and PNGW contained in at least two PNs as the gateway of the merged PN. Of course, compared to the above-mentioned better ones, speed can be combined with load, and the device with better load capacity and the fastest connection speed with the server can be selected as the gateway of the merged PN.
[0046] Based on the same inventive concept, the embodiment of the present invention also provides another personal network merging method, the processing flow of which is as follows: image 3 Shown, including:
[0047] Step S302: When the server determines that the same service data needs to be sent to at least two personal network PNs at the same time, the server notifies the at least two PNs to merge;
[0048] Step S304: When at least two PNs receive the merge notification sent by the server, merge the at least two PNs into one PN;
[0049] Step S306: The server sends the service data to the merged PN, and the merged PN receives the service data sent by the server.
[0050] Compared with related technologies, using the personal network merging method provided by the embodiments of the present invention, when a personal network server or an external device sends the same service data to different personal networks, different personal networks in adjacent locations are merged into one personal network. After the network is connected, the server or external device sends service data to the merged personal network, thereby improving service distribution efficiency.
[0051] In order to explain the personal network merging method provided by the embodiments of the present invention more clearly and specifically, specific examples are now used for description. In a personal network, a user's PNE device and a gateway constitute a personal network, and the personal network device is connected to the server through the gateway , And further connect with other users' personal networks, or connect to external devices through gateways for business interaction. , Figure 4 It is a schematic diagram of system connection in a related technology personal network. PNE1, PNE2 and gateway 1 form a personal network PN1, and PNE3 and gateway 2 form a personal network PN2. If the server wants to send the same service data to PN1 and PN2, it usually sends it to gateway 1 and gateway 2 respectively. If PN1 and PN2 can be merged into a new personal network, obviously the server can only send one copy of business data.
[0052] To Figure 4 The system connection diagram in the personal network is shown as an example, and the process of performing personal network merging using the personal network merging method provided by the embodiment of the present invention is as follows: Figure 5 As shown, including the following steps:
[0053] Step S502: The server receives location information and/or user information from the personal network;
[0054] Specifically, if two or more personal networks are merged, they need to be located adjacently; because the devices in the personal network are mainly connected through short-range wireless communication, and the personal networks of the same user are usually located nearby ; So judging based on location information and/or user information, you can determine whether two or more personal networks can be merged; then location information and/or user information need to be stored on the server; personal networks can be registered with the server Report location information and/or user information, and save it after the server receives it;
[0055] Step S504: When it is necessary to merge the personal networks, the server notifies the personal network gateways of adjacent locations and/or the same user to merge the personal networks;
[0056] Specifically, the server judges whether different personal networks can be merged according to the stored location information and/or user information of the personal networks; when the merger of the personal networks is required, the server sends the gateway to the adjacent location and/or the personal network of the same user Send a merger notice;
[0057] Step S506: The personal networks that have received the merger notification merge to form a new personal network, and register with the server;
[0058] Specifically, the gateways and personal network devices of the personal network that received the merger notification during the merger are reorganized into a new personal network. Before the merger, these personal networks can be deregistered or deleted from the server; the new personal network selects a new gateway and registers the new personal network with the server.
[0059] Such as Figure 4 In the example in the example, PNE1, PNE2, PNE3, gateway 1, and gateway 2 form a new personal network. Gateway 1 serves as the gateway of the new personal network, and gateway 2 becomes an ordinary personal network device. The selection of a new gateway can be done through the negotiation of device capabilities between the original personal networks, such as selecting a device with a fast connection to the server as the gateway.
[0060] After the personal network is merged, the server can deliver the service data to the new personal network gateway, and the new personal network gateway will forward or distribute the service data internally after receiving the service data to complete the use of the service. When the service is completed, the merged personal network can also be split into the original personal network, re-registered with the server to restore the original state, or recombined into a different personal network.
[0061] The method of the present invention is also suitable for local area networks, digital home networks, Internet of Things, etc. When needed, small networks of nearby or the same user can be combined into a new large network, which facilitates business interaction with the outside and saves bandwidth resources.
[0062] Based on the same inventive concept, the embodiment of the present invention also provides a personal network merging device integrated in a server. The schematic diagram of the structure is as Image 6 Shown, including:
[0063] The notification module 601 is configured to notify at least two PNs to merge when it is determined that the same service data needs to be sent to at least two personal network PNs at the same time;
[0064] The sending module 602 is used to send service data to the merged PN.
[0065] Based on the same inventive concept, an embodiment of the present invention also provides a personal network merging device, the schematic diagram of which is as Figure 7 Shown, including:
[0066] The merging module 701 is configured to merge at least two PNs into one PN when at least two PNs receive a merge notification sent by the server, where the server needs to send the same service data to at least two PNs at the same time;
[0067] The receiving module 702 is used for receiving the service data sent by the server by using the merged PN.
[0068] Based on the same inventive concept, the embodiment of the present invention also provides a personal network merging system, such as Figure 8 As shown, a server 801 and at least two personal networks PN 802 are included:
[0069] The server 801 is configured to notify at least two PNs 802 to merge when it is determined that the same service data needs to be sent to at least two PNs 802 at the same time;
[0070] At least two PNs 802 are used to merge the at least two PNs 802 into one PN when the merge notification sent by the server 801 is received, and use the merged PN to receive the service data sent by the server 801.
[0071] From the above description, it can be seen that the present invention achieves the following technical effects:
[0072] In the embodiment of the present invention, when the server determines that the same service data needs to be sent to at least two personal network PNs at the same time, the server notifies at least two PNs to merge, and the server sends the service data to the merged PN instead of as related As mentioned in the technology, the server needs to send the same service data to different personal network PNs or service applicants, which can reduce the number of service data transmissions, thereby saving transmission resources and improving the efficiency of server distribution services.
[0073] Obviously, those skilled in the art should understand that the above-mentioned modules or steps of the present invention can be implemented by a general computing device, and they can be concentrated on a single computing device or distributed on a network composed of multiple computing devices. Above, alternatively, they can be implemented with program codes executable by a computing device, so that they can be stored in a storage device for execution by the computing device, or they can be made into individual integrated circuit modules, or Multiple modules or steps are made into a single integrated circuit module to achieve. In this way, the present invention is not limited to any specific combination of hardware and software.
[0074] The above are only preferred embodiments of the present invention and are not used to limit the present invention. For those skilled in the art, the present invention can have various modifications and changes. Any modification, equivalent replacement, improvement, etc., made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.