CN114327453B - Page display method, device, equipment and storage medium - Google Patents

Page display method, device, equipment and storage medium Download PDF

Info

Publication number
CN114327453B
CN114327453B CN202111554336.9A CN202111554336A CN114327453B CN 114327453 B CN114327453 B CN 114327453B CN 202111554336 A CN202111554336 A CN 202111554336A CN 114327453 B CN114327453 B CN 114327453B
Authority
CN
China
Prior art keywords
page
information
user
list
function
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
CN202111554336.9A
Other languages
Chinese (zh)
Other versions
CN114327453A (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.)
China Science And Technology Big Data Research Institute
Original Assignee
China Science And Technology Big Data Research Institute
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 China Science And Technology Big Data Research Institute filed Critical China Science And Technology Big Data Research Institute
Priority to CN202111554336.9A priority Critical patent/CN114327453B/en
Publication of CN114327453A publication Critical patent/CN114327453A/en
Application granted granted Critical
Publication of CN114327453B publication Critical patent/CN114327453B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure provides a page display method, a device, equipment and a storage medium, wherein the method comprises the following steps: receiving screening information input by a user on a first list page; responding to a jump request triggered by a user to the function control, and acquiring a preset first page multiplexing identifier; if the first page multiplexing identifier is a first parameter, caching a first list page comprising screening information, and jumping to a function page; updating background data according to information processing operation of a user on the function page; responding to a request for returning to the first list page triggered by a user, and acquiring a second page multiplexing identifier; and if the second page multiplexing identifier is a second parameter, calling a background interface function to update the related data information in the first list page, generating a second list page comprising the screening information, and displaying the second list page. According to the method and the device, the screening information with different complexity degrees in the first list page can be restored, the repeated restoration work is reduced, and the development workload is reduced.

Description

