CN111753224A - Page processing method, device and equipment - Google Patents
Page processing method, device and equipment Download PDFInfo
- Publication number
- CN111753224A CN111753224A CN201910236160.9A CN201910236160A CN111753224A CN 111753224 A CN111753224 A CN 111753224A CN 201910236160 A CN201910236160 A CN 201910236160A CN 111753224 A CN111753224 A CN 111753224A
- Authority
- CN
- China
- Prior art keywords
- page
- server
- data
- client
- url
- 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
- Information Transfer Between Computers (AREA)
Abstract
本发明实施例提供一种页面处理方法、装置及设备。该方法包括:将待提供给第一客户端的页面的统一资源定位符URL数据与服务器端异常URL数据库中的数据进行匹配,所述服务器端异常URL数据库用于存储异常URL数据;若匹配成功,则向所述第一客户端发送相应的降级处理策略,以使所述第一客户端根据所述降级处理策略进行相应的降级处理。本发明实施例的方法,实现了对异常页面的自动处理,提高了页面处理的效率。
Embodiments of the present invention provide a page processing method, apparatus, and device. The method includes: matching the Uniform Resource Locator URL data of the page to be provided to the first client with data in a server-side abnormal URL database, where the server-side abnormal URL database is used to store the abnormal URL data; if the matching is successful, Then, a corresponding downgrade processing policy is sent to the first client, so that the first client performs corresponding downgrade processing according to the downgrade processing policy. The method of the embodiment of the present invention realizes the automatic processing of abnormal pages and improves the efficiency of page processing.
Description
技术领域technical field
本发明实施例涉及计算机技术领域,尤其涉及一种页面处理方法、装置及设备。Embodiments of the present invention relate to the field of computer technologies, and in particular, to a page processing method, apparatus, and device.
背景技术Background technique
随着智能终端的普及以及移动互联网的快速发展,包含原生页面与非原生页面的混合应用程序开发备受青睐。基于第五代超文本标记语言(HyperText Markup Language5,HTML5)开发的H5页面是一种典型的非原生页面。H5页面因开发周期短、开发成本低,而被广泛使用。例如电商平台在举行大促活动时,通常使用H5页面来代替原生页面,以及时响应业务方需求,满足快速上线的需求。With the popularization of smart terminals and the rapid development of the mobile Internet, the development of hybrid applications including native pages and non-native pages is very popular. The H5 page developed based on the fifth-generation HyperText Markup Language 5 (HTML5) is a typical non-native page. H5 pages are widely used due to their short development cycle and low development cost. For example, when e-commerce platforms hold big promotion activities, they usually use H5 pages instead of native pages to respond to the needs of business parties in a timely manner and meet the needs of rapid online launch.
在H5页面的使用过程中,通常会由于运营人员将H5页面的统一资源定位符(Uniform Resource Locator,URL)配置错误,或者,配置的活动页面已经过期等原因,导致用户看到异常的页面,如空白页面,而降低了用户体验。目前,只有在接到用户投诉后或者通过内部自测,确定有问题的H5页面后,然后由运营人员手动下线出现问题的H5页面。现有页面处理方法,需要人工手动对异常页面进行下线处理,处理周期长、效率低。In the process of using the H5 page, users usually see abnormal pages due to the operator misconfiguring the Uniform Resource Locator (URL) of the H5 page, or the configured active page has expired. Such as blank pages, which degrades the user experience. At present, only after receiving complaints from users or through internal self-tests to determine the problematic H5 pages, operators can manually take down the problematic H5 pages. The existing page processing method requires manual offline processing of abnormal pages, which has a long processing cycle and low efficiency.
发明内容SUMMARY OF THE INVENTION
本发明实施例提供一种页面处理方法、装置及设备,用以解决现有页面处理方法需要人工手动对异常页面进行下线处理,处理周期长、效率低的问题。Embodiments of the present invention provide a page processing method, apparatus, and device, which are used to solve the problems that the existing page processing method requires manual offline processing of abnormal pages, and the processing cycle is long and the efficiency is low.
第一方面,本发明实施例提供一种页面处理方法,应用于服务器,包括:In a first aspect, an embodiment of the present invention provides a page processing method, applied to a server, including:
将待提供给第一客户端的页面的统一资源定位符URL数据与服务器端异常URL数据库中的数据进行匹配,服务器端异常URL数据库用于存储异常URL数据;The Uniform Resource Locator URL data of the page to be provided to the first client is matched with the data in the server-side abnormal URL database, and the server-side abnormal URL database is used to store the abnormal URL data;
若匹配成功,则向第一客户端发送相应的降级处理策略,以使第一客户端根据降级处理策略进行相应的降级处理。If the matching is successful, a corresponding downgrade processing policy is sent to the first client, so that the first client performs corresponding downgrade processing according to the downgrade processing policy.
在一种可能的实现方式中,降级处理策略包括:In one possible implementation, the degradation processing strategy includes:
隐藏跳转至页面的入口;或者,hide the entry to the page; or,
将跳转至页面的入口设置为用户不可点击,并添加视图透明度和/或提示信息;或者,Set the entry to the page to be non-clickable by users, and add view transparency and/or prompt information; or,
加载预设的URL数据。Load preset URL data.
在一种可能的实现方式中,所述方法还包括:In a possible implementation, the method further includes:
若匹配失败,则将待提供给第一客户端的页面的URL数据发送至第一客户端,以使第一客户端根据URL数据加载页面。If the matching fails, the URL data of the page to be provided to the first client is sent to the first client, so that the first client loads the page according to the URL data.
在一种可能的实现方式中,所述方法还包括:In a possible implementation, the method further includes:
接收第二客户端发送的异常通知消息,异常通知消息包括加载失败页面的URL数据;receiving an exception notification message sent by the second client, where the exception notification message includes URL data of the page that failed to load;
根据加载失败页面的URL数据,更新服务器端异常URL数据库。Update the server-side abnormal URL database according to the URL data of the failed page.
在一种可能的实现方式中,所述方法还包括:In a possible implementation, the method further includes:
删除服务器端异常URL数据库中,在预设时间内未匹配成功的URL数据。Deletes the URL data that does not match successfully within the preset time in the server-side abnormal URL database.
第二方面,本发明实施例提供一种页面处理方法,应用于客户端,包括:In a second aspect, an embodiment of the present invention provides a page processing method, applied to a client, including:
接收服务器发送的降级处理策略,降级处理策略是服务器将待提供给客户端的页面的统一资源定位符URL数据与服务器端异常URL数据库中的数据匹配成功时发送的;Receive the downgrade processing policy sent by the server, where the downgrade processing policy is sent when the server successfully matches the Uniform Resource Locator URL data of the page to be provided to the client with the data in the server-side abnormal URL database;
根据降级处理策略,进行相应的降级处理。Perform corresponding downgrade processing according to the downgrade processing policy.
在一种可能的实现方式中,根据降级处理策略,进行相应的降级处理,包括:In a possible implementation manner, corresponding downgrade processing is performed according to the downgrade processing policy, including:
隐藏跳转至页面的入口;或者,hide the entry to the page; or,
将跳转至页面的入口设置为用户不可点击,并添加视图透明度和/或提示信息;或者,Set the entry to the page to be non-clickable by users, and add view transparency and/or prompt information; or,
加载预设的URL数据。Load preset URL data.
在一种可能的实现方式中,所述方法还包括:In a possible implementation, the method further includes:
接收服务器发送的页面的URL数据;Receive the URL data of the page sent by the server;
根据URL数据加载页面。Load pages based on URL data.
在一种可能的实现方式中,所述方法还包括:In a possible implementation, the method further includes:
若因非网络因素导致页面加载失败,则向服务器发送异常通知消息,异常通知消息包括加载失败页面的URL数据。If the page loading fails due to non-network factors, an exception notification message is sent to the server, and the exception notification message includes the URL data of the failed page.
第三方面,本发明实施例提供一种页面处理装置,应用于服务器,包括:In a third aspect, an embodiment of the present invention provides a page processing apparatus, applied to a server, including:
匹配模块,用于将待提供给客户端的页面的统一资源定位符URL数据与服务器端异常URL数据库中的数据进行匹配,服务器端异常URL数据库用于存储异常URL数据;The matching module is used to match the Uniform Resource Locator URL data of the page to be provided to the client with the data in the server-side abnormal URL database, and the server-side abnormal URL database is used to store the abnormal URL data;
发送模块,用于若匹配成功,则向客户端发送相应的降级处理策略,以使客户端根据降级处理策略进行相应的降级处理。The sending module is configured to send a corresponding downgrade processing policy to the client if the match is successful, so that the client can perform corresponding downgrade processing according to the downgrade processing policy.
第四方面,本发明实施例提供一种页面处理装置,应用于客户端,包括:In a fourth aspect, an embodiment of the present invention provides a page processing apparatus, applied to a client, including:
接收模块,用于接收服务器发送的降级处理策略,降级处理策略是服务器将待提供给客户端的页面的统一资源定位符URL数据与服务器端异常URL数据库中的数据匹配成功时发送的;The receiving module is used for receiving the downgrading processing strategy sent by the server, and the downgrading processing strategy is sent when the server successfully matches the Uniform Resource Locator URL data of the page to be provided to the client with the data in the server-side abnormal URL database;
处理模块,用于根据降级处理策略,进行相应的降级处理。The processing module is used to perform corresponding downgrade processing according to the downgrade processing policy.
第五方面,本发明实施例提供一种服务器,包括:至少一个处理器和存储器;In a fifth aspect, an embodiment of the present invention provides a server, including: at least one processor and a memory;
存储器存储计算机执行指令;memory stores instructions for execution by the computer;
至少一个处理器执行存储器存储的计算机执行指令,使得至少一个处理器执行如第一方面任一项所述的页面处理方法。The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor executes the page processing method according to any one of the first aspects.
第六方面,本发明实施例提供一种终端设备,包括:至少一个处理器和存储器;In a sixth aspect, an embodiment of the present invention provides a terminal device, including: at least one processor and a memory;
存储器存储计算机执行指令;memory stores instructions for execution by the computer;
至少一个处理器执行存储器存储的计算机执行指令,使得至少一个处理器执行如第二方面任一项所述的页面处理方法。The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor executes the page processing method according to any one of the second aspects.
第七方面,本发明实施例提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机执行指令,计算机执行指令被处理器执行时用于实现如第一方面任一项所述的页面处理方法,或者,如第二方面任一项所述的页面处理方法。In a seventh aspect, embodiments of the present invention provide a computer-readable storage medium, where computer-executable instructions are stored in the computer-readable storage medium, and when the computer-executable instructions are executed by a processor, are used to implement any one of the first aspect. The page processing method described above, or the page processing method according to any one of the second aspects.
本发明实施例提供的页面处理方法、装置及设备,通过将待提供给第一客户端的页面的统一资源定位符URL数据与服务器端异常URL数据库中的数据进行匹配,服务器端异常URL数据库用于存储异常URL数据,若匹配成功,则向第一客户端发送相应的降级处理策略,以使第一客户端根据降级处理策略进行相应的降级处理。避免了将出现异常的URL数据发送至客户端,给用户造成困扰,而降低用户体验;实现了对异常页面的自动处理,缩短了异常页面的处理周期,提高了页面处理的效率,避免了因异常页面处理不及时而导致出现大面积客户投诉的现象,提升了用户体验,且无需人工干预,节约了人力资源。In the page processing method, device, and device provided by the embodiments of the present invention, by matching the uniform resource locator URL data of the page to be provided to the first client with the data in the server-side abnormal URL database, the server-side abnormal URL database is used for The abnormal URL data is stored, and if the match is successful, a corresponding downgrade processing policy is sent to the first client, so that the first client performs corresponding downgrade processing according to the downgrade processing policy. It avoids sending abnormal URL data to the client, causing trouble to users and reducing user experience; it realizes automatic processing of abnormal pages, shortens the processing cycle of abnormal pages, improves the efficiency of page processing, and avoids Abnormal pages are not processed in a timely manner, resulting in a large area of customer complaints, which improves the user experience and saves human resources without manual intervention.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本发明的实施例,并与说明书一起用于解释本发明的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description serve to explain the principles of the invention.
图1为本发明提供的页面处理方法一实施例的流程图;1 is a flowchart of an embodiment of a page processing method provided by the present invention;
图2为本发明提供的页面处理方法又一实施例的流程图;2 is a flowchart of another embodiment of a page processing method provided by the present invention;
图3为本发明提供的页面处理方法另一实施例的流程图;3 is a flowchart of another embodiment of a page processing method provided by the present invention;
图4为本发明提供的页面处理方法又一实施例的流程图;4 is a flowchart of another embodiment of a page processing method provided by the present invention;
图5为本发明提供的页面处理装置一实施例的结构示意图;5 is a schematic structural diagram of an embodiment of a page processing apparatus provided by the present invention;
图6为本发明提供的页面处理装置又一实施例的结构示意图;6 is a schematic structural diagram of another embodiment of a page processing apparatus provided by the present invention;
图7为本发明提供的服务器一实施例的结构示意图;FIG. 7 is a schematic structural diagram of an embodiment of a server provided by the present invention;
图8为本发明提供的终端设备一实施例的结构示意图。FIG. 8 is a schematic structural diagram of an embodiment of a terminal device provided by the present invention.
通过上述附图,已示出本发明明确的实施例,后文中将有更详细的描述。这些附图和文字描述并不是为了通过任何方式限制本发明构思的范围,而是通过参考特定实施例为本领域技术人员说明本发明的概念。By the above-mentioned drawings, there have been shown specific embodiments of the invention, which will be described in more detail hereinafter. These drawings and written descriptions are not intended to limit the scope of the inventive concept in any way, but to illustrate the inventive concept to those skilled in the art by referring to specific embodiments.
具体实施方式Detailed ways
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本发明相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本发明的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. Where the following description refers to the drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the illustrative examples below are not intended to represent all implementations consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with some aspects of the invention as recited in the appended claims.
本发明的说明书和权利要求书中的术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "comprising" and "having" and any variations thereof in the description and claims of the present invention are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes unlisted steps or units, or optionally also includes For other steps or units inherent to these processes, methods, products or devices.
本发明中的“第一”和“第二”只起标识作用,而不能理解为指示或暗示顺序关系、相对重要性或者隐含指明所指示的技术特征的数量。“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。In the present invention, "first" and "second" only play a role of identification, and cannot be understood as indicating or implying a sequence relationship, relative importance, or implicitly indicating the quantity of the indicated technical features. "Plural" means two or more. "And/or", which describes the association relationship of the associated objects, means that there can be three kinds of relationships, for example, A and/or B, which can mean that A exists alone, A and B exist at the same time, and B exists alone. The character "/" generally indicates that the associated objects are an "or" relationship.
本发明的说明书中通篇提到的“一个实施例”或“一实施例”意味着与实施例有关的特定特征、结构或特性包括在本申请的至少一个实施例中。因此,在整个说明书各处出现的“在一个实施例中”或“在一实施例中”未必一定指相同的实施例。需要说明的是,在不冲突的情况下,本发明中的实施例及实施例中的特征可以相互组合。Reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure, or characteristic associated with the embodiment is included in at least one embodiment of the present application. Thus, appearances of "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily necessarily referring to the same embodiment. It should be noted that the embodiments of the present invention and the features of the embodiments may be combined with each other under the condition of no conflict.
图1为本发明提供的页面处理方法一实施例的流程图。本实施例提供的方法可以应用于服务器。如图1所示,本实施例提供的方法可以包括:FIG. 1 is a flowchart of an embodiment of a page processing method provided by the present invention. The method provided in this embodiment can be applied to a server. As shown in FIG. 1, the method provided by this embodiment may include:
S101、将待提供给第一客户端的页面的统一资源定位符URL数据与服务器端异常URL数据库中的数据进行匹配,服务器端异常URL数据库用于存储异常URL数据。S101. Match the Uniform Resource Locator URL data of the page to be provided to the first client with data in a server-side abnormal URL database, where the server-side abnormal URL database is used to store abnormal URL data.
当服务器接收到第一客户端的访问请求时,需要根据第一客户端的访问请求,向第一客户端提供相应的资源。对于采用HTML5开发的H5页面来说,服务器需要向第一客户端提供页面的URL数据。When the server receives the access request from the first client, it needs to provide the first client with corresponding resources according to the access request from the first client. For an H5 page developed using HTML5, the server needs to provide the URL data of the page to the first client.
本实施例中,服务器在向第一客户端发送页面的URL数据之前,将待提供给第一客户端的页面的URL数据与服务器端异常URL数据库中的数据进行匹配,用于判断待提供给第一客户端的URL数据是否正常。In this embodiment, before sending the URL data of the page to the first client, the server matches the URL data of the page to be provided to the first client with the data in the server-side abnormal URL database, so as to determine the URL data to be provided to the first client. Whether the URL data of a client is normal.
服务器端异常URL数据库用于存储异常URL数据,其中所存储的URL数据均为异常数据。当待提供给第一客户端的页面的URL数据与服务器端异常URL数据库中的数据匹配成功时,则说明待提供给第一客户端的页面的URL数据出现异常;当待提供给第一客户端的页面的URL数据与服务器端异常URL数据库中的数据匹配失败时,则说明待提供给第一客户端的页面的URL数据是正常的。The server-side abnormal URL database is used to store abnormal URL data, and the stored URL data are all abnormal data. When the URL data of the page to be provided to the first client is successfully matched with the data in the server-side abnormal URL database, it means that the URL data of the page to be provided to the first client is abnormal; when the URL data of the page to be provided to the first client is abnormal; When the URL data of the first client fails to match with the data in the server-side abnormal URL database, it means that the URL data of the page to be provided to the first client is normal.
本实施例中的服务器端异常URL数据库,可以由服务器主动爬取出现异常的URL数据创建,也可以根据客户端的反馈信息创建。The server-side abnormal URL database in this embodiment can be created by actively crawling the abnormal URL data by the server, or can be created according to the feedback information of the client.
S102、若匹配成功,则向第一客户端发送相应的降级处理策略,以使第一客户端根据降级处理策略进行相应的降级处理。S102. If the match is successful, send a corresponding downgrade processing policy to the first client, so that the first client performs corresponding downgrade processing according to the downgrade processing policy.
本实施例中当待提供给第一客户端的页面的URL数据与服务器端异常URL数据库中的数据匹配成功时,则说明该URL数据是异常数据。为了避免将异常数据发送至客户端,而出现页面过期、页面空白等现象,给用户造成困扰,降低用户体验,本实施例中针对异常URL数据,向第一客户端发送相应的降级处理策略,以使第一客户端根据降级处理策略进行相应的降级处理。In this embodiment, when the URL data of the page to be provided to the first client is successfully matched with the data in the server-side abnormal URL database, it indicates that the URL data is abnormal data. In order to avoid sending abnormal data to the client, resulting in page expiration, page blank, etc., causing confusion to users and reducing user experience, in this embodiment, for abnormal URL data, a corresponding downgrade processing strategy is sent to the first client. So that the first client performs corresponding downgrade processing according to the downgrade processing policy.
本实施例中的降级处理策略是针对异常URL数据,在保证用户体验的前提下,而提出的解决方案。本实施例中的降级处理策略例如可以采用如下处理方式中的任意一种:The downgrade processing strategy in this embodiment is a solution proposed for abnormal URL data on the premise of ensuring user experience. The degradation processing policy in this embodiment may, for example, adopt any one of the following processing methods:
隐藏跳转至页面的入口。当页面的URL数据出现异常时,可以直接将跳转至该异常页面的入口隐藏掉。举例来说,当跳转至页面的入口为一个按钮时,在页面布局中,可以直接删除该按钮;当跳转至页面的入口为一个下拉菜单中的一个菜单项时,可以在下拉菜单中删除该菜单项。Hide the entry to jump to the page. When the URL data of the page is abnormal, the entry to the abnormal page can be directly hidden. For example, when the entry to the page is a button, in the page layout, the button can be deleted directly; when the entry to the page is a menu item in a drop-down menu, it can be displayed in the drop-down menu Delete this menu item.
将跳转至页面的入口设置为用户不可点击,并添加视图透明度和/或提示信息。当页面的URL数据出现异常时,可以将跳转至页面的入口设置为用户不可点击,即跳转至页面的入口依然是用户可见的,只是设置为用户不可操作。举例来说,对于入口为按钮或者菜单,可以将其灰化显示,当用户点击时,还可以显示相应的提示信息,提示信息例如可以是“系统维护中,敬请期待”、“活动还未开始,请耐心等待”。Make the entry to the page unclickable for users, and add view transparency and/or prompt information. When the URL data of the page is abnormal, you can set the entry to the page to be unclickable by the user, that is, the entry to the page is still visible to the user, but is set to be inoperable by the user. For example, if the entry is a button or a menu, it can be displayed in gray, and when the user clicks, corresponding prompt information can also be displayed. Begin, please be patient."
加载预设的URL数据。其中,预设的URL数据可以是备用的URL链接,也可以是默认的URL链接。此时,服务器需要将预设的URL数据发送至第一客户端。Load preset URL data. The preset URL data may be an alternate URL link or a default URL link. At this time, the server needs to send the preset URL data to the first client.
本实施例提供的页面处理方法,通过将待提供给第一客户端的页面的统一资源定位符URL数据与服务器端异常URL数据库中的数据进行匹配,服务器端异常URL数据库用于存储异常URL数据,若匹配成功,则向第一客户端发送相应的降级处理策略,以使第一客户端根据降级处理策略进行相应的降级处理。避免了将出现异常的URL数据发送至客户端,给用户造成困扰,而降低用户体验;实现了对异常页面的自动处理,缩短了异常页面的处理周期,提高了页面处理的效率,避免了因异常页面处理不及时而导致出现大面积客户投诉的现象,提升了用户体验,且无需人工干预,节约了人力资源。In the page processing method provided by this embodiment, the Uniform Resource Locator URL data of the page to be provided to the first client is matched with the data in the server-side abnormal URL database, and the server-side abnormal URL database is used to store the abnormal URL data, If the matching is successful, a corresponding downgrade processing policy is sent to the first client, so that the first client performs corresponding downgrade processing according to the downgrade processing policy. It avoids sending abnormal URL data to the client, causing trouble to users and reducing user experience; it realizes automatic processing of abnormal pages, shortens the processing cycle of abnormal pages, improves the efficiency of page processing, and avoids Abnormal pages are not processed in a timely manner, resulting in a large area of customer complaints, which improves the user experience and saves human resources without manual intervention.
在上述实施例的基础上,当待提供给第一客户端的页面的URL数据与服务器端异常URL数据库中的数据匹配失败时,则说明待提供给第一客户端的页面的URL数据是正常的,所述方法还可以包括:将待提供给第一客户端的页面的URL数据发送至第一客户端,以使第一客户端根据URL数据加载页面。On the basis of the above embodiment, when the URL data of the page to be provided to the first client fails to match the data in the server-side abnormal URL database, it means that the URL data of the page to be provided to the first client is normal, The method may further include: sending URL data of the page to be provided to the first client to the first client, so that the first client loads the page according to the URL data.
在上述任一实施例的基础上,为了能够及时并准确的判断待提供给第一客户端的页面的URL数据是否异常,本实施例提供的方法还可以包括:On the basis of any of the above embodiments, in order to be able to timely and accurately determine whether the URL data of the page to be provided to the first client is abnormal, the method provided by this embodiment may further include:
接收第二客户端发送的异常通知消息,异常通知消息包括加载失败页面的URL数据;根据加载失败页面的URL数据,更新服务器端异常URL数据库。Receive an exception notification message sent by the second client, where the exception notification message includes URL data of the page that fails to load; update the server-side exception URL database according to the URL data of the page that fails to load.
本实施例中的第二客户端可以是与服务器连接的客户端中的任意一个。第二客户端与第一客户端可以是同一个客户端,也可以是不同的客户端,本实施例对此不作限制。The second client in this embodiment may be any one of the clients connected to the server. The second client and the first client may be the same client or different clients, which is not limited in this embodiment.
本实施例中当服务器接收到第二客户端发送的包括加载失败页面的URL数据的异常通知消息之后,则根据加载失败页面的URL数据,对服务器端异常URL数据库进行更新。具体来说,可以将加载失败页面的URL数据直接加入服务器端异常URL数据库中;或者,也可以先判断加载失败页面的URL数据在服务器端异常URL数据库中是否存在,若不存在,则将该加载失败页面的URL数据加入服务器端异常URL数据库中,若存在,则可以丢弃该加载失败页面的URL数据。In this embodiment, after the server receives the exception notification message including the URL data of the page that fails to load, the server updates the server-side abnormal URL database according to the URL data of the page that fails to load. Specifically, the URL data of the page that fails to load can be directly added to the server-side abnormal URL database; alternatively, it is also possible to first determine whether the URL data of the page that fails to load exists in the server-side abnormal URL database, and if not, then the The URL data of the page that fails to load is added to the server-side abnormal URL database. If it exists, the URL data of the page that fails to load can be discarded.
可选的,为了加速URL数据与服务器端异常URL数据库中的数据的匹配,在上述任一实施例的基础上,本实施例提供的方法还可以包括:删除服务器端异常URL数据库中,在预设时间内未匹配成功的URL数据。Optionally, in order to speed up the matching between URL data and data in the server-side abnormal URL database, on the basis of any of the above-mentioned embodiments, the method provided by this embodiment may also include: deleting the server-side abnormal URL database, Unmatched URL data within the set time.
本实施例中的预设时间可以根据需要进行设置,例如可以是一个星期、一个月等。可以理解的是,当服务器端异常URL数据库中的URL数据在预设时间内未匹配成功过,则说明该异常URL数据对应的页面被访问的概率非常小,为了避免因服务器端异常URL数据库过大,而降低了与服务器端异常URL数据库中的数据进行匹配的速度,可以定期对服务器端异常URL数据库中的数据进行清洗,即可以以预设周期将其中在预设时间内未匹配成功的URL数据进行删除。The preset time in this embodiment can be set as required, for example, it can be one week, one month, and the like. It is understandable that when the URL data in the abnormal URL database on the server side has not been successfully matched within the preset time, it means that the probability of the page corresponding to the abnormal URL data being accessed is very small. It reduces the speed of matching with the data in the server-side abnormal URL database. The data in the server-side abnormal URL database can be cleaned regularly, that is, the data that has not been matched successfully within a preset time can be deleted at a preset cycle. URL data is deleted.
本实施例提供的页面处理方法,在上述实施例的基础上,进一步的通过接收第二客户端发送的异常通知消息,异常通知消息包括加载失败页面的URL数据;并根据加载失败页面的URL数据,更新服务器端异常URL数据库,使得服务器端异常URL数据库能够及时获取到异常URL数据,能够及时并准确的判断待提供给第一客户端的页面的URL数据是否异常。通过删除服务器端异常URL数据库中,在预设时间内未匹配成功的URL数据,对异常URL数据进行及时清洗,能够提高URL数据与服务器端异常URL数据库中的数据进行匹配的速度。The page processing method provided by this embodiment, on the basis of the above embodiment, further receives an exception notification message sent by the second client, where the exception notification message includes URL data of the page that fails to load; and based on the URL data of the page that fails to load , and update the server-side abnormal URL database, so that the server-side abnormal URL database can obtain abnormal URL data in time, and can timely and accurately judge whether the URL data of the page to be provided to the first client is abnormal. By deleting the URL data in the server-side abnormal URL database that has not been successfully matched within a preset time, and cleaning the abnormal URL data in time, the speed of matching the URL data with the data in the server-side abnormal URL database can be improved.
图2为本发明提供的页面处理方法又一实施例的流程图。如图2所示,本实施例提供的方法可以包括:FIG. 2 is a flowchart of another embodiment of the page processing method provided by the present invention. As shown in FIG. 2, the method provided by this embodiment may include:
S201、将待提供给第一客户端的页面的统一资源定位符URL数据与服务器端异常URL数据库中的数据进行匹配,服务器端异常URL数据库用于存储异常URL数据。S201. Match the Uniform Resource Locator URL data of the page to be provided to the first client with data in a server-side abnormal URL database, where the server-side abnormal URL database is used to store the abnormal URL data.
S202、判断是否匹配成功。若匹配失败,则执行S203;反之,匹配成功,则执行S204。S202. Determine whether the matching is successful. If the matching fails, execute S203; otherwise, if the matching is successful, execute S204.
S203、将待提供给第一客户端的页面的URL数据发送至第一客户端,以使第一客户端根据URL数据加载页面。S203. Send the URL data of the page to be provided to the first client to the first client, so that the first client loads the page according to the URL data.
S204、向第一客户端发送相应的降级处理策略,以使第一客户端根据降级处理策略进行相应的降级处理。具体可以执行S2041、S2042或者S2043。S204. Send a corresponding downgrade processing policy to the first client, so that the first client performs corresponding downgrade processing according to the downgrade processing policy. Specifically, S2041, S2042 or S2043 may be performed.
S2041、向第一客户端发送降级处理策略,降级处理策略用于指示第一客户端隐藏跳转至页面的入口。S2041. Send a downgrade processing policy to the first client, where the downgrade processing policy is used to instruct the first client to hide the entry for jumping to the page.
S2042、向第一客户端发送降级处理策略,降级处理策略用于指示第一客户端将跳转至页面的入口设置为用户不可点击,并添加视图透明度和/或提示信息。S2042. Send a downgrade processing policy to the first client, where the downgrade processing policy is used to instruct the first client to set the entry to the page to be unclickable by the user, and add view transparency and/or prompt information.
S2043、向第一客户端发送降级处理策略,降级处理策略用于指示第一客户端加载预设的URL数据。S2043. Send a downgrade processing policy to the first client, where the downgrade processing policy is used to instruct the first client to load preset URL data.
需要说明的是,本实施例中各步骤的具体实现方式可以参考上述实施例,此处不再赘述。It should be noted that, for the specific implementation manner of each step in this embodiment, reference may be made to the foregoing embodiment, and details are not repeated here.
图3为本发明提供的页面处理方法另一实施例的流程图。本实施例提供的方法可以应用于客户端。如图3所示,本实施例提供的方法可以包括:FIG. 3 is a flowchart of another embodiment of the page processing method provided by the present invention. The method provided in this embodiment can be applied to the client. As shown in FIG. 3 , the method provided by this embodiment may include:
S301、接收服务器发送的降级处理策略,降级处理策略是服务器将待提供给客户端的页面的统一资源定位符URL数据与服务器端异常URL数据库中的数据匹配成功时发送的。S301. Receive a downgrade processing policy sent by the server, where the downgrade processing policy is sent when the server successfully matches the Uniform Resource Locator URL data of the page to be provided to the client with the data in the server-side abnormal URL database.
S302、根据降级处理策略,进行相应的降级处理。S302. Perform corresponding downgrade processing according to the downgrade processing policy.
可选的,根据降级处理策略,进行相应的降级处理的实现方式可以是:Optionally, according to the downgrade processing policy, the corresponding implementation manner of downgrade processing may be:
隐藏跳转至页面的入口;或者,hide the entry to the page; or,
将跳转至页面的入口设置为用户不可点击,并添加视图透明度和/或提示信息;或者,Set the entry to the page to be non-clickable by users, and add view transparency and/or prompt information; or,
加载预设的URL数据。Load preset URL data.
本实施例提供的页面处理方法,通过接收服务器发送的降级处理策略,降级处理策略是服务器将待提供给客户端的页面的统一资源定位符URL数据与服务器端异常URL数据库中的数据匹配成功时发送的,并根据降级处理策略,进行相应的降级处理。实现了当页面的URL数据异常时,根据降级处理策略,对异常页面的自动处理,提高了页面处理的效率。避免了将异常页面展示给用户,提高了用户体验。In the page processing method provided by this embodiment, the downgrade processing strategy sent by the server is received. , and perform corresponding downgrade processing according to the downgrade processing policy. When the URL data of the page is abnormal, the automatic processing of the abnormal page is realized according to the degradation processing strategy, which improves the efficiency of page processing. Displaying abnormal pages to users is avoided, and user experience is improved.
可选的,本实施例提供的方法还可以包括:接收服务器发送的页面的URL数据;根据URL数据加载页面。Optionally, the method provided in this embodiment may further include: receiving URL data of the page sent by the server; and loading the page according to the URL data.
在上述实施例的基础上,为了使服务器端的异常URL数据库能够及时获得更新,本实施例提供的方法还可以包括:若因非网络因素导致页面加载失败,则向服务器发送异常通知消息,异常通知消息包括加载失败页面的URL数据,以使服务器能够根据加载失败页面的URL数据及时更新服务器端的异常URL数据库。本实施例中的非网络因素例如可以包括内容过期、URL链接地址错误等。On the basis of the above embodiment, in order to enable the abnormal URL database on the server side to be updated in time, the method provided by this embodiment may further include: if the page loading fails due to a non-network factor, sending an abnormality notification message to the server, and the abnormality notification The message includes the URL data of the page that fails to load, so that the server can update the abnormal URL database on the server side in time according to the URL data of the page that fails to load. The non-network factors in this embodiment may include, for example, expired content, wrong URL link address, and the like.
图4为本发明提供的页面处理方法又一实施例的流程图。本实施例提供的方法可以应用于客户端。如图4所示,本实施例提供的方法可以包括:FIG. 4 is a flowchart of another embodiment of the page processing method provided by the present invention. The method provided in this embodiment can be applied to the client. As shown in FIG. 4 , the method provided by this embodiment may include:
S401、接收服务器发送的页面的URL数据。S401. Receive URL data of a page sent by a server.
S402、根据URL数据加载页面。S402. Load a page according to URL data.
S403、判断页面是否加载成功。若是,则执行S404;反之,则执行S405。S403. Determine whether the page is loaded successfully. If yes, execute S404; otherwise, execute S405.
S404、向用户展示加载成功的页面。S404, displaying the successfully loaded page to the user.
S405、判断是否因网络因素导致页面加载失败。若是,则执行S406;反之,则执行S407。S405. Determine whether the page loading fails due to a network factor. If yes, execute S406; otherwise, execute S407.
S406、预设时间间隔后,根据URL数据重新加载页面。S406, after the preset time interval, reload the page according to the URL data.
对于因网络因素而导致页面加载失败的情况,可以在预设时间间隔之后,例如10秒钟之后,根据URL数据重新加载页面,直至页面加载成功。In the case that the page loading fails due to network factors, the page may be reloaded according to the URL data after a preset time interval, such as 10 seconds, until the page is loaded successfully.
S407、向服务器发送异常通知消息,异常通知消息包括加载失败页面的URL数据。S407. Send an exception notification message to the server, where the exception notification message includes URL data of the page that fails to load.
而对于因非网络因素,例如因页面内容过期、URL链接地址错误等因素而导致的页面加载失败,则可以向服务器发送异常通知消息,异常通知消息包括加载失败页面的URL数据,以使服务器可以根据加载失败页面的URL数据更新服务器端的异常URL数据库。For non-network factors, such as page loading failure due to page content expiration, URL link address error, etc., an exception notification message can be sent to the server. The exception notification message includes the URL data of the failed page, so that the server can Update the server-side abnormal URL database according to the URL data of the failed page.
若异常通知消息发送失败,则可以将加载失败页面的URL数据存储于客户端所运行的终端设备中。然后以预设时间间隔,例如可以是1分钟、30秒等,在检查网络正常的情况下,将存储于终端设备中的异常URL数据发送至服务器。待发送成功后,将异常URL数据从终端设备中删除。If the sending of the abnormal notification message fails, the URL data of the page that fails to be loaded may be stored in the terminal device run by the client. Then, at preset time intervals, such as 1 minute, 30 seconds, etc., under the condition of checking that the network is normal, the abnormal URL data stored in the terminal device is sent to the server. After the sending is successful, delete the abnormal URL data from the terminal device.
本发明实施例还提供一种页面处理装置,请参见图5所示,本发明实施例仅以图5为例进行说明,并不表示本发明仅限于此。图5为本发明提供的页面处理装置一实施例的结构示意图。如图5所示,本实施例提供的页面处理装置50可以包括:匹配模块501和发送模块502。An embodiment of the present invention further provides a page processing apparatus. Referring to FIG. 5 , the embodiment of the present invention only uses FIG. 5 as an example for description, which does not mean that the present invention is limited to this. FIG. 5 is a schematic structural diagram of an embodiment of a page processing apparatus provided by the present invention. As shown in FIG. 5 , the
匹配模块501,用于将待提供给客户端的页面的统一资源定位符URL数据与服务器端异常URL数据库中的数据进行匹配,服务器端异常URL数据库用于存储异常URL数据;The
发送模块502,用于若匹配成功,则向客户端发送相应的降级处理策略,以使客户端根据降级处理策略进行相应的降级处理。The sending
本实施例的装置,可以用于执行图1所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The apparatus of this embodiment can be used to execute the technical solution of the method embodiment shown in FIG. 1 , and the implementation principle and technical effect thereof are similar, and are not repeated here.
可选的,降级处理策略可以包括:Optionally, the downgrade processing strategy can include:
隐藏跳转至页面的入口;或者,hide the entry to the page; or,
将跳转至页面的入口设置为用户不可点击,并添加视图透明度和/或提示信息;或者,Set the entry to the page to be non-clickable by users, and add view transparency and/or prompt information; or,
加载预设的URL数据。Load preset URL data.
可选的,发送模块502还可以用于:若匹配失败,则将待提供给第一客户端的页面的URL数据发送至第一客户端,以使第一客户端根据URL数据加载页面。Optionally, the sending
可选的,页面处理装置50还可以包括接收模块(图中未示出),接收模块用于:Optionally, the
接收第二客户端发送的异常通知消息,异常通知消息包括加载失败页面的URL数据;根据加载失败页面的URL数据,更新服务器端异常URL数据库。Receive an exception notification message sent by the second client, where the exception notification message includes URL data of the page that fails to load; update the server-side exception URL database according to the URL data of the page that fails to load.
可选的,页面处理装置50还可以包括删除模块(图中未示出),删除模块用于:Optionally, the
删除服务器端异常URL数据库中,在预设时间内未匹配成功的URL数据。Deletes the URL data that does not match successfully within the preset time in the server-side abnormal URL database.
本发明实施例还提供一种页面处理装置,请参见图6所示,本发明实施例仅以图6为例进行说明,并不表示本发明仅限于此。图6为本发明提供的页面处理装置又一实施例的结构示意图。如图6所示,本实施例提供的页面处理装置60可以包括:接收模块601和处理模块602。An embodiment of the present invention further provides a page processing apparatus. Referring to FIG. 6 , the embodiment of the present invention only uses FIG. 6 as an example for description, which does not mean that the present invention is limited to this. FIG. 6 is a schematic structural diagram of another embodiment of a page processing apparatus provided by the present invention. As shown in FIG. 6 , the
接收模块601,用于接收服务器发送的降级处理策略,降级处理策略是服务器将待提供给客户端的页面的统一资源定位符URL数据与服务器端异常URL数据库中的数据匹配成功时发送的;The receiving
处理模块602,用于根据降级处理策略,进行相应的降级处理。The
本实施例的装置,可以用于执行图3所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The apparatus of this embodiment can be used to execute the technical solution of the method embodiment shown in FIG. 3 , and its implementation principle and technical effect are similar, and details are not repeated here.
可选的,处理模块602用于根据降级处理策略,进行相应的降级处理,具体可以包括:Optionally, the
隐藏跳转至页面的入口;或者,hide the entry to the page; or,
将跳转至页面的入口设置为用户不可点击,并添加视图透明度和/或提示信息;或者,Set the entry to the page to be non-clickable by users, and add view transparency and/or prompt information; or,
加载预设的URL数据。Load preset URL data.
可选的,接收模块601还可以用于:接收服务器发送的页面的URL数据;根据URL数据加载页面。Optionally, the receiving
可选的,页面处理装置60还可以包括发送模块(图中未示出),发送模块可以用于:Optionally, the
若因非网络因素导致页面加载失败,则向服务器发送异常通知消息,异常通知消息包括加载失败页面的URL数据。If the page loading fails due to non-network factors, an exception notification message is sent to the server, and the exception notification message includes the URL data of the failed page.
本发明实施例还提供一种服务器,请参见图7所示,本发明实施例仅以图7为例进行说明,并不表示本发明仅限于此。图7为本发明提供的服务器一实施例的结构示意图。如图7所示,本实施例提供的服务器70可以包括:存储器701、处理器702和总线703。其中,总线703用于实现各元件之间的连接。An embodiment of the present invention further provides a server. Referring to FIG. 7 , the embodiment of the present invention only uses FIG. 7 as an example for description, which does not mean that the present invention is limited to this. FIG. 7 is a schematic structural diagram of an embodiment of a server provided by the present invention. As shown in FIG. 7 , the
存储器701中存储有计算机程序,计算机程序被处理器702执行时可以实现上述任一方法实施例提供的可以应用于服务器的页面处理方法的技术方案。A computer program is stored in the
其中,存储器701和处理器702之间直接或间接地电性连接,以实现数据的传输或交互。例如,这些元件相互之间可以通过一条或者多条通信总线或信号线实现电性连接,如可以通过总线703连接。存储器701中存储有实现可以应用于服务器的页面处理方法的计算机程序,包括至少一个可以软件或固件的形式存储于存储器701中的软件功能模块,处理器702通过运行存储在存储器701内的软件程序以及模块,从而执行各种功能应用以及数据处理。The
存储器701可以是,但不限于,随机存取存储器(Random Access Memory,简称:RAM),只读存储器(Read Only Memory,简称:ROM),可编程只读存储器(ProgrammableRead-Only Memory,简称:PROM),可擦除只读存储器(Erasable Programmable Read-OnlyMemory,简称:EPROM),电可擦除只读存储器(Electric Erasable Programmable Read-Only Memory,简称:EEPROM)等。其中,存储器701用于存储程序,处理器702在接收到执行指令后,执行程序。进一步地,上述存储器701内的软件程序以及模块还可包括操作系统,其可包括各种用于管理系统任务(例如内存管理、存储设备控制、电源管理等)的软件组件和/或驱动,并可与各种硬件或软件组件相互通信,从而提供其他软件组件的运行环境。The
处理器702可以是一种集成电路芯片,具有信号的处理能力。上述的处理器702可以是通用处理器,包括中央处理器(Central Processing Unit,简称:CPU)、网络处理器(Network Processor,简称:NP)等。可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。可以理解,图7的结构仅为示意,还可以包括比图7中所示更多或者更少的组件,或者具有与图7所示不同的配置。图7中所示的各组件可以采用硬件和/或软件实现。The
需要说明的是,本实施例提供的服务器包括但不限于单个网络服务器、多个网络服务器组成的服务器组或基于云计算的由大量计算机或网络服务器构成的云,其中,云计算是分布式计算的一种,由一群松散耦合的计算机组成的一个超级虚拟计算机。It should be noted that the servers provided in this embodiment include but are not limited to a single network server, a server group composed of multiple network servers, or a cloud composed of a large number of computers or network servers based on cloud computing, where cloud computing is distributed computing. A super virtual computer consisting of a group of loosely coupled computers.
本发明实施例还提供一种终端设备,请参见图8所示,本发明实施例仅以图8为例进行说明,并不表示本发明仅限于此。图8为本发明提供的终端设备一实施例的结构示意图。该终端设备可以是移动电话、计算机、数字广播终端、消息收发设备、游戏控制台、平板设备、医疗设备、健身设备、个人数字助理等。如图8所示,本实施例提供的终端设备可以包括以下一个或多个组件:处理组件801,存储器802,电源组件804,多媒体组件806,音频组件803,输入/输出(I/O)接口808,传感器组件807,以及通信组件805。An embodiment of the present invention further provides a terminal device. Referring to FIG. 8 , the embodiment of the present invention only uses FIG. 8 as an example for description, which does not mean that the present invention is limited to this. FIG. 8 is a schematic structural diagram of an embodiment of a terminal device provided by the present invention. The terminal device may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like. As shown in FIG. 8 , the terminal device provided in this embodiment may include one or more of the following components: a
处理组件801通常控制终端设备的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件801可以包括一个或多个处理器8011来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件801可以包括一个或多个模块,便于处理组件801和其他组件之间的交互。例如,处理组件801可以包括多媒体模块,以方便多媒体组件806和处理组件801之间的交互。The
存储器802被配置为存储各种类型的数据以支持在终端设备的操作。这些数据的示例包括用于在终端设备上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器802可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。本实施例中,存储器802中存储有计算机程序,该计算机程序可以由处理器8011执行,以实现对应的方法实施例的技术方案。The
电源组件804为终端设备的各种组件提供电力。电源组件804可以包括电源管理系统,一个或多个电源,及其他与为终端设备生成、管理和分配电力相关联的组件。
多媒体组件806包括在所述终端设备和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件806包括一个前置摄像头和/或后置摄像头。当终端设备处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。
音频组件803被配置为输出和/或输入音频信号。例如,音频组件803包括一个麦克风(MIC),当终端设备处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器802或经由通信组件805发送。本实施例中,可以通过麦克风采集用户对终端设备进行语音控制的语音信号,然后经由通信组件805发送至云端服务器。在一些实施例中,音频组件803还包括一个扬声器,用于输出音频信号。本实施例中,可以通过扬声器播放对用户的提示信息。
I/O接口808为处理组件801和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/
传感器组件807包括一个或多个传感器,用于为终端设备提供各个方面的状态评估。例如,传感器组件807可以检测到终端设备的打开/关闭状态,组件的相对定位,例如所述组件为终端设备的显示器和小键盘,传感器组件807还可以检测终端设备或终端设备一个组件的位置改变,用户与终端设备接触的存在或不存在,终端设备方位或加速/减速和终端设备的温度变化。传感器组件807可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件807还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件807还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。
通信组件805被配置为便于终端设备和其他设备之间有线或无线方式的通信。本实施例中通信组件805用于实现终端设备和云端服务器之间的交互。终端设备可以接入基于通信标准的无线网络,如WiFi,2G、3G或4G,或它们的组合。在一个示例性实施例中,通信组件805经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件805还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。
在示例性实施例中,终端设备可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment, the end device may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation is used to perform the above method.
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器802,上述指令可由终端设备的处理器8011执行以完成上述任一方法实施例提供的可以应用于客户端中的页面处理方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, for example, a
本实施例提供的终端设备可用于执行图3和图4对应的方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The terminal device provided in this embodiment can be used to execute the technical solutions of the method embodiments corresponding to FIG. 3 and FIG. 4 , and the implementation principles and technical effects thereof are similar, and are not repeated here.
本发明实施例还提供一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时可以实现上述任一方法实施例提供的页面处理方法。本实施例中的计算机可读存储介质可以是计算机能够存取的任何可用介质,或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备,可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如SSD)等。Embodiments of the present invention further provide a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the page processing method provided by any of the foregoing method embodiments can be implemented. The computer-readable storage medium in this embodiment may be any available medium that can be accessed by a computer, or a data storage device such as a server or data center that includes one or more available media integrated, and the available medium may be a magnetic medium, (for example, , floppy disk, hard disk, magnetic tape), optical media (eg, DVD), or semiconductor media (eg, SSD), etc.
在上述的实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。例如,以上所描述的设备实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个模块可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或模块的间接耦合或通信连接,可以是电性,机械或其它的形式。In the above-mentioned embodiments, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the device embodiments described above are only illustrative. For example, the division of the modules is only a logical function division. In actual implementation, there may be other division methods. For example, multiple modules may be combined or integrated. to another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or modules, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The modules described as separate components may or may not be physically separated, and components shown as modules may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本发明各个实施例中的各功能模块可以集成在一个处理单元中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个单元中。上述模块成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, or each module may exist physically alone, or two or more modules may be integrated into one unit. The units formed by the above modules can be implemented in the form of hardware, or can be implemented in the form of hardware plus software functional units.
上述以软件功能模块的形式实现的集成的模块,可以存储在一个计算机可读取存储介质中。上述软件功能模块存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(英文:processor)执行本申请各个实施例所述方法的部分步骤。The above-mentioned integrated modules implemented in the form of software functional modules may be stored in a computer-readable storage medium. The above-mentioned software function modules are stored in a storage medium, and include several instructions to enable a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (English: processor) to execute the various embodiments of the present application. part of the method.
本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一计算机可读取存储介质中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiments may be completed by program instructions related to hardware. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps including the above method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other media that can store program codes.
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, but not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: The technical solutions described in the foregoing embodiments can still be modified, or some or all of the technical features thereof can be equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the embodiments of the present invention. scope.
Claims (14)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910236160.9A CN111753224A (en) | 2019-03-27 | 2019-03-27 | Page processing method, device and equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910236160.9A CN111753224A (en) | 2019-03-27 | 2019-03-27 | Page processing method, device and equipment |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN111753224A true CN111753224A (en) | 2020-10-09 |
Family
ID=72672324
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201910236160.9A Pending CN111753224A (en) | 2019-03-27 | 2019-03-27 | Page processing method, device and equipment |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111753224A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112307381A (en) * | 2020-10-14 | 2021-02-02 | 北京三快在线科技有限公司 | Page loading method and device, storage medium and electronic equipment |
Citations (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1997997A (en) * | 2004-07-22 | 2007-07-11 | 巴瑞弗鲁特有限公司 | Improved user interface |
| US7853719B1 (en) * | 2002-02-11 | 2010-12-14 | Microsoft Corporation | Systems and methods for providing runtime universal resource locator (URL) analysis and correction |
| CN103368957A (en) * | 2013-07-04 | 2013-10-23 | 北京奇虎科技有限公司 | Method, system, client and server for processing webpage access behavior |
| CN105446996A (en) * | 2014-07-16 | 2016-03-30 | 阿里巴巴集团控股有限公司 | Page display method and page display system |
| CN105938472A (en) * | 2015-08-26 | 2016-09-14 | 杭州迪普科技有限公司 | Web access control method and device |
| CN106570092A (en) * | 2016-10-21 | 2017-04-19 | 乐视控股(北京)有限公司 | Management method and device of URL (Uniform Resource Locator) address |
| CN106874753A (en) * | 2016-12-30 | 2017-06-20 | 中国建设银行股份有限公司 | The method and device at the abnormal interface of identification |
| CN107085580A (en) * | 2016-02-16 | 2017-08-22 | 阿里巴巴集团控股有限公司 | The method and client of client displayed page |
| CN107404508A (en) * | 2016-05-20 | 2017-11-28 | 阿里巴巴集团控股有限公司 | Access method, client and the electronic equipment of customer terminal webpage |
| CN108400884A (en) * | 2018-01-10 | 2018-08-14 | 链家网(北京)科技有限公司 | A kind of method, system and device improving website service stability |
-
2019
- 2019-03-27 CN CN201910236160.9A patent/CN111753224A/en active Pending
Patent Citations (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7853719B1 (en) * | 2002-02-11 | 2010-12-14 | Microsoft Corporation | Systems and methods for providing runtime universal resource locator (URL) analysis and correction |
| CN1997997A (en) * | 2004-07-22 | 2007-07-11 | 巴瑞弗鲁特有限公司 | Improved user interface |
| CN103368957A (en) * | 2013-07-04 | 2013-10-23 | 北京奇虎科技有限公司 | Method, system, client and server for processing webpage access behavior |
| CN105446996A (en) * | 2014-07-16 | 2016-03-30 | 阿里巴巴集团控股有限公司 | Page display method and page display system |
| CN105938472A (en) * | 2015-08-26 | 2016-09-14 | 杭州迪普科技有限公司 | Web access control method and device |
| CN107085580A (en) * | 2016-02-16 | 2017-08-22 | 阿里巴巴集团控股有限公司 | The method and client of client displayed page |
| CN107404508A (en) * | 2016-05-20 | 2017-11-28 | 阿里巴巴集团控股有限公司 | Access method, client and the electronic equipment of customer terminal webpage |
| CN106570092A (en) * | 2016-10-21 | 2017-04-19 | 乐视控股(北京)有限公司 | Management method and device of URL (Uniform Resource Locator) address |
| CN106874753A (en) * | 2016-12-30 | 2017-06-20 | 中国建设银行股份有限公司 | The method and device at the abnormal interface of identification |
| CN108400884A (en) * | 2018-01-10 | 2018-08-14 | 链家网(北京)科技有限公司 | A kind of method, system and device improving website service stability |
Non-Patent Citations (1)
| Title |
|---|
| 浮生梦浮生: "微服务架构-降级服务", pages 1 - 3, Retrieved from the Internet <URL:https://blog.csdn.net/wudaoshihun/article/details/83583140> * |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112307381A (en) * | 2020-10-14 | 2021-02-02 | 北京三快在线科技有限公司 | Page loading method and device, storage medium and electronic equipment |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10320719B2 (en) | Message withdrawal method, apparatus and storage medium | |
| KR102040754B1 (en) | Interaction method, terminal and server based on recommended content | |
| CN105843615B (en) | Notification message processing method and device | |
| CN105824641B (en) | Graphic code display methods and device | |
| US10750223B2 (en) | System, method, and device for displaying content item | |
| CN112114761B (en) | A wireless screen projection control method, device, terminal equipment and readable storage medium | |
| WO2016041312A1 (en) | Application program running method and device | |
| CN111352912B (en) | Compressed file processing method, device, storage medium, terminal and server | |
| CN106528210B (en) | Application program running method and device | |
| CN105516258B (en) | Information interaction system, method and device | |
| CN109885323B (en) | Application upgrade method, mobile terminal and readable storage medium | |
| CN108702318A (en) | A kind of RCS communication method and equipment | |
| CN113138786B (en) | Application updating method and device | |
| CN105808305B (en) | Static resource loading method and device | |
| CN106201748A (en) | Method, device and the mobile terminal of a kind of Message Processing based on mobile terminal | |
| CN112134788A (en) | Event processing method and device, storage medium, mobile terminal and computer | |
| CN111753224A (en) | Page processing method, device and equipment | |
| CN110865823B (en) | Preinstalled application control method, preinstalled application control device and storage medium | |
| CN107729032A (en) | Boot animation updating method, intelligent terminal and storage medium | |
| US20240089223A1 (en) | Information display method and apparatus, and electronic device | |
| US20170048292A1 (en) | Electronic device and method for providing content | |
| CN113238887B (en) | Data processing method, device and storage medium | |
| CN114691729A (en) | A data processing method, device, electronic device and storage medium | |
| CN115665126A (en) | Batch execution file generation method, device, medium and equipment | |
| CN107391685A (en) | Page display method and 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 | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20201009 |