CN114925135A - Data export method, device, system, electronic equipment and storage medium - Google Patents

Data export method, device, system, electronic equipment and storage medium Download PDF

Info

Publication number
CN114925135A
CN114925135A CN202210455785.6A CN202210455785A CN114925135A CN 114925135 A CN114925135 A CN 114925135A CN 202210455785 A CN202210455785 A CN 202210455785A CN 114925135 A CN114925135 A CN 114925135A
Authority
CN
China
Prior art keywords
data
export
target
client
file
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
CN202210455785.6A
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.)
Chongqing Unisinsight Technology Co Ltd
Original Assignee
Chongqing Unisinsight 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 Chongqing Unisinsight Technology Co Ltd filed Critical Chongqing Unisinsight Technology Co Ltd
Priority to CN202210455785.6A priority Critical patent/CN114925135A/en
Publication of CN114925135A publication Critical patent/CN114925135A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • G06F16/273Asynchronous replication or reconciliation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • G06F16/252Integrating or interfacing systems involving database management systems between a Database Management System and a front-end application
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • G06F16/258Data format conversion from or to a database

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention relates to the technical field of data processing, and provides a data export method, a device, a system, electronic equipment and a storage medium, wherein the method is applied to a server, the server is in communication connection with a client, and a long connection communication channel exists between the server and the client, and the method comprises the following steps: receiving a data export message sent by a client by monitoring a long connection communication channel, wherein the data export message comprises an export rule and a data source; acquiring target data from a data source according to an export rule and generating a target data file comprising the target data; and sending a file downloading message to the client through the long connection communication channel so that the client receives the file downloading message and downloads the target data file based on the file downloading message by monitoring the long connection communication channel. When the data is exported, a user does not need to wait for a long time on a functional interface, and a developer only needs to carry out simple configuration, so that the working efficiency of the user and the developer is improved.

Description

Data export method, device, system, electronic equipment and storage medium
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a data export method, apparatus, system, electronic device, and storage medium.
Background
With the popularization of office automation, scenes related to the data export requirement are more and more extensive, and the data export requirement is more prominent particularly in applications of big data analysis and cooperative office.
In the prior art, under the conditions of large exported data volume and long exporting time, a user needs to wait for data export in a functional interface for a long time, and the working efficiency of the user is greatly influenced.
Disclosure of Invention
The invention aims to provide a data export method, a data export device, a data export system, electronic equipment and a storage medium, wherein when data are exported, a user does not need to wait for a long time in a functional interface, and the working efficiency of the user is improved. Meanwhile, developers do not need to develop corresponding back-end interaction interfaces and configuration data export templates according to data export requirements of different business functions, and only need to configure corresponding business data sources and all exportable indexes when specific business data export functions are realized, so that the development efficiency of the developers can be greatly improved.
In order to achieve the above object, the embodiments of the present invention adopt the following technical solutions:
in a first aspect, an embodiment of the present invention provides a data export method, where the method is applied to a server, the server is in communication connection with a client, and a long connection communication channel exists between the server and the client, and the method includes: receiving a data export message sent by the client by monitoring the long connection communication channel, wherein the data export message comprises an export rule and a data source; according to the export rule, acquiring target data from the data source and generating a target data file comprising the target data; and sending a file downloading message to the client through the long connection communication channel so that the client receives the file downloading message and downloads the target data file based on the file downloading message by monitoring the long connection communication channel.
Further, the export rule includes an export parameter and an export type, and the step of obtaining target data from the data source and generating a target data file including the target data according to the export rule includes:
acquiring the target data from the data source according to the derived parameters;
and generating the target data file according to the export type and the target data.
Further, the derived parameters include a query parameter and a conversion parameter, and the step of obtaining the target data from the data source according to the derived parameters includes:
acquiring initial data from the data source according to the query parameters;
and converting the initial data into the target data according to the conversion parameters.
Further, the data source includes a target address and the target address type, and the step of obtaining initial data from the data source according to the query parameter includes:
if the target address type is a database type, inquiring the initial data from a target database represented by the target address according to the inquiry parameters;
if the target address type is an interface type, calling a target interface represented by the target address according to the query parameter to acquire the initial data returned by the target interface.
Further, the export rule further includes an export configuration corresponding to an export type, where the export configuration is used to characterize an exported target file format when the export type is a data type, and the export configuration is used to characterize a target graph type when the export type is a data graph type, and the step of generating the target data file according to the export type and the target data includes:
if the export type is a data type, generating the target data file with the format consistent with that of the target file according to the target data;
and if the export type is a data chart type, generating a target chart file according to the target data and the target chart type, and taking the target chart file as the target data file.
Further, the data export request includes an identification of a user logging into the client, the method further comprising:
generating an export record according to the user identification and the target data file;
generating a record identification for the lead-out record;
and storing the export record and the corresponding record identification.
Further, the server is in communication connection with at least one client, the server stores at least one export record, each export record includes a user identifier for logging in the at least one client and a corresponding data file that is not downloaded completely, and the method further includes:
receiving an initialization message sent by a target client in the at least one client by monitoring the long connection communication channel, wherein the initialization message comprises a target user identifier for logging in the target client;
and if the target export record corresponding to the target user identification exists in the export record, sending a file downloading message to the target client so that the target client receives the file downloading message by monitoring the long connection communication channel and downloads the data file corresponding to the target export record based on the file downloading message.
In a second aspect, an embodiment of the present invention provides a data export method, where the method is applied to a client, the client is connected to a server, and a long connection communication channel exists between the server and the client, and the method includes: sending a data export request message to the server through the long connection communication channel, wherein the data export request message comprises an export rule and a data source so as to instruct the server to acquire target data from the data source according to the export rule and generate a target data file comprising the target data; instructing the server to send a file downloading message to the client through the long connection communication channel; and receiving the file downloading message and downloading the target data file based on the file downloading message by monitoring the long connection communication channel.
Further, the file download message includes a target record identifier, and the step of downloading the target data file based on the file download message includes:
analyzing the file downloading message to acquire the target record identification;
and sending an HTTP request to the server, wherein the HTTP request comprises the target record identifier, so that the server determines the target data file according to the target record identifier and sends the target data file to the client.
In a third aspect, an embodiment of the present invention provides a data export method, which is applied to a data export system, where the data export system includes a server and a client, and a long connection communication channel exists between the server and the client, and the method includes: the client sends a data export request message to the server, wherein the data export request message comprises an export rule and a data source; the server side receives the data export request message by monitoring the long connection communication channel; the server acquires target data from the data source according to the export rule and generates a target data file comprising the target data; the server side sends a file downloading message to the client side through the long connection communication channel; and the client receives the file downloading message and downloads the target data file based on the file downloading message by monitoring the long connection communication channel.
In a fourth aspect, an embodiment of the present invention provides a data export apparatus, where the apparatus is applied to a server, the server is in communication connection with a client, and a long connection communication channel exists between the server and the client, and the apparatus includes: a first receiving module, configured to receive a data export message sent by the client by monitoring the long connection communication channel, where the data export message includes an export rule and a data source; a generation module, configured to obtain target data from the data source according to the export rule, and generate a target data file including the target data; and the first sending module is used for sending a file downloading message to the client through the long connection communication channel so that the client receives the file downloading message by monitoring the long connection communication channel and downloads the target data file based on the file downloading message.
In a fifth aspect, an embodiment of the present invention provides a data export apparatus, where the apparatus is applied to a client, the client is connected to a server, and a long connection communication channel exists between the server and the client, and the apparatus includes: a second sending module, configured to send a data export request message to the server through the long connection communication channel, where the data export request message includes an export rule and a data source, so as to instruct the server to obtain target data from the data source according to the export rule, and generate a target data file including the target data; the server is instructed to send a file downloading message to the client through the long connection communication channel; and the second receiving module is used for receiving the file downloading message and downloading the target data file based on the file downloading message by monitoring the long connection communication channel.
In a sixth aspect, an embodiment of the present invention provides a data export system, where the system includes a server and a client, where the server is in communication connection with the client, and a long connection communication channel exists between the server and the client; the server executes the data export method of the first aspect, and the client executes the data export method of the second aspect.
In a seventh aspect, an embodiment of the present invention provides an electronic device, including a processor and a memory; the memory is used for storing programs; the processor is configured to implement the data export method of the first aspect or implement the data export method of the second aspect when executing the program.
In an eighth aspect, embodiments of the present invention provide a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the data export method as described in the first aspect above, or implements the data export method as described in the second aspect above.
Compared with the prior art, the embodiment of the invention provides the data export method, the data export device, the data export system, the electronic equipment and the storage medium, the server side adopts an asynchronous notification mode to realize the data export in an asynchronous mode after generating the target data file required by the client side through the long connection communication channel between the server side and the client side, so that a user does not need to wait in a functional interface for a long time during the data export, and the working efficiency of the user is improved. Meanwhile, a developer does not need to develop a corresponding rear-end interaction interface and a corresponding data export template according to the data export requirements of different business functions, and only needs to configure a corresponding business data source and all exportable indexes when a specific business data export function is realized, so that the development efficiency of the developer can be greatly improved.
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 an exemplary diagram of a data export system according to an embodiment of the present invention.
Fig. 2 is a first flowchart illustrating a data export method applied to a data export system according to an embodiment of the present invention.
Fig. 3 is a schematic flowchart of a second data export method applied to a data export system according to an embodiment of the present invention.
Fig. 4 is a third flowchart of a data export method applied to the data export system according to the embodiment of the present invention.
Fig. 5 is a fourth flowchart of the data export method applied to the data export system according to the embodiment of the present invention.
Fig. 6 is a fifth flowchart illustrating a data export method applied to a data export system according to an embodiment of the present invention.
Fig. 7 is a sixth schematic flowchart of a data export method applied to the data export system according to an embodiment of the present invention.
Fig. 8 is a flowchart illustrating a data export method applied to a server in a data export system according to an embodiment of the present invention.
Fig. 9 is a schematic flowchart of a data export method applied to a client in a data export system according to an embodiment of the present invention.
Fig. 10 is a schematic block diagram of a first data export apparatus applied to a server in a data export system according to an embodiment of the present invention.
Fig. 11 is a block diagram of a second data export apparatus applied to a client in a data export system according to an embodiment of the present invention.
Fig. 12 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
An icon: 10-a server side; 20-a client; 30-an electronic device; 31-a processor; 32-a memory; 33-a bus; 100-first data exporting means; 110-a first receiving module; 120-a generation module; 130-a first sending module; 140-a storage module; 200-second data deriving means; 210-a second sending module; 220-second receiving module.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, 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 some, but not all, embodiments of the present invention. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. 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.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
In the description of the present invention, it should be noted that if the terms "upper", "lower", "inside", "outside", etc. indicate an orientation or a positional relationship based on that shown in the drawings or that the product of the present invention is used as it is, this is only for convenience of description and simplification of the description, and it does not indicate or imply that the device or the element referred to must have a specific orientation, be constructed in a specific orientation, and be operated, and thus should not be construed as limiting the present invention.
Furthermore, the appearances of the terms "first," "second," and the like, if any, are only used to distinguish one description from another and are not to be construed as indicating or implying relative importance.
It should be noted that the features of the embodiments of the present invention may be combined with each other without conflict.
Referring to fig. 1, fig. 1 is an exemplary diagram of a data export system according to an embodiment of the present invention, in fig. 1, the data export system includes a server 10 and a client 20, the server 10 and the client 20 are in communication connection, and a long connection communication channel exists between the server 10 and the client 20, where the long connection refers to that multiple data packets can be continuously sent over one connection, during a connection holding period, if no data packet is sent, a link detection packet needs to be sent by two parties, the long connection can be implemented in a WebSocket manner, and in the WebSocket, only the server and the client need to perform a handshake action through a hypertext Transfer Protocol (HTTP), and then separately establish a communication channel of a Transmission Control Protocol (TCP) to perform data Transmission. Like HTTP, WebSocket is also an application layer protocol, but it is a bidirectional communication protocol, which is established on TCP, and the specific process of establishing a long connection may be: firstly, to establish a TCP/IP (Transmission Control Protocol/Internet Protocol, TCP/IP) communication link between the client 20 and the server 10, the client 20 may actively initiate TCP/IP communication to the server 10; secondly, based on TCP/IP communication, when the user operates the client 20 to enter an interface including a data export function, or the client 20 triggers a corresponding function of data export, the client 20 will actively initiate an HTTP upgrade request to the server 10; thirdly, after receiving the upgrade request initiated by the client 20, the server 10 performs validity check on the identity of the client 20; and if the request of the client 20 is illegal, rejecting the connection of the client 20, if the upgrading request initiated by the client 20 is legal, upgrading the HTTP request into Web Socket connection, binding the client information with the corresponding Web Socket connection, and storing the client information into a preset connection pool.
After the long connection communication channel is established, the client 20 sends a data export message through the long connection communication channel, the data export message includes an export rule and a data source, the server 10 monitors the long connection communication channel to receive the data export message, the server 10 obtains target data from the data source according to the export rule and generates a target data file including the target data, the server 10 sends a file download message to the client 20 through the long connection communication channel, and the client 20 receives the file download message and downloads the target data file based on the file download message by monitoring the long connection communication channel.
In this embodiment, the server 10 may be an entity computer device, or a virtual machine capable of implementing the same function as the entity computer device, or a cloud device, and the client 20 may be a desktop computer, a notebook computer, a mobile terminal, a mobile phone, and other devices.
One or more clients 20 may be communicatively connected to the server 10.
Based on the data export system shown in fig. 1, an embodiment of the present invention further provides a method applied to the data export system shown in fig. 1, please refer to fig. 2, and fig. 2 is a first schematic flowchart of the data export method applied to the data export system provided in the embodiment of the present invention, where the flow includes the following steps:
step S10, the client sends a data export request message to the server, where the data export request message includes an export rule and a data source.
In this embodiment, the data export request message sent by the client to the server may enter an interface including a data export function displayed by the client 20 through the user operating the client 20, or the client 20 may actively initiate an HTTP connection request trigger to the server 10 when the client 20 triggers a function related to data export.
In this embodiment, the export rule is used to determine target data including but not limited to export, a file format of a target data file including the target data, a presentation form of the target data in the target data file, and the like, for example, the export rule may include a query condition and/or a conversion rule, the target data is data satisfying the query condition in the data source, or the target data is data converted from the data satisfying the query condition in the data source according to the conversion rule, the conversion rule includes but is not limited to counting, summing, averaging, minimum, maximum, merging, data type conversion, or a preset conversion rule may be customized by a user, a file format of the target data file includes but is not limited to Excel, text, CSV, JSON, and the like, a presentation form of the target data in the target data file may be data, or may be a data diagram, the diagram includes but is not limited to a line graph, Histogram, bar graph, pie graph, circle graph, bubble graph, radar chart, rectangular tree graph, curve area graph, distribution graph, funnel graph, and scatter graph.
In this embodiment, the data source is used to determine the source of the target data, and the target data may be sourced from a database or obtained through a Remote Procedure Call (RPC) interface.
In the embodiment of the invention, the user can configure the export rule according to the requirement, so that the problem that the data export rule cannot be customized because the data export template is seriously relied on when data export is carried out in the prior art can be avoided, the user experience is effectively improved, more personalized export requirements of the user are met, meanwhile, a developer does not need to develop a corresponding rear-end interaction interface and a corresponding configuration data export template aiming at the data export requirements of different business functions, only needs to configure a corresponding business data source and all exportable indexes when the specific business data export function is realized, and the development efficiency of the developer can be greatly improved.
Step S11, the server receives the data export request message by monitoring the long connection communication channel.
In this embodiment, once the long connection communication channel is established between the client 20 and the server 10, both the server 10 and the client 20 can receive a message sent by the other party by listening to the long connection communication channel.
In step S12, the server obtains the target data from the data source according to the export rule and generates a target data file including the target data.
In this embodiment, the target data may be data acquired according to the export rule, or may be data acquired by acquiring data from a data source and then performing data conversion on the acquired data.
In this embodiment, the target data file may be a single file when the target data size is not large, and may be a compressed package file obtained by compressing a plurality of files when the target data size is large.
And step S13, the server sends file downloading information to the client through the long connection communication channel.
In this embodiment, after the server 10 prepares the target data file, it sends the file download message in an asynchronous manner to notify the client to download the target data file, so that the client 20 does not need to stay on a designated interface all the time to wait in the process of preparing data by the server, but can close the interface or switch to another interface to process other transactions in the waiting process, and after the server 10 generates the target data file, it will automatically send the file download message to the client 20 to prompt the client 20 to download the target data file.
It should be noted that, if the user does not exit from the client, in order to timely notify the user to download the target data file, the user may receive the file download message automatically sent by the server 10 on any functional interface, and if the user already exits from the client 20, in order to ensure that the exported target data file is not downloaded by other users, the server 10 does not send the file download message to the client 20 any more.
Step S14, the client receives the file download message by monitoring the long connection communication channel and downloads the target data file based on the file download message.
In this embodiment, the client 20 may send an HTTP request to the server 10 to download the target data file after receiving the download message.
According to the method provided by the embodiment of the invention, through the long connection communication channel between the server and the client, the server realizes data export in an asynchronous mode by adopting an asynchronous notification mode after generating the target data file required by the client, so that a user does not need to wait in a functional interface for a long time when exporting data, and the working efficiency of the user is improved.
On the basis of fig. 2, an embodiment of the present invention further provides a specific implementation manner in which the server 10 obtains the target data and generates the target data file, please refer to fig. 3, fig. 3 is a schematic flowchart of a second flow chart of the data export method applied to the data export system, the implementation manner is executed by the server 10 in the data export system, and the flow chart includes the following steps:
and step S12-10, acquiring target data from the data source according to the derived parameters.
In this embodiment, the export rule includes an export parameter for determining the query condition and the conversion rule that the target data satisfies, and an export type for determining the presentation form of the target data in the target data file and/or the format of the target data file.
As a specific implementation form, the derived parameters comprise query parameters and conversion parameters, the query parameters are used for determining query conditions met by the target data, and the conversion parameters are used for determining conversion rules. The process of acquiring the target data is as follows:
first, initial data is obtained from a data source according to query parameters.
In this embodiment, the data source generally includes a target address and a target address type, the source of the initial data can be known according to the target address, an obtaining manner for obtaining the initial data can be determined according to the target address type, the target address types are different, the obtaining manner of the initial data is also different, and the target address types at least include the following two types: (1) the database type: for the database type, the manner of acquiring the initial data is as follows: according to the query parameters, initial data is queried from a target database represented by the target address, and the specific implementation can be that communication connection with the target database is established; converting the query parameters into query statements of a target database and submitting the query statements to the target database; and executing the query statement, and acquiring initial data from a target database, wherein the database can be a relational database or a non-relational database. (2) Interface types are as follows: for the interface type, the way of acquiring the initial data is as follows: and calling the target interface represented by the target address according to the query parameters to acquire initial data returned by the target interface. The target interface may be an RPC interface, and the specific implementation may be: and submitting the query parameters to the RPC interface according to the RPC protocol to acquire initial data returned by the RPC interface.
Secondly, the initial data is converted into target data according to the conversion parameters.
In this embodiment, when the user does not need to convert the initial data, the conversion parameter may not be set, and the initial data is the target data, and when the user needs to convert the initial data, the conversion parameter may be set in advance, the server 10 converts the target data according to the conversion parameter, and uses the converted data as the target data, for example, the initial data is the height of all students in first grade of xx university, the data type of the initial data is a floating point type, the floating point type height is converted into a text type according to the conversion parameter, and the converted text type height data is the target data.
It should be noted that, the user may also specify that the target data includes both the data before conversion and the data after conversion by setting.
In substep S12-11, a target data file is generated based on the export type and the target data.
In this embodiment, the export rule further includes an export configuration corresponding to the export type, and when the export type is the data type, the export configuration is used to characterize an exported target file format, for example, the export configuration indicates that the target file format is the TXT format, and when the export type is the data chart type, the export configuration is used to characterize the target chart type, for example, the target chart type is a histogram. The concrete method is as follows: if the export type is a data type, generating a target data file with a format consistent with that of the target file according to the target data; and if the export type is the data chart type, generating a target chart file according to the target data and the target chart type, and taking the target chart file as a target data file.
In this embodiment, in the process of downloading the target data file from the server 10, a communication connection between the client 20 and the server may be interrupted, or the client 20 is abnormal, which causes an abnormal closing of an interface of a current data export function, and the downloading process is abnormally interrupted, in order that the downloading of the target data file is not affected after the communication connection between the client 20 and the server is restored to normal, or when a user logs in from one client 20 to another client 20, the downloading of the target data file may be continued, an embodiment of the present invention further provides a specific implementation manner for storing the target data file, please refer to fig. 4, where fig. 4 is a third flowchart of a data export method applied to the data export system, where an execution main body of the method is the server 10 in the data export system, and the method further includes the following steps:
in step S15, a export record is generated based on the user identification and the target data file.
In this embodiment, the user identifier may be represented by a character string uniquely representing the user, and the same user may only log in to one client 20 at the same time, or may log in to multiple clients 20 at the same time. For the former, the corresponding target data file can be determined according to the user identifier, for example, the same user clicks the exported data at the client a before exiting the system, and logs in at the client B, and the server 10 can send the file download message to the client B where the user currently logs in, so as to achieve the purpose of not limiting that the user can continue to export data only at the same client. For the latter, the user identifier and the client identifier are required to jointly determine the corresponding target data file. The client id is used to uniquely characterize the client 20, and may be represented by a Media Access Control (MAC) address of the client or a character string capable of uniquely characterizing the client.
In this embodiment, as a specific implementation manner, the export record includes a user identifier, a function number, a client identifier, a target data file, a record identifier, and whether the identifier has been exported, the client 20 corresponding to the export record that has not been downloaded and the user identifier that logs in the client 20 can be obtained according to the user identifier, the client identifier, and whether the identifier has been exported, and then the identifier of the export record that has not been downloaded is determined, and the corresponding target data file can be obtained according to the record identifier of the export record, so that the same user can still correctly download the target data file when logging in different clients 20 at the same time.
In step S16, a record identifier of the lead-out record is generated.
In this embodiment, the record identifier is used for uniquely characterizing the derived record, after the server 10 prepares the target data file, the record identifier may be sent to the client 20, and the client 20 obtains the corresponding target data file from the server 10 according to the record identifier.
Step S17, the derived record and the corresponding record identifier are stored.
In this embodiment, in order to identify the downloading condition of the export record, a flag may be added to the export record, for example, the flag is initialized to 0, the flag is not updated when the client 20 does not download or finishes downloading, and the flag is updated to 1 only when the client 20 finishes downloading, so that the client 20 may be notified to download only when the export record which is not downloaded exists, and unnecessary data communication between the two is avoided.
After the target data file is stored, in order to enable the client 20 to continue downloading the target data file after abnormal recovery, or the client 20 re-enters the interface to download the target data file in time, or a user can continue downloading the target data file after logging in different clients 20, an embodiment of the present invention further provides a specific implementation manner, which is used for enabling the client 20 to normally download the target data file in the scene, please refer to fig. 5, fig. 5 is a fourth flowchart of the data export method applied to the data export system provided by the embodiment of the present invention, and the method further includes the following steps:
and step S18, the target client sends an initialization message through the long connection communication channel, wherein the initialization message comprises the target user identification of the login target client.
In step S19, the server receives the initialization message by monitoring the long connection communication channel.
In this embodiment, there may be a plurality of clients 20, and when any client 20 recovers abnormally or reenters the interface, the client 20 sends an initialization message to the server 10 through the long connection communication channel, where the initialization message includes a target user identifier of the client 20.
And step S20, if the export record has a target export record corresponding to the target user identification, sending a file download message to the target client.
And step S21, the target client receives the file downloading message by monitoring the long connection communication channel and derives the data file corresponding to the record based on the file downloading message.
It should be noted that, in addition to the initialization message and the data export request message, the client 20 may also send a heartbeat message to the server 10 through the long connection communication channel, where the heartbeat message is used to ensure that the communication connection between the server 10 and the client 20 is normal, and after receiving the heartbeat message, the server 10 returns a heartbeat determination message to the client 20. Through the heartbeat message and the heartbeat determination message, the client 20 and the server 10 can know whether the communication link between the two parties is normal or not in time.
On the basis of fig. 5, an embodiment of the present invention further provides a specific implementation manner for downloading a target data file by a client 20, please refer to fig. 6, and fig. 6 is a schematic flowchart of a fifth flow chart of a data export method applied to a data export system, where the method includes the following sub-steps:
and a substep S21-10, analyzing the file downloading message by the target client to obtain a target record identifier.
In this embodiment, as described above, when the server 10 stores the export record, it generates a corresponding record identifier for the export record, and when notifying the client 20 of downloading the file, puts the corresponding target record identifier into the file download message to be sent, and after receiving the file download message, the client 20 may obtain the target record identifier by parsing the message.
In sub-step S21-11, the target client sends an HTTP request to the server, where the HTTP request includes the target record identifier.
And in the substep S21-12, the server determines a target data file according to the received target record identifier and sends the target data file to the target client.
In this embodiment, in order to establish a long connection communication channel between a server and a client, an embodiment of the present invention further provides a specific implementation manner, please refer to fig. 7, where fig. 7 is a flowchart illustrating a sixth flowchart of a data export method applied to a data export system according to an embodiment of the present invention, where the method includes the following steps:
step S22, the client initiates an HTTP upgrade request to the server.
Step S23, the server receives an HTTP upgrade request initiated by the client.
In this embodiment, in order to ensure the validity of the identity of the client 20 and avoid malicious connection of the client 20, the server 10 first verifies the validity of the client 20 after receiving the HTTP update request initiated by the client, and if the HTTP update request is legal, continues the subsequent steps, otherwise, rejects the connection of the client 20.
And step S24, the server establishes Web Socket connection with the client based on the HTTP upgrade request completion.
In the present embodiment, the server 10 upgrades the HTTP connection to the Web Socket connection based on the HTTP connection request, thereby establishing the Web Socket connection with the client.
And step S25, the server binds the client and the current operation user with the Web Socket connection, and stores the binding into a preset connection pool to establish a long connection communication channel between the server and the client.
In order to enable the communication connection between the client 20 and the server 10 to be continuous and facilitate subsequent communication between the client 20 and the server 10 without reconnection, the server 10 binds the connection between the client 20 and the Web Socket, and the specific binding mode may be: and acquiring a client identifier and a current operating user of the client 20 from the HTTP connection request, establishing a corresponding relationship between the client identifier and the current operating user and the corresponding Web Socket connection, and finally binding the client and the Web Socket connection.
It should be noted that, the server 10 may bind with multiple clients 20 at the same time, and for convenience of management, the server 10 stores the bound Web Socket connection in the preset connection pool by using the preset connection pool for management.
The embodiment of the present invention further provides a data export method applied to the server 10 side in the data export system, please refer to fig. 8, fig. 8 is a schematic flow chart of the data export method applied to the server in the data export system according to the embodiment of the present invention, and the method includes the following steps:
step S200, a data export message sent by a client is received by monitoring a long connection communication channel, wherein the data export message comprises an export rule and a data source.
Step S201, according to the export rule, acquires target data from the data source and generates a target data file including the target data.
Step S202, sending a file downloading message to the client through the long connection communication channel, so that the client receives the file downloading message and downloads the target data file based on the file downloading message by monitoring the long connection communication channel.
The detailed implementation process of steps S200 to S202 may refer to the description of the foregoing embodiments, and is not described herein again.
The embodiment of the present invention further provides a data export method applied to the server 10 side in the data export system, please refer to fig. 9, where fig. 9 is a schematic flow diagram of the data export method applied to the client in the data export system according to the embodiment of the present invention, and the method includes the following steps:
step S300, sending a data export request message to the server through the long connection communication channel, wherein the data export request message comprises an export rule and a data source so as to instruct the server to acquire target data from the data source according to the export rule and generate a target data file comprising the target data; and indicating the server to send a file downloading message to the client through the long connection communication channel.
Step S301, receiving a file downloading message and downloading a target data file based on the file downloading message by monitoring the long connection communication channel.
The detailed implementation process of steps S300 to S301 may refer to the description of the foregoing embodiments, and is not described herein again.
In order to perform the corresponding steps in the above embodiments and various possible implementations, an implementation of the first data exporting apparatus 100 applied to the server in the data exporting system is given below. Referring to fig. 10, fig. 10 is a block diagram illustrating a first data deriving device 100 according to an embodiment of the present invention. It should be noted that the basic principle and the resulting technical effect of the first data deriving device 100 provided in this embodiment are the same as those of the above embodiments, and for the sake of brief description, no reference is made to this embodiment.
The first data exporting apparatus 100 comprises a first receiving module 110, a generating module 120, a first sending module 130, and a storing module 140.
The first receiving module 110 is configured to receive a data export message sent by a client by monitoring a long connection communication channel, where the data export message includes an export rule and a data source.
Further, the server is in communication connection with at least one client, the server stores at least one export record, each export record includes a user identifier for logging in the at least one client and a corresponding data file that is not downloaded, and the first receiving module 110 is further configured to: and receiving an initialization message sent by a target client in at least one client by monitoring a long connection communication channel, wherein the initialization message comprises a target user identifier for logging in the target client.
A generating module 120, configured to obtain the target data from the data source according to the export rule, and generate a target data file including the target data.
Further, the generating module 120 is specifically configured to: acquiring target data from the data source according to the parameters; and generating a target data file according to the export type and the target data.
Further, the derived parameters include a query parameter and a conversion parameter, and the generating module 120 is specifically configured to, when configured to obtain the target data from the data source according to the derived parameters: acquiring initial data from a data source according to the query parameters; and converting the initial data into target data according to the conversion parameters.
Further, the data source includes a target address and a target address type, and the generating module 120 is specifically configured to, when configured to obtain the initial data from the data source according to the query parameter: if the target address type is the database type, inquiring initial data from a target database represented by the target address according to the inquiry parameters; if the type of the target address is the interface type, calling the target interface represented by the target address according to the query parameter so as to acquire initial data returned by the target interface.
Further, the export rule further includes an export configuration corresponding to the export type, where the export configuration is used to characterize an exported target file format when the export type is a data type, and the export configuration is used to characterize a target graph type when the export type is a data graph type, and the generation module 120 is specifically configured to, when being configured to generate a target data file according to the export type and the target data: if the export type is a data type, generating a target data file with a format consistent with that of the target file according to the target data; and if the export type is the data chart type, generating a target chart file according to the target data and the target chart type, and taking the target chart file as a target data file.
The first sending module 130 is configured to send a file download message to the client through the long connection communication channel, so that the client receives the file download message and downloads the target data file based on the file download message by monitoring the long connection communication channel.
Further, the first sending module 130 is further configured to: and if the target export record corresponding to the target user identification exists in the export record, sending a file downloading message to the target client so that the target client receives the file downloading message by monitoring the long connection communication channel and downloads the data file corresponding to the target export record based on the file downloading message.
Further, the data export request includes a user identifier of the login client, and the storage module 140 is configured to: generating an export record according to the user identification and the target data file; generating a record identification of the derived record; and storing the derived record and the corresponding record identifier.
It should be noted that, in addition to the above-mentioned module division manner for the first data exporting apparatus 100, the first data exporting apparatus 100 may also perform module division according to the specifically implemented functions, for example, as a specific implementation manner, the first data exporting apparatus 100 may further include the following modules: the device comprises a first communication module, a data loading module, a data conversion module, a file generation module, an export management module and a configuration management module.
The first communication module is mainly used for communicating with the client 20, and includes receiving a connection request, a heartbeat message, a data export message, and a request for downloading a data file sent by the client 20, and also includes responding to a heartbeat confirmation message to the client 20, and sending a data export message.
And the data loading module is mainly used for acquiring target data from a target data source, and acquiring the target data by using different methods according to different target address types.
And the data conversion module is mainly used for converting the target data into the data required by the user according to the data conversion rule set by the user, and comprises the steps of counting, summing, averaging, minimum value, maximum value, merging, converting and self-defining the columns or rows of the target data.
The file generation module is mainly used for generating a target data file, and comprises the steps of generating a corresponding data file and a chart according to an export type, wherein the file type comprises but is not limited to Excel, text, CSV and JSON, and the chart type comprises but is not limited to a broken line graph, a bar graph, a pie chart, a circular ring graph, a bubble graph, a radar chart, a rectangular tree graph, a curve area graph, a distribution graph, a funnel graph and a scatter diagram.
And the export management module is mainly used for managing export records, including historical export information and the export records which are not downloaded completely.
The configuration management module is mainly used for configuring the necessary operating conditions of the data export system, and specifically may include database login information, RPC mapping address information, and the like.
In order to perform the corresponding steps in the above embodiments and various possible implementations, an implementation of the second data exporting apparatus 200 applied to the client in the data exporting system is given below. Referring to fig. 11, fig. 11 is a block diagram illustrating a second data deriving device 200 according to an embodiment of the present invention. It should be noted that the basic principle and the resulting technical effect of the second data deriving device 200 provided in this embodiment are the same as those of the above embodiments, and for the sake of brief description, no reference is made to this embodiment.
The second data derivation device 200 includes a second transmission module 210 and a second reception module 220.
A second sending module 210, configured to send a data export request message to the server through the long connection communication channel, where the data export request message includes an export rule and a data source, so as to instruct the server to obtain target data from the data source according to the export rule and generate a target data file including the target data; and indicating the server to send a file downloading message to the client through the long connection communication channel.
The second receiving module 220 is configured to receive the file download message by monitoring the long connection communication channel and download the target data file based on the file download message.
Further, the second receiving module 220 is specifically configured to: analyzing a file downloading message to acquire a target record identifier; and sending an HTTP request to the server, wherein the HTTP request comprises a target record identifier, so that the server determines a target data file according to the target record identifier and sends the target data file to the client.
It should be noted that, in addition to the above-mentioned module division manner for the second data deriving device 200, the second data deriving device 200 may also perform module division according to the specifically implemented functions, for example, as a specific implementation manner, the second data deriving device 200 may further include the following modules: the device comprises a second communication module, a configuration module and an interaction module.
The second communication module mainly provides a communication function with the server 10, and includes actively establishing a Web Socket communication connection with the server 10, sending heartbeat information to the server 10 after establishing communication, and receiving a message notification of the server 10, and also includes sending a data export message to the server 10 and downloading a target data file to the server 10 when a user triggers a data export operation.
The configuration module is mainly used for configuring corresponding data source information and default export rules for specific business functions by a developer and storing user-defined export rules.
The interaction module mainly provides user interaction operation, supports a user to select the export rule, sets export parameters in the export rule and sets an export type.
It should be noted that the second data exporting apparatus 200 may also be used as a program plug-in running on the client 20, and developers developing other projects may directly introduce the program plug-in, call the program plug-in at a place where the corresponding business function is implemented, and configure the corresponding business data source and all exportable indexes, that is, export data, and greatly improve the development efficiency of the developers.
Based on the data export system described in fig. 1, an embodiment of the present invention further provides a block schematic diagram of an electronic device 30, where the electronic device 30 may be the server 10 in fig. 1 or the client 20 in fig. 1, please refer to fig. 12, and fig. 12 shows the block schematic diagram of the electronic device 30 provided in the embodiment of the present invention, where the electronic device 30 includes a processor 31, a memory 32, and a bus 33, and the processor 31 and the memory 32 are connected by the bus 33.
The processor 31 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the data export method applied to the server 10 or the data export method applied to the client 20 may be implemented by instructions in the form of hardware integrated logic circuits or software in the processor 31. The Processor 31 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components.
The memory 32 is used for storing a program, for example, a first data export device applied to the server 10 or a second data export device applied to the client 20 in the present embodiment. The first data deriving means and the second data deriving means each include at least one software functional module which may be stored in the memory 32 in the form of software or firmware (firmware) or solidified in an Operating System (OS) of the electronic device 30. The processor 31, upon receiving the execution instruction, executes the program to implement the data export method applied to the server 10 or the data export method applied to the client 20, which are disclosed in the following embodiments.
Embodiments of the present invention also provide a computer-readable storage medium, on which a computer program is stored, and when being executed by a processor, the computer program implements the data export method applied to the server 10 or the data export method applied to the client 20 as described above.
In summary, embodiments of the present invention provide a data export method, apparatus, system, electronic device, and storage medium, where the method is applied to a server, the server is in communication connection with a client, and a long connection communication channel exists between the server and the client, and the method includes: receiving a data export message sent by a client by monitoring a long connection communication channel, wherein the data export message comprises an export rule and a data source; acquiring target data from a data source according to an export rule and generating a target data file comprising the target data; and sending a file downloading message to the client through the long connection communication channel so that the client receives the file downloading message and downloads the target data file based on the file downloading message by monitoring the long connection communication channel. Compared with the prior art, the embodiment of the invention realizes the data export in an asynchronous mode by adopting an asynchronous notification mode after the server generates the target data file required by the client through the long connection communication channel between the server and the client, so that a user does not need to wait in a functional interface for a long time when exporting the data, and the working efficiency of the user is improved. Meanwhile, developers do not need to develop corresponding back-end interaction interfaces and configuration data export templates according to data export requirements of different business functions, and only need to configure corresponding business data sources and all exportable indexes when specific business data export functions are realized, so that the development efficiency of the developers can be greatly improved.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are also within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (15)

1. A data export method is applied to a server side, the server side is in communication connection with a client side, and a long connection communication channel exists between the server side and the client side, and the method comprises the following steps:
receiving a data export message sent by the client by monitoring the long connection communication channel, wherein the data export message comprises an export rule and a data source;
acquiring target data from the data source according to the export rule and generating a target data file comprising the target data;
and sending a file downloading message to the client through the long connection communication channel so that the client receives the file downloading message and downloads the target data file based on the file downloading message by monitoring the long connection communication channel.
2. The data export method of claim 1, wherein the export rules include export parameters and export types, and wherein the steps of obtaining target data from the data source and generating a target data file including the target data according to the export rules comprise:
acquiring the target data from the data source according to the derived parameters;
and generating the target data file according to the export type and the target data.
3. The data derivation method of claim 2, wherein the derived parameters include a query parameter and a transformation parameter, and the step of obtaining the target data from the data source based on the derived parameters comprises:
acquiring initial data from the data source according to the query parameters;
and converting the initial data into the target data according to the conversion parameters.
4. The data exporting method according to claim 3, wherein the data source comprises a target address and a target address type, and the step of obtaining the initial data from the data source according to the query parameter comprises:
if the target address type is a database type, inquiring the initial data from a target database represented by the target address according to the inquiry parameters;
if the target address type is an interface type, calling a target interface represented by the target address according to the query parameter to acquire the initial data returned by the target interface.
5. The data export method of claim 2, wherein the export rule further comprises an export configuration corresponding to an export type, the export configuration being used to characterize an exported target file format when the export type is a data type, the export configuration being used to characterize a target graph type when the export type is a data graph type, the generating the target data file from the export type and the target data comprising:
if the export type is a data type, generating the target data file with the format consistent with that of the target file according to the target data;
and if the export type is a data chart type, generating a target chart file according to the target data and the target chart type, and taking the target chart file as the target data file.
6. The data export method of claim 1, wherein the data export request includes an identification of a user logged into the client, the method further comprising:
generating an export record according to the user identification and the target data file;
generating a record identification for the lead-out record;
and storing the export record and the corresponding record identification.
7. The data export method of claim 1, wherein the server is communicatively connected to at least one client, the server stores at least one export record, each export record includes a user identifier for logging in the at least one client and a corresponding data file that is not downloaded, and the method further comprises:
receiving an initialization message sent by a target client in the at least one client by monitoring the long connection communication channel, wherein the initialization message comprises a target user identifier for logging in the target client;
and if the target export record corresponding to the target user identification exists in the export record, sending a file downloading message to the target client so that the target client receives the file downloading message by monitoring the long connection communication channel and downloads the data file corresponding to the target export record based on the file downloading message.
8. A data export method is applied to a client, the client is connected with a server, and a long connection communication channel exists between the server and the client, and the method comprises the following steps:
sending a data export request message to the server through the long connection communication channel, wherein the data export request message comprises an export rule and a data source so as to instruct the server to acquire target data from the data source according to the export rule and generate a target data file comprising the target data; instructing the server to send a file downloading message to the client through the long connection communication channel;
and receiving the file downloading message and downloading the target data file based on the file downloading message by monitoring the long connection communication channel.
9. The data export method of claim 8, wherein the file download message includes a target record identification, and wherein the step of downloading the target data file based on the file download message comprises:
analyzing the file downloading message to acquire the target record identifier;
and sending an HTTP request to the server, wherein the HTTP request comprises the target record identifier, so that the server determines the target data file according to the target record identifier and sends the target data file to the client.
10. A data export method is applied to a data export system, the data export system comprises a server and a client, a long connection communication channel exists between the server and the client, and the method comprises the following steps:
the client sends a data export request message to the server, wherein the data export request message comprises an export rule and a data source;
the server side receives the data export request message by monitoring the long connection communication channel;
the server acquires target data from the data source according to the export rule and generates a target data file comprising the target data;
the server side sends a file downloading message to the client side through the long connection communication channel;
and the client receives the file downloading message by monitoring the long connection communication channel and downloads the target data file based on the file downloading message.
11. A data exporting apparatus, wherein the apparatus is applied to a server, the server is in communication connection with a client, and a long connection communication channel exists between the server and the client, the apparatus comprising:
a first receiving module, configured to receive a data export message sent by the client by monitoring the long connection communication channel, where the data export message includes an export rule and a data source;
a generation module for acquiring target data from the data source according to the export rule and generating a target data file including the target data;
and the first sending module is used for sending a file downloading message to the client through the long connection communication channel so that the client receives the file downloading message by monitoring the long connection communication channel and downloads the target data file based on the file downloading message.
12. A data exporting apparatus, wherein the apparatus is applied to a client, the client is connected to a server, and a long connection communication channel exists between the server and the client, the apparatus comprising:
a second sending module, configured to send a data export request message to the server through the long connection communication channel, where the data export request message includes an export rule and a data source, so as to instruct the server to obtain target data from the data source according to the export rule, and generate a target data file including the target data; instructing the server to send a file downloading message to the client through the long connection communication channel;
and the second receiving module is used for receiving the file downloading message and downloading the target data file based on the file downloading message by monitoring the long connection communication channel.
13. A data export system is characterized by comprising a server and a client, wherein the server is in communication connection with the client, and a long connection communication channel exists between the server and the client;
the server executes the data export method of any of claims 1-7 and the client executes the data export method of any of claims 8-9.
14. An electronic device comprising a processor and a memory; the memory is used for storing programs; the processor is configured to implement the data derivation method of any one of claims 1 to 7, or the data derivation method of claims 8 to 9, when the program is executed.
15. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the data exporting method according to any one of claims 1 to 7, or carries out the data exporting method according to claims 8 to 9.
CN202210455785.6A 2022-04-24 2022-04-24 Data export method, device, system, electronic equipment and storage medium Pending CN114925135A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210455785.6A CN114925135A (en) 2022-04-24 2022-04-24 Data export method, device, system, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210455785.6A CN114925135A (en) 2022-04-24 2022-04-24 Data export method, device, system, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114925135A true CN114925135A (en) 2022-08-19

Family

ID=82807265

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210455785.6A Pending CN114925135A (en) 2022-04-24 2022-04-24 Data export method, device, system, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114925135A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116204577A (en) * 2023-05-04 2023-06-02 神州数码融信云技术服务有限公司 Data export method and device, computer equipment and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104023021A (en) * 2014-06-13 2014-09-03 珠海市君天电子科技有限公司 File transfer method and file transfer device
WO2021238796A1 (en) * 2020-05-26 2021-12-02 苏宁易购集团股份有限公司 Asynchronous processing method, apparatus, and system for download tasks, and storage medium
CN114237929A (en) * 2021-11-30 2022-03-25 四川华鲲振宇智能科技有限责任公司 Method for exporting big data by Web server

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104023021A (en) * 2014-06-13 2014-09-03 珠海市君天电子科技有限公司 File transfer method and file transfer device
WO2021238796A1 (en) * 2020-05-26 2021-12-02 苏宁易购集团股份有限公司 Asynchronous processing method, apparatus, and system for download tasks, and storage medium
CN114237929A (en) * 2021-11-30 2022-03-25 四川华鲲振宇智能科技有限责任公司 Method for exporting big data by Web server

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116204577A (en) * 2023-05-04 2023-06-02 神州数码融信云技术服务有限公司 Data export method and device, computer equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
KR101950122B1 (en) Interworking light weight machine-to-machine protocol with device management protocol
CN108200170B (en) Message processing method and device and readable storage medium
CN108712485B (en) Resource subscription method and device for Internet of things equipment
WO2013004059A1 (en) Version upgrade method, terminal and version upgrade system
TW200404439A (en) Remote dynamic configuration of a web server to facilitate capacity on demand
CN112988485A (en) Simulation test method and device for power Internet of things equipment
CN113794652A (en) Data processing method and device, electronic equipment and storage medium
CN114925135A (en) Data export method, device, system, electronic equipment and storage medium
JP5610654B2 (en) Apparatus for providing terminal management package and method for receiving terminal management package
WO2024103943A1 (en) Service processing method and apparatus, storage medium, and device
WO2021226784A1 (en) Node configuration method and apparatus, distributed system, and computer readable medium
CN113157480A (en) Error information processing method, device, storage medium and terminal
CN110554884B (en) Configuration method, device, background server and storage medium
CN111741087A (en) Remote upgrading method, terminal equipment and readable storage medium
US10694551B2 (en) Method and apparatus for binding communication between mobile device and fixed device
CN102904742B (en) To method of operation and the system of executable node
CN112804291B (en) Remote equipment auditing method, device and system
CN106651066B (en) Data processing method and data processing platform
CN114595115A (en) Model data extraction method, system, electronic device and computer storage medium
CN114006939A (en) Message pushing method and device
CN113032054A (en) Service execution method, device, storage medium and electronic device
CN113378041A (en) Prompt message pushing method and device, electronic equipment and computer readable medium
CN117135011B (en) Method for adapting gateway to multiple cloud platforms based on MQTT communication and gateway system
WO2022001830A1 (en) Configuration method, terminal, service terminal and configuration system
CN115412611B (en) Query method, device, equipment and medium based on DNS server

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