Method and apparatus for processing information

By responding to user access requests, processing the results to determine the status page type and identification, and selecting status page feedback from the preset collection, the problem of lack of diversity in status page display and high maintenance costs in the APP is solved, and the diversity of status page display is achieved. and maintenance cost reduction.

CN113835796BActive Publication Date: 2024-09-27DOUYIN VISION CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010588875.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-06-24
Publication Date
2024-09-27
Estimated Expiration
2040-06-24

AI Technical Summary

Technical Problem

During the APP development process, it is difficult for existing technology to effectively handle the diversity of page loading status and high maintenance costs, resulting in a lack of diversity in status page display and complicated maintenance.

Method used

By responding to the user's access request, the processing result determines the status page type and identification, and selects the corresponding status page from the preset status page collection to feed back to the user, realizing dynamic combination and marking of status page types, and reducing the coupling degree between the APP and the status page. , simplifying the maintenance of status pages.

Benefits of technology

It improves the diversity of status page display and the comprehensiveness of information processing, reduces the cost of status page maintenance, and makes it convenient to only operate the status page collection when adding or deleting status pages.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113835796B
    Figure CN113835796B
Patent Text Reader

Abstract

The embodiments of the present disclosure disclose a method and device for processing information. A specific implementation of the method includes: in response to receiving an access request for a target page sent by a user, processing the access request to obtain a processing result; in response to the processing result indicating that the target page cannot be fed back to the user, based on the processing result, determining the status page type to be fed back as the target status page type; determining whether the target page corresponds to a target status page identifier used to characterize the target status page type; in response to the target page corresponding to the target status page identifier, selecting a preset status page from a preset status page set corresponding to the status page identifier as the target status page, wherein the status page type of the preset status page in the preset status page set is the same as the status page type represented by the target status page identifier; and feeding back the target status page to the user. This implementation helps to increase the diversity of status page display and reduce the maintenance cost of the status page.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present disclosure relate to the field of computer technology, and more particularly, to a method and apparatus for processing information. Background Art

[0002] In practice, the status of page loading may include: page loading, page loading failure, page loading content is empty, and network abnormality.

[0003] During the APP development process, developers can design status pages for the page loading status included in the APP, such as loading page, empty page, error page, network error page, etc. Then, during the use of the APP, when a user's page access request is detected, the page access request can be processed, and based on the processing result, the target status page can be selected from the status pages designed for the APP and presented to the user. Summary of the invention

[0004] Embodiments of the present disclosure provide methods and devices for processing information.

[0005] In a first aspect, an embodiment of the present disclosure provides a method for processing information, the method comprising: in response to receiving an access request for a target page sent by a user, processing the access request to obtain a processing result; in response to the processing result indicating that the target page cannot be fed back to the user, determining, based on the processing result, a status page type to be fed back as a target status page type; determining whether the target page corresponds to a target status page identifier for characterizing the target status page type; in response to the target page corresponding to the target status page identifier, selecting a preset status page from a preset status page set corresponding to the target status page identifier as the target status page, wherein the status page type of the preset status page in the preset status page set is the same as the status page type characterized by the target status page identifier; and feeding back the target status page to the user.

[0006] In some embodiments, the method further includes: in response to the target page not corresponding to the target status page identifier, feeding back a default status page corresponding to the target status page type to the user.

[0007] In some embodiments, a preset status page in a preset status page set corresponds to a status page sub-identifier; and selecting a preset status page from the preset status page set corresponding to the status page identifier as the target status page includes: determining whether the target page corresponds to the status page sub-identifier; in response to the target page corresponding to the status page sub-identifier, selecting a preset status page corresponding to the status page sub-identifier corresponding to the target page from the preset status page set as the target status page.

[0008] In some embodiments, in response to receiving an access request for a target page sent by a user, processing the access request and obtaining a processing result includes: in response to receiving an access request for a target page sent by a user, feeding back a target loading page to the user, and processing the access request and obtaining a processing result, wherein the target loading page is used to indicate that the current page loading state is page loading.

[0009] In some embodiments, feeding back a target loading page to a user includes: determining whether the target page corresponds to a loading page identifier; in response to the target page corresponding to the loading page identifier, selecting a preset loading page from a preset loading page set corresponding to the loading page identifier as the target loading page; and feeding back the target loading page to the user.

[0010] In some embodiments, feeding back the target loading page to the user further includes: in response to the target page not corresponding to the loading page identifier, feeding back a default loading page as the target loading page to the user.

[0011] In some embodiments, the method further includes: in response to the processing result indicating that the target page can be fed back to the user, feeding back the target page to the user.

[0012] In a second aspect, an embodiment of the present disclosure provides a device for processing information, the device comprising: a processing unit, configured to, in response to receiving an access request for a target page sent by a user, process the access request and obtain a processing result; a first determination unit, configured to, in response to the processing result indicating that the target page cannot be fed back to the user, determine, based on the processing result, the type of status page to be fed back as the target status page type; a second determination unit, configured to determine whether the target page corresponds to a target status page identifier for characterizing the target status page type; a selection unit, configured to, in response to the target page corresponding to the target status page identifier, select a preset status page from a preset status page set corresponding to the target status page identifier as the target status page, wherein the status page type of the preset status page in the preset status page set is the same as the status page type characterized by the target status page identifier; and a first feedback unit, configured to feed back the target status page to the user.

[0013] In some embodiments, the apparatus further includes: a second feedback unit configured to feedback a default status page corresponding to the target status page type to the user in response to the target page not corresponding to the target status page identifier.

[0014] In some embodiments, a preset status page in a preset status page set corresponds to a status page sub-identifier; and the selection unit includes: a first determination module, configured to determine whether a target page corresponds to a status page sub-identifier; a first selection module, configured to select, in response to the target page corresponding to a status page sub-identifier, a preset status page corresponding to the status page sub-identifier corresponding to the target page from the preset status page set as the target status page.

[0015] In some embodiments, the processing unit is further configured to: in response to receiving an access request for a target page sent by a user, feedback a target loading page to the user, and process the access request to obtain a processing result, wherein the target loading page is used to indicate that the current page loading state is page loading.

[0016] In some embodiments, the processing unit includes: a second determination module, configured to determine whether the target page corresponds to a loading page identifier; a second selection module, configured to select a preset loading page as the target loading page from a preset loading page set corresponding to the loading page identifier in response to the target page corresponding to the loading page identifier; and a first feedback module, configured to feed back the target loading page to the user.

[0017] In some embodiments, the processing unit further includes: a second feedback module configured to feedback a default loading page as a target loading page to the user in response to the target page not corresponding to the loading page identifier.

[0018] In some embodiments, the apparatus further includes: a third feedback unit configured to feed back the target page to the user in response to the processing result indicating that the target page can be fed back to the user.

[0019] In a third aspect, an embodiment of the present disclosure provides a server, comprising: one or more processors; a storage device on which one or more programs are stored, and when the one or more programs are executed by one or more processors, the one or more processors implement the method of any embodiment of the above-mentioned method for processing information.

[0020] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable medium having a computer program stored thereon, which, when executed by a processor, implements a method of any embodiment of the above-mentioned method for processing information.

[0021] The method and apparatus for processing information provided by the embodiments of the present disclosure process the access request for a target page sent by a user in response to receiving the access request, processes the access request, obtains a processing result, and then, in response to the processing result indicating that the target page cannot be fed back to the user, determines the type of status page to be fed back as the target status page type based on the processing result, then determines whether the target page corresponds to a target status page identifier used to characterize the target status page type, and then, in response to the target page corresponding to the target status page identifier, selects a preset status page from a preset status page set corresponding to the target status page identifier as the target status page, wherein the status page type of the preset status page in the preset status page set is the same as the status page type characterized by the target status page identifier. At the same time, the target status page is finally fed back to the user, so that when developing the status page, status pages of the same type can be combined into a status page set and marked with a status page identifier. Then, in a scenario where the status page is needed, the status page can be selected from the status page set for display through the status page identifier corresponding to the page to be accessed in the scenario. Compared with the prior art in which all scenarios in the APP use the same status page, the present disclosure helps to improve the diversity of status page display; and the status page set in the present disclosure can be bound to the page in the APP through the status page identifier, and the degree of coupling with the overall APP is low. When it is necessary to add or delete a status page, it is only necessary to operate on the status page set, and the maintenance cost of the status page is low. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Other features, objects and advantages of the present disclosure will become more apparent from the detailed description of non-limiting embodiments made with reference to the following drawings:

[0023] Figure 1 is an exemplary system architecture diagram in which an embodiment of the present disclosure may be applied;

[0024] Figure 2 is a flow chart of one embodiment of a method for processing information according to the present disclosure;

[0025] Figure 3 is a schematic diagram of an application scenario of a method for processing information according to an embodiment of the present disclosure;

[0026] Figure 4 is a flow chart of yet another embodiment of a method for processing information according to the present disclosure;

[0027] Figure 5 is a schematic structural diagram of an embodiment of a device for processing information according to the present disclosure;

[0028] Figure 6 It is a schematic diagram of the structure of a computer system of a server suitable for implementing an embodiment of the present disclosure. DETAILED DESCRIPTION

[0029] The present disclosure is further described in detail below in conjunction with the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are only used to explain the relevant invention, rather than to limit the invention. It is also necessary to explain that, for ease of description, only the parts related to the relevant invention are shown in the accompanying drawings.

[0030] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present disclosure may be combined with each other. The present disclosure will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0031] Figure 1 An exemplary system architecture 100 is shown to which embodiments of the method for processing information or the apparatus for processing information of the present disclosure may be applied.

[0032] like Figure 1 As shown, the system architecture 100 may include terminal devices 101, 102, 103, a network 104 and a server 105. The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.

[0033] Users can use terminal devices 101, 102, 103 to interact with server 105 through network 104 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 101, 102, 103, such as web browser applications, shopping applications, search applications, instant messaging tools, email clients, social platform software, etc.

[0034] Terminal devices 101, 102, 103 can be hardware or software. When terminal devices 101, 102, 103 are hardware, they can be various electronic devices with display screens and supporting web browsing, including but not limited to smart phones, tablet computers, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III, Moving Picture Experts Group Audio Layer 3), MP4 (Moving Picture Experts Group Audio Layer IV, Moving Picture Experts Group Audio Layer 4) players, laptop computers and desktop computers, etc. When terminal devices 101, 102, 103 are software, they can be installed in the electronic devices listed above. It can be implemented as multiple software or software modules (for example, multiple software or software modules used to provide distributed services), or it can be implemented as a single software or software module. No specific limitation is made here.

[0035] The server 105 may be a server that provides various services, such as a background server that provides support for pages displayed on the terminal devices 101, 102, and 103. The background server may analyze and process the received data such as page access requests, and feed back the processing results (such as the target status page) to the terminal device.

[0036] It should be noted that the method for processing information provided by the embodiments of the present disclosure is generally executed by the server 105 , and accordingly, the device for processing information is generally set in the server 105 .

[0037] It should be noted that the server can be hardware or software. When the server is hardware, it can be implemented as a distributed server cluster consisting of multiple servers, or it can be implemented as a single server. When the server is software, it can be implemented as multiple software or software modules (for example, multiple software or software modules for providing distributed services), or it can be implemented as a single software or software module. No specific limitation is made here.

[0038] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.

[0039] Continue to refer Figure 2 , shows a process 200 of an embodiment of a method for processing information according to the present disclosure. The method for processing information comprises the following steps:

[0040] Step 201, in response to receiving an access request for a target page sent by a user, the access request is processed to obtain a processing result.

[0041] In this embodiment, the execution subject of the method for processing information (for example Figure 1 The server shown in FIG. 1 may respond to a call from a terminal (eg, Figure 1 The terminal device shown in FIG. 1 receives an access request for a target page sent by a user, processes the access request, and obtains a processing result. The target page may be a page managed by the execution subject. The processing result may be used to indicate whether the target page can be fed back to the user, and when the processing result indicates that the target page cannot be fed back to the user, the processing result may indicate the reason why the target page cannot be fed back to the user.

[0042] Specifically, the execution subject may process the access request in various ways to obtain the processing result. As an example, the execution subject may obtain the terminal information (e.g., configuration information, network information) of the terminal that sends the access request, and analyze the terminal information to determine whether the terminal has the conditions to obtain and display the target page. When it is determined that the terminal has the conditions to obtain and display the target page, a processing result indicating that the target page can be fed back to the user may be generated; when it is determined that the terminal does not have the conditions to obtain and display the target page, a processing result indicating that the target page cannot be fed back to the user may be generated. Here, the processing result may specifically indicate the reason why the target page cannot be fed back to the user.

[0043] In some optional implementations of this embodiment, the execution subject may also respond to receiving an access request for a target page from a user by feeding back a target loading page to the user, and processing the access request to obtain a processing result. The target loading page is a status page corresponding to the page loading, and is used to indicate that the current page loading status is page loading.

[0044] In practice, the page loading status may include: page loading, page loading failure, page loading content is empty, network abnormality, etc. The status page is designed for each state of page loading and is used to display to the user to present the current page loading status to the user.

[0045] This implementation method can feedback the target loading page to the user after receiving the access request, thereby prompting the user that the current page loading status is loading, which helps to improve the diversity of page display.

[0046] In some optional implementations of this embodiment, the execution subject may feed back the target loading page to the user through the following steps: First, the execution subject may determine whether the target page corresponds to the loading page identifier. Then, in response to the target page corresponding to the loading page identifier, the execution subject may select a preset loading page from the preset loading page set corresponding to the loading page identifier as the target loading page. Finally, the execution subject may feed back the target loading page to the user.

[0047] In this implementation, the execution subject may pre-store a preset loading page set, and the status page type of the preset loading page in the preset loading page set is a page loading class. Furthermore, the preset loading page set may correspond to a loading page identifier.

[0048] When developing a page, a technician can set a loading page identifier for the page to be developed, thereby establishing a corresponding relationship between the page to be developed and the preset loading page set. Furthermore, in a scenario where a loading page is required, the execution subject can determine whether the page corresponds to the loading page identifier. If it corresponds to the loading page identifier, the preset loading page in the preset loading page set corresponding to the loading page identifier can be used for feedback.

[0049] In some optional implementations of this embodiment, the execution subject may also, in response to the target page not corresponding to the loading page identifier, feed back the default loading page as the target loading page to the user.

[0050] In this implementation, the execution entity may pre-store a default loading page, and the default loading page may be a loading page designed for the APP and applicable to all page access scenarios within the APP.

[0051] In this implementation, when the target page does not correspond to the loading page identifier, the above-mentioned execution entity can perform routine processing on the target page and feedback the default loading page; when the target page corresponds to the loading page identifier, the above-mentioned execution entity can perform personalized processing on the target page and feedback the preset loading page in the preset loading page set, thereby helping to improve the comprehensiveness of information processing and the diversity of loading page feedback.

[0052] Step 202: In response to the processing result indicating that the target page cannot be fed back to the user, based on the processing result, determine the type of status page to be fed back as the target status page type.

[0053] In this embodiment, the execution subject may determine the status page type of the status page to be fed back to the user as the target status page type based on the processing result in response to the processing result indicating that the target page cannot be fed back to the user.

[0054] In this embodiment, the status page can be classified according to the type of page loading status it represents. Specifically, as an example, the status page type can include but is not limited to at least one of the following: page loading failure class, page loading content is empty class, and network anomaly class. Among them, the status page of the page loading failure class can be used to represent page loading failure. The status page of the page loading content is empty class can be used to represent that the page loading content is empty. The status page of the network anomaly class can be used to represent network anomalies.

[0055] In this embodiment, when the processing result indicates that the target page cannot be fed back to the user, the processing result may include reason information indicating the reason why the target page cannot be fed back, and the reason information may indicate the page loading status, and then the above-mentioned execution entity may first determine the page loading status based on the processing result, and then determine the status page type corresponding to the determined page loading status as the target status page type to be fed back.

[0056] As an example, the processing result may include reason information "678", "678" can be used to indicate that the reason why the target page cannot be fed back is a network abnormality, and then the above-mentioned execution entity can determine that the page loading status is a network abnormality based on the processing result, and then determine the status page type "network abnormality class" corresponding to the network abnormality as the target status page type to be fed back.

[0057] In some optional implementations of this embodiment, the execution subject may also feed back the target page to the user in response to the processing result indicating that the target page can be fed back to the user.

[0058] Step 203: determine whether the target page corresponds to a target status page identifier used to characterize the target status page type.

[0059] In this embodiment, based on the target status page type determined in step 202, the execution entity may determine whether the target page corresponds to a target status page identifier that characterizes the target status page type.

[0060] In this embodiment, the execution entity may pre-store a plurality of preset status page sets, and the status page types of the preset status pages in each preset status page set are the same. Furthermore, each preset status page set may correspond to a status page identifier.

[0061] When developing a page, a technician can set a status page identifier for the page to be developed, thereby establishing a corresponding relationship between the page to be developed and the preset status page set. Furthermore, in a scenario where a status page is required, the above-mentioned execution entity can determine whether the page corresponds to the status page identifier. If it corresponds to the status page identifier, the preset status page in the preset status page set corresponding to the status page identifier can be used for feedback.

[0062] In this embodiment, the above-mentioned execution entity can determine whether the target page corresponds to the target status page identifier used to characterize the target status page type. If it corresponds to the target status page identifier used to characterize the target status page type, the preset status page in the preset status page set corresponding to the target status page identifier can be used.

[0063] In some optional implementations of this embodiment, the execution entity may feedback a default status page corresponding to the target status page type to the user in response to the target page not being applicable to the target status page identifier representing the target status page type.

[0064] In this implementation, the above-mentioned execution entity may pre-store a set of default status pages, and the default status page in the set of default status pages may be a status page designed for the APP and applicable to all page access scenarios in the APP. The default status pages in the set of default status pages correspond to different status page types. For example, the set of default status pages may include a default status page corresponding to a network anomaly class, a default status page corresponding to a page loading failure class, and a default status page corresponding to a page loading content empty class.

[0065] In this implementation, when the target page does not correspond to the target status page identifier, the above-mentioned execution entity can perform routine processing on the target page and feedback the default status page; when the target page corresponds to the target status page identifier, the above-mentioned execution entity can perform personalized processing on the target page and feedback the preset status page in the preset status page set, thereby helping to improve the comprehensiveness of information processing and the diversity of status page feedback.

[0066] Step 204 , in response to the target state page identifier corresponding to the target page, select a preset state page from a preset state page set corresponding to the target state page identifier as the target state page.

[0067] In this embodiment, the above-mentioned execution entity can respond to the target status page identifier corresponding to the target page and select a preset status page as the target status page from the preset status page set corresponding to the target status page identifier, wherein the status page type of the preset status page in the preset status page set corresponding to the target status page identifier is the same as the status page type represented by the target status page identifier, that is, the status page type of the preset status page in the preset status page set corresponding to the target status page identifier is the above-mentioned target status page type.

[0068] In this embodiment, the execution subject may select the target status page from the preset status page set corresponding to the target status page identifier by various methods. For example, the execution subject may select the target status page by random selection.

[0069] Step 205: Feedback the target status page to the user.

[0070] In this embodiment, based on the target status page obtained in step 204, the execution entity may feed back the target status page to the user.

[0071] Specifically, the execution entity may send the data included in the target status page to the terminal used by the user, so that the terminal presents the target status page to the user.

[0072] Continue to see Figure 3 , Figure 3 FIG. 1 is a schematic diagram of an application scenario of the method for processing information according to this embodiment. Figure 3 In the application scenario, the server 301 may first respond to receiving an access request 304 for a target page 303 sent by a user 302 , process the access request 304 , and obtain a processing result 305 .

[0073] Then, the server 301 can determine whether the processing result 305 indicates that the target page 303 cannot be fed back to the user, and in response to determining that the processing result 305 indicates that the target page 303 cannot be fed back to the user, based on the processing result 305, determine the status page type to be fed back as the target status page type 306 (for example, a network error class).

[0074] Next, the server 301 may determine whether the target page 303 corresponds to a target status page identifier 307 (eg, III) for characterizing a target status page type 306 .

[0075] Then, the server 301 can respond to the target status page identifier 307 corresponding to the target status page type 306 corresponding to the target page 303, obtain the preset status page set 308 corresponding to the target status page identifier 307, and select a preset status page from the preset status page set 308 as the target status page 309, wherein the status page type of the preset status page in the preset status page set 308 is the same as the status page type represented by the target status page identifier 307 (i.e., the same as the target status page type 306).

[0076] Finally, the server 301 may feed back the target status page 309 to the user 302 .

[0077] The method provided by the above-mentioned embodiment of the present disclosure can select a status page from a status page collection for display in a scenario where a status page is needed through a status page identifier corresponding to the page to be accessed in the scenario. Compared with the prior art in which the same status page is used for all scenarios in an APP, the present disclosure helps to increase the diversity of status page display; and, the status page collection in the present disclosure can be simply bound to a page in the APP through a status page identifier, and has a low degree of coupling with the overall APP. When a status page needs to be added or deleted, it is only necessary to operate on the status page collection, and the maintenance cost of the status page is low.

[0078] Further references Figure 4, which shows a process 400 of another embodiment of a method for processing information. The process 400 of the method for processing information includes the following steps:

[0079] Step 401, in response to receiving an access request for a target page sent by a user, the access request is processed to obtain a processing result.

[0080] In this embodiment, the execution subject of the method for processing information (for example Figure 1 The server shown in FIG. 1 may respond to a call from a terminal (eg, Figure 1 The terminal device shown in FIG. 1 receives an access request for a target page sent by a user, processes the access request, and obtains a processing result. The target page may be a page managed by the execution subject. The processing result may be used to indicate whether the target page can be fed back to the user, and when the processing result indicates that the target page cannot be fed back to the user, the processing result may indicate the reason why the target page cannot be fed back to the user.

[0081] Step 402: In response to the processing result indicating that the target page cannot be fed back to the user, based on the processing result, determine the type of status page to be fed back as the target status page type.

[0082] In this embodiment, the execution subject may determine the status page type of the status page to be fed back to the user as the target status page type based on the processing result in response to the processing result indicating that the target page cannot be fed back to the user.

[0083] Step 403: determine whether the target page corresponds to the target status page identifier used to characterize the target status page type.

[0084] In this embodiment, based on the target status page type determined in step 402, the execution entity may determine whether the target page corresponds to a target status page identifier that characterizes the target status page type.

[0085] In this embodiment, the execution entity may pre-store a plurality of preset status page sets, and the status page types of the preset status pages in each preset status page set are the same. Furthermore, each preset status page set may correspond to a status page identifier.

[0086] Step 404: In response to the target page corresponding to the target status page identifier, determine whether the target page corresponds to the status page sub-identifier.

[0087] In this embodiment, each preset status page in the pre-stored preset status page set may correspond to a status page sub-identifier.

[0088] When developing a page, a technician can set a status page sub-identifier for the page to be developed while setting a status page identifier for the page to be developed, so as to further establish a corresponding relationship between the page to be developed and a preset status page in the preset status page set. Furthermore, in a scenario where a preset status page in the preset status page set needs to be used, the above-mentioned execution subject can determine whether the page corresponds to the status page sub-identifier. If it corresponds to the status page sub-identifier, the preset status page corresponding to the status page sub-identifier can be selected from the preset status page set for feedback.

[0089] Step 405 , in response to the status page sub-identifier corresponding to the target page, select a preset status page corresponding to the status page sub-identifier corresponding to the target page from the preset status page set as the target status page.

[0090] In this embodiment, the above-mentioned execution entity can respond to the status page sub-identifier corresponding to the target page, and select the preset status page corresponding to the status page sub-identifier corresponding to the target page from the preset status page set corresponding to the target status page identifier as the target status page, wherein the status page type of the preset status page in the preset status page set corresponding to the target status page identifier is the same as the status page type represented by the target status page identifier, that is, the status page type of the preset status page in the preset status page set corresponding to the target status page identifier is the above-mentioned target status page type.

[0091] Step 406: Feedback the target status page to the user.

[0092] In this embodiment, based on the target status page obtained in step 405, the execution entity may feed back the target status page to the user.

[0093] The above steps 401, 402, 403 and 406 may be respectively executed in a manner similar to step 201, 202, 203 and 205 in the aforementioned embodiment. The above descriptions of step 201, 202, 203 and 205 also apply to step 401, 402, 404 and 406, which will not be repeated here.

[0094] from Figure 4 It can be seen that Figure 2Compared with the corresponding embodiment, the process 400 of the method for processing information in this embodiment highlights the step of determining whether the target page corresponds to the status page sub-identifier when determining that the target page corresponds to the target status page identifier, and if the target page corresponds to the status page sub-identifier, selecting the preset status page corresponding to the status page sub-identifier corresponding to the target page from the preset status page set as the target status page. Therefore, the scheme described in this embodiment can, in the scenario of accessing the target page, based on the status page sub-identifier corresponding to the target page, selectively select the preset status page whose corresponding status page sub-identifier is the same as the status page sub-identifier corresponding to the target page from the preset status page set for feedback, so that based on the status page sub-identifier, the preset status page in the preset status page set can be more meticulously bound to the page to be visited, which helps to improve the pertinence of the status page display.

[0095] Further references Figure 5 As an implementation of the methods shown in the above figures, the present disclosure provides an embodiment of a device for processing information. Figure 2 Corresponding to the method embodiment shown, the device can be specifically applied to various electronic devices.

[0096] like Figure 5 As shown, the apparatus 500 for processing information in this embodiment includes: a processing unit 501, a first determining unit 502, a second determining unit 503, a selecting unit 504 and a first feedback unit 505. The processing unit 501 is configured to process the access request for the target page in response to receiving the access request sent by the user, and obtain the processing result; the first determining unit 502 is configured to determine the status page type to be fed back as the target status page type based on the processing result in response to the processing result indicating that the target page cannot be fed back to the user; the second determining unit 503 is configured to determine whether the target page corresponds to the target status page identifier used to characterize the target status page type; the selecting unit 504 is configured to select a preset status page from the preset status page set corresponding to the target status page identifier as the target status page in response to the target page corresponding to the target status page identifier, wherein the status page type of the preset status page in the preset status page set is the same as the status page type characterized by the target status page identifier; the first feedback unit 505 is configured to feed back the target status page to the user.

[0097] In this embodiment, the processing unit 501 of the apparatus 500 for processing information may respond to a data packet received from a terminal (eg, Figure 1The terminal device shown in FIG. 5 receives an access request for a target page sent by a user, processes the access request, and obtains a processing result. The target page may be a page managed by the apparatus 500. The processing result may be used to indicate whether the target page can be fed back to the user, and when the processing result indicates that the target page cannot be fed back to the user, the processing result may indicate the reason why the target page cannot be fed back to the user.

[0098] In this embodiment, in response to the processing result indicating that the target page cannot be fed back to the user, the first determining unit 502 may determine the status page type of the status page to be fed back to the user as the target status page type based on the processing result.

[0099] In this embodiment, the status page can be classified according to the type of page loading status it represents. Specifically, as an example, the status page type can include but is not limited to at least one of the following: page loading failure class, page loading content is empty class, and network anomaly class. Among them, the status page of the page loading failure class can be used to represent page loading failure. The status page of the page loading content is empty class can be used to represent that the page loading content is empty. The status page of the network anomaly class can be used to represent network anomalies.

[0100] In this embodiment, based on the target status page type determined by the first determining unit 502 , the second determining unit 503 may determine whether the target page corresponds to a target status page identifier for characterizing the target status page type.

[0101] In this embodiment, the apparatus 500 may pre-store a plurality of preset status page sets, and the status page types of the preset status pages in each preset status page set are the same. Furthermore, each preset status page set may correspond to a status page identifier.

[0102] In this embodiment, the second determination unit 503 can determine whether the target page corresponds to the target status page identifier used to characterize the target status page type. If it corresponds to the target status page identifier used to characterize the target status page type, the preset status page in the preset status page set corresponding to the target status page identifier can be used.

[0103] In this embodiment, the selection unit 504 can select a preset status page as the target status page from the preset status page set corresponding to the target status page identifier in response to the target page corresponding to the target status page identifier, wherein the status page type of the preset status page in the preset status page set corresponding to the target status page identifier is the same as the status page type represented by the target status page identifier, that is, the status page type of the preset status page in the preset status page set corresponding to the target status page identifier is the above-mentioned target status page type.

[0104] In this embodiment, based on the target status page obtained by the selection unit 504, the first feedback unit 505 can feed back the target status page to the user.

[0105] In some optional implementations of this embodiment, the device 500 also includes: a second feedback unit (not shown in the figure), configured to feedback a default status page corresponding to the target status page type to the user in response to the target page not corresponding to the target status page identifier.

[0106] In some optional implementations of this embodiment, a preset status page in a preset status page set corresponds to a status page sub-identifier; and the selection unit 504 includes: a first determination module (not shown in the figure), configured to determine whether the target page corresponds to the status page sub-identifier; a first selection module (not shown in the figure), configured to select, in response to the target page corresponding to the status page sub-identifier, a preset status page corresponding to the status page sub-identifier corresponding to the target page from the preset status page set as the target status page.

[0107] In some optional implementations of this embodiment, the processing unit 501 is further configured to: in response to receiving an access request for a target page sent by a user, feedback a target loading page to the user, and process the access request to obtain a processing result, wherein the target loading page is used to indicate that the current page loading state is page loading.

[0108] In some optional implementations of this embodiment, the processing unit 501 includes: a second determination module (not shown in the figure), configured to determine whether the target page corresponds to a loading page identifier; a second selection module (not shown in the figure), configured to select a preset loading page as the target loading page from a preset loading page set corresponding to the loading page identifier in response to the target page corresponding to the loading page identifier; a first feedback module (not shown in the figure), configured to feed back the target loading page to the user.

[0109] In some optional implementations of this embodiment, the processing unit 501 also includes: a second feedback module (not shown in the figure), which is configured to feedback the default loading page as the target loading page to the user in response to the target page not corresponding to the loading page identifier.

[0110] In some optional implementations of this embodiment, the apparatus 500 further includes: a third feedback unit (not shown in the figure), configured to feed back the target page to the user in response to an indication of the processing result that the target page can be fed back to the user.

[0111] It is understood that the units described in the device 500 are similar to those described in the reference Figure 2Therefore, the operations, features and beneficial effects described above for the method are also applicable to the device 500 and the units included therein, and will not be described in detail here.

[0112] The device 500 provided by the above-mentioned embodiment of the present disclosure can select a status page from a status page collection for display in a scenario where a status page is needed through a status page identifier corresponding to the page to be accessed in the scenario. Compared with the prior art in which the same status page is used in all scenarios within an APP, the present disclosure helps to increase the diversity of status page display; and, the status page collection in the present disclosure can be simply bound to a page within the APP through a status page identifier, and has a low degree of coupling with the overall APP. When a status page needs to be added or deleted, it is only necessary to operate on the status page collection, and the maintenance cost of the status page is low.

[0113] Reference below Figure 6 , which shows a server (eg, Figure 1 A schematic diagram of the structure of the server in FIG600. Figure 6 The server shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0114] like Figure 6 As shown, the server 600 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage device 608 to a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the server 600 are also stored. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.

[0115] Typically, the following devices may be connected to the I / O interface 605: input devices 606 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 608 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 609. The communication devices 609 may allow the server 600 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 6 The server 600 is shown with various devices, but it should be understood that it is not required to implement or have all the devices shown. More or fewer devices may be implemented or have instead.

[0116] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 609, or installed from a storage device 608, or installed from a ROM 602. When the computer program is executed by the processing device 601, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.

[0117] It should be noted that the computer-readable medium described in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0118] The computer-readable medium may be included in the server; or it may exist independently without being assembled into the server. The computer-readable medium carries one or more programs. When the one or more programs are executed by the server, the server: in response to receiving an access request for a target page sent by a user, processes the access request and obtains a processing result; in response to the processing result indicating that the target page cannot be fed back to the user, based on the processing result, determines the type of status page to be fed back as the target status page type; determines whether the target page corresponds to the target status page identifier used to characterize the target status page type; in response to the target page corresponding to the target status page identifier, selects a preset status page from the preset status page set corresponding to the target status page identifier as the target status page, wherein the status page type of the preset status page in the preset status page set is the same as the status page type characterized by the target status page identifier; and feeds back the target status page to the user.

[0119] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0120] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0121] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware. The name of a unit does not limit the unit itself in some cases. For example, a processing unit may also be described as a "unit that processes access requests."

[0122] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.

Claims

1. A method for processing information, comprising: In response to receiving an access request for a target page sent by a user, processing the access request to obtain a processing result; In response to the processing result indicating that the target page cannot be fed back to the user, based on the processing result, determining a status page type to be fed back as a target status page type; Determining whether the target page corresponds to a target status page identifier used to characterize the target status page type; In response to the target page corresponding to the target status page identifier, selecting a preset status page from a preset status page set corresponding to the target status page identifier as the target status page, wherein the status page type of the preset status page in the preset status page set is the same as the status page type represented by the target status page identifier; Feedback the target status page to the user; In response to the target page not corresponding to the target status page identifier, feeding back a default status page corresponding to the target status page type to the user; The preset status page in the preset status page set corresponds to the status page sub-identifier; and the selecting the preset status page as the target status page from the preset status page set corresponding to the target status page identifier comprises: determining whether the target page corresponds to the status page sub-identifier; In response to the target page corresponding status page sub-identifier, a preset status page corresponding to the status page sub-identifier corresponding to the target page is selected from the preset status page set as the target status page.

2. The method according to claim 1, wherein: In response to receiving an access request for a target page sent by a user, processing the access request to obtain a processing result includes: In response to receiving an access request for a target page sent by a user, a target loading page is fed back to the user, and the access request is processed to obtain a processing result, wherein the target loading page is used to indicate that the current page loading state is page loading.

3. The method according to claim 2, wherein: Feedback to the user that the target loading page is in progress includes: Determine whether the target page corresponds to a loading page identifier; In response to a loading page identifier corresponding to the target page, selecting a preset loading page from a preset loading page set corresponding to the loading page identifier as the target loading page; The target loading page is fed back to the user.

4. The method according to claim 3, wherein: The step of feeding back to the user the target loading page further comprises: In response to the target page not corresponding to the loading page identifier, a default loading page is fed back to the user as the target loading page.

5. The method according to any one of claims 1 to 4, wherein: The method further comprises: In response to the processing result indicating that the target page can be fed back to the user, the target page is fed back to the user.

6. A device for processing information, comprising: A processing unit, configured to, in response to receiving an access request for a target page sent by a user, process the access request and obtain a processing result; A first determining unit is configured to, in response to the processing result indicating that the target page cannot be fed back to the user, determine a status page type to be fed back as a target status page type based on the processing result; A second determining unit is configured to determine whether the target page corresponds to a target status page identifier used to characterize the target status page type; a selection unit configured to, in response to the target page corresponding to the target status page identifier, select a preset status page from a preset status page set corresponding to the target status page identifier as the target status page, wherein the status page type of the preset status page in the preset status page set is the same as the status page type represented by the target status page identifier; A first feedback unit, configured to feed back the target status page to the user; The device further includes: a second feedback unit configured to feedback a default status page corresponding to the target status page type to the user in response to the target page not corresponding to the target status page identifier; The preset status page in the preset status page set corresponds to the status page sub-identifier; and the selecting the preset status page as the target status page from the preset status page set corresponding to the target status page identifier comprises: determining whether the target page corresponds to the status page sub-identifier; In response to the target page corresponding status page sub-identifier, a preset status page corresponding to the status page sub-identifier corresponding to the target page is selected from the preset status page set as the target status page.

7. A server, comprising: one or more processors; a storage device having one or more programs stored thereon, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 5.

8. A computer readable medium having a computer program stored thereon, wherein: When the program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.