[go: up one dir, main page]

CN115016810A - Data update method, apparatus, computer equipment and storage medium - Google Patents

Data update method, apparatus, computer equipment and storage medium Download PDF

Info

Publication number
CN115016810A
CN115016810A CN202210405675.9A CN202210405675A CN115016810A CN 115016810 A CN115016810 A CN 115016810A CN 202210405675 A CN202210405675 A CN 202210405675A CN 115016810 A CN115016810 A CN 115016810A
Authority
CN
China
Prior art keywords
data
updated
target application
target
current
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210405675.9A
Other languages
Chinese (zh)
Inventor
不公告发明人
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Gaotu Yunji Education Technology Co Ltd
Original Assignee
Beijing Gaotu Yunji Education Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Gaotu Yunji Education Technology Co Ltd filed Critical Beijing Gaotu Yunji Education Technology Co Ltd
Priority to CN202210405675.9A priority Critical patent/CN115016810A/en
Publication of CN115016810A publication Critical patent/CN115016810A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present disclosure provides a data updating method, apparatus, computer device and storage medium, wherein the method comprises: under the condition that a first data updating condition is met, acquiring data to be updated of a target application program sent by a server; updating the current data of the target application program based on the data to be updated to obtain updated target data; and determining the updated target application program based on the updated target data. The embodiment of the disclosure updates the current data of the target application program based on the data to be updated, which is directly acquired from the server, so that the time spent on updating the data of the target application program can be reduced, the time period for updating the data is shortened, the speed and the efficiency for updating the current data of the target application program can be improved, the updating speed is improved for the data which needs to be modified urgently, and the timeliness of data updating is enhanced.

Description

数据更新方法、装置、计算机设备和存储介质Data update method, apparatus, computer equipment and storage medium

技术领域technical field

本公开涉及计算机技术领域,具体而言,涉及一种数据更新方法、装置、计算机设备和存储介质。The present disclosure relates to the field of computer technology, and in particular, to a data update method, apparatus, computer device, and storage medium.

背景技术Background technique

应用程序开发者需要对已开发的应用程序中的数据进行更新,以完善应用程序的功能或者修复应用程序中存在的漏洞。现有技术中,针对应用程序的更新,应用程序开发者需要在服务器端将新版本的应用程序开发完成后,将开发完成的应用程序交付应用市场进行审核,在审核完成后才可以上线到应用市场,完成应用程序的发版。进而,用户可以在应用市场下载新版本的应用程序,以实现对已下载的应用程序的更新。Application developers need to update the data in the developed applications to improve the functions of the applications or fix the vulnerabilities existing in the applications. In the prior art, for an application update, the application developer needs to complete the development of the new version of the application on the server side, and then deliver the developed application to the application market for review, and the application can be launched after the review is completed. Market, complete the release of the application. Furthermore, the user can download a new version of the application program in the application market, so as to realize the update of the downloaded application program.

但是,当应用程序中的数据需要进行紧急修改时,利用上述方式进行发版,将耗费大量的时间,时间周期较长且时效性较差,无法实现对应用程序的紧急修改。并且,在数据修改较少的情况下,利用上述方式进行发版,将存在花费很大成本进行发版,却进行很小的改动的弊端,造成审核人员资源的浪费。However, when the data in the application program needs to be modified urgently, the above method will consume a lot of time, the time period is long and the timeliness is poor, and the emergency modification of the application program cannot be realized. In addition, in the case of less data modification, using the above method to publish the version will have the disadvantage of spending a lot of money to publish the version, but making small changes, resulting in a waste of reviewer resources.

发明内容SUMMARY OF THE INVENTION

本公开实施例至少提供一种数据更新方法、装置、计算机设备和存储介质,以减少对应用程序的数据进行更新所花费的时间,避免资源的浪费。The embodiments of the present disclosure provide at least a data update method, apparatus, computer device, and storage medium, so as to reduce the time spent on updating the data of the application program and avoid the waste of resources.

第一方面,本公开实施例提供了一种数据更新方法,应用于客户端,包括:In a first aspect, an embodiment of the present disclosure provides a data update method, applied to a client, including:

在满足第一数据更新条件的情况下,获取服务器端发送的目标应用程序的待更新数据;所述第一数据更新条件包括以下至少一个条件:服务器端产生针对所述目标应用程序的待更新数据;接收到用户针对所述目标应用程序的程序使用请求;到达第一数据更新时间间隔;Obtain the data to be updated of the target application sent by the server when the first data update condition is satisfied; the first data update condition includes at least one of the following conditions: the server generates data to be updated for the target application ; Receive the user's program use request for the target application; Reach the first data update time interval;

基于所述待更新数据,对所述目标应用程序的当前数据进行更新,得到更新后的目标数据;Based on the data to be updated, the current data of the target application is updated to obtain updated target data;

基于更新后的目标数据,确定更新后的目标应用程序。Based on the updated target data, an updated target application is determined.

在一种可能的实施方式中,所述第一数据更新条件包括所述程序使用请求,所述程序使用请求包括第一使用请求;In a possible implementation manner, the first data update condition includes the program usage request, and the program usage request includes a first usage request;

所述获取服务器端发送的目标应用程序的待更新数据,包括:The acquisition of the data to be updated of the target application sent by the server includes:

响应于所述用户发送的第一使用请求,确定所述目标应用程序的当前程序版本,并基于所述当前程序版本,生成第一获取请求;determining the current program version of the target application in response to the first usage request sent by the user, and generating a first acquisition request based on the current program version;

将所述第一获取请求发送给所述服务器端,以使所述服务器端基于所述第一获取请求向所述客户端发送所述目标应用程序的多个页面对应的待更新数据。Sending the first acquisition request to the server side, so that the server side sends to the client the data to be updated corresponding to the multiple pages of the target application program based on the first acquisition request.

在一种可能的实施方式中,所述第一数据更新条件包括所述程序使用请求,所述程序使用请求包括第二使用请求;In a possible implementation manner, the first data update condition includes the program usage request, and the program usage request includes a second usage request;

所述获取服务器端发送的目标应用程序的待更新数据,包括:The acquisition of the data to be updated of the target application sent by the server includes:

响应于所述用户发送的第二使用请求,确定所述第二使用请求对应的待加载页面的页面标识以及所述目标应用程序的当前程序版本;In response to the second usage request sent by the user, determining the page identifier of the page to be loaded corresponding to the second usage request and the current program version of the target application;

基于所述待加载页面的页面标识的和所述当前程序版本,生成第二获取请求;generating a second acquisition request based on the page identifier of the page to be loaded and the current program version;

将所述第二获取请求发送给所述服务器端,以使所述服务器端基于所述第二获取请求向所述客户端发送所述待加载页面对应的待更新数据。The second obtaining request is sent to the server, so that the server sends the to-be-updated data corresponding to the to-be-loaded page to the client based on the second obtaining request.

在一种可能的实施方式中,所述基于所述待更新数据,对所述目标应用程序的当前数据进行更新,得到更新后的目标数据,包括:In a possible implementation manner, the current data of the target application is updated based on the data to be updated to obtain updated target data, including:

确定所述当前数据中的每条数据对应的数据变量名和数据内容;Determine the data variable name and data content corresponding to each piece of data in the current data;

针对每条数据,确定所述待更新数据中是否存在与该条数据的数据变量名相匹配的目标待更新数据;For each piece of data, determine whether there is target data to be updated that matches the data variable name of the piece of data in the data to be updated;

若是,则基于所述目标待更新数据,对该条数据的数据内容进行更新,得到该条数据对应的更新后的目标数据。If so, based on the target data to be updated, the data content of the piece of data is updated to obtain updated target data corresponding to the piece of data.

在一种可能的实施方式中,所述待更新数据包括以下至少一项:In a possible implementation, the data to be updated includes at least one of the following:

文本数据、图片数据、音视频数据、目标应用程序中的页面的页面格式信息。Text data, picture data, audio and video data, and page format information of pages in the target application.

在一种可能的实施方式中,所述待更新数据还包括音视频数据对应的数据下载地址;In a possible implementation manner, the data to be updated further includes a data download address corresponding to the audio and video data;

所述基于所述待更新数据,对所述目标应用程序的当前数据进行更新,得到更新后的目标数据,包括:The current data of the target application is updated based on the data to be updated to obtain updated target data, including:

基于所述数据下载地址,获取音视频数据;Obtain audio and video data based on the data download address;

基于所述音视频数据,对所述目标应用程序的当前数据进行更新,得到更新后的目标数据。Based on the audio and video data, the current data of the target application is updated to obtain updated target data.

第二方面,本公开实施例提供了一种数据更新方法,应用于服务器端,包括:In a second aspect, an embodiment of the present disclosure provides a data update method, which is applied to the server side, including:

在满足第二数据更新条件的情况下,确定目标应用程序的待更新数据;所述第二数据更新条件包括以下至少一个条件:产生针对所述目标应用程序的待更新数据;接收到客户端针对目标应用程序的数据获取请求;到达第二数据更新时间间隔;In the case where the second data update condition is satisfied, the data to be updated of the target application is determined; the second data update condition includes at least one of the following conditions: generating data to be updated for the target application; The data acquisition request of the target application; the second data update time interval is reached;

将所述待更新数据发送给客户端,以使所述客户端基于所述待更新数据对目标应用程序的当前数据进行更新。The data to be updated is sent to the client, so that the client updates the current data of the target application based on the data to be updated.

在一种可能的实施方式中,所述第二数据更新条件包括所述数据获取请求,所述数据获取请求包括第一获取请求;In a possible implementation manner, the second data update condition includes the data acquisition request, and the data acquisition request includes the first acquisition request;

所述确定目标应用程序的待更新数据,包括:The determining of the data to be updated of the target application includes:

确定所述服务器端对应的目标程序版本,以及,基于第一获取请求确定所述目标应用程序的当前程序版本;determining the target program version corresponding to the server, and determining the current program version of the target application based on the first acquisition request;

基于所述当前程序版本和所述目标程序版本,确定所述目标应用程序的多个页面对应的待更新数据。Based on the current program version and the target program version, data to be updated corresponding to multiple pages of the target application is determined.

在一种可能的实施方式中,所述第二数据更新条件包括所述数据获取请求,所述数据获取请求包括第二获取请求;In a possible implementation manner, the second data update condition includes the data acquisition request, and the data acquisition request includes a second acquisition request;

所述确定目标应用程序的待更新数据,包括:The determining of the data to be updated of the target application includes:

确定所述服务器端对应的目标程序版本;Determine the target program version corresponding to the server side;

基于所述第二获取请求,确定所述目标应用程序的当前程序版本,以及,基于所述第二获取请求中的页面标识,确定所述目标应用程序的待加载页面;determining the current program version of the target application based on the second acquisition request, and determining the page to be loaded of the target application based on the page identifier in the second acquisition request;

基于所述目标程序版本、所述当前程序版本和所述待加载页面,确定所述待加载页面对应的待更新数据。Based on the target program version, the current program version, and the to-be-loaded page, the to-be-updated data corresponding to the to-be-loaded page is determined.

第三方面,本公开实施例还提供一种数据更新装置,应用于客户端,包括:In a third aspect, an embodiment of the present disclosure further provides a data update apparatus, applied to a client, including:

获取模块,用于在满足第一数据更新条件的情况下,获取服务器端发送的目标应用程序的待更新数据;所述第一数据更新条件包括以下至少一个条件:服务器端产生针对所述目标应用程序的待更新数据;接收到用户针对所述目标应用程序的程序使用请求;到达第一数据更新时间间隔;an acquisition module, configured to acquire the data to be updated of the target application sent by the server when the first data update condition is satisfied; the first data update condition includes at least one of the following conditions: the server generates a target application for the target application The data to be updated of the program; the program use request of the user for the target application program is received; the first data update time interval is reached;

更新模块,用于基于所述待更新数据,对所述目标应用程序的当前数据进行更新,得到更新后的目标数据;an update module, configured to update the current data of the target application based on the data to be updated to obtain updated target data;

第一确定模块,用于基于更新后的目标数据,确定更新后的目标应用程序。The first determining module is configured to determine the updated target application based on the updated target data.

在一种可能的实施方式中,所述第一数据更新条件包括所述程序使用请求,所述程序使用请求包括第一使用请求;In a possible implementation manner, the first data update condition includes the program usage request, and the program usage request includes a first usage request;

所述获取模块,用于响应于所述用户发送的第一使用请求,确定所述目标应用程序的当前程序版本,并基于所述当前程序版本,生成第一获取请求;the obtaining module, configured to determine the current program version of the target application in response to the first use request sent by the user, and generate a first obtaining request based on the current program version;

将所述第一获取请求发送给所述服务器端,以使所述服务器端基于所述第一获取请求向所述客户端发送所述目标应用程序的多个页面对应的待更新数据。Sending the first acquisition request to the server side, so that the server side sends to the client the data to be updated corresponding to the multiple pages of the target application program based on the first acquisition request.

在一种可能的实施方式中,所述第一数据更新条件包括所述程序使用请求,所述程序使用请求包括第二使用请求;In a possible implementation manner, the first data update condition includes the program usage request, and the program usage request includes a second usage request;

所述获取模块,用于响应于所述用户发送的第二使用请求,确定所述第二使用请求对应的待加载页面的页面标识以及所述目标应用程序的当前程序版本;The acquiring module is configured to, in response to a second usage request sent by the user, determine the page identifier of the page to be loaded corresponding to the second usage request and the current program version of the target application;

基于所述待加载页面的页面标识的和所述当前程序版本,生成第二获取请求;generating a second acquisition request based on the page identifier of the page to be loaded and the current program version;

将所述第二获取请求发送给所述服务器端,以使所述服务器端基于所述第二获取请求向所述客户端发送所述待加载页面对应的待更新数据。The second obtaining request is sent to the server, so that the server sends the to-be-updated data corresponding to the to-be-loaded page to the client based on the second obtaining request.

在一种可能的实施方式中,所述更新模块,用于确定所述当前数据中的每条数据对应的数据变量名和数据内容;In a possible implementation manner, the update module is used to determine the data variable name and data content corresponding to each piece of data in the current data;

针对每条数据,确定所述待更新数据中是否存在与该条数据的数据变量名相匹配的目标待更新数据;For each piece of data, determine whether there is target data to be updated that matches the data variable name of the piece of data in the data to be updated;

若是,则基于所述目标待更新数据,对该条数据的数据内容进行更新,得到该条数据对应的更新后的目标数据。If so, based on the target data to be updated, the data content of the piece of data is updated to obtain updated target data corresponding to the piece of data.

在一种可能的实施方式中,所述待更新数据包括以下至少一项:In a possible implementation, the data to be updated includes at least one of the following:

文本数据、图片数据、音视频数据、目标应用程序中的页面的页面格式信息。Text data, picture data, audio and video data, and page format information of pages in the target application.

在一种可能的实施方式中,所述待更新数据还包括音视频数据对应的数据下载地址;In a possible implementation manner, the data to be updated further includes a data download address corresponding to the audio and video data;

所述更新模块,用于基于所述数据下载地址,获取音视频数据;The update module is used to obtain audio and video data based on the data download address;

基于所述音视频数据,对所述目标应用程序的当前数据进行更新,得到更新后的目标数据。Based on the audio and video data, the current data of the target application is updated to obtain updated target data.

第四方面,本公开实施例还提供一种数据更新装置,应用于服务器端,包括:In a fourth aspect, an embodiment of the present disclosure further provides a data update device, which is applied to a server, including:

第二确定模块,用于在满足第二数据更新条件的情况下,确定目标应用程序的待更新数据;所述第二数据更新条件包括以下至少一个条件:产生针对所述目标应用程序的待更新数据;接收到客户端针对目标应用程序的数据获取请求;到达第二数据更新时间间隔;The second determination module is configured to determine the data to be updated of the target application when the second data update condition is satisfied; the second data update condition includes at least one of the following conditions: generating the to-be-updated data for the target application data; receiving a data acquisition request from the client for the target application; reaching the second data update time interval;

发送模块,用于将所述待更新数据发送给客户端,以使所述客户端基于所述待更新数据对目标应用程序的当前数据进行更新。The sending module is configured to send the data to be updated to the client, so that the client can update the current data of the target application based on the data to be updated.

在一种可能的实施方式中,所述第二数据更新条件包括所述数据获取请求,所述数据获取请求包括第一获取请求;In a possible implementation manner, the second data update condition includes the data acquisition request, and the data acquisition request includes the first acquisition request;

所述第二确定模块,用于确定所述服务器端对应的目标程序版本,以及,基于第一获取请求确定所述目标应用程序的当前程序版本;The second determination module is configured to determine the target program version corresponding to the server, and determine the current program version of the target application based on the first acquisition request;

基于所述当前程序版本和所述目标程序版本,确定所述目标应用程序的多个页面对应的待更新数据。Based on the current program version and the target program version, data to be updated corresponding to multiple pages of the target application is determined.

在一种可能的实施方式中,所述第二数据更新条件包括所述数据获取请求,所述数据获取请求包括第二获取请求;In a possible implementation manner, the second data update condition includes the data acquisition request, and the data acquisition request includes a second acquisition request;

所述第二确定模块,用于确定所述服务器端对应的目标程序版本;The second determining module is used to determine the target program version corresponding to the server side;

基于所述第二获取请求,确定所述目标应用程序的当前程序版本,以及,基于所述第二获取请求中的页面标识,确定所述目标应用程序的待加载页面;determining the current program version of the target application based on the second acquisition request, and determining the page to be loaded of the target application based on the page identifier in the second acquisition request;

基于所述目标程序版本、所述当前程序版本和所述待加载页面,确定所述待加载页面对应的待更新数据。Based on the target program version, the current program version, and the to-be-loaded page, the to-be-updated data corresponding to the to-be-loaded page is determined.

第五方面,本公开可选实现方式还提供一种计算机设备,处理器、存储器,所述存储器存储有所述处理器可执行的机器可读指令,所述处理器用于执行所述存储器中存储的机器可读指令,所述机器可读指令被所述处理器执行时,所述机器可读指令被所述处理器执行时执行上述第一方面,或第一方面中任一种可能的实施方式中的步骤,或者执行上述第二方面,或第二方面中任一种可能的实施方式中的步骤。In a fifth aspect, an optional implementation manner of the present disclosure further provides a computer device, a processor, and a memory, where the memory stores machine-readable instructions executable by the processor, and the processor is configured to execute the memory stored in the memory. machine-readable instructions, when the machine-readable instructions are executed by the processor, when the machine-readable instructions are executed by the processor, the above-mentioned first aspect, or any possible implementation of the first aspect, is executed manner, or perform the above-mentioned second aspect, or steps in any possible implementation manner of the second aspect.

第六方面,本公开可选实现方式还提供一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序,该计算机程序被运行时执行上述第一方面,或第一方面中任一种可能的实施方式中的步骤,或者执行上述第二方面,或第二方面中任一种可能的实施方式中的步骤。In a sixth aspect, an optional implementation manner of the present disclosure further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and the computer program executes the first aspect, or any one of the first aspect when the computer program is run. Steps in one possible implementation manner, or perform the above-mentioned second aspect, or steps in any possible implementation manner of the second aspect.

关于上述数据更新装置、计算机设备、及计算机可读存储介质的效果描述参见上述数据更新方法的说明,这里不再赘述。For the description of the effects of the above-mentioned data updating apparatus, computer equipment, and computer-readable storage medium, please refer to the description of the above-mentioned data updating method, which will not be repeated here.

本公开实施例提供的数据更新方法、装置、计算机设备和存储介质,基于在满足第一数据更新条件的情况下获取的待更新数据,对目标应用程序的当前数据进行更新,由于待更新数据是直接从服务器端获取的,能够省略应用市场的审核、在应用市场发版以及用户主动下载发版后的目标应用程序的步骤,减少了对目标应用程序的数据进行更新所花费的时间,缩短了数据更新的时间周期,能够提高更新目标应用程序的当前数据的速度和效率,针对需要进行紧急修改的数据,更新速度的提升,增强了数据更新的时效性。另外,针对目标应用程序需要修改的数据较少的情况下,基于获取的待更新数据进行数据更新,由于省略了应用市场的审核步骤,避免了审核人员资源的浪费。The data update method, device, computer device and storage medium provided by the embodiments of the present disclosure update the current data of the target application program based on the to-be-updated data obtained when the first data update condition is satisfied, because the to-be-updated data is Obtained directly from the server side, which can omit the steps of reviewing the application market, publishing in the application market, and users actively downloading the target application after the release, reducing the time spent on updating the data of the target application and shortening the The time period of data update can improve the speed and efficiency of updating the current data of the target application. For data that needs to be urgently modified, the update speed is improved and the timeliness of data update is enhanced. In addition, in the case where the target application program needs to modify less data, the data update is performed based on the acquired data to be updated. Since the review step of the application market is omitted, the waste of reviewer resources is avoided.

为使本公开的上述目的、特征和优点能更明显易懂,下文特举较佳实施例,并配合所附附图,作详细说明如下。In order to make the above-mentioned objects, features and advantages of the present disclosure more obvious and easy to understand, the preferred embodiments are exemplified below, and are described in detail as follows in conjunction with the accompanying drawings.

附图说明Description of drawings

为了更清楚地说明本公开实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,此处的附图被并入说明书中并构成本说明书中的一部分,这些附图示出了符合本公开的实施例,并与说明书一起用于说明本公开的技术方案。应当理解,以下附图仅示出了本公开的某些实施例,因此不应被看作是对范围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。In order to explain the technical solutions of the embodiments of the present disclosure more clearly, the following briefly introduces the accompanying drawings required in the embodiments, which are incorporated into the specification and constitute a part of the specification. The drawings illustrate embodiments consistent with the present disclosure, and together with the description serve to explain the technical solutions of the present disclosure. It should be understood that the following drawings only show some embodiments of the present disclosure, and therefore should not be regarded as limiting the scope. Other related figures are obtained from these figures.

图1示出了本公开实施例所提供的一种数据更新方法的应用场景示意图;FIG. 1 shows a schematic diagram of an application scenario of a data update method provided by an embodiment of the present disclosure;

图2示出了本公开实施例所提供的一种应用于客户端的数据更新方法的流程图;FIG. 2 shows a flowchart of a data update method applied to a client provided by an embodiment of the present disclosure;

图3示出了本公开实施例所提供的一种待更新数据对应的键值对的示意图;3 shows a schematic diagram of a key-value pair corresponding to data to be updated provided by an embodiment of the present disclosure;

图4示出了本公开实施例所提供的一种对目标应用程序的当前数据进行更新的方法的流程图;4 shows a flowchart of a method for updating current data of a target application provided by an embodiment of the present disclosure;

图5示出了本公开实施例所提供的一种应用于服务器端的数据更新方法的流程图;FIG. 5 shows a flowchart of a data update method applied to a server side provided by an embodiment of the present disclosure;

图6示出了本公开实施例所提供的一种客户端获取待更新数据的示意图;6 shows a schematic diagram of a client acquiring data to be updated according to an embodiment of the present disclosure;

图7示出了本公开实施例所提供的一种应用于客户端的数据更新装置的示意图;FIG. 7 shows a schematic diagram of a data updating apparatus applied to a client according to an embodiment of the present disclosure;

图8示出了本公开实施例所提供的一种应用于服务器端的数据更新装置的示意图;FIG. 8 shows a schematic diagram of a data update apparatus applied to a server side provided by an embodiment of the present disclosure;

图9示出了本公开实施例所提供的一种计算机设备结构示意图。FIG. 9 shows a schematic structural diagram of a computer device provided by an embodiment of the present disclosure.

具体实施方式Detailed ways

为使本公开实施例的目的、技术方案和优点更加清楚,下面将结合本公开实施例中附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本公开一部分实施例,而不是全部的实施例。通常在此处描述和示出的本公开实施例的组件可以以各种不同的配置来布置和设计。因此,以下对本公开的实施例的详细描述并非旨在限制要求保护的本公开的范围,而是仅仅表示本公开的选定实施例。基于本公开的实施例,本领域技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本公开保护的范围。In order to make the purposes, technical solutions and advantages of the embodiments of the present disclosure more clear, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only These are some, but not all, embodiments of the present disclosure. The components of the disclosed embodiments generally described and illustrated herein may be arranged and designed in a variety of different configurations. Thus, the following detailed description of the embodiments of the present disclosure is not intended to limit the scope of the disclosure as claimed, but is merely representative of selected embodiments of the disclosure. Based on the embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without creative work fall within the protection scope of the present disclosure.

另外,本公开实施例中的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的实施例能够以除了在这里图示或描述的内容以外的顺序实施。In addition, the terms "first", "second" and the like in the description and claims in the embodiments of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It is to be understood that data so used may be interchanged under appropriate circumstances so that the embodiments described herein can be practiced in sequences other than those illustrated or described herein.

在本文中提及的“多个或者若干个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。Reference herein to "a plurality or several" means two or more. "And/or", which describes the association relationship of the associated objects, means that there can be three kinds of relationships, for example, A and/or B, which can mean that A exists alone, A and B exist at the same time, and B exists alone. The character "/" generally indicates that the associated objects are an "or" relationship.

经研究发现,应用程序开发者需要对已开发的应用程序中的数据进行更新,以完善应用程序的功能或者修复应用程序中存在的漏洞。现有技术中,针对应用程序的更新,应用程序开发者需要在服务器端将新版本的应用程序开发完成后,将开发完成的应用程序交付应用市场进行审核,在审核完成后才可以上线到应用市场,完成应用程序的发版。进而,用户可以在应用市场下载新版本的应用程序,以实现对已下载的应用程序的更新。但是,当应用程序中的数据需要进行紧急修改时,利用上述方式进行发版,将耗费大量的时间,时间周期较长且时效性较差,无法实现对应用程序的紧急修改。并且,在数据修改较少的情况下,利用上述方式进行发版,将存在花费很大成本进行发版,却进行很小的改动的弊端,造成审核人员资源的浪费。It is found through research that application developers need to update the data in the developed application to improve the function of the application or fix the loopholes in the application. In the prior art, for an application update, the application developer needs to complete the development of the new version of the application on the server side, and then deliver the developed application to the application market for review, and the application can be launched after the review is completed. Market, complete the release of the application. Furthermore, the user can download a new version of the application program in the application market, so as to realize the update of the downloaded application program. However, when the data in the application program needs to be modified urgently, the above method will consume a lot of time, the time period is long and the timeliness is poor, and the emergency modification of the application program cannot be realized. In addition, in the case of less data modification, using the above method to publish the version will have the disadvantage of spending a lot of money to publish the version, but making small changes, resulting in a waste of reviewer resources.

基于上述研究,本公开提供了一种数据更新方法、装置、计算机设备和存储介质,本公开实施例提供的数据更新方法、装置、计算机设备和存储介质,基于在满足第一数据更新条件的情况下获取的待更新数据,对目标应用程序的当前数据进行更新,由于待更新数据是直接从服务器端获取的,能够省略应用市场的审核、在应用市场发版以及用户主动下载发版后的目标应用程序的步骤,减少了对目标应用程序的数据进行更新所花费的时间,缩短了数据更新的时间周期,能够提高更新目标应用程序的当前数据的速度和效率,针对需要进行紧急修改的数据,更新速度的提升,增强了数据更新的时效性。另外,针对目标应用程序需要修改的数据较少的情况下,基于获取的待更新数据进行数据更新,由于省略了应用市场的审核步骤,避免了审核人员资源的浪费。Based on the above research, the present disclosure provides a data update method, device, computer device and storage medium. The data update method, device, computer device and storage medium provided by the embodiments of the present disclosure are based on the condition that the first data update condition is satisfied The current data of the target application program is updated with the data to be updated obtained from below. Since the data to be updated is obtained directly from the server side, it is possible to omit the review of the application market, the release in the application market, and the target after the user actively downloads and releases the version. The steps of the application program reduce the time it takes to update the data of the target application program, shorten the time period for data updating, and can improve the speed and efficiency of updating the current data of the target application program. For the data that needs to be modified urgently, The update speed has been improved, and the timeliness of data update has been enhanced. In addition, in the case where the target application program needs to modify less data, the data update is performed based on the acquired data to be updated. Since the review step of the application market is omitted, the waste of reviewer resources is avoided.

针对以上方案所存在的缺陷,均是发明人在经过实践并仔细研究后得出的结果,因此,上述问题的发现过程以及下文中本公开针对上述问题所提出的解决方案,都应该是发明人在本公开过程中对本公开做出的贡献。The defects existing in the above solutions are all the results obtained by the inventor after practice and careful research. Therefore, the discovery process of the above problems and the solutions to the above problems proposed by the present disclosure hereinafter should be the inventors Contributions made to this disclosure during the course of this disclosure.

应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。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.

为方便对本实施例进行理解,首先对本公开实施例所公开的一种数据更新方法的应用场景进行介绍,如图1所示,为本公开实施例提供的一种数据更新方法的应用场景示意图。在应用程序开发者根据开发需求在服务器端11完成对新版本的应用程序的开发之后,安装在用户的终端设备12中的应用程序客户端可以通过网络与服务器端11进行通信连接,获取针对该已安装的应用程序客户端的待更新数据,根据获取的待更新数据完成对应用程序客户端的当前数据的更新,从而,得到新版本的应用程序客户端。其中,应用程序客户端与服务器端11进行通信连接的网络可以为局域网、蜂窝网和广域网等。终端设备12可以为便携设备(例如:手机、平板、笔记本电脑等),也可以为个人电脑(PC,Personal Computer),服务器端11可以为任何能够提供互联网服务的设备。To facilitate understanding of this embodiment, an application scenario of a data update method disclosed in an embodiment of the present disclosure is first introduced. As shown in FIG. 1 , a schematic diagram of an application scenario of a data update method provided by an embodiment of the present disclosure is shown. After the application developer completes the development of the new version of the application on the server 11 according to the development requirements, the application client installed in the user's terminal device 12 can communicate with the server 11 through the network, and obtain information for the application. For the data to be updated of the installed application client, the current data of the application client is updated according to the acquired data to be updated, thereby obtaining a new version of the application client. Wherein, the network through which the application client and the server 11 are communicatively connected may be a local area network, a cellular network, a wide area network, or the like. The terminal device 12 may be a portable device (eg, a mobile phone, a tablet, a notebook computer, etc.) or a personal computer (PC, Personal Computer), and the server 11 may be any device capable of providing Internet services.

下面对本公开实施例所公开的一种数据更新方法进行详细介绍,本公开实施例所提供的数据更新方法的执行主体一般为具有一定计算能力的计算机设备,在一些可能的实现方式中,该数据更新方法可以通过处理器调用存储器中存储的计算机可读指令的方式来实现。A data update method disclosed in an embodiment of the present disclosure is described in detail below. The execution body of the data update method provided by the embodiment of the present disclosure is generally a computer device with a certain computing capability. In some possible implementations, the data update method The update method may be implemented by a processor invoking computer readable instructions stored in a memory.

下面以执行主体为客户端为例对本公开实施例提供的数据更新方法加以说明。The data updating method provided by the embodiment of the present disclosure will be described below by taking the execution subject as the client as an example.

如图2所示,为本公开实施例提供的一种应用于客户端的数据更新方法的流程图,可以包括以下步骤:As shown in FIG. 2, a flowchart of a data update method applied to a client provided by an embodiment of the present disclosure may include the following steps:

S201:在满足第一数据更新条件的情况下,获取服务器端发送的目标应用程序的待更新数据。S201: Under the condition that the first data update condition is satisfied, acquire the data to be updated of the target application sent by the server.

这里,第一数据更新条件为客户端可以获取用于对其所包括的当前数据进行更新的待更新数据的条件。其中,客户端为安装在终端设备中的目标应用程序。Here, the first data update condition is a condition under which the client can acquire the data to be updated for updating the current data included in the client. The client is the target application installed in the terminal device.

目标应用程序(APP,Application)可以包括在线教育学习APP、互联网学习APP等,例如英文单词速记APP、古诗词背诵APP、在线听课APP等,对此不做赘述。The target application program (APP, Application) may include an online education learning APP, an Internet learning APP, etc., such as an English word shorthand APP, an ancient poetry recitation APP, an online class listening APP, etc., which will not be repeated here.

具体实施时,第一数据更新条件可以包括以下至少一个条件:During specific implementation, the first data update condition may include at least one of the following conditions:

服务器端产生针对目标应用程序的待更新数据;接收到用户针对目标应用程序的程序使用请求;到达第一数据更新时间间隔。The server side generates data to be updated for the target application; receives a user's program use request for the target application; and reaches the first data update time interval.

这里,服务器端产生针对目标应用程序的待更新数据为应用程序开发者在目标应用程序对应的服务器端完成对目标应用程序中的数据的更新之后,服务器端基于更新的数据产生针对目标应用程序的当前数据的待更新数据。在满足该第一数据更新条件之后,服务器端可以主动将待更新数据发送给客户端,从而,客户端可以获取待更新数据。Here, the data to be updated for the target application generated by the server is that after the application developer completes the update of the data in the target application on the server corresponding to the target application, the server generates the data for the target application based on the updated data. Data to be updated for the current data. After the first data update condition is satisfied, the server can actively send the data to be updated to the client, so that the client can obtain the data to be updated.

程序使用请求可以为用户使用安装在终端设备中的目标应用程序的请求,也即,可以响应于用户点击安装在终端设备中的目标应用程序的操作,确定用户存在程序使用请求。The program use request may be a user request to use the target application installed in the terminal device, that is, it may be determined that the user has a program use request in response to the user's operation of clicking on the target application installed in the terminal device.

第一数据更新时间间隔可以为应用程序开发者根据开发需求设置的客户端主动向服务器端发送获取待更新数据的请求的时间间隔。关于第一数据更新时间间隔的间隔时长的设置,这里不进行限定The first data update time interval may be the time interval set by the application developer according to the development requirements, during which the client actively sends the request for obtaining the data to be updated to the server. Regarding the setting of the interval length of the first data update time interval, there is no limitation here.

待更新数据为应用程序开发者在服务器端针对目标应用程序中的当前数据中的至少部分数据,进行更新后得到的数据,待更新数据包括应用程序开发者增加的数据、删除的数据、修改的数据等。The data to be updated is the data obtained after the application developer updates at least part of the current data in the target application on the server side, and the data to be updated includes data added by the application developer, deleted data, modified data data etc.

客户端在获取到服务器端发送的待更新数据之后,可以利用键值对(key-value对)的形式将其存储在本地数据库中。其中,键为待更新数据对应的数据变量名,值为该待更新数据的数据内容。如图3所示,为本公开实施例所提供的一种待更新数据对应的键值对的示意图。其中,N为待更新数据的条数。After acquiring the data to be updated sent by the server, the client can store it in the local database in the form of a key-value pair (key-value pair). The key is the data variable name corresponding to the data to be updated, and the value is the data content of the data to be updated. As shown in FIG. 3 , it is a schematic diagram of a key-value pair corresponding to data to be updated according to an embodiment of the present disclosure. Among them, N is the number of pieces of data to be updated.

