[go: up one dir, main page]

CN110019126A - A kind of data-updating method and device - Google Patents

A kind of data-updating method and device Download PDF

Info

Publication number
CN110019126A
CN110019126A CN201711207310.0A CN201711207310A CN110019126A CN 110019126 A CN110019126 A CN 110019126A CN 201711207310 A CN201711207310 A CN 201711207310A CN 110019126 A CN110019126 A CN 110019126A
Authority
CN
China
Prior art keywords
sorting code
code number
library
version
tax revenue
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.)
Pending
Application number
CN201711207310.0A
Other languages
Chinese (zh)
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.)
Aisino Corp
Original Assignee
Aisino 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 Aisino Corp filed Critical Aisino Corp
Priority to CN201711207310.0A priority Critical patent/CN110019126A/en
Publication of CN110019126A publication Critical patent/CN110019126A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/21Design, administration or maintenance of databases
    • G06F16/219Managing data history or versioning
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/23Updating
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/018Certifying business or products
    • G06Q30/0185Product, service or business identity fraud
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/04Billing or invoicing
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Technology Law (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Cash Registers Or Receiving Machines (AREA)

Abstract

The embodiment of the present invention provides a kind of data-updating method and device, belongs to data update method field.The described method includes: the first version number in the first sorting code number library is sent to freight transport system, the corresponding first tax revenue sorting code number of the second edition number that freight transport system is sent is obtained, judges whether the second edition number is greater than first version number;If it is greater than being then updated according to the received first tax revenue sorting code number to first sorting code number library.Compared with prior art, each or every class I goods are numbered, it realizes regardless of buyer, the seller are multifarious to the call of this kind of commodity, the coding of this kind of commodity only one, as long as identifying the tax revenue sorting code number of the commodity, and may be implemented to synchronously complete commodity and tax revenue sorting code number between different systems update, keep the data consistency between anti-false tax-controlled system and freight transport system between multiple commodity and the multi version of tax revenue sorting code number.

Description

A kind of data-updating method and device
Technical field
The present embodiments relate to data update method field more particularly to a kind of data-updating methods and device.
Background technique
Anti-false tax-controlled system integrates the technologies such as computer, microelectronics, photoelectric technology and data encryption.Eliminate hand The method that work is made out an invoice issues VAT invoice using issue subsystem of anti-forgery tax control invoices computer.Whole system is special with value-added tax It is core with invoice, is controlled from source when selling invoice, the anti-fake knowledge with when taxing, deducting to invoice when invoice is filled out The links such as tax of sending a duplicate to of puppet and VAT invoice provide strong monitoring means, that is, pass through the supply of tickets, the source of tax revenue Control and anti-fake, the pseudo- technology of knowledge reach anti-fake to VAT invoice and tax control double effects.
In a practical situation, the number ununified for commodity, it is difficult to realize due to each areal variation, for same quotient There are many kinds of the title call meetings of product, which can not be identified and screened.
To solve the above-mentioned problems, each or every class I goods are numbered, as tax revenue sorting code number, so that it may To realize regardless of buyer, the seller are multifarious to the call of this kind of commodity, the codings of this kind of commodity only one, as long as identification should The tax revenue sorting code number of commodity, can identify the commodity, but at present not for the update of commodity and tax revenue sorting code number Concrete implementation mode is realized and is modernized into a problem urgently to be resolved to commodity and tax revenue sorting code number.
Summary of the invention
In view of this, one of the technical issues of embodiment of the present invention is solved is to provide a kind of data-updating method and dress It sets, with solving the problems, such as in the prior art to update commodity and tax revenue sorting code number.
The embodiment of the present invention provides a kind of data-updating method, which comprises by the first sorting code number library One version number is sent to freight transport system, wherein the corresponding tax of at least one version number is stored in first sorting code number library Sorting code number is received, the first version number is maximum version number in each version number;Obtain the second edition that freight transport system is sent Number corresponding first tax revenue sorting code number, wherein the second edition number is stored in the second sorting code number library, described second point Class code database is stored in the freight transport system;Judge whether the second edition number is greater than first version number;If it is greater than then First sorting code number library is updated according to the received first tax revenue sorting code number.
Optionally, in an of the invention specific embodiment, it is described according to the received first tax revenue sorting code number to institute Stating the step of the first sorting code number library is updated includes: by the first tax revenue sorting code number and first sorting code number library In data integrated;First sorting code number library is updated according to integrated results.
Optionally, described by the first tax revenue sorting code number and described first point in a specific embodiment of the invention The step of data in class code database are integrated includes: to judge the first tax revenue sorting code number and first sorting code number Whether the corresponding merchandise news of tax revenue sorting code number stored in library is consistent;If so, by the data in the first sorting code number library Replace with the first tax revenue sorting code number;It is compiled if it is not, the first tax revenue sorting code number is then added to first classification In code library.
Optionally, it in a specific embodiment of the invention, is sent to by the first version number in the first sorting code number library Before the step of freight transport system, the method also includes: judge the data in first sorting code number library with the presence or absence of mistake; If so, emptying the total data in first sorting code number library;Default version number after emptying is sent to freight transport system;It obtains The corresponding tax revenue sorting code number of third version number for taking the freight transport system to send, wherein the third version number is the goods Version corresponding with the default version number in fortune system.
Optionally, in an of the invention specific embodiment, it is described according to the received first tax revenue sorting code number to institute Stating the step of the first sorting code number library is updated includes: to repeat the step that first version number is sent to freight transport system Suddenly, until the first version number is identical as the second edition number.
The embodiment of the present invention also provides a kind of data update apparatus, and described device includes: the first sending module, for by the First version number in one sorting code number library is sent to freight transport system, wherein first sorting code number is stored at least in library A kind of corresponding tax revenue sorting code number of version number, the first version number are maximum version number in each version number;First obtains Module, for obtaining the corresponding first tax revenue sorting code number of the second edition number of freight transport system transmission, wherein the second edition It number is stored in the second sorting code number library, second sorting code number library is stored in the freight transport system;First judgment module, For judging whether the second edition number is greater than first version number;Update module, if the judgement knot for the judgment module Fruit is greater than being then updated according to the received first tax revenue sorting code number to first sorting code number library.
Optionally, in a specific embodiment of the invention, the update module includes: whole and submodule, and being used for will be described First tax revenue sorting code number is integrated with the data in first sorting code number library;Submodule is updated, for according to integration As a result first sorting code number library is updated.
Optionally, in a specific embodiment of the invention, the submodule of integrating includes: judging unit, for judging Whether state the corresponding merchandise news of the tax revenue sorting code number stored in the first tax revenue sorting code number and first sorting code number library Unanimously;Replacement unit, if the judging result for the judging unit be it is yes, by the first sorting code number library data replace For the first tax revenue sorting code number;Adding unit, if the judging result for the judging unit be it is no, by described first Tax revenue sorting code number is added in first sorting code number library.
Optionally, in a specific embodiment of the invention, described device further include: the second judgment module, for described Before first version number in first sorting code number library is sent to freight transport system by sending module, first sorting code number is judged Data in library whether there is mistake;Empty module, if the judging result for second judgment module be it is yes, empty institute State the total data in the first sorting code number library;Second sending module is sent to shipping system for the default version number after emptying System;Second obtains module, the corresponding tax revenue sorting code number of third version number sent for obtaining the freight transport system, wherein The third version number is version corresponding with the default version number in the freight transport system.
Optionally, in a specific embodiment of the invention, the update module is used for, and is repeated described by first version The step of number being sent to freight transport system, until the first version number is identical as the second edition number.
It, will be in the first sorting code number library by above technical scheme as it can be seen that data-updating method provided in an embodiment of the present invention First version number be sent to freight transport system, wherein the corresponding tax of at least one version number is stored in the first sorting code number library Sorting code number is received, first version number is maximum version number in each version number;For example, first in the first classification data code database Version number is 1.0 versions, and 1.0 versions are sent in freight transport system, after freight transport system receives 1.0 versions, is compiled in the second classification There are the data of 1.1 version of the second edition number in code library, then are that the corresponding first tax revenue classification of 1.1 versions is compiled by the second edition number Code sends back to the anti-false tax-controlled system network edition, is updated according to the first tax revenue sorting code number to the first sorting code number library.Phase Than the prior art, each or every class I goods are numbered, realized regardless of buyer, the seller are to the calls of this kind of commodity It is multifarious, the codings of this kind of commodity only one, as long as identifying the tax revenue sorting code number of the commodity, and may be implemented to commodity Update is synchronously completed between different systems with tax revenue sorting code number, keeps multiple quotient between anti-false tax-controlled system and freight transport system Data consistency between product and the multi version of tax revenue sorting code number.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The some embodiments recorded in inventive embodiments can also obtain according to these attached drawings for those of ordinary skill in the art Obtain other attached drawings.
Fig. 1 is a kind of step flow chart of data-updating method of the embodiment of the present invention one;
Fig. 2 is a kind of step flow chart of data-updating method of the embodiment of the present invention two;
Fig. 3 is the schematic diagram that the embodiment of the present invention updates between multiple tax administration systems;
Fig. 4 is a kind of structural block diagram of data update apparatus of the embodiment of the present invention three;
Fig. 5 is a kind of structural block diagram of data update apparatus of the embodiment of the present invention four.
Specific embodiment
Certainly, any technical solution for implementing the embodiment of the present invention must be not necessarily required to reach simultaneously above all excellent Point.
In order to make those skilled in the art more fully understand the technical solution in the embodiment of the present invention, below in conjunction with the present invention Attached drawing in embodiment, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described reality Applying example only is a part of the embodiment of the embodiment of the present invention, instead of all the embodiments.Based on the implementation in the embodiment of the present invention The range of protection of the embodiment of the present invention all should belong in example, those of ordinary skill in the art's every other embodiment obtained.
Below with reference to attached drawing of the embodiment of the present invention the embodiment of the present invention will be further explained specific implementation.
Embodiment one
Referring to Fig.1, a kind of step flow chart of data-updating method of the embodiment of the present invention one is shown.
Data-updating method provided in an embodiment of the present invention the following steps are included:
Step 101: the first version number in the first sorting code number library is sent to freight transport system.
Wherein, the corresponding tax revenue sorting code number of at least one version number, first version are stored in the first sorting code number library Number for maximum version number in each version number.
Originally invoice title is multifarious, also none unified standard, and it is exactly what that, which is filled in, everyone or What each unit was write may be inconsistent for the address title of same commodity, and therefore, revenue department also can not identify and sieve Choosing is numbered each or every class I goods, as tax revenue sorting code number, so that it may realize regardless of buyer, the seller couple The call of this kind of commodity is multifarious, the codings of this kind of commodity only one, as long as identifying the tax revenue sorting code number of the commodity, just It can recognize the commodity.
Such as: it is stored with the corresponding tax revenue classification of multiple versions in the first sorting code number library in anti-false tax-controlled system and compiles Code, comprising: first version number is sent to freight transport system by 1.0 versions, 1.1 versions etc., i.e. first version number is that the first classification is compiled Maximum version number in Ma Kuzhongge version number, i.e. first version number are 1.1.
Step 102: obtaining the corresponding first tax revenue sorting code number of the second edition number that freight transport system is sent.
Wherein the second edition number is stored in the second sorting code number library, and the second sorting code number library is stored in freight transport system.
Such as: freight transport system receives first version number, that is, the first version number received is 1.1 version numbers.Freight transport system In be stored with the second sorting code number library, also have multiple version numbers in the second sorting code number library, and, maximum version number be 1.8 editions This number, when receiving 1.1 version number, judge the size of 1.1 version numbers Yu 1.8 version numbers, since 1.8 are greater than 1.1, then will The corresponding first tax revenue sorting code number of 1.2 version numbers is sent in anti-false tax-controlled system.
Step 103: judging whether the second edition number is greater than first version number.
Such as: when receiving 1.2 versions, judge the size of 1.1 version of first version Yu 1.2 version of the second edition.
By judging size relation of the first version number with the second edition number, determine whether to have needed more according to judging result Newly, if first version number is 1.1, when the second edition number is also 1.1, then prove current first version number with for latest edition, then It does not need to be updated.
Step 104: if it is greater than being then updated according to received first tax revenue sorting code number to the first sorting code number library.
When received 1.2 version be greater than 1.1 versions, then show the first sorting code number library need be updated, according to receive The corresponding first tax revenue sorting code number of 1.2 versions the first sorting code number library is updated.
It, will be in the first sorting code number library by above technical scheme as it can be seen that data-updating method provided in an embodiment of the present invention First version number be sent to freight transport system, wherein the corresponding tax of at least one version number is stored in the first sorting code number library Sorting code number is received, first version number is maximum version number in each version number;For example, first in the first classification data code database Version number is 1.0 versions, and 1.0 versions are sent in freight transport system, after freight transport system receives 1.0 versions, is compiled in the second classification There are the data of 1.1 version of the second edition number in code library, then are that the corresponding first tax revenue classification of 1.1 versions is compiled by the second edition number Code sends back to anti-false tax-controlled system, is updated according to the first tax revenue sorting code number to the first sorting code number library.Compared to existing Each or every class I goods is numbered in technology, realizes regardless of buyer, the seller are to the calls thousand poor ten thousand of this kind of commodity Not, the coding of this kind of commodity only one, as long as identifying the tax revenue sorting code number of the commodity, and may be implemented to commodity and tax revenue Sorting code number synchronously completes update between different systems, keeps multiple commodity and tax between anti-false tax-controlled system and freight transport system Receive the data consistency between the multi version of sorting code number.
Embodiment two
Referring to Fig. 2, a kind of step flow chart of data-updating method of the embodiment of the present invention two is shown.
Data-updating method provided in an embodiment of the present invention the following steps are included:
Step 201: judging the data in the first sorting code number library with the presence or absence of mistake.
The data in the first sorting code number library due to occur in artificial update error or renewal process version number with The problems such as tax revenue sorting code number number corresponding mistake, there are mistakes for the data for all showing in the first sorting code number library.
Step 202: if so, emptying the total data in the first sorting code number library.
Step 203: the default version number after emptying is sent to freight transport system.
It should be noted that those skilled in the art can according to the actual situation be configured default version number, such as: Default version number can be set to 1.0 versions, 1.1 versions etc., this is not arranged specifically.
Default version number is sent in freight transport system, such as: when default version number is 1.0 version, by 1.0 version numbers It is sent to freight transport system, alternatively, 1.1 versions are sent in freight transport system when default version number is 1.1 version.
Step 204: obtaining the corresponding tax revenue sorting code number of third version number that freight transport system is sent.
Wherein, third version number is version corresponding with default version number in freight transport system.
Such as: when receiving default version number is 1.0, then by the second sorting code number library in freight transport system with The corresponding tax revenue sorting code number of 1.0 versions is sent to anti-false tax-controlled system, and third version number is consistent with default version number.
Step 201- step 204 and step 205 execute sequence in no particular order, can select an execution.
Step 205: the first version number in the first sorting code number library is sent to freight transport system.
Wherein, the corresponding tax revenue sorting code number of at least one version number, first version are stored in the first sorting code number library Number for maximum version number in each version number.
After the data in the first sorting code number library are emptied, the corresponding tax revenue sorting code number of third version number is received, then Current first version number is third version number in first sorting code number library.
Step 206: obtaining the corresponding first tax revenue sorting code number of the second edition number that freight transport system is sent.
Wherein, the second edition number is stored in the second sorting code number library, and the second sorting code number library is stored in freight transport system.
Freight transport system receives first version number, such as: the first version number received is 1.1 version numbers.In freight transport system It is stored with the second sorting code number library, also there are multiple version numbers in the second sorting code number library, and maximum version number is 1.8 versions Number, when receiving 1.1 version number, the size of 1.1 version numbers Yu 1.8 version numbers is judged, since 1.8 greater than 1.1, then by 1.2 The corresponding first tax revenue sorting code number of version number is sent in anti-false tax-controlled system.
Step 207: judging whether the second edition number is greater than first version number.
Such as: when receiving 1.2 versions, judge the size of 1.1 version of first version Yu 1.2 version of the second edition.
By judging size relation of the first version number with the second edition number, determined the need for more according to judging result Newly, if first version number is 1.1, when the second edition number is also 1.1, then prove current first version number with for latest edition, then It does not need to be updated.
Step 208: according to judging result, the first tax revenue sorting code number and the data progress in the first sorting code number library is whole It closes.
Step 209: the first sorting code number library being updated according to integrated results.
A kind of Integration Mode of feasibility are as follows: judge the tax stored in the first tax revenue sorting code number and the first sorting code number library Whether consistent receive the corresponding merchandise news of sorting code number;If so, the data in the first sorting code number library are replaced with the first tax Receive sorting code number;If it is not, then the first tax revenue sorting code number is added in the first sorting code number library.
Judge the tax revenue sorting code number pair stored in the corresponding commodity of the first tax revenue sorting code number and the first sorting code number library Whether the commodity answered are consistent, when corresponding commodity are consistent, then the first tax revenue sorting code number and corresponding version by highest version This number is replaced the corresponding version number of the tax revenue sorting code number and tax revenue sorting code number that store in the first sorting code number library, is completed The update in the first sorting code number library.
When the tax revenue sorting code number stored in the corresponding commodity of the first tax revenue sorting code number and the first sorting code number library is corresponding Commodity it is inconsistent when, then inconsistent part is added in the first sorting code number library, complete the first sorting code number library more Newly.
Step 210: the step of first version number is sent to freight transport system is repeated, until first version number and second Until version number is identical.
Such as: when version number maximum in freight transport system is 1.8, and the maximum version number in anti-false tax-controlled system is 1.6, Then need for 1.6 version numbers to be sent to freight transport system, the corresponding tax revenue sorting code number of 1.7 version numbers is sent to anti-by freight transport system 1.7 version numbers are sent to freight transport system again by pseudo- taxation control system, anti-false tax-controlled system, and freight transport system is corresponding by 1.8 version numbers Tax revenue sorting code number is sent to anti-false tax-controlled system, and until now, the maximum version stored in anti-false tax-controlled system is 1.8 versions Number, and maximum version number is also 1.8 in freight transport system, then shows that the version number stored in current anti-false tax-controlled system has been Latest edition number, update terminate.
The method that data of the embodiment of the present invention update is applied to the update between anti-false tax-controlled system and freight transport system, when So, the data for being equally applicable to anti-false tax-controlled system between software of making out an invoice update, (or freight transport system and anti-false tax-controlled system Data between interaction update).Referring to Fig. 3, the update schematic diagram between multiple tax administration systems.Work as anti-false tax-controlled system Complete data update after, software of making out an invoice (being stored with tax revenue sorting code number) is updated, for data update mode, with The embodiment of the present invention is identical, repeats no more to this.
By the synchronous updating method of such tax revenue sorting code number, it can guarantee commodity and service tax revenue sorting code number multiple Tax administration system, the consistency that sorting code number release content is kept between, in addition to making out an invoice for software of making out an invoice can be improved Efficiency facilitates taxpayer to make out an invoice outer, can also meet the various aspects such as statistics, accounting and the management of the parties concerned such as the tax authority and want It asks.
It, will be in the first sorting code number library by above technical scheme as it can be seen that data-updating method provided in an embodiment of the present invention First version number be sent to freight transport system, wherein the corresponding tax of at least one version number is stored in the first sorting code number library Sorting code number is received, first version number is maximum version number in each version number;For example, first in the first classification data code database Version number is 1.0 versions, and 1.0 versions are sent in freight transport system, after freight transport system receives 1.0 versions, is compiled in the second classification There are the data of 1.1 version of the second edition number in code library, then are that the corresponding first tax revenue classification of 1.1 versions is compiled by the second edition number Code sends back to anti-false tax-controlled system, is updated according to the first tax revenue sorting code number to the first sorting code number library.Compared to existing Each or every class I goods is numbered in technology, realizes regardless of buyer, the seller are to the calls thousand poor ten thousand of this kind of commodity Not, the coding of this kind of commodity only one, as long as identifying the tax revenue sorting code number of the commodity, and may be implemented to commodity and tax revenue Sorting code number synchronously completes update between different systems, keeps multiple commodity and tax between anti-false tax-controlled system and freight transport system Receive the data consistency between the multi version of sorting code number.
The data-updating method of the present embodiment can be real by any suitable device having data processing function or equipment It is existing, e.g., anti-false tax-controlled system, freight transport system, billing system etc..
Embodiment three
Referring to Fig. 4, a kind of structural block diagram of data update apparatus of the embodiment of the present invention three is shown.
Data update apparatus provided in an embodiment of the present invention includes: the first sending module 301, is used for the first sorting code number First version number in library is sent to freight transport system, wherein first sorting code number is stored at least one version number in library Corresponding tax revenue sorting code number, the first version number are maximum version number in each version number;First obtains module 302, uses In the corresponding first tax revenue sorting code number of the second edition number for obtaining freight transport system transmission, wherein the second edition number is stored in In second sorting code number library, second sorting code number library is stored in the freight transport system;First judgment module 303, is used for Judge whether the second edition number is greater than first version number;Update module 304, if the judging result for the judgment module For greater than being then updated according to the received first tax revenue sorting code number to first sorting code number library.
It, will be in the first sorting code number library by above technical scheme as it can be seen that data update apparatus provided in an embodiment of the present invention First version number be sent to freight transport system, wherein the corresponding tax of at least one version number is stored in the first sorting code number library Sorting code number is received, first version number is maximum version number in each version number;For example, first in the first classification data code database Version number is 1.0 versions, and 1.0 versions are sent in freight transport system, after freight transport system receives 1.0 versions, is compiled in the second classification There are the data of 1.1 version of the second edition number in code library, then are that the corresponding first tax revenue classification of 1.1 versions is compiled by the second edition number Code sends back to anti-false tax-controlled system, is updated according to the first tax revenue sorting code number to the first sorting code number library.Compared to existing Each or every class I goods is numbered in technology, realizes regardless of buyer, the seller are to the calls thousand poor ten thousand of this kind of commodity Not, the coding of this kind of commodity only one, as long as identifying the tax revenue sorting code number of the commodity, and may be implemented to commodity and tax revenue Sorting code number synchronously completes update between different systems, keeps multiple commodity and tax between anti-false tax-controlled system and freight transport system Receive the data consistency between the multi version of sorting code number.
Example IV
Referring to Fig. 5, a kind of structural block diagram of data update apparatus of the embodiment of the present invention four is shown.
Data update apparatus provided in an embodiment of the present invention includes: the first sending module 401, is used for the first sorting code number First version number in library is sent to freight transport system, wherein first sorting code number is stored at least one version number in library Corresponding tax revenue sorting code number, the first version number are maximum version number in each version number;First obtains module 402, uses In the corresponding first tax revenue sorting code number of the second edition number for obtaining freight transport system transmission, wherein the second edition number is stored in In second sorting code number library, second sorting code number library is stored in the freight transport system;First judgment module 403, is used for Judge whether the second edition number is greater than first version number;Update module 404, if the judging result for the judgment module For greater than being then updated according to the received first tax revenue sorting code number to first sorting code number library.
Preferably, the update module 404 includes: whole and submodule 4041, is used for the first tax revenue sorting code number It is integrated with the data in first sorting code number library;Update submodule 4042, for according to integrated results to described the One sorting code number library is updated.
Preferably, the submodule 4041 of integrating includes: judging unit 40411, for judging the first tax revenue classification Whether consistent encode merchandise news corresponding with the tax revenue sorting code number stored in first sorting code number library;Replacement unit 40412, if the judging result for the judging unit be it is yes, the data in the first sorting code number library are replaced with described One tax revenue sorting code number;Adding unit 40413, if the judging result for the judging unit be it is no, by first tax Sorting code number is received to be added in first sorting code number library.
Preferably, described device further include: the second judgment module 405, for the first classification to be compiled in the sending module First version number in code library is sent to before freight transport system, judges the data in first sorting code number library with the presence or absence of mistake Accidentally;Empty module 406, if the judging result for second judgment module be it is yes, empty first sorting code number library Total data;Second sending module 407 is sent to freight transport system for the default version number after emptying;Second obtains mould Block 408, the corresponding tax revenue sorting code number of third version number sent for obtaining the freight transport system, wherein the third edition This number is version corresponding with the default version number in the freight transport system.
Preferably, the update module 404 is used for, and repeats the step that first version number is sent to freight transport system Suddenly, until the first version number is identical as the second edition number.
It, will be in the first sorting code number library by above technical scheme as it can be seen that data update apparatus provided in an embodiment of the present invention First version number be sent to freight transport system, wherein the corresponding tax of at least one version number is stored in the first sorting code number library Sorting code number is received, first version number is maximum version number in each version number;For example, first in the first classification data code database Version number is 1.0 versions, and 1.0 versions are sent in freight transport system, after freight transport system receives 1.0 versions, is compiled in the second classification There are the data of 1.1 version of the second edition number in code library, then are that the corresponding first tax revenue classification of 1.1 versions is compiled by the second edition number Code sends back to anti-false tax-controlled system, is updated according to the first tax revenue sorting code number to the first sorting code number library.Compared to existing Each or every class I goods is numbered in technology, realizes regardless of buyer, the seller are to the calls thousand poor ten thousand of this kind of commodity Not, the coding of this kind of commodity only one, as long as identifying the tax revenue sorting code number of the commodity, and may be implemented to commodity and tax revenue Sorting code number synchronously completes update between different systems, keeps multiple commodity and tax between anti-false tax-controlled system and freight transport system Receive the data consistency between the multi version of sorting code number.
Finally, it should be noted that above embodiments are only to illustrate the technical solution of the embodiment of the present application, rather than it is limited System;Although the application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: its It is still possible to modify the technical solutions described in the foregoing embodiments, or part of technical characteristic is equal Replacement;And these are modified or replaceed, each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution Spirit and scope.
It will be understood by those skilled in the art that the embodiment of the embodiment of the present invention can provide as method, apparatus (equipment) or Computer program product.Therefore, the embodiment of the present invention can be used complete hardware embodiment, complete software embodiment or combine soft The form of the embodiment of part and hardware aspect.Moreover, it wherein includes to calculate that the embodiment of the present invention, which can be used in one or more, Computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, the optical memory of machine usable program code Deng) on the form of computer program product implemented.
The embodiment of the present invention referring to according to the method for the embodiment of the present invention, device (equipment) and computer program product Flowchart and/or the block diagram describes.It should be understood that can be realized by computer program instructions every in flowchart and/or the block diagram The combination of process and/or box in one process and/or box and flowchart and/or the block diagram.It can provide these computers Processor of the program instruction to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices To generate a machine, so that generating use by the instruction that computer or the processor of other programmable data processing devices execute In the dress for realizing the function of specifying in one or more flows of the flowchart and/or one or more blocks of the block diagram It sets.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.

Claims (10)

1. a kind of data-updating method, which is characterized in that the described method includes:
First version number in first sorting code number library is sent to freight transport system, wherein first sorting code number is deposited in library The corresponding tax revenue sorting code number of at least one version number is contained, the first version number is maximum version number in each version number;
The corresponding first tax revenue sorting code number of the second edition number that freight transport system is sent is obtained, wherein the second edition number stores In the second sorting code number library, second sorting code number library is stored in the freight transport system;
Judge whether the second edition number is greater than first version number;
If it is greater than being then updated according to the received first tax revenue sorting code number to first sorting code number library.
2. the method according to claim 1, wherein described according to the received first tax revenue sorting code number pair The step of first sorting code number library is updated include:
The first tax revenue sorting code number and the data in first sorting code number library are integrated;
First sorting code number library is updated according to integrated results.
3. according to the method described in claim 2, it is characterized in that, described by the first tax revenue sorting code number and described first The step of data in sorting code number library are integrated include:
Judge the corresponding quotient of the tax revenue sorting code number stored in the first tax revenue sorting code number and first sorting code number library Whether product information is consistent;
If so, the data in the first sorting code number library are replaced with the first tax revenue sorting code number;
If it is not, then the first tax revenue sorting code number is added in first sorting code number library.
4. the method according to claim 1, wherein being sent by the first version number in the first sorting code number library Before the step of to freight transport system, the method also includes:
Judge the data in first sorting code number library with the presence or absence of mistake;
If so, emptying the total data in first sorting code number library;
Default version number after emptying is sent to freight transport system;
Obtain the corresponding tax revenue sorting code number of third version number that the freight transport system is sent, wherein the third version number is Version corresponding with the default version number in the freight transport system.
5. the method according to claim 1, wherein described according to the received first tax revenue sorting code number pair The step of first sorting code number library is updated include:
Described the step of first version number is sent to freight transport system is repeated, until the first version number and described second Until version number is identical.
6. a kind of data update apparatus, which is characterized in that described device includes:
First sending module, for the first version number in the first sorting code number library to be sent to freight transport system, wherein described The corresponding tax revenue sorting code number of at least one version number is stored in one sorting code number library, the first version number is each version number In maximum version number;
First obtains module, for obtaining the corresponding first tax revenue sorting code number of the second edition number of freight transport system transmission, wherein The second edition number is stored in the second sorting code number library, and second sorting code number library is stored in the freight transport system;
First judgment module, for judging whether the second edition number is greater than first version number;
Update module is to compile greater than if according to the received first tax revenue classification for the judging result if the judgment module Code is updated first sorting code number library.
7. device according to claim 6, which is characterized in that the update module includes:
Whole and submodule, it is whole for carrying out the first tax revenue sorting code number with the data in first sorting code number library It closes;
Submodule is updated, for being updated according to integrated results to first sorting code number library.
8. device according to claim 7, which is characterized in that the submodule of integrating includes:
Judging unit, the tax revenue for judging to store in the first tax revenue sorting code number and first sorting code number library are classified Whether consistent encode corresponding merchandise news;
Replacement unit, if the judging result for the judging unit be it is yes, by the first sorting code number library data replace For the first tax revenue sorting code number;
Adding unit, if the judging result for the judging unit be it is no, the first tax revenue sorting code number is added to In first sorting code number library.
9. device according to claim 6, which is characterized in that described device further include:
Second judgment module, for the first version number in the first sorting code number library to be sent to shipping system in the sending module Before system, judge the data in first sorting code number library with the presence or absence of mistake;
Empty module, if the judging result for second judgment module be it is yes, empty first sorting code number library Total data;
Second sending module is sent to freight transport system for the default version number after emptying;
Second obtains module, the corresponding tax revenue sorting code number of third version number sent for obtaining the freight transport system, wherein The third version number is version corresponding with the default version number in the freight transport system.
10. device according to claim 6, which is characterized in that the update module is used for, and is repeated described by first Version number is sent to the step of freight transport system, until the first version number is identical as the second edition number.
CN201711207310.0A 2017-11-27 2017-11-27 A kind of data-updating method and device Pending CN110019126A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711207310.0A CN110019126A (en) 2017-11-27 2017-11-27 A kind of data-updating method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711207310.0A CN110019126A (en) 2017-11-27 2017-11-27 A kind of data-updating method and device

Publications (1)

Publication Number Publication Date
CN110019126A true CN110019126A (en) 2019-07-16

Family

ID=67186801

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711207310.0A Pending CN110019126A (en) 2017-11-27 2017-11-27 A kind of data-updating method and device

Country Status (1)

Country Link
CN (1) CN110019126A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111008518A (en) * 2019-12-10 2020-04-14 重庆忽米网络科技有限公司 Dynamic friction industry identification analysis data updating method and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090187611A1 (en) * 2008-01-23 2009-07-23 Hewlett-Packard Development Company, L.P. Prioritized replication paths
CN102299904A (en) * 2010-06-23 2011-12-28 阿里巴巴集团控股有限公司 System and method for realizing service data backup
CN103002011A (en) * 2012-10-29 2013-03-27 北京奇虎科技有限公司 Server-based data update method and server
CN103002010A (en) * 2012-10-29 2013-03-27 北京奇虎科技有限公司 A method, device and system for updating data based on incremental data
CN106055353A (en) * 2016-05-23 2016-10-26 北京小米移动软件有限公司 Data update method and apparatus
CN106970974A (en) * 2017-03-27 2017-07-21 车智互联(北京)科技有限公司 A kind of APP low discharges data update system and method based on version

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090187611A1 (en) * 2008-01-23 2009-07-23 Hewlett-Packard Development Company, L.P. Prioritized replication paths
CN102299904A (en) * 2010-06-23 2011-12-28 阿里巴巴集团控股有限公司 System and method for realizing service data backup
CN103002011A (en) * 2012-10-29 2013-03-27 北京奇虎科技有限公司 Server-based data update method and server
CN103002010A (en) * 2012-10-29 2013-03-27 北京奇虎科技有限公司 A method, device and system for updating data based on incremental data
CN106055353A (en) * 2016-05-23 2016-10-26 北京小米移动软件有限公司 Data update method and apparatus
CN106970974A (en) * 2017-03-27 2017-07-21 车智互联(北京)科技有限公司 A kind of APP low discharges data update system and method based on version

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111008518A (en) * 2019-12-10 2020-04-14 重庆忽米网络科技有限公司 Dynamic friction industry identification analysis data updating method and system
CN111008518B (en) * 2019-12-10 2023-06-20 重庆忽米网络科技有限公司 Dynamic friction industry identification analysis data updating method and system

Similar Documents

Publication Publication Date Title
CN105447734B (en) Order information processing method and system
CN109684369B (en) Information updating method and device
CN113741909B (en) Micro-service deployment method and device, electronic equipment and storage medium
CN112184177B (en) Project supervision method, equipment and storage medium
CN109669776A (en) Processing method, the device and system of Detection task
CN106062711A (en) Compound controls
CN106899666A (en) A kind of data processing method and device for service identification
CN107844588A (en) A kind of processing method of data dictionary, device, storage medium and processor
CN115878092A (en) Code generation method, device and medium based on micro-service architecture
CN108123810A (en) A kind of error bills processing method and processing device
CN111190814A (en) Software test case generation method and device, storage medium and terminal
US8122101B2 (en) Methods and systems for distributing software
CN109241515A (en) A kind of method and device generating report file
CN111078319B (en) Configuration data management method, device, storage medium and computer readable medium
CN110019126A (en) A kind of data-updating method and device
CN101777994B (en) Configuration method and system of telecommunication equipment
CN111026569B (en) Method for repairing specified block data in alliance chain
CN113869967A (en) Server order management method and system, electronic equipment and storage medium
JP2019049798A (en) Transfer method
US8200786B2 (en) Methods and systems for distributing software
GB2490702A (en) Managing the evaluation of computer program code by selecting computer code items and rules to evaluate the items.
Chandra et al. Information technology support for integrated supply chain modeling
CN114443077A (en) Application publishing method and device, computer equipment and storage medium
CN106656861B (en) A kind of e-book method for pushing and device
Zogopoulos et al. Framework for propagating product variability to digital assembly instructions

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190716