Component automatic updating method, device, system, equipment, medium and program product

By automatically obtaining and updating the target component version in smart hardware, the problem of manual intervention in the update of underlying components in the existing technology is solved, efficient automatic component updates are achieved, and the update success rate and resource utilization rate are improved.

CN119829079APending Publication Date: 2025-04-15LAKALA PAYMENT CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411699848.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-26
Publication Date
2025-04-15

AI Technical Summary

Technical Problem

The update of the underlying component version in existing smart hardware requires manual intervention, resulting in a low update success rate. The update version does not match the underlying component version after the upper business side application version is updated, resulting in the components being unable to use normally and waste of resources.

Method used

By obtaining the target component version, we determine whether the version requirements are met. If not, send a version update notification to the target component application to achieve automatic update. This method includes the collaborative work of business applications, target component applications and application update servers to automatically obtain and update the latest version of components.

Benefits of technology

Automatic update of component versions is realized, manual intervention is reduced, update success rate is improved, business-side applications are not matched with component versions, and labor costs and resources are saved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119829079A_ABST
    Figure CN119829079A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses an automatic component updating method, device and system, equipment and a medium. The method comprises the steps that a target component version is acquired; judging whether the target component version meets a version requirement or not, and if not, sending a target component version updating notification to the target component application, so that the target component application updates the version of the target component after receiving the target component version updating notification; and in response to a received target component version update completion message sent by the target component application, displaying a terminal equipment restart prompt message to prompt the terminal equipment that the target component version is updated and needs to be restarted. According to the technical scheme, automatic updating of the target component version can be achieved, manual intervention is not needed, the updating success rate of the bottom-layer component can be guaranteed, the problem that the updated upper-layer service end application version is not matched with the bottom-layer component version is avoided, labor cost is saved, and waste of component updating and downloading resources is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present disclosure relate to the technical field of component management, and in particular to a component automatic updating method, apparatus, system, device, medium and program product. Background Art

[0002] There are many underlying components in existing intelligent hardware. During the working process, the upper-level business-side application often needs to call the external call interface encapsulated by the underlying component to realize the awakening and calling of the underlying component function. In order to ensure the normal use of the underlying component function, the underlying component version needs to be updated in a timely manner. In the prior art, for the update of the underlying component version, either manual updates of individual underlying components are required, or targeted updates and push installations are required through the component operation platform, or other manual intervention methods such as uploading to the application market are required for updating. These update methods not only require manual intervention, but also fail to download and install updates, making it difficult to guarantee the success rate of component updates. There may even be a problem that the upper-level business-side application version does not match the underlying component version after the update, which leads to the inability of the underlying component to be used normally, resulting in a waste of component update and download resources. Summary of the invention

[0003] Embodiments of the present disclosure provide a component automatic updating method, apparatus, system, device and medium.

[0004] In a first aspect, an embodiment of the present disclosure provides a component automatic update method applicable to a business application installed on a terminal device.

[0005] Specifically, the component automatic updating method includes:

[0006] Get the target component version;

[0007] Determine whether the target component version meets the version requirement, and if not, send a target component version update notification to the target component application, so that the target component application updates the version of the target component after receiving the target component version update notification;

[0008] In response to receiving a target component version update completion message sent by the target component application, a terminal device restart prompt message is displayed to prompt the terminal device that the target component version has been updated and needs to be restarted.

[0009] In a second aspect, an embodiment of the present disclosure provides a component automatic update method applicable to a target component application.

[0010] Specifically, the component automatic updating method includes:

[0011] In response to receiving a target component version update notification sent by a business application, sending a target component update request to an application update server;

[0012] In response to receiving the target component download message returned by the application update server, acquiring the latest version of the target component according to the target component download message;

[0013] In response to obtaining the latest version of the target component, a target component version update completion message is sent to the business application.

[0014] In a third aspect, an embodiment of the present disclosure provides a component automatic update method applicable to an application update server.

[0015] Specifically, the component automatic updating method includes:

[0016] Receive a target component update request sent by a target component application;

[0017] A target component download message is sent to the target component application according to the target component update request.

[0018] In a fourth aspect, an embodiment of the present disclosure provides a component automatic update method applicable to a component automatic update system including a business application installed on a terminal device, a target component application, and an application update server.

[0019] Specifically, the component automatic updating method includes:

[0020] The business application obtains the target component version; determines whether the target component version meets the version requirement, and if not, sends a target component version update notification to the target component application;

[0021] The target component application sends a target component update request to the application update server in response to receiving the target component version update notification sent by the business application;

[0022] The application update server sends a target component download message to the target component application according to the target component update request;

[0023] The target component application obtains the latest version of the target component according to the target component download message, and sends a target component version update completion message to the business application;

[0024] In response to receiving the target component version update completion message sent by the target component application, the business application displays a terminal device restart prompt message to prompt the terminal device that the target component version has been updated and needs to be restarted.

[0025] In a fifth aspect, an embodiment of the present disclosure provides a component automatic updating device suitable for business applications installed on a terminal device.

[0026] Specifically, the component automatic updating device includes:

[0027] A first acquisition module is configured to acquire a target component version;

[0028] A first sending module is configured to determine whether the target component version meets the version requirement, and if not, send a target component version update notification to the target component application, so that the target component application updates the version of the target component after receiving the target component version update notification;

[0029] The display module is configured to display a terminal device restart prompt message in response to receiving a target component version update completion message sent by the target component application, so as to prompt the terminal device that the target component version has been updated and needs to be restarted.

[0030] In a sixth aspect, an embodiment of the present disclosure provides a component automatic updating device suitable for target component applications.

[0031] Specifically, the component automatic updating device includes:

[0032] A second sending module is configured to send a target component update request to the application update server in response to receiving a target component version update notification sent by the business application;

[0033] A second acquisition module is configured to, in response to receiving a target component download message returned by the application update server, acquire the latest version of the target component according to the target component download message;

[0034] The third sending module is configured to send a target component version update completion message to the business application in response to obtaining the latest version of the target component.

[0035] In a seventh aspect, an embodiment of the present disclosure provides a component automatic update device suitable for an application update server.

[0036] Specifically, the component automatic updating device includes:

[0037] A receiving module, configured to receive a target component update request sent by a target component application;

[0038] The fourth sending module is configured to send a target component download message to the target component application according to the target component update request.

[0039] In an eighth aspect, an embodiment of the present disclosure provides a component automatic update system including a business application installed on a terminal device, a target component application, and an application update server.

[0040] Specifically, the component automatic updating system includes:

[0041] The business application is configured to obtain a target component version; determine whether the target component version meets the version requirement, and if not, send a target component version update notification to the target component application; in response to receiving a target component version update completion message sent by the target component application, display a terminal device restart prompt message to prompt the terminal device that the target component version has been updated and needs to be restarted;

[0042] The target component application is configured to send a target component update request to the application update server in response to receiving a target component version update notification sent by the business application; obtain the latest version of the target component according to the target component download message, and send a target component version update completion message to the business application;

[0043] The application update server is configured to send a target component download message to the target component application according to the target component update request.

[0044] In a ninth aspect, an embodiment of the present disclosure provides an electronic device, including a memory and a processor, wherein the memory is used to store one or more computer instructions that support the automatic component update device to execute the automatic component update method, and the processor is configured to execute the computer instructions stored in the memory. The automatic component update device may also include a communication interface for the automatic component update device to communicate with other devices or a communication network.

[0045] In a tenth aspect, an embodiment of the present disclosure provides a computer-readable storage medium for storing computer instructions used by a component automatic updating device, which includes computer instructions involved in the component automatic updating device for executing the above-mentioned component automatic updating method.

[0046] In an eleventh aspect, an embodiment of the present disclosure provides a computer program product, including a computer program / instruction, which implements the steps of the above-mentioned component automatic update method when executed by a processor.

[0047] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:

[0048] The above technical solution achieves automatic update of the target component version by obtaining the target component version, judging whether the version meets the version requirements, and sending a target component version update notification to the target component application if it does not meet the requirements, so that it updates the target component version. This technical solution can achieve automatic update of the target component version, not only without manual intervention, but also effectively guarantee the success rate of the update of the underlying component, avoiding the problem that the upper-level business end application version does not match the underlying component version after the update, thereby saving labor costs and avoiding the waste of component updates and download resources.

[0049] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the embodiments of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] Other features, purposes and advantages of the embodiments of the present disclosure will become more apparent through the following detailed description of non-limiting embodiments in conjunction with the accompanying drawings. In the accompanying drawings:

[0051] Figure 1 A flowchart showing a component automatic updating method according to an embodiment of the present disclosure is shown;

[0052] Figure 2 A flowchart showing a component automatic updating method according to another embodiment of the present disclosure is shown;

[0053] Figure 3 A flowchart showing a component automatic updating method according to another embodiment of the present disclosure is shown;

[0054] Figure 4 A flowchart showing a component automatic updating method according to another embodiment of the present disclosure is shown;

[0055] Figure 5 A structural block diagram of a component automatic updating device according to an embodiment of the present disclosure is shown;

[0056] Figure 6 A structural block diagram of a component automatic updating device according to another embodiment of the present disclosure is shown;

[0057] Figure 7 A structural block diagram of a component automatic updating device according to another embodiment of the present disclosure is shown;

[0058] Figure 8 A structural block diagram of a component automatic updating system according to an embodiment of the present disclosure is shown;

[0059] Fig. 9 A structural block diagram of an electronic device according to an embodiment of the present disclosure is shown;

[0060] Fig.10It is a structural diagram of a computer system suitable for implementing a component automatic updating method according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0061] Hereinafter, exemplary embodiments of the present disclosure will be described in detail with reference to the accompanying drawings so that those skilled in the art can easily implement them. In addition, for the sake of clarity, parts not related to the description of the exemplary embodiments are omitted in the accompanying drawings.

[0062] In the embodiments of the present disclosure, it should be understood that terms such as "including" or "having" are intended to indicate the existence of features, numbers, steps, behaviors, components, parts, or a combination thereof disclosed in this specification, and are not intended to exclude the possibility of one or more other features, numbers, steps, behaviors, components, parts, or a combination thereof existing or being added.

[0063] It should also be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present disclosure may be combined with each other. The embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0064] The technical solution provided by the embodiment of the present disclosure achieves automatic update of the target component version by obtaining the target component version, judging whether the version meets the version requirements, and sending a target component version update notification to the target component application if it does not meet the requirements, so that it updates the target component version. The technical solution can achieve automatic update of the target component version, not only without manual intervention, but also effectively guarantee the update success rate of the underlying component, avoiding the problem that the upper-layer business end application version does not match the underlying component version after the update, thereby saving labor costs and avoiding the waste of component update and download resources.

[0065] Figure 1 A flowchart of a component automatic updating method according to an embodiment of the present disclosure is shown. Figure 1 As shown, the component automatic updating method includes the following steps S101-S103:

[0066] In step S101, the target component version is obtained;

[0067] In step S102, it is determined whether the target component version meets the version requirement. If not, a target component version update notification is sent to the target component application, so that the target component application updates the target component version after receiving the target component version update notification.

[0068] In step S103, in response to receiving the target component version update completion message sent by the target component application, a terminal device restart prompt message is displayed to prompt the terminal device that the target component version has been updated and needs to be restarted.

[0069] As mentioned above, there are a variety of underlying components in existing smart hardware. During the working process, the upper-level business-side application often needs to call the external call interface encapsulated by the underlying component to realize the awakening and calling of the underlying component function. In order to ensure the normal use of the underlying component function, the version of the underlying component needs to be updated in a timely manner. In the prior art, for the update of the underlying component version, either manual updates of individual underlying components are required, or targeted updates and push installations are required through the component operation platform, or other manual intervention methods such as uploading to the application market are required for updating. These update methods not only require manual intervention, but also fail to download and install the update, making it difficult to guarantee the success rate of the component update. There may even be a problem that the upper-level business-side application version does not match the underlying component version after the update, which leads to the inability of the underlying component to be used normally, resulting in a waste of component update and download resources.

[0070] In view of the above problems, in this implementation, a component automatic update method is proposed, which realizes automatic update of the target component version by obtaining the target component version, judging whether the version meets the version requirements, and sending a target component version update notification to the target component application when it does not meet the requirements, so that it updates the target component version. This technical solution can realize automatic update of the target component version, not only without manual intervention, but also effectively guarantee the update success rate of the underlying component, avoiding the problem that the upper-level business end application version does not match the underlying component version after the update, thereby saving labor costs and avoiding the waste of component update and download resources.

[0071] In one embodiment of the present disclosure, the automatic component update method can be applied to business applications installed on a terminal device. The business application refers to an application with certain business functions, installed on a terminal device, and relying on the terminal device to realize its business functions, such as a payment acquisition application, a SAS (Statistical Analysis System) application, and the like.

[0072] In one embodiment of the present disclosure, the target component refers to the underlying component that the business application will call, especially the underlying component that has a strong dependency relationship with the business application. For example, when the business application is a payment acquiring application, the underlying component that has a strong dependency relationship with it may be a security component such as a message encapsulation component and a key encapsulation component.

[0073] In an embodiment of the present disclosure, the version requirement refers to information requiring a target component version. For example, the business application may set the version requirement as the minimum version information required for the business application to run.

[0074] In one embodiment of the present disclosure, the target component application refers to an application used to manage target components and can communicate with business applications and application update servers. The target component application can be installed on a terminal device like the business application. Taking into account security issues such as data security and data leakage, some underlying components are not suitable for being directly opened to business applications, so it is necessary to set up a target component application specifically to manage these underlying components. Among them, the application update server refers to a server used to manage updates of underlying components or other applications. Taking the underlying components as an example, whenever a new version of a certain underlying component is generated, the latest version of the underlying component will be uploaded to the application update server for the target component application to request and obtain.

[0075] In one embodiment of the present disclosure, the target component version update notification refers to a message used to notify the target component application that the current version of the target component is too low and does not meet the requirements of the business application for the target component version, and the version of the target component needs to be updated.

[0076] In one embodiment of the present disclosure, the target component version update completion message refers to a message used to notify the business application that the target component application has obtained the latest version of the target component and has completed the update of the target component version.

[0077] In the above implementation, the business application installed on the terminal device first obtains the current version of the target component; then determines whether the current version of the target component meets the requirement of the business application for the version of the target component. If so, no other operation is required and the target component can be directly run or called; if not, a target component version update notification is sent to the target component application, so that the target component application updates the version of the target component after receiving the target component version update notification; after the business application receives the target component version update completion message sent by the target component application, it is considered that the target component application has obtained the latest version of the target component, and therefore a terminal device restart prompt message can be displayed to prompt the terminal device that the target component version has been updated and needs to be restarted, and after the terminal device is restarted, the latest version of the target component can be used.

[0078] In an embodiment of the present disclosure, the step S101, i.e., the step of obtaining the target component version, may include the following steps:

[0079] Send a request to the target component application to obtain the target component version;

[0080] Receive the target component version returned by the target component application.

[0081] In this implementation, in order to obtain the current version of the target component, the business application first sends a request to obtain the target component version to the target component application that manages the target component, so that the target component application returns the current version of the target component to the business application after receiving the request to obtain the target component version.

[0082] Figure 2 A flowchart of a component automatic updating method according to another embodiment of the present disclosure is shown. Figure 2 As shown, the component automatic updating method includes the following steps S201-S203:

[0083] In step S201, in response to receiving a target component version update notification sent by a business application, a target component update request is sent to an application update server;

[0084] In step S202, in response to receiving the target component download message returned by the application update server, the latest version of the target component application is obtained according to the target component download message;

[0085] In step S203, in response to obtaining the latest version of the target component application, a target component version update completion message is sent to the business application.

[0086] As mentioned above, there are a variety of underlying components in existing smart hardware. During the working process, the upper-level business-side application often needs to call the external call interface encapsulated by the underlying component to realize the awakening and calling of the underlying component function. In order to ensure the normal use of the underlying component function, the version of the underlying component needs to be updated in a timely manner. In the prior art, for the update of the underlying component version, either manual updates of individual underlying components are required, or targeted updates and push installations are required through the component operation platform, or other manual intervention methods such as uploading to the application market are required for updating. These update methods not only require manual intervention, but also fail to download and install the update, making it difficult to guarantee the success rate of the component update. There may even be a problem that the upper-level business-side application version does not match the underlying component version after the update, which leads to the inability of the underlying component to be used normally, resulting in a waste of component update and download resources.

[0087] In view of the above problems, in this implementation, a component automatic update method is proposed, which realizes the automatic update of the target component version used by the business application by responding to the target component version update notification sent by the business application and requesting the application update server to update the target component. This technical solution can realize the automatic update of the target component version, not only without manual intervention, but also effectively guarantee the update success rate of the underlying component, avoiding the problem that the upper-level business end application version does not match the underlying component version after the update, thereby saving labor costs and avoiding the waste of component update and download resources.

[0088] In one embodiment of the present disclosure, the component automatic update method can be applied to a target component application installed on a terminal device, wherein the target component application refers to an application for managing the target component and capable of communicating with a business application and an application update server.

[0089] In one embodiment of the present disclosure, the target component update request refers to a request for requesting an application update server to obtain the latest version of the target component to implement an update request for the target component.

[0090] In one embodiment of the present disclosure, the target component download message refers to a message used to instruct or enable the target component application to obtain the latest version of the target component.

[0091] In this implementation, after receiving the target component version update notification sent by the business application, the target component application sends a target component update request to the application update server, so that the application update server returns a target component download message that can obtain the latest version of the target component after receiving the target component update request; after receiving the target component download message returned by the application update server, the target component application can obtain the latest version of the target component according to the target component download message, and finally send a target component version update completion message to the business application to inform the business application that the target component application has obtained the latest version of the target component.

[0092] In one embodiment of the present disclosure, in order to ensure data security of target component transmission, after the target component application sends a target component update request to the application update server, the method may further include the following steps:

[0093] In response to receiving a target component update request verification notification sent by the application update server, target component update request verification information is sent to the application update server, so that the application update server verifies the target component update request according to the target component update request verification information, and sends a target component download message to the target component application after the verification passes.

[0094] In this embodiment, in order to ensure the security of data transmitted by the target component, after receiving the target component update request sent by the target component application, the application update server will also send a target component update request verification notification to the target component application, so that the target component application returns the target component update request verification information, which is used to verify the target component update request, and after the verification passes, send a target component download message to the target component application.

[0095] In another embodiment of the present disclosure, in order to save signaling overhead, the target component update request verification information may be directly carried in the target component update request, so that the application update server can obtain the target component update request verification information while receiving the target component update request, and then use the target component update request verification information to verify the target component update request, and send a target component download message to the target component application after the verification passes.

[0096] In an embodiment of the present disclosure, the target component download message may be expressed as a target component download address. In this embodiment, obtaining the latest version of the target component according to the target component download message may include the following steps:

[0097] Sending a target component download request carrying the target component download address to the application update server;

[0098] Receive the latest version of the target component sent by the application update server.

[0099] In this embodiment, when the target component download message is expressed as a target component download address, after receiving the target component download address sent by the application update server, the target component application can carry the target component download address in a target component download request and send it to the application update server, so that the application update server can obtain the latest version of the target component according to the target component download address carried in the target component download request, and send the latest version of the target component back to the target component application.

[0100] In another embodiment of the present disclosure, in order to save signaling overhead, the latest version of the target component may be directly carried in the target component download message, so that the target component application can obtain the latest version of the target component while receiving the target component download message.

[0101] Figure 2 The technical terms and technical features involved in the embodiments shown and related Figure 1The technical terms and technical features mentioned in the embodiments shown and related are the same or similar. Figure 2 The explanation and description of the technical terms and technical features involved in the embodiments shown and related can refer to the above Figure 1 The explanations of the illustrated and related embodiments will not be repeated here.

[0102] Figure 3 A flowchart of a component automatic updating method according to another embodiment of the present disclosure is shown. Figure 3 As shown, the component automatic updating method includes the following steps S301-S302:

[0103] In step S301, a target component update request sent by a target component application is received;

[0104] In step S302, a target component download message is sent to the target component application according to the target component update request.

[0105] As mentioned above, there are a variety of underlying components in existing smart hardware. During the working process, the upper-level business-side application often needs to call the external call interface encapsulated by the underlying component to realize the awakening and calling of the underlying component function. In order to ensure the normal use of the underlying component function, the underlying component version needs to be updated in a timely manner. In the prior art, for the update of the underlying component version, either manual updates are required for individual underlying components, or targeted updates are pushed and installed through the component operation platform, or other manual intervention methods such as uploading to the application market are used for updating. These update methods not only require manual intervention, but also fail to download and install the update, that is, it is difficult to guarantee the update success rate, and even the upper-level business-side application version does not match the version after the update, resulting in the inability to use the underlying component normally and wasting component update and download resources.

[0106] In view of the above problems, in this embodiment, a component automatic update method is proposed, which realizes the automatic update of the target component version used by the business application by responding to the target component update request sent by the target component application and sending a target component download message to the target component application. This technical solution can realize the automatic update of the target component version, not only without manual intervention, but also effectively guarantee the update success rate of the underlying component, avoiding the problem that the upper-level business end application version does not match the underlying component version after the update, thereby saving labor costs and avoiding the waste of component update and download resources.

[0107] In one embodiment of the present disclosure, the component automatic updating method may be applicable to an application updating server.

[0108] In this implementation, after receiving the target component update request sent by the target component application, the application update server sends a target component download message to the target component application according to the target component update request, so that the target component application obtains the latest version of the target component.

[0109] As mentioned above, the target component update request sent by the target component application to the application update server may carry the target component update request verification information, or may not carry the target component update request verification information. When the target component update request does not carry the target component update request verification information, in order to ensure the data security of the target component transmission, the application update server will also send a target component update request verification notification to the target component application, so that the target component application returns the target component update request verification information, which is used to verify the target component update request, and after the verification is passed, send a target component download message to the target component application. Of course, in order to save signaling overhead, the target component update request may also directly carry the target component update request verification information. At this time, the application update server can obtain the target component update request verification information while receiving the target component update request, and then use the target component update request verification information to verify the target component update request, and send a target component download message to the target component application after the verification is passed.

[0110] As mentioned above, the target component download message can be expressed as the download address of the latest version of the target component, or the latest version of the target component can be carried in the target component download message and sent to the target component application. When the target component download message is expressed as the download address of the latest version of the target component, the target component application can carry the download address of the target component into the target component download request and send it to the application update server, and the application update server can obtain the latest version of the target component stored at the target component download address, and then send the latest version of the target component to the target component application. When the target component download message directly carries the latest version of the target component, the target component application can obtain the latest version of the target component while receiving the target component download message, which saves data transmission resources.

[0111] Figure 3 The technical terms and technical features involved in the embodiments shown and related Figure 1-Figure 2 The technical terms and technical features mentioned in the embodiments shown and related are the same or similar. Figure 1-Figure 2 The explanation and description of the technical terms and technical features involved in the embodiments shown and related can refer to the above Figure 3The explanations of the illustrated and related embodiments will not be repeated here.

