CN103105613A - Method and device for signal source selection - Google Patents

Method and device for signal source selection Download PDF

Info

Publication number
CN103105613A
CN103105613A CN 201110352027 CN201110352027A CN103105613A CN 103105613 A CN103105613 A CN 103105613A CN 201110352027 CN201110352027 CN 201110352027 CN 201110352027 A CN201110352027 A CN 201110352027A CN 103105613 A CN103105613 A CN 103105613A
Authority
CN
Grant status
Application
Patent type
Prior art keywords
signal source
signal
alarm
source
selection
Prior art date
Application number
CN 201110352027
Other languages
Chinese (zh)
Other versions
CN103105613B (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

Links

Abstract

The invention discloses a method and a device for signal source selection. The method comprises that when multiple channels of signal sources are accessed, whether an alarm exists in each channel of a signal source is detected; and according to an alarm detection result and preset configuration information, a current optimal signal source in the signal sources is determined. According to the method and the device, the effect that under the condition of access of the multiple channels of the signal sources, a user can select the optimal signal source for access so that integral performance of a system is improved and meanwhile user experience is improved.

Description

信号源选择方法及装置技术领域[0001] 本发明涉及通信领域,具体而言,涉及一种信号源选择方法及装置。 Source selection method and apparatus TECHNICAL FIELD [0001] The present invention relates to communication field, particularly, to a method and apparatus for signal source selection. 背景技术[0002] 随着时代的发展,定位技术已经广泛的应用于生活中,对于应用最为广泛的全球定位系统(Global Positioning System,简称为GPS)来说,它是一个由覆盖全球的24颗卫星组成的卫星系统。 [0002] With the development of positioning technology has been widely used in life, for the most widely used global positioning system (Global Positioning System, referred to as GPS), it is a 24 over the globally satellite satellite system consisting of. 这个系统可以保证在任意时刻,地球上任意一点都可以同时观测到4颗卫星,以保证卫星可以采集到该观测点的经纬度和高度,以便实现导航、定位、授时等功能。 This system ensures that at any time, at any point on Earth can be observed simultaneously to four satellites, the satellite can be collected to ensure that the latitude and longitude and the height of the observation point, in order to achieve the functions of the navigation, positioning, timing and the like. GPS还可以应用于授时校频,例如电力,邮电,通讯等网络的时间同步、准确时间的授入、准确频率的授入等,在同步网络工程应用中使用范围比较广。 GPS can also be applied when granted and frequency calibration, such as time electricity, telecommunications, communications and other network synchronization, the exact time of the grant, the grant accurate frequency, etc., in the use of synchronous network engineering applications more widely. [0003] 对于GPS信号来说,它是一种离散的、一秒钟一次的信号。 [0003] For GPS signals, it is a discrete signal a second time. 与连续信号在出现告警的时候能立即检测到告警的存在不同,当GPS信号出现异常时,必须要经过一段告警确认时间才能判断是否存在告警。 And continuous signal in times of alarm can immediately detect the presence of different alarms when GPS signal abnormality occurs, the alarm must be confirmed after a period of time to determine whether there is an alarm. GPS接口在物理型号上分为两种:一种是GPS天线接口,另一种是一般的秒脉冲(I pulse per second,简称为1PPS) +日时间(Time of Day,简称为TOD)接口,即1PPS+T0D接口。 GPS interface model is physically divided into two: one is GPS antenna interface, the other is a general second pulse (I pulse per second, abbreviated as 1PPS) + time of day (Time of Day, simply referred to as TOD) interfaces, i.e. 1PPS + T0D interface. 对于天线接口来说,它是通过一个编解码芯片来处理信号的,当链路发生故障的时候,芯片可以维持发送IPPS信号,这样一来就不会发生切换。 For antenna interface, it is obtained by a codec chip for processing a signal, when a link fails, the chip can be maintained IPPS signal transmission, so that the switching does not occur. 而对一般的1PPS+T0D接口,在检测告警的时候,不仅要检测IPPS是否存在异常,也要检测TOD报文是否存在异常,所以判断告警存在的条件有以下三种情况情况:(a)没有IPPS信号或者IPPS信号丢失;(b)有IPPS信号,但是TOD报文中秒脉冲状态显示IPPS信号不可用;(c)有TOD报文,但是报文不含时间信息。 And in general 1PPS + T0D interfaces, an alarm detection time, not only to detect whether there is an abnormality IPPS, also detects whether there is abnormality TOD packet, it is judged that the alarm condition exists where the following three conditions: (a) no IPPS IPPS signal or signal loss; (b) with a IPPS signal, the second pulse TOD message status display IPPS signal is not available; (c) have TOD packets, but the packets contain time information. 在现有装置中,检测到的上述告警只能实现告警上报功能,在链路发生故障时,没有相应的保护措施。 In the conventional apparatus, the alarm is detected only achieve alarm reporting function, when a link failure occurs, no corresponding protection. [0004] 在实际组网应用中,现有技术中存在的定位装置(例如,GPS定位装置),一般只接入一个信号源(例如,GPS信号源),但是为了实现保护功能,也有接入两个信号源的应用场景。 [0004] In actual networking application, the positioning means (e.g., GPS positioning means) present in the prior art, generally only access a signal source (e.g., GPS source), but in order to achieve protection, but also access scenario two sources. 当接入多个信号源时,无法分辨各路信号源的质量,因此经常会接入质量差的信号源。 A plurality of signal sources when the access is impossible to distinguish the quality of the brightest signal source, thus often poor quality of the access signal source. 发明内容[0005] 针对相关技术中当接入多个信号源时,无法分辨各路信号源的质量,因此经常会接入质量差的信号源的问题,本发明提供了一种信号源选择方法及装置,以至少解决上述问题。 SUMMARY OF THE INVENTION [0005] for the related art when a plurality of signal sources when the access is impossible to distinguish the quality of the brightest signal source, so access problem often poor quality of the signal source, the present invention provides a method of selecting a signal source and means to at least solve the above problems. [0006] 根据本发明的一个方面,提供了一种信号源选择方法,包括:当存在多路信号源接入时,检测每路信号源是否存在告警;根据告警检测结果和预定配置信息确定信号源中当前最优的信号源。 [0006] In accordance with one aspect of the invention, there is provided a signal source selection method, comprising: when there are multiple access signal sources, signal sources each detects whether there is an alarm; determination signal based on the alarm and the detection result of the predetermined configuration information source current optimal signal source. [0007] 根据本发明的另一方面,提供了一种信号源选择装置,包括:检测模块,用于在存在多路信号源接入时,检测每路所述信号源是否存在告警;确定模块,用于根据告警检测结果和预定配置信息确定所述信号源中当前最优的信号源。 [0007] According to another aspect of the present invention, there is provided a signal source selection device, comprising: a detecting module, configured to, when there are multiple access signal sources, each channel detecting the presence or absence of the alarm signal source; determining module for optimum current signal source to the signal source alarm and the detection result is determined according to predetermined configuration information. [0008] 通过本发明,采用检测接入的多路信号源的告警信息,并根据告警检测结果和预定配置信息确定信号源中当前最优的信号源的方法,解决了相关技术中当接入多个信号源时,无法分辨各路信号源的质量,因此经常会接入质量差的信号源的问题,进而可以使用户在多路信号源接入的情况下选择出最优的信号源,提升了系统的整体性能,同时也提高了用户体验。 Method [0008] By the present invention, a detection alarm access multiple sources of information, and determines the current optimal source signal sources in accordance with the detection result of the alarm and a predetermined configuration to solve the related art when the access a plurality of signal sources, the brightest quality can not distinguish the signal source, so access problem often poor quality of the signal source, and thus allows the user to select the optimal signal source in the case of multiple sources of access, enhance the overall performance of the system, but also improve the user experience. 附图说明[0009] 此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。 BRIEF DESCRIPTION [0009] The drawings described herein are provided for further understanding of the present invention, constitute a part of this application, exemplary embodiments of the present invention are used to explain the present invention without unduly of the present invention limited. 在附图中:[0010] 图1是根据本发明实施例的信号源选择方法的流程图;[0011] 图2是根据本发明优选实施例的信号源选择方法的流程图;[0012] 图3是根据本发明实施例的信号源选择装置的结构框图;[0013] 图4是根据本发明优选实施例一的信号源选择装置的结构框图;[0014] 图5是根据本发明优选实施例二的信号源选择装置的结构框图。 In the drawings: [0010] FIG. 1 is a flowchart of a method of selecting a signal source of an embodiment of the present invention; [0011] FIG 2 is a flowchart of a method of selecting a signal source according to a preferred embodiment of the present invention; [0012] FIG. 3 is a block diagram of a signal source selection means to an embodiment of the present invention; [0013] FIG 4 is a signal source selection means a configuration block diagram of one embodiment according to the present invention preferably; [0014] FIG. 5 is a preferred embodiment according to the present invention source selection block diagram of two apparatus. 具体实施方式[0015] 下文中将参考附图并结合实施例来详细说明本发明。 DETAILED DESCRIPTION [0015] Hereinafter with reference to the accompanying drawings and embodiments of the present invention will be described in detail. 需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。 Incidentally, in the case of no conflict, embodiments and features of the embodiments of the present application can be combined with each other. [0016] 图1是根据本发明实施例的信号源选择方法的流程图,如图1所示,该信号源选择方法包括以下步骤:[0017] 步骤S102,当存在多路信号源接入时,检测每路信号源是否存在告警;[0018] 步骤S104,根据告警检测结果和预定配置信息确定信号源中的当前最优的信号源。 [0016] FIG. 1 is a flowchart of a signal source selection method of the embodiment of the present invention, shown in Figure 1, the signal source selection method comprising the steps of: [0017] step S102, when there are multiple sources, the access detecting the presence or absence of each alarm signal sources; [0018] step S104, it is determined that the current optimal source signal sources in accordance with the detection result of the alarm and a predetermined configuration. [0019] 通过本实施例,采用检测接入的多路信号源的告警信息,并根据告警检测结果和预定配置信息确定信号源中的当前最优的信号源的方法,解决了相关技术中当接入多个信号源时,无法分辨各路信号源的质量,因此经常会接入质量差的信号源的问题,进而可以使用户在多路信号源接入的情况下选择出当前最优的信号源,提升了系统的整体性能,同时也提闻了用户体验。 [0019] In the present embodiment, the access detecting alarm information using multiple sources and methods of the current best source signal source and the detection result is determined based on the alarm information of a predetermined configuration, when the problem in the related art when access to a plurality of signal sources, the brightest source can not distinguish the quality and therefore the access problem often poor quality of the signal source, and thus allows the user to select the optimum in a case where the current multiple sources of access signal source, improve overall system performance, but also provide the user audible experience. [0020] 在上述实施例中,上述预定配置信息可以包括:信号源的选择方式和信号源的优先级,其中,该选择方式还可以包括:人工选择方式和非人工选择方式(也可以称为自动选择方式)。 [0020] In the above embodiment, the predetermined configuration information may include: the priority mode selection signal source and the signal source, wherein, the selection method may further comprising: a manual selection mode and non-manual selection mode (also referred to as automatic selection mode). 在实施过程中,人工选择方式可以是人工干预选择信号源,非人工选择方式可以是自动选择信号源,在设置的过程中,人工选择方式的优先级可以高于非人工选择。 In the implementation process, manual selection may be a manual intervention mode select signal source, non-manual mode can be selected automatically select the signal source, in the setting, the priority manual selection mode may be higher than non-manual selection. 通过提供信号源的选择方式和信号源的优先级,可以使系统的具有更灵活的选择性,用户体验也会随之增高。 By providing a mode selection signal sources and the priority of the source, the system can be made more flexible selectivity, the user will also experience increased. [0021] 优选地,当选择方式为人工选择方式时,步骤S104可以包括以下处理:[0022] (I)响应用户的信号源选择指令,在信号源中确定需要选择的信号源;[0023] (2)当需要选择的信号源不存在告警时,确定需要选择的信号源为当前最优的信号源。 [0021] Preferably, when the selected mode is the manual selection mode, step S104 may include the following processes: [0022] (I) in response to the source user's selection instruction, determining a signal source requires selection of a signal source; [0023] (2) when the alarm signal source requires selection does not exist, it determines that the signal source for the current to choose the optimal source. [0024] 在实施过程中,如果人为选择的信号源中存在告警,则系统可以提示用户重新选择没有告警的信号源,提示的方式可以是通过声音也可以是通过图像显示。 [0024] In the implementation, if there is an alarm signal anthropogenic selected, the system may prompt the user to select the source of the alarm is not suggested way may also be by voice through the image display. 当用户重新选择的过程中,重复上述选择与告警的过程,直到用户选择到没有告警的信号源为止。 When the user re-selection process, the process is repeated with the selection of the alarm until the user chooses not to the signal source until the alarm. 在实施过程中,也可以是系统在最初选择的过程中就排除存在告警的信号源,当用户选择时,可以随意选择,只要选择到的信号源都是没有告警的信号源。 In the implementation, the system may be selected during the initial source to exclude the presence of the alarm signal, when the user selects, can be freely selected as long as the signal source selection is not the source of the alarm. 人工选择方式的设置,可以使用户任意选择信号源,增加了同步网络的可维护性,方便用户进行干预操作。 Set manual selection mode, the user can arbitrarily select the source, increase the maintainability of the synchronization network, user intervention operation. [0025] 优选地,当选择方式为非人工选择方式(即自动选择)时,步骤S104可以进一步包括以下处理:[0026] (I)按照信号源的优先级对信号源中不存在告警的信号源进行排序;[0027] (2)根据排序结果确定信号源中的当前最优的信号源。 [0025] Preferably, when the mode non-selected manual selection mode (i.e., automatic selection), step S104 may further include the following processing: [0026] (I) according to the priority of the source of the alarm signal is not present in the source signal source sorting; [0027] (2) determining the optimal current source signal sources in accordance with the ranking result. [0028] 在实施过程中,因为告警检测结果显示为存在告警的各路信号源质量较差,所以不选择此类信号源作为最终参考信号源,对不存在告警的各路信号源按优先级进行排序。 [0028] In the process of the embodiment, since the detection result of the alarm display is poor, so that such a signal source is not selected as the source for mass brightest present as the final alarm reference signal source, the signal source does not exist on the various quarters of the alarm priority Sort. 可以将优先级按由大到小的顺序排列,也可以按从小到大的顺序进行排列,无论按何种方式排列,都选择优先级最大的信号源作为最有信号源。 The priority may be arranged in descending order, to large may be arranged in ascending order, no matter how arranged, we have the maximum priority is selected as a signal source for most sources. 非人工选择方式的设置,当用户在无法选择时,系统可以为其选择一路最优的信号源作为输入,在当前接入信号出现问题或者链路出现故障的时候,可以有效的进行保护倒换,使系统更加智能化。 Non-manual selection mode setting, when the user can not choose, the system may choose the way for the optimal signal as an input source, or when a link failure problem appears in the current access signal, switching can effectively be protected, make the system more intelligent. [0029] 在优选实施过程中,上述预定配置信息还可以包括:告警产生和告警消失的确认时间,其中,在检测每路信号源是否存在告警之前,还可以进一步包括以下处理:[0030] (I)配置多个用于接收信号源的端口;[0031] (2)设置信号源的优先级、确认时间和信号源的选择方式。 [0029] In a preferred embodiment of the process, the predetermined configuration information may also include: confirmation time alarm generation and the alarm ends, wherein, prior to detecting whether each signal source exists alarm may further include the following processing: [0030] ( I) a plurality of ports for receiving a signal source; [0031] priority (2) provided signal source, and confirm the selection mode the time signal source. [0032] 例如,上述端口可以为1PPS+T0D接口。 [0032] For example, the above port can be 1PPS + T0D interface. 在优选实施过程中,检测每路信号源是否存在告警可以包括以下之一:[0033] (I)如果信号源的一路或多路信号源的IPPS信号不存在,则确定该一路或多路信号源存在告警;[0034] (2)如果信号源的一路或多路信号源的TOD报文中秒脉冲状态显示存在的IPPS信号不可用,则确定该一路或多路信号源存在告警;[0035] (3)如果信号源的一路或多路信号源中存在的TOD报文不含时间信息,则确定该一路或多路信号源存在告警。 In a preferred embodiment the process of detecting the presence or absence of each alarm signal sources may comprise one of: [0033] (I) one or more ways if IPPS signal source signal source does not exist, the one or more channels to determine signal alarm source exists; [0034] (2) if the second pulse TOD packet status or signal sources along the signal source is present a display signal IPPS is unavailable, it is determined that the presence of the alarm signal source of one or more channels; [0035 ] (3) one or more ways if the signal source is present in TOD source packets contain time information, it is determined that the presence of the alarm signal source one or more branches. [0036] 在优选实施过程中,上述信号源可以是使用最为广泛的GPS信号源。 [0036] In a preferred embodiment of the process, the signal source may be the most widely used GPS signal source. 下面以最为常用的GPS信号源为例进一步描述上述优选实施方式。 The most commonly used below to a GPS signal source is further described with an example embodiment of the above-described preferred embodiment. [0037] 图2是根据本发明优选实施例的信号源选择方法的流程图。 [0037] FIG 2 is a flowchart of a method of selecting a signal source according to a preferred embodiment of the present invention. 如图2所示,该信号源选择方法包括以下处理:[0038] 步骤S202,配置GPS信号源的端口。 As shown in FIG. 2, the signal source selection method comprises the following processes: [0038] step S202, a port GPS signal source. [0039] 其中,配置多个GPS端口接入GPS参考源,该GPS端口是指1PPS+T0D接口。 [0039] wherein a plurality of access ports GPS GPS reference source, means that the GPS 1PPS + T0D port interfaces. 如果期望设备有多个1PPS+T0D端口接入GPS参考源,则将各个端口配置为允许信号输入即可。 If the desired device has a plurality of access ports GPS 1PPS + T0D reference source, then each port can be configured to allow a signal input. [0040] 步骤S204,配置参数。 [0040] Step S204, the configuration parameters. [0041] 其中,配置的参数主要包括优先级、告警产生和告警消失确认时间、以及源选择方式。 [0041] wherein the configuration parameters include the priority, alarm generation time, and alarm acknowledgment disappear, and source select mode. [0042] 优选地,设置每路GPS信号的优先级,该优先级是用来标识每路时钟源的标志。 [0042] Preferably, the priority of each channel provided the GPS signal, which is used to identify the priority of each clock source flag. 优先级一般是按照某种规律进行排序,在实现过程中,按照正整数由大到小进行排序,数字越小代表优先级越高。 Priority is generally carried out in accordance with a certain rule ordering, in the implementation process, it is sorted in descending positive integer smaller the number, the higher the priority behalf. [0043] 优选地,设置告警产生和告警消失确认时间,其中,该确认时间是以秒为单位,用以避免误检测告警的产生和消失的一段时间。 [0043] Preferably, alarm generation time, and an alarm ends acknowledgment, wherein the acknowledgment time is in seconds, to avoid false alarms and detection period disappears. 因为TOD报文的离散性,所以对告警的检测需要有一个确认时间。 TOD as discrete packets, so the detection of the alarm is required to confirm a time. [0044] 优选地,设置源选择方式,其中,该选择方式主要包括人工选择方式以及非人工选择方式(自动选择方式),可以设置人工选择方式的优先级要高于自动选择方式。 [0044] Preferably, a source select mode, wherein the selected mode includes manual selection mode and a non-manual selection mode (automatic selection mode), may be provided in the manual selection mode a higher priority than the automatic selection mode. [0045] 步骤S206,查询告警。 [0045] step S206, the query alarms. 对每路接入信号或端口是否存在告警轮询检测,并进行告警处理。 Each of the access signal or whether there is a port alarm polling detection, and alarm processing. 在实施过程中,判断告警存在的条件包括以下之一:[0046] (I)没有IPPS或者IPPS丢失;[0047] (2)有IPPS,但是TOD报文中秒脉冲状态显示IPPS不可用;[0048] (3)有TOD报文,但是报文不含时间信息。 In the implementation process, comprising determining the presence of one of the following alarms: [0046] (I) or IPPS IPPS not lost; [0047] (2) IPPS, but the second pulse TOD message status display IPPS unavailable; [ 0048] (3) TOD packets, but the packets contain time information. [0049] 步骤S208,选择GPS信号源。 [0049] step S208, the GPS signal source selection. 步骤S206的检测结果为依据,同时根据用户设置,对所有信号源的优劣进行排序,选出一路最优信号。 Detection result in step S206 is based, while according to user settings, for all sources merits sort, all the way to select the optimal signal. [0050] 其中,如果以人工参与选择的方式进行GPS参考源的选择,在没有检测到告警的情况下,选指定的GPS信号作为源输入,并终止信号源列表的搜索;[0051] 如果以自动选择的方式进行GPS输入源的选择,则根据是否存在告警以及优先级的高低进行排序,如果存在告警,则一定不选择此路信号作为最终参考源,如果不存在告警,则比较各路不存在告警的参考源的优先级,并进行排序,根据排序结果选出一路最优的信号源作为输入。 [0050] wherein, if either manually involved in the selection of the selected GPS reference source, in the absence of detected alarm, selected from specified GPS signal is input as the source, and terminating the search signal source list; [0051] If GPS way automatic selection input source selection, then sorted according to the presence or absence of an alarm and the level of priority, if there is an alarm, the signal must not select this path as a final reference source, if the alarm does not exist, the comparison is not the brightest presence of the reference source of the alarm priority and rank, the best way to select the input signal source according to a ranking result. [0052] 当执行完上述步骤后,进入下一次的新告警执行过程,即可以重复执行步骤S206至S208,从而可以根据当前实际情况再次选择当前最优的信号源。 [0052] After executing the above steps, the process enters a new alarm is performed, i.e., may repeat steps S206 to S208, an optimal current can be selected again according to the current signal source to the actual situation. [0053] 图3是根据本发明实施例的信号源选择装置的结构框图。 [0053] FIG. 3 is a block diagram showing a signal source selection device according to an embodiment of the present invention. 如图3所示,该信号源选择装置包括:[0054] 检测模块10,用于在存在多路信号源接入时,检测每路信号源是否存在告警;[0055] 确定模块20,与检测模块10连接或耦合,用于根据告警检测结果和预定配置信息确定信号源中的当前最优的信号源。 As shown, the signal source selection means 3 comprises: [0054] The detection module 10, configured to, when there are multiple access signal sources, signal sources each detects whether there is an alarm; [0055] determination module 20, and the detection module 10 is connected or coupled, for determining a current optimal source signal sources in accordance with the detection result of the alarm and a predetermined configuration. [0056] 在上述信号源选择装置中,确定模块20根据检测模块10的告警检测结果和预定配置信息确定信号源中的当前最优的信号源,进而可以使用户在多路信号源接入的情况下选择出当前最优的信号源,提升了系统的整体性能,同时也提高了用户体验。 [0056] In the source selection means, determines the optimal current source 20 the signal source module alarm detection result of the detection module 10 is determined according to predetermined configuration information, and further allows the user access to multiple sources in the the case of selecting the best of the current source, enhance the overall performance of the system, but also improve the user experience. [0057] 优选地,如图4和图5所示,上述信号源选择装置还可以包括:[0058] 配置模块30,用于配置多个用于接收信号源的端口;[0059] 设置模块40,与配置模块30和检测模块10连接或耦合,用于设置预定配置信息,其中,预定配置信息包括:信号源的优先级、告警产生和告警消失的确认时间和信号源的选择方式。 [0057] Preferably, as shown in FIGS. 4 and 5, the signal source selection means may further comprise: [0058] Configuration module 30, a plurality of ports for receiving a signal source; [0059] Module 40 is provided , connected or coupled with the configuration module 30 and detection module 10, for setting the predetermined configuration information, wherein the predetermined configuration information comprises: a signal source priority, alarm generation and the alarm disappears and the time selection mode acknowledgment signal source. [0060] 优选地,如图4所示,上述确定模块20可以进一步包括:[0061] 第一确定单兀202,用于在信号源的选择方式为人工选择方式时,响应用户的信号源选择指令,在信号源中确定需要选择的信号源;[0062] 第二确定单元204,与第一确定单元202连接或耦合,用于在需要选择的信号源不存在告警时,确定需要选择的信号源为当前最优的信号源。 [0060] Preferably, as shown in FIG. 4, the determination module 20 may further comprise: [0061] Wu first determination unit 202, the signal source for selecting mode for manual selection mode, the selected signal source in response to the user instructions defining the desired source selection signal sources; [0062] the second determining unit 204, connected or coupled to the first determining unit 202, when the signal source is used to choose the alarm does not exist, determines that the selected signal the best source for the current signal source. [0063] 优选地,如图5所示,确定模块20可以进一步包括:[0064] 排序单兀206,用于在信号源的选择方式为非人工选择方式(自动选择方式)时,按照信号源的优先级对信号源中不存在告警的信号源进行排序;[0065] 第三确定单元208,与排序单元206连接或耦合,用于根据排序结果确定信号源中的当前最优的信号源。 [0063] Preferably, as shown in FIG. 5, the determination module 20 may further comprise: [0064] Wu single sort 206 for the non-selection mode signal source manual selection mode (automatic selection mode), the signal source in accordance with the priority of the alarm signal sources absence of a signal source sorted; [0065] the third determining unit 208, the sorting unit 206 is connected or coupled, for determining a current optimal source signal sources in accordance with the ranking result. [0066] 图4所示的信号源选择装置为一种优选的信号源选择装置,当信号源的选择方式为人工选择方式时,该装置可以根据用户的干预确定出当前最优的信号源。 [0066] FIG 4 the signal source selection means selecting a signal source as a preferred embodiment when the selected signal source to manual selection mode, the device may determine the current optimal signal source according to a user's intervention. 图5所示的信号源选择装置为另一种优选的信号源选择装置,当信号源的选择方式为非人工选择方式(自动选择方式)时,该装置可以按照优先级大小从信号源中不存在告警的信号源确定出当前最优的信号源。 FIG source selecting means 5 shown is another preferred source selection means, when a non-selection mode signal source manual selection mode (automatic selection mode), the device may not be from a signal source in accordance with the priority size determining the presence of the signal source the current optimal alarm signal source. [0067] 综上,借助本发明提供的上述实施例,通过提供人工干预选择信号源的方法和通过对告警的检测以及优先级的设置的方法,做到从多路信号源中选择一路最优的作为输入,当在信号源出现故障的情况下也能进行保护倒换,有效避免了GPS时钟或时间同步路径的中断。 [0067] In summary, by the above-described embodiments of the present invention provides, manual intervention by providing a method and a signal source selection by detection of an alarm and a method for setting priority, so that the best way to select from the multiplexed signal sources as inputs, in the case of failure of the source protection switching can be carried out to effectively prevent the GPS clock or time synchronization interrupt path. [0068] 显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。 [0068] Obviously, those skilled in the art should understand that the modules or steps of the present invention described above can be used general-purpose computing device, they can be integrated in a single computing device or distributed across multiple computing devices available on the Internet, optionally, they can be implemented with program codes executable by a computing device, so that, to be performed by a computing device stored in a storage means, and in some cases, may be different from this at step sequence shown or described, or they are made into integrated circuit modules, or by making them of a plurality of modules or steps in a single integrated circuit module. 这样,本发明不限制于任何特定的硬件和软件结合。 Thus, the present invention is not limited to any particular hardware and software combination. [0069] 以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。 [0069] The above description is only preferred embodiments of the present invention, it is not intended to limit the invention to those skilled in the art, the present invention may have various changes and variations. 凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 Any modification within the spirit and principle of the present invention, made, equivalent substitutions, improvements, etc., should be included within the scope of the present invention.

Claims (12)

  1. 1.一种信号源选择方法,其特征在于,包括: 当存在多路信号源接入时,检测每路所述信号源是否存在告警; 根据告警检测结果和预定配置信息确定所述信号源中当前最优的信号源。 A source selection method comprising: when there are multiple access signal sources, each channel detecting the presence or absence of the alarm signal source; determined according to a predetermined alarm detection result of the configuration information and the signal source current best signal source.
  2. 2.根据权利要求1所述的方法,其特征在于,所述预定配置信息包括:所述信号源的选择方式和所述信号源的优先级,其中,所述选择方式包括:人工选择方式和非人工选择方式。 2. The method according to claim 1, wherein the predetermined configuration information comprises: a priority mode selection signal source and the signal source, wherein said selection method comprising: a manual selection mode and non-manual selection mode.
  3. 3.根据权利要求2所述的方法,其特征在于,当所述选择方式为人工选择方式时,根据告警检测结果和预定配置信息确定所述信号源中的当前最优的信号源包括: 响应用户的信号源选择指令,在所述信号源中确定需要选择的信号源; 当所述需要选择的信号源不存在告警时,确定所述需要选择的信号源为所述当前最优的信号源。 3. The method according to claim 2, wherein, when the selected mode is a manual selection mode, determining an optimal current signal source comprises a signal source based on the alarm and the detection result of the predetermined configuration information: Response user selection instruction signal source, the signal source is determined to choose the signal source; when necessary to select the signal source alarm does not exist, determining the need to select the signal source for the current optimal signal source .
  4. 4.根据权利要求2所述的方法,其特征在于,当所述选择方式为非人工选择方式时,根据告警检测结果和预定配置信息确定所述信号源中的当前最优的信号源包括: 按照所述信号源的优先级对所述信号源中不存在告警的信号源进行排序; 根据排序结果确定所述信号源中的当前最优的信号源。 4. The method according to claim 2, wherein, when the mode non-selected manual selection mode, determining an optimal current signal source comprises a signal source based on the alarm and the detection result of the predetermined configuration information: priority alarm signal source does not exist in the source signals sorted by the signal source; determining the optimum current signal source of the signal source according to the ranking result.
  5. 5.根据权利要求2所述的方法,其特征在于,所述预定配置信息还包括:告警产生和告警消失的确认时间,在检测每路所述信号源是否存在告警之前,还包括: 配置多个用于接收所述信号源的端口; 设置所述信号源的优先级、所述确认时间和所述信号源的选择方式。 5. The method according to claim 2, wherein said predetermined configuration information further comprises: generating the alarm time and alarm acknowledgment disappear before detecting whether the signal source is present for each alarm channel, further comprising: configuring multiple ports for receiving the signal source; priority setting of the signal source, the time and manner to confirm the selection of the signal source.
  6. 6.根据权利要求5所述的方法,其特征在于,所述端口为1PPS+T0D接口。 6. The method according to claim 5, wherein said port interfaces is a 1PPS + T0D.
  7. 7.根据权利要求6所述的方法,其特征在于,检测每路所述信号源是否存在告警包括以下之一: 如果所述信号源的一路或多路信号源的IPPS信号不存在,则确定该一路或多路信号源存在告警; 如果所述信号源的一路或多路信号源的TOD报文中秒脉冲状态显示存在的IPPS信号不可用,则确定该一路或多路信号源存在告警; 如果所述信号源的一路或多路信号源中存在的TOD报文不含时间信息,则确定该一路或多路信号源存在告警。 7. The method according to claim 6, wherein said signal detecting Each source exists trap comprises one of: one or more ways if the signal IPPS signal source of the signal source does not exist, it is determined the presence of one or more channels alarm signal source; one or more ways the IPPS signal if the signal source of the signal source packet TOD showed the presence of the second pulse condition is unavailable, it is determined that the presence of the alarm signal source of one or more channels; If the way of the signal source or signal sources present in the TOD packets contain time information, it is determined that the presence of the alarm signal source one or more branches.
  8. 8.根据权利要求1至7中任一项所述的方法,其特征在于,所述信号源为GPS信号源。 8. The method according to claim 7, characterized in that said source signal is a GPS signal source.
  9. 9.一种信号源选择装置,其特征在于,包括: 检测模块,用于在存在多路信号源接入时,检测每路所述信号源是否存在告警; 确定模块,用于根据告警检测结果和预定配置信息确定所述信号源中当前最优的信号源。 A source selection means, characterized by comprising: a detection module, configured to, when there are multiple access signal sources, each channel detecting the presence or absence of the alarm signal source; determining module for alarm detection result and the predetermined configuration information determining the optimal current signal source to the signal source.
  10. 10.根据权利要求9所述的装置,其特征在于,所述信号源选择装置还包括: 配置模块,用于配置多个用于接收所述信号源的端口; 设置模块,用于设置所述预定配置信息,其中,所述预定配置信息包括:信号源的优先级、告警产生和告警消失的确认时间和信号源的选择方式。 10. The apparatus according to claim 9, characterized in that the signal source selection means further comprising: a configuration module for configuring the plurality of ports for receiving the signal source; setting means for setting the the predetermined configuration information, wherein the predetermined configuration information comprises: a signal source priority, alarm generation and the alarm disappears and the time selection mode acknowledgment signal source.
  11. 11.根据权利要求10所述的装置,其特征在于,所述确定模块包括: 第一确定单元,用于在所述信号源的选择方式为人工选择方式时,响应用户的信号源选择指令,在所述信号源中确定需要选择的信号源; 第二确定单元,用于在所述需要选择的信号源不存在告警时,确定所述需要选择的信号源为所述当前最优的信号源。 11. The apparatus according to claim 10, wherein said determining module comprises: first determining means for selecting the signal source mode is manual selection mode, the signal source in response to a user's selection instruction, determining desired source selected in the signal source; a second determining unit configured to, when the source of the alarm required the absence of selection, determining the need to select the signal source for the current optimal signal source .
  12. 12.根据权利要求10所述的装置,其特征在于,所述确定模块包括: 排序单元,用于在所述信号源的选择方式为非人工选择方式时,按照所述信号源的优先级对所述信号源中不存在告警的信号源进行排序; 第三确定单元,用于根据排序结果确定所述信号源中的当前最优的信号源。 12. The apparatus according to claim 10, wherein said determining module comprises: a sorting unit for selecting mode when said signal source is a non-manual selection mode, in accordance with the priority of the source of the signal alarm signal source sorted absence of said signal sources; third determination means for determining a current optimal signal source of the signal sources according to the ranking result.
CN 201110352027 2011-11-09 2011-11-09 Source selection method and apparatus CN103105613B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110352027 CN103105613B (en) 2011-11-09 2011-11-09 Source selection method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110352027 CN103105613B (en) 2011-11-09 2011-11-09 Source selection method and apparatus

Publications (2)

Publication Number Publication Date
CN103105613A true true CN103105613A (en) 2013-05-15
CN103105613B CN103105613B (en) 2017-02-08

Family

ID=48313609

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110352027 CN103105613B (en) 2011-11-09 2011-11-09 Source selection method and apparatus

Country Status (1)

Country Link
CN (1) CN103105613B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104682362A (en) * 2015-03-06 2015-06-03 南方电网科学研究院有限责任公司 Control method for automatically selecting effective signal
CN105281035A (en) * 2015-05-28 2016-01-27 维沃移动通信有限公司 Mobile terminal antenna switching method and mobile terminal thereof
CN105322517A (en) * 2015-08-28 2016-02-10 广西电网有限责任公司电力科学研究院 Control method for automatically choosing effective signal
CN105867859A (en) * 2016-03-25 2016-08-17 广东威创视讯科技股份有限公司 A splicing wall window windowing method and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050052290A1 (en) * 2003-09-08 2005-03-10 Axonn L.L.C. Location monitoring and transmitting device, method, and computer program product using a simplex satellite transmitter
CN2786640Y (en) * 2005-04-30 2006-06-07 中国科学院国家授时中心 GPS and Big Dipper receiver signal auto and manual switching equipment
US20070037587A1 (en) * 2000-07-14 2007-02-15 Norman Mohi Locating system and method
CN201007739Y (en) * 2006-10-19 2008-01-16 中国人民解放军总装备部汽车试验场 Beidou and GPS navigation information syncretizing machine
CN102004258A (en) * 2010-09-09 2011-04-06 中国计量科学研究院 Time frequency transfer method and receiver based on multiple global navigation satellite system (GNSS) integration
CN102123024A (en) * 2011-03-17 2011-07-13 中兴通讯股份有限公司 Method, system and device for switching and selecting clock source equipment
CN201928290U (en) * 2010-11-25 2011-08-10 江西省电力公司信息通信中心 GPS (global positioning system), Beidou and pulse multi-benchmark PTP (picture transfer protocol) master clock

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070037587A1 (en) * 2000-07-14 2007-02-15 Norman Mohi Locating system and method
US20050052290A1 (en) * 2003-09-08 2005-03-10 Axonn L.L.C. Location monitoring and transmitting device, method, and computer program product using a simplex satellite transmitter
CN2786640Y (en) * 2005-04-30 2006-06-07 中国科学院国家授时中心 GPS and Big Dipper receiver signal auto and manual switching equipment
CN201007739Y (en) * 2006-10-19 2008-01-16 中国人民解放军总装备部汽车试验场 Beidou and GPS navigation information syncretizing machine
CN102004258A (en) * 2010-09-09 2011-04-06 中国计量科学研究院 Time frequency transfer method and receiver based on multiple global navigation satellite system (GNSS) integration
CN201928290U (en) * 2010-11-25 2011-08-10 江西省电力公司信息通信中心 GPS (global positioning system), Beidou and pulse multi-benchmark PTP (picture transfer protocol) master clock
CN102123024A (en) * 2011-03-17 2011-07-13 中兴通讯股份有限公司 Method, system and device for switching and selecting clock source equipment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104682362A (en) * 2015-03-06 2015-06-03 南方电网科学研究院有限责任公司 Control method for automatically selecting effective signal
CN105281035A (en) * 2015-05-28 2016-01-27 维沃移动通信有限公司 Mobile terminal antenna switching method and mobile terminal thereof
CN105322517A (en) * 2015-08-28 2016-02-10 广西电网有限责任公司电力科学研究院 Control method for automatically choosing effective signal
CN105867859A (en) * 2016-03-25 2016-08-17 广东威创视讯科技股份有限公司 A splicing wall window windowing method and device

Also Published As

Publication number Publication date Type
CN103105613B (en) 2017-02-08 grant

Similar Documents

Publication Publication Date Title
US8013785B2 (en) Positioning system and positioning method
US8106817B2 (en) Positioning system and positioning method
Gergeleit et al. Implementing a distributed high-resolution real-time clock using the CAN-bus
US20070069946A1 (en) Systems and methods for position based services in a mobile device
US20140248910A1 (en) Adding geo-fences based on time
US20110185216A1 (en) Time Synchronization Method and System for Multicore System
CN101986595A (en) Time synchronization method and nodes
US20140194101A1 (en) Alternate notification selection
JP2005340935A (en) Broadcast signal monitoring apparatus and broadcast signal monitoring method
CN104461281A (en) Managing method and managing server of mobile terminal desktop icons and mobile terminal
JP2008228177A (en) Radio device
CN102238719A (en) Time synchronization method and device and distributed time synchronization system
CN103313216A (en) Message prompt method, system and device for communication account
CN104657250A (en) Monitoring method for monitoring performance of cloud host
CN104641245A (en) Method for detecting electric quantity of equipment, equipment, and system
WO2004066530A1 (en) Method and apparatus for the synchronization of a system time of a communications network with a clock reference
CN102945524A (en) Route remind method, device and terminal based on geographic positions and time
JPH11337655A (en) Control processing device for earthquake alarm monitoring
JP2003279637A (en) Apparatus and method for gps reception
CN103491419A (en) Method and digital receiving terminal for sending emergency broadcasts
US20150271808A1 (en) Method, apparatus, and storage medium for wireless communication
US20110045829A1 (en) Mobile radio terminal and base station search method
CN102970125A (en) Method and device for synchronizing time in close distance
US20140031021A1 (en) System and Method for Controlling Mobile Device Operation
US20120233245A1 (en) Voip communication system and method for registering client devices with same

Legal Events

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