Page display method, device, equipment and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a page display method, apparatus, device, and storage medium.
Background
After a user inputs query information on a list page, when the user needs to perform data processing and leaves the list page, a list page assembly of the list page is destroyed, screening information input by the user is lost, and when the user returns to the list page from the data processing page, the screening information input before does not exist in the list page.
In the related art, a corresponding filtering information storage rule is set according to the complexity of the filtering conditions in different list pages, so that the query information is stored.
However, in the above method, since the complexity of the filtering condition in each list page is different, the repeated recovery work needs to be performed to recover the filtering information according to different page requirements, and thus the development workload is greatly increased.
Disclosure of Invention
To solve the technical problem or at least partially solve the technical problem, the present disclosure provides a page display method, apparatus, device and storage medium.
In a first aspect, the present disclosure provides a page display method, including:
receiving screening information input by a user on a first list page;
responding to a jump request triggered by the user to the function control of the first list page, and acquiring a preset first page multiplexing identifier corresponding to the first list page;
if the first page multiplexing identifier is a first parameter, caching the first list page comprising the screening information, and jumping to a function page corresponding to the function control;
updating background data according to information processing operation of the user on the function page, wherein the information processing operation is used for updating related data information in the first list page;
responding to a request which is triggered by the user and returned from the functional page to the first list page, and acquiring a second page multiplexing identifier of the functional page;
and if the second page multiplexing identifier is a second parameter, calling a background interface function to update related data information in the first list page according to current background data, generating a second list page comprising the screening information, and displaying the second list page.
In an optional implementation manner, before the obtaining a preset first page multiplexing identifier corresponding to the first list page, the method further includes:
generating a routing module according to a module generation instruction sent by the user;
generating the first list page and the function page according to a page generation instruction sent by the user, associating the routing module with the first list page and the function page, and generating a routing file provided with a routing array;
configuring the first page multiplexing identifier corresponding to the first list page in a first component of the routing array based on the configuration of the user to the routing array; and configuring the second page multiplexing identification corresponding to the functional page in a second component of the routing array.
In an alternative embodiment, the functionality control comprises an information creation control, the functionality page comprises an information creation page,
the updating background data according to the information processing operation of the user on the function page comprises the following steps:
and creating the newly added information in background data according to the information creating operation of creating the newly added information on the information creating page by the user.
In an alternative embodiment, the functionality control comprises an information modification control, the functionality page comprises an information modification page,
the updating background data according to the information processing operation of the user on the function page comprises the following steps:
and according to the information modification operation that the user modifies the original information in the information modification page into the updated information, modifying the original information in the background data into the updated information.
In an optional embodiment, the invoking a background interface function to update the relevant data information in the first list page according to the current background data includes:
predefining a service file, and adding a public function in the service file;
and calling the background interface function through the public function, and updating related data information in the first list page according to current background data.
In an optional embodiment, the method further comprises:
and if the second page multiplexing identifier is not the second parameter, generating a third list page which does not comprise the screening information, and displaying the third list page.
In a second aspect, the present disclosure also provides a page display apparatus, the apparatus including:
the receiving module is used for receiving screening information input by a user on a first list page;
the first obtaining module is used for responding to a jump request triggered by the user to the function control of the first list page and obtaining a preset first page multiplexing identifier corresponding to the first list page;
the first processing module is used for caching the first list page comprising the screening information and jumping to a function page corresponding to the function control if the first page multiplexing identifier is a first parameter;
the updating module is used for updating background data according to the information processing operation of the user on the functional page, wherein the information processing operation is used for updating related data information in the first list page;
a second obtaining module, configured to obtain a second page multiplexing identifier of the functional page in response to a request, triggered by the user, for returning to the first list page from the functional page;
and the second processing module is used for calling a background interface function to update related data information in the first list page according to current background data if the second page multiplexing identifier is a second parameter, generating a second list page comprising the screening information, and displaying the second list page.
In a third aspect, the present disclosure provides a computer-readable storage medium having stored therein instructions that, when run on a terminal device, cause the terminal device to implement the above-mentioned method.
In a fourth aspect, the present disclosure provides an electronic device comprising: a processor; a memory for storing the processor-executable instructions; the processor is used for reading the executable instructions from the memory and executing the instructions to realize the method.
In a fifth aspect, the present disclosure provides a computer program product comprising computer programs/instructions which, when executed by a processor, implement the method described above.
Compared with the prior art, the technical scheme provided by the embodiment of the disclosure has the following advantages:
the page display method provided by the embodiment of the disclosure receives screening information input by a user on a first list page; responding to a jump request triggered by a user to a function control of a first list page, and acquiring a preset first page multiplexing identifier corresponding to the first list page; if the first page multiplexing identifier is a first parameter, caching a first list page comprising screening information, and jumping to a function page corresponding to the function control; updating background data according to information processing operation of a user on the function page, wherein the information processing operation is used for updating related data information in the first list page; responding to a request, triggered by a user, for returning to the first list page from the function page, and acquiring a second page multiplexing identifier of the function page; and if the second page multiplexing identifier is a second parameter, calling a background interface function to update related data information in the first list page according to current background data, generating a second list page comprising screening information, and displaying the second list page.
Therefore, the method and the device for restoring the filtering information can restore the filtering information with different complexity degrees in the first list page, reduce the repeated restoring work, reduce the development workload and improve the development efficiency. And determining whether to cache the first list page and whether to use the cached first list page based on the settings of the first page multiplexing identifier and the second page multiplexing identifier, thereby improving the flexibility of page display. In addition, the related data information in the first list page is updated according to the current background data, so that the consistency of the data information of the functional page, the background data and the second list page is ensured, the possibility that the user mistakenly thinks that the information processing operation is invalid is reduced, and the user experience is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure.
In order to more clearly illustrate the embodiments or technical solutions in the prior art of the present disclosure, the drawings used in the embodiments or technical solutions in the prior art description will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
Fig. 1 is a schematic flowchart of a page display method according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of another page display method provided in the embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a page display device according to an embodiment of the disclosure;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
In order that the above objects, features and advantages of the present disclosure may be more clearly understood, aspects of the present disclosure will be further described below. It should be noted that the embodiments and features of the embodiments of the present disclosure may be combined with each other without conflict.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present disclosure, but the present disclosure may be practiced otherwise than as described herein; it is to be understood that the embodiments disclosed in the specification are only a few embodiments of the present disclosure, and not all embodiments.
Fig. 1 is a schematic flowchart of a page display method according to an embodiment of the present disclosure. The method may be performed by a page display apparatus, wherein the apparatus may be implemented in software and/or hardware, and may be generally integrated in an electronic device.
As shown in fig. 1, the page display method may include:
step 101, receiving screening information input by a user on a first list page.
In this embodiment, the first list page may include a plurality of pieces of data information, and the user may input the screening information in the first list page, thereby implementing the screening of the plurality of pieces of information in the list page.
And 102, responding to a jump request triggered by a user to the function control of the first list page, and acquiring a preset first page multiplexing identifier corresponding to the first list page.
In this embodiment, the function control exists in the first list page, and the user can jump to the corresponding function page from the current first list page by triggering the function control. The function control may be set according to a function requirement of the first list page, and the embodiment is not limited, for example: an information creation control and/or an information modification control.
In some application scenarios, after a user inputs screening information in a first list page, data information in the first list page needs to be operated, so as to trigger a function control in the first list page, and in response to a jump request triggered by the user for the function control, a preset first page multiplexing identifier corresponding to the first list page is obtained, where the first page multiplexing identifier is used to mark whether the first list page needs to be cached when jumping from the first list page. In this embodiment, the value of the first page multiplexing identifier may be determined by a method such as system presetting and determining based on an operating environment parameter, which is not limited in this embodiment.
And 103, if the first page multiplexing identifier is the first parameter, caching a first list page including the screening information, and jumping to a function page corresponding to the function control.
After the first page multiplexing identifier is obtained, the first page multiplexing identifier may be compared with the first parameter, and if the first page multiplexing identifier is the first parameter, the first list page is cached, and the function page corresponding to the function control triggered by the user is skipped to. And screening information input by a user is included in the cached first list page.
And if the first page multiplexing identifier is not the first parameter, jumping to a function page corresponding to the function control triggered by the user.
For example, if the first list page is a staff information page, the first parameter is true, and the first page reuse identification preset in the staff information page is also true, after the user finds that the age of the staff a is wrong after the screening information input by the staff information page is 'hobby football, age 30', the age of the staff a needs to be changed from 32 years to 30 years, so that an information modification control in the staff information page is triggered, the first page reuse identification is obtained in response to the triggering, the first page reuse identification is the first parameter, and therefore the staff information page including 'football hobby, age 30' is cached, and the staff information page is jumped to the information modification page.
And step 104, updating background data according to the information processing operation of the user on the function page, wherein the information processing operation is used for updating the related data information in the first list page.
In order to update the related data information in the first list page, after jumping to the functional page, the user may perform corresponding information processing operation on the functional page, and update the background data according to the information processing operation.
In an optional implementation manner, the updating background data according to the information processing operation of the user on the function page includes:
and creating the newly added information in the background data according to the information creating operation of creating the newly added information on the information creating page by the user.
In this embodiment, if it is necessary to add related data information to the first list page, the user may create new information in the information creation page, create an information creation operation of the new information, and create the new information in the background data. For example: assuming that the user needs to add information of the B employee in the employee information page, the user may create the information of the B employee in the information creation page, and create corresponding information of the B employee in the background data according to the information creation operation of the user.
In another optional implementation manner, the updating background data according to the information processing operation of the user on the function page includes:
and according to the information modification operation that the user modifies the original information in the information modification page into the updated information, modifying the original information in the background data into the updated information.
In this embodiment, if the related data information in the first list page needs to be modified, the user may modify the original information displayed in the information modification page into the updated information, and then modify the original information in the background data into the updated information according to the information modification operation. For example: assuming that the user needs to change the age of employee a in the employee information page from 32 to 30, the user may change the age of employee a in the information modification page from 32 to 30, and the age of employee a in the background data is changed from 32 to 30 according to the user's information modification operation.
And 105, responding to a request, triggered by a user, for returning the first list page from the function page, and acquiring a second page multiplexing identifier of the function page.
In this embodiment, a user may trigger a request for returning to the first list page from the function page by triggering a return control of the function page, and the like, and in response to the request, obtain a preset second page multiplexing identifier of the function page, where the second page multiplexing identifier is used to mark whether to generate the second list page based on the previously cached first list page when jumping to return to the first list page from the function page. In this embodiment, the value of the second page multiplexing identifier may be determined by a method such as system presetting and setting based on operating environment parameters, which is not limited in this embodiment.
In an optional implementation manner, in order to determine whether a return request triggered by a user corresponds to a first list page, in response to a return request from a function page triggered by the user, it is determined whether a page corresponding to the return request is the same as the first list page, and if the page corresponding to the return request is the same as the first list page, a second page multiplexing identifier of the function page is obtained.
And 106, if the second page multiplexing identifier is the second parameter, calling a background interface function to update related data information in the first list page according to the current background data, generating a second list page comprising the screening information, and displaying the second list page.
After the second page multiplexing identifier is obtained, the second page multiplexing identifier may be compared with the second parameter. And if the second page multiplexing identifier is a second parameter, calling a background interface function to update related data information in the first list page according to current background data, and generating and displaying a second list page comprising the screening information. The number of the background interface functions may be one or multiple, and this embodiment is not limited.
Continuing to take the first list page as an example of the employee information page, assuming that the first page multiplexing identifier and the first parameter preset in the employee information page are both true, the user modifies the age of the employee a from 32 years to 30 years in the information modification page and triggers a request for returning to the employee information page, if the second parameter is true and the second page multiplexing identifier is also true, calling a background interface function to modify the age of the employee a from 32 years to 30 years in the cached employee information page including the screening condition of "hobby football and age 30 years" according to background data, generating an updated employee information page including the screening condition of "hobby football and age 30 years" and recording that the employee is 30 years, and displaying the updated employee information page.
And if the second page multiplexing identifier is not the second parameter, generating a third list page which does not include the screening information, and displaying the third list page. In this embodiment, if the second page multiplexing identifier is not the second parameter, the cached first list page is not used, and a third list page is generated and displayed, which may be understood that the third list page does not include the screening information.
For example, continuing to take the first list page as an example of a staff information page, and the first page reuse identifier and the first parameter preset in the staff information page are both true, the user modifies the age of the staff a from 32 years to 30 years in the information modification page, and triggers a request for returning to the staff information page, if the second page reuse identifier is false, the second parameter is true, and the second page reuse identifier is not the second parameter, the staff information page is refreshed, the staff information page is in an initialized state, and the staff information page is displayed without the screening condition of "favorite football, age 30 years" included in the staff information page.
In an optional implementation manner, the background interface function may be called through a common function, in the foregoing embodiment, the updating, by the calling background interface function, related data information in the first list page according to current background data includes:
first, a service file is defined in advance, and a common function is added to the service file.
In this embodiment, when the first list page requests the background interface function, the public function in the service file can monitor and subscribe to the background interface function, so as to record the background interface function requested by the first list page.
In an optional implementation manner, a service file may be predefined as store-route-use.service.ts, a public function is added to the service file, and the added public function is configured, where the configured public function can record a background interface function requested by the first list page through monitoring. For example, if the first list page requests the first background interface function and the second background interface function, the first background interface function and the second background interface function can be recorded through the common function.
Furthermore, a background interface function is called through a public function, and related data information in the first list page is updated according to current background data.
In an optional implementation manner, a common function may be called in the initialization lifecycle function of the first list page, so that a corresponding background interface function is called according to a background interface function recorded in the common function, and then related data information in the first list page is updated according to current background data. For example, if the age of staff a is updated from 32 years to 30 years and the hobby of staff a is updated from basketball to football in the background data, if the first background interface function and the second background interface function are recorded in the common function, the first background interface function and the second background interface function are called through the common function, the age of staff a in the first list page is updated from 32 years to 30 years, and the hobby of staff a is updated from basketball to football.
In an optional implementation manner, the page display method provided in this embodiment may be implemented by a custom page display file custom reuse graph based on a routereservetragram interface provided by an angular framework, and the custom page display file custom reuse graph is configured in the root routing module Providers to enable the page display method to be effective.
The page display method provided by the embodiment of the disclosure receives screening information input by a user on a first list page; responding to a jump request triggered by a user to a function control of a first list page, and acquiring a preset first page multiplexing identifier corresponding to the first list page; if the first page multiplexing identifier is a first parameter, caching a first list page comprising screening information, and jumping to a function page corresponding to the function control; updating background data according to information processing operation of a user on the function page, wherein the information processing operation is used for updating related data information in the first list page; responding to a request, triggered by a user, for returning to the first list page from the function page, and acquiring a second page multiplexing identifier of the function page; and if the second page multiplexing identifier is a second parameter, calling a background interface function to update related data information in the first list page according to the current background data, generating a second list page comprising the screening information, and displaying the second list page. Therefore, in the embodiment of the disclosure, the filtering information with different complexity levels in the first list page can be restored, so that the repeated restoration work is reduced, the development workload is reduced, and the development efficiency is improved. And determining whether to cache the first list page and whether to use the cached first list page based on the setting of the first page multiplexing identifier and the second page multiplexing identifier, thereby improving the flexibility of page display. In addition, the related data information in the first list page is updated according to the current background data, so that the consistency of the data information of the functional page, the background data and the second list page is ensured, the possibility that the user mistakenly thinks that the information processing operation is invalid is reduced, and the user experience is improved.
Based on the foregoing embodiment, fig. 2 is a schematic flowchart of another page display method provided by the embodiment of the present disclosure, and as shown in fig. 2, the method further includes:
step 201, a routing module is generated according to a module generation instruction sent by a user.
In this embodiment, the page display method may be implemented based on an angular frame, and a routing module, a first list page, and a function page need to be generated in advance based on the angular frame, specifically: the user can set a module generation instruction according to the application scene requirement, and further generate a routing module according to the module generation instruction.
For example, if a routing module is generated according to the user requirement and named as test, the module generation instruction sent by the user may be: ng g module test-module app-flat-routing, and generating a routing module named test according to the module generation instruction.
Step 202, according to a page generation instruction sent by a user, generating a first list page and a function page, associating the routing module with the first list page and the function page, and generating a routing file provided with a routing array.
In this embodiment, a user may set a page generation instruction according to an application scenario requirement, and then generate a corresponding page according to the page generation instruction, where the page includes: a first list page and a function page.
For example, if the first list page is generated and named as list according to the user requirement, and the function page is generated, where the function page includes an information creation page and an information modification page, the information creation page is named as create, the information modification page is named as edge, and in order to create and name the first list page, the first list page generation instruction sent by the user may be: and ng gcomponent test-list-module test, wherein the page generating instructions corresponding to the information creating page and the information modifying page are similar to the first list page generating instruction and are not repeated here, and further, according to the page generating instruction, a first list page named list, an information creating page named create and an information modifying page named edit are generated.
After the routing module, the first list page and the function page are generated, the angular frame can lead the first list page, the function page and the routing module into association, and generate a corresponding routing file test.
Step 203, based on the configuration of the user to the routing array, configuring a first page multiplexing identifier corresponding to the first list page in a first component of the routing array; and configuring a second page multiplexing identifier corresponding to the functional page in a second component of the routing array.
In this embodiment, a user may configure a routing array through a programming language such as JavaScript according to an application scenario requirement, and further, based on the configuration of the routing array by the user, a corresponding relationship between a first list page and a first page multiplexing identifier is established in a first component of the routing array; and establishing a corresponding relation between the functional page and the second page multiplexing identification in the second component of the routing array. The number of the function pages may be one or more, and this embodiment is not limited.
For example, if there are three pages, i.e., a first list page, an information creation page, and an information modification page, and a user needs to jump from the first list page, the first list page is cached, and a second list page is generated based on the cached first list page when jumping from the information creation page or the information modification page, so that a first page multiplexing identifier corresponding to the first list page may be configured as a first parameter in a first component of the routing array, a second page multiplexing identifier corresponding to the information creation page may be configured as a second parameter in a second component of the routing array, and a second page multiplexing identifier corresponding to the information modification page may also be configured as a second parameter in a third component of the routing array.
The page display method provided by the embodiment of the disclosure can configure the module and the page flexibly according to the module generation instruction and the page generation instruction sent by the user, and can also configure the first page multiplexing identifier and the second page multiplexing identifier in the routing array, so that the user can customize whether to cache the first list page and whether to generate the second list page by using the cached first list page, thereby enabling the application of the method to be more flexible.
Fig. 3 is a schematic structural diagram of a page display apparatus provided in an embodiment of the present disclosure, where the apparatus may be implemented by software and/or hardware, and may be generally integrated in an electronic device. As shown in fig. 3, the page display apparatus 300 may include:
a receiving module 301, configured to receive screening information input by a user on a first list page;
a first obtaining module 302, configured to obtain a preset first page multiplexing identifier corresponding to the first list page in response to a jump request triggered by the user for the function control of the first list page;
a first processing module 303, configured to cache the first list page including the screening information if the first page multiplexing identifier is a first parameter, and jump to a function page corresponding to the function control;
an updating module 304, configured to update background data according to an information processing operation on the function page by the user, where the information processing operation is used to update related data information in the first list page;
a second obtaining module 305, configured to obtain a second page multiplexing identifier of the function page in response to a request, triggered by the user, for returning to the first list page from the function page;
a second processing module 306, configured to invoke a background interface function to update the relevant data information in the first list page according to the current background data if the second page multiplexing identifier is the second parameter, generate a second list page including the screening information, and display the second list page.
Optionally, the apparatus further includes:
the first generation module is used for generating a routing module according to a module generation instruction sent by the user;
the second generation module is used for generating the first list page and the function page according to a page generation instruction sent by the user, associating the routing module with the first list page and the function page, and generating a routing file provided with a routing array;
a configuration module, configured to configure, in a first component of the routing array, the first page multiplexing identifier corresponding to the first list page based on the configuration of the user on the routing array; and configuring the second page multiplexing identification corresponding to the functional page in a second component of the routing array.
Optionally, the functionality control includes an information creation control, the functionality page includes an information creation page, and the updating module 304 is configured to:
and creating the newly added information in background data according to the information creating operation of creating the newly added information on the information creating page by the user.
Optionally, the functionality control includes an information modification control, the functionality page includes an information modification page, and the updating module 304 is configured to:
and according to the information modification operation that the user modifies the original information in the information modification page into the updated information, modifying the original information in the background data into the updated information.
Optionally, the second obtaining module 305 is configured to:
predefining a service file, and adding a public function in the service file;
and calling the background interface function through the public function, and updating related data information in the first list page according to current background data.
Optionally, the apparatus further comprises:
and a third generating module, configured to generate a third list page that does not include the screening information and display the third list page if the second page multiplexing identifier is not the second parameter.
The page display device provided by the embodiment of the disclosure can execute the page display method provided by any embodiment of the disclosure, and has corresponding functional modules and beneficial effects of the execution method.
In addition to the method and the apparatus, an embodiment of the present disclosure further provides a computer-readable storage medium, where instructions are stored, and when the instructions are executed on a terminal device, the terminal device is enabled to implement the page display method according to the embodiment of the present disclosure.
Embodiments of the present disclosure also provide a computer program product, which includes a computer program/instruction, and when the computer program/instruction is executed by a processor, the computer program/instruction implements the page display method provided in any embodiment of the present disclosure.
It is noted that, in this document, relational terms such as "first" and "second," and the like, are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising one of 8230; \8230;" 8230; "does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.
Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
Referring now specifically to fig. 4, a schematic diagram of an electronic device 400 suitable for use in implementing embodiments of the present disclosure is shown. The electronic device 400 in the embodiments of the present disclosure may include, but is not limited to, mobile terminals such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle-mounted terminal (e.g., a car navigation terminal), and the like, and fixed terminals such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 4 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 4, electronic device 400 may include a processing device (e.g., central processing unit, graphics processor, etc.) 401 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM) 402 or a program loaded from a storage device 408 into a Random Access Memory (RAM) 403. In the RAM403, various programs and data necessary for the operation of the electronic apparatus 400 are also stored. The processing device 401, the ROM 402, and the RAM403 are connected to each other via a bus 404. An input/output (I/O) interface 405 is also connected to bus 404.
Generally, the following devices may be connected to the I/O interface 405: input devices 406 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 407 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 408 including, for example, tape, hard disk, etc.; and a communication device 409. The communication device 409 may allow the electronic device 400 to communicate with other devices, either wirelessly or by wire, to exchange data. While fig. 4 illustrates an electronic device 400 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication device 409, or installed from the storage device 408, or installed from the ROM 402. The computer program performs the above-described functions defined in the page display method of the embodiment of the present disclosure when executed by the processing device 401.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may be separate and not incorporated into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: receiving screening information input by a user on a first list page; responding to a jump request triggered by a user to a function control of a first list page, and acquiring a preset first page multiplexing identifier corresponding to the first list page; if the first page multiplexing identifier is a first parameter, caching a first list page comprising screening information, and jumping to a function page corresponding to the function control; updating background data according to information processing operation of a user on the function page, wherein the information processing operation is used for updating related data information in the first list page; responding to a request, triggered by a user, for returning to the first list page from the function page, and acquiring a second page multiplexing identifier of the function page; and if the second page multiplexing identifier is a second parameter, calling a background interface function to update related data information in the first list page according to current background data, generating a second list page comprising screening information, and displaying the second list page. The method and the device can restore the screening information with different complexity degrees in the first list page, reduce the repeated restoration work, reduce the development workload and improve the development efficiency. And determining whether to cache the first list page and whether to use the cached first list page based on the settings of the first page multiplexing identifier and the second page multiplexing identifier, thereby improving the flexibility of page display. In addition, the related data information in the first list page is updated according to the current background data, so that the consistency of the data information of the functional page, the background data and the second list page is ensured, the possibility that the user mistakenly thinks that the information processing operation is invalid is reduced, and the user experience is improved.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, smalltalk, C + +, including conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of an element does not in some cases constitute a limitation on the element itself.
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), system on a chip (SOCs), complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.
It is noted that, in this document, relational terms such as "first" and "second," and the like, are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising one of 8230; \8230;" 8230; "does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present disclosure, which enable those skilled in the art to understand or practice the present disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the disclosure. Thus, the present disclosure is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (8)

1. A page display method is characterized by comprising the following steps:
generating a routing module according to a module generation instruction sent by a user;
generating a first list page and a function page according to a page generation instruction sent by the user, associating the routing module with the first list page and the function page, and generating a routing file provided with a routing array;
configuring a first page multiplexing identifier corresponding to the first list page in a first component of the routing array based on the configuration of the user to the routing array; configuring a second page multiplexing identifier corresponding to the functional page in a second component of the routing array;
receiving screening information input by a user on a first list page;
responding to a jump request triggered by the user to the function control of the first list page, and acquiring a preset first page multiplexing identifier corresponding to the first list page;
if the first page multiplexing identifier is a first parameter, caching the first list page comprising the screening information, and jumping to a function page corresponding to the function control;
background data are updated according to the information processing operation of the user on the functional page, wherein the information processing operation is used for updating relevant data information in the first list page;
responding to a request which is triggered by the user and returned from the functional page to the first list page, and acquiring a second page multiplexing identifier of the functional page;
if the second page multiplexing identifier is a second parameter, a background interface function is called to update related data information in the first list page according to current background data, a second list page comprising the screening information is generated, and the second list page is displayed.
2. The method of claim 1, wherein the functionality control comprises an information creation control, the functionality page comprises an information creation page,
the updating background data according to the information processing operation of the user on the function page comprises the following steps:
and creating the newly added information in background data according to the information creating operation of creating the newly added information on the information creating page by the user.
3. The method of claim 1, wherein the functionality control comprises an information modification control, the functionality page comprises an information modification page,
the updating background data according to the information processing operation of the user on the function page comprises the following steps:
and according to the information modification operation that the user modifies the original information in the information modification page into the update information, modifying the original information in the background data into the update information.
4. The method of claim 1, wherein said invoking a background interface function updates relevant data information in said first list page based on current background data, comprising:
predefining a service file, and adding a public function in the service file;
and calling the background interface function through the public function, and updating related data information in the first list page according to current background data.
5. The method of claim 1, further comprising:
and if the second page multiplexing identifier is not the second parameter, generating a third list page which does not comprise the screening information, and displaying the third list page.
6. A page display apparatus, characterized in that the apparatus comprises:
the receiving module is used for receiving screening information input by a user on a first list page;
the first generation module is used for generating a routing module according to a module generation instruction sent by a user;
the second generation module is used for generating a first list page and a function page according to a page generation instruction sent by the user, associating the first list page with the function page through the routing module, and generating a routing file provided with a routing array;
a configuration module, configured to configure, in a first component of the routing array, a first page multiplexing identifier corresponding to the first list page based on the configuration of the user on the routing array; configuring a second page multiplexing identifier corresponding to the functional page in a second component of the routing array;
the first obtaining module is used for responding to a jump request triggered by the user to the function control of the first list page, and obtaining a preset first page multiplexing identifier corresponding to the first list page;
the first processing module is used for caching the first list page comprising the screening information and jumping to a function page corresponding to the function control if the first page multiplexing identifier is a first parameter;
the updating module is used for updating background data according to information processing operation of the user on the function page, wherein the information processing operation is used for updating related data information in the first list page;
a second obtaining module, configured to obtain a second page multiplexing identifier of the functional page in response to a request, triggered by the user, for returning to the first list page from the functional page;
and the second processing module is used for calling a background interface function to update related data information in the first list page according to current background data if the second page multiplexing identifier is a second parameter, generating a second list page comprising the screening information, and displaying the second list page.
7. An electronic device, characterized in that the electronic device comprises:
a processor;
a memory for storing the processor-executable instructions;
the processor is used for reading the executable instructions from the memory and executing the instructions to realize the page display method of any one of the claims 1-5.
8. A computer-readable storage medium having stored therein instructions that, when run on a terminal device, cause the terminal device to implement the page display method of any one of claims 1-5.
CN202111554336.9A 2021-12-17 2021-12-17 Page display method, device, equipment and storage medium Active CN114327453B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111554336.9A CN114327453B (en) 2021-12-17 2021-12-17 Page display method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111554336.9A CN114327453B (en) 2021-12-17 2021-12-17 Page display method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114327453A CN114327453A (en) 2022-04-12
CN114327453B true CN114327453B (en) 2023-04-14

Family

ID=81052068

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111554336.9A Active CN114327453B (en) 2021-12-17 2021-12-17 Page display method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114327453B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115062247B (en) * 2022-05-30 2023-02-03 北京优酷科技有限公司 Local operation and processing method of webpage, electronic equipment and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109032457B (en) * 2017-08-18 2021-01-29 金蝶软件(中国)有限公司 Page display method, device, terminal and storage medium
CN109871209A (en) * 2018-12-30 2019-06-11 贝壳技术有限公司 Original list state recovery method and device
CN111177616B (en) * 2019-12-11 2023-04-07 未鲲(上海)科技服务有限公司 Page restoration display method and device, computer equipment and storage medium
CN111597475B (en) * 2020-04-21 2021-10-29 五八有限公司 Page returning method and device, electronic equipment and computer storage medium
CN112035114A (en) * 2020-09-02 2020-12-04 平安普惠企业管理有限公司 Page rollback method, device, equipment and medium

Also Published As

Publication number Publication date
CN114327453A (en) 2022-04-12

Similar Documents

Publication Publication Date Title
CN111629252B (en) Video processing method and device, electronic equipment and computer readable storage medium
CN111581563B (en) Page response method and device, storage medium and electronic equipment
CN110809189B (en) Video playing method and device, electronic equipment and computer readable medium
CN111459364B (en) Icon updating method and device and electronic equipment
CN112487331A (en) Page generation method and device, storage medium and electronic equipment
CN114035879A (en) Page theme color changing method and device, electronic equipment and computer readable medium
CN110990038B (en) Method, apparatus, electronic device and medium for applying local update
CN114327453B (en) Page display method, device, equipment and storage medium
CN114428925A (en) Page rendering method and device, electronic equipment and computer readable medium
CN112650521B (en) Software development kit SDK thermal restoration method and device and electronic equipment
CN110618811B (en) Information presentation method and device
CN110619101B (en) Method and apparatus for processing information
CN111191225A (en) Method, device, medium and electronic equipment for switching isolated objects
CN114187169B (en) Method, device, equipment and storage medium for generating video special effect package
CN115470754A (en) Data analysis method and device, computer readable medium and electronic equipment
CN113709573B (en) Method, device, equipment and storage medium for configuring video special effects
CN110113416B (en) Method and device for displaying information
CN113971195A (en) Data synchronization method, device, electronic equipment and medium
CN112230986A (en) Project file generation method and device, electronic equipment and computer readable medium
CN112148417A (en) Page adjusting method and device, electronic equipment and computer readable medium
CN111753238A (en) Data mapping method and device and electronic equipment
CN111240657A (en) Method and device for generating SDK and electronic equipment
CN111294657A (en) Information processing method and device
CN110989987A (en) Portal webpage generation method, portal webpage generation device, client, server and storage medium
CN114398098B (en) Application script execution method, device, electronic equipment and computer readable medium

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
OL01 Intention to license declared
OL01 Intention to license declared