CN113905032B - Data source management method, device and computer equipment - Google Patents

Data source management method, device and computer equipment Download PDF

Info

Publication number
CN113905032B
CN113905032B CN202111182950.7A CN202111182950A CN113905032B CN 113905032 B CN113905032 B CN 113905032B CN 202111182950 A CN202111182950 A CN 202111182950A CN 113905032 B CN113905032 B CN 113905032B
Authority
CN
China
Prior art keywords
data
client
data source
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.)
Active
Application number
CN202111182950.7A
Other languages
Chinese (zh)
Other versions
CN113905032A (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
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

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 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, and 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 the WebSocket protocol, so that the client renders the target data and displays the rendered target data on a large screen of the client. Therefore, the phenomena of resource waste and request failure caused by huge number of client components can be avoided, the phenomenon of remote data source breakdown caused by huge client access can be avoided, the performance of data request is improved, the safety of the remote data source is ensured, and the user experience is improved.

Description

Data source management method, device and computer equipment
Technical Field
The present invention relates to the field of data visualization technology, and in particular, to a data source management method, a data source management device, and a computer device.
Background
With the rapid progress of big data technology, data visualization technology is rapidly developed under the push of big data technology. The rapid increase in data volume places higher demands on the management of data sources for data visualization. At present, a data visualization platform requests a data source based on an HTTP (HyperText Transfer Protocol ) protocol, a client large screen initiates a request, a server side returns the request of remote data to the client large screen, and the client large screen 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 components is huge, the number of network requests is large, and resources are wasted. 2. The large screen of the client receives a request forwarded by the server once every time the large screen of the client accesses the remote data source, and if the large screen of the client has large access, the access amount of the remote data source is increased rapidly, so that the remote data source is easy to crash. 3. Each component of the large screen of the client can independently send requests, and when the number of the components is large, concurrent requests are easily limited by a browser of the client, so that the requests fail.
Disclosure of Invention
The invention aims to solve the problems of crashing caused by the rapid increase of the request pressure of a remote data source when the large-screen access amount of the client is large, flow resource waste caused by the large request data amount when the large-screen components of the client are large, and concurrent request limitation of a browser when the large-screen components of the client are large at least to a certain extent.
Therefore, a first object 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 huge number of client components, and can avoid the phenomenon of remote data source crash when huge client access, so as to improve the performance of data request, ensure the safety of remote data source, and further improve the user experience.
A second object of the present invention is to provide a data source management device.
A third object of the invention is to propose a computer device.
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 which is sent by a client and corresponds to the data source information;
responding to the HTTP data request, and polling a remote data source in the 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 rendered target data on a large screen of the client.
In addition, the data source management method according to the above embodiment of the present invention may further have the following additional technical features:
according to one embodiment of the present invention, before receiving the HTTP data request corresponding to the data source information sent by the client, the method further includes:
receiving a WebSocket connection request initiated by the client;
and establishing full duplex communication with the client in response to the WebSocket connection request.
According to one embodiment of the present invention, before the target data is sent to the client based on WebSocket protocol, the method further includes:
confirming that WebSocket connection exists between the client and the client.
According to one embodiment of the present invention, the data source management method further includes:
caching the target data;
the target data is sent to the client based on a WebSocket protocol, and the method comprises the following steps:
and sending the cached target data to the client in a timing manner based on a WebSocket protocol.
According to one embodiment of the present invention, the data request manner includes: frequency of data requests.
To achieve the above object, a second aspect 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 and polling a remote data source in the 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 rendered target data on a large screen of the client.
In addition, the data source management device 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: the third receiving module is used for receiving the 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 confirming 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 caching module is used for caching the target data; the sending module is specifically configured to: and sending the cached target data to the client in a timing manner based on a WebSocket protocol.
To achieve the above object, an embodiment of a third aspect of the present invention provides a computer device, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor, where the processor executes the computer program to implement the data source management method according to the embodiment of the first aspect of the present invention.
According to the technical scheme, data source information input by a user and an HTTP data request sent by a client are received, a remote data source is continuously polled according to the data source information in response to the HTTP data request, required target data are obtained from the remote data source, and then the target data are sent to the client based on a WebSocket protocol, so that the target data are subjected to visual processing at the client. Therefore, the phenomena of resource waste and request failure caused by huge number of client components can be avoided, the phenomenon of remote data source breakdown caused by huge client access can be avoided, the performance of data request is improved, the safety of the remote data source is ensured, and the user experience is improved.
Drawings
FIG. 1 is a flow chart of a data source management method according to an embodiment of the present invention.
FIG. 2 is a diagram illustrating interactions between a user, a server-side data source management system, and a remote data source in accordance with one embodiment of the present invention.
FIG. 3 is a diagram illustrating interactions 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 related art data visualization platform for data request and data response.
FIG. 5 is a functional block diagram of a data request and a data response 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 invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
FIG. 1 is a flow chart of a data source management method according to an embodiment of the present invention.
It should be noted that, the data management method of the embodiment of the present invention may be implemented at a server, where a client obtains data from a remote data source through the server, that is, an execution body of the data management method of the embodiment of the present invention may be a data management system (for managing data, for example, receiving, storing, processing, 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 visualized) that needs to be checked by a user or needs to be visualized at a client and displayed to the user, and may include a data source address and a data request mode, where the data source address may be understood as an address number where the data to be visualized is located in a remote data source, and the data request mode may be understood as a request mode when a server requests the data from the remote data source, for example, a request time, a request frequency, and the like.
In one example, the data request pattern may include a frequency of data requests.
Specifically, when a user needs to view data, the user can input the data source information to the server, and 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.
S2, receiving an 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 manner entered in step S1 are to be used.
And S3, responding to the HTTP data request, and 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, so as 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 rendered target data on a large screen of the client.
Specifically, after the server side responds to the data request and acquires the target data from the remote data source, the target data can be sent to the client side based on the WebSocket protocol, and then the client side can render the target data through the data rendering component and then visually display the rendered target data on a large screen of the client side, so that the data visualization is realized.
According to the technical scheme, firstly, data source information input by a user and an HTTP data request sent by a client are received, then a remote data source is continuously polled according to the data source information in response to the HTTP data request so as to acquire required target data from the remote data source, and the target data is sent to the client based on a WebSocket protocol, so that the target data is subjected to visual processing at the client. The remote data source only interacts with the server side, but 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 is not increased, the running and the displaying caused by the rapid increase of the access amount of the remote data source are avoided, and the remote data source is protected. The client acquires the data from the server not only once in HTTP, but also after once transmitting the request data source information through HTTP, the server receives the data through the server later, namely the server data source management system actively transmits the data instead of being requested passively, thereby bypassing the problem of waste of the request flow of a large number of clients and the problem of concurrent request limitation of the client browser.
That is, in order to solve the problem of waste of request traffic caused by huge number of client components, the problem of collapse caused by rapid increase of remote data source access pressure when the client access volume is huge, and the problem of request failure caused by easy limitation of client browser when the client components are huge, the embodiment of the invention provides a data source management method, which enables a client to send HTTP data request only once when requesting data, and subsequently receives data transmitted by WebSocket from a back-end data source management system, namely: the client side actively transmits HTTP requests to the server side data source management system and subsequently receives data passively, the server side polls a remote data source according to a data source address and request frequency input by a user, target data is obtained through polling, and the remote data source only interacts with the back end (the server side).
According to the data source management method, data source information input by a user and an HTTP data request sent by a client are received, a remote data source is continuously polled according to the data source information in response to the HTTP data request, required target data are obtained from the remote data source, and then the target data are sent to the client based on a WebSocket protocol. Therefore, the phenomena of resource waste and request failure caused by huge number of client components can be avoided, the phenomenon of remote data source breakdown caused by huge client access can be avoided, the performance of data request is improved, the safety of the remote data source is ensured, and the user experience is improved.
In one embodiment of the present invention, before performing the above 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 establishing full duplex communication with the client in response to the WebSocket connection request.
The WebSocket connection request may be used to indicate that the corresponding two are connected through a WebSocket protocol, and further data transmission between the two is realized based on the WebSocket protocol.
Specifically, the client may initiate WebSocket connection to the server, perform full duplex communication with the server, and after the server receives a WebSocket connection request of the client transmitter, establish full duplex communication with the client in response to the WebSocket connection request, thereby implementing full duplex communication between the client and the server, and then send the target data to the client based on the full duplex communication server.
It should be noted that, because the server side sends the target data to the client side based on the WebSocket protocol when requesting the target data, there may or may not be a client side connection on the server side, and the data sending is implemented on the basis of the client side connection, before sending the data, the embodiment of the invention can determine whether the client side and the server side are connected, and when the connection exists, the target data is sent to the client side based on the WebSocket protocol; and when no connection exists, performing WebSocket connection or ending the flow.
That is, in one embodiment of the present invention, before performing the above step S4 (transmitting the target data to the client based on the WebSocket protocol), the method may further include: confirming that WebSocket connection exists between the server and the client.
Specifically, as shown in fig. 2, a user inputs data source information to a server-side data source management system, after the data source management system receives an HTTP data request sent by a client-side large screen, it determines whether there is a client-side large screen connection, if so, data is requested from a remote data source in a polling manner to obtain corresponding response data (i.e., target data, the number of which is at least one), then the server-side data source management system sends the data to the client-side, and the client-side receives a data rendering component.
Therefore, the data can be ensured to 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 when the step S4 is executed (the target data are sent to the client based on the WebSocket protocol), any target data may be immediately sent to the client after being obtained, or any target data may be cached after being obtained, and cached in a cache area of the server, until the polling is completed, the data are read from the cache area to be sent to the client.
That is, in one embodiment of the present invention, the data source management method may further include: caching the target data; the method for sending the target data to the client based on the WebSocket protocol comprises the following steps: and sending the cached target data to the client in a timing way based on the WebSocket protocol.
Specifically, as shown in fig. 3, a user inputs data source information to a server-side data source management system, after the data source management system receives an HTTP data request sent by a client-side large screen, the server-side responds to the HTTP data request, polls a remote data source with the frequency of the data request input by the user, so as to obtain a plurality of target data corresponding to a plurality of data source addresses one by one from the remote data source, and then stores the plurality of target data in a cache of the server-side data management system. The server side judges whether a client side connection exists or not, if so, the server side continuously reads data from the cache and sends the data to the client side in a timing mode through the timing time of the timer.
In this embodiment, the server-side data source management system may include a timer by which the time interval for the client to passively receive data may be set.
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, webSocket connection may be performed with the client again, full duplex communication is established with the client, and after connection is successful, the cached data may be transmitted to the client. Therefore, the data protection can be realized through the cache when the client and the server are connected.
In the related art, when performing the data visualization process, as shown in fig. 4, the data is generally acquired by the client large screen component through HTTP one round: the client sends to the server data source management system: HTTP request data- & gt the server data source management system sends to a remote data source: HTTP request data- & gt remote data source sends to a server data source management system: HTTP response data- & gt the server data source management system sends to the large screen of the client: HTTP response data.
In the embodiment of the invention, the client large screen component acquires the data not only once in the HTTP, but also after the data source number and the frequency information are requested once through the HTTP, the data source number and the frequency information are received regularly through the data source management system later, namely the data source management system actively transmits the data instead of being requested passively, thereby bypassing the problem that the browser limits concurrent requests and the problem that a large number of client large screens are wasted in request flow. As shown in fig. 5, the workflow of making a data request and a data response is: the user inputs data source information (data source number and data request frequency) to the server-side data source management system, and the client-side large screen sends the data source information to the data source management system: HTTP data request- & gt server side data source management system requests data to remote data source- & gt remote data source sends response data to server side data source management system- & gt server side data source management system sends the response data to client side large screen at regular time through timer, wherein the timer is arranged in the data source management system.
In summary, in the data source management method of 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 will not be increased, so as to protect the remote data source; the client large screen component acquires data not only once in the HTTP, but also after the data source number and the frequency information are requested once through the HTTP, the data source number and the frequency information are received regularly through the data source management system, namely the data source management system actively transmits the data instead of being requested passively, so that the problem that the browser limits concurrent requests and the problem that a large number of client large screens are wasted in request flow are avoided.
Fig. 6 is a block diagram of a data source management device according to an embodiment of the 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 acquisition 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 sent by a client and corresponding to the data source information; an obtaining module 30, configured to respond to the HTTP data request, poll a remote data source in the data request manner, so as 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 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: the third receiving module is used for receiving the 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 confirming 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 caching module is used for caching the target data; the sending module 30 is specifically configured to: and sending the cached target data to the client in a timing manner based on a WebSocket protocol.
It should be noted that, for other specific embodiments of the data source management apparatus in the embodiments of the present invention, reference may be made to the specific embodiments of the data source management method described above, and for avoiding redundancy, details are not repeated herein.
The data source management device provided by the embodiment of the invention can avoid the phenomena of resource waste and request failure caused by huge number of client components, and can avoid the phenomenon of remote data source breakdown caused by huge client access, thereby improving the performance of data request, guaranteeing the safety of remote data source and improving the user experience.
Corresponding to the embodiment, the invention also provides a computer device.
The computer device according to the embodiment of the present invention includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and when the processor executes the computer program, the data source management method according to the above embodiment of the present invention can be implemented.
According to the computer equipment provided by the embodiment of the invention, when the processor executes the computer program, firstly, 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 continuously polled according to the data source information in response to the HTTP data request so as to acquire 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 visual processing at the client. Therefore, the phenomena of resource waste and request failure caused by huge number of client components can be avoided, the phenomenon of remote data source breakdown caused by huge client access can be avoided, the performance of data request is improved, the safety of the remote data source is ensured, and the user experience is improved.
In the description of the present invention, the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature. The meaning of "a plurality of" is two or more, unless specifically defined otherwise.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means 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 present invention. In this specification, schematic representations of the above terms are not necessarily directed 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, the different embodiments or examples described in this specification and the features of the different embodiments or examples may be combined and combined by those 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 further 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.
Logic and/or steps represented in the flowcharts or otherwise described herein, e.g., a ordered listing of executable instructions for implementing 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). In addition, the computer readable medium may even be paper or other suitable medium on which the program is printed, as the program may 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 is to be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, the various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, may be implemented using any one or combination of the following techniques, as is well known in the art: discrete logic circuits having logic gates for implementing logic functions on data signals, application specific integrated circuits having suitable combinational logic gates, programmable Gate Arrays (PGAs), field Programmable Gate Arrays (FPGAs), and the like.
Those of ordinary skill in the art will appreciate that all or a portion of the steps carried out in the method of the above-described embodiments may be implemented by a program to instruct related hardware, where the program may be stored in a computer readable storage medium, and where the program, when executed, includes one or a combination of the steps of the method embodiments.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing module, or each unit may exist alone physically, or two or more units may be integrated in one module. The integrated modules may be implemented in hardware or in software functional modules. The integrated modules may also be stored in a computer readable storage medium if implemented in the form of software functional modules and sold or used as a stand-alone product.
Although embodiments of the present invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made therein without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.

Claims (8)

1. A method of data source management, 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 which is sent by a client and corresponds to the data source information;
responding to the HTTP data request, and polling a remote data source in the data request mode to acquire a plurality of target data corresponding to a plurality of data source addresses one by one from the remote data source;
the target data is sent to the client based on the WebSocket protocol, so that the client renders the target data and displays the rendered target data on a large screen of the client,
the method further comprises the steps of:
caching the target data;
the target data is sent to the client based on a WebSocket protocol, and the method comprises the following steps:
and sending the cached target data to the client in a timing manner based on a WebSocket protocol.
2. The data source management method according to claim 1, further comprising, before receiving an HTTP data request corresponding to the data source information sent by the client:
receiving a WebSocket connection request initiated by the client;
and establishing full duplex communication with the client in response to the WebSocket connection request.
3. The data source management method according to claim 1, further comprising, before transmitting the target data to the client based on WebSocket protocol:
confirming that WebSocket connection exists between the client and the client.
4. The method of claim 1, wherein,
the data request mode comprises the following steps: frequency of data requests.
5. A data source management apparatus, 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 and polling a remote data source in the data request mode so as to acquire a plurality of target data corresponding to a plurality of data source addresses one by one from the remote data source;
a sending module, configured to send the target data to the client based on WebSocket protocol, so that the client renders the target data and displays the rendered target data on a large screen of the client,
the apparatus further comprises: the caching module is used for caching the target data;
the sending module is specifically configured to: and sending the cached target data to the client in a timing manner based on a WebSocket protocol.
6. The data source management device of claim 5, further comprising:
the third receiving module is used for receiving the 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.
7. The data source management device of claim 5, further comprising:
and the confirming module is used for confirming that the WebSocket connection exists between the client and the client.
8. 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-4 when executing the computer program.
CN202111182950.7A 2021-10-11 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 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 2021-10-11 Data source management method, device and computer equipment

Publications (2)

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

Family

ID=79191260

Family Applications (1)

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

Country Status (1)

Country Link
CN (1) CN113905032B (en)

Citations (4)

* 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
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
US10425297B1 (en) * 2013-11-12 2019-09-24 Amazon Technologies, Inc. Adaptive polling based upon demand

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013119862A1 (en) * 2012-02-07 2013-08-15 Mts Systems Corporation A mobile or cloud communication platform for test system applications, a mobile application tool and graphical user interface
US20130212227A1 (en) * 2012-02-09 2013-08-15 Cogent Real-Time Systems Inc. System and method for streaming data via http
US9866656B2 (en) * 2012-06-29 2018-01-09 Avocent Huntsville, Llc System and method for single KVM client accommodating multiple different video compression technologies
US10412130B2 (en) * 2016-04-04 2019-09-10 Hanwha Techwin Co., Ltd. Method and apparatus for playing media stream on web browser

Patent Citations (4)

* 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
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

Also Published As

Publication number Publication date
CN113905032A (en) 2022-01-07

Similar Documents

Publication Publication Date Title
CN108667861B (en) Method, system and server for monitoring equipment in real time through browser
JP5022301B2 (en) Proxy server, communication relay program, and communication relay method
US10455047B2 (en) Methods and systems for application controlled pre-fetch
CN113204730A (en) Resource acquisition method, webvpn proxy server, system and server
CN106874434A (en) A kind of web data treatment, webpage loading method and relevant apparatus
US20150006622A1 (en) Web contents transmission method and apparatus
CN106126683B (en) Page display method and terminal equipment
CN106326293A (en) Access method and device based on dynamic webpage
CN106161623A (en) Caching server, renewal server and data-updating method
CN103618799A (en) Browser caching processing method and system and proxy server
US20090228549A1 (en) Method of tracking usage of client computer and system for same
WO2019041670A1 (en) Method, device and system for reducing frequency of functional page requests, and storage medium
CN113905032B (en) Data source management method, device and computer equipment
CN107979629B (en) Distributed cache system and data cache method and device thereof
CN106411978B (en) Resource caching method and device
CN106506601A (en) The method and device of data transfer
CN109788050A (en) A kind of acquisition source station IP address method, system, electronic equipment and medium
JP2008145985A (en) Three-dimensional map distribution system and server device
CN109788075B (en) Private network system, data acquisition method and edge server
CN104063269B (en) It is a kind of to realize the method and device applied offline
CN111600883A (en) Vehicle diagnosis method and system, electronic equipment and storage medium
CN105556905B (en) A kind of page insertion method and equipment
CN111314416A (en) Data synchronization method, device, system, equipment and storage medium
CN114896487A (en) Method, system and medium for implementing a blockchain browser with front end interacting with blockchain
CN108810070A (en) A kind of resource share method, device, smart machine and storage medium

Legal Events

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