CN111669447A - Page display method, device, equipment and medium - Google Patents

Page display method, device, equipment and medium Download PDF

Info

Publication number
CN111669447A
CN111669447A CN202010548931.0A CN202010548931A CN111669447A CN 111669447 A CN111669447 A CN 111669447A CN 202010548931 A CN202010548931 A CN 202010548931A CN 111669447 A CN111669447 A CN 111669447A
Authority
CN
China
Prior art keywords
client
page display
communication connection
server
display instruction
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
CN202010548931.0A
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.)
CCB Finetech Co Ltd
Original Assignee
China Construction Bank Corp
CCB Finetech 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 China Construction Bank Corp, CCB Finetech Co Ltd filed Critical China Construction Bank Corp
Priority to CN202010548931.0A priority Critical patent/CN111669447A/en
Publication of CN111669447A publication Critical patent/CN111669447A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses a page display method, a page display device, page display equipment and a page display medium. The method comprises the following steps: receiving a communication connection request sent by a client, and establishing bidirectional communication connection with the client; if the field data of the target field in the database is monitored to be changed, generating a page display instruction according to the changed field data; and sending the page display instruction to the client. According to the embodiment of the invention, through establishing the bidirectional communication connection between the server and the client, if the server monitors that the field data of the target field in the database is changed, the page display instruction is generated according to the changed field data and is sent to the client, so that the server can independently send data to the client without sending a data request to the server by the client, the performance loss of the client and the server is reduced, the data transmission speed is improved, and the time delay is reduced.

Description

Page display method, device, equipment and medium
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a page display method, device, equipment and medium.
Background
With the development of display screens and internet technologies, more complex and abstract data are visually displayed through a visualization technology, so that information transmission and application are promoted.
The data to be displayed is generally requested from the server through a calling interface by the client, the client obtains the data to be displayed and renders the data to the page, and the process is one-way, namely the client sends a data request, and the server responds and feeds back the data to be displayed, but the method causes great performance loss to both the client and the server, and the data to be displayed is transmitted at a low speed and has long time delay.
Disclosure of Invention
The embodiment of the application discloses a page display method, a page display device, page display equipment and a page display medium, which are used for solving the problems of higher performance loss of a client and a server, low transmission speed and longer time delay in the existing transmission of data to be displayed.
In a first aspect, an embodiment of the present invention provides a page display method, which is executed by a server, and the method includes:
receiving a communication connection request sent by a client, and establishing bidirectional communication connection with the client;
if the field data of the target field in the database is monitored to be changed, generating a page display instruction according to the changed field data;
and sending the page display instruction to the client.
In a second aspect, an embodiment of the present invention provides a page display method, which is executed by a client, and the method includes:
sending a communication connection request to a server, wherein the communication connection request is used for establishing bidirectional communication connection with the server;
and receiving a page display instruction sent by the server, and displaying a page according to the page display instruction.
In a third aspect, an embodiment of the present invention provides a page display apparatus, configured at a server, where the apparatus includes:
the communication connection request module is used for receiving a communication connection request sent by a client and establishing bidirectional communication connection with the client;
the page display instruction generating module is used for generating a page display instruction according to the changed field data if the field data of the target field in the database is monitored to be changed;
and the page display instruction sending module is used for sending the page display instruction to the client.
In a fourth aspect, an embodiment of the present invention provides a page display apparatus configured at a client, where the apparatus includes:
a communication connection request sending module, configured to send a communication connection request to a server, where the communication connection request is used to establish a bidirectional communication connection with the server;
and the page display instruction receiving module is used for receiving a page display instruction sent by the server and displaying a page according to the page display instruction.
In a fifth aspect, an embodiment of the present invention provides an apparatus, where the apparatus includes:
one or more processors;
a storage device for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors implement the page display method according to any one of the embodiments of the present invention.
In a sixth aspect, an embodiment of the present invention provides a computer-readable medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the page display method according to any one of the embodiments of the present invention.
According to the embodiment of the invention, through establishing the bidirectional communication connection between the server and the client, if the server monitors that the field data of the target field in the database is changed, the page display instruction is generated according to the changed field data and is sent to the client, so that the server can independently send data to the client without sending a data request to the server by the client, the performance loss of the client and the server is reduced, the data transmission speed is improved, and the time delay is reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is a flowchart of a page display method according to an embodiment of the present invention;
fig. 2 is a flowchart of a page display method according to a second embodiment of the present invention;
fig. 3 is a flowchart of a page display method according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a page display device according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of a page display device according to a fifth embodiment of the present invention.
Fig. 6 is a schematic structural diagram of an apparatus according to a sixth embodiment of the present invention.
Detailed Description
The embodiments of the present invention will be described in further detail with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the embodiments of the invention and that no limitation of the invention is intended. It should be further noted that, for convenience of description, only the structures related to the embodiments of the present invention are shown in the drawings, not all the structures.
Example one
Fig. 1 is a flowchart of a page display method according to an embodiment of the present invention. The present embodiment is applicable to a case where a server actively sends field data to a client, and the method may be executed by the page display device provided in the embodiment of the present invention, where the page display device is configured in the server and may be implemented in a software and/or hardware manner. As shown in fig. 1, the method may include:
step 101, receiving a communication connection request sent by a client, and establishing a bidirectional communication connection with the client.
The bidirectional communication means that the client initiates a data request, the server correspondingly feeds target data associated with the data request back to the client, or the client actively performs data transmission operation and sends the target data to the client. In this embodiment, the bidirectional communication optionally includes a WebSocket protocol, the WebSocket protocol belongs to full duplex communication, the client may actively send a request to the server, and the server may also actively send data to the client, which is characterized by including but not limited to: (1) the method is established on a TCP (Transmission Control Protocol), and the server is easy to realize. (2) The data is light, the performance cost is low, and the communication is efficient. (3) Text may be transmitted, as well as binary data. (4) Without a homology limitation, a client may communicate with any server.
Specifically, the server receives a communication connection request sent from the client through an Application Programming Interface (API) for receiving external information, and establishes a bidirectional communication connection with the client in response to the received communication connection request. The communication connection request is used to establish a bidirectional communication connection between the client and the server, and the server may establish a bidirectional communication connection with only one client or multiple clients, which is not limited in this embodiment. In this embodiment, the client includes, but is not limited to, a browsing device with a display function, such as a large visualization screen with a high screen resolution.
The bidirectional communication connection with the client is established by receiving the communication connection request sent by the client, so that the effect of establishing the bidirectional communication connection between the client and the server is realized, and the feasibility is realized by actively sending a page display instruction to the client by a subsequent server.
Step 102, if the field data of the target field in the database is monitored to be changed, generating a page display instruction according to the changed field data.
The database is connected with the server, the database stores data obtained from different data sources, the data of the different data sources are stored in different database tables, the database is connected with each data source through an interface, and when the data of any data source is changed, field data in the database to which the data source belongs are changed. The target field is determined according to the field to which the field data required by different clients belongs, in other words, different clients have corresponding target fields according to the required field data.
Specifically, the server monitors field data of a target field corresponding to each client, the monitoring method includes but is not limited to timing rounds, and if the field data of the target field is monitored to be changed, the changed field data in the target field is extracted, and a page display instruction including the changed field data is generated.
If the field data of the target field in the database is monitored to be changed, the page display instruction is generated according to the changed field data, so that the effect that the server automatically generates the page display instruction when the field data of the target field is changed is achieved, and a foundation is laid for the follow-up server to actively send the page display instruction.
And step 103, sending the page display instruction to the client.
Specifically, the server may serialize a page display instruction to be sent using a json.stringiness function, and call an API for sending data, such as a "send interface," to send the page display instruction to the client.
According to the technical scheme provided by the embodiment of the invention, through establishing the bidirectional communication connection between the server and the client, if the server monitors that the field data of the target field in the database is changed, the page display instruction is generated according to the changed field data and is sent to the client, so that the server can autonomously send data to the client without sending a data request to the server by the client, the performance loss of the client and the server is reduced, the data transmission speed is improved, and the time delay is reduced.
Example two
Fig. 2 is a flowchart of a page display method according to a second embodiment of the present invention. The present embodiment is optimized based on the above optional embodiments, as shown in fig. 2, the method may include:
step 201, receiving a communication connection request sent by a client, verifying the communication connection request, and determining a URL address included in the communication connection request.
The URL address is a uniform resource locator, and is used to indicate a network address.
Specifically, the server exposes address information including a URL address to each client in advance, and when the client generates a communication connection request, the client writes the URL address into the communication connection request and sends the communication connection request including the URL address to the server. After receiving the communication connection request sent by the client, the server analyzes the communication connection request and acquires the URL address included in the communication connection request.
Step 202, if the URL address is the same as the address information of the server, establishing a bidirectional communication connection with the client.
Specifically, the server compares the URL address obtained by analyzing the communication connection request with the address information of the server itself, and if the URL address is the same as the address information of the server, the server starts the operation of establishing the bidirectional communication connection with the client. By comparing the URL address in the communication connection request with the address information of the server, the validity of the communication connection request is verified, and the reliability of the bidirectional communication connection established between the subsequent server and the client is ensured.
Optionally, in the process of establishing a bidirectional communication connection between the server and the client, four initialization events are further preset in this embodiment, and each initialization event is further provided with a corresponding callback function, so that when an initialization event occurs, an operation of executing the content of the corresponding callback function is triggered. The initialization event comprises a connection closing event, a connection failure event, a connection establishing event and a connection monitoring event, wherein the connection closing event represents that the client sends a communication closing request to the server to close the bidirectional communication connection between the server and the client, and the content of the callback function corresponding to the connection closing event is executed at the moment; the "connection failure event" indicates that when the client and the server establish a bidirectional communication connection, the bidirectional communication connection is failed due to some objective reasons, and at this time, the content of the callback function corresponding to the "connection failure event" is executed, for example, after a preset time period, the operation of the client to resend the communication connection request to the server is triggered; the connection establishment event represents that the client and the server successfully establish the bidirectional communication connection, and at the moment, the content of the callback function corresponding to the connection establishment event is executed; the "connection monitoring event" means that the server monitors the information sent by the client in real time, and at this time, the content of the callback function corresponding to the "connection monitoring event" is executed.
Step 203, analyzing the service logic and the request data of the communication connection request, and determining the target field associated with the service logic and the client identification information included in the request data.
Specifically, each client takes a field to which data required by the client belongs in a database table of a database as a target field and formulates a business logic of a communication connection request according to the target field; and, each client writes the client identification information in the respective identity information into the request data of the communication connection request. And after the server receives the communication connection request, analyzing the service logic and the request data so as to respectively determine the target field and the client identification information.
And 204, if the field data of the target field in the database is monitored to be changed, generating a page display instruction according to the changed field data and the client identification information.
Specifically, the server monitors field data in the target field in the database according to the analyzed target field, where the target field may be a certain field in one database table or multiple fields in multiple database tables. When the field data of the target field is monitored to be changed, extracting the field data after the change of the target field, and writing the changed field data and the corresponding client identification information into a page display instruction together.
For example, assuming that a client a, a client B and a client C respectively establish bidirectional communication connection with a server, where the client identifier of the client a is "001", the client identifier of the client B is "002", the client identifier of the client C is "003", and the changed field data extracted by the server for the client a, the client B and the client C are X, Y and Z, respectively, the field data X and the client identifier "001" are jointly written into the page display instruction for the client a; writing the field data Y and the client identifier '002' into a page display instruction for the client B together; the field data Z and the client identification "003" are written together into the page display instruction for the client C.
And step 205, sending the page display instruction to the client.
According to the technical scheme provided by the embodiment of the invention, the URL address in the communication connection request is compared with the address information of the server, so that the validity of the communication connection request is verified, and the reliability of the bidirectional communication connection established between the subsequent server and the client is ensured; the service logic and the request data of the communication connection request are analyzed to determine the target field associated with the service logic and the client identification information included in the request data, so that a foundation is laid for data monitoring of a subsequent server and identity verification of the client; if the field data of the target field in the database is monitored to be changed, a page display instruction is generated according to the changed field data and the client identification information, the technical effect that the server independently sends the field data is achieved without the need that the client sends a data request to the server first, and therefore performance loss of the client and the server is reduced, data transmission speed is improved, and time delay is reduced.
On the basis of the above embodiment, before step 201, the method further includes:
introducing a bidirectional communication module, and establishing a service class according to the bidirectional communication module; and creating a two-way communication service based on the service class which is established.
Explanation is given by taking bidirectional communication as a WebSocket protocol as an example: the method comprises the steps that a Server side firstly introduces a bidirectional communication module such as a ws module, then introduces a service class such as a Server class according to the bidirectional communication module, creates a WebSocket service based on the service class, waits for a client side to send a communication connection request, and establishes WebSocket connection with the client side after receiving the communication connection request sent by the client side.
By introducing the bidirectional communication module, establishing the service class according to the bidirectional communication module, establishing the bidirectional communication service based on the established service class, completing the preparation work for establishing the bidirectional communication connection of the server, and laying a foundation for subsequently establishing the bidirectional communication connection between the server and the client.
EXAMPLE III
Fig. 3 is a flowchart of a page display method according to a third embodiment of the present invention. The present embodiment is applicable to a case where a client performs page display according to data issued by a server, and the method may be executed by the page display apparatus provided in the embodiment of the present invention, where the page display apparatus is configured in the client and may be implemented in a software and/or hardware manner. As shown in fig. 3, the method may include:
step 301, sending a communication connection request to a server, where the communication connection request is used to establish a bidirectional communication connection with the server.
Wherein, the bidirectional communication optionally comprises a WebSocket protocol.
Specifically, the client sends a communication connection request to the server through the API for receiving information of the server, so that the server establishes a bidirectional communication connection with the client according to the communication connection request.
Optionally, step 301 further includes:
and the client writes the URL address into the communication connection request according to the URL address exposed by the server.
Optionally, step 301 further includes:
the client takes the field of the data needed by the client in the database table of the database as a target field and formulates the business logic of the communication connection request according to the target field.
Optionally, step 301 further includes:
and the client writes the client identification information in the self-identity information into the request data of the communication connection request.
The client sends a communication connection request to the server, so that the establishment of the two-way communication between the client and the server is realized.
Step 302, receiving a page display instruction sent by the server, and displaying a page according to the page display instruction.
Specifically, the client receives a page display instruction sent by the server, extracts field data from the page display instruction, and displays a page according to the field data.
Optionally, after "receiving a page display instruction sent by the server" in step 302, the method further includes:
verifying the page display instruction, and determining client identification information included in the page display instruction; and if the client identification information is different from the identity information of the client, generating abnormal alarm information and sending the abnormal alarm information to the server.
For example, it is assumed that the identification information in the identity information of the client is "001", and the client identification information in the page display instruction obtained from the server is "001", that is, the client identification information is the same as the identity information of the client, which indicates that the page display instruction is issued to the client, thereby completing the validity verification.
For example, assuming that the identification information in the identity information of the client is "001" and the client identification information in the page display instruction obtained from the server is "002", that is, the client identification information is different from the identity information of the client, it indicates that the page display instruction is not issued to the client, so as to generate abnormal alarm information and send the abnormal alarm information to the server, so as to remind the server of an error in issuing the page display instruction.
Optionally, the step 302 of "performing page display according to the page display instruction" includes:
and analyzing the page display instruction, determining field data included in the page display instruction, and rendering the field data to display the page.
Specifically, the client analyzes the field data in the page display instruction, and updates and displays the field data in the page by using a rendering technology based on a JavaScript language.
According to the technical scheme provided by the embodiment of the invention, the client sends the communication connection request to the server, so that the technical effect of establishing bidirectional communication connection between the client and the server is realized; by receiving the page display instruction sent by the server and displaying the page according to the page display instruction, the client can correspondingly display the page according to the page display instruction actively issued by the server without sending a data request to the server by the client, so that the performance loss of the client and the server is reduced, the data transmission speed is increased, and the time delay is reduced.
The embodiment also provides an implementation mode of establishing the unidirectional communication connection between the client and the server, which is used for acquiring data for page display from the server when the client displays a page for the first time or a user actively operates an event in the client, such as a click event, a switching event, and the like. The specific implementation mode is as follows:
1) the client sends a one-way communication connection request to the server, and the server establishes one-way communication connection with the client after receiving the one-way communication connection request. 2) The client sends an http request to the server, the server receives and analyzes the http request, and acquires target data required by the client from the database according to an analysis result. 3) And packaging and feeding back the target data to the client so that the client renders and displays the target data in a page after receiving and analyzing the target data.
On the basis of the foregoing embodiment, after step 302, this embodiment further provides a method for page display adaptive layout, which specifically includes:
the page is divided into N equal parts in the horizontal and vertical directions using Grid layout, i.e. N rows and N columns, each row accounting for 1% of the height and each column accounting for 1% of the width, where N is preferably 100. The diagram to be displayed is arranged on the corresponding cell, so that the diagram is in an equal proportion to the position and the size of the browser on the displays with different resolutions.
Grid layout is a relatively new layout method, and Grid divides a page into "rows" and "columns" to generate two-dimensional cells, and then specifies the cells of elements, thus being a two-dimensional layout. Compared with the traditional layout mode: the flex layout and the percentage layout are more flexible and rapid in implementation of Grid layout on large-screen data visualization self-adaptive layout application, and only one-time style code (CSS code) needs to be set, and a plurality of different styles do not need to be set and JavaScript script codes do not need to be executed.
Example four
Fig. 4 is a schematic structural diagram of a page display apparatus according to a fourth embodiment of the present invention, which is capable of executing a page display method according to the first and/or second embodiments of the present invention, and has functional modules and beneficial effects corresponding to the execution method. As shown in fig. 4, the apparatus may include:
a communication connection request module 41, configured to receive a communication connection request sent by a client, and establish a bidirectional communication connection with the client;
the page display instruction generating module 42 is configured to, if it is monitored that field data of a target field in the database is changed, generate a page display instruction according to the changed field data;
a page display instruction sending module 43, configured to send the page display instruction to the client.
On the basis of the foregoing embodiment, the communication connection requesting module 41 is specifically configured to:
verifying the communication connection request, and determining a URL address included in the communication connection request;
and if the URL address is the same as the address information of the server, establishing bidirectional communication connection with the client.
On the basis of the above embodiment, the apparatus further includes a bidirectional communication service creation module, specifically configured to:
introducing a bidirectional communication module, and establishing a service class according to the bidirectional communication module;
and creating a two-way communication service based on the service class which is established.
On the basis of the above embodiment, the apparatus further includes a communication connection request parsing module, specifically configured to:
analyzing the service logic and the request data of the communication connection request, and determining the target field associated with the service logic and the client identification information included in the request data;
correspondingly, the page display instruction sending module 43 is specifically configured to:
and generating a page display instruction according to the changed field data and the client identification information.
The page display device provided by the embodiment of the invention can execute the page display method provided by the first embodiment and/or the second embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method. For details of the technology that are not described in detail in this embodiment, reference may be made to the page display method provided in the first embodiment and/or the second embodiment of the present invention.
EXAMPLE five
Fig. 5 is a schematic structural diagram of a page display apparatus according to a fifth embodiment of the present invention, which is capable of executing a page display method according to a third embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method. As shown in fig. 5, the apparatus may include:
a communication connection request sending module 51, configured to send a communication connection request to a server, where the communication connection request is used to establish a bidirectional communication connection with the server;
and the page display instruction receiving module 52 is configured to receive a page display instruction sent by the server, and perform page display according to the page display instruction.
On the basis of the above embodiment, the apparatus further includes a page display instruction verification module, specifically configured to:
verifying the page display instruction, and determining client identification information included in the page display instruction;
and if the client identification information is different from the identity information of the client, generating abnormal alarm information and sending the abnormal alarm information to the server.
On the basis of the above embodiment, the page display instruction receiving module 52 is specifically configured to:
and analyzing the page display instruction, determining field data included in the page display instruction, and rendering the field data to display the page.
The page display device provided by the embodiment of the invention can execute the page display method provided by the third embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method. For details of the page display method provided in the third embodiment of the present invention, reference may be made to the technical details not described in detail in this embodiment.
EXAMPLE six
Fig. 6 is a schematic structural diagram of an apparatus according to a sixth embodiment of the present invention. Fig. 6 illustrates a block diagram of an exemplary device 600 suitable for use in implementing embodiments of the present invention. The device 600 shown in fig. 6 is only an example and should not bring any limitations to the functionality or scope of use of the embodiments of the present invention.
As shown in FIG. 6, device 600 is in the form of a general purpose computing device. The components of device 600 may include, but are not limited to: one or more processors or processing units 601, a system memory 602, and a bus 603 that couples various system components including the system memory 602 and the processing unit 601.
Bus 603 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Device 600 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by device 600 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 602 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)604 and/or cache memory 605. The device 600 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 606 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 6, commonly referred to as a "hard drive"). Although not shown in FIG. 6, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 603 by one or more data media interfaces. Memory 602 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 608 having a set (at least one) of program modules 607 may be stored, for example, in memory 602, such program modules 607 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. The program modules 607 generally perform the functions and/or methods of the described embodiments of the invention.
Device 600 may also communicate with one or more external devices 609 (e.g., keyboard, pointing device, display 610, etc.), with one or more devices that enable a user to interact with device 600, and/or with any devices (e.g., network card, modem, etc.) that enable device 600 to communicate with one or more other computing devices. Such communication may occur via an input/output (I/O) interface 611. Also, the device 600 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN) and/or a public network, such as the Internet) via the network adapter 612. As shown, a network adapter 612 communicates with the other modules of the device 600 via the bus 603. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with device 600, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 601 executes various functional applications and data processing by running the program stored in the system memory 602, for example, implementing the page display method provided by the embodiment of the present invention, including:
receiving a communication connection request sent by a client, and establishing bidirectional communication connection with the client;
if the field data of the target field in the database is monitored to be changed, generating a page display instruction according to the changed field data;
and sending the page display instruction to the client.
And/or;
sending a communication connection request to a server, wherein the communication connection request is used for establishing bidirectional communication connection with the server;
and receiving a page display instruction sent by the server, and displaying a page according to the page display instruction.
EXAMPLE six
An embodiment of the present invention further provides a computer-readable storage medium, where the computer-executable instructions, when executed by a computer processor, are configured to perform a page display method, where the method includes:
receiving a communication connection request sent by a client, and establishing bidirectional communication connection with the client;
if the field data of the target field in the database is monitored to be changed, generating a page display instruction according to the changed field data;
and sending the page display instruction to the client.
And/or;
sending a communication connection request to a server, wherein the communication connection request is used for establishing bidirectional communication connection with the server;
and receiving a page display instruction sent by the server, and displaying a page according to the page display instruction.
Of course, the storage medium provided by the embodiment of the present invention contains computer-executable instructions, and the computer-executable instructions are not limited to the operations of the method described above, and may also perform related operations in a page display method provided by any embodiment of the present invention. The computer-readable storage media of embodiments of the invention may take any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. 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 (a non-exhaustive list) of the computer readable storage medium would include the following: 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 context of this document, 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.
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, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (11)

1. A page display method is executed by a server and comprises the following steps:
receiving a communication connection request sent by a client, and establishing bidirectional communication connection with the client;
if the field data of the target field in the database is monitored to be changed, generating a page display instruction according to the changed field data;
and sending the page display instruction to the client.
2. The method of claim 1, wherein receiving a communication connection request sent by a client, and establishing a bidirectional communication connection with the client comprises:
verifying the communication connection request, and determining a URL address included in the communication connection request;
and if the URL address is the same as the address information of the server, establishing bidirectional communication connection with the client.
3. The method of claim 1, wherein before receiving the communication connection request sent by the client, the method further comprises:
introducing a bidirectional communication module, and establishing a service class according to the bidirectional communication module;
and creating a two-way communication service based on the service class which is established.
4. The method of claim 1, wherein after establishing the bi-directional communication connection with the client, the method further comprises:
analyzing the service logic and the request data of the communication connection request, and determining the target field associated with the service logic and the client identification information included in the request data;
correspondingly, according to the changed field data, generating a page display instruction, including:
and generating a page display instruction according to the changed field data and the client identification information.
5. A page display method, executed by a client, includes:
sending a communication connection request to a server, wherein the communication connection request is used for establishing bidirectional communication connection with the server;
and receiving a page display instruction sent by the server, and displaying a page according to the page display instruction.
6. The method of claim 5, wherein after receiving the page display instruction sent by the server, the method further comprises:
verifying the page display instruction, and determining client identification information included in the page display instruction;
and if the client identification information is different from the identity information of the client, generating abnormal alarm information and sending the abnormal alarm information to the server.
7. The method of claim 5, wherein displaying the page according to the page display instruction comprises:
and analyzing the page display instruction, determining field data included in the page display instruction, and rendering the field data to display the page.
8. A page display device, configured to a server, comprising:
the communication connection request module is used for receiving a communication connection request sent by a client and establishing bidirectional communication connection with the client;
the page display instruction generating module is used for generating a page display instruction according to the changed field data if the field data of the target field in the database is monitored to be changed;
and the page display instruction sending module is used for sending the page display instruction to the client.
9. A page display apparatus, configured at a client, comprising:
a communication connection request sending module, configured to send a communication connection request to a server, where the communication connection request is used to establish a bidirectional communication connection with the server;
and the page display instruction receiving module is used for receiving a page display instruction sent by the server and displaying a page according to the page display instruction.
10. An apparatus, characterized in that the apparatus further comprises:
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 page display method of any of claims 1-4 and/or claims 5-7.
11. A computer-readable medium, on which a computer program is stored which, when being executed by a processor, carries out a page display method according to any one of claims 1 to 4 and/or claims 5 to 7.
CN202010548931.0A 2020-06-16 2020-06-16 Page display method, device, equipment and medium Pending CN111669447A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010548931.0A CN111669447A (en) 2020-06-16 2020-06-16 Page display method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010548931.0A CN111669447A (en) 2020-06-16 2020-06-16 Page display method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN111669447A true CN111669447A (en) 2020-09-15

Family

ID=72388353

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010548931.0A Pending CN111669447A (en) 2020-06-16 2020-06-16 Page display method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN111669447A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113419940A (en) * 2021-07-07 2021-09-21 广州方硅信息技术有限公司 Program log collecting and returning method and corresponding device, equipment and medium
CN113783830A (en) * 2020-12-21 2021-12-10 北京沃东天骏信息技术有限公司 Method and apparatus for data communication
CN114064264A (en) * 2021-09-16 2022-02-18 浪潮卓数大数据产业发展有限公司 Front-end multithreading rendering method and device based on real-time communication and computer medium
CN114979288A (en) * 2022-05-17 2022-08-30 中国工商银行股份有限公司 Method, device and system for controlling client, storage medium and electronic equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2299150A1 (en) * 2000-02-23 2001-08-23 Hummingbird Communications Ltd A system and method for providing real-time information to a web browser
US20130179791A1 (en) * 2011-12-16 2013-07-11 Webotics Inc. System and method for real-time data in a graphical user interface
CN104301436A (en) * 2014-11-04 2015-01-21 北京奇虎科技有限公司 Push method and device of content to be displayed, subscription method and device of content to be displayed and update method and device of content to be displayed
CN105100158A (en) * 2014-05-15 2015-11-25 中兴通讯股份有限公司 Message pushing and obtaining methods and apparatuses
CN105279224A (en) * 2015-09-09 2016-01-27 百度在线网络技术(北京)有限公司 Information push method and device
CN105282227A (en) * 2015-09-06 2016-01-27 浪潮软件股份有限公司 High-efficiency and high-stability page real-time data refreshing method
CN109460201A (en) * 2018-09-28 2019-03-12 北京字节跳动网络技术有限公司 The methods of exhibiting of information, device, hardware device
CN109743381A (en) * 2018-12-27 2019-05-10 北京字节跳动网络技术有限公司 Client and the long connection exchange method of server-side and device
CN110347945A (en) * 2018-01-15 2019-10-18 北京京东金融科技控股有限公司 The method and apparatus for obtaining the data of the page

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2299150A1 (en) * 2000-02-23 2001-08-23 Hummingbird Communications Ltd A system and method for providing real-time information to a web browser
US20130179791A1 (en) * 2011-12-16 2013-07-11 Webotics Inc. System and method for real-time data in a graphical user interface
CN105100158A (en) * 2014-05-15 2015-11-25 中兴通讯股份有限公司 Message pushing and obtaining methods and apparatuses
CN104301436A (en) * 2014-11-04 2015-01-21 北京奇虎科技有限公司 Push method and device of content to be displayed, subscription method and device of content to be displayed and update method and device of content to be displayed
CN105282227A (en) * 2015-09-06 2016-01-27 浪潮软件股份有限公司 High-efficiency and high-stability page real-time data refreshing method
CN105279224A (en) * 2015-09-09 2016-01-27 百度在线网络技术(北京)有限公司 Information push method and device
CN110347945A (en) * 2018-01-15 2019-10-18 北京京东金融科技控股有限公司 The method and apparatus for obtaining the data of the page
CN109460201A (en) * 2018-09-28 2019-03-12 北京字节跳动网络技术有限公司 The methods of exhibiting of information, device, hardware device
CN109743381A (en) * 2018-12-27 2019-05-10 北京字节跳动网络技术有限公司 Client and the long connection exchange method of server-side and device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113783830A (en) * 2020-12-21 2021-12-10 北京沃东天骏信息技术有限公司 Method and apparatus for data communication
CN113783830B (en) * 2020-12-21 2024-05-28 北京沃东天骏信息技术有限公司 Method and apparatus for data communication
CN113419940A (en) * 2021-07-07 2021-09-21 广州方硅信息技术有限公司 Program log collecting and returning method and corresponding device, equipment and medium
CN113419940B (en) * 2021-07-07 2023-08-15 广州方硅信息技术有限公司 Program log acquisition and regression method and corresponding device, equipment and medium thereof
CN114064264A (en) * 2021-09-16 2022-02-18 浪潮卓数大数据产业发展有限公司 Front-end multithreading rendering method and device based on real-time communication and computer medium
CN114979288A (en) * 2022-05-17 2022-08-30 中国工商银行股份有限公司 Method, device and system for controlling client, storage medium and electronic equipment
CN114979288B (en) * 2022-05-17 2024-07-05 中国工商银行股份有限公司 Control method and device for client, system, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
US11588922B2 (en) Capturing and replaying application sessions using resource files
CN111669447A (en) Page display method, device, equipment and medium
US9984408B1 (en) Method, medium, and system for live video cooperative shopping
US11509505B2 (en) Method and apparatus for operating smart network interface card
US9363134B1 (en) Lightweight browser monitoring and viewing
JP2014524603A (en) Collect transaction data associated with a locally stored data file
CN109558323B (en) System, method and apparatus for debugging pages
CN109413140B (en) Remote automatic upgrading method for PACS server
CN104484094B (en) The implementation method at the tunnel monitoring multiple web pages interface based on multi-screen work station
US20160359989A1 (en) Recording And Triggering Web And Native Mobile Application Events With Mapped Data Fields
CN112015314A (en) Information display method and device, electronic equipment and medium
CN112988599B (en) Page debugging method and device, electronic equipment and storage medium
CN111813623A (en) Page monitoring method and device, electronic equipment and storage medium
CN113900834A (en) Data processing method, device, equipment and storage medium based on Internet of things technology
US20120254467A1 (en) Mainframe Web Client
CN109165372B (en) Webpage loading method, device, equipment and storage medium
US20130124971A1 (en) Real time web script refresh using asynchronous polling without full web page reload
CN109582580B (en) System, method and apparatus for debugging pages
CN113312036B (en) Large screen display method, device and equipment of Web page and storage medium
CN115455013A (en) Method, system, computer equipment and medium for automatically updating dynamic form
CN111400581B (en) System, method and apparatus for labeling samples
CN113571162A (en) Method, device and system for realizing multi-user cooperative operation medical image
CN110399131B (en) Method, device and computer equipment for improving stability of application program
CN110958243A (en) Network vulnerability submitting method and device, storage medium and electronic equipment
US10983805B2 (en) Contextual keyboard located on a remote server for implementation on any content delivery and interaction application

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: 20220914

Address after: 12 / F, 15 / F, 99 Yincheng Road, China (Shanghai) pilot Free Trade Zone, Pudong New Area, Shanghai, 200120

Applicant after: Jianxin Financial Science and Technology Co.,Ltd.

Address before: 25 Financial Street, Xicheng District, Beijing 100033

Applicant before: CHINA CONSTRUCTION BANK Corp.

Applicant before: Jianxin Financial Science and Technology Co.,Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200915