Movatterモバイル変換


[0]ホーム

URL:


CN112000394B - Method, apparatus, device and storage medium for accessing applet - Google Patents

Method, apparatus, device and storage medium for accessing applet
Download PDF

Info

Publication number
CN112000394B
CN112000394BCN202010880567.8ACN202010880567ACN112000394BCN 112000394 BCN112000394 BCN 112000394BCN 202010880567 ACN202010880567 ACN 202010880567ACN 112000394 BCN112000394 BCN 112000394B
Authority
CN
China
Prior art keywords
access request
cache
client
target data
response
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.)
Active
Application number
CN202010880567.8A
Other languages
Chinese (zh)
Other versions
CN112000394A (en
Inventor
史南胜
曹姣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co LtdfiledCriticalBeijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202010880567.8ApriorityCriticalpatent/CN112000394B/en
Publication of CN112000394ApublicationCriticalpatent/CN112000394A/en
Application grantedgrantedCritical
Publication of CN112000394BpublicationCriticalpatent/CN112000394B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

Translated fromChinese

本申请公开了用于访问小程序的方法、装置、设备以及存储介质,涉及互联网、小程序开发领域。具体实现方案为:接收客户端发送的针对小程序的访问请求;对访问请求进行解析,确定访问请求所请求的目标数据;响应于确定预设的缓存数据库中未存储目标数据,向服务端发送访问请求;接收服务端发送的目标数据,将目标数据缓存在缓存数据库以及转发给客户端,以供显示小程序的落地页。本实现方式可以有效地提升小程序落地页的显示速度,提高用户的浏览体验。

This application discloses methods, devices, equipment and storage media for accessing mini programs, and relates to the fields of the Internet and mini program development. The specific implementation plan is: receiving the access request for the mini program sent by the client; parsing the access request to determine the target data requested by the access request; in response to determining that the target data is not stored in the preset cache database, sending it to the server Access request; receive the target data sent by the server, cache the target data in the cache database and forward it to the client for displaying the landing page of the mini program. This implementation method can effectively increase the display speed of the mini program landing page and improve the user's browsing experience.

Description

Translated fromChinese
用于访问小程序的方法、装置、设备以及存储介质Methods, devices, equipment and storage media for accessing mini programs

技术领域Technical field

本申请涉及计算机技术领域,具体涉及互联网、小程序开发领域,尤其涉及用于访问小程序的方法、装置、设备以及存储介质。This application relates to the field of computer technology, specifically to the field of the Internet and applet development, and in particular to methods, devices, equipment and storage media for accessing applets.

背景技术Background technique

随着小程序的爆发性增长,在超级APP上通过小程序的方式提供服务的场景越来越多。小程序落地页打开的速度从一定程度上决定了用户的使用体验。而业界针对小程序的优化,普遍聚焦在客户端框架、前端渲染和加载性能的提升上,这样的做法可以有效解决小程序在端的加载和渲染性能瓶颈。但现有的方法提升性能有限。With the explosive growth of mini programs, there are more and more scenarios where services are provided through mini programs on super APPs. The speed at which the mini program landing page opens determines the user experience to a certain extent. The industry's optimization of mini programs generally focuses on improving client frameworks, front-end rendering, and loading performance. This approach can effectively solve the bottleneck of mini programs' on-end loading and rendering performance. However, existing methods have limited performance improvements.

发明内容Contents of the invention

提供了一种用于访问小程序的方法、装置、设备以及存储介质。A method, device, equipment and storage medium for accessing the applet are provided.

根据第一方面,提供了一种用于访问小程序的方法,包括:接收客户端发送的针对小程序的访问请求;对访问请求进行解析,确定访问请求所请求的目标数据;响应于确定预设的缓存数据库中未存储目标数据,向服务端发送访问请求;接收服务端发送的目标数据,将目标数据缓存在缓存数据库以及转发给客户端,以供显示小程序的落地页。According to a first aspect, a method for accessing an applet is provided, including: receiving an access request for the applet sent by a client; parsing the access request to determine the target data requested by the access request; responding to determining the predetermined If the target data is not stored in the cache database, send an access request to the server; receive the target data sent by the server, cache the target data in the cache database, and forward it to the client for displaying the landing page of the mini program.

根据第二方面,提供了一种用于访问小程序的装置,包括:请求接收单元,被配置成接收客户端发送的针对小程序的访问请求;请求解析单元,被配置成对访问请求进行解析,确定访问请求所请求的目标数据;请求转发单元,被配置成响应于确定预设的缓存数据库中未存储目标数据,向服务端发送访问请求;数据转发单元,被配置成接收服务端发送的目标数据,将目标数据缓存在缓存数据库以及转发给客户端,以供显示小程序的落地页。According to a second aspect, a device for accessing an applet is provided, including: a request receiving unit configured to receive an access request for the applet sent by a client; a request parsing unit configured to parse the access request , determine the target data requested by the access request; the request forwarding unit is configured to send an access request to the server in response to determining that the target data is not stored in the preset cache database; the data forwarding unit is configured to receive the data sent by the server Target data, cache the target data in the cache database and forward it to the client for displaying the landing page of the mini program.

根据第三方面,提供了一种用于访问小程序的电子设备,包括:至少一个处理器;以及与所述至少一个处理器通信连接的存储器;其中,存储器存储有可被至少一个处理器执行的指令,所述指令被至少一个处理器执行,以使至少一个处理器能够执行如第一方面所描述的方法。According to a third aspect, an electronic device for accessing an applet is provided, including: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores information that can be executed by the at least one processor. instructions, which are executed by at least one processor, so that at least one processor can execute the method described in the first aspect.

根据第四方面,提供了一种存储有计算机指令的非瞬时计算机可读存储介质,上述计算机指令用于使计算机执行如第一方面所描述的方法。According to a fourth aspect, there is provided a non-transitory computer-readable storage medium storing computer instructions, the computer instructions being used to cause a computer to execute the method described in the first aspect.

根据本申请的技术解决了现有的小程序访问方法不能打开落地页的速度提升有限的问题,可以有效地提升小程序落地页的显示速度,提高用户的浏览体验。The technology according to this application solves the problem that the existing mini program access method cannot open the landing page and has limited speed improvement. It can effectively increase the display speed of the mini program landing page and improve the user's browsing experience.

应当理解,本部分所描述的内容并非旨在标识本公开的实施例的关键或重要特征,也不用于限制本公开的范围。本公开的其它特征将通过以下的说明书而变得容易理解。It should be understood that what is described in this section is not intended to identify key or important features of the embodiments of the disclosure, nor is it intended to limit the scope of the disclosure. Other features of the present disclosure will become readily understood from the following description.

附图说明Description of the drawings

附图用于更好地理解本方案,不构成对本申请的限定。其中:The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present application. in:

图1是本申请的一个实施例可以应用于其中的示例性系统架构图;Figure 1 is an exemplary system architecture diagram in which an embodiment of the present application can be applied;

图2是根据本申请的用于访问小程序的方法的一个实施例的流程图;Figure 2 is a flow chart of one embodiment of a method for accessing an applet according to the present application;

图3是根据本申请的用于访问小程序的方法的一个应用场景的示意图;Figure 3 is a schematic diagram of an application scenario of a method for accessing a mini program according to the present application;

图4是根据本申请的用于访问小程序的方法的另一个实施例的流程图;Figure 4 is a flow chart of another embodiment of a method for accessing an applet according to the present application;

图5是根据本申请的用于访问小程序的装置的一个实施例的结构示意图;Figure 5 is a schematic structural diagram of an embodiment of a device for accessing an applet according to the present application;

图6是用来实现本申请实施例的用于访问小程序的方法的电子设备的框图。Figure 6 is a block diagram of an electronic device used to implement the method for accessing an applet according to an embodiment of the present application.

具体实施方式Detailed ways

以下结合附图对本申请的示范性实施例做出说明,其中包括本申请实施例的各种细节以助于理解,应当将它们认为仅仅是示范性的。因此,本领域普通技术人员应当认识到,可以对这里描述的实施例做出各种改变和修改,而不会背离本申请的范围和精神。同样,为了清楚和简明,以下的描述中省略了对公知功能和结构的描述。Exemplary embodiments of the present application are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present application to facilitate understanding, and they should be considered to be exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the application. Also, descriptions of well-known functions and constructions are omitted from the following description for clarity and conciseness.

需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。下面将参考附图并结合实施例来详细说明本申请。It should be noted that, as long as there is no conflict, the embodiments and features in the embodiments of this application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and embodiments.

图1示出了可以应用本申请的用于访问小程序的方法或用于访问小程序的装置的实施例的示例性系统架构100。FIG. 1 shows an exemplary system architecture 100 to which embodiments of the method for accessing an applet or the apparatus for accessing an applet of the present application may be applied.

如图1所示,系统架构100可以包括终端设备101、102,代理服务器103和服务器104。网络用以在终端设备101、102,代理服务器103和服务器104之间提供通信链路的介质。网络104可以包括各种连接类型,例如有线、无线通信链路或者光纤电缆等等。As shown in Figure 1, the system architecture 100 may include terminal devices 101, 102, a proxy server 103 and a server 104. The network is a medium used to provide communication links between terminal devices 101, 102, proxy server 103 and server 104. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.

用户可以使用终端设备101、102通过网络104与代理服务器103、服务器105交互,以接收或发送消息等。终端设备101、102上可以安装有各种通讯客户端应用,例如搜索类应用、社交平台类应用等。这些应用可以作为小程序的宿主应用。Users can use terminal devices 101 and 102 to interact with proxy servers 103 and servers 105 through the network 104 to receive or send messages, etc. Various communication client applications can be installed on the terminal devices 101 and 102, such as search applications, social platform applications, etc. These applications can serve as host applications for mini programs.

终端设备101、102可以是硬件,也可以是软件。当终端设备101、102为硬件时,可以是各种电子设备,包括但不限于智能手机、平板电脑、电子书阅读器、车载电脑、膝上型便携计算机和台式计算机等等。当终端设备101、102为软件时,可以安装在上述所列举的电子设备中。其可以实现成多个软件或软件模块(例如用来提供分布式服务),也可以实现成单个软件或软件模块。在此不做具体限定。The terminal devices 101 and 102 may be hardware or software. When the terminal devices 101 and 102 are hardware, they can be various electronic devices, including but not limited to smartphones, tablet computers, e-book readers, vehicle-mounted computers, laptop computers, desktop computers, and so on. When the terminal devices 101 and 102 are software, they can be installed in the electronic devices listed above. It can be implemented as multiple software or software modules (for example, used to provide distributed services), or as a single software or software module. There are no specific limitations here.

代理服务器103可以是用于提供代理的服务器,例如对终端设备101、102发送的请求进行转发或处理的服务器。代理服务器103还可以与服务器104进行交互,例如将终端设备101、102的请求转发给服务器104,或者将服务器104的反馈发送给终端设备101、102。The proxy server 103 may be a server used to provide a proxy, such as a server that forwards or processes requests sent by the terminal devices 101 and 102. The proxy server 103 can also interact with the server 104, such as forwarding requests from the terminal devices 101 and 102 to the server 104, or sending feedback from the server 104 to the terminal devices 101 and 102.

服务器104可以是提供各种服务的服务器,例如对终端设备101、102上运行的小程序提供支持的后台服务器。后台服务器可以代理服务器103发送的请求,也可以接收终端设备101、102的请求,并确定请求针对的数据,然后将数据反馈给终端设备101、102。The server 104 may be a server that provides various services, such as a background server that provides support for small programs running on the terminal devices 101 and 102. The background server can proxy the request sent by the server 103, or can receive the request from the terminal devices 101 and 102, determine the data targeted by the request, and then feed the data back to the terminal devices 101 and 102.

需要说明的是,代理服务器103、服务器104可以是硬件,也可以是软件。当代理服务器103、服务器104为硬件时,可以实现成多个服务器组成的分布式服务器集群,也可以实现成单个服务器。当代理服务器103、服务器105为软件时,可以实现成多个软件或软件模块(例如用来提供分布式服务),也可以实现成单个软件或软件模块。在此不做具体限定。It should be noted that the proxy server 103 and the server 104 may be hardware or software. When the proxy server 103 and the server 104 are hardware, they can be implemented as a distributed server cluster composed of multiple servers or as a single server. When the proxy server 103 and the server 105 are software, they can be implemented as multiple software or software modules (for example, used to provide distributed services), or they can be implemented as a single software or software module. There are no specific limitations here.

需要说明的是,本申请实施例所提供的用于访问小程序的方法一般由代理服务器103、执行。相应地,用于访问小程序的装置一般设置于代理服务器103、中。It should be noted that the method for accessing the applet provided by the embodiment of the present application is generally executed by the proxy server 103. Accordingly, the device for accessing the applet is generally provided in the proxy server 103.

应该理解,图1中的终端设备、网络和服务器的数目仅仅是示意性的。根据实现需要,可以具有任意数目的终端设备、网络和服务器。It should be understood that the number of terminal devices, networks and servers in Figure 1 is only illustrative. Depending on implementation needs, there can be any number of end devices, networks, and servers.

继续参考图2,示出了根据本申请的用于访问小程序的方法的一个实施例的流程200。本实施例的用于访问小程序的方法,包括以下步骤:Continuing to refer to FIG. 2 , a process 200 of one embodiment of a method for accessing an applet according to the present application is shown. The method for accessing the applet in this embodiment includes the following steps:

步骤201,接收客户端发送的针对小程序的访问请求。Step 201: Receive an access request for the applet sent by the client.

本实施例中,用于访问小程序的方法的执行主体(例如图1中的代理服务器103)可以接收客户端(例如图1中的终端设备101、102)发送的针对小程序的访问请求。上述小程序可以是寄宿在客户端上的安装的其它宿主应用的小程序。用户可以通过各种操作来发送针对小程序的访问请求。例如,用户可以通过点击小程序的标识来发送针对小程序的访问请求。可以理解的是,上述访问请求中可以包括小程序的标识、请求针对的数据。In this embodiment, the execution subject of the method for accessing the applet (such as the proxy server 103 in Figure 1) can receive an access request for the applet sent by the client (such as the terminal devices 101 and 102 in Figure 1). The above-mentioned applet may be an applet of other host applications installed on the client. Users can send access requests for mini programs through various operations. For example, a user can send an access request for a mini program by clicking on the mini program's logo. It can be understood that the above access request may include the identifier of the applet and the data targeted by the request.

步骤202,对访问请求进行解析,确定访问请求所请求的目标数据。Step 202: Parse the access request and determine the target data requested by the access request.

执行主体在接收到上述访问请求后,可以对访问请求进行解析,确定访问请求所请求的目标数据。上述目标数据例如可以是访问的页面、请求的音乐等等。After receiving the above access request, the execution subject can parse the access request and determine the target data requested by the access request. The above-mentioned target data may be, for example, accessed pages, requested music, etc.

步骤203,响应于确定预设的缓存数据库中未存储目标数据,向服务端发送访问请求。Step 203: In response to determining that the target data is not stored in the preset cache database, send an access request to the server.

执行主体在确定目标数据后,可以查询预设的缓存数据库,判断预设的缓存数据库中是否存储有目标数据。如果未存储有目标数据,则执行主体可以向服务端(例如图1所示的服务器104)发送访问请求。服务端在接收到上述访问请求后,可以对访问请求进行解析,获取到目标数据。然后,服务端可以将获取到的目标数据发送给执行主体。After determining the target data, the execution subject can query the preset cache database to determine whether the target data is stored in the preset cache database. If the target data is not stored, the execution subject may send an access request to the server (such as the server 104 shown in Figure 1). After receiving the above access request, the server can parse the access request and obtain the target data. Then, the server can send the obtained target data to the execution subject.

步骤204,接收服务端发送的目标数据,将目标数据缓存在缓存数据库以及转发给客户端,以供显示小程序的落地页。Step 204: Receive the target data sent by the server, cache the target data in the cache database, and forward it to the client for displaying the landing page of the mini program.

执行主体在接收到服务端发送的目标数据后,可以将目标数据缓存在缓存数据库。同时也可以将目标数据转发给客户端,这样,客户端在接收到目标数据后,可以根据上述目标数据显示小程序的落地页。After receiving the target data sent by the server, the execution subject can cache the target data in the cache database. At the same time, the target data can also be forwarded to the client, so that after receiving the target data, the client can display the landing page of the mini program based on the above target data.

继续参见图3,其示出了根据本申请的用于访问小程序的方法的一个应用场景的示意图。在图3的应用场景中,用户通过手机301上安装的宿主应用A访问小程序b,这样,小程序b向代理服务器302发送访问请求。代理服务器302对访问请求进行解析,确定目标数据。然后,代理服务器302查询缓存数据库303。如果缓存数据库303中未存储目标数据,代理服务器302将访问请求转发给服务端304。服务端304确定出目标数据,然后转发给代理服务器302。代理服务器302将目标数据缓存在缓存数据库303,然后转发给手机301。Continuing to refer to FIG. 3 , which shows a schematic diagram of an application scenario of the method for accessing an applet according to the present application. In the application scenario of Figure 3, the user accesses applet b through host application A installed on mobile phone 301. In this way, applet b sends an access request to the proxy server 302. The proxy server 302 parses the access request and determines the target data. The proxy server 302 then queries the cache database 303. If the target data is not stored in the cache database 303, the proxy server 302 forwards the access request to the server 304. The server 304 determines the target data and then forwards it to the proxy server 302. The proxy server 302 caches the target data in the cache database 303, and then forwards it to the mobile phone 301.

本申请的上述实施例提供的用于访问小程序的方法,可以通过在代理服务器通信的缓存数据库中缓存目标数据,从而能够有效地提升小程序落地页的显示速度,提高用户的浏览体验。The method for accessing a mini program provided by the above embodiments of the present application can effectively increase the display speed of the mini program landing page and improve the user's browsing experience by caching the target data in the cache database communicated by the proxy server.

在本实施例的一些可选的实现方式中,上述方法还可以进一步包括图2中未示出的以下步骤:响应于确定预设的缓存数据库中存储有目标数据,将目标数据发送给客户端,以供显示小程序的落地页。In some optional implementations of this embodiment, the above method may further include the following steps not shown in Figure 2: in response to determining that the target data is stored in the preset cache database, sending the target data to the client , to display the landing page of the mini program.

本实现方式中,如果执行主体确定预设的缓存数据库中存储有目标数据,则可以直接读取上述目标数据,然后将目标数据发送给客户端,以供显示小程序的落地页。In this implementation, if the execution subject determines that the target data is stored in the preset cache database, it can directly read the above target data and then send the target data to the client for displaying the landing page of the mini program.

继续参见图4,其示出了根据本申请的用于访问小程序的方法的另一个实施例的流程400。如图4所示,本实施例的用于访问小程序的方法可以包括以下步骤:Continuing to refer to FIG. 4 , a process 400 of another embodiment of a method for accessing an applet according to the present application is shown. As shown in Figure 4, the method for accessing the applet in this embodiment may include the following steps:

步骤401,接收客户端发送的配置信息;加载配置信息。Step 401: Receive the configuration information sent by the client; load the configuration information.

本实施例中,执行主体还可以接收客户端发送的配置信息。配置信息可以用于指示访问请求是否允许被处理。上述配置信息可以用于配置统一资源标识符列表、容灾信息、缓存延时等信息。这里,统一资源标识符列表用于表示合法的统一资源标识符。也就是说,如果发送请求的统一资源标识符位于上述统一资源标识符列表中,则上述请求可以被处理。容灾信息表示在出现访问错误或无回应的状态下的处理信息。缓存延时表示在出现访问错误或无回应的状态下对缓存的设置。执行主体可以在启动时加载上述配置信息。In this embodiment, the execution subject can also receive configuration information sent by the client. Configuration information can be used to indicate whether access requests are allowed to be processed. The above configuration information can be used to configure the unified resource identifier list, disaster recovery information, cache delay and other information. Here, the uniform resource identifier list is used to represent legal uniform resource identifiers. That is to say, if the uniform resource identifier sending the request is located in the above-mentioned uniform resource identifier list, the above-mentioned request can be processed. Disaster recovery information represents processing information in the event of an access error or no response. Cache delay indicates the setting of the cache in the event of access errors or no response. The execution subject can load the above configuration information at startup.

步骤402,确定统一资源标识符列表是否包括访问请求的统一资源标识符;响应于确定统一资源标识符列表包括访问请求的统一资源标识符,接收客户端发送的针对小程序的访问请求。Step 402: Determine whether the uniform resource identifier list includes the uniform resource identifier of the access request; in response to determining that the uniform resource identifier list includes the uniform resource identifier of the access request, receive an access request for the applet sent by the client.

执行主体可以对访问请求进行解析,确定访问请求的统一资源标识符。然后,可以查询上述统一资源标识符列表,判断上述统一资源标识符列表中是否包括上述访问请求的统一资源标识符。如果包括,则说明上述客户端发送的请求可以被处理,则执行主体可以接收客户端发送的针对小程序的访问请求。The execution subject can parse the access request and determine the uniform resource identifier of the access request. Then, the uniform resource identifier list may be queried to determine whether the uniform resource identifier list includes the uniform resource identifier of the access request. If included, it means that the request sent by the client can be processed, and the execution subject can receive the access request for the applet sent by the client.

步骤403,确定数字签名是否与预设的第一密钥和第二密钥匹配;响应于确定数字签名与第一密钥和第二密钥匹配,确定访问请求所请求的目标数据。Step 403: Determine whether the digital signature matches the preset first key and the second key; in response to determining that the digital signature matches the first key and the second key, determine the target data requested by the access request.

本实施例中,上述访问请求还可以包括数字签名。执行主体可以首先得到访问请求中的数字签名。然后对上述数字签名进行解析,确定数字签名是否与预设的第一密钥和第二密钥匹配。这里,匹配是指对数字签名进行一系列计算之后可以得到第一密钥和第二密钥。如果执行主体确定数字签名与第一密钥和第二密钥匹配,则可以继续对访问请求进行解析,得到目标数据。上述第一密钥可以确定访问请求的发送方是否是合法的请求方。第二密钥可以用于生成数字签名。In this embodiment, the above access request may also include a digital signature. The execution subject can first obtain the digital signature in the access request. The above digital signature is then parsed to determine whether the digital signature matches the preset first key and second key. Here, matching means that the first key and the second key can be obtained after performing a series of calculations on the digital signature. If the execution subject determines that the digital signature matches the first key and the second key, it can continue to parse the access request and obtain the target data. The above-mentioned first key can determine whether the sender of the access request is a legal requester. The second key can be used to generate a digital signature.

在本实施例的一些可选的实现方式中,上述数字签名可以通过图4中未示出的以下步骤来得到:确定访问请求调用的接口;根据接口包括的至少一个参数、第一密钥、第二密钥,生成数字签名。In some optional implementations of this embodiment, the above-mentioned digital signature can be obtained through the following steps not shown in Figure 4: determining the interface called by the access request; according to at least one parameter included in the interface, the first key, The second key generates a digital signature.

本实现方式中,执行主体可以对访问请求进行解析,确定访问请求调用的接口。然后,可以确定接口包括的至少一个参数。最后,根据各参数、第一密钥、第二密钥,生成数字签名。具体的,执行主体可以将各参数以及第二密钥相加,得到的和与第一密钥相加,再利用MD5计算,将得到的值作为数字签名。In this implementation, the execution subject can parse the access request and determine the interface called by the access request. Then, at least one parameter included in the interface can be determined. Finally, a digital signature is generated based on each parameter, the first key, and the second key. Specifically, the execution subject can add each parameter and the second key, add the obtained sum to the first key, and then use MD5 calculation to use the obtained value as a digital signature.

步骤404,响应于确定预设的缓存数据库中未存储目标数据,向服务端发送访问请求。Step 404: In response to determining that the target data is not stored in the preset cache database, send an access request to the server.

步骤405,接收服务端发送的目标数据,将目标数据缓存在缓存数据库以及转发给客户端,以供显示小程序的落地页。Step 405: Receive the target data sent by the server, cache the target data in the cache database, and forward it to the client for displaying the landing page of the mini program.

步骤406,确定当前容灾次数以及确定当前缓存状态;响应于确定当前容灾次数小于预设阈值以及当前缓存状态为开启,接收客户端发送的针对小程序的访问请求。Step 406: Determine the current number of disaster recovery times and determine the current cache status; in response to determining that the current number of disaster recovery times is less than the preset threshold and the current cache status is on, receive an access request for the applet sent by the client.

执行主体还可以确定当前容灾次数以及确定当前缓存状态。具体的,执行主体可以从本地参数中确定上述两个参数。如果当前容灾次数小于预设阈值,则说明执行主体当前可以处理针对小程序的请求。如果当前容灾次数大于或等于预设阈值,则说明执行主体当前处于故障状态,不能处理请求。当前缓存状态用于表示当前是否能够缓存数据。当前缓存状态包括开启和关闭,在开启的时候,说明当前能够缓存数据。在关闭的时候,说明当前不能够缓存数据。如果上述当前容灾次数小于预设阈值,同时当前缓存状态为开启,则说明当前可以处理访问请求,即可以接收客户端发送的针对小程序的访问请求。The execution subject can also determine the current number of disaster recovery times and determine the current cache status. Specifically, the execution subject can determine the above two parameters from local parameters. If the current number of disaster recovery times is less than the preset threshold, it means that the execution subject can currently process requests for the applet. If the current number of disaster recovery times is greater than or equal to the preset threshold, it means that the execution subject is currently in a fault state and cannot process requests. The current cache status is used to indicate whether data can currently be cached. The current cache status includes on and off. When it is on, it means that the data can currently be cached. When closed, it means that data cannot be cached at the moment. If the above-mentioned current number of disaster recovery times is less than the preset threshold and the current cache status is on, it means that the access request can be processed, that is, the access request for the mini program sent by the client can be received.

在本实施例的一些可选的实现方式中,执行主体可以通过以下步骤确定当前容灾次数:向服务端发送心跳包;记录在预设时长内未接收到服务端返回的、针对心跳包的响应信息的次数为当前容灾次数。In some optional implementations of this embodiment, the execution subject can determine the current number of disaster recovery times through the following steps: sending a heartbeat packet to the server; recording that the response to the heartbeat packet returned by the server has not been received within the preset time period. The number of responses to the information is the current number of disaster recovery times.

本实现方式中,执行主体还可以每隔一段时间向服务端发送心跳包,以确定服务端是否可用。如果在预设时长内接收到来自服务端的针对上述心跳包的响应信息,说明服务端当前可用。如果在预设时长内接收到来自服务端的针对上述心跳包的响应信息,则记录当前容灾次数。例如当前容灾次数为0,如果在预设时长内接收到来自服务端的针对上述心跳包的响应信息,当前容灾次数+1,即变为1。In this implementation, the execution subject can also send heartbeat packets to the server at regular intervals to determine whether the server is available. If the response information for the above heartbeat packet is received from the server within the preset time period, it means that the server is currently available. If the response information for the above heartbeat packet is received from the server within the preset time period, the current number of disaster recovery times is recorded. For example, the current number of disaster recovery times is 0. If the response information for the above heartbeat packet is received from the server within the preset time period, the current number of disaster recovery times will be +1, which becomes 1.

在本实施例的一些可选的实现方式中,执行主体还可以通过以下步骤实时更新当前容灾次数:响应于接收到客户端发送的针对目标数据的响应信息,减小当前容灾次数的值。In some optional implementations of this embodiment, the execution subject can also update the current number of disaster recovery times in real time through the following steps: in response to receiving the response information for the target data sent by the client, reduce the value of the current number of disaster recovery times. .

本实现方式中,如果执行主体接收到客户端发送的针对目标数据的响应信息,说明当前客户端与执行主体的交互正常,则可以减小当前容灾次数的值。In this implementation, if the execution subject receives the response information for the target data sent by the client, indicating that the current interaction between the client and the execution subject is normal, the value of the current number of disaster recovery times can be reduced.

在本实施例的一些可选的实现方式中,上述方法还可以进一步包括以下步骤:确定配置信息对应的交互数据;在发送心跳包的间隙,将交互数据缓存在缓存数据库。In some optional implementations of this embodiment, the above method may further include the following steps: determining interaction data corresponding to the configuration information; and caching the interaction data in a cache database between sending heartbeat packets.

执行主体可以确定配置信息对应的交互数据。例如上述交互数据可以包括图片、音频等等。执行主体可以在发送心跳包的间隙,将交互数据缓存在缓存数据库。即预加载交互数据。这样加快客户端访问交互数据的速度。The execution subject can determine the interaction data corresponding to the configuration information. For example, the above interactive data may include pictures, audio, etc. The execution subject can cache the interaction data in the cache database between sending heartbeat packets. That is, preloading interaction data. This speeds up the client's access to interactive data.

步骤407,确定缓存状态变更时长;确定缓存状态变更时刻与当前时刻之间的失效时长;响应于确定失效时长大于或等于缓存变更时长,变更当前缓存状态。Step 407: Determine the cache status change duration; determine the invalidation duration between the cache status change time and the current time; in response to determining that the invalidation duration is greater than or equal to the cache change duration, change the current cache status.

本实施例中,执行主体可以确定缓存状态变更时长。上述缓存状态变更时长用于表示变更缓存状态所需的时长。具体的,上述缓存状态变更时长用于表示缓存状态由关闭变更为开启所需的时长。执行主体可以计算缓存状态变更时刻与当前时刻之间的失效时长。这里,缓存状态变更时刻是指缓存状态变更的时刻,例如由开启状态变更为关闭状态的时刻。如果失效时长大于或等于缓存变更时长,则可以变更当前缓存状态。In this embodiment, the execution subject can determine the cache status change duration. The above cache status change duration is used to indicate the duration required to change the cache status. Specifically, the above cache status change duration is used to indicate the duration required for the cache status to change from closed to enabled. The execution subject can calculate the expiration time between the cache status change time and the current time. Here, the cache state change time refers to the time when the cache state is changed, for example, the time when the cache state is changed from the open state to the closed state. If the expiration time is greater than or equal to the cache change time, the current cache status can be changed.

在本实施例的一些可选的实现方式中,上述配置信息还可以包括缓存失效时长。执行主体可以通过以下步骤确定缓存状态变更时长:根据当前容灾次数以及缓存失效时长,确定缓存状态变更时长。In some optional implementations of this embodiment, the above configuration information may also include cache invalidation duration. The execution subject can determine the cache status change duration through the following steps: determine the cache status change duration based on the current number of disaster recovery times and cache invalidation duration.

本实现方式中,缓存失效时长可以是缓存失效的最小时间单位。执行主体可以根据当前容灾次数以及缓存失效时长,确定缓存状态变更时长。具体的,执行主体可以将当前容灾次数与缓存失效时长相乘,得到的积作为缓存状态变更时长。In this implementation, the cache invalidation duration may be the minimum time unit for cache invalidation. The execution subject can determine the cache status change duration based on the current number of disaster recovery times and the cache invalidation duration. Specifically, the execution subject can multiply the current number of disaster recovery times by the cache invalidation duration, and the resulting product is used as the cache status change duration.

步骤408,响应于确定当前容灾次数等于预设阈值以及当前缓存状态为开启,将当前缓存状态变更为关闭。Step 408: In response to determining that the current number of disaster recovery times is equal to the preset threshold and the current cache status is on, change the current cache status to off.

如果执行主体确定当前容灾次数等于预设阈值,说明执行主体当前不可用,如果当前缓存状态为开启,则执行主体可以将当前缓存状态变更为关闭。If the execution subject determines that the current number of disaster recovery times is equal to the preset threshold, it means that the execution subject is currently unavailable. If the current cache status is on, the execution subject can change the current cache status to off.

步骤409,从缓存数据库中获取通用组件集合以及将组件集合发送给客户端;接收客户端发送的自定义组件以及将自定义组件存储在缓存数据库中。Step 409: Obtain the common component set from the cache database and send the component set to the client; receive the custom component sent by the client and store the custom component in the cache database.

本实施例中,执行主体还可以向客户端提供通用组件集合。小程序的页面中可以包括上述通用组件集合中的组件。这里,客户端可以为开发者所使用的客户端。执行主体还可以接收客户端发送的自定义组件,并将自定义组件存储在缓存数据库中。这样,方便用户下次利用上述自定义组件。In this embodiment, the execution subject may also provide a common component collection to the client. The page of the mini program can include components in the above common component collection. Here, the client can be a client used by developers. The execution principal can also receive custom components sent by the client and store the custom components in the cache database. In this way, it is convenient for users to use the above-mentioned custom components next time.

本申请的上述实施例提供的用于访问小程序的方法,通过对组件进行网络请求以及将组件进行缓存,结合向服务端发送心跳包以及预加载交互数据,进一步稳定提升了小程序的打开速度的同时,兼顾到了中长尾的小程序开发者的能力资源问题,给开发者代理便利的同时,给用户提供了极致的体验。The method for accessing the mini program provided by the above embodiments of the present application further stably improves the opening speed of the mini program by making network requests for components and caching the components, combined with sending heartbeat packets to the server and preloading interactive data. At the same time, it takes into account the ability and resource issues of mid- and long-tail small program developers, providing developers with agent convenience while providing users with the ultimate experience.

进一步参考图5,作为对上述各图所示方法的实现,本申请提供了一种用于访问小程序的装置的一个实施例,该装置实施例与图2所示的方法实施例相对应,该装置具体可以应用于各种电子设备中。With further reference to Figure 5, as an implementation of the methods shown in the above figures, this application provides an embodiment of a device for accessing an applet. This device embodiment corresponds to the method embodiment shown in Figure 2, The device can be applied in various electronic devices.

如图5所示,本实施例的用于访问小程序的装置500包括:请求接收单元501、请求解析单元502、请求转发单元503和数据转发单元504。As shown in FIG. 5 , the device 500 for accessing an applet in this embodiment includes: a request receiving unit 501 , a request parsing unit 502 , a request forwarding unit 503 and a data forwarding unit 504 .

请求接收单元501,被配置成接收客户端发送的针对小程序的访问请求。The request receiving unit 501 is configured to receive an access request for the applet sent by the client.

请求解析单元502,被配置成对访问请求进行解析,确定访问请求所请求的目标数据;The request parsing unit 502 is configured to parse the access request and determine the target data requested by the access request;

请求转发单元503,被配置成响应于确定预设的缓存数据库中未存储目标数据,向服务端发送访问请求;The request forwarding unit 503 is configured to send an access request to the server in response to determining that the target data is not stored in the preset cache database;

数据转发单元504,被配置成接收服务端发送的目标数据,将目标数据缓存在缓存数据库以及转发给客户端,以供显示小程序的落地页。The data forwarding unit 504 is configured to receive the target data sent by the server, cache the target data in the cache database, and forward it to the client for displaying the landing page of the mini program.

在本实施例的一些可选的实现方式中,装置500还可以进一步包括图5中未示出的数据发送单元,被配置成响应于确定预设的缓存数据库中存储有目标数据,将目标数据发送给客户端,以供显示小程序的落地页。In some optional implementations of this embodiment, the device 500 may further include a data sending unit not shown in Figure 5, configured to respond to determining that the target data is stored in the preset cache database, sending the target data to Sent to the client for displaying the landing page of the mini program.

在本实施例的一些可选的实现方式中,装置500还可以进一步包括图5中未示出的配置加载单元,被配置成:接收客户端发送的配置信息;加载配置信息。In some optional implementations of this embodiment, the device 500 may further include a configuration loading unit not shown in Figure 5, configured to: receive configuration information sent by the client; and load the configuration information.

在本实施例的一些可选的实现方式中,配置信息包括统一资源标识符列表。请求接收单元501可以进一步被配置成:确定统一资源标识符列表是否包括访问请求的统一资源标识符;响应于确定统一资源标识符列表包括访问请求的统一资源标识符,接收客户端发送的针对小程序的访问请求。In some optional implementations of this embodiment, the configuration information includes a uniform resource identifier list. The request receiving unit 501 may be further configured to: determine whether the uniform resource identifier list includes the uniform resource identifier of the access request; in response to determining that the uniform resource identifier list includes the uniform resource identifier of the access request, receive the request sent by the client for the small Program access request.

在本实施例的一些可选的实现方式中,配置信息包括容灾次数对应的预设阈值以及缓存状态。请求接收单元501可以进一步被配置成:确定当前容灾次数以及确定当前缓存状态;响应于确定当前容灾次数小于预设阈值以及当前缓存状态为开启,接收客户端发送的针对小程序的访问请求。In some optional implementations of this embodiment, the configuration information includes a preset threshold corresponding to the number of disaster recovery times and cache status. The request receiving unit 501 may be further configured to: determine the current number of disaster recovery times and determine the current cache status; in response to determining that the current number of disaster recovery times is less than a preset threshold and the current cache status is open, receive an access request for the applet sent by the client .

在本实施例的一些可选的实现方式中,请求接收单元501可以进一步被配置成:向服务端发送心跳包;记录在预设时长内未接收到服务端返回的、针对心跳包的响应信息的次数为当前容灾次数。In some optional implementations of this embodiment, the request receiving unit 501 may be further configured to: send a heartbeat packet to the server; record that no response information for the heartbeat packet returned by the server is received within a preset time period The number of times is the current number of disaster recovery times.

在本实施例的一些可选的实现方式中,装置500还可以进一步包括图5中未示出的缓存状态变更单元,被配置成:确定缓存状态变更时长;确定缓存状态变更时刻与当前时刻之间的失效时长;响应于确定失效时长大于或等于缓存变更时长,变更当前缓存状态。In some optional implementations of this embodiment, the device 500 may further include a cache status change unit not shown in Figure 5, configured to: determine the cache status change duration; determine the cache status change time and the current time. The expiration time between; in response to determining that the expiration time is greater than or equal to the cache change time, change the current cache state.

在本实施例的一些可选的实现方式中,配置信息还包括缓存失效时长。缓存状态变更单元进一步被配置成:根据当前容灾次数以及缓存失效时长,确定缓存状态变更时长。In some optional implementations of this embodiment, the configuration information also includes cache invalidation duration. The cache status change unit is further configured to: determine the cache status change duration based on the current number of disaster recovery times and the cache invalidation duration.

在本实施例的一些可选的实现方式中,缓存状态变更单元进一步被配置成:响应于确定当前容灾次数等于预设阈值以及当前缓存状态为开启,将当前缓存状态变更为关闭。In some optional implementations of this embodiment, the cache status changing unit is further configured to: in response to determining that the current number of disaster recovery times is equal to the preset threshold and the current cache status is on, change the current cache status to off.

在本实施例的一些可选的实现方式中,装置500还可以进一步包括图5中未示出的容灾次数确定单元,被配置成:响应于接收到客户端发送的针对目标数据的响应信息,减小当前容灾次数的值。In some optional implementations of this embodiment, the device 500 may further include a disaster tolerance number determination unit not shown in Figure 5, configured to: in response to receiving the response information for the target data sent by the client. , reduce the value of the current disaster recovery times.

在本实施例的一些可选的实现方式中,装置500还可以进一步包括图5中未示出的预加载单元,被配置成:确定配置信息对应的交互数据;在发送心跳包的间隙,将交互数据缓存在缓存数据库。In some optional implementations of this embodiment, the device 500 may further include a preloading unit not shown in Figure 5, configured to: determine the interaction data corresponding to the configuration information; between sending heartbeat packets, Interaction data is cached in the cache database.

在本实施例的一些可选的实现方式中,访问请求包括数字签名。请求解析单元502可以进一步被配置成:确定数字签名是否与预设的第一密钥和第二密钥匹配;响应于确定数字签名与第一密钥和第二密钥匹配,确定访问请求所请求的目标数据。In some optional implementations of this embodiment, the access request includes a digital signature. The request parsing unit 502 may be further configured to: determine whether the digital signature matches the preset first key and the second key; in response to determining that the digital signature matches the first key and the second key, determine whether the digital signature matches the first key and the second key. The requested target data.

在本实施例的一些可选的实现方式中,装置500还可以进一步包括图5中未示出的签名生成单元,被配置成:确定访问请求调用的接口;根据接口包括的至少一个参数、第一密钥、第二密钥,生成数字签名。In some optional implementations of this embodiment, the device 500 may further include a signature generation unit not shown in Figure 5, configured to: determine the interface called by the access request; according to at least one parameter included in the interface, the first The first key and the second key are used to generate a digital signature.

在本实施例的一些可选的实现方式中,装置500还可以进一步包括图5中未示出的组件缓存单元,被配置成:从缓存数据库中获取通用组件集合以及将组件集合发送给客户端;接收客户端发送的自定义组件以及将自定义组件存储在缓存数据库中。In some optional implementations of this embodiment, the device 500 may further include a component caching unit not shown in Figure 5, configured to: obtain a common component set from the cache database and send the component set to the client. ; Receive custom components sent by the client and store the custom components in the cache database.

应当理解,用于访问小程序的装置500中记载的单元501至单元504分别与参考图2中描述的方法中的各个步骤相对应。由此,上文针对用于访问小程序的方法描述的操作和特征同样适用于装置500及其中包含的单元,在此不再赘述。It should be understood that the units 501 to 504 recorded in the device 500 for accessing an applet respectively correspond to various steps in the method described with reference to FIG. 2 . Therefore, the operations and features described above for the method for accessing the applet are also applicable to the device 500 and the units included therein, and will not be described again here.

根据本申请的实施例,本申请还提供了一种电子设备和一种可读存储介质。According to embodiments of the present application, the present application also provides an electronic device and a readable storage medium.

如图6所示,是根据本申请实施例的执行用于访问小程序的方法的电子设备的框图。电子设备旨在表示各种形式的数字计算机,诸如,膝上型计算机、台式计算机、工作台、个人数字助理、服务器、刀片式服务器、大型计算机、和其它适合的计算机。电子设备还可以表示各种形式的移动装置,诸如,个人数字处理、蜂窝电话、智能电话、可穿戴设备和其它类似的计算装置。本文所示的部件、它们的连接和关系、以及它们的功能仅仅作为示例,并且不意在限制本文中描述的和/或者要求的本申请的实现。As shown in FIG. 6 , it is a block diagram of an electronic device that executes a method for accessing an applet according to an embodiment of the present application. Electronic devices are intended to refer to various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. Electronic devices may also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are examples only and are not intended to limit the implementation of the present application as described and/or claimed herein.

如图6所示,该电子设备包括:一个或多个处理器601、存储器602,以及用于连接各部件的接口,包括高速接口和低速接口。各个部件利用不同的总线互相连接,并且可以被安装在公共主板上或者根据需要以其它方式安装。处理器可以对在电子设备内执行的指令进行处理,包括存储在存储器中或者存储器上以在外部输入/输出装置(诸如,耦合至接口的显示设备)上显示GUI的图形信息的指令。在其它实施方式中,若需要,可以将多个处理器和/或多条总线与多个存储器和多个存储器一起使用。同样,可以连接多个电子设备,各个设备提供部分必要的操作(例如,作为服务器阵列、一组刀片式服务器、或者多处理器系统)。图6中以一个处理器601为例。As shown in Figure 6, the electronic device includes: one or more processors 601, memory 602, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. The various components are connected to each other using different buses and can be mounted on a common motherboard or otherwise mounted as desired. The processor may process instructions executed within the electronic device, including instructions stored in or on memory to display graphical information of the GUI on an external input/output device, such as a display device coupled to the interface. In other embodiments, multiple processors and/or multiple buses may be used with multiple memories and multiple memories, if desired. Likewise, multiple electronic devices can be connected, each device providing part of the necessary operation (eg, as a server array, a set of blade servers, or a multi-processor system). In Figure 6, a processor 601 is taken as an example.

存储器602即为本申请所提供的非瞬时计算机可读存储介质。其中,所述存储器存储有可由至少一个处理器执行的指令,以使所述至少一个处理器执行本申请所提供的执行用于访问小程序的方法。本申请的非瞬时计算机可读存储介质存储计算机指令,该计算机指令用于使计算机执行本申请所提供的执行用于访问小程序的方法。The memory 602 is the non-transitory computer-readable storage medium provided by this application. Wherein, the memory stores instructions executable by at least one processor, so that the at least one processor executes the method for accessing the applet provided in this application. The non-transitory computer-readable storage medium of the present application stores computer instructions, which are used to cause the computer to execute the method for accessing the applet provided by the present application.

存储器602作为一种非瞬时计算机可读存储介质,可用于存储非瞬时软件程序、非瞬时计算机可执行程序以及模块,如本申请实施例中的执行用于访问小程序的方法对应的程序指令/模块(例如,附图5所示的请求接收单元501、请求解析单元502、请求转发单元503和数据转发单元504)。处理器601通过运行存储在存储器602中的非瞬时软件程序、指令以及模块,从而执行服务器的各种功能应用以及数据处理,即实现上述方法实施例中的执行用于访问小程序的方法。As a non-transitory computer-readable storage medium, the memory 602 can be used to store non-transitory software programs, non-transitory computer executable programs and modules, such as the program instructions corresponding to the method for accessing the applet in the embodiment of the present application/ Modules (for example, the request receiving unit 501, the request parsing unit 502, the request forwarding unit 503 and the data forwarding unit 504 shown in Figure 5). The processor 601 executes various functional applications and data processing of the server by running non-transient software programs, instructions and modules stored in the memory 602, that is, implementing the method for accessing the applet in the above method embodiment.

存储器602可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储根据执行用于访问小程序的电子设备的使用所创建的数据等。此外,存储器602可以包括高速随机存取存储器,还可以包括非瞬时存储器,例如至少一个磁盘存储器件、闪存器件、或其他非瞬时固态存储器件。在一些实施例中,存储器602可选包括相对于处理器601远程设置的存储器,这些远程存储器可以通过网络连接至执行用于访问小程序的电子设备。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 602 may include a stored program area and a stored data area, wherein the stored program area may store an operating system and an application program required for at least one function; the stored data area may store data created according to the use of an electronic device executing a small program for accessing data, etc. In addition, memory 602 may include high-speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, memory 602 optionally includes memory located remotely relative to processor 601, and these remote memories may be connected via a network to an electronic device executing an access applet. Examples of the above-mentioned networks include but are not limited to the Internet, intranets, local area networks, mobile communication networks and combinations thereof.

执行用于访问小程序的方法的电子设备还可以包括:输入装置603和输出装置604。处理器601、存储器602、输入装置603和输出装置604可以通过总线或者其他方式连接,图6中以通过总线连接为例。The electronic device executing the method for accessing the applet may further include: an input device 603 and an output device 604. The processor 601, the memory 602, the input device 603 and the output device 604 can be connected through a bus or other means. In Figure 6, connection through a bus is taken as an example.

输入装置603可接收输入的数字或字符信息,以及产生与执行用于访问小程序的电子设备的用户设置以及功能控制有关的键信号输入,例如触摸屏、小键盘、鼠标、轨迹板、触摸板、指示杆、一个或者多个鼠标按钮、轨迹球、操纵杆等输入装置。输出装置604可以包括显示设备、辅助照明装置(例如,LED)和触觉反馈装置(例如,振动电机)等。该显示设备可以包括但不限于,液晶显示器(LCD)、发光二极管(LED)显示器和等离子体显示器。在一些实施方式中,显示设备可以是触摸屏。The input device 603 may receive input numeric or character information and generate key signal input related to performing user settings and functional control of an electronic device for accessing the applet, such as a touch screen, keypad, mouse, trackpad, touchpad, Input devices such as a pointing stick, one or more mouse buttons, a trackball, and a joystick. Output devices 604 may include display devices, auxiliary lighting devices (eg, LEDs), tactile feedback devices (eg, vibration motors), and the like. The display device may include, but is not limited to, a liquid crystal display (LCD), a light emitting diode (LED) display, and a plasma display. In some implementations, the display device may be a touch screen.

此处描述的系统和技术的各种实施方式可以在数字电子电路系统、集成电路系统、专用ASIC(专用集成电路)、计算机硬件、固件、软件、和/或它们的组合中实现。这些各种实施方式可以包括:实施在一个或者多个计算机程序中,该一个或者多个计算机程序可在包括至少一个可编程处理器的可编程系统上执行和/或解释,该可编程处理器可以是专用或者通用可编程处理器,可以从存储系统、至少一个输入装置、和至少一个输出装置接收数据和指令,并且将数据和指令传输至该存储系统、该至少一个输入装置、和该至少一个输出装置。Various implementations of the systems and techniques described herein may be implemented in digital electronic circuitry, integrated circuit systems, application specific ASICs (application specific integrated circuits), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include implementation in one or more computer programs executable and/or interpreted on a programmable system including at least one programmable processor, the programmable processor The processor, which may be a special purpose or general purpose programmable processor, may receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device. An output device.

这些计算程序(也称作程序、软件、软件应用、或者代码)包括可编程处理器的机器指令,并且可以利用高级过程和/或面向对象的编程语言、和/或汇编/机器语言来实施这些计算程序。如本文使用的,术语“机器可读介质”和“计算机可读介质”指的是用于将机器指令和/或数据提供给可编程处理器的任何计算机程序产品、设备、和/或装置(例如,磁盘、光盘、存储器、可编程逻辑装置(PLD)),包括,接收作为机器可读信号的机器指令的机器可读介质。术语“机器可读信号”指的是用于将机器指令和/或数据提供给可编程处理器的任何信号。These computing programs (also referred to as programs, software, software applications, or code) include machine instructions for programmable processors, and may be implemented using high-level procedural and/or object-oriented programming languages, and/or assembly/machine language Calculation program. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or means for providing machine instructions and/or data to a programmable processor ( For example, magnetic disks, optical disks, memories, programmable logic devices (PLD)), including machine-readable media that receive machine instructions as machine-readable signals. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.

为了提供与用户的交互,可以在计算机上实施此处描述的系统和技术,该计算机具有:用于向用户显示信息的显示装置(例如,CRT(阴极射线管)或者LCD(液晶显示器)监视器);以及键盘和指向装置(例如,鼠标或者轨迹球),用户可以通过该键盘和该指向装置来将输入提供给计算机。其它种类的装置还可以用于提供与用户的交互;例如,提供给用户的反馈可以是任何形式的传感反馈(例如,视觉反馈、听觉反馈、或者触觉反馈);并且可以用任何形式(包括声输入、语音输入或者、触觉输入)来接收来自用户的输入。To provide interaction with a user, the systems and techniques described herein may be implemented on a computer having a display device (eg, a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user ); and a keyboard and pointing device (eg, a mouse or a trackball) through which a user can provide input to the computer. Other kinds of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and may be provided in any form, including Acoustic input, voice input or tactile input) to receive input from the user.

可以将此处描述的系统和技术实施在包括后台部件的计算系统(例如,作为数据服务器)、或者包括中间件部件的计算系统(例如,应用服务器)、或者包括前端部件的计算系统(例如,具有图形用户界面或者网络浏览器的用户计算机,用户可以通过该图形用户界面或者该网络浏览器来与此处描述的系统和技术的实施方式交互)、或者包括这种后台部件、中间件部件、或者前端部件的任何组合的计算系统中。可以通过任何形式或者介质的数字数据通信(例如,通信网络)来将系统的部件相互连接。通信网络的示例包括:局域网(LAN)、广域网(WAN)和互联网。The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., A user's computer having a graphical user interface or web browser through which the user can interact with implementations of the systems and technologies described herein), or including such backend components, middleware components, or any combination of front-end components in a computing system. The components of the system may be interconnected by any form or medium of digital data communication (eg, a communications network). Examples of communication networks include: local area network (LAN), wide area network (WAN), and the Internet.

计算机系统可以包括客户端和服务器。客户端和服务器一般远离彼此并且通常通过通信网络进行交互。通过在相应的计算机上运行并且彼此具有客户端-服务器关系的计算机程序来产生客户端和服务器的关系。Computer systems may include clients and servers. Clients and servers are generally remote from each other and typically interact over a communications network. The relationship of client and server is created by computer programs running on corresponding computers and having a client-server relationship with each other.

