WO2016177075A1 - Procédé de vérification de relation associative des données de service, dispositif et support d'informations lisible utilisant ce dernier - Google Patents

Procédé de vérification de relation associative des données de service, dispositif et support d'informations lisible utilisant ce dernier Download PDF

Info

Publication number
WO2016177075A1
WO2016177075A1 PCT/CN2016/075651 CN2016075651W WO2016177075A1 WO 2016177075 A1 WO2016177075 A1 WO 2016177075A1 CN 2016075651 W CN2016075651 W CN 2016075651W WO 2016177075 A1 WO2016177075 A1 WO 2016177075A1
Authority
WO
WIPO (PCT)
Prior art keywords
service data
verification
data
unit
storage unit
Prior art date
Application number
PCT/CN2016/075651
Other languages
English (en)
Chinese (zh)
Inventor
安峰
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016177075A1 publication Critical patent/WO2016177075A1/fr

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases

Definitions

  • the present invention relates to the field of wireless communication technologies, and in particular, to a service data association relationship verification method, apparatus, and readable storage medium.
  • the prior art performs verification on the relationship between business data in the domain (refers to the fact that after the business data is objectified, according to some restrictions between different objects of the business requirements), it is usually based on full data. For example, object A has a new record row, and the verification process will check all the records in A.
  • the inventors have found that when the present invention is used, the verification efficiency is relatively low. Taking the above example as an example, in fact, after adding a record row to the object A, the record data except the row is unchanged, which causes the check logic to be repeatedly executed, which affects the check efficiency.
  • the technical problem to be solved by the present invention is to provide a method, a device, and a readable storage medium for verifying a service data association relationship, which are used to solve the problem of low verification efficiency when the service data association relationship is verified in the prior art.
  • the present invention provides a service data association relationship verification method, and the method includes the following steps:
  • A. Monitor changes in user service data and store data that has changed
  • the method includes: starting a monitoring unit, continuously monitoring changes of the service data; initializing the intermediate storage unit, and copying data of the service data storage unit to the intermediate storage unit; Set to 1;
  • the performing the first verification specifically includes: when detecting that the first verification identifier is 1, reading the data in the service data storage unit, and the verification unit calls the logic implementation of the verification rule to perform verification, after the end , generates a verification result and outputs it, and sets the first verification identifier to 0.
  • step A specifically includes:
  • the assembly unit stores the object name, the user operator, and the record line according to the object and the sub-operation;
  • the assembly unit adds the changed data to the intermediate storage unit
  • the change of the user service data includes adding, modifying, deleting, and combining the user service data.
  • the verification unit updates the verification result and outputs it; at the same time, the assembly unit sets the data change identifier to 0, and updates the data of the intermediate storage unit.
  • the assembly unit clears the changed data.
  • the present invention also provides a service data association relationship verification device, the device comprising:
  • a service data storage unit for storing user service data
  • a monitoring unit connected to the service data storage unit, configured to monitor a change of user service data stored by the service data storage unit;
  • An assembly unit connected to the monitoring unit, for performing data assembly on the changed user service data
  • An intermediate storage unit connected to the assembly unit, for storing assembled user service data
  • the verification unit is respectively connected to the service data storage unit and the intermediate storage unit, and is used for verifying the service data association relationship and outputting the verification result.
  • the change of the user service data includes adding, modifying, deleting, and combining the user service data.
  • the present invention also provides a readable storage medium in which a computer program is stored, the computer program performing the following steps:
  • the invention adopts the method of monitoring data change, only checks the changed data, avoids repeated execution of the check logic, and can effectively improve the verification efficiency.
  • FIG. 1 is a flowchart of a monitoring process of a service data association relationship verification method according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a verification process of a service data association relationship verification method according to an embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of a service data association relationship verification apparatus according to an embodiment of the present invention.
  • the present invention provides a service data association relationship verification method and apparatus, and further, the present invention is further described below with reference to the accompanying drawings and embodiments. Detailed description. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
  • a service data association relationship verification method includes a monitoring process and a verification process, and the two processes are parallel.
  • the monitoring process is used to monitor changes in user service data and store the changed data.
  • the verification process includes the first verification, the verification between the two verifications, and the monitoring of the user service data changes. Three processes are checked between two checks and when the user service data changes are monitored.
  • an initialization operation is performed when the system is started.
  • the initialization operation includes the following three parts: (1) Start the monitoring unit to continuously monitor the changes in the business data.
  • the monitoring unit is a system back-office function that continuously monitors changes in business data throughout the system.
  • Step s102 The monitoring unit monitors a change of the user service data, where the change of the user service data includes adding, modifying, deleting, and combining the user service data.
  • the monitoring unit sends the changed data to the assembly unit and changes the data identifier
  • the datachangeflag is set to 1.
  • the monitoring unit records the changed business object name, the user operator, and the record line, and the user operator includes adding ADD, modifying the MOD, and deleting the DEL.
  • the recording format is the format of the ⁇ obj, opr, row> triplet
  • the monitoring unit encapsulates the recorded data into a message and sends it to the assembly unit.
  • step s103 the assembly unit processes and stores the change data sent by the monitoring unit.
  • the assembly unit stores the record format sent by the monitoring unit as ⁇ obj, opr, row> triplet information according to the object and the sub-operation, wherein row is a record set.
  • processing the change data includes the following processing methods:
  • step s104 the assembly unit adds the changed data to the intermediate storage unit.
  • the changed data In the middle of the two verification processes, when the user adds, modifies, deletes and combines different objects in the business database, the changed data must be inserted into the object table corresponding to the intermediate storage unit.
  • the triple set information of the recorded business object changes stored in the assembly unit will be cleared after the user initiates a verification operation. This means that this part of the information records the data changes between the two verification operations. In particular, when the verification is initiated for the first time, an emptying is still required.
  • the verification process determines whether it is the first check by firstcheck, and determines whether the user service data is changed by the datachangeflag.
  • step (2) Determine if the value of firstcheck is 1. If no, go to step (2), otherwise go to step (6).
  • step (3) Determine if the value of datachangeflag is 1. If yes, go to step (4), otherwise go to step (3).
  • the changed data stored in the intermediate storage unit is used as the verification data source, the service data association relationship is verified, and the verification result is output.
  • the data in the service data storage unit is read, and the verification unit calls the logic implementation of the verification rule to perform verification. After the end, the verification result is generated and output.
  • the method further includes the step (9), the assembling unit updates the data of the intermediate storage unit, and clears the changed object storage information.
  • FIG. 3 A service data association relationship verification apparatus according to an embodiment of the present invention is shown in FIG. 3.
  • the apparatus includes a service data storage unit 31, a monitoring unit 32, an assembly unit 33, an intermediate storage unit 34, and a verification unit 35, wherein the monitoring
  • the unit 32 is connected to the service data storage unit 31 and the assembly unit 33, respectively, and the intermediate storage unit 34 is connected to the assembly unit 33 and the verification unit 35, respectively, and the verification unit 35 is connected to the service data storage unit 31.
  • the service data storage unit 31 is for storing user service data.
  • the service data storage unit 31 mainly stores service data of users in a certain domain, and a common storage medium such as a database (this embodiment assumes that database storage is adopted).
  • a common storage medium such as a database
  • the data is added, modified, deleted, etc. according to the need, and then the solution given in this embodiment is called to perform the relationship verification.
  • the monitoring unit 32 is configured to monitor changes in user service data stored by the service data storage unit 31.
  • the monitoring unit 32 is automatically started to monitor the change of the user service data (including adding, modifying, deleting); then, the assembly unit 33 is notified to perform data assembly and the assembled data. It is placed in the intermediate storage unit 34.
  • the assembly unit 33 is configured to perform data assembly on the changed user service data.
  • the assembly unit 33 when the user adds, modifies, deletes, or the like to the service data, the assembly unit 33 The message sent by the monitoring unit 32 is received, and the three changes of data addition, modification, and deletion are processed.
  • the intermediate storage unit 34 is used to store the assembled user service data.
  • the intermediate storage unit 34 is mainly used to store the assembled data of the assembly unit 33, and is used as a data input for verification by the verification unit 35.
  • the verification unit 35 is configured to verify the service data association relationship and output a verification result.
  • the verification unit 35 calls the verification logic of the association relationship between the implemented service data, completes the verification, and generates a verification result.
  • This embodiment describes the whole process of performing the first verification after the system is running.
  • the specific process is as follows:
  • Step 1 When the system starts running, the background will start the monitoring unit to monitor the data change of the business data storage unit in real time.
  • Step 2 When the user initiates the check, it is judged whether the first check is equal to 1. When it is equal to 1, the description is the first verification.
  • the first check no matter whether the user has made any changes to the business data, the check logic will be loaded directly by the check unit to complete a check.
  • the check logic refers to a set of code implementations written according to the inherent relationship rules between business objects.
  • Step 3 After the verification unit completes the verification, save and output the verification result.
  • Step 5 The assembly unit synchronizes the object data from the service data storage unit according to the changed object in the stored triple set, and then clears the stored object change triplet set information.
  • This embodiment describes the process in which the system has been running normally, and there are three operations of adding, modifying, and deleting service data between the two checks.
  • the specific process is as follows:
  • the system is already in normal operation, the background monitoring unit has been started, and the data of the service data storage unit is monitored in real time.
  • Step 1 The user has added, modified, and deleted business data operations, which are assumed to be:
  • Step 2 The background monitoring unit monitors the above three operations in real time, and notifies each assembly record to the assembly unit by message three times in sequence according to the user operation.
  • Step 3 The assembly unit receives the message sent by the monitoring unit three times. According to the processing method when the deletion operation is performed after the adding operation, ⁇ obj1, ADD, row1> and ⁇ obj1, DEL, row1> are merged, and finally The storage information is ⁇ obj2, MOD, row2>, and finally the intermediate storage unit inserts a row row2 in the object obj2.
  • Step 4 The user initiates a verification operation and determines that firstcheck is equal to 0, indicating that the user is not the first verification initiated. At this point, the verification unit loads the verification logic to complete a verification process.
  • Step 5 After the verification unit completes the verification, the verification result is updated and output.
  • Step 6 The assembly unit synchronizes the object data from the service data storage unit according to the changed object in the stored triple set, and then clears the stored object change triplet set information.
  • the data of the change between the two verifications is recorded in the manner of monitoring the data change (the first verification is a complete verification of all the data), Only the data that has changed is verified, which avoids the repeated execution of the verification logic, shortens the verification time, and can effectively improve the verification efficiency, especially for systems with a large amount of business data and a particularly complicated relationship between data. High practical value.
  • the present invention describes a method of data verification by examining the legality check of service data in the field of wireless communication, and is applicable to various fields including communication technologies.
  • an embodiment of the present invention further provides a readable storage medium, where the computer program is stored, and the computer program can perform the following steps:
  • the service data association relationship verification method provided by the present invention is capable of monitoring changes of user service data and storing changed data; and between monitoring, when monitoring user service data changes, The changed data is used as the source of the verification data, the business data association relationship is verified, and the verification result is output.
  • the invention adopts the method of monitoring data change, only checks the changed data, avoids repeated execution of the check logic, and can effectively improve the verification efficiency.

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

La présente invention concerne un procédé de vérification d'une relation associative des données de service, consistant en les étapes suivantes : surveillance d'une condition de modification des données de service d'un utilisateur, mémorisation des données modifiées ; lorsque les données de service de l'utilisateur sont détectées devant être modifiées entre deux vérifications, à l'aide des données modifiées comme une source de données de vérification et vérification d'une relation associative de données des services et émission d'un résultat de vérification. L'invention concerne également un dispositif et un support d'informations lisible vérifiant une relation associative des données de service.
PCT/CN2016/075651 2015-07-27 2016-03-04 Procédé de vérification de relation associative des données de service, dispositif et support d'informations lisible utilisant ce dernier WO2016177075A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510445562.1A CN106407189A (zh) 2015-07-27 2015-07-27 一种业务数据关联关系校验方法和装置
CN201510445562.1 2015-07-27

Publications (1)

Publication Number Publication Date
WO2016177075A1 true WO2016177075A1 (fr) 2016-11-10

Family

ID=57218070

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/075651 WO2016177075A1 (fr) 2015-07-27 2016-03-04 Procédé de vérification de relation associative des données de service, dispositif et support d'informations lisible utilisant ce dernier

Country Status (2)

Country Link
CN (1) CN106407189A (fr)
WO (1) WO2016177075A1 (fr)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111581213A (zh) * 2020-05-06 2020-08-25 北京金堤科技有限公司 信息记录方法、装置、以及设备

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107330290A (zh) * 2017-07-11 2017-11-07 上海联影医疗科技有限公司 数据处理方法及装置
CN109669807A (zh) * 2017-10-13 2019-04-23 阿里巴巴集团控股有限公司 业务事件的校验方法及装置、处理器、存储介质
CN112491513B (zh) * 2020-11-13 2023-06-16 北京经纬恒润科技股份有限公司 一种spi通信方法、装置及系统

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1905470A (zh) * 2005-07-25 2007-01-31 中兴通讯股份有限公司 一种电信管理网中上下层网管数据一致性的处理方法
CN102564435A (zh) * 2012-01-06 2012-07-11 天津师范大学 一种导航电子地图的增量包及自校验方法
CN103929763A (zh) * 2013-01-11 2014-07-16 阿尔卡特朗讯 一种用于比较和重构地理冗余的数据库的方法
GB2517932A (en) * 2013-09-04 2015-03-11 1Spatial Group Ltd Modification and validation of spatial data

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101175075B (zh) * 2006-11-03 2012-12-12 华为技术有限公司 对业务信息进行关联处理的方法
CN104317909B (zh) * 2014-10-27 2018-09-28 百度在线网络技术(北京)有限公司 兴趣点数据的校验方法和装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1905470A (zh) * 2005-07-25 2007-01-31 中兴通讯股份有限公司 一种电信管理网中上下层网管数据一致性的处理方法
CN102564435A (zh) * 2012-01-06 2012-07-11 天津师范大学 一种导航电子地图的增量包及自校验方法
CN103929763A (zh) * 2013-01-11 2014-07-16 阿尔卡特朗讯 一种用于比较和重构地理冗余的数据库的方法
GB2517932A (en) * 2013-09-04 2015-03-11 1Spatial Group Ltd Modification and validation of spatial data

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111581213A (zh) * 2020-05-06 2020-08-25 北京金堤科技有限公司 信息记录方法、装置、以及设备
CN111581213B (zh) * 2020-05-06 2024-02-13 北京金堤科技有限公司 信息记录方法、装置、以及设备

Also Published As

Publication number Publication date
CN106407189A (zh) 2017-02-15

Similar Documents

Publication Publication Date Title
CN110912937B (zh) 一种基于区块链的数字存证平台和存证方法
US9031910B2 (en) System and method for maintaining a cluster setup
US9648059B2 (en) System and methods for multi-user CAx editing conflict management
US10740298B2 (en) File synchronization with reduced conflicts in computing systems
WO2016177075A1 (fr) Procédé de vérification de relation associative des données de service, dispositif et support d'informations lisible utilisant ce dernier
CN107609188B (zh) 基于GoldenGate的数据同步校验方法
WO2017036228A1 (fr) Procédé et appareil de mise en œuvre de la mise à niveau d'un système
US11308194B2 (en) Monitoring device components using distributed ledger
WO2019047480A1 (fr) Procédé de mise à jour de programme, support d'informations lisible par ordinateur, appareil et dispositif de terminal
WO2021047541A1 (fr) Procédé et dispositif destinés à obtenir une relation de dépendance de transaction dans une chaîne de blocs
WO2021120880A1 (fr) Procédé et appareil de traitement de réplication de données, système de reprise après sinistre, dispositif et support d'enregistrement
US20160098494A1 (en) Integration of analysis with multi-user cad
CN107203327A (zh) 一种用于存储系统的方法和装置
CN108133026B (zh) 一种多数据的处理方法、系统及存储介质
WO2021109777A1 (fr) Procédé et dispositif d'importation de fichiers de données
CN116955355A (zh) 一种区块数据处理方法、装置及电子设备
TWI629883B (zh) 基於區塊鏈的節點清單維護系統及其方法
CN105760283A (zh) 一种日志输出方法和装置
CN110688664B (zh) 一种块链式账本中的权限管理方法、装置及设备
CN108228226B (zh) 硬链接的差分方法、装置及相应终端
WO2020019418A1 (fr) Procédé d'adaptation d'informations de configuration de base de données, appareil, dispositif informatique et support de stockage
CN113327167B (zh) 一种区块链数据处理方法
JP6674067B1 (ja) ファイル関連付け処理装置、ファイル関連付け方法及びファイル関連付けプログラム
CN114691125B (zh) 一种应用资源映射转换的方法、系统、介质和电子设备
CN117593125A (zh) 业务数据处理方法、装置、计算机设备和存储介质

Legal Events

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

Ref document number: 16789069

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16789069

Country of ref document: EP

Kind code of ref document: A1