Application software page updating method and device, equipment, medium and program product

By generating native pages to update application software pages, and utilizing target resource files and configuration files, the interactive and security issues of H5 pages are resolved, achieving fast response and highly secure page updates.

CN118885196APending Publication Date: 2024-11-01CHINA CONSTRUCTION BANK +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411102499.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-12
Publication Date
2024-11-01

AI Technical Summary

Technical Problem

In existing technologies, H5 pages suffer from latency in interaction and response speed, and data is easily intercepted and attacked during transmission over the network, resulting in low page security and smoothness.

Method used

The application software page is updated by generating a native page. The target resource file and configuration file are used to obtain the pre-configured page information in response to the application software startup, and the updated page is determined based on the page identification information. The target updated page is generated and redirected, and the hardware resources of the native page are used for fast response and secure display.

Benefits of technology

It enables rapid response to user requests, improves page security and smoothness, and avoids the delays and security threats associated with H5 pages.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118885196A_ABST
    Figure CN118885196A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an application software page updating method and device, equipment, a medium and a program product, and relates to the technical field of big data. The method comprises the following steps: in response to monitoring that target application software is started, obtaining a pre-configured target page configuration file and a target resource file of the target application software; the target page configuration file comprises all page jump information of the target application software, all pages comprise at least one preset update page, and the target resource file comprises page information of the at least one preset update page; determining identification information of a current page in response to a received page jump request sent by a client device of the target application software; determining whether the target jump page is a target update page based on the identification information of the current page and all page jump information; if yes, page information corresponding to the target update page is determined, and a target jump page is generated based on the page information corresponding to the target update page and jumps.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of big data technology, and in particular to an application software page updating method, device, equipment, medium and program product. Background Art

[0002] In a fast-paced market environment, application software often needs to respond quickly to user needs and market changes, which requires application software to have flexible functional adjustment capabilities. Traditionally, whenever a new function is needed or the user interface needs to be modified, the development team usually has to go through a complete software development cycle, including coding, testing, packaging a new version, and finally submitting it to the app store for review. This process is not only time-consuming, but during the review period, the application software cannot immediately respond to urgent market needs or fix urgent problems.

[0003] Currently, HTML5 technology is generally used to create pages, and new features or updated user interfaces can be quickly deployed without updating the entire application software version. However, H5 pages have a certain delay in interaction and response speed, and data is easily intercepted and attacked when transmitted over the network, resulting in low security and fluency of the page. Summary of the invention

[0004] The embodiments of the present application provide an application software page update method, device, equipment, medium and program product to solve the problem in the prior art that the H5 page has a certain delay in interaction and response speed, and the data is easily intercepted and attacked when transmitted on the network, resulting in low security and fluency of the page.

[0005] In a first aspect, an embodiment of the present application provides an application software page update method, comprising:

[0006] In response to monitoring the start of the target application software, obtaining a pre-configured target page configuration file and a target resource file of the target application software; the target page configuration file includes all page jump information of the target application software, the all pages include at least one preset update page, and the target resource file includes page information of the at least one preset update page;

[0007] In response to receiving a page jump request sent by a client device of the target application software, determining identification information of the current page;

[0008] Determining whether a target jump page is a target update page based on the identification information of the current page and the all page jump information; the target jump page is a jump page corresponding to the current page; the target update page is one of the preset update pages;

[0009] If so, the page information corresponding to the target update page is determined, and a target jump page is generated based on the page information corresponding to the target update page and the jump is performed.

[0010] In a possible implementation, obtaining a target page configuration file and a target resource file of a pre-configured target application software includes:

[0011] Obtaining the encrypted page configuration file and the encrypted resource file stored in the preset database;

[0012] The encrypted page configuration file and the encrypted resource file are decrypted respectively using a preset decryption algorithm to obtain a target page configuration file and a target resource file.

[0013] In a possible implementation, the determining whether the target jump page is a target update page based on the identification information of the current page and the all page jump information includes:

[0014] Determining identification information of a target jump page from all page jump information based on the identification information of the current page;

[0015] It is determined whether the target jump page is a target update page based on the identification information of the target jump page.

[0016] In a possible implementation manner, the identification information of the target jump page includes page identification information of whether the target jump page is a preset update page;

[0017] The determining whether the target jump page is a target update page based on the identification information of the target jump page includes:

[0018] It is determined whether the target jump page is a target update page based on the page identification information.

[0019] In a possible implementation, generating a target jump page based on page information corresponding to the target update page and performing the jump includes:

[0020] The preset parsing framework is used to parse the page information corresponding to the target update page to obtain the parsed page information;

[0021] A view controller is used to generate and display a target jump page based on the parsed page information.

[0022] In a possible implementation, before obtaining the pre-configured target page configuration file and target resource file of the target application software, the method further includes:

[0023] Obtaining first configuration file version information of a target page configuration file and first resource file version information of a target resource file running in a target application software, as well as second configuration file version information of a page configuration file and second resource file version information of a resource file stored in a preset database;

[0024] Compare the first configuration file version information with the second configuration file version information, and compare the first resource file version information with the second resource file version information to obtain a comparison result;

[0025] Determine whether the version information of the first configuration file and the version information of the first resource file are the latest versions based on the comparison result;

[0026] If at least one of the version information of the first configuration file and the version information of the first resource file is not the latest version, updating the file that is not the latest version running in the target application software based on the corresponding file in the preset database;

[0027] If so, continue to run the target page configuration file and the target resource file in the target application software.

[0028] In a possible implementation, updating the files that are not the latest versions running in the target application software based on the corresponding files in the preset database includes:

[0029] In response to the user having logged into the target application software, files that are not the latest versions running in the target application software are updated based on corresponding files in a preset database.

[0030] In a second aspect, an embodiment of the present application provides an application software page update device, comprising: an acquisition module, for acquiring a pre-configured target page configuration file and a target resource file of the target application software in response to monitoring the startup of the target application software; a determination module, for determining the identification information of the current page in response to receiving a page jump request sent by a client device of the target application software; the determination module, for determining whether the target jump page is a target update page based on the identification information of the current page and all the page jump information; the determination module, for determining, if so, the page information corresponding to the target update page; and a generation module, for generating a target jump page based on the page information corresponding to the target update page and performing a jump.

[0031] In a third aspect, an embodiment of the present application provides an electronic device, comprising: at least one processor and a memory; the memory stores computer execution instructions; the at least one processor executes the computer execution instructions stored in the memory, so that the at least one processor executes the application software page update method described in the first aspect and various possible implementations of the first aspect.

[0032] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which computer execution instructions are stored. When the computer execution instructions are executed by a processor, they are used to implement the application software page update method described in the first aspect and / or various possible implementations of the first aspect.

[0033] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the application software page update method described in the first aspect and / or various possible implementations of the first aspect.

[0034] The application software page update method, device, equipment, medium and program product provided by the embodiment of the present application obtain the target page configuration file and target resource file of the pre-configured target application software in response to monitoring the start of the target application software; the target page configuration file contains all page jump information of the target application software, the all pages include at least one preset update page, and the target resource file contains the page information of the at least one preset update page; in response to receiving the page jump request sent by the client device of the target application software, the identification information of the current page is determined; based on the identification information of the current page and the all page jump information, it is determined whether the target jump page is the target update page; the target jump page is the jump page corresponding to the current page; the target update page is one of the preset update pages; if so, the page information corresponding to the target update page is determined, and the target jump page is generated and jumped based on the page information corresponding to the target update page. Since the target page configuration file contains all page jump information of the target application software, and also contains the jump information of at least one preset update page, and the target resource file is a file containing the preset update page information. When the target application software is detected to be started, the target page configuration file and target resource file of the pre-configured target application software are obtained. When responding to the page jump request sent by the client device of the target application software, the identification information of the current page is determined according to the received page jump request. Therefore, based on the identification information of the current page and all page jump information, it is determined whether the target jump page is a target update page. Then, when the target jump page is a target update page, the page information corresponding to the target update page is determined according to the target resource file, and the target jump page is generated and jumped based on the page information corresponding to the obtained target update page. Compared with the display of the update page through the H5 page, the target update page generated based on the target resource file is a native page. The native page can make full use of the hardware resources of the target application software, thereby realizing a quick response to the request, and compared with the H5 page loaded and displayed inside the target application software through the page view, the native page, as a part of the target application software, has a closed environment and access restrictions, thereby ensuring the security of the page. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0036] Figure 1 This is an application scenario diagram of the application software page update method applicable to the embodiment of the present application;

[0037] Figure 2A flowchart of an application software page updating method provided in an embodiment of the present application;

[0038] Figure 3 A flowchart of an application software page updating method provided by another embodiment of the present application;

[0039] Figure 4 A flowchart of an application software page updating method provided by another embodiment of the present application;

[0040] Figure 5 A schematic diagram of the structure of an application software page updating device provided in one embodiment of the present application;

[0041] Figure 6 A schematic diagram of the structure of an electronic device provided in one embodiment of the present application.

[0042] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0043] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0044] In the technical solution of this application, the collection, storage, use, processing, transmission, provision and disclosure of information such as financial data or user data involved shall comply with the provisions of relevant laws and regulations and shall not violate public order and good morals.

[0045] It should be noted that in the embodiments of the present application, certain software, components, models and other existing solutions in the industry may be mentioned, and they should be regarded as exemplary. Their purpose is only to illustrate the feasibility of implementing the technical solution of the present application, but it does not mean that the applicant has or will necessarily use the solution.

[0046] In order to clearly understand the technical solution of the present application, the solution of the prior art is first introduced in detail.

[0047] HTML5 is the fifth major version of HyperText Markup Language, which is a standard markup language for building web pages. H5 pages refer to pages developed using web technologies such as HTML5. Such pages are loaded and displayed in application software through web view components and can run across platforms, that is, the same code can run on different operating systems (such as iOS, Android) without the need for special adaptation for each platform. Web view is a container embedded in a native application to display and execute web content. Native applications refer to application software designed and developed specifically for specific operating systems and hardware platforms, such as Swift or Objective-C on the iOS platform, and Java or Kotlin on the Android platform, developed using the software development kit and application programming interface provided by the platform. Native pages can be regarded as components of native applications, pages built using the development language and framework of a specific platform.

[0048] At present, in order to quickly deploy interfaces that are added or updated due to new functions without updating the application software version, H5 pages are generally created by using HTML5 technology, and then displayed on the application software through Web view. Since the animation effects of H5 pages rely on JavaScript and CSS, this may cause frame drops or delays in complex animation scenarios. In addition, H5 pages may encounter response delays when handling complex user interactions, especially in the processing of touch events. H5 pages need to be forwarded through the Web view layer, which may cause touch response speed to slow down. In addition, H5 pages rely on Web views, so they are subject to Web security threats, so they are less secure than native pages generated by native applications.

[0049] In response to the above technical problems, the present application proposes the following technical concept: instead of using the H5 page that can only be displayed in the target application software through the Web view, the target resource file is generated using Swift or Objective-C on the iOS platform to achieve the construction of the native page. And by using the target page configuration file to configure all the page jump information of the target application software, when a new page is needed or an updated page is needed, it is achieved that a new application software version is not released, but by updating the target configuration file and the target resource file, a target update page is generated and jumped in the target application software. Therefore, the target update page can make full use of the hardware resources of the target application software, provide highly responsive interactions and page process jumps, and because the target update page does not rely on the Web view, it is more secure than the H5 page. Specifically, in response to monitoring the start of the target application software, the server-side device of the target application software obtains the pre-configured target page configuration file and target resource file of the target application software. When a page jump request is received from a client device of the target application software, the identification information of the current page is determined through the page jump request, and then whether the target jump page is a target update page is determined through the identification information of the current page and all page jump information. When the target jump page is a target update page, it means that the target jump page is generated through the page information contained in the target resource file, and then the page information corresponding to the target update page is determined based on the preset update page information contained in the target resource file, and then the target jump page is generated and jumped, thereby realizing the generation and jump of the target update page in the target application software, thereby ensuring the process and security of the page.

[0050] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0051] Figure 1 is an application scenario diagram of the application software page update method applicable to the embodiment of the present application, such as Figure 1As shown. The system corresponding to the application software page update method in the embodiment of the present application may include: a client device 11 of the target application software and a server device 12 of the target application software. In response to monitoring the start of the target application software, the server device 12 of the target application software obtains the pre-configured target page configuration file and target resource file of the target application software. Among them, the target page configuration file contains all page jump information of the target application software, and all pages include at least one preset update page, and the target resource file contains page information of at least one preset update page. The user can trigger the page jump through the client device 11 of the target application software and send the page jump request to the server device 12 of the target application software. After receiving the page jump request, the server device 12 of the target application software determines the identification information of the current page, and then determines whether the target jump page is the target update page based on the identification information of the current page and all the page jump information contained in the target page configuration file. The target jump page is the jump page corresponding to the current page, and the target update page is one of the preset update pages. If the target jump page is a target update page, the server device 12 of the target application software determines the page information corresponding to the target update page, generates the target jump page based on the page information corresponding to the target update page and jumps, thereby realizing that the target jump page is displayed on the client device 11 of the target application software.

[0052] Figure 2 A flowchart of an application software page updating method provided in an embodiment of the present application is shown in FIG. Figure 2 As shown, the execution subject of this embodiment is an application software page update device, which can be implemented by a computer program, or by a medium storing relevant computer programs, such as a USB flash drive and / or an optical disk, etc.; or, it can also be implemented by a physical device integrated or installed with relevant computer programs, such as a chip, an electronic device, etc. The application software page update method provided in this embodiment includes the following steps:

[0053] S201 , in response to monitoring the start of a target application software, obtaining a pre-configured target page configuration file and a target resource file of the target application software.

[0054] The target application software is an application software that uses a target resource file to perform preset page updates. The target page configuration file is a file containing all page jump information of the target application software. All pages include at least one preset update page. The preset update page can be a page that is added to the target application software or replaces the original page in the target application software. The original page is a page in the target application software except the preset update page. The target resource file is a resource file containing page information of at least one preset update page.

[0055] Optionally, the target configuration file may be in JSON format or other formats, which is not limited in this embodiment.

[0056] Specifically, in this embodiment, when the server-side device of the target application software detects that the target application software is started, the target page configuration file and the target resource file of the pre-configured target application software are obtained from the preset database.

[0057] It is understandable that the target page configuration file includes the jump information of all pages of the target application software. Therefore, when a new page needs to be added or any page in the current version of the target application software needs to be replaced, it can be achieved by updating the page jump information in the target page configuration file.

[0058] S202: In response to receiving a page jump request sent by a client device of a target application software, determine identification information of a current page.

[0059] The current page is the corresponding page that triggers the page jump request. The identification information of the current page is the unique identification information representing the current page, which can be the current page identification code, the current page identification name, etc.

[0060] Specifically, in this embodiment, the user triggers a page jump request on the client device of the target application software and sends it to the server device of the target application software. The page jump request contains the identification information of the current page. Therefore, the server device of the target application software obtains the identification information of the current page based on the received page jump request.

[0061] S203: Determine whether the target jump page is a target update page based on the identification information of the current page and all page jump information.

[0062] The target jump page is a jump page corresponding to the current page. The target update page is one of the preset update pages.

[0063] Specifically, in this embodiment, all page jump information includes the jump information corresponding to the current page. Therefore, based on the identification information of the current page, the target jump page corresponding to the current page can be determined in all page jump information, and then based on the preset mark of the target jump page, it can be determined whether the target jump page is the target update page.

[0064] S204: If yes, determine the page information corresponding to the target update page, generate a target jump page based on the page information corresponding to the target update page, and jump.

[0065] Specifically, in this embodiment, if the target jump page is a target update page, the page information corresponding to the target update page is obtained from the target resource file, and the preset parsing and generation technology is used to parse the page information corresponding to the target update page and generate the corresponding target jump page, so that the target jump page is displayed on the client device of the target application software.

[0066] The application software page update method provided by the present application obtains the target page configuration file and target resource file of the pre-configured target application software in response to monitoring the start of the target application software; the target page configuration file contains all page jump information of the target application software, all pages include at least one preset update page, and the target resource file contains the page information of at least one preset update page; in response to receiving the page jump request sent by the client device of the target application software, the identification information of the current page is determined; based on the identification information of the current page and all page jump information, it is determined whether the target jump page is the target update page; the target jump page is the jump page corresponding to the current page; the target update page is one of the preset update pages; if so, the page information corresponding to the target update page is determined, and the target jump page is generated and jumped based on the page information corresponding to the target update page. Since the target page configuration file contains all page jump information of the target application software, and also contains the jump information of at least one preset update page, and the target resource file is a file containing the preset update page information. When the target application software is detected to be started, the pre-configured target page configuration file and target resource file of the target application software are obtained. When responding to a page jump request sent by a client device of the target application software, the identification information of the current page is determined according to the received page jump request. Therefore, based on the identification information of the current page and all page jump information, it is determined whether the target jump page is a target update page. Then, when the target jump page is a target update page, the page information corresponding to the target update page is determined according to the target resource file, and the target jump page is generated and jumped based on the acquired page information corresponding to the target update page. Compared with displaying the update page through the H5 page, the target update page generated based on the target resource file is a native page. The native page can make full use of the hardware resources of the target application software to achieve a quick response to the request. Compared with the H5 page loaded and displayed inside the target application software through the page view, the native page, as a part of the target application software, has a closed environment and access restrictions, thereby ensuring the security of the page.

[0067] As an optional implementation, based on the above embodiment, obtaining a target page configuration file and a target resource file of a pre-configured target application software includes:

[0068] Obtaining the encrypted page configuration file and the encrypted resource file stored in the preset database;

[0069] The encrypted page configuration file and the encrypted resource file are decrypted respectively using a preset decryption algorithm to obtain a target page configuration file and a target resource file.

[0070] The preset database may be a database other than the target application software, which is not limited in this embodiment.

[0071] Specifically, in this embodiment, the server-side device of the target application software obtains the encrypted page configuration file and the encrypted resource file encrypted using a preset encryption algorithm from a preset database, and then uses a preset decryption algorithm to decrypt the decrypted page configuration file and the encrypted resource file, and uses the decrypted page configuration file and the resource file as the target page configuration file and the target resource file.

[0072] Optionally, the preset encryption algorithm may be an SM2 encryption algorithm or other encryption algorithms, which is not limited in this embodiment. The preset decryption algorithm may be an SM2 decryption algorithm or other decryption algorithms, which is not limited in this embodiment.

[0073] It is understandable that the SM2 encryption algorithm is a public key encryption algorithm based on elliptic curve cryptography, and its security is mainly based on the elliptic curve discrete logarithm problem. In the encryption process, the public key of the receiver is mainly used to encrypt the plaintext to generate the ciphertext. The SM2 decryption algorithm is the reverse process of the encryption algorithm, using the sender's private key to decrypt the ciphertext to restore the plaintext.

[0074] The application software page update method provided by the present application obtains the target page configuration file and the target resource file of the pre-configured target application software, including: obtaining the encrypted page configuration file and the encrypted resource file stored in the preset database; using the preset decryption algorithm to decrypt the encrypted page configuration file and the encrypted resource file respectively to obtain the target page configuration file and the target resource file. Since the page configuration file and the resource file are encrypted files stored in the preset database, when obtaining the encrypted page configuration file and the encrypted resource file stored in the preset database, the integrity of the page configuration file and the resource file can be guaranteed, and after obtaining the encrypted page configuration file and the encrypted resource file, the encrypted page configuration file and the encrypted resource file are decrypted respectively by the preset decryption algorithm, thereby realizing the rapid and safe acquisition of the page configuration file and the resource file, and ensuring the security of the page configuration file and the resource file.

[0075] As an optional implementation, based on the above embodiment, determining whether the target jump page is a target update page based on the identification information of the current page and all page jump information includes:

[0076] Determine the identification information of the target jump page from all page jump information based on the identification information of the current page;

[0077] It is determined whether the target jump page is a target update page based on the identification information of the target jump page.

[0078] The identification information of the target jump page is unique identification information representing the target jump page, which may be a target jump page identification code, a target jump page identification name, and the like.

[0079] Specifically, in this embodiment, the target jump page is obtained from the jump information of all pages according to the identification information of the current page, thereby obtaining the identification information of the target jump page. Further, it is determined whether the target jump page is a target update page according to the preset mark in the target jump page mark information.

[0080] The preset mark is specific mark information of the preset update page, which can be a specific number or character, etc., which is not limited in this embodiment. For example, the identification information of the target update page has an additional "*" specific character compared to the identification information of the original page in the target application software, which can be at the beginning or end of the identification information.

[0081] The application software page update method provided by the present application determines whether the target jump page is the target update page based on the identification information of the current page and all page jump information, including: determining the identification information of the target jump page from all page jump information based on the identification information of the current page; determining whether the target jump page is the target update page based on the identification information of the target jump page. Since all page jump information contains the jump information of the current page, the identification information of the target jump page can be determined from all page jump information through the identification information of the current page, thereby ensuring the accuracy of the target jump page, and determining whether the target jump page is the target update page based on the identification information of the target jump page, thereby determining the update status of the target jump page without additional requests or calculations, thereby reducing network traffic and server burden.

[0082] As an optional implementation manner, based on the above embodiment, the identification information of the target jump page includes page identification information of whether the target jump page is a preset update page;

[0083] Determining whether the target jump page is a target update page based on the identification information of the target jump page includes:

[0084] It is determined whether the target jump page is a target update page based on the page identification information.

[0085] The page identification information is unique identification information for distinguishing whether it is a preset update page.

[0086] Exemplarily, it is assumed that "UP" is the page identification information of the preset update page, and "NA" is the page identification information of the original page of the target application software. If the identification information of the target jump page is the target jump page identification name, such as the identification name of the original page of the target application software can be "NA+original page name", then the identification name of the preset update page is "UP+preset update page name". If the identification information of the target jump page is the target jump page identification code, the update page identification information can be set to start with a specific letter at the beginning of the page identification code. For example, the identification code of the original page of the target application software can be "NA+original page identification code", then the identification code of the preset update page is "UP+preset update page identification code".

[0087] Specifically, in this embodiment, after obtaining the identification information of the target jump page, it is checked whether the page identification information contained in the identification information of the target jump page is the page identification information identifying the original page of the target application software or the page identification information of the preset update page. If it is the page identification information identifying the preset update page, it indicates that the target jump page is the target update page. If it is the page identification information identifying the original page of the target application software, it indicates that the target jump page is not the target update page.

[0088] The application software page update method provided by the present application, the identification information of the target jump page includes page identification information of whether the target jump page is a preset update page; determining whether the target jump page is a target update page based on the identification information of the target jump page includes: determining whether the target jump page is a target update page based on the page identification information. Since the identification information of the target jump page includes page identification information of whether the target jump page is a preset update page, it is possible to determine whether the target jump page is a target update page through the page identification information contained in the identification information of the target jump page, thereby realizing a quick judgment of the target update page and improving the response speed of the target application software.

[0089] As an optional implementation, based on the above embodiment, generating a target jump page based on the page information corresponding to the target update page and performing the jump includes:

[0090] The preset parsing framework is used to parse the page information corresponding to the target update page to obtain the parsed page information;

[0091] The view controller is used to generate and display the target jump page based on the parsed page information.

[0092] The preset parsing framework may be a UI parsing framework, which parses the UI definition language through preset parsing rules and converts it into a data structure that can be understood by the view controller. The UI definition language is a user interface description language or markup language, and the UI definition language adopts a syntax structure similar to HTML, XML, JSON or a dedicated one.

[0093] It can be understood that the view controller is a key design pattern component in mobile application development, responsible for managing one or more views.

[0094] The page information corresponding to the target update page may be a UI definition language.

[0095] Specifically, in this embodiment, the page information corresponding to the target update page is parsed using a preset parsing framework, parsed into a data structure in memory, and the parsed data structure is further processed to generate a specific UI component instance, and the UI component layout calculation and event binding are performed according to the page information corresponding to the target update page, and the constructed UI component and the corresponding layout and event binding information are used as the parsed page information. By passing the parsed page information to the view controller, the view controller is responsible for rendering these components on the client device of the target application software, thereby realizing the display of the target jump page.

[0096] Among them, if there is parameter transfer in the page jump of the target jump page, the corresponding parameters are obtained from the preset parameter storage database according to the parameter identifier, and the parameters are passed to the view controller corresponding to the jump page. During the parameter transfer process, the parameters can be verified by the preset verification technology.

[0097] It can be understood that the parameter identifier is unique identification information for identifying the parameter, which may be a parameter name or the like.

[0098] Optionally, the preset verification technology may be a digital certificate signing technology, or other technologies, which are not limited in this embodiment.

[0099] Among them, digital certificate signing technology is a technology that uses digital certificates to verify the authenticity and integrity of electronic documents or messages.

[0100] The application software page update method provided by the present application generates a target jump page and jumps based on the page information corresponding to the target update page, including: using a preset parsing framework to parse the page information corresponding to the target update page to obtain the parsed page information; using a view controller to generate and display the target jump page based on the parsed page information. Since the page information corresponding to the target update page is parsed by the preset parsing framework and converted into information that can be understood by the view controller, the target jump page is generated and displayed by the view controller according to the parsed page information, thereby realizing the rapid generation of the target jump page, reducing the user waiting time, and improving the user experience.

[0101] As an optional implementation manner, based on the above embodiment, before obtaining the pre-configured target page configuration file and target resource file of the target application software, the method further includes:

[0102] Obtaining first configuration file version information of a target page configuration file and first resource file version information of a target resource file running in a target application software, as well as second configuration file version information of a page configuration file and second resource file version information of a resource file stored in a preset database;

[0103] Compare the first configuration file version information with the second configuration file version information, and compare the first resource file version information with the second resource file version information to obtain a comparison result;

[0104] Determine whether the version information of the first configuration file and the version information of the first resource file are the latest versions based on the comparison result;

[0105] If at least one of the version information of the first configuration file and the version information of the first resource file is not the latest version, updating the file that is not the latest version running in the target application software based on the corresponding file in the preset database;

[0106] If so, continue to run the target page configuration file and the target resource file in the target application software.

[0107] The file version information is information indicating the iteration status of the file, which may be a file version number, etc. The first configuration file version information is the version information of the target page configuration file currently running in the target application software, and the first resource file version information is the version information of the target resource file currently running in the target application software. The second configuration file version information is the version information of the page configuration file stored in the preset database, and the second resource file version information is the version information of the resource file stored in the preset database.

[0108] It is understandable that when the page configuration file and resource file are updated, the latest version of the page configuration file and resource file is stored in the preset database, and the page configuration file and resource file previously stored in the preset database are overwritten. Therefore, the latest version of the page configuration file and resource file is stored in the preset database.

[0109] Specifically, in this embodiment, before obtaining the target page configuration file and the target resource file, first obtain the first configuration file version information and the first resource file version information running in the target application software and the second configuration file version information and the second resource file version information stored in the preset database. By comparing the first configuration file version information with the second configuration file version information, it is determined whether the first configuration file version information is the latest version, and by comparing the first resource file version information with the second resource file version information, it is determined whether the first resource file version information is the latest version. When at least one of the comparison results of the first resource file version information and the first resource file version information is not the latest version, the corresponding latest version file is obtained from the preset database for updating. If the comparison results of the first resource file version information and the first resource file version information are both the latest versions, there is no need to update, and the target page configuration file and the target resource file in the target application software continue to run.

[0110] The application software page update method provided by the present application, before obtaining the pre-configured target page configuration file and target resource file of the target application software, also includes: obtaining the first configuration file version information of the target page configuration file running in the target application software and the first resource file version information of the target resource file, as well as the second configuration file version information of the page configuration file and the second resource file version information of the resource file stored in the preset database; comparing the first configuration file version information with the second configuration file version information, and comparing the first resource file version information with the second resource file version information to obtain a comparison result; determining whether the first configuration file version information and the first resource file version information are the latest versions based on the comparison result; if at least one of the first configuration file version information and the first resource file version information is not the latest version, updating the files that are not the latest versions running in the target application software based on the corresponding files in the preset database; if so, continuing to run the target page configuration file and the target resource file in the target application software. Since the first configuration file version information and the first resource file version information running in the target application software and the second configuration file version information and the second resource file version information stored in the preset database are obtained, by comparing the first configuration file version information and the second configuration file version information and the first resource file version information and the second resource file version information respectively, it can be determined according to the comparison result whether the first configuration file version information and the first resource file version information are both the latest versions. Therefore, when at least one of the first configuration file version information and the first resource file version information is not the latest version, they can be updated by obtaining the corresponding latest version file in the preset database. If the first configuration file version information and the first resource file version information are both the latest versions, there is no need to update them, and the target page configuration file and the target resource file in the target application software continue to run, thereby ensuring effective version control, realizing automatic updating of the target page configuration file and the target resource file, and reducing the workload of manual updating.

[0111] As an optional implementation, based on the above embodiment, updating the files that are not the latest version running in the target application software based on the corresponding files in the preset database includes:

[0112] In response to the user having logged into the target application software, files that are not the latest versions running in the target application software are updated based on corresponding files in a preset database.

[0113] Specifically, in this embodiment, before updating the running files in the target application software by obtaining the latest version of the files in the preset database, the server-side device of the target application software obtains the user login status. If the user has logged in to the target application software, the latest version of the files in the preset database is obtained to update the files running in the target application software that are not the latest version. If the user has not logged in to the target application software, the target page configuration file and target resource file in the target application software continue to run and stop updating.

[0114] The application software page update method provided by the present application updates the files running in the target application software that are not the latest version based on the corresponding files in the preset database, including: in response to the user having logged into the target application software, updating the files running in the target application software that are not the latest version based on the corresponding files in the preset database. Since the user's login status is confirmed when updating the files running in the target application software that are not the latest version based on the corresponding files in the preset database, it can be ensured that the update operation occurs under the account of the legitimate user, thereby ensuring data security.

[0115] Figure 3 A flowchart of an application software page updating method provided by another embodiment of the present application is shown in FIG. Figure 3 As shown, the execution subject of this embodiment is an application software page update system. The system includes: a server device of the target application software and a client device of the target application software. The application software page update method provided in this embodiment includes the following steps:

[0116] S301, in response to the start-up of the target application software, the server device of the target application software obtains an encrypted target page configuration file and an encrypted target resource file from a preset database.

[0117] S302: The server device of the target application software uses a preset decryption algorithm to decrypt the encrypted page configuration file and the encrypted resource file respectively to obtain a target page configuration file and a target resource file.

[0118] S303, the server device of the target application software stores the target page configuration file and the target resource file in a preset storage location of the target application software.

[0119] Among them, the target page configuration file can be stored in the resource management component, and the target resource file can be stored in the sandbox of the target application software.

[0120] It can be understood that the resource management component is a component in the target application software for managing all jump information in the target application software. Sandbox is a security model that creates an isolated operating environment for the target application software in a computer system.

[0121] S304, the user triggers a page jump through the client device of the target application software, and sends a page jump request to the server device of the target application software.

[0122] S305 , the server device of the target application software responds to the page jump request and determines identification information of the current page based on the page jump request.

[0123] S306: The server device of the target application software determines whether the target jump page is a target update page based on the identification information of the current page and all page jump information.

[0124] S307: If the target jump page is a target update page, the server device of the target application software determines page information corresponding to the target update page based on the target resource file, and generates a target jump page based on the page information corresponding to the target update page.

[0125] S308, the server device of the target application software sends information about generating a target jump page to the client device of the target application software.

[0126] S309, the client device of the target application software displays the target jump page.

[0127] S310: If the target jump page is not the target update page, the server device of the target application software jumps to the target jump page according to the page pre-configured in the application software based on the target page configuration file.

[0128] Figure 4 A flowchart of an application software page updating method provided in another embodiment of the present application is as follows: Figure 4 As shown, the execution subject of this embodiment is an application software page updating device. The application software page updating method provided by this embodiment includes the following steps:

[0129] S401, in response to the start of the target application software, the server device of the target application software obtains version information of a first configuration file and a first resource file running in the target application software, and version information of a second configuration file and a second resource file stored in a preset database.

[0130] S402: The server device of the target application software compares the first configuration file version information with the second configuration file version information, and compares the first resource file version information with the second resource file version information to obtain a comparison result.

[0131] S403: The server device of the target application software determines, based on the comparison result, whether at least one of the target page configuration file and the target resource file running in the target application software needs to be updated.

[0132] S404: If an update is required, determine whether the user has logged into the target application software.

[0133] S405: If the user logs in, the files that are not the latest versions running in the target application software are updated based on the corresponding files in the preset database.

[0134] S406: If the user is not logged in or the target application software does not need to be updated, the target page configuration file and the target resource file in the target application software continue to run.

[0135] Figure 5 A schematic diagram of the structure of an application software page updating device provided in an embodiment of the present application is shown in FIG. Figure 5 As shown, the application software page updating device provided in this embodiment is located in an electronic device, and the application software page updating device 50 provided in this embodiment includes: an acquisition module 51 , a determination module 52 , and a generation module 53 .

[0136] Among them, the acquisition module 51 is used to obtain the target page configuration file and target resource file of the pre-configured target application software in response to monitoring the start of the target application software; the target page configuration file contains all page jump information of the target application software, all pages include at least one preset update page, and the target resource file contains the page information of at least one preset update page. The determination module 52 is used to determine the identification information of the current page in response to receiving the page jump request sent by the client device of the target application software; the determination module 52 is also used to determine whether the target jump page is the target update page based on the identification information of the current page and all page jump information; the determination module 52 is also used to determine the page information corresponding to the target update page if so; the generation module 53 is used to generate the target jump page based on the page information corresponding to the target update page and jump.

[0137] Optionally, when acquiring the target page configuration file and target resource file of the pre-configured target application software, the acquisition module 51 is specifically used to: acquire the encrypted page configuration file and the encrypted resource file stored in a preset database; and use a preset decryption algorithm to decrypt the encrypted page configuration file and the encrypted resource file respectively to obtain the target page configuration file and the target resource file.

[0138] Optionally, when determining whether the target jump page is a target update page based on the identification information of the current page and all page jump information, the determination module 52 is specifically used to: determine the identification information of the target jump page from all page jump information based on the identification information of the current page; and determine whether the target jump page is a target update page based on the identification information of the target jump page.

[0139] Optionally, the identification information of the target jump page includes page identification information of whether the target jump page is a preset update page.

[0140] Correspondingly, the determination module 52 determines whether the target jump page is an update page based on the identification information of the target jump page, and is specifically used to determine whether the target jump page is a target update page based on the page identification information.

[0141] Optionally, the generation module 53, when generating a target jump page based on the page information corresponding to the target update page and performing a jump, is specifically used to: use a preset parsing framework to parse the page information corresponding to the target update page to obtain the parsed page information; use a view controller and generate and display the target jump page based on the parsed page information.

[0142] Optionally, the application software page updating device provided in this embodiment further includes: a comparison module, an update module, and an operation module.

[0143] Correspondingly, the acquisition module 51 is used to obtain the first configuration file version information of the target page configuration file running in the target application software and the first resource file version information of the target resource file, as well as the second configuration file version information of the page configuration file and the second resource file version information of the resource file stored in the preset database before obtaining the pre-configured target page configuration file and target resource file of the target application software. The comparison module is used to compare the first configuration file version information with the second configuration file version information, and to compare the first resource file version information with the second resource file version information to obtain a comparison result. The determination module 52 is also used to determine whether the first configuration file version information and the first resource file version information are the latest versions based on the comparison result. The update module is used to update the files that are not the latest versions running in the target application software based on the corresponding files in the preset database if at least one of the first configuration file version information and the first resource file version information is not the latest version. The running module is used to continue running the target page configuration file and the target resource file in the target application software if so.

[0144] Optionally, the running module updates files that are not the latest version running in the target application software based on corresponding files in a preset database, specifically for: in response to a user having logged into the target application software, updating files that are not the latest version running in the target application software based on corresponding files in a preset database.

[0145] The application software page updating device provided in the embodiment of the present application can be used to execute the technical solution of the application software page updating method in the above embodiment. Its implementation principle and technical effect are similar and will not be repeated here.

[0146] It should be noted that it should be understood that the division of the various modules of the above device is only a division of logical functions. In actual implementation, they can be fully or partially integrated into one physical entity, or physically separated. Moreover, these modules can be all implemented in the form of software calling through processing elements; they can also be all implemented in the form of hardware; some modules can also be implemented in the form of software calling through processing elements, and some modules can be implemented in the form of hardware.

[0147] Figure 6 This is a schematic diagram of the structure of an electronic device provided by an embodiment of the present application. Figure 6 As shown, the electronic device 60 may include: a processor 61 and a memory 62 .

[0148] The memory 62 stores computer executable instructions; the processor 61 executes the computer executable instructions stored in the memory 62 to implement the application software page update method provided by any of the above embodiments. The relevant description can be understood by referring to the relevant descriptions and effects corresponding to the steps in the accompanying drawings, and no further details are given here.

[0149] The processor 61 can be a general-purpose processor, including a central processing unit CPU, a network processor (NP), etc.; it can also be a digital signal processor DSP, an application-specific integrated circuit ASIC, a field programmable gate array FPGA or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0150] The memory 62 is connected to the processor 61 via a system bus and completes communication between them. The memory 62 is used to store computer program instructions.

[0151] The system bus can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The system bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus. The transceiver is used to realize the communication between the database access device and other computers (such as clients, read-write libraries, and read-only libraries). The memory may include random access memory (RAM) and may also include non-volatile memory.

[0152] The electronic device provided in the embodiment of the present application may be the terminal device of the above embodiment.

[0153] The embodiment of the present application also provides a chip for running instructions, which is used to execute the technical solution of the application software page update method in the above embodiment.

[0154] The embodiment of the present application also provides a computer-readable storage medium, in which computer instructions are stored. When the computer instructions are executed on a computer, the computer executes the technical solution of the application software page update method of the above embodiment.

[0155] An embodiment of the present application also provides a computer program product, which includes a computer program stored in a computer-readable storage medium. At least one processor can read the computer program from the computer-readable storage medium. When at least one processor executes the computer program, it can implement the technical solution of the application software page update method in the above embodiment.

[0156] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules is only a logical function division, and there may be other division methods in actual implementation, such as multiple modules can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or modules, which can be electrical, mechanical or other forms.

[0157] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to implement the solution of this embodiment.

[0158] In addition, each functional module in each embodiment of the present application can be integrated into one processing unit, or each module can exist physically separately, or two or more modules can be integrated into one unit. The above-mentioned module-composed unit can be implemented in the form of hardware or in the form of hardware plus software functional units.

[0159] The above-mentioned integrated module implemented in the form of a software function module can be stored in a computer-readable storage medium. The above-mentioned software function module is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to perform some steps of the methods of various embodiments of the present application.

[0160] In the above embodiments, it should be understood that the processor can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in the invention can be directly implemented as a hardware processor, or can be implemented by a combination of hardware and software modules in the processor.

[0161] The memory may include a high-speed memory (Random Access Memory, RAM), and may also include a non-volatile memory (NVM), such as at least one disk storage.

[0162] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of this application is not limited to only one bus or one type of bus.

[0163] The above-mentioned readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The readable storage medium can be any available medium that can be accessed by a general or special-purpose computer.

[0164] An exemplary readable storage medium is coupled to a processor so that the processor can read information from the readable storage medium and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can be located in an application specific integrated circuit (Application Specific Integrated Circuits, referred to as: ASIC). Of course, the processor and the readable storage medium can also exist in the device as discrete components.

[0165] The division of units is only a logical function division, and there may be other divisions in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interface, device or unit, which can be electrical, mechanical or other forms.

[0166] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0167] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0168] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.

[0169] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.

[0170] Finally, it should be noted that those skilled in the art will readily conceive of other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. The present invention is intended to cover any variations, uses or adaptations of the present invention, which follow the general principles of the present invention and include common knowledge or customary technical means in the art not disclosed by the present invention, are not limited to the precise structure described above and shown in the drawings, and may be modified and changed in various ways without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.

Claims

1. A method for updating an application software page, characterized in that: include: In response to monitoring the start of the target application software, obtaining a pre-configured target page configuration file and a target resource file of the target application software; The target page configuration file includes all page jump information of the target application software, the all pages include at least one preset update page, and the target resource file includes page information of the at least one preset update page; In response to receiving a page jump request sent by a client device of a target application software, determining identification information of a current page; Determining whether a target jump page is a target update page based on the identification information of the current page and the all page jump information; The target jump page is the jump page corresponding to the current page; the target update page is one of the preset update pages; If so, the page information corresponding to the target update page is determined, and a target jump page is generated based on the page information corresponding to the target update page and the jump is performed.

2. The method according to claim 1, characterized in that The step of obtaining a target page configuration file and a target resource file of a pre-configured target application software includes: Obtaining the encrypted page configuration file and the encrypted resource file stored in the preset database; The encrypted page configuration file and the encrypted resource file are decrypted respectively using a preset decryption algorithm to obtain a target page configuration file and a target resource file.

3. The method according to claim 1, characterized in that The determining whether the target jump page is a target update page based on the identification information of the current page and the all page jump information includes: Determining identification information of a target jump page from all page jump information based on the identification information of the current page; It is determined whether the target jump page is a target update page based on the identification information of the target jump page.

4. The method according to claim 3, characterized in that The identification information of the target jump page includes page identification information of whether the target jump page is a preset update page; The determining whether the target jump page is a target update page based on the identification information of the target jump page includes: It is determined whether the target jump page is a target update page based on the page identification information.

5. The method according to claim 1, characterized in that The generating a target jump page based on the page information corresponding to the target update page and performing the jump includes: The preset parsing framework is used to parse the page information corresponding to the target update page to obtain the parsed page information; A view controller is used to generate and display a target jump page based on the parsed page information.

6. The method according to claim 1, characterized in that Before obtaining the target page configuration file and the target resource file of the pre-configured target application software, the method further includes: Obtaining first configuration file version information of a target page configuration file and first resource file version information of a target resource file running in a target application software, as well as second configuration file version information of a page configuration file and second resource file version information of a resource file stored in a preset database; Compare the first configuration file version information with the second configuration file version information, and compare the first resource file version information with the second resource file version information to obtain a comparison result; Determine whether the version information of the first configuration file and the version information of the first resource file are the latest versions based on the comparison result; If at least one of the version information of the first configuration file and the version information of the first resource file is not the latest version, updating the file that is not the latest version running in the target application software based on the corresponding file in the preset database; If so, continue to run the target page configuration file and the target resource file in the target application software.

7. The method according to claim 6, characterized in that The updating of the files running in the target application software which are not the latest versions based on the corresponding files in the preset database includes: In response to the user having logged into the target application software, files that are not the latest versions and are running in the target application software are updated based on corresponding files in a preset database.

8. An application software page updating device, characterized in that: include: An acquisition module, configured to acquire a pre-configured target page configuration file and a target resource file of the target application software in response to monitoring the start of the target application software; A determination module, configured to determine identification information of a current page in response to receiving a page jump request sent by a client device of a target application software; The determination module is further used to determine whether the target jump page is a target update page based on the identification information of the current page and the all page jump information; The determination module is further used to determine the page information corresponding to the target update page if yes; The generation module is used to generate a target jump page based on the page information corresponding to the target update page and perform the jump.

9. An electronic device, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory, so that the processor performs the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 7 when executed by a processor.

11. A computer program product, characterized in that The invention comprises a computer program, which implements the method according to any one of claims 1 to 7 when being executed by a processor.