CN102164404B - Personal network's system and service implementation method thereof - Google Patents
Personal network's system and service implementation method thereof Download PDFInfo
- Publication number
- CN102164404B CN102164404B CN201010129208.5A CN201010129208A CN102164404B CN 102164404 B CN102164404 B CN 102164404B CN 201010129208 A CN201010129208 A CN 201010129208A CN 102164404 B CN102164404 B CN 102164404B
- Authority
- CN
- China
- Prior art keywords
- business
- service
- personal network
- server
- request message
- 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.)
- Expired - Fee Related
Links
Landscapes
- Mobile Radio Communication Systems (AREA)
- Information Transfer Between Computers (AREA)
Abstract
本发明公开了一种个人网络系统及其业务实现方法,具体地,上述的个人网络系统的业务实现方法包括:第一装置向个人网络服务器发送业务注册请求消息;个人网络服务器根据上述的业务注册请求消息中携带的业务ID判断业务ID所对应的业务为已发布业务;如果是已发布业务,则个人网络服务器判断业务注册请求消息所指示的业务内容与已保存的上述业务的业务内容是否为不同版本;若是不同版本,则个人网络服务器发布上述的业务内容。通过本发明,可以拒绝相同业务的重复注册,从而在某种程度上减轻内容的重复发布造成的网络负担,能够减少个人网络中的设备发布的业务内容的冗余,提高了用户体验。
The present invention discloses a personal network system and a service realization method thereof. Specifically, the above-mentioned service realization method of the personal network system includes: a first device sends a service registration request message to a personal network server; The service ID carried in the request message judges that the service corresponding to the service ID is a published service; if it is a published service, the personal network server judges whether the service content indicated by the service registration request message is the same as the business content of the above-mentioned business that has been saved. Different versions; if different versions, the personal network server publishes the above-mentioned business content. Through the present invention, repeated registration of the same service can be rejected, thereby reducing the network burden caused by the repeated release of content to a certain extent, reducing the redundancy of service content published by devices in the personal network, and improving user experience.
Description
技术领域 technical field
本发明涉及通信领域,具体而言,涉及一种个人网络系统及其业务实现方法。The present invention relates to the communication field, in particular, to a personal network system and a service realization method thereof.
背景技术 Background technique
个人网络(PersonalNetwork,PN)(其中通过无线方式上网的也称为个人区域网(PersonalAreaNetwork,PAN))是将个人所拥有的数码产品,如家庭电器、移动终端等(被称为个人网络设备PNE)连接成一个网络,使这些设备能通过其中任意拥有网络接入(往往是无线连接)的设备连接到外部网络(这些提供接入的设备被称为个人网络网关:PNGateway),使得它们能访问外部网络提供的业务和内容。A personal network (Personal Network, PN) (also known as a personal area network (Personal Area Network, PAN) that accesses the Internet wirelessly) is a combination of digital products owned by individuals, such as home appliances, mobile terminals, etc. (referred to as personal network equipment PNE) ) into a network, so that these devices can connect to external networks through any device with network access (often wireless connection) (these devices that provide access are called personal network gateways: PNGateway), so that they can access Services and content provided by external networks.
运营商对提供个人网络的接入和管理,衍生形成的业务,被称为融合个人网络业务(CPNS)。在融合个人网络业务里,个人网络设备可以通过个人网络网关(PNGateway)接入到运营商的网络里,消费各种业务(包括运营商本身提供的业务以及其他内容提供商、业务提供商、以及其他个人设备提供的业务),以及自身对外发布业务。The business derived from the access and management of personal networks by operators is called Converged Personal Network Services (CPNS). In the integrated personal network service, personal network devices can be connected to the operator's network through the personal network gateway (PNGateway), and consume various services (including services provided by the operator itself and other content providers, service providers, and services provided by other personal devices), as well as the services published by itself.
由于海量个人网络设备的存在,可以预计:如果每个个人网络设备均对外发布业务,网络内容将会急剧增加,此外实际考虑这些业务内容会发现很多内容是重复提供的,尤其是同一业务如歌曲下载、图片下载等,往往被压缩、裁剪以适应不同处理能力的设备,形成了同一内容源的不同版本。Due to the existence of a large number of personal network devices, it can be expected that if each personal network device releases services to the outside world, the network content will increase sharply. In addition, when considering these business contents, it will be found that many contents are provided repeatedly, especially for the same business such as songs. Downloads, picture downloads, etc. are often compressed and cropped to suit devices with different processing capabilities, forming different versions of the same content source.
这一问题在融合个人网络业务领域里尤其突出,因为融合个人网络业务很大部分利用了无线网络,而无线网络与固网相比,一是空口资源更加宝贵,一是连接更加脆弱。另外一方面,由于个人网络设备的计算能力差异,势必需要对不同的业务提供多种配置的选择,以增加用户体验。This problem is particularly prominent in the field of converged personal network services, because a large part of converged personal network services utilizes wireless networks. Compared with fixed networks, wireless networks have more precious air interface resources and more fragile connections. On the other hand, due to differences in computing capabilities of personal network devices, it is necessary to provide multiple configuration options for different services to enhance user experience.
发明内容 Contents of the invention
本发明的主要目的在于提供一种个人网络系统及其业务实现方法,以至少解决上述问题。The main purpose of the present invention is to provide a personal network system and its service implementation method to at least solve the above problems.
根据本发明的一个方面,提供了一种个人网络系统的业务实现方法,包括:第一装置向个人网络服务器发送业务注册请求消息;个人网络服务器根据上述的业务注册请求消息中携带的业务ID判断该业务ID所对应的业务为已发布业务;如果是已发布业务,则个人网络服务器判断业务注册请求消息所指示的业务内容与已保存的上述业务的业务内容是否为不同版本;若是不同版本,则个人网络服务器发布上述的业务内容。According to one aspect of the present invention, a service implementation method of a personal network system is provided, including: the first device sends a service registration request message to the personal network server; the personal network server judges according to the service ID carried in the service registration request message The service corresponding to this service ID is a published service; if it is a published service, then the personal network server judges whether the service content indicated by the service registration request message is a different version from the business content of the above-mentioned business that has been saved; if it is a different version, Then the personal network server publishes the above-mentioned business content.
根据本发明的另一方面,提供了一种个人网络系统,包括:第一装置和个人网络服务器,其中,According to another aspect of the present invention, a personal network system is provided, including: a first device and a personal network server, wherein,
第一装置,用于向个人网络服务器发送业务注册请求消息;The first device is configured to send a service registration request message to the personal network server;
个人网络服务器,用于根据上述业务注册请求消息中携带的业务ID判断该业务ID所对应的业务为已发布业务;还用于当判断结果是已发布业务时,判断上述的业务注册请求消息所指示的业务内容与已保存的上述业务的业务内容是否为不同版本;还用于当判断结果是不同版本时,发布上述的业务内容。The personal network server is used to judge the service corresponding to the service ID as a released service according to the service ID carried in the above-mentioned service registration request message; Whether the indicated business content is a different version from the saved business content of the above-mentioned business; it is also used to publish the above-mentioned business content when the judgment result is a different version.
通过本发明,由于充分利用了个人网络中很多业务内容是重复提供的特点,通过业务的业务ID(全局唯一的业务ID),其他使用者(包括初始业务提供者)对初始业务定制的不同配置版本以同一业务ID向个人网络服务器进行注册时,判断为不同版本时才进行发布,解决了相关技术中大量个人网络设备均对外发布业务,网络内容将会急剧增加,可能会导致网络拥塞的问题,从而可以拒绝相同业务的重复注册,可以在某种程度上减轻内容的重复发布造成的网络负担,能够减少个人网络中的设备发布的业务内容的冗余。Through the present invention, due to making full use of the characteristics that many business contents in the personal network are repeatedly provided, through the service ID (globally unique service ID) of the service, other users (including the initial service provider) can customize different configurations for the initial service When the version is registered with the personal network server with the same business ID, it will be released only when it is judged to be a different version, which solves the problem in related technologies that a large number of personal network devices publish services to the outside world, and the network content will increase sharply, which may cause network congestion. , so that the repeated registration of the same service can be rejected, the network burden caused by the repeated publication of content can be reduced to a certain extent, and the redundancy of service content published by devices in the personal network can be reduced.
附图说明 Description of drawings
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The accompanying drawings described here are used to provide a further understanding of the present invention and constitute a part of the application. The schematic embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations to the present invention. In the attached picture:
图1是根据本发明实施例的个人网络系统的业务实现方法的流程图;FIG. 1 is a flow chart of a service realization method of a personal network system according to an embodiment of the present invention;
图2是根据本发明实施例的个人网络系统的示意图;2 is a schematic diagram of a personal network system according to an embodiment of the present invention;
图3是根据本发明优选实施例的个人网络系统的系统架构图;FIG. 3 is a system architecture diagram of a personal network system according to a preferred embodiment of the present invention;
图4是根据本发明优选实施例的个人网络系统的业务实现方法的发布初始业务的流程图;Fig. 4 is a flow chart of issuing an initial service in a service realization method of a personal network system according to a preferred embodiment of the present invention;
图5为本发明实施例的个人网络系统的业务实现方法的发布不同版本的业务内容的流程图;FIG. 5 is a flow chart of publishing different versions of service content in the service implementation method of the personal network system according to an embodiment of the present invention;
图6为本发明第一实施例的个人网络系统的业务实现方法的选择适当的版本使用的流程图;Fig. 6 is a flow chart of selecting an appropriate version for use in the service implementation method of the personal network system according to the first embodiment of the present invention;
图7为本发明第二实施例的个人网络系统的业务实现方法的选择适当的版本使用的流程图;以及,Fig. 7 is a flow chart of selecting an appropriate version to use in the service implementation method of the personal network system according to the second embodiment of the present invention; and,
图8为本发明第三实施例的个人网络系统的业务实现方法的选择适当的版本使用的流程图。Fig. 8 is a flow chart of selecting an appropriate version for use in the service implementation method of the personal network system according to the third embodiment of the present invention.
具体实施方式 detailed description
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。Hereinafter, the present invention will be described in detail with reference to the drawings and examples. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other.
图1是根据本发明实施例的个人网络系统的业务实现方法的流程图,包括以下步骤:Fig. 1 is a flow chart of a service implementation method of a personal network system according to an embodiment of the present invention, including the following steps:
步骤S102,第一装置向个人网络服务器发送业务注册请求消息;Step S102, the first device sends a service registration request message to the personal network server;
步骤S104,个人网络服务器根据业务注册请求消息中携带的业务ID判断业务ID所对应的业务为已发布业务;Step S104, the personal network server judges that the service corresponding to the service ID is a published service according to the service ID carried in the service registration request message;
步骤S106,如果是已发布业务,则个人网络服务器判断业务注册请求消息所指示的业务内容与已保存的该业务的业务内容是否为不同版本;Step S106, if it is a published service, the personal network server judges whether the service content indicated by the service registration request message is of a different version from the service content of the service already saved;
步骤S108,若是不同版本,则个人网络服务器发布该业务内容。Step S108, if the versions are different, the personal web server publishes the business content.
该实施例充分利用了个人网络中很多业务内容是重复提供的特点,通过业务的业务ID(全局唯一的业务ID),其他使用者(包括初始业务提供者)对初始业务定制的不同配置版本以同一业务ID向个人网络服务器进行注册时,判断为不同版本时才进行发布,解决了相关技术中大量个人网络设备均对外发布业务,网络内容将会急剧增加,可能会导致网络拥塞的问题。使用该实施例可以拒绝相同业务的重复注册,可以在某种程度上减轻内容的重复发布造成的网络负担,能够减少个人网络中的设备发布的业务内容的冗余。This embodiment takes full advantage of the fact that many business contents in the personal network are repeatedly provided. Through the service ID (globally unique service ID) of the service, other users (including the initial service provider) customize different configuration versions of the initial service. When the same service ID is registered with the personal network server, it is judged to be of different versions before publishing, which solves the problem in related technologies that a large number of personal network devices publish services to the outside world, and the network content will increase sharply, which may cause network congestion. Using this embodiment can reject the repeated registration of the same service, can reduce the network load caused by the repeated publishing of content to a certain extent, and can reduce the redundancy of service content published by devices in the personal network.
优选地,在步骤S102之前还包括:Preferably, before step S102, it also includes:
第二装置向个人网络服务器发送业务注册请求消息,其中,业务注册请求消息中携带有业务描述信息、缺省或空业务ID以及缺省版本号;The second device sends a service registration request message to the personal network server, wherein the service registration request message carries service description information, a default or empty service ID, and a default version number;
个人网络服务器检测到业务注册请求消息中携带的业务ID为空或者缺省,则判断业务注册请求消息所指示的业务为新业务;The personal network server detects that the service ID carried in the service registration request message is empty or default, and then judges that the service indicated by the service registration request message is a new service;
个人网络服务器为业务分配业务ID,并初始化业务的版本号为第一版本号;The personal network server assigns a service ID to the service, and initializes the version number of the service as the first version number;
个人网络服务器向第二装置返回业务的业务ID和第一版本号,并发布业务。The personal network server returns the service ID and the first version number of the service to the second device, and publishes the service.
其中,在个人网络服务器为业务分配业务ID,并初始化业务的版本号为第一版本号之后还包括:个人网络服务器保存业务的业务描述信息、第一版本号以及提供者信息。Wherein, after the personal network server assigns a service ID to the service and initializes the version number of the service as the first version number, it further includes: the personal network server saves the service description information, the first version number and the provider information of the service.
该优选实施例提供了初始业务提供者初始发布一个新业务的具体实施方案。在业务初始发布的时候,个人网络服务器对新业务分配一个全局唯一的业务ID,此后其他使用者(包括初始业务提供者)以这个业务ID作为唯一的ID发布同一业务的不同版本。上述的缺省业务ID和缺省版本号为预先约定好的。This preferred embodiment provides a specific implementation scheme for the initial service provider to issue a new service initially. When the service is released initially, the personal network server assigns a globally unique service ID to the new service, after which other users (including the initial service provider) publish different versions of the same service with this service ID as the unique ID. The above-mentioned default service ID and default version number are pre-agreed.
显然,上述的第一装置与第二装置可以为同一装置,也可以为不同装置。Obviously, the above-mentioned first device and the second device may be the same device or different devices.
优选地,当第一装置为第二装置时,步骤S102包括:第二装置再次向个人网络服务器发送业务注册请求消息,其中,业务注册请求消息中携带有业务描述信息、新的配置信息、业务ID以及缺省版本号。Preferably, when the first device is the second device, step S102 includes: the second device sends a service registration request message to the personal network server again, wherein the service registration request message carries service description information, new configuration information, service ID and default version number.
该优选实施例提供了初始业务提供者在第一次发布一个业务之后,还可以以该业务的业务ID发布该业务的不同配置版本的具体实施方案。This preferred embodiment provides a specific implementation solution in which the initial service provider can issue different configuration versions of the service with the service ID of the service after releasing the service for the first time.
优选地,当第一装置与第二装置为不同装置时,步骤S102包括:第一装置使用业务ID所对应的业务,并对业务的业务内容进行定制;第一装置针对定制后的业务向个人网络服务器发送业务注册请求消息,其中,业务注册请求消息中携带有业务描述信息、新的配置信息、业务ID以及缺省版本号。Preferably, when the first device and the second device are different devices, step S102 includes: the first device uses the service corresponding to the service ID, and customizes the service content of the service; The network server sends a service registration request message, wherein the service registration request message carries service description information, new configuration information, service ID and default version number.
该优选实施例提供了对于非初始业务提供者在获得业务内容后,自行定制配置成某个版本,向个人网络服务器注册该版本的业务内容的具体实施方案。This preferred embodiment provides a specific implementation plan for the non-initial service provider to customize and configure a certain version after obtaining the service content, and register the service content of this version with the personal network server.
优选地,步骤S104包括:个人网络服务器检测到业务注册请求消息中携带的业务ID为非空或者非缺省,则判断业务ID所对应的业务为已发布业务。Preferably, step S104 includes: the personal network server detects that the service ID carried in the service registration request message is non-null or non-default, and then judges that the service corresponding to the service ID is a published service.
步骤S106包括:个人网络服务器检测到业务注册请求消息中携带的版本号为缺省版本号,则对业务注册请求消息所指示的业务内容进行版本检查;判断业务内容与已保存的业务的已有业务内容是否为不同版本。Step S106 includes: the personal network server detects that the version number carried in the service registration request message is the default version number, then checks the version of the service content indicated by the service registration request message; Whether the business content is a different version.
步骤S108包括:若是不同版本,则个人网络服务器对该不同版本的业务内容进行合法性检查;若满足合法性要求,则个人网络服务器为该不同版本的业务内容分配第二版本号,并保存第二版本号、业务描述信息、新的配置信息;个人网络服务器返回业务ID和第二版本号给第一装置,并发布该不同版本的业务内容。Step S108 includes: if it is a different version, then the personal network server checks the legality of the different version of the business content; if the legality requirements are met, the personal network server assigns a second version number to the different version of the business content, and saves the second version number. Two version numbers, service description information, and new configuration information; the personal network server returns the service ID and the second version number to the first device, and publishes the different versions of the service content.
该优选实施例还通过对要发布的不同版本的业务内容进行合法性检查,可以进一步避免非法的业务内容的发布。In this preferred embodiment, by checking the legality of different versions of the service content to be released, the release of illegal service content can be further avoided.
优选地,步骤S106还包括:若与一个已有业务内容为同一版本,则个人网络服务器向第一装置返回业务ID以及查到的已有业务内容所对应的版本号。当判断注册的所要发布的业务内容与已保存的该业务的版本中的一个版本为同一版本时,不发布该业务内容,从而避免了相同版本的业务内容的重复发布。Preferably, step S106 further includes: if it is the same version as an existing service content, the personal network server returns the service ID and the found version number corresponding to the found service content to the first device. When it is judged that the registered service content to be released is the same version as one of the saved versions of the service, the service content is not released, thereby avoiding repeated release of the same version of the service content.
优选地,步骤S108还包括:若不满足合法性要求,则个人网络服务器向第一装置返回业务ID以及业务发布不合法的信息。当判断注册的所要发布的业务内容不满足合法性要求时,也不发布该业务内容,进一步避免非法的业务内容的发布。Preferably, step S108 further includes: if the legality requirement is not met, the personal network server returns the service ID and information that the service release is not legal to the first device. When it is judged that the registered business content to be released does not meet the legality requirements, the business content is not released, further avoiding the release of illegal business content.
优选地,在上述的方法中还包括:第三装置请求使用业务ID所对应的业务;个人网络服务器根据已保存的第三装置的处理能力以及网络连接状况从已保存的业务的多个版本的业务内容中选择一个版本;个人网络服务器发送选择的版本所对应的业务提供信息到第三装置;第三装置根据业务提供信息使用业务。Preferably, the above method further includes: the third device requests to use the service corresponding to the service ID; Select a version in the service content; the personal network server sends the service provision information corresponding to the selected version to the third device; the third device uses the service according to the service provision information.
该优选实施例提供了业务使用者在获得了该业务的描述要使用该业务时,个人网络服务器可以为业务使用者自动选择该业务的某一配置版本使用的具体实施方案。This preferred embodiment provides a specific implementation scheme in which the personal network server can automatically select a certain configuration version of the service for the service user when the service user obtains the description of the service and wants to use the service.
优选地,在上述的方法中还包括:第三装置请求使用业务ID所对应的业务;个人网络服务器向第三装置查询并获取到第三装置的处理能力和可用网络资源;个人网络服务器根据获取到的第三装置的处理能力和可用网络资源从已保存的业务的多个版本的业务内容中选择一个版本;个人网络服务器发送选择的版本所对应的业务提供信息到第三装置;第三装置根据业务提供信息使用业务。Preferably, the above method further includes: the third device requests to use the service corresponding to the service ID; the personal network server inquires from the third device and obtains the processing capability and available network resources of the third device; the personal network server according to the acquired The processing ability and the available network resources of the third device can select a version from the business content of multiple versions of the stored business; the personal network server sends the service provision information corresponding to the selected version to the third device; the third device Provide information and use the business according to the business.
该优选实施例提供了业务使用者在获得了该业务的描述要使用该业务时,个人网络服务器通过和业务使用者进行协商选择该业务的某一配置版本使用的具体实施方案。This preferred embodiment provides a specific implementation scheme in which the personal network server selects a certain configuration version of the service through negotiation with the service user when the service user obtains the description of the service and wants to use the service.
优选地,在上述的方法中还包括:第三装置请求使用业务ID所对应的业务;个人网络服务器查找到已保存的业务的多个版本的业务内容;个人网络服务器发送多个版本所对应的业务提供信息到第三装置;第三装置根据其处理能力或者可用网络资源或者使用意愿从多个版本中选择一个版本,并根据选择的版本的业务提供信息使用业务。Preferably, the above method further includes: the third device requests to use the service corresponding to the service ID; the personal network server finds multiple versions of the service content of the stored service; the personal network server sends the service content corresponding to the multiple versions The service provides information to the third device; the third device selects one version from multiple versions according to its processing capability or available network resources or willingness to use, and uses the service according to the service provision information of the selected version.
该优选实施例提供了业务使用者在获得了该业务的描述要使用该业务时,个人网络服务器向业务使用者提供该业务的多个版本,由业务使用者自己选择一个版本使用的具体实施方案。This preferred embodiment provides that when the service user obtains the description of the service and wants to use the service, the personal network server provides the service user with multiple versions of the service, and the service user selects a specific implementation plan for using a version .
显然,上述第一装置、第二装置和第三装置可以是同一装置,也可以是不同装置。Obviously, the above-mentioned first device, second device and third device may be the same device or different devices.
上述三个优选实施例提供了根据网络设备的处理能力等的差异,对业务提供多种配置版本的选择的三种具体实施方案。上述优选实施例提供多种配置供业务使用者选择使用,可以为用户灵活选择适用自身终端能力、位置的业务版本,改善用户的业务使用体验。The above three preferred embodiments provide three specific implementation schemes in which multiple configuration versions are selected for services according to differences in processing capabilities of network devices. The preferred embodiments above provide multiple configurations for service users to choose and use, which can flexibly select a service version suitable for their own terminal capabilities and locations for users, and improve the service experience of users.
图2是根据本发明实施例的个人网络系统的示意图,该个人网络系统包括:Fig. 2 is a schematic diagram of a personal network system according to an embodiment of the present invention, and the personal network system includes:
第一装置10,用于向个人网络服务器20发送业务注册请求消息;The first device 10 is configured to send a service registration request message to the personal network server 20;
个人网络服务器20,用于根据所述业务注册请求消息中携带的业务ID判断所述业务ID所对应的业务为已发布业务;还用于当判断结果是已发布业务时,判断所述业务注册请求消息所指示的业务内容与已保存的所述业务的业务内容是否为不同版本;还用于当判断结果是不同版本时,发布所述业务内容。The personal network server 20 is used to judge that the service corresponding to the service ID is a released service according to the service ID carried in the service registration request message; it is also used to judge that the service registration is issued when the judgment result is a released service. Whether the business content indicated by the request message is a different version from the saved business content of the business; it is also used to publish the business content when the judgment result is a different version.
该实施例充分利用了个人网络中很多业务内容是重复提供的特点,通过业务的业务ID(全局唯一的业务ID),其他使用者(包括初始业务提供者)对初始业务定制的不同配置版本以同一业务ID向个人网络服务器进行注册时,判断为不同版本时才进行发布,解决了相关技术中大量个人网络设备均对外发布业务,网络内容将会急剧增加,可能会导致网络拥塞的问题。使用该实施例可以拒绝相同业务的重复注册,可以在某种程度上减轻内容的重复发布造成的网络负担,能够减少个人网络中的设备发布的业务内容的冗余。This embodiment takes full advantage of the fact that many business contents in the personal network are repeatedly provided. Through the service ID (globally unique service ID) of the service, other users (including the initial service provider) customize different configuration versions of the initial service. When the same service ID is registered with the personal network server, it is judged to be of different versions before publishing, which solves the problem in related technologies that a large number of personal network devices publish services to the outside world, and the network content will increase sharply, which may cause network congestion. Using this embodiment can reject the repeated registration of the same service, can reduce the network load caused by the repeated publishing of content to a certain extent, and can reduce the redundancy of service content published by devices in the personal network.
图3是根据本发明优选实施例的个人网络系统的系统架构图,个人网络系统包括:Fig. 3 is a system architecture diagram of a personal network system according to a preferred embodiment of the present invention, the personal network system includes:
PNE(个人网络设备),作为业务的消费者(即使用者)和提供者。PNE (Personal Network Equipment), as a consumer (ie user) and provider of services.
PN网关(个人网络网关),作为个人网络的连接者、管理者。它同时也是PNE。PNE和PN网关构成了最小意义上的个人网络(PN)。PN gateway (personal network gateway), as the connector and manager of the personal network. It is also PNE. PNE and PN gateways constitute a Personal Network (PN) in the smallest sense.
CPNS服务器(个人网络服务器),负责业务的注册、发布、搜索、订阅、鉴权等。CPNS server (personal network server), responsible for business registration, release, search, subscription, authentication, etc.
值得注意的是在上述架构图中,上述的组成部分均为逻辑实体,实际可以灵活部署在不同的物理实体上。比如,PNE和PN网关可以是同一个物理实体,PNE也可以部分地实现CPNS服务器的功能。It is worth noting that in the above architecture diagram, the above-mentioned components are logical entities, which can be flexibly deployed on different physical entities. For example, the PNE and the PN gateway may be the same physical entity, and the PNE may also partially implement the function of the CPNS server.
本发明的个人网络系统的业务实现方法包括以下方面:The business implementation method of the personal network system of the present invention includes the following aspects:
步骤一:初始业务提供者发布初始业务,获得一个全局唯一的业务ID,发布者可能是任何PNE、PN网关、CP(ContentProvider,内容提供商),SP(ServiceProvider,业务提供商)等,发布者向CPNS服务器注册一个新业务,CPNS服务器为该业务分配一个全局唯一的ID。如图4所示,包括以下步骤:Step 1: The initial service provider publishes the initial service and obtains a globally unique service ID. The publisher may be any PNE, PN gateway, CP (ContentProvider, content provider), SP (ServiceProvider, service provider), etc., the publisher Register a new service with the CPNS server, and the CPNS server assigns a globally unique ID to the service. As shown in Figure 4, the following steps are included:
步骤S401,初始业务提供者PNEA向CPNS服务器发出业务注册请求消息,该业务注册请求中携带有业务描述信息,以及一个缺省值的业务ID(或者业务ID为空),一个缺省值的版本号。Step S401, the initial service provider PNEA sends a service registration request message to the CPNS server, the service registration request carries service description information, and a service ID of a default value (or the service ID is empty), a version of a default value No.
步骤S402,CPNS服务器检查业务注册请求消息,发现业务ID为空白或为缺省值,判定该业务为新业务;Step S402, the CPNS server checks the service registration request message, finds that the service ID is blank or a default value, and determines that the service is a new service;
步骤S403,CPNS服务器为该业务分配一个全局唯一的ID:IDx,并初始化该业务的版本号为VersionX1;Step S403, the CPNS server assigns a globally unique ID to the service: IDx, and initializes the version number of the service as VersionX1;
步骤S404,CPNS服务器保存该业务的业务描述信息、配置版本信息和提供者信息,并对外发布该业务;Step S404, the CPNS server saves the service description information, configuration version information and provider information of the service, and publishes the service;
步骤S405,CPNS服务器向PNEA返回该业务的ID:IDx和版本号VersionX1;Step S405, the CPNS server returns the service ID: IDx and version number VersionX1 to PNEA;
步骤S406,PNEA保存该业务ID:IDx和版本号和VersionX1。Step S406, PNEA saves the service ID: IDx and version number and VersionX1.
步骤二:根据全局唯一业务ID增加不同配置业务,并发布不同版本的业务内容。业务发布以后,初始业务提供者可以以该业务的全局业务ID发布该业务的不同配置版本。或者,其他业务消费者在获得业务内容后,自行定制配置成某个版本,并根据初始业务的全局唯一业务ID,在合法授权下请求注册一个该业务的另一个定制版本。Step 2: Add different configuration services according to the globally unique service ID, and publish different versions of the service content. After the service is released, the initial service provider can release different configuration versions of the service with the global service ID of the service. Or, after obtaining the service content, other service consumers customize and configure it into a certain version, and request to register another customized version of the service under legal authorization according to the globally unique service ID of the initial service.
步骤S501,PNEA想发布新增该业务不同配置的版本,于是再次向CPNS服务器发送业务注册请求消息,其中携带:业务描述信息,新的配置,以及业务ID,一个缺省值的版本号;Step S501, PNEA wants to release a new version with different configurations of the service, so it sends a service registration request message to the CPNS server again, which carries: service description information, new configuration, and service ID, a version number of a default value;
进一步的,对于非初始业务提供者PNEB,提供定制版本的步骤如下:Further, for non-initial service provider PNEB, the steps to provide a customized version are as follows:
步骤1,PNEB使用业务ID为IDx的业务。在使用过程中对该业务进行了定制,比如:下载图片后压缩为其他大小。In step 1, the PNEB uses the service whose service ID is IDx. The service is customized during use, for example: after downloading pictures, they are compressed to other sizes.
步骤2,PNEB向CPNS服务器发布业务注册请求消息,其中携带:业务描述信息、新的配置,以及业务ID,一个缺省值的版本号。In step 2, the PNEB issues a service registration request message to the CPNS server, which carries: service description information, new configuration, service ID, and a version number of a default value.
步骤S502,CPNS服务器检查业务注册请求消息,发现业务ID为非空或者为非缺省值,则判定该业务为已发布业务;Step S502, the CPNS server checks the service registration request message and finds that the service ID is not empty or is a non-default value, then it is determined that the service is a published service;
步骤S503,CPNS服务器检查版本号发现为缺省值,意味着这是该业务的不同版本,并进行版本检查。CPNS服务器可以对不同版本内容进行检查,确定是否是不同版本。若是同一版本,则转入步骤S504,若否,则转入步骤S505;Step S503, the CPNS server checks the version number and finds that it is a default value, which means that this is a different version of the service, and performs a version check. The CPNS server can check the contents of different versions to determine whether they are different versions. If it is the same version, then proceed to step S504, if not, then proceed to step S505;
步骤S504,保存这一版本号,转入步骤S508。Step S504, save this version number, go to step S508.
步骤S505,CPNS服务器可以对该版本的合法性进行检查,确定该版本的发布是否符合初始业务版本的合法性要求。如果不满足合法性要求,则转入步骤S509,否则转S506。In step S505, the CPNS server can check the legality of the version to determine whether the release of the version meets the legality requirements of the initial service version. If the legality requirement is not met, go to step S509, otherwise go to S506.
步骤S506,确定该版本可以发布后,CPNS服务器为其分配一个版本号VersionX2,并保存该版本的相关信息;Step S506, after determining that the version can be released, the CPNS server assigns a version number VersionX2 to it, and saves the relevant information of the version;
步骤S507,CPNS服务器返回该业务的业务ID和版本号VersionX2,PNEA或者PNEB保存该业务ID和版本号VersionX2。流程结束。Step S507, the CPNS server returns the service ID and version number VersionX2 of the service, and the PNEA or PNEB saves the service ID and version number VersionX2. The process ends.
步骤S508,CPNS服务器返回该业务的ID,以及查到的版本号。可选的,CPNS服务器还可以增加提供该版本的设备信息,以备用。设备保存该业务版本信息。流程结束。In step S508, the CPNS server returns the service ID and the found version number. Optionally, the CPNS server may further provide the device information of this version for backup. The device saves the service version information. The process ends.
步骤S509,CPNS服务器返回该业务的ID,以及业务发布不合法信息。流程结束。In step S509, the CPNS server returns the ID of the service and the information that the service release is illegal. The process ends.
步骤三:根据设备的能力等选择适当的配置版本的业务消费。业务消费者在获得该业务的描述以后,可以自动匹配或者协商或者主动选择某一个配置的版本进行消费。Step 3: Select the appropriate configuration version for service consumption according to the capabilities of the device. After obtaining the description of the service, the service consumer can automatically match or negotiate or actively select a certain configuration version for consumption.
该步骤三可以有多种实施方法:Step 3 can be implemented in a variety of ways:
图6为本发明第一实施例的个人网络系统的业务实现方法的选择适当的版本使用的流程图,由CPNS服务器替业务消费者自动选择某一个配置版本的业务的情况,包括以下步骤:Fig. 6 is the flow chart of selecting the appropriate version of the service implementation method of the personal network system of the first embodiment of the present invention. The situation where the service of a certain configuration version is automatically selected by the CPNS server for the service consumer includes the following steps:
步骤S601,设备PNEC请求使用ID为IDx的业务;Step S601, the device PNEC requests to use the service whose ID is IDx;
步骤S602,CPNS服务器查找该业务,发现该业务提供有多种版本;Step S602, the CPNS server searches for the service and finds that the service provides multiple versions;
步骤S603,CPNS服务器调用设备管理模块,查询到PNEC的设备处理能力,以及网络连接状况,据此选择了版本VersionX1;Step S603, the CPNS server invokes the device management module to query the device processing capability and network connection status of the PNEC, and accordingly selects VersionX1;
步骤S604,CPNS服务器提供这个版本所在的业务提供信息(包括提供者)。PNEC据此版本的信息来使用该业务。Step S604, the CPNS server provides the service provision information (including the provider) where this version is located. PNEC uses the service according to this version of the information.
图7为本发明第二实施例的个人网络系统的业务实现方法的选择适当的版本使用的流程图,由CPNS服务器和业务消费者协商选择某一个配置版本的业务的情况,包括以下步骤:Fig. 7 is the flow chart of selecting the appropriate version of the service realization method of the personal network system of the second embodiment of the present invention to use, the situation that the service of a certain configuration version is selected through negotiation between the CPNS server and the service consumer, comprises the following steps:
步骤S701,设备PNEC请求使用ID为IDx的业务;Step S701, the device PNEC requests to use the service whose ID is IDx;
步骤S702,CPNS服务器查找该业务,发现该业务提供有多种版本;Step S702, the CPNS server searches for the service and finds that the service provides multiple versions;
步骤S703,CPNS服务器向PNEC询问设备处理能力和可用网络资源;Step S703, the CPNS server inquires the PNEC about the device processing capability and available network resources;
步骤S704,CPNS服务器在获得PNEC的设备能力和可用网络资源后,据此选择了版本VersionX2;Step S704, after the CPNS server obtains the equipment capabilities and available network resources of the PNEC, it selects VersionX2 accordingly;
步骤S705,CPNS服务器提供这个版本所在的业务提供信息(包括提供者)给PNEC。PNEC据此版本的信息来使用该业务。In step S705, the CPNS server provides the service providing information (including the provider) of this version to the PNEC. PNEC uses the service according to this version of the information.
图8为本发明第三实施例的个人网络系统的业务实现方法的选择适当的版本使用的流程图,CPNS服务器主动提供多种配置版本,用户自己选择的情况,包括以下步骤:Fig. 8 is a flow chart of selecting an appropriate version for use in the service realization method of the personal network system of the third embodiment of the present invention. The CPNS server actively provides multiple configuration versions, and the user chooses the situation by himself, including the following steps:
步骤S801,设备PNEC请求使用ID为IDx的业务;Step S801, the device PNEC requests to use the service whose ID is IDx;
步骤S802,CPNS服务器查找该业务,发现该业务提供有多种版本;Step S802, the CPNS server searches for the service and finds that the service provides multiple versions;
步骤S803,CPNS服务器向PNEC返回了一张列表,其中包含多个版本的版本信息(包括提供者);Step S803, the CPNS server returns a list to PNEC, which includes version information (including provider) of multiple versions;
步骤S804,PNEC根据自己的设备能力或者可用网络资源或者使用意愿,选择了版本VersionX1;Step S804, PNEC selects VersionX1 according to its own equipment capabilities or available network resources or willingness to use;
步骤S805,PNEC根据这个版本的业务信息来使用该业务。In step S805, the PNEC uses the service according to the service information of this version.
从以上的描述中,可以看出,本发明实现了如下技术效果:From the above description, it can be seen that the present invention achieves the following technical effects:
(1)消除了发布的业务内容的冗余以及满足了合法权限;(1) Eliminate the redundancy of published business content and satisfy legal authority;
(2)能够提供业务的多种配置版本,业务使用者能够更加灵活地获得更适合自己能力以及位置的业务版本供消费使用。(2) Multiple configuration versions of services can be provided, and service users can more flexibly obtain service versions that are more suitable for their abilities and locations for consumption.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that each module or each step of the above-mentioned present invention can be realized by a general-purpose computing device, and they can be concentrated on a single computing device, or distributed in a network formed by multiple computing devices Alternatively, they may be implemented in program code executable by a computing device so that they may be stored in a storage device to be executed by a computing device, and in some cases, in an order different from that shown here The steps shown or described are carried out, or they are separately fabricated into individual integrated circuit modules, or multiple modules or steps among them are fabricated into a single integrated circuit module for implementation. As such, the present invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.
Claims (13)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201010129208.5A CN102164404B (en) | 2010-02-20 | 2010-02-20 | Personal network's system and service implementation method thereof |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201010129208.5A CN102164404B (en) | 2010-02-20 | 2010-02-20 | Personal network's system and service implementation method thereof |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN102164404A CN102164404A (en) | 2011-08-24 |
| CN102164404B true CN102164404B (en) | 2016-01-13 |
Family
ID=44465304
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201010129208.5A Expired - Fee Related CN102164404B (en) | 2010-02-20 | 2010-02-20 | Personal network's system and service implementation method thereof |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN102164404B (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103457805A (en) * | 2012-05-28 | 2013-12-18 | 中兴通讯股份有限公司 | Personal network management method and personal network system |
| CN103227723B (en) * | 2013-05-14 | 2016-03-02 | 浙江宇天科技股份有限公司 | A kind of service issuing method, service publication server and service register machine |
| CN107578338B (en) * | 2017-07-26 | 2021-06-04 | 创新先进技术有限公司 | Service publishing method, device and equipment |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101425082A (en) * | 2008-12-15 | 2009-05-06 | 深圳市迅雷网络技术有限公司 | Video file content determining method and system |
| CN101616181A (en) * | 2009-07-27 | 2009-12-30 | 腾讯科技(深圳)有限公司 | A kind of method, system and equipment of uploading with the downloaded subtitle file |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20070245028A1 (en) * | 2006-03-31 | 2007-10-18 | Baxter Robert A | Configuring content in an interactive media system |
-
2010
- 2010-02-20 CN CN201010129208.5A patent/CN102164404B/en not_active Expired - Fee Related
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101425082A (en) * | 2008-12-15 | 2009-05-06 | 深圳市迅雷网络技术有限公司 | Video file content determining method and system |
| CN101616181A (en) * | 2009-07-27 | 2009-12-30 | 腾讯科技(深圳)有限公司 | A kind of method, system and equipment of uploading with the downloaded subtitle file |
Non-Patent Citations (1)
| Title |
|---|
| Real-Time Near-Duplicate Elimination for Web Video Search With Content and Context;Xiao Wu, et al.;《IEEE TRANSACTIONS ON MULTIMEDIA》;20090228;全文 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN102164404A (en) | 2011-08-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP3695581B1 (en) | Interworking service for the restful internet of things | |
| KR101877188B1 (en) | Service layer interworking using mqtt protocol | |
| KR102059257B1 (en) | Methods and apparatuses for analyzing and grouping service layer subscriptions and notifications for enhanced efficiency | |
| CN109391502B (en) | Information configuration method and management unit | |
| CN110383790A (en) | Network service continuity without conversation continuity | |
| CN103795689A (en) | Resource subscription method and device | |
| CN102948120B (en) | Apparatus and method for configuring personal network using personal network routing table | |
| CN103547339B (en) | File uploading method, client side and server side | |
| CN100531358C (en) | Electronic performance-bill server depolying system and method for set-up and oper ation | |
| CN104780184A (en) | A Method of Using Geographical Location Information for Load Balancing | |
| CN103607410B (en) | A kind of contents access method and equipment | |
| CN102164404B (en) | Personal network's system and service implementation method thereof | |
| KR102602073B1 (en) | Service registration based on service capability requirements and preferences | |
| CN110365790B (en) | Message transmission method and device, cascade networking equipment and readable storage medium | |
| CN114845356A (en) | Communication method and device | |
| CN105814853B (en) | Qos improvement method, device and system | |
| KR20180027564A (en) | Service Layer Anycast and Thumbcast | |
| CN112584373B (en) | Event subscription method and device | |
| CN104822140B (en) | A kind of method and network communicating system of data query | |
| CN104243522B (en) | Method and wideband network gateway for HTTP network | |
| Bashah et al. | Service discovery in future open mobile environments | |
| CN104580491A (en) | End system protocol stack construction method and method for accessing end system to service carrying network | |
| KR20120128021A (en) | System and method for providing push service using routing based on id | |
| CN102547472A (en) | Method of dynamically using third-party authorization and implementation system of method | |
| CN115134415A (en) | Advertising delivery method and device |
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 | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20160113 Termination date: 20170220 |
|
| CF01 | Termination of patent right due to non-payment of annual fee |