[0112] Figure 4 A flowchart of a component automatic updating method according to another embodiment of the present disclosure is shown. Figure 4 As shown, the component automatic updating method includes the following steps S401-S405:

[0113] In step S401, the business application obtains the target component version; determines whether the target component version meets the version requirement, and if not, sends a target component version update notification to the target component application;

[0114] In step S402, the target component application sends a target component update request to the application update server in response to receiving the target component version update notification sent by the business application;

[0115] In step S403, the application update server sends a target component download message to the target component application according to the target component update request;

[0116] In step S404, the target component application obtains the latest version of the target component according to the target component download message, and sends a target component version update completion message to the business application;

[0117] In step S405, in response to receiving the target component version update completion message sent by the target component application, the business application displays a terminal device restart prompt message to prompt the terminal device that the target component version has been updated and needs to be restarted.

[0118] As mentioned above, there are a variety of underlying components in existing smart hardware. During the working process, the upper-level business-side application often needs to call the external call interface encapsulated by the underlying component to realize the awakening and calling of the underlying component function. In order to ensure the normal use of the underlying component function, the underlying component version needs to be updated in a timely manner. In the prior art, for the update of the underlying component version, either manual updates are required for individual underlying components, or targeted updates are pushed and installed through the component operation platform, or other manual intervention methods such as uploading to the application market are used for updating. These update methods not only require manual intervention, but also fail to download and install the update, that is, it is difficult to guarantee the update success rate, and even the upper-level business-side application version does not match the version after the update, resulting in the inability to use the underlying component normally and wasting component update and download resources.

[0119] In view of the above problems, in this implementation, a component automatic update method is proposed, in which the business application obtains the target component version, determines whether the version meets the version requirements, and sends a target component version update notification to the target component application if it does not meet the requirements, so that it updates the target component version, thereby achieving automatic update of the target component version. This technical solution can achieve automatic update of the target component version, not only without manual intervention, but also effectively guarantee the success rate of the update of the underlying component, avoiding the problem that the upper-level business end application version does not match the underlying component version after the update, thereby saving labor costs and avoiding the waste of component update and download resources.

[0120] In one embodiment of the present disclosure, the component automatic updating method may be applicable to a component automatic updating system including a business application installed on a terminal device, a target component application, and an application updating server.

[0121] Figure 4 The technical terms and technical features involved in the embodiments shown and related Figure 1-Figure 3 The technical terms and technical features mentioned in the embodiments shown and related are the same or similar. Figure 1-Figure 3 The explanation and description of the technical terms and technical features involved in the embodiments shown and related can refer to the above Figure 4 The explanations of the illustrated and related embodiments will not be repeated here.

[0122] The following are embodiments of the apparatus of the present disclosure, which can be used to execute embodiments of the method of the present disclosure.

[0123] Figure 5 FIG. 1 is a block diagram showing a component automatic updating device according to an embodiment of the present disclosure. The device can be implemented as part or all of an electronic device through software, hardware, or a combination of both. Figure 5 As shown, the component automatic updating device includes:

[0124] A first acquisition module 501 is configured to acquire a target component version;

[0125] The first sending module 502 is configured to determine whether the target component version meets the version requirement, and if not, send a target component version update notification to the target component application, so that the target component application updates the version of the target component after receiving the target component version update notification;

[0126] The display module 503 is configured to display a terminal device restart prompt message in response to receiving a target component version update completion message sent by the target component application, so as to prompt the terminal device that the target component version has been updated and needs to be restarted.

[0127] As mentioned above, there are a variety of underlying components in existing smart hardware. During the working process, the upper-level business-side application often needs to call the external call interface encapsulated by the underlying component to realize the awakening and calling of the underlying component function. In order to ensure the normal use of the underlying component function, the version of the underlying component needs to be updated in a timely manner. In the prior art, for the update of the underlying component version, either manual updates of individual underlying components are required, or targeted updates and push installations are required through the component operation platform, or other manual intervention methods such as uploading to the application market are required for updating. These update methods not only require manual intervention, but also fail to download and install the update, making it difficult to guarantee the success rate of the component update. There may even be a problem that the upper-level business-side application version does not match the underlying component version after the update, which leads to the inability of the underlying component to be used normally, resulting in a waste of component update and download resources.

[0128] In view of the above problems, in this implementation, a component automatic update device is proposed, which realizes automatic update of the target component version by obtaining the target component version, judging whether the version meets the version requirements, and sending a target component version update notification to the target component application if it does not meet the requirements, so that it updates the target component version. This technical solution can realize automatic update of the target component version, not only without manual intervention, but also effectively guarantee the update success rate of the underlying component, avoiding the problem that the upper-level business end application version does not match the underlying component version after the update, thereby saving labor costs and avoiding the waste of component update and download resources.

[0129] In one embodiment of the present disclosure, the component automatic update device can be applied to a business application installed on a terminal device. The business application refers to an application with certain business functions, installed on a terminal device, and relying on the terminal device to realize its business functions, such as a payment acquisition application, a SAS (Statistical Analysis System) application, and the like.

[0130] In one embodiment of the present disclosure, the target component refers to the underlying component that the business application will call, especially the underlying component that has a strong dependency relationship with the business application. For example, when the business application is a payment acquiring application, the underlying component that has a strong dependency relationship with it may be a security component such as a message encapsulation component and a key encapsulation component.

[0131] In an embodiment of the present disclosure, the version requirement refers to information requiring a target component version. For example, the business application may set the version requirement as the minimum version information required for the business application to run.

[0132] In one embodiment of the present disclosure, the target component application refers to an application used to manage target components and can communicate with business applications and application update servers. The target component application can be installed on a terminal device like the business application. Taking into account security issues such as data security and data leakage, some underlying components are not suitable for being directly opened to business applications, so it is necessary to set up a target component application specifically to manage these underlying components. Among them, the application update server refers to a server used to manage updates of underlying components or other applications. Taking the underlying components as an example, whenever a new version of a certain underlying component is generated, the latest version of the underlying component will be uploaded to the application update server for the target component application to request and obtain.

[0133] In one embodiment of the present disclosure, the target component version update notification refers to a message used to notify the target component application that the current version of the target component is too low and does not meet the requirements of the business application for the target component version, and the version of the target component needs to be updated.

[0134] In one embodiment of the present disclosure, the target component version update completion message refers to a message used to notify the business application that the target component application has obtained the latest version of the target component and has completed the update of the target component version.

[0135] In the above implementation, the business application installed on the terminal device first obtains the current version of the target component; then determines whether the current version of the target component meets the requirement of the business application for the version of the target component. If so, no other operation is required and the target component can be directly run or called; if not, a target component version update notification is sent to the target component application, so that the target component application updates the version of the target component after receiving the target component version update notification; after the business application receives the target component version update completion message sent by the target component application, it is considered that the target component application has obtained the latest version of the target component, and therefore a terminal device restart prompt message can be displayed to prompt the terminal device that the target component version has been updated and needs to be restarted, and after the terminal device is restarted, the latest version of the target component can be used.

[0136] In one embodiment of the present disclosure, the acquisition module may be configured as follows:

[0137] Send a request to the target component application to obtain the target component version;

[0138] Receive the target component version returned by the target component application.

[0139] In this implementation, in order to obtain the current version of the target component, the business application first sends a request to obtain the target component version to the target component application that manages the target component, so that the target component application returns the current version of the target component to the business application after receiving the request to obtain the target component version.

[0140] Figure 6 FIG. 2 shows a structural block diagram of a component automatic updating device according to another embodiment of the present disclosure, which can be implemented as part or all of an electronic device through software, hardware, or a combination of both. Figure 6 As shown, the component automatic updating device includes:

[0141] The second sending module 601 is configured to send a target component update request to the application update server in response to receiving a target component version update notification sent by the business application;

[0142] The second acquisition module 602 is configured to, in response to receiving a target component download message returned by the application update server, acquire the latest version of the target component according to the target component download message;

[0143] The third sending module 603 is configured to send a target component version update completion message to the business application in response to obtaining the latest version of the target component.

[0144] As mentioned above, there are a variety of underlying components in existing smart hardware. During the working process, the upper-level business-side application often needs to call the external call interface encapsulated by the underlying component to realize the awakening and calling of the underlying component function. In order to ensure the normal use of the underlying component function, the version of the underlying component needs to be updated in a timely manner. In the prior art, for the update of the underlying component version, either manual updates of individual underlying components are required, or targeted updates and push installations are required through the component operation platform, or other manual intervention methods such as uploading to the application market are required for updating. These update methods not only require manual intervention, but also fail to download and install the update, making it difficult to guarantee the success rate of the component update. There may even be a problem that the upper-level business-side application version does not match the underlying component version after the update, which leads to the inability of the underlying component to be used normally, resulting in a waste of component update and download resources.

[0145] In view of the above problems, in this implementation, a component automatic update device is proposed, which realizes the automatic update of the target component version used by the business application by responding to the target component version update notification sent by the business application and requesting the application update server to update the target component. This technical solution can realize the automatic update of the target component version, not only without manual intervention, but also effectively guarantee the update success rate of the underlying component, avoiding the problem that the upper-level business end application version does not match the underlying component version after the update, thereby saving labor costs and avoiding the waste of component update and download resources.

[0146] In one embodiment of the present disclosure, the component automatic updating device may be applicable to a target component application installed on a terminal device, wherein the target component application refers to an application for managing the target component and capable of communicating with a business application and an application update server.

[0147] In one embodiment of the present disclosure, the target component update request refers to a request for requesting an application update server to obtain the latest version of the target component to implement an update request for the target component.

[0148] In one embodiment of the present disclosure, the target component download message refers to a message used to instruct or enable the target component application to obtain the latest version of the target component.

[0149] In this implementation, after receiving the target component version update notification sent by the business application, the target component application sends a target component update request to the application update server, so that the application update server returns a target component download message that can obtain the latest version of the target component after receiving the target component update request; after receiving the target component download message returned by the application update server, the target component application can obtain the latest version of the target component according to the target component download message, and finally send a target component version update completion message to the business application to inform the business application that the target component application has obtained the latest version of the target component.

[0150] In one embodiment of the present disclosure, in order to ensure data security of target component transmission, after the target component application sends a target component update request to the application update server, the method may further include the following steps:

[0151] In response to receiving a target component update request verification notification sent by the application update server, target component update request verification information is sent to the application update server, so that the application update server verifies the target component update request according to the target component update request verification information, and sends a target component download message to the target component application after the verification passes.

[0152] In this embodiment, in order to ensure the security of data transmitted by the target component, after receiving the target component update request sent by the target component application, the application update server will also send a target component update request verification notification to the target component application, so that the target component application returns the target component update request verification information, which is used to verify the target component update request, and after the verification passes, send a target component download message to the target component application.

[0153] In another embodiment of the present disclosure, in order to save signaling overhead, the target component update request verification information may be directly carried in the target component update request, so that the application update server can obtain the target component update request verification information while receiving the target component update request, and then use the target component update request verification information to verify the target component update request, and send a target component download message to the target component application after the verification passes.

[0154] In an embodiment of the present disclosure, the target component download message may be expressed as a target component download address. In this embodiment, obtaining the latest version of the target component according to the target component download message may include the following steps:

[0155] Sending a target component download request carrying the target component download address to the application update server;

[0156] Receive the latest version of the target component sent by the application update server.

[0157] In this embodiment, when the target component download message is expressed as a target component download address, after receiving the target component download address sent by the application update server, the target component application can carry the target component download address in a target component download request and send it to the application update server, so that the application update server can obtain the latest version of the target component according to the target component download address carried in the target component download request, and send the latest version of the target component back to the target component application.

