CN101472080B - Automatic allocation method for acceptance equipment - Google Patents

Automatic allocation method for acceptance equipment Download PDF

Info

Publication number
CN101472080B
CN101472080B CN 200710303878 CN200710303878A CN101472080B CN 101472080 B CN101472080 B CN 101472080B CN 200710303878 CN200710303878 CN 200710303878 CN 200710303878 A CN200710303878 A CN 200710303878A CN 101472080 B CN101472080 B CN 101472080B
Authority
CN
Grant status
Grant
Patent type
Prior art keywords
single
task
receiver
control module
information
Prior art date
Application number
CN 200710303878
Other languages
Chinese (zh)
Other versions
CN101472080A (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
Grant date

Links

Abstract

The invention discloses an automatic allocation method for receiving and recording equipment. The method comprises the following steps: a receiving, recording and editing module generates an editing task according to the parameter input by a user, the editing task is stored in a database table, and a plurality of database tables are combined to generate a database view; a centralized control module allocates the editing task to the current idle radio recorder and receiver; then the centralized control module sends an instruction to a receiver control module according to the editing task, and the receiver control module is used for controlling the channel output of the receiver; and a matrix control module enables the channels between the output end of the receiver and the radio recorder to be communicated, so that the radio recorder can receive and record the correct channel signals according to the editing task. The centralized dispatching module is additionally arranged for automatically allocating all the order-placing tasks to the idle radio recorder and the receiver, and the editing user is not required to be concerned about the radio recorder, on which receiving and recording task are finished, therefore, the radio recorder resource can be better utilized.

Description

一种收录设备自动分配方法 An apparatus for the automatic distribution method included

技术领域 FIELD

[0001] 本发明涉及视音频编辑技术领域,尤其涉及一种收录设备自动分配方法。 [0001] The present invention relates to audio and video editing techniques, and in particular relates to a method for automatically dispensing apparatus included.

[0002] 背景技术 [0002] BACKGROUND OF THE INVENTION

[0003] 矩阵视音频切换装置是视频监控系统的核心控制装置,可以完成对多个摄像机信号、监听器信号的接入,同时可以以矩阵切换的方式,将视频切换到指定的电视机,将音频切换到喇叭上,进行集中监控、监听。 [0003] The video and audio matrix switch means is a video surveillance system central control device, a signal can be completed, access to the plurality of cameras monitor signal, while in a matrix switch, the video switch to the specified TV, and the audio switch to the speaker, centralized monitoring, listening. 目前,模拟矩阵切换装置主要配合模拟矩阵切换键盘来工作,用户通过在面板上手动选择入口和出口(输入频道及收录设备),并通过相关协议使矩阵视音频切换装置将输入频道与对应的收录设备连通。 Currently, analog matrix switching on combining analog matrix means switch the keyboard to work, the user selects an inlet and an outlet on the panel manually (input channel and a collection device), and by the relevant protocol enables matrix video and audio switching means input channel corresponding to inclusion communication equipment.

[0004] 现有技术中,用户在收录编单模块进行编单时,需要考虑收录任务在哪个收录机上完成,增加了管理成本,并且可能造成收录机资源的浪费;为了更好的利用收录机资源, 并且用户无需关心具体的任务在哪台收录机上完成。 When the [0004] art, a collection compiled in a single user module encoding and single, to be considered included the completion of a task on which tape recorders, increased administrative costs and may result in waste of resources tape recorders; tape recorders in order to better utilize resources, and the user need not be concerned about specific tasks done on which tape recorders.

[0005] 发明内容 [0005] SUMMARY OF THE INVENTION

[0006] 本发明提供了一种收录设备自动分配方法,以实现自动给各个下单任务分配空闲的收录机和接收机,更好的利用收录机资源。 [0006] The present invention provides a method for automatic allocation apparatus included to achieve automatic assignment to the respective single task idle tape recorders and receivers, tape recorders better use of resources.

[0007] 为达到上述目的,本发明提供了一种收录设备自动分配方法,包括: [0007] To achieve the above object, the present invention provides a method for automatic allocation apparatus included in, comprising:

[0008] 收录编单模块根据用户输入的编单信息生成编单任务,存储到数据库表中,并根据多个数据库表联合生成数据库视图; [0008] included in a single module generates ed ed ed single task according to the single user input information stored in the database table, and generating a combined view of the plurality of database tables database;

[0009] 集中控制模块将所述编单任务分配给当前空闲的收录机和接收机; [0009] The centralized control module assigned to the current encoding single idle receivers and tape recorders;

[0010] 集中控制模块根据所述编单任务向接收机控制模块发送UDP消息,接收机控制模块控制接收机进行相应的频道输出; [0010] The centralized control module sends a UDP message to the receiver control module according to the encoding single task, a receiver control module controls the respective receiver channel output;

[0011] 矩阵控制模块将接收机输出端和收录机之间的通道连通,使得收录机能按照编单任务收录正确的频道信号。 [0011] channel matrix between the control module and the output of the receiver communication recorders, tape recorders that can be included in the right channel signal according to a single encoding task.

[0012] 其中,所述收录编单模块根据用户输入的编单信息生成编单任务之前还包括: [0012] wherein, prior to the collection of single-module encoding information generation encoding single knitting single task according to a user input further comprises:

[0013] 对收录机进行分组,分组规则可按照用户需求,可以与与实际使用的栏目对应。 [0013] The tape recorders are grouped, the grouping rules specified by the customer, and may be associated with the column corresponding to the actual use.

[0014] 其中,所述收录编单模块根据用户输入的编单信息生成编单任务具体包括: [0014] wherein, according to the encoding module included single single provision information generation encoding single task input by the user comprises:

[0015] 接收用户输入的编单信息,所述编单信息包括:收录名称、开始时间、结束时间、收录频道、收录机组等信息; [0015] ed single receiving user input information, a single encoding information includes: the name, start time, end time, channel included in a collection of information units;

[0016] 检测所述编单信息是否与现有任务有冲突,如果没有冲突时,则根据所述编单信息生成编单任务,并存储到数据库表中。 [0016] The coding order information detecting whether there is a conflict with an existing task, if there is no conflict, the task is generated based on the provision of single single provision information, and stored in the database tables.

[0017] 其中,所述检测所述编单信息是否与现有任务有冲突,包括: [0017] wherein said single detecting whether the encoding information conflict with existing tasks, comprising:

[0018] 进行任务冲突判断,判断是否有可用的收录机进行分配;和 [0018] The task of conflict determination, determines whether the tape recorders are available for allocation; and

[0019] 进行频道冲突判断,判断是否有可用的接收机进行分配。 [0019] channel for conflict determination, determines whether the receiver is available for allocation.

[0020] 其中,所述任务冲突判断具体包括: [0020] wherein said task conflict determination comprises:

[0021] 接收编单任务所选的设备组信息; [0021] receiving a single device group information encoding the selected task;

[0022] 获得属于所述设备组的所有正在执行和等待执行的任务; [0022] access to all executing tasks waiting to be executed and the device belonging to the group;

[0023] 根据所述正在执行任务结束时间与等待执行任务的开始时间确定任务冲突。 [0023] conflict with the task of determining the start time of waiting to execute tasks based on the task being performed end time. [0024] 其中,所述频道冲突判断具体包括: [0024] wherein said channel conflict determination comprises:

[0025] 获得所有正在执行和等待执行的任务列表; [0025] to obtain a list of all the tasks being performed and waiting to be executed;

[0026] 获得所有的接收机列表; [0026] to obtain a list of all the receivers;

[0027] 在接收机列表中查找是否具有对应的接收机,有收录频道并且和当前编单任务所需频道相同,并且和其他的任务没有冲突,则当前的编单任务分配合适的接收机;如果没有符合条件的接收机,则滤掉所述编单任务。 [0027] find whether a corresponding receiver in the receiver list, and there is included in the current channel and the same channel coding desired single task and other tasks, and there is no conflict, then the current encoding single tasking suitable receiver; If the receiver does not meet the condition, then filtered off and the single knitting task.

[0028] 其中,所述矩阵控制模块将接收机输出端和收录机之间的通道连通具体包括: [0028] wherein said matrix control module to the communication channel between the receiver output and recorders comprises:

[0029] 从数据库视图获取相应的编单任务信息,包括任务名称,频道,矩阵输入端口,矩阵输出端口信息; [0029] The provision of a single task to obtain the corresponding information from the database view, including a task name, channel matrix input port, an output port information matrix;

[0030] 根据数据库视图获得得信息,把矩阵输入端口和输出端口通道打开,即连通对应的接收机和收录机。 [0030] The information database view taken too, the matrix input and output ports to open the channel, i.e., the corresponding communication receiver and tape recorders.

[0031] 其中,所述从数据库视图获取编单任务具体包括: [0031] wherein said obtaining from a single task database views encoding comprises:

[0032] 所述编单任务获取子模块直接从数据库视图中获得编单任务的相应信息。 [0032] The encoding single task corresponding information obtaining sub-module to obtain a single task compiled directly from the database view. 而这个视图是数据库表'编单任务表,矩阵配置表,输阵输入端口配置表,矩阵输出端口配置表'多个表的联合按照一定规则生成的,数据库视图中包含的信息包括:任务名称,频道,矩阵输入端口,矩阵输出端口等信息。 And this is a database table view 'ed single task table, the table matrix configuration, the output port array configuration table input matrix port configuration table' join multiple tables generated according to certain rules, the information contained in the database view comprising: a task name , the channel information matrix input port, an output port and other matrix. 并且能够根据接收的集中调度模块分配了收录机和接收机后发送UDP通知消息,刷新编单任务列表。 UDP message and send a notification of tape recorders and receivers can be assigned according to the received centralized scheduling module, eds single refresh task list.

[0033] 其中,还包括增加备份集中控制模块, [0033] wherein, further comprising a control module to increase the backup set,

[0034] 通过发送定时心跳检测集中控制模块状态,当检测到所述集中控制模块出现故障时,使用备份集中控制模块接替所述集中控制模块执行集中控制功能。 [0034] Heartbeat Timing centralized control module by sending state, when detecting that the centralized control module fails, the backup set using the centralized control module takes over control module performs centralized control function.

[0035] 与现有技术相比,本发明具有以下优点: [0035] Compared with the prior art, the present invention has the following advantages:

[0036] 本发明通过增加集中调度模块自动给各个下单任务分配空闲的收录机和接收机, 编单用户无需关心收录任务在哪个收录机上完成,更好的利用收录机资源。 [0036] The present invention is automatically allocated to the respective single task idle tape recorders and receivers by increasing centralized scheduling module, the user need not concern ed single task on which included complete tape recorders, tape recorders better use of resources.

[0037] 另外,本发明在编单时要进行频道冲突和任务冲突判断,确保允许情况下的单子都能分配到合适的收录机进行收录。 [0037] Further, the present invention is to be performed at the time of preparing the single channel conflict and task conflict determination, in a case sure to allow the list can be assigned to the appropriate tape recorders for inclusion.

附图说明 BRIEF DESCRIPTION

[0038] 图1是本发明一种收录设备自动分配系统结构图; [0038] FIG. 1 of the present invention is a system configuration diagram of an automatic dispensing apparatus included;

[0039] 图2是本发明一种收录设备自动分配方法流程图; [0039] FIG 2 is a flowchart of device is automatically assigned present invention provides a method of inclusion;

[0040] 图3是本发明中任务冲突判断流程图; [0040] FIG. 3 is a flowchart of the present invention is determined in task conflict;

[0041] 图4是本发明中频道冲突判断流程图。 [0041] FIG. 4 is a conflict of the present invention, the channel determination flowchart.

具体实施方式 Detailed ways

[0042] 本发明提供了一种收录设备自动分配系统,如图1所示,包括:多个接收机10,用于分别接收不同频道组信号,每个频道组包括多个频道;多个收录机20,用于接收并录制来自不同频道的视音频信号;矩阵控制模块30,用于将接收机输出端和收录机之间的通道连通,使得收录机能按照编单任务收录正确的频道信号;接收机控制模块40,用于按照RS232控制协议,并根据集中控制模块的指示控制所述接收机的输出频道;收录编单模块50,用于根据用户输入的参数生成编单任务,并同步存储到数据库视图;集中控制模块60,用于根据所述编单任务,将所述编单任务分配给当前空闲的收录机和接收机。 [0042] The present invention provides an apparatus included in automatic dispensing system, as shown in FIG 1 comprising: a plurality of receiver 10 for receiving signals in different groups of channels, each channel group comprising a plurality of channels; a plurality of tape recorders 20, for receiving and recording video and audio signals from different channels; matrix control module 30, the passage between the output of the receiver and a tape recorder for communication, so that the tape recorders can be included in the right channel signal according to a single encoding task; receiver control module 40, in accordance with a control protocol RS232, and according to an instruction of the central control module controls the output of the receiver channel; ed included single module 50, for generating a single-tasking coding according to the parameters entered by the user, and stored in the database synchronization view; centralized control module 60 for encoding in accordance with the single task, the task assigned to the current encoding single idle receivers and tape recorders. 网管配置模块70,用于进行收录机配置和矩阵配置,例如对系统信息、收录机信息,矩阵信息,人员信息等的配置。 Network configuration module 70, and for tape recorders configuration matrix configuration, for example, the system configuration information, information of tape recorders, matrix information, personnel information and the like.

[0043] 其中,网管配置模块70具体包括:收录机配置子模块,用于对收录机进行分组,分别与实际使用的频道和栏目对应;矩阵配置子模块,用于配置矩阵的基本信息,输入端口及输入端口连接的接收机信息,输出端口及输出端口连接的设备信息等。 [0043] wherein the network management configuration module 70 comprises: a sub-module configured tape recorders, tape recorders for grouping channels and columns corresponding to actual use; submodule matrix configuration, configuration information for basic matrix, and an input port receiver connected to the input port information, device information, the output port and the output port.

[0044] 其中,所述收录编单模块50编单时,只选择要登录的高码路径,则低码路径自动填入。 [0044] wherein the single module 50 included in the time of preparing the single knitting, to select only high log code path, the path of the low autofill code. 如果这个路径的盘在网管中进行了快速通道设置,则会有相应的栏目和责任人,按照网管中的设置,这里可以在这个快速通道范围内选择相应的栏目,则责任人会自动填入。 If this path plate were set in fast-track network, you will have the appropriate fields and responsible person, according to the settings in the network, where you can select the appropriate fields in this fast-track range, the person responsible will automatically fill . 这个的责任人为网管中设置的与栏目一一对应的责任人。 The persons responsible for network management of those responsible for setting the columns one to one. 在编单时,输入相应的编单信息,包括:收录名称、开始时间、结束时间、收录频道、收录机组等信息;编单时会进行相应的逻辑判断,使得允许下的单子都有收录机可以分配。 In preparing single-input single corresponding coding information, including: the name, start time, end time, channel included in a collection of information units; will be determined that the corresponding logical single knitting, so as to allow the tape recorders can have a list distribution. 自己编好的收录单可修改;对于已经执行的收录任务或正在执行的收录任务不能修改;对于其他人的编单不能修改,除非是管理员身份。 Own good collection of single-modifiable; not modify the task has been executed for inclusion or inclusion task being executed; others can not be modified for a single compilation, unless an administrator. 正在收录的任务,可以修改结束时间,然后用UDP的方式通知收录机修改收录结束时间;收录计划的删除,除正在收录的计划不能删除外,其他属于登录人自己下得计划都可以删除;对于非本人下的计划,只有管理员身份才能删除。 Is a collection of tasks, you can modify the end time, and then notify the tape recorders modifications included the end time using UDP way; included in the plan to delete, in addition to being included in the plan can not be deleted, the other belonging to sign in themselves was under the plan can be deleted; For non under my plan, only an administrator can delete.

[0045] 收录编单模块50具体包括:输入子模块,用于接收用户输入的编单信息,所述编单信息包括:收录名称、开始时间、结束时间、收录频道、收录机组信息;冲突检测子模块, 用于检测所述编单信息是否与现有任务有冲突并检测频道冲突,如果没有冲突时,则触发任务生成子模块;任务生成子模块,用于根据所述编单信息生成编单任务,并存储到数据库视图。 [0045] The module 50 included in a single encoding comprises: input sub-module, for encoding the received order information input by a user, said single encoding information includes: the name, start time, end time, channel included in a collection of information units; conflict detection sub-module for detecting encoding the information whether there is a single conventional channel assignment conflict detection and conflict, if there is no conflict, the task generation submodule trigger; sub-task generation module for generating the encoding information encoding single single task, and stored in the database view. 所述冲突检测子模块进行任务冲突判断,判断是否有可用的收录机进行分配;并进行频道冲突判断,判断是否有可用的接收机进行分配。 The conflict detection task conflict determination sub-module determines whether there is available tape recorders are allocated; and channel conflict determination, determines whether the receiver is available for distribution. 所述任务冲突判断具体包括:接收编单任务所选的设备组信息;获得属于所述设备组的所有正在执行和等待执行的任务;根据所述正在执行任务结束时间与等待执行任务的开始时间确定任务冲突。 The task conflict determination comprises: receiving information provision device group chosen single task; get all executing tasks waiting to be executed and the device belonging to the group; The start time and end time of the task waiting to execute the task being performed determining task conflict. 所述频道冲突判断具体包括:获得所有正在执行和等待执行的任务列表;获得所有的接收机列表;在接收机列表中查找是否具有对应的接收机,有收录频道并且和当前编单任务所需频道相同,并且和其他的任务没有冲突,则当前的编单任务可以分配合适的接收机;如果没有符合条件的接收机,则滤掉所述编单任务。 The conflict determination channel comprises: obtaining a list of all the tasks is being executed, and waiting to be executed; obtaining a list of all the receivers; find whether a corresponding receiver in the receiver list, there is included in the current channel and the desired coding and single task the same channel and there is no conflict with other tasks, then the current task can be assigned a suitable coding single receiver; if the receiver does not meet the conditions, the encoding single task is filtered off.

[0046] 其中,所述矩阵控制模块30具体包括:编单任务获取子模块,用于从数据库视图获取编单任务;切换子模块,用于根据所述编单任务连通对应的接收机和收录机。 [0046] wherein said matrix control module 30 comprises: a task acquisition sub-module single-knitting, knitting is configured to obtain from a single task database view; switching sub-module, for communication task and a corresponding receiver according to the encoding single tape recorders . 所述编单任务获取子模块直接从数据库视图中获得编单任务的相应信息。 The encoding single task corresponding information obtaining sub-module to obtain a single task compiled directly from the database view. 而这个视图是数据库表'编单任务表,矩阵配置表,输阵输入端口配置表,矩阵输出端口配置表'多个表的联合按照一定规则生成的,数据库视图中包含的信息包括:任务名称,频道,矩阵输入端口,矩阵输出端口等信息;并且能够根据接收的集中调度模块分配了收录机和接收机后发送UDP通知消息,刷新编单任务列表。 And this is a database table view 'ed single task table, the table matrix configuration, the output port array configuration table input matrix port configuration table' join multiple tables generated according to certain rules, the information contained in the database view comprising: a task name UDP message and send a notification of tape recorders and receivers can be assigned according to the received centralized scheduling module, a single refresh task list compiled;, channel matrix input port, output port information matrix.

[0047] 其中,集中控制模块60直接访问数据库,按照网管中的'集中调度提前分配收录机和接收机'设置,界面要能够显示在这个时间内下达的新的任务。 [0047] wherein the centralized control module 60 to directly access the database, 'tape recorders and receivers assigned in advance centralized scheduling "is set in accordance with the NMS, the interface to be able to display a new assigned task within this time. 例如设置提前2分钟分配收录机和接收机,则这里要的刷新机制大概为1分钟。 For example, two minutes ahead of the distribution tape recorders and receivers, then refresh mechanism to be here about 1 minute. 显示正在执行或等待执行的任务, 并且显示待分配收录机和接收机的任务;对于正在执行和等待执行的任务进行颜色区分;显示的任务属性包含:任务名称、设备组、开始时间、结束时间、频道、长度、收录设备、接收机、高低码格式及码率等信息。 Display being executed or waiting tasks performed, and displays the tasks to be dispensed tape recorders and receivers; color-coded for executing tasks and waiting to be executed; display task properties comprising: a task name, device group, the start time, stop time, channel, the length of a collection device, the receiver, the level code format and bit rate information.

[0048] 接收机控制模块40,主要是根据接收机的相应协议完成接收机控制,供集中调度模块进行调用。 [0048] Receiver control module 40, is the completion of the receiver control receiver according to a corresponding protocol, for centralized scheduling module calls. 当集中调度模块为编单任务分配了接收机后,调用接收机控制模块接口,通过RS232协议控制接收机的输出频道为当前编单任务所需频道。 When centralized scheduling module is a single tasking coding the receiver, calling receiver control module interface, through control of the receiver channel output for the RS232 protocol single task currently programmed desired channel. 此模块采用生成调用DLL 动态链接库的方式实现。 This module generates a call using a dynamic link library DLL ways. 不同类型的接收机有不同的控制协议。 Different types of receivers have different control protocols. 通过RS232 COM 口进行通讯,使用的端口号根据实际连接设置,COM端口的连接参数根据接收机实际支持的参数进行设置。 Communication via the RS232 COM port, the port number of the actual connection settings, COM port connection parameters set according to the actual parameters of the receiver support.

[0049] 本实施例中还可以包括备份集中控制模块,用于通过发送定时心跳检测集中控制模块状态,当检测到所述集中控制模块出现故障时,接替所述集中控制模块执行集中控制功能。 [0049] The present embodiment may further include a backup centralized control module for detecting a heartbeat by the transmission timing control module centralized state, when detecting the centralized control module fails, to replace the centralized control module performs centralized control function.

[0050] 本发明还提供了一种收录设备自动分配方法,如图2所示,包括以下步骤: [0050] The present invention further provides a method for the step of an automatic dispensing apparatus included, as shown in FIG. 2, comprising:

[0051] 步骤S201,对收录机进行分组,分别与实际使用的频道和栏目对应。 [0051] step S201, the grouping of tape recorders, channels and columns corresponding to actual use. 每个设备分组中的设备可以设置是否双码流采集、初始的收录格式和码率信息。 Each grouping device may be provided if the device dual stream acquisition, and initial bit rate information included in the format.

[0052] 步骤s202,收录编单模块根据用户输入的参数生成编单任务,存储到数据库中,并根据多个数据库表联合生成数据库视图。 [0052] Step S202, a collection module generates a single knitting knitting single task according to user input parameters, stored in the database, and generating a combined view of the plurality of database tables database. 具体包括:接收用户输入的编单信息,所述编单信息包括:收录名称、开始时间、结束时间、收录频道、收录机组信息;检测所述编单信息是否与现有任务有冲突,如果没有冲突时,则根据所述编单信息生成编单任务,并存储到数据库视图。 Comprises: receiving a single provision information input by the user, said single encoding information includes: the name, start time, end time, channel included, information included in the unit; detecting whether the information compiled in conflict with the conventional single task, if not when a conflict is generated according to the encoding single task order information compiled and stored in the database view.

[0053] 其中冲突判断包括两种,一种是任务冲突判断:如图3所示,判断是否有可用的收录机进行分配。 [0053] wherein determining the conflict comprises two types of task conflict determination: 3, it is determined whether the tape recorders are available for allocation. 例如,任务所选的设备组信息,获得属于这个设备组的所有正在执行和等待执行的任务;任务1的结束时间<任务2的开始时间或者任务2的结束时间<任务1的开始时间,则任务1和任务2是不冲突的。 For example, the device group information of the selected task, and the task being performed to obtain all waiting to be executed belonging to this group of devices; start time end time start time end time of the task 1 <task 2 or task 2 <1 task, then tasks 1 and 2 are not in conflict. 然后,判断此设备组中所有任务和当前添加的任务的冲突个数,如果任务冲突个数< =设备组中收录机的个数-备份个数,则可以继续其他的频道冲突;否则提示用户:此设备组中没有空闲的收录设备,无法添加编单任务。 Then, determine the number of conflicts all the tasks this device group and add the current task, if the number of task conflict <= the number of devices in the group tape recorders - the number of backup, you can continue with other channel conflict; otherwise prompt the user to: this device group is not included equipment idle, unable to add ed single task.

[0054] 另一种频道冲突判断:如图4所示,判断是否有可用的接收机进行分配,具体包括: [0054] Another channel conflict is determined: As shown, the receiver determines whether there is available for assignment 4, comprises:

[0055] 1、获得所有正在执行和等待执行的任务列表; [0055] 1, to obtain a list of all the tasks being performed and waiting to be executed;

[0056] 2、获得所有的接收机列表; [0056] 2, to obtain a list of all the receivers;

[0057] 3、在接收机列表中查找是否具有这样的接收机:只有一个收录频道并且和当前编单任务所需频道相同,则可以添加当前的编单任务;这种情况适用于AV收录或者接收机有固定输出的情况。 [0057] 3, in the receiver list to find whether a receiver has: included only a single channel and the currently programmed job and the same as the desired channel, it is possible to add the current encoding single task; this applies to the inclusion or AV the receiver has a fixed output. 如果没有附和条件的接收机,则进行4的判断; If the receiver does not go along with the condition, it is judged 4;

[0058] 4,滤掉收录任务中符合情况3的任务,即任务所需频道在AV收录频道中的任务; 如果已经下发的收录任务中有这个所需收录频道,并且当前编单任务和其他的收录任务不冲突的话,那么也可以下单(因为矩阵可以把一路输入信号切换给多个输出);否则进行3 的判断。 [0058] 4, filtered mission case 3 meet inclusion task, the task that is included in the AV task desired channel in the channel; if already issued inclusion tasks have included the desired channel, and the current single task and compiled inclusion of other tasks that do not conflict, then orders may be (since the matrix may be one input signal to a plurality of switching output); otherwise, the judge 3. 在接收机列表中找出含有这个收录频道但是又没有被分配的接收机个数,如果个数> 0,则可以下单,否则提示用户:频道冲突,不能添加编单任务。 In the receiver list contains the find included the number of channels but there is no receiver is assigned, if the number> 0, the following may be single, or prompt the user to: channel conflict can not be edited to add a single task.

[0059] 当逻辑冲突判断完毕可以下单时,直接调用存储过程插入数据库,这时的存储过程无需进行逻辑冲突判断,直接插入相应记录。 [0059] When judged complete logical conflict may be single, direct procedure calls stored into the database, then the stored logical conflict determination procedure without directly insert the corresponding record. [0060] 步骤s203,所述集中控制模块将所述编单任务分配给当前空闲的收录机和接收机。 [0060] Step s203, the centralized control module encoding the single assigned to the current idle receivers and tape recorders.

[0061] 步骤s204,集中控制模块根据所述编单任务向接收机控制模块发送UDP消息,接收机控制模块控制接收机进行相应的输出。 [0061] Step S204, the central control module sends a UDP message to the receiver control module according to the encoding single task, a receiver control module controls the output of the corresponding receiver.

[0062] 步骤S205,矩阵控制模块将接收机输出端和收录机之间的通道连通,使得收录机能按照编单任务收录正确的频道信号。 [0062] step S205, the channel matrix between the control module and the output of the receiver communication recorders, tape recorders that can be included in the right channel signal according to a single encoding task. 具体包括:首先,所述编单任务获取子模块直接从数据库视图中获得编单任务信息;或根据接收的集中调度模块分配了收录机和接收机后发送UDP通知消息,刷新编单任务列表;然后,根据所述编单任务连通对应的接收机和收录机。 Specifically includes: first, the obtaining sub-module single task ed ed single task information obtained directly from the database view; or according to the received centralized scheduling module allocation notification message sending UDP receiver and tape recorders, a single refresh task list compiled; and , according to the corresponding communication encoding single task receiver and tape recorders.

[0063] 另外,本实施例中还可以增加备份集中控制模块,通过发送定时心跳检测集中控制模块状态,当检测到所述集中控制模块出现故障时,使用备份集中控制模块接替所述集中控制模块执行集中控制功能。 [0063] Further, the present embodiment can also increase the backup centralized control module, by the transmission timing control module heartbeat centralized state, when detecting the centralized control module fails, the backup set using the centralized control module takes over control module performs centralized control function. 考虑收录备份的问题,如果一台收录机死掉,那么启动另一台收录机的情况(如果分段收录的话,可能会丢失一个片断),需要配置一个设备组中作为备份的收录机(一般一个设备组中根据实际使用情况设置备份收录机的台数)台数。 Consider the issue included in the backup, tape recorders if one died, then the situation to start another tape recorders (if included in the segment, it may be missing a piece), tape recorders need to configure a device group as the backup (generally a group of devices provided in the backup tape recorders based on actual usage several) several. 在收录编单时考虑收录机冲突时,可分配的收录机台数=总台数-备份个数。 When considering recorders conflicts when included single knitting, the number of recorders station can be allocated = total number of units - the number of backup.

[0064] 通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到本发明可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。 [0064] By the above described embodiments, those skilled in the art may clearly understand that the present invention may be implemented by software plus a necessary universal hardware platform, also be implemented by hardware, but the former is in many cases more good embodiments. 基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。 Based on such understanding, the technical solutions of the present invention in essence or the part contributing to the prior art may be embodied in a software product, which computer software product is stored in a storage medium and includes several instructions to enable a a computer device (may be a personal computer, a server, or network device) to execute the methods according to embodiments of the present invention.

[0065] 以上公开的仅为本发明的几个具体实施例,但是,本发明并非局限于此,任何本领域的技术人员能思之的变化都应落入本发明的保护范围。 Only a few [0065] The above disclosed specific embodiments of the present invention, however, the present invention is not limited thereto, anyone skilled in the art can think of variations shall fall within the scope of the present invention.

Claims (8)

  1. 1. 一种收录设备自动分配方法,其特征在于,包括:收录编单模块根据用户输入的编单信息生成编单任务,存储到数据库表中,并根据多个数据库表联合生成数据库视图;集中控制模块将所述编单任务分配给当前空闲的收录机和接收机;所述集中控制模块根据所述编单任务向接收机控制模块发送UDP消息,使接收机控制模块控制已分配接收机进行相应的频道输出;矩阵控制模块,将已分配接收机输出端和已分配收录机之间的通道连通,使得已分配收录机能按照编单任务收录正确的频道信号。 An automatic device included allocation method, which is characterized in that, comprising: a collection module generates a single knitting knitting according to knitting a single task single user input information stored in the database table, and generating a combined view of the plurality of database tables database; concentrated encoding said single control module assigned to the current idle receivers and tape recorders; centralized control module sends the UDP message to the receiver control module according to the encoding single task, the control module controls the receiver to have been assigned a respective receiver channel output; matrix control module, the output of the receiver and the assigned channel allocated communication between the tape recorders, tape recorders can be assigned such that the right channel signal included in the coded message single task.
  2. 2.如权利要求1所述收录设备自动分配方法,其特征在于,所述收录编单模块根据用户输入的编单信息生成编单任务之前还包括:对收录机进行分组,分组规则按照用户需求,与实际使用的频道和栏目对应。 2. The method of claim 1 included in the automatic dispensing apparatus as claimed in claim, wherein said collection of The encoding module before encoding the single user input to generate a single coding single task further comprising: tape recorders grouping, grouping the rules specified by the customer, corresponds to channels and columns actually used.
  3. 3.如权利要求1所述收录设备自动分配方法,其特征在于,所述收录编单模块根据用户输入的编单信息生成编单任务具体包括:接收用户输入的编单信息,所述编单信息包括:收录名称、开始时间、结束时间、收录频道、收录机组信息;检测所述编单信息是否与现有任务有冲突,如果没有冲突时,则根据所述编单信息生成编单任务,并存储到数据库表中。 The automatic apparatus included allocation method according to claim 1, wherein said collection of The encoding module encoding single single single provision information generation task input by the user comprises: receiving the single user input information compiled, the compiled single information includes: the name, start time, end time, channel included, information included in the unit; detecting whether the coding order information and existing tasks conflict, if there is no conflict, the task is generated based on the provision of single single provision information, and stored in a database table.
  4. 4.如权利要求3所述收录设备自动分配方法,其特征在于,所述检测所述编单信息是否与现有任务有冲突,包括:进行任务冲突判断,判断是否有可用的收录机进行分配;和进行频道冲突判断,判断是否有可用的接收机进行分配。 The automatic apparatus included allocation method according to claim 3, wherein said detecting whether said coding order information and conflict existing task, comprising: conflict determination task determines whether tape recorders are available for allocation; and for determining a channel conflict, determining whether the receiver is available for allocation.
  5. 5.如权利要求4所述收录设备自动分配方法,其特征在于,所述频道冲突判断具体包括:获得所有正在执行和等待执行的任务列表;获得所有的接收机列表;在接收机列表中查找是否具有对应的接收机,该对应的接收机有收录频道并且和当前编单任务所需频道相同,并且和其他的任务没有冲突,则当前的编单任务分配给该对应的接收机;如果没有符合条件的接收机,则滤掉所述编单任务。 The automatic apparatus included allocation method according to claim 4, wherein said channel conflict determination comprises: obtaining a list of all the tasks is being executed, and waiting to be executed; obtaining a list of all the receivers; Find the list in the receiver whether the corresponding receiver, included in the corresponding receiver has a single channel and the same task and currently programmed desired channel and other tasks and there are no conflicts, then the current task assigned to the single encoding a corresponding receiver; if not eligible receiver, the filtered encoding a single task.
  6. 6.如权利要求1所述收录设备自动分配方法,其特征在于,所述矩阵控制模块将已分配接收机输出端和已分配收录机之间的通道连通具体包括:从数据库视图获取相应的编单任务信息,包括任务名称,频道,矩阵输入端口,矩阵输出端口信息;根据数据库视图获得得信息,把矩阵输入端口和输出端口通道打开,即连通对应的已分配接收机和已分配收录机。 6. The method of claim 1 included in the automatic dispensing apparatus as claimed in claim, wherein said matrix control module allocated communication channel between the receiver output and recorders have been allocated specifically comprises: acquiring from a database corresponding to a single view coding task information includes task name, channel matrix input port, output port information matrix; view taken according to the database to obtain information, to the matrix input and output ports to open the passage, i.e., corresponding to the allocated communication receivers and tape recorders have been assigned.
  7. 7.如权利要求6所述收录设备自动分配方法,其特征在于,所述从数据库视图获取相应的编单任务具体包括:编单任务获取子模块直接从数据库视图中获得编单任务的相应信息;所述视图是数据库表的多个表联合按照一定规则生成的,该数据表的多个表是“编单任务表,矩阵配置表, 矩阵输入端口配置表和矩阵输出端口配置表”,数据库视图中包含的信息包括:任务名称,频道,矩阵输入端口,矩阵输出端口信息;并且能够根据接收的集中控制模块分配了收录机和接收机后发送的UDP通知消息,刷新编单任务列表。 The automatic apparatus included allocation method according to claim 6, wherein said obtaining the corresponding compiled from a single task database views comprises: a task acquisition sub-module single knitting knitting single task obtained directly from the database information corresponding to the view ; said plurality of tables is a view of the combined database tables generated according to certain rules, a plurality of tables for the table is "compiled single task table configuration table matrix, the matrix input port configuration table and matrix output port configuration table", database the view contains information comprising: a task name, channel matrix input port, output port information matrix; and UDP can be transmitted after the assigned tape recorders and a receiver according to the received centralized control module a notification message, refresh eds single task list.
  8. 8.如权利要求1所述收录设备自动分配方法,其特征在于,还包括增加备份集中控制模块,通过发送定时心跳检测集中控制模块状态,当检测到所述集中控制模块出现故障时, 使用备份集中控制模块接替所述集中控制模块执行集中控制功能。 8. The method of claim 1 included in the automatic dispensing apparatus as claimed in claim, characterized in that, further comprising a control module to increase the backup set, by the transmission timing control module heartbeat centralized state, upon detecting that the centralized control module fails, use the backup centralized control module takes over the centralized control module performs centralized control function.
CN 200710303878 2007-12-26 2007-12-26 Automatic allocation method for acceptance equipment CN101472080B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200710303878 CN101472080B (en) 2007-12-26 2007-12-26 Automatic allocation method for acceptance equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200710303878 CN101472080B (en) 2007-12-26 2007-12-26 Automatic allocation method for acceptance equipment

Publications (2)

Publication Number Publication Date
CN101472080A true CN101472080A (en) 2009-07-01
CN101472080B true CN101472080B (en) 2012-05-30

Family

ID=40829168

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200710303878 CN101472080B (en) 2007-12-26 2007-12-26 Automatic allocation method for acceptance equipment

Country Status (1)

Country Link
CN (1) CN101472080B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104038670A (en) * 2013-03-06 2014-09-10 北大方正集团有限公司 Method and system for sharing broadcast equipment of television stations

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1077074A (en) 1992-03-12 1993-10-06 包应忠 Video signal transmitter
US6038368A (en) 1996-02-05 2000-03-14 Sony Corporation System for acquiring, reviewing, and editing sports video segments
CN1723505A (en) 2002-12-10 2006-01-18 皇家飞利浦电子股份有限公司 Editing of real time information on a record carrier
CN1968354A (en) 2005-11-15 2007-05-23 株式会社东芝 Video play system and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1077074A (en) 1992-03-12 1993-10-06 包应忠 Video signal transmitter
US6038368A (en) 1996-02-05 2000-03-14 Sony Corporation System for acquiring, reviewing, and editing sports video segments
CN1723505A (en) 2002-12-10 2006-01-18 皇家飞利浦电子股份有限公司 Editing of real time information on a record carrier
CN1968354A (en) 2005-11-15 2007-05-23 株式会社东芝 Video play system and method

Also Published As

Publication number Publication date Type
CN101472080A (en) 2009-07-01 application

Similar Documents

Publication Publication Date Title
US5629867A (en) Selection and retrieval of music from a digital database
US6130668A (en) Supervisory control system for networked multimedia workstations that provides simultaneous observation of multiple remote workstations
US5724530A (en) Supervisory control system for networked multimedia workstations that provides remote launching of files
US5857190A (en) Event logging system and method for logging events in a network system
US5954829A (en) System, method, and computer program product for digital cross connect testing
US5684952A (en) Supervisory control system for networked multimedia workstations that provides reconfiguration of workstations by remotely updating the operating system
US6792469B1 (en) System and method for monitoring and controlling the production of audio and video streams
US20030037130A1 (en) Method and system for accessing computer systems in a computer network
US20020091977A1 (en) Method and system for multi-user channel allocation for a multi-channel analyzer
US20040049794A1 (en) Method for managing audiovisual broadcast recordings and associated devices
US6539415B1 (en) Method and apparatus for the allocation of audio/video tasks in a network system
US4947244A (en) Video selection and distribution system
US6425096B1 (en) Method and system for audio portion test management in a client/server testing architecture
US7103667B1 (en) Announced session control
JP2004023326A (en) Video recorder
US20050125314A1 (en) Resource usage metering of network services
US8606897B2 (en) Systems and methods for exporting usage history data as input to a management platform of a target cloud-based network
US20140282741A1 (en) System and method for resolving scheduling conflicts in multi-tuner devices and systems
CN1481122A (en) Method for controlling and managing electrical appliances in household network
CN1905455A (en) Open type multimedia transmission system based on internet and streaming media technique
US7389240B2 (en) System and method for implementing recording plans using a presence-based manager
CN1346089A (en) Intelligent upgrade method, system and device
CN1992635A (en) Method of simulating SNMP network element and performing network management system test with the network element
JP2003258799A (en) Operation support system
CN1820505A (en) Distributed mcu

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
C14 Grant of patent or utility model
CF01