CN115391687A - Page returning method and device, storage medium and electronic equipment - Google Patents

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

Info

Publication number
CN115391687A
CN115391687A CN202210909022.4A CN202210909022A CN115391687A CN 115391687 A CN115391687 A CN 115391687A CN 202210909022 A CN202210909022 A CN 202210909022A CN 115391687 A CN115391687 A CN 115391687A
Authority
CN
China
Prior art keywords
page
sub
attribute
jump
main
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
CN202210909022.4A
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.)
Yancheng Tianyanchawei Technology Co ltd
Original Assignee
Yancheng Jindi Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yancheng Jindi Technology Co Ltd filed Critical Yancheng Jindi Technology Co Ltd
Priority to CN202210909022.4A priority Critical patent/CN115391687A/en
Publication of CN115391687A publication Critical patent/CN115391687A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/954Navigation, e.g. using categorised browsing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Human Computer Interaction (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a page returning method and device, a storage medium and electronic equipment, wherein the method comprises the following steps: responding to a sub-page jump instruction, executing sub-page jump, and updating a first attribute of the main page in real time after the sub-page jump; wherein the first attribute is used for storing all removable subpages of the main page; and responding to the page return instruction, removing the current sub-page, and returning to the main page according to the updated first attribute. The page returning method and device, the storage medium and the electronic device provided by the embodiment of the invention solve the problem of overlong return path caused by page accumulation in the prior art, can realize that a user directly returns a main page at any dimensionality sub-page, and has the advantages of less code invasion, convenient and simple realization and strong operability.

Description

Page returning method and device, storage medium and electronic equipment
Technical Field
The invention relates to the technical field of computers, in particular to a page returning method and device, a storage medium and electronic equipment.
Background
In the prior art, after each dimension button in a navigation menu is clicked, a new page is opened, after multiple clicks, a plurality of dimension pages of different levels are opened, and return operation can be performed only one-level by one-level, but not directly to the original detailed page, so that the problem of overlong return path caused by page stacking exists.
Disclosure of Invention
In view of this, the invention provides a page returning method and device, a storage medium and an electronic device, so as to solve the problem that a returning path is too long due to page stacking in the prior art.
In a first aspect, an embodiment of the present invention provides a page returning method, where the method includes: responding to a sub-page jump instruction, executing sub-page jump, and updating a first attribute of a main page in real time after the sub-page jump; wherein the first attribute is used to store all removable subpages of the main page; and in response to the page return instruction, removing the current sub-page, and returning to the main page according to the updated first attribute.
Optionally, the method further comprises: and adding a first attribute for the main page through the associated object in advance.
Optionally, the adding a first attribute to the main page through the associated object includes: and taking each removable sub-page as Value, and generating an associated object by constructing Key-Value to mount on the main page.
Optionally, the updating the first attribute of the home page in real time includes: and adding or removing all the removable sub-pages of the main page stored in the first attribute according to the sub-pages before and after the jump.
Optionally, the adding or removing operation on all removable sub-pages of the main page stored in the first attribute according to the sub-pages before and after the jump includes: adding the sub-page before the jump to the first attribute; and if the skipped subpage is the specific subpage, removing all the preamble subpages of the specific subpage from the first attribute.
Optionally, the removing all the preamble sub-pages of the specific sub-page from the first attribute includes: and circularly traversing the first attribute, and removing each preamble sub-page of the specific sub-page from the first attribute.
Optionally, the returning to the main page according to the updated first attribute includes: obtaining a page return path according to the updated first attribute; and returning to the main page according to the page return path.
In a second aspect, an embodiment of the present invention further provides a page returning apparatus, where the apparatus includes: the first processing unit is used for responding to the sub-page jump instruction, executing sub-page jump and updating the first attribute of the main page in real time after the sub-page jump; wherein the first attribute is used to store all removable subpages of the main page; and the second processing unit is used for responding to the page return instruction, removing the current sub-page and returning to the main page according to the updated first attribute.
Optionally, the apparatus further comprises: and the attribute adding unit is used for adding a first attribute to the main page through the associated object in advance.
Optionally, the adding, by the association object, a first attribute to the main page includes: and taking each removable sub-page as Value, and generating an associated object by constructing Key-Value to mount on the main page.
Optionally, the updating the first attribute of the home page in real time includes: and adding or removing all the removable sub-pages of the main page stored in the first attribute according to the sub-pages before and after the jump.
Optionally, the adding or removing, according to the sub-pages before and after the jump, all removable sub-pages of the main page stored in the first attribute includes: adding the sub-page before the jump to the first attribute; and if the skipped sub-page is a specific sub-page, removing all the preamble sub-pages of the specific sub-page from the first attribute.
Optionally, the removing all the preamble sub-pages of the specific sub-page from the first attribute includes: and circularly traversing the first attribute, and removing each preamble sub-page of the specific sub-page from the first attribute.
Optionally, returning to the main page according to the updated first attribute includes: obtaining a page return path according to the updated first attribute; and returning to the main page according to the page return path.
In a third aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is configured to, when executed by a processor, implement the method provided in the embodiments of the present invention.
In a fourth aspect, an embodiment of the present invention further provides an electronic device, including: 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 provided by the embodiments of the invention.
According to the page returning method and device, the storage medium and the electronic device, the first attributes used for storing all the removable sub-pages of the main page are added to the main page, and the first attributes of the main page are updated in real time after the sub-pages jump, so that the problem that a returning path is too long due to page stacking in the prior art is solved, a user can directly return the main page at any dimensionality of the sub-page, the code intrusion is less, the realization is convenient and simple, and the operability is strong.
Drawings
FIG. 1 is a system architecture diagram provided in accordance with an exemplary embodiment of the present invention;
FIG. 2 is a flowchart of a page return method provided in an exemplary embodiment of the invention;
FIG. 3 is a schematic diagram of an interface of a main page P according to an exemplary embodiment of the present invention;
FIG. 4 is an interface diagram of a first sub-page P1 provided by an exemplary embodiment of the present invention;
fig. 5 is a schematic interface diagram of opening a navigation menu under the first sub-page P1 according to an exemplary embodiment of the present invention;
FIG. 6 is a schematic interface diagram of a second sub-page P2 provided in accordance with an exemplary embodiment of the present invention;
fig. 7 is a schematic structural diagram of a page returning apparatus according to an exemplary embodiment of the present invention;
fig. 8 is a block diagram of an electronic device according to an exemplary embodiment of the present invention.
Detailed Description
Example embodiments of the present invention will now be described with reference to the accompanying drawings, however, the invention may be embodied in many different forms and should not be construed as limited to the embodiments set forth herein, which are provided for a complete and complete disclosure of the invention and to fully convey the scope of the invention to those skilled in the art. The terms used in the exemplary embodiments shown in the drawings are not intended to limit the present invention. In the drawings, the same unit/element is denoted by the same reference numeral.
Unless otherwise defined, terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. Further, it will be understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and will not be interpreted in an idealized or overly formal sense.
Fig. 1 is a schematic diagram of a system architecture according to an exemplary embodiment of the present invention. As shown in fig. 1, the system architecture 100 may include terminal devices 101, 102, 103, a network 104, and servers 105, 106, 107, and 108. Network 103 is the medium used to provide communication links between terminal devices 101, 102, 103 and servers 105, 106, 107, 108. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user 110 may use the terminal devices 101, 102, 103 to interact with the servers 105, 106, 107, 108 via the network 104 to access various services, such as browsing web pages, downloading data, etc. Various client applications may be installed on the terminal devices 101, 102, 103, such as applications that may access a uniform resource locator, URL, cloud service, including but not limited to browsers, security applications, and the like.
The terminal devices 101, 102, 103 may be various electronic devices including, but not limited to, personal computers, smart phones, smart televisions, tablet computers, personal digital assistants, e-book readers, and the like.
The servers 105, 106, 107, 108 may be servers that provide various services. The server may provide the service in response to a service request by the user. It will be appreciated that one server may provide one or more services, and that the same service may be provided by multiple servers.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Fig. 2 is a flowchart of a page returning method according to an exemplary embodiment of the present invention. As shown in fig. 2, the method includes:
step S201: responding to a sub-page jump instruction, executing sub-page jump, and updating a first attribute of a main page in real time after the sub-page jump; wherein the first attribute is for storing all removable sub-pages of the main page.
The first attribute may be an array type attribute whose stored removable sub-pages may change in real time depending on the condition of the sub-page. The removable sub-page is a sub-page that can be removed, and may include sub-pages that need to be removed or sub-pages that do not need to be removed.
The main page can be a detail page of a certain thing (unit, individual, affair flow, etc.), the main page can comprise a plurality of first dimensions, and all or part of the first dimensions can be provided with a first sub-page corresponding to the first dimensions; the first sub-page can also comprise a plurality of second dimensions, all or part of the second dimensions can also be provided with a corresponding second sub-page \8230, the relation between the main page and a plurality of multi-level sub-pages can be formed, a user clicks a certain dimension to generate a page jump instruction corresponding to the dimension, and the interface jumps to the sub-page corresponding to the dimension.
For example, fig. 3 is an interface schematic diagram of a main page P provided by an exemplary embodiment of the present invention, as shown in fig. 3, the main page P is a detail page of "XXX company", and includes a plurality of first sub-dimensions of property clues, enterprise relations, judicial analysis, depth risks, concern relations, and the like, and when a dimension button of "judicial analysis" is clicked in the main page P, the main page P jumps into a first sub-page P1 corresponding to the judicial analysis, as shown in fig. 4; in P1, clicking the dimension button of the "navigation menu" in the upper right corner opens the navigation menu interface, as shown in fig. 5, clicking the dimension button of the "court announcement" in the navigation menu, and jumping to the second sub-page P2, as shown in fig. 6.
Optionally, the method further comprises: and adding a first attribute for the main page through the associated object in advance.
An array type attribute, rmAblePages, may be added to the main page by way of an OC runtime association object, and is responsible for recording sub-level pages that the main page may remove. The attribute values of the rmAblePages are set by the setter method, and the attribute values of the rmAblePages are acquired by the setter method. Wherein, OC is named Objective-C, which is a runtime programming language.
Optionally, adding a first attribute to the main page through the associated object includes: and taking each removable sub-page as Value, and generating an associated object by constructing Key-Value to mount on the main page.
Where Key refers to the address Value of the storage container created by the master page for Value mounting (i.e., associating) each removable subpage.
The Key-Value is mounted on the main page (object) and the associated policy can be specified. In addition, the already existing associated object can be cleared by setting the value (value) corresponding to the Key specified on the home page (object) to nil.
Optionally, updating the first attribute of the home page in real time includes: and adding or removing all the removable sub-pages of the main page stored in the first attribute according to the sub-pages before and after the jump.
Optionally, adding or removing all the removable sub-pages of the main page stored in the first attribute according to the sub-pages before and after the jump, including:
adding the sub-page before the jump to the first attribute;
and if the skipped sub-page is the specific sub-page, removing all the preamble sub-pages of the specific sub-page from the first attribute.
Optionally, removing all the prologue sub-pages of the particular sub-page from the first attribute comprises: and circularly traversing the first attribute to remove each preamble sub-page of the specific sub-page from the first attribute.
After each sub-page jump, the sub-page before the jump needs to be added to the first attribute, and the adding is also performed in sequence according to the jump sequence. After each sub-page jump, whether all the preamble sub-pages need to be removed from the first attribute is judged according to the condition of the jumped sub-pages: if the specific sub-page is the specific sub-page, the specific sub-page needs to be removed; if the page is a non-specific subpage, no processing is performed. The specific sub-page can be preset to be any one, two or more sub-pages according to requirements. Preferably, the specific sub-page is a sub-page farthest from the main page path among all the removable sub-pages.
And if the number of the preamble subpages of the specific subpage is 2 or more, circularly traversing the first attribute and removing each preamble subpage from the first attribute.
For example, as shown in fig. 3-6, clicking a dimension button of "judicial analysis" in the main page P jumps into the first sub-page P1, clicking a dimension button of "navigation menu" in the upper right corner of P1 opens a navigation menu interface, clicking a dimension button of "court announcement" in the navigation menu jumps into the second sub-page P2, at this time, P1 is added to the attribute of the abrablepages to mark P1 as a removable sub-page, and the page path is P → P1 → P2. Since P2 is a preset specific sub-page, when a P2 page appears, its preamble page P1 is a sub-page that needs to be removed, and P1 is removed from the attribute rmAblePages, and the page path is P → P2 at this time.
Step S202: and responding to the page return instruction, removing the current sub-page, and returning to the main page according to the updated first attribute.
The page return instruction may be a user clicking a return button or sideslipping a return.
Optionally, returning to the main page according to the updated first attribute includes:
obtaining a page return path according to the updated first attribute;
and returning to the main page according to the page return path.
The updated first attribute is a first attribute updated in real time according to the current sub-page, that is, according to the first attribute after the current sub-page has been subjected to the operation of adding or removing the removable sub-page, the updated first attribute stores the updated page path, and the reverse path of the updated page path is obtained, so that the page return path can be obtained.
For example, as shown in FIGS. 3-6, if the page path of the updated first attribute is P → P2, the return path is P2 → P.
According to the embodiment, the first attributes used for storing all the removable sub-pages of the main page are added to the main page, and the first attributes of the main page are updated in real time after the sub-pages jump, so that the problem that in the prior art, the return path is too long due to page accumulation is solved, the sub-pages can be directly returned to the main page by a user in any dimension, the code intrusion is less, the realization is convenient and simple, and the operability is high.
Fig. 7 is a schematic structural diagram of a page returning apparatus according to an exemplary embodiment of the present invention. As shown in fig. 7, the apparatus includes:
a first processing unit 701, configured to execute a sub-page jump in response to a sub-page jump instruction, and update a first attribute of a main page in real time after the sub-page jump; wherein the first attribute is for storing all removable sub-pages of the main page.
The first attribute may be an array type attribute, and the removable sub-page stored therein may be changed in real time according to the condition of the sub-page. The removable sub-page is a sub-page that can be removed, and may include sub-pages that need to be removed or sub-pages that do not need to be removed.
The main page can be a detail page of a certain thing (unit, person, transaction flow and the like), the main page can comprise a plurality of first dimensions, and all or part of the first dimensions can be provided with a first sub-page corresponding to the first dimensions; the first sub-page can also comprise a plurality of second dimensions, all or part of the second dimensions can also be provided with a corresponding second sub-page \8230, the relation of the main page and a plurality of multi-level sub-pages can be formed, a user clicks a certain dimension to generate a page jump instruction corresponding to the dimension, and the interface jumps to the sub-page corresponding to the dimension.
For example, fig. 3 is an interface schematic diagram of a main page P provided by an exemplary embodiment of the present invention, as shown in fig. 3, the main page P is a detail page of "XXX company", and includes a plurality of first sub-dimensions of property clues, enterprise relations, judicial analysis, depth risks, concern relations, and the like, and when a dimension button of "judicial analysis" is clicked in the main page P, the main page P jumps into a first sub-page P1 corresponding to the judicial analysis, as shown in fig. 4; in P1, clicking the dimension button of the "navigation menu" in the upper right corner opens the navigation menu interface, as shown in fig. 5, clicking the dimension button of the "court announcement" in the navigation menu jumps to the second sub-page P2, as shown in fig. 6.
Optionally, the apparatus further comprises: and the attribute adding unit is used for adding a first attribute to the main page through the associated object in advance.
An array type attribute, rmAblePages, may be added to the main page by way of an OC runtime association object, and is responsible for recording sub-level pages that the main page may remove. The attribute value of the rmAblePages is set by a setter method, and the attribute value of the rmAblePages is acquired by the setter method. Wherein OC is called Objective-C, which is a runtime language.
Optionally, adding a first attribute to the main page through the associated object includes: and taking each removable sub-page as Value, and generating an associated object by constructing Key-Value to mount on the main page.
The Key-Value is mounted on the main page (object) and the associated policy can be specified. In addition, the already existing associated object can be cleared by setting the value (value) corresponding to the Key specified on the main page (object) to nil.
Optionally, updating the first attribute of the home page in real time includes: and adding or removing all the removable sub-pages of the main page stored in the first attribute according to the sub-pages before and after the jump.
Optionally, adding or removing all the removable sub-pages of the main page stored in the first attribute according to the sub-pages before and after the jump, including:
adding the sub-page before the jump to the first attribute;
and if the skipped sub-page is the specific sub-page, removing all the preamble sub-pages of the specific sub-page from the first attribute.
Optionally, removing all the prologue sub-pages of the particular sub-page from the first attribute comprises: and circularly traversing the first attribute to remove each preamble sub-page of the specific sub-page from the first attribute.
After each sub-page jump, the sub-page before the jump needs to be added to the first attribute, and the adding is also performed in sequence according to the jump sequence. After each sub-page jump, whether all the preamble sub-pages need to be removed from the first attribute is judged according to the condition of the jumped sub-pages: if the specific sub-page is the specific sub-page, the specific sub-page needs to be removed; if the page is a non-specific subpage, no processing is performed. The specific sub-page can be preset to be any one, two or more sub-pages according to requirements. Preferably, the specific sub-page is a sub-page farthest from the main page path among all the removable sub-pages.
And if the number of the preamble subpages of the specific subpage is 2 or more, circularly traversing the first attribute and removing each preamble subpage from the first attribute.
For example, as shown in fig. 3-6, clicking a dimension button of "judicial analysis" in the main page P jumps into the first sub-page P1, clicking a dimension button of "navigation menu" in the upper right corner of P1 opens a navigation menu interface, clicking a dimension button of "court announcement" in the navigation menu jumps into the second sub-page P2, at this time, P1 is added to the attribute of the abrablepages to mark P1 as a removable sub-page, and the page path is P → P1 → P2. Since P2 is a preset specific sub-page, when a P2 page appears, its preamble page P1 is a sub-page that needs to be removed, and P1 is removed from the attribute rmAblePages, and the page path is P → P2 at this time.
The second processing unit 702 is configured to, in response to the page return instruction, remove the current sub-page, and return to the main page according to the updated first attribute.
The page return instruction may be for the user to click a return button or to sideslip a return.
Optionally, returning to the main page according to the updated first attribute includes:
obtaining a page return path according to the updated first attribute;
and returning to the main page according to the page return path.
The updated first attribute is the first attribute updated in real time according to the current sub-page, that is, the first attribute after the adding or removing operation of the removable sub-page has been performed according to the current sub-page, the updated first attribute stores the updated page path, the reverse path of the updated page path is obtained, and the page return path can be obtained.
For example, as shown in FIGS. 3-6, the updated page path of the first attribute is P → P2, and the return path is P2 → P.
According to the embodiment, the first attributes used for storing all the removable sub-pages of the main page are added to the main page, and the first attributes of the main page are updated in real time after the sub-pages are jumped, so that the problem that a return path is too long due to page stacking in the prior art is solved, a user can directly return the main page at any dimensionality of the sub-pages, the code invasion is less, the implementation is convenient and simple, and the operability is high.
Fig. 8 is a block diagram of an electronic device according to an exemplary embodiment of the present invention. As shown in fig. 8, the electronic device includes one or more processors 810 and memory 820.
Processor 810 may be a Central Processing Unit (CPU) or other form of processing unit having data processing capabilities and/or instruction execution capabilities, and may control other components in the electronic device to perform desired functions.
Memory 820 may include one or more computer program products that may include various forms of computer-readable storage media, such as volatile memory and/or non-volatile memory. The volatile memory may include, for example, random Access Memory (RAM), cache memory (cache), and/or the like. The non-volatile memory may include, for example, read Only Memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium and executed by processor 810 to implement the page return methods of the various embodiments of the invention described above and/or other desired functions. In one example, the electronic device may further include: an input device 830 and an output device 840, which are interconnected by a bus system and/or other form of connection mechanism (not shown).
The input device 830 may also include, for example, a keyboard, a mouse, and the like.
The output device 840 may output various information to the outside. The output devices 840 may include, for example, a display, speakers, a printer, and a communication network and its connected remote output devices, among others.
Of course, for simplicity, only some of the components of the electronic device that are relevant to the present invention are shown in fig. 8, omitting components such as buses, input/output interfaces, and the like. In addition, the electronic device may include any other suitable components, depending on the particular application.
Exemplary computer program product and computer-readable storage medium in addition to the above-described methods and apparatus, embodiments of the present invention may also be a computer program product comprising computer program instructions that, when executed by a processor, cause the processor to perform the steps in a page return method according to various embodiments of the present invention described in the "exemplary methods" section of this specification above.
The computer program product may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages, for carrying out operations according to embodiments of the present invention. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server.
Furthermore, embodiments of the present invention may also be a computer-readable storage medium having stored thereon computer program instructions that, when executed by a processor, cause the processor to perform the steps in the page return method according to various embodiments of the present invention described in the "exemplary methods" section above of this specification.
The computer-readable storage medium may take any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may include, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable 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.
The basic principles of the present invention have been described above with reference to specific embodiments, but it should be noted that the advantages, effects, etc. mentioned in the present invention are only examples and are not limiting, and the advantages, effects, etc. should not be considered as being necessary for the various embodiments of the present invention. Furthermore, the foregoing disclosure of specific details is for the purpose of illustration and description and is not intended to be limiting, since the invention is not limited to the specific details described above.
In the present specification, the embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts in the embodiments are referred to each other. For the system embodiment, since it basically corresponds to the method embodiment, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The block diagrams of devices, apparatus, apparatuses, systems involved in the present invention are by way of illustrative examples only and are not intended to require or imply that the devices, apparatus, apparatuses, systems must be connected, arranged, or configured in the manner shown in the block diagrams. These devices, apparatuses, devices, systems may be connected, arranged, configured in any manner, as will be appreciated by one skilled in the art. Words such as "including," "comprising," "having," and the like are open-ended words that mean "including, but not limited to," and are used interchangeably therewith. The words "or" and "as used herein mean, and are used interchangeably with, the word" and/or, "unless the context clearly dictates otherwise. The word "such as" is used herein to mean, and is used interchangeably with, the phrase "such as but not limited to".
The method and apparatus of the present invention may be implemented in a number of ways. For example, the methods and apparatus of the present invention may be implemented in software, hardware, firmware, or any combination of software, hardware, and firmware. The above-described order for the steps of the method is for illustrative purposes only, and the steps of the method of the present invention are not limited to the order specifically described above unless specifically indicated otherwise. Furthermore, in some embodiments, the present invention may also be embodied as programs recorded in a recording medium, the programs including machine-readable instructions for implementing the method according to the present invention. Thus, the present invention also covers a recording medium storing a program for executing the method according to the present invention.
It should also be noted that in the devices, apparatuses and methods of the present invention, the components or steps may be decomposed and/or re-combined. These decompositions and/or recombinations are to be regarded as equivalents of the present invention. The previous description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these aspects will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other aspects without departing from the scope of the invention. Thus, the present invention is not intended to be limited to the aspects shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
The foregoing description has been presented for purposes of illustration and description. Furthermore, the description is not intended to limit embodiments of the invention to the form disclosed herein. While a number of example aspects and embodiments have been discussed above, those of skill in the art will recognize certain variations, modifications, alterations, additions and sub-combinations thereof.

Claims (10)

1. A page returning method, characterized in that the method comprises:
responding to a sub-page jump instruction, executing sub-page jump, and updating a first attribute of a main page in real time after the sub-page jump; wherein the first attribute is used to store all removable subpages of the main page;
and responding to a page return instruction, removing the current sub-page, and returning to the main page according to the updated first attribute.
2. The method of claim 1, further comprising:
and adding a first attribute for the main page through the associated object in advance.
3. The method of claim 2, wherein adding the first attribute to the master page via the associated object comprises:
and taking each removable sub-page as Value, and generating an associated object by constructing Key-Value to mount on a main page.
4. The method of claim 1, wherein updating the first property of the master page in real-time comprises:
and adding or removing all the removable sub-pages of the main page stored in the first attribute according to the sub-pages before and after the jump.
5. The method according to claim 4, wherein the adding or removing operation of all the removable sub-pages of the main page stored in the first attribute according to the sub-pages before and after the jump comprises:
adding the sub-page before the jump to the first attribute;
and if the skipped sub-page is a specific sub-page, removing all the preamble sub-pages of the specific sub-page from the first attribute.
6. The method of claim 5, wherein said removing all preceding sub-pages of said particular sub-page from said first attribute comprises:
and circularly traversing the first attribute, and removing each preamble sub-page of the specific sub-page from the first attribute.
7. The method of claim 1, wherein returning to the home page according to the updated first attribute comprises:
obtaining a page return path according to the updated first attribute;
and returning to the main page according to the page return path.
8. A page return apparatus, characterized in that the apparatus comprises:
the first processing unit is used for responding to the sub-page jump instruction, executing sub-page jump and updating the first attribute of the main page in real time after the sub-page jump; wherein the first attribute is used to store all removable subpages of the main page;
and the second processing unit is used for responding to the page return instruction, removing the current sub-page and returning to the main page according to the updated first attribute.
9. A computer-readable storage medium, characterized in that the storage medium stores a computer program for performing the method of any one of claims 1-7.
10. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
the processor is configured to read the executable instructions from the memory and execute the instructions to implement the method of any one of claims 1-7.
CN202210909022.4A 2022-07-29 2022-07-29 Page returning method and device, storage medium and electronic equipment Pending CN115391687A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210909022.4A CN115391687A (en) 2022-07-29 2022-07-29 Page returning method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210909022.4A CN115391687A (en) 2022-07-29 2022-07-29 Page returning method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN115391687A true CN115391687A (en) 2022-11-25

Family

ID=84118010

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210909022.4A Pending CN115391687A (en) 2022-07-29 2022-07-29 Page returning method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN115391687A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105975262A (en) * 2016-04-29 2016-09-28 北京小米移动软件有限公司 Page management method and device
JP2018181335A (en) * 2017-04-07 2018-11-15 Line株式会社 Computer program for generating, processing and managing task corresponding to message and electronic equipment
CN111212331A (en) * 2020-01-13 2020-05-29 烽火通信科技股份有限公司 Scheduling method and system of IPTV player
CN111258800A (en) * 2020-02-03 2020-06-09 北京无限光场科技有限公司 Page processing method and device and electronic equipment
CN111400635A (en) * 2020-02-18 2020-07-10 中国平安人寿保险股份有限公司 Background management method and device for database, computer equipment and storage medium
CN112130937A (en) * 2019-06-24 2020-12-25 北京京东尚科信息技术有限公司 Page display method and device, storage medium and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105975262A (en) * 2016-04-29 2016-09-28 北京小米移动软件有限公司 Page management method and device
JP2018181335A (en) * 2017-04-07 2018-11-15 Line株式会社 Computer program for generating, processing and managing task corresponding to message and electronic equipment
CN112130937A (en) * 2019-06-24 2020-12-25 北京京东尚科信息技术有限公司 Page display method and device, storage medium and electronic equipment
CN111212331A (en) * 2020-01-13 2020-05-29 烽火通信科技股份有限公司 Scheduling method and system of IPTV player
CN111258800A (en) * 2020-02-03 2020-06-09 北京无限光场科技有限公司 Page processing method and device and electronic equipment
CN111400635A (en) * 2020-02-18 2020-07-10 中国平安人寿保险股份有限公司 Background management method and device for database, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
US10699061B2 (en) Application page quick access
CN108156022B (en) Service calling method and device and electronic equipment
US8935798B1 (en) Automatically enabling private browsing of a web page, and applications thereof
TWI584149B (en) Web page access request response method and device
CN107147645B (en) Method and device for acquiring network security data
CN111611283A (en) Data caching method and device, computer readable storage medium and electronic equipment
CN112486552A (en) Server hot update method, device, equipment and storage medium
WO2023092580A1 (en) Page display method and apparatus, storage medium, and electronic device
CN113535587B (en) Target application detection method and device and computer equipment
JP5753302B1 (en) Program, method and system for warning access to web page
CN110674426B (en) Webpage behavior reporting method and device
CN109145209B (en) Method, apparatus and storage medium for searching blockchain data
CN115391687A (en) Page returning method and device, storage medium and electronic equipment
CN112346774A (en) Method and device for generating application installation package
US8402367B1 (en) Smart reload pages
CN115293123A (en) Document template generation method, report online generation method and device
CN110765003B (en) Code detection method, device and equipment and storage medium
CN113761415A (en) Page display method and device
CN108737458B (en) Method and device for controlling flow
CN111125565A (en) Method and equipment for inputting information in application
CN111324707A (en) User interaction method and device, computer-readable storage medium and electronic equipment
US11960560B1 (en) Methods for analyzing recurring accessibility issues with dynamic web site behavior and devices thereof
CN115292589B (en) Hot spot information guiding browsing method and device, storage medium and electronic equipment
CN113420037B (en) Asset data real-time changing method and device
CN111695986B (en) Method and device for controlling accumulated gold image

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20230801

Address after: Room 404-405, 504, Building B-17-1, Big data Industrial Park, Kecheng Street, Yannan High tech Zone, Yancheng, Jiangsu Province, 224000

Applicant after: Yancheng Tianyanchawei Technology Co.,Ltd.

Address before: 224000 room 501-503, building b-17-1, Xuehai road big data Industrial Park, Kecheng street, Yannan high tech Zone, Yancheng City, Jiangsu Province

Applicant before: Yancheng Jindi Technology Co.,Ltd.