WO2014015732A1 - Method and system for generating terminal capability description information - Google Patents

Method and system for generating terminal capability description information Download PDF

Info

Publication number
WO2014015732A1
WO2014015732A1 PCT/CN2013/077828 CN2013077828W WO2014015732A1 WO 2014015732 A1 WO2014015732 A1 WO 2014015732A1 CN 2013077828 W CN2013077828 W CN 2013077828W WO 2014015732 A1 WO2014015732 A1 WO 2014015732A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
capability
description information
information
server
Prior art date
Application number
PCT/CN2013/077828
Other languages
French (fr)
Chinese (zh)
Inventor
梁国和
陈慧
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2014015732A1 publication Critical patent/WO2014015732A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • H04L67/303Terminal profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services

Definitions

  • the second dynamic capability information is reported to the server when the terminal is triggered.
  • the analyzing unit is configured to: when the terminal initiates a service, the terminal determines, according to each constraint condition, whether the terminal capability description information needs to be reported to the server, and when it is determined that the device needs to be reported, Terminal capability description information to be reported.
  • FIG. 1 The implementation process of the method for generating terminal capability description information in the first embodiment of the present invention is as shown in FIG. 1 , and includes the following steps:
  • the basic capability information is generally reported to the server by the terminal. Or use the contract method and input through the portal;
  • the terminal factory capability change flag is used to identify whether the capability of the terminal has changed since the terminal was shipped.
  • the terminal original hardware capability change flag is used to identify whether the original hardware capability of the terminal changes.
  • the change flag is used to identify whether the terminal basic hardware capability changes;
  • the terminal software capability change flag is used to identify whether the terminal software capability changes;
  • the content of the capability change record is the time of the terminal change each time, and the change Capacity items and parameters;
  • the terminal capability description table may be stored in the form of an entire table, or may be stored in the form of several sub-tables, each of which stores different information.
  • the analyzing unit 22 is configured to: when the terminal initiates the service, the terminal determines whether the terminal capability description information needs to be reported to the server according to the constraint condition, and determines the terminal capability description information to be reported when determining the need to report.
  • Step 305 The terminal initiates a service, confirms that the server type is "service server”, and the monthly server level is "high”, and confirms that the terminal reports the memory size change information to the server;
  • the server type is "business server”
  • the server level is "high”, which is determined by the server according to a specific service, and is sent to the terminal through a message or preset in the terminal, assuming
  • the terminal capability description information is as shown in Table 5; wherein Table 5 describes all original hardware capability information of the mobile phone, including the manufacturer and the terminal. Type, terminal model, terminal identification, CPU, RAM, ROM, screen resolution, etc. Table 5 also describes all the basic hardware and software capabilities on the phone, including CPU, RAM, ROM, screen resolution, operating system, Application, supported video format, supported picture format, terminal original hardware capability change flag bit, terminal basic hardware capability change flag bit, terminal software capability change flag bit and capability change record, and the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

Disclosed is a method for generating terminal capability description information. The method comprises: when the occurrence of a self-test triggering condition is detected, a terminal self-testing a terminal capability of self, acquiring terminal capability description information of self; when the terminal launches a service, determining, on the basis of constraint conditions, whether or not the terminal capability description information needs to be reported to a server, and, when determined to be needed, further determining the terminal capability description information that needs to be reported. Also disclosed is a system for generating the terminal capability description information. Employment of the method and system of embodiments of the present invention for generating the terminal capability description information allows the terminal to discover in real-time changes in the hardware capability of self and the state of resource use, thus supporting a rational allocation of a service between the server and the terminal, and ensuring that optimal use of resources of the server and the terminal is achieved.

Description

一种终端能力描述信息的生成方法及系统 技术领域  Method and system for generating terminal capability description information
本发明涉及终端信息管理技术, 具体涉及一种终端能力描述信息的生 成方法及系统。 背景技术  The present invention relates to terminal information management technologies, and in particular to a method and system for generating terminal capability description information. Background technique
随着通信技术、 网络技术的发展, 终端上运行的业务, 其形态从最初 的完全在本地运行, 走向具有联网功能; 在云计算出现后, 业务甚至可以 完全在云端运行, 终端只进行显示和交互。  With the development of communication technology and network technology, the business running on the terminal has its form from the initial operation in the local to the networking function. After the cloud computing appears, the service can even run completely in the cloud, and the terminal only displays and Interaction.
在网络技术发展的同时, 终端技术也在飞速发展, 品种丰富多样。 目 前的终端不仅包括传统的台式电脑、 笔记本电脑, 还包括近些年出现的智 能手机、 上网本、 平板电脑、 上网盒, 以及融合了新技术后出现的掌上游 戏机、 电视机、 mp4播放器等; 这些终端芯片方案多样、 操作系统多样、 部件多样, 导致性能参差不齐。  At the same time of the development of network technology, terminal technology is also developing rapidly, and the variety is diverse. Current terminals include not only traditional desktop computers and notebook computers, but also smartphones, netbooks, tablets, and Internet boxes that have appeared in recent years, as well as handheld game consoles, TV sets, mp4 players, etc. that have emerged after the integration of new technologies. These terminal chips have diverse solutions, diverse operating systems, and diverse components, resulting in uneven performance.
业务的网络化和终端的多样化使业务在运行时出现了匹配性的问题: 如果业务运行完全由服务器承担, 则需要海量的服务器资源; 同时对于功 能强大的终端来说, 终端的本地资源将被极大地浪费; 如果业务由服务器 和终端分担运行, 那么, 必须科学地分配二者承担的业务, 以保证服务器 和终端的资源都能达到最优使用, 同时又保证用户的体验不受影响。  The networking of services and the diversification of terminals cause matching problems in the operation of the service: If the service runs completely by the server, it needs a large amount of server resources; at the same time, for a powerful terminal, the local resources of the terminal will It is greatly wasted; if the service is shared by the server and the terminal, then the services undertaken by the two must be scientifically allocated to ensure that the resources of the server and the terminal can be optimally used while ensuring that the user experience is not affected.
通常, 在正常情况下, 终端会有多个业务同时运行, 终端的资源使用 情况是随机变化的; 而随着终端技术的发展, 终端的软、 硬件体系必将走 向开放, 用户可以根据需要随时对终端的软、 硬件进行改变或扩充, 因此, 如何对终端的能力进行全面和即时的描述, 是确定服务器与终端在共同承 担业务执行时业务分配的基础。 发明内容 Generally, under normal circumstances, the terminal will have multiple services running at the same time, and the resource usage of the terminal is randomly changed. With the development of the terminal technology, the software and hardware systems of the terminal will be open to the public. The software and hardware of the terminal are changed or expanded. Therefore, how to fully and instantaneously describe the capabilities of the terminal is the basis for determining the service allocation when the server and the terminal share the service execution. Summary of the invention
有鉴于此, 本发明实施例的主要目的在于提供一种终端能力描述信息 的生成方法及系统, 能支持业务在服务器和终端之间的合理分配, 保证服 务器和终端的资源达到最优使用。  In view of this, the main purpose of the embodiments of the present invention is to provide a method and a system for generating terminal capability description information, which can support reasonable allocation of services between servers and terminals, and ensure optimal use of resources of servers and terminals.
为达到上述目的, 本发明实施例的技术方案是这样实现的:  To achieve the above objective, the technical solution of the embodiment of the present invention is implemented as follows:
本发明实施例提供了一种终端能力描述信息的生成方法, 该方法包括: 终端检测到自检触发条件发生后, 对自身的终端能力进行自检, 获取 自身的终端能力描述信息;  An embodiment of the present invention provides a method for generating terminal capability description information, where the method includes: after detecting that a self-test trigger condition occurs, the terminal performs self-test on its own terminal capability, and obtains its own terminal capability description information;
当终端发起业务时, 终端根据各约束条件确定是否需要向服务器上报 终端能力描述信息, 并在确定需要上报时, 确定所需上报的终端能力描述 信息。  When the terminal initiates the service, the terminal determines whether the terminal capability description information needs to be reported to the server according to the constraint conditions, and determines the terminal capability description information to be reported when determining that the report needs to be reported.
上述方案中, 确定所需上报的终端能力描述信息后, 根据确定上报的 终端能力描述信息生成待上报的终端能力描述表。  In the foregoing solution, after determining the terminal capability description information that needs to be reported, the terminal capability description table to be reported is generated according to the determined terminal capability description information.
上述方案中, 所述约束条件由服务器根据具体业务确定, 由服务器通 过消息发送给终端, 或预先设置到终端。  In the above solution, the constraint condition is determined by the server according to a specific service, and is sent by the server to the terminal through a message, or is preset to the terminal.
上述方案中, 所述约束条件包括: 服务器的类型、 服务器的级别、 服 务器的安全等级、 业务的类型、 业务的级别、 业务的安全等级、 业务用户 的等级和终端类型。  In the foregoing solution, the constraint includes: a type of the server, a level of the server, a security level of the server, a type of the service, a level of the service, a security level of the service, a level of the service user, and a terminal type.
上述方案中, 所述自检触发条件包括终端开机、 用户切换操作系统、 用户向终端上添加或卸载热插拔器件、 配件和外设、 用户在终端上安装或 卸载应用软件、 驱动程序、 用户恢复出厂设置、 到达事先设定的能力扫描 时间点、 新的业务开始运行、 业务运行完成、 业务运行终止、 以及任何导 致终端能力发生变化的情况。  In the foregoing solution, the self-test triggering condition includes: the terminal is powered on, the user switches the operating system, the user adds or uninstalls the hot plug device, the accessory and the peripheral device to the terminal, the user installs or uninstalls the application software, the driver, and the user on the terminal. Restore factory settings, reach pre-set capability scan time points, start new business operations, complete business operations, terminate business operations, and any changes that result in changes in terminal capabilities.
上述方案中, 所述终端能力描述信息包括: 终端原始硬件能力描述信 息、 终端基础硬件能力描述信息、 终端软件能力描述信息和终端资源使用 情况。 In the above solution, the terminal capability description information includes: terminal original hardware capability description information, terminal basic hardware capability description information, terminal software capability description information, and terminal resource usage. Happening.
上述方案中, 所述终端能力描述信息按优先级分为: 基本能力信息、 第一动态能力信息和第二动态能力信息; 其中,  In the above solution, the terminal capability description information is divided into: basic capability information, first dynamic capability information, and second dynamic capability information according to priorities;
所述基本能力信息为终端原始硬件能力描述信息;  The basic capability information is terminal original hardware capability description information;
所述第一动态能力信息为对业务的运行或业务的申请产生影响, 但受 约束条件控制的终端基础硬件和软件能力描述信息;  The first dynamic capability information is a terminal basic hardware and software capability description information that affects an operation of a service or an application of a service, but is controlled by a constraint condition;
所述第二动态能力信息为对业务的运行或业务的申请产生影响的突发 的需实时上报的终端能力描述信息。  The second dynamic capability information is a burst of terminal capability description information that needs to be reported in real time, which affects the operation of the service or the application of the service.
上述方案中,  In the above scheme,
所述基本能力信息由终端主动一次性上报给服务器; 或采用签约方式, 并通过门户网站输入;  The basic capability information is reported to the server by the terminal in a one-time manner; or the subscription mode is adopted, and input through the portal website;
所述第一动态能力信息由终端周期性上报给服务器;  The first dynamic capability information is periodically reported by the terminal to the server;
所述第二动态能力信息由终端被触发时上报给服务器。  The second dynamic capability information is reported to the server when the terminal is triggered.
上述方案中, 所述终端能力描述表包括: 生产厂商、 终端类型、 终端 型号、 终端唯一标识、 CPU、 内存、 硬盘、 屏幕分辨率、 支持的视频格式、 支持的图片格式、 操作系统、 应用程序、 终端出厂能力改变标志位、 终端 原始硬件能力改变标志位、 终端基础硬件能力改变标志位、 终端基础软件 能力改变标志位、 能力改变记录、 原始硬件能力信息、 基础硬件能力信息、 基础软件能力信息和资源使用信息。  In the above solution, the terminal capability description table includes: manufacturer, terminal type, terminal model, terminal unique identifier, CPU, memory, hard disk, screen resolution, supported video format, supported picture format, operating system, application , terminal factory capability change flag bit, terminal original hardware capability change flag bit, terminal basic hardware capability change flag bit, terminal basic software capability change flag bit, capability change record, original hardware capability information, basic hardware capability information, basic software capability information And resource usage information.
本发明实施例还提供了一种终端能力描述信息的生成系统, 所述系统 包括能力检测单元和分析单元; 其中:  An embodiment of the present invention further provides a system for generating terminal capability description information, where the system includes a capability detecting unit and an analyzing unit, where:
所述能力检测单元, 配置为在终端检测到自检触发条件后, 对自身的 终端能力进行自检, 获取自身的终端能力描述信息;  The capability detecting unit is configured to perform self-test on its own terminal capability after the terminal detects the self-test triggering condition, and obtain its own terminal capability description information;
所述分析单元, 配置为当终端发起业务时, 终端根据各约束条件确定 是否需要向服务器上报终端能力描述信息, 并在确定需要上报时, 确定所 需上报的终端能力描述信息。 The analyzing unit is configured to: when the terminal initiates a service, the terminal determines, according to each constraint condition, whether the terminal capability description information needs to be reported to the server, and when it is determined that the device needs to be reported, Terminal capability description information to be reported.
上述方案中, 所述系统还包括生成单元, 配置为在确定所需上报的终 端能力描述信息后, 根据确定上报的终端能力描述信息生成待上报的终端 能力描述表。  In the above solution, the system further includes a generating unit, configured to generate a terminal capability description table to be reported according to the determined terminal capability description information after determining the terminal capability description information that needs to be reported.
上述方案中, 所述系统还包括服务器, 配置为根据具体业务确定约束 条件, 并通过消息将约束条件发送给终端, 或预先设置到终端。  In the foregoing solution, the system further includes a server, configured to determine a constraint according to the specific service, and send the constraint to the terminal by using a message, or preset to the terminal.
本发明实施例提供的终端能力描述信息的生成方法及系统, 在检测到 自检触发条件发生后, 终端对自身的终端能力进行自检, 获取自身的终端 能力描述信息; 当终端发起业务时, 根据各约束条件确定是否需要向服务 器上报终端能力信息, 并在确定需要上报时进一步确定所需上报的终端能 力描述信息。 本发明实施例通过终端能力确认程序对终端进行自检, 使终 端能够即时发现自身软硬件能力的改变和资源使用情况, 从而在终端和服 务器交互的过程中, 能够使服务器实时掌握终端能力的变化情况, 进而支 持业务在服务器和终端之间的合理分配, 保证服务器和终端的资源都能达 到最优使用, 同时又确保用户的体验不受任何影响。 附图说明  The method and system for generating the terminal capability description information provided by the embodiment of the present invention, after detecting that the self-test triggering condition occurs, the terminal performs self-test on its own terminal capability, and obtains its own terminal capability description information; The terminal capability information needs to be reported to the server according to the constraints, and the terminal capability description information to be reported is further determined when it is determined that the report needs to be reported. In the embodiment of the present invention, the terminal performs a self-test on the terminal, so that the terminal can immediately discover the change of its own software and hardware capabilities and the resource usage, so that the server can grasp the change of the terminal capability in real time during the interaction between the terminal and the server. The situation, in turn, supports the reasonable allocation of services between the server and the terminal, ensuring that the resources of the server and the terminal can be optimally used while ensuring that the user experience is not affected at all. DRAWINGS
图 1 为本发明第一实施例终端能力描述信息的生成方法实现流程示意 图;  1 is a schematic flow chart showing a method for generating terminal capability description information according to a first embodiment of the present invention;
图 2 为本发明第一实施例终端能力描述信息的生成系统组成结构示意 图;  2 is a schematic structural diagram of a system for generating a terminal capability description information according to a first embodiment of the present invention;
图 3 为本发明第二实施例提供的终端能力描述信息的生成方法实现流 程示意图;  3 is a schematic flowchart of a method for generating terminal capability description information according to a second embodiment of the present invention;
图 4为本发明第三实施例提供的终端能力描述信息的生成方法实现流 程示意图。 具体实施方式 FIG. 4 is a schematic flowchart of a method for generating terminal capability description information according to a third embodiment of the present invention. detailed description
下面结合附图及具体实施例对本发明实施例再作进一步详细的说明。 本发明第一实施例终端能力描述信息的生成方法实现流程如图 1所示, 包括以下步骤:  The embodiments of the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. The implementation process of the method for generating terminal capability description information in the first embodiment of the present invention is as shown in FIG. 1 , and includes the following steps:
步骤 101 : 终端检测到自检触发条件发生后,对自身的终端能力进行自 检, 获取自身的终端能力描述信息;  Step 101: After detecting that the self-test triggering condition occurs, the terminal performs self-checking on its own terminal capability to obtain its own terminal capability description information.
这里, 所述自检触发条件包括: 终端开机; 用户切换操作系统; 用户 向终端上添加热插拔器件、 配件和外设等; 用户在终端上卸载热插拔器件、 配件和外设等; 用户在终端上安装或卸载应用软件、 驱动程序等; 用户恢 复出厂设置; 到达事先设定的能力扫描时间点; 新的业务开始运行; 业务 运行完成; 业务运行终止、 以及任何可能导致终端能力发生变化的情况。  Here, the self-test triggering condition includes: the terminal is powered on; the user switches the operating system; the user adds hot plugging devices, accessories, peripherals, etc. to the terminal; the user unloads the hot plugging device, accessories, peripherals, etc. on the terminal; The user installs or uninstalls the application software, drivers, etc. on the terminal; the user restores the factory settings; reaches the pre-set capability scanning time point; the new service starts running; the business operation is completed; the business operation is terminated, and any possible terminal capacity occurs. The situation of change.
优选的, 终端可预先设置与具体业务有关的自检触发条件, 屏蔽与业 务无关的自检触发条件, 当相关的自检触发条件发生后, 终端对自身的终 端能力进行自检, 获取自身的终端能力描述信息。  Preferably, the terminal may preset a self-test trigger condition related to a specific service, and shield a self-test trigger condition unrelated to the service. After the relevant self-test trigger condition occurs, the terminal performs a self-test on its own terminal capability to obtain its own Terminal capability description information.
这里, 所述终端能力描述信息包括: 终端原始硬件能力描述信息、 终 端基础硬件能力描述信息、 终端软件能力描述信息和终端资源使用情况; 其中, 所述终端原始硬件能力描述信息为终端所有硬件的全部初始能 力信息; 所述终端基础硬件能力描述信息为在正在运行的操作系统下, 终 端所有硬件的能力描述信息; 所述终端软件能力描述信息为在终端正在运 行的操作系统下, 终端上安装的所有应用软件的全部信息; 所述终端资源 使用情况为在终端对自身的终端能力进行自检时, 终端基础硬件能力和终 端软件能力的全部使用信息。  Here, the terminal capability description information includes: a terminal original hardware capability description information, a terminal basic hardware capability description information, a terminal software capability description information, and a terminal resource usage situation; wherein, the terminal original hardware capability description information is all hardware of the terminal All the initial capability information; the terminal basic hardware capability description information is capability description information of all hardware of the terminal under the running operating system; the terminal software capability description information is installed on the terminal under the operating system that the terminal is running. All the information of all the application software; the terminal resource usage is all the usage information of the terminal basic hardware capability and the terminal software capability when the terminal performs self-test on its own terminal capability.
步骤 102: 当终端发起业务时, 终端根据各约束条件确定是否需要向服 务器上报终端能力描述信息;  Step 102: When the terminal initiates the service, the terminal determines, according to the constraints, whether the terminal capability description information needs to be reported to the server.
这里, 所述约束条件包括服务器的类型、 服务器的级别、 服务器的安 全等级、 业务的类型、 业务的级别、 业务的安全等级、 业务用户的等级和 终端类型等等; Here, the constraints include the type of the server, the level of the server, and the security of the server. Full level, type of business, level of business, level of security of the business, level of business users, type of terminal, etc.;
其中, 所述约束条件由服务器根据具体业务确定, 由服务器通过消息 发送给终端, 或预先设置到终端; 终端根据相关的约束条件进行处理, 确 定是否需要向服务器上报终端能力描述信息;  The constraint condition is determined by the server according to the specific service, and is sent by the server to the terminal by using a message, or is preset to the terminal; the terminal processes according to the relevant constraint condition, and determines whether the terminal capability description information needs to be reported to the server;
具体的, 终端综合评估服务器和业务等约束条件确定是否需要上报终 端能力信息, 例如: 服务器类别可以是 "业务服务器" 或 "鉴权服务器", 若服务器类别为 "业务服务器", 则终端需要向服务器上报终端能力信息, 因为业务服务器会实时收到终端发起业务的申请, 业务服务器需要实时掌 握各终端的能力改变和资源使用情况, 才能保证业务在服务器和终端之间 的合理分配; 若服务器类别为 "鉴权服务器", 则终端不需要向服务器上报 终端能力信息;  Specifically, the terminal comprehensively evaluates the constraints of the server and the service to determine whether the terminal capability information needs to be reported. For example, the server category may be a “service server” or an “authentication server”. If the server category is a “service server”, the terminal needs to The server reports the terminal capability information. Because the service server receives the application for the terminal to initiate the service in real time, the service server needs to know the capability change and resource usage of each terminal in real time, so as to ensure the reasonable allocation of the service between the server and the terminal. The "authentication server", the terminal does not need to report the terminal capability information to the server;
其中, 所述服务器的类型、 服务器的级别和服务器的安全等级在终端 发起业务前可预先获知;  The type of the server, the level of the server, and the security level of the server may be known in advance before the terminal initiates the service;
这里, 终端根据终端能力描述信息的优先级选择上报方式给服务器, 本发明实施例中, 终端能力描述信息按优先级可分为三种类型: 基本能力 信息、 第一动态能力信息和第二动态能力信息; 其中,  Here, the terminal selects the reporting manner according to the priority of the terminal capability description information to the server. In the embodiment of the present invention, the terminal capability description information may be classified into three types according to the priority: basic capability information, first dynamic capability information, and second dynamic Capability information; among them,
所述基本能力信息为终端原始硬件能力描述信息;  The basic capability information is terminal original hardware capability description information;
所述第一动态能力信息为对业务的运行或业务的申请产生影响, 但受 约束条件控制的终端基础硬件和软件能力描述信息;  The first dynamic capability information is a terminal basic hardware and software capability description information that affects an operation of a service or an application of a service, but is controlled by a constraint condition;
所述第二动态能力信息为对业务的运行或业务的申请产生影响的突发 的需实时上报的终端能力描述信息。  The second dynamic capability information is a burst of terminal capability description information that needs to be reported in real time, which affects the operation of the service or the application of the service.
优选的, 服务器可根据具体业务, 确定对应的上报机制; 终端获得服 务器对具体业务的上报机制, 确定终端能力信息的上报方式。  Preferably, the server can determine the corresponding reporting mechanism according to the specific service; the terminal obtains the reporting mechanism of the specific service by the server, and determines the reporting manner of the terminal capability information.
实际应用中, 基本能力信息一般由终端主动的一次性上报给服务器, 或者采用签约方式, 并通过门户网站输入; In practical applications, the basic capability information is generally reported to the server by the terminal. Or use the contract method and input through the portal;
具体的, 所述基本能力信息包括生产厂商、 终端类型、 终端型号、 终 端唯一标识等基础信息, 还包括 CPU、 原始内存大小、 原始硬盘大小及屏 幕分辨率等终端原始硬件能力描述信息, 基础信息和终端原始硬件能力描 述信息与业务无关且变化较少, 可以在自检触发条件为终端开机、 用户恢 复出厂设置、 或新的业务开始运行等情况下, 采用一次性上报给服务器的 方式进行, 不需要在每次发起业务或自检触发条件发生改变的情况下, 都 判定是否需要上报; 也可以通过签约的方式, 如在业务的门户网站上通过 手动输入方式进行。  Specifically, the basic capability information includes basic information such as a manufacturer, a terminal type, a terminal model, and a terminal unique identifier, and includes a description of the original hardware capability of the terminal, such as a CPU, an original memory size, a original hard disk size, and a screen resolution, and basic information. And the original hardware capability description information of the terminal is independent of the service and has little change. The self-test triggering condition is that the terminal is powered on, the user restores the factory setting, or the new service starts running, and the method is reported to the server in one time. It is not necessary to determine whether it needs to be reported every time the business is initiated or the self-test trigger condition is changed. It can also be done by means of signing, such as manually inputting on the portal of the business.
第一动态能力信息一般由终端周期性上报给服务器;  The first dynamic capability information is generally reported by the terminal to the server periodically;
具体的, 所述第一动态能力信息对业务的运行或业务的申请影响不大, 可以在自检触发条件为用户切换操作系统、 用户在终端上安装或卸载应用 软件或驱动程序等、 业务运行完成和业务运行终止等情况下, 终端采集自 身的终端能力描述信息, 并预先设定周期性上报的时间点, 如设置周期为 1 天或 1 周, 在到达上报时间点进行上报, 这样可以减少终端与服务器之间 的信息交互。  Specifically, the first dynamic capability information has little impact on the operation of the service or the application of the service, and may be in a self-test trigger condition: the user switches the operating system, and the user installs or uninstalls the application software or the driver on the terminal, and the service runs. After the completion of the service and the termination of the service, the terminal collects its own terminal capability description information and presets the time point for periodic reporting. For example, if the setting period is 1 day or 1 week, the terminal reports at the reporting time point, which can be reduced. Information exchange between the terminal and the server.
第二动态能力信息一般在终端被触发时上报给服务器, 即: 在终端能 力发生改变的同时马上上报给服务器;  The second dynamic capability information is generally reported to the server when the terminal is triggered, that is, the server is reported to the server immediately after the terminal capability changes.
具体的, 所述第二动态能力信息对业务的运行或业务的申请影响很大, 突发的终端能力的改变可能会导致业务无法运行或运行较慢等等情况, 比 如在用户向终端上添加或卸载热插拔器件、 配件和外设等自检触发条件的 情况下, 对正在运行的业务就会产生很大影响, 因此必须马上上报给服务 器, 以便于加快服务器对业务分配的调整、 切换等管理。  Specifically, the second dynamic capability information has a great impact on the operation of the service or the application of the service, and the sudden change of the terminal capability may cause the service to be inoperable or run slowly, for example, when the user adds the terminal to the terminal. Or unloading the self-test triggering conditions such as hot-swappable devices, accessories, and peripherals, it will have a great impact on the running business, so it must be reported to the server immediately, so as to speed up the server's adjustment and switching of service allocation. Wait for management.
步骤 103: 确定需要上报终端能力描述信息给服务器时, 确定所需要上 报的终端能力描述信息, 并生成待上报的终端能力描述表; 这里, 所述终端能力描述表中包括: 生产厂商、 终端类型、 终端型号、 终端唯一标识、 CPU、 内存、 硬盘、 屏幕分辨率、 支持的视频格式、 支持 的图片格式、 操作系统、 应用程序、 终端出厂能力改变标志位、 终端原始 硬件能力改变标志位、 终端基础硬件能力改变标志位、 终端软件能力改变 标志位、 能力改变记录、 原始硬件能力信息、 基础硬件能力信息、 软件能 力信息、 资源使用信息等; Step 103: Determine, when the terminal capability description information needs to be reported to the server, determine the terminal capability description information that needs to be reported, and generate a terminal capability description table to be reported; Here, the terminal capability description table includes: manufacturer, terminal type, terminal model, terminal unique identifier, CPU, memory, hard disk, screen resolution, supported video format, supported picture format, operating system, application, Terminal factory capability change flag bit, terminal original hardware capability change flag bit, terminal basic hardware capability change flag bit, terminal software capability change flag bit, capability change record, original hardware capability information, basic hardware capability information, software capability information, resource usage Information, etc.
其中, 所述终端出厂能力改变标志位用于标识自终端出厂以来, 其能 力是否发生改变; 所述终端原始硬件能力改变标志位用于标识终端原始硬 件能力是否发生改变; 所述终端基础硬件能力改变标志位用于标识终端基 础硬件能力是否发生改变; 所述终端软件能力改变标志位用于标识终端软 件能力是否发生改变; 所述能力改变记录的内容是终端每次能力改变的时 间、 改变的能力项目及参数;  The terminal factory capability change flag is used to identify whether the capability of the terminal has changed since the terminal was shipped. The terminal original hardware capability change flag is used to identify whether the original hardware capability of the terminal changes. The change flag is used to identify whether the terminal basic hardware capability changes; the terminal software capability change flag is used to identify whether the terminal software capability changes; the content of the capability change record is the time of the terminal change each time, and the change Capacity items and parameters;
其中, 所述终端能力描述表可以以一个整表的形式存储, 也可以分为 几个子表的形式存储, 每个子表分别存放不同的信息。  The terminal capability description table may be stored in the form of an entire table, or may be stored in the form of several sub-tables, each of which stores different information.
这里, 确定需要上报终端能力描述信息给服务器时, 根据约束条件确 定所需要上报的终端能力描述信息; 例如, 若发起的业务为观看一段影片, 业务的类型为观看影片, 业务的级别为高, 业务的安全等级为高, 则根据 业务的需要, 终端需要上报的能力信息包括 CPU、 内存、 屏幕分辨率和支 持的视频格式等信息, 则终端生成包括以上信息的终端能力描述表, 等待 上传给服务器;  Here, when it is determined that the terminal capability description information needs to be reported to the server, the terminal capability description information that needs to be reported is determined according to the constraint condition; for example, if the initiated service is watching a movie, the type of the service is watching the movie, and the service level is high. If the security level of the service is high, the terminal needs to report the capability information including the CPU, the memory, the screen resolution, and the supported video format according to the needs of the service. Then, the terminal generates a terminal capability description table including the above information, and waits for the upload to Server
因业务的类型种类繁多, 此处就不一一列举。  Due to the wide variety of types of business, we will not list them here.
为实现上述方法, 本发明第一实施例还提供了一种终端能力描述信息 的生成系统,如图 2所示, 所述系统包括终端 20,其中, 所述终端 20包括: 能力检测单元 21和分析单元 22; 其中,  In order to implement the above method, the first embodiment of the present invention further provides a system for generating terminal capability description information. As shown in FIG. 2, the system includes a terminal 20, where the terminal 20 includes: a capability detecting unit 21 and Analysis unit 22; wherein
所述能力检测单元 21, 配置为终端检测到自检触发条件后, 对自身的 终端能力进行自检, 获取自身的终端能力描述信息; The capability detecting unit 21 is configured to: after the terminal detects the self-test triggering condition, The terminal capability performs a self-test to obtain its own terminal capability description information;
所述分析单元 22, 配置为当终端发起业务时, 终端根据各约束条件确 定是否需要向服务器上报终端能力描述信息, 并在确定需要上报时, 确定 所需上报的终端能力描述信息。  The analyzing unit 22 is configured to: when the terminal initiates the service, the terminal determines whether the terminal capability description information needs to be reported to the server according to the constraint condition, and determines the terminal capability description information to be reported when determining the need to report.
进一步的, 所述终端 20还包括生成单元 23, 配置为在确定所需上报的 终端能力描述信息后, 根据确定上报的终端能力描述信息生成待上报的终 端能力描述表。  Further, the terminal 20 further includes a generating unit 23, configured to generate a terminal capability description table to be reported according to the determined terminal capability description information after determining the terminal capability description information that needs to be reported.
进一步的, 该终端能力描述信息的生成系统还包括服务器 24, 配置为 根据具体业务确定约束条件, 并通过消息将约束条件发送给终端, 或预先 设置到终端。  Further, the terminal capability description information generating system further includes a server 24 configured to determine a constraint according to the specific service, and send the constraint to the terminal by using a message, or preset to the terminal.
具体的, 当终端 20检测到自检触发条件发生后, 能力检测单元 21对 自身的终端能力进行自检, 获取自身的终端能力描述信息; 当终端 20发起 某项业务时, 分析单元 22根据约束条件, 分析确定是否要向服务器 24上 报终端能力信息, 并在确定需要上报时, 分析并确定所需上报的终端能力 信息; 由生成单元 23根据确定上报的终端能力描述信息生成待上报的终端 能力描述表。  Specifically, after the terminal 20 detects that the self-test triggering condition occurs, the capability detecting unit 21 performs a self-test on its own terminal capability to obtain its own terminal capability description information. When the terminal 20 initiates a certain service, the analyzing unit 22 according to the constraint The condition, the analysis determines whether the terminal capability information is to be reported to the server 24, and analyzes and determines the terminal capability information that needs to be reported when it is determined that the report needs to be reported. The generating unit 23 generates the terminal capability to be reported according to the determined terminal capability description information. Description table.
其中, 所述约束条件由服务器 24根据具体业务确定, 由服务器 24通 过消息发送给终端 20, 或预先设置到终端 20。  The constraint condition is determined by the server 24 according to the specific service, sent by the server 24 to the terminal 20 through a message, or preset to the terminal 20.
图 3 为本发明第二实施例提供的终端能力描述方法实现流程示意图, 在该实施例中, 终端为一台笔记本电脑, 该电脑的生产厂商为 A, 电脑型 号为 B40, 终端标识为 9377502589, 该笔记本电脑的出厂配置内存为 2G Byte, 终端用户又自行添加了 2G Byte内存。  3 is a schematic flowchart of a method for implementing a terminal capability description method according to a second embodiment of the present invention. In this embodiment, the terminal is a notebook computer, the manufacturer of the computer is A, the computer model is B40, and the terminal identifier is 9737502589. The notebook's factory configuration memory is 2G Byte, and the end user has added 2G Byte memory.
本发明第二实施例实现终端能力描述方法如图 3所示, 包括以下步骤: 步骤 301 : 开机后, 终端对自身硬件能力进行自检;  As shown in FIG. 3, the method for implementing terminal capability description in the second embodiment of the present invention includes the following steps: Step 301: After booting, the terminal performs self-test on its own hardware capability;
这里, 所述终端对自身硬件能力进行自检之前, 终端自身能力信息如 表 1和表 2所示。 其中, 表 1为电脑终端能力改变前的终端能力描述表, 描述了终端所有的原始硬件能力信息, 包括生产厂商、 终端类型、 终端型 号、 终端标识、 CPU、 内存、 硬盘和屏幕分辨率等等; 表 2 为电脑终端能 力改变前的终端能力描述表, 描述了终端所有的基础硬件和软件能力信息, 包括 CPU、 内存、 硬盘、 屏幕分辨率、 操作系统、 应用程序、 支持的视频 格式、 支持的图片格式、 终端原始硬件能力改变标志位、 终端基础硬件能 力改变标志位、 终端软件能力改变标志位和能力改变记录等等。 Here, before the terminal performs self-test on its own hardware capability, the terminal itself has capability information such as Table 1 and Table 2 are shown. Table 1 is a terminal capability description table before the computer terminal capability change, and describes all the original hardware capability information of the terminal, including the manufacturer, terminal type, terminal model, terminal identifier, CPU, memory, hard disk, screen resolution, and the like. Table 2 shows the terminal capability description table before the computer terminal capability change, and describes all the basic hardware and software capability information of the terminal, including CPU, memory, hard disk, screen resolution, operating system, application, supported video format, and support. The picture format, the terminal original hardware capability change flag bit, the terminal basic hardware capability change flag bit, the terminal software capability change flag bit, and the capability change record, and the like.
Figure imgf000012_0001
Figure imgf000012_0001
表 1  Table 1
CPU Intel i5 2.4GHz  CPU Intel i5 2.4GHz
内存 2G Byte  Memory 2G Byte
硬盘 东芝 MK5055GSXF  Hard disk Toshiba MK5055GSXF
屏幕分辨率 1440 900  Screen resolution 1440 900
操作系统 Windows7 32位  Operating system Windows7 32-bit
Microsoft office  Microsoft office
应用程序 Louts Notes  Application Louts Notes
支持的视频格式 WMV MPEG4 支持的图片格式 BMP JPEG Supported video formats WMV MPEG4 Supported image formats BMP JPEG
终端原始硬件能力改变 否  Terminal raw hardware capability changed
终端基础硬件能力改变 否  Terminal basic hardware capability changes
终端软件能力改变 否  Terminal software capability changes
能力改变记录 表 2  Capacity change record Table 2
步骤 302: 终端自检后发现内存大小发生变化, 则将内存信息改为 4G Step 302: After the terminal detects that the memory size changes after the self-test, the memory information is changed to 4G.
Byte; Byte;
这里, 表 3为终端能力改变后的终端能力描述表, 如表 3所示, 除内 存外, 其他终端能力未发生改变, 则保持终端能力描述表的相应信息不变。 由于硬件自检程序自检后发现内存由 2G Byte变为 4G Byte, 则将内存信息 标志位由原出厂配置的 2G Byte改为 4G Byte。 Here, Table 3 is a terminal capability description table after the terminal capability is changed. As shown in Table 3, except for the memory, the other terminal capabilities are unchanged, and the corresponding information of the terminal capability description table is kept unchanged. Since the hardware self-test program finds that the memory changes from 2G Byte to 4G Byte after self-test, the memory information flag is changed from the original factory-configured 2G Byte to 4G Byte.
Figure imgf000013_0001
Figure imgf000013_0001
表 3  table 3
步骤 303: 操作系统启动成功后, 终端对自身能力进行自检, 发现内存 大小发生变化, 但只有 3.25G Byte内存可以寻址使用;  Step 303: After the operating system is successfully started, the terminal performs a self-test on its own capability, and finds that the memory size changes, but only 3.25G Byte memory can be used for addressing;
这里, 由于操作系统运行占用了一部分内存, 因此当终端对自身能力 进行自检时, 原本 4G Byte的内存大小显示只有 3.25G Byte可以寻址使用。 步骤 304: 终端更新自检结果, 同时记录本次能力改变的详细情况; 这里, 表 4为电脑终端能力改变后的终端能力描述表, 如表 4所示, 终端可用硬件信息除内存外均未发生变化, 则除内存外其他可用硬件能力 信息不变, 内存标志位由出厂配置的 2G Byte改为 3.25G Byte; 终端原始硬 件能力改变标志位、 终端基础硬件能力改变标志位和终端软件能力改变标 志位由原来的 "否" 改为 "是", 同时在能力改变记录标志位添加终端每次 能力改变的时间、 改变的能力项目及改变的参数等等, 如添加 "2008年 2 月 5日 09:15,原始内存由 2G Byte变为 4G Byte,可用内存由 2G Byte变为 3.25G Byte,,。 Here, since the operating system runs up a part of the memory, when the terminal is capable of itself When performing a self-test, the original 4G Byte memory size shows that only 3.25G Byte can be addressed. Step 304: The terminal updates the self-test result, and records the details of the capability change at the same time. Here, Table 4 shows the terminal capability description table after the computer terminal capability is changed. As shown in Table 4, the terminal can use the hardware information except the memory. If there is a change, the available hardware capability information except the memory is unchanged, and the memory flag is changed from the factory-configured 2G Byte to 3.25G Byte; the terminal original hardware capability change flag bit, the terminal basic hardware capability change flag bit, and the terminal software capability change. The flag is changed from "No" to "Yes". At the same time, the ability change record flag is added to the time of each capability change of the terminal, the changed capability item and the changed parameters, etc., such as adding "February 5, 2008 At 09:15, the original memory is changed from 2G Byte to 4G Byte, and the available memory is changed from 2G Byte to 3.25G Byte.
CPU Intel i5 2.4GHz  CPU Intel i5 2.4GHz
内存 3.25G Byte 硬盘 东芝 MK5055GSXF 屏幕分辨率 1440 900 操作系统 Windows7 32位  Memory 3.25G Byte Hard Drive Toshiba MK5055GSXF Screen Resolution 1440 900 Operating System Windows7 32-bit
Microsoft office  Microsoft office
应用程序 Louts Notes 支持的视频格式 WMV MPEG4 支持的图片格式 BMP JPEG 终端原始硬件能力改变 是  Application Louts Notes Supported video formats WMV MPEG4 supported image formats BMP JPEG terminal raw hardware capabilities change Yes
终端基础硬件能力改变 是  Terminal basic hardware capability change
终端软件能力改变 是  Terminal software capability change
2008年 2月 5日 09:15  February 5, 2008 09:15
原始内存由 2G Byte变为  The original memory is changed from 2G Byte
能力改变记录 4G Byte 可用内存由 2G Byte变为 Ability change record 4G Byte Available memory changed from 2G Byte
3.25G Byte 表 4  3.25G Byte Table 4
步骤 305: 终端发起某项业务, 确认服务器类别为 "业务服务器", 月良 务器级别为 "高", 确认终端向服务器上报内存大小改变信息;  Step 305: The terminal initiates a service, confirms that the server type is "service server", and the monthly server level is "high", and confirms that the terminal reports the memory size change information to the server;
这里, 所述服务器类别为 "业务服务器", 服务器级别为 "高" 由服务 器根据具体业务而定, 并通过消息发送给终端或预先设置在终端中, 假定 Here, the server type is "business server", and the server level is "high", which is determined by the server according to a specific service, and is sent to the terminal through a message or preset in the terminal, assuming
"业务服务器" 需要实时了解终端内存的变化情况, 业务类别为观看一个 视频, 业务级别为高, 则终端根据服务器类别、 服务器级别、 业务类别以 及业务级别确定需要向服务器上报终端能力改变信息, 且需要上报终端的 基本信息以及内存大小改变信息。 The "service server" needs to know the change of the memory of the terminal in real time. The service category is to watch a video, and the service level is high. The terminal determines that the terminal capability change information needs to be reported to the server according to the server type, the server level, the service category, and the service level, and Basic information about the terminal and memory size change information need to be reported.
步骤 306: 终端生成待上报的终端能力描述表;  Step 306: The terminal generates a terminal capability description table to be reported.
这里, 所述终端能力描述表记录终端的基本信息以及终端内存大小改 变的信息, 其他终端能力描述信息可以不记录在所述终端能力描述表中。  Here, the terminal capability description table records basic information of the terminal and information about changes in the memory size of the terminal, and other terminal capability description information may not be recorded in the terminal capability description table.
图 4为本发明第三实施例提供的终端能力描述方法实现流程示意图, 在该实施例中, 终端为一台 Android智能手机, 该手机的生产厂商为 MT, 手机型号为 V6700, 终端标识为 3314570002, 该手机的出厂配置随机存储 器( Random Access Memory, RAM ) 为 1G Byte, 只读存者器( Read-Only Memory, ROM ) 为 16G Byte, 之后终端用户又插入了一张 32G Byte 的 MicroSD卡。  4 is a schematic flowchart of a method for implementing a terminal capability description method according to a third embodiment of the present invention. In this embodiment, the terminal is an Android smart phone. The manufacturer of the mobile phone is MT, the mobile phone model is V6700, and the terminal identifier is 3314570002. The phone's factory-configured random access memory (RAM) is 1G Byte, and the Read-Only Memory (ROM) is 16G Byte. After that, the terminal user inserts a 32G Byte MicroSD card.
本发明第三实施例实现终端能力描述方法如图 4所示, 包括以下步骤: 步骤 401 : 终端对自身能力进行自检, 发现终端添加了一张 MicroSD 卡, 容量是 32G Byte, 已经成功驱动;  As shown in FIG. 4, the method for implementing the terminal capability of the third embodiment of the present invention includes the following steps: Step 401: The terminal performs a self-test on its own capability, and finds that the terminal adds a MicroSD card with a capacity of 32 G Byte, which has been successfully driven;
这里, 所述终端对终端能力进行自检之前, 终端能力描述信息如表 5 所示; 其中表 5描述了手机所有原始硬件能力信息, 包括生产厂商、 终端 类型、 终端型号、 终端标识、 CPU、 RAM, ROM, 屏幕分辨率等等; 表 5 还描述了手机上所有的基础硬件和软件能力信息, 包括 CPU、 RAM, ROM, 屏幕分辨率、 操作系统、 应用程序、 支持的视频格式、 支持的图片格式、 终端原始硬件能力改变标志位、 终端基础硬件能力改变标志位、 终端软件 能力改变标志位和能力改变记录等等。 Here, before the terminal performs self-test on the terminal capability, the terminal capability description information is as shown in Table 5; wherein Table 5 describes all original hardware capability information of the mobile phone, including the manufacturer and the terminal. Type, terminal model, terminal identification, CPU, RAM, ROM, screen resolution, etc. Table 5 also describes all the basic hardware and software capabilities on the phone, including CPU, RAM, ROM, screen resolution, operating system, Application, supported video format, supported picture format, terminal original hardware capability change flag bit, terminal basic hardware capability change flag bit, terminal software capability change flag bit and capability change record, and the like.
Figure imgf000016_0001
Figure imgf000016_0001
表 5  table 5
步骤 402: 终端更新自检结果, 添加 MicroSD卡信息, 并记录本次能 力改变的详细情况; 这里, 表 6为手机终端能力改变后的终端能力描述表, 如表 6所示, 终端可用硬件信息除添加了 MicroSD卡外均未发生变化, 则除 MicroSD卡 外其他可用硬件能力信息不变, 添加 MicroSD卡标志位 32G Byte; 终端原 始硬件能力改变标志位、 终端基础硬件能力改变标志位和终端软件能力改 变标志位由原来的 "否" 改为 "是", 同时在能力改变记录标志位添加终端 每次能力改变的时间、 改变的能力项目及改变的参数等等, 如添加 "2010 年 5月 28日 19:35, 增加 MicroSD卡一张, 大小为 32G Byte"。 Step 402: The terminal updates the self-test result, adds the MicroSD card information, and records the details of the capability change. Here, Table 6 is a terminal capability description table after the mobile terminal capability is changed. As shown in Table 6, the hardware information of the terminal does not change except when the MicroSD card is added, and the available hardware capability information except the MicroSD card remains unchanged. Add the MicroSD card flag to 32G Byte; the terminal raw hardware capability change flag, the terminal basic hardware capability change flag, and the terminal software capability change flag are changed from "No" to "Yes", and the capability change record flag is added. The time each time the terminal changes its capabilities, the changed capability items, and the changed parameters, etc., such as adding "19:35 on May 28, 2010, adding a MicroSD card, the size is 32G Byte".
生产厂商 MT  Manufacturer MT
终端类型 手机  Terminal type mobile phone
终端型号 V6700  Terminal model V6700
终端标识 3314570002  Terminal identification 3314570002
CPU Qualcomm MSM8255  CPU Qualcomm MSM8255
RAM 1G Byte  RAM 1G Byte
ROM 16G Byte  ROM 16G Byte
MicroSD 32G Byte 屏幕分辨率 800 χ 480 操作系统 Android 4.0  MicroSD 32G Byte screen resolution 800 χ 480 operating system Android 4.0
我狂赛车  I am crazy racing
应用程序 谷歌地图  Application Google Maps
支持的视频格式 WMV MPEG4 支持的图片格式 BMP JPEG 终端原始硬件能力改变 是  Supported video formats WMV MPEG4 supported image formats BMP JPEG terminal raw hardware capabilities change Yes
终端基础硬件能力改变 是  Terminal basic hardware capability change
终端软件能力改变 是  Terminal software capability change
2010年 5月 28日 19:35 能力改变记录 增加 MicroSD卡一张, 大 May 28, 2010 19:35 Capacity change record increases MicroSD card one, large
小为 32G Byte 表 6  Small for 32G Byte Table 6
步骤 403 : 终端发起某项业务, 确认服务器类别为 "鉴权服务器", 则 确认不需要向服务器上报外部存储大小改变的信息;  Step 403: The terminal initiates a certain service, and confirms that the server type is an "authentication server", and confirms that the information of the external storage size change is not required to be reported to the server;
这里, 所述服务器类别为 "鉴权服务器" 由服务器根据具体业务而定, 并通过消息发送给终端或预先设置在终端中, 因为 "鉴权服务器" 并不需 要外部存储信息, 故不需要上报, 简化了终端与服务器之间的处理流程及 传输带宽, 因此终端根据服务器类别确定不需要向服务器上报终端能力信 息。  Here, the server category is "authentication server", which is determined by the server according to a specific service, and is sent to the terminal through a message or preset in the terminal. Because the "authentication server" does not need external storage information, it does not need to be reported. The processing flow and the transmission bandwidth between the terminal and the server are simplified. Therefore, the terminal determines that the terminal capability information is not required to be reported to the server according to the server category.
步骤 404: 终端不向服务器上报终端能力信息。  Step 404: The terminal does not report the terminal capability information to the server.
以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的保 护范围。 凡在本发明的精神和范围之内所作的任何修改、 等同替换和改进 等, 均包含在本发明的保护范围之内。 工业实用性  The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and scope of the invention are intended to be included within the scope of the invention. Industrial applicability
本发明实施例通过终端能力确认程序对终端进行自检, 使终端能够即 时发现自身软硬件能力的改变和资源使用情况, 从而在终端和服务器交互 的过程中, 能够使服务器实时掌握终端能力的变化情况, 进而支持业务在 服务器和终端之间的合理分配, 保证服务器和终端的资源都能达到最优使 用, 同时又确保用户的体验不受任何影响。  In the embodiment of the present invention, the terminal performs a self-test on the terminal, so that the terminal can immediately discover the change of its own software and hardware capabilities and the resource usage, so that the server can grasp the change of the terminal capability in real time during the interaction between the terminal and the server. The situation, in turn, supports the reasonable allocation of services between the server and the terminal, ensuring that the resources of the server and the terminal can be optimally used while ensuring that the user experience is not affected at all.

Claims

权利要求书 claims
1、 一种终端能力描述信息的生成方法, 其中, 该方法包括: 终端检测到自检触发条件发生后, 对自身的终端能力进行自检, 获取 自身的终端能力描述信息; 1. A method for generating terminal capability description information, wherein the method includes: after the terminal detects the occurrence of a self-test trigger condition, it performs self-test on its own terminal capability and obtains its own terminal capability description information;
当终端发起业务时, 终端根据各约束条件确定是否需要向服务器上报 终端能力描述信息, 并在确定需要上报时, 确定所需上报的终端能力描述 信息。 When the terminal initiates a service, the terminal determines whether it needs to report terminal capability description information to the server based on each constraint condition, and when it is determined that reporting is needed, determines the terminal capability description information that needs to be reported.
2、 根据权利要求 1所述的方法, 其中, 该方法还包括: 2. The method according to claim 1, wherein the method further includes:
确定所需上报的终端能力描述信息后, 根据确定上报的终端能力描述 信息生成待上报的终端能力描述表。 After determining the terminal capability description information that needs to be reported, a terminal capability description table to be reported is generated based on the terminal capability description information determined to be reported.
3、 根据权利要求 1所述的方法, 其中, 所述约束条件由服务器根据具 体业务确定, 由服务器通过消息发送给终端, 或预先设置到终端。 3. The method according to claim 1, wherein the constraints are determined by the server according to specific services, sent by the server to the terminal through a message, or preset to the terminal.
4、 根据权利要求 1、 2或 3所述的方法, 其中, 所述约束条件包括: 服务器的类型、 服务器的级别、 服务器的安全等级、 业务的类型、 业务的 级别、 业务的安全等级、 业务用户的等级和终端类型。 4. The method according to claim 1, 2 or 3, wherein the constraints include: server type, server level, server security level, service type, service level, service security level, service The user's level and terminal type.
5、 根据权利要求 1所述的方法, 其中, 所述自检触发条件包括终端开 机、 用户切换操作系统、 用户向终端上添加或卸载热插拔器件、 配件和外 设、 用户在终端上安装或卸载应用软件、 驱动程序、 用户恢复出厂设置、 到达事先设定的能力扫描时间点、 新的业务开始运行、 业务运行完成、 业 务运行终止、 以及任何导致终端能力发生变化的情况。 5. The method according to claim 1, wherein the self-test triggering conditions include the terminal turning on, the user switching the operating system, the user adding or uninstalling hot-swappable devices, accessories and peripherals to the terminal, and the user installing the terminal on the terminal. Or uninstall application software, drivers, user restore factory settings, reach the preset capability scanning time point, new business starts running, business running is completed, business running is terminated, and any situation that causes the terminal capabilities to change.
6、 根据权利要求 1或 2所述的方法, 其中, 所述终端能力描述信息包 括: 终端原始硬件能力描述信息、 终端基础硬件能力描述信息、 终端软件 能力描述信息和终端资源使用情况。 6. The method according to claim 1 or 2, wherein the terminal capability description information includes: terminal original hardware capability description information, terminal basic hardware capability description information, terminal software capability description information and terminal resource usage.
7、 根据权利要求 1或 2所述的方法, 其中, 所述终端能力描述信息按 优先级分为: 基本能力信息、 第一动态能力信息和第二动态能力信息; 所述基本能力信息为终端原始硬件能力描述信息; 7. The method according to claim 1 or 2, wherein the terminal capability description information is divided into: basic capability information, first dynamic capability information and second dynamic capability information according to priority; The basic capability information is the terminal's original hardware capability description information;
所述第一动态能力信息为对业务的运行或业务的申请产生影响, 但受 约束条件控制的终端基础硬件和软件能力描述信息; The first dynamic capability information is the basic hardware and software capability description information of the terminal that affects the operation of the service or the application for the service but is controlled by constraints;
所述第二动态能力信息为对业务的运行或业务的申请产生影响的突发 的需实时上报的终端能力描述信息。 The second dynamic capability information is sudden terminal capability description information that has an impact on service operation or service application and needs to be reported in real time.
8、 根据权利要求 7所述的方法, 其中, 8. The method according to claim 7, wherein,
所述基本能力信息由终端主动一次性上报给服务器; 或采用签约方式, 并通过门户网站输入; The basic capability information is proactively reported to the server by the terminal at one time; or it is signed through a contract and entered through the portal;
所述第一动态能力信息由终端周期性上报给服务器; The first dynamic capability information is periodically reported by the terminal to the server;
所述第二动态能力信息由终端被触发时上报给服务器。 The second dynamic capability information is reported to the server when the terminal is triggered.
9、 根据权利要求 2所述的方法, 其中, 所述终端能力描述表包括: 生 产厂商、 终端类型、 终端型号、 终端唯一标识、 CPU、 内存、 硬盘、 屏幕 分辨率、 支持的视频格式、 支持的图片格式、 操作系统、 应用程序、 终端 出厂能力改变标志位、 终端原始硬件能力改变标志位、 终端基础硬件能力 改变标志位、 终端基础软件能力改变标志位、 能力改变记录、 原始硬件能 力信息、 基础硬件能力信息、 基础软件能力信息和资源使用信息。 9. The method according to claim 2, wherein the terminal capability description table includes: manufacturer, terminal type, terminal model, terminal unique identifier, CPU, memory, hard disk, screen resolution, supported video format, supported picture format, operating system, application program, terminal factory capability change flag, terminal original hardware capability change flag, terminal basic hardware capability change flag, terminal basic software capability change flag, capability change record, original hardware capability information, Basic hardware capability information, basic software capability information and resource usage information.
10、 一种终端能力描述信息的生成系统, 所述系统包括终端, 其中, 所述终端包括: 能力检测单元和分析单元; 10. A system for generating terminal capability description information, the system includes a terminal, wherein the terminal includes: a capability detection unit and an analysis unit;
所述能力检测单元, 配置为在终端检测到自检触发条件后, 对自身的 终端能力进行自检, 获取自身的终端能力描述信息; The capability detection unit is configured to perform self-test on its own terminal capability and obtain its own terminal capability description information after the terminal detects the self-test triggering condition;
所述分析单元, 配置为当终端发起业务时, 终端根据各约束条件确定 是否需要向服务器上报终端能力描述信息, 并在确定需要上报时, 确定所 需上报的终端能力描述信息。 The analysis unit is configured so that when the terminal initiates a service, the terminal determines whether it needs to report terminal capability description information to the server according to each constraint condition, and when it is determined that reporting is required, determines the terminal capability description information that needs to be reported.
11、 根据权利要求 10所述的系统, 其中, 所述终端还包括生成单元, 配置为在确定所需上报的终端能力描述信息后, 根据确定上报的终端能力 描述信息生成待上报的终端能力描述表。 11. The system according to claim 10, wherein the terminal further includes a generating unit configured to, after determining the terminal capability description information that needs to be reported, determine the reported terminal capability The description information generates a terminal capability description table to be reported.
12、 根据权利要求 10或 11所述的系统, 其中, 所述系统还包括服 务器, 配置为根据具体业务确定约束条件, 并通过消息将约束条件发送 给终端, 或预先设置到终端。 12. The system according to claim 10 or 11, wherein the system further includes a server configured to determine constraints according to specific services, and send the constraints to the terminal through messages, or set them to the terminal in advance.
PCT/CN2013/077828 2012-07-27 2013-06-25 Method and system for generating terminal capability description information WO2014015732A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210263994.7A CN103581236A (en) 2012-07-27 2012-07-27 Method and system for generating terminal capability description information
CN201210263994.7 2012-07-27

Publications (1)

Publication Number Publication Date
WO2014015732A1 true WO2014015732A1 (en) 2014-01-30

Family

ID=49996568

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/077828 WO2014015732A1 (en) 2012-07-27 2013-06-25 Method and system for generating terminal capability description information

Country Status (2)

Country Link
CN (1) CN103581236A (en)
WO (1) WO2014015732A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105262797A (en) * 2015-09-17 2016-01-20 北京金山安全软件有限公司 Music file loading method and related equipment
CN113867700A (en) * 2021-11-30 2021-12-31 阿里云计算有限公司 Model construction method, display platform, server and storage medium
US11451625B2 (en) 2016-10-31 2022-09-20 Telefonaktiebolaget Lm Ericsson (Publ) Deployment of actor instances
WO2023093129A1 (en) * 2021-11-23 2023-06-01 广东跃昉科技有限公司 Internet of things architecture and data processing method applied to internet of things architecture

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107426114B (en) * 2017-08-28 2021-02-12 西安万像电子科技有限公司 Resource allocation method and system
US11438123B2 (en) 2017-09-07 2022-09-06 Beijing Xiaomi Mobile Software Co., Ltd. Method and device for realizing signaling detection, user equipment, and base station
EP3678447B1 (en) * 2017-10-18 2021-11-10 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for restricting capability of terminal and network device, terminal device, and network device
CN109692392A (en) * 2019-01-30 2019-04-30 华东交通大学 A kind of musical therapy method and system based on cloud platform
CN112218286B (en) * 2019-07-09 2021-07-23 大唐移动通信设备有限公司 Terminal capability identifier mapping method, terminal capability query method and device
CN110365843B (en) * 2019-07-16 2021-06-04 Oppo广东移动通信有限公司 Parameter loading method and device, mobile terminal and storage medium
CN114222282B (en) * 2019-08-09 2023-05-09 华为技术有限公司 Method and terminal for reporting capability information
CN112040059B (en) * 2020-08-10 2022-11-11 北京小米移动软件有限公司 Application control method, application control device and storage medium
CN115706823A (en) * 2021-08-05 2023-02-17 聚好看科技股份有限公司 Service capability reporting method of terminal equipment and terminal equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090042535A1 (en) * 2007-08-08 2009-02-12 Samsung Electronics Co. Ltd. Metering data report method for drm system
CN101471871A (en) * 2007-12-28 2009-07-01 华为技术有限公司 Terminal, server, terminal management method and method for reporting terminal capability information
CN102238019A (en) * 2010-04-20 2011-11-09 中兴通讯股份有限公司 Optical network unit (ONU) and method for reporting capacity thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090042535A1 (en) * 2007-08-08 2009-02-12 Samsung Electronics Co. Ltd. Metering data report method for drm system
CN101471871A (en) * 2007-12-28 2009-07-01 华为技术有限公司 Terminal, server, terminal management method and method for reporting terminal capability information
CN102238019A (en) * 2010-04-20 2011-11-09 中兴通讯股份有限公司 Optical network unit (ONU) and method for reporting capacity thereof

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105262797A (en) * 2015-09-17 2016-01-20 北京金山安全软件有限公司 Music file loading method and related equipment
CN105262797B (en) * 2015-09-17 2019-03-15 北京金山安全软件有限公司 Music file loading method and related equipment
US11451625B2 (en) 2016-10-31 2022-09-20 Telefonaktiebolaget Lm Ericsson (Publ) Deployment of actor instances
WO2023093129A1 (en) * 2021-11-23 2023-06-01 广东跃昉科技有限公司 Internet of things architecture and data processing method applied to internet of things architecture
CN113867700A (en) * 2021-11-30 2021-12-31 阿里云计算有限公司 Model construction method, display platform, server and storage medium

Also Published As

Publication number Publication date
CN103581236A (en) 2014-02-12

Similar Documents

Publication Publication Date Title
WO2014015732A1 (en) Method and system for generating terminal capability description information
US9311109B2 (en) Synchronizing device association data among computing devices
JP2005135414A (en) Simple and dynamic configuration of network device
US10404568B2 (en) Agent manager for distributed transaction monitoring system
WO2019091344A1 (en) Method for resource allocation and related products
JP2013521584A (en) System and method for bidirectional communication and content control in a web browser
EP2754035B1 (en) Network communication and cost awareness
US11789718B2 (en) System and method for subscription based solution modification implementation
US11588909B1 (en) System and method for subscription based solution data compatibility
WO2017020458A1 (en) Plugin calling method and device
US20230222471A1 (en) System and method for subscription based solution implementation
US20150012973A1 (en) Methods and apparatus for sharing a service between multiple virtual machines
US20230221784A1 (en) System and method for power state enforced subscription management
US11671379B1 (en) System and method for subscription management using dynamically composed management entities
EP3917109A1 (en) Computer program for first terminal device performing a dpp provisioning of a communication device
US20180241841A1 (en) Information system
CN106027631B (en) Data transmission method and device
TW201428613A (en) System and method for staring a diskless workstation
US11888690B2 (en) System and method for subscription limitation enforcement in distributed system
US10520929B2 (en) Techniques for implementing universal commands in a welding or cutting system
US20150012918A1 (en) Methods and apparatus for sharing a physical device between multiple virtual machines
WO2014067368A1 (en) Method, apparatus and device for obtaining resource preview image
US20180059640A1 (en) Techniques for event driven scheduling in a welding or cutting system
CN104809122A (en) Method and device for visiting web pages
EP3917110A1 (en) Computer program for first terminal device performing a dpp provisioning of a communication device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13823627

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13823627

Country of ref document: EP

Kind code of ref document: A1