CN109783329B - Application program blank data prompting method and system and terminal equipment - Google Patents

Application program blank data prompting method and system and terminal equipment Download PDF

Info

Publication number
CN109783329B
CN109783329B CN201811472437.XA CN201811472437A CN109783329B CN 109783329 B CN109783329 B CN 109783329B CN 201811472437 A CN201811472437 A CN 201811472437A CN 109783329 B CN109783329 B CN 109783329B
Authority
CN
China
Prior art keywords
data
interface
blank
prompting
target interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811472437.XA
Other languages
Chinese (zh)
Other versions
CN109783329A (en
Inventor
张中月
姜仕鹏
孙岳
倪安
谢岸辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Cooday Communication Co ltd
Original Assignee
Shenzhen Cooday Communication 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 Shenzhen Cooday Communication Co ltd filed Critical Shenzhen Cooday Communication Co ltd
Priority to CN201811472437.XA priority Critical patent/CN109783329B/en
Publication of CN109783329A publication Critical patent/CN109783329A/en
Application granted granted Critical
Publication of CN109783329B publication Critical patent/CN109783329B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention is suitable for the technical field of software development, and discloses a method, a system and a terminal device for prompting blank data of an application program, wherein the method is applied to an iOS operating system and comprises the following steps: monitoring an interface refreshing message of an application program, wherein the interface refreshing message comprises a target interface; after monitoring an interface refreshing message, reading a data source of a preset control contained in a target interface; if the read data in the data source is blank data, acquiring target interface data corresponding to a target interface; and generating a blank data prompt interface according to the target interface data, and displaying the blank data prompt interface. When the blank data is prompted, only the target interface data corresponding to the target interface needs to be obtained, and the blank data prompting interface is generated according to the target interface data, so that the workload of a developer can be greatly reduced, the blank data prompting interface is easy to maintain, and the time cost can be saved when the blank data prompting interface is maintained later.

Description

Application program blank data prompting method and system and terminal equipment
Technical Field
The invention belongs to the technical field of software development, and particularly relates to a method and a system for prompting blank data of an application program and terminal equipment.
Background
In an application program APP interface built based on the UITableView and UICollectionView controls, due to network problems, data deletion by users and the like, the situation that the APP interface has no data is easily caused. In the case of no data on the APP interface, blank or layout problems may arise.
At present, an APP developer provides a corresponding prompt interface for blank data to inform a user of the reason for the blank data. In general, different prompt interfaces are customized for different interfaces, which increases the workload of developers and makes the prompt interfaces difficult to maintain.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method, a system, and a terminal device for prompting blank data of an application program, so as to solve the problems that the workload of a developer is increased and a prompt interface is not easy to maintain in the prior art.
A first aspect of an embodiment of the present invention provides an application blank data prompting method, which is applied to an iOS operating system, and includes:
monitoring an interface refreshing message of an application program, wherein the interface refreshing message comprises a target interface;
after monitoring an interface refreshing message, reading a data source of a preset control contained in a target interface;
if the read data in the data source is blank data, acquiring target interface data corresponding to a target interface;
and generating a blank data prompt interface according to the target interface data, and displaying the blank data prompt interface.
A second aspect of an embodiment of the present invention provides an application blank data prompting system, which is applied to an iOS operating system, and includes:
the interface refreshing monitoring module is used for monitoring interface refreshing information of the application program, and the interface refreshing information comprises a target interface;
the data source reading module is used for reading a data source of a preset control contained in the target interface after monitoring the interface refreshing message;
the target interface data acquisition module is used for acquiring target interface data corresponding to a target interface if the read data in the data source is blank data;
and the prompt interface generating module is used for generating a blank data prompt interface according to the target interface data and displaying the blank data prompt interface.
A third aspect of the embodiments of the present invention provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the method for prompting application blank data according to the first aspect when executing the computer program.
A fourth aspect of the embodiments of the present invention provides a computer-readable storage medium, where a computer program is stored, and the computer program, when executed by one or more processors, implements the steps of the application blank data prompting method according to the first aspect.
Compared with the prior art, the embodiment of the invention has the following beneficial effects: the method comprises the steps of firstly monitoring an interface refreshing message of an application program, reading a data source of a preset control contained in a target interface after monitoring the interface refreshing message, if the data in the read data source is blank data, acquiring target interface data corresponding to the target interface, then generating a blank data prompting interface according to the target interface data, and displaying the blank data prompting interface.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic flow chart illustrating an implementation process of a method for prompting blank data of an application according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a blank data prompt interface according to an embodiment of the present invention;
FIG. 3 is a schematic block diagram of an application blank data hinting system provided by an embodiment of the invention;
fig. 4 is a schematic block diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
Fig. 1 is a flowchart illustrating an implementation flow of a method for prompting application blank data according to an embodiment of the present invention, and for convenience of description, only a portion related to the embodiment of the present invention is shown. The execution subject of the embodiment of the present invention may be a terminal device. The application program blank data prompting method provided by the embodiment of the invention is applied to an iOS operating system.
As shown in fig. 1, the method may include the steps of:
step S101: and monitoring interface refreshing information of the application program, wherein the interface refreshing information comprises a target interface.
In the embodiment of the invention, the monitoring mode is adopted to monitor the interface refreshing information of the application program. When the user selects to refresh the interface, an interface refresh message is automatically generated. The interface refreshing message comprises a target interface, namely the interface which is selected to be refreshed by the user. In addition, the interface can be automatically refreshed at preset time intervals, and when the interface is automatically refreshed, an interface refreshing message can be automatically generated. The preset time may be set according to actual requirements, for example, may be set to 5 seconds.
The listening mode consists of three parts, namely an event source, an event object and an event listener. When the event source triggers a certain behavior, a corresponding method in the event listener can be automatically executed. Event listener method parameters are event objects that contain references to event sources, which can be obtained in the method.
Step S102: and after monitoring the interface refreshing message, reading a data source of a preset control contained in the target interface.
In the embodiment of the present invention, the target interface may include a plurality of controls, that is, the target interface may be formed by using the plurality of controls. The preset controls are UITableView controls and UICollectionView controls. If the preset control is used for the target interface, blank data prompting is possible, so that before a data source of the preset control included in the target interface is read, the application blank data prompting method can further comprise the following steps of:
judging whether the target interface contains a preset control or not;
if the target interface contains the preset control, continuing to execute the step of reading the data source of the preset control contained in the target interface;
and if the target interface does not contain the preset control, displaying the target interface according to a preset rule.
The target interface may be displayed directly according to a preset rule, or may not perform any operation.
The reading of the data source of the preset control included in the target interface may be reading of a cell included in the preset control. The cell is used for displaying list information, links or forms and the like.
Step S103: and if the read data in the data source is blank data, acquiring target interface data corresponding to the target interface.
The blank data means that the read data is empty.
Judging whether the data in the read data source is blank data, which may be judging whether the number of read cells is 0. If the number of the read cells is 0, the data in the read data source is blank data; and if the number of the read cells is not 0, the data in the read data source is not blank data.
The number of cells may be the number of messages. For example, how many people in the circle of friends have been shown dynamically, how many messages are displayed, and the number of messages we see is the number of cells.
The terminal device may provide a series of framework interfaces for interface invocation. The framework interface may include: the slide interface, the drag interface, the blank data prompt view or the button support click event interface, the button interface, the background color interface, the user-defined blank data display view interface, the blank data prompt view and the horizontal position interface, the title detailed content interface, the picture animation setting interface and the like.
The UITableView control and the UICollectionView control are inherited from UIScrollView. Inside the framework, add classification to uiscrillview, add protocol and protocol delegation attributes in the classification. When the developer uses the UITableView or UICollectionView control, the developer adheres to the protocol and realizes the proxy, so that blank data interface attributes can be set.
The terminal device pre-stores the corresponding relationship between the interface and the interface data, wherein the interface data corresponding to each interface may include one or more of the above-mentioned frame interfaces. And according to the corresponding relation between the interface and the interface data, target interface data corresponding to the target interface can be obtained. The interface data corresponding to the target interface is called target interface data.
Step S104: and generating a blank data prompt interface according to the target interface data, and displaying the blank data prompt interface.
In the embodiment of the invention, the terminal equipment generates a blank data prompt interface according to the target interface data and displays the blank data prompt interface. Illustratively, assuming that the target interface data includes a blank data prompt view or button that supports a click event interface, a title interface, and a title detail interface, the blank data prompt interface is generated as shown in FIG. 2, including a title and title details, and supports a click event.
In the embodiment of the present invention, the entry method for refreshing the interface may be changed by using RunTime technology. When a developer calls a method for refreshing an interface, the address of the method entry is changed to the function entry in the framework. The specific codes are as follows:
Method method=class_getInstanceMethod(baseClass,selector);
IMP newImplementation=
method_setImplementation(method,(IMP)original_implementation);
wherein the selector is a systematic method. origin _ annotation is a function implemented inside the framework that has two roles: first, refreshing the UITableView or the UICollectionView; secondly, blank data prompting is carried out. And replacing the method of the system by a method _ setaugmentation function, returning the original IMP address, storing the IMP pointer in the frame, and refreshing the UITableView or UICollectionView control by calling the original _ augmentation method, namely calling the stored IMP function.
As can be seen from the above description, in the embodiment of the present invention, when the blank data is prompted, only the target interface data corresponding to the target interface needs to be obtained, and the blank data prompting interface is generated according to the target interface data and the provided frame interface, so that the workload of a developer can be greatly reduced, the work difficulty is reduced, the blank data prompting interface is easy to maintain, and when the blank data prompting interface is maintained later, only the frame interface needs to be maintained, so that the time cost can be saved.
As another embodiment of the present invention, after step S104, the method for prompting blank data of an application program may further include the following steps:
judging whether the blank data prompt interface supports loading data through a preset action or not;
if the blank data prompt interface does not support loading data through a preset action, no operation is executed;
if the blank data prompting interface supports loading data through a preset action, monitoring a preset action message of the blank data prompting interface;
and if the preset action message is monitored, continuing to execute the step of reading the data source of the preset control contained in the target interface.
The preset action can be clicking, sliding, dragging and other actions. If the preset action is clicking, judging whether a blank data prompt interface supports data loading through clicking; if the blank data prompt interface does not support loading data by clicking, no operation is executed; if the blank data prompting interface supports loading data by clicking, monitoring a clicking message of the blank data prompting interface; and if the click message is monitored, continuing to execute the step of reading the data source of the preset control contained in the target interface.
In the embodiment of the invention, whether the blank data prompting interface supports data loading through a preset action is judged, namely whether the blank data prompting interface supports refreshing of a target interface through clicking, sliding, dragging and the like is judged. If the blank data prompt interface does not support loading data through the preset action, no operation is required to be executed. If the blank data prompting interface supports loading data through a preset action, a monitoring mode is adopted to monitor a preset action message of the blank data prompting interface, if the preset action message is monitored, the step S102 is returned, and the step of reading the data source of the preset control contained in the target interface is executed again.
As another embodiment of the present invention, determining whether a blank data prompting interface supports loading data through a preset action includes:
judging whether the target interface data contains interface data corresponding to a preset action;
if the target interface data comprises interface data corresponding to the preset action, the blank data prompt interface supports loading of the data through the preset action;
and if the target interface data does not contain interface data corresponding to the preset action, the blank data prompt interface does not support loading the data through the preset action.
If the preset action is a click, the interface data corresponding to the preset action is the blank data prompt view or the click event interface supported by the button mentioned in the step S103; if the preset action is sliding, the interface data corresponding to the preset action is a sliding interface; and if the preset action is dragging, the interface data corresponding to the preset action is a dragging interface.
Taking a click as an example, judging whether a blank data prompt interface supports data loading by clicking or not, including:
judging whether the target interface data packet corresponds to the interface data corresponding to the click;
if the target interface data comprises interface data corresponding to the click, the blank data prompt interface supports loading data through the click;
and if the target interface data does not contain interface data corresponding to the click, the blank data prompt interface does not support loading of data through the click.
As another embodiment of the present invention, acquiring target interface data corresponding to a target interface includes:
and acquiring target interface data corresponding to the target interface according to the corresponding relation between the pre-stored interface and the interface data.
The detailed description in step S103 can be referred to for a specific process, which is not repeated herein.
As another embodiment of the present invention, after step S102, the method for prompting blank data of an application program may further include the following steps:
and if the read data in the data source is not blank data, displaying the data.
In the embodiment of the invention, if the data in the read data source is not blank data, that is, the data in the read data source is not blank, the data in the read data source is directly displayed on the target interface.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
Fig. 3 is a schematic block diagram of an application blank data prompting system according to an embodiment of the present invention, and for convenience of description, only the portions related to the embodiment of the present invention are shown.
In the embodiment of the present invention, the application blank data presentation system is applied to an iOS operating system, and the application blank data presentation system 3 includes:
the interface refreshing monitoring module 31 is configured to monitor an interface refreshing message of the application program, where the interface refreshing message includes a target interface;
the data source reading module 32 is configured to read a data source of a preset control included in the target interface after monitoring the interface refresh message;
a target interface data obtaining module 33, configured to obtain target interface data corresponding to the target interface if the read data in the data source is blank data;
and the prompt interface generating module 34 is configured to generate a blank data prompt interface according to the target interface data, and display the blank data prompt interface.
Optionally, the application blank data prompting system 3 further includes:
the judging module is used for judging whether the blank data prompting interface supports loading data through a preset action;
the first processing module is used for not executing any operation if the blank data prompting interface does not support the data loading through the preset action;
the preset action message monitoring module is used for monitoring the preset action message of the blank data prompting interface if the blank data prompting interface supports loading of data through a preset action;
and the second processing module is used for continuously executing the step of reading the data source of the preset control contained in the target interface if the preset action message is monitored.
Optionally, the determining module includes:
the judging unit is used for judging whether the target interface data contains interface data corresponding to the preset action;
the first judgment unit is used for loading the data through the preset action by the blank data prompt interface if the target interface data contains interface data corresponding to the preset action;
and the second judging unit is used for not supporting the loading of the data through the preset action by the blank data prompting interface if the target interface data does not contain the interface data corresponding to the preset action.
Optionally, the target interface data obtaining module 33 is further configured to obtain target interface data corresponding to the target interface according to a correspondence between a pre-stored interface and interface data.
Optionally, the application blank data prompting system 3 further includes:
and the data display module is used for displaying the data if the read data in the data source is not blank data.
It is obvious to those skilled in the art that, for convenience and simplicity of description, the foregoing functional units and modules are merely illustrated in terms of division, and in practical applications, the foregoing functional allocation may be performed by different functional units and modules as needed, that is, the internal structure of the application blank data prompting system is divided into different functional units or modules to perform all or part of the above described functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the above-mentioned apparatus may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
Fig. 4 is a schematic block diagram of a terminal device according to an embodiment of the present invention. As shown in fig. 4, the terminal device 4 of this embodiment includes: one or more processors 40, a memory 41, and a computer program 42 stored in the memory 41 and executable on the processors 40. The processor 40 implements the steps in the above embodiments of the method for prompting blank data of the application program, such as steps S101 to S104 shown in fig. 1, when executing the computer program 42. Alternatively, the processor 40 executes the computer program 42 to implement the functions of the modules/units in the above-mentioned embodiment of the application blank data prompting system, such as the functions of the modules 31 to 34 shown in fig. 3.
Illustratively, the computer program 42 may be partitioned into one or more modules/units that are stored in the memory 41 and executed by the processor 40 to accomplish the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program 42 in the terminal device 4. For example, the computer program 42 may be divided into an interface refreshing and monitoring module, a data source reading module, a target interface data obtaining module, and a prompt interface generating module, where the specific functions of the modules are as follows:
the interface refreshing monitoring module is used for monitoring interface refreshing information of the application program, and the interface refreshing information comprises a target interface;
the data source reading module is used for reading a data source of a preset control contained in the target interface after monitoring the interface refreshing message;
the target interface data acquisition module is used for acquiring target interface data corresponding to a target interface if the read data in the data source is blank data;
and the prompt interface generating module is used for generating a blank data prompt interface according to the target interface data and displaying the blank data prompt interface.
Other modules or units may refer to the description of the embodiment shown in fig. 3, and are not described herein again.
The terminal device can be a mobile phone, a tablet computer and other computing devices. The terminal device 4 includes, but is not limited to, a processor 40 and a memory 41. It will be understood by those skilled in the art that fig. 4 is only one example of a terminal device, and does not constitute a limitation to terminal device 4, and may include more or less components than those shown, or combine some components, or different components, for example, terminal device 4 may also include an input device, an output device, a network access device, a bus, etc.
The Processor 40 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 41 may be an internal storage unit of the terminal device, such as a hard disk or a memory of the terminal device. The memory 41 may also be an external storage device of the terminal device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the terminal device. Further, the memory 41 may also include both an internal storage unit of the terminal device and an external storage device. The memory 41 is used for storing the computer program 42 and other programs and data required by the terminal device. The memory 41 may also be used to temporarily store data that has been output or is to be output.
In the above embodiments, the description of each embodiment has its own emphasis, and reference may be made to the related description of other embodiments for parts that are not described or recited in any embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed application blank data prompting system and method can be implemented in other ways. For example, the above-described embodiments of the application blanking data prompting system are merely illustrative, and for example, the division of the modules or units is only one logical division, and the actual implementation may have another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method of the embodiments described above can be realized by a computer program, which can be stored in a computer-readable storage medium and can realize the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain suitable additions or subtractions depending on the requirements of legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media may not include electrical carrier signals or telecommunication signals in accordance with legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

1. An application blank data prompting method is applied to an iOS operating system, and comprises the following steps:
monitoring an interface refreshing message of an application program, wherein the interface refreshing message comprises a target interface, and the target interface is an interface which is selected by a user to be refreshed or an automatically refreshed interface;
after an interface refreshing message is monitored, reading a data source of a preset control contained in the target interface, wherein the preset control comprises an UITableView control and an UICollectionView control;
if the read data in the data source is blank data, acquiring target interface data corresponding to the target interface according to a corresponding relation between a pre-stored interface and interface data, wherein the target interface data is the interface data corresponding to the target interface;
and calling a frame interface corresponding to the target interface data according to the target interface data, generating a blank data prompt interface, and displaying the blank data prompt interface.
2. The method for prompting the application program blank data according to claim 1, wherein after the frame interface corresponding to the target interface data is called according to the target interface data, a blank data prompting interface is generated, and the blank data prompting interface is displayed, the method further comprises:
judging whether the blank data prompt interface supports data loading through a preset action or not, wherein the preset action comprises one of clicking, sliding and dragging;
if the blank data prompt interface does not support loading data through a preset action, no operation is executed;
if the blank data prompting interface supports loading data through a preset action, monitoring a preset action message of the blank data prompting interface;
and if the preset action message is monitored, continuing to execute the step of reading the data source of the preset control contained in the target interface.
3. The method for prompting the blank data of the application program according to claim 2, wherein the determining whether the blank data prompting interface supports loading data through a preset action comprises:
judging whether the target interface data contains interface data corresponding to the preset action;
if the target interface data comprises interface data corresponding to the preset action, the blank data prompt interface supports loading data through the preset action;
and if the target interface data does not contain interface data corresponding to the preset action, the blank data prompting interface does not support loading data through the preset action.
4. The method for prompting application blank data according to any one of claims 1 to 3, wherein after the reading of the data source of the preset control included in the target interface, the method further comprises:
and if the read data in the data source is not blank data, displaying the data.
5. An application blanking data prompting system applied to an iOS operating system, the application blanking data prompting system comprising:
the interface refreshing monitoring module is used for monitoring interface refreshing information of an application program, wherein the interface refreshing information comprises a target interface, and the target interface is an interface which is refreshed by a user selection or an interface which is refreshed automatically;
the data source reading module is used for reading a data source of a preset control contained in the target interface after monitoring an interface refreshing message, wherein the preset control comprises an UITableView control and an UICollectionView control;
a target interface data obtaining module, configured to obtain target interface data corresponding to a target interface according to a correspondence between a pre-stored interface and interface data if the read data in the data source is blank data, where the target interface data is the interface data corresponding to the target interface;
and the prompt interface generation module is used for calling a frame interface corresponding to the target interface data according to the target interface data, generating a blank data prompt interface and displaying the blank data prompt interface.
6. The application blanking data prompting system of claim 5, further comprising:
the judging module is used for judging whether the blank data prompting interface supports data loading through a preset action or not, wherein the preset action comprises one of clicking, sliding and dragging;
the first processing module is used for not executing any operation if the blank data prompting interface does not support the data loading through a preset action;
the preset action message monitoring module is used for monitoring the preset action message of the blank data prompting interface if the blank data prompting interface supports loading of data through a preset action;
and the second processing module is used for continuously executing the step of reading the data source of the preset control contained in the target interface if the preset action message is monitored.
7. The system of claim 6, wherein the determining module comprises:
the judging unit is used for judging whether the target interface data contains interface data corresponding to a preset action;
the first judgment unit is used for enabling the blank data prompt interface to support loading of data through a preset action if the target interface data contain interface data corresponding to the preset action;
and the second judging unit is used for judging whether the target interface data does not contain interface data corresponding to a preset action or not, and if not, the blank data prompting interface does not support loading data through the preset action.
8. The application blanking data prompting system of any one of claims 5-7, wherein the system further comprises:
and the data display module is used for displaying the data if the read data in the data source is not blank data.
9. A terminal device comprising a memory, a processor and a computer program stored in said memory and executable on said processor, characterized in that said processor when executing said computer program realizes the steps of the application blanking data prompting method according to any one of claims 1 to 4.
10. A computer-readable storage medium, in which a computer program is stored, which, when being executed by one or more processors, carries out the steps of the application whitespace data prompting method according to any one of claims 1 to 4.
CN201811472437.XA 2018-12-04 2018-12-04 Application program blank data prompting method and system and terminal equipment Active CN109783329B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811472437.XA CN109783329B (en) 2018-12-04 2018-12-04 Application program blank data prompting method and system and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811472437.XA CN109783329B (en) 2018-12-04 2018-12-04 Application program blank data prompting method and system and terminal equipment

Publications (2)

Publication Number Publication Date
CN109783329A CN109783329A (en) 2019-05-21
CN109783329B true CN109783329B (en) 2022-07-19

Family

ID=66496596

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811472437.XA Active CN109783329B (en) 2018-12-04 2018-12-04 Application program blank data prompting method and system and terminal equipment

Country Status (1)

Country Link
CN (1) CN109783329B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105677366A (en) * 2016-02-26 2016-06-15 四川长虹电器股份有限公司 Method for achieving infinite circulating rolling selection based on UITableView in iOS
CN105955777A (en) * 2016-05-03 2016-09-21 网易(杭州)网络有限公司 User interface refreshing method and device
CN106681602A (en) * 2016-11-25 2017-05-17 努比亚技术有限公司 Terminal display control device and method
CN106775805A (en) * 2016-11-18 2017-05-31 三星电子(中国)研发中心 The application process and system of a kind of application program launching blank time
CN108171049A (en) * 2017-12-27 2018-06-15 深圳豪客互联网有限公司 A kind of malicious link clicks control method and control system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9116766B2 (en) * 2013-07-31 2015-08-25 Sap Se Extensible applications using a mobile application framework

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105677366A (en) * 2016-02-26 2016-06-15 四川长虹电器股份有限公司 Method for achieving infinite circulating rolling selection based on UITableView in iOS
CN105955777A (en) * 2016-05-03 2016-09-21 网易(杭州)网络有限公司 User interface refreshing method and device
CN106775805A (en) * 2016-11-18 2017-05-31 三星电子(中国)研发中心 The application process and system of a kind of application program launching blank time
CN106681602A (en) * 2016-11-25 2017-05-17 努比亚技术有限公司 Terminal display control device and method
CN108171049A (en) * 2017-12-27 2018-06-15 深圳豪客互联网有限公司 A kind of malicious link clicks control method and control system

Also Published As

Publication number Publication date
CN109783329A (en) 2019-05-21

Similar Documents

Publication Publication Date Title
CN105335132B (en) Method, device and system for customizing application program function
CN111124668B (en) Memory release method, memory release device, storage medium and terminal
CN109522021B (en) Parameter callback processing method and device, electronic equipment and storage medium
CN105376719A (en) Information pushing method and device
CN107506483A (en) Page loading method, device, electronic equipment and storage medium
CN117632746A (en) Pile inserting processing method and device, storage medium and electronic equipment
CN112800363A (en) Page display method and device, electronic equipment and computer readable medium
CN112463518A (en) Page full-life-cycle monitoring method, device, equipment and storage medium based on Flutter
CN107943442A (en) A kind of method and apparatus for realizing shuangping san
CN109783329B (en) Application program blank data prompting method and system and terminal equipment
CN111273967A (en) Remote hook setting method and device suitable for Android system and electronic equipment
CN110730300A (en) Camera control method, device, storage medium and terminal
CN109144624B (en) Method, storage medium, device and system for displaying unequal height lists in IOS
CN116028140A (en) Plug-in adding method and device, electronic equipment and storage medium
CN110874143B (en) Sensor data acquisition method, intelligent terminal, storage medium and electronic equipment
CN115018574A (en) Information display method and device, electronic equipment and storage medium
CN114327087A (en) Input event processing method and device, electronic equipment and storage medium
CN114840194A (en) Code and operating system generation method and device, server and electronic equipment
CN115526953A (en) Method and device for generating view, electronic equipment and storage medium
CN113988009A (en) Information delivery area generation method, information delivery method, electronic device and storage medium
CN113434423A (en) Interface test method and device
CN112612633A (en) Inter-process communication method, device, storage medium and terminal
CN107391128B (en) Method and device for monitoring virtual file object model vdom
CN112612487B (en) Application installation method, device, storage medium and terminal
CN116389915B (en) Method and device for reducing flicker of light field camera

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
GR01 Patent grant
GR01 Patent grant