CN111427889A - Method and device for upgrading database table and server - Google Patents
Method and device for upgrading database table and server Download PDFInfo
- Publication number
- CN111427889A CN111427889A CN202010210389.8A CN202010210389A CN111427889A CN 111427889 A CN111427889 A CN 111427889A CN 202010210389 A CN202010210389 A CN 202010210389A CN 111427889 A CN111427889 A CN 111427889A
- Authority
- CN
- China
- Prior art keywords
- database table
- new version
- batches
- database
- data
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/22—Indexing; Data structures therefor; Storage structures
- G06F16/2282—Tablespace storage structures; Management thereof
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
本发明提供了一种数据库表升级的方法、装置及服务器,涉及计算机技术领域,该方法应用于服务器集群,服务器集群中的每个服务器对应有数据库,服务器集群中的服务器划分为多个批次;该方法包括:确定针对新版本软件的新版本数据库表,新版本数据库表具有数据清除属性;当所有批次均确定了新版本数据库表后,依次对多个批次中的每个批次的新版本数据库表进行写数据;在所有批次的新版本数据库表均进行了写数据后,依次将多个批次中的每个批次使用中的旧版本数据库表替换为新版本数据库表。本发明可以有效提升了软件升级过程中新旧数据库表的数据衔接性,保证升级过程中线上程序的正常运转或运行。
The present invention provides a method, device and server for database table upgrading, and relates to the field of computer technology. The method is applied to server clusters. Each server in the server cluster corresponds to a database, and the servers in the server cluster are divided into multiple batches. The method includes: determining a new version database table for the new version software, and the new version database table has a data clearing attribute; after all batches have determined the new version database table, sequentially performing the steps for each batch in the multiple batches After the new version database table of all batches has written data, replace the old version database table in use in each batch of multiple batches with the new version database table in turn . The invention can effectively improve the data connection between the old and new database tables in the software upgrade process, and ensure the normal operation or operation of the online program in the upgrade process.
Description
技术领域technical field
本发明涉及计算机技术领域,尤其是涉及一种数据库表升级的方法、装置及服务器。The present invention relates to the field of computer technology, and in particular, to a method, a device and a server for upgrading a database table.
背景技术Background technique
数据库在设备中起着非常重要的作用,存储着设备当前的配置等关键信息,它的正确与否直接影响着设备是否正常运行。网络设备在运行过程中,由于增加新的功能或者问题的修复等,可能需要更换软件版本。为了能够适应新版本的软件通常需要对数据库表进行升级,在数据库表升级时,如果数据库表不兼容,新旧版本的数据库表数据衔接性不好,则会导致用户配置的紊乱,重新配置十分繁琐,浪费时间和精力,如果将所有服务器停掉进行升级,会导致线上程序的无法正常运转或运行。The database plays a very important role in the device, and stores key information such as the current configuration of the device. Whether it is correct or not directly affects whether the device runs normally. During the operation of the network device, the software version may need to be changed due to the addition of new functions or the repair of problems. In order to be able to adapt to the new version of the software, it is usually necessary to upgrade the database tables. When the database tables are upgraded, if the database tables are not compatible and the data connection between the old and new versions of the database tables is not good, the user configuration will be disordered, and the reconfiguration will be very cumbersome. , waste time and energy, if all servers are stopped for upgrade, it will cause the online program to fail to run or run normally.
发明内容SUMMARY OF THE INVENTION
本发明的目的在于提供一种数据库表升级的方法、装置及服务器,可以有效提升新旧数据库的数据衔接性,保证升级过程中线上程序的正常运转或运行。The purpose of the present invention is to provide a database table upgrade method, device and server, which can effectively improve the data connection between new and old databases and ensure the normal operation or operation of online programs during the upgrade process.
第一方面,实施例提供一种数据库升级方法,方法应用于服务器集群,服务器集群中的每个服务器对应有数据库,服务器集群中的服务器划分为多个批次;方法包括:确定针对新版本软件的新版本数据库表;新版本数据库表具有数据清除属性;当所有批次的服务器均确定了新版本数据库表后,依次对多个批次中的每个批次的新版本数据库表进行写数据;在所有批次的新版本数据库表均进行了写数据后,依次将多个批次中的每个批次使用中的旧版本数据库表替换为新版本数据库表。In a first aspect, the embodiment provides a database upgrade method, the method is applied to a server cluster, each server in the server cluster corresponds to a database, and the servers in the server cluster are divided into multiple batches; the method includes: determining the software for the new version. The new version of the database table; the new version of the database table has the property of data clearing; when all batches of servers have determined the new version of the database table, write data to the new version of the database table of each batch in multiple batches in turn ; After all batches of new version database tables have written data, replace the old version database tables in use in each batch in multiple batches with the new version database tables in turn.
在可选的实施方式中,当所有批次的服务器均确定了新版本数据库表后,依次对多个批次中的每个批次的新版本数据库表进行写数据的步骤,包括:当所有批次的服务器均确定了新版本数据库表后,在旧版本数据库表读写数据的同时,依次对多个批次中的每个批次的新版本数据库表进行写数据;其中,旧版本数据库表为升级前使用的数据库表。In an optional implementation manner, after all batches of servers have determined the new version database table, the step of sequentially writing data to the new version database table of each batch in the multiple batches includes: when all batches of After the batches of servers have determined the new version of the database table, while the old version of the database table reads and writes data, it sequentially writes data to the new version of the database table in each batch in multiple batches; The table is the database table used before the upgrade.
在可选的实施方式中,在所有批次的新版本数据库表均进行了写数据后,依次将多个批次中的每个批次使用中的旧版本数据库表替换为新版本数据库表的步骤,包括:在所有批次的新版本数据库表均进行了写数据后,依次对多个批次中的每个批次的新版本数据库表进行读写数据;在所有批次的新版本数据库表均进行了读写数据后,将旧版本数据库表替换为新版本数据库表。In an optional embodiment, after data is written to the database tables of the new version of all batches, the database tables of the old version in use in each batch of the multiple batches are sequentially replaced with the database tables of the new version. The steps include: after all batches of new version database tables have written data, sequentially reading and writing data to new version database tables of each batch in multiple batches; in all batches of new version database tables After the tables have read and written data, replace the old version database table with the new version database table.
在可选的实施方式中,在所有批次的新版本数据库表均进行了读写数据后,将旧版本数据库表替换为新版本数据库表的步骤,包括:在所有批次的新版本数据库表均进行了读写数据后,依次对多个批次中的每个批次的旧版本数据库表执行数据清除操作;当所有批次的旧版本数据库表均执行数据清除操作后,将旧版本数据库表替换为新版本数据库表。In an optional embodiment, after all batches of new version database tables have read and written data, the step of replacing old version database tables with new version database tables includes: in all batches of new version database tables After the data has been read and written, the data clearing operation is performed on the old version database tables of each batch in multiple batches in turn; when the data clearing operation is performed on the old version database tables of all batches, Tables are replaced with new version database tables.
在可选的实施方式中,在将多个批次中的每个批次使用中的旧版本数据库表替换为新版本数据库表之后,方法还包括:删除旧版本数据库表。In an optional embodiment, after replacing the database table of the old version in use in each batch of the multiple batches with the database table of the new version, the method further includes: deleting the database table of the old version.
在可选的实施方式中,新版本数据库表为与旧版本数据库表的表名和表结构不同的数据库表。In an optional implementation manner, the database table of the new version is a database table with a different table name and table structure from the database table of the old version.
第二方面,实施例提供一种数据库升级装置,装置应用于服务器集群,服务器集群中的每个服务器对应有数据库,服务器集群中的服务器划分为多个批次;装置包括:新数据库表确定模块,用于确定针对新版本软件的新版本数据库表;新版本数据库表具有数据清除属性;写数据模块,用于当所有批次的服务器均确定了新版本数据库表后,依次对多个批次中的每个批次的新版本数据库表进行写数据;升级模块,用于在所有批次的新版本数据库表均进行了写数据后,依次将多个批次中的每个批次使用中的旧版本数据库表替换为新版本数据库表。In a second aspect, the embodiment provides a database upgrade device, the device is applied to a server cluster, each server in the server cluster corresponds to a database, and the servers in the server cluster are divided into multiple batches; the device includes: a new database table determination module , used to determine the new version of the database table for the new version of the software; the new version of the database table has the attribute of data clearing; the write data module is used for the multiple batches after the server of all batches has determined the new version of the database table. Write data to the database tables of the new version of each batch of Replace the old version database table with the new version database table.
在可选的实施方式中,写数据模块,用于当所有批次的服务器均确定了新版本数据库表后,在旧版本数据库表读写数据的同时,依次对多个批次中的每个批次的新版本数据库表进行写数据;其中,旧版本数据库表为升级前使用的数据库表。In an optional implementation manner, the data writing module is configured to, after the servers of all batches have determined the database table of the new version, read and write data to the database table of the old version while reading and writing data to each of the multiple batches in turn. The new version database table of the batch is used for writing data; the old version database table is the database table used before the upgrade.
第三方面,实施例提供一种服务器,包括存储器和处理器;所述存储器上存储有计算机程序,所述计算机程序在被所述处理器运行时执行如前述实施方式任一项所述的方法。In a third aspect, an embodiment provides a server, including a memory and a processor; the memory stores a computer program, and the computer program executes the method according to any one of the foregoing embodiments when executed by the processor .
第四方面,实施例提供一种计算机可读存储介质,用于储存如前述实施方式任一项所述方法所用的计算机软件指令。In a fourth aspect, the embodiments provide a computer-readable storage medium for storing computer software instructions used in the method according to any one of the foregoing embodiments.
本发明提供的数据库表升级的方法、装置及服务器,应用于服务器集群,服务器集群中的每个服务器对应有数据库,并且将服务器集群中的服务器划分为多个批次,该方法包括:确定针对新版本软件的新版本数据库表,该新版本数据库表具有数据清除属性,当所有批次的服务器均确定了新版本数据库表后,依次对多个批次中的每个批次的新版本数据库表进行写数据,在所有批次的新版本数据库表均进行了写数据后,依次将多个批次中的每个批次使用中的旧版本数据库表替换为新版本数据库表。上述方法通过分批次进行数据库表的升级,可以保证在旧版本软件正常使用的情况下,在软件升级过程中向下兼容更新数据库表,避免了由于直接转换数据库造成新旧版本软件的数据衔接性不好的问题,从而有效的提升了软件升级过程中新旧数据库表的数据衔接性,保证升级过程中线上程序的正常运转或运行。The method, device and server for database table upgrading provided by the present invention are applied to a server cluster. Each server in the server cluster corresponds to a database, and the servers in the server cluster are divided into multiple batches. The new version database table of the new version software, the new version database table has the attribute of data clearing, after all batches of servers have determined the new version database table, the new version database of each batch in multiple batches is sequentially analyzed. After the data is written to the new version database table of all batches, the old version database table in use in each batch of multiple batches is sequentially replaced with the new version database table. The above method upgrades the database tables in batches, which can ensure that the database tables are updated backward compatible in the software upgrade process under the condition that the old version of the software is in normal use, and the data connection between the old and new versions of the software caused by the direct conversion of the database is avoided. It can effectively improve the data connection between the old and new database tables during the software upgrade process, and ensure the normal operation or operation of the online program during the upgrade process.
附图说明Description of drawings
为了更清楚地说明本发明具体实施方式或现有技术中的技术方案,下面将对具体实施方式或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施方式,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the specific embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the specific embodiments or the prior art. Obviously, the accompanying drawings in the following description The drawings are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings without creative efforts.
图1为本发明实施例提供的一种数据库表升级的方法的流程示意图;1 is a schematic flowchart of a method for upgrading a database table according to an embodiment of the present invention;
图2为本发明实施例提供的另一种数据库表升级的方法的流程示意图;2 is a schematic flowchart of another method for upgrading a database table provided by an embodiment of the present invention;
图3为本发明实施例提供的一种数据库表升级的装置的结构示意图;FIG. 3 is a schematic structural diagram of an apparatus for upgrading a database table according to an embodiment of the present invention;
图4为本发明实施例提供的一种服务器的结构示意图。FIG. 4 is a schematic structural diagram of a server according to an embodiment of the present invention.
具体实施方式Detailed ways
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。通常在此处附图中描述和示出的本发明实施例的组件可以以各种不同的配置来布置和设计。In order to make the purposes, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments These are some embodiments of the present invention, but not all embodiments. The components of the embodiments of the invention generally described and illustrated in the drawings herein may be arranged and designed in a variety of different configurations.
因此,以下对在附图中提供的本发明的实施例的详细描述并非旨在限制要求保护的本发明的范围,而是仅仅表示本发明的选定实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。Thus, the following detailed description of the embodiments of the invention provided in the accompanying drawings is not intended to limit the scope of the invention as claimed, but is merely representative of selected embodiments of the invention. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。It should be noted that like numerals and letters refer to like items in the following figures, so once an item is defined in one figure, it does not require further definition and explanation in subsequent figures.
下面结合附图,对本发明的一些实施方式作详细说明。在不冲突的情况下,下述的实施例及实施例中的特征可以相互组合。Some embodiments of the present invention will be described in detail below with reference to the accompanying drawings. The embodiments described below and features in the embodiments may be combined with each other without conflict.
考虑到在数据库升级时,如果新旧数据库数据衔接性差会导致数据库不兼容,从而导致用户配置的紊乱,重新做一遍配置会很繁琐,并且浪费时间和精力,且如果停掉所有的服务器进行升级,则会影响线上程序的正常运转和运行。针对该问题,本发明实施例提供了一种数据库表升级的方法、装置及服务器,可以有效提升新旧数据库的数据衔接性,保证升级过程中线上程序的正常运转和运行。Considering that when the database is upgraded, if the connection between the old and new database data is poor, the database will be incompatible, which will lead to disordered user configuration. It will be cumbersome to redo the configuration and waste time and energy, and if all servers are stopped to upgrade, It will affect the normal operation and operation of the online program. In response to this problem, the embodiments of the present invention provide a database table upgrade method, device and server, which can effectively improve the data connection between new and old databases and ensure the normal operation and operation of online programs during the upgrade process.
实施例1Example 1
为便于理解,首先对本发明实施例提供的一种数据库表升级的方法进行详细介绍,参见图1所示的一种数据库表升级的方法的流程示意图,该方法应用于服务器集群,服务器集群中的每个服务器对应有数据库,该方法主要包括如下步骤S102至步骤S106:For ease of understanding, a method for upgrading a database table provided by an embodiment of the present invention is first introduced in detail. Referring to the schematic flowchart of a method for upgrading a database table shown in FIG. 1 , the method is applied to a server cluster. Each server corresponds to a database, and the method mainly includes the following steps S102 to S106:
步骤S102:确定针对新版本软件的新版本数据库表;新版本数据库表具有数据清除属性。Step S102: Determine a new version database table for the new version software; the new version database table has the attribute of data clearing.
在一种实施方式中,服务器集群可以与控制器进行通信,通过控制器控制服务器集群中的服务器。由于线上新旧版本的软件读写操作获取信息不同,逻辑处理也不同,为了在软件升级过程中保证新旧版本的软件均可同时正常运行,也即在任何时刻新旧版本软件都要进行数据交换,本实施例通过将服务器集群中的服务器划分为多个批次,并对每个批次的服务器依次执行升级操作。由于规定新旧版本软件的服务在共享数据时,由最后一个进行离开该共享任务的对数据库表中的内容进行删除,因此需要保证新版本数据库表具有数据清除属性。In one embodiment, the server cluster can communicate with the controller, and the controller controls the servers in the server cluster. Due to the difference in information obtained by the read and write operations of the old and new versions of the software online, the logical processing is also different. In order to ensure that the old and new versions of the software can run normally during the software upgrade process, that is, the old and new versions of the software must exchange data at any time. In this embodiment, the servers in the server cluster are divided into multiple batches, and an upgrade operation is performed on the servers of each batch in sequence. Since it is stipulated that when the services of the old and new versions of the software share data, the last one to leave the shared task deletes the content in the database table, so it is necessary to ensure that the database table of the new version has the data clearing attribute.
首先确定针对新版本软件的新版本数据库表,新版本数据库表为与旧版本数据库表的表名和表结构不同的数据库表,用于针对新版本软件的用户进行数据交换。在一种实施方式中,新旧数据库表之间可以既包括交集也包括补集,也即新旧数据库表可以具有部分相同的字段。在另一种实施方式中,新旧数据库表之间可以没有补集,也即新旧数据库表的字段全部不相同。在实际应用中,可以根据具体情况进行实施,此处不作具体限定。First determine a new version database table for the new version software, the new version database table is a database table with a different table name and table structure from the old version database table, and is used for data exchange for users of the new version software. In one embodiment, the old and new database tables may include both intersection and complement, that is, the new and old database tables may have some of the same fields. In another implementation manner, there may be no complements between the old and new database tables, that is, the fields of the old and new database tables are all different. In practical applications, it can be implemented according to specific conditions, and is not specifically limited here.
步骤S104:当所有批次的服务器均确定了新版本数据库表后,依次对多个批次中的每个批次的新版本数据库表进行写数据。Step S104: After the servers of all batches have determined the new version database table, write data to the new version database table of each batch in the multiple batches in turn.
在一种实施方式中,当所有批次的服务器均确定了新版本数据库表后,此时软件运行中仍然采用旧版本数据表进行读写数据,但新版本数据库表也开始分批次的对新版本数据库表进行写数据。由于服务器集群中服务器数量通常较为庞大,因此本实施例通过依次对每个批次的服务器对应的每个新版本数据库表进行运行数据的写入,在当前批次的新版本数据库表全部写入运行数据后,对下一批次的新版本数据库表进行运行数据的写入,直至所有的新版本数据库表均写入运行数据。In one embodiment, after all batches of servers have determined the new version of the database table, the software still uses the old version of the data table to read and write data at this time, but the new version of the database table also starts to compare the data in batches. The new version of the database table for writing data. Since the number of servers in a server cluster is usually relatively large, in this embodiment, the running data is written to each new version database table corresponding to each batch of servers in turn, and all the new version database tables of the current batch are written in the current batch. After running the data, write the running data to the next batch of database tables of the new version until all the database tables of the new version are written with the running data.
可以理解的是,此时进行了写数据的所有批次的新版本数据库表,仍然具有数据清除的属性。因此,在用户进行共享数据时,为了避免结束共享后存在垃圾数据,由最后退出的新版本数据库表对数据进行删除。为便于理解,以聊天软件为例,当多人聊天结束并退出聊天房间后,由退出房间的最后一个用户的聊天软件对应的数据库表执行数据清除工作,从而保证在聊天结束后,该聊天房间内不存在垃圾数据的遗留。It is understandable that, at this time, the new version database tables of all batches of data writing still have the attribute of data clearing. Therefore, when a user shares data, in order to avoid the existence of junk data after the end of sharing, the data is deleted from the database table of the new version that exits last. For ease of understanding, taking chat software as an example, when multiple people chat ends and exit the chat room, the database table corresponding to the chat software of the last user who exits the room will perform data clearing, so as to ensure that after the chat ends, the chat room will be cleared. There is no remnant of junk data in the memory.
步骤S106:在所有批次的新版本数据库表均进行了写数据后,依次将多个批次中的每个批次使用中的旧版本数据库表替换为新版本数据库表。Step S106: After all batches of new version database tables have written data, sequentially replace the old version database tables in use in each of the multiple batches with the new version database tables.
在一种实施方式中,当所有批次的新版本数据库表均进行了写数据后,此时软件读写数据依据使用的是旧版本数据库表,为了保证在升级过程中的数据向下兼容,依次对多个批次中的每个批次的新版本数据库表进行读写数据,从而依次将使用中的旧版本数据库表用新版本数据库表进行替换。使用中的旧版本数据库指的是读和写操作均采用旧版本数据库,依次将旧版本数据库替换为新版本数据库是指按照批次依次替换,该替换是指将原先使用旧版本数据库表替换为使用新版本数据库表,也即读写数据均使用新版本数据库表。将读和写操作均采用旧版本数据库更换为读和写操作均采用新版本数据库,直至所有批次的数据库均进行了替换,数据库升级完成。In one embodiment, after all batches of new version database tables have been written data, the software reads and writes data based on the old version database tables. In order to ensure that the data in the upgrade process is backward compatible, Read and write data to the new version database table of each batch in the multiple batches in turn, thereby sequentially replacing the old version database table in use with the new version database table. The old version of the database in use refers to the read and write operations using the old version of the database. Replacing the old version of the database with the new version of the database in turn refers to the replacement in batches. The replacement refers to replacing the old version of the database table with Use the new version of the database table, that is, read and write data using the new version of the database table. Replace the old version database for read and write operations with the new version database for read and write operations until all batches of databases are replaced and the database upgrade is complete.
另外,由于在实际应用中存在新旧版本软件交互的过程,也即在数据交换时,用户使用的软件版本并非均为最新版本,因此,在上述读和写操作均采用新版本数据库后,旧版本数据库还需进行写数据操作,从而保证了不同软件版本的用户可以进行交互。In addition, because there is a process of interaction between old and new versions of software in practical applications, that is, during data exchange, the software versions used by users are not all the latest versions. Therefore, after the above read and write operations use the new version of the database, the old version The database also needs to perform data writing operations, thereby ensuring that users of different software versions can interact.
本发明提供的数据库升级方法,通过确定针对新版本软件的新版本数据库表,该新版本数据库表具有数据清除属性,当所有批次的数据库均建立了新版本数据库表后,依次对多个批次中的每个批次的新版本数据库表进行写数据,在所有批次的新版本数据库表均进行了写数据后,依次将多个批次中的每个批次使用中的旧版本数据库表替换为新版本数据库表。上述方法通过分批次进行数据库表的升级,可以保证在旧版本软件正常使用的情况下,在软件升级过程中向下兼容更新数据库表,避免了由于直接转换数据库造成新旧版本软件的数据衔接性不好的问题,从而有效的提升了软件升级过程中新旧数据库表的数据衔接性,从而不影响线上程序的正常运转或运行。因此本发明实施例有效的提升了软件升级过程中新旧数据库表的数据衔接性,保证升级过程中线上程序的正常运转或运行。In the database upgrade method provided by the present invention, the new version database table for the new version software is determined, and the new version database table has the attribute of data clearing. Write data to the new version database table of each batch in the batch, after all batches of the new version database table have written data, sequentially use the old version database for each batch in multiple batches. Tables are replaced with new version database tables. The above method upgrades the database tables in batches, which can ensure that the database tables are updated backward compatible in the software upgrade process under the condition that the old version of the software is in normal use, and the data connection between the old and new versions of the software caused by the direct conversion of the database is avoided. It can effectively improve the data connection between the old and new database tables during the software upgrade process, so as not to affect the normal operation or operation of the online program. Therefore, the embodiments of the present invention effectively improve the data connection between the old and new database tables in the software upgrade process, and ensure the normal operation or operation of the online program in the upgrade process.
实施例2Example 2
本发明实施例提供了一种数据库表的升级方法的具体示例,在实际应用中进行升级时,通常需要对很多服务器对应的软件版本的数据库表进行升级,本实施例为便于理解,以3台服务器、每个服务器对应一个软件版本的数据库、每个批次升级一个数据库的软件版本为例进行详细说明,参见如图2所示的另一种数据库表升级的方法的流程示意图,图中双向箭头为读写操作,单向箭头为写操作,虚线箭头为清除数据操作。旧版本数据库表为表A(也即图中的TA),新版本数据库表为表B(也即图中的TB),第1版本也即第1版本的软件,该软件版本为升级之前的版本,第2版本、第3版本、第4版本、第5版本为每一轮升级操作对应的新版本软件。The embodiment of the present invention provides a specific example of a method for upgrading database tables. When upgrading in practical applications, it is usually necessary to upgrade database tables of software versions corresponding to many servers. For ease of understanding, in this embodiment, three The server, the database with each server corresponding to a software version, and the software version of each batch of updating a database are taken as examples for detailed description. Refer to the schematic flowchart of another method for database table upgrade as shown in FIG. 2 . Arrows are read and write operations, unidirectional arrows are write operations, and dashed arrows are data clearing operations. The database table of the old version is table A (that is, TA in the figure), and the database table of the new version is table B (that is, TB in the figure). The first version is the software of the first version, which is the version before the upgrade. Version, Version 2, Version 3, Version 4, Version 5 are new versions of software corresponding to each round of upgrade operations.
初始版本的软件(第1版本)使用的数据库表为旧版本数据库表TA,此时初始版本的软件读写操作均在TA上。由于TA无法满足软件升级后版本的需求,因此需要确定针对新版本软件的新版本数据库表TB,TB为与TA表名及表结构不相同的数据库表。The database table used by the software of the initial version (version 1) is the database table TA of the old version, and the read and write operations of the software of the initial version are all on the TA. Since TA cannot meet the requirements of the upgraded version of the software, it is necessary to determine the new version database table TB for the new version of the software. TB is a database table with a different table name and table structure from TA.
图2所示的第一轮升级过程,此时有两个软件版本已升级到第2版本时,第2版本软件和第1版本软件在读写数据时仍然采用TA,但是针对第2版本软件的新版本数据库表TB已经具有清除数据的属性。当第一轮升级全部结束后,所有的软件版本均为第2版本软件,且第2版本软件对于数据库表的数据操作状态为用A删B,用A指的是所有的数据读写仍然在旧数据库表TA上,删B指的是新表TB具有清除数据的属性,从而可以满足新旧版本的服务在同一数据共享环境下共享数据时,最后一个结束该数据共享过程的数据库表TB将数据进行清除,避免了由于无法清除数据造成残留垃圾数据的问题。The first round of upgrade process shown in Figure 2, when two software versions have been upgraded to the second version, the second version software and the first version software still use TA when reading and writing data, but for the second version software The new version of database table TB already has the property of clear data. When the first round of upgrades is completed, all software versions are version 2 software, and the data operation status of version 2 software for database tables is to use A to delete B, using A means that all data reads and writes are still in On the old database table TA, deleting B means that the new table TB has the property of clearing data, so that when the old and new versions of the service share data in the same data sharing environment, the last database table TB that ends the data sharing process will save the data. Clear the data to avoid the problem of residual junk data caused by the inability to clear the data.
当每个批次的服务器均完成第一轮的升级操作后,执行第二轮升级,此时读写数据的仍然为旧数据库表TA,但是对于新数据库表TB可以开始分批次执行写操作。如图中所示,此时第3版本-1和第3版本-2对于TB已经执行数据写操作,同时对于新数据库表TB,仍然具有上述的数据清理的功能。当所有批次均进行完写操作后,第二轮升级过程结束,此时所有的软件版本均为第3版本,所有的第3版本软件在用TA读写数据的同时,通过TB进行写数据。通过这种方法可以保证使用新旧版本软件的用户在进行会话控制(sension)时新数据表TB中具有数据。When each batch of servers has completed the first round of upgrade operations, the second round of upgrades is performed. At this time, the old database table TA is still the one that reads and writes data, but the new database table TB can start to perform write operations in batches. . As shown in the figure, at this time, the third version-1 and the third version-2 have performed the data write operation for TB, and at the same time, for the new database table TB, they still have the above-mentioned data cleaning function. After all batches are written, the second round of upgrade process ends. At this time, all software versions are version 3. All software versions of version 3 use TA to read and write data and write data through TB. . In this way, it can be ensured that users using the old and new versions of the software have data in the new data table TB when performing session control (sension).
当所有批次的新数据库表TB中均完成写数据操作后,执行第三轮升级。此时新版本软件(第4版本的软件)读写数据均采用新数据库表TB,如图中所示的第4版本-1和第4版本-2,此时第4版本-1和第4版本-2对于TA只执行数据写操作,也即用B写A操作。当第三轮升级操作执行完成后,此时所有的软件版本均为第4版本,每个第4版本软件读写数据均用TB,同时为了满足新旧版本的软件之间的交互,每个第4版本的软件还需要对旧数据库表TA执行写操作,从而可以保证在任何一个升级阶段均有数据的交换。After all batches of new database tables TB have completed writing data operations, perform the third round of upgrade. At this time, the new version software (version 4 software) uses the new database table TB to read and write data, as shown in the figure for version 4-1 and version 4-2, at this time, version 4-1 and version 4 Version-2 only performs data write operations for TA, that is, writes A with B. When the third round of upgrade operation is completed, all software versions at this time are the fourth version, and each version 4 software uses TB to read and write data. Version 4 software also needs to perform a write operation on the old database table TA, so that data exchange can be guaranteed at any upgrade stage.
当所有的软件版本均用TB进行读写数据后,进入第四轮升级过程。此时第4版本和第5版本同样使用TB进行读写数据,但针对第5版本的软件,对TA进行删除操作,当所有的软件版本均对TA进行删除后,第四轮升级结束。此时使用的数据库表为新数据库表TB,也即通过新数据表TB进行读写数据。对于使用中的第5版本,可以进行删A操作,也即对旧数据库表进行删除,同样可以采用分批次删除的方法。最后使用新数据库表TB,数据库表的升级完成。When all software versions use TB to read and write data, enter the fourth round of upgrade process. At this time, version 4 and version 5 also use TB to read and write data, but for version 5 software, delete TA. When all software versions delete TA, the fourth round of upgrade ends. The database table used at this time is the new database table TB, that is, data is read and written through the new data table TB. For the 5th version in use, the delete A operation can be performed, that is, the old database table can be deleted, and the method of batch deletion can also be used. Finally, using the new database table TB, the upgrade of the database table is completed.
本实施例提供的数据库表升级的方法,通过每轮升级操作分批次进行,可以保证在旧版本软件正常使用的情况下,在软件升级过程中向下兼容更新数据库表,从而有效的提升了软件升级过程中新旧数据库表的数据衔接性,保证升级过程中线上程序的正常运转或运行。The method for upgrading database tables provided in this embodiment, by performing each round of upgrading operations in batches, can ensure that the database tables are updated in a downward compatible manner during the software upgrade process under the condition that the old version of the software is in normal use, thereby effectively improving the The data connection between the old and new database tables during the software upgrade process ensures the normal operation or operation of the online program during the upgrade process.
实施例3Example 3
对于上述实施例1对应的数据库升级方法,本发明实施例还提供了一种数据库升级装置,参见如图3所示的一种数据库表升级的装置的结构示意图,该装置应用于服务器集群,服务器集群中的每个服务器对应有数据库,服务器集群中的服务器划分为多个批次,该装置包括如下部分:For the database upgrade method corresponding to the above-mentioned Embodiment 1, the embodiment of the present invention further provides a database upgrade apparatus. Referring to the schematic structural diagram of a database table upgrade apparatus shown in FIG. 3 , the apparatus is applied to a server cluster. Each server in the cluster has a corresponding database, and the servers in the server cluster are divided into multiple batches. The device includes the following parts:
新数据库表确定模块302,用于确定针对新版本软件的新版本数据库表;新版本数据库表具有数据清除属性;A new database table determination module 302, configured to determine a new version database table for the new version software; the new version database table has a data clearing attribute;
写数据模块304,用于当所有批次的服务器均确定了新版本数据库表后,依次对多个批次中的每个批次的新版本数据库表进行写数据;The data writing module 304 is used for sequentially writing data to the new version database table of each batch in the multiple batches after the servers of all batches have determined the new version database table;
升级模块306,用于在所有批次的新版本数据库表均进行了写数据后,依次将多个批次中的每个批次使用中的旧版本数据库表替换为新版本数据库表。The upgrading module 306 is configured to sequentially replace the database tables of the old version in use in each batch of the multiple batches with the database tables of the new version after data has been written to the database tables of the new version of all batches.
本发明提供的数据库升级装置,上述装置通过分批次进行数据库升级,可以保证在旧版本软件正常使用的情况下,进行新版本数据库的建立,避免了由于直接转换数据库造成新旧版本软件的数据衔接性不好的问题,从而有效的提升了新旧数据库的数据衔接性,进而提升了数据库升级的稳定性。因此本发明实施例可以有效提升新旧数据库的数据衔接性,保证升级过程中线上程序的正常运转或运行。In the database upgrade device provided by the present invention, the above-mentioned device upgrades the database in batches, which can ensure the establishment of a new version of the database when the old version of the software is in normal use, and avoids the direct conversion of the database. In this way, the data connection between the old and new databases is effectively improved, and the stability of the database upgrade is further improved. Therefore, the embodiment of the present invention can effectively improve the data connection between the old and new databases, and ensure the normal operation or running of the online program during the upgrade process.
在一种实施方式中,上述写数据模块304,进一步用于当所有批次的服务器均确定了新版本数据库表后,在旧版本数据库表读写数据的同时,依次对多个批次中的每个批次的新版本数据库表进行写数据;其中,旧版本数据库表为升级前使用的数据库表。In one embodiment, the above-mentioned data writing module 304 is further configured to, when all batches of servers have determined the new version of the database table, read and write data in the old version of the database table in turn, sequentially write the data in the multiple batches. Data is written to the database table of the new version of each batch; the database table of the old version is the database table used before the upgrade.
在一种实施方式中,上述升级模块306,进一步用于在所有批次的新版本数据库表均进行了写数据后,依次对多个批次中的每个批次的新版本数据库表进行读写数据;在所有批次的新版本数据库表均进行了读写数据后,将旧版本数据库表替换为新版本数据库表。In one embodiment, the above-mentioned upgrade module 306 is further configured to sequentially read the new version database tables of each batch of the multiple batches after data has been written to the new version database tables of all batches Write data; after all batches of new version database tables have read and written data, replace the old version database tables with the new version database tables.
在一种实施方式中,上述升级模块306,进一步用于在所有批次的新版本数据库表均进行了读写数据后,依次对多个批次中的每个批次的旧版本数据库表执行数据清除操作;当所有批次的旧版本数据库表均执行数据清除操作后,将旧版本数据库表替换为新版本数据库表。In one embodiment, the above-mentioned upgrade module 306 is further configured to execute the operation on the old version database tables of each batch of multiple batches in turn after all batches of new version database tables have read and written data. Data purging operation; after all batches of old version database tables have performed data purging operations, replace old version database tables with new version database tables.
在一种实施方式中,在将多个批次中的每个批次使用中的旧版本数据库替换为新版本数据库后,上述装置还包括:删除模块,用于删除旧版本数据库表。In one embodiment, after replacing the database of the old version in use in each batch of the multiple batches with the database of the new version, the above-mentioned apparatus further includes: a deletion module, configured to delete the database table of the old version.
本发明实施例所提供的装置,其实现原理及产生的技术效果和前述方法实施例相同,为简要描述,装置实施例部分未提及之处,可参考前述方法实施例中相应内容。The implementation principle and technical effects of the device provided by the embodiment of the present invention are the same as those of the foregoing method embodiment. For brief description, for the parts not mentioned in the device embodiment, reference may be made to the corresponding content in the foregoing method embodiment.
实施例4Example 4
本发明实施例还提供了一种服务器,具体的,该服务器包括处理器和存储装置;存储装置上存储有计算机程序,计算机程序在被所述处理器运行时执行如上所述实施方式的任一项所述的方法。An embodiment of the present invention also provides a server, specifically, the server includes a processor and a storage device; a computer program is stored on the storage device, and the computer program executes any one of the foregoing embodiments when run by the processor method described in item.
图4为本发明实施例提供的一种服务器的结构示意图,该服务器100包括:处理器40,存储器41,总线42和通信接口43,所述处理器40、通信接口43和存储器41通过总线42连接;处理器40用于执行存储器41中存储的可执行模块,例如计算机程序。4 is a schematic structural diagram of a server according to an embodiment of the present invention. The
其中,存储器41可能包含高速随机存取存储器(RAM,RandomAccessMemory),也可能还包括非不稳定的存储器(non-volatile memory),例如至少一个磁盘存储器。通过至少一个通信接口43(可以是有线或者无线)实现该系统网元与至少一个其他网元之间的通信连接,可以使用互联网,广域网,本地网,城域网等。The
总线42可以是ISA总线、PCI总线或EISA总线等。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图4中仅用一个双向箭头表示,但并不表示仅有一根总线或一种类型的总线。The bus 42 may be an ISA bus, a PCI bus, an EISA bus, or the like. The bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of presentation, only one bidirectional arrow is used in FIG. 4, but it does not mean that there is only one bus or one type of bus.
其中,存储器41用于存储程序,所述处理器40在接收到执行指令后,执行所述程序,前述本发明实施例任一实施例揭示的流过程定义的装置所执行的方法可以应用于处理器40中,或者由处理器40实现。The
处理器40可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器40中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器40可以是通用处理器,包括中央处理器(Central Processing Unit,简称CPU)、网络处理器(Network Processor,简称NP)等;还可以是数字信号处理器(Digital SignalProcessing,简称DSP)、专用集成电路(Application Specific Integrated Circuit,简称ASIC)、现成可编程门阵列(Field-Programmable Gate Array,简称FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本发明实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器41,处理器40读取存储器41中的信息,结合其硬件完成上述方法的步骤。The
本发明实施例所提供的数据库表升级的方法、装置及服务器的计算机程序产品,包括存储了处理器可执行的非易失的程序代码的计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器运行时执行前面方法实施例中所述的方法,具体实现可参见方法实施例,在此不再赘述。The method, the device, and the computer program product of the server for updating the database table provided by the embodiments of the present invention include a computer-readable storage medium storing non-volatile program codes executable by the processor, and the computer-readable storage medium is stored with a computer-readable storage medium. A computer program, when the computer program is run by a processor, executes the methods described in the foregoing method embodiments, and the specific implementation can refer to the method embodiments, which will not be repeated here.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统具体工作过程,可以参考前述实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, for the specific working process of the system described above, reference may be made to the corresponding process in the foregoing embodiments, and details are not repeated here.
本发明实施例所提供的可读存储介质的计算机程序产品,包括存储了程序代码的计算机可读存储介质,所述程序代码包括的指令可用于执行前面方法实施例中所述的方法,具体实现可参见方法实施例,在此不再赘述。The computer program product of the readable storage medium provided by the embodiments of the present invention includes a computer-readable storage medium storing program codes, and the instructions included in the program codes can be used to execute the methods described in the foregoing method embodiments. Reference may be made to the method embodiment, and details are not described herein again.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, Read-Only Memory (ROM, Read-Only Memory), Random Access Memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes .
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, but not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: The technical solutions described in the foregoing embodiments can still be modified, or some or all of the technical features thereof can be equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the embodiments of the present invention. scope.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010210389.8A CN111427889A (en) | 2020-03-23 | 2020-03-23 | Method and device for upgrading database table and server |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010210389.8A CN111427889A (en) | 2020-03-23 | 2020-03-23 | Method and device for upgrading database table and server |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN111427889A true CN111427889A (en) | 2020-07-17 |
Family
ID=71548766
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010210389.8A Pending CN111427889A (en) | 2020-03-23 | 2020-03-23 | Method and device for upgrading database table and server |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111427889A (en) |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20020036969A (en) * | 2002-02-06 | 2002-05-17 | (주) 세이프아이 | Automatic Update System using online |
| CN103729204A (en) * | 2012-10-16 | 2014-04-16 | 阿里巴巴集团控股有限公司 | Data on-line migration method and device for updating applications in network platform |
| WO2015028538A1 (en) * | 2013-09-02 | 2015-03-05 | Agfa Healthcare | A method and system for upgrading software |
| US20190050441A1 (en) * | 2017-08-09 | 2019-02-14 | Vmware, Inc. | Event based analytics database synchronization |
| CN109446192A (en) * | 2018-11-09 | 2019-03-08 | 贵州医渡云技术有限公司 | Data test method and device |
| CN109981350A (en) * | 2019-03-01 | 2019-07-05 | 畅捷通信息技术股份有限公司 | A kind of continual upgrade method of cloud service and system |
| CN110049073A (en) * | 2018-01-15 | 2019-07-23 | 华为技术有限公司 | Software upgrading method and system |
-
2020
- 2020-03-23 CN CN202010210389.8A patent/CN111427889A/en active Pending
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20020036969A (en) * | 2002-02-06 | 2002-05-17 | (주) 세이프아이 | Automatic Update System using online |
| CN103729204A (en) * | 2012-10-16 | 2014-04-16 | 阿里巴巴集团控股有限公司 | Data on-line migration method and device for updating applications in network platform |
| WO2015028538A1 (en) * | 2013-09-02 | 2015-03-05 | Agfa Healthcare | A method and system for upgrading software |
| US20190050441A1 (en) * | 2017-08-09 | 2019-02-14 | Vmware, Inc. | Event based analytics database synchronization |
| CN110049073A (en) * | 2018-01-15 | 2019-07-23 | 华为技术有限公司 | Software upgrading method and system |
| CN109446192A (en) * | 2018-11-09 | 2019-03-08 | 贵州医渡云技术有限公司 | Data test method and device |
| CN109981350A (en) * | 2019-03-01 | 2019-07-05 | 畅捷通信息技术股份有限公司 | A kind of continual upgrade method of cloud service and system |
Non-Patent Citations (1)
| Title |
|---|
| 唐红等: ""军卫一号"数据库升级设计与应用研究", 《医疗卫生装备》 * |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11237761B2 (en) | Management of multiple physical function nonvolatile memory devices | |
| JP6325001B2 (en) | Method and system using recursive event listeners in nodes of hierarchical data structures | |
| CN110502487B (en) | Cache management method and device | |
| CN109684057A (en) | Task processing method and device and storage medium | |
| CN111737201B (en) | Method for closing opened file, computer equipment and storage medium | |
| CN113779140A (en) | Data processing method and device | |
| CN114448972A (en) | Distributed storage log compression downloading method, system, terminal and storage medium | |
| CN117631996A (en) | Fault domain expansion method, device, computer equipment and storage medium | |
| CN106815232A (en) | Catalog management method, apparatus and system | |
| CN108228813A (en) | The delet method and device of replica database in distributed system | |
| CN110781164A (en) | Design method, equipment and medium of a database integrated machine | |
| CN111427889A (en) | Method and device for upgrading database table and server | |
| CN110502460A (en) | The method and node of data processing | |
| CN113590033B (en) | An information synchronization method and device for a hyper-converged system | |
| WO2025123848A1 (en) | Data import method and apparatus, electronic device, storage medium, and program product | |
| CN111797062A (en) | Data processing method, device and distributed database system | |
| CN113220992B (en) | A method, system and medium for recommending information flow content | |
| CN110413587A (en) | A kind of method and apparatus of aging history data | |
| CN117130830A (en) | Object data recovery method and device, computer equipment and storage medium | |
| CN115544003A (en) | Data processing method, device, equipment and storage medium | |
| CN114064783A (en) | Method and device for importing data, electronic equipment and storage medium | |
| CN111949617A (en) | An aggregated file object header management method, system, terminal and storage medium | |
| CN112269677A (en) | A rollback operation device, method, device and medium under a heterogeneous cloud platform | |
| CN114116732B (en) | Transaction processing method and device, storage device and server | |
| CN114816857B (en) | Method, system, terminal and storage medium for forcing BIOS to restore factory parameters |
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 | ||
| TA01 | Transfer of patent application right |
Effective date of registration: 20210303 Address after: Room 1702-03, Lantian Hesheng building, 32 Zhongguancun Street, Haidian District, Beijing 100082 Applicant after: BEIJING CENTURY TAL EDUCATION TECHNOLOGY Co.,Ltd. Address before: 102200 b5-005 maker Plaza, 338 Huilongguan East Street, Huilongguan town, Changping District, Beijing Applicant before: Beijing three body cloud times Technology Co.,Ltd. |
|
| TA01 | Transfer of patent application right | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200717 |
|
| RJ01 | Rejection of invention patent application after publication |