CN115757101A - Application program running method and device and electronic equipment - Google Patents
Application program running method and device and electronic equipment Download PDFInfo
- Publication number
- CN115757101A CN115757101A CN202211362753.8A CN202211362753A CN115757101A CN 115757101 A CN115757101 A CN 115757101A CN 202211362753 A CN202211362753 A CN 202211362753A CN 115757101 A CN115757101 A CN 115757101A
- Authority
- CN
- China
- Prior art keywords
- version
- application program
- user account
- client
- component set
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Stored Programmes (AREA)
Abstract
Description
技术领域technical field
本申请涉及软件测试领域,具体而言,涉及一种应用程序的运行方法、装置及电子设备。The present application relates to the field of software testing, in particular, to an application program running method, device and electronic equipment.
背景技术Background technique
随着移动互联网的普及和相关技术的发展,企业一般通过移动应用APP(application,应用程序)向用户提供服务,同时移动应用APP也一直在通过更新迭代版本的方式为用户提供更多元的业务服务。但是,在版本迭代的过程中,经常会因为新发布的高版本的应用程序出现问题,导致用户使用中断或无法有效使用原有服务,由此催生了在发布新版本的应用程序时使用灰度发布的方式,通过向一部分用户提供新版本的应用程序,在确定使用正常后,再逐步增加新的使用用户,从而尽可能地以更平滑的方式实现版本更新。With the popularization of mobile Internet and the development of related technologies, enterprises generally provide services to users through mobile application APP (application, application program). Serve. However, in the process of version iteration, there are often problems with the newly released high-version applications, which cause users to interrupt or cannot effectively use the original services, which has led to the use of grayscale when releasing new versions of applications. The method of release is to provide a new version of the application to some users, and then gradually add new users after the normal use is confirmed, so as to achieve the version update in a smoother way as much as possible.
但是,在现有技术中,在对高版本的应用程序进行测试之前,通常需要测试用户从应用下载市场中单独下载新版本的应用程序以对旧版本的应用程序进行更新,由于这一过程需要占用测试用户的时间以及流量,因此导致测试用户的用户体验较差,配合度也较低,从而需要测试人员花费大量的时间与测试用户进行沟通与协调,进而造成测试效率较低的问题。However, in the prior art, before the application program of the higher version is tested, the test user usually needs to download the application program of the new version separately from the application download market to update the application program of the old version, because this process requires Occupying the test user's time and traffic, resulting in poor user experience and low cooperation for the test user, requiring testers to spend a lot of time communicating and coordinating with the test user, resulting in low test efficiency.
针对上述的问题,目前尚未提出有效的解决方案。For the above problems, no effective solution has been proposed yet.
发明内容Contents of the invention
本申请实施例提供了一种应用程序的运行方法、装置及电子设备,以至少解决现有技术中对高版本的应用程序进行运行测试时存在的测试效率低的技术问题。Embodiments of the present application provide an application program running method, device and electronic equipment, so as to at least solve the technical problem of low test efficiency in the prior art when running tests on high-version application programs.
根据本申请实施例的一个方面,提供了一种应用程序的运行方法,包括:获取运行应用程序的客户端所发送的用户账户,其中,应用程序至少包括第一组件集合以及第二组件集合,第一组件集合中包含第一版本的应用程序所需的多个功能组件,第二组件集合中包含第二版本的应用程序所需的多个功能组件,第一版本低于第二版本;检测预设清单中是否包括用户账户,得到检测结果,其中,预设清单用于记录在测试第二版本的应用程序的过程中使用到的账户;在预设清单中包含用户账户时,通过第二组件集合中的功能组件在客户端中运行第二版本的应用程序;在预设清单中不包含用户账户时,通过第一组件集合中的功能组件在客户端中运行第一版本的应用程序。According to an aspect of an embodiment of the present application, a method for running an application is provided, including: acquiring a user account sent by a client running the application, wherein the application includes at least a first component set and a second component set, The first component set contains multiple functional components required by the application program of the first version, the second component set contains multiple functional components required by the application program of the second version, and the first version is lower than the second version; detection Whether the user account is included in the default list, and the detection result is obtained, wherein the default list is used to record the account used in the process of testing the second version of the application program; when the default list contains the user account, through the second The functional components in the component set run the application program of the second version in the client; when the user account is not included in the preset list, the functional components in the first component set run the application program of the first version in the client.
进一步地,应用程序的运行方法还包括:获取客户端发送的账户登录信息和第一签名信息,其中,账户登录信息中至少包括用户账户,账户登录信息为客户端通过预设公钥进行加密后的信息,第一签名信息用于表征用户账户所对应的第一对象的身份信息;根据目标协议对第一签名信息进行验证,其中,目标协议表征了第一对象与第二对象之间的对应关系,第二对象为开发应用程序的对象;在第一签名信息验证成功之后,根据与预设公钥对应的预设私钥对账户登录信息进行解密,并从解密后的账户登录信息中提取用户账户。Further, the running method of the application program also includes: obtaining the account login information and the first signature information sent by the client, wherein the account login information includes at least the user account, and the account login information is encrypted by the client with a preset public key. The first signature information is used to represent the identity information of the first object corresponding to the user account; the first signature information is verified according to the target protocol, wherein the target protocol represents the correspondence between the first object and the second object relationship, the second object is the object for developing the application program; after the first signature information is successfully verified, the account login information is decrypted according to the preset private key corresponding to the preset public key, and the account login information is extracted from the decrypted account login information User Account.
进一步地,应用程序的运行方法还包括:在检测预设清单中是否包括用户账户,得到检测结果之前,向客户端发送第一请求信息,其中,第一请求信息用于请求使用用户账户参与第二版本的应用程序的测试过程;检测是否接收到客户端基于第一请求信息的反馈信息;在反馈信息为目标反馈信息时,将用户账户记录在预设清单中,其中,目标反馈信息为允许用户账户参与第二版本的应用程序的测试过程的信息。Further, the running method of the application program further includes: before detecting whether the user account is included in the preset list and obtaining the detection result, sending a first request message to the client, wherein the first request message is used to request to use the user account to participate in the second The testing process of the application program of the second version; detect whether the feedback information based on the first request information is received from the client; when the feedback information is the target feedback information, record the user account in the preset list, wherein the target feedback information is permission Information about the user account participating in the testing process of the second version of the application.
进一步地,应用程序的运行方法还包括:在通过第二组件集合中的功能组件在客户端中运行第二版本的应用程序之后,接收客户端发送的第一请求指令,其中,第一请求指令表征客户端请求将当前运行的第二版本的应用程序回退至第一版本的应用程序;根据第一请求指令从预设清单中删除用户账户;检测用户账户是否在客户端中重新登录;在检测到用户账户在客户端中重新登录的情况下,通过第一组件集合中的功能组件在客户端中运行第一版本的应用程序。Further, the method for running the application further includes: after running the second version of the application on the client through the functional components in the second component set, receiving a first request instruction sent by the client, wherein the first request instruction Indicates that the client requests to roll back the currently running second version of the application to the first version of the application; delete the user account from the preset list according to the first request instruction; detect whether the user account is re-login in the client; When it is detected that the user account has re-logged in on the client, the first version of the application program is run on the client through the functional components in the first component set.
进一步地,应用程序的运行方法还包括:在通过第一组件集合中的功能组件在客户端中运行第一版本的应用程序之后,接收客户端发送的第二请求指令,其中,第二请求指令表征客户端请求将当前运行的第一版本的应用程序升级为第二版本的应用程序;根据第二请求指令将用户账户记录在预设清单中;检测用户账户是否在客户端中重新登录;在检测到用户账户在客户端中重新登录的情况下,根据第二组件集合中的功能组件在客户端中运行第二版本的应用程序。Further, the method for running the application program further includes: after running the first version of the application program on the client through the functional components in the first component set, receiving a second request instruction sent by the client, wherein the second request instruction Characterize that the client requests to upgrade the currently running application of the first version to the application of the second version; record the user account in the preset list according to the second request instruction; detect whether the user account is logged in again in the client; When it is detected that the user account is re-login in the client, the client runs the application program of the second version according to the functional components in the second component set.
根据本申请实施例的另一方面,还提供了另一种应用程序的运行方法,包括:向服务端发送用户账户,其中,服务端中至少存储有第一组件集合以及第二组件集合,第一组件集合中包含第一版本的应用程序所需的多个功能组件,第二组件集合中包含第二版本的应用程序所需的多个功能组件,第一版本低于第二版本;接收服务端基于用户账户返回的检测结果,其中,检测结果表征预设清单中是否包含用户账户,预设清单用于记录在测试第二版本的应用程序的过程中使用到的账户;在检测结果为预设清单中不包含用户账户时,调用第一组件集合中的功能组件,并运行第一版本的应用程序;在检测结果为预设清单中包含用户账户时,调用第二组件集合中的功能组件,并运行第二版本的应用程序。According to another aspect of the embodiment of the present application, another method for running an application program is provided, including: sending the user account to the server, wherein at least the first component set and the second component set are stored in the server, the first A component set contains multiple functional components required by the application program of the first version, a second component set contains multiple functional components required by the application program of the second version, and the first version is lower than the second version; receiving service The detection result returned by the terminal based on the user account, wherein the detection result indicates whether the user account is included in the preset list, and the preset list is used to record the account used in the process of testing the second version of the application program; when the detection result is the preset When the user account is not included in the preset list, call the functional components in the first component set and run the first version of the application; when the detection result is that the preset list contains user accounts, call the functional components in the second component set , and run the second version of the application.
进一步地,应用程序的运行方法还包括:检测结果为服务端通过预设私钥加密后的信息,获取服务端基于用户账户返回的检测结果以及第二签名信息,其中,第二签名信息用于表征第二对象的身份信息,其中,第二对象为开发应用程序的对象;根据目标协议对第二签名信息进行验证,其中,目标协议表征了第一对象与第二对象之间的对应关系,第一对象为用户账户所对应的对象;在第二签名信息验证成功之后,根据与预设私钥对应的预设公钥对检测结果进行解密,得到解密后的检测结果。Further, the running method of the application program also includes: the detection result is information encrypted by the server with a preset private key, and obtaining the detection result and the second signature information returned by the server based on the user account, wherein the second signature information is used for Representing the identity information of the second object, wherein the second object is an object for developing an application program; verifying the second signature information according to the target protocol, wherein the target protocol represents the correspondence between the first object and the second object, The first object is the object corresponding to the user account; after the second signature information is verified successfully, the detection result is decrypted according to the preset public key corresponding to the preset private key to obtain the decrypted detection result.
根据本申请实施例的另一方面,还提供了一种应用程序的运行系统,包括:服务端,用于获取运行应用程序的客户端所发送的用户账户,其中,应用程序至少包括第一组件集合以及第二组件集合,第一组件集合中包含第一版本的应用程序所需的多个功能组件,第二组件集合中包含第二版本的应用程序所需的多个功能组件,第一版本低于第二版本;服务端还用于检测预设清单中是否包括用户账户,得到检测结果,其中,预设清单用于记录在测试第二版本的应用程序的过程中使用到的账户;客户端,用于接收服务端返回的检测结果,并在预设清单中包含用户账户时,调用第二组件集合中的功能组件并运行第二版本的应用程序;在预设清单中不包含用户账户时,调用第一组件集合中的功能组件并运行第一版本的应用程序。According to another aspect of the embodiment of the present application, there is also provided an application running system, including: a server, configured to obtain the user account sent by the client running the application, wherein the application includes at least a first component set and the second set of components, the first set of components contains multiple functional components required by the first version of the application, the second set of components contains multiple functional components required by the second version of the application, the first version Lower than the second version; the server is also used to detect whether the user account is included in the preset list and obtain the detection result, wherein the preset list is used to record the account used in the process of testing the second version of the application; the client The end is used to receive the detection result returned by the server, and when the user account is included in the preset list, call the functional component in the second component set and run the application program of the second version; the user account is not included in the preset list , calling the functional components in the first component set and running the first version of the application program.
根据本申请实施例的另一方面,还提供了一种应用程序的运行装置,包括:获取模块,用于获取运行应用程序的客户端所发送的用户账户,其中,应用程序至少包括第一组件集合以及第二组件集合,第一组件集合中包含第一版本的应用程序所需的多个功能组件,第二组件集合中包含第二版本的应用程序所需的多个功能组件,第一版本低于第二版本;检测模块,用于检测预设清单中是否包括用户账户,得到检测结果,其中,预设清单用于记录在测试第二版本的应用程序的过程中使用到的账户;第一运行模块,用于在预设清单中包含用户账户时,通过第二组件集合中的功能组件在客户端中运行第二版本的应用程序;第二运行模块,用于在预设清单中不包含用户账户时,通过第一组件集合中的功能组件在客户端中运行第一版本的应用程序。According to another aspect of the embodiment of the present application, there is also provided an application program running device, including: an acquisition module, configured to acquire the user account sent by the client running the application program, wherein the application program includes at least a first component set and the second set of components, the first set of components contains multiple functional components required by the first version of the application, the second set of components contains multiple functional components required by the second version of the application, the first version Lower than the second version; the detection module is used to detect whether the user account is included in the preset list, and obtain the detection result, wherein the preset list is used to record the account used in the process of testing the application program of the second version; the first A running module, used to run the second version of the application program on the client through the functional components in the second component set when the preset list contains user accounts; When the user account is included, the first version of the application program is run on the client through the functional components in the first component set.
根据本申请实施例的另一方面,还提供了一种电子设备,该电子设备包括一个或多个处理器;存储装置,用于存储一个或多个程序,当一个或多个程序被一个或多个处理器执行时,使得一个或多个处理器实现用于运行程序,其中,程序被设置为运行时执行上述的应用程序的运行方法。According to another aspect of the embodiments of the present application, there is also provided an electronic device, the electronic device includes one or more processors; a storage device for storing one or more programs, when the one or more programs are executed by one or more When multiple processors are executed, one or more processors implement the running method for running the program, wherein the program is configured to execute the above-mentioned application program when running.
在本申请中,采用在应用程序中同时部署第一组件集合和第二组件集合的方式,首先获取运行应用程序的客户端所发送的用户账户,然后检测预设清单中是否包括用户账户,得到检测结果,在预设清单中包含用户账户时,通过第二组件集合中的功能组件在客户端中运行第二版本的应用程序,在预设清单中不包含用户账户时,通过第一组件集合中的功能组件在客户端中运行第一版本的应用程序。其中,应用程序至少包括第一组件集合以及第二组件集合,第一组件集合中包含第一版本的应用程序所需的多个功能组件,第二组件集合中包含第二版本的应用程序所需的多个功能组件,第一版本低于第二版本;预设清单用于记录在测试第二版本的应用程序的过程中使用到的账户。In this application, the method of deploying the first set of components and the second set of components in the application program is adopted. First, the user account sent by the client running the application program is obtained, and then it is checked whether the user account is included in the preset list, and the obtained As a result of the detection, when the user account is included in the default list, the second version of the application is run on the client through the functional components in the second component set; when the user account is not included in the default list, the first component set is used The functional components in run the first version of the application in the client. Wherein, the application program includes at least a first component set and a second component set, the first component set contains a plurality of functional components required by the first version of the application program, and the second component set contains the functional components required by the second version of the application program The first version is lower than the second version; the default list is used to record the accounts used in the process of testing the second version of the application.
由上述内容可知,本申请采用在应用程序中同时部署第一组件集合以及第二组件集合的方式,在获取得到登陆客户端的用户账户之后,通过自动识别用户账户是否为测试账户(即目标账户),可自动调用与用户账户相对应的功能组件,从而在用户账户为测试账户时,客户端自动运行高版本(即第二版本)的应用程序进行测试,在用户账户为非测试账户时,客户端自动运行低版本(即第一版本)的应用程序不参与测试,由于该过程无需测试用户进行重新下载应用程序等任何额外的操作,因此提高了用户的使用体验,并且降低了测试人员与测试用户之间的沟通成本和协调成本,从而提高了测试效率。It can be seen from the above content that this application adopts the method of deploying the first component set and the second component set in the application program at the same time. After obtaining the user account that logs in to the client, automatically identify whether the user account is a test account (that is, the target account) , can automatically call the functional components corresponding to the user account, so that when the user account is a test account, the client automatically runs the application program of the higher version (that is, the second version) for testing, and when the user account is a non-test account, the client Applications that automatically run a lower version (that is, the first version) on the terminal do not participate in the test. Since this process does not require the test user to perform any additional operations such as re-downloading the application, it improves the user experience and reduces the cost of testers and testers. Communication cost and coordination cost between users, thus improving testing efficiency.
由此可见,本申请的技术方案达到了节约应用程序测试前的准备成本的目的,从而实现了提高应用程序的测试效率的效果,进而解决了现有技术中对高版本的应用程序进行运行测试时存在的测试效率低的技术问题。It can be seen that the technical solution of the present application achieves the purpose of saving the preparation cost before the application program testing, thereby achieving the effect of improving the testing efficiency of the application program, and further solving the problem of running tests on high-version application programs in the prior art There is a technical problem of low testing efficiency.
附图说明Description of drawings
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:The drawings described here are used to provide a further understanding of the application and constitute a part of the application. The schematic embodiments and descriptions of the application are used to explain the application and do not constitute an improper limitation to the application. In the attached picture:
图1是根据本申请实施例的一种可选的应用程序的运行方法的流程图;FIG. 1 is a flow chart of an optional application program running method according to an embodiment of the present application;
图2是根据本申请实施例的另一种可选的应用程序的运行方法的流程图;FIG. 2 is a flow chart of another optional application program running method according to an embodiment of the present application;
图3是根据本申请实施例的一种可选的应用程序的运行系统的示意图;FIG. 3 is a schematic diagram of an optional application running system according to an embodiment of the present application;
图4是根据本申请实施例的一种可选的应用程序的运行系统的执行流程图;FIG. 4 is an execution flowchart of an optional application program running system according to an embodiment of the present application;
图5是根据本申请实施例的一种可选的应用程序的运行装置的示意图;Fig. 5 is a schematic diagram of an optional running device of an application program according to an embodiment of the present application;
图6是根据本申请实施例的一种可选的电子设备的示意图。Fig. 6 is a schematic diagram of an optional electronic device according to an embodiment of the present application.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分的实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiment of the application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiment of the application. Obviously, the described embodiment is only It is an embodiment of a part of the application, but not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the scope of protection of this application.
需要说明的是,本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms "first" and "second" in the description and claims of the present application and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the application described herein can be practiced in sequences other than those illustrated or described herein. Furthermore, the terms "comprising" and "having", as well as any variations thereof, are intended to cover a non-exclusive inclusion, for example, a process, method, system, product or device comprising a sequence of steps or elements is not necessarily limited to the expressly listed instead, may include other steps or elements not explicitly listed or inherent to the process, method, product or apparatus.
还需要说明的是,本公开所涉及的相关信息(包括但不限于用户设备信息、用户个人信息等)和数据(包括但不限于用于展示的数据、分析的数据等),均为经用户授权或者经过各方充分授权的信息和数据。例如,本系统和相关用户或机构间设置有接口,在获取相关信息之前,需要通过接口向前述的用户或机构发送获取请求,并在接收到前述的用户或机构反馈的同意信息后,获取相关信息。It should also be noted that the relevant information (including but not limited to user equipment information, user personal information, etc.) and data (including but not limited to data for display, data for analysis, etc.) Authorized or fully authorized information and data by the parties. For example, there is an interface between this system and relevant users or institutions. Before obtaining relevant information, it is necessary to send an acquisition request to the aforementioned user or institution through the interface, and obtain relevant information after receiving the consent information fed back by the aforementioned user or institution. information.
实施例1Example 1
根据本申请实施例,提供了一种应用程序的运行方法的实施例,需要说明的是,在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行,并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。According to an embodiment of the present application, an embodiment of a method for running an application program is provided. It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and , although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.
图1是根据本申请实施例的一种可选的应用程序的运行方法的流程图,如图1所示,该方法包括如下步骤:Fig. 1 is a flow chart of an optional application program running method according to an embodiment of the present application. As shown in Fig. 1, the method includes the following steps:
步骤S101,获取运行应用程序的客户端所发送的用户账户。Step S101, acquiring the user account sent by the client running the application.
在步骤S101中,应用程序至少包括第一组件集合以及第二组件集合,第一组件集合中包含第一版本的应用程序所需的多个功能组件,第二组件集合中包含第二版本的应用程序所需的多个功能组件,第一版本低于第二版本。In step S101, the application program includes at least a first component set and a second component set, the first component set contains multiple functional components required by the first version of the application program, and the second component set contains the second version of the application Multiple functional components required by the program, the first version is lower than the second version.
可选的,上述的应用程序包括但不限于金融机构所开发的各类应用程序,例如,具有支付功能的APP或者具有理财功能的APP。另外,与客户端相对应的服务端包括但不限于云端服务器或者本地服务器。当某个用户在客户端中登录用户账户之后,客户端会将用户账户发送至服务端中,在本申请的该实施例中,服务端为执行上述的应用程序的运行方法的执行主体。Optionally, the above-mentioned application programs include but are not limited to various application programs developed by financial institutions, for example, an APP with a payment function or an APP with a wealth management function. In addition, the server corresponding to the client includes but is not limited to a cloud server or a local server. After a certain user logs in the user account in the client, the client will send the user account to the server. In this embodiment of the present application, the server is the executor who executes the above-mentioned application program running method.
此外,不同版本的应用程序所对应的组件集合不同,例如,上述的第一版本为版本2.1、上述的第二版本为版本2.2,其中,与版本2.1相比,版本2.2增加了一个功能组件A,功能组件A用于实现新增的跨境转账业务功能。由此可见,在该示例中,版本2.2所对应的第二组件集合相比于版本2.1所对应的第一组件集合要多一个功能组件A。需要注意到的是,第一组件集合与第二组件集合的区别不仅仅可以是功能组件的新增或者减少,还可以是功能组件的修改,例如,第一组件集合中功能组件B存在异常,因此,在第二组件集合中,功能组件B进行了修复。In addition, the component sets corresponding to different versions of the application program are different. For example, the above-mentioned first version is version 2.1, and the above-mentioned second version is version 2.2. Compared with version 2.1, version 2.2 adds a functional component A , functional component A is used to implement the newly added cross-border transfer business function. It can be seen that, in this example, the second component set corresponding to version 2.2 has one more functional component A than the first component set corresponding to version 2.1. It should be noted that the difference between the first component set and the second component set may not only be the addition or reduction of functional components, but also the modification of functional components. For example, there is an exception in functional component B in the first component set, Therefore, in the second set of components, functional component B is repaired.
还需要注意到的是,在现有的灰度发布技术中,一个客户端中通常只能运行一个版本的应用程序,而不会同时在客户端所运行的应用程序中同时维护两个版本的功能组件,尤其是不会维护灰度版本(即第二版本)的功能组件。因此,当用户需要将第一版本的应用程序切换为第二版本的应用程序时,通常需要先卸载第一版本的应用程序,然后再安装第二版本的应用程序,由于该过程需要占用测试用户一定的时间与流量,因此导致用户的使用体验较差,配合度较低。It should also be noted that, in the existing gray scale release technology, usually only one version of the application can be run on a client, and it is not possible to maintain two versions of the application at the same time in the client. Functional components, especially functional components that will not maintain a grayscale version (i.e., a second version). Therefore, when the user needs to switch the application program of the first version to the application program of the second version, it is usually necessary to uninstall the application program of the first version first, and then install the application program of the second version, because this process needs to occupy the test user A certain amount of time and traffic, resulting in poor user experience and low cooperation.
而通过本申请的方法,可以直接在智能终端的应用下载市场中发布包括两个版本的应用程序,从而不需要人为分解移动应用APP端的版本与功能。具体的,在获取得到登陆客户端的用户账户之后,本申请通过自动识别用户账户是否为测试账户(即目标账户),可自动调用与用户账户相对应的功能组件,从而在用户账户为测试账户时,客户端自动运行高版本的应用程序进行测试,在用户账户为非测试账户时,客户端自动运行低版本的应用程序不参与测试,由于该过程无需测试用户进行重新下载应用程序等任何额外的操作,因此提高了用户的使用体验,并且降低了测试技术人员与测试用户之间的沟通成本和协调成本,从而提高了测试效率。However, through the method of the present application, the application program including two versions can be released directly in the application download market of the smart terminal, so that there is no need to artificially decompose the version and function of the APP terminal of the mobile application. Specifically, after obtaining the user account that logs in to the client, the application can automatically call the functional components corresponding to the user account by automatically identifying whether the user account is a test account (ie, the target account), so that when the user account is a test account , the client automatically runs a higher version of the application for testing. When the user account is a non-test account, the client automatically runs a lower version of the application and does not participate in the test. Because this process does not require the test user to re-download the application or any additional Therefore, the user experience is improved, and the communication and coordination costs between test technicians and test users are reduced, thereby improving test efficiency.
步骤S102,检测预设清单中是否包括用户账户,得到检测结果。Step S102, detecting whether the user account is included in the preset list, and obtaining the detection result.
在步骤S102中,预设清单用于记录在测试第二版本的应用程序的过程中使用到的账户。可选的,服务端中预先部署有预设清单,其中,预设清单中所记录的账户为已经确定的测试账户。In step S102, the preset list is used to record the accounts used in the process of testing the application program of the second version. Optionally, a preset list is pre-deployed in the server, wherein the accounts recorded in the preset list are determined test accounts.
步骤S103,在预设清单中包含用户账户时,通过第二组件集合中的功能组件在客户端中运行第二版本的应用程序。Step S103, when the user account is included in the preset list, run the application program of the second version on the client through the functional components in the second component set.
可选的,在获取得到客户端发送的用户账户之后,服务端会将该用户账户与预设清单中所记录的账户进行比对,如果服务端检测到预设清单中包括该用户账户,则服务端会确定该用户账户为一个测试账户,并通过第二组件集合中的功能组件在客户端中运行第二版本的应用程序,从而该用户账户所对应的用户便可以直接使用第二版本的应用程序,进而对第二版本的应用程序进行测试。Optionally, after obtaining the user account sent by the client, the server will compare the user account with the account recorded in the preset list, and if the server detects that the user account is included in the preset list, then The server will determine that the user account is a test account, and run the second version of the application program on the client through the functional components in the second component set, so that the user corresponding to the user account can directly use the second version of the application program. application to test the second version of the application.
步骤S104,在预设清单中不包含用户账户时,通过第一组件集合中的功能组件在客户端中运行第一版本的应用程序。Step S104, when the preset list does not include the user account, run the application program of the first version on the client through the functional components in the first component set.
可选的,在获取得到客户端发送的用户账户之后,如果服务端检测到预设清单中不包括该用户账户,则服务端会确定该用户账户为一个非测试账户,并通过第一组件集合中的功能组件在客户端中运行第一版本的应用程序,从而该用户账户所对应的用户便可以继续使用第一版本的应用程序,并且不会参与第二版本的应用程序的测试过程。Optionally, after obtaining the user account sent by the client, if the server detects that the user account is not included in the preset list, the server will determine that the user account is a non-test account, and set the user account through the first component The functional components in run the first version of the application program on the client, so that the user corresponding to the user account can continue to use the first version of the application program and will not participate in the testing process of the second version of the application program.
基于上述步骤S101至步骤S104的内容可知,在本申请中,采用在应用程序中同时部署第一组件集合和第二组件集合的方式,首先获取运行应用程序的客户端所发送的用户账户,然后检测预设清单中是否包括用户账户,得到检测结果,在预设清单中包含用户账户时,通过第二组件集合中的功能组件在客户端中运行第二版本的应用程序,在预设清单中不包含用户账户时,通过第一组件集合中的功能组件在客户端中运行第一版本的应用程序。其中,应用程序至少包括第一组件集合以及第二组件集合,第一组件集合中包含第一版本的应用程序所需的多个功能组件,第二组件集合中包含第二版本的应用程序所需的多个功能组件,第一版本低于第二版本;预设清单用于记录在测试第二版本的应用程序的过程中使用到的账户。Based on the above steps S101 to S104, it can be seen that in this application, the method of deploying the first set of components and the second set of components in the application at the same time, first obtain the user account sent by the client running the application, and then Detect whether the user account is included in the preset list, and obtain the detection result. When the user account is included in the preset list, run the second version of the application program on the client through the functional components in the second component set. In the preset list, When the user account is not included, the first version of the application program is run on the client through the functional components in the first component set. Wherein, the application program includes at least a first component set and a second component set, the first component set contains a plurality of functional components required by the first version of the application program, and the second component set contains the functional components required by the second version of the application program The first version is lower than the second version; the default list is used to record the accounts used in the process of testing the second version of the application.
由上述内容可知,本申请采用在应用程序中同时部署第一组件集合以及第二组件集合的方式,在获取得到登陆客户端的用户账户之后,通过自动识别用户账户是否为测试账户(即目标账户),可自动调用与用户账户相对应的功能组件,从而在用户账户为测试账户时,客户端自动运行高版本(即第二版本)的应用程序进行测试,在用户账户为非测试账户时,客户端自动运行低版本(即第一版本)的应用程序不参与测试,由于该过程无需测试用户进行重新下载应用程序等任何额外的操作,因此提高了用户的使用体验,并且降低了测试技术人员与测试用户之间的沟通成本和协调成本,从而提高了测试效率。It can be seen from the above content that this application adopts the method of deploying the first component set and the second component set in the application program at the same time. After obtaining the user account that logs in to the client, automatically identify whether the user account is a test account (that is, the target account) , can automatically call the functional components corresponding to the user account, so that when the user account is a test account, the client automatically runs the application program of the higher version (that is, the second version) for testing, and when the user account is a non-test account, the client The application program of the lower version (that is, the first version) automatically runs on the terminal does not participate in the test. Since this process does not require the test user to perform any additional operations such as re-downloading the application program, it improves the user experience and reduces the need for testing technicians and testers. The cost of communication and coordination among test users is reduced, thereby improving test efficiency.
由此可见,本申请的技术方案达到了节约应用程序测试前的准备成本的目的,从而实现了提高应用程序的测试效率的效果,进而解决了现有技术中对高版本的应用程序进行运行测试时存在的测试效率低的技术问题。It can be seen that the technical solution of the present application achieves the purpose of saving the preparation cost before the application program testing, thereby achieving the effect of improving the testing efficiency of the application program, and further solving the problem of running tests on high-version application programs in the prior art There is a technical problem of low testing efficiency.
在一种可选的实施例中,为了提高服务端与客户端之间的信息传输安全性,服务端还会获取客户端发送的账户登录信息和第一签名信息,其中,账户登录信息中至少包括用户账户,账户登录信息为客户端通过预设公钥进行加密后的信息,第一签名信息用于表征用户账户所对应的第一对象的身份信息。然后,服务端根据目标协议对第一签名信息进行验证,其中,目标协议表征了第一对象与第二对象之间的对应关系,第二对象为开发应用程序的对象。最后,在第一签名信息验证成功之后,服务端根据与预设公钥对应的预设私钥对账户登录信息进行解密,并从解密后的账户登录信息中提取用户账户。In an optional embodiment, in order to improve the security of information transmission between the server and the client, the server will also obtain the account login information and the first signature information sent by the client, wherein at least Including the user account, the account login information is information encrypted by the client with a preset public key, and the first signature information is used to represent the identity information of the first object corresponding to the user account. Then, the server verifies the first signature information according to the target protocol, wherein the target protocol represents the corresponding relationship between the first object and the second object, and the second object is an object for developing an application program. Finally, after the first signature information is successfully verified, the server decrypts the account login information according to the preset private key corresponding to the preset public key, and extracts the user account from the decrypted account login information.
可选的,用户在登录应用程序时,会在登录界面中输入用户账户和账户密码等账户登录信息,客户端在得到账户登录信息之后,首先根据预设公钥对账户登录信息进行加密,然后基于加密后的账户登录信息生成第一签名信息,其中,第一签名信息可以理解为是使用该用户账户的用户的一种身份签名,用于表征该用户的身份信息。Optionally, when the user logs in to the application, he will enter the account login information such as the user account and account password in the login interface. After the client obtains the account login information, it first encrypts the account login information according to the preset public key, and then The first signature information is generated based on the encrypted account login information, wherein the first signature information can be understood as an identity signature of a user using the user account, and is used to represent the identity information of the user.
在生成第一签名信息之后,客户端会将第一签名信息与加密后的账户登录信息一起发送给服务端。服务端会根据目标协议对第一签名信息进行验证,其中,目标协议可以理解为是一种网络安全证书,这种网络安全证书中记录了用户账户所对应的第一对象与开发应用程序的第二对象之间的对应关系,即哪些用户账户可以访问服务端,除了这些用户账户之外的账户均无法访问服务端。After generating the first signature information, the client sends the first signature information together with the encrypted account login information to the server. The server will verify the first signature information according to the target protocol, wherein the target protocol can be understood as a network security certificate, which records the first object corresponding to the user account and the first object of the development application program. The corresponding relationship between the two objects, that is, which user accounts can access the server, and accounts other than these user accounts cannot access the server.
在第一签名信息验证成功之后,服务端根据与预设公钥对应的预设私钥对账户登录信息进行解密,并从解密后的账户登录信息中提取用户账户。其中,预设公钥与预设私钥为存在对应关系的非对称密钥。每个客户端所对应的预设公钥各不相同,但是与预设私钥之间均能够互相认证。After the first signature information is successfully verified, the server decrypts the account login information according to the preset private key corresponding to the preset public key, and extracts the user account from the decrypted account login information. Wherein, the preset public key and the preset private key are asymmetric keys with a corresponding relationship. The preset public key corresponding to each client is different, but it can be mutually authenticated with the preset private key.
在一种可选的实施例中,在检测预设清单中是否包括用户账户,得到检测结果之前,服务端向客户端发送第一请求信息,其中,第一请求信息用于请求使用用户账户参与第二版本的应用程序的测试过程。然后,服务端检测是否接收到客户端基于第一请求信息的反馈信息,并在反馈信息为目标反馈信息时,将用户账户记录在预设清单中,其中,目标反馈信息为允许用户账户参与第二版本的应用程序的测试过程的信息。In an optional embodiment, before detecting whether the user account is included in the preset list and obtaining the detection result, the server sends the first request information to the client, wherein the first request information is used to request to use the user account to participate in the The testing process for the second version of the application. Then, the server detects whether it has received the feedback information from the client based on the first request information, and records the user account in the preset list when the feedback information is the target feedback information, wherein the target feedback information is to allow the user account to participate in the first request. Information about the testing process for the second version of the application.
可选的,为了提高测试用户的确定效率,服务端会主动向客户端发送第一请求信息,然后根据客户端基于第一请求信息的反馈信息确定客户端所对应的用户是否愿意成为测试用户,如果反馈信息为目标反馈信息,则服务端会将用户账户添加至预设清单中,从而该用户账户成为一个测试账户,使用该测试账户的用户成为了一个测试用户。Optionally, in order to improve the efficiency of determining the test user, the server will actively send the first request information to the client, and then determine whether the user corresponding to the client is willing to become a test user according to the feedback information from the client based on the first request information. If the feedback information is target feedback information, the server will add the user account to the preset list, so that the user account becomes a test account, and the user using the test account becomes a test user.
需要说明的是,在现有技术中,通常是根据预设比例随机选取账户作为测试账户,但是这种方式可能会导致一些重要用户也变成测试用户,由于灰度版本的应用程序在运行时可能会出现稳定性差的问题,从而会导致重要用户的业务受到影响,甚至造成经济损失,为了避免这种情况,本申请通过向客户端发送第一请求信息的方式,由用户自动选择是否成为一个测试用户,从而对于一些重要用户而言,其可以在接收到第一请求信息时反馈非目标反馈信息,随后服务端在接收到非目标反馈信息之后,便不会将该用户的用户账户添加至预设清单中,进而该用户可以继续使用原版本的应用程序。It should be noted that in the prior art, accounts are usually randomly selected as test accounts according to a preset ratio, but this method may cause some important users to also become test users, because the grayscale version of the application is running The problem of poor stability may occur, which will affect the business of important users and even cause economic losses. In order to avoid this situation, this application sends the first request information to the client, and the user automatically chooses whether to become a Test users, so that for some important users, they can feed back non-target feedback information when receiving the first request information, and then the server will not add the user account of the user to the default list, and the user can continue to use the original version of the application.
在一种可选的实施例中,在通过第二组件集合中的功能组件在客户端中运行第二版本的应用程序之后,服务端还可以接收客户端发送的第一请求指令,其中,第一请求指令表征客户端请求将当前运行的第二版本的应用程序回退至第一版本的应用程序。然后,服务端根据第一请求指令从预设清单中删除用户账户,并检测用户账户是否在客户端中重新登录,在检测到用户账户在客户端中重新登录的情况下,服务端通过第一组件集合中的功能组件在客户端中运行第一版本的应用程序。In an optional embodiment, after running the application program of the second version on the client through the functional components in the second component set, the server may also receive the first request instruction sent by the client, wherein the second A request instruction indicates that the client requests to roll back the currently running application program of the second version to the application program of the first version. Then, the server deletes the user account from the preset list according to the first request instruction, and detects whether the user account has re-logged in the client. The functional components in the component collection run the first version of the application in the client.
可选的,在实际应用中,当高版本的应用程序发布之后,一些用户可能想要尝试一下高版本的应用程序,因此也加入了高版本的应用程序的测试过程中。但是,用户在测试过程中发现高版本的应用程序所加入的新功能对其并没有吸引力,因此用户想要回退至原来的版本。在现有技术中,如果用户想要回退至低版本的应用程序,则需要手动卸载当前运行的高版本的应用程序,然后重新从应用下载市场中下载低版本的应用程序进行安装,该过程需要花费用户较长的时间和较多的流量,从而导致用户使用体验较差。Optionally, in actual application, after the application program of the higher version is released, some users may want to try the application program of the higher version, so they also join in the testing process of the application program of the higher version. However, during the testing process, users found that the new features added by the higher version of the application were not attractive to them, so users wanted to roll back to the original version. In the prior art, if the user wants to fall back to a lower version of the application, he needs to manually uninstall the currently running higher version of the application, and then re-download the lower version of the application from the application download market for installation. It takes a long time and a lot of traffic for the user, resulting in a poor user experience.
而通过本申请的技术方案,用户仅需要通过客户端向服务端发送一条第二请求指令,并重新登录一次用户账户,服务端便会将该用户的用户账户从预设清单中删除,并在用户账户重新登录成功之后,自动地将客户端当前运行的应用程序从高版本切换为低版本。由于该过程无需用户进行卸载或安装应用程序等任何多余的操作,因此提高了用户的使用体验以及版本切换的效率。With the technical solution of this application, the user only needs to send a second request command to the server through the client, and log in to the user account again, and the server will delete the user account from the preset list, and After the user account re-logs in successfully, the application currently running on the client will be automatically switched from a higher version to a lower version. Since this process does not require the user to perform any redundant operations such as uninstalling or installing application programs, the user experience and version switching efficiency are improved.
与上述版本回退的场景相对应,本申请的实施例中还提供了一种版本升级的方法。具体的,在通过第一组件集合中的功能组件在客户端中运行第一版本的应用程序之后,服务端接收客户端发送的第二请求指令,其中,第二请求指令表征客户端请求将当前运行的第一版本的应用程序升级为第二版本的应用程序。然后,服务端根据第二请求指令将用户账户记录在预设清单中,并检测用户账户是否在客户端中重新登录,在检测到用户账户在客户端中重新登录的情况下,服务端根据第二组件集合中的功能组件在客户端中运行第二版本的应用程序。Corresponding to the above-mentioned scenario of version rollback, a method for version upgrade is also provided in the embodiment of the present application. Specifically, after the first version of the application program is run on the client through the functional components in the first component set, the server receives the second request instruction sent by the client, wherein the second request instruction indicates that the client requests the current The running first version of the application is upgraded to the second version of the application. Then, the server records the user account in the preset list according to the second request instruction, and detects whether the user account has re-logged in the client. The functional components in the two-component set run a second version of the application on the client.
通过上述过程,当某一个使用低版本应用程序的用户需要升级应用程序的版本时,也无需再前往应用下载市场下载高版本的应用程序,仅需要通过客户端向服务端发送一条第二请求指令,服务端即可自动将客户端当前运行的低版本的应用程序升级为高版本的应用程序,从而提高了应用程序的升级效率。Through the above process, when a user who uses a lower version of the application needs to upgrade the version of the application, there is no need to go to the application download market to download a higher version of the application, and only need to send a second request command to the server through the client , the server can automatically upgrade the application program of the lower version currently running on the client to the application program of the higher version, thereby improving the upgrading efficiency of the application program.
实施例2Example 2
根据本申请实施例,提供了另一种应用程序的运行方法的实施例,如图2所示,该方法包括如下步骤:According to an embodiment of the present application, another embodiment of an application program running method is provided. As shown in FIG. 2 , the method includes the following steps:
步骤S201,向服务端发送用户账户。Step S201, sending the user account to the server.
在步骤S201中,服务端中至少存储有第一组件集合以及第二组件集合,第一组件集合中包含第一版本的应用程序所需的多个功能组件,第二组件集合中包含第二版本的应用程序所需的多个功能组件,第一版本低于第二版本。In step S201, at least a first component set and a second component set are stored in the server, the first component set contains a plurality of functional components required by the application program of the first version, and the second component set contains the second version The application requires several functional components, the first version is lower than the second version.
可选的,在该实施例中,客户端为执行上述的应用程序的运行方法的执行主体,上述的应用程序包括但不限于金融机构所开发的各类应用程序,例如,具有支付功能的APP或者具有理财功能的APP。另外,上述的服务端包括但不限于云端服务器或者本地服务器。当某个用户在客户端中登录用户账户之后,客户端会将用户账户发送至服务端中,。Optionally, in this embodiment, the client is the execution subject that executes the above-mentioned application program operation method. The above-mentioned application programs include but are not limited to various application programs developed by financial institutions, for example, APPs with payment functions Or an APP with financial management functions. In addition, the above-mentioned server includes but is not limited to a cloud server or a local server. When a user logs in the user account in the client, the client will send the user account to the server.
此外,不同版本的应用程序所对应的组件集合不同,例如,上述的第一版本为版本2.1、上述的第二版本为版本2.2,其中,与版本2.1相比,版本2.2增加了一个功能组件A,功能组件A用于实现新增的跨境转账业务功能。由此可见,在该示例中,版本2.2所对应的第二组件集合相比于版本2.1所对应的第一组件集合要多一个功能组件A。需要注意到的是,第一组件集合与第二组件集合的区别不仅仅可以是功能组件的新增或者减少,还可以是功能组件的修改,例如,第一组件集合中功能组件B存在异常,因此,在第二组件集合中,功能组件B进行了修复。In addition, the component sets corresponding to different versions of the application program are different. For example, the above-mentioned first version is version 2.1, and the above-mentioned second version is version 2.2. Compared with version 2.1, version 2.2 adds a functional component A , functional component A is used to implement the newly added cross-border transfer business function. It can be seen that, in this example, the second component set corresponding to version 2.2 has one more functional component A than the first component set corresponding to version 2.1. It should be noted that the difference between the first component set and the second component set may not only be the addition or reduction of functional components, but also the modification of functional components. For example, there is an exception in functional component B in the first component set, Therefore, in the second set of components, functional component B is repaired.
还需要注意到的是,在现有的灰度发布技术中,一个客户端中通常只能运行一个版本的应用程序,而不会同时在客户端所运行的应用程序中同时维护两个版本的功能组件,尤其是不会维护灰度版本(即第二版本)的功能组件。因此,当用户需要将第一版本的应用程序切换为第二版本的应用程序时,通常需要先卸载第一版本的应用程序,然后再安装第二版本的应用程序,由于该过程需要占用测试用户一定的时间与流量,因此导致用户的使用体验较差,配合度较低。It should also be noted that, in the existing gray scale release technology, usually only one version of the application can be run on a client, and it is not possible to maintain two versions of the application at the same time in the client. Functional components, especially functional components that will not maintain a grayscale version (i.e., a second version). Therefore, when the user needs to switch the application program of the first version to the application program of the second version, it is usually necessary to uninstall the application program of the first version first, and then install the application program of the second version, because this process needs to occupy the test user A certain amount of time and traffic, resulting in poor user experience and low cooperation.
而通过本申请的方法,可以直接在智能终端的应用下载市场中发布包括两个版本的应用程序,从而不需要人为分解移动应用APP端的版本与功能。具体的,在获取得到登陆客户端的用户账户之后,本申请通过自动识别用户账户是否为测试账户(即目标账户),可自动调用与用户账户相对应的功能组件,从而在用户账户为测试账户时,客户端自动运行高版本的应用程序进行测试,在用户账户为非测试账户时,客户端自动运行低版本的应用程序不参与测试,由于该过程无需测试用户进行重新下载应用程序等任何额外的操作,因此提高了用户的使用体验,并且降低了测试技术人员与测试用户之间的沟通成本和协调成本,从而提高了测试效率。However, through the method of the present application, the application program including two versions can be released directly in the application download market of the smart terminal, so that there is no need to artificially decompose the version and function of the APP terminal of the mobile application. Specifically, after obtaining the user account that logs in to the client, the application can automatically call the functional components corresponding to the user account by automatically identifying whether the user account is a test account (ie, the target account), so that when the user account is a test account , the client automatically runs a higher version of the application for testing. When the user account is a non-test account, the client automatically runs a lower version of the application and does not participate in the test. Because this process does not require the test user to re-download the application or any additional Therefore, the user experience is improved, and the communication and coordination costs between test technicians and test users are reduced, thereby improving test efficiency.
步骤S202,接收服务端基于用户账户返回的检测结果。Step S202, receiving the detection result returned by the server based on the user account.
在步骤S202中,检测结果表征预设清单中是否包含用户账户,预设清单用于记录在测试第二版本的应用程序的过程中使用到的账户。可选的,服务端中预先部署有预设清单,其中,预设清单中所记录的账户为已经确定的测试账户。在获取得到客户端发送到用户账户之后,服务端会将该用户账户与预设清单中所记录的账户进行比对,然后得到检测结果。In step S202, the detection result indicates whether the user account is included in the preset list, and the preset list is used to record the accounts used in the process of testing the application program of the second version. Optionally, a preset list is pre-deployed in the server, wherein the accounts recorded in the preset list are determined test accounts. After obtaining the user account sent by the client, the server will compare the user account with the account recorded in the preset list, and then obtain the detection result.
步骤S203,在检测结果为预设清单中不包含用户账户时,调用第一组件集合中的功能组件,并运行第一版本的应用程序。Step S203, when the detection result is that the preset list does not contain the user account, call the functional components in the first component set, and run the application program of the first version.
可选的,如果服务端检测到预设清单中不包含用户账户,则服务端会确定该用户账户为一个非测试账户,并生成对应的检测结果以通知客户端,最终客户端通过调用第一组件集合中的功能组件运行第一版本的应用程序。Optionally, if the server detects that the user account is not included in the preset list, the server will determine that the user account is a non-test account, and generate a corresponding detection result to notify the client. Finally, the client calls the first The functional components in the component collection run the first version of the application.
步骤S204,在检测结果为预设清单中包含用户账户时,调用第二组件集合中的功能组件,并运行第二版本的应用程序。Step S204, when the detection result is that the user account is included in the preset list, call the functional components in the second component set, and run the application program of the second version.
可选的,如果服务端检测到预设清单中包含有用户账户,则服务端会确定该用户账户为一个测试账户,并生成对应的检测结果以通知客户端,最终客户端通过调用第二组件集合中的功能组件运行第二版本的应用程序,从而该用户账户所对应的用户便可以直接使用第二版本的应用程序并对第二版本的应用程序进行测试。Optionally, if the server detects that the user account is included in the preset list, the server will determine that the user account is a test account, and generate a corresponding detection result to notify the client, and finally the client calls the second component The functional components in the collection run the application program of the second version, so that the user corresponding to the user account can directly use the application program of the second version and test the application program of the second version.
由上述内容可知,本申请采用在应用程序中同时部署第一组件集合以及第二组件集合的方式,在获取得到登陆客户端的用户账户之后,通过自动识别用户账户是否为测试账户(即目标账户),可自动调用与用户账户相对应的功能组件,从而在用户账户为测试账户时,客户端自动运行高版本(即第二版本)的应用程序进行测试,在用户账户为非测试账户时,客户端自动运行低版本(即第一版本)的应用程序不参与测试,该过程无需测试用户进行重新下载应用程序等任何额外的操作,从而提高了用户的使用体验,并且降低了测试技术人员与测试用户之间的沟通成本和协调成本,有利于提高测试效率。It can be seen from the above content that this application adopts the method of deploying the first component set and the second component set in the application program at the same time. After obtaining the user account that logs in to the client, automatically identify whether the user account is a test account (that is, the target account) , can automatically call the functional components corresponding to the user account, so that when the user account is a test account, the client automatically runs the application program of the higher version (that is, the second version) for testing, and when the user account is a non-test account, the client The application program of the lower version (that is, the first version) automatically runs on the terminal does not participate in the test. This process does not require the test user to perform any additional operations such as re-downloading the application program, thereby improving the user experience and reducing the cost of test technicians and testers. Communication costs and coordination costs between users are conducive to improving test efficiency.
由此可见,本申请的技术方案达到了节约应用程序测试前的准备成本的目的,从而实现了提高应用程序的测试效率的效果,进而解决了现有技术中对高版本的应用程序进行运行测试时存在的测试效率低的技术问题。It can be seen that the technical solution of the present application achieves the purpose of saving the preparation cost before the application program testing, thereby achieving the effect of improving the testing efficiency of the application program, and further solving the problem of running tests on high-version application programs in the prior art There is a technical problem of low testing efficiency.
在一种可选的实施例中,客户端还会获取服务端基于用户账户返回的检测结果以及第二签名信息,其中,第二签名信息用于表征第二对象的身份信息,第二对象为开发应用程序的对象,然后,客户端根据目标协议对第二签名信息进行验证,其中,目标协议表征了第一对象与第二对象之间的对应关系,第一对象为用户账户所对应的对象。最后,在第二签名信息验证成功之后,客户端根据与预设私钥对应的预设公钥对检测结果进行解密,得到解密后的检测结果。In an optional embodiment, the client also obtains the detection result returned by the server based on the user account and the second signature information, wherein the second signature information is used to represent the identity information of the second object, and the second object is Develop the object of the application program, and then, the client verifies the second signature information according to the target protocol, wherein the target protocol represents the correspondence between the first object and the second object, and the first object is the object corresponding to the user account . Finally, after the second signature information is successfully verified, the client decrypts the detection result according to the preset public key corresponding to the preset private key, and obtains the decrypted detection result.
可选的,服务端在生成检测结果之后,首先根据预设私钥对检测结果进行加密,然后基于加密后的检测结果生成第二签名信息,其中,第二签名信息可以理解为是开发应用程序的对象的一种身份签名信息。Optionally, after generating the detection result, the server first encrypts the detection result according to the preset private key, and then generates the second signature information based on the encrypted detection result, wherein the second signature information can be understood as developing an application An identity signature information of the object.
在生成第二签名信息之后,服务端会将第二签名信息与加密后的检测结果一起发送给客户端。客户端会根据目标协议对第二签名信息进行验证,其中,目标协议可以理解为是一种网络安全证书,这种网络安全证书中记录了用户账户所对应的第一对象与开发应用程序的第二对象之间的对应关系,即哪些用户账户可以访问服务端,除了这些用户账户之外的账户均无法访问服务端。After generating the second signature information, the server sends the second signature information together with the encrypted detection result to the client. The client will verify the second signature information according to the target protocol, wherein the target protocol can be understood as a network security certificate, which records the first object corresponding to the user account and the first object of the development application. The corresponding relationship between the two objects, that is, which user accounts can access the server, and accounts other than these user accounts cannot access the server.
在第二签名信息验证成功之后,客户端根据与预设私钥对应的预设公钥对检测结果进行解密,得到解密后的检测结果。其中,预设公钥与预设私钥为存在对应关系的非对称密钥。每个客户端所对应的预设公钥各不相同,但是与预设私钥之间均能够互相认证。After the second signature information is successfully verified, the client decrypts the detection result according to the preset public key corresponding to the preset private key to obtain the decrypted detection result. Wherein, the preset public key and the preset private key are asymmetric keys with a corresponding relationship. The preset public key corresponding to each client is different, but it can be mutually authenticated with the preset private key.
通过生成第二签名信息以及对检测结果进行加密,提高了客户端与服务端之间的数据传输的安全性,避免了出现数据泄露的问题。By generating the second signature information and encrypting the detection result, the security of data transmission between the client and the server is improved, and the problem of data leakage is avoided.
实施例3Example 3
根据本申请实施例,提供了另一种应用程序的运行系统的实施例,如图3所示,该系统包括:According to an embodiment of the present application, another embodiment of an application running system is provided, as shown in FIG. 3 , the system includes:
服务端,用于获取运行应用程序的客户端所发送的用户账户,其中,应用程序至少包括第一组件集合以及第二组件集合,第一组件集合中包含第一版本的应用程序所需的多个功能组件,第二组件集合中包含第二版本的应用程序所需的多个功能组件,第一版本低于第二版本;服务端还用于检测预设清单中是否包括用户账户,得到检测结果,其中,预设清单用于记录在测试第二版本的应用程序的过程中使用到的账户;The server is configured to obtain the user account sent by the client running the application program, wherein the application program includes at least a first component set and a second component set, and the first component set contains multiple components required by the first version of the application program. functional components, the second component set contains multiple functional components required by the second version of the application program, the first version is lower than the second version; the server is also used to detect whether the preset list includes user accounts, and is detected As a result, the default list is used to record the accounts used in the process of testing the second version of the application;
客户端,用于接收服务端返回的检测结果,并在预设清单中包含用户账户时,调用第二组件集合中的功能组件并运行第二版本的应用程序;在预设清单中不包含用户账户时,调用第一组件集合中的功能组件并运行第一版本的应用程序。The client is used to receive the detection result returned by the server, and when the user account is included in the preset list, call the functional component in the second component set and run the application program of the second version; the user is not included in the preset list When using an account, call the functional components in the first component set and run the application program of the first version.
可选的,上述客户端至少包括用户账号信息读取子模块、灰度调度子模块、签名验签子模块以及加密解密子模块。其中,用户账号信息读取子模块用于读取用户账号,并将用户账户发送给服务端作为灰度判断依据。灰度调度子模块,用于接收服务端基于用户账户生成的检测结果,并根据检测结果确定需要调用的组件集合。签名验签子模块,用于对客户端所要发送的数据进行签名,同时对服务端返回的数据进行验证签名,以保证业务访问双方的身份。加密解密子模块,用于利用提前内置在客户端中的预设公钥对发送的数据进行加密,同时对服务端返回的数据进行解密,保证数据交互的机密性。Optionally, the above-mentioned client includes at least a user account information reading submodule, a grayscale scheduling submodule, a signature verification submodule, and an encryption and decryption submodule. Wherein, the user account information reading sub-module is used to read the user account, and send the user account to the server as a grayscale judgment basis. The gray-scale scheduling sub-module is used to receive the detection result generated by the server based on the user account, and determine the set of components that need to be called according to the detection result. The signature verification sub-module is used to sign the data to be sent by the client, and at the same time verify the signature of the data returned by the server to ensure the identities of both sides of the business access. The encryption and decryption sub-module is used to encrypt the sent data by using the preset public key built in the client in advance, and at the same time decrypt the data returned by the server to ensure the confidentiality of data interaction.
另外,上述的服务端至少包括用户灰度判别子模块、用户账户信息通讯子模块、服务端签名验签子模块以及服务端加密解密子模块。其中,用户灰度判别子模块,用于向客户端下发灰度测试策略,包括向客户端推送第一组件集合和第二组件集合。用户账户信息通讯子模块,用于检测预设清单中是否包括客户端所发送来的用户账户,得到检测结果。服务端签名验签子模块,用于对服务端发送的数据进行签名,同时对客户端发送来的数据进行验证签名,以保证业务访问双方的身份。服务端加密解密子模块,用于利用提前内置在服务端的预设私钥对服务端所发送的数据进行加密,同时对客户端返回的数据进行解密,保证数据交互的机密性。In addition, the above-mentioned server includes at least a user grayscale identification submodule, a user account information communication submodule, a server signature verification submodule, and a server encryption and decryption submodule. Wherein, the user grayscale discrimination sub-module is used to deliver the grayscale test strategy to the client, including pushing the first component set and the second component set to the client. The user account information communication sub-module is used to detect whether the user account sent by the client is included in the preset list, and obtain the detection result. The server-side signature verification sub-module is used to sign the data sent by the server, and at the same time verify the signature of the data sent by the client to ensure the identities of both sides of the business access. The server-side encryption and decryption sub-module is used to encrypt the data sent by the server using the preset private key built in the server in advance, and decrypt the data returned by the client to ensure the confidentiality of data interaction.
需要注意到的是,用户账户信息通讯子模块中还部署有用户管理系统,其中,用户管理系统用于维护管理预设清单,例如,对预设清单进行更删改查等操作。It should be noted that a user management system is also deployed in the user account information communication sub-module, wherein the user management system is used to maintain and manage the preset list, for example, to perform operations such as modifying, deleting, modifying and checking the preset list.
在一种可选的实施例中,图4示出了一种应用程序的运行系统的执行流程图,如图4所示,In an optional embodiment, FIG. 4 shows an execution flowchart of an application running system, as shown in FIG. 4 ,
用户灰度判别子模块首先向客户端推送第一组件集合和第二组件集合,然后客户端中的用户账号信息读取子模块读取用户账户,并由加密解密子模块利用提前内置在客户端中的预设公钥对需要发送给服务端的用户账户进行加密,随后签名验签子模块对加密后的用户账户进行签名,得到第一签名信息。最后,用户账号信息读取子模块将加密后的用户账户和第一签名信息一起发送给服务端。The user grayscale discrimination sub-module first pushes the first component set and the second component set to the client, and then the user account information reading sub-module in the client reads the user account, and the encryption and decryption sub-module utilizes the built-in client in advance The preset public key in encrypts the user account that needs to be sent to the server, and then the signature verification submodule signs the encrypted user account to obtain the first signature information. Finally, the user account information reading submodule sends the encrypted user account and the first signature information to the server.
在接收到加密后的用户账户和第一签名信息之后,服务端通过服务端签名验签子模块对第一签名信息进行验证,在验证成功之后,通过服务端加密解密子模块对加密后的用户账户进行解密,然后由用户账户信息通讯子模块检测预设清单中是否包括客户端所发送来的用户账户,得到检测结果。具体的,如果预设清单中包括用户账户,则用户账户信息通讯子模块生成第一检测结果,如果预设清单中不包括用户账户,则用户账户信息通讯子模块生成第二检测结果,其中,第二检测结果与第一检测结果均需要通过预设私钥进行加密。此外,无论是生成第一检测结果还是第二检测结果,服务端都会生成第二签名信息,并将第二签名信息与加密后的检测结果一起发送给客户端。客户端在对第二签名信息进行验证,以及对检测结果进行解密之后,根据检测结果调用对应的组件集合中的功能组件运行应用程序。其中,组件集合为第一组件集合或第二组件集合,第一组件集合中包含第一版本的应用程序所需的多个功能组件,第二组件集合中包含第二版本的应用程序所需的多个功能组件,第一版本低于第二版本。After receiving the encrypted user account and the first signature information, the server verifies the first signature information through the server signature verification submodule. Decryption is performed, and then the user account information communication sub-module detects whether the preset list includes the user account sent by the client, and obtains the detection result. Specifically, if the user account is included in the preset list, the user account information communication submodule generates a first detection result, and if the user account is not included in the preset list, the user account information communication submodule generates a second detection result, wherein, Both the second detection result and the first detection result need to be encrypted with a preset private key. In addition, no matter whether the first detection result or the second detection result is generated, the server will generate the second signature information, and send the second signature information together with the encrypted detection result to the client. After verifying the second signature information and decrypting the detection result, the client invokes the functional components in the corresponding component set to run the application program according to the detection result. Wherein, the component set is the first component set or the second component set, the first component set contains multiple functional components required by the application program of the first version, and the second component set contains the functional components required by the application program of the second version Multiple functional components, the first version is lower than the second version.
由上述内容可知,本申请采用在应用程序中同时部署第一组件集合以及第二组件集合的方式,在获取得到登陆客户端的用户账户之后,通过自动识别用户账户是否为测试账户(即目标账户),可自动调用与用户账户相对应的功能组件,从而在用户账户为测试账户时,客户端自动运行高版本(即第二版本)的应用程序进行测试,在用户账户为非测试账户时,客户端自动运行低版本(即第一版本)的应用程序不参与测试,该过程无需测试用户进行重新下载应用程序等任何额外的操作,从而提高了用户的使用体验,并且降低了测试技术人员与测试用户之间的沟通成本和协调成本,有利于提高测试效率。It can be seen from the above content that this application adopts the method of deploying the first component set and the second component set in the application program at the same time. After obtaining the user account that logs in to the client, automatically identify whether the user account is a test account (that is, the target account) , can automatically call the functional components corresponding to the user account, so that when the user account is a test account, the client automatically runs the application program of the higher version (that is, the second version) for testing, and when the user account is a non-test account, the client The application program of the lower version (that is, the first version) automatically runs on the terminal does not participate in the test. This process does not require the test user to perform any additional operations such as re-downloading the application program, thereby improving the user experience and reducing the cost of test technicians and testers. Communication costs and coordination costs between users are conducive to improving test efficiency.
由此可见,本申请的技术方案达到了节约应用程序测试前的准备成本的目的,从而实现了提高应用程序的测试效率的效果,进而解决了现有技术中对高版本的应用程序进行运行测试时存在的测试效率低的技术问题。It can be seen that the technical solution of the present application achieves the purpose of saving the preparation cost before the application program testing, thereby achieving the effect of improving the testing efficiency of the application program, and further solving the problem of running tests on high-version application programs in the prior art There is a technical problem of low testing efficiency.
实施例4Example 4
根据本申请实施例,还提供了另一种应用程序的运行装置的实施例,如图5所示,该装置包括:获取模块501,用于获取运行应用程序的客户端所发送的用户账户,其中,应用程序至少包括第一组件集合以及第二组件集合,第一组件集合中包含第一版本的应用程序所需的多个功能组件,第二组件集合中包含第二版本的应用程序所需的多个功能组件,第一版本低于第二版本;检测模块502,用于检测预设清单中是否包括用户账户,得到检测结果,其中,预设清单用于记录在测试第二版本的应用程序的过程中使用到的账户;第一运行模块503,用于在预设清单中包含用户账户时,通过第二组件集合中的功能组件在客户端中运行第二版本的应用程序;第二运行模块504,用于在预设清单中不包含用户账户时,通过第一组件集合中的功能组件在客户端中运行第一版本的应用程序。According to the embodiment of the present application, another embodiment of an application program running device is provided. As shown in FIG. 5 , the device includes: an acquisition module 501, configured to acquire the user account sent by the client running the application program, Wherein, the application program includes at least a first component set and a second component set, the first component set contains a plurality of functional components required by the first version of the application program, and the second component set contains the functional components required by the second version of the application program multiple functional components, the first version is lower than the second version; the detection module 502 is used to detect whether the user account is included in the preset list, and obtain the detection result, wherein the preset list is used to record the application in the second version of the test The account used in the process of the program; the first running module 503, configured to run the second version of the application program in the client through the functional components in the second component set when the preset list contains the user account; the second The running module 504 is configured to run the application program of the first version in the client through the functional components in the first component set when the preset list does not contain the user account.
可选的,上述获取模块还包括:获取单元、验证单元以及解密单元。其中,获取单元,用于获取客户端发送的账户登录信息和第一签名信息,其中,账户登录信息中至少包括用户账户,账户登录信息为客户端通过预设公钥进行加密后的信息,第一签名信息用于表征用户账户所对应的第一对象的身份信息;验证单元,用于根据目标协议对第一签名信息进行验证,其中,目标协议表征了第一对象与第二对象之间的对应关系,第二对象为开发应用程序的对象;解密单元,用于在第一签名信息验证成功之后,根据与预设公钥对应的预设私钥对账户登录信息进行解密,并从解密后的账户登录信息中提取用户账户。Optionally, the above acquisition module further includes: an acquisition unit, a verification unit, and a decryption unit. Wherein, the obtaining unit is used to obtain account login information and first signature information sent by the client, wherein the account login information includes at least a user account, and the account login information is information encrypted by the client with a preset public key. The signature information is used to represent the identity information of the first object corresponding to the user account; the verification unit is used to verify the first signature information according to the target protocol, wherein the target protocol represents the identity information between the first object and the second object Corresponding relationship, the second object is the object of developing the application program; the decryption unit is used to decrypt the account login information according to the preset private key corresponding to the preset public key after the first signature information is verified successfully, and decrypt the account login information from the decrypted Extract the user account from the account login information of .
可选的,应用程序的运行装置还包括:发送模块、第一检测模块以及记录模块。其中,发送模块,用于向客户端发送第一请求信息,其中,第一请求信息用于请求使用用户账户参与第二版本的应用程序的测试过程;第一检测模块,用于检测是否接收到客户端基于第一请求信息的反馈信息;记录模块,用于在反馈信息为目标反馈信息时,将用户账户记录在预设清单中,其中,目标反馈信息为允许用户账户参与第二版本的应用程序的测试过程的信息。Optionally, the device for running the application program further includes: a sending module, a first detection module, and a recording module. Wherein, the sending module is configured to send the first request information to the client, wherein the first request information is used to request to use the user account to participate in the testing process of the application program of the second version; the first detecting module is configured to detect whether the Feedback information from the client based on the first request information; a recording module configured to record the user account in the preset list when the feedback information is target feedback information, wherein the target feedback information is an application that allows the user account to participate in the second version Information about the testing process of the program.
可选的,应用程序的运行装置还包括:第一接收模块、删除模块、第二检测模块以及第三运行模块。其中,第一接收模块,用于接收客户端发送的第一请求指令,其中,第一请求指令表征客户端请求将当前运行的第二版本的应用程序回退至第一版本的应用程序;删除模块,用于根据第一请求指令从预设清单中删除用户账户;第二检测模块,用于检测用户账户是否在客户端中重新登录;第三运行模块,用于在检测到用户账户在客户端中重新登录的情况下,通过第一组件集合中的功能组件在客户端中运行第一版本的应用程序。Optionally, the device for running the application program further includes: a first receiving module, a deleting module, a second detecting module, and a third running module. Wherein, the first receiving module is configured to receive the first request instruction sent by the client, wherein the first request instruction indicates that the client requests to roll back the currently running application program of the second version to the application program of the first version; delete module, used to delete the user account from the preset list according to the first request instruction; the second detection module, used to detect whether the user account re-logged in the client; the third running module, used to detect the user account in the client In the case of re-login on the client, the first version of the application program is run on the client through the functional components in the first component set.
可选的,应用程序的运行装置还包括:第二检测模块、第一记录模块、第三检测模块以及第四运行模块。其中,第二检测模块,用于接收客户端发送的第二请求指令,其中,第二请求指令表征客户端请求将当前运行的第一版本的应用程序升级为第二版本的应用程序;第一记录模块,用于根据第二请求指令将用户账户记录在预设清单中;第三检测模块,用于检测用户账户是否在客户端中重新登录;第四运行模块,用于在检测到用户账户在客户端中重新登录的情况下,根据第二组件集合中的功能组件在客户端中运行第二版本的应用程序。Optionally, the running device of the application program further includes: a second detection module, a first recording module, a third detection module and a fourth running module. Wherein, the second detection module is configured to receive a second request instruction sent by the client, wherein the second request instruction indicates that the client requests to upgrade the currently running application program of the first version to the application program of the second version; the first The recording module is used to record the user account in the preset list according to the second request instruction; the third detection module is used to detect whether the user account is re-logged in the client; the fourth operation module is used to detect the user account In the case of re-login in the client, run the application program of the second version in the client according to the functional components in the second component set.
实施例5Example 5
根据本发明实施例的另一方面,还提供了一种电子设备。如图6所示,电子设备包括一个或多个处理器;存储装置,用于存储一个或多个程序,当一个或多个程序被一个或多个处理器执行时,使得一个或多个处理器实现用于运行程序,其中,程序被设置为运行时执行上述实施例中的应用程序的运行方法。According to another aspect of the embodiments of the present invention, an electronic device is also provided. As shown in Figure 6, the electronic device includes one or more processors; storage means for storing one or more programs, when the one or more programs are executed by the one or more processors, the one or more processing The device implements the running method for running the program, wherein the program is configured to execute the running method of the application program in the above-mentioned embodiments when running.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the above embodiments of the present application are for description only, and do not represent the advantages and disadvantages of the embodiments.
在本申请的上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above-mentioned embodiments of the present application, the descriptions of each embodiment have their own emphases, and for parts not described in detail in a certain embodiment, reference may be made to relevant descriptions of other embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的技术内容,可通过其它的方式实现。其中,以上所描述的装置实施例仅仅是示意性的,例如单元的划分,可以为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,单元或模块的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed technical content can be realized in other ways. Wherein, the device embodiments described above are only schematic. For example, the division of units can be a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into Another system, or some feature may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of units or modules may be in electrical or other forms.
作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。A unit described as a separate component may or may not be physically separated, and a component shown as a unit may or may not be a physical unit, that is, it may be located in one place, or may be distributed over multiple units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or part of the contribution to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods in the various embodiments of the present application. The aforementioned storage media include: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes. .
以上仅是本申请的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本申请原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本申请的保护范围。The above are only the preferred embodiments of the present application. It should be pointed out that for those of ordinary skill in the art, without departing from the principle of the application, some improvements and modifications can also be made, and these improvements and modifications should also be considered as For the scope of protection of this application.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202211362753.8A CN115757101A (en) | 2022-11-02 | 2022-11-02 | Application program running method and device and electronic equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202211362753.8A CN115757101A (en) | 2022-11-02 | 2022-11-02 | Application program running method and device and electronic equipment |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN115757101A true CN115757101A (en) | 2023-03-07 |
Family
ID=85355424
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202211362753.8A Pending CN115757101A (en) | 2022-11-02 | 2022-11-02 | Application program running method and device and electronic equipment |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN115757101A (en) |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7721279B1 (en) * | 2009-01-28 | 2010-05-18 | International Business Machines Corporation | Packaging information integration applications |
| CN102868732A (en) * | 2012-08-27 | 2013-01-09 | 北京小米科技有限责任公司 | Account password-based login implementation method, system and device |
| CN107526611A (en) * | 2017-08-10 | 2017-12-29 | 佛山市三水区彦海通信工程有限公司 | One kind supports double version application switching methods |
| CN114579178A (en) * | 2022-03-10 | 2022-06-03 | 平安普惠企业管理有限公司 | Multi-version component operation method and device, terminal equipment and storage medium |
| CN114928479A (en) * | 2022-05-12 | 2022-08-19 | 中国工商银行股份有限公司 | Gray scale distribution method, system, device, computer equipment and storage medium |
-
2022
- 2022-11-02 CN CN202211362753.8A patent/CN115757101A/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7721279B1 (en) * | 2009-01-28 | 2010-05-18 | International Business Machines Corporation | Packaging information integration applications |
| CN102868732A (en) * | 2012-08-27 | 2013-01-09 | 北京小米科技有限责任公司 | Account password-based login implementation method, system and device |
| CN107526611A (en) * | 2017-08-10 | 2017-12-29 | 佛山市三水区彦海通信工程有限公司 | One kind supports double version application switching methods |
| CN114579178A (en) * | 2022-03-10 | 2022-06-03 | 平安普惠企业管理有限公司 | Multi-version component operation method and device, terminal equipment and storage medium |
| CN114928479A (en) * | 2022-05-12 | 2022-08-19 | 中国工商银行股份有限公司 | Gray scale distribution method, system, device, computer equipment and storage medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110162936B (en) | Software content use authorization method | |
| US9762572B2 (en) | Smartcard formation with authentication | |
| JP6009083B2 (en) | Method for providing secure app ecosystem with key and data exchange according to corporate information management policy, non-transitory computer readable medium, and mobile computing device | |
| US11620373B2 (en) | Authentication protection system and method based on trusted environment, and storage medium | |
| EP3543891B1 (en) | A computer implemented method and a system for tracking of certified documents lifecycle and computer programs thereof | |
| CN101231731A (en) | A general business method and its mini-server using virtualization on the public network | |
| CN109660353A (en) | A kind of application program installation method and device | |
| WO2024148820A1 (en) | Zero-trust sensitive big data cross-domain sharing method and apparatus based on privacy computing | |
| CN104104650B (en) | data file access method and terminal device | |
| CN118260774B (en) | Server startup method and device, storage medium and electronic device | |
| CA3127882A1 (en) | Short message sending method, device, and computer system | |
| CN103218550A (en) | Software-installing method, server and terminal | |
| WO2025092260A1 (en) | Data processing method and data processing engine based on trusted execution environment | |
| JP5921693B2 (en) | Trace center device | |
| CN102156826A (en) | Provider management method and provider management system | |
| CN110224974A (en) | Interface method for authenticating and relevant device based on third party's access | |
| US9189629B1 (en) | Systems and methods for discouraging polymorphic malware | |
| CN101924794A (en) | A method for real-time monitoring of total running software based on Internet | |
| CN114238982A (en) | Application security testing method and device, storage medium and electronic device | |
| CN115757101A (en) | Application program running method and device and electronic equipment | |
| CN118138340A (en) | Data processing method and device and electronic equipment | |
| CN116010909A (en) | Encryption device processing method, data processing method, device, equipment and medium | |
| CN109167785B (en) | Calling method of virtual trusted root and service server | |
| CN112084485A (en) | Data acquisition method, device, equipment and computer storage medium | |
| CN115914192B (en) | Plug-in downloading method, device, and electronic device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination |