一种终端业务呈现方法及系统 技术领域 Terminal service presentation method and system
本发明涉及业务呈现技术, 尤其涉及一种终端业务呈现方法及系统。 背景技术 The present invention relates to a service presentation technology, and in particular, to a terminal service presentation method and system. Background technique
随着第三代(3G )移动通信在全球范围内的大规模商用、 以及移动通 信带宽的飞速提升, 互联网和电信网逐渐融合, 移动互联网正在逐步成为 现实。 With the rapid commercialization of third-generation (3G) mobile communications on a global scale and the rapid increase in mobile communication bandwidth, the Internet and telecommunications networks are gradually converging, and the mobile Internet is gradually becoming a reality.
与传统互联网相比, 移动互联网最显著的特点就是终端的丰富与多样 性。移动互联网的终端不仅包括传统的个人电脑(PC, Personal Computer ), 笔记本电脑、 源自移动通信系统的手机、 近些年出现的上网本、 平板电脑、 以及上网盒, 还包括融合了新技术后以新面目出现的掌上游戏机、 电视机、 mp4播放器等。 移动互联网的终端领域是充分竟争格局, 从芯片到操作系 统均有若干阵营参与竟争, 占据相当的市场份额, 各阵营的芯片和操作系 统的更新换代也相当频繁, 造成海量的移动互联网的终端性能各异、 参差 不齐, 为如何保持用户体验带来到了巨大挑战。 Compared with the traditional Internet, the most remarkable feature of the mobile Internet is the richness and diversity of the terminal. Mobile Internet terminals include not only traditional personal computers (PCs), laptops, mobile phones from mobile communication systems, netbooks, tablets, and Internet boxes that have emerged in recent years, but also include new technologies. New face appears on handheld game consoles, TV sets, mp4 players, etc. The terminal field of the mobile Internet is a full-scale competition. From the chip to the operating system, there are several camps participating in the competition, occupying a considerable market share. The chips and operating systems of each camp are also frequently updated, resulting in massive mobile Internet. Terminal performance varies and is uneven, creating a huge challenge for how to maintain the user experience.
业务的网络化和终端的多样化导致在业务运行时出现匹配性问题, 如 果业务运行完全由服务器承担, 则需要海量的服务器资源; 同时对于大量 功能强大的终端来说, 也使得本地资源被极大地浪费。 那么, 如何使业务 由服务器和终端分担运行, 如何合理地分配二者承担的业务, 既能保证服 务器和终端的资源使用同时达到最优, 又能保证用户的体验, 成为当今亟 待解决的一个问题。 发明内容The network of services and the diversification of terminals lead to matching problems when the services are running. If the services are completely borne by the server, a large amount of server resources are required. At the same time, for a large number of powerful terminals, the local resources are also extremely The land is wasted. Then, how to make the service run by the server and the terminal, how to properly allocate the services undertaken by the two, can ensure the optimal use of the resources of the server and the terminal, and ensure the user experience, which becomes an urgent problem to be solved today. . Summary of the invention
有鉴于此, 本发明的主要目的在于提供一种终端业务呈现方法及系统, 能使终端和服务器共同承担业务的运行, 降低终端和服务器的压力, 保证 用户的体验。 In view of this, the main purpose of the present invention is to provide a terminal service presentation method and system, which enable the terminal and the server to jointly operate the service, reduce the pressure on the terminal and the server, and ensure the user experience.
为达到上述目的, 本发明的技术方案是这样实现的: In order to achieve the above object, the technical solution of the present invention is achieved as follows:
本发明提供了一种终端业务呈现方法, 所述方法包括: The present invention provides a terminal service presentation method, where the method includes:
第一终端向服务器上报终端能力描述信息, 服务器根据上报的终端能 力描述信息, 确定业务的呈现方式并发送至第一终端; The first terminal reports the terminal capability description information to the server, and the server determines the service presentation manner according to the reported terminal capability description information, and sends the information to the first terminal.
第一终端将用户选择的业务呈现方式通知服务器, 服务器根据所述选 择的业务呈现方式确定业务的运行方式。 The first terminal notifies the server of the service presentation mode selected by the user, and the server determines the operation mode of the service according to the selected service presentation mode.
上述方案中, 所述第一终端向服务器上报终端能力描述信息为: 第一 终端向服务器上报自身的终端能力描述信息; 或为: 第一终端向服务器上 报自身的终端能力描述信息、 以及与自身关联的其它终端的终端能力描述 信息。 In the above solution, the first terminal reports the terminal capability description information to the server: the first terminal reports its terminal capability description information to the server; or: the first terminal reports its terminal capability description information to the server, and Terminal capability description information of other associated terminals.
这里, 所述第一终端向服务器上报终端能力描述信息之前, 所述方法 还包括: Here, before the first terminal reports the terminal capability description information to the server, the method further includes:
第一终端向服务器发送业务请求消息; The first terminal sends a service request message to the server;
服务器根据收到的业务请求消息确认第一终端所请求的业务, 并要求 第一终端上报终端能力描述信息。 The server confirms the service requested by the first terminal according to the received service request message, and requests the first terminal to report the terminal capability description information.
上述方案中, 所述第一终端向服务器上报终端能力描述信息之前, 该 方法还包括: 第一终端向与自身关联的其它终端发起查询请求, 获取与自 身关联的其它终端的终端能力描述信息。 In the above solution, before the first terminal reports the terminal capability description information to the server, the method further includes: the first terminal initiating a query request to other terminals associated with the terminal, and acquiring terminal capability description information of other terminals associated with the terminal.
上述方案中, 所述终端能力描述信息包括: 终端的软件能力的描述信 息、 硬件能力的描述信息、 终端当前的资源使用情况、 通信链路形态信息、 以及业务组合信息; 其中, 所述通信链路形态信息包括: 关联终端之间的通信链路信息、 以及第 一终端与服务器之间的通信链路信息;In the above solution, the terminal capability description information includes: description information of the software capability of the terminal, description information of the hardware capability, current resource usage of the terminal, communication link configuration information, and service combination information; The communication link form information includes: communication link information between the associated terminals, and communication link information between the first terminal and the server;
所述关联终端之间的通信链路信息包括: 第一终端与自身关联终端之 间的拓朴结构、 以及传输带宽信息; The communication link information between the associated terminals includes: a topology structure between the first terminal and its associated terminal, and transmission bandwidth information;
所述业务组合信息包括: 同一局域网内的所有终端进行所述业务时的 功能分工信息、 以及业务协同信息; The service combination information includes: a function division information when all the terminals in the same local area network perform the service, and service collaboration information;
所述业务组合信息还包括: 具有输入输出能力的终端组合信息、 以及 具有呈现能力的终端组合信息; The service combination information further includes: terminal combination information having input and output capabilities, and terminal combination information having presentation capability;
所述具有输入输出能力的终端组合信息为: 具有独立提供输入输出能 力的终端信息; 其中, The terminal combination information with input and output capability is: terminal information having independent input and output capability; wherein
所述具有呈现能力的终端组合信息包括: 具有显示能力的终端信息、 具有业务转发能力的终端信息、 以及具有本地编解码能力的终端信息; 所 述终端包括: 第一终端、 以及与第一终端关联的其它终端。 The terminal combination information with the presentation capability includes: terminal information with display capability, terminal information with service forwarding capability, and terminal information with local codec capability; the terminal includes: a first terminal, and a first terminal Other terminals associated.
上述方案中, 所述方法还包括: 服务器根据第一终端提供的业务组合 信息, 提供业务组合方式; 其中, 所述业务组合方式包括: 一个终端独立 提供业务; 一个终端提供输入输出业务、 且另一个终端提供业务呈现; 一 个终端提供输入输出业务以及业务呈现, 另一个终端提供业务转发及所述 业务编解码转换; 至少两个终端进行业务呈现; 以及至少两个终端进行输 入输出业务。 In the above solution, the method further includes: the server provides a service combination manner according to the service combination information provided by the first terminal, where the service combination manner includes: one terminal independently provides services; one terminal provides input and output services, and another One terminal provides service presentation; one terminal provides input and output services and service presentation, another terminal provides service forwarding and the service codec conversion; at least two terminals perform service presentation; and at least two terminals perform input and output services.
上述方案中, 所述业务的运行方式包括: 服务器和终端在运行业务时 的工作分工、 通信链路的选择、 接受业务请求、 以及拒绝业务请求。 In the foregoing solution, the operation mode of the service includes: a division of work between the server and the terminal when the service is running, selection of a communication link, accepting a service request, and rejecting the service request.
本发明还提供了一种终端业务呈现系统, 所述系统包括: 终端和服务 器; 其中, The present invention also provides a terminal service presentation system, where the system includes: a terminal and a server;
终端, 用于向服务器上报终端能力描述信息, 接收服务器发来的业务 的呈现方式, 并将用户选择的业务呈现方式通知服务器; 服务器, 用于接收终端上报的终端能力描述信息, 根据上报的终端能 力描述信息确定业务的呈现方式, 并将所确定的业务的呈现方式发送至终 端; 接收终端发来的用户选择的业务呈现方式, 并根据所述选择的业务呈 现方式确定业务的运行方式。The terminal is configured to report the terminal capability description information to the server, receive a presentation manner of the service sent by the server, and notify the server of the service presentation manner selected by the user; The server is configured to receive the terminal capability description information reported by the terminal, determine the presentation manner of the service according to the reported terminal capability description information, and send the determined service presentation manner to the terminal; and receive the user selected service presentation manner sent by the terminal And determining the operation mode of the service according to the selected service presentation manner.
上述方案中, 所述终端, 还用于向服务器发送业务请求消息; 相应的, 所述服务器, 还用于根据收到的业务请求消息确认终端所请求的业务, 并 要求终端上报终端能力描述信息。 In the foregoing solution, the terminal is further configured to send a service request message to the server. Correspondingly, the server is further configured to: according to the received service request message, confirm the service requested by the terminal, and request the terminal to report the terminal capability description information. .
上述方案中, 所述终端, 还用于向与自身关联的其它终端发起查询请 求, 获取与自身关联的其它终端的终端能力描述信息。 In the above solution, the terminal is further configured to initiate a query request to other terminals associated with the terminal, and obtain terminal capability description information of other terminals associated with the terminal.
本发明所提供的终端业务呈现方法及系统, 通过服务器和终端之间的 交互, 根据业务对运行终端的能力要求、 各终端的能力、 业务的等级、 用 户的等级、 各终端资源的使用情况等综合信息的考虑, 灵活地提供业务的 呈现方式, 且该呈现方式可由用户选择, 以确定业务的运行方式, 如此, 既能避免对终端事先进行业务分配带来的繁重工作量, 也能避免业务单纯 运行在业务服务器时对服务器造成的巨大压力, 使得服务器和终端二者能 够合理、 适当地共同承担业务的运行, 同时能保证用户体验。 附图说明 The method and system for presenting terminal services provided by the present invention, according to the interaction between the server and the terminal, according to the capability requirements of the service to the running terminal, the capabilities of each terminal, the level of the service, the level of the user, the usage of each terminal resource, etc. The comprehensive information is considered, and the presentation manner of the service is flexibly provided, and the presentation manner can be selected by the user to determine the operation mode of the service, so that the heavy workload caused by the prior service distribution of the terminal can be avoided, and the service can be avoided. The enormous pressure on the server when running the service server alone enables the server and the terminal to share the operation of the service reasonably and appropriately, and at the same time ensure the user experience. DRAWINGS
图 1为本发明终端业务呈现方法的实现流程示意图; 1 is a schematic flowchart of an implementation process of a terminal service presentation method according to the present invention;
图 2为本发明终端业务呈现系统的组成结构示意图; 2 is a schematic structural diagram of a terminal service presentation system of the present invention;
图 3为本发明实施例一的系统组成结构示意图; 3 is a schematic structural diagram of a system according to Embodiment 1 of the present invention;
图 4为本发明实施例一的方法实现流程示意图; 4 is a schematic flowchart of a method for implementing a method according to Embodiment 1 of the present invention;
图 5为本发明实施例二的系统组成结构示意图; FIG. 5 is a schematic structural diagram of a system according to Embodiment 2 of the present invention; FIG.
图 6为本发明实施例二的方法实现流程示意图。 具体实施方式FIG. 6 is a schematic flowchart of a method for implementing a method according to Embodiment 2 of the present invention. detailed description
下面结合附图及具体实施例对本发明再作进一步详细的说明。 The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
图 1为本发明终端业务呈现方法的实现流程示意图, 如图 1所示, 该 方法包括以下步骤: 1 is a schematic flowchart of an implementation process of a terminal service presentation method according to the present invention. As shown in FIG. 1, the method includes the following steps:
步骤 101 : 第一终端向服务器上报终端能力描述信息; Step 101: The first terminal reports the terminal capability description information to the server.
这里, 所述上报终端能力描述信息可以是第一终端仅上报自身的终端 能力描述信息, 也可以是第一终端向服务器上报自身的终端能力描述信息、 以及与自身关联的其它终端的终端能力描述信息; Here, the reporting terminal capability description information may be that the first terminal only reports its own terminal capability description information, or may be that the first terminal reports its own terminal capability description information to the server, and the terminal capability description of other terminals associated with the terminal. Information
其中, 所述与自身关联的其它终端为: 与第一终端处于一个局域网内、 且其能力能被第一终端所使用的终端; 所述终端能力描述信息包括: 终端 的软件能力的描述信息、 硬件能力的描述信息、 终端当前的资源使用情况、 通信链路形态信息、 业以及务组合信息等; The other terminal associated with the terminal is: a terminal that is in a local area network with the first terminal and whose capability can be used by the first terminal; the terminal capability description information includes: description information of the software capability of the terminal, Descriptive information of hardware capabilities, current resource usage of the terminal, communication link form information, industry, and service combination information;
这里, 所述终端的软件能力的描述信息、 硬件能力的描述信息为: 对 终端能力的详细描述、 预先约定的终端能力标识、 终端型号; Here, the description information of the software capability of the terminal and the description information of the hardware capability are: a detailed description of the terminal capability, a pre-agreed terminal capability identifier, and a terminal model;
所述通信链路形态信息包括: 关联终端之间的通信链路信息、 以及第 一终端与服务器之间的通信链路信息; 其中, 所述关联终端之间的通信链 路信息包括: 第一终端与自身关联终端之间的拓朴结构、 以及传输带宽信 息等; 服务器根据业务要求、 传输带宽信息等集合终端之间、 以及终端与 服务器之间所有可能通信方式, 供用户选择; The communication link modality information includes: communication link information between the associated terminals, and communication link information between the first terminal and the server; wherein, the communication link information between the associated terminals includes: The topology structure between the terminal and its associated terminal, and the transmission bandwidth information; the server selects all possible communication modes between the terminals and the terminal and the server according to service requirements, transmission bandwidth information, etc., for the user to select;
所述业务组合信息包括: 同一局域网内的所有终端进行某种业务时的 功能分工信息、 以及业务协同信息; 服务器根据业务组合信息可以集合同 一局域网内的所有终端的业务组合方式, 以供用户选择; The service combination information includes: a function division information when all terminals in the same local area network perform a certain service, and service cooperation information; the server may collect service combination manners of all terminals in the same local area network according to the service combination information, so that the user selects ;
进一步地, 根据业务不同, 所述业务组合信息还可以包括: 具有输入 输出能力的终端组合信息、 以及具有呈现能力的终端组合信息等; 其中, 所述具有输入输出能力的终端组合信息为具有独立提供输入输出能力的终 端信息, 包括: 游戏手柄、 视频业务遥控器、 电脑键盘、 或者通过软件实 现手机支持游戏手柄或电视遥控器等; 所述具有呈现能力的终端组合信息 包括: 具有显示能力的终端信息、 具有业务转发能力的终端信息、 以及具 有本地编解码能力的终端信息等, 如通过手机转发视频业务到电视机上, 利用本地编码能力完成屏幕之间的匹配, 从而提高用户体验; 这里, 所述 终端包括: 第一终端、 以及与第一终端关联的其它终端。Further, the service combination information may further include: terminal combination information having input and output capabilities, terminal combination information having presentation capability, and the like, wherein the terminal combination information having the input and output capability is independent. Provide the end of input and output capabilities The terminal information includes: a game controller, a video service remote controller, a computer keyboard, or a mobile phone supporting a game controller or a television remote controller through software; the terminal combination information having the presentation capability includes: terminal information having display capability, and having a service The terminal information of the forwarding capability, the terminal information with the local codec capability, and the like, such as forwarding the video service to the television through the mobile phone, and using the local coding capability to complete the matching between the screens, thereby improving the user experience; here, the terminal includes: a first terminal, and other terminals associated with the first terminal.
步骤 101 之前, 该方法还可以包括: 第一终端向服务器发送业务请求 消息; 服务器根据收到的业务请求消息确认第一终端所请求的业务, 并要 求第一终端上报终端能力描述信息。 Before the step 101, the method may further include: the first terminal sends a service request message to the server; the server confirms the service requested by the first terminal according to the received service request message, and requests the first terminal to report the terminal capability description information.
进一步地, 如果第一终端除了上报自身的终端能力描述信息, 还上报 与自身关联的其它终端的终端能力描述信息, 则该方法还可以包括: 第一 终端向与自身关联的其它终端发起查询请求, 获得与自身关联的其它终端 的终端能力描述信息。 Further, if the first terminal sends the terminal capability description information of the other terminal associated with the first terminal, the method may further include: the first terminal initiating a query request to other terminals associated with the first terminal. And obtain terminal capability description information of other terminals associated with itself.
步骤 102:服务器根据上报的终端能力描述信息,确定业务的呈现方式, 并将业务的呈现方式发送至第一终端供用户选择; Step 102: The server determines the presentation manner of the service according to the reported terminal capability description information, and sends the service presentation manner to the first terminal for the user to select;
这里, 所述服务器可根据具体业务、 以及第一终端上报的业务组合信 息, 提供业务组合方式; 其中, 所述业务组合方式包括: 一个终端独立提 供业务; 一个终端提供输入输出业务、 且另一个终端提供业务呈现; 一个 终端提供输入输出业务以及业务呈现, 另一个终端提供业务转发及所述业 务编解码转换等; 至少两个终端进行业务呈现, 如视频多屏显示等; 以及 至少两个终端进行输入输出业务, 如多用户游戏等; 所述终端包括: 第一 终端、 以及与第一终端关联的其它终端。 Here, the server may provide a service combination manner according to the specific service and the service combination information reported by the first terminal. The service combination manner includes: one terminal independently provides services; one terminal provides input and output services, and another The terminal provides service presentation; one terminal provides input and output services and service presentation, another terminal provides service forwarding and the service codec conversion, etc.; at least two terminals perform service presentation, such as video multi-screen display; and at least two terminals Performing input/output services, such as multi-user games, etc.; the terminal includes: a first terminal, and other terminals associated with the first terminal.
步骤 103: 第一终端将用户选择的业务呈现方式通知服务器; Step 103: The first terminal notifies the server of the service presentation mode selected by the user.
步骤 104: 服务器根据用户选择的呈现方式, 确定业务的运行方式。 这里, 所述业务的运行方式包括: 服务器和终端在运行业务时的工作 分工、 通信链路的选择、 接受业务请求、 以及拒绝业务请求。Step 104: The server determines the running mode of the service according to the presentation manner selected by the user. Here, the operation mode of the service includes: a server and a terminal work when running a service Division of labor, selection of communication links, acceptance of business requests, and rejection of business requests.
图 2为本发明终端业务呈现系统的组成结构示意图, 如图 2所示, 该 系统包括: 终端和服务器; 其中, 2 is a schematic structural diagram of a terminal service presentation system according to the present invention. As shown in FIG. 2, the system includes: a terminal and a server;
终端, 用于向服务器上报终端能力描述信息, 接收服务器发来的业务 的呈现方式, 并将用户选择的业务呈现方式通知服务器; The terminal is configured to report the terminal capability description information to the server, receive a presentation manner of the service sent by the server, and notify the server of the service presentation manner selected by the user;
服务器, 用于接收终端上报的终端能力描述信息, 根据上报的终端能 力描述信息确定业务的呈现方式, 并将确定业务的呈现方式发送至终端; 接收终端发来的用户选择的业务呈现方式, 并根据所述选择的业务呈现方 式确定业务的运行方式。 The server is configured to receive the terminal capability description information reported by the terminal, determine the presentation manner of the service according to the reported terminal capability description information, and send the determined service presentation manner to the terminal; receive the service presentation manner selected by the user sent by the terminal, and Determining the operation mode of the service according to the selected service presentation manner.
这里, 所述终端向服务器上报终端能力描述信息可以为: 终端向服务 器上报自身的终端能力描述信息; 也可以为: 终端向服务器上报自身的终 端能力描述信息、 以及与自身关联的其它终端的终端能力描述信息。 Here, the terminal reporting the terminal capability description information to the server may be: the terminal reporting the terminal capability description information of the terminal to the server; or: the terminal reporting the terminal capability description information of the terminal and the terminal of the other terminal associated with the terminal to the server Capability description information.
进一步地, 所述终端, 还用于向服务器发送业务请求消息; 相应的, 所述服务器, 还用于根据收到的业务请求消息确认终端所请求的业务, 并 要求终端上报终端能力描述信息。 Further, the terminal is further configured to send a service request message to the server. Correspondingly, the server is further configured to: confirm the service requested by the terminal according to the received service request message, and request the terminal to report the terminal capability description information.
进一步地, 所述终端, 还用于向与自身关联的其它终端发起查询请求, 获取与自身关联的其它终端的终端能力描述信息。 Further, the terminal is further configured to initiate a query request to other terminals associated with the terminal, and obtain terminal capability description information of other terminals associated with the terminal.
这里, 所述服务器可以为传统意义上的服务器, 也可以为采用云计算 技术的虚拟服务器; 所述终端为具有用户接口和具有通信能力的设备, 包 括手机、 游戏机、 台式电脑、 笔记本电脑、 电视、 音乐播放器和服务器等, 其主要功能是与用户直接交互, 并将业务呈现给用户使用; 所述用户接口 可以为输入输出接口。 Here, the server may be a server in a traditional sense, or may be a virtual server adopting a cloud computing technology; the terminal is a device having a user interface and communication capability, including a mobile phone, a game machine, a desktop computer, a notebook computer, TV, music player, server, etc., its main function is to directly interact with the user and present the service to the user; the user interface can be an input and output interface.
所述服务器功能包括必备功能和可选功能; 其中, The server function includes an essential function and an optional function; wherein,
所述必备功能包括: 业务软件的存储与维护; 业务列表的存储与维护; 终端列表的存储与维护; 确定终端的能力; 对终端要求运行的业务进行识 别; 与终端确定运行业务时的工作分工; 根据与终端的工作分工, 完成业 务运行中需要承担的工作; 以及完成上述工作所需要的配套软件的存储与 维护。The necessary functions include: storage and maintenance of service software; storage and maintenance of service lists; storage and maintenance of terminal lists; determination of capabilities of terminals; No.; Work with the terminal to determine the division of work when running the business; According to the division of work with the terminal, complete the work that needs to be carried out in the business operation; and store and maintain the supporting software required to complete the above work.
所述可选功能包括: 根据需要对终端进行身份识别, 包括认证、 鉴权。 这里, 所述业务软件为具有唯一标识、 且能完成特定功能的软件; 所 述标识为名称、 版本号等。 The optional functions include: identifying the terminal according to requirements, including authentication and authentication. Here, the business software is software having a unique identifier and capable of performing a specific function; the identifier is a name, a version number, and the like.
这里, 所述业务列表为对业务软件相关信息的汇总, 包括: 业务软件 的标识、 业务类型、 业务软件的名称、 对应的制作公司、 软件版本号、 业 务等级、 业务对运行终端能力的要求, 以及业务列表须遵循特定的格式, 该格式由业务提供商、 服务器制造商、 以及终端制造商相关各方事先约定; 其中, 所述业务软件的标识可以为业务软件唯一编号; 所述业务等级 包括安全等级、 版权保护等级、 运行优先级等; 所述业务对运行终端能力 的要求为: 运行该业务时, 该业务对运行终端的资源需求, 所述资源要求 包括: 软件资源要求、 硬件资源要求、 传输带宽要求、 业务运行终端的当 前资源要求等。 针对每个具体业务资源需求会有明显的不同。 Here, the service list is a summary of information related to the service software, including: the identifier of the service software, the service type, the name of the service software, the corresponding production company, the software version number, the service level, and the service requirements for the running terminal capability. And the service list is to be in a specific format, which is pre-agreed by the service provider, the server manufacturer, and the relevant parties of the terminal manufacturer; wherein the identifier of the service software may be a unique number of the service software; The security level, the copyright protection level, the operation priority, and the like; the requirements of the service to run the terminal are: when the service is running, the resource requirements of the service to the running terminal, the resource requirements include: software resource requirements, hardware resource requirements , transmission bandwidth requirements, current resource requirements of the service running terminal, and so on. There will be significant differences in the needs of each specific business resource.
这里, 所述终端列表是对各终端相关信息的汇总, 包括: 终端类型、 终端的型号、 终端制造商、 终端唯一标识、 终端等级、 终端能力描述信息, 终端列表须遵循特定的格式, 该格式由业务提供商、 服务器制造商、 终端 制造商等相关各方事先约定。 其中, 所述终端等级包括安全等级、 运行优 先级。 Here, the terminal list is a summary of related information of each terminal, including: a terminal type, a model of the terminal, a terminal manufacturer, a terminal unique identifier, a terminal level, and a terminal capability description information, and the terminal list must follow a specific format, the format It is agreed in advance by the relevant parties such as service providers, server manufacturers, and terminal manufacturers. The terminal level includes a security level and an operation priority.
其中, 所述发起业务请求的方式包括: 点击图标, 使用快捷按键等。 所述终端能力描述信息指的是所述终端或关联终端所能够提供的供运 行业务使用的终端的软件能力的描述信息、 硬件能力的描述信息、 终端当 前的资源使用情况、 通信链路形态信息、 以及业务组合信息等。 服务器通 过终端列表维护, 可以全面地获得终端的终端能力描述信息。 当用户申请业务时, 服务器可通过业务列表对终端要求运行的业务进 行识别, 并根据终端列表确定业务的呈现方式。The manner of initiating the service request includes: clicking an icon, using a shortcut button, and the like. The terminal capability description information refers to description information of software capabilities of the terminal that the terminal or the associated terminal can provide for running the service, description information of the hardware capability, current resource usage of the terminal, and communication link form information. , as well as business combination information. The server maintains the terminal capability description information of the terminal through the terminal list maintenance. When the user applies for a service, the server can identify the service that the terminal requires to run through the service list, and determine the presentation manner of the service according to the terminal list.
本发明中, 服务器不仅可以获得所述终端的终端能力描述信息, 还可 以获得与所述终端关联的其它终端的终端能力描述信息, 因此服务器根据 获得的终端能力描述信息可以提供业务组合方式、 业务分工等方式供用户。 通过业务对运行终端的能力要求与终端列表中的终端能力描述信息确定业 务的呈现方式, 将所有能够满足能力要求的终端、 以及关联终端都选择出 来, 提供给终端以供用户选择选择。 In the present invention, the server can obtain not only the terminal capability description information of the terminal, but also the terminal capability description information of other terminals associated with the terminal. Therefore, the server can provide the service combination mode and service according to the obtained terminal capability description information. Division of labor and other methods for users. The service requirements of the running terminal and the terminal capability description information in the terminal list are used to determine the presentation manner of the service, and all the terminals that can meet the capability requirements and the associated terminals are selected and provided to the terminal for the user to select.
实施例一Embodiment 1
图 3为实施例一的系统组成结构示意图, 如图 3所示, 本实施例中, 用户使用 Android智能手机,此手机作为第一终端,用于请求观看一部电影; 与手机位于同一局域网的有一台电视机, 此电视机作为与手机关联的其它 终端; 手机与电视机通过 WiFi连接; 手机还通过通信网络与服务器相连。 3 is a schematic structural diagram of a system of the first embodiment. As shown in FIG. 3, in this embodiment, a user uses an Android smart phone as a first terminal for requesting to watch a movie; and the mobile phone is located on the same local area network. There is a TV set as the other terminal associated with the mobile phone; the mobile phone and the TV set are connected via WiFi; the mobile phone is also connected to the server via the communication network.
本实施例中, 用户操作手机请求观看电影时, 如图 4所示, 包括如下 步骤: In this embodiment, when the user operates the mobile phone to request to watch a movie, as shown in FIG. 4, the following steps are included:
步骤 401 :手机将自身的终端能力描述信息和电视机的终端能力描述信 息发送至服务器; Step 401: The mobile phone sends its terminal capability description information and terminal capability description information of the television to the server.
这里, 在步骤 401之前, 本实施例的方法还可以包括如下步骤: al. 用户点击手机桌面上视频节目列表中的电影图标,手机生成业务请 求消息, 在该业务请求消息中包含有业务描述信息, 将所述业务请求消息 发送至服务器; Here, before the step 401, the method in this embodiment may further include the following steps: a. The user clicks on the movie icon in the video program list on the mobile phone desktop, and the mobile phone generates a service request message, where the service request message includes service description information. Sending the service request message to the server;
其中, 所述业务描述信息包括: 所述电影的制作公司、 电影名称等; a2. 服务器根据收到的业务请求消息, 获知该用户想要观看所述电影; a3. 服务器要求手机上报终端能力描述信息; The service description information includes: a production company of the movie, a movie name, and the like; a2. The server learns, according to the received service request message, that the user wants to view the movie; a3. The server requests the mobile phone to report the terminal capability description. Information
a4. 手机通过网络搜索, 发现局域网内还有一台电视机, 则手机向所述 电视机发起查询请求, 获取电视机的终端能力描述信息;A4. The mobile phone searches through the network and finds that there is still a TV in the LAN. The television initiates a query request to obtain terminal capability description information of the television;
这里, 手机的终端能力描述信息包括: 生产厂商、 终端类型、 终端型 号、 终端标识; Here, the terminal capability description information of the mobile phone includes: a manufacturer, a terminal type, a terminal type, and a terminal identifier;
所述电视机的终端能力描述信息包括: 生产厂商、 终端类型、 终端型 号、 终端标识、 CPU型号、 RAM存储容量、 ROM存储容量、 操作系统版 本信息、 屏幕分辨率、 资源使用情况; 所述资源使用情况可以是有无任务 运行。 The terminal capability description information of the television set includes: a manufacturer, a terminal type, a terminal model, a terminal identifier, a CPU model, a RAM storage capacity, a ROM storage capacity, an operating system version information, a screen resolution, and a resource usage situation; Usage can be with or without a task.
步骤 402: 服务器根据手机上报的终端能力描述信息, 确定两种业务呈 现方式; 服务器将所述两种业务呈现方式发送至手机; Step 402: The server determines two service presentation manners according to the terminal capability description information reported by the mobile phone, and the server sends the two service presentation modes to the mobile phone.
本步骤中, 所述终端能力描述信息包括手机能力描述信息和电视机能 力描述信息; 所述两种业务呈现方式为: 在手机上显示、 或在电视机上显 示; In this step, the terminal capability description information includes mobile phone capability description information and television capability description information; the two service presentation modes are: displaying on a mobile phone, or displaying on a television;
这里, 可以以示意图形式将呈现方式显示在手机屏幕上, 供用户选择。 步骤 403: 用户通过点击相应示意图选择在电视上观看, 手机将用户选 择的呈现方式通知服务器; Here, the presentation mode can be displayed on the screen of the mobile phone in a schematic form for the user to select. Step 403: The user selects to watch on the television by clicking the corresponding schematic diagram, and the mobile phone notifies the server of the presentation mode selected by the user;
步骤 404: 服务器根据用户选择的呈现方式, 确定业务的运行方式; 具体步骤如下: Step 404: The server determines the running mode of the service according to the presentation mode selected by the user. The specific steps are as follows:
bl. 服务器获知用户希望在电视机上观看该电影,并从本地的业务列表 中得知该电影版权保护等级为 "高",则确定该电影只能在服务器本地播放, 并将视频和音频透明传输给电视机; Bl. The server knows that the user wants to watch the movie on the TV and knows that the movie copyright protection level is "high" from the local business list, then determines that the movie can only be played locally on the server, and the video and audio are transmitted transparently. Give a television set;
b2. 服务器从电视机的终端能力描述信息中,获知所述电视机的显示分 辨率能达到 1080P, 而该电影的原始图像分辨率为 1080P, 则可以对电影的 图像分辨率不做处理; B2. The server learns from the terminal capability description information of the television that the display resolution of the television can reach 1080P, and the original image resolution of the movie is 1080P, and the image resolution of the movie can be processed;
b3. 服务器播放电影, 并将视频和音频传送给手机, 由手机转发给电视 机; 然后电视机将手机转发来的电影视频和音频呈现给用户。 进一步地, 在本实施例中, 如果电视机正在播放电视节目, 则服务器 能够从手机上报的电视机能力描述表中得知电视机资源被占用, 则确定电 影只能在手机上显示; 相应的, 在手机上显示的业务呈现方式示意图中, 电视机的图标变灰, 用户只能选择在手机上观看该电影。B3. The server plays the movie, and transmits the video and audio to the mobile phone, which is forwarded to the television by the mobile phone; then the television presents the movie video and audio forwarded by the mobile phone to the user. Further, in this embodiment, if the television program is playing a television program, the server can learn that the television resource is occupied from the television capability description table reported by the mobile phone, and then determine that the movie can only be displayed on the mobile phone; In the diagram of the business presentation mode displayed on the mobile phone, the icon of the television is grayed out, and the user can only choose to watch the movie on the mobile phone.
实施例二Embodiment 2
图 5为实施例二的系统组成结构示意图, 如图 5所示, 本实施例中, 用户使用一台电脑(以下称为第一电脑), 该第一电脑作为第一终端, 用于 请求编辑一份存储在服务器上的文档 Docl ; 与第一电脑位于同一局域网的 还有另一台电脑(以下称为第二电脑)、 以及一部手机, 第二电脑和手机均 作为与第一电脑关联的其它终端; 第一电脑、 第二电脑、 手机间通过 WiFi 互相连接; 第一电脑还通过通信网络与服务器相连。 5 is a schematic structural diagram of a system of the second embodiment. As shown in FIG. 5, in this embodiment, a user uses a computer (hereinafter referred to as a first computer), and the first computer serves as a first terminal for requesting editing. A document stored on the server Docl; another computer on the same LAN as the first computer (hereinafter referred to as a second computer), and a mobile phone, the second computer and the mobile phone are associated with the first computer Other terminals; the first computer, the second computer, and the mobile phone are connected to each other through WiFi; the first computer is also connected to the server through a communication network.
在用户操作第一电脑请求编辑文档 Docl时, 如图 6所示, 包括如下步 骤: When the user operates the first computer to request to edit the document Docl, as shown in FIG. 6, the following steps are included:
步骤 601 : 第一电脑将自身的终端能力描述信息、 以及第二电脑和手机 的终端能力描述信息全部发送至服务器; Step 601: The first computer sends its terminal capability description information and the terminal capability description information of the second computer and the mobile phone to the server.
这里, 在步骤 601之前, 本实施例的方法还可以包括如下步骤: cl. 用户通过第一电脑打开服务器中的文档存储目录,选择文档 Docl, 在菜单中选择编辑功能; 第一电脑生成业务请求消息, 在所述业务请求消 息中包含业务描述信息, 并将所述业务请求消息发送至服务器; Here, before the step 601, the method in this embodiment may further include the following steps: cl. The user opens the document storage directory in the server through the first computer, selects the document Docl, selects an editing function in the menu; the first computer generates a service request Message, including service description information in the service request message, and sending the service request message to a server;
其中, 所述业务描述信息包括: 业务种类、 文档名称等; The service description information includes: a service type, a document name, and the like;
c2. 服务器根据收到的业务请求消息, 获知该用户想要编辑文档 Docl ; c3. 服务器要求第一电脑上报终端能力描述信息; C2. The server learns that the user wants to edit the document according to the received service request message; c3. The server requests the first computer to report the terminal capability description information;
c4. 第一电脑通过网络搜索,发现局域网内还有一台第二电脑和一部手 机; 第一电脑向第二电脑和手机发起查询请求, 获取第二电脑和手机的终 端能力描述信息; 这里, 所述第一电脑的终端能力描述信息包括: 生产厂商、终端类型、 终端型号、 终端标识、 CPU型号、 RAM存储容量、 硬盘存储容量、 操作系 统版本信息、 屏幕分辨率;C4. The first computer searches through the network and finds that there is a second computer and a mobile phone in the local area network; the first computer initiates a query request to the second computer and the mobile phone, and obtains terminal capability description information of the second computer and the mobile phone; Here, the terminal capability description information of the first computer includes: a manufacturer, a terminal type, a terminal model, a terminal identifier, a CPU model, a RAM storage capacity, a hard disk storage capacity, an operating system version information, and a screen resolution;
所述手机的终端能力描述信息包括: 生产厂商、 终端类型、 终端型号、 终端标识、 CPU型号、 RAM存储容量、 ROM存储容量、 操作系统版本信 息、 屏幕分辨率、 资源使用情况; 所述资源使用情况可以是有无任务运行。 The terminal capability description information of the mobile phone includes: a manufacturer, a terminal type, a terminal model, a terminal identifier, a CPU model, a RAM storage capacity, a ROM storage capacity, an operating system version information, a screen resolution, and a resource usage situation; The situation can be whether there is a task running.
所述第二电脑的终端能力描述信息包括: 生产厂商、 终端类型、 终端 型号、 终端标识、 CPU型号、 RAM存储容量、 硬盘存储容量、 操作系统版 本信息、 屏幕分辨率、 资源使用情况; 所述资源使用情况可以是有无任务 运行。 The terminal capability description information of the second computer includes: a manufacturer, a terminal type, a terminal model, a terminal identifier, a CPU model, a RAM storage capacity, a hard disk storage capacity, an operating system version information, a screen resolution, and a resource usage status; Resource usage can be performed with or without tasks.
步骤 602: 服务器根据第一电脑上报的终端能力描述信息, 确定相应的 业务呈现方式, 并将所述业务呈现方式发送至第一电脑供用户选择; Step 602: The server determines a corresponding service presentation manner according to the terminal capability description information reported by the first computer, and sends the service presentation manner to the first computer for the user to select;
本步骤的具体处理流程如下: The specific processing flow of this step is as follows:
dl. 服务器根据第一电脑上报的终端能力描述信息, 即第一电脑、 第二 电脑以及手机三者的终端能力描述信息, 发现第一电脑和第二电脑支持文 档 Docl的文档格式, 手机不支持文档 Docl的文档格式; 理论上服务器可 以确定三种业务呈现方式, 即: 在第一电脑上编辑、 或在第二电脑上编辑、 或在手机上编辑;但实际上, 由于手机不支持文档 Docl的文档格式, 因此, 只有两种可行的业务呈现方式, 即: 在第一电脑上编辑、 或在第二电脑上 编辑; The server according to the terminal capability description information reported by the first computer, that is, the terminal capability description information of the first computer, the second computer, and the mobile phone, finds that the first computer and the second computer support the document format of the document Docl, and the mobile phone does not support Document Docl document format; in theory, the server can determine three business presentation methods, namely: editing on the first computer, editing on the second computer, or editing on the mobile phone; but in fact, because the mobile phone does not support the document Docl Document format, therefore, there are only two possible ways of presenting the business, namely: editing on the first computer, or editing on the second computer;
d2. 服务器将确定的三种业务呈现方式发送至第一电脑,以示意图形式 显示在第一电脑的屏幕上供用户选择, 其中, 第一电脑和第二电脑的图标 正常显示, 手机的图标上打叉。 D2. The server sends the determined three service presentation modes to the first computer, which is displayed on the screen of the first computer for the user to select, wherein the icons of the first computer and the second computer are normally displayed, and the icons of the mobile phone are displayed. Fork.
步骤 603: 用户通过点击相应的示意图选择在第一电脑上编辑, 第一电 脑将用户选择的呈现方式通知服务器; 步骤 604: 服务器根据用户选择的呈现方式, 确定业务的运行方式; 本步骤的具体处理流程如下:Step 603: The user selects to edit on the first computer by clicking the corresponding schematic diagram, and the first computer notifies the server of the presentation mode selected by the user; Step 604: The server determines the running mode of the service according to the presentation mode selected by the user. The specific processing procedure of this step is as follows:
服务器获知用户希望在第一电脑上编辑文档 Docl, 并从本地的业务列 表中得知该文档保护等级为 "低", 则确定文档 Docl 可以下载到第一电脑 上进行编辑; 服务器将文档 Docl传输到第一电脑; 则用户在第一电脑上对 文档 Docl进行编辑。 The server knows that the user wants to edit the document Docl on the first computer, and knows that the document protection level is "low" from the local service list, then determines that the document Docl can be downloaded to the first computer for editing; the server transmits the document Docl To the first computer; the user edits the document Docl on the first computer.
在本实施例中, 服务器也可以向第一电脑只发送并提供两种呈现方式, 即: 在第一电脑上编辑、 或在第二电脑上编辑, 供用户选择。 In this embodiment, the server can also send and provide only two presentation modes to the first computer, that is, edit on the first computer or edit on the second computer for the user to select.
在本实施例中, 服务器还可以对手机的终端能力进行升级, 使手机支 持文档 Docl的文档格式; 相应的, 手机的终端能力升级后, 服务器可进一 步向第一电脑发送并提供三种呈现方式, 包括: 在第一电脑上编辑、 在第 二电脑上编辑、 在手机上编辑, 且三者的图标均正常显示。 In this embodiment, the server may further upgrade the terminal capability of the mobile phone, so that the mobile phone supports the document format of the document Docl; correspondingly, after the terminal capability of the mobile phone is upgraded, the server may further send and provide three presentation modes to the first computer. , including: editing on the first computer, editing on the second computer, editing on the mobile phone, and the icons of the three are displayed normally.
以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的保 护范围。 The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention.