CN105847879B - A control method and apparatus of the service server program objects - Google Patents

A control method and apparatus of the service server program objects Download PDF

Info

Publication number
CN105847879B
CN105847879B CN201610154027.5A CN201610154027A CN105847879B CN 105847879 B CN105847879 B CN 105847879B CN 201610154027 A CN201610154027 A CN 201610154027A CN 105847879 B CN105847879 B CN 105847879B
Authority
CN
China
Prior art keywords
target
channel
data
program
service
Prior art date
Application number
CN201610154027.5A
Other languages
Chinese (zh)
Other versions
CN105847879A (en
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 广州盈可视电子科技有限公司
Priority to CN201610154027.5A priority Critical patent/CN105847879B/en
Publication of CN105847879A publication Critical patent/CN105847879A/en
Application granted granted Critical
Publication of CN105847879B publication Critical patent/CN105847879B/en

Links

Abstract

本申请实施例提供了种服务器的服务程序对象的控制方法,包括:在接入服务器时,接收第二服务程序对象提供的视频流数据;对视频流数据解码,获得视频帧图像;从视频帧图像中按第预置规则提取第目标数据;从视频帧图像中按第二预置规则提取第二目标数据;判断第目标数据是否与第二目标数据匹配;当第目标数据与第二目标数据匹配时,开放第服务程序对象的使用权限控制。 Example embodiments of the present application provides a method for controlling the service server program object types, comprising: when the access server, receiving a second service program provided by the video stream data objects; decode the video data stream, a video frame image is obtained; from the video frame extraction of the image by a preset rule object data; extracting certain second data at a second predetermined rule from the video frame image; determining whether the first target data matches the second target; when the first data and the second target object data when matched, the usage rights first open service control program object. 本申请实施例通过采用由服务器提供的图像中的特定数据作为验证程序的验证码,只有当验证程序程序验证成功时才开放流媒体服务程序的使用权限控制。 Embodiments of the present application by using the specific data of the image provided by the server as the authentication code verification procedure, only when the authentication is successful when a program verification program permissions open streaming service program control. 采用视频帧图像中的数据作为验证码,具有很好的伪装效果,不易被模仿破解,提高了服务器中流媒体服务程序的保密性。 Using the data of the video frame image as the authentication code, has good camouflage effect, it can not easily be imitated cracks, improving the confidentiality of the streaming media server service program.

Description

一种服务器的服务程序对象的控制方法和装置 A control method and apparatus of the service server program objects

技术领域 FIELD

[0001] 本申请涉及服务器技术领域,特别是涉及一种服务器的服务程序对象的控制方法和一种服务器的服务程序对象的控制装置。 [0001] Technical Field The present application relates to a server, in particular the control means of the service control method and program objects a server-server service relates to a program object.

背景技术 Background technique

[0002] 在视频直播、录播过程中,摄像头将采集到的视频流数据发送到流媒体服务器中, 由流媒体服务器将视频流数据发送到用户的终端。 Transmitting [0002] In the video broadcast, recording and broadcasting process, the camera will capture the video stream to the stream media server, the stream media server transmits the stream data to the user terminal.

[0003] 但是,目前许多流媒体服务器都没有设置保护程序,或仅设置了相对简单的、容易被破解的保护程序,例如,与本地程序进行加密通讯的方法传统,保护程序没有进行伪装处理,易被模仿破解,保密性不高。 [0003] However, there are many streaming media server are not set saver, or only provided a relatively simple, easy to be cracked protected program, e.g., a method for encrypted communication with the local application of traditional, protected program is not camouflage process, crack easily imitate, confidentiality is not high. 这些安全性不高流媒体服务器中的数据将很容易被人修改或盗取。 These data security is not high streaming media server will easily be modified or stolen people. 一旦流媒体服务器中的数据丢失或被修改时,将影响视频直播、录播的效果。 Once the data media server in the loss or modification of the flow, will affect the results live video taped.

[0004] 因此,本申请提出一种服务器的服务程序对象的控制方法,用以提高服务器中数据的安全性。 [0004] Accordingly, the present application proposes a control method for a service server program objects, to improve the security of the data servers.

发明内容 SUMMARY

[0005] 鉴于上述问题,提出了本申请实施例以便提供一种克服上述问题或者至少部分地解决上述问题的一种服务器的服务程序对象的控制方法和相应的一种服务器的服务程序对象的控制装置。 [0005] In view of the above problem, an embodiment of the present application to overcome the above problems or to provide a solution to at least partially control service program objects a control method of a program object service server corresponding to the above problems and a server device.

[0006] 为了解决上述问题,本申请实施例公开了一种服务器的服务程序对象的控制方法,所述服务器中至少包括:具有使用权限控制的第一服务程序对象,以及,不具有使用权限控制的第二服务程序对象,所述的方法包括: [0006] To solve the above problems, the present embodiment discloses a method for controlling the service program objects a server, said server comprising at least: a first program object using the service access control, and does not have use authority control second service program object, said method comprising:

[0007] 在接入所述服务器时,接收所述第二服务程序对象提供的视频流数据; [0007] When the access server receives the second video stream data and services provided by the object program;

[0008] 对所述视频流数据解码,获得视频帧图像; [0008] The stream data to the video decoder, video frame image is obtained;

[0009] 从所述视频帧图像中按第一预置规则提取第一目标数据; [0009] extracting the target data according to a first predetermined rule from the first video frame image;

[0010] 从所述视频帧图像中按第二预置规则提取第二目标数据; [0010] The second target data extracted by the second predetermined rule from the video frame image;

[0011] 判断所述第一目标数据是否与所述第二目标数据匹配; [0011] It is determined whether the data matches the first target and the second target data;

[0012] 当所述第一目标数据与所述第二目标数据匹配时,开放所述第一服务程序对象的使用权限控制。 [0012] When the first target and the second target data matches the data, the first open service usage rights object control program. _ _

[0013] 优选的,所述从所述视频帧图像中按第一预置规则提取第一目标数据的步骤包括: 、 、 Step [0013] Preferably, the extracting target data from the first video frame image at a first preset rule comprises:,,

[0014] 从所述视频帧图像中提取预设的第一目标像素点的R通道、G通道、B通道的值形成第一目标数据。 [0014] values ​​from the video frame image to extract a predetermined first target pixel of the R channel, G and the channel, B-channel data forming the first target.

[0015] 优选的,所述从所述视频帧图像中按第二预置规则提取第二目标数据的步骤包括: 、 、 、 / 、 Step [0015] Preferably, the extracting target data from the second frame video image at a second predetermined rule comprises:,,, /,

[0016] 从所述视频帧图像中提取预设的第二目标像素点的R通道、G通道、B通道的值形成第二目标数据。 [0016] R channel value of the second target pixel of the video frame image from a predetermined extraction, G-channel, B-channel data to form a second target.

[0017] 优选的,所述第二目标像素点的R通道、G通道、B通道的值由所述第二服务程序对象采用所述第一目标像素点的R通道、G通道、8通道的值,按预置数值转换算法计算生成。 [0017] Preferably, the second channel value R of the target pixel, G-channel, B-channel service program employed by the second channel of the first object R to the target pixel, G-channel, the channel 8 value, the value is converted according to a preset algorithm generated.

[0018] 优选的,所述判断所述第一目标数据是否与所述第二目标数据匹配的步骤包括: [0018] Preferably, the step of determining whether or not the data matches the first target and the second target data comprising:

[0019] 采用所述第一目标数据,按所述预置数值转换算法计算生成第三目标数据; [0019] using the first target data, according to the preset value into a third target data generation algorithm;

[0020] 比较所述第三目标数据是否与所述第二目标数据相同,若相同,则判定所述第一目标数据与所述第二目标数据匹配;否则判定所述第一目标数据与所述第二目标数据不匹配。 [0020] comparing the third target and the second target data is data of the same, if the same, it is determined that the first target and the second target data matches the data; otherwise, it is determined that the first target data and said second target data does not match.

[0021] 优选的,当所述第一目标像素点或第二像素点的R通道、G通道、B通道中的某个通道未被采用时,采用随机值作为该未被采用的通道的值。 [0021] Preferably, when the R channel of the first target pixel or the second pixel dots, G-channel, B channel using a channel not used as the value of the random values ​​not adopted channel .

[0022] 优选的,所述第一服务程序对象的使用权限控制为所述服务器中缺少所述第一服务程序对象的核心文件;所述第一服务程序对象的核心文件至少包括用于支持所述第一服务程序对象正常运行所必不可少的文件; [0022] Preferably, the first service program objects use permission is controlled to the first service program core file of the server object is missing; the first service program core file object comprising at least a support of the said first service program objects essential for the normal operation of a file;

[0023] 所述开放所述第一服务程序对象的使用权限控制的步骤包括: [0023] The step of opening the first service usage rights object control program comprising:

[0024] 将预置的所述第一服务程序对象的核心文件发送至所述服务器,所述服务器用于在接收到所述第一服务程序对象的核心文件后,开放所述第一服务程序对象的使用权限控制〇 [0024] The first service object to a preset program core file transmitted to the server, the server for a file after receiving the first service to the core program object, the first open service program object permissions control square

[0025] 同时,本申请还公开了一种服务器的服务程序对象的控制装置,所述服务器中至少包括:具有使用权限控制的第一服务程序对象,以及,不具有使用权限控制的第二服务程序对象,所述的装置包括: [0025] Meanwhile, the present application also discloses a control apparatus a service program object server, said server comprising at least: a first program object using the service access control, and a second service having no use authority control program object, said apparatus comprising:

[0026] 视频流数据接收模块,用于在接入所述服务器时,接收所述第二服务程序对象提供的视频流数据; [0026] The video stream data receiving module, configured to, when the access server, receiving the video stream data of the second service program provided by the object;

[0027] 视频帧图像获得模块,用于对所述视频流数据解码,获得视频帧图像; [0027] The video frame image obtaining means for decoding the video data stream to obtain video frame image;

[0028] 第一提取模块,用于从所述视频帧图像中按第一预置规则提取第一目标数据; [0028] a first extraction module for extracting a first target data in a first predetermined rule from the video frame image;

[0029] 第二提取模块,用于从所述视频帧图像中按第二预置规则提取第二目标数据; [0029] second extraction means for extracting certain second data at a second predetermined rule from the video frame image;

[0030] 判断模块,用于判断所述第一目标数据是否与所述第二目标数据匹配; [0030] determination means for determining whether the first target data matches the second target data;

[0031] 开放模块,用于当所述第一目标数据与所述第二目标数据匹配时,开放所述第一服务程序对象的使用权限控制。 [0031] open module configured to, when the first target and the second target data matches the data, using the open access control program of the first service object.

[0032] 优选的,所述第一提取模块进一步包括: [0032] Preferably, the first extraction module further comprises:

[0033]第一通道提取子模块,用于从所述视频帧图像中提取预设的第一目标像素点的R 通道、G通道、B通道的值形成第一目标数据。 [0033] The first sub-channel extraction module configured to extract the R channel from the predetermined video frame image of the first target pixel, G-channel, B-channel is formed a first value of the target data.

[0034] 优选的,所述第二提取模块进一步包括: [0034] Preferably, the second extraction module further comprises:

[0035] 第二通道提取子模块,用于从所述视频帧图像中提取预设的第二目标像素点的R 通道、G通道、B通道的值形成第二目标数据。 [0035] The second sub-channel extraction module configured to extract the R channel from the predetermined video frame image of the second target pixel, G-channel, the value of the B channel data to form a second target.

[0036] 优选的,所述第二目标像素点的R通道、G通道、B通道的值由所述第二服务程序对象采用所述第一目标像素点的R通道、G通道、B通道的值,按预置数值转换算法计算生成。 [0036] Preferably, the second channel value R of the target pixel, G-channel, B-channel service program employed by the second channel of the first object R to the target pixel, G-channel, B-channel value, the value is converted according to a preset algorithm generated. [0037] 优选的,所述判断模块进一步包括: [0037] Preferably, the determining module further comprises:

[0038]目标数据计算子模块,用于采用所述第一目标数据,按所述预置数值转换算法计算生成第三目标数据; [0038] The target data calculation sub-module, for using the first target data, according to the preset value into a third target data generation algorithm;

[0039]目标数据比较子模块,用于比较所述第三目标数据是否与所述第二目标数据相同,若相同,则判定所述第一目标数据与所述第二目标数据匹配;否则判定所述第一目标数据与所述第二目标数据不匹配。 [0039] The target data comparing sub-module for comparing whether the third target data identical to the second target data, if the same, it is determined that the first target and the second target data matches the data; otherwise determined the data does not match the first target and the second target data.

[0040] 优选的,当所述第一目标像素点或第二像素点的R通道、G通道、B通道中的某个通道未被采用时,采用随机值作为该未被采用的通道的值。 [0040] Preferably, when the R channel of the first target pixel or the second pixel dots, G-channel, B channel using a channel not used as the value of the random values ​​not adopted channel .

[0041] 优选的,所述第一服务程序对象的使用权限控制为所述服务器中缺少所述第一服务程序对象的核心文件;所述第一服务程序对象的核心文件至少包括用于支持所述第一服务程序对象正常运行所必不可少的文件; [0041] Preferably, the first service program objects use permission is controlled to the first service program core file of the server object is missing; the first service program core file object comprising at least a support of the said first service program objects essential for the normal operation of a file;

[0042] 所述开放模块进一步包括: [0042] The open module further comprises:

[0043] 核心文件发送子模块,用于将预置的所述第一服务程序对象的核心文件发送至所述服务器,所述服务器用于在接收到所述第一服务程序对象的核心文件后,开放所述第一服务程序对象的使用权限控制。 [0043] Core file sending submodule, configured to send the first service program object to a preset core file to the server, the server is configured to, after receiving the first service program core file object usage rights open the first service control program object.

[0044] 本申请实施例包括以下优点: Embodiment [0044] embodiment of the present application includes the following advantages:

[0045] 本申请实施例通过将服务器中的流媒体服务程序设置使用权限控制,采用由服务器提供的视频帧图像中的特定数据作为验证程序的验证码,只有当验证程序程序验证成功时才开放流媒体服务程序的使用权限控制。 [0045] Example embodiments of the present application by the streaming service server using the access control program is provided, using a specific video frame image data provided by the server as the authentication code verification procedure, only when the verification program when program verification successful open usage rights streaming service program control. 采用视频帧图像中的特定数据作为验证程序的验证码,具有很好的伪装效果,不易被模仿破解,提高了服务器中流媒体服务程序的保密性。 Using specific data of the video frame image as the authentication code validation procedures, has good camouflage effect, it can not easily be imitated cracks, improving the confidentiality of the streaming media server service program.

附图说明 BRIEF DESCRIPTION

[0046] 图1是本申请的一种服务器的服务程序对象的控制方法实施例1的步骤流程图; [0046] Example 1 FIG. 1 is a step of controlling the service program objects a method of the present application server flowchart;

[0047] 图2是本申请的一种服务器的服务程序对象的控制方法实施例2的步骤流程图; [0047] Example 2 Step 2 is a method for controlling the service server program objects a flowchart embodiment of the present application;

[0048] 图3是本申请实施例中生成第一目标数据的示意图; [0048] FIG. 3 is a schematic view of the present application generates first object data in the embodiment;

[0049] 图4是本申请一种服务器的服务程序对象的控制方法实施例3的步骤流程图; [0049] FIG. 4 is a step of Example 3 of the present method for controlling a server-application service program objects flowchart;

[0050] 图5是本申请的一种服务器的服务程序对象的控制装置实施例的结构框图。 [0050] FIG. 5 is a block diagram showing an embodiment of a control apparatus of a server service program objects of the present application.

具体实施方式 Detailed ways

[0051] 为使本申请的上述目的、特征和优点能够更加明显易懂,下面结合附图和具体实施方式对本申请作进一步详细的说明。 [0051] The above object of the present application, features and advantages can be more fully understood in conjunction with the accompanying drawings and the following specific embodiments of the present application will be further described in detail.

[0052] 本申请实施例的核心构思之一在于,通过将服务器中的流媒体服务程序设置使用权限控制,采用由服务器提供视的视频帧图像中的特定数据作为验证程序的验证码,只有当验证程序程序验证成功时才开放流媒体服务程序的使用权限控制。 [0052] The core concept of one embodiment of the present application example is directed by the streaming service server using the access control program is provided using a video frame image provided by the server depending on the specific data as the verification program codes, only when verification procedures to verify the success of the program when open permissions streaming service program control.

[0053] 参照图1,示出了本申请的一种服务器的服务程序对象的控制方法实施例1的步骤流程图,所述服务器中至少包括:具有使用权限控制的第一服务程序对象,以及,不具有使用权限控制的第二服务程序对象,所述的方法具体可以包括如下步骤: [0053] Referring to FIG. 1, illustrating a control method of the present application service program objects a server procedure of Example 1 is a flowchart embodiment, the server includes at least: a first program object using the service access control, and not having to use a second service program object access control, the method may specifically include the following steps:

[0054]步骤101,在接入所述服务器时,接收所述第二服务程序对象提供的视频流数据; [0055]第一服务程序对象具体是提供流媒体服务的服务程序,第二服务程序对象具体是提供视频流数据的服务程序。 [0054] Step 101, when the access server, receiving the video stream data provided by the second service program object; [0055] The first service program to provide a service program objects particularly streaming service, a second service program objects specifically to provide video streaming data service program. 服务程序是指安装在服务器中用于提供特定功能的程序。 Service program refers to the installation program on the server to provide a specific function. 一般而言,安装有流媒体服务程序的服务器可以称为流媒体服务器。 In general, the installed server streaming service program can be called a streaming media server.

[0056] 在本申请实施例中,通过外部接入的验证程序对提供流媒体服务的第一服务程序对象的使用权限进行控制。 [0056] In the embodiment of the present application, control service use authority of the first program object to provide streaming service access to the external validator. 验证程序可以安装在可移动的设备中,类似U盾。 Verify program can be installed on a movable device, like U shield. 每当需要使用服务器的流媒体服务程序时,都需要接入验证程序来控制流媒体服务程序的使用权限。 Whenever you need to use streaming services application server, you need access rights verification procedures to control the use of streaming media service program.

[0057] 步骤102,对所述视频流数据解码,获得视频帧图像; [0057] Step 102, the data decoding the video stream to obtain video frame image;

[0058] 当验证程序接入服务器时,从不具有使用权限控制的第二服务程序对象中获取按预设规则生成的视频帧数据。 [0058] When the authentication program access server, the second service program object not having use authority controlled by generating a preset rule acquired video frame data. 视频帧数据中的各个视频帧图像都预先设置有作为验证码的第一目标数据和第二目标数据。 Each video frame image in the video frame data are set in advance as the authentication code with a first target data and the second target data.

[0059] 步骤103,从所述视频帧图像中按第一预置规则提取第一目标数据; [0059] Step 103, the first target data by extracting a first predetermined rule from the video frame image;

[0060]验证程序按第一预置规则提取视频帧图像中预先设置的第一目标数据。 [0060] The authentication program extracts the first frame image in the video object data previously set in a first predetermined rule.

[0061] 步骤104,从所述视频帧图像中按第二预置规则提取第二目标数据; [0061] Step 104, the second target data extracted by the second predetermined rule from the video frame image;

[0062] 验证程序按第二预置规则提取视频帧图像中预先设置的第二目标数据 [0062] The second verification process to extract target video frame image data preset according to a second predetermined rule

[0063] 步骤105,判断所述第一目标数据是否与所述第二目标数据匹配; [0063] Step 105, determining whether the first target data matches the second target data;

[0064] 验证程序判断第一目标数据是否与第二目标数据匹配。 [0064] The verification procedure determines whether the data matches the first target and the second target data.

[0065] 步骤106,当所述第一目标数据与所述第二目标数据匹配时,开放所述第一服务程序对象的使用权限控制。 [0065] Step 106, when the first target and the second target data matches the data, the first open service usage rights object control program.

[0066] 当第一目标数据与第二目标数据匹配时,验证程序开放第一服务程序对象的使用权限控制。 [0066] When the first and second target data matching the target data, a first validator open service use authority control program object.

[0067] 作为本申请实施例的一种优选示例,所述第一服务程序对象的使用权限控制为所述服务器中缺少所述第一服务程序对象的核心文件;所述第一服务程序对象的核心文件至少包括用于支持所述第一服务程序对象正常运行所必不可少的文件; [0067] A preferred exemplary embodiment of the present application, the first service usage rights object control program core file of the server is missing the first service program object; the first service program object core file includes at least a first service program for supporting the objects running essential documents;

[0068] 所述步骤106具体可以包括如下子步骤: [0068] The step 106 may include the following sub-steps:

[0069] 子步骤S11,将预置的所述第一服务程序对象的核心文件发送至所述服务器,所述服务器用于在接收到所述第一服务程序对象的核心文件后,开放所述第一服务程序对象的使用权限控制。 [0069] The sub-step S11, the first service of the preset core program object file is sent to the server, the server is configured to, after receiving the first service program core file object, the opening usage rights first service program object control.

[0070] 进一步的,当服务器检测到的安装有验证程序的可移动设备,从服务器中拨出时, 服务器会将第一服务程序对象的核心文件删除,以设置第—服务程序对象的使用权限控制。 [0070] Further, when the server detects that the verification program is attached to a movable device, aside from the server, the server sends a first service program core file deletion target, to set the first - service program object permissions control.

[0071] 本申请实施例通过将服务器中的流媒体服务程序设置使用权限控制,采用由服务器提供视的频帧图像中的特定数据作为验证程序的验证码,只有当验证程序程序验证成功时才开放流媒体服务程序的使用权限控制。 Example [0071] The present application successfully by the server when streaming service is provided using the access control program, employing frequency frame image provided by the server depending on the specific data as the verification program codes, program verification only when the verification program open permissions streaming service program control. 采用视频帧图像中的预先设置的第一目标数据和第二目标数据作为验证程序的验证码,具有很好的伪装效果,不易被模仿破解,提高了服务器中流媒体服务程序保密性高。 Using the first target image data in the video frame is set in advance as the target data and the second authentication code verification procedure, with good camouflage effect, it can not easily be imitated cracks, improve the streaming media server routine high security.

[0072] 参照图2,示出了本申请的一种服务器的服务程序对象的控制方法实施例2的步骤流程图,所述服务器中至少包括:具有使用权限控制的第一服务程序对象,以及,不具有使用权限控制的第二服务程序对象,所述的方法具体可以包括如下步骤: The procedure of Example 2 is a control method of a program object service server [0072] Referring to FIG 2, there is shown a flow diagram embodiment of the present disclosure, the server, at least comprising: a first program object using the service access control, and not having to use a second service program object access control, the method may specifically include the following steps:

[0073] 步骤201,在接入所述服务器时,接收所述第二服务程序对象提供的视频流数据; [0074] 步骤202,对所述视频流数据解码,获得视频帧图像; [0073] Step 201, when the access server, receiving the video stream data provided by the second service program object; [0074] Step 202, the video data stream decoding, video frame image is obtained;

[0075] 步骤203,从所述视频帧图像中提取预设的第一目标像素点的R通道、G通道、B通道的值形成第一目标数据; _ [0075] Step 203, the R channel extracting predetermined first target pixels from the video frame image, the value of the G channel, B-channel data to form a first target; _

[0076] 在本申请实施例中,验证程序从视频帧图像中提取预先设定一个或多个第一目标像素点的R、G、B通道的值,然后采用各个第一目标像素点的R、G、B通道的值生成第一目标数据。 R [0076] In the embodiment of the present application, the verification program extracts the image from the video frame is set in advance or more R a first target pixel, G, and B values ​​of the channel, then using the first target pixel in each , the value of G, B channel data to generate the first target.

[0077]例如:提取视频帧图像中第一行各个像素点的R、G、B通道的值,将各个像素点的R、 G、B通道的值按顺序排列,得到第一目标数据。 [0077] For example: extracting a video frame image R of each pixel of the first row, G, B values ​​of the channel, the value of each pixel of R, G, and B channels are arranged in order to obtain the first target data.

[0078]如图3所示,是本申请实施例中生成第一目标数据的示意图。 As shown in FIG 3 [0078], is a schematic diagram of the embodiment generates the first target data in the embodiment of the present application.

[0079]图中,第一行,第一个像素点的R、G、B通道值分别为23、49、214;第二个像素点的R、 G、B通道值分别为26、40、225;第三个像素点的R、G、B通道值分别为26、45、209;…… [0079] FIG., The first line, R of the first pixel, G, B channel values ​​were 23,49,214; R of the second pixel, G, B values ​​of the channel 26, 40, 225; R of the third pixel, G, B values ​​were 26,45,209 channel; ......

[0080] 将第一行各个像素点的R、G、B通道的值按顺序排列得到的第一目标数据为: 234921426402253045209…… A first target data [0080] The value R of each pixel in the first row, G, B channels is arranged in order to obtain: 234921426402253045209 ......

[0081]视频帧图像中的第一目标像素点由服务器中的第二服务程序设置;第二服务程序选择哪些像素点作为第一目标像素点都是可以的,只要验证程序可以得知第二服务程序选择了哪些点作为第一目标像素点即可。 [0081] The first target pixel in the video frame image in the second set by the server program and services; a second service program which the pixel selected as the first target pixel are possible, as long as the program can verify that a second service program which is selected as the first target pixel point to point.

[0082]图像R、G、B值的数值范围为0-255。 [0082] The image R, a numerical range G, B is 0-255.

[0083]作为本申请实施例的一种优选示例,当所述第一目标像素点的R通道、G通道、B通道中的某个通道未被采用时,采用随机值作为该未被采用的通道的值。 [0083] A preferred embodiment of the present application as an exemplary embodiment, when the R channel of the first target pixel, G-channel, B channel using a channel not used as the random value is not used value of the channel.

[0084]当所述第一目标像素点的R通道、G通道、B通道中的某个通道未被采用时,由验证程序,生成随机值作为该未被采用的通道的值。 [0084] When the R channel of the first target pixel, G-channel, B channel is not a channel employed by the verification program, generates a random value as the value of the channel is not employed. 随机值的范围在0-255之间。 Range of the random value between 0-255.

[0085]步骤204,从所述视频帧图像中提取预设的第二目标像素点的R通道、G通道、B通道的值形成第二目标数据; R-channel [0085] Step 204, the video frame is extracted from a second image in a predetermined target pixel, G and the channel, the value of the B channel data to form a second target;

[0086]在本申请实施例中,验证程序从视频帧图像中提取预先设定一个或多个第而目标像素点的R、G、B通道的值,然后采用各个第二目标像素点的R、G、B通道的值生成第二目标数据。 R [0086] In the embodiment of the present application, the verification process to extract the one or more pre-set value of the target pixel of the R, G, B channels from the video frame image, and then using the second target pixel in each , G, B values ​​to generate second target data channel.

[0087] 例如:提取视频帧图像中第二行各个像素点的R、G、B通道的值,将各个像素点的R、 G、B通道的值按顺序排列,得到第二目标数据。 [0087] For example: extracting a video frame image R of each pixel of the second row, G, B values ​​of the channel, the value of each pixel of R, G, and B channels are arranged in order to obtain the second target data.

[0088] 视频帧图像中的第二目标像素点由服务器中的第二服务程序设置;第二服务程序选择哪些像素点作为第二目标像素点都是可以的,只要验证程序可以得知第二服务程序选择了哪些点作为第二目标像素点即可。 [0088] The second target pixel in the video frame image is set by the server in the second service program; service program which the second pixels selected as a second target pixel are possible, as long as the program can verify that a second service program which is selected as a second target pixel point to point.

[0089] 作为本申请实施例的一种优选示例,当所述第二目标像素点的R通道、G通道、B通道中的某个通道未被采用时,采用随机值作为该未被采用的通道的值。 [0089] A preferred embodiment of the present application as an exemplary embodiment, when the R channel of the second target pixel, G-channel, B channel using a channel not used as the random value is not used value of the channel.

[0090] 当所述第二目标像素点的R通道、G通道、B通道中的某个通道未被采用时,由验证程序,生成随机值作为该未被采用的通道的值。 [0090] When the R channel of the second target pixel, G-channel, B channel is not a channel employed by the verification program, it generates a random value as the value of the channel is not employed. 随机值的范围在0-255之间。 Range of the random value between 0-255.

[0091] 步骤205,判断所述第一目标数据是否与所述第二目标数据匹配; [0091] Step 205, determining whether the first target data matches the second target data;

[0092] 验证程序判断第一目标数据是否与第二目标数据匹配。 [0092] The verification procedure determines whether the data matches the first target and the second target data.

[0093] 在本申请实施例中,所述第二目标像素点的R通道、G通道、B通道的值由所述第二服务程序对象采用所述第一目标像素点的R通道、G通道、B通道的值,按预置数值转换算法计算生成。 [0093] In the present application embodiment, the second channel value R of the target pixel, G-channel, B-channel using the R channel of the first target pixel by the second service program object, G channel , B channel value, preset value is converted by the algorithm generated.

[0094] 具体的,第二服务程序提取视频帧图像中的第一目标像素点的R、G、B通道的值;然后按照预置的数值转换算法(例如,字符串反转算法)对第一目标像素点的R、G、B通道的值进行转换,生成中间数值。 [0094] Specifically, the second service program extracts the first object R pixel in a video frame image, G, and B values ​​of the channel; and the conversion algorithm according to a preset value (e.g., string inversion algorithm) of a target pixel R, G, and B channels of the conversion value, to generate an intermediate value.

[0095] 然后从视频帧图像中选取与各个第一目标像素点对应的第二目标像素点,然后将由各个第一目标像素点的R、G、B通道的值生成的中间值,代替对应的第二目标像素点原来的R、G、B通道的值。 [0095] and selecting a second target pixel and the respective pixel corresponding to the first object from the video frame image, and data generated by each of the first target pixel R, G, and B values ​​of the channel intermediate value, instead of the corresponding the second target pixel of the original R, G, B values ​​of the channel.

[0096] 作为本申请实施例的一种优选示例,所述步骤205具体可以包括如下子步骤: [0096] A preferred embodiment of the present application as an exemplary embodiment, step 205 may include the following sub-steps:

[0097] 子步骤S21,采用所述第一目标数据,按所述预置数值转换算法计算生成第三目标数据; [0097] The sub-step S21, the use of the first target data, according to the preset value into a third target data generation algorithm;

[0098] 验证程序采用预置的数值转换算法,将第一目标数据转换成第三目标数据。 [0098] authentication program preset numerical transformation algorithm, to convert the first target data into a third target data. 具体的,验证程序中的数值转换算法,与第二服务程序中的数值转换算法都是由厂家来设置的。 Specifically, the numerical conversion algorithm the verification process, the service program and the second numerical algorithms are converted by the manufacturer of the set. 厂家在设置时,将第二服务器程序所采用的数值转换算法输入到对应的验证程序中。 Manufacturers in the set, the value of the second server program conversion algorithm used by the corresponding input to the verification program.

[0099] 子步骤S21,比较所述第三目标数据是否与所述第二目标数据相同,若相同,则判定所述第一目标数据与所述第二目标数据匹配;否则判定所述第一目标数据与所述第二目标数据不匹配。 [0099] Sub-step S21, the comparison of the third target and the second target data is data of the same, if the same, it is determined that the first target and the second target data matches the data; otherwise, determining that the first does not match the target data with the second target data.

[0100] 一般而言,采用与服务器对应的验证程序接入服务器时,服务器中的第二服务程序的数值转换算法与验证程序所采用的数值转换算法是相同的,因此,由第二服务程序采用数值转换算法生成的第二目标数据与由验证程序采用数值转换算法生成的第三目标数据应该是相同的。 [0100] Generally, when using the server authentication program corresponding to the access server, the conversion algorithm numerical value conversion algorithm with the second application server authentication service program used was the same, therefore, by the second service program converting numerical data using the second target generation algorithm employed by the verification program and the third target value conversion data generation algorithm should be the same.

[0101] 当第三目标数据与第二目标数据相同时,则验证程序认为,第一目标数据与第二目标数据匹配。 [0101] When the third target data and the second target data are the same, that the verification process, the first target and the second target data to match the data. _ _

[0102] 当第三目标数据与第二目标数据不相同时,则验证程序认为,第一目标数据与第二目标数据不匹配。 [0102] When the third target data and the second target data is not the same, that the verification process, the first target and the second target data does not match the data. 第三目标数据与第二目标数据不相同的原因可能是验证程序与服务器不是对应的,验证程序采用的数值转换算法与第二服务程序的数值转换算法不同。 Third target data with the second target data may be due to different authentication-server is not corresponding to the numerical value conversion algorithm with the second authentication program service program conversion using different algorithms.

[0103] 步骤206,当所述第一目标数据与所述第二目标数据匹配时,开放所述第一服务程序对象的使用权限控制。 [0103] Step 206, when the first target and the second target data matches the data, the first open service usage rights object control program.

[0104] 当第一目标数据与第二目标数据匹配时,验证程序开放第一服务程序对象的使用权限控制。 [0104] When the first and second target data matching the target data, a first validator open service use authority control program object.

[0105] 作为本申请实施例的一种优选示例,所述第一服务程序对象的使用权限控制为所述服务器中缺少所述第一服务程序对象的核心文件;所述第一服务程序对象的核心文件至少包括用于支持所述第一服务程序对象正常运行所必不可少的文件; [0105] A preferred exemplary embodiment of the present application, the first service usage rights object control program core file of the server is missing the first service program object; the first service program object core file includes at least a first service program for supporting the objects running essential documents;

[0106] 所述步骤206具体可以包括如下子步骤: [0106] The step 206 may include the following sub-steps:

[0107] 子步骤S31,将预置的所述第一服务程序对象的核心文件发送至所述服务器,所述服务器用于在接收到所述第一服务程序对象的核心文件后,开放所述第一服务程序对象的使用权限控制。 [0107] Sub-step S31, the first service of the preset core program object file is sent to the server, the server is configured to, after receiving the first service program core file object, the opening usage rights first service program object control.

[0108] 为了使本领域技术人员能够更好地理解本发明实施例,下面通过一个例子对本发明实施例加以说明: _ [0108] In order that those skilled in the art to better understand the embodiments of the present invention, the following by an example embodiment of the present invention will be described: _

[0109] 参照图4所示,是本申请一种服务器的服务程序对象的控制方法实施例3的步骤流程图。 [0109] Referring to FIG. 4, the procedure of Example 3 is a control method object of the present application service program of the server's flowchart. ,

[0110] 步骤301,服务器中的视频流产生程序按预设的验证图像生成规则,生成视频流数据; [0110] Step 301, the server generates a video stream according to a preset program verification image generation rules, generate the video data stream;

[0111] 步骤302,视频流产生程序将视频流数据,发送至秘钥服务程序; [0111] Step 302, the video stream is the video stream data generator, the secret key is sent to the service routine;

[0112] 步骤303,将U盾接入服务器; [0112] Step 303, the access server U shield;

[0113] 步骤304,服务器检测到U盾接入后,秘钥服务程序将视频流数据发送到U盾的验证程序中; [0113] Step 304, after detecting the U Shield server access, service program sends the secret key data to the video stream U Shield verification program;

[0114] 步骤305,验证程序解码视频流数据得到多个视频帧图像; [0114] Step 305, the program verification data to obtain a plurality of decoded video stream of video image frames;

[0115] 步骤306,验证程序提取视频帧图像中第一行的像素点的R、G、B通道值,作为第一目标数据;提取视频帧图像中第二行的像素点的R、G、B通道值,作为第二目标数据;将第一目标数据进行字符串反转,生成第三目标数据;判断第三目标数据是否与第二目标数据相同; [0115] Step 306, the verification program extracts the R pixel in the first video frame image row, G, B channel value, as the first target data; extracting the R pixel line of the second video frame image, G, and B channel value, as the second target data; inverting the first target data string, generating a third target data; determining whether the third target data identical to the second target data;

[0116] 步骤307,若相同,则验证程序将U盾中的与服务器的流媒体服务程序对应的核心文件发送至服务器。 [0116] Step 307, if the same, then the verification process is sent to the file server U core service program corresponding to the streaming media server in the shield.

[0117] 需要说明的是,对于方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请实施例并不受所描述的动作顺序的限制,因为依据本申请实施例,某些步骤可以采用其他顺序或者同时进行。 [0117] Incidentally, the method embodiments, for ease of description, it is described as a series combination of actions, those skilled in the art will be aware that the present application is not subject to an operation sequence example of the described embodiment limiting, since the application according to the present embodiment, some steps may be performed simultaneously or in other sequences. 其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作并不一定是本申请实施例所必须的。 Secondly, those skilled in the art should also understand that the embodiments are described in the specification are exemplary embodiments, the operation is not necessarily related to the embodiment of the present application is necessary.

[0118] 参照图5,示出了本申请的一种服务器的服务程序对象的控制装置实施例的结构框图,所述服务器中至少包括:具有使用权限控制的第一服务程序对象,以及,不具有使用权限控制的第二服务程序对象,所述的装置具体可以包括如下模块: A control block diagram of the structure of the program objects a device service server [0118] Referring to Figure 5, there is shown application of the present embodiment, the server includes at least: a first program object using the service access control, and is not a second program object using the service access control, the apparatus may include the following modules:

[0119] 视频流数据接收模块41,用于在接入所述服务器时,接收所述第二服务程序对象提供的视频流数据; [0119] The video stream data receiving module 41, configured to, when the access server, receiving the video stream data of the second service program provided by the object;

[0120] 视频帧图像获得模块42,用于对所述视频流数据解码,获得视频帧图像; [0120] The video frame image obtaining module 42 for decoding the video data stream to obtain video frame image;

[0121] 第一提取模块43,用于从所述视频帧图像中按第一预置规则提取第一目标数据; [0121] The first extraction module 43 for extracting a first target data in a first predetermined rule from the video frame image;

[0122] 第二提取模块44,用于从所述视频帧图像中按第二预置规则提取第二目标数据; [0122] The second extraction module 44 for extracting certain second data at a second predetermined rule from the video frame image;

[0123] 判断模块45,用于判断所述第一目标数据是否与所述第二目标数据匹配; [0123] determining module 45, configured to determine whether the first target data matches the second target data;

[0124] 开放模块46,用于当所述第一目标数据与所述第二目标数据匹配时,开放所述第一服务程序对象的使用权限控制。 [0124] Open module 46, configured to, when the first target data matches the second data with the target, use permission of the first open service control program object.

[0125] 作为本申请实施例的一种优选示例,所述第一提取模块43可以进一步包括: [0125] A preferred embodiment of the present application as an exemplary embodiment, the first extraction module 43 may further comprise:

[0126] 第一通道提取子模块,用于从所述视频帧图像中提取预设的第一目标像素点的R 通道、G通道、B通道的值形成第一目标数据。 [0126] The first sub-channel extraction module configured to extract the R channel from the predetermined video frame image of the first target pixel, G-channel, B-channel is formed a first value of the target data.

[0127] 作为本申请实施例的一种优选示例,所述第二提取模块44可以进一步包括: [0127] A preferred embodiment of the present application as an exemplary embodiment, the second extraction module 44 may further comprise:

[0128] 第二通道提取子模块,用于从所述视频帧图像中提取预设的第二目标像素点的R 通道、G通道、B通道的值形成第二目标数据。 [0128] The second sub-channel extraction module configured to extract the R channel from the predetermined video frame image of the second target pixel, G-channel, the value of the B channel data to form a second target.

[0129] 作为本申请实施例的一种优选示例,所述第二目标像素点的R通道、G通道、B通道的值由所述第二服务程序对象采用所述第一目标像素点的R通道、G通道、B通道的值,按预置数值转换算法计算生成。 [0129] As a preferred exemplary embodiment of the present application, the second channel value R of the target pixel, G-channel, B-channel R using the first target pixel by the second service program object value channel, G-channel, B-channel, according to a preset algorithm to generate numerical conversion.

[0130] 作为本申请实施例的一种优选示例,所述判断模块45可以进一步包括: [0130] A preferred embodiment of the present application as an exemplary embodiment, the determination module 45 may further comprise:

[0131] 目标数据计算子模块,用于采用所述第一目标数据,按所述预置数值转换算法计算生成第三目标数据; _ [0131] the target data calculation sub-module, for using the first target data, according to the preset value conversion algorithm calculates and generates a third target data; _

[0132] 目标数据比较子模块,用于比较所述第三目标数据是否与所述第二目标数据相同,若相同,则判定所述第一目标数据与所述第二目标数据匹配;否则判足所述第一目标数据与所述第二目标数据不匹配。 [0132] the target data comparing sub-module for comparing whether the third target data identical to the second target data, if the same, it is determined that the first target and the second target data matches the data; judged otherwise It does not match the first target data foot and the second target data. 一_ One_

[0133] 作为本申请实施例的一种优选示例,当所述第一目标像素」点或第二像素点的尺通道、G通道、B通道中的某个通道未被采用时,采用随机值作为该未被采用的通道的值。 A preferred exemplary [0133] embodiment of the present application, when the channel of the first target pixel scale "point or the second point pixel, G-channel, B channel using a channel not using a random value not adopted as the value of the channel.

[0134] 作为本申请实施例的一种优选示例,所述第一服务程序对象的使用权限控制为所述服务器中缺少所述第一服务程序对象的核心文件;所述第一服务程序对象的核心文件至少包括用于支持所述第一服务程序对象正常运行所必不可少的文件; [0134] A preferred exemplary embodiment of the present application, the first service usage rights object control program core file of the server is missing the first service program object; the first service program object core file includes at least a first service program for supporting the objects running essential documents;

[0135] 所述开放模块可以进一步包括: [0135] The module may open further comprising:

[0136] 核心文件发送子模块,用于将预置的所述第一服务程序对象的核心文件发送至所述服务器,所述服务器用于在接收到所述第一服务程序对象的核心文件后,开放所述第一服务程序对象的使用权限控制。 [0136] Core file sending submodule, configured to send the first service program object to a preset core file to the server, the server is configured to, after receiving the first service program core file object usage rights open the first service control program object.

[0137] 对于装置实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。 [0137] For the apparatus of the embodiment, since the method of the embodiment which is substantially similar, the description of a relatively simple, some embodiments of the methods see relevant point can be described.

[0138] 本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。 [0138] In the present specification, various embodiments are described in a progressive way, differences from the embodiment and the other embodiments each of which emphasizes embodiment, various portions of the same embodiment of similarity between the embodiments refer to each other.

[0139] 本领域内的技术人员应明白,本申请实施例的实施例可提供为方法、装置、或计算机程序产品。 [0139] skill in the art should understand that the embodiment of the present embodiment may be provided as the application method, apparatus or computer program product. 因此,本申请实施例可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。 Thus, embodiments may employ an entirely hardware embodiment of the present application embodiment, an entirely software embodiment, or an embodiment in conjunction with the form of software and hardware aspects. 而且,本申请实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-R0M、光学存储器等)上实施的计算机程序产品的形式。 Further, a computer program product according to embodiments may employ one or more of which comprises a computer usable storage medium having computer-usable program code (including but not limited to, disk storage, CD-R0M, optical memory, etc.) on the application of the present embodiment.

[0140]本申请实施例是参照根据本申请实施例的方法、终端设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。 Example [0140] This application is a reference to the method according to an embodiment of the present application, the terminal apparatus (systems), and the flowchart and / or block diagrams of a computer program product described herein. 应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。 It should be understood and implemented by computer program instructions and block, and the flowchart / or block diagrams each process and / or flowchart illustrations and / or block diagrams of processes and / or blocks. 可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理终端设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理终端设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。 These computer program instructions may be provided to a processor a general purpose computer, special purpose computer, embedded processor or other programmable data processing terminal apparatus to produce a machine, such that the instructions executed by a computer or other programmable data processing terminal processor generating a flow diagram for implementing a process or apparatus or more processes and / or block diagram of a plurality of blocks in the block functions.

[0141]这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理终端设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。 [0141] These computer program instructions may also be stored in a can direct a computer or other programmable data processing apparatus to function in a particular terminal computer readable memory, such that the instructions stored in the computer readable memory comprising instruction generating means for producing products, the instruction means implemented in a flowchart or more flows and / or block diagram block or blocks in a specified function.

[0142]这些计算机程序指令也可装载到计算机或其他可编程数据处理终端设备上,使得在计算机或其他可编程终端设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程终端设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。 [0142] These computer program instructions may also be loaded onto a computer or other programmable data processing terminal, so that a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer terminal implemented so that a computer or other instructions that execute on the device provide steps for implementing the programming terminal in a flowchart or more flows and / or block diagram block or blocks a function specified step.

[0143]尽管已描述了本申请实施例的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例做出另外的变更和修改。 [0143] While the present application has been described with preferred embodiments of the embodiment, but those skilled in the art from the underlying inventive concept can make further modifications and variations to these embodiments. 所以,所附权利^求^欲解释为包括优选实施例以及落入本申请实施例范围的所有变更和修改。 Therefore, the appended claims to be interpreted ^ ^ request including the preferred embodiments as well as within the scope of the embodiments of the present application all changes and modifications. U U

[0144]最后,还需要说麵是,在本文中,诸如第—轉二等之難关絲语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。 [0144] Finally, the surface is a need to say, herein, such as the first further - second turn of wire on the language difficulties are only used to distinguish one entity or operation from another entity or action without necessarily requiring or implying the presence of any such actual relationship or order between these entities or operations. 而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者终端设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者终端设备所固有的要素。 Further, the term "comprising", "containing" or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, article, or terminal device not include only those elements but not explicitly listed further comprising the other elements, or elements of the process further comprising, method, article, or inherent to the terminal device. 在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者终端设备中还存在另外的相同要素。 Without more constraints, by the wording "include a ......" defined does not exclude the existence of additional identical elements in the element comprising a process, method, article, or terminal device. [0145]以上对本申请所提供的一种服务器的服务程序对象的控制方法和一种服务器的服务程序对象的控制装置,进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。 [0145] The foregoing control apparatus service program objects a control method and a server service program objects a server provided herein and described in detail herein through specific embodiment of the principles of the present disclosure and embodiments are set forth in the above described embodiments are only used to help understanding the method and core ideas of the present application; Meanwhile, those of ordinary skill in the art based on the idea of ​​the present application, in the specific embodiments and application scopes at the change, Therefore, the specification shall not be construed as limiting the present disclosure.

Claims (10)

1. 一种服务器的服务程序对象的控制方法,其特征在于,所述服务器中至少包括:具有使用权限控制的第一服务程序对象,以及,不具有使用权限控制的第二服务程序对象,所述的方法包括: 在接入所述服务器时,接收所述第二服务程序对象提供的视频流数据; 对所述视频流数据解码,获得视频桢图像; 、 、 从所述视频帧图像中提取预设的第一目标像素点的1^通道、G通道、B通道的值形成第一目标数据; _ 从所述视频帧图像中提取预设的第二目标像素点的R通道、G通道、B通道的值形成第一目标数据; 判断所述第一目标数据是否与所述第二目标数据匹配; 当所述第一目标数据与所述第二目标数据匹配时,开放所述第一服务程序对象的使用权限控制。 The service control method of the program object 1. A server, wherein the server comprises at least: a first program object using the service access control, and a second service program objects having no use authority control, the said method comprising: when the access server, receiving the video data stream provided by the second service program object; and a data decoding the video stream to obtain video image frames;, extracted from the video frame image 1 ^ channel preset first target pixel, the value of the G channel, B-channel data to form a first target; _ extracted from the predetermined video frame image R channels of the second target pixel, the G channel, value B channels are formed first target data; determining whether the first target data matches the second target; target data when the first data matches the second target, the first opening serving usage rights program object control. ..... .....
2. 根据权利要求1所述的方法,其特征在于,所述第二目标像素点的R通道、G通道、B通道的值由所述第二服务程序对象采用所述第一目标像素点的R通道、G通道、6通道的值,按预置数值转换算法计算生成。 2. The method according to claim 1, wherein the second channel value R of the target pixel, G-channel, B-channel by the second service program uses the object pixel of the first target point value of the R channel, G channel, channel 6, according to a preset algorithm to generate numerical conversion. _ _
3. 根据权利要求2所述的方法,其特征在于,所述判断所述第一目标数据是否与所述第二目标数据匹配的步骤包括: _ 采用所述第一目标数据,按所述预置数值转换算法计算生成第三目标数据; — 比较所述第三目标数据是否与所述第二目标数据相同,若相同,则判定所述第一目标数据与所述第二目标数据匹配;否则判定所述第一目标数据与所述第二目标数据不匹配。 3. The method according to claim 2, wherein said step of determining whether the first target and the second target data matches the data comprises: _ using the first target data, the pre-press Numerical conversion algorithm generates opposing third target data; - comparing the third target data is the same as the second target data, if the same, it is determined that the first target and the second target data matches the data; otherwise, determining that the target does not match the first data with the second target data.
4. 根据权利要求3所述的方法,其特征在于,当所述第一目标像素点或第二像素点的R 通道、G通道、B通道中的某个通道未被采用时,采用随机值作为该未被采用的通道的值。 4. The method according to claim 3, wherein, when the R channel of the first target pixel or the second pixel dots, G-channel, B channel using a channel not using a random value not adopted as the value of the channel.
5. 根据权利要求1或2或3或4所述的方法,其特征在于,所述第一服务程序对象的使用权限控制为所述服务器中缺少所述第一服务程序对象的核心文件;所述第一服务程序对象的核心文件至少包括用于支持所述第一服务程序对象正常运行所必不可少的文件; 所述开放所述第一服务程序对象的使用权限控制的步骤包括: 将预置的所述第一服务程序对象的核心文件发送至所述服务器,所述服务器用于在接收到所述第一服务程序对象的核心文件后,开放所述第一服务程序对象的使用权限控制。 5. The method of 1 or 2 or 3 or according to claim 4, wherein the first service use authority is controlled to the target program core file of the first object on the server service program is missing; the said first service program core file object comprising at least a first service program for supporting the objects running essential documents; usage rights said step of opening said first service control program object comprises: pre said opposed first service program core file object to said server, said server for a file after receiving the first service to the core program object, the usage rights of the first open service control program object .
6. —种服务器的服务程序对象的控制装置,其特征在于,所述服务器中至少包括:具有使用权限控制的第一服务程序对象,以及,不具有使用权限控制的第二服务程序对象,所述的装置包括: 视频流数据接收模块,用于在接入所述服务器时,接收所述第二服务程序对象提供的视频流数据; 视频帧图像获得模块,用于对所述视频流数据解码,获得视频帧图像; 第一提取模块,用于从所述视频帧图像中按第一预置规则提取第一目标数据; 第二提取模块,用于从所述视频帧图像中按第二预置规则提取第二目标数据; 判断模块,用于判断所述第一目标数据是否与所述第二目标数据匹配; 开放模块,用于当所述第一目标数据与所述第二目标数据匹配时,开放所述第一服务程序对象的使用权限控制; 其中,所述第一提取模块进一步包括: 第一通道提取子模 6. - The control device program service server object types, characterized in that said server comprises at least: a first service program with the use of access control objects, and, without having to use a second service program object access control, the said apparatus comprising: a video data stream receiving module, configured to, when the access server, receiving the video data stream provided by the second service program object; video frame image obtaining means for decoding the video data stream obtained video frame image; a first extraction module for extracting a first target data in a first predetermined rule from the video frame image; a second extraction module for the video frame image from the second pre-press extracting a second rule set target data; determining module, for determining whether the first target data matches the second target; open module configured to, when the first target and the second target data matches the data when the usage rights of the first open service control program object; wherein the first extraction module further comprises: a first extraction sub-channel mode ,用于从所述视频帧图像中提取预设的第一目标像素点的R通道、 G通道、B通道的值形成第一目标数据; 所述第二提取模块进一步包括: 第二通道提取子模块,用于从所述视频帧图像中提取预设的第二目标像素点的R通道、 G通道、B通道的值形成第二目标数据。 , The target value for the first pixel extracted from the predetermined video frame image R channel, G-channel, B-channel is formed a first target data; the second extraction module further comprises: a second extraction sub-channel value module configured to extract a second predetermined target pixel from the video frame image in the R channel, G-channel, B-channel data to form a second target.
7. 根据权利要求6所述的装置,其特征在于,所述第二目标像素点的R通道、G通道、B通道的值由所述第二服务程序对象采用所述第一目标像素点的R通道、G通道、B通道的值,按预置数值转换算法计算生成。 7. The device according to claim 6, wherein the second channel value R of the target pixel, G-channel, B-channel by the second service program uses the object pixel of the first target point value of the R channel, G-channel, B-channel, according to a preset algorithm to generate numerical conversion.
8. 根据权利要求7所述的装置,其特征在于,所述判断模块进一步包括: 目标数据计算子模块,用于采用所述第一目标数据,按所述预置数值转换算法计算生成第二目标数据; 目标数据比较子模块,用于比较所述第三目标数据是否与所述第二目标数据相同,若相同,则判定所述第一目标数据与所述第二目标数据匹配;否则判定所述第一目标数据与所述第二目标数据不匹配。 8. The apparatus according to claim 7, wherein the determining module further comprises: a target data calculation sub-module, for using the first target data, according to the preset value conversion algorithm calculates and generates a second target data; a data comparison target sub-module for comparing whether the third target data identical to the second target data, if the same, it is determined that the first target and the second target data matches the data; otherwise determined the data does not match the first target and the second target data. > >
9. 根据权利要求8所述的装置,其特征在于,当所述第一目标像素点或第二像素点的R 通道、G通道、B通道中的某个通道未被采用时,采用随机值作为该未被采用的通道的值。 9. The apparatus according to claim 8, wherein, when the R channel of the first target pixel or the second pixel dots, G-channel, B channel using a channel not using a random value not adopted as the value of the channel.
10. 根据权利要求6或7或8或9所述的装置,其特征在于,所述第一服务程序对象的使用权限控制为所述服务器中缺少所述第一服务程序对象的核心文件;所述第一服务程序对象的核心文件至少包括用于支持所述第一服务程序对象正常运行所必不可少的文件; 所述开放模块进一步包括: ..... 核心文件发送子模块,用于将预置的所述第一服务程序对象的核心文件发送^所述服务器,所述服务器用于在接收到所述第一服务程序对象的核心文件后,开放所述第一服务程序对象的使用权限控制。 10. The apparatus of claim 6 or 8 or 79 or as claimed in claim, wherein the first service use authority is controlled to the target program core file of the first object on the server service program is missing; the said first service program core file object comprising at least a first service program for supporting the objects running essential documents; open the module further comprising: a core ..... file sending sub-module, for the first preset target service program core file ^ transmits the server, the server for a file after receiving the first service to the core program object, the first service using the open program object access control.
CN201610154027.5A 2016-03-17 2016-03-17 A control method and apparatus of the service server program objects CN105847879B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610154027.5A CN105847879B (en) 2016-03-17 2016-03-17 A control method and apparatus of the service server program objects

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610154027.5A CN105847879B (en) 2016-03-17 2016-03-17 A control method and apparatus of the service server program objects

Publications (2)

Publication Number Publication Date
CN105847879A CN105847879A (en) 2016-08-10
CN105847879B true CN105847879B (en) 2018-12-04

Family

ID=56587173

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610154027.5A CN105847879B (en) 2016-03-17 2016-03-17 A control method and apparatus of the service server program objects

Country Status (1)

Country Link
CN (1) CN105847879B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102184182A (en) * 2011-03-24 2011-09-14 中国华录集团有限公司 Video-orientated value-added information system based on time points and keywords
CN103024090A (en) * 2011-09-20 2013-04-03 阿里巴巴集团控股有限公司 Method and system for identifying user terminal
CN103618911A (en) * 2013-10-12 2014-03-05 北京视博云科技有限公司 Video streaming providing method and device based on video attribute information
CN104899515A (en) * 2014-03-04 2015-09-09 北京奇虎科技有限公司 Method and apparatus for altering safety of application
CN104917752A (en) * 2015-05-04 2015-09-16 北京奇艺世纪科技有限公司 Abnormality detection method and abnormality detection system based on communication

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8312267B2 (en) * 2004-07-20 2012-11-13 Time Warner Cable Inc. Technique for securely communicating programming content
US9258584B2 (en) * 2013-11-22 2016-02-09 Verizon Patent And Licensing Inc. Video content protection

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102184182A (en) * 2011-03-24 2011-09-14 中国华录集团有限公司 Video-orientated value-added information system based on time points and keywords
CN103024090A (en) * 2011-09-20 2013-04-03 阿里巴巴集团控股有限公司 Method and system for identifying user terminal
CN103618911A (en) * 2013-10-12 2014-03-05 北京视博云科技有限公司 Video streaming providing method and device based on video attribute information
CN104899515A (en) * 2014-03-04 2015-09-09 北京奇虎科技有限公司 Method and apparatus for altering safety of application
CN104917752A (en) * 2015-05-04 2015-09-16 北京奇艺世纪科技有限公司 Abnormality detection method and abnormality detection system based on communication

Also Published As

Publication number Publication date
CN105847879A (en) 2016-08-10

Similar Documents

Publication Publication Date Title
JP4617763B2 (en) Device authentication system, device authentication server, a terminal device, device authentication methods, and device authentication program
US6668246B1 (en) Multimedia data delivery and playback system with multi-level content and privacy protection
US8705791B2 (en) Method and system for utilizing GPS information to secure digital media
AU2005294353A1 (en) Method and system for authorizing multimedia multicasting
US20130283051A1 (en) Persistent License for Stored Content
CA2590989C (en) Protocol and method for client-server mutual authentication using event-based otp
US7689825B2 (en) Systems and methods for device registration using optical transmission
CN103189873A (en) Improvements in watermark extraction efficiency
JP2007104236A (en) Content transmission apparatus, content transmission method, and computer program
CN102246455A (en) Self-authentication communication equipment and equipment authentication system
CN103220143A (en) Information processing apparatus, information storage apparatus, information processing system, and information processing method and program
US9251549B2 (en) Watermark extractor enhancements based on payload ranking
WO2014176513A1 (en) Real-time anti-piracy for broadcast streams
US8156333B2 (en) Username based authentication security
CN102576559B (en) Authentication data stream
CN101251881A (en) Device, system and method for recognizing content
KR20090060528A (en) Method and apparatus for mutual authentification in downloadable conditional access system
JP2008526078A (en) Key generation, and a method and apparatus related to the authentication of approval
CN102025716A (en) Method for updating seeds of dynamic password token
US7111167B1 (en) Digital watermarks with values derived from remote platforms
CN103763631B (en) Authentication method, a server and a TV
CN102045367A (en) Registration method and authentication server of real-name authentication
CN101056166A (en) A method for improving the data transmission security
JP2015519814A (en) For adaptive streaming, systems and methods for integrity and reliability of the segments
CN103023876B (en) A network terminal and safety certification, registration activation method, server

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
COR Change of bibliographic data
GR01