CN113761415A - Page display method and device - Google Patents

Page display method and device Download PDF

Info

Publication number
CN113761415A
CN113761415A CN202011331489.2A CN202011331489A CN113761415A CN 113761415 A CN113761415 A CN 113761415A CN 202011331489 A CN202011331489 A CN 202011331489A CN 113761415 A CN113761415 A CN 113761415A
Authority
CN
China
Prior art keywords
service
service event
tag
event
page display
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
CN202011331489.2A
Other languages
Chinese (zh)
Inventor
李志飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingdong Century Trading Co Ltd
Beijing Wodong Tianjun Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Wodong Tianjun Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Century Trading Co Ltd, Beijing Wodong Tianjun Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN202011331489.2A priority Critical patent/CN113761415A/en
Publication of CN113761415A publication Critical patent/CN113761415A/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/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/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9562Bookmark management

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a page display method and device, and relates to the technical field of computers. One embodiment of the method comprises: setting a tag according to the type of the business event, and binding the tag with different types of business events; responding to a service event triggering request initiated by a user, and calling service data corresponding to a service event from a server; and rendering the service data to a tag bound with the service event so as to realize page display. According to the embodiment, the page display effect is improved, the page display efficiency is improved, and the user experience is improved.

Description

Page display method and device
Technical Field
The invention relates to the technical field of computers, in particular to a page display method and device.
Background
With diversification and complexity development of front-end applications, more and more files are needed for managing pages. In the front-end implementation of a traditional website, a large amount of data acquisition and non-semantic tag parameters exist, and how to bind a tag (such as an html tag, an html5 tag, a hypertext Markup Language tag) with a service event and service data corresponding to the service event is to perform better page display, so that the improvement of user experience is an urgent problem to be solved.
In the process of implementing the invention, the inventor finds that at least the following problems exist in the prior art:
in the existing page display method, due to the fact that a service event indicated by a label is ambiguous, data display errors are prone to occur in the page display process, page display is disordered, and user experience is poor.
Disclosure of Invention
In view of this, embodiments of the present invention provide a page display method and apparatus, which can improve a page display effect, improve page display efficiency, and improve user experience.
In order to achieve the above object, according to a first aspect of the embodiments of the present invention, there is provided a page display method, including:
setting a tag according to the type of the business event, and binding the tag with different types of business events;
responding to a service event triggering request initiated by a user, and calling service data corresponding to a service event from a server;
and rendering the service data to a tag bound with the service event so as to realize page display.
Furthermore, the service event types are divided into at least one level; for the multi-level divided service event types, setting a tag according to the service event types, and binding the tag with different types of service events, further comprising:
and respectively setting multi-level label tags according to the classification levels of the service event types, and binding the label tags at the same level with different types of service events.
Further, still include:
and updating the service event according to the updating request of the service event, and updating the set tag according to the updated service event.
Further, in response to a service event trigger request initiated by a user, invoking service data corresponding to the service event from the server, including:
and determining a service event corresponding to the service event trigger request, and calling service data corresponding to the service event from the server by using the remote calling interface.
According to a second aspect of the embodiments of the present invention, there is provided a page displaying apparatus, including:
the system comprises a tag setting module, a service event type setting module and a service event processing module, wherein the tag setting module is used for setting tag according to the service event type and binding the tag with different types of service events;
the service data acquisition module is used for responding to a service event trigger request initiated by a user and calling service data corresponding to a service event from a server;
and the page display module is used for rendering the service data to the tag bound with the service event so as to realize page display.
Furthermore, the service event types are divided into at least one level; for the multi-level divided service event types, the tag setting module is further configured to:
and respectively setting multi-level label tags according to the classification levels of the service event types, and binding the label tags at the same level with different types of service events.
Further, the page display device further comprises an updating module, configured to:
and updating the service event according to the updating request of the service event, and updating the set tag according to the updated service event.
Further, the service data obtaining module is further configured to:
and determining a service event corresponding to the service event trigger request, and calling service data corresponding to the service event from the server by using the remote calling interface.
According to a third aspect of embodiments of the present invention, there is provided an electronic apparatus, including:
one or more processors;
a storage device for storing one or more programs,
when executed by one or more processors, cause the one or more processors to implement any of the page presentation methods described above.
According to a fourth aspect of the embodiments of the present invention, there is provided a computer-readable medium on which a computer program is stored, the program, when executed by a processor, implementing any one of the page presentation methods described above.
One embodiment of the above invention has the following advantages or benefits: because the label is set according to the type of the business event and is bound with the business events of different types; responding to a service event triggering request initiated by a user, and calling service data corresponding to a service event from a server; the technical means of page display is achieved by rendering the service data to the tag bound with the service event, so that the technical problems that in the existing page display method, due to the fact that the service event indicated by the tag is ambiguous, data display errors are prone to occurring in the page display process, page display is disordered, and user experience is poor are solved, and therefore the technical effects of improving the page display effect, improving the page display efficiency and improving the user experience are achieved.
Further effects of the above-mentioned non-conventional alternatives will be described below in connection with the embodiments.
Drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:
fig. 1 is a schematic diagram of a main flow of a page display method according to a first embodiment of the present invention;
FIG. 2 is a schematic diagram of a main flow of a page displaying method according to a second embodiment of the present invention;
FIG. 3 is a schematic diagram of the main modules of the page displaying apparatus provided according to the embodiment of the present invention;
FIG. 4 is an exemplary system architecture diagram in which embodiments of the present invention may be employed;
fig. 5 is a schematic block diagram of a computer system suitable for use in implementing a terminal device or server of an embodiment of the invention.
Detailed Description
Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, in which various details of embodiments of the invention are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Fig. 1 is a schematic diagram of a main flow of a page display method according to a first embodiment of the present invention; as shown in fig. 1, the page display method provided by the embodiment of the present invention mainly includes:
and step S101, setting a tag according to the type of the business event, and binding the tag with the business events of different types.
The markup tags comprise html tags and html5 tags, and are used for describing the content of the webpage, including information such as titles, character formats, languages, compatibility, keywords, descriptions and the like.
Specifically, according to the embodiment of the present invention, in the traditional native html tags, the tag names such as p, div, nav, header, and fooder are only recommended by the authority to define the content of the specific area, and as the diversification of the front-end application develops, more and more contents need to be displayed, and the tag names recommended by the authority cannot meet the existing business requirements. According to the arrangement, on the basis of keeping the mark label recommended by the official, the mark label is arranged according to the actual business event type, so that the expansion of the mark label is realized, more cover surfaces related to actual business are added on the basis of keeping the original cover surface of the name of the mark label, and the commodity list content is defined by < skulist > </skulist >, so that the flexibility expansion of the mark label is realized, the tidiness and the readability of a code corresponding to the mark label are increased, and the page display effect corresponding to the follow-up mark label is favorably improved.
Further, according to the embodiment of the present invention, the service event types are divided into at least one level.
According to the embodiment of the present invention, for the case of the multi-level service event types, the setting of the tag according to the service event type and the binding of the tag with the service events of different types further includes:
and respectively setting multi-level label tags according to the classification levels of the service event types, and binding the label tags at the same level with different types of service events.
Through the arrangement, the marked labels are arranged in a grading manner according to the multistage division of the service event types, so that the follow-up more detailed service data is rendered into the marked labels, the page display efficiency is further improved, and the user experience is improved.
Preferably, according to an embodiment of the present invention, the method further includes:
and updating the service event according to the updating request of the service event, and updating the set tag according to the updated service event.
Through the setting, the set tag can be updated according to the change of the actual service requirement and aiming at the adjustment of the service event, the standardization and the customization of the tag are ensured, the dynamic update of the tag is realized, and the applicable scene is wider.
Step S102, responding to a service event triggering request initiated by a user, and calling service data corresponding to the service event from a server.
Specifically, according to the embodiment of the present invention, the service event trigger request may be initiated when the page is initialized, or may be initiated in response to a click behavior of the user on the page.
Further, according to the embodiment of the present invention, the invoking service data corresponding to the service event from the server in response to the service event trigger request initiated by the user includes:
and determining a service event corresponding to the service event trigger request, and calling service data corresponding to the service event from the server by using the remote calling interface.
Specifically, according to the embodiment of the invention, after the business event and the tag label are bound, the corresponding callback method can be registered for each business event according to the name of the tag label, and after a business event trigger request initiated by a user is received, the business data corresponding to the business event can be acquired from the server side according to the callback method calling interface corresponding to the business event.
Step S103, rendering the service data to the label bound with the service event to realize page display.
Through the arrangement, the condition of data rendering errors caused by unclear indication content of the label is avoided, the problem of repeated execution of code logic caused by triggering the service event for many times is also avoided, and the updating and maintaining efficiency of the page code and the triggering fault-tolerant rate of the service event are realized.
According to the technical scheme of the embodiment of the invention, the label is set according to the type of the business event, and the label is bound with the business events of different types; responding to a service event triggering request initiated by a user, and calling service data corresponding to a service event from a server; the technical means of page display is achieved by rendering the service data to the tag bound with the service event, so that the technical problems that in the existing page display method, due to the fact that the service event indicated by the tag is ambiguous, data display errors are prone to occurring in the page display process, page display is disordered, and user experience is poor are solved, and therefore the technical effects of improving the page display effect, improving the page display efficiency and improving the user experience are achieved.
FIG. 2 is a schematic diagram of a main flow of a page displaying method according to a second embodiment of the present invention; as shown in fig. 2, the page display method provided by the embodiment of the present invention mainly includes:
step S201, performing multi-level division on the types of the service events according to the service requirements.
Through the arrangement, the marked labels are arranged in a grading manner according to the multistage division of the service event types, so that the follow-up more detailed service data is rendered into the marked labels, the page display efficiency is further improved, and the user experience is improved. According to the embodiment of the invention, the business events related to the item orders can be classified into two levels of classification, such as item order number skuid, item order list skulist and the like.
Step S202, respectively setting multi-level label tags according to the classification levels of the service event types, and binding the label tags at the same level with different types of service events.
Specifically, according to the embodiment of the present invention, in the traditional native html tags, the tag names such as p, div, nav, header, and fooder are only recommended by the authority to define the content of the specific area, and as the diversification of the front-end application develops, more and more contents need to be displayed, and the tag names recommended by the authority cannot meet the existing business requirements. According to the method, the mark label is set according to the type of the actual business event on the basis of keeping the mark label recommended by the official, expansion of the mark label is achieved, more cover faces related to the actual business are added on the basis of keeping the original cover face of the name of the mark label, and the content of an article list is defined by < skulist > </skulist >, so that flexibility expansion of the mark label is achieved, tidiness and readability of a code corresponding to the mark label are improved, and the method is favorable for improving the page display effect corresponding to the follow-up mark label.
According to a running embodiment, a level identification tag < sku > (for defining the relevant content of the item order) may be set for the business event related to the order; the secondary label tags < sketch > </sketch > (for defining item order number content) and < sketch > </sketch > (for defining item order list content).
Step S203, updating the service event according to the update request of the service event, and updating the set tag according to the updated service event.
Through the setting, the set tag can be updated according to the change of the actual service requirement and aiming at the adjustment of the service event, the standardization and the customization of the tag are ensured, the dynamic update of the tag is realized, and the applicable scene is wider.
Specifically, since the service event and the tag label are bound, they can be managed uniformly, and the tag label can be added or deleted by adding or deleting the service event, thereby realizing the dynamic update of the tag label.
And step S204, registering corresponding callback methods for each service event according to the name of the label.
Specifically, according to the embodiment of the present invention, the callback method corresponding to each service event may be registered by using a standardized name, for example, in an on + name form. According to the embodiment of the invention, the callback method name related to the item order list can be registered in the form of on ('skylist', onskuList). After the subsequent service event is triggered, the corresponding interface can be directly called according to the registered callback method to acquire the service event, so that the condition that the acquired service data is wrong is avoided.
Step S205, responding to the service event triggering request initiated by the user, determining a service event corresponding to the service event triggering request.
Specifically, according to the embodiment of the present invention, the service event trigger request may be initiated when the page is initialized, or may be initiated in response to a click behavior of the user on the page.
Step S206, calling an interface according to the callback method corresponding to the service event, and acquiring service data corresponding to the service event from the server.
Specifically, according to the embodiment of the invention, after the business event and the tag label are bound, the corresponding callback method can be registered for each business event according to the name of the tag label, and after a business event trigger request initiated by a user is received, the business data corresponding to the business event can be acquired from the server side according to the callback method calling interface corresponding to the business event.
Step S207, the service data is rendered into the label bound with the service event, so as to realize page display.
Through the arrangement, the condition of data rendering errors caused by unclear indication content of the label is avoided, the problem of repeated execution of code logic caused by triggering the service event for many times is also avoided, and the updating and maintaining efficiency of the page code and the triggering fault-tolerant rate of the service event are realized.
According to the technical scheme of the embodiment of the invention, the label is set according to the type of the business event, and the label is bound with the business events of different types; responding to a service event triggering request initiated by a user, and calling service data corresponding to a service event from a server; the technical means of page display is achieved by rendering the service data to the tag bound with the service event, so that the technical problems that in the existing page display method, due to the fact that the service event indicated by the tag is ambiguous, data display errors are prone to occurring in the page display process, page display is disordered, and user experience is poor are solved, and therefore the technical effects of improving the page display effect, improving the page display efficiency and improving the user experience are achieved.
FIG. 3 is a schematic diagram of the main modules of the page displaying apparatus provided according to the embodiment of the present invention; as shown in fig. 3, the page displaying apparatus 300 according to the embodiment of the present invention mainly includes:
the tag setting module 301 is configured to set a tag according to a service event type, and bind the tag with different types of service events.
Specifically, according to the embodiment of the invention, only official recommendations in the traditional native html tags are used for defining the content of a specific area, along with the diversified development of front-end applications, more and more contents need to be displayed, and the name of the official recommended tag cannot meet the existing business requirements. According to the arrangement, on the basis of keeping the mark label recommended by the official, the mark label is arranged according to the actual business event type, so that the expansion of the mark label is realized, more cover surfaces related to actual business are added on the basis of keeping the original cover surface of the name of the mark label, and the commodity list content is defined by < skulist > </skulist >, so that the flexibility expansion of the mark label is realized, the tidiness and the readability of a code corresponding to the mark label are increased, and the page display effect corresponding to the follow-up mark label is favorably improved.
Further, according to the embodiment of the present invention, the service event types are divided into at least one level.
According to the embodiment of the present invention, for the case of the multi-level service event type, the tag setting module 301 is further configured to:
and respectively setting multi-level label tags according to the classification levels of the service event types, and binding the label tags at the same level with different types of service events.
Through the arrangement, the marked labels are arranged in a grading manner according to the multistage division of the service event types, so that the follow-up more detailed service data is rendered into the marked labels, the page display efficiency is further improved, and the user experience is improved.
Preferably, according to an embodiment of the present invention, the page displaying apparatus 300 further includes an updating module, configured to:
and updating the service event according to the updating request of the service event, and updating the set tag according to the updated service event.
Through the setting, the set tag can be updated according to the change of the actual service requirement and aiming at the adjustment of the service event, the standardization and the customization of the tag are ensured, the dynamic update of the tag is realized, and the applicable scene is wider.
The service data obtaining module 302 is configured to, in response to a service event trigger request initiated by a user, invoke service data corresponding to a service event from a server.
Specifically, according to the embodiment of the present invention, the service event trigger request may be initiated when the page is initialized, or may be initiated in response to a click behavior of the user on the page.
Further, according to the embodiment of the present invention, the service data obtaining module 302 is further configured to:
and determining a service event corresponding to the service event trigger request, and calling service data corresponding to the service event from the server by using the remote calling interface.
Specifically, according to the embodiment of the invention, after the business event and the tag label are bound, the corresponding callback method can be registered for each business event according to the name of the tag label, and after a business event trigger request initiated by a user is received, the business data corresponding to the business event can be acquired from the server side according to the callback method calling interface corresponding to the business event.
And the page display module 303 is configured to render the service data into the tag bound to the service event, so as to implement page display.
Through the arrangement, the condition of data rendering errors caused by unclear indication content of the label is avoided, the problem of repeated execution of code logic caused by triggering the service event for many times is also avoided, and the updating and maintaining efficiency of the page code and the triggering fault-tolerant rate of the service event are realized.
According to the technical scheme of the embodiment of the invention, the label is set according to the type of the business event, and the label is bound with the business events of different types; responding to a service event triggering request initiated by a user, and calling service data corresponding to a service event from a server; the technical means of page display is achieved by rendering the service data to the tag bound with the service event, so that the technical problems that in the existing page display method, due to the fact that the service event indicated by the tag is ambiguous, data display errors are prone to occurring in the page display process, page display is disordered, and user experience is poor are solved, and therefore the technical effects of improving the page display effect, improving the page display efficiency and improving the user experience are achieved.
Fig. 4 shows an exemplary system architecture 400 of a page presentation method or page presentation apparatus to which embodiments of the present invention may be applied.
As shown in fig. 4, the system architecture 400 may include terminal devices 401, 402, 403, a network 404, and a server 405 (this architecture is merely an example, and the components included in a particular architecture may be adapted according to application specific circumstances). The network 404 serves as a medium for providing communication links between the terminal devices 401, 402, 403 and the server 405. Network 404 may include various types of connections, such as wire, wireless communication links, or fiber optic cables, to name a few.
A user may use terminal devices 401, 402, 403 to interact with a server 405 over a network 404 to receive or send messages or the like. The terminal devices 401, 402, 403 may have installed thereon various communication client applications, such as a page presentation type application, a data processing type application, etc. (just examples).
The terminal devices 401, 402, 403 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The server 405 may be a server that provides various services, such as a server (for example only) for (page presentation/data processing) performed by a user using the terminal device 401, 402, 403. The server may analyze and/or otherwise process the received data, such as the type of the service event, and may feed back the processing result (e.g., the tag, the service data, just an example) to the terminal device.
It should be noted that the page display method provided by the embodiment of the present invention is generally executed by the server 405, and accordingly, the page display apparatus is generally disposed in the server 405.
It should be understood that the number of terminal devices, networks, and servers in fig. 4 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring now to FIG. 5, a block diagram of a computer system 500 suitable for use with a terminal device or server implementing an embodiment of the invention is shown. The terminal device or the server shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 5, the computer system 500 includes a Central Processing Unit (CPU)501 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)502 or a program loaded from a storage section 508 into a Random Access Memory (RAM) 503. In the RAM 503, various programs and data necessary for the operation of the system 500 are also stored. The CPU 501, ROM 502, and RAM 503 are connected to each other via a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
The following components are connected to the I/O interface 505: an input portion 506 including a keyboard, a mouse, and the like; an output portion 507 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 508 including a hard disk and the like; and a communication section 509 including a network interface card such as a LAN card, a modem, or the like. The communication section 509 performs communication processing via a network such as the internet. The driver 510 is also connected to the I/O interface 505 as necessary. A removable medium 511 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 510 as necessary, so that a computer program read out therefrom is mounted into the storage section 508 as necessary.
In particular, according to the embodiments 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 embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 509, and/or installed from the removable medium 511. The computer program performs the above-described functions defined in the system of the present invention when executed by the Central Processing Unit (CPU) 501.
It should be noted that the computer readable medium shown in the present invention 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 invention, 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 the present invention, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A 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: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
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 invention. 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 or flowchart illustration, and combinations of blocks in the block diagrams 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 modules described in the embodiments of the present invention may be implemented by software or hardware. The described modules may also be provided in a processor, which may be described as: a processor comprises a tag setting module, a service data acquisition module and a page display module. The names of these modules do not form a limitation on the modules themselves in some cases, for example, the tag label setting module may also be described as a "module for setting a tag label according to a service event type and binding the tag label with a service event of a different type".
As another aspect, the present invention also provides a computer-readable medium that may be contained in the apparatus described in the above embodiments; or may be separate and not incorporated into the device. The computer readable medium carries one or more programs which, when executed by a device, cause the device to comprise: setting a tag according to the type of the business event, and binding the tag with different types of business events; responding to a service event triggering request initiated by a user, and calling service data corresponding to a service event from a server; and rendering the service data to a tag bound with the service event so as to realize page display.
According to the technical scheme of the embodiment of the invention, the label is set according to the type of the business event, and the label is bound with the business events of different types; responding to a service event triggering request initiated by a user, and calling service data corresponding to a service event from a server; the technical means of page display is achieved by rendering the service data to the tag bound with the service event, so that the technical problems that in the existing page display method, due to the fact that the service event indicated by the tag is ambiguous, data display errors are prone to occurring in the page display process, page display is disordered, and user experience is poor are solved, and therefore the technical effects of improving the page display effect, improving the page display efficiency and improving the user experience are achieved.
The above-described embodiments should not be construed as limiting the scope of the invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions can occur, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A page display method is characterized by comprising the following steps:
setting a tag according to the type of the business event, and binding the tag with the business events of different types;
responding to a service event triggering request initiated by a user, and calling service data corresponding to a service event from a server;
and rendering the service data to a tag bound with the service event so as to realize page display.
2. The page display method according to claim 1, wherein the service event types are divided into at least one level; for the multi-level divided service event types, setting a tag according to the service event types, and binding the tag with different types of service events, further comprising:
and respectively setting multi-level label tags according to the classification levels of the service event types, and binding the label tags at the same level with different types of service events.
3. The page display method of claim 1, further comprising:
and updating the service event according to the update request of the service event, and updating the set tag according to the updated service event.
4. The page display method according to claim 1, wherein said invoking service data corresponding to the service event from the server in response to the service event trigger request initiated by the user comprises:
and determining a service event corresponding to the service event trigger request, and calling service data corresponding to the service event from a server by using a remote calling interface.
5. A page display apparatus, comprising:
the system comprises a tag setting module, a tag identification module and a service event identification module, wherein the tag setting module is used for setting tag according to the type of a service event and binding the tag with different types of service events;
the service data acquisition module is used for responding to a service event trigger request initiated by a user and calling service data corresponding to the service event from a server;
and the page display module is used for rendering the service data to the tag bound with the service event so as to realize page display.
6. The page displaying apparatus according to claim 5, wherein said service event types are divided into at least one level; for the multi-level divided service event types, the tag setting module is further configured to:
and respectively setting multi-level label tags according to the classification levels of the service event types, and binding the label tags at the same level with different types of service events.
7. The page display apparatus of claim 5, wherein the page display apparatus further comprises an update module configured to:
and updating the service event according to the update request of the service event, and updating the set tag according to the updated service event.
8. The page displaying apparatus according to claim 5, wherein the service data obtaining module is further configured to:
and determining a service event corresponding to the service event trigger request, and calling service data corresponding to the service event from a server by using a remote calling interface.
9. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-4.
10. A computer-readable medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1-4.
CN202011331489.2A 2020-11-24 2020-11-24 Page display method and device Pending CN113761415A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011331489.2A CN113761415A (en) 2020-11-24 2020-11-24 Page display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011331489.2A CN113761415A (en) 2020-11-24 2020-11-24 Page display method and device

Publications (1)

Publication Number Publication Date
CN113761415A true CN113761415A (en) 2021-12-07

Family

ID=78786098

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011331489.2A Pending CN113761415A (en) 2020-11-24 2020-11-24 Page display method and device

Country Status (1)

Country Link
CN (1) CN113761415A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114329164A (en) * 2021-12-31 2022-04-12 北京百度网讯科技有限公司 Method, apparatus, device, medium and product for processing data

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050256933A1 (en) * 2004-05-07 2005-11-17 Millington Bradley D Client-side callbacks to server events
US20060168188A1 (en) * 2002-01-28 2006-07-27 Witness Systems, Inc., A Delaware Corporation Method and system for presenting events associated with recorded data exchanged between a server and a user
US20140281858A1 (en) * 2013-03-15 2014-09-18 Xing Yi Display time of a web page
CN105094754A (en) * 2014-04-21 2015-11-25 阿里巴巴集团控股有限公司 Application development method, response method of page requests and device based on tags
CN107295050A (en) * 2016-04-01 2017-10-24 阿里巴巴集团控股有限公司 Front end user behavioral statisticses method and device
CN107678740A (en) * 2017-10-26 2018-02-09 福建星瑞格软件有限公司 A kind of method for packing and computer equipment of UI Service Component
CN108334562A (en) * 2018-01-09 2018-07-27 阿里巴巴集团控股有限公司 A kind of page display method and device
CN110704148A (en) * 2019-09-20 2020-01-17 广州虎牙科技有限公司 Method and device for acquiring device page elements, server and storage medium
CN111443911A (en) * 2020-03-24 2020-07-24 五八有限公司 Page development method and device, electronic equipment and computer storage medium
CN111814089A (en) * 2020-06-30 2020-10-23 广州市百果园信息技术有限公司 Page rendering method and device, rendering server and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060168188A1 (en) * 2002-01-28 2006-07-27 Witness Systems, Inc., A Delaware Corporation Method and system for presenting events associated with recorded data exchanged between a server and a user
US20050256933A1 (en) * 2004-05-07 2005-11-17 Millington Bradley D Client-side callbacks to server events
US20140281858A1 (en) * 2013-03-15 2014-09-18 Xing Yi Display time of a web page
CN105094754A (en) * 2014-04-21 2015-11-25 阿里巴巴集团控股有限公司 Application development method, response method of page requests and device based on tags
CN107295050A (en) * 2016-04-01 2017-10-24 阿里巴巴集团控股有限公司 Front end user behavioral statisticses method and device
CN107678740A (en) * 2017-10-26 2018-02-09 福建星瑞格软件有限公司 A kind of method for packing and computer equipment of UI Service Component
CN108334562A (en) * 2018-01-09 2018-07-27 阿里巴巴集团控股有限公司 A kind of page display method and device
CN110704148A (en) * 2019-09-20 2020-01-17 广州虎牙科技有限公司 Method and device for acquiring device page elements, server and storage medium
CN111443911A (en) * 2020-03-24 2020-07-24 五八有限公司 Page development method and device, electronic equipment and computer storage medium
CN111814089A (en) * 2020-06-30 2020-10-23 广州市百果园信息技术有限公司 Page rendering method and device, rendering server and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
王琰洁;陈刚;石超;: "基于页面模型的引擎式快速页面构造服务", 计算机系统应用, no. 10, 15 October 2016 (2016-10-15) *
黄星辰;: "基于JSF框架技术的Web应用系统开发", 河南科技, no. 23, 15 December 2012 (2012-12-15) *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114329164A (en) * 2021-12-31 2022-04-12 北京百度网讯科技有限公司 Method, apparatus, device, medium and product for processing data
CN114329164B (en) * 2021-12-31 2023-04-28 北京百度网讯科技有限公司 Method, apparatus, device, medium, and article for processing data

Similar Documents

Publication Publication Date Title
CN110795649A (en) Target page display method, device and system and electronic equipment
CN110706093A (en) Accounting processing method and device
CN111061860A (en) Abstract generation method and device
CN110019367B (en) Method and device for counting data characteristics
CN113076294A (en) Information sharing method and device
CN110705271B (en) System and method for providing natural language processing service
CN113761415A (en) Page display method and device
CN112905178A (en) Method, device, equipment and medium for generating business function page
CN111258988A (en) Asset management method, device, electronic device, and medium
CN111767498A (en) Method and device for realizing file information sharing
CN113220381A (en) Click data display method and device
CN115759029A (en) Document template processing method and device, electronic equipment and storage medium
CN113656041A (en) Data processing method, device, equipment and storage medium
CN114510908A (en) Data export method and device, computer equipment and storage medium
CN113448578A (en) Page data processing method, processing system, electronic device and readable storage medium
CN110309121B (en) Log processing method and device, computer readable medium and electronic equipment
CN112507017A (en) Data table conversion method and device
CN110020317B (en) Webpage container bottom supporting file determining method, device, equipment and readable storage medium
CN113760695A (en) Method and device for positioning problem code
CN110858240A (en) Front-end module loading method and device
CN112835574B (en) Method and device for processing scalable vector graphic icons
CN114911534B (en) Page information extraction method, setting method, device, electronic equipment and medium
CN114492413B (en) Text proofreading method and device and electronic equipment
CN109376023B (en) Method and equipment for generating calling information and issuing return code group
CN112581247A (en) Financial report generation method and device

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