CN113905032A - Data source management method and device and computer equipment - Google Patents

Data source management method and device and computer equipment Download PDF

Info

Publication number
CN113905032A
CN113905032A CN202111182950.7A CN202111182950A CN113905032A CN 113905032 A CN113905032 A CN 113905032A CN 202111182950 A CN202111182950 A CN 202111182950A CN 113905032 A CN113905032 A CN 113905032A
Authority
CN
China
Prior art keywords
data
data source
client
request
target data
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.)
Granted
Application number
CN202111182950.7A
Other languages
Chinese (zh)
Other versions
CN113905032B (en
Inventor
曾明健
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Yizhi Micro Technology Co ltd
Original Assignee
Hangzhou Yizhi Micro 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 Hangzhou Yizhi Micro Technology Co ltd filed Critical Hangzhou Yizhi Micro Technology Co ltd
Priority to CN202111182950.7A priority Critical patent/CN113905032B/en
Priority claimed from CN202111182950.7A external-priority patent/CN113905032B/en
Publication of CN113905032A publication Critical patent/CN113905032A/en
Application granted granted Critical
Publication of CN113905032B publication Critical patent/CN113905032B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]

Abstract

The invention provides a data source management method, a data source management device and computer equipment, wherein the method comprises the following steps: receiving data source information input by a user, wherein the data source information comprises: a data source address and a data request mode; receiving an HTTP data request corresponding to data source information sent by a client; responding to the HTTP data request, polling a remote data source in a data request mode to acquire target data corresponding to a data source address from the remote data source; and sending the target data to the client based on a WebSocket protocol so that the client renders the target data and displays the target data on a large screen of the client. Therefore, the phenomena of resource waste and request failure caused by the large number of client components can be avoided, the phenomenon of collapse of the remote data source when the access amount of the client is large can be avoided, the performance of the data request is improved, the safety of the remote data source is guaranteed, and the user experience is improved.

Description

Data source management method and device and computer equipment
Technical Field
The invention relates to the technical field of data visualization, in particular to a data source management method, a data source management device and computer equipment.
Background
With the rapid advance of big data technology, data visualization technology is also rapidly developed under the promotion of big data technology. The dramatic increase in data volume puts higher demands on data source management for data visualization. At present, a data visualization platform requests a data source based on an HTTP (HyperText Transfer Protocol) Protocol, a client initiates a request on a large screen, a server requests remote data and returns the remote data to the large screen of the client, and the large screen of the client receives the data and renders the data.
However, this approach has three disadvantages that affect the user experience: 1. each component in the client has the right to send a request to the server data source management system to acquire data, and when the number of the components is large, the number of network requests is large, which wastes resources. 2. The client large screen receives a request forwarded by the server once when accessing the remote data source, and if the client large screen has a large access amount, the access amount of the remote data source will increase sharply, which is easy to cause breakdown. 3. Each component of a large screen of the client can independently send a request, and when the number of the components is large, concurrent requests are easily limited by a browser of the client, so that request failure is caused.
Disclosure of Invention
The invention aims to solve the problems of crash caused by sharp increase of remote data source request pressure when the large-screen access amount of the client is large, waste of flow resources caused by large request data amount when the large-screen components of the client are large, and limitation of concurrent requests of a browser when the large-screen components of the client are large at least to a certain extent.
Therefore, a first objective of the present invention is to provide a data source management method, which can avoid the phenomena of resource waste and request failure caused by a large number of client components, and can avoid the phenomenon of remote data source breakdown caused by a large access amount of a client, thereby improving the performance of data requests, ensuring the security of remote data sources, and improving the user experience.
The second purpose of the invention is to provide a data source management device.
A third object of the invention is to propose a computer device.
In order to achieve the above object, an embodiment of a first aspect of the present invention provides a data source management method, including:
receiving data source information input by a user, wherein the data source information comprises: a data source address and a data request mode;
receiving an HTTP data request corresponding to the data source information sent by a client;
responding to the HTTP data request, polling a remote data source in a data request mode to acquire target data corresponding to the data source address from the remote data source;
and sending the target data to the client based on a WebSocket protocol so that the client renders the target data and displays the target data on a large screen of the client.
In addition, the data source management method proposed according to the above embodiment of the present invention may further have the following additional technical features:
according to an embodiment of the present invention, before receiving an HTTP data request corresponding to the data source information sent by a client, the method further includes:
receiving a WebSocket connection request initiated by the client;
and responding to the WebSocket connection request, and establishing full-duplex communication with the client.
According to an embodiment of the present invention, before sending the target data to the client based on the WebSocket protocol, the method further includes:
confirming that a WebSocket connection exists between the client and the server.
According to an embodiment of the present invention, the data source management method further includes:
caching the target data;
sending the target data to the client based on a WebSocket protocol, wherein the steps of:
and sending the cached target data to the client regularly based on a WebSocket protocol.
According to an embodiment of the present invention, the data request method includes: the frequency of data requests.
In order to achieve the above object, a second embodiment of the present invention provides a data source management apparatus, including:
the first receiving module is used for receiving data source information input by a user, and the data source information comprises: a data source address and a data request mode;
the second receiving module is used for receiving an HTTP data request which is sent by the client and corresponds to the data source information;
the acquisition module is used for responding to the HTTP data request, polling a remote data source in a data request mode so as to acquire target data corresponding to the data source address from the remote data source;
and the sending module is used for sending the target data to the client based on a WebSocket protocol so that the client renders the target data and displays the target data on a large screen of the client.
In addition, the data source management device proposed according to the above embodiment of the present invention may further have the following additional technical features:
according to an embodiment of the present invention, the data source management apparatus further includes: a third receiving module, configured to receive a WebSocket connection request initiated by the client; and the communication module is used for responding to the WebSocket connection request and establishing full duplex communication with the client.
According to an embodiment of the present invention, the data source management apparatus further includes: and the confirmation module is used for confirming that the WebSocket connection exists between the client and the client.
According to an embodiment of the present invention, the data source management apparatus further includes: the cache module is used for caching the target data; the sending module is specifically configured to: and sending the cached target data to the client regularly based on a WebSocket protocol.
In order to achieve the above object, a third embodiment of the present invention provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the data source management method provided in the first embodiment of the present invention is implemented.
According to the technical scheme, data source information input by a user and an HTTP data request sent by a client are received, the HTTP data request is responded, a remote data source is polled continuously according to the data source information, so that required target data are obtained from the remote data source, then the target data are sent to the client based on a WebSocket protocol, and therefore the target data are processed visually at the client. Therefore, the phenomena of resource waste and request failure caused by the large number of client components can be avoided, the phenomenon of collapse of the remote data source when the access amount of the client is large can be avoided, the performance of the data request is improved, the safety of the remote data source is guaranteed, and the user experience is improved.
Drawings
Fig. 1 is a flowchart of a data source management method according to an embodiment of the present invention.
FIG. 2 is a diagram illustrating interaction between a user, a server-side data source management system, and a remote data source according to an embodiment of the present invention.
Fig. 3 is a diagram illustrating interaction between a user, a server-side data source management system, and a remote data source according to another embodiment of the present invention.
Fig. 4 is a schematic block diagram of a data visualization platform for data request and data response in the related art.
FIG. 5 is a block diagram illustrating the operation of data requests and data responses according to an embodiment of the present invention.
Fig. 6 is a block diagram of a data source management device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a flowchart of a data source management method according to an embodiment of the present invention.
It should be noted that the data management method according to the embodiment of the present invention may be implemented in a server, and a client obtains data from a remote data source through the server, that is, an execution subject of the data management method according to the embodiment of the present invention may be a data management system (used for managing data, such as receiving, storing, processing, and sending data, etc.) of the server.
As shown in fig. 1, the method comprises the steps of:
s1, receiving data source information input by a user, wherein the data source information comprises: a data source address and a data request mode.
The data source information may be understood as related information of a data source (data to be visually processed) that a user needs to view or needs to perform visual presentation on a client to the user, and may include a data source address and a data request manner, where the data source address may be understood as an address number of the data to be visually processed in a remote data source, and the data request manner may be understood as a request manner when a server requests data from the remote data source, such as request time, request frequency, and the like.
In one example, the data request manner may include a data request frequency.
Specifically, when a user needs to check data, the user can input data source information into the server, and then the server receives the data source information, wherein the data source information input by the user each time is used as effective data source information.
And S2, receiving the HTTP data request corresponding to the data source information sent by the client.
Specifically, the client (client component) may send an HTTP data request to the server according to the instruction of the user, where the data request user informs the data source management system of the server that the data source address and the data request mode entered in step S1 are to be used.
And S3, responding to the HTTP data request, polling the remote data source in a data request mode to acquire target data corresponding to the data source address from the remote data source.
The target data may be understood as data that needs to be visualized.
Specifically, after receiving the HTTP data request and the data source information, the server continuously polls the remote data source in a data request manner in response to the HTTP data request to obtain target data corresponding to each data source address from the remote data source, thereby obtaining one or more target data.
And S4, sending the target data to the client based on the WebSocket protocol so that the client renders the target data and displays the target data on a large screen of the client.
Specifically, after the server side responds to a data request and acquires target data from a remote data source, the target data can be sent to the client side based on a WebSocket protocol, and then the client side can render the target data through the data rendering component and visually display the target data on a large screen of the client side, so that data visualization is achieved.
According to the technical scheme of the embodiment of the invention, data source information input by a user and an HTTP data request sent by a client are received, then the remote data source is continuously polled according to the data source information in response to the HTTP data request so as to obtain required target data from the remote data source, and then the target data is sent to the client based on a WebSocket protocol, so that the target data is visually processed at the client. The remote data source only interacts with the server side and does not interact with the client side, so that when the access amount of the client side is large, the pressure of the remote data source cannot be increased, and the rushing display caused by the steep increase of the access amount of the remote data source is avoided, so that the remote data source is protected. The client acquires data from the server no longer one time after HTTP, but sends the request data source information once through HTTP, and then receives data through the server, namely the server data source management system actively sends data instead of being requested passively, so that the problem of request flow waste of a large number of clients and the problem of concurrent requests limited by a client browser are avoided.
That is to say, in order to solve the problem of wasted request traffic caused by a large number of client components, the problem of crash caused by a sharp increase in access pressure of a remote data source when the client component has a large access amount, and the problem of request failure caused by a concurrent request easily limited by a client browser when the client component has a large number, the embodiment of the present invention provides a data source management method, where the client only sends an HTTP data request once when requesting data, and subsequently receives data transmitted by a WebSocket from a backend data source management system, that is: the client side sends an HTTP request to the server side data source management system and receives data passively subsequently once, the server side polls the remote data source according to a data source address and request frequency input by a user, target data are obtained through polling, and the remote data source only interacts with a back end (the server side).
The data source management method receives data source information input by a user and an HTTP data request sent by a client, responds to the HTTP data request, continuously polls a remote data source according to the data source information to acquire required target data from the remote data source, and then sends the target data to the client based on a WebSocket protocol. Therefore, the phenomena of resource waste and request failure caused by the large number of client components can be avoided, the phenomenon of collapse of the remote data source when the access amount of the client is large can be avoided, the performance of the data request is improved, the safety of the remote data source is guaranteed, and the user experience is improved.
In an embodiment of the present invention, before performing step S2 (receiving the HTTP data request corresponding to the data source information sent by the client), the method may further include: receiving a WebSocket connection request initiated by a client; and responding to the WebSocket connection request, and establishing full-duplex communication with the client.
The WebSocket connection request can be used for indicating that the corresponding WebSocket connection request and the corresponding WebSocket connection request are connected through a WebSocket protocol, and then data transmission between the corresponding WebSocket connection request and the corresponding WebSocket connection request is achieved based on the WebSocket protocol.
Specifically, the client can initiate a WebSocket connection to the server to perform full-duplex communication with the server, and after receiving a WebSocket connection request from a client transmitter, the server responds to the WebSocket connection request to establish full-duplex communication with the client, so that full-duplex communication between the client and the server is realized, and then target data is transmitted to the client based on the full-duplex communication server.
It should be noted that, when a server requests target data, the server sends the target data to a client based on a WebSocket protocol, where the server may or may not have client connection, and data sending is implemented on the basis of the existence of the client connection, in this embodiment of the present invention, before sending data, it may be determined whether a connection exists between the client and the server, and when a connection exists, the server sends the target data to the client based on the WebSocket protocol; and when the connection does not exist, performing WebSocket connection or ending the process.
That is, in an embodiment of the present invention, before performing step S4 (sending the target data to the client based on the WebSocket protocol), the method may further include: and confirming that the WebSocket connection exists between the server and the client.
Specifically, as shown in fig. 2, a user inputs data source information to a server data source management system, after receiving an HTTP data request sent by a client large screen, the data source management system determines whether there is a client large screen connection, and if so, requests data from a remote data source in a polling manner to obtain corresponding response data (i.e., at least one target data), and then, the server data source management system sends the data to the client, and the client receives a data rendering component.
Therefore, data can be sent to the client under the condition of successful connection, the problem of sending failure caused by connection failure is avoided, and the performance of data management is improved.
It should be noted that, in the embodiment of the present invention, a plurality of target data are obtained by continuously polling a remote data source, so that when the step S4 is executed (the target data is sent to the client based on the WebSocket protocol), any target data may be sent to the client immediately after being obtained, or any target data may be cached after being obtained, and is cached in the cache of the server, until polling is completed, data is read from the cache to send the data to the client.
That is, in an embodiment of the present invention, the data source management method may further include: caching the target data; sending the target data to the client based on a WebSocket protocol, wherein the steps of: and sending the cached target data to the client regularly based on the WebSocket protocol.
Specifically, as shown in fig. 3, after the data source management system receives an HTTP data request sent by a client through a large screen, the server polls a remote data source at a data request frequency entered by the user in response to the HTTP data request, so as to obtain a plurality of target data corresponding to a plurality of data source addresses one to one from the remote data source, and then stores the plurality of target data in a cache of the server data management system. The server side judges whether a client side connection exists or not, if yes, data are read from the cache continuously, and the data are sent to the client side in a timing mode through the timing time of the timer.
In this embodiment, the server data source management system may include a timer, and the time interval during which the client passively receives data may be set by the timer.
It should be noted that before the server sends the requested data to the client, when it is determined that there is no client connected to the server, the requested data may be cached, after all the data are cached, the WebSocket connection may be performed again with the client, full duplex communication is established with the client, and after the connection is successful, the cached data may be transmitted to the client. Therefore, data protection can be realized through the cache under the condition that the client is connected with the server.
In the related art, when data visualization processing is performed, as shown in fig. 4, a client large-screen component generally retrieves data in one pass through HTTP: the client sends the following information to the server data source management system: HTTP request data → server data source management system sends to remote data source: HTTP request data → remote data source sends to server data source management system: HTTP response data → server data source management system sends to client large screen: HTTP response data.
In the embodiment of the invention, the client large-screen component acquires the data, which is not a first-time request of the HTTP, but sends the request data source number and the frequency information once through the HTTP, and then the data is received by the data source management system in a timing manner, that is, the data source management system sends the request data source number and the frequency information actively instead of being requested passively, so that the problem that the browser limits concurrent requests and the problem that a large amount of request traffic of the client large-screen is wasted are avoided. As shown in fig. 5, the work flow of performing data request and data response is as follows: the user inputs data source information (data source number and data request frequency) to the server data source management system → the client sends the data source information to the server data source management system in a large screen mode: HTTP data request → server data source management system requests data to remote data source → remote data source sends response data to server data source management system → server data source management system sends response data to client large screen at fixed time through timer, wherein, the timer is arranged in the data source management system.
In summary, in the data source management method according to the embodiment of the present invention, because the remote data source only interacts with the data source management system, when the large screen access amount of the client is large, the pressure of the remote data source is not increased, so that the remote data source is protected; the client large-screen component obtains data no longer one time after HTTP, but sends the request data source number and frequency information once through HTTP, and then receives the data at regular time through the data source management system, namely the data source management system sends the data actively instead of being requested passively, so that the problem that a browser limits concurrent requests and the problem that a large amount of request flow of the client large-screen is wasted are avoided.
Fig. 6 is a block diagram of a data source management device according to an embodiment of the present invention.
As shown in fig. 6, the data source management apparatus 100 includes: the device comprises a first receiving module 10, a second receiving module 20, an obtaining module 30 and a sending module 40.
The first receiving module 10 is configured to receive data source information entered by a user, where the data source information includes: a data source address and a data request mode; a second receiving module 20, configured to receive an HTTP data request corresponding to the data source information sent by the client; an obtaining module 30, configured to, in response to the HTTP data request, poll a remote data source in the data request manner to obtain target data corresponding to the data source address from the remote data source; and the sending module 40 is configured to send the target data to the client based on a WebSocket protocol, so that the client renders the target data and displays the rendered target data on a large screen of the client.
In one embodiment, the data source management apparatus 100 may further include: a third receiving module, configured to receive a WebSocket connection request initiated by the client; and the communication module is used for responding to the WebSocket connection request and establishing full duplex communication with the client.
In one embodiment, the data source management apparatus 100 may further include: and the confirmation module is used for confirming that the WebSocket connection exists between the client and the client.
In one embodiment, the data source management apparatus 100 may further include: the cache module is used for caching the target data; the sending module 30 may be specifically configured to: and sending the cached target data to the client regularly based on a WebSocket protocol.
It should be noted that, for other specific embodiments of the data source management apparatus in the embodiment of the present invention, reference may be made to the specific embodiment of the data source management method, and details are not described here to avoid redundancy.
The data source management device of the embodiment of the invention can avoid the phenomena of resource waste and request failure caused by large number of client components, can avoid the phenomenon of remote data source breakdown caused by large access amount of the client, improves the performance of data request, ensures the safety of the remote data source and further improves the use experience of users.
The invention further provides a computer device corresponding to the embodiment.
The computer device of the embodiment of the invention comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, and when the processor executes the computer program, the data source management method of the embodiment of the invention can be realized.
According to the computer equipment provided by the embodiment of the invention, when the processor executes a computer program, the data source information input by a user and the HTTP data request sent by the client are received, then the remote data source is polled continuously according to the data source information in response to the HTTP data request so as to obtain the required target data from the remote data source, and then the target data is sent to the client based on the WebSocket protocol, so that the target data is subjected to visualization processing at the client. Therefore, the phenomena of resource waste and request failure caused by the large number of client components can be avoided, the phenomenon of collapse of the remote data source when the access amount of the client is large can be avoided, the performance of the data request is improved, the safety of the remote data source is guaranteed, and the user experience is improved.
In the description of the present invention, the terms "first" and "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implying any number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. The meaning of "plurality" is two or more unless specifically limited otherwise.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.

Claims (10)

1. A data source management method, comprising:
receiving data source information input by a user, wherein the data source information comprises: a data source address and a data request mode;
receiving an HTTP data request corresponding to the data source information sent by a client;
responding to the HTTP data request, polling a remote data source in a data request mode to acquire target data corresponding to the data source address from the remote data source;
and sending the target data to the client based on a WebSocket protocol so that the client renders the target data and displays the target data on a large screen of the client.
2. The data source management method according to claim 1, before receiving an HTTP data request corresponding to the data source information sent by a client, further comprising:
receiving a WebSocket connection request initiated by the client;
and responding to the WebSocket connection request, and establishing full-duplex communication with the client.
3. The data source management method according to claim 1, before sending the target data to the client based on a WebSocket protocol, further comprising:
confirming that a WebSocket connection exists between the client and the server.
4. The data source management method of claim 1, further comprising:
caching the target data;
sending the target data to the client based on a WebSocket protocol, wherein the steps of:
and sending the cached target data to the client regularly based on a WebSocket protocol.
5. The data source management method of claim 1,
the data request mode comprises the following steps: the frequency of data requests.
6. A data source management device, comprising:
the first receiving module is used for receiving data source information input by a user, and the data source information comprises: a data source address and a data request mode;
the second receiving module is used for receiving an HTTP data request which is sent by the client and corresponds to the data source information;
the acquisition module is used for responding to the HTTP data request, polling a remote data source in a data request mode so as to acquire target data corresponding to the data source address from the remote data source;
and the sending module is used for sending the target data to the client based on a WebSocket protocol so that the client renders the target data and displays the target data on a large screen of the client.
7. The data source management device of claim 6, further comprising:
a third receiving module, configured to receive a WebSocket connection request initiated by the client;
and the communication module is used for responding to the WebSocket connection request and establishing full duplex communication with the client.
8. The data source management device of claim 6, further comprising:
and the confirmation module is used for confirming that the WebSocket connection exists between the client and the client.
9. The data source management device of claim 6, further comprising: the cache module is used for caching the target data;
the sending module is specifically configured to: and sending the cached target data to the client regularly based on a WebSocket protocol.
10. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the data source management method according to any of claims 1-5 when executing the computer program.
CN202111182950.7A 2021-10-11 Data source management method, device and computer equipment Active CN113905032B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111182950.7A CN113905032B (en) 2021-10-11 Data source management method, device and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111182950.7A CN113905032B (en) 2021-10-11 Data source management method, device and computer equipment