S202:基于待更新数据,对目标应用程序的当前数据进行更新,得到更新后的目标数据。S202: Based on the data to be updated, update the current data of the target application to obtain updated target data.

这里,客户端在获取到待更新数据之后,可以根据目标应用程序的当前数据和待更新数据,对当前数据进行更新,以得到更新后的目标数据。Here, after acquiring the data to be updated, the client can update the current data according to the current data of the target application and the data to be updated to obtain updated target data.

具体实施时,针对待更新数据中应用程序开发者修改的数据,可以根据当前数据中每条数据对应的数据变量名以及上述待更新数据中的每条数据对应的数据变量名,确定数据变量名相同的当前数据和待更新数据,然后将该当前数据的数据内容更新为数据变量名相同的待更新数据的数据内容,完成对本条当前数据的更新,得到本条当前数据对应的目标数据。进而,可以完成对需要更新的所有当前数据的更新,得到更新后的目标应用程序的目标数据。During specific implementation, for the data modified by the application developer in the data to be updated, the data variable name can be determined according to the data variable name corresponding to each piece of data in the current data and the data variable name corresponding to each piece of data in the above-mentioned data to be updated The same current data and the data to be updated, then update the data content of the current data to the data content of the data to be updated with the same data variable name, complete the update of the current data, and obtain the target data corresponding to the current data. Further, the update of all current data that needs to be updated can be completed, and the updated target data of the target application program can be obtained.

并且,在目标应用程序中的当前数据包括多个数据变量名相同的当前数据、且该数据变量名对应的当前数据需要更新的情况下,本公开实施例提供的数据更新方法,可以根据数据变量名与该数据变量名相一致的待更新数据的数据内容,将该数据变量名对应的所有的当前数据的数据内容统一更新为待更新数据的数据内容。这样,可以实现同步对多条当前数据的更新,从而,提高了数据更新的速度和效率。Moreover, when the current data in the target application program includes multiple current data with the same data variable name, and the current data corresponding to the data variable name needs to be updated, the data update method provided by the embodiment of the present disclosure can be based on the data variable name. The data content of the data to be updated whose name is consistent with the data variable name, and the data content of all the current data corresponding to the data variable name is uniformly updated to the data content of the data to be updated. In this way, multiple pieces of current data can be updated synchronously, thereby improving the speed and efficiency of data update.

针对待更新数据中应用程序开发者增加的数据、删除的数据,可以根据上述待更新数据对目标应用程序对应的当前数据进行增加或删除,从而,得到更新后的目标应用程序的目标数据。For the data added and deleted by the application developer in the data to be updated, the current data corresponding to the target application can be added or deleted according to the data to be updated, thereby obtaining the updated target data of the target application.

S203:基于更新后的目标数据,确定更新后的目标应用程序。S203: Determine an updated target application based on the updated target data.

这里,在得到更新后的目标数据之后,也即完成了对目标应用程序中的当前数据的更新。目标应用程序中存储的当前数据均为最新的数据,从而,可以确定更新后的目标应用程序。Here, after the updated target data is obtained, the updating of the current data in the target application is completed. The current data stored in the target application is the latest data, so that the updated target application can be determined.

这样,基于在满足第一数据更新条件的情况下获取的待更新数据,对目标应用程序的当前数据进行更新,由于待更新数据是直接从服务器端获取的,能够省略应用市场的审核、在应用市场发版以及用户主动下载发版后的目标应用程序的步骤,减少了对目标应用程序的数据进行更新所花费的时间,缩短了数据更新的时间周期,能够提高更新目标应用程序的当前数据的速度和效率,针对需要进行紧急修改的数据,更新速度的提升,增强了数据更新的时效性。另外,针对目标应用程序需要修改的数据较少的情况下,基于获取的待更新数据进行数据更新,由于省略了应用市场的审核步骤,避免了审核人员资源的浪费。In this way, the current data of the target application is updated based on the to-be-updated data obtained when the first data update condition is satisfied. Since the to-be-updated data is obtained directly from the server, the review of the application market can be omitted, and the application The steps of the market release and the user's active download of the target application after the release reduce the time spent on updating the data of the target application, shorten the time period for data updating, and improve the efficiency of updating the current data of the target application. Speed and efficiency. For data that needs to be urgently modified, the update speed is improved, and the timeliness of data update is enhanced. In addition, in the case where the target application program needs to modify less data, the data update is performed based on the acquired data to be updated. Since the review step of the application market is omitted, the waste of reviewer resources is avoided.

在一种实施例中,第一数据更新条件包括程序使用请求,程序使用请求包括第一使用请求。In one embodiment, the first data update condition includes a program usage request, and the program usage request includes the first usage request.

这里,第一使用请求可以是用户使用目标应用程序的请求。Here, the first usage request may be a request by the user to use the target application.

针对S201,可以按照以下步骤获取待更新数据:For S201, the data to be updated can be obtained according to the following steps:

步骤一、响应于用户发送的第一使用请求,确定目标应用程序的当前程序版本,并基于当前程序版本,生成第一获取请求。Step 1: Determine the current program version of the target application in response to the first usage request sent by the user, and generate a first acquisition request based on the current program version.

这里,第一获取请求为获取待更新数据的请求。Here, the first acquisition request is a request for acquiring data to be updated.

当用户确定使用安装在终端设备中的目标应用程序时,可以通过点击安装在终端设备中的该目标应用程序的方式,向客户端发送第一使用请求。客户端可以响应于第一使用请求,确定目标应用程序的当前版本,然后基于确定的当前程序版本,生成用于获取待更新数据的第一获取请求。When the user determines to use the target application installed in the terminal device, the user may send a first use request to the client by clicking on the target application installed in the terminal device. The client may determine the current version of the target application program in response to the first usage request, and then generate a first acquisition request for acquiring the data to be updated based on the determined current program version.

步骤二、将第一获取请求发送给服务器端,以使服务器端基于第一获取请求向客户端发送目标应用程序的多个页面对应的待更新数据。Step 2: Send the first obtaining request to the server, so that the server sends the data to be updated corresponding to the multiple pages of the target application to the client based on the first obtaining request.

这里,目标应用程序在使用过程中可以向用户展示多个不同的页面,每个页面用于展示不同的内容,例如,文字,图片和视频等。Here, the target application can display multiple different pages to the user during use, and each page is used to display different content, such as text, pictures, and videos.

具体实施时,客户端可以将生成的第一获取请求发送给服务器端。这样,服务器端在获取到第一获取请求后,可以基于第一获取请求中的客户端的版本信息(即当前程序版本)以及服务器端的最新的版本信息,确定目标应用程序的多个页面对应的区别数据,将确定的区别数据作为待更新数据,并将其发送给客户端。这里,区别数据可以包括目标应用程序的多个页面对应的新增加的数据、删除的数据、修改的数据等。During specific implementation, the client may send the generated first obtaining request to the server. In this way, after acquiring the first acquisition request, the server side can determine the differences corresponding to multiple pages of the target application based on the version information of the client (ie the current program version) in the first acquisition request and the latest version information of the server side data, take the determined difference data as the data to be updated, and send it to the client. Here, the difference data may include newly added data, deleted data, modified data, etc. corresponding to multiple pages of the target application.

进而,客户端在获取到待更新数据后,可以基于待更新数据对多个页面中的每个页面对应的数据进行更新,从而,得到更新后的目标应用程序。Furthermore, after acquiring the data to be updated, the client can update the data corresponding to each of the multiple pages based on the data to be updated, thereby obtaining an updated target application.

在另一种实施例中,第一数据更新条件包括程序使用请求,程序使用请求包括第二使用请求。In another embodiment, the first data update condition includes a program usage request, and the program usage request includes a second usage request.

这里,第二使用请求可以是用户获取目标应用程序对应的多个页面中的任一页面的请求。Here, the second usage request may be a request by the user to acquire any one of the multiple pages corresponding to the target application.

针对S201,可以按照以下步骤获取待更新数据:For S201, the data to be updated can be obtained according to the following steps:

步骤一、响应于用户发送的第二使用请求,确定第二使用请求对应的待加载页面的页面标识以及目标应用程序的当前程序版本。Step 1: In response to the second usage request sent by the user, determine the page identifier of the page to be loaded corresponding to the second usage request and the current program version of the target application.

本步骤中,将用户请求获取的页面作为待加载页面。例如,当用户正正在观看目标应用程序对应的首个页面中展示的内容时,可以点击首个页面中的如“下一步”、“下一页”等页面按钮,向客户端发起获取首个页面的下一个页面的数据的第二使用请求。这里,首个页面的下一个页面即为用户请求获取的待加载页面。In this step, the page requested by the user is used as the page to be loaded. For example, when the user is watching the content displayed on the first page corresponding to the target application, he can click the page buttons such as "Next" and "Next" on the first page to initiate the client to obtain the first page. A second request for use of data on the next page of the page. Here, the next page of the first page is the to-be-loaded page requested by the user.

目标应用程序对应的多个页面中每个页面均存在一个唯一的页面标识。Each of the multiple pages corresponding to the target application has a unique page identifier.

当用户针对目标应用程序发起获取待加载页面的第二使用请求时,客户端可以响应于第二获取请求,确定待加载页面的页面标识,以及,确定目标应用程序的当前程序版本。When the user initiates a second usage request for obtaining the page to be loaded for the target application, the client may, in response to the second obtaining request, determine the page identifier of the page to be loaded, and determine the current program version of the target application.

步骤二、基于待加载页面的页面标识的和当前程序版本,生成第二获取请求。Step 2: Generate a second acquisition request based on the page identifier of the page to be loaded and the current program version.

步骤三、将第二获取请求发送给所述服务器端,以使服务器端基于所述第二获取请求向客户端发送待加载页面对应的待更新数据。Step 3: Send the second acquisition request to the server, so that the server sends the to-be-updated data corresponding to the to-be-loaded page to the client based on the second acquisition request.

这里,第二获取请求为获取待加载页面对应的待更新数据的请求,待加载页面对应的待更新数据仅包括与待加载页面相关的数据。具体实施时,客户端可以将生成的第二获取请求发送给服务器端。服务器端在接收到第二获取请求后,可以基于第二获取请求中的客户端的版本信息(即当前程序版本)以及服务器端的最新的版本信息,确定目标应用程序的多个页面对应的待更新数据,然后根据待加载页面的页面标识,确定待加载页面对应的待更新数据,进而,可以将确定的待加载页面对应的待更新数据发送给客户端。Here, the second obtaining request is a request for obtaining data to be updated corresponding to the page to be loaded, and the data to be updated corresponding to the page to be loaded only includes data related to the page to be loaded. During specific implementation, the client may send the generated second obtaining request to the server. After receiving the second acquisition request, the server can determine the data to be updated corresponding to multiple pages of the target application based on the version information of the client (ie the current program version) in the second acquisition request and the latest version information of the server. Then, according to the page identifier of the page to be loaded, the to-be-updated data corresponding to the to-be-loaded page is determined, and further, the determined to-be-updated data corresponding to the to-be-loaded page can be sent to the client.

进而,客户端在获取到待加载页面对应的待更新数据后,可以基于该待更新数据对待加载页面的当前数据进行更新,从而,得到待加载页面对应的目标数据。Furthermore, after acquiring the to-be-updated data corresponding to the to-be-loaded page, the client can update the current data of the to-be-loaded page based on the to-be-updated data, thereby obtaining target data corresponding to the to-be-loaded page.

在一种实施例中,针对待更新数据中应用程序开发者修改的数据,可以按照如图4所示的方法对目标应用程序的当前数据进行更新,如图4所示,为本公开实施例所提供的一种对目标应用程序的当前数据进行更新的方法的流程图,可以包括以下步骤:In one embodiment, for the data modified by the application developer in the data to be updated, the current data of the target application may be updated according to the method shown in FIG. 4 , as shown in FIG. 4 , which is an embodiment of the present disclosure The provided flowchart of a method for updating current data of a target application may include the following steps:

S401:确定当前数据中的每条数据对应的数据变量名和数据内容。S401: Determine the data variable name and data content corresponding to each piece of data in the current data.

S402:针对每条数据,确定待更新数据中是否存在与该条数据的数据变量名相匹配的目标待更新数据。S402: For each piece of data, determine whether there is target data to be updated that matches the data variable name of the piece of data in the data to be updated.

S403:若是,则基于目标待更新数据,对该条数据的数据内容进行更新,得到该条数据对应的更新后的目标数据。S403: If yes, update the data content of the piece of data based on the target data to be updated to obtain updated target data corresponding to the piece of data.

这里,对目标应用程序的当前数据进行更新的方法可以为预先设置在客户端中的getText方法。在getText方法中,利用需要进行更新的当前数据的数据变量名和数据内容,以及待更新数据,将该当前数据更新为目标数据,例如,getText方法对应的更新格式为getText(数据变量名,默认值),默认值可以为当前数据的当前数据内容。针对每条待更新数据,可以将其作为与之相匹配的当前数据的目标数据。Here, the method for updating the current data of the target application may be the getText method preset in the client. In the getText method, use the data variable name and data content of the current data to be updated, and the data to be updated, and update the current data to the target data. For example, the update format corresponding to the getText method is getText(data variable name, default value ), the default value can be the current data content of the current data. For each piece of data to be updated, it can be used as the target data of the matching current data.

具体实施时,在利用getText方法对当前数据进行更新时,先确定当前数据中的每条数据对应的数据变量名和数据内容,并判断本地数据库中存储的待更新数据中是否存储有数据变量名与该当前数据的数据变量名相匹配的目标待更新数据,若否,则可以确定该条当前数据不需要进行更新,则将其的数据内容设置为默认值,也即,不修改该条当前数据的数据内容。In specific implementation, when using the getText method to update the current data, first determine the data variable name and data content corresponding to each piece of data in the current data, and determine whether the data to be updated stored in the local database is stored with the data variable name and the data variable name. The target data to be updated that matches the data variable name of the current data. If not, it can be determined that the current data does not need to be updated, and the data content of the current data is set to the default value, that is, the current data is not modified. data content.

若是,则可以在本地数据库中获取与该条当前数据对应的目标待更新数据的数据内容,将该数据内容作为目标数据的数据内容,然后将该条当前数据的数据内容设置为目标数据的数据内容,从而,得到该条当前数据对应的目标数据。以当前数据对应的数据变量名为teacher,数据内容为教师为例,在利用getText方法对其进行更新时,以getText(teacher,教师)的更新格式进行处理,先判断本地数据库中是否存储有数据变量名与teacher相一致的目标待更新数据,若否,则将teacher对应的数据内容设置为教师。假如本地数据库中存储有数据变量名为teacher,数据内容为初中老师的待更新数据,则可以将当前数据中teacher的数据内容设置为初中老师,得到该条当前数据的目标数据。If so, you can obtain the data content of the target data to be updated corresponding to the current data in the local database, use the data content as the data content of the target data, and then set the data content of the current data as the data content of the target data content, so as to obtain the target data corresponding to the current data. Take the data variable corresponding to the current data named teacher and the data content as teacher as an example, when updating it with the getText method, it is processed in the update format of getText(teacher, teacher), and first determine whether there is data stored in the local database The target whose variable name is consistent with the teacher is the data to be updated. If not, the data content corresponding to the teacher is set to the teacher. If there is a data variable named teacher stored in the local database, and the data content is the data to be updated by the junior high school teacher, you can set the data content of the teacher in the current data as the junior high school teacher to get the target data of the current data.

从而,可以实现对目标应用程序的当前数据的更新。Thus, the update of the current data of the target application can be achieved.

在一种实施例中,待更新数据包括以下至少一项:In one embodiment, the data to be updated includes at least one of the following:

文本数据、图片数据、音视频数据、目标应用程序中的页面的页面格式信息。Text data, picture data, audio and video data, and page format information of pages in the target application.

其中,文本数据可以为目标应用程序中的页面上展示的文字、数字、符号等内容对应的数据,图片数据可以为目标应用程序中的页面上展示的图片内容对应的数据,音视频数据为目标应用程序中的页面上展示的音频内容和/或视频内容对应的数据,页面格式信息可以为页面的排版、大小、页面语言等。Wherein, the text data may be data corresponding to the content displayed on the page in the target application, such as words, numbers, symbols, etc., the picture data may be data corresponding to the content of the picture displayed on the page in the target application, and the audio and video data is the target The data corresponding to the audio content and/or video content displayed on the page in the application program, and the page format information may be the typesetting, size, page language, etc. of the page.

在一种实施方式中,待更新数据还可以包括音视频数据对应的数据下载地址。In one embodiment, the data to be updated may further include a data download address corresponding to the audio and video data.

这里,在待更新数据包括音视频数据的情况下,由于音视频数据对应的音视频文件的文件体积较大,服务器端直接将音视频文件作为待更新数据发送给客户端,具有一定的数据传输难度,因此,可以在待更新数据包括音视频数据的情况下,服务器端可以将确定的音视频数据的数据下载地址作为待更新数据发送给客户端。客户端在接收到包括数据下载地址的待更新数据之后,可以基于待更新数据中包括的数据下载地址,在数据下载地址处的下载对应的音视频数据并将其存储在本地数据库中Here, in the case where the data to be updated includes audio and video data, since the file volume of the audio and video files corresponding to the audio and video data is relatively large, the server directly sends the audio and video files as the data to be updated to the client, with a certain amount of data transmission. Therefore, when the data to be updated includes audio and video data, the server can send the determined data download address of the audio and video data to the client as the data to be updated. After receiving the data to be updated including the data download address, the client can download the corresponding audio and video data at the data download address based on the data download address included in the data to be updated and store it in the local database.

然后,可以基于存储在本地数据库中的音视频数据,对目标应用程序的当前数据进行更新,得到更新后的目标数据。Then, based on the audio and video data stored in the local database, the current data of the target application can be updated to obtain updated target data.

另外,本公开实施例还提供了一种与应用于客户端的数据更新方法相匹配的应用于服务器端的数据更新方法,下面以执行主体为服务器端为例对本公开实施例提供的数据更新方法加以说明。In addition, the embodiment of the present disclosure also provides a data update method applied to the server side that matches the data update method applied to the client side. The following describes the data update method provided by the embodiment of the present disclosure by taking the execution subject as the server side as an example .

如图5所示,为本公开实施例提供的一种应用于服务器端的数据更新方法的流程图,可以包括以下步骤:As shown in FIG. 5 , a flowchart of a data update method applied to a server provided by an embodiment of the present disclosure may include the following steps:

S501:在满足第二数据更新条件的情况下,确定目标应用程序的待更新数据。S501: In the case that the second data update condition is satisfied, determine the data to be updated of the target application program.

这里,第二数据更新条件为服务器端可以向客户端发送待更新数据的条件。Here, the second data update condition is a condition that the server can send the data to be updated to the client.

具体实施时,第二数据更新条件包括以下至少一个条件:During specific implementation, the second data update condition includes at least one of the following conditions:

产生针对目标应用程序的待更新数据;接收到客户端针对目标应用程序的数据获取请求;到达第二数据更新时间间隔。Generating data to be updated for the target application; receiving a data acquisition request from the client for the target application; reaching a second data update time interval.

产生针对目标应用程序的待更新数据为应用程序开发者在目标应用程序对应的服务器端完成对目标应用程序中的数据的更新之后,服务器端可以基于更新的数据产生针对目标应用程序的当前数据的待更新数据。数据获取请求为客户端主动发送的获取待更新数据的请求。Generating the data to be updated for the target application is that after the application developer completes the update of the data in the target application on the server side corresponding to the target application, the server can generate the current data for the target application based on the updated data. Data to be updated. The data acquisition request is a request actively sent by the client to acquire the data to be updated.

第二数据更新时间间隔可以为应用程序开发者根据开发需求设置的服务器端主动向客户端发送数据获取请求的时间间隔。关于第二数据更新时间间隔的间隔时长的设置,这里不进行限定The second data update time interval may be the time interval set by the application developer according to the development requirement, during which the server side actively sends the data acquisition request to the client side. Regarding the setting of the interval length of the second data update time interval, there is no limitation here.

当服务器端确定满足第二数据更新条件的情况下,可以确定目标应用程序对应的待更新数据。When the server side determines that the second data update condition is satisfied, the data to be updated corresponding to the target application program can be determined.

S502:将待更新数据发送给客户端,以使客户端基于待更新数据对目标应用程序的当前数据进行更新。S502: Send the data to be updated to the client, so that the client updates the current data of the target application based on the data to be updated.

这里,服务器端在确定待更新数据之后,可以将待更新数据发送给客户端。客户端在获取到待更新数据之后,可以基于获取的待更新数据对目标应用程序的当前数据进行更新。Here, after determining the data to be updated, the server may send the data to be updated to the client. After acquiring the data to be updated, the client can update the current data of the target application based on the acquired data to be updated.

这样,通过服务器端向客户端发送待更新数据的方式,客户端可以及时的获取待更新数据,并利用获取的待更新数据进行数据更新,能够省略应用市场的审核、在应用市场发版以及用户主动下载发版后的目标应用程序的步骤,减少了对目标应用程序的数据进行更新所花费的时间以及数据更新的时间周期,提高了更新目标应用程序的当前数据的速度和效率。In this way, by sending the data to be updated from the server to the client, the client can obtain the data to be updated in time, and use the obtained data to be updated to update the data, which can omit the review of the application market, the release in the application market, and the user The step of actively downloading the released target application program reduces the time spent on updating the data of the target application program and the time period of data updating, and improves the speed and efficiency of updating the current data of the target application program.

在一种实施例中,第二数据更新条件包括数据获取请求,数据获取请求包括第一获取请求。In one embodiment, the second data update condition includes a data acquisition request, and the data acquisition request includes the first acquisition request.

这里,第一获取请求为客户端发送的获取待更新数据的请求,具体的,可以为获取目标应用程序对应的多个页面对应的待更新数据的请求。第一获取请求中包括客户端对应的目标应用程序的当前程序版本。Here, the first obtaining request is a request sent by the client to obtain data to be updated, and specifically, may be a request to obtain data to be updated corresponding to multiple pages corresponding to the target application. The first acquisition request includes the current program version of the target application program corresponding to the client.

针对S501,可以按照以下步骤确定待更新数据:For S501, the data to be updated may be determined according to the following steps:

步骤一、确定服务器端对应的目标程序版本,以及,基于第一获取请求确定目标应用程序的当前程序版本。Step 1: Determine the target program version corresponding to the server, and determine the current program version of the target application based on the first acquisition request.

步骤二、基于当前程序版本和目标程序版本,确定目标应用程序的多个页面对应的待更新数据。Step 2: Determine the to-be-updated data corresponding to multiple pages of the target application based on the current program version and the target program version.

目标程序版本为开发人员更新的最新版本的目标应用程序。The target program version is the latest version of the target application updated by the developer.

这里,服务器端存储有目标应用程序对应的各个程序版本的数据,在确定目标应用程序的当前程序版本和目标程序版本之后,服务器端可以获取当前程序版本的目标应用程序的多个页面对应的数据和目标程序版本的目标应用程序的多个页面对应的数据,进而,可以确定出两个程序版本的数据之间的区别数据,并将确定的区别数据作为待更新数据。其中,每个程序版本对应的数据包括该程序版本的目标应用程序的多个页面对应的数据,确定的区别数据可以包括目标应用程序的多个页面对应的新增加的数据、删除的数据、修改的数据等。Here, the server side stores the data of each program version corresponding to the target application. After determining the current program version and the target program version of the target application, the server can obtain the data corresponding to multiple pages of the target application of the current program version. Data corresponding to multiple pages of the target application program of the target program version, and further, the difference data between the data of the two program versions can be determined, and the determined difference data can be used as the data to be updated. Wherein, the data corresponding to each program version includes data corresponding to multiple pages of the target application of the program version, and the determined difference data may include newly added data, deleted data, modified data corresponding to multiple pages of the target application data etc.

另外,在待更新数据的数据量很小的情况下,例如,待更新数据为一句5字标语,确定的待更新数据可以为目标应用程序的多个页面中的一个页面对应的数据,这样,可以确定目标应用程序的多个页面中的其他页面不存在对应的待更新数据。In addition, when the amount of data to be updated is small, for example, the data to be updated is a 5-character slogan, and the determined data to be updated may be the data corresponding to one of the multiple pages of the target application. In this way, It can be determined that other pages in the multiple pages of the target application do not have corresponding data to be updated.

或者,在待更新数据为目标应用程序的多个页面中的目标数量个页面对应数据,则同样可以确定目标应用程序的多个页面中除上述页面以外的其他页面不存在对应的待更新数据。Alternatively, if the data to be updated is data corresponding to the target number of pages in the multiple pages of the target application, it can also be determined that other pages in the multiple pages of the target application other than the above-mentioned pages do not have corresponding data to be updated.

这样,通过将确定的不同程序版本的多个页面之间的区别数据作为待更新数据发送给客户端,不需要将最新版本的所有数据都发送给客户端,减少了需要发送的待更新数据的数据量,客户端可以直接根据待更新数据进行数据更新,有效减少了需要处理的数据量,从而,提高了数据更新的速度和效率。In this way, by sending the determined difference data between multiple pages of different program versions to the client as the data to be updated, it is not necessary to send all the data of the latest version to the client, thereby reducing the amount of data to be updated that needs to be sent. The client can directly update the data according to the data to be updated, which effectively reduces the amount of data that needs to be processed, thereby improving the speed and efficiency of data update.

在一种实施例中,第二数据更新条件包括数据获取请求,数据获取请求包括第二获取请求。In one embodiment, the second data update condition includes a data acquisition request, and the data acquisition request includes a second acquisition request.

这里,第二获取请求可以为客户端发送的获取待加载页面对应的待更新数据的请求,第二获取请求中包括客户端对应的目标应用程序的当前程序版本和待加载页面的页面标识。Here, the second obtaining request may be a request sent by the client to obtain the data to be updated corresponding to the page to be loaded, and the second obtaining request includes the current program version of the target application corresponding to the client and the page identifier of the page to be loaded.

针对S501,可以按照以下步骤确定待更新数据:For S501, the data to be updated may be determined according to the following steps:

步骤一、确定服务器端对应的目标程序版本。Step 1: Determine the target program version corresponding to the server side.

步骤二、基于第二获取请求,确定目标应用程序的当前程序版本,以及,基于第二获取请求中的页面标识,确定目标应用程序的待加载页面;Step 2: Determine the current program version of the target application based on the second acquisition request, and determine the page to be loaded of the target application based on the page identifier in the second acquisition request;

步骤三、基于目标程序版本、当前程序版本和所述待加载页面,确定待加载页面对应的待更新数据。Step 3: Determine the to-be-updated data corresponding to the to-be-loaded page based on the target program version, the current program version, and the to-be-loaded page.

这里,服务器端可以基于获取的页面标识,获取存储的当前程序版本的目标应用程序对应的待加载页面的数据,以及获取存储的目标程序版本目标应用程序对应的待加载页面的数据。进而,可以确定出两个程序版本对应的待加载页面之间的区别数据,并将该区别数据作为待加载页面对应的待更新数据。Here, the server side may, based on the obtained page identifier, obtain the data of the page to be loaded corresponding to the stored target application of the current program version, and obtain the data of the page to be loaded corresponding to the target application of the stored target program version. Furthermore, the difference data between the pages to be loaded corresponding to the two program versions can be determined, and the difference data can be used as the data to be updated corresponding to the pages to be loaded.

另外,在确定两个版本对应的待加载页面之间不存在区别数据时,可以确定待加载页面不存在待更新数据。In addition, when it is determined that there is no difference data between the pages to be loaded corresponding to the two versions, it can be determined that there is no data to be updated in the pages to be loaded.

这样,通过将待加载页面对应的区别数据作为待更新数据发送给客户端,能够实现发送的待更新数据只针对待加载页面,针对性更强,发送的数据量也相应减少,有利于提升待更新数据的速度。客户端只需要根据获取的待更新数据,对待加载页面的当前数据进行更新,不需要对其他页面对应的当前数据进行更新,减少了每次进行数据更新所需要处理的数据量,能够及时地将待加载页面当前数据更新为目标数据,时效性更强。In this way, by sending the differentiated data corresponding to the page to be loaded to the client as the data to be updated, the data to be updated can be sent only for the page to be loaded, which is more pertinent and the amount of data sent is correspondingly reduced, which is conducive to improving the The speed at which data is updated. The client only needs to update the current data of the page to be loaded according to the obtained data to be updated, and does not need to update the current data corresponding to other pages, which reduces the amount of data that needs to be processed for each data update, and can timely The current data of the page to be loaded is updated to the target data, which is more time-sensitive.

在一种实施例中,服务器端在确定待更新数据包括音视频数据的情况下,可以确定音视频数据对应的数据下载地址,将确定的数据下载地址作为待更新数据发送给客户端,以使客户端基于获取的数据下载地址完成对目标应用程序的数据更新。In one embodiment, when the server side determines that the data to be updated includes audio and video data, it may determine a data download address corresponding to the audio and video data, and send the determined data download address to the client as the data to be updated, so that The client completes the data update to the target application based on the obtained data download address.

如图6所示,为本公开实施例所提供的一种客户端获取待更新数据的示意图。As shown in FIG. 6 , it is a schematic diagram of a client acquiring data to be updated according to an embodiment of the present disclosure.

本领域技术人员可以理解,在具体实施方式的上述方法中,各步骤的撰写顺序并不意味着严格的执行顺序而对实施过程构成任何限定,各步骤的具体执行顺序应当以其功能和可能的内在逻辑确定。Those skilled in the art can understand that in the above method of the specific implementation, the writing order of each step does not mean a strict execution order but constitutes any limitation on the implementation process, and the specific execution order of each step should be based on its function and possible Internal logic is determined.

基于同一发明构思,本公开实施例中还提供了与应用于客户端的数据更新方法对应的数据更新装置,由于本公开实施例中的装置解决问题的原理与本公开实施例上述数据更新方法相似,因此装置的实施可以参见方法的实施,重复之处不再赘述。Based on the same inventive concept, the embodiment of the present disclosure also provides a data updating device corresponding to the data updating method applied to the client. Since the principle of solving the problem of the device in the embodiment of the present disclosure is similar to the above-mentioned data updating method in the embodiment of the present disclosure, Therefore, the implementation of the apparatus may refer to the implementation of the method, and the repetition will not be repeated.

如图7所示,为本公开实施例提供的一种应用于客户端的数据更新装置的示意图,包括:As shown in FIG. 7 , a schematic diagram of a data update apparatus applied to a client according to an embodiment of the present disclosure includes:

获取模块701,用于在满足第一数据更新条件的情况下,获取服务器端发送的目标应用程序的待更新数据;所述第一数据更新条件包括以下至少一个条件:服务器端产生针对所述目标应用程序的待更新数据;接收到用户针对所述目标应用程序的程序使用请求;到达第一数据更新时间间隔;The obtaining module 701 is configured to obtain the data to be updated of the target application sent by the server when the first data update condition is satisfied; the first data update condition includes at least one of the following conditions: The data to be updated of the application; the program usage request of the user for the target application is received; the first data update time interval is reached;

更新模块702,用于基于所述待更新数据,对所述目标应用程序的当前数据进行更新,得到更新后的目标数据;An update module 702, configured to update the current data of the target application based on the data to be updated to obtain updated target data;

第一确定模块703,用于基于更新后的目标数据,确定更新后的目标应用程序。The first determining module 703 is configured to determine the updated target application based on the updated target data.

在一种可能的实施方式中,所述第一数据更新条件包括所述程序使用请求,所述程序使用请求包括第一使用请求;In a possible implementation manner, the first data update condition includes the program usage request, and the program usage request includes a first usage request;

所述获取模块701,用于响应于所述用户发送的第一使用请求,确定所述目标应用程序的当前程序版本,并基于所述当前程序版本,生成第一获取请求;The obtaining module 701 is configured to, in response to a first usage request sent by the user, determine the current program version of the target application, and generate a first obtaining request based on the current program version;

将所述第一获取请求发送给所述服务器端,以使所述服务器端基于所述第一获取请求向所述客户端发送所述目标应用程序的多个页面对应的待更新数据。Sending the first acquisition request to the server side, so that the server side sends to the client the data to be updated corresponding to the multiple pages of the target application program based on the first acquisition request.

在一种可能的实施方式中,所述第一数据更新条件包括所述程序使用请求,所述程序使用请求包括第二使用请求;In a possible implementation manner, the first data update condition includes the program usage request, and the program usage request includes a second usage request;

所述获取模块701,用于响应于所述用户发送的第二使用请求,确定所述第二使用请求对应的待加载页面的页面标识以及所述目标应用程序的当前程序版本;The obtaining module 701 is configured to, in response to a second usage request sent by the user, determine the page identifier of the page to be loaded corresponding to the second usage request and the current program version of the target application;

基于所述待加载页面的页面标识的和所述当前程序版本,生成第二获取请求;generating a second acquisition request based on the page identifier of the page to be loaded and the current program version;

将所述第二获取请求发送给所述服务器端,以使所述服务器端基于所述第二获取请求向所述客户端发送所述待加载页面对应的待更新数据。The second obtaining request is sent to the server, so that the server sends the to-be-updated data corresponding to the to-be-loaded page to the client based on the second obtaining request.

在一种可能的实施方式中,所述更新模块702,用于确定所述当前数据中的每条数据对应的数据变量名和数据内容;In a possible implementation manner, the update module 702 is configured to determine the data variable name and data content corresponding to each piece of data in the current data;

针对每条数据,确定所述待更新数据中是否存在与该条数据的数据变量名相匹配的目标待更新数据;For each piece of data, determine whether there is target data to be updated that matches the data variable name of the piece of data in the data to be updated;

若是,则基于所述目标待更新数据,对该条数据的数据内容进行更新,得到该条数据对应的更新后的目标数据。If so, based on the target data to be updated, the data content of the piece of data is updated to obtain updated target data corresponding to the piece of data.

在一种可能的实施方式中,所述待更新数据包括以下至少一项:In a possible implementation, the data to be updated includes at least one of the following:

文本数据、图片数据、音视频数据、目标应用程序中的页面的页面格式信息。Text data, picture data, audio and video data, and page format information of pages in the target application.

在一种可能的实施方式中,所述待更新数据还包括音视频数据对应的数据下载地址;In a possible implementation manner, the data to be updated further includes a data download address corresponding to the audio and video data;

所述更新模块702,用于基于所述数据下载地址,获取音视频数据;The updating module 702 is used to obtain audio and video data based on the data download address;

基于所述音视频数据,对所述目标应用程序的当前数据进行更新,得到更新后的目标数据。Based on the audio and video data, the current data of the target application is updated to obtain updated target data.

基于同一发明构思,本公开实施例中还提供了与应用于服务器端的数据更新方法对应的数据更新装置,由于本公开实施例中的装置解决问题的原理与本公开实施例上述数据更新方法相似,因此装置的实施可以参见方法的实施,重复之处不再赘述。Based on the same inventive concept, the embodiment of the present disclosure also provides a data update device corresponding to the data update method applied to the server side. Since the principle of solving the problem of the device in the embodiment of the present disclosure is similar to the above-mentioned data update method of the embodiment of the present disclosure, Therefore, the implementation of the apparatus may refer to the implementation of the method, and the repetition will not be repeated.

如图8所示,为本公开实施例提供的一种应用于服务器端的数据更新装置的示意图,包括:As shown in FIG. 8 , a schematic diagram of a data update apparatus applied to a server according to an embodiment of the present disclosure includes:

第二确定模块801,用于在满足第二数据更新条件的情况下,确定目标应用程序的待更新数据;所述第二数据更新条件包括以下至少一个条件:产生针对所述目标应用程序的待更新数据;接收到客户端针对目标应用程序的数据获取请求;到达第二数据更新时间间隔;The second determination module 801 is configured to determine the data to be updated of the target application under the condition that a second data update condition is satisfied; the second data update condition includes at least one of the following conditions: generating a to-be-updated data for the target application Update data; receive a data acquisition request from the client for the target application; reach the second data update time interval;

发送模块802,用于将所述待更新数据发送给客户端,以使所述客户端基于所述待更新数据对目标应用程序的当前数据进行更新。The sending module 802 is configured to send the data to be updated to the client, so that the client can update the current data of the target application based on the data to be updated.

在一种可能的实施方式中,所述第二数据更新条件包括所述数据获取请求,所述数据获取请求包括第一获取请求;In a possible implementation manner, the second data update condition includes the data acquisition request, and the data acquisition request includes the first acquisition request;

所述第二确定模块801,用于确定所述服务器端对应的目标程序版本,以及,基于第一获取请求确定所述目标应用程序的当前程序版本;The second determining module 801 is configured to determine the target program version corresponding to the server, and determine the current program version of the target application based on the first acquisition request;

基于所述当前程序版本和所述目标程序版本,确定所述目标应用程序的多个页面对应的待更新数据。Based on the current program version and the target program version, data to be updated corresponding to multiple pages of the target application is determined.

在一种可能的实施方式中,所述第二数据更新条件包括所述数据获取请求,所述数据获取请求包括第二获取请求;In a possible implementation manner, the second data update condition includes the data acquisition request, and the data acquisition request includes a second acquisition request;

所述第二确定模块801,用于确定所述服务器端对应的目标程序版本;The second determining module 801 is configured to determine the target program version corresponding to the server side;

基于所述第二获取请求,确定所述目标应用程序的当前程序版本,以及,基于所述第二获取请求中的页面标识,确定所述目标应用程序的待加载页面;determining the current program version of the target application based on the second acquisition request, and determining the page to be loaded of the target application based on the page identifier in the second acquisition request;

基于所述目标程序版本、所述当前程序版本和所述待加载页面,确定所述待加载页面对应的待更新数据。Based on the target program version, the current program version, and the to-be-loaded page, the to-be-updated data corresponding to the to-be-loaded page is determined.

关于装置中的各模块的处理流程、以及各模块之间的交互流程的描述可以参照上述方法实施例中的相关说明,这里不再详述。For the description of the processing flow of each module in the apparatus and the interaction flow between the modules, reference may be made to the relevant descriptions in the foregoing method embodiments, which will not be described in detail here.

本公开实施例还提供了一种计算机设备,如图9所示,为本公开实施例提供的一种计算机设备结构示意图,包括:An embodiment of the present disclosure further provides a computer device. As shown in FIG. 9 , a schematic structural diagram of a computer device provided by an embodiment of the present disclosure includes:

处理器91和存储器92;所述存储器92存储有处理器91可执行的机器可读指令,处理器91用于执行存储器92中存储的机器可读指令,所述机器可读指令被处理器91执行时,处理器91执行下述步骤:S201:在满足第一数据更新条件的情况下,获取服务器端发送的目标应用程序的待更新数据;S202:基于待更新数据,对目标应用程序的当前数据进行更新,得到更新后的目标数据以及S203:基于更新后的目标数据,确定更新后的目标应用程序;或者,所述机器可读指令被处理器91执行时,处理器91执行下述步骤:S501:在满足第二数据更新条件的情况下,确定目标应用程序的待更新数据以及S502:将待更新数据发送给客户端,以使客户端基于待更新数据对目标应用程序的当前数据进行更新。A processor 91 and a memory 92; the memory 92 stores machine-readable instructions executable by the processor 91, the processor 91 is configured to execute the machine-readable instructions stored in the memory 92, and the machine-readable instructions are executed by the processor 91 During execution, the processor 91 performs the following steps: S201: in the case of satisfying the first data update condition, obtain the data to be updated of the target application sent by the server; S202: based on the data to be updated, update the current data of the target application Data is updated to obtain updated target data and S203: based on the updated target data, determine the updated target application program; or, when the machine-readable instruction is executed by the processor 91, the processor 91 executes the following steps : S501: In the case of satisfying the second data update condition, determine the data to be updated of the target application and S502: Send the data to be updated to the client, so that the client can perform an update on the current data of the target application based on the data to be updated renew.

上述存储器92包括内存921和外部存储器922;这里的内存921也称内存储器,用于暂时存放处理器91中的运算数据,以及与硬盘等外部存储器922交换的数据,处理器91通过内存921与外部存储器922进行数据交换。The above-mentioned memory 92 includes a memory 921 and an external memory 922; the memory 921 here is also called an internal memory, and is used to temporarily store the operation data in the processor 91 and the data exchanged with the external memory 922 such as the hard disk. The external memory 922 performs data exchange.

上述指令的具体执行过程可以参考本公开实施例中所述的数据更新方法的步骤,此处不再赘述。For the specific execution process of the above instruction, reference may be made to the steps of the data update method described in the embodiments of the present disclosure, which will not be repeated here.

本公开实施例还提供一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序,该计算机程序被处理器运行时执行上述方法实施例中所述的数据更新方法的步骤。其中,该存储介质可以是易失性或非易失的计算机可读取存储介质。Embodiments of the present disclosure further provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is run by a processor, the steps of the data updating method described in the foregoing method embodiments are executed. Wherein, the storage medium may be a volatile or non-volatile computer-readable storage medium.

本公开实施例所提供的数据更新方法的计算机程序产品,包括存储了程序代码的计算机可读存储介质,所述程序代码包括的指令可用于执行上述方法实施例中所述的数据更新方法的步骤,具体可参见上述方法实施例,在此不再赘述。The computer program product of the data updating method provided by the embodiments of the present disclosure includes a computer-readable storage medium storing program codes, and the instructions included in the program codes can be used to execute the steps of the data updating methods described in the above method embodiments. , for details, refer to the foregoing method embodiments, which will not be repeated here.

该计算机程序产品可以具体通过硬件、软件或其结合的方式实现。在一个可选实施例中,所述计算机程序产品具体体现为计算机存储介质,在另一个可选实施例中,计算机程序产品具体体现为软件产品,例如软件开发包(Software Development Kit,SDK)等等。The computer program product can be specifically implemented by hardware, software or a combination thereof. In an optional embodiment, the computer program product is embodied as a computer storage medium, and in another optional embodiment, the computer program product is embodied as a software product, such as a software development kit (Software Development Kit, SDK), etc. Wait.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的装置的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。在本公开所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些通信接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。Those skilled in the art can clearly understand that, for the convenience and brevity of description, for the specific working process of the device described above, reference may be made to the corresponding process in the foregoing method embodiments, which will not be repeated here. In the several embodiments provided in the present disclosure, it should be understood that the disclosed apparatus and method may be implemented in other manners. The apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods, or some features may be ignored or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some communication interfaces, indirect coupling or communication connection of devices or units, which may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.

另外,在本公开各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.

所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个处理器可执行的非易失的计算机可读取存储介质中。基于这样的理解,本公开的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本公开各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-OnlyMemory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The functions, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a processor-executable non-volatile computer-readable storage medium. Based on such understanding, the technical solutions of the present disclosure can be embodied in the form of software products in essence, or the parts that contribute to the prior art or the parts of the technical solutions. The computer software products are 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 various embodiments of the present disclosure. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program codes.

最后应说明的是:以上所述实施例,仅为本公开的具体实施方式,用以说明本公开的技术方案,而非对其限制,本公开的保护范围并不局限于此,尽管参照前述实施例对本公开进行了详细的说明,本领域的普通技术人员应当理解:任何熟悉本技术领域的技术人员在本公开揭露的技术范围内,其依然可以对前述实施例所记载的技术方案进行修改或可轻易想到变化,或者对其中部分技术特征进行等同替换;而这些修改、变化或者替换,并不使相应技术方案的本质脱离本公开实施例技术方案的精神和范围,都应涵盖在本公开的保护范围之内。因此,本公开的保护范围应所述以权利要求的保护范围为准。Finally, it should be noted that the above-mentioned embodiments are only specific implementations of the present disclosure, and are used to illustrate the technical solutions of the present disclosure rather than limit them. The protection scope of the present disclosure is not limited thereto, although referring to the foregoing The embodiments describe the present disclosure in detail. Those of ordinary skill in the art should understand that: any person skilled in the art can still modify the technical solutions described in the foregoing embodiments within the technical scope disclosed by the present disclosure. Changes can be easily thought of, or equivalent replacements are made to some of the technical features; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present disclosure, and should be covered in the present disclosure. within the scope of protection. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.

Claims (13)

1.一种数据更新方法,应用于客户端,其特征在于,包括:1. a data update method, applied to client, is characterized in that, comprises: 在满足第一数据更新条件的情况下,获取服务器端发送的目标应用程序的待更新数据;所述第一数据更新条件包括以下至少一个条件:服务器端产生针对所述目标应用程序的待更新数据;接收到用户针对所述目标应用程序的程序使用请求;到达第一数据更新时间间隔;Obtain the data to be updated of the target application sent by the server when the first data update condition is satisfied; the first data update condition includes at least one of the following conditions: the server generates data to be updated for the target application ; Receive the user's program use request for the target application; Reach the first data update time interval; 基于所述待更新数据,对所述目标应用程序的当前数据进行更新,得到更新后的目标数据;Based on the data to be updated, the current data of the target application is updated to obtain updated target data; 基于更新后的目标数据,确定更新后的目标应用程序。Based on the updated target data, an updated target application is determined. 2.根据权利要求1所述的方法,其特征在于,所述第一数据更新条件包括所述程序使用请求,所述程序使用请求包括第一使用请求;2. The method according to claim 1, wherein the first data update condition comprises the program usage request, and the program usage request comprises a first usage request; 所述获取服务器端发送的目标应用程序的待更新数据,包括:The acquisition of the data to be updated of the target application sent by the server includes: 响应于所述用户发送的第一使用请求,确定所述目标应用程序的当前程序版本,并基于所述当前程序版本,生成第一获取请求;determining the current program version of the target application in response to the first usage request sent by the user, and generating a first acquisition request based on the current program version; 将所述第一获取请求发送给所述服务器端,以使所述服务器端基于所述第一获取请求向所述客户端发送所述目标应用程序的多个页面对应的待更新数据。Sending the first acquisition request to the server side, so that the server side sends to the client the data to be updated corresponding to the multiple pages of the target application program based on the first acquisition request. 3.根据权利要求1所述的方法,其特征在于,所述第一数据更新条件包括所述程序使用请求,所述程序使用请求包括第二使用请求;3. The method according to claim 1, wherein the first data update condition comprises the program usage request, and the program usage request comprises a second usage request; 所述获取服务器端发送的目标应用程序的待更新数据,包括:The acquisition of the data to be updated of the target application sent by the server includes: 响应于所述用户发送的第二使用请求,确定所述第二使用请求对应的待加载页面的页面标识以及所述目标应用程序的当前程序版本;In response to the second usage request sent by the user, determining the page identifier of the page to be loaded corresponding to the second usage request and the current program version of the target application; 基于所述待加载页面的页面标识的和所述当前程序版本,生成第二获取请求;generating a second acquisition request based on the page identifier of the page to be loaded and the current program version; 将所述第二获取请求发送给所述服务器端,以使所述服务器端基于所述第二获取请求向所述客户端发送所述待加载页面对应的待更新数据。The second obtaining request is sent to the server, so that the server sends the to-be-updated data corresponding to the to-be-loaded page to the client based on the second obtaining request. 4.根据权利要求1至3任一项所述的方法,其特征在于,所述基于所述待更新数据,对所述目标应用程序的当前数据进行更新,得到更新后的目标数据,包括:4. The method according to any one of claims 1 to 3, wherein, based on the data to be updated, the current data of the target application is updated to obtain updated target data, comprising: 确定所述当前数据中的每条数据对应的数据变量名和数据内容;Determine the data variable name and data content corresponding to each piece of data in the current data; 针对每条数据,确定所述待更新数据中是否存在与该条数据的数据变量名相匹配的目标待更新数据;For each piece of data, determine whether there is target data to be updated that matches the data variable name of the piece of data in the data to be updated; 若是,则基于所述目标待更新数据,对该条数据的数据内容进行更新,得到该条数据对应的更新后的目标数据。If so, based on the target data to be updated, the data content of the piece of data is updated to obtain updated target data corresponding to the piece of data. 5.根据权利要求1所述的方法,其特征在于,所述待更新数据包括以下至少一项:5. The method according to claim 1, wherein the data to be updated comprises at least one of the following: 文本数据、图片数据、音视频数据、目标应用程序中的页面的页面格式信息。Text data, picture data, audio and video data, and page format information of pages in the target application. 6.根据权利要求5所述的方法,其特征在于,所述待更新数据还包括音视频数据对应的数据下载地址;6. The method according to claim 5, wherein the data to be updated also comprises a data download address corresponding to the audio and video data; 所述基于所述待更新数据,对所述目标应用程序的当前数据进行更新,得到更新后的目标数据,包括:The current data of the target application is updated based on the data to be updated to obtain updated target data, including: 基于所述数据下载地址,获取音视频数据;Obtain audio and video data based on the data download address; 基于所述音视频数据,对所述目标应用程序的当前数据进行更新,得到更新后的目标数据。Based on the audio and video data, the current data of the target application is updated to obtain updated target data. 7.一种数据更新方法,应用于服务器端,其特征在于,包括:7. A data update method, applied to the server side, is characterized in that, comprising: 在满足第二数据更新条件的情况下,确定目标应用程序的待更新数据;所述第二数据更新条件包括以下至少一个条件:产生针对所述目标应用程序的待更新数据;接收到客户端针对目标应用程序的数据获取请求;到达第二数据更新时间间隔;In the case where the second data update condition is satisfied, the data to be updated of the target application is determined; the second data update condition includes at least one of the following conditions: generating data to be updated for the target application; The data acquisition request of the target application; the second data update time interval is reached; 将所述待更新数据发送给客户端,以使所述客户端基于所述待更新数据对目标应用程序的当前数据进行更新。The data to be updated is sent to the client, so that the client updates the current data of the target application based on the data to be updated. 8.根据权利要求7所述的方法,其特征在于,所述第二数据更新条件包括所述数据获取请求,所述数据获取请求包括第一获取请求;8. The method according to claim 7, wherein the second data update condition comprises the data acquisition request, and the data acquisition request comprises the first acquisition request; 所述确定目标应用程序的待更新数据,包括:The determining of the data to be updated of the target application includes: 确定所述服务器端对应的目标程序版本,以及,基于第一获取请求确定所述目标应用程序的当前程序版本;determining the target program version corresponding to the server, and determining the current program version of the target application based on the first acquisition request; 基于所述当前程序版本和所述目标程序版本,确定所述目标应用程序的多个页面对应的待更新数据。Based on the current program version and the target program version, data to be updated corresponding to multiple pages of the target application is determined. 9.根据权利要求7所述的方法,其特征在于,所述第二数据更新条件包括所述数据获取请求,所述数据获取请求包括第二获取请求;9. The method according to claim 7, wherein the second data update condition comprises the data acquisition request, and the data acquisition request comprises a second acquisition request; 所述确定目标应用程序的待更新数据,包括:The determining of the data to be updated of the target application includes: 确定所述服务器端对应的目标程序版本;Determine the target program version corresponding to the server side; 基于所述第二获取请求,确定所述目标应用程序的当前程序版本,以及,基于所述第二获取请求中的页面标识,确定所述目标应用程序的待加载页面;Determine the current program version of the target application based on the second acquisition request, and determine the page to be loaded of the target application based on the page identifier in the second acquisition request; 基于所述目标程序版本、所述当前程序版本和所述待加载页面,确定所述待加载页面对应的待更新数据。Based on the target program version, the current program version, and the to-be-loaded page, the to-be-updated data corresponding to the to-be-loaded page is determined. 10.一种数据更新装置,应用于客户端,其特征在于包括:10. A data update device, applied to a client, is characterized in that comprising: 获取模块,用于在满足第一数据更新条件的情况下,获取服务器端发送的目标应用程序的待更新数据;所述第一数据更新条件包括以下至少一个条件:服务器端产生针对所述目标应用程序的待更新数据;接收到用户针对所述目标应用程序的程序使用请求;到达第一数据更新时间间隔;an obtaining module, configured to obtain the data to be updated of the target application sent by the server when the first data update condition is satisfied; the first data update condition includes at least one of the following conditions: the server generates a target application for the target application The data to be updated of the program; the program use request of the user for the target application program is received; the first data update time interval is reached; 更新模块,用于基于所述待更新数据,对所述目标应用程序的当前数据进行更新,得到更新后的目标数据;an update module, configured to update the current data of the target application based on the data to be updated to obtain updated target data; 第一确定模块,用于基于更新后的目标数据,确定更新后的目标应用程序。The first determining module is configured to determine the updated target application based on the updated target data. 11.一种数据更新装置,应用于服务器端,其特征在于,包括:11. A data update device, applied to a server side, is characterized in that, comprising: 第二确定模块,用于在满足第二数据更新条件的情况下,确定目标应用程序的待更新数据;a second determining module, configured to determine the data to be updated of the target application under the condition that the second data update condition is met; 发送模块,用于将所述待更新数据发送给客户端,以使所述客户端基于所述待更新数据对目标应用程序的当前数据进行更新。The sending module is configured to send the data to be updated to the client, so that the client can update the current data of the target application based on the data to be updated. 12.一种计算机设备,其特征在于,包括:处理器、存储器,所述存储器存储有所述处理器可执行的机器可读指令,所述处理器用于执行所述存储器中存储的机器可读指令,所述机器可读指令被所述处理器执行时,所述处理器执行如权利要求1至6任意一项所述的数据更新方法的步骤,或者,执行如权利要求7至9任意一项所述的数据更新方法的步骤。12. A computer device, comprising: a processor and a memory, wherein the memory stores machine-readable instructions executable by the processor, and the processor is configured to execute the machine-readable instructions stored in the memory instruction, when the machine-readable instruction is executed by the processor, the processor executes the steps of the data update method according to any one of claims 1 to 6, or executes any one of claims 7 to 9. The steps of the data update method described in item. 13.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被计算机设备运行时,所述计算机设备执行如权利要求1至6任意一项所述的数据更新方法的步骤,或者,执行如权利要求7至9任意一项所述的数据更新方法的步骤。13. A computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is run by a computer device, the computer device executes any one of claims 1 to 6. The steps of the data updating method described in claim 7, or the steps of executing the data updating method according to any one of claims 7 to 9.
CN202210405675.9A 2022-04-18 2022-04-18 Data update method, apparatus, computer equipment and storage medium Pending CN115016810A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210405675.9A CN115016810A (en) 2022-04-18 2022-04-18 Data update method, apparatus, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210405675.9A CN115016810A (en) 2022-04-18 2022-04-18 Data update method, apparatus, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115016810A true CN115016810A (en) 2022-09-06

Family

ID=83067183

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210405675.9A Pending CN115016810A (en) 2022-04-18 2022-04-18 Data update method, apparatus, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115016810A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7668870B1 (en) * 2004-04-15 2010-02-23 Citicorp Development Center, Inc. Methods and systems for updating web pages via a web data instant update utility
CN106095486A (en) * 2016-05-31 2016-11-09 乐视控股(北京)有限公司 Online updating method, system, terminal unit and the server of application program
CN107784104A (en) * 2017-10-26 2018-03-09 中山市君扬电子科技有限公司 A data push update method for children's educational software
CN109513213A (en) * 2018-11-13 2019-03-26 广州互爱信息科技有限公司 A kind of hand trip subpackage download technology method
CN111427648A (en) * 2020-03-23 2020-07-17 北京达佳互联信息技术有限公司 Page resource updating method, device, electronic device, server and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7668870B1 (en) * 2004-04-15 2010-02-23 Citicorp Development Center, Inc. Methods and systems for updating web pages via a web data instant update utility
CN106095486A (en) * 2016-05-31 2016-11-09 乐视控股(北京)有限公司 Online updating method, system, terminal unit and the server of application program
CN107784104A (en) * 2017-10-26 2018-03-09 中山市君扬电子科技有限公司 A data push update method for children's educational software
CN109513213A (en) * 2018-11-13 2019-03-26 广州互爱信息科技有限公司 A kind of hand trip subpackage download technology method
CN111427648A (en) * 2020-03-23 2020-07-17 北京达佳互联信息技术有限公司 Page resource updating method, device, electronic device, server and storage medium

Similar Documents

Publication Publication Date Title
US20220408231A1 (en) Message extension app store
TWI712956B (en) Method and device for updating mobile terminal application program
CN110622192B (en) Functions-as-a-Service (FAAS) Platforms in Blockchain Networks
WO2020186904A1 (en) Text adaptive display method and apparatus, electronic device, server, and storage medium
US20200014641A1 (en) Method, system, apparatus, and non-transitory computer-readable recording medium for providing a copied message list
WO2022000869A1 (en) Batch processing method and apparatus for mini programs, and electronic device and readable storage medium
CN108055320A (en) Processing method, terminal device and the computer readable storage medium of resource downloading
CN116127219A (en) Method and device for displaying pages in applet and computer equipment
CN108112282B (en) Method, system and medium for filtering content
CN112948018B (en) Dynamic library loading method, device, equipment and medium for applet
US11468898B2 (en) Common skill store for different virtual assistants
CN113190229A (en) Method and device for generating government affair page
CN104239412A (en) Application-to-repository data mapping in data repositories, and related methods, systems, and computer-readable media
CN116455950A (en) Request response method, device, computer equipment and storage medium
CN115016810A (en) Data update method, apparatus, computer equipment and storage medium
CN106775249B (en) A method and electronic device for setting a communication shortcut
CN114157658A (en) Mirror image warehouse deployment method and device, electronic equipment and computer readable medium
CN111857701A (en) Terminal dynamic interface display method, device, computer equipment and storage medium
WO2017197889A1 (en) Keyword link method, device and system
CN114817276A (en) Method, system, equipment and storage medium for updating file
US12242742B1 (en) Storing data in a digital assistant
CN113296978B (en) Content copying method, apparatus, device and computer readable medium
US20250315234A1 (en) Intent-based service policy declaration and configuration
CN110889055A (en) Interactive method, interactive system, electronic device and storage medium
CN113946457B (en) Information sharing control method and device, electronic equipment and storage medium

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