+

CN101639950B - Method and device for synchronizing data in lane toll system - Google Patents

Method and device for synchronizing data in lane toll system Download PDF

Info

Publication number
CN101639950B
CN101639950B CN2008101426769A CN200810142676A CN101639950B CN 101639950 B CN101639950 B CN 101639950B CN 2008101426769 A CN2008101426769 A CN 2008101426769A CN 200810142676 A CN200810142676 A CN 200810142676A CN 101639950 B CN101639950 B CN 101639950B
Authority
CN
China
Prior art keywords
lane
data identification
data
control unit
unit
Prior art date
Legal status (The legal status 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 status listed.)
Expired - Fee Related
Application number
CN2008101426769A
Other languages
Chinese (zh)
Other versions
CN101639950A (en
Inventor
赵佳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Intelligent IoT Technology Co Ltd
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN2008101426769A priority Critical patent/CN101639950B/en
Publication of CN101639950A publication Critical patent/CN101639950A/en
Application granted granted Critical
Publication of CN101639950B publication Critical patent/CN101639950B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Devices For Checking Fares Or Tickets At Control Points (AREA)

Abstract

本发明公开了一种车道收费系统中的数据同步方法及装置,所述方法包含如下步骤:A、在车道控制单元数据库中设置最后一次插入数据标识,在车道收费单元数据库中设置同步数据标识,最后一次插入数据标识随车道控制单元数据库更新而相应更新;B、车道控制单元接收车道收费单元的数据同步请求,将最后一次插入数据标识返回给车道收费单元;C、车道收费单元根据最后一次插入数据标识及同步数据标识计算需要车道控制单元传回的数据标识并发送给车道控制单元;D、车道控制单元根据接收的数据标识,将对应的数据传给车道收费单元;E、车道收费单元接收对应数据,更新自身的数据库及同步数据标识。本发明同步数据量小,同步过程快速省时,准确性高。

Figure 200810142676

The invention discloses a data synchronization method and device in a lane toll collection system. The method includes the following steps: A. setting the last inserted data mark in the lane control unit database, setting a synchronization data mark in the lane toll unit database, The last insertion data mark is updated accordingly with the update of the lane control unit database; B, the lane control unit receives the data synchronization request of the lane toll unit, and returns the last insertion data mark to the lane toll unit; C, the lane toll unit according to the last time Inserting data identification and synchronous data identification calculation requires the data identification returned by the lane control unit and sending it to the lane control unit; D. The lane control unit transmits the corresponding data to the lane toll unit according to the received data identification; E. The lane toll unit Receive corresponding data, update its own database and synchronize data identification. The invention has small synchronous data volume, fast and time-saving synchronous process, and high accuracy.

Figure 200810142676

Description

一种车道收费系统中的数据同步方法及装置A data synchronization method and device in a lane toll collection system

技术领域technical field

本发明涉及一种车道收费系统中的数据同步方法及装置。The invention relates to a data synchronization method and device in a lane toll collection system.

背景技术Background technique

目前,在车道收费系统中,已有利用射频识别(Radio FrequencyIdentification,RFID进行车道与收费站的数据同步的方法。基本的RFID车道收费系统如图1所示,主要由RFID车载标签(Tag)100-102、RFID车道阅读器(Reader)110-112、收费车道120-122、ETC(Electronic TollCollection,电子收费)收费站系统服务器130及ETC收费站系统客户端140组成。在车道收费站的维护过程中,车道控制系统每当有车辆通过时都会向车道收费站上报数据,但是由于各种问题,这种消息存在丢失的可能性。一旦丢失便会影响正常的报表统计工作,所以需要对数据进行精确的同步。然而由于通过车道收费站的汽车数量,数字庞大,全部同步数据必然会造成数据大量传输,挤占带宽,影响系统间的其他业务通讯。At present, in the lane toll system, there are existing methods of utilizing radio frequency identification (Radio Frequency Identification, RFID to carry out the data synchronization of the lane and the toll station. The basic RFID lane toll system as shown in Figure 1, mainly consists of RFID vehicle tags (Tag) 100 -102, RFID driveway reader (Reader) 110-112, toll lane 120-122, ETC (Electronic TollCollection, electronic toll collection) toll station system server 130 and ETC toll station system client 140.Maintenance process at the lane toll station Among them, the lane control system will report data to the lane toll station whenever a vehicle passes by, but due to various problems, this kind of information may be lost. Once lost, it will affect the normal report statistics work, so the data needs to be analyzed Accurate synchronization. However, due to the huge number of cars passing through the lane toll booth, all synchronous data will inevitably cause a large amount of data transmission, which will occupy bandwidth and affect other business communications between systems.

目前的RFID系统中,尚无数据库同步的方法。虽然在一些别的应用系统(例如通讯系统)中,数据库同步方法多种多样,但是大多都是跟时间相关,而且同步方法比较复杂费时,特别是没有针对车道与收费站之间数据同步的数据差异小,同步准确性要求高的特点的同步方法。In the current RFID system, there is no method for database synchronization. Although in some other application systems (such as communication systems), there are various database synchronization methods, most of them are time-related, and the synchronization methods are complicated and time-consuming, especially there is no data for data synchronization between lanes and toll stations A synchronization method with small differences and high requirements for synchronization accuracy.

发明内容Contents of the invention

有鉴于此,本发明提出了一种车道收费系统中的数据同步方法及装置,该方法可以有效地缩短同步时间,减少同步占用带宽。In view of this, the present invention proposes a data synchronization method and device in a lane toll collection system, which can effectively shorten the synchronization time and reduce the bandwidth occupied by synchronization.

为了解决上述技术问题,本发明采用如下技术方案:In order to solve the above technical problems, the present invention adopts the following technical solutions:

一种车道收费系统中的数据同步方法,包含如下步骤:A data synchronization method in a lane toll collection system, comprising the steps of:

A、在车道控制单元数据库中设置最后一次插入数据标识,在车道收费单元数据库中设置同步数据标识,所述最后一次插入数据标识随车道控制单元数据库更新而相应更新;A, in the lane control unit database, the insertion data mark is set for the last time, and the synchronous data mark is set in the lane toll unit database, and the insertion data mark for the last time is correspondingly updated with the lane control unit database update;

B、车道控制单元接收车道收费单元的数据同步请求,将所述最后一次插入数据标识返回给车道收费单元;B. The lane control unit receives the data synchronization request of the lane toll unit, and returns the last inserted data identifier to the lane toll unit;

C、车道收费单元根据接收到的最后一次插入数据标识及自身的同步数据标识计算需要车道控制单元传回的数据标识并发送给车道控制单元;C. The lane toll collection unit calculates the data identifier that needs to be returned by the lane control unit according to the received last inserted data identifier and its own synchronous data identifier and sends it to the lane control unit;

D、车道控制单元根据接收到所述需要车道控制单元传回的数据标识,将对应的数据传给车道收费单元;D. The lane control unit transmits the corresponding data to the lane toll unit according to the received data identification sent back by the lane control unit;

E、车道收费单元接收车道控制单元传来的对应数据,更新自身的数据库及同步数据标识。E. The lane toll collection unit receives the corresponding data from the lane control unit, and updates its own database and synchronization data identification.

所述步骤C中车道收费单元根据接收到的最后一次插入数据标识及自身的同步数据标识计算需要车道控制单元传回的数据标识按如下方式进行:In the step C, the lane toll collection unit calculates the data identity that needs to be returned by the lane control unit according to the received last insertion data identity and its own synchronous data identity as follows:

C1、车道收费单元比对接收到的最后一次插入数据标识及自身的同步数据标识,如果同步数据标识小于最后一次插入数据标识,则将两个数值之间的区域作为检索区域;如果同步数据标识大于最后一次插入数据标识,则将同步数据标识到最大标识与最小标识到最后一次插入数据标识之间的区域作为检索区域;C1. The lane toll collection unit compares the received last insertion data identification and its own synchronization data identification, if the synchronization data identification is less than the last insertion data identification, the area between the two values is used as the retrieval area; if the synchronization data identification is greater than the last inserted data mark, the area between the synchronized data mark to the maximum mark and the minimum mark to the last inserted data mark is used as the retrieval area;

C2、在检索区域中检查是否有不存在的标识,如有,将所述不存在的标识作为需要车道控制单元传回的数据标识。C2. Check whether there is a non-existing mark in the search area, and if there is, use the non-existing mark as the data mark that needs to be sent back by the lane control unit.

所述步骤B中车道收费单元的数据同步请求通过定时触发或者需要时触发的方式发起。In the step B, the data synchronization request of the lane toll collection unit is initiated by timing trigger or trigger when needed.

所述数据同步请求发起还包括连接异常处理:The initiation of the data synchronization request also includes connection exception handling:

对于定时触发,连接失败一次后停止连接尝试,记录到异常日志;For timing triggering, stop the connection attempt after one connection failure, and record it in the exception log;

对于需要时触发,连接不通时进行5次连接尝试,都失败后发出失败提示。For triggering when needed, 5 connection attempts are made when the connection fails, and a failure prompt is issued after all failures.

所述的数据同步方法,所述车道收费系统为射频识别系统。In the data synchronization method, the lane toll collection system is a radio frequency identification system.

本发明还公开了一种用于车道收费系统的数据同步装置,所述车道收费系统包括车道控制单元和车道收费单元,所述数据同步装置包括用于在车道控制单元数据库中设置最后一次插入数据标识和在车道收费单元数据库中设置同步数据标识的数据标识配置模块,所述数据标识配置模块还用于在数据同步后对同步数据标识进行更新,在车道控制单元数据库更新后对最后一次插入数据标识进行更新;还包括数据同步模块,用于控制车道收费单元发起数据同步请求获取车道控制单元的最后一次插入数据标识,根据所述最后一次插入数据标识及同步数据标识计算需要车道控制单元传回给车道收费单元的数据标识,控制车道控制单元传送需要车道控制单元传回给车道收费单元的数据标识的对应数据给车道收费单元。The invention also discloses a data synchronization device for a lane toll system, the lane toll system includes a lane control unit and a lane toll unit, and the data synchronization device includes a device for setting the last insertion data in the lane control unit database Identify and set the data identification configuration module of the synchronous data identification in the lane charging unit database, the data identification configuration module is also used to update the synchronous data identification after data synchronization, and insert data for the last time after the lane control unit database update The identification is updated; it also includes a data synchronization module, which is used to control the lane toll collection unit to initiate a data synchronization request to obtain the last insertion data identification of the lane control unit, and calculate the need for the lane control unit to return according to the last insertion data identification and synchronization data identification. For the data identification of the lane toll unit, control the lane control unit to transmit the data corresponding to the data identification that needs to be sent back to the lane toll unit by the lane control unit to the lane toll unit.

所述的数据同步装置,所述根据最后一次插入数据标识及自身的同步数据标识计算需要车道控制单元传回的数据标识是按如下方式进行的:比对接收到的最后一次插入数据标识及自身的同步数据标识,如果同步数据标识小于最后一次插入数据标识,则将两个数值之间的区域作为检索区域;如果同步数据标识大于最后一次插入数据标识,则将同步数据标识到最大标识与最小标识到最后一次插入数据标识之间的区域作为检索区域;在检索区域中检查是否有不存在的标识,如有,将所述不存在的标识作为需要车道控制单元传回的数据标识。In the data synchronization device, the calculation of the data identifier that needs to be returned by the lane control unit according to the last inserted data identifier and its own synchronous data identifier is performed in the following manner: compare the received last inserted data identifier and its own If the synchronization data identifier is smaller than the last inserted data identifier, the area between the two values will be used as the retrieval area; if the synchronized data identifier is greater than the last inserted data identifier, the synchronized data will be identified between the maximum identifier and the minimum The area between the identification and the last inserted data identification is used as a retrieval area; in the retrieval area, check whether there is a non-existing identification, and if so, use the non-existing identification as the data identification that needs to be returned by the lane control unit.

所述的数据同步装置,所述数据同步请求是通过定时触发或者需要时触发的方式发起的。In the data synchronization device, the data synchronization request is initiated by timing trigger or trigger when needed.

所述的数据同步装置,所述数据同步请求发起还包括连接异常处理:In the data synchronization device, the initiation of the data synchronization request also includes connection exception processing:

对于定时触发,连接失败一次后停止连接尝试,记录到异常日志;For timing triggering, stop the connection attempt after one connection failure, and record it in the exception log;

对于需要时触发,连接不通时进行5次连接尝试,都失败后发出失败提示。For triggering when needed, 5 connection attempts are made when the connection fails, and a failure prompt is issued after all failures.

所述的数据同步装置,所述车道收费系统为射频识别系统。In the data synchronization device, the lane toll collection system is a radio frequency identification system.

本发明通过分别在车道控制单元数据库中设置最新数据标识,在车道收费单元数据库中设置前次同步标识,因而能够快速查找到车道收费单元中缺失的数据,完成数据同步。因而同步数据量小,同步过程快速省时,准确性高。The present invention sets the latest data mark in the lane control unit database and the previous synchronization mark in the lane toll unit database respectively, so that missing data in the lane toll unit can be quickly found and data synchronization is completed. Therefore, the amount of synchronized data is small, the synchronization process is fast, time-saving, and accurate.

附图说明Description of drawings

图1是现有技术中的RFID车道收费系统框图;Fig. 1 is a block diagram of the RFID lane toll collection system in the prior art;

图2是本发明具体实施方式的数据同步方法流程图;Fig. 2 is a flow chart of a data synchronization method according to a specific embodiment of the present invention;

图3是本发明具体实施方式的RFID车道收费系统框图。Fig. 3 is a block diagram of an RFID lane toll collection system according to a specific embodiment of the present invention.

具体实施方式Detailed ways

下面对照附图并结合具体实施方式对本发明做详细说明。The present invention will be described in detail below with reference to the accompanying drawings and in combination with specific embodiments.

如图2所示,本发明具体实施方式的数据同步方法,主要包含以下步骤,其中,车道收费站对应于前文所述的车道收费单元,车道控制系统对应于前文所述的车道控制单元:As shown in Figure 2, the data synchronization method of the specific embodiment of the present invention mainly comprises the following steps, wherein, the lane toll station corresponds to the aforementioned lane toll unit, and the lane control system corresponds to the aforementioned lane control unit:

(201)车道收费站根据定制时间或者手动点击触发,主动连接车道控制系统数据库;(201) The lane toll station is triggered according to the customized time or manual click, and actively connects to the lane control system database;

(202)车道控制系统收到同步信息后进行应答,返回最后一次插入的ID数据给车道收费站系统;(202) The lane control system responds after receiving the synchronous information, and returns the last inserted ID data to the lane toll station system;

(203)车道收费站根据上次同步标志位和车道最后一次插入ID计算需要车道传回的数据ID;(203) The lane toll station calculates the data ID that needs to be returned by the lane according to the last synchronous flag position and the last insertion ID of the lane;

(204)车道收费站把这些ID传给车道控制系统;(204) The lane toll station transmits these IDs to the lane control system;

(205)车道控制系统根据这些ID值在本地数据库进行查询,并把这些数据传回车道收费站;(205) The lane control system queries the local database according to these ID values, and sends these data back to the lane toll station;

(206)车道收费站收集车道控制系统传来的数据,对自己的数据进行更新,更新后同时更新标志位。至此完成整个同步过程。(206) The lane toll station collects the data transmitted from the lane control system, updates its own data, and updates the sign position at the same time after updating. So far the entire synchronization process is completed.

步骤(201)中,还包括异常处理:如果是定制时间触发的同步发生连接不通的问题,尝试一次后则会放弃尝试,并且记录在异常日志。如果是手动触发的数据同步发生连接不通的问题,则会不断尝试5次,如果失败提示用户。In step (201), exception handling is also included: if the synchronization triggered by the customized time fails to connect, the attempt will be given up after one attempt and recorded in the exception log. If the data synchronization triggered manually fails to connect, it will continue to try 5 times, and prompt the user if it fails.

步骤(203)中,车道收费站收到最后一次插入的ID值后,会计算有可能缺少的数据,然后在步骤(204)向车道控制系统请求这些数据,其具体的操作过程是:In step (203), after the lane toll station receives the last inserted ID value, it will calculate the data that may be missing, and then request these data from the lane control system in step (204). The specific operation process is:

1)车道收费站收到最后一次插入ID值,这个值是车道当时最新一个数据的ID值。然后跟同步标志位ID值进行比对,如果标志ID小于最后一次插入ID,则把两个数值之间的区域作为检索区域;如果标志ID大于最后一次插入ID,则会选择ID标志位到最大ID值与ID最小值到最后一次插入ID之间的区域作为检索区域。1) The lane toll station receives the last inserted ID value, which is the ID value of the latest data of the lane at that time. Then compare it with the ID value of the synchronization flag. If the flag ID is smaller than the last insertion ID, the area between the two values will be used as the retrieval area; if the flag ID is greater than the last insertion ID, the ID flag will be selected to the maximum. The area between the ID value and the minimum value of ID to the last inserted ID is used as the retrieval area.

2)在被检索的区域中,按照每次递增1的规则逐一检查不存在的ID值,然后车道收费站将这些不存在的ID值作为可能丢失的数据传输到车道控制系统。2) In the retrieved area, check the non-existing ID values one by one according to the rule of increasing by 1 each time, and then the lane toll station will transmit these non-existing ID values to the lane control system as possible lost data.

如图3所示,本发明的实施环境是:车道控制系统的数据,也就是被同步的数据表中有一个ID值作为数据库的主键,每次增加数据都会把最后插入数据ID值加1作为最新数据的ID值。同样的,在车道收费站的数据库中存在一个一样的数据表。系统运行时车道控制系统向车道收费站传送车辆通过的数据信息。下面以一实例来详细说明本发明的数据同步过程:As shown in Figure 3, the implementation environment of the present invention is: the data of lane control system, just have an ID value as the primary key of database in the synchronous data table, every time increasing data all can add 1 to the last inserted data ID value as The ID value of the latest data. Similarly, there is a same data table in the database of lane toll stations. When the system is running, the lane control system transmits the data information of vehicles passing to the lane toll station. The data synchronization process of the present invention is described in detail below with an example:

1.首先车道收费站根据需要(或者是定时任务或者是手动触发)发起同步信息,并把信息传输到车道控制系统,对应前述步骤(201)。1. Firstly, the lane toll station initiates synchronous information as needed (either a timed task or manually triggered), and transmits the information to the lane control system, corresponding to the aforementioned step (201).

2.如果传输的数据在5秒内没有收到任何来自车道控制系统返回的相应,则视为连接失败,或者重新连接,或者把连接失败记录到日志,对应前述步骤(201)的异常处理流程。2. If the transmitted data does not receive any response from the lane control system within 5 seconds, it will be regarded as a connection failure, or reconnect, or record the connection failure to the log, corresponding to the exception handling process of the preceding step (201) .

3.车道控制系统在收到同步的连接请求后向车道收费站发送最后一次插入数据的ID值2000,对应步骤(202)。3. After receiving the synchronous connection request, the lane control system sends the ID value 2000 of the last inserted data to the lane toll booth, corresponding to step (202).

4.车道收费站收到最后一次插入的ID值是2000后,检查当前同步标志为1000,那么就检查当前数据库中ID为1000至2000的数据中,缺少哪些ID值,例如缺少ID为1997,1998的两个数据(由于同步的数据一般很少产生缺少的数据,所以这个集合不会很大),并且把这些缺少的ID值发往车道控制系统,对应步骤(203)、(204)。4. After the lane toll station receives the last inserted ID value of 2000, check that the current synchronization flag is 1000, then check which ID values are missing in the data with IDs from 1000 to 2000 in the current database, for example, the missing ID is 1997, Two data of 1998 (because synchronous data generally seldom produces missing data, so this set will not be very large), and these missing ID values are sent to the lane control system, corresponding to steps (203), (204).

5.车道控制系统收到这个ID值的集合后,在自己的数据表中查找这些数据项,并且把这些数据项传输到车道收费站,对应步骤(205)。5. After the lane control system receives the set of ID values, it looks up these data items in its own data table, and transmits these data items to the lane toll booth, corresponding to step (205).

6.车道收费站收到这些数据项后对自己的数据库进行更新,更新后将自己的同步标志位设置为2000。对应步骤(206)。6. After the lane toll station receives these data items, it updates its own database, and sets its own synchronization flag to 2000 after the update. Corresponding to step (206).

采用本发明所述的RFID车道收费系统数据同步方法,与现有技术相比,由于采取了同步缺失数据的方法,不仅有效地减少了数据同步的时间,而且减少同步占用带宽,降低了同步数据的传输量,从而提高了RFID车道收费系统的效率、可靠性和稳定性。同时,由于对用户屏蔽了技术细节,用户面对的是一个整体的版本,并不需要了解子版本的相关细节,从而降低了操作的难度,方便用户操作,也保护了系统实现的关键技术。Compared with the prior art, the data synchronization method of the RFID lane toll collection system according to the present invention not only effectively reduces the time for data synchronization, but also reduces the bandwidth occupied by synchronization and reduces the synchronization data The transmission volume, thus improving the efficiency, reliability and stability of the RFID lane toll collection system. At the same time, because the technical details are shielded from the user, the user is faced with a whole version, and does not need to know the relevant details of the sub-version, thereby reducing the difficulty of operation, facilitating user operation, and protecting the key technology of the system implementation.

本发明还公开了一种用于车道收费系统的数据同步装置,车道收费系统包括车道控制单元和车道收费单元,数据同步装置包括用于在车道控制单元数据库中设置最后一次插入数据标识和在车道收费单元数据库中设置同步数据标识的数据标识配置模块,所述数据标识配置模块还用于在数据同步后对同步数据标识进行更新,在车道控制单元数据库更新后对最后一次插入数据标识进行更新;还包括数据同步模块,用于控制车道收费单元发起数据同步请求获取车道控制单元的最后一次插入数据标识,根据所述最后一次插入数据标识及同步数据标识计算需要车道控制单元传回给车道收费单元的数据标识,控制车道控制单元传送需要车道控制单元传回给车道收费单元的数据标识的对应数据给车道收费单元。由于数据同步装置的工作方式与数据同步方法类似,在此不再赘述。The invention also discloses a data synchronization device for a lane toll system. The lane toll system includes a lane control unit and a lane toll unit. The data identification configuration module of synchronization data identification is set in the charging unit database, and the data identification configuration module is also used for updating the synchronization data identification after data synchronization, and updating the last insertion data identification after the lane control unit database update; It also includes a data synchronization module, which is used to control the lane charging unit to initiate a data synchronization request to obtain the last inserted data identifier of the lane control unit, and calculate the need for the lane control unit to send back to the lane charging unit according to the last inserted data identifier and the synchronized data identifier control the lane control unit to transmit the corresponding data of the data mark that needs to be sent back to the lane toll unit by the lane control unit to the lane toll unit. Since the working mode of the data synchronization device is similar to the data synchronization method, it will not be repeated here.

以上内容是结合具体的优选实施方式对本发明所作的进一步详细说明,不能认定本发明的具体实施只局限于这些说明。对于本发明所属技术领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干简单推演或替换,都应当视为属于本发明的保护范围。The above content is a further detailed description of the present invention in conjunction with specific preferred embodiments, and it cannot be assumed that the specific implementation of the present invention is limited to these descriptions. For those of ordinary skill in the technical field of the present invention, without departing from the concept of the present invention, some simple deduction or replacement can be made, which should be regarded as belonging to the protection scope of the present invention.

Claims (8)

1. the method for data synchronization in the lane toll system is characterized in that, comprises following steps:
A, last insertion Data Identification is set in the lane control unit database, in the lane roll unit database, synchronous data identification is set, the corresponding renewal of described last insertion Data Identification with the lane control unit database update;
B, lane control unit receive the data synchronization request of lane roll unit, and described last insertion Data Identification is returned to lane roll unit;
The Data Identification that last insertion Data Identification that C, lane roll unit basis receive and the synchronous data identification of self calculating needs lane control unit are passed back also sends to lane control unit, calculates the Data Identification that needs lane control unit to pass back and carries out as follows:
Last insertion Data Identification and the synchronous data identification of self that the comparison of C1, lane roll unit receives, if synchronous data identification less than the last Data Identification that inserts, then with the zone between two numerical value as search domain; If synchronous data identification is greater than the last Data Identification that inserts, then with synchronous data identification to the zone between the maximum sign, and minimumly be identified to zone between the last insertion Data Identification as search domain;
C2, check in search domain whether non-existent sign is arranged, if any, with described non-existent sign as the Data Identification that needs lane control unit to pass back;
D, lane control unit are passed to lane roll unit according to receiving the Data Identification that described needs lane control unit is passed back with the data of correspondence;
E, lane roll unit receive the corresponding data that lane control unit transmits, and upgrade self database and synchronous data identification.
2. method of data synchronization as claimed in claim 1 is characterized in that, the data synchronization request of lane roll unit is initiated by the mode that regularly triggers or trigger when needing among the described step B.
3. method of data synchronization as claimed in claim 2 is characterized in that, described data synchronization request initiates also to comprise the connection abnormality processing;
For regularly triggering, stop after the connection failure once connecting and attempt, record abnormal log;
Trigger during for needs, connect to carry out connecting for 5 times when obstructed and attempt, sending failure after all fail and pointing out.
4. as the arbitrary described method of data synchronization of claim 1 to 3, it is characterized in that described lane toll system is a radio-frequency recognition system.
5. data synchronization unit that is used for lane toll system, it is characterized in that, described lane toll system comprises lane control unit and lane roll unit, described data synchronization unit comprises and is used for last insertion Data Identification being set and the Data Identification configuration module of synchronous data identification being set in the lane roll unit database at the lane control unit database, described Data Identification configuration module also is used for after data sync synchronous data identification being upgraded, and behind the lane control unit database update last insertion Data Identification is upgraded; Also comprise data simultaneous module, be used to control lane roll unit and initiate the last insertion Data Identification that data synchronization request is obtained lane control unit, calculate the Data Identification that the needs lane control unit is returned to lane roll unit according to described last insertion Data Identification and synchronous data identification, the control lane control unit transmits the corresponding data of the Data Identification that needs lane control unit to be returned to lane roll unit and gives lane roll unit, described basis is inserted Data Identification and the synchronous data identification of self for the last time and is calculated the Data Identification that the needs lane control unit passes back and carry out as follows: last insertion Data Identification and the synchronous data identification of self that comparison receives, if synchronous data identification is less than the last Data Identification that inserts, then with the zone between two numerical value as search domain; If synchronous data identification is greater than the last Data Identification that inserts, then with synchronous data identification to the zone between the maximum sign, and minimumly be identified to zone between the last insertion Data Identification as search domain; Whether check in search domain has non-existent sign, if any, with described non-existent sign as the Data Identification that needs lane control unit to pass back.
6. data synchronization unit as claimed in claim 5 is characterized in that, described data synchronization request is to initiate by the mode that regularly triggers or trigger when needing.
7. data synchronization unit as claimed in claim 6 is characterized in that, described data synchronization request initiates also to comprise the connection abnormality processing:
For regularly triggering, stop after the connection failure once connecting and attempt, record abnormal log;
Trigger during for needs, connect to carry out connecting for 5 times when obstructed and attempt, sending failure after all fail and pointing out.
8. as the arbitrary described data synchronization unit of claim 5 to 7, it is characterized in that described lane toll system is a radio-frequency recognition system.
CN2008101426769A 2008-07-29 2008-07-29 Method and device for synchronizing data in lane toll system Expired - Fee Related CN101639950B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008101426769A CN101639950B (en) 2008-07-29 2008-07-29 Method and device for synchronizing data in lane toll system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008101426769A CN101639950B (en) 2008-07-29 2008-07-29 Method and device for synchronizing data in lane toll system

Publications (2)

Publication Number Publication Date
CN101639950A CN101639950A (en) 2010-02-03
CN101639950B true CN101639950B (en) 2011-07-13

Family

ID=41614916

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008101426769A Expired - Fee Related CN101639950B (en) 2008-07-29 2008-07-29 Method and device for synchronizing data in lane toll system

Country Status (1)

Country Link
CN (1) CN101639950B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3787196B1 (en) 2011-04-19 2022-06-01 Sun Patent Trust Transmission and reception method and apparatus
CN110956821A (en) * 2019-12-12 2020-04-03 天地伟业技术有限公司 Method for detecting overtime detention of vehicles in defined area

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0843295A1 (en) * 1996-11-14 1998-05-20 Oki Electric Industry Co., Ltd. Roadside communication system
CN1564990A (en) * 2001-04-25 2005-01-12 诺基亚有限公司 Synchronization of database data
CN1610902A (en) * 2001-11-01 2005-04-27 弗里塞恩公司 Method and system for updating a remote database

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0843295A1 (en) * 1996-11-14 1998-05-20 Oki Electric Industry Co., Ltd. Roadside communication system
CN1564990A (en) * 2001-04-25 2005-01-12 诺基亚有限公司 Synchronization of database data
CN1610902A (en) * 2001-11-01 2005-04-27 弗里塞恩公司 Method and system for updating a remote database

Also Published As

Publication number Publication date
CN101639950A (en) 2010-02-03

Similar Documents

Publication Publication Date Title
CN110543788B (en) Data storage method, apparatus, computer readable storage medium and computer device
CN104135395B (en) IDC data transmission in network quality control method and system
CN108228814B (en) Data synchronization method and device
CN110784495B (en) The discovery and configuration information management method of big data cluster system based on blockchain
CN105512171B (en) The method and device of database synchronization
CN114385759B (en) Configuration file synchronization method and device, computer equipment and storage medium
CN105447046A (en) Distributed system data consistency processing method, device and system
CN107071005A (en) A kind of method of data synchronization and system
CN103248522B (en) A kind of report method of performance data and device
CN106777308A (en) The synchronous method and device of civil aviaton's sequence information
CN102231161A (en) Method for synchronously verifying and monitoring databases
JP2008262292A (en) Server and local terminal group time synchronization method
CN104580345A (en) Hot backup method and system for multi-lane free flow road side units
CN100397803C (en) N+1 duplicates data real-time synchronising method
CN102014012A (en) Synchronous alarming method and device
CN112199447A (en) Database synchronization method, device and system and electronic equipment
JP5054065B2 (en) Database apparatus, database alignment system, and database alignment method
CN103905441A (en) Data acquisition method and device
WO2017054468A1 (en) Method and system implementing inspection
CN101639950B (en) Method and device for synchronizing data in lane toll system
CN103701653A (en) Processing method for interface hot plugging and unplugging configuration data and network configuration server
WO2013137507A1 (en) Aidc-based cloud-type logistics information synchronization system
CN103684841A (en) Network management server and link discovery comparison method
CN111078463A (en) Data backup method, device and system
CN110602222B (en) Joint monitoring method and device based on block chain and computer storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20161011

Address after: 300308 Tianjin Airport Economic Zone, Binhai New Area seven East Road No. 2 Zhongxing Industrial Base

Patentee after: ZTE INTELLIGENT IOT TECHNOLOGY Co.,Ltd.

Address before: 518057 Nanshan District science and Technology Park, Guangdong, South Road, ZTE building, science and Technology Park

Patentee before: ZTE Corp.

CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: Room 401, building 12, east area, airport business park, No. 80, Huanhe North Road, free trade zone (Airport Economic Zone), Binhai New Area, Tianjin 300000

Patentee after: Gaoxing Zhilian Technology Co.,Ltd.

Address before: 300308, Zhongxing Industrial base, 2 East seven, Airport Economic Zone, Tianjin Binhai New Area

Patentee before: ZTE INTELLIGENT IOT TECHNOLOGY Co.,Ltd.

CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Room 401, building 12, East Airport Business Park, 80 Huanhe North Road, Tianjin Binhai New Area pilot free trade zone (Airport Economic Zone)

Patentee after: Zte Intelligent Iot Technology Co.,Ltd.

Address before: Room 401, building 12, East Airport Business Park, 80 Huanhe North Road, Tianjin Binhai New Area pilot free trade zone (Airport Economic Zone)

Patentee before: Gaoxing Zhilian Technology Co.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110713

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载