Publications (2)

Publication Number Publication Date
CN113905032A true CN113905032A (en) 2022-01-07
CN113905032B CN113905032B (en) 2024-04-12

Family

ID=

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101894139A (en) * 2010-06-25 2010-11-24 优视科技有限公司 Mobile Internet webpage information data interaction processing method
US20130212227A1 (en) * 2012-02-09 2013-08-15 Cogent Real-Time Systems Inc. System and method for streaming data via http
US20130212149A1 (en) * 2012-02-07 2013-08-15 Mts Systems Corporation Cloud Computing Platform for Managing Data
CN103678330A (en) * 2012-09-04 2014-03-26 北京新岸线移动多媒体技术有限公司 Method, system and device for loading webpage data
CN103888456A (en) * 2014-03-18 2014-06-25 国家电网公司 Webpage client side, server side and data processing device and method
US20150207904A1 (en) * 2012-06-29 2015-07-23 Avocent Huntsville Corp. System and method for single kvm client accommodating multiple different video compression technologies
US20170289214A1 (en) * 2016-04-04 2017-10-05 Hanwha Techwin Co., Ltd. Method and apparatus for playing media stream on web browser
US10425297B1 (en) * 2013-11-12 2019-09-24 Amazon Technologies, Inc. Adaptive polling based upon demand

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101894139A (en) * 2010-06-25 2010-11-24 优视科技有限公司 Mobile Internet webpage information data interaction processing method
US20130212149A1 (en) * 2012-02-07 2013-08-15 Mts Systems Corporation Cloud Computing Platform for Managing Data
US20130212227A1 (en) * 2012-02-09 2013-08-15 Cogent Real-Time Systems Inc. System and method for streaming data via http
US20150207904A1 (en) * 2012-06-29 2015-07-23 Avocent Huntsville Corp. System and method for single kvm client accommodating multiple different video compression technologies
CN103678330A (en) * 2012-09-04 2014-03-26 北京新岸线移动多媒体技术有限公司 Method, system and device for loading webpage data
US10425297B1 (en) * 2013-11-12 2019-09-24 Amazon Technologies, Inc. Adaptive polling based upon demand
CN103888456A (en) * 2014-03-18 2014-06-25 国家电网公司 Webpage client side, server side and data processing device and method
US20170289214A1 (en) * 2016-04-04 2017-10-05 Hanwha Techwin Co., Ltd. Method and apparatus for playing media stream on web browser