[0158] In another embodiment of the present disclosure, in order to save signaling overhead, the latest version of the target component may be directly carried in the target component download message, so that the target component application can obtain the latest version of the target component while receiving the target component download message.

[0159] Figure 6 The technical terms and technical features involved in the embodiments shown and related Figure 5The technical terms and technical features mentioned in the embodiments shown and related are the same or similar. Figure 6 The explanation and description of the technical terms and technical features involved in the embodiments shown and related can refer to the above Figure 5 The explanations of the illustrated and related embodiments will not be repeated here.

[0160] Figure 7 FIG. 2 shows a structural block diagram of a component automatic updating device according to another embodiment of the present disclosure, which can be implemented as part or all of an electronic device through software, hardware, or a combination of both. Figure 7 As shown, the component automatic updating device includes:

[0161] The receiving module 701 is configured to receive a target component update request sent by a target component application;

[0162] The fourth sending module 702 is configured to send a target component download message to the target component application according to the target component update request.

[0163] As mentioned above, there are a variety of underlying components in existing smart hardware. During the working process, the upper-level business-side application often needs to call the external call interface encapsulated by the underlying component to realize the awakening and calling of the underlying component function. In order to ensure the normal use of the underlying component function, the underlying component version needs to be updated in a timely manner. In the prior art, for the update of the underlying component version, either manual updates are required for individual underlying components, or targeted updates are pushed and installed through the component operation platform, or other manual intervention methods such as uploading to the application market are used for updating. These update methods not only require manual intervention, but also fail to download and install the update, that is, it is difficult to guarantee the update success rate, and even the upper-level business-side application version does not match the version after the update, resulting in the inability to use the underlying component normally and wasting component update and download resources.

[0164] In view of the above problems, in this embodiment, a component automatic update device is proposed, which responds to the target component update request sent by the target component application and sends a target component download message to the target component application to achieve automatic update of the target component version used by the business application. This technical solution can achieve automatic update of the target component version, not only without manual intervention, but also effectively guarantee the update success rate of the underlying component, avoiding the problem that the upper-level business end application version does not match the underlying component version after the update, thereby saving labor costs and avoiding the waste of component update and download resources.

[0165] In one embodiment of the present disclosure, the component automatic updating device may be applicable to an application updating server.

[0166] In this implementation, after receiving the target component update request sent by the target component application, the application update server sends a target component download message to the target component application according to the target component update request, so that the target component application obtains the latest version of the target component.

[0167] As mentioned above, the target component update request sent by the target component application to the application update server may carry the target component update request verification information, or may not carry the target component update request verification information. When the target component update request does not carry the target component update request verification information, in order to ensure the data security of the target component transmission, the application update server will also send a target component update request verification notification to the target component application, so that the target component application returns the target component update request verification information, which is used to verify the target component update request, and after the verification is passed, send a target component download message to the target component application. Of course, in order to save signaling overhead, the target component update request may also directly carry the target component update request verification information. At this time, the application update server can obtain the target component update request verification information while receiving the target component update request, and then use the target component update request verification information to verify the target component update request, and send a target component download message to the target component application after the verification is passed.

[0168] As mentioned above, the target component download message can be expressed as the download address of the latest version of the target component, or the latest version of the target component can be carried in the target component download message and sent to the target component application. When the target component download message is expressed as the download address of the latest version of the target component, the target component application can carry the download address of the target component into the target component download request and send it to the application update server, and the application update server can obtain the latest version of the target component stored at the target component download address, and then send the latest version of the target component to the target component application. When the target component download message directly carries the latest version of the target component, the target component application can obtain the latest version of the target component while receiving the target component download message, which saves data transmission resources.

[0169] Figure 7 The technical terms and technical features involved in the embodiments shown and related Figure 5-Figure 6 The technical terms and technical features mentioned in the embodiments shown and related are the same or similar. Figure 5-Figure 6 The explanation and description of the technical terms and technical features involved in the embodiments shown and related can refer to the above Figure 7The explanations of the illustrated and related embodiments will not be repeated here.

[0170] Figure 8 FIG. 1 shows a structural block diagram of a component automatic update system according to an embodiment of the present disclosure. The system can be implemented as part or all of an electronic device through software, hardware, or a combination of both. Figure 8 As shown, the component automatic updating system includes:

[0171] The business application 801 is configured to obtain a target component version; determine whether the target component version meets the version requirement, and if not, send a target component version update notification to the target component application; in response to receiving a target component version update completion message sent by the target component application, display a terminal device restart prompt message to prompt the terminal device that the target component version has been updated and needs to be restarted;

[0172] The target component application 802 is configured to send a target component update request to the application update server in response to receiving a target component version update notification sent by the business application; obtain the latest version of the target component according to the target component download message, and send a target component version update completion message to the business application;

[0173] The application update server 803 is configured to send a target component download message to the target component application according to the target component update request.

[0174] As mentioned above, there are a variety of underlying components in existing smart hardware. During the working process, the upper-level business-side application often needs to call the external call interface encapsulated by the underlying component to realize the awakening and calling of the underlying component function. In order to ensure the normal use of the underlying component function, the underlying component version needs to be updated in a timely manner. In the prior art, for the update of the underlying component version, either manual updates are required for individual underlying components, or targeted updates are pushed and installed through the component operation platform, or other manual intervention methods such as uploading to the application market are used for updating. These update methods not only require manual intervention, but also fail to download and install the update, that is, it is difficult to guarantee the update success rate, and even the upper-level business-side application version does not match the version after the update, resulting in the inability to use the underlying component normally and wasting component update and download resources.

[0175] Considering the above problems, in this implementation, a component automatic update system is proposed, in which the business application in the system obtains the target component version, determines whether the version meets the version requirements, and sends a target component version update notification to the target component application if it does not meet the requirements, so that it updates the target component version, thereby achieving automatic update of the target component version. This technical solution can achieve automatic update of the target component version, not only without manual intervention, but also effectively guarantee the success rate of the update of the underlying component, avoiding the problem that the upper-level business end application version does not match the underlying component version after the update, thereby saving labor costs and avoiding the waste of component update and download resources.

[0176] Figure 8 The technical terms and technical features involved in the embodiments shown and related Figure 5-Figure 7 The technical terms and technical features mentioned in the embodiments shown and related are the same or similar. Figure 5-Figure 7 The explanation and description of the technical terms and technical features involved in the embodiments shown and related can refer to the above Figure 8 The explanations of the illustrated and related embodiments will not be repeated here.

[0177] The present disclosure also discloses an electronic device, Fig. 9 A structural block diagram of an electronic device according to an embodiment of the present disclosure is shown. Fig. 9 As shown, the electronic device 900 includes a memory 901 and a processor 902; wherein,

[0178] The memory 901 is used to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor 902 to implement the above method steps.

[0179] Fig.10 It is a structural diagram of a computer system suitable for implementing a component automatic updating method according to an embodiment of the present disclosure.

[0180] like Fig.10 As shown, the computer system 1000 includes a processing unit 1001, which can perform various processes in the above-mentioned embodiments according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage part 1008 into a random access memory (RAM) 1003. Various programs and data required for the operation of the computer system 1000 are also stored in the RAM 1003. The processing unit 1001, the ROM 1002, and the RAM 1003 are connected to each other via a bus 1004. An input / output (I / O) interface 1005 is also connected to the bus 1004.

[0181] The following components are connected to the I / O interface 1005: an input part 1006 including a keyboard, a mouse, etc.; an output part 1007 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage part 1008 including a hard disk, etc.; and a communication part 1009 including a network interface card such as a LAN card, a modem, etc. The communication part 1009 performs communication processing via a network such as the Internet. The drive 1010 is also connected to the I / O interface 1005 as needed. A removable medium 1011, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 1010 as needed, so that the computer program read therefrom is installed into the storage part 1008 as needed. Among them, the processing unit 1001 can be implemented as a processing unit such as a CPU, a GPU, a TPU, an FPGA, an NPU, etc.

[0182] In particular, according to an embodiment of the present disclosure, the method described above can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program tangibly contained on a readable medium thereof, and the computer program includes a program code for executing the method. In such an embodiment, the computer program can be downloaded and installed from a network through the communication part 1009, and / or installed from the removable medium 1011.

[0183] The embodiment of the present disclosure also discloses a computer program product, which includes a computer program / instruction, and when the computer program / instruction is executed by a processor, any of the above method steps is implemented.

[0184] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the road map or block diagram can represent a part of a module, program segment or code, and the part of the module, program segment or code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a different order from the order marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0185] The units or modules involved in the embodiments described in the present disclosure may be implemented by software or hardware. The units or modules described may also be set in a processor, and the names of these units or modules do not constitute limitations on the units or modules themselves in some cases.

[0186] As another aspect, the embodiments of the present disclosure further provide a computer-readable storage medium, which may be a computer-readable storage medium included in the device described in the above-mentioned embodiment; or a computer-readable storage medium that exists independently and is not assembled into the device. The computer-readable storage medium stores one or more programs, and the programs are used by one or more processors to execute the methods described in the embodiments of the present disclosure.

[0187] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the embodiments of the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the inventive concept. For example, the above features are replaced with (but not limited to) technical features with similar functions disclosed in the embodiments of the present disclosure.

Claims

1. A component automatic updating method, applicable to a business application installed on a terminal device, the method comprising: Get the target component version; Determine whether the target component version meets the version requirement, and if not, send a target component version update notification to the target component application, so that the target component application updates the version of the target component after receiving the target component version update notification; In response to receiving a target component version update completion message sent by the target component application, a terminal device restart prompt message is displayed to prompt the terminal device that the target component version has been updated and needs to be restarted.

2. The method according to claim 1, wherein: The obtaining of the target component version includes: Send a request to the target component application to obtain the target component version; Receive the target component version returned by the target component application.

3. A component automatic updating method, applicable to a target component application, the method comprising: In response to receiving a target component version update notification sent by a business application, sending a target component update request to an application update server; In response to receiving the target component download message returned by the application update server, acquiring the latest version of the target component according to the target component download message; In response to obtaining the latest version of the target component, a target component version update completion message is sent to the business application.

4. The method according to claim 3, wherein: After the target component application sends a target component update request to the application update server, the method further includes: In response to receiving a target component update request verification notification sent by the application update server, target component update request verification information is sent to the application update server, so that the application update server verifies the target component update request according to the target component update request verification information, and sends a target component download message to the target component application after the verification passes.

5. The method according to claim 3, wherein: The target component update request carries target component update request verification information, so that the application update server verifies the target component update request according to the target component update request verification information, and sends a target component download message to the target component application after the verification passes.

6. The method according to claim 3 or 4, wherein: The target component download message is a target component download address; The step of obtaining the latest version of the target component according to the target component download message includes: Sending a target component download request carrying the target component download address to the application update server; Receive the latest version of the target component sent by the application update server.

7. The method according to claim 3 or 4, wherein: The target component download message carries the latest version of the target component.

8. A component automatic updating method, applicable to an application updating server, the method comprising: Receive a target component update request sent by a target component application; A target component download message is sent to the target component application according to the target component update request.

9. The method according to claim 8, wherein the target component update request does not carry target component update request verification information; The sending a target component download message to the target component application according to the target component update request includes: Sending a target component update request verification notification to the target component application; In response to receiving the target component update request verification information sent by the target component application, the target component update request is verified according to the target component update request verification information, and a target component download message is sent to the target component application after the verification passes.

10. The method according to claim 8, wherein the target component update request carries target component update request verification information; The sending a target component download message to the target component application according to the target component update request includes: The target component update request is verified according to the target component update request verification information carried in the target component update request, and a target component download message is sent to the target component application after the verification passes.