Processing method, device, equipment, medium and program product of application program

CN122614331APending Publication Date: 2026-08-21GUANGZHOU TENCENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510186481.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-19
Publication Date
2026-08-21

AI Technical Summary

Technical Problem

[0003]目前,跨平台开发应用程序存在开发门槛高和操作复杂等问题

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122614331A_ABST
    Figure CN122614331A_ABST
Patent Text Reader

Abstract

Embodiments of the present application disclose a processing method and device of an application program, equipment, a medium and a program product. The method comprises the following steps: in the process of developing an application program in a second running environment, receiving credential information configured for the application program; in response to a resource configuration operation for the application program, obtaining an application resource in an application service according to the credential information; and in response to a confirmation operation on the application resource, generating an installation package of the application program based on the application resource. The embodiments of the present application can realize cross-platform iOS application development, and greatly improve the development efficiency of the iOS application.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and more particularly to the field of application programs, specifically to an application program processing method, an application program processing apparatus, a computer device, a computer-readable storage medium, and a computer program product. Background Technology

[0002] Cross-platform application development refers to the process of developing an application that runs in one runtime environment and can run in another.

[0003] Currently, cross-platform application development faces challenges such as high development barriers and operational complexity. For example, developing iOS applications that run on the iOS (iPhone Operating System) operating system from a Windows operating system requires developers to understand the principles of native iOS development to a certain extent and to perform extensive application resource preparation work before development, following official technical documentation. This not only increases the barrier to entry for cross-platform iOS application development but also increases the likelihood of errors occurring during the iOS build process, thus reducing the efficiency of cross-platform iOS application development. Summary of the Invention

[0004] This application provides a method, apparatus, device, medium, and program product for processing applications, which greatly improves the development efficiency of iOS applications while enabling cross-platform iOS application development.

[0005] On one hand, embodiments of this application provide a method for processing an application, the application running in a first runtime environment, the method comprising:

[0006] During the development of the application in the second runtime environment, the credential information configured for the application is received; the credential information is the identity credentials of the application development object in the application service, which is used to create the application resources required for the development of the application.

[0007] In response to resource configuration operations for an application, retrieve application resources from the application service based on credential information;

[0008] In response to the confirmation operation of application resources, an installation package for the application is generated based on the application resources.

[0009] On the other hand, embodiments of this application provide a processing apparatus for an application running in a first runtime environment, the processing apparatus comprising:

[0010] The acquisition unit is used to receive the credential information configured for the application during the application development process in the second runtime environment; the credential information is the identity credentials of the application development object in the application service, which is used to create the application resources required for the application development.

[0011] The processing unit is used to respond to resource configuration operations for the application and obtain application resources in the application service based on credential information.

[0012] The processing unit is also used to generate an application installation package based on the application resources in response to the confirmation operation of the application resources.

[0013] In one implementation, the acquisition unit, when receiving credential information configured for the application, is specifically used for:

[0014] The application's information configuration interface is displayed, which includes an information configuration area for each credential.

[0015] In response to the information configuration operation performed in each information configuration area, the configured credential information is displayed in each information configuration area;

[0016] The credential information includes at least one of the following: the organization identifier of the development organization to which the development object belongs, the object identifier of the development object, and the key file of the development object; the information configuration operation includes at least one of the following: input operation performed through a virtual keyboard or physical keyboard, paste operation performed through a paste panel, and information search operation performed in local storage space.

[0017] In one implementation, the processing unit, in response to a resource configuration operation for the application, specifically retrieves application resources from the application service based on credential information, and is used for:

[0018] Displays the application's application development interface, which includes application configuration options;

[0019] In response to the selection of program configuration options, the resource configuration interface is displayed;

[0020] In response to resource setting operations performed in the resource configuration interface, application resources in the application service are obtained based on the credential information.

[0021] In one implementation, the program configuration option is a program execution option, which indicates that the developed application should be run on a runtime device where the first runtime environment is deployed. The runtime device can be a physical device or a simulator. The processing unit, in response to the selection of the program configuration option, outputs the resource configuration interface, specifically for:

[0022] In response to the selection of a program running option, the first configuration interface corresponding to the program running option is output;

[0023] If a running device is selected, the signature type area and file configuration area are displayed in the first configuration interface; the signature type area is used to configure the signature type for the application, and the file configuration area is used to configure application resources for the application.

[0024] In one implementation, the processing unit is further used for:

[0025] If the running device is not selected, a configuration prompt message will be displayed in the first configuration interface. The configuration prompt message is used to indicate that the signature type and application resources cannot be configured if no running device is selected.

[0026] The application development interface includes a device selection area, a processing unit, and is also used for:

[0027] The device selection operation performed in the device selection area will be received, and the device identifier of the selected running device will be displayed in the device selection area.

[0028] In one implementation, the program configuration option is a program build option, which indicates that the developed application should be distributed. The processing unit, in response to the selection of the program configuration option, outputs a resource configuration interface, specifically for:

[0029] In response to the selection of program build options, obtain application information of the application;

[0030] The output program build options correspond to a second configuration interface, which includes: application information, a signature type area, and a file configuration area; the signature type area is used to configure the signature type for the application, and the file configuration area is used to configure application resources for the application.

[0031] In one implementation, the signature type area includes certificate signing options, and the file configuration area includes certificate hosting options, a certificate area, and a file area; the application resources include a signed certificate file and a configuration file; the processing unit, used to respond to resource configuration operations performed in the resource configuration interface, specifically for retrieving application resources from the application service based on credential information, is used for:

[0032] When the certificate signing option is selected, in response to the triggered operation for the certificate hosting option, the signature certificate file and configuration file in the application service are obtained based on the credential information;

[0033] Display the signed certificate file in the certificate area and the configuration file in the file area.

[0034] In one implementation, when the certificate hosting option is not triggered, the processing unit is also used for:

[0035] If a certificate configuration operation existing in the certificate area is received, the signature certificate file in the application service is obtained based on the credential information;

[0036] Display the signed certificate file in the certificate area; and,

[0037] If a file configuration operation existing in the file area is received, the configuration file in the application service is obtained based on the credential information;

[0038] Display the configuration file in the file area.

[0039] In one implementation, the second configuration interface also displays distribution options; the signing certificate file includes a development certificate file and a distribution certificate file; the processing unit is further used for:

[0040] When the distribution option is selected, the distribution certificate file in the application service is obtained based on the credential information;

[0041] When the distribution option is not selected, the development certificate file in the application service is obtained based on the credential information.

[0042] In one implementation, the processing unit, when retrieving application resources from the application service based on credential information, specifically performs the following functions:

[0043] Check if application resources are included in the local storage space;

[0044] If the local storage space does not contain application resources, the interface program is called to access the application service;

[0045] If application resources are detected in the application service based on the credential information, then the application resources are obtained from the application service.

[0046] If the application service is found to be missing application resources based on the credentials, the application service will be invoked to create the application resources.

[0047] In one implementation, the processing unit is further used for:

[0048] If the local storage space includes application resources, then obtain the validity judgment strategy; the validity judgment strategy is used to characterize the judgment rules for detecting whether the application resources are valid;

[0049] The validity of application resources is assessed based on the validity assessment strategy, and the validity assessment results are obtained.

[0050] When the validity judgment result indicates that the application resource is valid, the application resource is retrieved from the local storage space.

[0051] In one implementation, the application resources include configuration files, processing units, and are also used for:

[0052] The availability judgment strategy is invoked to perform availability verification on the configuration file, and the availability verification result is obtained; the availability judgment strategy is used to characterize the judgment rules for detecting whether the configuration file is available;

[0053] If the availability check result indicates that the configuration file is available, retrieve the configuration file.

[0054] In one implementation, the application resource includes a signature certificate file; the processing unit, used when calling the application service to create the application resource, specifically performs the following functions:

[0055] Check if a distribution certificate is needed to generate a signature certificate file;

[0056] If necessary, the application service is invoked to create a distribution certificate, and the distribution certificate is exported as a distribution certificate file;

[0057] If not required, the application service will be invoked to create a development certificate and the development certificate will be exported as a development certificate file.

[0058] In another aspect, embodiments of this application provide a computer device, the computer device comprising:

[0059] A processor, adapted to execute computer programs;

[0060] A computer-readable storage medium storing a computer program that, when executed by a processor, implements the processing method of the aforementioned application program.

[0061] In another aspect, embodiments of this application provide a computer-readable storage medium storing a computer program adapted for loading and executing the aforementioned application program by a processor.

[0062] In another aspect, embodiments of this application provide a computer program product, which includes a computer program that, when executed by a processor, implements the processing method of the aforementioned application.

[0063] In this embodiment, the development of an application is supported on a computer device deploying a second runtime environment. This application is an application that runs in the first runtime environment, such as developing an iOS client running on an iOS system on a Windows computer. To achieve cross-platform development of the application, this embodiment supports the developer configuring credential information for the application during the development process in the second runtime environment. This credential information is the identity credential of the application's developer in the application service. The application service can be understood as a service that creates application resources for developing and running applications in the first runtime environment, such as an iOS server. Furthermore, after the computer device deploying the second runtime environment knows the credential information of the developer logging into the application service corresponding to the second runtime environment, the computer device can respond to the developer's resource configuration operation for the application (such as triggering a user operation to obtain the application resources required for developing the application). It can then directly access the application service based on the developer's credential information and obtain the application resources required for developing the application from the application service. In this way, in response to the developer's confirmation operation for the application resources, the computer device can generate the application's installation package based on the application resources obtained from the application service. As can be seen from the above description of the embodiments of this application, on the one hand, the computer device with a second operating environment deployed in the embodiments of this application can obtain the application resources required for developing the application from the application service corresponding to the first operating environment across platforms by relying on the credential information of the developer in the application service, thereby realizing cross-platform development of the application. On the other hand, in the process of realizing cross-platform development of the application in the embodiments of this application, the developer only needs to fill in / configure the credential information of the developer in the application service corresponding to the first operating environment into the computer device with the second operating environment deployed. This facilitates the computer device to automatically manage and identify the application resources required for developing the application. This not only ensures the completeness of the application resources required for developing the application and reduces the possibility of errors in the running and building of the application, but also simplifies the development process of the developer developing the application running in the first operating environment in the second operating environment. This greatly reduces the cost for the developer to understand the native concept of the first operating environment and improves the efficiency of cross-platform development of the application. Attached Figure Description

[0064] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0065] Figure 1This is a schematic diagram of a system architecture for cross-platform development provided by an exemplary embodiment of this application;

[0066] Figure 2 This is a schematic diagram of a cross-platform development process provided by an exemplary embodiment of this application;

[0067] Figure 3 This is a flowchart illustrating an application processing method provided in an exemplary embodiment of this application;

[0068] Figure 4 This is a schematic diagram illustrating the configuration of credential information in an information configuration interface, provided by an exemplary embodiment of this application.

[0069] Figure 5a This is a schematic diagram illustrating an exemplary embodiment of this application of inputting credential information via a virtual keyboard;

[0070] Figure 5b This is a schematic diagram illustrating an exemplary embodiment of the present application of inputting voucher information via a pasting panel;

[0071] Figure 5c This is a schematic diagram illustrating an exemplary embodiment of this application of exporting credential information from the local storage space of a computer device;

[0072] Figure 5d This is a schematic diagram illustrating a download prompt provided in an exemplary embodiment of this application;

[0073] Figure 6a This is a schematic diagram illustrating, in an exemplary embodiment of this application, the display of a signature type area and a file configuration area in a first configuration interface;

[0074] Figure 6b This is a schematic diagram illustrating the display of configuration prompt information in a first configuration interface, provided by an exemplary embodiment of this application.

[0075] Figure 6c This is a schematic diagram illustrating a method for triggering the display of a first configuration interface, provided in an exemplary embodiment of this application.

[0076] Figure 7a This is a schematic diagram illustrating how a second configuration interface is triggered and displayed via a program build option, as provided in an exemplary embodiment of this application.

[0077] Figure 7b This is a schematic diagram illustrating another example of how a second configuration interface can be triggered and displayed via a program build option, as provided in an exemplary embodiment of this application.

[0078] Figure 8This is a comparative schematic diagram of a first configuration interface and a second configuration interface provided in an exemplary embodiment of this application;

[0079] Figure 9 This is a schematic diagram illustrating automatic resource configuration in a first configuration interface under an exemplary embodiment of this application, representing a specific operating scenario.

[0080] Figure 10 This is a schematic diagram illustrating automatic resource configuration in a second configuration interface under a construction scenario provided by an exemplary embodiment of this application;

[0081] Figure 11 This is a schematic diagram illustrating manual resource configuration in a first configuration interface under an exemplary embodiment of this application, representing a specific operating scenario.

[0082] Figure 12 This is a schematic diagram of an invalid notification message provided in an exemplary embodiment of this application;

[0083] Figure 13 This is a schematic diagram illustrating distribution settings in a second stock trading interface, provided by an exemplary embodiment of this application.

[0084] Figure 14 This is a schematic diagram illustrating the output of information prompts in a resource configuration interface, provided by an exemplary embodiment of this application.

[0085] Figure 15 This is a schematic diagram illustrating a development object performing a confirmation operation on application resources, provided in an exemplary embodiment of this application;

[0086] Figure 16 This is a flowchart illustrating another application processing method provided in an exemplary embodiment of this application;

[0087] Figure 17 This is a schematic diagram of the structure of an application processing device provided in an exemplary embodiment of this application;

[0088] Figure 18 This is a schematic diagram of the structure of a computer device provided in an exemplary embodiment of this application. Detailed Implementation

[0089] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.

[0090] This application proposes an application processing scheme; specifically, it provides a cross-platform development scheme for applications, effectively improving the cross-platform development efficiency of applications and reducing the development cost of the application. For ease of understanding, the technical terms and related concepts involved in this application embodiment are briefly introduced below, wherein:

[0091] I. Platform.

[0092] A platform refers to an operating environment built using the hardware and software resources of computer equipment. This operating environment provides a runtime environment and necessary physical support for applications deployed on the platform. In other words, a platform includes hardware and software resources. Hardware resources include the physical resources of the computer equipment, such as the CPU (Central Processing Unit), memory, and interfaces. Software resources include the software resources deployed in the computer equipment that are created through programming, such as program code and interfaces.

[0093] The operating system is a computer program that manages and controls the hardware and software resources of a computer device. It is also the most basic system software that runs directly on the computer device. The operating system provides a running environment and management functions for other software resources on the computer device. Any software resource on the computer device must be supported by the operating system to run.

[0094] It's worth noting that operating systems and platforms are typically developed for compatibility. This means that depending on the platform's hardware and software resources, a custom operating system needs to be developed specifically for that platform. The runtime environment varies depending on the operating system and platform. The runtime environment refers to the set of hardware and software resources required by an application to run; it can also be understood as the specific execution or development scenario formed through configuration and software installation on a particular platform and operating system. Below, we will use operating systems as an example to introduce the runtime environments built by different operating systems and platforms. Operating systems can be broadly classified into: desktop operating systems, mobile operating systems, and embedded operating systems, etc.

[0095] ① A desktop operating system is primarily designed for desktop devices or platforms. It adapts to the hardware configurations of desktop devices, enabling the running of more complex software resources. Desktop devices refer to larger, heavier electronic devices, such as personal computers (PCs). PCs include desktop computers, tablets, personal computers, portable personal computers, and mobile internet devices (MIDs). PCs have larger screens, more powerful processing capabilities, and higher storage capacity. The desktop operating system deployed on these devices can be Windows or iOS. Windows and iOS are developed by different companies and are used on different desktop devices; for example, iOS is primarily deployed on Mac computers. The operating environment differs depending on the desktop operating system and platform. For instance, the operating environment for a Windows operating system on a desktop device is different from that for an iOS operating system on a desktop device.

[0096] ② A mobile operating system is primarily designed for mobile devices or mobile platforms. A mobile operating system adapts to the hardware configuration of mobile devices, uses an icon grid to organize entry points for software resources, and employs gesture navigation to facilitate page navigation within software resources, thereby enabling software resources to run on mobile devices. Mobile devices, compared to desktop devices, refer to smaller and lighter electronic devices such as smartphones and smartwatches. Mobile operating systems deployed on mobile devices can include Android, iOS, and HarmonyOS. Depending on the mobile device and mobile operating system, the runtime environment built for each device and operating system will also differ.

[0097] ③ An embedded operating system is an operating system designed for embedded devices or embedded platforms. Embedded operating systems can be applied to resource-constrained embedded devices to enable their intelligent operation. These embedded devices can include smart TVs, in-vehicle systems, head-mounted displays, and smart home devices. Depending on the embedded device and the embedded operating system, the operating environment for both will differ.

[0098] It should be noted that operating systems can also include server operating systems, etc. The above uses desktop operating systems, mobile operating systems, and embedded operating systems as examples to introduce the classification of operating systems.

[0099] Cross-platform compatibility means that an application can be developed and run in runtime environments built on different platforms and operating systems without any modifications. For example, an application developed on a desktop device running the Windows operating system can run on a desktop device running the iOS operating system without any code modifications. The key to cross-platform application operation is that the application can adapt to runtime environments built on different operating systems and computer devices. For ease of explanation, the runtime environment built on the iOS operating system and desktop device will be referred to as the first runtime environment, and the runtime environment built on the Windows operating system and desktop device will be referred to as the second runtime environment, to introduce the cross-platform development scheme of the application provided in the embodiments of this application.

[0100] II. Application Programs.

[0101] An application is a software resource that runs on a computer device through an operating system. Specifically, an application is a computer program designed to perform one or more specific tasks. Applications can be classified according to different dimensions, including:

[0102] (1) According to the way applications run, applications can include, but are not limited to: ① Client, also known as application client or APP, refers to an application that is downloaded and installed on a computer device via an installation package. ② Mini-program, refers to an application that does not require installation; compared to a client, a mini-program is an application that can be used without downloading an installation package, and it usually runs as a subroutine on the client. ③ World Wide Web (web), refers to a web-based application that is opened through a browser on a computer device; etc.

[0103] (2) According to the application's operating environment, applications can include, but are not limited to: ① Mobile applications, which are software resources that run in the operating environment built on a mobile operating system and mobile device; such as mobile clients running on smartphones with Android / iOS / HarmonyOS. Mobile clients are programs that provide services to users in contrast to servers, including clients that provide services directly through the local device (i.e., mobile device) or clients installed locally but requiring interaction with a server. ② Desktop applications, which are software resources that run in the operating environment built on a desktop operating system and desktop devices; such as desktop clients running on smart computers with Windows / iOS operating systems; desktop clients are also called PC clients, computer clients, etc. Desktop applications can be further subdivided into Windows applications and iOS applications depending on the desktop operating system. ③ Embedded applications, which are software resources that run in embedded operating systems and embedded devices; such as in-vehicle clients running on in-vehicle devices with embedded operating systems, and home clients running on smart home devices with embedded operating systems.

[0104] Based on the foregoing introduction of concepts such as operating environment, application, and cross-platform, the embodiments of this application will subsequently use an iOS application as an example of cross-platform development. Specifically, the application processing solution provided in the embodiments of this application will be introduced using the example of an application developed and running on an iOS operating system and a desktop device in a second operating environment built on a Windows operating system and a desktop device.

[0105] Practice has shown that current mainstream cross-platform application development requires developers to master numerous native concepts of different operating systems. This increases the barrier to entry for cross-platform development and necessitates developers manually performing various steps according to official technical documentation, reducing the efficiency and quality of cross-platform application development. For example, in the process of developing an application that runs in the first operating environment (such as an iOS application, or simply an iOS app) in a second operating environment, the application resources required for development must be prepared by the developer themselves according to the guidance of official technical documentation. This may not only lead to incomplete preparation of application resources causing iOS application development failures, but also significantly increase the iOS development barrier for developers, resulting in a substantial decrease in development efficiency.

[0106] To achieve cross-platform application development while improving development efficiency and quality (such as whether the developed application can run normally), the application processing solution provided in this application aims to offer a solution for automatically managing the application resources required for application development. On one hand, during the development of an application based on the WeChat Mini Program multi-terminal framework in the second runtime environment, the completeness of the application resources (or application components, or simply components) required for application development can be automatically identified and ensured, thereby ensuring the quality of the cross-platform developed application. The WeChat Mini Program multi-terminal framework refers to a framework that supports the development of mobile applications using the native syntax of WeChat Mini Programs. Developers can achieve multi-terminal application development with a single code, specifically by compiling the WeChat Mini Program, Android application, and iOS application separately. On the other hand, for application developers, the process of developing applications using the WeChat Mini Program multi-terminal framework is simplified, significantly reducing the cost for developers to understand the native concept of the application running in the first runtime environment, thereby improving the development efficiency of cross-platform applications.

[0107] The execution process of the application processing scheme provided in this application embodiment generally includes: First, during the development of an application (such as an iOS application) in a second runtime environment (such as a Windows computer), the application developer can configure credential information for the application. This credential information is the developer's identity credential in the application service. The application service can be understood as a background service corresponding to the first runtime environment, which can be used to create the application resources required for application development. By creating the application based on these application resources, it can be ensured that the application, although developed in the second runtime environment, can still run in the first runtime environment. Second, if the developer wants to start the automatic application resource management function in the second runtime environment, the developer can perform a resource configuration operation on the application. At this time, the computer device (here referring to the desktop device providing the second runtime environment) responds to the resource configuration operation, calls the interface program to access the application service, and obtains permission from the application service for this access based on the credential information configured by the developer, thereby ensuring that the computer device can obtain the application resources required for application development from the application service. Finally, in response to the developer's confirmation operation on the application resources, the computer device can generate the application installation package based on the application resources, realizing cross-platform development of the application.

[0108] Practice has shown that the application processing solution provided in this application embodiment has significant advantages in cross-platform development of iOS applications. The advantages of this application embodiment are illustrated below by comparing it with existing mainstream iOS application cross-platform development solutions:

[0109] Current mainstream cross-platform development solutions for iOS applications involve developers preparing and configuring the necessary application resources on a Windows computer under the guidance of official technical documentation. This requires developers to understand the core concepts of iOS application development and be aware of the required resources, significantly raising the barrier to entry for cross-platform development and leading to several problems, including but not limited to: ① Incomplete or incorrect application resources can cause cross-platform development to fail. For example, errors in the signing certificate or profile (such as an incorrect certificate or profile type, or a mismatch between the certificate and profile) can result in signing failures and the inability to verify the iOS application on a real device (the actual device that needs to run the developed application, such as the iOS computer providing the initial runtime environment). ② The process for getting started with cross-platform iOS application development is not smooth, requiring extensive pre-development. For instance, even after preparing the credentials (such as an iOS account) in the application service, developers still need to perform operations within the application service to generate application resources. ③ The toolchain for multi-platform development of mini-programs cannot completely eliminate the need for Mac development. ④ When setting configuration files in iOS applications, such as Apple login and push notifications, developers may encounter issues such as failing the review process. For example, incorrect application permission configuration or incorrect use of configuration files may lead to the iOS application failing the review process.

[0110] However, the embodiments of this application provide the ability to automatically manage and identify (or prepare) application resources. For the developer, it is only necessary to fill in the credential information of the developer in the application service during the application development process in the second runtime environment. The computer device will automatically make interface requests (or API requests) to the application based on the credential information, thereby performing management operations such as querying, creating and obtaining application resources of the iOS application. This realizes the full-process management of application resources required for application development, greatly reducing the threshold for cross-platform application development, reducing the occurrence of errors in application operation and construction, and improving the efficiency and quality of cross-platform application development.

[0111] The application processing solution provided in this application embodiment, as a solution for cross-platform application development, can adapt to various cross-platform development scenarios that require the use of the credential information of the development object to achieve cross-platform development. In other words, any cross-platform development scenario that requires the preparation of application resources needed for application development based on the credential information of the development object is applicable to cross-platform application development using the application processing solution provided in this application embodiment. In this application embodiment, the cross-platform development scenario of developing an iOS application on a computer device deploying a Windows operating system is used as an example to introduce the application processing solution provided in this application embodiment. This does not limit the application embodiment to cross-platform application development between Windows and iOS operating systems; this is hereby stated.

[0112] The application processing solution provided in this application embodiment is integrated into a computer device running a Windows operating system, such as a desktop device. Specifically, it is integrated into a developer tool running on the computer device. This developer tool implements the application processing solution provided in this application embodiment through the computer device. The developer tool is provided for the development target and is a tool for developing mini-programs based on the mini-program multi-terminal framework; this developer tool can be understood as a client, computer program, or web application running on the computer device.

[0113] To facilitate a better understanding of the application processing scheme provided in the embodiments of this application, the application processing scheme provided in the embodiments of this application will be introduced below in conjunction with the cross-platform development system composed of developer tools, application services and developer open platform. Figure 1 This is a schematic diagram of the architecture of a cross-platform development system provided in an exemplary embodiment of this application. The schematic diagram includes: a computer device 101 running developer tools, a server 102 deploying application services, and a server 103 deploying the Open Platform for Developers. Wherein:

[0114] (1) The computer device 101 is equipped with a Windows operating system and a display screen, so that developers can perform human-computer interaction through the display screen to achieve cross-platform development of iOS applications. The device type of the computer device 101 may include, but is not limited to: smartphones (such as smartphones running the Android system or smartphones running the Internet working operating system (iOS), tablet computers, portable personal computers, mobile Internet devices (MIDs), in-vehicle devices, head-mounted devices, smart TVs, or smart home devices, etc. This application embodiment does not limit the device type of the computer device 101, which is stated here.

[0115] (2) Server 102 is the backend server for deploying the application service, which can also be understood as the backend server corresponding to the iOS operating system. The application service is an online platform (App Store Connect) provided by the iOS backend for developers, which can manage one or more iOS applications, including but not limited to: creating and querying application resources required for application development; creating and storing credential information used by developers to log in or access the application service; and application version management and release, etc. In addition, the application service provides a set of application programming interfaces (Apple Store Connect API or RESTful API), allowing developers and teams to automate tasks related to accessing the application service through the interface; the application programming interface can be used to manage applications, obtain application status, process user feedback, manage testers, obtain sales and financial reports, etc. Server 103 is the backend server for running the developer open platform; the developer open platform refers to a platform that allows developers to develop, release, and operate applications (such as mini-programs). This developer open platform provides developers with a complete set of tools and services, including development tools, interface documentation, review mechanisms, and operation tools, to help developers quickly build, debug, and release applications. Servers 102 and 103 can be independent physical servers, server clusters or distributed systems composed of multiple physical servers, or cloud servers that provide basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDN), and big data and artificial intelligence platforms.

[0116] It should be noted that the computer devices 101, server 102 and server 103 mentioned above can be directly or indirectly connected through wired or wireless communication, and this application does not impose any restrictions on this.

[0117] Combined with appendix Figure 2 The diagram shows the process of cross-platform application development. Figure 1 The cross-platform development system shown here, using application resources including signing certificate files and configuration files as an example, provides a brief introduction to the complete cross-platform development process; among which, Figure 2 In the application cross-platform development process shown, except for the steps marked as being performed by server 102 and server 103, the other steps are performed by computer device 101.

[0118] like Figure 1 and Figure 2 As shown, the process of cross-platform application development may include, but is not limited to:

[0119] (1) As Figure 1 As shown, during the process of developing an application using the developer tools in the second runtime environment via computer device 101, the developer configures the application with the credential information of the developer in the application service. At this time, computer device 101 receives the credential information configured by the developer for the application. The credential information is created and saved in the application service (i.e., server 102).

[0120] (2) If the developer wants to host the developer tools to prepare application resources, the developer can perform resource configuration operations for the application through computer device 101. That is, the developer starts the automatic management function of the developer tools to automatically obtain the application resources required for developing the application. The automatic management function includes: the developer tools obtain the application resources required for developing the application from the application service based on the developer's credentials; the obtaining includes: if the application service already stores the application resource, it is obtained directly; if the application service does not store the application resource, the application service is called to create the application resource.

[0121] For details on enabling the developer tools' automatic management function and the logic executed by the developer tools after successfully enabling this function, please refer to [link to relevant documentation]. Figure 2 The flowchart shown is as follows; Figure 2 As shown:

[0122] ① During the automatic management process of the developer tools, the developer tools determine whether certificate signing of the application is required. If so, the developer tools access the developer open platform and check whether the application identifier (e.g., bundleld) of the application is registered on the developer open platform. If not registered, the developer tools prompt the developer to register the application identifier on the developer open platform. If registered, the developer tools determine whether the developer has pre-configured credential information for the application. If not configured, the developer is prompted to prepare application resources according to the steps outlined in the official technical documentation. If credential information is configured, the developer tools obtain all application identifiers allowed by the credential information from the application service and check whether the application identifier of the application registered in the developer open tool is included in all application identifiers. If not included, the developer tools register the application identifier of the application in the application service and check whether a signing certificate file exists in the developer tools' local storage space (i.e., the local storage space of computer device 101). If included, the developer tools directly check whether a signing certificate file exists in the developer tools' local storage space (i.e., the local storage space of computer device 101).

[0123] ② If a signature certificate file is stored in local storage, its validity is checked. If the signature certificate file is deemed invalid, the system checks whether a distribution certificate needs to be created based on the application's configuration. If no signature certificate file is stored in local storage, the system directly checks whether a distribution certificate needs to be created based on the application's configuration. Further, if a distribution certificate needs to be created, the developer tools call the application service to generate it; otherwise, they call the application service to generate a development certificate. Regardless of whether it's a development certificate or a distribution certificate, the developer tools ultimately download the signature certificate (e.g., development certificate or distribution certificate) from the application service to local storage and generate the corresponding signature certificate file based on the downloaded certificate. The development certificate and distribution certificate correspond to two application development scenarios: runtime and build scenarios. The development scenario includes runtime and build scenarios, while the distribution certificate corresponds to the build scenario. A runtime scenario refers to an installation package generated by signing an application developed using developer tools with a development certificate. This package can be directly sent to an emulator or external device (such as an iOS computer connected to computer device 101 via USB), allowing the emulator or device to run the application directly for testing purposes. A build scenario refers to an installation package generated by signing an application developed using developer tools with a development certificate or distribution certificate. This package can be transferred over a network to other devices for execution.

[0124] It's important to note that the installation package generated by signing an application developed using developer tools with a development certificate in the runtime scenario is the same as the installation package generated by signing an application developed using developer tools with a development certificate in the build scenario. The difference lies in that the runtime scenario emphasizes that the installation package runs directly on the emulator or external physical device, while the build scenario involves downloading and storing the application's installation package or transmitting it over the network. It should also be noted that an emulator is software or hardware capable of simulating one system device on another; that is, an emulator supports simulating the hardware architecture (such as the hardware configuration of a computer device), operating system, and software environment of another system device within a single system device, enabling applications designed for other system devices to run on the original system device without altering the original system device.

[0125] ③ After obtaining the signing certificate file, the developer tools retrieve the configuration file. The logic for retrieving the configuration file is similar to that for retrieving the signing certificate file, roughly including first checking if the configuration file is stored in local storage. If not, it accesses the application service using credential information to retrieve or create the configuration file. The developer tools download the configuration file from the application service and generate the application's installation package based on the configuration file and the signing certificate file to complete application development. During the configuration file retrieval process, the developer tools check if a connected device has been registered in the application service. This connected device refers to the device on which the developed application may be deployed as the primary runtime environment. If the connected device is not registered in the application service, the developer tools call an interface program to register the connected device in the application service.

[0126] Therefore, on the one hand, the computer device deployed with the second operating environment in this embodiment can obtain the application resources required for application development from the application service corresponding to the first operating environment across platforms, based on the credential information of the developer in the application service, thus realizing cross-platform application development. On the other hand, in the process of realizing cross-platform application development, it is only necessary to fill in the credential information of the developer in the application service for the application during the development of the application in the second operating environment. The computer device will then automatically make interface requests (or API requests) to the application based on the credential information, thereby performing management operations such as querying, creating, and obtaining application resources for the iOS application. This achieves full-process management of the application resources required for application development, greatly reducing the threshold for cross-platform application development and improving the efficiency of cross-platform application development. Furthermore, since the application resources are obtained or created by the developer tools through interface calls to the application, compared to the need for the developer to manually prepare application resources, the completeness and accuracy of application resource preparation are significantly improved, thereby reducing the occurrence of errors in application operation and construction and improving the development quality of the application.

[0127] Based on the above brief introduction of the application processing scheme and system architecture provided in the embodiments of this application, it should also be noted that:

[0128] ① Figure 1 The system architecture diagram shown is as follows: Figure 2 The flowchart shown illustrates the process of cross-platform application development provided in this application embodiment, using the development of an iOS application on a computer device running a Windows operating system as an example. As mentioned above, the cross-platform scenarios applicable to this application embodiment may also include other scenarios. Figure 1 The scene architecture shown and Figure 2 The illustrated process is intended to more clearly explain the technical solutions of the embodiments of this application and does not constitute a limitation on the technical solutions provided in the embodiments of this application. Those skilled in the art will recognize that, with the evolution of system architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of this application are also applicable to similar technical problems.

[0129] ② In this application embodiment, the collection and processing of relevant data should strictly comply with the requirements of relevant laws and regulations. Obtaining personal information requires the knowledge or consent of the individual (or a legal basis for information acquisition), and subsequent data use and processing should be carried out within the scope of laws, regulations, and the authorization of the personal information subject. For example, when this application embodiment is applied to specific products or technologies, such as using the credential information of the developed object, permission or consent from the developed object is required, and the collection, use, and processing of relevant data must comply with the relevant laws, regulations, and standards of the relevant regions.

[0130] Based on the application processing scheme described above, this application embodiment proposes a more detailed application processing method. The application processing method proposed in this application embodiment will be described in detail below with reference to the accompanying drawings.

[0131] Please see Figure 3 , Figure 3 A flowchart illustrating an application processing method provided in an exemplary embodiment of this application is shown. Figure 3 The processing method of the application shown can be executed by a computer device, such as the aforementioned computer device. Figure 1 The computer device 101 shown. The processing method may include, but is not limited to, steps S301-S303:

[0132] S301: During the development of the application in the second runtime environment, receive the credential information configured for the application.

[0133] In this context, credentials are the identity credentials of the development object used to develop the application in the developer tools, within the application service. These credentials enable operations such as reading, managing, and creating application resources within the application service. In other words, credentials are the means by which the development object can read, manage, and create application resources within the application service. By configuring credentials in the developer tools, the development object can easily use these credentials to call application services, thereby enabling cross-platform application resource acquisition and creation. Therefore, configuring the development object's credentials in the application service within the developer tools is a crucial operation for achieving cross-platform application development.

[0134] The credential information may include at least one of the following: the organization identifier of the development organization to which the development object belongs, the object identifier of the development object, and the key file of the development object. The organization identifier can be represented as Issuerid, which uniquely identifies a development organization, which can be understood as a team jointly developing the application; the object identifier can be represented as Keyid, which uniquely identifies a development object, such as the object ID of the development object; the key file of the development object can be represented as KeyPath, which is a file containing the key, such as a p8 file. The credential information varies depending on the cross-platform development scenario of the application; for example, in a scenario where a team is jointly developing an application, the development object needs to be configured with credential information including Issuerid, Keyid, and KeyPath; as another example, in a scenario where an individual is developing an application, the development object only needs to be configured with credential information including Keyid and KeyPath. This application embodiment uses the example of configuring credential information including Issuerid, Keyid, and KeyPath for an application to illustrate this.

[0135] In practice, during the development of the application in the second runtime environment, the developer can trigger the developer tools to display the application's information configuration interface. This interface includes an information configuration area corresponding to each credential information. For example, the application's information configuration interface could be a file interface under the application's development project (such as the interface corresponding to the project.miniapp.json file). The developer can perform information configuration operations in each information configuration area. At this time, the computer device can respond to the information configuration operations performed by the developer in each information configuration area corresponding to each credential information, and display the configured credential information in each information configuration area to achieve the configuration of credential information.

[0136] For example, a diagram illustrating the configuration of credential information in the information configuration interface can be found here. Figure 4 ;like Figure 4 As shown, the application's information configuration interface 401 includes information configuration areas 402, 403, and 404. Information configuration area 402 is used to set the object identifier of the development object in the application service; information configuration area 403 is used to set the organization identifier of the development organization to which the development object belongs in the application service; and information configuration area 404 is used to set the key file of the development object. For any information configuration area in the information configuration interface 401, the development object can perform an information configuration operation in that area, and the computer device will display the corresponding credential information in response to the information configuration operation. The information configuration operation performed by the development object in each information configuration area can include at least one of the following: input operations performed via a virtual keyboard or physical keyboard, paste operations performed via a paste panel, and information search operations performed in the local storage space of the computer device, etc.

[0137] The following description, with reference to the accompanying diagram, illustrates the process by which a developer performs information configuration operations in the information configuration area; where:

[0138] 1) Information configuration operations include input operations performed via a virtual keyboard or a physical keyboard. For example... Figure 5a As shown, if the developer is familiar with the object identifier in the application service, the developer can activate the virtual keyboard 501 on the computer device and click the string that constitutes the object identifier in sequence on the virtual keyboard 501 to input the object identifier in the information configuration area.

[0139] 2) Information configuration operations include pasting operations performed through the Paste panel. The Paste panel, also known as the clipboard or clipboard, is an area on a computer device used to temporarily store copied or cut content; it enables the rapid transfer and sharing of information between or within different applications on the computer device. For example... Figure 5b As shown, the service interface 502 corresponding to the application service displays acquisition options for each type of credential information, such as the first acquisition option 5021 for the object identifier, the second acquisition option 5022 for the organization identifier, and the third acquisition option 5023 for the key file. Developers can copy the credential information for each acquisition option in this service interface 502. The copied credential information is cached in the paste panel, allowing for quick pasting of the object identifier 5021 into the information configuration area when pasting. For example, the service interface 502 includes a second acquisition option 5022 for the organization identifier, which is highlighted as "Copy" to prompt developers to quickly copy the organization identifier by clicking on it. Thus, after performing a paste operation (such as using the shortcut Ctrl+V or right-clicking) in the information configuration interface corresponding to the organization identifier, the organization identifier will be displayed in the information configuration interface.

[0140] 3) Information configuration operations include information retrieval operations performed in the local storage space of the computer device. These information retrieval operations may include exporting credential information from the local storage space of the computer device to the information configuration interface. For example... Figure 5c As shown, if the developer has downloaded and stored the credential information in the application in the local storage space of the computer device in the past, then when the developer fills in the credential information in the information configuration area of ​​the application, he / she can choose to open the storage interface 503 corresponding to the local storage space of the computer device and perform a selection operation in the storage interface 503 so that the selected credential information is displayed in the information configuration area.

[0141] It is worth noting that when downloading credential information from the application service, a download prompt will be displayed to ensure the credential information can be installed. This prompt reminds the developer to properly safeguard the downloaded credential information. A diagram illustrating the download prompt can be found here. Figure 5d ,like Figure 5d When the download option 5023 in the service interface of the application service is selected, a download prompt 504 is output. The computer device will only download and store the key file in the local storage space when the developer confirms the download prompt 504, so as to ensure the security of the key file.

[0142] S302: In response to a resource configuration operation for an application, retrieve application resources from the application service based on the credential information.

[0143] Based on step S301, configuring the developer's credential information in the application service within the developer tools is equivalent to enabling the developer tools' ability to automatically manage the application resources required for application development. After enabling the automatic management capability for the application, the developer still needs to customize the resource configuration operations according to their own usage requirements to utilize the automatic management capability provided by the developer tools. In other words, in this embodiment, enabling the developer tools' automatic management capability for the application and using this automatic management capability both require the developer to perform corresponding user operations; for example, configuring credential information in the developer tools through information configuration operations enables the automatic management capability, and performing resource configuration operations for the application in the developer tools enables the use of the enabled automatic management capability.

[0144] The specific implementation process of using automated management capabilities for development objects in developer tools may include, but is not limited to, steps s11-s13:

[0145] s11: The computer device displays the application development interface provided in the developer tools; the application development interface includes program configuration options, which serve as an entry point for using the automated management capabilities provided by the developer tools.

[0146] s12: When the development object selects a program configuration option, the computer device responds by outputting a resource configuration interface. This resource configuration interface is used to configure the application resources required by the development object for the application being developed.

[0147] In the actual process of cross-platform application development, developers customize which development scenarios to use the developer tools' automatic management capabilities for application resources based on their individual usage needs. As described above, development scenarios include runtime scenarios and build scenarios. The difference between runtime and build scenarios is that in runtime scenarios, the installation package generated based on the development certificate is directly loaded into the emulator or external real device to run the application, while in build scenarios, the installation package generated based on the development certificate or distribution certificate is not directly loaded into the emulator or external real device, but can be used for downstream business.

[0148] Therefore, depending on the different development scenarios required by the development object, the program configuration options selected by the development object in the developer tools and the resource configuration interface displayed will differ. For ease of explanation, the program configuration options in the running scenario will be referred to as the program running options, and the resource configuration interface will be referred to as the first configuration interface; the program configuration options in the build scenario will be referred to as the program build options, and the resource configuration interface will be referred to as the second configuration interface. The following describes the process of the development object using the automatic management capabilities provided by the developer tools in the running scenario and the build scenario, respectively; wherein:

[0149] (1) The development scenario is the runtime scenario.

[0150] The application development interface includes program configuration options called program execution options. These options indicate whether the developed application should be run on the device where the first runtime environment is deployed. This device can be a physical device (such as an external computer) or an emulator. In this case, if the developer wants to run the application directly, they can select the program execution option in the application development interface. The computer device, responding to this selection, will output the corresponding resource configuration interface. Because the application needs to run on a specific device in the runtime environment, the content of the resource configuration interface corresponding to the program execution option will adapt to whether the device has been selected.

[0151] Optionally, if the developer has already selected a running device before performing the selection operation for the program running option, i.e., if the running device is selected, the computer device displays a signature type area and a file configuration area in the first configuration interface corresponding to the program running option. The signature type area is used to configure the signature type for the application, and the file configuration area is used to configure application resources for the application. For an illustrative example, a diagram illustrating the display of the signature type area and file configuration area in the first configuration interface can be found here. Figure 6a ;like Figure 6a As shown, the application development interface includes a program run option 601; when the program run option 601 is selected, the first configuration interface 602 corresponding to the program run option 601 is output. If the development object has already selected a running device for the application, the first configuration interface 602 displays a signature type area 6021 and a file configuration area 6022.

[0152] Optionally, if the developer does not select a running device before performing the selection operation for the program run option, i.e., if the running device is not selected, a configuration prompt message is displayed in the first configuration interface. This prompt message indicates that the signature type and application resources cannot be configured without selecting a running device. In this case, the application development interface also includes a device selection area, where the developer can select a running device. The computer device receives the device selection operation performed by the developer in the device selection area and displays the device identifier of the selected running device in the device selection area. Thus, when the developer selects the program run option again, triggering the display of the first configuration interface, the signature type area and file configuration area can be directly displayed in the first configuration interface. For example, a schematic diagram illustrating the display of configuration prompt messages in the first configuration interface can be found here. Figure 6b ;like Figure 6b As shown, when the program run option 601 in the application development interface is selected, the first configuration interface 602 corresponding to the program run option 601 is output. If the development object does not select a running device for the application, the first configuration interface 602 displays configuration prompt information 603.

[0153] It should be noted that, Figure 6a and Figure 6b This is merely an exemplary diagram illustrating the triggering and display of the first configuration interface for an embodiment of this application, and does not limit the scope of the embodiments of this application. Figure 6c As shown, considering that the development object may have other operational needs in the running scenario, the embodiment of this application can first output the running option window 604 when the program running option 601 is selected. The running option window 604 includes a resource management option 6041. The first configuration interface 602 is triggered to be displayed only when the resource management option 6041 is selected. The running option window 604 also includes options that can realize other functions in the running scenario.

[0154] (2) The development scenario is the construction scenario.

[0155] The application development interface includes application build options, which instruct the developer to distribute the application, specifically by generating a downloadable installation package, such as an IPA (iPhone Application Archive) format package designed for iOS devices. To build the application, the developer selects the build option in the development interface. The computer then retrieves the application's information, including its identifier, icon, and URL. A second configuration interface corresponding to the build option is then displayed, containing application information, a signature type area, and a file configuration area. These signature type and file configuration areas are identical to those in the first configuration interface corresponding to the application run option.

[0156] For example, a diagram illustrating how the second configuration interface is triggered via the program build options can be found here. Figure 7a .like Figure 7a As shown, the application development interface displays a program build option 701. When the developer selects this program build option 701, the computer device retrieves the application information from the developer tools and outputs a second configuration interface 702 corresponding to the program build option 701. This second configuration interface 702 includes: application information (such as application identifier 7021, application icon 7022, etc.), a signature type area 7023, and a file configuration area 7024, etc.

[0157] It should be noted that, compared with the aforementioned targets Figure 6a and Figure 6b Similar to the catch-all description, Figure 7a This is merely an exemplary diagram illustrating the triggering and display of a second configuration interface for an embodiment of this application, and does not limit the scope of the embodiments of this application. Figure 7b As shown, considering that the development object may have other operational requirements in the construction scenario, the embodiment of this application can first output the construction option window 703 when the program construction option 701 is selected. The construction option window 703 includes the packaging option 7031. The second configuration interface 702 is triggered to be displayed only when the packaging option 7031 is selected. The construction option window 703 also includes options that can realize other functions in the construction scenario.

[0158] s13: The development object can perform resource setting operations in the resource configuration interface, so that the computer device responds to the resource setting operations performed in the resource configuration interface and obtains application resources in the application service according to the credential information.

[0159] As mentioned earlier, when the developer performs resource configuration operations in the developer tools, the content of the first configuration interface corresponding to the program run option and the second configuration interface corresponding to the program build option displayed on the computer device are different. However, both the first and second configuration interfaces include a signature type area and a file configuration area, and the resource setting operations performed on the signature type area and the file configuration area are the same, to ensure automatic management of application resources in both runtime and build scenarios. Specifically, the signature type area in the resource configuration interface is used for the developer to select whether to use a signing certificate to sign the developed application. The file configuration area in the resource configuration interface is used to configure the application resources required for the developed application when the developer selects to use a signing certificate; these application resources include resources capable of signing, granting development authorization, and granting distribution authorization to realize the developed application. In this embodiment, the application resources include a signing certificate file and a provisioning profile as an example.

[0160] The process involves several steps: ① The signing certificate file is an exported file based on the signing certificate, such as a p12 file (which can be named type_expiredate). This p12 file can be used for iOS application re-signing. The signing certificate is used to digitally sign an application to ensure its integrity, authenticity, and trustworthiness. iOS application re-signing refers to the process of re-signing an existing iOS application template. In some cases, developers may need to repackage an existing application, perhaps to modify its icon, name, or other resources. In such cases, the application needs to be re-signed to ensure its integrity and validity. ② The configuration file is used in iOS application development to authorize and configure the application to run on specific devices (such as Windows devices). The configuration file is used in conjunction with the signing certificate to ensure that the application can run on specific devices and obtain the corresponding development and distribution permissions.

[0161] In detail, the signature type area in the resource configuration interface includes a certificate signing option. When this option is selected, it indicates that a signing certificate (or a signing certificate file) is required to sign the application. The file configuration area in the resource configuration interface includes a certificate hosting option, a certificate area, and a file area. When the certificate hosting option is selected, it indicates that the developer tools will automatically retrieve application resources from the application service. When the certificate hosting option is not selected, the developer tools can manually retrieve application resources from the application service. For example... Figure 8 As shown in Figures (a) and (b), both the first configuration interface corresponding to the program run option and the second configuration interface corresponding to the program build option include a signature type area and a file configuration area; the signature type area includes a certificate signing option 801, and the file configuration area includes a certificate hosting option 802, a certificate area 803, and a file area 804.

[0162] Therefore, this application embodiment provides multiple resource configuration methods in the developer tools, allowing developers to personalize their resource configuration according to their needs and effectively improve their development experience. Depending on the application's development scenario, the resource configuration method corresponding to the resource setting operation performed by the developer in the resource configuration interface varies; for example, the resource setting operation may correspond to automatic managed configuration or manual resource configuration. Both automatic and manual resource configuration methods enable the configuration of application resources required for application development in the resource configuration interface (such as the first or second configuration interface). The difference lies in that automatic resource configuration aims to automatically obtain application resources from the application service using the developer tools, eliminating the need for developers to perform cumbersome operations and reducing their resource configuration workload. Manual resource configuration, on the other hand, allows developers to independently obtain application resources from the application service, meeting their needs for customized application resources.

[0163] The following describes the specific implementation process of two resource configuration methods: automatic resource configuration and manual resource configuration.

[0164] (1) The resource allocation method is automatic resource allocation.

[0165] In practice, if a developer wants to access application resources from the application service using fully managed developer tools, they can trigger an operation on the certificate management option in the file configuration area when the certificate signing option is selected in the signature type area. The computer device responds to this trigger operation by retrieving the signature certificate file and configuration file from the application service based on the credential information. Then, the computer device displays the signature certificate file in the certificate area of ​​the file configuration area in the resource configuration interface, and the configuration file in the file area of ​​the file configuration area in the resource configuration interface.

[0166] For example, a schematic diagram illustrating the automatic resource configuration in the first configuration interface during runtime can be found here. Figure 9 ;like Figure 9 As shown, when a developer needs to use application resources to develop an application, the developer first selects the certificate signing option 901 in the signature type area, making it selected. The checkbox adjacent to certificate signing option 901 will be highlighted to indicate that it is selected. Then, if the developer wants the fully managed developer tools to automatically obtain application resources, they can trigger the certificate management option 902 in the file configuration area. In response to this trigger, the computer device will access the application service through an interface program based on the developer's pre-configured credentials in the application service to obtain the signature certificate file and configuration file. The computer device will then display the signature certificate file in the certificate area 903 of the file configuration area and the configuration file in the file area 904.

[0167] For example, a schematic diagram illustrating the automatic resource configuration in the second configuration interface during the construction scenario can be found in [reference needed]. Figure 10 It should be noted that the specific implementation process for automatic resource configuration of application resources in the second configuration interface, and... Figure 9 The specific implementation process for automatic resource configuration of application resources shown in the first configuration interface is the same; please refer to [link / reference]. Figure 9 The specific implementation process shown will not be elaborated upon here.

[0168] (2) The resource configuration method is manual resource configuration.

[0169] If the developer does not select the certificate hosting option in the signature type area of ​​the resource configuration interface, meaning the certificate hosting option is not triggered, it indicates that the developer may not want the developer tools to automatically acquire application resources. In this case, the developer can manually configure application resources by performing resource settings operations in the resource configuration interface. Specifically, when the certificate hosting option is not triggered, the developer can perform certificate configuration operations in the certificate area of ​​the file configuration area. If the computer device detects a certificate configuration operation in the certificate area, it retrieves the signature certificate file from the application service based on the credential information and displays the retrieved signature certificate file in the certificate area. Similarly, the developer can perform file configuration operations in the file area of ​​the file configuration area. If the computer device detects a file configuration operation in the file area, it retrieves the configuration file from the application service based on the credential information and displays the retrieved configuration file in the file area.

[0170] For example, a schematic diagram illustrating manual resource configuration in the first configuration interface during runtime can be found here. Figure 11 .like Figure 11 As shown, the developer performs a certificate configuration operation in certificate area 1101. In response to this operation, the computer device retrieves the signature certificate file from the application service based on the credential information. The certificate configuration operation includes: checking whether a signature certificate file is already stored in the computer device's local storage, and calling the application service to create a certificate signature file. Optionally, the certificate configuration operation may be a check of the computer device's local storage. In this case, in response to the developer's trigger operation on the certificate area, the computer device outputs a certificate window 1102, which includes the signature certificate file already stored in the computer device's local storage. The developer can select a signature certificate file from this window, and the selected file will be displayed in certificate area 1101. Optionally, the certificate configuration operation may be a call to the application service to create a certificate signature file. In this case, in response to the developer's selection of the create option in the certificate area, the computer device calls the application service through the interface program to create the signature certificate file, retrieves the file from the application service, and displays it in the certificate area.

[0171] Similarly, when the development object performs a file configuration operation in file area 1103, the computer device responds to this file configuration operation by retrieving the configuration file from the application service based on the credential information. The file configuration operation includes: checking whether a configuration file is already stored in the computer device's local storage space, and calling the application service to create the configuration file. It is worth noting that the specific operation process of the file configuration operation is similar to the specific implementation process of the certificate configuration operation; please refer to the aforementioned description of the specific implementation process of the certificate configuration operation, which will not be repeated here in this embodiment.

[0172] It should be noted that the configuration file selected for the application may be invalid. If the configuration file selected by the developer is invalid, this embodiment supports outputting an invalidity prompt message on the resource configuration interface. This invalidity prompt message is used to indicate that the configuration file is invalid. This allows the developer to quickly perceive the invalidity of the configuration file and replace or create it, ensuring that no errors occur during application runtime or build. An exemplary diagram of the invalidity prompt message can be found in [reference needed]. Figure 12 ;like Figure 12 As shown, when performing file configuration operations in the file area, the output candidate configuration files include invalid candidate configuration files (such as candidate configuration file 1201) and valid candidate configuration files (such as candidate configuration file 1202). When the developer selects an invalid candidate configuration file, an invalid prompt message 1203 is displayed in the resource configuration interface. This invalid prompt message 1203 can be highlighted (such as by highlighting or darkening the color) so that the developer can intuitively perceive the invalid prompt message 1203. This application embodiment does not limit the display method of the invalid prompt message 1203.

[0173] It should be understood that the process of manually configuring resources in the second configuration interface within the construction scenario is similar to... Figure 11 The specific implementation process for manually configuring resources in the first configuration interface of the running scenario is the same. The difference lies in the display positions of the certificate area and file area in the first and second configuration interfaces. Therefore, the implementation process for manually configuring resources in the second configuration interface of the build scenario can be found in [reference needed]. Figure 11The specific implementation process described herein will not be elaborated upon here. Furthermore, considering that if a distribution certificate is used to sign the application in the build scenario, the application's installation package can be distributed. Therefore, in the process of manually configuring resources in the second configuration interface under the build scenario, this embodiment also supports developers to define whether a distribution certificate is needed, thus personalizing the application's development requirements to match individual needs. The signing certificate file includes a development certificate file and a distribution certificate file. The development certificate file is exported based on the development certificate, and the distribution certificate file is exported based on the distribution certificate. The development certificate is used to enable the application to run, while the distribution certificate is used to enable the download of the application's installation package. Figure 13 As shown, the second configuration interface in the build scenario also displays distribution option 1301. When distribution option 1301 is selected, it indicates that the development object is set to use a distribution certificate for signing when developing the application, and the computer device obtains the distribution certificate file in the application service based on the credential information. When distribution option 1301 is not selected, it indicates that the development object is set to use a development certificate for signing when developing the application, and the computer device obtains the development certificate file in the application service based on the credential information.

[0174] It should also be noted that, regardless of whether resource configuration is automatic or manual, the developer must have pre-configured its credentials in the application service within the developer tools. This allows the developer tools to retrieve application resources from the application service based on the credentials. If the computer detects that the developer has not pre-configured its credentials, it will output a prompt in the resource configuration interface, reminding the developer to set the credentials. For example, the prompt could be as follows: Figure 14 As shown, information prompt 1401 indicates that the developer needs to go to XX to configure credential information.

[0175] S303: In response to the confirmation operation of application resources, generate an installation package for the application based on the application resources.

[0176] After the computer device displays the application resources obtained from the application service in the resource configuration interface through automatic or manual resource configuration, if it receives a confirmation operation from the developer regarding the application resources, indicating that the developer agrees to use the displayed application resources to develop the application, the computer device can generate the application installation package based on the application resources in response to the developer's confirmation operation. A schematic diagram of performing a confirmation operation for application resources can be found [see attached image / image]. Figure 15 The resource configuration interface displays a confirmation option 1501; when this confirmation option 1501 is selected, the computer device confirms that it has received a confirmation operation from the development object for the application resources.

[0177] As described above, the signing certificate files included in application resources can include development certificate files corresponding to development certificates and distribution certificate files corresponding to distribution certificates. The installation packages of applications developed based on application resources containing different signing certificate files will differ, adapting to different application development scenarios and needs. For ease of distinction, the installation package of an application developed based on a development certificate file is referred to as the first installation package, and the installation package of an application developed based on a distribution certificate file is referred to as the second installation package. In one implementation, the signing certificate file is a development certificate file; then the computer device generates a first installation package of the application based on application resources including a distribution certificate file. This first installation package is used to run the application directly on an emulator or an external real device, or can be transmitted over a network to a real device for execution. In another implementation, the signing certificate file is a distribution certificate file; then the computer device generates a second installation package of the application based on application resources including a distribution certificate file. This second installation package is the installation package transmitted when distributing the application, such as when the second installation package is transmitted to the app store (e.g., Apple Store) corresponding to the first runtime environment.

[0178] In summary, the computer device deployed with the second runtime environment in this embodiment can obtain the application resources required for application development from the application service corresponding to the first runtime environment across platforms, based on the developer's credentials in the application service, thus achieving cross-platform application development. Furthermore, in the process of achieving cross-platform application development, the developer only needs to fill in / configure the credential information from the application service corresponding to the first runtime environment into the computer device deployed with the second runtime environment. This facilitates the computer device's automatic management and identification of the application resources required for application development. This not only ensures the completeness of the application resources required for application development and reduces the possibility of errors during application execution and construction, but also simplifies the development process for the developer to develop applications running in the first runtime environment from the second runtime environment. It significantly reduces the cost for the developer to understand the native concepts of the first runtime environment and improves the efficiency of cross-platform application development.

[0179] Figure 3 The illustrated embodiments mainly describe the application processing method provided in this application from the perspective of the interface. The following will combine... Figure 16 This paper mainly introduces the processing method of the application provided in the embodiments of this application from the perspective of backend technology. Figure 16 A flowchart illustrating an application processing method provided in an exemplary embodiment of this application is shown. Figure 16 The processing method of the application shown can be executed by a computer device, such as the aforementioned computer device. Figure 1The computer device 101 shown. The processing method may include, but is not limited to, steps S1601-S1605:

[0180] S1601: During the development of the application in the second runtime environment, receive the credential information configured for the application.

[0181] It should be noted that the specific implementation process shown in step S1601 and Figure 3 The specific implementation process shown in step S301 in the illustrated embodiment is the same. Please refer to the relevant description of the specific implementation process shown in step S301 above, which will not be repeated here.

[0182] S1602: In response to a resource configuration operation for an application, detect whether application resources are included in the local storage space.

[0183] It should be noted that the specific implementation process of the resource configuration operation in step S1602 is the same as described above. Figure 3 The specific implementation process of the resource configuration operation shown in step S302 in the illustrated embodiment is the same. You can refer to the relevant description of the specific implementation process of the resource configuration operation shown in step S302 above, which will not be repeated here.

[0184] In practice, in response to a developer's resource configuration operation for an application, the computer device first checks its local storage space to see if it contains the application resources required by the application. In some cases, the developer may have already downloaded the application resources from the application service and stored them in the computer device's local storage space for certain reasons. Therefore, by searching its local storage space for application resources in response to the developer's resource configuration operation, the computer device avoids resource consumption caused by direct redirection to the application service and improves resource acquisition efficiency compared to directly accessing the application resources through the interface program. Further, if the application resources are not stored in the computer device's local storage space, step S1603 is executed; if the application resources are stored in the computer device's local storage space, step S1604 is executed.

[0185] S1603: If the local storage space does not contain application resources, the interface program is called to access the application service.

[0186] If a computer device detects that its local storage space does not contain application resources, it invokes an interface program to access the application service to retrieve the application resources required for application development. Specifically, if the application service contains the necessary resources based on credential information (e.g., if the application service already contains application resources associated with the credential information), the computer device directly retrieves the created application resources from the application service. If the application service does not contain application resources based on credential information (i.e., if the application service does not store application resources associated with the credential information), the computer device invokes the application service to create the application resources. The application service itself has the capability to create application resources; the computer device only needs to invoke this service, resulting in minimal computational overhead. As mentioned earlier, application resources include signature certificate files and configuration files. When the computer device invokes the application service to create a signature certificate file, it selectively generates either a distribution certificate file or a development certificate file, depending on whether the development object has selected "distribution certificate" in the resource configuration interface. Figure 2 In the flowchart shown, the computer device checks whether a distribution certificate is needed to generate a signature certificate file. If so (i.e., the developer has selected the distribution option in the resource configuration interface), the computer device calls the application service to create a distribution certificate, downloads the distribution certificate from the application service to the computer device's local storage space, and then exports the distribution certificate as a distribution certificate file. Conversely, if not, the computer device calls the application service to create a development certificate, downloads the development certificate from the application service to the computer device's local storage space, and then exports the development certificate as a development certificate file. Based on this, the computer device implements step S1605 of calling the application service to create application resources; furthermore, the computer device also stores the application resources in the local storage space so that they can be directly read from the local storage space when used later, reducing the steps required for resource configuration to a certain extent and improving resource configuration efficiency.

[0187] As mentioned above, in this embodiment, the computer device accesses the application service by calling an interface program. This embodiment utilizes a set of application programming interfaces (APIs) provided by the application service to develop corresponding interface programs, enabling mutual access between the computer device (specifically, developer tools) and the application service. The interface program can be represented as an Apple API Client (or simply API Client). On one hand, in this embodiment, the interface program can be implemented using Node.js, enabling interaction with the application service based on HTTP requests and App Store Connect API Key authentication. This makes accessing the application service via the interface program feasible, thereby enabling API call authentication and related CRUD functions for the application, signing certificate, configuration files, and computer device. On the other hand, the interface program developed in this embodiment runs within the developer tool environment, and the credential information exists only in the local storage space of the application service or the computer device. There is no need to manage the interface program and credential information, thus ensuring the security of the credential information. Furthermore, this embodiment designs an interface program to automatically manage application resources, significantly improving resource allocation efficiency compared to manual operations in the application development interface based on official technical documentation.

[0188] S1604: If the local storage space contains application resources, then if the application resources are valid, obtain the application resources from the local storage space.

[0189] Considering the risk of application resources in local storage being leaked or tampered with, this embodiment of the application supports the computer device first determining whether the application resources are valid when it detects that the local storage space contains application resources. Only when the application resources are valid will the computer device retrieve the valid application resources from the local storage space and trigger step S1605. Specifically, the computer device obtains a validity judgment strategy, which characterizes the rules for determining whether an application resource is valid. The computer device then performs a validity judgment on the application resources according to the validity judgment strategy, obtaining a validity judgment result. When the validity judgment result indicates that the application resources are valid, the computer device retrieves the application resources from the local storage space.

[0190] It should be noted that the validity judgment strategy and its rules differ depending on the type of application resources, and the logic for judging the validity of application resources based on these rules also varies. As mentioned earlier, application resources required for application development include signing certificate files and configuration files. Specifically: ① When the application resources include signing certificate files, the validity judgment strategy for these files can include at least one of the following: checking if the certificate serial number of the signing certificate included in the signing certificate file exists in the serial number table of all valid signing certificates; checking if the certificate type of the signing certificate included in the signing certificate file matches a standard certificate type, which may include iOS_DEVELOPMENT, iOS_DISTRIBUTION, DEVELOPMENT, and DISTRIBUTION; and decrypting the signing certificate file using the certificate key stored in local storage, and determining the validity of the signing certificate file based on the correctness of the decryption result. If any one of the above three validity judgment strategies is satisfied, the signing certificate file can be determined to be valid. It should be noted that the validity judgment strategies for signing certificate files are not limited to the three mentioned above. ② When application resources include configuration files, the validity judgment strategy for the configuration files may include determining whether the configuration file exists in the local storage space or in the remote valid configuration file.

[0191] Furthermore, for configuration files, whether they are retrieved from application services or read from local storage, this embodiment of the application also requires usability determination to determine whether the configuration file can be used in the application development, such as whether the configuration file has expired or become invalid. Specifically, the computer device invokes a usability determination strategy to perform usability verification processing on the configuration file and obtains a usability verification result. This usability determination strategy is used to characterize the judgment rules for detecting whether the configuration file is usable. When the usability verification result indicates that the configuration file is usable, the computer device obtains the usable configuration file. The usability determination strategy for performing usability verification processing on the configuration file may include at least one of the following: whether the file type of the configuration file matches (or includes) a standard file type, such as iOS_APP_DEVELOPMENT, iOS_APP_STORE, iOS_APP_ADHOC, and iOS_APP_INHOUSE; whether the configuration file contains the signing certificate file included in the application resources; whether the configuration file sets the connection devices that the developed application may be mounted on; and whether the configuration file contains the permissions required by the application, such as push notification permissions and account login permissions. If any one of the above four validity determination strategies is satisfied, the configuration file can be determined to be valid. It should be noted that the validity judgment strategies for configuration files are not limited to the four mentioned above.

[0192] Therefore, by setting validity and availability judgment strategies, the embodiments of this application can accurately verify the application resources obtained by computer devices, ensuring that the application resources obtained by the managed developer tools are accurate, available and effective, thereby avoiding errors in the developed application during operation or construction, and improving the development quality and accuracy of the application.

[0193] S1605: In response to the confirmation operation of application resources, generate an installation package for the application based on the application resources.

[0194] It should be noted that the specific implementation process shown in step S1605 and Figure 3 The specific implementation process shown in step S303 in the illustrated embodiment is the same. Please refer to the relevant description of the specific implementation process shown in step S303, which will not be repeated here.

[0195] In this embodiment, by developing an interface program, developer tools can quickly access application services through the interface program and credential information. Compared to requiring developers to manually configure application resources in the developer tools, this significantly lowers the barrier to entry for developers using the WeChat Mini Program multi-platform framework for application development, and greatly reduces errors during application runtime and build. Furthermore, this embodiment enables the development of applications that can run in the first runtime environment within the second runtime environment, making application resource preparation before development cross-platform (e.g., when developing iOS applications, it is no longer necessary to apply for certificates through a Mac computer), thus making the entire WeChat Mini Program multi-platform framework's iOS toolchain truly fully cross-platform.

[0196] The methods of the embodiments of this application have been described in detail above. To facilitate better implementation of the above-described solutions of the embodiments of this application, the apparatus of the embodiments of this application is provided below. In the embodiments of this application, the terms "module" or "unit" refer to a computer program or part of a computer program with a predetermined function, which works together with other related parts to achieve a predetermined goal, and can be implemented wholly or partially using software, hardware (such as processing circuitry or memory), or a combination thereof. Similarly, a processor (or multiple processors or memory) can be used to implement one or more modules or units. Furthermore, each module or unit can be part of an overall module or unit that includes the functionality of that module or unit.

[0197] Figure 17 This application provides a schematic diagram of the structure of a processing device for an application according to an exemplary embodiment; the processing device can be used to execute... Figure 3 and Figure 16 Some or all of the steps in the method embodiments shown. Please refer to [link / reference]. Figure 17 The application runs in a first operating environment, and the device includes the following units:

[0198] The acquisition unit 1701 is used to receive credential information configured for the application during the development of the application in the second runtime environment; the credential information is the identity credentials of the application development object in the application service, and the application service is used to create the application resources required for the development of the application.

[0199] Processing unit 1702 is configured to, in response to a resource configuration operation for an application, obtain application resources in the application service based on credential information;

[0200] The processing unit 1702 is also configured to generate an installation package for the application based on the application resources in response to a confirmation operation of the application resources.

[0201] In one implementation, the acquisition unit, when receiving credential information configured for the application, is specifically used for:

[0202] Displays the application's information configuration interface, which includes an information configuration area for each credential.

[0203] In response to the information configuration operation performed in each information configuration area, the configured credential information is displayed in each information configuration area;

[0204] The credential information includes at least one of the following: the organization identifier of the development organization to which the development object belongs, the object identifier of the development object, and the key file of the development object; the information configuration operation includes at least one of the following: input operation performed through a virtual keyboard or physical keyboard, paste operation performed through a paste panel, and information search operation performed in local storage space.

[0205] In one implementation, the processing unit 1702, in response to a resource configuration operation for the application, specifically performs the following when retrieving application resources from the application service based on credential information:

[0206] Displays the application's application development interface, which includes application configuration options;

[0207] In response to the selection of program configuration options, the resource configuration interface is displayed;

[0208] In response to resource setting operations performed in the resource configuration interface, application resources in the application service are obtained based on the credential information.

[0209] In one implementation, the program configuration option is a program execution option, which indicates that the developed application should be run on a running device that deploys the first runtime environment. The running device can be a physical device or a simulator. The processing unit 1702, in response to the selection of the program configuration option, outputs the resource configuration interface, specifically for:

[0210] In response to the selection of a program running option, the first configuration interface corresponding to the program running option is output;

[0211] If a running device is selected, the signature type area and file configuration area are displayed in the first configuration interface; the signature type area is used to configure the signature type for the application, and the file configuration area is used to configure application resources for the application.

[0212] In one implementation, the processing unit 1702 is further configured to:

[0213] If the running device is not selected, a configuration prompt message will be displayed in the first configuration interface. The configuration prompt message is used to indicate that the signature type and application resources cannot be configured if no running device is selected.

[0214] The application development interface includes a device selection area, and the processing unit 1702 is also used for:

[0215] The device selection operation performed in the device selection area will be received, and the device identifier of the selected running device will be displayed in the device selection area.

[0216] In one implementation, the program configuration option is a program build option, which indicates that the developed application should be distributed. The processing unit 1702, in response to the selection of the program configuration option, outputs a resource configuration interface, specifically for:

[0217] In response to the selection of program build options, obtain application information of the application;

[0218] The output program build options correspond to a second configuration interface, which includes: application information, a signature type area, and a file configuration area; the signature type area is used to configure the signature type for the application, and the file configuration area is used to configure application resources for the application.

[0219] In one implementation, the signature type area includes certificate signing options, and the file configuration area includes certificate hosting options, a certificate area, and a file area; the application resources include a signed certificate file and a configuration file; the processing unit 1702, in response to a resource configuration operation performed in the resource configuration interface, specifically for obtaining application resources in the application service based on credential information, is used for:

[0220] When the certificate signing option is selected, in response to the triggered operation for the certificate hosting option, the signature certificate file and configuration file in the application service are obtained based on the credential information.

[0221] Display the signed certificate file in the certificate area and the configuration file in the file area.

[0222] In one implementation, when the certificate hosting option is not triggered, processing unit 1702 is further configured to:

[0223] If a certificate configuration operation existing in the certificate area is received, the signature certificate file in the application service is obtained based on the credential information;

[0224] Display the signed certificate file in the certificate area; and,

[0225] If a file configuration operation existing in the file area is received, the configuration file in the application service is obtained based on the credential information;

[0226] Display the configuration file in the file area.

[0227] In one implementation, the second configuration interface also displays distribution options; the signing certificate file includes a development certificate file and a distribution certificate file; the processing unit 1702 is further used for:

[0228] When the distribution option is selected, the distribution certificate file in the application service is obtained based on the credential information;

[0229] When the distribution option is not selected, the development certificate file in the application service is obtained based on the credential information.

[0230] In one implementation, the processing unit 1702, when retrieving application resources from the application service based on credential information, specifically performs the following functions:

[0231] Check if application resources are included in the local storage space;

[0232] If the local storage space does not contain application resources, the interface program is called to access the application service;

[0233] If application resources are detected in the application service based on the credential information, then the application resources are obtained from the application service.

[0234] If the application service is found to be missing application resources based on the credentials, the application service will be invoked to create the application resources.

[0235] In one implementation, the processing unit 1702 is further configured to:

[0236] If the local storage space includes application resources, then obtain the validity judgment strategy; the validity judgment strategy is used to characterize the judgment rules for detecting whether the application resources are valid;

[0237] The validity of application resources is assessed based on the validity assessment strategy, and the validity assessment results are obtained.

[0238] When the validity judgment result indicates that the application resource is valid, the application resource is retrieved from the local storage space.

[0239] In one implementation, the application resources include a configuration file, and the processing unit 1702 is further used for:

[0240] The availability judgment strategy is invoked to perform availability verification on the configuration file, and the availability verification result is obtained; the availability judgment strategy is used to characterize the judgment rules for detecting whether the configuration file is available;

[0241] If the availability check result indicates that the configuration file is available, retrieve the configuration file.

[0242] In one implementation, the application resource includes a signature certificate file; the processing unit 1702, when calling the application service to create the application resource, is specifically used for:

[0243] Check if a distribution certificate is needed to generate a signature certificate file;

[0244] If necessary, the application service is invoked to create a distribution certificate, and the distribution certificate is exported as a distribution certificate file;

[0245] If not required, the application service will be invoked to create a development certificate and the development certificate will be exported as a development certificate file.

[0246] According to one embodiment of this application, Figure 17 The processing device of the application shown can be composed of various units, either individually or entirely, into one or more other units, or some of these units can be further divided into multiple functionally smaller units. This achieves the same operation without affecting the technical effects of the embodiments of this application. The above-mentioned units are based on logical function division. In practical applications, the function of one unit can be implemented by multiple units, or the function of multiple units can be implemented by one unit. In other embodiments of this application, the processing device of the application may also include other units. In practical applications, these functions can also be implemented with the assistance of other units, and can be implemented collaboratively by multiple units. According to another embodiment of this application, the application can be executed by running on a general-purpose computing device, such as a computer, which includes processing elements and storage elements such as a central processing unit (CPU), random access memory (RAM), and read-only memory (ROM). Figure 3 and Figure 16 The computer program (including program code) for each step involved in the corresponding method shown, to construct such... Figure 17 The application processing apparatus shown herein, and the processing method for implementing the application according to the embodiments of this application. The computer program may be recorded on, for example, a computer-readable recording medium, loaded onto the aforementioned computing device via the computer-readable recording medium, and run therein.

[0247] In this embodiment, on the one hand, the computer device with a second runtime environment deployed in this embodiment can obtain the application resources required for application development from the application service corresponding to the first runtime environment across platforms by relying on the credential information of the developer in the application service, thereby realizing cross-platform development of the application. On the other hand, in the process of realizing cross-platform development of the application, the developer only needs to fill in / configure the credential information of the developer in the application service corresponding to the first runtime environment into the computer device with the second runtime environment deployed. This facilitates the computer device to automatically manage and identify the application resources required for application development. This not only ensures the completeness of the application resources required for application development and reduces the possibility of errors in application operation and construction, but also simplifies the development process of the application running in the first runtime environment in the second runtime environment. It greatly reduces the cost for the developer to understand the native concepts of the first runtime environment and improves the efficiency of cross-platform application development.

[0248] Figure 18 A schematic diagram of the structure of a computer device provided in an exemplary embodiment of this application is shown. Please refer to... Figure 18 The computer device includes a processor 1801, a communication interface 1802, and a computer-readable storage medium 1803. The processor 1801, communication interface 1802, and computer-readable storage medium 1803 can be connected via a bus or other means. The communication interface 1802 is used to receive and send data. The computer-readable storage medium 1803 can be stored in the computer device's memory and is used to store computer programs. The processor 1801 is used to execute the computer programs stored in the computer-readable storage medium 1803. The processor 1801 (or CPU (Central Processing Unit)) is the computing and control core of the computer device, suitable for implementing one or more computer programs, specifically suitable for loading and executing one or more computer programs to achieve corresponding method flows or corresponding functions.

[0249] This application embodiment also provides a computer-readable storage medium (Memory), which is a memory device in a computer device used to store programs and data. It is understood that the computer-readable storage medium here can include both built-in storage media in the computer device and extended storage media supported by the computer device. The computer-readable storage medium provides storage space that stores the processing system of the computer device. Furthermore, one or more computer programs suitable for loading and execution by the processor 1801 are also stored in this storage space. It should be noted that the computer-readable storage medium here can be high-speed RAM memory or non-volatile memory, such as at least one disk storage device; optionally, it can also be at least one computer-readable storage medium located remotely from the aforementioned processor.

[0250] In one embodiment, a computer-readable storage medium stores one or more computer programs; the processor 1801 loads and executes one or more computer programs stored in the computer-readable storage medium to implement the corresponding steps in the above-described application processing method embodiments; specifically, the application runs in a first runtime environment, and the processor 1801 loads and executes the steps of the various embodiments of this application for one or more computer programs in the computer-readable storage medium.

[0251] During the development of the application in the second runtime environment, the credential information configured for the application is received; the credential information is the identity credentials of the application development object in the application service, which is used to create the application resources required for the development of the application.

[0252] In response to resource configuration operations for an application, retrieve application resources from the application service based on credential information;

[0253] In response to the confirmation operation of application resources, an installation package for the application is generated based on the application resources.

[0254] In one implementation, one or more instructions in the computer-readable storage medium are loaded by the processor 1801 and, when receiving credential information configured for the application, specifically perform the following steps:

[0255] Displays the application's information configuration interface, which includes an information configuration area for each credential.

[0256] In response to the information configuration operation performed in each information configuration area, the configured credential information is displayed in each information configuration area;

[0257] The credential information includes at least one of the following: the organization identifier of the development organization to which the development object belongs, the object identifier of the development object, and the key file of the development object; the information configuration operation includes at least one of the following: input operation performed through a virtual keyboard or physical keyboard, paste operation performed through a paste panel, and information search operation performed in local storage space.

[0258] In one implementation, when one or more instructions in a computer-readable storage medium are loaded by processor 1801 and executed in response to a resource configuration operation for an application, and when retrieving application resources from an application service based on credential information, the following steps are specifically performed:

[0259] Displays the application's application development interface, which includes application configuration options;

[0260] In response to the selection of program configuration options, the resource configuration interface is displayed;

[0261] In response to resource setting operations performed in the resource configuration interface, application resources in the application service are obtained based on the credential information.

[0262] In one implementation, the program configuration option is a program execution option, which instructs the developed application to run on a runtime device where the first runtime environment is deployed. The runtime device can be a physical device or a simulator. One or more instructions in the computer-readable storage medium are loaded by the processor 1801 and, in response to the selection of the program configuration option, output the resource configuration interface, specifically perform the following steps:

[0263] In response to the selection of a program running option, the first configuration interface corresponding to the program running option is output;

[0264] If a running device is selected, the signature type area and file configuration area are displayed in the first configuration interface; the signature type area is used to configure the signature type for the application, and the file configuration area is used to configure application resources for the application.

[0265] In one implementation, one or more instructions in a computer-readable storage medium are loaded by processor 1801 and the following steps are also performed:

[0266] If the running device is not selected, a configuration prompt message will be displayed in the first configuration interface. The configuration prompt message is used to indicate that the signature type and application resources cannot be configured if no running device is selected.

[0267] The application development interface includes a device selection area, and one or more instructions from a computer-readable storage medium are loaded by the processor 1801 and executed as follows:

[0268] The device selection operation performed in the device selection area will be received, and the device identifier of the selected running device will be displayed in the device selection area.

[0269] In one implementation, the program configuration option is a program build option, which indicates: to distribute the developed application; when one or more instructions in the computer-readable storage medium are loaded by the processor 1801 and executed in response to the selection of the program configuration option, and the resource configuration interface is output, the following steps are specifically performed:

[0270] In response to the selection of program build options, obtain application information of the application;

[0271] The output program build options correspond to a second configuration interface, which includes: application information, a signature type area, and a file configuration area; the signature type area is used to configure the signature type for the application, and the file configuration area is used to configure application resources for the application.

[0272] In one implementation, the signature type area includes certificate signing options, and the file configuration area includes certificate hosting options, a certificate area, and a file area; the application resources include a signed certificate file and a configuration file; one or more instructions in the computer-readable storage medium are loaded by the processor 1801 and executed in response to the resource configuration operation performed in the resource configuration interface. When retrieving application resources in the application service based on credential information, the following steps are specifically performed:

[0273] When the certificate signing option is selected, in response to the triggered operation for the certificate hosting option, the signature certificate file and configuration file in the application service are obtained based on the credential information.

[0274] Display the signed certificate file in the certificate area and the configuration file in the file area.

[0275] In one implementation, when the certificate escrow option is not triggered, one or more instructions in the computer-readable storage medium are loaded by the processor 1801 and the following steps are also executed:

[0276] If a certificate configuration operation existing in the certificate area is received, the signature certificate file in the application service is obtained based on the credential information;

[0277] Display the signed certificate file in the certificate area; and,

[0278] If a file configuration operation existing in the file area is received, the configuration file in the application service is obtained based on the credential information;

[0279] Display the configuration file in the file area.

[0280] In one implementation, the second configuration interface also displays distribution options; the signing certificate file includes a development certificate file and a distribution certificate file; one or more instructions in the computer-readable storage medium are loaded by the processor 1801 and also execute the following steps:

[0281] When the distribution option is selected, the distribution certificate file in the application service is obtained based on the credential information;

[0282] When the distribution option is not selected, the development certificate file in the application service is obtained based on the credential information.

[0283] In one implementation, when one or more instructions in the computer-readable storage medium are loaded by the processor 1801 and executed to retrieve application resources from the application service based on credential information, the following steps are specifically performed:

[0284] Check if application resources are included in the local storage space;

[0285] If the local storage space does not contain application resources, the interface program is called to access the application service;

[0286] If application resources are detected in the application service based on the credential information, then the application resources are obtained from the application service.

[0287] If the application service is found to be missing application resources based on the credentials, the application service will be invoked to create the application resources.

[0288] In one implementation, one or more instructions in a computer-readable storage medium are loaded by processor 1801 and the following steps are also performed:

[0289] If the local storage space includes application resources, then obtain the validity judgment strategy; the validity judgment strategy is used to characterize the judgment rules for detecting whether the application resources are valid;

[0290] The validity of application resources is assessed based on the validity assessment strategy, and the validity assessment results are obtained.

[0291] When the validity judgment result indicates that the application resource is valid, the application resource is retrieved from the local storage space.

[0292] In one implementation, the application resources include a configuration file, and one or more instructions in a computer-readable storage medium are loaded by the processor 1801 and further executed as follows:

[0293] The availability judgment strategy is invoked to perform availability verification on the configuration file, and the availability verification result is obtained; the availability judgment strategy is used to characterize the judgment rules for detecting whether the configuration file is available;

[0294] If the availability check result indicates that the configuration file is available, retrieve the configuration file.

[0295] In one implementation, the application resource includes a signature certificate file; one or more instructions in a computer-readable storage medium are loaded by the processor 1801 and, when executing an application service call to create the application resource, specifically perform the following steps:

[0296] Check if a distribution certificate is needed to generate a signature certificate file;

[0297] If necessary, the application service is invoked to create a distribution certificate, and the distribution certificate is exported as a distribution certificate file;

[0298] If not required, the application service will be invoked to create a development certificate and the development certificate will be exported as a development certificate file.

[0299] Based on the same inventive concept, the principle and beneficial effects of the computer device provided in the embodiments of this application in solving the problem are similar to the principle and beneficial effects of the application processing method in the embodiments of this application in solving the problem. Please refer to the principle and beneficial effects of the implementation of the method. For the sake of brevity, they will not be repeated here.

[0300] This application also provides a computer program product, which includes a computer program that, when executed by a processor, implements the processing method of the above-described application program.

[0301] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed in this application can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0302] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially as a computer program product. A computer program product includes one or more computer programs. When a computer program is loaded and executed on a computer device, the computer program performs the processes or functions described above in the embodiments of this application. The computer device can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer program can be stored in or transmitted through a computer-readable storage medium. The computer program can be transmitted from one website, computer device, server, or data center to another website, computer device, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium accessible to the computer device or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state disk (SSD)).

[0303] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A method for processing an application, characterized in that, The application runs in a first runtime environment, and the method includes: During the development of the application in the second runtime environment, credential information configured for the application is received; the credential information is the identity credential of the application's development object in the application service, which is used to create the application resources required for developing the application; In response to a resource configuration operation for the application, the application resources in the application service are obtained based on the credential information; In response to the confirmation operation of the application resources, an installation package for the application is generated based on the application resources.

2. The method as described in claim 1, characterized in that, The receipt of credential information configured for the application includes: The application displays an information configuration interface, which includes an information configuration area corresponding to each of the credential information. In response to the information configuration operation performed in each of the information configuration areas, the configured credential information is displayed in each of the information configuration areas; The credential information includes at least one of the following: the organization identifier of the development organization to which the development object belongs, the object identifier of the development object, and the key file of the development object; the information configuration operation includes at least one of the following: an input operation performed via a virtual keyboard or a physical keyboard, a paste operation performed via a paste panel, and an information search operation performed in local storage space.

3. The method as described in claim 1, characterized in that, The step of retrieving the application resources in the application service based on the credential information in response to a resource configuration operation for the application includes: The application development interface of the application is displayed, and the application development interface includes program configuration options; In response to the selection of the program configuration option, a resource configuration interface is output; In response to the resource setting operation performed in the resource configuration interface, the application resources in the application service are obtained based on the credential information.

4. The method as described in claim 3, characterized in that, The program configuration option is the program execution option, which is used to indicate that the developed application is run on the running device that deploys the first running environment, and the running device is a physical device or a simulator. The step of outputting a resource configuration interface in response to the selection of the program configuration option includes: In response to the selection of the program running option, the first configuration interface corresponding to the program running option is output; If the running device is selected, a signature type area and a file configuration area are displayed in the first configuration interface; the signature type area is used to configure the signature type for the application, and the file configuration area is used to configure application resources for the application.

5. The method as described in claim 4, characterized in that, The method further includes: If the running device is not selected, a configuration prompt message is displayed in the first configuration interface. The configuration prompt message is used to indicate that the signature type and the application resources cannot be configured if the running device is not selected. The application development interface includes a device selection area, and the method further includes: Upon receiving a device selection operation performed in the device selection area, the device identifier of the selected operating device is displayed in the device selection area.

6. The method as described in claim 3, characterized in that, The program configuration option is a program build option, which indicates that the developed application should be distributed. In response to the selection of the program configuration option, a resource configuration interface is output, including: In response to the selection of the program build option, the application information of the application is obtained; Output the second configuration interface corresponding to the program build options. The second configuration interface includes: application information, a signature type area, and a file configuration area. The signature type area is used to configure the signature type for the application, and the file configuration area is used to configure application resources for the application.

7. The method as described in claim 4 or 6, characterized in that, The signature type area includes certificate signing options, and the file configuration area includes certificate hosting options, a certificate area, and a file area; the application resources include signed certificate files and configuration files. The step of responding to a resource configuration operation performed in the resource configuration interface by obtaining the application resource in the application service based on the credential information includes: When the certificate signing option is selected, in response to the trigger operation for the certificate hosting option, the signing certificate file and the configuration file in the application service are obtained according to the credential information; The signing certificate file is displayed in the certificate area, and the configuration file is displayed in the file area.

8. The method as described in claim 7, characterized in that, When the certificate hosting option is not triggered, the method further includes: If a certificate configuration operation existing in the certificate area is received, the signature certificate file in the application service is obtained according to the credential information; The signature certificate file is displayed in the certificate area; and, If a file configuration operation existing in the file area is received, the configuration file in the application service is obtained based on the credential information; The configuration file is displayed in the file area.

9. The method as described in claim 7, characterized in that, The second configuration interface also displays distribution options; the signature certificate file includes a development certificate file and a distribution certificate file; the method further includes: When the distribution option is selected, the distribution certificate file in the application service is obtained based on the credential information; When the distribution option is not selected, the development certificate file in the application service is obtained based on the credential information.

10. The method as described in claim 1, characterized in that, The step of obtaining the application resources in the application service based on the credential information includes: Detect whether the application resources are included in the local storage space; If the local storage space does not include the application resources, then the interface program is invoked to access the application service; If the application resource is detected in the application service based on the credential information, then the application resource is obtained from the application service; If the application resource is not included in the application service based on the credential information, then the application service is invoked to create the application resource.

11. The method as described in claim 10, characterized in that, The method further includes: If the local storage space includes the application resources, then a validity judgment strategy is obtained; the validity judgment strategy is used to characterize the judgment rules for detecting whether the application resources are valid. The validity of the application resources is determined according to the validity determination strategy, and the validity determination result is obtained. When the validity determination result indicates that the application resource is valid, the application resource is retrieved from the local storage space.

12. The method as described in claim 10 or 11, characterized in that, The application resources include configuration files, and the method further includes: The availability judgment strategy is invoked to perform availability verification on the configuration file, and the availability verification result is obtained; the availability judgment strategy is used to characterize the judgment rules for detecting whether the configuration file is available. When the availability verification result indicates that the configuration file is available, the configuration file is obtained.

13. The method as described in claim 10 or 11, characterized in that, The application resource includes a signature certificate file; the step of calling the application service to create the application resource includes: Check if a distribution certificate is needed to generate a signature certificate file; If necessary, the application service is invoked to create a distribution certificate, and the distribution certificate is exported as a distribution certificate file; If not required, the application service is invoked to create a development certificate, and the development certificate is exported as a development certificate file.

14. A processing apparatus for an application, characterized in that, The application runs in a first operating environment, and the device includes: The acquisition unit is used to receive credential information configured for the application during the development of the application in the second runtime environment; the credential information is the identity credential of the application's development object in the application service, and the application service is used to create the application resources required for developing the application; A processing unit is configured to, in response to a resource configuration operation for the application, obtain the application resources in the application service based on the credential information; The processing unit is further configured to generate an installation package for the application based on the application resource in response to the confirmation operation of the application resource.

15. A computer device, characterized in that, include: A processor, adapted to execute computer programs; A computer-readable storage medium storing a computer program that, when executed by the processor, implements the processing method of the application program as described in any one of claims 1-13.

16. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer application program, which, when executed, implements the processing method of the application program as described in any one of claims 1-13.

17. A computer program product, characterized in that, The computer program product includes a computer program that, when executed by a processor, implements the processing method of the application program as described in any one of claims 1-13.