Application interface updating method, terminal equipment, service equipment and storage medium
Send software version information to the service device through the terminal device, obtain the service package update information required for each application interface, and automatically update the application's business package, solving the problems of low application update efficiency and abnormal operation, and improving the application's stability and user experience.
Patent Information
- Application Number
- CN202411694454.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-25
- Publication Date
- 2025-03-11
AI Technical Summary
After the application is released, when the user updates the code or optimization function, the existing technology requires manual updates, resulting in low iteration efficiency and the built-in resource file static, and the update data does not match the resource file, which may cause abnormal operation of the application and affect the user experience.
The terminal device sends software version information to the service device, obtains the required service package version information corresponding to each application interface, determines the target application interface and obtains the update address of its required service package, and automatically updates the service package of the target application interface to ensure that the updated service package is compatible with the operating environment of the terminal device.
It realizes automatic update of applications, improves the stability of application operation, reduces the risk of abnormal operation, improves user experience, and provides more accurate update services.
Smart Images

Figure CN119597319A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to an application interface updating method, a terminal device, a service device, and a storage medium. Background Art
[0002] After software development is completed, the application can usually be released in the application store. Since different application stores have their own review mechanisms, the time for application releases in application stores of different terminals is not uniform. Moreover, after the application is released, if part of the code needs to be updated, some functions need to be optimized, or other content in the application needs to be changed, it needs to be released again through the application, and the user needs to manually update it, which leads to low iteration efficiency of the application.
[0003] In order to improve the iteration efficiency after the application is released through the app store, related technologies have proposed methods such as hot update and dynamic distribution. Without user operation, some functions in the application are automatically updated by sending update data to the terminal. However, the built-in resource files of the application are usually static. Based on this, the update data and the existing built-in resource files are prone to incompatibility, which may cause the application to run abnormally. In more serious cases, it may cause the program to crash, seriously affecting the user's experience of using the application on the terminal. Summary of the invention
[0004] In view of this, the embodiments of the present application provide an application interface update method, terminal device, service device and storage medium, which can automatically update the application program and improve the stability of the application program operation, thereby reducing the risk of abnormal operation of the application program.
[0005] An embodiment of the present application provides an application interface updating method, which is applied to a terminal device, comprising: in response to the startup of an application, sending software version information of the application to a service device, so that the service device obtains a first business package installation list corresponding to the software version information, wherein the first business package installation list is used to record the version information of the required business package corresponding to each application interface; in response to receiving the first business package installation list fed back by the service device, determining the target application interface and determining the acquisition address of the required business package corresponding to the target application interface according to the first business package installation list and a local second business package installation list, wherein the second business package installation list is used to record the version information of the current business package corresponding to each application interface in the application, and the version information of the current business package corresponding to the target application interface is different from the version information of the required business package; based on the acquisition address of the required business package corresponding to the target application interface, updating the current business package corresponding to the target application interface to obtain the target business package of the target application interface; in response to receiving the display input of the target application interface, displaying the target application interface based on the target business package, and providing interface interaction information based on the target business package.
[0006] Optionally, according to an embodiment of the present application, determining the target application interface and the acquisition address of the required business package corresponding to the target application interface includes: detecting whether the required business package corresponding to the target application interface is stored locally based on the version information of the required business package corresponding to the target application interface; if the required business package corresponding to the target application interface is stored locally, determining the address of the locally stored required business package corresponding to the target application interface as the acquisition address.
[0007] Optionally, according to an embodiment of the present application, the first business package installation list also includes a request address for each required business package; determining the target application interface and the acquisition address of the required business package corresponding to the target application interface, including: when the required business package corresponding to the target application interface is not stored locally, using the request address of the required business package corresponding to the target application interface as the acquisition address; based on the acquisition address of the required business package corresponding to the target application interface, updating the current business package corresponding to the target application interface to obtain the target business package of the target application interface, including: based on the acquisition address of the required business package corresponding to the target application interface, requesting a business update package for the target application interface from the service device, so that the service device generates a business update package based on the difference data between the required business package of the target application interface and the basic operating package corresponding to the version information; in response to receiving the business update package feedback from the service device, updating the current business package corresponding to the target application interface to obtain the target business package of the target application interface.
[0008] Optionally, according to an embodiment of the present application, the method also includes: in response to receiving a display input of a target application interface, obtaining operation information of a target business package; when the operation information includes operation exception information, obtaining a first business package of the target application interface, and based on displaying the target application interface, and providing interface interaction information based on the first business package, wherein the first business package is a business package of the target application interface before the terminal device is updated.
[0009] Optionally, according to an embodiment of the present application, obtaining the operating information of the target business package includes: in the process of displaying the target application interface based on the target business package, monitoring the operating status of the target business package, and when the operating status is monitored to be a terminated state, determining that the operating information includes operating abnormality information.
[0010] Optionally, according to an embodiment of the present application, the target application interface includes an interactive control; obtaining the operation information of the target business package also includes: in the process of displaying the target application interface based on the target business package, obtaining the display status information of the interactive control; when the display status information is inconsistent with the preset display status information of the interactive control, determining that the operation information includes operation exception information.
[0011] An embodiment of the present application provides an application interface updating method, which is applied to a service device, and the method includes: receiving software version information of an application software sent by a terminal device; obtaining a first business package installation list corresponding to the software version information based on the software version information, wherein the first business package installation list is used to record the version information of the required business package corresponding to each application interface; sending the first business package installation list to the terminal device, so that the terminal device determines the target application interface and determines the acquisition address of the required business package corresponding to the target application interface based on the first business package installation list and the local second business package installation list, wherein the second business package installation list is used to record the version information of the current business package corresponding to each application interface in the application program, and the version information of the current business package corresponding to the target application interface is different from the version information of the required business package; and, based on the acquisition address of the required business package corresponding to the target application interface, the terminal device updates the current business package corresponding to the target application interface to obtain the target business package of the target application interface; and the terminal device displays the target application interface based on the target business package, and provides interface interaction information based on the target business package.
[0012] Optionally, according to an embodiment of the present application, the first business package installation list also includes a request address for each required business package; the method also includes: receiving a business package update request sent by a terminal device based on the acquisition address of the required business package corresponding to the above-mentioned target application interface; in response to the business package update request, acquiring the required business package corresponding to the target application interface according to the acquisition address of the required business package corresponding to the target application interface; generating a business update package based on the difference data between the required business package of the target application interface and the basic operating package corresponding to the version information.
[0013] Optionally, according to an embodiment of the present application, after the service update package of the target application interface is fed back to the terminal device, the method also includes: obtaining operation information of the target service package of the terminal device; generating a deletion instruction if the operation information of the target service package does not include operation abnormality information within a preset time period; sending a deletion instruction to the terminal device to enable the terminal device to delete the first service package of the target application interface, wherein the first service package is the service package of the target application interface before the terminal device is updated.
[0014] The embodiment of the present application provides a terminal device, including: a first sending module, which is used to send the software version information of the application to the service device in response to the application startup, so that the service device obtains the first business package installation list corresponding to the software version information, wherein the first business package installation list is used to record the version information of the required business package corresponding to each application interface; a first processing module, which is used to determine the target application interface and the acquisition address of the required business package corresponding to the target application interface according to the first business package installation list and the local second business package installation list in response to receiving the first business package installation list fed back by the service device, wherein the second business package installation list is used to record the version information of the current business package corresponding to each application interface in the application, and the version information of the current business package corresponding to the target application interface is different from the version information of the required business package; the first processing module is also used to update the current business package corresponding to the target application interface based on the acquisition address of the required business package corresponding to the target application interface to obtain the target business package of the target application interface; the display module is also used to display the target application interface based on the target business package in response to receiving the display input of the target application interface, and provide interface interaction information based on the target business package.
[0015] The embodiment of the present application provides a service device, including: a second receiving module, used to receive software version information of application software sent by a terminal device; a second processing module, used to obtain a first business package installation list corresponding to the software version information according to the software version information, wherein the first business package installation list is used to record the version information of the required business package corresponding to each application interface; a second sending module, used to send the first business package installation list to the terminal device, so that the terminal device determines the target application interface according to the first business package installation list and the local second business package installation list, and determines the acquisition address of the required business package corresponding to the target application interface, wherein the second business package installation list is used to record the version information of the current business package corresponding to each application interface in the application program, and the version information of the current business package corresponding to the target application interface is different from the version information of the required business package; and, based on the acquisition address of the required business package corresponding to the target application interface, the terminal device updates the current business package corresponding to the target application interface to obtain the target business package of the target application interface; and the terminal device displays the target application interface based on the target business package, and provides interface interaction information based on the target business package.
[0016] An embodiment of the present application provides an electronic device, which includes a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, the steps of the method described above are implemented.
[0017] An embodiment of the present application provides a computer-readable storage medium, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the steps of the method described above are implemented.
[0018] An embodiment of the present application provides a computer program product, wherein the computer program product includes computer program instructions, and when the computer program instructions are executed by a processor, the steps of the method described above are implemented.
[0019] According to the embodiment of the present application, after the terminal device starts the application, it can actively send the software version information of the current application to the service device. Thus, the service device can find the version information of the required service package corresponding to each application interface according to the software version information, and send this information to the terminal device. The terminal device can combine the received version information of the required service package corresponding to each application interface with the version information of the current service package corresponding to each local application interface to determine the target application interface that needs to be updated and the acquisition address of the required service package corresponding to the target application interface. Afterwards, based on the acquisition address of the required service package corresponding to the target application interface, the current service package corresponding to the target application interface is updated to obtain the target service package of the target application interface. Since the target service package is updated based on the existing basic operation package and interaction protocol of the terminal device, the target service package obtained after the update can be well adapted to the operation version of the current application, reducing the risk of abnormal operation of the application. Afterwards, in response to receiving the display input of the target application interface, the target application interface can be automatically displayed based on the target service package, and stable interface interaction information can be provided based on the target service package to achieve automatic update of the application, and more accurate update services can be provided for the applications installed on each terminal device. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following briefly introduces the drawings in the embodiments of the present application.
[0021] Figure 1 It is a schematic diagram of the system architecture of an embodiment of the present application.
[0022] Figure 2 It is a flowchart of a method for updating an application interface according to an embodiment of the present application.
[0023] Figure 3 It is a flowchart of another application interface updating method according to an embodiment of the present application.
[0024] Figure 4 It is a schematic diagram of a process for generating a service update package according to an embodiment of the present application.
[0025] Figure 5 It is a flowchart of another method for updating an application interface according to an embodiment of the present application.
[0026] Figure 6 It is a structural block diagram of the terminal device of an embodiment of the present application.
[0027] Figure 7 It is a structural block diagram of the service device of an embodiment of the present application.
[0028] Figure 8It is a schematic diagram of an electronic device used to implement the method for updating the application interface of an embodiment of the present application. DETAILED DESCRIPTION
[0029] The principles and spirit of the present application will be described below with reference to several exemplary embodiments. It should be understood that the purpose of providing these embodiments is to make the principles and spirit of the present application clearer and more thorough, so that those skilled in the art can better understand and implement the principles and spirit of the present application. The exemplary embodiments provided herein are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments herein, all other embodiments obtained by ordinary technicians of the art without creative work are within the scope of protection of this application. It should be noted that the acquisition, storage, use, processing, etc. of data in the embodiments of the present application comply with the relevant provisions of national laws and regulations.
[0030] In this document, terms such as first, second, third, etc. are only used to distinguish one entity (or operation) from another entity (or operation), but not to require or imply any order or relationship between these entities (or operations).
[0031] The embodiments of the present application relate to terminal devices and / or servers. It is known to those skilled in the art that the embodiments of the present application can be implemented as a system, device, equipment, method, computer-readable storage medium or computer program product. Therefore, the present disclosure can be specifically implemented in at least one of the following forms: complete hardware, complete software, or a combination of hardware and software. According to the embodiments of the present application, the present application requests protection for an application interface update method, terminal device, service device and storage medium. Figure 1 A schematic diagram of a system architecture of an embodiment of the present application is shown. Figure 1As shown, the system includes a terminal device 102 and a server 104. Among them, the terminal device 102 may include at least one of the following: a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart TV, various wearable devices, an augmented reality AR device, a virtual reality VR device, etc. A client can be installed on the terminal device 102. For example, the client can be a client that specifically performs a specific function (such as an application app), or a client with multiple application applets (different functions) embedded in it, or a client logged in through a browser. The user can operate on the terminal device 102. For example, the user can open the client installed on the terminal device 102 and input instructions through the client operation, or the user can open the browser installed on the terminal device 102 and input instructions through the browser operation. After the terminal device 102 receives the instruction input by the user, the request information containing the instruction is sent to the server 104. After receiving the request information, the server 104 performs corresponding processing and then returns the processing result information to the terminal device 102. The user instruction is completed through a series of data processing and information interaction.
[0032] In order to more clearly introduce the embodiment of the present application, the updating method of the application interface provided by the embodiment of the present application is introduced below with reference to the accompanying drawings.
[0033] Figure 2 A schematic diagram of a flow chart of an application interface update method according to an embodiment of the present application is shown. The application interface update can be applied to a terminal device. Figure 2 As shown, the method for updating the application interface includes the following steps 201 to 204.
[0034] Step 201, in response to application startup, the software version information of the application is sent to the service device, so that the service device obtains a first service package installation list corresponding to the software version information, wherein the first service package installation list is used to record the version information of the required service packages corresponding to each application interface.
[0035] Step 202, in response to receiving the first business package installation list fed back by the service device, determine the target application interface and the acquisition address of the required business package corresponding to the target application interface according to the first business package installation list and the local second business package installation list, wherein the second business package installation list is used to record the version information of the current business package corresponding to each application interface in the application, and the version information of the current business package corresponding to the target application interface is different from the version information of the required business package.
[0036] Step 203: based on the acquisition address of the required service package corresponding to the target application interface, the current service package corresponding to the target application interface is updated to obtain the target service package of the target application interface.
[0037] Step 204 , in response to receiving the display input of the target application interface, displaying the target application interface based on the target service package, and providing interface interaction information based on the target service package.
[0038] The above steps are described in detail below in conjunction with specific embodiments, as shown below.
[0039] First, referring to the above step 201, when the application is started, the software version information of the currently installed application can be actively sent to the service device.
[0040] The software version information may be used to identify the version of the application currently installed in the terminal device. Optionally, the software version information may include version information of the basic operation package and interactive protocol version information.
[0041] The service device refers to the pre-maintained service package installation list based on the received software version information, including the version information of the required service package corresponding to each application interface corresponding to the software version information. The version information of the required service package corresponding to the application interface can be the latest service package version information or the historical service package version information.
[0042] After finding the first service package installation list corresponding to the software version information, the service device may send the first service package installation list to the terminal device.
[0043] The first business package installation list may be different for different terminal devices, and even if the model is the same, the corresponding first business package installation list may be different for different terminal devices. Therefore, based on the first business package installation list provided by the service device, a more accurate update service can be provided based on the actual situation of the applications installed on each terminal device.
[0044] In some embodiments, each service package may include interface-related codes, resources, and configuration parameters to display an application interface and provide interface interaction functions.
[0045] Among them, one application can correspond to multiple business packages, each business package can include code, resources and configuration parameters related to one application interface, and each business package can also include code, resources and configuration parameters related to multiple application interfaces. In a business package, when code, resources and configuration parameters related to multiple application interfaces are included, there are mutual associations between multiple application interfaces, for example, there is a jump relationship between two application interfaces.
[0046] When the application is started, the terminal device sends the version information of the basic operation package, the interactive protocol version information and the software version information to the service device. The service device can find the version information of the required business packages corresponding to each application interface based on the version information of the basic operation package, the interactive protocol version information and the software version information of the current terminal.
[0047] After the terminal device receives the version information of the required service package corresponding to each application interface, the next step involves step 202. According to the first service package installation list and the local second service package installation list, the target application interface is determined. Specifically, the terminal device can obtain the version information of the current service package corresponding to each application interface in the local application, that is, the second service installation package list, and by comparing the first service package installation list with the local second service package installation list, find out the application interface whose version information of the current service package is different from the version information of the required service package, which is the target application interface.
[0048] Exemplarily, when the number of target application interfaces corresponding to the current business package is one, the number of target application interfaces corresponding to the business update package is one; when the number of mutually associated target application interfaces corresponding to the current business package is multiple, the business update package corresponds to multiple mutually associated target application interfaces.
[0049] After determining the target application interface, it is also necessary to determine the acquisition address of the required business package corresponding to the target application interface. Optionally, the terminal device can search whether there is a corresponding business package locally based on the version information of the required business package. If there is a corresponding business package locally, the local storage address can be directly used as the acquisition address. If there is no corresponding business package locally, the address of requesting the business package from the service device can be used as the acquisition address.
[0050] Based on the acquisition address of the required service package corresponding to the target application interface, in step 203, the current service package corresponding to the target application interface can be updated to obtain the target service package of the target application interface.
[0051] Based on this, the operation logic of the target application interface in the application updated according to the service update package of the terminal device can be well adapted to the running version of the current application and realize automatic update of the application.
[0052] In some embodiments, after the application is started, the user can operate any application interface in the application, including but not limited to the target application interface. If the user uses the application, in step 204, the terminal device receives a display input to open the target application interface, the terminal device can display the target application interface based on the target business package and provide interface interaction information based on the target business package.
[0053] Based on this, when users are using the application, the overall stability and fluency of the application is provided, the risk of abnormal operation of the application is reduced, and the business packages corresponding to some application interfaces can be updated without disturbing the users, so as to update some functions in the application and provide users with the latest interface display content. At the same time, more accurate update services can also be provided for the applications installed on each terminal device.
[0054] In addition, based on the embodiments of the present application, since the target business package is a business package that needs to be updated based on the version information of the basic operating package installed on the terminal device and the interactive protocol version information, the updated target business package is effectively compatible with the existing operating environment of the terminal device, thereby improving the reliability of the update and user experience, helping to reduce application errors and crashes caused by improper updates, and improving the stability of the application.
[0055] In some embodiments of the present application, determining the target application interface and the acquisition address of the required business package corresponding to the target application interface may specifically include the following steps: detecting whether the required business package corresponding to the target application interface is stored locally based on the version information of the required business package corresponding to the target application interface; if the required business package corresponding to the target application interface is stored locally, determining the address of the required business package corresponding to the target application interface stored locally as the acquisition address.
[0056] Exemplarily, the terminal device can search whether there is a corresponding business package locally based on the version information of the required business package. If there is a corresponding business package locally, the local storage address can be directly used as the acquisition address. Based on this, since there is a corresponding business package locally, the terminal device can directly use the local corresponding business package as the target business package to display the target application interface after receiving the display input language of the target application interface, and provide interface interaction information based on the target business package. Not only can the application be updated seamlessly and at high speed, but the stability of the updated target business package running on the terminal device can also be improved, the risk of abnormal operation of the application can be reduced, and more accurate update services can be provided for the applications installed on each terminal device.
[0057] In some embodiments of the present application, the first business package installation list also includes a request address for each required business package; based on this, determining the target application interface and the acquisition address of the required business package corresponding to the target application interface may also include the following steps: if the required business package corresponding to the target application interface is not stored locally, using the request address of the required business package corresponding to the target application interface as the acquisition address.
[0058] Accordingly, based on the acquisition address of the required business package corresponding to the target application interface, the current business package corresponding to the target application interface is updated to obtain the target business package of the target application interface. Specifically, the following steps may be included: based on the acquisition address of the required business package corresponding to the target application interface, a business update package of the target application interface is requested from the service device, so that the service device generates a business update package based on the difference data between the required business package of the target application interface and the basic operation package corresponding to the version information; in response to the business update package fed back by the service device, the current business package corresponding to the target application interface is updated to obtain the target business package of the target application interface.
[0059] Exemplarily, when the required business package corresponding to the target application interface is not stored locally, the required business package may be a historical business package, which the terminal device has deleted locally, and the terminal device needs to request a business update package based on the acquisition address; the required business package may also be the latest business package, and the terminal device needs to request a business update package based on the acquisition address.
[0060] After determining the target application interface, the terminal device can determine the request address of the target application interface corresponding to the required business package in the first business package installation list, that is, obtain the address. After that, a business package update request can be sent to the service device according to the request address of the required business package. After receiving the business package update request, the service device can recognize that the business package update request includes the request address, so as to find the required business package of the target application interface according to the request address. It can be understood that the required business package includes business operation data.
[0061] Specifically, the service device can obtain basic operating data based on the software version information of the application program, and the basic operating data includes basic business operating data and interactive protocol data; obtain data that is not duplicated with the basic operating data from the business operation data of the required business package of the target application interface, and obtain the target business operation data; package the target business operation data to obtain a business update package for the target application interface.
[0062] The service update package may include the incremental data required for upgrading the target application interface from the current service package to the required service package. Since the service update package is determined based on the difference data between the required service package of the target application interface and the corresponding basic operation data of the application, the data volume of the service update package is small, which reduces the amount of data that needs to be transmitted due to the update, thereby reducing the time and traffic consumption required for the update.
[0063] The operation logic of the target application interface in the application updated according to the service update package of the terminal device can well adapt to the running version of the current application, realize automatic update of the application, and reduce the risk of abnormal operation of the application. Afterwards, in response to receiving the display input of the target application interface, the target application interface can be displayed based on the target business package, and stable interface interaction information can be provided based on the target business package, thereby providing more accurate update services for the applications installed on each terminal device.
[0064] In some embodiments of the present application, optionally, after the terminal device receives a display input for opening a target application interface and displays the target application interface based on a target business package, the following steps may also be included: in response to receiving the display input for the target application interface, obtaining operation information of the target business package; when the operation information includes operation exception information, obtaining a first business package of the target application interface, and based on displaying the target application interface, providing interface interaction information based on the first business package, wherein the first business package is a business package of the target application interface before the terminal device is updated.
[0065] Specifically, by acquiring the operation information, it can be detected whether the terminal device can normally display the target application interface based on the target service package, and whether it can provide accurate interface interaction information.
[0066] When the operation information includes operation exception information, the terminal device can roll back to the previous stable version of the target application interface, that is, the first business package. The first business package refers to the business package corresponding to the target application interface before it is updated on the terminal device. This business package includes the version code and resources of the target application interface and other operation data, which has higher operation stability and reliability.
[0067] In an embodiment of the present application, after generating a target business package based on a business update package, the terminal device does not directly delete the business package of the target application interface before the update of the terminal device, that is, the first business package, but detects the operating information included in the target business. In particular, when a problem with the new version of the business package is detected, it can automatically roll back to a stable version of the business package, so that the application can continue to display normally, provide interface interaction information, and improve the convenience of users using the application.
[0068] Optionally, after each abnormal operation information appears, the operation information of the target data packet may be sent to the service terminal, so that the service device may analyze the operation information of the target data packet to optimize the subsequent update method.
[0069] Optionally, after the terminal device installs the target data package, if no abnormal operation information is reported to the service device within a preset time period, the service device can issue a deletion instruction of the target data package, and then the terminal device responds to the instruction and deletes the previous stable version of the target application interface, that is, the first service package. Based on this, the operating space of the terminal device can be saved, making the application program more stable and reliable.
[0070] In some embodiments of the present application, obtaining the operating information of the target business package may specifically include: in the process of displaying the target application interface based on the target business package, monitoring the operating status of the target business package, and when the operating status is monitored to be a terminated state, determining that the operating information includes operating abnormality information.
[0071] For example, if the target service package is found to be in a terminated state during monitoring, that is, the application interface cannot be displayed or responded normally, the system will determine that the operation information contains abnormal operation information, which indicates that there may be a problem with the target service package and abnormal handling is required.
[0072] In some embodiments of the present application, the target application interface includes an interactive control; obtaining the operating information of the target business package may also include the following steps: in the process of displaying the target application interface based on the target business package, obtaining the display status information of the interactive control; when the display status information is inconsistent with the preset display status information of the interactive control, determining that the operating information includes operating abnormality information.
[0073] Exemplary, interactive controls are such as buttons, input boxes, etc. Optionally, the display status information of the interactive controls can be determined by detection methods such as embedded point detection and interface verification. For example, after receiving the user's input for the interactive control, whether the terminal device sends preset interactive information to the preset interface associated with the interactive control, etc. If the interactive information is not sent or the interactive information does not conform to the preset information format, it means that the interactive control is not displayed with the preset display status information, which will make the display status information inconsistent with the preset display status information of the interactive control.
[0074] As a specific example, the target application interface includes a coupon collection control. After the user inputs the coupon collection control, the display status information detection content includes but is not limited to whether a coupon pop-up window is displayed, whether the amount of the coupon displayed in the pop-up window is the correct amount, whether the user successfully collects the coupon after the pop-up window, etc.
[0075] According to an embodiment of the present application, when a problem with a new version of a business package is detected, it is possible to automatically roll back to a stable version of the business package so that the application can continue to display normally and provide interface interaction information to deal with problems that may arise after the application is updated, thereby improving the stability of the application and user experience and reducing user distress caused by update failures.
[0076] In some embodiments of the present application, before responding to receiving display input of the target application interface, displaying the target application interface based on the target business package, and providing interface interaction information based on the target business package, the method also includes: performing an integrity check on the target business package and generating a check result; the method also includes: when the check result passes the integrity check, in response to receiving display input of the target application interface, displaying the target application interface based on the target business package, and providing interface interaction information based on the target business package.
[0077] Specifically, the integrity check can verify whether the target service packet remains intact during transmission and has not been tampered with or damaged. Optionally, the integrity of the target service packet can be checked based on the size of the target service packet, MD5 value, etc., and the verification method is not specifically limited here.
[0078] When the verification result is that the integrity check has passed, the terminal device can display the target application interface based on the target business package upon receiving the display input of the target application interface, and provide interface interaction information based on the target business package.
[0079] According to the embodiments of the present application, integrity verification can not only improve the stability of application operation, but also reduce the security risks caused by malicious software or data corruption.
[0080] In some embodiments of the present application, when the verification result is that the integrity check fails, a first business package of the target application interface is obtained, and the target application interface is displayed based on the first business package, and interface interaction information is provided based on the first business package.
[0081] Specifically, if the verification result is that the integrity check fails, the terminal device can fall back to the previous stable version of the target application interface, that is, use the first business package to display the target application interface, so that the application can continue to display normally and provide interface interaction information, thereby improving the stability of the application and user experience, and reducing user troubles caused by update failures.
[0082] In some embodiments of the present application, Figure 3 A schematic diagram of a flow chart of another method for updating an application interface according to an embodiment of the present application is shown. The updating of the application interface can be applied to a service device. Figure 3 As shown, the method for updating the application interface includes the following steps 301 to 303.
[0083] Step 301: Receive software version information of application software sent by a terminal device.
[0084] Step 302: According to the software version information, a first service package installation list corresponding to the software version information is obtained, wherein the first service package installation list is used to record the version information of the required service packages corresponding to each application interface.
[0085] Step 303, sending the first service package installation list to the terminal device, so that the terminal device determines the target application interface and the acquisition address of the required service package corresponding to the target application interface according to the first service package installation list and the local second service package installation list.
[0086] Among them, the second business package installation list is used to record the version information of the current business package corresponding to each application interface in the application, and the version information of the current business package corresponding to the target application interface is different from the version information of the required business package; and, based on the acquisition address of the required business package corresponding to the target application interface, the terminal device updates the current business package corresponding to the target application interface to obtain the target business package of the target application interface; and enables the terminal device to display the target application interface based on the target business package, and provide interface interaction information based on the target business package.
[0087] Specifically, in step 301 and step 302, when the application is started, the terminal device can actively send the software version information of the currently installed application to the service device. The software version information can be used to identify the version information of the current basic operation package and the interactive protocol version information in the terminal device.
[0088] The service device refers to the pre-maintained service package installation list based on the received software version information: including the version information of the required service package corresponding to each application interface corresponding to the software version information. Among them, the version information of the required service package corresponding to the application interface can be the version information of the latest service package or the version information of the historical service package. After finding the first service package installation list corresponding to the software version information, the service device can send the first service package installation list to the terminal device.
[0089] The first business package installation list may be different for different terminal devices, and even if the model is the same, the corresponding first business package installation list may be different for different terminal devices. Therefore, the first business package installation list provided by the server is a more accurate update service provided in combination with the actual situation of the applications installed on each terminal device.
[0090] Involving step 303, after the service device sends the first business package installation list to the terminal device, the service device can determine the target application interface based on the first business package installation list and the local second business package installation list, as well as the acquisition address of the required business package corresponding to the target application interface, and based on the acquisition address of the required business package corresponding to the target application interface, update the current business package corresponding to the target application interface to obtain the target business package of the target application interface; and enable the terminal device to display the target application interface based on the target business package, and provide interface interaction information based on the target business package.
[0091] Based on this, the operation logic of the target application interface in the application updated according to the service update package of the terminal device can be well adapted to the running version of the current application and realize automatic update of the application.
[0092] Based on this, users can ensure the stability and smoothness of the application as a whole during the use of the application, reduce the risk of abnormal operation of the application, and update some functions in the application without disturbing the user, providing the user with the latest interface display content. At the same time, more accurate update services can also be provided for the applications installed on each terminal device.
[0093] In some embodiments, the first business package installation list sent to the terminal device also includes a request address for each required business package; based on this, the service device can receive a business package update request sent by the terminal device based on the acquisition address of the required business package corresponding to the target application interface mentioned above; in response to the business package update request, the required business package corresponding to the target application interface is acquired according to the acquisition address of the required business package corresponding to the target application interface; and a business update package is generated based on the difference data between the required business package of the target application interface and the basic operating package corresponding to the version information.
[0094] Exemplarily, the basic operation package may refer to all the runtime library files that the basic library in the application depends on. All the runtime library files that the basic library in the application depends on are integrated to generate a basic bundle. This basic bundle contains the library files necessary for the application to run, and records a list of all dependent basic runtime libraries. This list is saved in the server's file or database to facilitate subsequent version management and updates. After the service device obtains the required business package and the basic operation package of the target application interface, it compares the operation data in the two packages, obtains the operation data in the required business package that is not duplicated with the business operation data in the basic operation package, and obtains the target business operation data.
[0095] In an optional example, the service device can use the ReactNative cross-platform framework (RN for short) so that it can run on three platforms, Android, iOS, and Web, based on a set of js codes. Information interaction can be carried out between the service device and the terminal device based on the preset RN interaction protocol, so that after the service device sends the business update package, the terminal device has the ability to call the native. The terminal device can pre-configure the RN container, so that whether it is an Android, iOS client, or a client of other systems, it can correctly run the bundle package, that is, the business package of each application interface, and then display each application interface.
[0096] The basic runtime package can include the basic runtime library dependency. All runtime library files of the basic library dependency are integrated to generate the basic bundle, which can record the basic runtime library list of all dependencies during the generation process. The basic runtime package can be saved as a configuration and placed in the service device, or in a database accessible to the service device.
[0097] The first service package installation list can be used as a general directory file (entry-file) to record the version information of the required service packages corresponding to each application interface, specifically, all application interfaces (js files) of the current service based on the RN framework and references to runtime files. Based on the content included in the first service package installation list, the target application interface that needs to be updated can be easily found.
[0098] For example, Figure 4 This is a schematic diagram of a process for generating a service update package provided by an embodiment of the present application, combined with Figure 4 As shown. The service device can pre-run the script using the entry-file of the basic library through the metro tool to integrate all runtime files that the basic library depends on to generate a basic bundle, and record all dependent basic runtime packages during the generation process. The basic runtime package can be saved as a configuration and placed in the service device, or in a database that the service device can access.
[0099] When generating a service update package for the target application interface, the service device runs a script, combines the first service package installation list, obtains the required service package for the target application interface, for example, the entry-file corresponding to the target application interface, compares the basic operation package stored on the service device through the Metro tool, eliminates the basic operation library dependency, and packages the operation data in the first service package that is not repeated with the business operation data in the basic operation package to generate the service package update data, that is, the service bundle corresponding to the target application interface. Thus, the sub-packaging of the first service package of the target application interface is completed.
[0100] According to the embodiment of the present application, the stability of the application can be improved, and the first application interface can be automatically provided to the user's terminal device, while reducing the network traffic consumption and storage space occupation caused by the comprehensive update of the application. In addition, this method also improves the flexibility and response speed of the update, so that the application can provide the latest application services to the user in a timely manner.
[0101] In some embodiments of the present application, after the service update package of the target application interface is fed back to the terminal device, the method also includes: obtaining the operation information of the target service package of the terminal device; if the operation information of the target service package does not include operation abnormality information within a preset time period, generating a deletion instruction; sending the deletion instruction to the terminal device to enable the terminal device to delete the first service package of the target application interface, wherein the first service package is the service package of the target application interface before the terminal device is updated.
[0102] Specifically, the service device can receive the operation information sent by the terminal device in real time, and detect whether the operation information includes operation abnormality information. In this way, the service device can analyze the operation information of the target data packet to optimize the subsequent update method.
[0103] Optionally, after the terminal device installs the target data package, if no abnormal operation information is reported to the service device within a preset time period, the service device may issue a deletion instruction of the first data package, and then the terminal device responds to the instruction and deletes the previous stable version of the target application interface, that is, the first service package. Based on this, the operating space of the terminal device can be saved, making the application program more stable and reliable.
[0104] The above describes the implementation methods and advantages of the embodiments of the present application through multiple embodiments. The following describes the specific processing process of the embodiments of the present application in detail with reference to specific examples.
[0105] Figure 5 FIG. 1 is a flow chart of another method for updating an application interface provided in an embodiment of the present application. Figure 5 As shown, the method may include steps 501 to 508.
[0106] Step 501: In response to the application being started, the terminal device sends software version information of the application to the service device.
[0107] By sending the software version information of the application to the service device, the service update package can be preloaded before the application interface is displayed.
[0108] Step 502: The service device obtains a first service package installation list corresponding to the software version information.
[0109] The first service package installation list is used to record the version information of the required service packages corresponding to each application interface.
[0110] Step 503: The terminal device determines the target application interface according to the first service package installation list and the local second service package installation list.
[0111] The version information of the current service package corresponding to the target application interface is different from the version information of the required service package.
[0112] Step 504: the terminal device updates the current service package corresponding to the target application interface based on the acquisition address of the required service package corresponding to the target application interface, and obtains the target service package of the target application interface.
[0113] The terminal device can obtain the version information of the current business package corresponding to each application interface in the local application, that is, the second business installation package list, and by comparing the first business package installation list with the local second business package installation list, find the application interface whose version information of the current business package is different from the version information of the required business package, which is the target application interface.
[0114] Based on this, the process of preloading the service update package is completed.
[0115] After the application is started, the user can operate any application interface in the application, including but not limited to the target application interface. If the terminal device receives a display input to open the target application interface during the user's use of the application, step 505 is involved. Optionally, before executing step 505, the terminal device can perform an integrity check on the target service package and generate a verification result; and if the verification result passes the integrity check, step 505 is allowed to be executed.
[0116] Step 505 : In response to receiving the display input of the target application interface, the terminal device displays the target application interface based on the target service package and provides interface interaction information based on the target service package.
[0117] Based on this, users can ensure the stability and smoothness of the application as a whole during the use of the application, reduce the risk of abnormal operation of the application, and update some functions in the application without disturbing the user, providing the user with the latest interface display content. At the same time, more accurate update services can also be provided for the applications installed on each terminal device.
[0118] The process of displaying the target application interface involves steps 506 to 509 .
[0119] Step 506: The terminal device obtains the operation information of the target service package, and when the operation information includes operation abnormality information, displays the target application interface and provides interface interaction information based on the first service package.
[0120] The first service package is a service package of the target application interface before the terminal device is updated.
[0121] Step 507: The terminal device sends the operation information of the target service package to the service device.
[0122] Step 508: the service device obtains the operation information of the target data packet of the terminal device, and sends a deletion instruction of the target data packet to the terminal device if the operation information of the target data packet does not include operation abnormality information within a preset time period.
[0123] In addition, the service device may also update the first service package installation list according to the version information of the target data package.
[0124] Step 509: The terminal device deletes the first service package in response to the deletion instruction.
[0125] Optionally, after the terminal device installs the target data package, if no abnormal operation information is reported to the service device within a preset time period, the service device can issue a deletion instruction of the target data package, and then the terminal device responds to the instruction and deletes the previous stable version of the target application interface, that is, the first service package. Based on this, the operating space of the terminal device can be saved, making the application program more stable and reliable.
[0126] Corresponding to the method embodiment of the present application, the present application also provides a terminal device, such as Figure 6 As shown, the terminal device 600 includes: a first sending module 601 , a first processing module 602 and a display module 603 .
[0127] The first sending module 601 is used to send the software version information of the application to the service device in response to the application startup, so that the service device obtains the first business package installation list corresponding to the software version information, which is used to record the version information of the required business packages corresponding to each application interface.
[0128] The first processing module 602 is used to respond to the first business package installation list received from the service device, determine the target application interface and the acquisition address of the required business package corresponding to the target application interface according to the first business package installation list and the local second business package installation list, wherein the second business package installation list is used to record the version information of the current business package corresponding to each application interface in the application, and the version information of the current business package corresponding to the target application interface is different from the version information of the required business package.
[0129] The first processing module 602 is further configured to update the current service package corresponding to the target application interface based on the acquisition address of the required service package corresponding to the target application interface, and obtain the target service package of the target application interface.
[0130] The display module 603 is further configured to display the target application interface based on the target business package in response to receiving a display input of the target application interface, and provide interface interaction information based on the target business package.
[0131] Optionally, in some embodiments of the present application, the first processing module 602 is further configured to detect whether a required service package corresponding to the target application interface is stored locally according to version information of the required service package corresponding to the target application interface.
[0132] The first processing module 602 is further configured to determine the address of the locally stored required service package corresponding to the target application interface as the acquisition address when the locally stored required service package corresponding to the target application interface is stored.
[0133] Optionally, in some embodiments of the present application, the first service package installation list also includes a request address for each required service package.
[0134] The first processing module 602 is further configured to use the request address of the required service package corresponding to the target application interface as the acquisition address when the required service package corresponding to the target application interface is not stored locally.
[0135] The first processing module 602 is also used to request a service update package of the target application interface from the service device based on the acquisition address of the required service package corresponding to the target application interface, so that the service device generates a service update package based on the difference data between the required service package of the target application interface and the basic operation package corresponding to the version information.
[0136] The first processing module 602 is further configured to update a current service package corresponding to the target application interface in response to receiving a service update package fed back by the service device, and obtain a target service package of the target application interface.
[0137] Optionally, in some embodiments of the present application, the first processing module 602 is further configured to obtain operation information of a target service package in response to receiving a display input of a target application interface.
[0138] The first processing module 602 is also used to obtain the first business package of the target application interface when the operation information includes operation abnormality information, and to display the target application interface and provide interface interaction information based on the first business package, wherein the first business package is the business package of the target application interface before the terminal device is updated.
[0139] Optionally, in some embodiments of the present application, the first processing module 602 is also used to monitor the running status of the target business package in the process of displaying the target application interface based on the target business package, and when the running status is monitored to be a terminated state, determine that the running information includes running abnormality information.
[0140] Optionally, in some embodiments of the present application, the target application interface includes interactive controls.
[0141] The first processing module 602 is further configured to obtain display status information of the interactive control during the process of displaying the target application interface based on the target business package.
[0142] The first processing module 602 is further configured to determine that the operation information includes abnormal operation information when the display state information is inconsistent with the preset display state information of the interactive control.
[0143] It can be understood that the terminal device of the embodiment of the present application can correspond to the execution subject of the application interface update method provided in the embodiment of the present application. The specific details of the operation and / or function of each module / unit of the terminal device can be found in the description of the corresponding parts of the application interface update method provided in the above-mentioned embodiment of the present application. For the sake of brevity, they will not be repeated here.
[0144] Corresponding to the method embodiment of the present application, the present application also provides a service device, such as Figure 7 As shown, the terminal device 700 includes: a second receiving module 701, a second processing module 702 and a second sending module 703.
[0145] The second receiving module 701 is used to receive software version information of application software sent by a terminal device.
[0146] The second processing module 702 is used to obtain, according to the software version information, a first service package installation list corresponding to the software version information, wherein the list is used to record the version information of the required service packages corresponding to each application interface.
[0147] The second sending module 703 is used to send the first business package installation list to the terminal device, so that the terminal device determines the target application interface and the acquisition address of the required business package corresponding to the target application interface according to the first business package installation list and the local second business package installation list, wherein the second business package installation list is used to record the version information of the current business package corresponding to each application interface in the application, and the version information of the current business package corresponding to the target application interface is different from the version information of the required business package; and, based on the acquisition address of the required business package corresponding to the target application interface, the terminal device updates the current business package corresponding to the target application interface to obtain the target business package of the target application interface; and enables the terminal device to display the target application interface based on the target business package, and provide interface interaction information based on the target business package.
[0148] Optionally, in some embodiments of the present application, the first service package installation list also includes a request address for each required service package; the second receiving module 701 is also used to receive a service package update request sent by the terminal device based on the acquisition address of the required service package corresponding to the above-mentioned target application interface.
[0149] The second processing module 702 is further configured to respond to the service package update request and obtain the required service package corresponding to the target application interface according to the acquisition address of the required service package corresponding to the target application interface.
[0150] The second processing module 702 is further used to generate a service update package according to the difference data between the required service package of the target application interface and the basic operation package corresponding to the version information.
[0151] Optionally, in some embodiments of the present application, the second processing module 702 is further configured to obtain operation information of the target service package operated by the terminal device.
[0152] The second processing module 702 generates a deletion instruction when the operation information of the target service package does not include the operation abnormality information within the preset time period.
[0153] The second sending module 703 is further used to send a deletion instruction to the terminal device so that the terminal device deletes the first business package of the target application interface, wherein the first business package is the business package of the target application interface before the terminal device is updated.
[0154] It can be understood that the service device of the embodiment of the present application can correspond to the execution entity of the application interface update method provided in the embodiment of the present application. The specific details of the operation and / or function of each module / unit of the service device can be found in the description of the corresponding parts of the application interface update method provided in the above-mentioned embodiment of the present application. For the sake of brevity, they will not be repeated here.
[0155] The electronic device in the embodiment of the present application may be a user terminal device, a server, other computing devices, or a cloud server. Figure 8 A schematic diagram of the hardware structure of an electronic device according to an embodiment of the present application is shown. The electronic device may include a processor 801 and a memory 802 storing computer program instructions. When the processor 801 executes the computer program instructions, the process or function of any of the above-mentioned embodiments of the method is implemented.
[0156] Specifically, the processor 801 may include a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application. The memory 802 may include a large-capacity memory for data or instructions. For example, the memory 802 may be at least one of the following: a hard disk drive (HDD), a read-only memory (ROM), a random access memory (RAM), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a tape, a universal serial bus (USB) drive, or other physical / tangible memory storage devices. For another example, the memory 802 may include a removable or non-removable (or fixed) medium. For another example, the memory 802 may be inside or outside the integrated gateway disaster recovery device. The memory 802 may be a non-volatile solid-state memory. In other words, the memory 802 generally includes a tangible (non-transitory) computer-readable storage medium (such as a memory device) encoded with computer-executable instructions, and when the software is executed (such as by one or more processors), the operations described in the method of the embodiments of the present application may be performed. The processor 801 implements the process or function of any method in the above embodiments by reading and executing the computer program instructions stored in the memory 802.
[0157] In one example, Figure 8The electronic device shown may also include a communication interface 803 and a bus 810. Among them, the processor 801, the memory 802, and the communication interface 803 are connected through the bus 810 and complete the communication between each other. The communication interface 803 is mainly used to realize the communication between each module, device, unit and / or device in the embodiment of the present application. The bus 810 includes hardware, software or both, and can couple the components of the online data traffic billing device to each other. For example, the bus may include at least one of the following: an accelerated graphics port (AGP) or other graphics bus, an enhanced industrial standard architecture (EISA) bus, a front-end bus (FSB), a hypertransport (HT) interconnect, an industrial standard architecture (ISA) bus, an infinite bandwidth interconnect, a low pin count (LPC) bus, a memory bus, a micro channel architecture (MCA) bus, a peripheral component interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a serial advanced technology attachment (SATA) bus, a video electronics standard association local (VLB) bus or other suitable buses. The bus 810 may include one or more buses. Although the embodiments of the present application describe or illustrate a specific bus, the embodiments of the present application may consider any suitable bus or interconnection method.
[0158] In combination with the method in the above embodiments, an embodiment of the present application also provides a computer-readable storage medium, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the process or function of any method in the above embodiments is implemented.
[0159] In addition, an embodiment of the present application further provides a computer program product, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the process or function of any one of the methods in the above embodiments is implemented.
[0160] The above exemplarily describes the flowcharts and / or block diagrams of the methods, devices, systems and computer program products of the embodiments of the present application, and describes the relevant various aspects. It should be understood that each box or combination thereof in the flowchart and / or block diagram can be implemented by computer program instructions, or by dedicated hardware that performs a specified function or action, or by a combination of dedicated hardware and computer instructions. For example, these computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer or other programmable data processing device to form a machine that enables these instructions executed by such a processor to enable the implementation of the functions / actions specified in each box or combination thereof in the flowchart and / or block diagram. Such a processor can be a general-purpose processor, a special-purpose processor, a special application processor or a field programmable logic circuit.
[0161] The functional blocks shown in the structured block diagram of the embodiment of the present application can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application-specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc.; when implemented in software, it is a program or code segment used to perform the required task. The program or code segment can be stored in a memory, or transmitted on a transmission medium or a communication link via a data signal carried in a carrier. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.
[0162] It should be noted that the present application is not limited to the specific configurations and processes described above or shown in the figures. The above is only a specific implementation mode of the present application. Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working process of the described system, device, module or unit can refer to the corresponding process in the method embodiment without further description. It should be understood that the scope of protection of the present application is not limited to this. Any technician familiar with the technical field can think of various equivalent modifications or substitutions within the technical scope disclosed in the present application, and these modifications or substitutions should be included in the scope of protection of the present application.
Claims
1. A method for updating an application interface, characterized in that: The method is applied to a terminal device, and the method comprises: In response to the application being started, sending software version information of the application to the service device, so that the service device obtains a first service package installation list corresponding to the software version information, wherein the first service package installation list is used to record version information of the required service packages corresponding to each application interface; In response to receiving the first service package installation list fed back by the service device, determining the target application interface and determining the acquisition address of the required service package corresponding to the target application interface according to the first service package installation list and the local second service package installation list, wherein the second service package installation list is used to record the version information of the current service package corresponding to each application interface in the application program, and the version information of the current service package corresponding to the target application interface is different from the version information of the required service package; Based on the acquisition address of the required service package corresponding to the target application interface, the current service package corresponding to the target application interface is updated to obtain the target service package of the target application interface; In response to receiving a display input of a target application interface, the target application interface is displayed based on the target service package, and interface interaction information is provided based on the target service package.
2. The method according to claim 1, characterized in that The determining of the target application interface and the acquisition address of the required service package corresponding to the target application interface includes: According to the version information of the required service package corresponding to the target application interface, detecting whether the required service package corresponding to the target application interface is stored locally; In the case where the required service package corresponding to the target application interface is stored locally, the address of the required service package corresponding to the target application interface stored locally is determined as the acquisition address.
3. The method according to claim 1, characterized in that The first service package installation list also includes a request address for each required service package; The determining of the target application interface and the acquisition address of the required service package corresponding to the target application interface includes: In the case that the required service package corresponding to the target application interface is not stored locally, using the request address of the required service package corresponding to the target application interface as the acquisition address; The updating of the current business package corresponding to the target application interface based on the acquisition address of the required business package corresponding to the target application interface to obtain the target business package of the target application interface includes: Based on the acquisition address of the required service package corresponding to the target application interface, request the service update package of the target application interface from the service device, so that the service device generates a service update package according to the difference data between the required service package of the target application interface and the basic operation package corresponding to the version information; In response to receiving the service update package fed back by the service device, the current service package corresponding to the target application interface is updated to obtain the target service package of the target application interface.
4. The method according to claim 1, characterized in that: The method further comprises: In response to receiving the display input of the target application interface, acquiring the operation information of the target service package; In the case where the operation information includes operation abnormality information, a first business package of the target application interface is obtained, and the target application interface is displayed based on the information, and interface interaction information is provided based on the first business package, wherein the first business package is a business package of the target application interface before the terminal device is updated.
5. The method according to claim 4, characterized in that The obtaining the operation information of the target service package includes: In the process of displaying the target application interface based on the target business package, the running state of the target business package is monitored, and when it is monitored that the running state is a termination state, it is determined that the running information includes running abnormality information.
6. The method according to claim 4, characterized in that The target application interface includes interactive controls; The step of obtaining the operation information of the target service package further includes: In the process of displaying the target application interface based on the target business package, obtaining display state information of the interactive control; In a case where the display state information is inconsistent with preset display state information of the interactive control, it is determined that the operation information includes operation abnormality information.
7. A method for updating an application interface, characterized in that: The method is applied to a service device, and the method comprises: Receiving software version information of application software sent by terminal equipment; According to the software version information, obtaining a first service package installation list corresponding to the software version information, wherein the list is used to record the version information of the required service packages corresponding to each application interface; Send the first business package installation list to the terminal device, so that the terminal device determines the target application interface and the acquisition address of the required business package corresponding to the target application interface according to the first business package installation list and the local second business package installation list, wherein the second business package installation list is used to record the version information of the current business package corresponding to each application interface in the application, and the version information of the current business package corresponding to the target application interface is different from the version information of the required business package; and, based on the acquisition address of the required business package corresponding to the target application interface, the terminal device updates the current business package corresponding to the target application interface to obtain the target business package of the target application interface; and the terminal device displays the target application interface based on the target business package, and provides interface interaction information based on the target business package.
8. The method according to claim 7, characterized in that The first service package installation list also includes a request address for each required service package; The method further comprises: Receiving a service package update request sent by the terminal device based on the acquisition address of the required service package corresponding to the target application interface; In response to the service package update request, acquiring the required service package corresponding to the target application interface according to the acquisition address of the required service package corresponding to the target application interface; A service update package is generated according to difference data between the required service package of the target application interface and the basic operation package corresponding to the version information.
9. The method according to claim 7, characterized in that: After the service update package of the target application interface is fed back to the terminal device, the method further includes: Acquiring operation information of the terminal device running the target service package; If the operation information of the target service package does not include operation abnormality information within a preset time period, generating a deletion instruction; The deletion instruction is sent to the terminal device so that the terminal device deletes the first service package of the target application interface, wherein the first service package is the service package of the target application interface before the terminal device is updated.
10. A terminal device, characterized in that: include: A first sending module, configured to send software version information of the application to a service device in response to the application being started, so that the service device obtains a first service package installation list corresponding to the software version information, wherein the first service package installation list is configured to record version information of required service packages corresponding to each application interface; A first processing module is configured to determine, in response to receiving a first service package installation list fed back by the service device, a target application interface and an acquisition address of a required service package corresponding to the target application interface according to the first service package installation list and a local second service package installation list, wherein the second service package installation list is used to record version information of a current service package corresponding to each application interface in the application program, and the version information of the current service package corresponding to the target application interface is different from the version information of the required service package; The first processing module is further configured to update the current business package corresponding to the target application interface based on the acquisition address of the required business package corresponding to the target application interface, so as to obtain the target business package of the target application interface; The display module is further configured to, in response to receiving a display input of a target application interface, display the target application interface based on the target business package, and provide interface interaction information based on the target business package.
11. A service device, characterized in that: include: A second receiving module, used to receive software version information of the application software sent by the terminal device; A second processing module is used to obtain, according to the software version information, a first service package installation list corresponding to the software version information, wherein the first service package installation list is used to record the version information of the required service packages corresponding to each application interface; The second sending module is used to send the first business package installation list to the terminal device, so that the terminal device determines the target application interface and the acquisition address of the required business package corresponding to the target application interface according to the first business package installation list and the local second business package installation list, wherein the second business package installation list is used to record the version information of the current business package corresponding to each application interface in the application, and the version information of the current business package corresponding to the target application interface is different from the version information of the required business package; and, based on the acquisition address of the required business package corresponding to the target application interface, the terminal device updates the current business package corresponding to the target application interface to obtain the target business package of the target application interface; and the terminal device displays the target application interface based on the target business package, and provides interface interaction information based on the target business package.
12. An electronic device, characterized in that: The electronic device comprises: a processor and a memory storing computer program instructions; when the electronic device executes the computer program instructions, the method according to any one of claims 1 to 6 or the method according to any one of claims 7 to 8 is implemented.
13. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the method according to any one of claims 1 to 6 or the method according to any one of claims 7 to 8 is implemented.
14. A computer program product, characterized in that It comprises computer program instructions, which, when executed by a processor, implement the method according to any one of claims 1 to 6, or the method according to any one of claims 7 to 8.