Database upgrading, data processing and data transmission method and device
By remotely upgrading the database of the video network terminal through the video network protocol, the problems of database performance degradation and poor compatibility were solved, realizing automated database upgrades and functional expansion, and improving the user experience.
Patent Information
- Application Number
- CN202010814533.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-08-13
- Publication Date
- 2025-12-12
- Estimated Expiration
- 2040-08-13
AI Technical Summary
The performance of the database of the video network terminal degrades as the amount of data increases, management is not easy to unify, compatibility is poor, and it is difficult to expand its functions.
The video network protocol enables transparent transmission and parsing between the terminal and the server, remote database upgrades, version detection and function expansion using database target information, and the addition of new fields.
It has enabled automated upgrades of the video network terminal database, ensuring compatibility with both new and old versions of data, expanding business functions, guaranteeing program stability, and improving user experience.
Smart Images

Figure CN112115135B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of data processing, and in particular to a database upgrading method, a data processing method, and a data transmission method and device. BACKGROUND
[0002] The video internet is an important milestone in the development of the network, a higher form of the Internet, a real-time network, and can realize the real-time transmission of full-network high-definition video that the Internet cannot realize, and can push many Internet applications to high-definition video, high-definition face-to-face, and ultimately realize the world without distance, and realize that the distance between people in the world is only a screen.
[0003] In the video internet scenario, the number of video internet terminal users is increasing, and the video internet business is also gradually increasing. Accordingly, the database stored by the video internet terminal has more and more data. For example, the contacts in the video phone are constantly increasing, and the video internet database is needed to store this information. With the increase in the amount of data stored in the database, the database needs to bear a large amount of data, which affects the performance of the database and the ability to bear the business. Moreover, the existing database of the video internet terminal has the problems of not easy to manage, poor data compatibility, and difficult to expand functions based on business needs. SUMMARY
[0004] In view of the above problems, the embodiments of the present application are proposed to provide a database upgrading method, a data processing method, and a data transmission method and device to overcome the above problems or at least partially solve the above problems.
[0005] In a first aspect, the embodiments of the present application provide a database upgrading method applied to a video internet terminal, comprising:
[0006] Receiving database upgrading parameter information corresponding to the video internet terminal sent by the video internet server in a transparent transmission mode, wherein the database upgrading parameter information is obtained by encapsulating database target information corresponding to the video internet terminal according to a video internet protocol by a first terminal, and is transparently transmitted to the video internet server by the first terminal;
[0007] Analyzing the database upgrading parameter information according to the video internet protocol to obtain the database target information;
[0008] In the case that it is determined that the local database needs to be upgraded according to the database target information, upgrading the local database according to the database target information.
[0009] Optionally, the database target information includes a database target version number, a database version description, and a new field.
[0010] The upgrading of the local database according to the database target information comprises:
[0011] detecting whether the database target version number is higher than the corresponding version number of the local database;
[0012] In the case that the database target version number is higher than the corresponding version number of the local database, obtaining a target installation package corresponding to the database target version number, and upgrading the local database according to the local database, the new field, the database version description and the target installation package by using an upgrading function;
[0013] The database corresponding to the database target version number supports the new field, the local database after upgrading comprises the new field, and the corresponding version number of the local database after upgrading is the same as the database target version number.
[0014] In a second aspect, an embodiment of the present application provides a data processing method applied to a first terminal, comprising:
[0015] obtaining database target information corresponding to a video live streaming terminal input by a target person;
[0016] packaging the database target information according to a video live streaming protocol to obtain database upgrading parameter information;
[0017] transmitting the database upgrading parameter information to a video live streaming server in a transparent mode, so that the video live streaming server transmits the database upgrading parameter information to the video live streaming terminal.
[0018] Optionally, the obtaining of the database target information corresponding to the video live streaming terminal input by the target person comprises:
[0019] displaying an application interface corresponding to a target application program installed in the first terminal;
[0020] receiving the database target information input by the target person on the application interface;
[0021] The database target information comprises a database target version number, a database version description and a new field, and an interactive path is formed between the target application program and the video live streaming server.
[0022] In a third aspect, an embodiment of the present application provides a data transmission method applied to a video live streaming server, comprising:
[0023] receive database upgrade parameter information corresponding to the WebRTC terminal sent by the first terminal in a transparent transmission manner, the database upgrade parameter information being obtained by the first terminal from database target information corresponding to the WebRTC terminal according to a WebRTC protocol;
[0024] transmit the database upgrade parameter information to the WebRTC terminal in a transparent transmission manner, so that the WebRTC terminal analyzes the database upgrade parameter information according to the WebRTC protocol, and upgrades a local database according to the database target information obtained after the analysis.
[0025] In a fourth aspect, an embodiment of the present application provides a database upgrade apparatus applied to a WebRTC terminal and comprising:
[0026] a first receiving module configured to receive database upgrade parameter information corresponding to the WebRTC terminal sent by a WebRTC server in a transparent transmission manner, the database upgrade parameter information being obtained by a first terminal from database target information corresponding to the WebRTC terminal according to a WebRTC protocol, and being transmitted to the WebRTC server by the first terminal in a transparent transmission manner;
[0027] a first obtaining module configured to analyze the database upgrade parameter information according to the WebRTC protocol, and obtain the database target information;
[0028] an upgrading module configured to upgrade the local database according to the database target information if it is determined that the local database needs to be upgraded according to the database target information.
[0029] Optionally, the database target information comprises a database target version number, a database version description, and a new field; and the upgrading module comprises:
[0030] a detecting submodule configured to detect whether the database target version number is higher than a version number corresponding to the local database;
[0031] an upgrading submodule configured to obtain a target installation package corresponding to the database target version number, and upgrade the local database according to the local database, the new field, the database version description, and the target installation package, if the database target version number is higher than the version number corresponding to the local database;
[0032] The WebRTC terminal determines a related function of a database corresponding to the database target version number according to the database version description, the database corresponding to the database target version number supports the new field, the new field is included in the local database after the upgrade, and the version number corresponding to the local database after the upgrade is the same as the database target version number.
[0033] In a fifth aspect, an embodiment of the present application provides a data processing apparatus applied to a first terminal, comprising:
[0034] a second obtaining module configured to obtain database target information corresponding to a target person inputted videoconferencing terminal;
[0035] a third obtaining module configured to encapsulate the database target information according to a videoconferencing protocol, and obtain database upgrade parameter information;
[0036] a sending module configured to send the database upgrade parameter information to a videoconferencing server in a transparent transmission mode, so that the videoconferencing server sends the database upgrade parameter information to the videoconferencing terminal.
[0037] Optionally, the second obtaining module comprises:
[0038] a display sub-module configured to display an application interface corresponding to a target application program installed in the first terminal;
[0039] a receiving sub-module configured to receive the database target information inputted by the target person on the application interface;
[0040] The database target information comprises a database target version number, a database version description and a new field, and an interactive path is formed between the target application program and the videoconferencing server.
[0041] In a sixth aspect, an embodiment of the present application provides a data transmission apparatus applied to a videoconferencing server, comprising:
[0042] a second receiving module configured to receive database upgrade parameter information corresponding to a videoconferencing terminal sent by a first terminal in a transparent transmission mode, the database upgrade parameter information being obtained by the first terminal according to a videoconferencing protocol and encapsulating database target information corresponding to the videoconferencing terminal;
[0043] a transmission module configured to transparently transmit the database upgrade parameter information to the videoconferencing terminal, so that the videoconferencing terminal analyzes the database upgrade parameter information according to the videoconferencing protocol, and performs upgrade processing on a local database according to the database target information obtained after the analysis.
[0044] In a seventh aspect, an embodiment of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and capable of running on the processor, wherein the processor implements the steps of the database upgrade method, the data processing method or the data transmission method when executing the computer program.
[0045] In an eighth aspect, an embodiment of the present application provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, and the computer program is executed by a processor to implement steps of the database upgrading method, the data processing method or the data transmission method.
[0046] Embodiments of the present application have the following advantages:
[0047] Based on the interaction between the first terminal and the video networking server, the video networking server and the video networking terminal established based on the video networking protocol, the database of the video networking terminal can be remotely upgraded, the data of the new and old versions of the video networking terminal can be compatible, the video networking business demand can be expanded, and the related functions can be realized, the stability of the video networking terminal program is ensured, the user can have a better experience, and through the unified processing operation on the first terminal side, the video networking user does not need to operate the video networking terminal, and the database automatic upgrade can be realized. BRIEF DESCRIPTION OF DRAWINGS
[0048] Figure 1 a schematic diagram of a database upgrading method of an embodiment of the present application is shown;
[0049] Figure 2 a schematic diagram of content comparison of different versions of databases of an embodiment of the present application is shown;
[0050] Figure 3 a schematic diagram of a data processing method of an embodiment of the present application is shown;
[0051] Figure 4 a schematic diagram of a data transmission method of an embodiment of the present application is shown;
[0052] Figure 5 a specific interaction flow chart of a first terminal, a video networking server and a video networking terminal of an embodiment of the present application is shown;
[0053] Figure 6 a schematic diagram of a database upgrading device of an embodiment of the present application is shown;
[0054] Figure 7 a schematic diagram of a data processing device of an embodiment of the present application is shown;
[0055] Figure 8 a schematic diagram of a data transmission device of an embodiment of the present application is shown. DETAILED DESCRIPTION
[0056] In order to make the above-mentioned purposes, features and advantages of the present application more obvious and easy to understand, the present application will be further described in detail below with reference to the drawings and specific embodiments.
[0057] The embodiment of the application aims at the problems of the increase of the storage capacity of the database corresponding to the video online terminal, the large data pressure borne by the database, the influence on the database performance and the ability to bear the business, and the problems of the existing video online terminal database, such as the difficulty in unified management, the poor data compatibility, and the difficulty in function expansion based on the business requirements, and provides a database upgrade, data processing and data transmission method and device, which can remotely upgrade the database based on the video online requirements, expand the video online business requirements and functions, ensure the stability of the video online terminal program, and can be remotely operated to uniformly manage the database upgrade, without the need for the video online user to operate the video online terminal, so as to realize the automatic upgrade of the video online terminal database and facilitate the user to better experience.
[0058] The database upgrade method applied to the video online terminal provided by the embodiment of the application will be introduced as follows, as shown in Figure 1 The database upgrade method applied to the video online terminal provided by the embodiment of the application will be introduced as follows, as shown in
[0059] Step 101, receiving the database upgrade parameter information corresponding to the video online terminal sent by the video online server in a transparent transmission mode, wherein the database upgrade parameter information is obtained by the first terminal based on the video online protocol and encapsulated from the target information of the database corresponding to the video online terminal, and is transparently transmitted to the video online server by the first terminal.
[0060] In the database upgrade method provided by the embodiment of the application, the video online terminal interacts with the video online server, and the video online server interacts with the first terminal. The first terminal can be a PC (Personal Computer), a mobile phone or other devices. When the first terminal is a mobile terminal such as a mobile phone, a tablet computer, etc., the corresponding operating system can be an Android system, an iOS (iPhone Operating System, mobile operating system of Apple Inc.), a Windows Phone (Microsoft mobile operating system), etc., and when the first terminal is a desktop computer, a notebook computer, etc., the corresponding operating system can be a Windows (Microsoft computer operating system), a MacOS (computer operating system of Apple Inc.), etc., so the data format of the database target information obtained by the first terminal can not conform to the format of the data transmission in the video online, and the database target information needs to be encapsulated by the video online protocol to obtain the database upgrade parameter information, so that the database upgrade parameter information can be stably and safely transmitted in the video online. Specifically, the first terminal can obtain the database target information corresponding to the video online terminal, and then encapsulate it by the video online protocol to obtain the database upgrade parameter information corresponding to the video online terminal, and transparently transmit the database upgrade parameter information to the video online server, so as to realize the interaction between the first terminal and the video online server based on the video online protocol. In the embodiment of the application, the first terminal and the video online terminal are taken as examples corresponding to the Android system.
[0061] The video conferencing terminal can receive the database upgrade parameter information transmitted by the video conferencing server after the video conferencing terminal obtains the database upgrade parameter information from the video conferencing server, so as to realize the interaction between the video conferencing terminal and the video conferencing server.
[0062] The video conferencing terminal can be a terminal, an exchange, a router, a high-definition aurora device, an Enlightenment 3, an Enlightenment 3C terminal, an Enlightenment 2S, and the like installed with a video conferencing application. The video conferencing server and the video conferencing terminal, the video conferencing server and the first terminal can realize the transmission by pushing, RPC (Remote Procedure Call) or socket (socket) end short connection. For example, the video conferencing server can push information to the video conferencing terminal in advance, and transmit the database upgrade parameter information according to the pushing path; the video conferencing server can obtain the database upgrade parameter information at the first terminal by RPC. In addition, the video conferencing server and the video conferencing terminal can also realize the transmission through the video conferencing, and the video conferencing server and the video conferencing terminal are deployed with an autonomous server for distribution management and interaction, and the video conferencing transmission belongs to one of the transmissions.
[0063] Step 102, analyzing the database upgrade parameter information through the video conferencing protocol to obtain the database target information.
[0064] After the video conferencing terminal obtains the database upgrade parameter information transmitted by the video conferencing server, the database upgrade parameter information is encapsulated by the video conferencing protocol, so the video conferencing terminal can analyze the received database upgrade parameter information based on the video conferencing protocol to obtain the database target information provided by the first terminal.
[0065] The first terminal encapsulates the database target information by the video conferencing protocol, which can realize the interaction between the first terminal and the video conferencing server, and further can transmit the database upgrade parameter information between the video conferencing server and the video conferencing terminal.
[0066] Step 103, in the case that it is determined that the local database needs to be upgraded according to the database target information, upgrading the local database according to the database target information.
[0067] After the video conferencing terminal parses the database upgrade parameter information according to the video conferencing protocol and obtains the database target information, whether the local database of the video conferencing terminal needs to be upgraded can be detected according to the database target information. In the case where it is determined that the local database needs to be upgraded, the local database can be upgraded according to the database target information. When the upgrade is performed, the database upgrade method is used to update the local database, so that the local database can be compatible with data of different versions, the video conferencing business requirements and functions are expanded, and the stability of the video conferencing terminal program is ensured.
[0068] In the above implementation process, the database of the video conferencing terminal can be uniformly managed by the first terminal through remote operation without the video conferencing user operating the video conferencing terminal. The upgrade of the database of the video conferencing terminal can be automatically performed, the local database of the video conferencing terminal can be compatible with data stored by new and old versions of the video conferencing terminal, the video conferencing business requirements and functions are expanded, the stability of the video conferencing terminal program is ensured, the user experience is better, and the database can be automatically upgraded without the video conferencing user operating the video conferencing terminal.
[0069] In an optional embodiment of the present application, the first terminal and the video conferencing terminal both correspond to an Android system. When the database upgrade parameter information is received, the database upgrade parameter information in the byte stream format sent by the video conferencing server is received.
[0070] The database target information is obtained by parsing the database upgrade parameter information according to the video conferencing protocol, and includes:
[0071] The database target information in the byte stream format is obtained by parsing the database upgrade parameter information according to the video conferencing protocol, and the database target information in the byte stream format is converted into JSON format.
[0072] The local database is upgraded according to the database target information in the JSON format.
[0073] In this embodiment, the first terminal and the video conferencing terminal correspond to an Android system as an example. When the video conferencing server sends the database upgrade parameter information, the video conferencing terminal can receive the database upgrade parameter information in the byte stream format sent by the video conferencing server. The database upgrade parameter information generated by the first terminal is in the JSON (JavaScript Object Notation, JS object notation) format, which can be converted into the byte stream format before being sent to the video conferencing server.
[0074] After receiving the database upgrade parameter information in the byte stream format, the database upgrade parameter information is parsed based on the WebRTC protocol, the database target information in the byte stream format is obtained, and then the database target information in the byte stream format is converted into the JSON format, so that the WebRTC terminal can upgrade the local database according to the database target information in the JSON format.
[0075] Specifically, the WebRTC server sends the database upgrade parameter information in the byte stream format to the WebRTC terminal, at this time, the WebRTC terminal can parse the database upgrade parameter information in the byte stream format according to the WebRTC protocol, and obtain the database target information in the byte stream format. Since the database target information is in the byte stream format, it can be effectively recognized by C++. C++ not only has the practicality of efficient computer operation, but also aims to improve the programming quality of large-scale programs and the problem description ability of the programming language. C++ can correspond to the system runtime library layer of the Android system, and the system runtime library layer can communicate Java code and C++ code based on JNI (Java Native Interface), so as to convert the database target information in the byte stream format into the JSON format recognizable by Java. The Java language corresponds to the application program layer of the Android system, and the WebRTC terminal upgrades the local database in the application program layer.
[0076] The above implementation process can be used to process the database target information obtained after parsing by different layer structures of the WebRTC terminal after receiving and parsing the database upgrade parameter information, so that the local database can be upgraded based on the database target information.
[0077] In an optional embodiment of the application, the database target information includes a database target version number, a database version description and a new field.
[0078] The upgrading of the local database according to the database target information includes:
[0079] Detecting whether the database target version number is higher than the version number corresponding to the local database;
[0080] In the case where the database target version number is higher than the version number corresponding to the local database, a target installation package corresponding to the database target version number is obtained, and the local data is upgraded by using an upgrade function according to the local database, the new field, the database version description and the target installation package;
[0081] The database target information includes a database target version number, database version description, and a new field. The database target version number corresponds to a database target version number of the database target information. The database target version number corresponds to a database target version number of the database target information. The database target version number corresponds to a database target version number of the database target information.
[0082] The database target information includes a database target version number, database version description, and a new field. The database target version number corresponds to a database target version number of the database target information. The database target version number corresponds to a database target version number of the database target information. The database target version number corresponds to a database target version number of the database target information.
[0083]
[0084] The database target information includes a database target version number, database version description, and a new field. The database target version number corresponds to a database target version number of the database target information. The database target version number corresponds to a database target version number of the database target information. The database target version number corresponds to a database target version number of the database target information.
[0085] For example, after obtaining the database target information according to the database upgrade parameter information, the database target version number 5.0 in the database target information can be extracted, and the database target version number 5.0 can be compared with the version number 4.0 of the local database. It is determined that the database target version number 5.0 in the database target information is higher than the version number of the local database, and the version of the local database can be upgraded to the same version as the database target version number.
[0086] The database target information includes a database target version number, database version description, and a new field. The database target version number corresponds to a database target version number of the database target information. The database target version number corresponds to a database target version number of the database target information. The database target version number corresponds to a database target version number of the database target information.
[0087] In the upgrading of the local database, the target installation package corresponding to the database target version number can be acquired and an upgrading function is called. In the acquisition of the target installation package, a request for acquisition can be sent to the corresponding database server, or a request for acquisition can be sent to other video networking terminals. In the case of retaining the information of the local database, the local database, the new field, the database version description and the target installation package are processed by using the upgrading function to obtain the upgraded local database.
[0088] The database target version number corresponding to the database target version number can be determined according to the database version description, and other related functions can also be determined. Since the database corresponding to the database target version number supports the new field, the addition of the new field can be realized at the same time of the database upgrading. After the addition of the new field, the corresponding data information of the new field can be generated to realize the extension of the business through the new field while completing the version number upgrading of the local database to the database target version number.
[0089] In the case of adding a new field to realize the extension of the business, a specific example is introduced below. When the contact information is saved in the local database, the name and number of the contact person are retained. When searching for the contact person, the name or number can be searched, and only one of them can be searched. In the case of the same name, two or more contact persons can be searched. If a field combining the name and number is added, the name and number can be searched to obtain a unique contact person when searching for the contact person, which can realize the extension of the search business and reduce the search times. Figure 2 As shown in the figure, the original database includes the name field, the number field and the data information corresponding to each field. The name field corresponds to the name data information of Zhang San, Li Si and the like, and the number field corresponds to the number data information of each contact person. After adding a field combining the name and number, the database can include the name field, the number field, the name-number combination field and the data information corresponding to each field.
[0090] The above implementation process can determine whether the local database needs to be upgraded based on the comparison of the database versions. In the case of determining that the local database needs to be upgraded, the local database is version-upgraded based on the database target version number, the database version description and the new field in the database target information, so as to ensure the update of the local database. Since the information needs to be extracted from the database target information provided by the first terminal, the database of the video networking terminal can be remotely controlled and upgraded by the first terminal.
[0091] The database upgrading method provided by the embodiment of the application can realize remote upgrading of a video networking terminal database, is compatible with storage data of new and old versions of the video networking terminal, can expand video networking business requirements and realize related functions, ensures stability of the video networking terminal program, facilitates better experience of users, and can realize automatic upgrading of the database by performing unified processing operation on the first terminal side without video networking user operation on the video networking terminal.
[0092] The embodiment of the application further provides a data processing method applied to a first terminal, as shown in the figure, comprising: Figure 3
[0093] Step 301: Obtain database target information corresponding to a video networking terminal input by a target person.
[0094] The first terminal is a non-video networking terminal, the first terminal can interact with the video networking server, and the video networking server interacts with the video networking terminal. The first terminal can obtain database target information corresponding to a video networking terminal input by a target person, wherein the target person is a related technical person, specifically an internal technical person of an enterprise, because the database upgrading is realized based on internal research and development of the program. The related technical person inputs the database target information corresponding to the video networking terminal on the first terminal, and through the interaction between the first terminal and the video networking server and the interaction between the video networking server and the video networking terminal, the first terminal remotely controls the video networking terminal to upgrade the local database according to the database target information.
[0095] And because the video networking server can interact with multiple video networking terminals, the first terminal can control remote upgrading of the local databases corresponding to multiple video networking terminals. The first terminal can be a PC device, a mobile phone or other devices.
[0096] Step 302: Package the database target information according to a video networking protocol to obtain database upgrading parameter information.
[0097] Because the first terminal can be different devices, the corresponding operating systems are different, and therefore the data format of the database target information obtained by the first terminal can not conform to the format of data transmission in the video networking, so the database target information needs to be packaged by using the video networking protocol to obtain the database upgrading parameter information, so that the database upgrading parameter information can be stably and safely transmitted in the video networking.
[0098] The vision networking protocol can be equivalent to a protocol converter between the vision networking and the Internet. For example, the Internet adopts IPC (Inter-Process Communication), uses RTSP (Real Time Streaming Protocol) to transmit in an H264 stream format, and splices database target information to be transmitted in an RTSP header to realize encapsulation of the database target information based on the vision networking protocol.
[0099] In step 303, the database upgrade parameter information is sent to the vision networking server in a transparent transmission mode, so that the vision networking server sends the database upgrade parameter information to the vision networking terminal.
[0100] After the database target information is encapsulated and the database upgrade parameter information is obtained, the database upgrade parameter information can be transmitted to the vision networking server in a transparent transmission mode. Since the database upgrade parameter information is encapsulated by using the vision networking protocol, the vision networking server can effectively identify it. After receiving the database upgrade parameter information, the vision networking server can transmit the obtained database upgrade parameter information to the vision networking terminal, so that the vision networking terminal can analyze the obtained database upgrade parameter information, upgrade the local database according to the analysis result, and realize remote upgrade of the database of the vision networking terminal controlled by the first terminal.
[0101] In the embodiment of the application, the first terminal and the vision networking terminal correspond to the Android system, for example. The database upgrade parameter information generated by the first terminal is in a JSON format, which can be converted into a byte stream format before being sent to the vision networking server. The vision networking server transmits the database upgrade parameter information in the byte stream format to the vision networking terminal. The vision networking terminal analyzes the database upgrade parameter information based on the vision networking protocol, obtains the database target information in the byte stream format, and then converts the database target information in the byte stream format into the JSON format, so as to facilitate the vision networking terminal to upgrade the local database according to the database target information in the JSON format.
[0102] The above implementation process obtains the database target information corresponding to the vision networking terminal, encapsulates the database target information based on the vision networking protocol, obtains the database upgrade parameter information, enables the database upgrade parameter information to be stably and safely transmitted in the vision networking, sends the database upgrade parameter information to the vision networking server, and sends the database upgrade parameter information to at least one vision networking terminal by the vision networking server, so as to realize remote control of the upgrade of the local database corresponding to the vision networking terminal.
[0103] In an optional embodiment of the present application, the database target information corresponding to the video live streaming terminal input by the target personnel is acquired, and the database target information includes:
[0104] The application interface corresponding to the target application installed on the first terminal is displayed.
[0105] The database target information input by the target personnel on the application interface is received.
[0106] The database target information includes a database target version number, database version description, and new field, and the target application and the video live streaming server form an interaction path.
[0107] When the database target information corresponding to the video live streaming terminal input by the target personnel is acquired, the first terminal can display the application interface corresponding to the target application on the display interface of the first terminal and receive the database target version number, database version description, and new field input by the relevant technical personnel on the application interface. Take the following description as an example:
[0108] "database_ver":"3", / / database target version number
[0109] "update_Field":"1", / / new field
[0110] "update_content":"1", / / database version description
[0111] The target application is an executable application on the first terminal and forms an interaction path with the video live streaming server. For example, the video live streaming server forms an interaction path with the target application by pushing information to the target application, or the video live streaming server forms an interaction path with the target application by calling relevant data of the target application.
[0112] The database version description is used to introduce the relevant functions of the database, the new field is used to expand the business, and the addition of the new field requires the upgrade of the database, otherwise the addition of the new field cannot be performed. According to the database version description, it can be determined whether the database corresponding to the database target version number supports the new field, and other related functions can also be determined. When the database corresponding to the database target version number supports the new field, the addition of the new field can be completed at the same time as the upgrade of the database.
[0113] The above implementation process can encapsulate the database target information after the target personnel inputs the database target information, and then send the database target information to the video live streaming terminal through the video live streaming server, so as to facilitate the remote upgrade of the local database of the video live streaming terminal under the control of the first terminal.
[0114] The data processing method provided by the embodiment of the application can perform unified processing operation on the first terminal side, realize automatic remote upgrade of the local database of the video networking terminal, and make the local database of the video networking terminal compatible with storage data of new and old versions, expand video networking service requirements, realize related functions, ensure the stability of the video networking terminal program, and facilitate users to better experience.
[0115] The embodiment of the application also provides a data transmission method applied to a video networking server, as shown in the following table. Figure 4 The data transmission method comprises the following steps.
[0116] In step 401, the video networking server receives database upgrade parameter information corresponding to a video networking terminal sent by a first terminal in a transparent transmission mode, wherein the database upgrade parameter information is obtained by the first terminal from database target information corresponding to the video networking terminal according to a video networking protocol.
[0117] The data transmission method of the embodiment of the application is applied to a video networking server, wherein the video networking server interacts with a first terminal and can also interact with a video networking terminal, and when interacting with the video networking terminal, the video networking server can interact with at least one video networking terminal.
[0118] The video networking server can first receive database upgrade parameter information corresponding to a video networking terminal sent by a first terminal in a transparent transmission mode, wherein the database upgrade parameter information is information encapsulated by using a video networking protocol, and specifically, the first terminal obtains database target information corresponding to the video networking terminal input by a target person, encapsulates the database target information by using the video networking protocol, and obtains the database upgrade parameter information, so that the database upgrade parameter information can be stably and safely transmitted in the video networking.
[0119] In step 402, the video networking server transparently transmits the database upgrade parameter information to the video networking terminal, so that the video networking terminal analyzes the database upgrade parameter information according to the video networking protocol and upgrades a local database according to the database target information obtained after the analysis.
[0120] After receiving the database upgrade parameter information corresponding to the video networking terminal sent by the first terminal in the transparent transmission mode, the video networking server can send the obtained database upgrade parameter information to the video networking terminal, the video networking terminal analyzes the database upgrade parameter information based on the video networking protocol to obtain the database target information, and upgrades the local database according to the database target information.
[0121] The database upgrade parameter information generated by the first terminal is in JSON format, and before being sent to the vision Internet server, the JSON format can be converted into a byte stream format. The vision Internet server receives the database upgrade parameter information in the byte stream format, and transmits the database upgrade parameter information in the byte stream format to the vision Internet terminal, so that the vision Internet terminal parses the database upgrade parameter information based on the vision Internet protocol, obtains the database target information in the byte stream format, and then converts the database target information in the byte stream format into JSON format, so as to facilitate the vision Internet terminal to upgrade the local database according to the database target information in the JSON format.
[0122] The database target information includes a database target version number, a database version description and a new field, and the database upgrade parameter information received by the vision Internet server is obtained by encapsulating the database target information based on the vision Internet protocol. The vision Internet server can send the database target version number, the database version description and the new field to the vision Internet terminal, so that the vision Internet terminal upgrades the local database according to the database target version number, the database version description, the new field and the information stored in the local database.
[0123] The data transmission method provided by the embodiment of the application can receive the database upgrade parameter information transmitted by the first terminal, transmit the database upgrade parameter information to the vision Internet terminal, so that the local database of the vision Internet terminal is automatically remotely upgraded, the database remote upgrade is controlled by processing on the first terminal side, and the local database of the vision Internet terminal can be compatible with the storage data of new and old versions, expand the vision Internet business demand and realize related functions, ensure the stability of the vision Internet terminal program, and facilitate users to better experience.
[0124] The interaction process of the first terminal, the vision Internet server and the vision Internet terminal of the application will be described below with a specific example, as shown in Figure 5 As shown in the figure, it includes:
[0125] Step 501, the first terminal receives the database target information of the vision Internet terminal edited by the target person.
[0126] Step 502, the first terminal encapsulates the database target information by using the vision Internet protocol to obtain the database upgrade parameter information, converts the database upgrade parameter information in the JSON format into a byte stream format, and sends it to the vision Internet server by using the transparent transmission mode.
[0127] Step 503, the vision Internet server transmits the received database upgrade parameter information in the byte stream format to the vision Internet terminal.
[0128] Step 504, the vision internet terminal parses the database upgrade parameter according to the vision internet protocol, obtains the database target information in byte stream format, and converts the database target information in byte stream format into JSON format.
[0129] Step 505, the vision internet terminal extracts the database target version number in the database target information, and then compares the extracted database target version number with the version number corresponding to the local database.
[0130] Step 506, in the case that the extracted database version number is higher than the version number corresponding to the local database, the target installation package corresponding to the database target version number is obtained, the new field, the database version description are extracted in the database target information, and the local data is upgraded by using the upgrade function according to the local database, the new field, the database version description and the target installation package.
[0131] The above implementation process can realize the automatic upgrade of the local database of the vision internet terminal remotely controlled by the first terminal through the data interaction among the first terminal, the vision internet server and the vision internet terminal, can guarantee the stability of the vision internet terminal program, and facilitates the user to have a better experience.
[0132] The above is the implementation process of the database upgrade method, the data processing method and the data transmission method provided by the embodiment of the application. According to the interaction between the first terminal and the vision internet server based on the vision internet protocol and the interaction between the vision internet server and the vision internet terminal based on the vision internet protocol, the database of the vision internet terminal can be remotely upgraded, the data of the new and old versions of the vision internet terminal can be compatible, the vision internet business demand can be expanded, and related functions can be realized, the stability of the vision internet terminal program can be guaranteed, the user can have a better experience, and the database can be automatically upgraded by uniformly processing and operating on the first terminal side without the vision internet user operating the vision internet terminal.
[0133] It should be noted that, for the method embodiment, in order to simply describe, it is expressed as a series of action combinations, but those skilled in the art should know that the embodiment of the application is not limited by the action order described, because according to the embodiment of the application, certain steps can be performed in other order or simultaneously. Secondly, those skilled in the art should know that the embodiments described in the specification all belong to preferred embodiments, and the actions involved are not necessarily necessary for the embodiment of the application.
[0134] Referring to Figure 6 , a structural block diagram of a database upgrade device embodiment of the application is shown, which is applied to a vision internet terminal and can specifically include the following modules:
[0135] The first receiving module 601 is configured to receive database upgrade parameter information corresponding to the vision networking terminal sent by the vision networking server in a transparent transmission mode, wherein the database upgrade parameter information is obtained by encapsulating database target information corresponding to the vision networking terminal according to a vision networking protocol by the first terminal, and is transparently transmitted to the vision networking server by the first terminal.
[0136] The first obtaining module 602 is configured to parse the database upgrade parameter information according to the vision networking protocol, and obtain the database target information.
[0137] The upgrade module 603 is configured to upgrade the local database according to the database target information, if it is determined that the local database needs to be upgraded according to the database target information.
[0138] Optionally, the database target information includes a database target version number, a database version description and a new field; and the upgrade module 603 includes:
[0139] The detection sub-module 6031 is configured to detect whether the database target version number is higher than a version number corresponding to the local database.
[0140] The upgrade sub-module 6032 is configured to obtain a target installation package corresponding to the database target version number, and upgrade the local data by using an upgrade function according to the local database, the new field, the database version description and the target installation package, if the database target version number is higher than the version number corresponding to the local database.
[0141] The vision networking terminal determines the related functions of the database corresponding to the database target version number according to the database version description, the database corresponding to the database target version number supports the new field, the new field is included in the local database after the upgrade, and the version number corresponding to the local database after the upgrade is the same as the database target version number.
[0142] The database upgrade device provided by the embodiment of the application can realize remote upgrade of the vision networking terminal database, is compatible with the old and new versions of the vision networking terminal storage data, can expand the vision networking business demand and realize the related functions, guarantees the stability of the vision networking terminal program, facilitates the user to better experience, and can realize the database automatic upgrade by performing the unified processing operation on the first terminal side without the vision networking user operating the vision networking terminal.
[0143] For the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the related parts refer to the part of the method embodiment.
[0144] Refer toFigure 7 , shows the structural block diagram of an embodiment of a data processing device of the application, applied to a first terminal, and can specifically include the following modules:
[0145] The second acquisition module 701 is configured to acquire database target information corresponding to a LiveU streaming terminal input by a target person.
[0146] The third acquisition module 702 is configured to encapsulate the database target information according to a LiveU streaming protocol, and acquire database upgrade parameter information.
[0147] The sending module 703 is configured to send the database upgrade parameter information to a LiveU streaming server in a transparent transmission mode, so that the LiveU streaming server sends the database upgrade parameter information to the LiveU streaming terminal.
[0148] Optionally, the second acquisition module 701 includes:
[0149] The display sub-module 7011 is configured to display an application interface corresponding to a target application program installed on the first terminal.
[0150] The receiving sub-module 7012 is configured to receive the database target information input by the target person on the application interface.
[0151] The database target information includes a database target version number, database version description and a new field, and an interactive path is formed between the target application program and the LiveU streaming server.
[0152] The data processing device provided by the embodiment of the application can perform unified processing operation on the first terminal side, realize automatic remote upgrade of the local database of the LiveU streaming terminal, and make the local database of the LiveU streaming terminal compatible with storage data of new and old versions, expand LiveU business requirements and realize related functions, ensure the stability of the LiveU terminal program, and facilitate better user experience.
[0153] For the device embodiment, the description is relatively simple because it is basically similar to the method embodiment, and the related parts refer to the part of the method embodiment.
[0154] Referring to Figure 8 , shows the structural block diagram of an embodiment of a data processing device of the application, applied to a first terminal, and can specifically include the following modules:
[0155] The second receiving module 801 is configured to receive database upgrade parameter information corresponding to a LiveU streaming terminal sent by a first terminal in a transparent transmission mode, wherein the database upgrade parameter information is obtained by encapsulating database target information corresponding to the LiveU streaming terminal according to a LiveU streaming protocol by the first terminal.
[0156] The transmission module 802 is configured to transmit the database upgrade parameter information to the vision Internet terminal, so that the vision Internet terminal parses the database upgrade parameter information according to the vision Internet protocol, and performs upgrade processing on the local database according to the database target information obtained after parsing.
[0157] The data transmission device provided by the embodiment of the application can receive the database upgrade parameter information transparently transmitted by the first terminal, transmit the database upgrade parameter information to the vision Internet terminal, and enable the local database of the vision Internet terminal to be automatically and remotely upgraded, so that the database remote upgrade is controlled by processing on the first terminal side, and the local database of the vision Internet terminal can be compatible with storage data of new and old versions, expand vision Internet business requirements, and realize related functions, thereby ensuring the stability of the vision Internet terminal program and facilitating better experience of users.
[0158] For the device embodiment, the description is relatively simple because it is basically similar to the method embodiment, and the related parts refer to the part of the method embodiment.
[0159] The embodiment of the application further provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the steps of the database upgrade method, the data processing method, or the data transmission method when executing the computer program.
[0160] The embodiment of the application further provides a computer readable storage medium, and the computer readable storage medium stores a computer program, and the computer program is executed by a processor to implement the steps of the database upgrade method, the data processing method, or the data transmission method.
[0161] Each embodiment in the specification is described in a progressive manner, and each embodiment focuses on the difference from other embodiments, and the same and similar parts of each embodiment can be referred to.
[0162] Those skilled in the art should understand that the embodiments of the embodiments of the application can be provided as a method, a device, or a computer program product. Therefore, the embodiments of the application can adopt a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Moreover, the embodiments of the application can adopt a computer program product in the form of one or more computer usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer usable program code.
[0163] The embodiments of the present application are described with reference to the flowchart illustrations and / or block diagrams of the methods, terminal devices (systems) and computer program products according to the embodiments of the present application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal devices to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal devices, create means for implementing the functions specified in the flowchart illustrations and / or block diagrams. Figure 1 one or more of the flowcharts and / or block diagrams. Figure 1 one or more of the flowcharts and / or block diagrams.
[0164] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal devices to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instructions which implement the function specified in the flowcharts and / or block diagrams. Figure 1 one or more of the flowcharts and / or block diagrams. Figure 1 one or more of the flowcharts and / or block diagrams.
[0165] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal devices, such that a series of operational steps are carried out on the computer or other programmable terminal devices to produce a computer implemented process so that the instructions executed on the computer or other programmable terminal devices provide steps for implementing the functions specified in the flowcharts and / or block diagrams. Figure 1 one or more of the flowcharts and / or block diagrams. Figure 1 one or more of the flowcharts and / or block diagrams.
[0166] Although preferred embodiments of the present application have been described, those skilled in the art will be able to make additional modifications and variations to the embodiments without departing from the basic inventive concepts. Accordingly, the appended claims are intended to be construed to cover all such modifications and variations as fall within the scope of the embodiments of the present application.
[0167] Finally, it is to be understood that the phraseology or terminology such as "first" and "second" etc. used herein is merely intended to differentiate one entity or operation from another entity or operation, without necessarily requiring or implying any actual such relationship or order between such entities or operations. Moreover, the terms "comprising", "including", or any other closure, are intended to cover the non-exclusive inclusion such that a process, method, article, or apparatus that comprises a list of elements does not include those elements alone but can include other elements not expressly listed or even include elements inherent in such process, method, article, or apparatus. Without more limitations, the element defined by the statement "comprising a" does not exclude the presence of additional identical elements in the process, method, article, or apparatus including the element.
[0168] The above describes in detail the database upgrading method, data processing method, data transmission method and device provided by the present application. The principles and implementation modes of the present application are described by using specific examples. The above description of the embodiments is only used to help understand the method of the present application and its core idea. Meanwhile, for those skilled in the art, according to the idea of the present application, the specific implementation mode and application range can be changed. In summary, the content of the specification should not be understood as a limitation of the present application.
Claims
1. A database upgrade method, applied to a video network terminal, characterized in that, The method comprises the following steps: receiving database upgrade parameter information corresponding to the vision networking terminal sent by the vision networking server in a transparent transmission mode, wherein the database upgrade parameter information is obtained by encapsulating the database target information corresponding to the vision networking terminal according to the vision networking protocol by the first terminal, and is transmitted to the vision networking server by the first terminal in a transparent manner; parsing the database upgrade parameter information according to the vision networking protocol to obtain the database target information; upgrading the local database according to the database target information if it is determined that the local database needs to be upgraded according to the database target information; the database target information comprises a database target version number, a database version description and a new field; the step of upgrading the local database according to the database target information comprises the following steps: determining whether the database target version number is higher than the version number corresponding to the local database; if the database target version number is higher than the version number corresponding to the local database, obtaining a target installation package corresponding to the database target version number, and upgrading the local database according to the local database, the new field, the database version description and the target installation package by using an upgrade function; wherein the vision networking terminal determines the related functions of the database corresponding to the database target version number according to the database version description, the database corresponding to the database target version number supports the new field, the new field is included in the upgraded local database, the version number corresponding to the upgraded local database is the same as the database target version number, and the new field is used to expand the business and is compatible with the data of old and new versions; parsing the database upgrade parameter information according to the vision networking protocol to obtain the database target information comprises the following steps: parsing the database upgrade parameter information according to the vision networking protocol to obtain the database target information in a byte stream format, and converting the database target information in the byte stream format into a JSON format; wherein the vision networking terminal upgrades the local database according to the database target information in the JSON format; wherein it is determined whether the database corresponding to the database target version number supports the new field according to the database version description, if the database corresponding to the database target version number supports the new field, the addition of the new field is realized at the same time of the database upgrade, the corresponding data information of the new field is generated, and the version number of the local database is upgraded to the database target version number while the business is expanded through the new field.
2. A data processing method applied to a first terminal, comprising: The method comprises the following steps: obtaining database target information corresponding to the vision networking terminal input by a target person; The database target information is encapsulated according to a vision Internet protocol, and database upgrade parameter information is acquired, wherein the database upgrade parameter information is parsed according to the vision Internet protocol, the database target information in a byte stream format is acquired, and the database target information in the byte stream format is converted into JSON format; wherein a local database is upgraded according to the database target information in the JSON format by the vision Internet terminal; The database upgrade parameter information is sent to a vision Internet server in a transparent transmission mode, so that the vision Internet server sends the database upgrade parameter information to the vision Internet terminal; The database target information corresponding to the vision Internet terminal input by the target person is acquired, including: Displaying an application interface corresponding to a target application program installed on the first terminal; Receiving the database target information input by the target person on the application interface; The database target information includes a database target version number, a database version description, and an added field, an interactive path is formed between the target application program and the vision Internet server, the added field is used to expand a business, and data of new and old versions is compatible; If the database corresponding to the database target version number supports the added field, the addition of the added field is implemented at the same time of database upgrade, corresponding data information is generated for the added field, and the version number of the local database is upgraded to the database target version number while the business is expanded through the added field.
3. A data transmission method applied to a Web Real-Time Communication (WebRTC) server, comprising: including: Receiving database upgrade parameter information corresponding to the vision Internet terminal sent by the first terminal in a transparent transmission mode, the database upgrade parameter information being obtained by the first terminal from database target information corresponding to the vision Internet terminal according to a vision Internet protocol and being encapsulated; The database upgrade parameter information is transparently transmitted to the vision Internet terminal, so that the vision Internet terminal parses the database upgrade parameter information according to the vision Internet protocol, and upgrades the local database according to the database target information obtained after parsing; The database target information includes a database target version number, a database version description, and an added field; The database target information is encapsulated according to a vision Internet protocol, and database upgrade parameter information is acquired, wherein the database upgrade parameter information is parsed according to the vision Internet protocol, the database target information in a byte stream format is acquired, and the database target information in the byte stream format is converted into JSON format; wherein a local database is upgraded according to the database target information in the JSON format by the vision Internet terminal; The database target version number is detected to be higher than a version number corresponding to the local database; In the case that the database target version number is higher than the version number corresponding to the local database, a target installation package corresponding to the database target version number is acquired, and the local data is upgraded by using an upgrade function according to the local database, the added field, the database version description, and the target installation package; The video internet terminal determines a related function of a database corresponding to the database target version number according to the database version description, the database corresponding to the database target version number supports the new field, the local database after upgrade includes the new field, a version number corresponding to the local database after upgrade is the same as the database target version number, and the new field is used for expanding a service and compatible with data of new and old versions. The database target information is obtained by parsing the database upgrade parameter information through the video internet protocol. The database target information in byte stream format is converted into JSON format through the video internet protocol. The local database is upgraded according to the database target information in JSON format. If the database corresponding to the database target version number supports the new field, the adding of the new field is implemented at the same time of database upgrade, corresponding data information of the new field is generated, and the version number of the local database is upgraded to the database target version number while the service is expanded through the new field.
4. A database upgrading apparatus applied to a WebRTC terminal, comprising: a database upgrading module, configured to upgrade a database of the WebRTC terminal. The method comprises the following steps: The first receiving module is configured to receive database upgrade parameter information of the video internet terminal sent by the video internet server in a transparent transmission mode, wherein the database upgrade parameter information is obtained by encapsulating database target information of the video internet terminal according to a video internet protocol, and is transparently transmitted to the video internet server by the first terminal. The first obtaining module is configured to obtain the database target information by parsing the database upgrade parameter information through the video internet protocol. The upgrade module is configured to upgrade the local database according to the database target information when it is determined that the local database needs to be upgraded according to the database target information. The database target information includes a database target version number, database version description and a new field. The upgrade module comprises: The detection submodule is configured to detect whether the database target version number is higher than a version number corresponding to the local database. The upgrade submodule is configured to obtain a target installation package corresponding to the database target version number, and to upgrade the local database according to the local database, the new field, the database version description and the target installation package when the database target version number is higher than the version number corresponding to the local database. The video live streaming terminal determines a related function of a database corresponding to the database target version number according to the database version description, the database corresponding to the database target version number supports the new field, the local database after upgrade includes the new field, and a version number corresponding to the local database after upgrade is the same as the database target version number. The new field is used for expanding a service and is compatible with data of new and old versions. The database target information is obtained by parsing the database upgrade parameter information through the video live streaming protocol. The database target information in a byte stream format is converted into a JSON format. The local database is upgraded according to the database target information in the JSON format. The database target version number corresponding to the database is determined according to the database version description. If the database corresponding to the database target version number supports the new field, the addition of the new field is implemented at the same time of database upgrade, corresponding data information of the new field is generated, and the version number of the local database is upgraded to the database target version number at the same time of expanding the service through the new field.
5. A data processing apparatus applied to a first terminal, characterized in that, The method comprises the following steps: The second obtaining module is configured to obtain database target information corresponding to a video live streaming terminal input by a target person; The third obtaining module is configured to encapsulate the database target information according to a video live streaming protocol, and obtain database upgrade parameter information. The database target information in a byte stream format is obtained by parsing the database upgrade parameter information through the video live streaming protocol, and the database target information in the byte stream format is converted into a JSON format. The local database is upgraded according to the database target information in the JSON format. The sending module is configured to send the database upgrade parameter information to a video live streaming server in a transparent transmission mode, so that the video live streaming server sends the database upgrade parameter information to the video live streaming terminal. The second obtaining module comprises: The display submodule is configured to display an application interface corresponding to a target application program installed on the first terminal. The receiving submodule is configured to receive the database target information input by the target person on the application interface. The database target information comprises a database target version number, database version description and a new field. An interactive path is formed between the target application program and the video live streaming server. The new field is used for expanding a service and is compatible with data of new and old versions. The database target version number corresponding to the database is determined according to the database version description. If the database corresponding to the database target version number supports the new field, the addition of the new field is implemented at the same time of database upgrade, corresponding data information of the new field is generated, and the version number of the local database is upgraded to the database target version number at the same time of expanding the service through the new field.
6. A data transmission apparatus applied to a video call server, comprising: The method comprises the following steps: The second receiving module is configured to receive database upgrade parameter information corresponding to a LiveUcation terminal sent by a first terminal in a transparent transmission mode, wherein the database upgrade parameter information is obtained by the first terminal according to a LiveUcation protocol and encapsulation of database target information corresponding to the LiveUcation terminal. The transmission module is configured to transparently transmit the database upgrade parameter information to the LiveUcation terminal, so that the LiveUcation terminal analyzes the database upgrade parameter information according to the LiveUcation protocol, and performs upgrade processing on a local database according to the database target information obtained after the analysis. The database target information includes a database target version number, a database version description, and a new field. The upgrade of the local database according to the database target information includes: detecting whether the database target version number is higher than a version number corresponding to the local database; in the case where the database target version number is higher than the version number corresponding to the local database, obtaining a target installation package corresponding to the database target version number, and performing upgrade on the local database by using an upgrade function according to the local database, the new field, the database version description, and the target installation package. The LiveUcation terminal determines the related functions of the database corresponding to the database target version number according to the database version description. The database corresponding to the database target version number supports the new field. The new field is included in the upgraded local database. The version number corresponding to the upgraded local database is the same as the database target version number. The new field is used to expand the business and is compatible with the data of old and new versions. The database target information is obtained by analyzing the database upgrade parameter information through the LiveUcation protocol, and the database target information in the byte stream format is converted into JSON format. The LiveUcation terminal performs upgrade processing on the local database according to the database target information in the JSON format. The database target version number corresponding to the database is determined according to the database version description. If the database corresponding to the database target version number supports the new field, the addition of the new field is implemented at the same time of the database upgrade. The corresponding data information of the new field is generated. The version number of the local database is upgraded to the database target version number. The business is expanded through the new field.
7. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, The processor executes the computer program to implement the steps of the database upgrade method of claim 1, the data processing method of claim 2, or the data transmission method of claim 3.
8. A computer-readable storage medium, characterized in that, The computer program is stored on the computer readable storage medium and is executed by the processor to implement the steps of the database upgrade method of claim 1, the data processing method of claim 2, or the data transmission method of claim 3.
Citation Information
Patent Citations
Method and device for configuring management system of energy storage power station and energy storage power station
CN109241034A
Method and device for upgrading an articulated naturality web terminal
CN110768817A