Similar Documents

Publication Publication Date Title
US10462025B2 (en) Monitoring performance and operation of data exchanges
CN108667861B (en) Method, system and server for monitoring equipment in real time through browser
WO2022242023A1 (en) Resource acquisition method and system, webvpn proxy server and server
CN109992406B (en) Picture request method, picture request response method and client
CN105024913B (en) Method, device and system for carrying out instant messaging session
CN113746910A (en) H5 page reconnection server method, terminal and readable storage medium
US20150006622A1 (en) Web contents transmission method and apparatus
CN112597039A (en) Virtual machine access method, system, device and computer readable storage medium
JP6525486B2 (en) Network request and response processing method, terminal, server and storage medium
CN103618799A (en) Browser caching processing method and system and proxy server
CN103699566A (en) Image real-time cutting device and method
JP2016507803A (en) Homepage forming method, peripheral device, and homepage forming system
CN109471713B (en) Method and device for inquiring information
CN103051722B (en) A kind ofly determine the method whether page is held as a hostage and relevant device
CN111783005B (en) Method, device and system for displaying web page, computer system and medium
CN113905032A (en) Data source management method and device and computer equipment
CN113905032B (en) Data source management method, device and computer equipment
CN111176577A (en) Distributed block storage service command processing method, device, equipment and medium
CN108334322B (en) Data request method and system of MVC framework
CN107562469B (en) Title bar data display method and system
CN113536168B (en) Component processing method and device
CN109302465B (en) Management method and system of multi-terminal service resources
CN105721231A (en) Service quality sensing detection method and service quality sensing detection device
CN106533819B (en) Error monitoring method, device and system for online service
KR101670699B1 (en) Method and system for communicating between web pages

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant