WO2017050179A1 - 一种库存系统数据更新方法及装置 - Google Patents

一种库存系统数据更新方法及装置 Download PDF

Info

Publication number
WO2017050179A1
WO2017050179A1 PCT/CN2016/099058 CN2016099058W WO2017050179A1 WO 2017050179 A1 WO2017050179 A1 WO 2017050179A1 CN 2016099058 W CN2016099058 W CN 2016099058W WO 2017050179 A1 WO2017050179 A1 WO 2017050179A1
Authority
WO
WIPO (PCT)
Prior art keywords
inventory
partition
deduction
database
field
Prior art date
Application number
PCT/CN2016/099058
Other languages
English (en)
French (fr)
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 WO2017050179A1 publication Critical patent/WO2017050179A1/zh

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/23Updating
    • G06F16/2308Concurrency control
    • G06F16/2315Optimistic concurrency control

Definitions

  • the present invention relates to the field of database technologies, and in particular, to a method and device for updating inventory system data.
  • a decentralized inventory system is usually adopted, that is, a partition inventory database is established in each user centralized area. Each partition inventory database is connected, and each partition inventory database is used to store and process inventory data, which is convenient for local users to access quickly.
  • the inventory data structure exists in the form of a table, called an inventory table.
  • the partitioned inventory database shares the inventory table.
  • the inventory data in the inventory table exists in the form of fields, including input indicating the value of the inventory input.
  • the field, the deduction field and the inventory balance field indicating the deduction value of the inventory the inventory input means that the inventory provider inputs a new inventory value, which is equivalent to the inventory input, and the deduction of the inventory refers to the inventory deduction of the inventory consumer, which is equivalent to the inventory output.
  • the inventory data of each partition inventory database needs to be updated synchronously. Specifically, when a transaction occurs in a place, the input field of the inventory table of the local partition inventory database (when inventory input occurs) ) or the deduction field (when inventory deduction occurs) is modified to synchronize the same fields of the inventory table of the other partitioned inventory database. However, transactions in different places often occur at the same time. The same field of the inventory table in each partition inventory database changes concurrently. This concurrency will lead to conflicts in data synchronization, resulting in data errors in the inventory table, affecting real inventory data and Transaction processing.
  • a single point of modification is used, that is, only one is used.
  • the inventory database is used to modify the inventory table, and then the modified inventory table is synchronized to each partition inventory database.
  • the transaction information of each place must be sent to the inventory database for modifying the inventory table remotely from the region, and then the inventory database of the inventory table is modified to modify the inventory table according to the priority order or time order.
  • synchronized response time is long, reducing system throughput, availability, and user experience.
  • the present application provides an inventory system data update method and apparatus.
  • a method for updating an inventory system data includes:
  • a zone input field corresponding to the partition inventory database and an area deduction field for recording the value of the inventory increase in the partition inventory database for recording the partition inventory database in the inventory table is set in the inventory table.
  • an area input field corresponding to the partition inventory database is updated, and an inventory table of each partition inventory database is synchronized;
  • the inventory balance M ⁇ (a1+a2+...+an)- ⁇ (b1+b2+...+ Bn), where a1 to an are the regional input fields of the respective partition inventory databases, b1 to bn are the regional deduction fields of the respective partition inventory databases, and n is the number of the partition inventory database;
  • the regional deduction field corresponding to the partition inventory database is updated, and the inventory table of each partition inventory database is synchronized.
  • the method for updating the inventory system data further includes:
  • an area input field corresponding to the partition inventory database is updated, and the inventory balance field is updated;
  • the regional deduction field corresponding to the partitioned inventory database is updated, and the inventory balance field is updated.
  • the partition inventory database determine whether the inventory balance field is greater than or equal to the value of the current inventory deduction.
  • the method for updating the inventory system data further includes:
  • the inventory system data update method uses a ring synchronization to synchronize an inventory table of each partition inventory database.
  • an inventory system data updating apparatus including:
  • a field setting unit configured to set an area input field corresponding to the area identifier and an area deduction field in the inventory table according to the area identifier of each partition inventory database, where the area input field is used to record the inventory increase in the partition inventory database Value, the area deduction field is used to record the value of the deduction of inventory in the partition inventory database;
  • a first updating unit configured to: when an inventory increase occurs in the partition inventory database, update an area input field corresponding to the partition inventory database, and synchronize an inventory table of each partition inventory database;
  • a second updating unit configured to: when the inventory balance is greater than or equal to the value of the current inventory deduction, update the regional deduction field corresponding to the partition inventory database, and synchronize the inventory table of each partition inventory database.
  • the field setting unit is further configured to set an inventory balance field in the inventory table, where the inventory balance field is used to record the inventory balance;
  • the first updating unit is configured to: when an inventory increase occurs in the partition inventory database, update an area input field corresponding to the partition inventory database, and update the inventory balance field; and,
  • the second update unit is configured to update an area deduction field corresponding to the partition inventory database and update the inventory balance field when an inventory deduction occurs in the partition inventory database.
  • the remaining judgment unit is configured to determine, when the inventory deduction of the partition inventory database occurs, whether the inventory balance field is greater than or equal to a value of the current inventory deduction.
  • the inventory system data update device further includes:
  • the prompting unit is configured to display an insufficient stock message when the inventory balance is less than the value of the current inventory deduction.
  • the first update unit and the second update unit use ring synchronization to synchronize an inventory table of each partition inventory database.
  • an area input field and an area deduction field corresponding to the partition inventory database are set in the inventory table.
  • an inventory increase occurs in a partition inventory database only the corresponding inventory database corresponding to the partition inventory database is updated.
  • the zone input field when inventory deduction occurs in a partition inventory database, only need to update the regional deduction field corresponding to the partition inventory database, so that even if there are multiple partition inventory database inventory changes, it only needs to be updated separately.
  • the area input field or area deduction field corresponding to each partition inventory database does not appear to update the same field at the same time, so the data synchronization conflict is well avoided.
  • the corresponding area input field or area deduction field can be updated locally, and then the inventory table is synchronized, without requiring other partition inventory database to initiate remote inventory modification access, so the data update response time Short, helps improve system throughput, availability, and user experience.
  • FIG. 1 is a schematic flow chart of a method for updating inventory system data according to an exemplary embodiment of the present application.
  • FIG. 2 is a schematic flowchart diagram of another method for updating inventory system data according to an exemplary embodiment of the present application.
  • FIG. 3 is a block diagram of an inventory system data updating apparatus according to an exemplary embodiment of the present application.
  • FIG. 4 is a block diagram of another inventory system data updating apparatus according to an exemplary embodiment of the present application.
  • FIG. 1 is a schematic flowchart of a method for updating an inventory system data according to an exemplary embodiment of the present application. As shown in FIG. 1 , the method includes:
  • Step S101 setting an area input field corresponding to the partition inventory database and an area deduction field in the inventory table, wherein the area input field is used for recording the value of the inventory increase in the partition inventory database, and the area deduction field is used for recording the partition.
  • the value of the deduction for inventory in the inventory database is used for recording the partition.
  • the corresponding to the partition inventory database may correspond to the library identifier of the partition inventory database or the regional identifier of the partition inventory database, and correspondingly, the number of the region input fields and the regional deduction field in the inventory table
  • the number is the same as the number of partitioned inventory databases.
  • the area entry fields a1, a2, a3, ..., and the area deduction fields b1, b2, b3, ... bn corresponding to the partition stock databases W1, W2, W3, ... Wn are set in the stock table.
  • Partition inventory database Using the same set of table structures, that is, the inventory table of the partitioned inventory database is the same, and can synchronize updates.
  • Step S102 when an inventory increase occurs in the partition inventory database, update an area input field corresponding to the partition inventory database, and synchronize an inventory table of each partition inventory database;
  • Step S103 when an inventory deduction occurs in the partition inventory database, determine whether the inventory balance is greater than or equal to the value of the current inventory deduction
  • Step S104 when the inventory balance is greater than or equal to the value of the current inventory deduction, the regional deduction field corresponding to the partition inventory database is updated, and the inventory table of each partition inventory database is synchronized.
  • the user inputs the corresponding region input field or the region deduction field to complete the update of the region input field or the region deduction field;
  • the area input field or the area deduction field is automatically updated according to the transaction information, for example, the transaction is sold, and the inventory deduction is performed, and the regional deduction field is updated according to the sales amount. If the transaction is a buy and the stock is increased, the area input field is updated according to the purchase amount.
  • the regional input field corresponding to the partitioned inventory database is updated, that is, the value of the inventory increase is added to the original value of the regional input field, and the inventory table in the partitioned inventory database occurs.
  • Change according to the change, the inventory table of each partition inventory database is synchronized, whereby the area input fields corresponding to the partition inventory database in which the inventory increase occurs in the inventory table of each partition inventory database all undergo the same change, and the synchronous update is completed.
  • the regional deduction field corresponding to the partition inventory database is updated, that is, the value of the inventory increase is subtracted from the original value of the region input field.
  • the inventory deduction can be performed, and the regional deduction field corresponding to the partitioned inventory database is updated, and the inventory table in the partitioned inventory database changes, according to the change. Same The inventory table of each partition inventory database is changed, and thus the regional deduction field corresponding to the partition inventory database in which the inventory deduction occurs in the inventory table of each partition inventory database changes the same, and the synchronization update is completed. If the inventory balance is less than the value of the current inventory deduction, the inventory deduction cannot be performed, and the regional deduction field corresponding to the partitioned inventory database is not updated. In this case, an insufficient inventory message may be displayed to remind the user of this. Insufficient inventory, unable to complete inventory deduction.
  • the synchronization of the inventory table of each partition inventory database is used. Synchronization method, because the partition database in this application is used as a multi-master library in synchronization, and ring synchronization is used to process the synchronization of the inventory table in the multi-master database, which is mainly based on the general database. A method of synchronization that has higher performance and reliability.
  • step S102 and step S103 and step S104
  • Step S102 and step S104 may be performed first, or step S103 and step S104 may be performed first, then step S102 may be performed, or step S102 and step S103 may be performed simultaneously.
  • FIG. 2 is a schematic flowchart diagram of another method for updating inventory system data according to an exemplary embodiment of the present application. The method is based on the method shown in FIG. 1. As shown in FIG. 2, the method includes:
  • Step S201 setting an area input field corresponding to the partition inventory database and an area deduction field in the inventory table, and setting an inventory balance field in the inventory table, where the area input field is used to record the value of the inventory increase in the partition inventory database.
  • the area deduction field is used to record the value of the inventory deduction in the partition inventory database
  • Step S202 when the inventory increase occurs in the partition inventory database, when the inventory increase occurs in the partition inventory database, the regional input field corresponding to the partition inventory database is updated, the inventory balance field is updated, and the inventory of each partition inventory database is synchronized. table;
  • Step S203 when an inventory deduction occurs in the partition inventory database, determine whether the inventory balance field is greater than or equal to the value of the current inventory deduction
  • Step S204 when the inventory balance is greater than or equal to the value of the current inventory deduction, update and The regional deduction field corresponding to the partition inventory database, simultaneously updating the inventory balance field, and synchronizing the inventory table of each partition inventory database.
  • Step S205 when the inventory balance is less than the value of the current inventory deduction, an insufficient inventory message is displayed.
  • the above embodiment determines the inventory balance value when the inventory balance is greater than or equal to the value of the current inventory deduction, and the inventory balance is not calculated when the inventory increase occurs in the partition inventory database.
  • the value and the inventory balance are updated. This situation may result in an error in calculating the inventory balance value in the case of inventory deduction due to the update blank of the inventory balance, so that the obtained inventory balance value has actual error. If the inventory balance value is incorrectly calculated, it is likely that the system will crash due to a wrong inventory deduction.
  • step S202 and the step S203 are not limited by the writing order, that is, the step S202 may be performed first, and then the step S203 and the step S204 are performed. Step S203 and step S204 may be performed first, then step S202 may be performed, or step S202 and step S203 may be performed simultaneously.
  • an stock balance field is also set in the stock table for recording the stock balance.
  • the regional input field corresponding to the partitioned inventory database is updated, and the inventory balance field is updated, that is, the inventory balance after the inventory increase is calculated, and the inventory balance field is updated to the calculation result;
  • the inventory deduction of the partition inventory database occurs, the regional deduction field corresponding to the partition inventory database is updated, and the inventory balance field is updated, that is, the new inventory balance value after the inventory deduction is calculated, and the inventory balance field is updated.
  • the inventory balance field may be read without directly calculating the inventory balance field, and it is determined whether the inventory balance field is greater than or equal to the current deduction value.
  • an area input field and an area deduction field corresponding to the partition inventory database are set in the inventory table, and when the inventory increase or the inventory deduction occurs in the partition inventory database, only the partition inventory database is updated.
  • Corresponding area input field or area deduction field so even if there are multiple partition inventory database inventory changes at the same time, only the area input field or area deduction field corresponding to each partition inventory database is updated separately, without simultaneous Update the same field to avoid data synchronization conflicts.
  • each partition When inventory changes occur in the inventory database, the corresponding regional input fields or regional deduction fields can be locally updated in the partition inventory database, and the inventory table can be synchronized, without requiring remote access to other partition inventory databases for update modification, so the data is updated. Short response times help improve system throughput, availability, and user experience.
  • the foregoing storage medium includes: a medium that can store data and program code, such as a read only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
  • FIG. 3 is a block diagram of an inventory system data updating apparatus according to an exemplary embodiment of the present application. As shown in FIG. 3, the device includes:
  • a field setting unit U301 configured to set an area input field corresponding to the area identifier and an area deduction field in the inventory table according to the area identifier of each partition inventory database, where the area input field is used to record the inventory in the partition inventory database The added value, the area deduction field is used to record the value of the deduction of the inventory in the partition inventory database;
  • a first updating unit U302 configured to: when an inventory increase occurs in the partition inventory database, update an area input field corresponding to the partition inventory database, and synchronize an inventory table of each partition inventory database;
  • the remaining judgment unit U303 is configured to determine, when the inventory deduction of the partition inventory database occurs, whether the inventory balance is greater than or equal to the value of the current inventory deduction;
  • the second updating unit U304 is configured to: when the inventory balance is greater than or equal to the value of the current inventory deduction, update the regional deduction field corresponding to the partition inventory database, and synchronize the inventory table of each partition inventory database.
  • the inventory balance M ⁇ (a1+a2+...+an)- ⁇ (b1+b2+...++bn), wherein a1 to an are the area input fields of the respective partition inventory databases, respectively, b1 to bn respectively The area deduction field for each partitioned inventory database, where n is the number of partitioned inventory databases.
  • the first update unit and the second update unit synchronize the inventory table of each partition inventory database using ring synchronization.
  • FIG. 4 is a block diagram of another inventory system data updating apparatus according to an exemplary embodiment of the present application. As shown in FIG. 4, the device includes:
  • a field setting unit U401 configured to set an area input field corresponding to the area identifier and an area deduction field in the inventory table according to the area identifier of each partition inventory database, and set an inventory balance field in the inventory table, the area
  • the input field is used to record the value of the inventory increase in the partition inventory database
  • the regional deduction field is used to record the value of the inventory deduction in the partition inventory database
  • Regional deduction field where n is the number of partitioned inventory databases;
  • a first updating unit U402 configured to: when an inventory increase occurs in the partition inventory database, update an area input field corresponding to the partition inventory database, simultaneously update the inventory balance field, and synchronize an inventory table of each partition inventory database;
  • the remaining judgment unit U403 is configured to determine, when the inventory deduction of the partition inventory database occurs, whether the inventory balance field is greater than or equal to the value of the current inventory deduction;
  • a second updating unit U404 configured to: when the inventory deduction of the partition inventory database occurs, update the regional deduction field corresponding to the partition inventory database, simultaneously update the inventory balance field, and synchronize the inventory table of each partition inventory database;
  • the prompting unit U405 is configured to display an insufficient stock message when the inventory balance is less than the value of the current inventory deduction.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

一种库存系统数据更新方法及装置。该方法中,在库存表中设置与分区库存数据库对应的区域输入字段和区域扣减字段,当分区库存数据库发生库存增加或者库存扣减时,只需更新与该分区库存数据库对应的区域输入字段或者区域扣减字段,即使同时有多个分区库存数据库发生库存变化,也只用分别更新与各个分区库存数据库对应的区域输入字段或区域扣减字段,而不会出现同时更新同一个字段的情况,从而能够很好地避免数据同步冲突。而且每个分区库存数据库发生库存变化时,可以在分区库存数据库本地更新对应的区域输入字段或者区域扣减字段,再同步库存表,因此数据更新响应时间短,有利于提高系统的吞吐量和可用性。

Description

一种库存系统数据更新方法及装置 技术领域
本发明涉及数据库技术领域,尤其涉及一种库存系统数据更新方法及装置。
背景技术
存在跨区域交易的网站,由于网站用户来自不同区域,地理位置差异巨大,为了提高区域数据处理速度和提高用户体验,通常采用分散式库存系统,也就是在各个用户集中的地区建立分区库存数据库,各个分区库存数据库相连接,各个分区库存数据库用于存储和处理库存数据,方便当地用户的快速访问。在分区库存数据库中,库存数据结构则以表的形式存在,称为库存表,为方便同步,分区库存数据库共用库存表,库存表中库存数据以字段的形式存在,包括表示库存输入数值的输入字段、表示库存扣减数值的扣减字段和库存余额字段,库存输入指库存提供方输入新的库存值,相当于库存输入,库存扣减指库存消费方扣减库存,相当于库存输出。
当库存系统发生库存输入或者扣减时,各个分区库存数据库的库存数据需要同步进行更新,具体地,当某地发生交易时,该地分区库存数据库的库存表中,输入字段(发生库存输入时)或扣减字段(发生库存扣减时)被修改,该修改会同步其他分区库存数据库的库存表的相同字段。但各地的交易常常是同时发生的,各个分区库存数据库中库存表的同一个字段并发地发生变化,这种并发情况会导致数据同步的冲突,造成库存表发生数据错误,影响真实的库存数据和交易处理。
为避免数据同步的冲突,通常采用单点修改的方式,也就是只使用一个 库存数据库来修改库存表,再将修改后的库存表同步到各个分区库存数据库。但这种方式下,各地交易信息要先跨地域远距离地发送给用于修改库存表的库存数据库,然后修改库存表的库存数据库按优先级排序或者时间排序修改库存表,这种方式数据修改和同步的响应时间长,降低系统的吞吐量、可用性以及用户体验。
发明内容
为克服相关技术中库存系统数据更新存在数据同步的问题,本申请提供一种库存系统数据更新方法及装置。
根据本申请实施例的第一方面,提供一种库存系统数据更新方法,包括:
在库存表中设置与分区库存数据库对应的区域输入字段以及区域扣减字段,所述区域输入字段用于记录分区库存数据库中库存增加的数值,所述区域扣减字段用于记录分区库存数据库中库存扣减的数值;
当分区库存数据库发生库存增加时,更新与所述分区库存数据库对应的区域输入字段,并同步各个分区库存数据库的库存表;
当分区库存数据库发生库存扣减时,判断库存余额是否大于或等于当次库存扣减的数值,所述库存余额M=∑(a1+a2+……+an)-∑(b1+b2+……+bn),其中,a1至an分别为各个分区库存数据库的区域输入字段,b1至bn分别为各个分区库存数据库的区域扣减字段,n为分区库存数据库的个数;
当所述库存余额大于或等于当次库存扣减的数值时,则更新与所述分区库存数据库对应的区域扣减字段,并同步各个分区库存数据库的库存表。
可选的,所述的库存系统数据更新方法,还包括:
在库存表中设置库存余额字段,所述库存余额字段用于记录所述库存余额;
当分区库存数据库发生库存增加时,更新与所述分区库存数据库对应的区域输入字段,同时更新所述库存余额字段;以及,
当分区库存数据库发生库存扣减时,更新与所述分区库存数据库对应的区域扣减字段,同时更新所述库存余额字段。
可选的,当分区库存数据库发生库存扣减时,判断所述库存余额字段是否大于或等于当次库存扣减的数值。
可选的,所述的库存系统数据更新方法,还包括:
当所述库存余额小于当次库存扣减的数值时,显示库存不足消息。
可选的,所述的库存系统数据更新方法,使用环形同步来同步各个分区库存数据库的库存表。
相应于本申请实施例的第一方面,根据本申请实施例的第二方面,提供一种库存系统数据更新装置,包括:
字段设置单元,用于根据各个分区库存数据库的区域标识,在库存表中设置与所述区域标识对应的区域输入字段以及区域扣减字段,所述区域输入字段用于记录分区库存数据库中库存增加的数值,所述区域扣减字段用于记录分区库存数据库中库存扣减的数值;
第一更新单元,用于当分区库存数据库发生库存增加时,更新与所述分区库存数据库对应的区域输入字段,并同步各个分区库存数据库的库存表;
存余判断单元,用于当分区库存数据库发生库存扣减时,判断库存余额是否大于或等于当次库存扣减的数值,所述库存余额M=∑(a1+a2+……+an)-∑(b1+b2+……+bn),其中,a1至an分别为各个分区库存数据库的区域输入字段,b1至bn分别为各个分区库存数据库的区域扣减字段,n为分区库存数据库的个数;
第二更新单元,用于当所述库存余额大于或等于当次库存扣减的数值时,更新与所述分区库存数据库对应的区域扣减字段,并同步各个分区库存数据库的库存表。
可选的,所述字段设置单元,还用于在库存表中设置库存余额字段,所述库存余额字段用于记录所述库存余额;
所述第一更新单元,用于当分区库存数据库发生库存增加时,更新与所述分区库存数据库对应的区域输入字段,同时更新所述库存余额字段;以及,
所述第二更新单元,用于当分区库存数据库发生库存扣减时,更新与所述分区库存数据库对应的区域扣减字段,同时更新所述库存余额字段。
可选的,所述存余判断单元,用于当分区库存数据库发生库存扣减时,判断所述库存余额字段是否大于或等于当次库存扣减的数值。
可选的,所述的库存系统数据更新装置,还包括:
提示单元,用于当所述库存余额小于当次库存扣减的数值时,显示库存不足消息。
可选的,所述第一更新单元和所述第二更新单元使用环形同步来同步各个分区库存数据库的库存表。
本申请实施例提供的技术方案,在库存表中设置与分区库存数据库对应的区域输入字段和区域扣减字段,当某个分区库存数据库发生库存增加时,只需更新与该分区库存数据库对应的区域输入字段,当某个分区库存数据库发生库存扣减时,只需更新与该分区库存数据库对应的区域扣减字段,这样即使同时有多个分区库存数据库发生库存变化,也只需同时分别更新与各个分区库存数据库对应的区域输入字段或区域扣减字段,而不会出现同时更新同一个字段的情况,从而很好地避免了数据同步冲突。而且每个分区库存数据库发生库存变化时,可以在本地更新对应的区域输入字段或者区域扣减字段,然后同步库存表,而不需其他分区库存数据库发起远距离库存修改访问,因此数据更新响应时间短,有利于提高系统的吞吐量、可用性以及用户体验。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本申请。
附图说明
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本申请一示例性实施例示出的一种库存系统数据更新方法的流程示意图。
图2为本申请一示例性实施例示出的另一种库存系统数据更新方法的流程示意图。
图3为本申请一示例性实施例示出的一种库存系统数据更新装置的框图。
图4为本申请一示例性实施例示出的另一种库存系统数据更新装置的框图。
具体实施方式
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本申请相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本申请的一些方面相一致的装置和方法的例子。
为了全面理解本申请,在以下详细描述中提到了众多具体的细节,但是本领域技术人员应该理解,本申请可以无需这些具体细节而实现。在其他实施例中,不详细描述公知的方法、过程、组件和电路,以免不必要地导致实施例模糊。
图1为本申请一示例性实施例示出的一种库存系统数据更新方法的流程示意图,如图1所示,所述方法包括:
步骤S101,在库存表中设置与分区库存数据库对应的区域输入字段以及区域扣减字段,所述区域输入字段用于记录分区库存数据库中库存增加的数值,所述区域扣减字段用于记录分区库存数据库中库存扣减的数值。
其中,所述与分区库存数据库对应可以为与分区库存数据库的库标识对应,或者与分区库存数据库的区域标识对应,相应地,库存表中,区域输入字段的个数和区域扣减字段的个数分别与分区库存数据库的个数相同。例如,库存表中设置有对应于分区库存数据库W1、W2、W3……Wn的区域输入字段a1、a2、a3……an和区域扣减字段b1、b2、b3……bn。各分区库存数据库 使用同一套表结构,也就是分区库存数据库的库存表是一样的,并且可以联动同步更新。
步骤S102,当分区库存数据库发生库存增加时,更新与所述分区库存数据库对应的区域输入字段,并同步各个分区库存数据库的库存表;
步骤S103,当分区库存数据库发生库存扣减时,判断库存余额是否大于或等于当次库存扣减的数值;
步骤S104,当所述库存余额大于或等于当次库存扣减的数值时,则更新与所述分区库存数据库对应的区域扣减字段,并同步各个分区库存数据库的库存表。
在一种应用环境下,当分区库存数据库发生库存增加或库存扣减时,由用户修改对应的区域输入字段或区域扣减字段来完成区域输入字段或区域扣减字段的更新;在另一种应用环境下,当分区库存数据库所在区域发生交易后,根据所述交易信息自动更新区域输入字段或区域扣减字段,例如交易为卖出,库存扣减,则根据卖出额更新区域扣减字段,如果交易为买入,库存增加,则根据买入额更新区域输入字段。
当分区库存数据库发生库存增加时,更新与所述分区库存数据库对应的区域输入字段,也就是在区域输入字段原来的值上上加上库存增加的数值,这时分区库存数据库中的库存表发生变化,根据该变化同步各个分区库存数据库的库存表,由此各个分区库存数据库的库存表中与发生库存增加的分区库存数据库对应的区域输入字段都发生相同的变化,完成同步更新。
当分区库存数据库发生库存扣减时,更新与所述分区库存数据库对应的区域扣减字段,也就是在区域输入字段原来的值上上减去库存增加的数值。但如果此时库存余额不足,则无法完成库存扣减。因此当分区库存数据库发生库存扣减时,先判断库存余额是否大于或等于当次库存扣减的数值,所述库存余额M=∑(a1+a2+……+an)-∑(b1+b2+……+bn),其中,a1至an分别为各个分区库存数据库的区域输入字段,b1至bn分别为各个分区库存数据库的区域扣减字段,n为分区库存数据库的个数。如果库存余额大于或等于当次库存扣减的数值,则可以进行库存扣减,更新与所述分区库存数据库对应的区域扣减字段,这时分区库存数据库中的库存表发生变化,根据该变化同 步各个分区库存数据库的库存表,由此各个分区库存数据库的库存表中与发生库存扣减的分区库存数据库对应的区域扣减字段都发生相同的变化,完成同步更新。如果库存余额小于当次库存扣减的数值,则不能进行库存扣减,也就不更新与所述分区库存数据库对应的区域扣减字段,这种情况下可以显示库存不足消息,以提醒用户此时库存不足,无法完成库存扣减。
其中,优选地,分区库存数据库发生库存发生变化(增加或减少)时,更新与所述分区库存数据库对应的区域输入字段或区域扣减字段后,对各个分区库存数据库的库存表的同步使用环形同步的方式,这是因为,将本申请中各个分区库存数据库在同步时作为多主库,使用环形同步来处理多主库数据库中库存表的同步,相比一般的将多个数据库分为主从来同步的方法,具有更高的性能和可靠性。
需要说明的是,发生库存输入和发生库存扣减之间并无先后关系,因此本申请提供的技术方案中步骤S102与步骤S103(及步骤S104)之间并不受撰写顺序的限定,也就是可以先执行步骤S102,再执行步骤S103与步骤S104,也可以先执行步骤S103和步骤S104,再执行步骤S102,或者步骤S102与步骤S103同时执行。
图2为本申请一示例性实施例示出的另一种库存系统数据更新方法的流程示意图,该方法基于图1所示的方法,如图2所示,所述方法包括:
步骤S201,在库存表中设置与分区库存数据库对应的区域输入字段以及区域扣减字段,以及在库存表中设置库存余额字段,所述区域输入字段用于记录分区库存数据库中库存增加的数值,所述区域扣减字段用于记录分区库存数据库中库存扣减的数值,所述库存余额字段用于记录所述库存余额,所述库存余额M=∑(a1+a2+……+an)-∑(b1+b2+……+bn),其中,a1至an分别为各个分区库存数据库的区域输入字段,b1至bn分别为各个分区库存数据库的区域扣减字段,n为分区库存数据库的个数;
步骤S202,当分区库存数据库发生库存增加时,当分区库存数据库发生库存增加时,更新与所述分区库存数据库对应的区域输入字段,同时更新所述库存余额字段,并同步各个分区库存数据库的库存表;
步骤S203,当分区库存数据库发生库存扣减时,判断所述库存余额字段是否大于或等于当次库存扣减的数值;
步骤S204,当所述库存余额大于或等于当次库存扣减的数值时,更新与 所述分区库存数据库对应的区域扣减字段,同时更新所述库存余额字段,并同步各个分区库存数据库的库存表。
步骤S205,当所述库存余额小于当次库存扣减的数值时,显示库存不足消息。
当分区库存数据库发生库存扣减时,上述实施方式,在判断库存余额是否大于或等于当次库存扣减的数值,要计算库存余额值,而分区库存数据库发生库存增加时,并未计算库存余额值和对库存余额进行更新,这种情况可能会因为对库存增加情况下库存余额的更新空白而导致在库存扣减情况下计算库存余额值时发生错误,使得得到的库存余额值与实际存在误差,如果库存余额值计算错误,很可能导致系统因为错误的库存扣减而发生崩溃。
与图所述实施例相同,本实施例中,步骤S202与步骤S203(及步骤S204)之间并不受撰写顺序的限定,也就是可以先执行步骤S202,再执行步骤S203与步骤S204,也可以先执行步骤S203和步骤S204,再执行步骤S202,或者步骤S202与步骤S203同时执行。
因此在本实施例中,除了在库存表中设置区域输入字段和区域扣减字段,还在库存表中设置库存余额字段,所述库存余额字段用于记录所述库存余额。当分区库存数据库发生库存增加时,更新与所述分区库存数据库对应的区域输入字段,同时更新所述库存余额字段,也就是计算库存增加后的库存余额,将库存余额字段更新到计算结果;以及当分区库存数据库发生库存扣减时,更新与所述分区库存数据库对应的区域扣减字段,同时更新所述库存余额字段,也就是计算库存扣减后新的库存余额值,并库存余额字段更新到计算结果。这样,由于库存余额字段是实时更新的,在发生库存扣减时,可以不需再计算库存余额,而直接读取库存余额字段,判断所述库存余额字段是否大于或等于当前的扣减值。
本申请实施例提供的技术方案,在库存表中设置与分区库存数据库对应的区域输入字段和区域扣减字段,当分区库存数据库发生库存增加或者库存扣减时,只需更新与该分区库存数据库对应的区域输入字段或者区域扣减字段,因而即使同时有多个分区库存数据库发生库存变化,也只用分别更新与各个分区库存数据库对应的区域输入字段或区域扣减字段,而不会出现同时更新同一个字段的情况,从而能够很好地避免数据同步冲突。而且每个分区 库存数据库发生库存变化时,可以在分区库存数据库本地更新对应的区域输入字段或者区域扣减字段,再同步库存表,而不需对其他分区库存数据库发起远距离访问来进行更新修改,因此数据更新响应时间短,有利于提高系统的吞吐量、可用性以及用户体验。
通过以上的方法实施例的描述,所属领域的技术人员可以清楚地了解到本申请可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,并存储在一个存储介质中,包括若干指令用以使得一台智能设备执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:只读存储器(ROM)、随机存取存储器(RAM)、磁碟或者光盘等各种可以存储数据和程序代码的介质。
图3为本申请一示例性实施例示出的一种库存系统数据更新装置的框图。如图3所示,所述装置包括:
字段设置单元U301,用于根据各个分区库存数据库的区域标识,在库存表中设置与所述区域标识对应的区域输入字段以及区域扣减字段,所述区域输入字段用于记录分区库存数据库中库存增加的数值,所述区域扣减字段用于记录分区库存数据库中库存扣减的数值;
第一更新单元U302,用于当分区库存数据库发生库存增加时,更新与所述分区库存数据库对应的区域输入字段,并同步各个分区库存数据库的库存表;
存余判断单元U303,用于当分区库存数据库发生库存扣减时,判断库存余额是否大于或等于当次库存扣减的数值;
第二更新单元U304,用于当所述库存余额大于或等于当次库存扣减的数值时,更新与所述分区库存数据库对应的区域扣减字段,并同步各个分区库存数据库的库存表。
其中,所述库存余额M=∑(a1+a2+……+an)-∑(b1+b2+……+bn),其中,a1至an分别为各个分区库存数据库的区域输入字段,b1至bn分别为各个分区库存数据库的区域扣减字段,n为分区库存数据库的个数。
其中,优选的是,所述第一更新单元和所述第二更新单元使用环形同步来同步各个分区库存数据库的库存表。
图4为本申请一示例性实施例示出的另一种库存系统数据更新装置的框图。如图4所示,所述装置包括:
字段设置单元U401,用于根据各个分区库存数据库的区域标识,在库存表中设置与所述区域标识对应的区域输入字段以及区域扣减字段,以及在库存表中设置库存余额字段,所述区域输入字段用于记录分区库存数据库中库存增加的数值,所述区域扣减字段用于记录分区库存数据库中库存扣减的数值,所述库存余额字段用于记录所述库存余额,所述库存余额M=∑(a1+a2+……+an)-∑(b1+b2+……+bn),其中,a1至an分别为各个分区库存数据库的区域输入字段,b1至bn分别为各个分区库存数据库的区域扣减字段,n为分区库存数据库的个数;
第一更新单元U402,用于当分区库存数据库发生库存增加时,更新与所述分区库存数据库对应的区域输入字段,同时更新所述库存余额字段,并同步各个分区库存数据库的库存表;
存余判断单元U403,用于当分区库存数据库发生库存扣减时,判断所述库存余额字段是否大于或等于当次库存扣减的数值;
第二更新单元U404,用于当分区库存数据库发生库存扣减时,更新与所述分区库存数据库对应的区域扣减字段,同时更新所述库存余额字段,并同步各个分区库存数据库的库存表;
提示单元U405,用于当所述库存余额小于当次库存扣减的数值时,显示库存不足消息。
为了描述的方便,描述以上装置时以功能分为各种单元分别描述。当然,在实施本申请时可以把各单元的功能在同一个或多个软件和/或硬件中实现。
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同 之处。尤其,对于装置或系统实施例而言,由于其基本相似于方法实施例,所以描述得比较简单,相关之处参见方法实施例的部分说明即可。以上所描述的装置及系统实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。
需要说明的是,在本文中,诸如“第一”和“第二”等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者逆序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、装置或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、装置或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、装置或者设备中还存在另外的相同要素。
以上所述仅是本申请的具体实施方式,使本领域技术人员能够理解或实现本申请。对这些实施例的多种修改对本领域的技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本申请的精神或范围的情况下,在其它实施例中实现。因此,本申请将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。

Claims (12)

  1. 一种库存系统数据更新方法,其特征在于,包括:
    在库存表中设置与分区库存数据库对应的区域输入字段以及区域扣减字段,所述区域输入字段用于记录分区库存数据库中库存增加的数值,所述区域扣减字段用于记录分区库存数据库中库存扣减的数值;
    当分区库存数据库发生库存增加时,更新与所述分区库存数据库对应的区域输入字段,并同步各个分区库存数据库的库存表;
    当分区库存数据库发生库存扣减时,判断库存余额是否大于或等于当次库存扣减的数值;
    当所述库存余额大于或等于当次库存扣减的数值时,则更新与所述分区库存数据库对应的区域扣减字段,并同步各个分区库存数据库的库存表。
  2. 根据权利要求1所述的库存系统数据更新方法,其特征在于,所述库存余额M=∑(a1+a2+……+an)-∑(b1+b2+……+bn),其中,a1至an分别为各个分区库存数据库的区域输入字段,b1至bn分别为各个分区库存数据库的区域扣减字段,n为分区库存数据库的个数。
  3. 根据权利要求1或2所述的库存系统数据更新方法,其特征在于,还包括:
    在库存表中设置库存余额字段,所述库存余额字段用于记录所述库存余额;
    当分区库存数据库发生库存增加时,更新与所述分区库存数据库对应的区域输入字段,同时更新所述库存余额字段;以及,
    当分区库存数据库发生库存扣减时,更新与所述分区库存数据库对应的区域扣减字段,同时更新所述库存余额字段。
  4. 根据权利要求3所述的库存系统数据更新方法,其特征在于,
    当分区库存数据库发生库存扣减时,判断所述库存余额字段是否大于或等于当次库存扣减的数值。
  5. 根据权利要求1所述的库存系统数据更新方法,其特征在于,还包括:
    当所述库存余额小于当次库存扣减的数值时,显示库存不足消息。
  6. 根据权利要求1所述的库存系统数据更新方法,其特征在于,使用环形同步来同步各个分区库存数据库的库存表。
  7. 一种库存系统数据更新装置,其特征在于,包括:
    字段设置单元,用于根据各个分区库存数据库的区域标识,在库存表中设置与所述区域标识对应的区域输入字段以及区域扣减字段,所述区域输入字段用于记录分区库存数据库中库存增加的数值,所述区域扣减字段用于记录分区库存数据库中库存扣减的数值;
    第一更新单元,用于当分区库存数据库发生库存增加时,更新与所述分区库存数据库对应的区域输入字段,并同步各个分区库存数据库的库存表;
    存余判断单元,用于当分区库存数据库发生库存扣减时,判断库存余额是否大于或等于当次库存扣减的数值;
    第二更新单元,用于当所述库存余额大于或等于当次库存扣减的数值时,更新与所述分区库存数据库对应的区域扣减字段,并同步各个分区库存数据库的库存表。
  8. 根据权利要求7所述的库存系统数据更新装置,其特征在于,所述库存余额M=∑(a1+a2+……+an)-∑(b1+b2+……+bn),其中,a1至an分别为各个分区库存数据库的区域输入字段,b1至bn分别为各个分区库存数据库的区域扣减字段,n为分区库存数据库的个数。
  9. 根据权利要求7或8所述的库存系统数据更新装置,其特征在于,
    所述字段设置单元,还用于在库存表中设置库存余额字段,所述库存余额字段用于记录所述库存余额;
    所述第一更新单元,用于当分区库存数据库发生库存增加时,更新与所述分区库存数据库对应的区域输入字段,同时更新所述库存余额字段;以及,
    所述第二更新单元,用于当分区库存数据库发生库存扣减时,更新与所述分区库存数据库对应的区域扣减字段,同时更新所述库存余额字段。
  10. 根据权利要求9所述的库存系统数据更新装置,其特征在于,
    所述存余判断单元,用于当分区库存数据库发生库存扣减时,判断所述库存余额字段是否大于或等于当次库存扣减的数值。
  11. 根据权利要求7所述的库存系统数据更新装置,其特征在于,还包括:
    提示单元,用于当所述库存余额小于当次库存扣减的数值时,显示库存不足消息。
  12. 根据权利要求7所述的库存系统数据更新装置,其特征在于,所述第一更新单元和所述第二更新单元使用环形同步来同步各个分区库存数据库的库存表。
PCT/CN2016/099058 2015-09-25 2016-09-14 一种库存系统数据更新方法及装置 WO2017050179A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510622287.6 2015-09-25
CN201510622287.6A CN106557482B (zh) 2015-09-25 2015-09-25 一种库存系统数据更新方法及装置

Publications (1)

Publication Number Publication Date
WO2017050179A1 true WO2017050179A1 (zh) 2017-03-30

Family

ID=58385698

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/099058 WO2017050179A1 (zh) 2015-09-25 2016-09-14 一种库存系统数据更新方法及装置

Country Status (2)

Country Link
CN (1) CN106557482B (zh)
WO (1) WO2017050179A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110263050A (zh) * 2019-05-06 2019-09-20 阿里巴巴集团控股有限公司 数据处理方法、装置、设备及存储介质
CN112764968A (zh) * 2020-12-29 2021-05-07 杭州海康威视系统技术有限公司 数据处理方法、装置、设备及存储介质

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110362581A (zh) * 2018-04-04 2019-10-22 阿里巴巴集团控股有限公司 一种数据处理方法及装置
CN109558415A (zh) * 2018-11-20 2019-04-02 北京松鼠山科技有限公司 知识库更新方法及装置
CN110188139B (zh) * 2019-05-05 2021-10-22 苏宁易购集团股份有限公司 库存数目同步方法、装置、计算机设备和存储介质
CN110909978A (zh) * 2019-10-15 2020-03-24 京东数字科技控股有限公司 资源处理方法、装置、服务器及计算机可读存储介质
CN111125104A (zh) * 2019-12-20 2020-05-08 北京每日优鲜电子商务有限公司 数据库表的更新方法、装置、计算机设备及存储介质
CN113762827B (zh) * 2020-07-30 2023-11-07 北京京东振世信息技术有限公司 一种库存差异对冲处理方法和装置

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030004975A1 (en) * 2001-06-27 2003-01-02 Yukio Nakano Database management system with rebalance architectures
US20070226269A1 (en) * 2006-03-24 2007-09-27 International Business Machines Corporation Method and system for an update synchronization of a domain information file
CN101441738A (zh) * 2007-12-24 2009-05-27 北京奥腾讯达科技有限公司 分区仓储管理系统
CN102708529A (zh) * 2012-05-16 2012-10-03 北京航空航天大学 一种药房药品仓储信息管理系统
CN103853748A (zh) * 2012-11-29 2014-06-11 天津书生投资有限公司 一种数据库同步方法
CN104598610A (zh) * 2015-01-29 2015-05-06 无锡江南计算技术研究所 一种分步式数据库数据分发上传同步方法
CN104794132A (zh) * 2014-01-21 2015-07-22 阿里巴巴集团控股有限公司 库存信息处理方法及系统

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090012862A1 (en) * 2007-07-03 2009-01-08 Maritz Inc. Instant zero inventory fulfillment redemption system and method
CN102054226A (zh) * 2010-12-28 2011-05-11 用友软件股份有限公司 线边仓库存管理方法和系统
CN102930410A (zh) * 2011-08-09 2013-02-13 鸿富锦精密工业(深圳)有限公司 仓库库存管理系统及管理方法
CN104077671B (zh) * 2013-03-25 2019-01-25 腾讯科技(深圳)有限公司 一种同步库存信息的方法和系统
CN104699712B (zh) * 2013-12-09 2018-05-18 阿里巴巴集团控股有限公司 对数据库中的库存记录信息进行更新的方法及装置

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030004975A1 (en) * 2001-06-27 2003-01-02 Yukio Nakano Database management system with rebalance architectures
US20070226269A1 (en) * 2006-03-24 2007-09-27 International Business Machines Corporation Method and system for an update synchronization of a domain information file
CN101441738A (zh) * 2007-12-24 2009-05-27 北京奥腾讯达科技有限公司 分区仓储管理系统
CN102708529A (zh) * 2012-05-16 2012-10-03 北京航空航天大学 一种药房药品仓储信息管理系统
CN103853748A (zh) * 2012-11-29 2014-06-11 天津书生投资有限公司 一种数据库同步方法
CN104794132A (zh) * 2014-01-21 2015-07-22 阿里巴巴集团控股有限公司 库存信息处理方法及系统
CN104598610A (zh) * 2015-01-29 2015-05-06 无锡江南计算技术研究所 一种分步式数据库数据分发上传同步方法

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110263050A (zh) * 2019-05-06 2019-09-20 阿里巴巴集团控股有限公司 数据处理方法、装置、设备及存储介质
CN110263050B (zh) * 2019-05-06 2023-10-27 创新先进技术有限公司 数据处理方法、装置、设备及存储介质
CN112764968A (zh) * 2020-12-29 2021-05-07 杭州海康威视系统技术有限公司 数据处理方法、装置、设备及存储介质
CN112764968B (zh) * 2020-12-29 2024-02-13 杭州海康威视系统技术有限公司 数据处理方法、装置、设备及存储介质

Also Published As

Publication number Publication date
CN106557482B (zh) 2020-09-25
CN106557482A (zh) 2017-04-05

Similar Documents

Publication Publication Date Title
WO2017050179A1 (zh) 一种库存系统数据更新方法及装置
US11204915B2 (en) Blockchain-based data storage and query method and device
US20150310384A1 (en) Method and system of processing commodity object information
JP2019511059A (ja) リスク情報を出力し、リスク情報を構築するための方法及びデバイス
EP4072097A1 (en) Method and device for dynamically adding consensus node in blockchain
WO2020029628A1 (zh) 一种基于中心化与去中心化的双重交易方法及系统
TW201822033A (zh) 資源處理方法及裝置
JP2017530469A (ja) イベント処理のための動的に型付けされたビッグデータによるイベントの充実化
CN111343241B (zh) 一种图数据更新方法、装置及系统
JP2019537112A (ja) アカウントログインのための方法、装置及びサーバ
US10496999B2 (en) Method and apparatus of controlling network payment
CN107153646B (zh) 一种数据处理方法和设备
TWI686703B (zh) 資料儲存與業務處理的方法及裝置
CN107092491B (zh) 一种配置加载方法和系统
CN101667274A (zh) 电子广告的广告播放计划生成方法和装置
US20160044096A1 (en) Scaling Up and Scaling Out of a Server Architecture for Large Scale Real-Time Applications
WO2018032982A1 (zh) 电子支付过程中资金交易路径的检测方法和装置
CN104111957B (zh) 一种分布式事务同步的方法及系统
CN108304455B (zh) 一种处理业务请求的方法、装置及设备
WO2016101759A1 (zh) 一种数据路由方法、数据管理装置和分布式存储系统
JP6291041B2 (ja) 検索推奨方法及び装置
CN106708842A (zh) 一种应用系统加载数据的方法和数据库、应用系统
WO2023202702A1 (zh) 一种日程信息同步方法、装置及电子设备
CN105723365A (zh) 用于优化索引、主数据库节点和订户数据库节点的方法
WO2016169420A1 (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: 16848061

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: 16848061

Country of ref document: EP

Kind code of ref document: A1