CN111562958A - Page data display management method and device - Google Patents

Page data display management method and device Download PDF

Info

Publication number
CN111562958A
CN111562958A CN202010348167.2A CN202010348167A CN111562958A CN 111562958 A CN111562958 A CN 111562958A CN 202010348167 A CN202010348167 A CN 202010348167A CN 111562958 A CN111562958 A CN 111562958A
Authority
CN
China
Prior art keywords
page
data
display
state
control
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
Application number
CN202010348167.2A
Other languages
Chinese (zh)
Inventor
姚天瑞
柳超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jindi Technology Co Ltd
Original Assignee
Beijing Jindi Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jindi Technology Co Ltd filed Critical Beijing Jindi Technology Co Ltd
Priority to CN202010348167.2A priority Critical patent/CN111562958A/en
Publication of CN111562958A publication Critical patent/CN111562958A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

The disclosure relates to a page data display management method and device, electronic equipment and a storage medium. Wherein, the method comprises the following steps: responding to a page access request triggered by page operation, and detecting page data returned by the page access request; determining the data acquisition state of the page according to the detection result of the page data returned by the page access request; searching a control set corresponding to the data acquisition state from a preset control database, generating page display data corresponding to the page according to the display control attribute corresponding to the control set, and calling a display interface to display the page display data corresponding to the control set. The method and the device can greatly improve the processing efficiency in the complex state page program.

Description

Page data display management method and device
Technical Field
The present disclosure relates to the field of internet, and in particular, to a page data display management method, apparatus, electronic device, and computer-readable storage medium.
Background
In the process of accessing the Internet, the state of the page is network-free, loading-in, data-free, non-login, normal and the like. At present, when various different webpage states are encountered, controls to be displayed are usually written in code data of a native page, and after a current page state is detected, the code data corresponding to the current page state in the native page is called to display the corresponding controls, however, the method can cause various problems of logic redundancy, difficulty in multiplexing, difficulty in maintenance and the like in a page program.
Accordingly, there is a need for one or more methods to address the above-mentioned problems.
It is to be noted that the information disclosed in the above background section is only for enhancement of understanding of the background of the present disclosure, and thus may include information that does not constitute prior art known to those of ordinary skill in the art.
Disclosure of Invention
An object of the present disclosure is to provide a page data presentation management method, apparatus, electronic device, and computer-readable storage medium, which overcome one or more of the problems due to the limitations and disadvantages of the related art, at least to some extent.
According to one aspect of the present disclosure, a page data display management method is provided, including:
detecting access response information returned in response to a page access request based on the page access request triggered by page operation;
determining the data acquisition state of the page according to the detection result of the access response information;
searching a control set corresponding to the data acquisition state from a preset control database, generating page display data corresponding to the page according to the display control attribute corresponding to the control set, and calling a display interface to display the page display data corresponding to the control set.
In an exemplary embodiment of the present disclosure, determining a data obtaining status of the page according to a detection result of returning page data to the page access request includes:
after the page access request is triggered, starting a preset detection timer;
and if the page data returned to the page access request is not received within the preset detection duration of the detection timer, determining that the data acquisition state of the page is a no-data state.
In an exemplary embodiment of the present disclosure, determining a data obtaining status of the page according to a detection result of returning page data to the page access request includes:
detecting the equipment network rate of a current user;
if the network rate of the equipment of the current user is judged to be lower than the first preset network rate and higher than the second preset network rate, determining that the data acquisition state of the page is a loading state;
and if the equipment network rate of the current user is lower than the second preset network rate, determining that the data acquisition state of the page is a no-network state.
In an exemplary embodiment of the present disclosure, determining a data obtaining status of the page according to a detection result of returning page data to the page access request includes:
detecting the authentication login state of the current user;
and if the current user is judged not to be authenticated, determining that the data acquisition state of the page is an unauthenticated state.
In an exemplary embodiment of the present disclosure, the method further comprises:
after the data acquisition state of the page is determined, acquiring a state code corresponding to the data acquisition state;
the searching for the control set corresponding to the data acquisition state from a preset control database, and generating page display data corresponding to the page according to the display control attribute corresponding to the control set includes:
searching a corresponding control set from a preset control database according to the state code; the control set comprises at least one state display control corresponding to the display control attribute.
In an exemplary embodiment of the present disclosure, the control set includes an identifier of at least one display control, and the display control is preset with corresponding attribute information;
generating page display data corresponding to the page according to the display control attribute corresponding to the control set, including:
determining attribute information of each display control in a control set corresponding to the data acquisition state according to the data acquisition state of the page;
and displaying each display control in the control set, and filling the attribute information corresponding to each display control into each corresponding display control.
In an exemplary embodiment of the present disclosure, the presentation control properties include any one or more of a position map, a loading animation, a prompt document, a background of a prompt button, and a document.
In one aspect of the present disclosure, there is provided a page data presentation management apparatus including:
the page data detection module is used for detecting access response information returned in response to a page access request based on the page access request triggered by page operation;
the data acquisition state confirmation module is used for determining the data acquisition state of the page according to the detection result of the access response information;
and the page display data generation module is used for searching a control set corresponding to the data acquisition state from a preset control database, generating page display data corresponding to the page according to the display control attribute corresponding to the control set, and calling a display interface to display the display data corresponding to the control set.
In one aspect of the present disclosure, there is provided an electronic device including:
a processor; and
a memory having computer readable instructions stored thereon which, when executed by the processor, implement a method according to any of the above.
In an aspect of the disclosure, a computer-readable storage medium is provided, on which a computer program is stored, which computer program, when being executed by a processor, realizes the method according to any one of the above.
The page data display management method in the exemplary embodiment of the present disclosure includes: detecting access response information returned in response to a page access request based on the page access request triggered by page operation; determining the data acquisition state of the page according to the detection result of the access response information; searching a control set corresponding to the data acquisition state from a preset control database, generating page display data corresponding to the page according to the display control attribute corresponding to the control set, and calling a display interface to display the page display data corresponding to the control set. The method and the device can greatly improve the processing efficiency in the complex state page program, introduce the state management control of the state code, and solve the problems of logical redundancy, incapability of multiplexing and difficulty in maintenance of the Android native control under the complex working condition.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The above and other features and advantages of the present disclosure will become more apparent by describing in detail exemplary embodiments thereof with reference to the attached drawings.
FIG. 1 shows a flowchart of a page data presentation management method according to an example embodiment of the present disclosure;
FIG. 2 shows a schematic block diagram of a page data presentation management apparatus according to an example embodiment of the present disclosure;
FIG. 3 schematically illustrates a block diagram of an electronic device according to an exemplary embodiment of the present disclosure; and
fig. 4 schematically illustrates a schematic diagram of a computer-readable storage medium according to an exemplary embodiment of the present disclosure.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The same reference numerals denote the same or similar parts in the drawings, and thus, a repetitive description thereof will be omitted.
Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the disclosure. One skilled in the relevant art will recognize, however, that the embodiments of the disclosure can be practiced without one or more of the specific details, or with other methods, components, materials, devices, steps, and so forth. In other instances, well-known structures, methods, devices, implementations, materials, or operations are not shown or described in detail to avoid obscuring aspects of the disclosure.
The block diagrams shown in the figures are functional entities only and do not necessarily correspond to physically separate entities. That is, these functional entities may be implemented in the form of software, or in one or more software-hardened modules, or in different networks and/or processor devices and/or microcontroller devices.
In the present exemplary embodiment, a page data display management method is first provided; referring to fig. 1, the page data presentation management method may include the steps of:
step S110, based on a page access request triggered by page operation, detecting access response information returned in response to the page access request;
step S120, determining the data acquisition state of the page according to the detection result of the access response information;
step S130, searching a control set corresponding to the data acquisition state from a preset control database, generating page display data corresponding to the page according to the display control attribute corresponding to the control set, and calling a display interface to display the page display data corresponding to the control set.
The page data display management method in the exemplary embodiment of the present disclosure includes: detecting access response information returned in response to a page access request based on the page access request triggered by page operation; determining the data acquisition state of the page according to the detection result of the access response information; searching a control set corresponding to the data acquisition state from a preset control database, generating page display data corresponding to the page according to the display control attribute corresponding to the control set, and calling a display interface to display the page display data corresponding to the control set. The method and the device can greatly improve the processing efficiency in the complex state page program, and solve the problems of logical redundancy, incapability of multiplexing and difficulty in maintenance of the Android native control under the complex working condition by introducing the state management control of the state code.
Next, a page data presentation management method in the present exemplary embodiment will be further explained.
In step S110, access response information returned in response to a page access request triggered by a page operation may be detected based on the page access request.
In an exemplary embodiment of the present disclosure, the page operation may be various operations such as access and editing triggered by mouse clicking, gesture trajectory, touch screen clicking, and the like, and when a user needs to access a certain web page or service, a corresponding page access request may be triggered. The page access request carries key information of data to be accessed by the user, such as an enterprise name, and after receiving the page access request, the server searches for corresponding page data according to the enterprise name, generates access response information and returns the access response information.
After the page access request is sent, detecting access response information containing page data returned by the page access request to determine the page state of the page to be accessed.
In step S120, a data acquisition status of the page may be determined according to the detection result of the access response information.
Under different network states, there may be multiple situations in response returned according to different page access requests, and accordingly, multiple different detection results may be generated. For example, the page state may include a no network state, a loading state, a no data state, an unauthenticated state, a normal state, and so on. In an exemplary embodiment of the present disclosure, determining the data obtaining status of the page according to the detection result of returning the page data to the page access request may include a plurality of detection manners, for example:
a. determining that the data acquisition state of the page is a no-data state
After the page access request is triggered, starting a preset detection timer;
and if the page data returned to the page access request is not received within the preset detection duration of the detection timer, determining that the data acquisition state of the page is a no-data state.
b. Determining that the data acquisition state of the page is a loading state
Detecting the equipment network rate of a current user;
and if the network rate of the equipment of the current user is lower than the first preset network rate and higher than the second preset network rate, determining that the data acquisition state of the page is a loading state.
c. Determining that the data acquisition state of the page is a no-network state
Detecting the equipment network rate of a current user;
and if the equipment network rate of the current user is lower than the second preset network rate, determining that the data acquisition state of the page is a no-network state.
d. Determining that the data acquisition state of the page is an unauthenticated state
Detecting the authentication login state of the current user;
and if the current user is judged not to be authenticated, determining that the data acquisition state of the page is an unauthenticated state.
e. Determining that the data acquisition state of the page is a normal state
And receiving access response information with page data returned by the server within the timing duration of the preset detection timer after triggering the page access request, and determining that the data acquisition state of the page is a normal state.
The no-data state in the step a may be a state in which no page data is returned due to the fact that corresponding data is not queried after the page access request is sent or data is lost; the loading state in the step b is a state when a network exists at present but the network is poor; the network-free state in the step c is a state when no network signal such as a network rate of 0 or almost 0 is detected; the unauthenticated state in the d is a state when the user does not log in the page requiring the login authentication of the user.
The detection of the loading state, the network-less state and the unauthenticated state may also be performed after determining that the data acquisition state of the page is the data-less state, specifically:
after the page access request is triggered, starting a preset detection timer;
if the page data returned to the page access request is not received within the preset detection duration of the detection timer, detecting the equipment network rate of the current user;
if the network rate of the equipment of the current user is judged to be lower than the first preset network rate and higher than the second preset network rate, determining that the data acquisition state of the page is a loading state;
and if the equipment network rate of the current user is lower than the second preset network rate, determining that the data acquisition state of the page is a no-network state.
Alternatively, the first and second electrodes may be,
after the page access request is triggered, starting a preset detection timer;
if the page data returned to the page access request is not received within the preset detection duration of the detection timer, detecting the authentication login state of the current user;
and if the current user is judged not to be authenticated, determining that the data acquisition state of the page is an unauthenticated state. In an exemplary embodiment of the present disclosure, after determining the data acquisition status of the page, a status code corresponding to the data acquisition status is acquired, where the status code is a simple code preset for facilitating functions such as control invocation and enabling, and corresponds to the data acquisition status one by one, for example, the status codes corresponding to the data acquisition statuses without network, loading, data, non-authentication, and normal may be "01", "02", "03", "04", and "05", respectively.
In step S130, a control set corresponding to the data obtaining state may be searched from a preset control database, page display data corresponding to the page is generated according to the display control attribute corresponding to the control set, and a display interface is called to display the page display data corresponding to the control set.
The preset control database is a full set of all Android controls and comprises common controls: TextView (text display), Button, EditText (input box), alternate dialog (warning box), progressive bar, progressive dialog (progress box), and the like.
The display control attribute refers to an attribute which is defined by the attribute of the control according to the display requirement when the same control presents different display effects according to different use requirements of designers, and is called as a display control attribute, and specifically, the display control attribute comprises any one or more of a bitmap, a loading animation, a prompt pattern, a background of a prompt button and a pattern.
In an exemplary embodiment of the present disclosure, after determining a data acquisition state of the page and corresponding to a state code, searching a corresponding control set from a preset control database according to the state code; the control set comprises at least one state display control corresponding to the display control attribute.
For example, scenario 1: after a certain page is detected, if the data acquisition state is 'no network', the corresponding state code is '01', and a control set corresponding to the state code '01' is searched in a preset control database as follows: TextView (text display), Button, EditText (input box), wherein the display control attribute of TextView (text display) is the display text "no network, please check network connection";
in scenario 2, if the data acquisition state of a certain page after detection is "in load", the corresponding state code is "02", and a control set corresponding to the state code "02" is searched in a preset control database as follows: progress Bar, progress dialog, TextView (text display), wherein the property of the display control of TextView is to display the text "load, please wait".
It can be seen from the above two scenarios that the state codes corresponding to different data acquisition states are different, and the control sets corresponding to different state codes are also different, but different control sets may contain the same control, and the display control attributes of the same control may differ due to different implemented functions.
In an exemplary embodiment of the present disclosure, the control set includes an identifier of at least one display control, and the display control is preset with corresponding attribute information; determining attribute information of each display control in a control set corresponding to the data acquisition state according to the data acquisition state of the page; and displaying each display control in the control set, and filling the attribute information corresponding to each display control into each corresponding display control.
For a specific page, when the specific page is used for the first time or the page is switched, the control in the previous page needs to be set as unavailable, and the control in the next page is enabled, for example, with the above-mentioned scenes 1 and 2, if the network connection of the page is disconnected in the loading process, the data acquisition state "in loading" needs to be switched to "no network", that is, the page is switched from the scene 2 to the scene 1, according to the method disclosed by the present disclosure, in the scene 2, the progress bar, the progress dialog (progress prompt box) and the TextView (text display) corresponding to the state code "02" are enabled; in scenario 1, TextView (text display), Button, EditText (input box) controls corresponding to the status code "01" are enabled; when the state code "02" needs to be switched to the state code "01", only attribute information corresponding to the control needs to be enabled, specifically, the progress bar and the progress dialog are disabled, and the Button and the EditText are enabled.
It should be noted that, in the above example, although the TextView (text display) is always in the enabled state when switching from the state code "02" to the state code "01", since the presentation control attributes are different, the presentation control attributes of the TextView (text display) are switched at the time of switching, and the presentation text is changed from "loading, waiting" to "no network, and please check network connection".
It should be noted that although the various steps of the methods of the present disclosure are depicted in the drawings in a particular order, this does not require or imply that these steps must be performed in this particular order, or that all of the depicted steps must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions, etc.
In addition, in the present exemplary embodiment, a page data presentation management apparatus is also provided. Referring to fig. 2, the page data presentation management device 200 may include: a page data detection module 210, a data acquisition state confirmation module 220, and a page display data generation module 230.
Wherein:
the page data detection module 210 is configured to detect, based on a page access request triggered by a page operation, access response information returned in response to the page access request;
a data acquisition status confirmation module 220, configured to determine a data acquisition status of the page according to a detection result of the access response information;
the page display data generating module 230 is configured to search a control set corresponding to the data obtaining state from a preset control database, generate page display data corresponding to the page according to the display control attribute corresponding to the control set, and invoke a display interface to display the page display data corresponding to the control set.
The specific details of each page data display management device module are already described in detail in the corresponding page data display management method, and therefore are not described herein again.
It should be noted that although several modules or units of the page data presentation managing apparatus 200 are mentioned in the above detailed description, such division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
In addition, in an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided.
As will be appreciated by one skilled in the art, aspects of the present invention may be embodied as a system, method or program product. Thus, various aspects of the invention may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
An electronic device 300 according to such an embodiment of the invention is described below with reference to fig. 3. The electronic device 300 shown in fig. 3 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 3, electronic device 300 is embodied in the form of a general purpose computing device. The components of electronic device 300 may include, but are not limited to: the at least one processing unit 310, the at least one memory unit 320, a bus 330 connecting different system components (including the memory unit 320 and the processing unit 310), and a display unit 340.
Wherein the storage unit stores program code that is executable by the processing unit 310 to cause the processing unit 310 to perform steps according to various exemplary embodiments of the present invention as described in the above section "exemplary method" of the present specification. For example, the processing unit 310 may perform steps S110 to S130 as shown in fig. 1.
The storage unit 320 may include readable media in the form of volatile storage units, such as a random access memory unit (RAM)3201 and/or a cache memory unit 3202, and may further include a read only memory unit (ROM) 3203.
The storage unit 320 may also include a program/utility 3204 having a set (at least one) of program modules 3205, such program modules 3205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Bus 330 may be one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 300 may also communicate with one or more external devices 370 (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a user to interact with the electronic device 300, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 300 to communicate with one or more other computing devices. Such communication may occur via an input/output (I/O) interface 350. Also, the electronic device 300 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the internet) via the network adapter 360. As shown, network adapter 360 communicates with the other modules of electronic device 300 via bus 330. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with electronic device 300, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
In an exemplary embodiment of the present disclosure, there is also provided a computer-readable storage medium having stored thereon a program product capable of implementing the above-described method of the present specification. In some possible embodiments, aspects of the invention may also be implemented in the form of a program product comprising program code means for causing a terminal device to carry out the steps according to various exemplary embodiments of the invention described in the above-mentioned "exemplary methods" section of the present description, when said program product is run on the terminal device.
Referring to fig. 4, a program product 400 for implementing the above method according to an embodiment of the present invention is described, which may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited in this regard and, in the present document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable 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 disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
A computer readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
Furthermore, the above-described figures are merely schematic illustrations of processes involved in methods according to exemplary embodiments of the invention, and are not intended to be limiting. It will be readily understood that the processes shown in the above figures are not intended to indicate or limit the chronological order of the processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, e.g., in multiple modules.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is to be limited only by the terms of the appended claims.

Claims (10)

1. A page data display management method is characterized by comprising the following steps:
detecting access response information returned in response to a page access request based on the page access request triggered by page operation;
determining the data acquisition state of the page according to the detection result of the access response information;
searching a control set corresponding to the data acquisition state from a preset control database, generating page display data corresponding to the page according to the display control attribute corresponding to the control set, and calling a display interface to display the page display data corresponding to the control set.
2. The method of claim 1, wherein determining the data fetch state of the page based on the detection result of returning page data for the page access request comprises:
after the page access request is triggered, starting a preset detection timer;
and if the page data returned to the page access request is not received within the preset detection duration of the detection timer, determining that the data acquisition state of the page is a no-data state.
3. The method of claim 1, wherein determining the data fetch state of the page based on the detection result of returning page data for the page access request comprises:
detecting the equipment network rate of a current user;
if the network rate of the equipment of the current user is judged to be lower than the first preset network rate and higher than the second preset network rate, determining that the data acquisition state of the page is a loading state;
and if the equipment network rate of the current user is lower than the second preset network rate, determining that the data acquisition state of the page is a no-network state.
4. The method of claim 1, wherein determining the data fetch state of the page based on the detection result of returning page data for the page access request comprises:
detecting the authentication login state of the current user;
and if the current user is judged not to be authenticated, determining that the data acquisition state of the page is an unauthenticated state.
5. The method of claim 1, wherein the method further comprises:
after the data acquisition state of the page is determined, acquiring a state code corresponding to the data acquisition state;
the searching for the control set corresponding to the data acquisition state from a preset control database, and generating page display data corresponding to the page according to the display control attribute corresponding to the control set includes:
searching a corresponding control set from a preset control database according to the state code; the control set comprises at least one state display control corresponding to the display control attribute.
6. The method of claim 1, wherein the control set comprises an identifier of at least one presentation control, the presentation control being preset with corresponding attribute information;
generating page display data corresponding to the page according to the display control attribute corresponding to the control set, including:
determining attribute information of each display control in a control set corresponding to the data acquisition state according to the data acquisition state of the page;
and displaying each display control in the control set, and filling the attribute information corresponding to each display control into each corresponding display control.
7. The method of claim 1, wherein the presentation control properties include any one or more of a capture bitmap, a load animation, a prompt copy, a background for a prompt button, and a copy.
8. A page data presentation management apparatus, the apparatus comprising:
the page data detection module is used for detecting access response information returned in response to a page access request based on the page access request triggered by page operation;
the data acquisition state confirmation module is used for determining the data acquisition state of the page according to the detection result of the access response information;
and the page display data generation module is used for searching a control set corresponding to the data acquisition state from a preset control database, generating page display data corresponding to the page according to the display control attribute corresponding to the control set, and calling a display interface to display the page display data corresponding to the control set.
9. A computer device comprising a processor and a memory;
wherein the processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory for implementing the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, characterized in that the computer program realizes the method according to any one of claims 1-7 when executed by a processor.
CN202010348167.2A 2020-04-28 2020-04-28 Page data display management method and device Pending CN111562958A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010348167.2A CN111562958A (en) 2020-04-28 2020-04-28 Page data display management method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010348167.2A CN111562958A (en) 2020-04-28 2020-04-28 Page data display management method and device

Publications (1)

Publication Number Publication Date
CN111562958A true CN111562958A (en) 2020-08-21

Family

ID=72074365

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010348167.2A Pending CN111562958A (en) 2020-04-28 2020-04-28 Page data display management method and device

Country Status (1)

Country Link
CN (1) CN111562958A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112579229A (en) * 2020-12-01 2021-03-30 贝壳技术有限公司 Page data processing method and device in application

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101430710A (en) * 2008-11-14 2009-05-13 中国科学院软件研究所 Data visualization engine system
US20130086529A1 (en) * 2011-09-29 2013-04-04 Microsoft Corporation Automatic lifecycle management for pages on a mobile application
CN106649531A (en) * 2016-10-24 2017-05-10 福建中金在线信息科技有限公司 Webpage detection method and device
CN107590145A (en) * 2016-07-06 2018-01-16 北京神州泰岳软件股份有限公司 A kind for the treatment of method and apparatus of page static resource
CN108471359A (en) * 2018-03-22 2018-08-31 政和科技股份有限公司 A kind of website visiting abnormality monitoring method, device and medium
CN109542563A (en) * 2018-11-09 2019-03-29 优信数享(北京)信息技术有限公司 One kind integrating multi-mode Android page management method, apparatus and system
CN110716867A (en) * 2019-09-12 2020-01-21 香港乐蜜有限公司 Method, device and equipment for detecting multi-page jump pressure

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101430710A (en) * 2008-11-14 2009-05-13 中国科学院软件研究所 Data visualization engine system
US20130086529A1 (en) * 2011-09-29 2013-04-04 Microsoft Corporation Automatic lifecycle management for pages on a mobile application
CN107590145A (en) * 2016-07-06 2018-01-16 北京神州泰岳软件股份有限公司 A kind for the treatment of method and apparatus of page static resource
CN106649531A (en) * 2016-10-24 2017-05-10 福建中金在线信息科技有限公司 Webpage detection method and device
CN108471359A (en) * 2018-03-22 2018-08-31 政和科技股份有限公司 A kind of website visiting abnormality monitoring method, device and medium
CN109542563A (en) * 2018-11-09 2019-03-29 优信数享(北京)信息技术有限公司 One kind integrating multi-mode Android page management method, apparatus and system
CN110716867A (en) * 2019-09-12 2020-01-21 香港乐蜜有限公司 Method, device and equipment for detecting multi-page jump pressure

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112579229A (en) * 2020-12-01 2021-03-30 贝壳技术有限公司 Page data processing method and device in application
CN112579229B (en) * 2020-12-01 2023-07-28 贝壳技术有限公司 Page data processing method and device in application

Similar Documents

Publication Publication Date Title
CN109597677B (en) Method and apparatus for processing information
US11113126B2 (en) Verifying transfer of detected sensitive data
CN111125555B (en) Enterprise information acquisition method and device
CN110287146B (en) Method, device and computer storage medium for downloading application
CN113051514A (en) Element positioning method and device, electronic equipment and storage medium
CN107295086B (en) Cluster session loss prevention method and system
CN113204345A (en) Page generation method and device, electronic equipment and storage medium
CN112506854A (en) Method, device, equipment and medium for storing page template file and generating page
EP3869377B1 (en) Method and apparatus for data processing based on smart contract, device and storage medium
CN114048415A (en) Form generation method and device, electronic equipment and computer readable storage medium
CN111562958A (en) Page data display management method and device
CN112799760A (en) Form rendering method and device
CN112491940A (en) Request forwarding method and device of proxy server, storage medium and electronic equipment
CN108197041B (en) Method, device and storage medium for determining parent process of child process
CN114490266A (en) Data acquisition method, device, equipment and storage medium
CN110554892A (en) Information acquisition method and device
CN111488316B (en) File cache recovery method and device
CN115080154A (en) Page display method and device, storage medium and electronic equipment
CN113656041A (en) Data processing method, device, equipment and storage medium
CN114238391A (en) Data paging query method and device, electronic equipment and storage medium
CN110958243A (en) Network vulnerability submitting method and device, storage medium and electronic equipment
CN112364268A (en) Resource acquisition method and device, electronic equipment and storage medium
CN110750569A (en) Data extraction method, device, equipment and storage medium
CN112445790B (en) Report data storage method, device, equipment and medium
CN111046430B (en) Data processing method and device, storage medium and electronic equipment

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