根据本申请实施例的技术方案,可以有效地提升小程序落地页的显示速度,提高用户的浏览体验。According to the technical solutions of the embodiments of this application, the display speed of the mini program landing page can be effectively increased and the user's browsing experience can be improved.

应该理解,可以使用上面所示的各种形式的流程,重新排序、增加或删除步骤。例如,本发申请中记载的各步骤可以并行地执行也可以顺序地执行也可以不同的次序执行,只要能够实现本申请公开的技术方案所期望的结果,本文在此不进行限制。It should be understood that various forms of the process shown above may be used, with steps reordered, added or deleted. For example, each step described in the present application can be executed in parallel, sequentially, or in a different order. As long as the desired results of the technical solution disclosed in the present application can be achieved, there is no limitation here.

上述具体实施方式,并不构成对本申请保护范围的限制。本领域技术人员应该明白的是,根据设计要求和其他因素,可以进行各种修改、组合、子组合和替代。任何在本申请的精神和原则之内所作的修改、等同替换和改进等,均应包含在本申请保护范围之内。The above-mentioned specific embodiments do not constitute a limitation on the scope of protection of the present application. It will be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions are possible depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of this application shall be included in the protection scope of this application.

Claims (22)

Translated fromChinese
1.一种用于访问小程序的方法,包括:1. A method for accessing mini programs, including:接收客户端发送的针对小程序的访问请求;Receive access requests for mini programs sent by the client;对所述访问请求进行解析,确定所述访问请求所请求的目标数据;Parse the access request and determine the target data requested by the access request;响应于确定预设的缓存数据库中未存储所述目标数据,向服务端发送所述访问请求;In response to determining that the target data is not stored in the preset cache database, send the access request to the server;接收所述服务端发送的所述目标数据,将所述目标数据缓存在所述缓存数据库以及转发给所述客户端,以供显示所述小程序的落地页;Receive the target data sent by the server, cache the target data in the cache database and forward it to the client for displaying the landing page of the applet;其中,所述方法还包括:Wherein, the method also includes:接收所述客户端发送的配置信息,所述配置信息包括容灾次数对应的预设阈值以及缓存状态;Receive configuration information sent by the client, where the configuration information includes a preset threshold corresponding to the number of disaster recovery times and cache status;加载所述配置信息;Load the configuration information;其中,所述接收客户端发送的针对小程序的访问请求,包括:Wherein, the receiving the access request for the applet sent by the client includes:确定当前容灾次数以及确定当前缓存状态;Determine the current number of disaster recovery times and determine the current cache status;响应于确定所述当前容灾次数小于所述预设阈值以及当前缓存状态为开启,接收客户端发送的针对小程序的访问请求;In response to determining that the current number of disaster recovery times is less than the preset threshold and the current cache status is on, receive an access request for the applet sent by the client;其中,所述方法还包括:Wherein, the method also includes:确定缓存状态变更时长;Determine the cache status change duration;确定缓存状态变更时刻与当前时刻之间的失效时长;Determine the expiration time between the cache status change time and the current time;响应于确定所述失效时长大于或等于所述缓存状态变更时长,变更当前缓存状态;In response to determining that the invalidation duration is greater than or equal to the cache status change duration, change the current cache status;其中,所述配置信息还包括缓存失效时长;以及Wherein, the configuration information also includes cache invalidation duration; and所述确定缓存状态变更时长,包括:Determining the cache status change duration includes:根据当前容灾次数以及所述缓存失效时长,确定缓存状态变更时长。The cache status change duration is determined based on the current number of disaster recovery times and the cache invalidation duration.2.根据权利要求1所述的方法,其中,所述方法还包括:2. The method of claim 1, wherein the method further comprises:响应于确定预设的缓存数据库中存储有所述目标数据,将所述目标数据发送给所述客户端,以供显示所述小程序的落地页。In response to determining that the target data is stored in the preset cache database, the target data is sent to the client for displaying the landing page of the applet.3.根据权利要求1所述的方法,其中,所述配置信息包括统一资源标识符列表;以及3. The method of claim 1, wherein the configuration information includes a uniform resource identifier list; and所述接收客户端发送的针对小程序的访问请求,包括:The receiving the access request for the applet sent by the client includes:确定所述统一资源标识符列表是否包括所述访问请求的统一资源标识符;Determine whether the list of uniform resource identifiers includes the uniform resource identifier of the access request;响应于确定所述统一资源标识符列表包括所述访问请求的统一资源标识符,接收客户端发送的针对小程序的访问请求。In response to determining that the uniform resource identifier list includes the uniform resource identifier of the access request, an access request for the applet sent by the client is received.4.根据权利要求1所述的方法,其中,所述确定当前容灾次数,包括:4. The method according to claim 1, wherein determining the current number of disaster recovery times includes:向所述服务端发送心跳包;Send a heartbeat packet to the server;记录在预设时长内未接收到所述服务端返回的、针对所述心跳包的响应信息的次数为当前容灾次数。The number of times the response information for the heartbeat packet returned by the server is not received within a preset time period is recorded as the current number of disaster recovery times.5.根据权利要求4所述的方法,其中,所述方法还包括:5. The method of claim 4, wherein the method further comprises:响应于确定所述当前容灾次数等于所述预设阈值以及当前缓存状态为开启,将当前缓存状态变更为关闭。In response to determining that the current number of disaster recovery times is equal to the preset threshold and that the current cache status is on, the current cache status is changed to off.6.根据权利要求1所述的方法,其中,所述方法还包括:6. The method of claim 1, wherein the method further comprises:响应于接收到所述客户端发送的针对所述目标数据的响应信息,减小所述当前容灾次数的值。In response to receiving the response information for the target data sent by the client, reduce the value of the current number of disaster recovery times.7.根据权利要求4所述的方法,其中,所述方法还包括:7. The method of claim 4, wherein the method further comprises:确定所述配置信息对应的交互数据;Determine the interaction data corresponding to the configuration information;在发送心跳包的间隙,将所述交互数据缓存在所述缓存数据库。Between sending heartbeat packets, the interaction data is cached in the cache database.8.根据权利要求1所述的方法,其中,所述访问请求包括数字签名;以及8. The method of claim 1, wherein the access request includes a digital signature; and所述对所述访问请求进行解析,确定所述访问请求所请求的目标数据,包括:The step of parsing the access request and determining the target data requested by the access request includes:确定所述数字签名是否与预设的第一密钥和第二密钥匹配;Determine whether the digital signature matches the preset first key and second key;响应于确定所述数字签名与所述第一密钥和所述第二密钥匹配,确定所述访问请求所请求的目标数据。In response to determining that the digital signature matches the first key and the second key, target data requested by the access request is determined.9.根据权利要求8所述的方法,其中,所述方法还包括:9. The method of claim 8, wherein the method further comprises:确定所述访问请求调用的接口;Determine the interface called by the access request;根据所述接口包括的至少一个参数、所述第一密钥、所述第二密钥,生成所述数字签名。The digital signature is generated according to at least one parameter included in the interface, the first key, and the second key.10.根据权利要求1所述的方法,其中,所述方法还包括:10. The method of claim 1, wherein the method further comprises:从所述缓存数据库中获取通用组件集合以及将所述组件集合发送给所述客户端;Obtain a common component set from the cache database and send the component set to the client;接收所述客户端发送的自定义组件以及将所述自定义组件存储在所述缓存数据库中。Receive the custom component sent by the client and store the custom component in the cache database.11.一种用于访问小程序的装置,包括:11. A device for accessing mini programs, including:请求接收单元,被配置成接收客户端发送的针对小程序的访问请求;The request receiving unit is configured to receive an access request for the applet sent by the client;请求解析单元,被配置成对所述访问请求进行解析,确定所述访问请求所请求的目标数据;A request parsing unit configured to parse the access request and determine the target data requested by the access request;请求转发单元,被配置成响应于确定预设的缓存数据库中未存储所述目标数据,向服务端发送所述访问请求;a request forwarding unit configured to send the access request to the server in response to determining that the target data is not stored in the preset cache database;数据转发单元,被配置成接收所述服务端发送的所述目标数据,将所述目标数据缓存在所述缓存数据库以及转发给所述客户端,以供显示所述小程序的落地页;A data forwarding unit configured to receive the target data sent by the server, cache the target data in the cache database, and forward it to the client for displaying the landing page of the applet;所述装置还包括配置加载单元,被配置成:The device also includes a configuration loading unit configured to:接收所述客户端发送的配置信息,所述配置信息包括容灾次数对应的预设阈值以及缓存状态;Receive configuration information sent by the client, where the configuration information includes a preset threshold corresponding to the number of disaster recovery times and cache status;加载所述配置信息;Load the configuration information;所述请求接收单元进一步被配置成:The request receiving unit is further configured to:确定当前容灾次数以及确定当前缓存状态;Determine the current number of disaster recovery times and determine the current cache status;响应于确定所述当前容灾次数小于所述预设阈值以及当前缓存状态为开启,接收客户端发送的针对小程序的访问请求;In response to determining that the current number of disaster recovery times is less than the preset threshold and the current cache status is on, receive an access request for the applet sent by the client;其中,所述装置还包括缓存状态变更单元,被配置成:Wherein, the device further includes a cache status changing unit configured to:确定缓存状态变更时长;Determine the cache status change duration;确定缓存状态变更时刻与当前时刻之间的失效时长;Determine the expiration time between the cache status change time and the current time;响应于确定所述失效时长大于或等于所述缓存状态变更时长,变更当前缓存状态;In response to determining that the invalidation duration is greater than or equal to the cache status change duration, change the current cache status;其中,所述配置信息还包括缓存失效时长;以及Wherein, the configuration information also includes cache invalidation duration; and所述缓存状态变更单元进一步被配置成:The cache status changing unit is further configured to:根据当前容灾次数以及所述缓存失效时长,确定缓存状态变更时长。The cache status change duration is determined based on the current number of disaster recovery times and the cache invalidation duration.12.根据权利要求11所述的装置,其中,所述装置还包括:12. The device of claim 11, wherein the device further comprises:数据发送单元,被配置成响应于确定预设的缓存数据库中存储有所述目标数据,将所述目标数据发送给所述客户端,以供显示所述小程序的落地页。The data sending unit is configured to, in response to determining that the target data is stored in the preset cache database, send the target data to the client for displaying the landing page of the applet.13.根据权利要求11所述的装置,其中,所述配置信息包括统一资源标识符列表;以及13. The apparatus of claim 11, wherein the configuration information includes a list of uniform resource identifiers; and所述请求接收单元进一步被配置成:The request receiving unit is further configured to:确定所述统一资源标识符列表是否包括所述访问请求的统一资源标识符;Determine whether the list of uniform resource identifiers includes the uniform resource identifier of the access request;响应于确定所述统一资源标识符列表包括所述访问请求的统一资源标识符,接收客户端发送的针对小程序的访问请求。In response to determining that the uniform resource identifier list includes the uniform resource identifier of the access request, an access request for the applet sent by the client is received.14.根据权利要求11所述的装置,其中,所述请求接收单元进一步被配置成:14. The device of claim 11, wherein the request receiving unit is further configured to:向所述服务端发送心跳包;Send a heartbeat packet to the server;记录在预设时长内未接收到所述服务端返回的、针对所述心跳包的响应信息的次数为当前容灾次数。The number of times the response information for the heartbeat packet returned by the server is not received within a preset time period is recorded as the current number of disaster recovery times.15.根据权利要求11所述的装置,其中,缓存状态变更单元进一步被配置成:15. The device of claim 11, wherein the cache status changing unit is further configured to:响应于确定所述当前容灾次数等于所述预设阈值以及当前缓存状态为开启,将当前缓存状态变更为关闭。In response to determining that the current number of disaster recovery times is equal to the preset threshold and that the current cache status is on, the current cache status is changed to off.16.根据权利要求11所述的装置,其中,所述装置还包括容灾次数确定单元,被配置成:16. The device according to claim 11, wherein the device further comprises a disaster tolerance number determination unit configured to:响应于接收到所述客户端发送的针对所述目标数据的响应信息,减小所述当前容灾次数的值。In response to receiving the response information for the target data sent by the client, reduce the value of the current number of disaster recovery times.17.根据权利要求14所述的装置,其中,所述装置还包括预加载单元,被配置成:17. The device of claim 14, wherein the device further comprises a preloading unit configured to:确定所述配置信息对应的交互数据;Determine the interaction data corresponding to the configuration information;在发送心跳包的间隙,将所述交互数据缓存在所述缓存数据库。Between sending heartbeat packets, the interaction data is cached in the cache database.18.根据权利要求11所述的装置,其中,所述访问请求包括数字签名;以及18. The apparatus of claim 11, wherein the access request includes a digital signature; and所述请求解析单元进一步被配置成:The request parsing unit is further configured to:确定所述数字签名是否与预设的第一密钥和第二密钥匹配;Determine whether the digital signature matches the preset first key and second key;响应于确定所述数字签名与所述第一密钥和所述第二密钥匹配,确定所述访问请求所请求的目标数据。In response to determining that the digital signature matches the first key and the second key, target data requested by the access request is determined.19.根据权利要求18所述的装置,其中,所述装置还包括签名生成单元,被配置成:19. The device of claim 18, wherein the device further comprises a signature generation unit configured to:确定所述访问请求调用的接口;Determine the interface called by the access request;根据所述接口包括的至少一个参数、所述第一密钥、所述第二密钥,生成所述数字签名。The digital signature is generated according to at least one parameter included in the interface, the first key, and the second key.20.根据权利要求11所述的装置,其中,所述装置还包括组件缓存单元,被配置成:20. The apparatus of claim 11, wherein the apparatus further comprises a component caching unit configured to:从所述缓存数据库中获取通用组件集合以及将所述组件集合发送给所述客户端;Obtain a common component set from the cache database and send the component set to the client;接收所述客户端发送的自定义组件以及将所述自定义组件存储在所述缓存数据库中。Receive the custom component sent by the client and store the custom component in the cache database.21.一种用于访问小程序的电子设备,包括:21. An electronic device for accessing mini programs, including:至少一个处理器;以及at least one processor; and与所述至少一个处理器通信连接的存储器;其中,a memory communicatively connected to the at least one processor; wherein,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行权利要求1-10中任一项所述的方法。The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform any one of claims 1-10. Methods.22.一种存储有计算机指令的非瞬时计算机可读存储介质,所述计算机指令用于使所述计算机执行权利要求1-10中任一项所述的方法。22. A non-transitory computer-readable storage medium storing computer instructions for causing the computer to perform the method of any one of claims 1-10.
CN202010880567.8A2020-08-272020-08-27Method, apparatus, device and storage medium for accessing appletActiveCN112000394B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202010880567.8ACN112000394B (en)2020-08-272020-08-27Method, apparatus, device and storage medium for accessing applet

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202010880567.8ACN112000394B (en)2020-08-272020-08-27Method, apparatus, device and storage medium for accessing applet

Publications (2)

Publication NumberPublication Date
CN112000394A CN112000394A (en)2020-11-27
CN112000394Btrue CN112000394B (en)2024-01-09

Family

ID=73471613

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202010880567.8AActiveCN112000394B (en)2020-08-272020-08-27Method, apparatus, device and storage medium for accessing applet

Country Status (1)

CountryLink
CN (1)CN112000394B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN112506582B (en)*2020-12-182024-04-09北京百度网讯科技有限公司 Mini-program data packet processing method, device, equipment and medium
CN112732999B (en)*2021-01-212023-06-09建信金融科技有限责任公司Static disaster recovery method, system, electronic equipment and storage medium
CN113778430B (en)*2021-02-022025-07-15北京沃东天骏信息技术有限公司 Mini-program data rendering method, device, equipment and storage medium
CN113761404B (en)*2021-02-092025-02-25北京沃东天骏信息技术有限公司 Page access method, server, terminal device, system, electronic device
CN113553074B (en)*2021-07-232023-07-25北京百度网讯科技有限公司 Small program distribution control method, device, electronic device and storage medium
CN113905091B (en)*2021-09-152023-09-01盐城天眼察微科技有限公司Method and device for processing access request
CN114490752A (en)*2021-12-312022-05-13北京声智科技有限公司Data acquisition method and device, electronic equipment and storage medium
CN114510296B (en)*2022-02-252024-02-02支付宝(杭州)信息技术有限公司Applet storage calling method, device and equipment
CN116233051B (en)*2023-02-242025-06-13百度在线网络技术(北京)有限公司 A page sharing method, device, equipment and storage medium for mini program

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110333912A (en)*2019-07-112019-10-15百度在线网络技术(北京)有限公司A kind of method, apparatus and computer readable storage medium of small routine data pre-fetching
CN110347488A (en)*2019-07-082019-10-18北京字节跳动网络技术有限公司A kind of service processing method, device, terminal device and storage medium
CN111222062A (en)*2020-01-092020-06-02百度在线网络技术(北京)有限公司Applet running method and device, electronic equipment and storage medium
CN111382362A (en)*2020-03-132020-07-07百度在线网络技术(北京)有限公司Applet processing method, device, equipment and storage medium
CN111586126A (en)*2020-04-282020-08-25百度在线网络技术(北京)有限公司Method, device and equipment for pre-downloading small program and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US8924529B2 (en)*2010-01-272014-12-30Ca, Inc.Client device identification through cache manipulation
US8868915B2 (en)*2010-12-062014-10-21Verizon Patent And Licensing Inc.Secure authentication for client application access to protected resources
EP2710486B1 (en)*2011-05-202021-06-30Citrix Systems, Inc.Shell integration on a mobile device for an application executing remotely on a server

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110347488A (en)*2019-07-082019-10-18北京字节跳动网络技术有限公司A kind of service processing method, device, terminal device and storage medium
CN110333912A (en)*2019-07-112019-10-15百度在线网络技术(北京)有限公司A kind of method, apparatus and computer readable storage medium of small routine data pre-fetching
CN111222062A (en)*2020-01-092020-06-02百度在线网络技术(北京)有限公司Applet running method and device, electronic equipment and storage medium
CN111382362A (en)*2020-03-132020-07-07百度在线网络技术(北京)有限公司Applet processing method, device, equipment and storage medium
CN111586126A (en)*2020-04-282020-08-25百度在线网络技术(北京)有限公司Method, device and equipment for pre-downloading small program and storage medium

Also Published As

Publication numberPublication date
CN112000394A (en)2020-11-27

Similar Documents

PublicationPublication DateTitle
CN112000394B (en)Method, apparatus, device and storage medium for accessing applet
CN111753997B (en)Distributed training method, system, device and storage medium
CN111770161B (en)https sniffing jump method and device
CN111090691B (en) A data processing method, device, electronic device and storage medium
EP3058481B1 (en)Acceleration based on cached flows
CN111966633A (en)Method, device, electronic equipment and medium for inquiring child nodes under directory
US11748438B2 (en)Customizable redaptor extensions for single-page web applications
US11711285B2 (en)Method, apparatus, electronic device and readable storage medium for adjusting instance number
CN109918191B (en)Method and device for preventing frequency of service request
CN112583904A (en)File uploading method, device, equipment and storage medium
CN111866071A (en) Data uploading method, device, electronic device and storage medium for business application
CN111737615A (en) Method, apparatus, electronic device and readable storage medium for obtaining page resources
US11831735B2 (en)Method and device for processing mini program data
CN112565356A (en)Data storage method and device and electronic equipment
CN111339462A (en)Component rendering method, device, server, terminal and medium
CN110765075A (en) Storage method and device for autonomous driving data
CN112052152A (en) A method and device for simulating testing
CN113094139A (en)UI style updating method and device
CN112069137A (en)Method and device for generating information, electronic equipment and computer readable storage medium
CN111835857A (en) Method and apparatus for accessing data
CN111639116A (en)Data access connection session protection method and device
CN112306413B (en)Method, device, equipment and storage medium for accessing memory
CN112579096B (en) Compilation, loading methods, devices, equipment and media of small program startup files
CN112770415B (en) Information processing method and device for wireless hotspot
CN112559867A (en)Business content output method, device, equipment, storage medium and program product

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp