CN115185521A - Page processing method and device, electronic equipment and storage medium - Google Patents

Page processing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN115185521A
CN115185521A CN202210881061.8A CN202210881061A CN115185521A CN 115185521 A CN115185521 A CN 115185521A CN 202210881061 A CN202210881061 A CN 202210881061A CN 115185521 A CN115185521 A CN 115185521A
Authority
CN
China
Prior art keywords
page
filter
current page
processed
time period
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
CN202210881061.8A
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 Ziroom Information Technology Co Ltd
Original Assignee
Beijing Ziroom Information 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 Ziroom Information Technology Co Ltd filed Critical Beijing Ziroom Information Technology Co Ltd
Priority to CN202210881061.8A priority Critical patent/CN115185521A/en
Publication of CN115185521A publication Critical patent/CN115185521A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Abstract

The invention discloses a page processing method, a page processing device, electronic equipment and a storage medium, and is suitable for the technical field of page processing. The method comprises the following steps: acquiring page configuration information, wherein the page configuration information comprises identification information corresponding to a page to be processed; identifying identification information corresponding to the current page to determine whether the current page is a page to be processed; when the current page is determined to be the page to be processed, acquiring the display time of the current page; and when the display time meets the preset time requirement, adding a filter to the current page to determine the target page. According to the page processing method, each element on the page does not need to be drawn into grey, the filter is directly added to the current page, and the target page is determined, so that the workload of computer equipment is reduced, the working efficiency is improved, and the normal work of the computer equipment is not influenced.

Description

Page processing method and device, electronic equipment and storage medium
Technical Field
The invention relates to the technical field of page processing, in particular to a page processing method and device, electronic equipment and a storage medium.
Background
In the prior art, each element on a page is required to be drawn to be gray, and because the number of elements included in the page is too many, the workload of the computer device is high, the efficiency is low, and the normal work of the computer device can be influenced.
Disclosure of Invention
In view of this, embodiments of the present invention provide a page processing method and apparatus, an electronic device, and a storage medium, so as to solve the problem in the prior art that rendering each element on a page to be gray causes a large workload of a computer device and low efficiency, which may affect the normal operation of the computer device.
According to a first aspect, an embodiment of the present invention provides a page processing method, including:
acquiring page configuration information, wherein the page configuration information comprises identification information corresponding to a page to be processed;
identifying identification information corresponding to the current page to determine whether the current page is a page to be processed;
when the current page is determined to be the page to be processed, acquiring the display time of the current page;
and when the display time meets the preset time requirement, adding a filter to the current page to determine the target page.
The page processing method provided by the embodiment of the invention obtains the page configuration information, wherein the page configuration information comprises the identification information corresponding to the page to be processed. And identifying the identification information corresponding to the current page to determine whether the current page is a page to be processed or not, so as to avoid processing the current page which is not the page to be processed. When the current page is determined to be the page to be processed, the display time of the current page is obtained, and the accuracy of the obtained display time corresponding to the current page is ensured. When the display time meets the preset time requirement, the target page is determined by adding the filter to the current page, and the accuracy of adding the filter to the current page is guaranteed. According to the page processing method, each element on the page does not need to be drawn into grey, the filter is directly added to the current page, and the target page is determined, so that the workload of computer equipment is reduced, the working efficiency is improved, and the normal work of the computer equipment is not influenced.
With reference to the first aspect, in a first implementation manner of the first aspect, the page configuration information further includes a filter adding time period corresponding to a page to be processed, and when the display time meets a preset time requirement, determining a target page for adding a filter to the current page includes:
acquiring a filter adding time period corresponding to a page to be processed;
comparing the display time with the filter adding time period;
and when the display time is within the filter adding time period, determining a target page for adding a filter to the current page.
According to the page processing method provided by the embodiment of the invention, the filter adding time period corresponding to the page to be processed is obtained, and the display time is compared with the filter adding time period, so that the accuracy of the filter adding time for the current page is ensured, and the filter is prevented from being added to the current page at wrong time. When the display time is within the filter adding time period, the target page is determined by adding the filter to the current page, and the accuracy of adding the filter to the current page is ensured.
With reference to the first implementation manner of the first aspect, in a second implementation manner of the first aspect, when the display time is within the filter adding time period, determining a target page for the current page adding filter includes:
when the display time is within the filter adding time period, identifying the filter adding time period, and determining a target event corresponding to the filter adding time period;
determining a target color filter corresponding to the target event according to the corresponding relationship between the event and the filter;
and adding a target color filter for the current page to determine a target page.
According to the page processing method provided by the embodiment of the invention, when the display time is within the filter adding time period, the filter adding time period is identified, the target event corresponding to the filter adding time period is determined, and the accuracy of the target event corresponding to the determined filter adding time period is ensured. And determining a target color filter corresponding to the target event according to the corresponding relationship between the event and the filter, thereby ensuring the accuracy of the target color filter corresponding to the determined target event. And a target color filter is added to the current page to determine the target page, so that the accuracy of the determined target page is ensured.
With reference to the first embodiment of the first aspect, in a third embodiment of the first aspect, the method further includes:
and when the display time corresponding to the current page is not within the filter adding time period, removing the filter of the current page.
According to the page processing method provided by the embodiment of the invention, when the display time corresponding to the current page is not within the filter adding time period, the filter of the current page is removed, so that the current page can be correctly displayed.
With reference to the first aspect, in a fourth implementation manner of the first aspect, the obtaining page configuration information includes:
acquiring a storage address corresponding to the page configuration information;
initializing the storage address;
and based on the configuration interface, requesting page configuration information from the server and storing the page configuration information to a storage address.
According to the page processing method provided by the embodiment of the invention, the storage address corresponding to the page configuration information is obtained, and the initialization processing is carried out on the storage address, so that the problem that the page configuration information is stored in the storage address, which causes the error of the page configuration information stored in the storage address, is avoided. Based on the configuration interface, the page configuration information is requested from the server and stored to the storage address, so that the accuracy of the page configuration information stored to the storage address is ensured.
With reference to the first aspect, in a fifth embodiment of the first aspect, the method further comprises:
and when the current page is determined not to be the page to be processed, forbidding adding the filter to the current page.
According to the page processing method provided by the embodiment of the invention, when the current page is determined not to be the page to be processed, the filter is forbidden to be added to the current page, so that the normal display of the current page can be ensured, and the accuracy of the display of the current page is ensured.
According to a second aspect, an embodiment of the present invention further provides a page processing apparatus, including:
the first acquisition module is used for acquiring page configuration information, and the page configuration information comprises identification information corresponding to a page to be processed;
the identification module is used for identifying the identification information corresponding to the current page so as to determine whether the current page is a page to be processed;
the second acquisition module is used for acquiring the display time of the current page when the current page is determined to be the page to be processed;
and the adding module is used for adding a filter to the current page to determine the target page when the display time meets the preset time requirement.
The page processing device provided by the embodiment of the invention acquires the page configuration information, wherein the page configuration information comprises the identification information corresponding to the page to be processed. And identifying the identification information corresponding to the current page to determine whether the current page is a page to be processed or not, so as to avoid processing the current page which is not the page to be processed. When the current page is determined to be the page to be processed, the display time of the current page is obtained, and the accuracy of the obtained display time corresponding to the current page is ensured. When the display time meets the preset time requirement, the target page is determined by adding the filter to the current page, and the accuracy of adding the filter to the current page is guaranteed. According to the page processing device, each element on the page does not need to be drawn into grey, the filter is directly added to the current page, and the target page is determined, so that the workload of computer equipment is reduced, the working efficiency is improved, and the normal work of the computer equipment is not influenced.
With reference to the second aspect, in a first embodiment of the second aspect, the adding module is specifically configured to: acquiring a filter adding time period corresponding to a page to be processed; comparing the display time with the filter adding time period; and when the display time is within the filter adding time period, adding a filter for the current page.
The page processing device provided by the embodiment of the invention obtains the filter adding time period corresponding to the page to be processed, and compares the display time with the filter adding time period, so that the accuracy of the filter adding time for the current page is ensured, and the filter is prevented from being added to the current page at the wrong time. When the display time is within the filter adding time period, the target page is determined by adding the filter to the current page, and the accuracy of adding the filter to the current page is guaranteed.
According to a third aspect, an embodiment of the present invention provides an electronic device, which includes a memory and a processor, where the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the computer instructions, so as to execute the page processing method in the first aspect or any one of the implementation manners of the first aspect.
According to a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, which stores computer instructions for causing a computer to execute the page processing method in the first aspect or any one of the implementation manners of the first aspect.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings 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 some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a flowchart of a page processing method according to an embodiment of the present invention;
FIG. 2 is a flowchart of a page processing method according to another embodiment of the present invention;
FIG. 3 is a flowchart of a page processing method according to another embodiment of the present invention;
FIG. 4 is a functional block diagram of a page processing apparatus provided by an embodiment of the present invention;
FIG. 5 is a functional block diagram of a page processing apparatus provided by an embodiment of the present invention;
fig. 6 is a schematic diagram of a hardware structure of an electronic device provided by an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that, in the method for processing a page provided in the embodiment of the present application, an execution subject of the method may be a page processing apparatus, and the page processing apparatus may be implemented as part or all of a computer device in a software, hardware, or a combination of software and hardware, where the computer device may be a server or a terminal, where the server in the embodiment of the present application may be one server or a server cluster composed of multiple servers, and the terminal in the embodiment of the present application may be other intelligent hardware devices such as a smart phone, a personal computer, a tablet computer, a wearable device, and an intelligent robot. In the following method embodiments, the execution subject is an electronic device as an example.
In an embodiment of the present application, as shown in fig. 1, a page processing method is provided, which is described by taking an example that the method is applied to an electronic device, and includes the following steps:
and S11, acquiring page configuration information.
The page configuration information comprises identification information corresponding to the page to be processed. The page to be processed may be at least one continuous or discontinuous page, or may be all pages, and the number of pages to be processed is not specifically limited in the embodiments of the present application.
In an optional implementation manner of the present application, the server may receive an instruction, which is input by a user, for adding a filter to a to-be-processed page, and then generate the page configuration information according to the instruction input by the user.
When the electronic device starts the APP and loads all classes in the APP, the electronic device may request the server for the page configuration information corresponding to the APP through the interface based on communication with the server. After receiving the request sent by the electronic equipment, the server sends the page configuration information corresponding to the APP to the electronic equipment, so that the electronic equipment can obtain the page configuration information.
In another optional implementation manner of the present application, the electronic device may further receive page configuration information input by the user.
Details regarding this step will be described below.
And S12, identifying the identification information corresponding to the current page to determine whether the current page is a page to be processed.
Specifically, after acquiring the page configuration information sent by the server, the electronic device may identify the identification information corresponding to the current page, and compare the identification information corresponding to the current page with the identification information corresponding to the page to be processed, so as to accurately determine whether the current page is the page to be processed.
And S13, when the current page is determined to be the page to be processed, acquiring the display time of the current page.
Specifically, when the electronic device determines that the current page is the page to be processed, the electronic device may obtain the display time corresponding to the current page before the current page is displayed.
And S14, adding a filter to the current page to determine a target page when the display time meets the preset time requirement.
Specifically, after the electronic device obtains the display time corresponding to the current page, the display time corresponding to the electronic device may be compared with a preset time requirement, and when the display time meets the preset time requirement, the electronic device adds a filter to the current page, so as to determine the target page.
Details about this step will be described later.
The page processing method provided by the embodiment of the invention obtains the page configuration information, wherein the page configuration information comprises the identification information corresponding to the page to be processed. And identifying the identification information corresponding to the current page to determine whether the current page is a page to be processed or not, so as to avoid processing the current page which is not the page to be processed. When the current page is determined to be the page to be processed, the display time of the current page is obtained, and the accuracy of the obtained display time corresponding to the current page is ensured. When the display time meets the preset time requirement, the target page is determined by adding the filter to the current page, and the accuracy of adding the filter to the current page is ensured. According to the page processing method, each element on the page does not need to be drawn into grey, the filter is directly added to the current page, and the target page is determined, so that the workload of computer equipment is reduced, the working efficiency is improved, and the normal work of the computer equipment is not influenced.
In an embodiment of the present application, as shown in fig. 2, a page processing method is provided, which is described by taking an example that the method is applied to an electronic device, and includes the following steps:
and S21, acquiring page configuration information.
The page configuration information comprises identification information corresponding to the page to be processed.
For this step, please refer to the description of S11 in fig. 1, which is not described in detail.
And S22, identifying the identification information corresponding to the current page to determine whether the current page is a to-be-processed page.
For this step, please refer to fig. 1 for the description of S12, which is not repeated here.
And S23, when the current page is determined to be the page to be processed, acquiring the display time of the current page.
For this step, please refer to fig. 1 for the description of S13, which is not repeated here.
And S24, when the display time meets the preset time requirement, adding a filter to the current page to determine the target page.
In an optional implementation manner of this application, the page configuration information further includes a filter adding time period corresponding to the page to be processed, and the step S24 of "determining the target page for adding a filter to the current page when the display time meets the preset time requirement" may include the following steps:
and S241, acquiring a filter adding time period corresponding to the page to be processed.
In an optional implementation manner of the present application, the server may receive a user instruction, where the user instruction may include identification information corresponding to a page to be processed and a filter adding time period. Then, according to the instruction input by the user, page configuration information is generated.
When the electronic device starts the APP and loads all classes in the APP, the electronic device may request the server for the page configuration information corresponding to the APP through the interface based on communication with the server. After receiving the request sent by the electronic equipment, the server sends the page configuration information corresponding to the APP to the electronic equipment, so that the electronic equipment can obtain the page configuration information.
In another optional embodiment of the present application, the electronic device may further receive page configuration information input by the user.
After receiving the page configuration information, the electronic device may obtain a filter adding time period corresponding to the page to be processed included in the page configuration information.
And S242, comparing the display time with the filter adding time period.
Specifically, after the filter adding time period corresponding to the page to be processed is acquired, the electronic device compares the display time corresponding to the current page with the filter adding time period.
And S243, when the display time is within the filter adding time period, adding a filter for the current page to determine a target page.
In an optional implementation manner of the present application, when the display time is within the filter addition time period, the electronic device determines a target page for the current page addition filter.
For example, assuming that the current page is a to-be-processed page, the filter adding time period corresponding to the to-be-processed page is 5 months, 12 days and 0:00-24:00, the electronic device acquires that the display time corresponding to the current page is 5 months, 12 days and 8 days: 00, it can be known that when the display time of the current page is within the filter adding time period, the target page is determined for the current page adding filter.
In an optional embodiment of the present application, the "determining a target page for the current page adding filter when the display time is within the filter adding time period" in S243 may include the following steps:
(1) And when the display time is within the filter adding time period, identifying the filter adding time period, and determining a target event corresponding to the filter adding time period.
(2) And determining a target color filter corresponding to the target event according to the corresponding relation between the event and the filter.
(3) And adding a target color filter for the current page to determine a target page.
Specifically, when the electronic device determines that the display time is within the filter adding time period, in order to accurately determine the target color filter to be added to the current page, the electronic device may identify the filter adding time period, and then determine the target event corresponding to the filter adding time period according to the correspondence between the filter adding time period and the event.
And then, the electronic equipment determines a target color filter corresponding to the target event according to the corresponding relation between the event and the filter, and adds the target color filter to the current page to determine the target page.
For example, assume that a current page is a to-be-processed page, and a filter adding time period corresponding to the to-be-processed page is 5 months, 12 # 0:00-24:00, according to the corresponding relation between the filter adding time period and the events, the electronic equipment determines that the target event corresponding to the filter adding time period is Wenchuan earthquake.
The electronic equipment determines that a target color filter corresponding to the Wenchuan earthquake is gray according to the corresponding relation between the event and the filter, and the electronic equipment adds the gray filter to the current page to determine the target page.
Exemplarily, it is assumed that a current page is a to-be-processed page, and a filter adding time period corresponding to the to-be-processed page is 10 months, no. 1, and 0:00-24:00, according to the corresponding relation between the filter adding time period and the events, the electronic equipment determines that the target event corresponding to the filter adding time period is national celebration.
The electronic equipment determines that a target color filter corresponding to national celebration is red according to the corresponding relation between the event and the filter, and the electronic equipment adds the red filter to the current page to determine the target page.
In an optional embodiment of the present application, the method further includes:
and when the display time corresponding to the current page is not within the filter adding time period, removing the filter of the current page.
Specifically, after the filter adding time period corresponding to the page to be processed is acquired, the electronic device compares the display time corresponding to the current page with the filter adding time period. And when the display time corresponding to the current page is not within the filter adding time period, the electronic equipment removes the filter of the current page.
For example, assuming that the current page is a to-be-processed page, the filter adding time period corresponding to the to-be-processed page is 5 months, 12 # 0:00-24:00, the electronic equipment acquires that the display time corresponding to the current page is No. 1 of 5 months and No. 13: 00, it can be known that, when the display time of the current page is not within the filter addition time period, the filter of the current page is removed.
According to the page processing method provided by the embodiment of the invention, the filter adding time period corresponding to the page to be processed is obtained, and the display time is compared with the filter adding time period, so that the accuracy of the filter adding time for the current page is ensured, and the filter is prevented from being added to the current page at the wrong time. And when the display time is within the filter adding time period, identifying the filter adding time period, determining the target event corresponding to the filter adding time period, and ensuring the accuracy of the target event corresponding to the determined filter adding time period. And determining a target color filter corresponding to the target event according to the corresponding relation between the event and the filter, thereby ensuring the accuracy of the target color filter corresponding to the determined target event. And a target page is determined by adding a target color filter to the current page, so that the accuracy of the determined target page is ensured. In addition, when the display time corresponding to the current page is not within the filter adding time period, the filter of the current page is removed, and the current page can be correctly displayed.
In an embodiment of the present application, as shown in fig. 3, a page processing method is provided, which is described by taking an example that the method is applied to an electronic device, and includes the following steps:
and S31, acquiring page configuration information.
The page configuration information comprises identification information corresponding to the page to be processed.
In an optional implementation manner of this application, the "acquiring page configuration information" in S31 may include the following steps:
and S311, acquiring a storage address corresponding to the page configuration information.
Specifically, after acquiring the page configuration information, the electronic device may first acquire a corresponding storage address of the page configuration information.
And S312, initializing the storage address.
Specifically, in order to ensure that the read page configuration information is accurate when the electronic device reads the page configuration information from the memory address, the electronic device needs to initialize the memory address before storing the page configuration information in the memory address, so as to avoid that the historical page configuration information is already stored in the memory address, which results in an error in the read page configuration information when the electronic device reads the page configuration information from the memory address.
S313, based on the configuration interface, requesting page configuration information from the server, and storing the page configuration information to a storage address.
Specifically, the server may receive a user instruction, where the user instruction may include identification information corresponding to the page to be processed and a filter adding time period. Then, according to the instruction input by the user, page configuration information is generated.
After initializing the storage address, when starting the APP and loading all classes in the APP, the electronic device may request, through the configuration interface, the server for the page configuration information corresponding to the APP based on the communication with the server. After receiving the request sent by the electronic equipment, the server sends the page configuration information corresponding to the APP to the electronic equipment, so that the electronic equipment can acquire the page configuration information and store the page configuration information to the storage address.
And S32, identifying the identification information corresponding to the current page to determine whether the current page is a to-be-processed page.
For this step, please refer to fig. 2 for description of S22, which is not described herein.
And S33, when the current page is determined to be the page to be processed, acquiring the display time of the current page.
Please refer to fig. 2 for an introduction of S23, which is not described herein.
And S34, when the display time meets the preset time requirement, adding a filter to the current page to determine the target page.
For this step, please refer to fig. 2 for the description of S24, which is not repeated herein.
And S35, when the current page is determined not to be the page to be processed, adding a filter to the current page is forbidden.
Specifically, after the electronic device obtains the page configuration information sent by the server, the electronic device may identify the identification information corresponding to the current page, compare the identification information corresponding to the current page with the identification information corresponding to the page to be processed, and prohibit adding a filter to the current page when the current page is determined not to be the page to be processed according to the comparison result.
According to the page processing method provided by the embodiment of the invention, the storage address corresponding to the page configuration information is obtained, and the initialization processing is carried out on the storage address, so that the problem that the page configuration information is stored in the storage address, which causes the error of the page configuration information stored in the storage address, is avoided. Based on the configuration interface, the page configuration information is requested from the server and stored to the storage address, so that the accuracy of the page configuration information stored to the storage address is ensured.
In addition, when the current page is determined not to be the page to be processed, the filter is forbidden to be added to the current page, so that the normal display of the current page can be ensured, and the accuracy of the display of the current page is ensured.
It should be understood that although the various steps in the flow charts of fig. 1-3 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 1-3 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed in turn or alternately with other steps or at least some of the other steps.
As shown in fig. 4, the present embodiment provides a page processing apparatus, including:
a first obtaining module 41, configured to obtain page configuration information, where the page configuration information includes identification information corresponding to a page to be processed;
the identification module 42 is configured to identify identification information corresponding to the current page to determine whether the current page is a to-be-processed page;
a second obtaining module 43, configured to obtain a display time of the current page when it is determined that the current page is a to-be-processed page;
and the adding module 44 is configured to add a filter to the current page to determine a target page when the display time meets a preset time requirement.
In an embodiment of the present application, the page configuration information further includes a filter adding time period corresponding to the page to be processed, and the adding module 44 is specifically configured to obtain the filter adding time period corresponding to the page to be processed; comparing the display time with the filter adding time period; and when the display time is within the filter adding time period, adding a filter for the current page.
In an embodiment of the present application, the adding module 44 is specifically configured to, when the display time is within the filter adding time period, identify the filter adding time period, and determine a target event corresponding to the filter adding time period; determining a target color filter corresponding to the target event according to the corresponding relationship between the event and the filter; and adding a target color filter for the current page to determine a target page.
In an embodiment of the present application, the adding module 44 is specifically configured to remove the filter of the current page when the display time corresponding to the current page is not within the filter adding time period.
In an embodiment of the present application, the first obtaining module 41 is specifically configured to obtain a storage address corresponding to the page configuration information; initializing the storage address; and based on the configuration interface, requesting page configuration information from the server and storing the page configuration information to a storage address.
As shown in fig. 5, in an embodiment of the application, the page processing apparatus further includes:
and the forbidding module 45 is used for forbidding adding the filter to the current page when the current page is determined not to be the page to be processed.
For specific limitations and beneficial effects of the page processing apparatus, reference may be made to the above limitations on the page processing method, which is not described herein again. The various modules in the page processing apparatus described above may be implemented in whole or in part by software, hardware, and combinations thereof. The modules can be embedded in a hardware form or independent of a processor in the electronic device, or can be stored in a memory in the electronic device in a software form, so that the processor can call and execute operations corresponding to the modules.
An embodiment of the present invention further provides an electronic device, which has the page processing apparatus shown in fig. 4 or fig. 5.
As shown in fig. 6, fig. 6 is a schematic structural diagram of an electronic device according to an alternative embodiment of the present invention, and as shown in fig. 6, the electronic device may include: at least one processor 51, such as a CPU (Central Processing Unit), at least one communication interface 53, memory 54, at least one communication bus 52. Wherein the communication bus 52 is used to enable connection communication between these components. The communication interface 53 may include a Display (Display) and a Keyboard (Keyboard), and the optional communication interface 53 may also include a standard wired interface and a standard wireless interface. The Memory 54 may be a high-speed RAM Memory (volatile Random Access Memory) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. The memory 54 may alternatively be at least one memory device located remotely from the processor 51. Wherein the processor 51 may be combined with the apparatus described in fig. 4 or fig. 5, the memory 54 stores an application program, and the processor 51 calls the program code stored in the memory 54 for performing any of the above method steps.
The communication bus 52 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus 52 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 6, but that does not indicate only one bus or one type of bus.
The memory 54 may include a volatile memory (RAM), such as a random-access memory (RAM); the memory may also include a non-volatile memory (english: flash memory), such as a Hard Disk Drive (HDD) or a solid-state drive (SSD); the memory 54 may also comprise a combination of the above types of memory.
The processor 51 may be a Central Processing Unit (CPU), a Network Processor (NP), or a combination of a CPU and an NP.
The processor 51 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a Programmable Logic Device (PLD), or a combination thereof. The PLD may be a Complex Programmable Logic Device (CPLD), a field-programmable gate array (FPGA), general Array Logic (GAL), or any combination thereof.
Optionally, the memory 54 is also used to store program instructions. The processor 51 may call program instructions to implement the page processing method as shown in the embodiments of fig. 1 to 3 of the present application.
The embodiment of the invention also provides a non-transitory computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions can execute the page processing method in any method embodiment. The storage medium may be a magnetic Disk, an optical Disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a Flash Memory (Flash Memory), a Hard Disk Drive (Hard Disk Drive, abbreviated as HDD), or a Solid State Drive (SSD); the storage medium may also comprise a combination of memories of the kind described above.
Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations fall within the scope defined by the appended claims.

Claims (10)

1. A page processing method is characterized by comprising the following steps:
acquiring page configuration information, wherein the page configuration information comprises identification information corresponding to a page to be processed;
identifying identification information corresponding to a current page to determine whether the current page is a page to be processed;
when the current page is determined to be the page to be processed, acquiring the display time of the current page;
and when the display time meets the preset time requirement, adding a filter to the current page to determine a target page.
2. The method according to claim 1, wherein the page configuration information further includes a filter adding time period corresponding to the page to be processed, and when the display time meets a preset time requirement, determining a target page for adding a filter to the current page includes:
acquiring a filter adding time period corresponding to the page to be processed;
comparing the display time to the filter addition time period;
and when the display time is within the filter adding time period, adding the filter to the current page to determine the target page.
3. The method of claim 2, wherein the determining the target page by adding the filter to the current page when the display time is within the filter addition time period comprises:
when the display time is within the filter adding time period, identifying the filter adding time period, and determining a target event corresponding to the filter adding time period;
determining a target color filter corresponding to the target event according to the corresponding relationship between the event and the filter;
and adding the target color filter for the current page to determine the target page.
4. The method of claim 2, further comprising:
and when the display time corresponding to the current page is not within the filter adding time period, removing the filter of the current page.
5. The method of claim 1, wherein the obtaining page configuration information comprises:
acquiring a storage address corresponding to the page configuration information;
initializing the storage address;
based on a configuration interface, requesting the page configuration information from a server and storing the page configuration information to the storage address.
6. The method of claim 1, further comprising:
and when the current page is determined not to be the page to be processed, forbidding adding a filter to the current page.
7. A page processing apparatus, comprising:
the first acquisition module is used for acquiring page configuration information, wherein the page configuration information comprises identification information corresponding to a page to be processed;
the identification module is used for identifying the identification information corresponding to the current page so as to determine whether the current page is a page to be processed;
the second obtaining module is used for obtaining the display time of the current page when the current page is determined to be the page to be processed;
and the adding module is used for adding a filter to the current page to determine a target page when the display time meets the preset time requirement.
8. The apparatus according to claim 7, wherein the page configuration information further includes a filter addition time period corresponding to the page to be processed, and the adding module is configured to obtain the filter addition time period corresponding to the page to be processed;
comparing the display time to the filter addition time period;
and when the display time is within the filter adding time period, adding the filter to the current page.
9. An electronic device, comprising a memory and a processor, wherein the memory stores computer instructions, and the processor executes the computer instructions to perform the page processing method according to any one of claims 1 to 6.
10. A computer-readable storage medium storing computer instructions for causing a computer to perform the page processing method according to any one of claims 1 to 6.
CN202210881061.8A 2022-07-25 2022-07-25 Page processing method and device, electronic equipment and storage medium Pending CN115185521A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210881061.8A CN115185521A (en) 2022-07-25 2022-07-25 Page processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210881061.8A CN115185521A (en) 2022-07-25 2022-07-25 Page processing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115185521A true CN115185521A (en) 2022-10-14

Family

ID=83521034

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210881061.8A Pending CN115185521A (en) 2022-07-25 2022-07-25 Page processing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115185521A (en)

Similar Documents

Publication Publication Date Title
CN107832062B (en) Program updating method and terminal equipment
CN110928802A (en) Test method, device, equipment and storage medium based on automatic generation of case
CN108845869B (en) Concurrent request control method, device, computer equipment and storage medium
CN107704253B (en) Control character color transformation method and system and electronic device
EP3933743A1 (en) Method and device for blockchain transaction tracing
CN110458184B (en) Optical character recognition assistance method, device, computer equipment and storage medium
CN113407254B (en) Form generation method and device, electronic equipment and storage medium
CN110222019B (en) Method and device for adjusting space occupied by file system
CN110378479B (en) Image input method and device based on deep learning and terminal equipment
CN115185521A (en) Page processing method and device, electronic equipment and storage medium
CN113272785B (en) Method for mounting file system, terminal equipment and storage medium
CN108629219B (en) Method and device for identifying one-dimensional code
CN105022746A (en) Character library generation method, server and system
CN113111078B (en) Resource data processing method and device, computer equipment and storage medium
CN115185724A (en) Fault processing method, device, electronic equipment and storage medium
CN114442930A (en) Method and device for controlling group disk array, electronic equipment and readable storage medium
CN113900562A (en) Excel-based testing method and device and storage medium
CN112035656A (en) Method, device, computer equipment and medium for quickly previewing document
CN109271538A (en) A kind of picture storage method and relevant device
CN111833232A (en) Image processing device
CN111079390A (en) Method and device for determining selection state of check box list
CN114564375A (en) Working pressure determination method and device, electronic equipment and storage medium
CN111144973B (en) Question ranking method and computer-readable storage medium
CN113673268B (en) Identification method, system and equipment for different brightness
CN109324797B (en) Desktop icon generation method, computer readable storage medium and terminal 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