CN110309462B - Data display method and system - Google Patents

Data display method and system Download PDF

Info

Publication number
CN110309462B
CN110309462B CN201910620756.9A CN201910620756A CN110309462B CN 110309462 B CN110309462 B CN 110309462B CN 201910620756 A CN201910620756 A CN 201910620756A CN 110309462 B CN110309462 B CN 110309462B
Authority
CN
China
Prior art keywords
data
client
storage server
data storage
web page
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
CN201910620756.9A
Other languages
Chinese (zh)
Other versions
CN110309462A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201910620756.9A priority Critical patent/CN110309462B/en
Publication of CN110309462A publication Critical patent/CN110309462A/en
Application granted granted Critical
Publication of CN110309462B publication Critical patent/CN110309462B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

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

Abstract

The application discloses a data display method and system, and belongs to the technical field of data processing. The system comprises: the system comprises a data storage server, a client and a webpage end; the client and the webpage end are used for sending a data acquisition request to the data storage server as a sending end when receiving a display instruction, wherein the data acquisition request is used for requesting to acquire data indicated by the display instruction, and the client and the webpage end share the data stored in the data storage server; the data storage server is used for sending a data acquisition response to a sending end of the data acquisition request based on the data acquisition request; the client and the sending end in the webpage end are used for displaying data carried in the data acquisition response based on the data acquisition response. The invention realizes the platform conversion between the client and the webpage end, and improves the flexibility of the platform.

Description

Data display method and system
Technical Field
The present disclosure relates to the field of data processing technologies, and in particular, to a data display method and system.
Background
With the rapid popularization of artificial intelligence technology, the demand for research on machine learning algorithms by using a machine learning platform is also increasing. On the machine learning platform, researchers can build experiments of the machine learning algorithm by using packaged algorithm components (also called algorithm component modules) according to the designed machine learning algorithm so as to verify the effectiveness of the machine learning algorithm.
Currently, there are a very wide variety of machine learning platforms on the market, and these are mainly divided into two types, one is a machine learning platform operating in a client, and the other is a machine learning platform operating in a web page. In a machine learning platform operated in a client, tasks such as experiment construction, experiment inquiry and the like are usually realized through codes. In a machine learning platform operated in a webpage end, the platform for creating the experiment is presented in a canvas mode, and algorithm components required by a machine learning algorithm can be added into the canvas in a dragging mode to build the experiment. And the machine learning algorithm may be presented in the canvas in the form of an algorithm framework.
However, since the operation mechanism of the machine learning platform operating in the client is different from the operation mechanism of the machine learning platform operating in the web page, the two machine learning platforms cannot realize interaction, resulting in poor flexibility of the two machine learning platforms.
Disclosure of Invention
The embodiment of the invention provides a data display method and a data display system, which can solve the problem of poor flexibility of a machine learning platform in the related technology. The technical scheme is as follows:
In a first aspect, a data presentation system is provided, the system comprising: the system comprises a data storage server, a client and a webpage end;
the client and the webpage end are used for sending a data acquisition request to the data storage server as a sending end when receiving a display instruction, wherein the data acquisition request is used for requesting to acquire data indicated by the display instruction, and the client and the webpage end share the data stored in the data storage server;
the data storage server is used for sending a data acquisition response to a sending end of the data acquisition request based on the data acquisition request;
the client and the sending end in the webpage end are used for displaying data carried in the data acquisition response based on the data acquisition response.
In a second aspect, there is provided a data presentation method, the method being applied to a data presentation system, the system comprising: the method comprises the steps of:
when any one of the client and the webpage end receives a display instruction, sending a data acquisition request to the data storage server, wherein the data acquisition request is used for requesting to acquire data indicated by the display instruction, and the client and the webpage end share the data stored in the data storage server;
The data storage server sends a data acquisition response to a sending end of the data acquisition request based on the data acquisition request;
and the client and the sending end in the webpage end display the data carried in the data acquisition response based on the data acquisition response.
Optionally, the data storage server storing the operation data includes:
the data storage server adopts the first data interface to convert operation data generated in the client into data in a reference data format, and stores the converted data;
and/or the data storage server adopts a second data interface to convert the operation data generated in the webpage end into the data in the reference data format, and stores the converted data.
Optionally, the operation instructions are at least for instructing to perform one or more of the following operations: creating a task, editing the task, and running the task.
According to the data display method and system provided by the embodiment of the invention, the data is stored in the data storage server, and the data stored in the data storage server is shared by the client and the webpage, so that compared with the related art, the data can be shared by the client and the webpage, the same data can be displayed in the client and the webpage, the platform conversion between the client and the webpage is realized, and the flexibility of the platform is improved.
And moreover, users with different use requirements can execute related operations in the corresponding platforms according to the respective requirements, so that the usability of each platform is improved. For example, different users can edit tasks in the client and the webpage end respectively. Or, the operation result generated in the client is conveniently and rapidly counted by utilizing the counting function of the webpage end, so that the difficulty of data counting in the client is reduced. Or, batch operation is performed on the tasks created in the webpage end by utilizing the advantages of batch operation in the client. Or, the experimental function can be conveniently searched through the experimental task list in the webpage end, so that the complexity of searching through the client is reduced.
Meanwhile, data sharing between the client and the webpage end is realized, when users at different positions communicate algorithm schemes, the frames of the algorithms are displayed through the webpage end, so that the users at different positions can conveniently and quickly know the algorithms, the communication difficulty can be reduced, and the communication cost is reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic structural diagram of a data display system according to an embodiment of the present invention.
Fig. 2 is a schematic diagram of a machine learning experimental framework for web page end display according to an embodiment of the present invention.
Fig. 3 is a schematic diagram of an algorithm editing interface according to an embodiment of the present invention.
Fig. 4 is an experimental block diagram of a machine learning algorithm provided by an embodiment of the present invention.
Fig. 5 is a schematic diagram of a parameter configuration dialog box according to an embodiment of the present invention.
Fig. 6 is a flowchart of a data display method according to an embodiment of the present invention.
Fig. 7 is a flowchart of another data display method according to an embodiment of the present invention.
Fig. 8 is a schematic structural diagram of a server according to an embodiment of the present invention.
Fig. 9 is a schematic structural diagram of a server according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Fig. 1 is a schematic structural diagram of a data display system according to an embodiment of the present invention. As shown in fig. 1, the system may include: a data storage server 110, a first terminal 120 and a second terminal 130. The first terminal 120 has a client installed therein for displaying data in the client. The second terminal 130 is provided with a browser, and data can be displayed in a webpage end of the browser.
The data storage server 110 may be a server, a server cluster comprising a plurality of servers, or a cloud computing service center. The first terminal 120 and the second terminal 130 may each be a smart phone, a computer, a multimedia player, an electronic reader, or a wearable device. The connection between the data storage server 110 and the first terminal 120, and the connection between the data storage server 110 and the second terminal 130 may be established through a wired network or a wireless network.
In the embodiment of the present invention, since the operations related to the first terminal 120 are all operations implemented by the client, and the operations related to the second terminal 130 are all operations implemented by the web page, in the description of the embodiment of the present invention, the relevant operations related to the first terminal 120 are described by the client, and the relevant operations related to the second terminal 130 are described by the web page.
In the data display system, the client and the web page end are both configured to receive a display instruction, and when any one of the client and the web page end receives the display instruction, the any one may serve as a transmitting end to transmit a data acquisition request to the data storage server 110 to request to acquire data indicated by the display instruction. The data storage server 110 is configured to, after receiving the data acquisition request, send a data acquisition response to a sender of the data acquisition request based on the data acquisition request. At this time, the sending end in the client and the web page end is used for displaying the data carried in the data acquisition response based on the data acquisition response after receiving the data acquisition response.
And, the client and the web page end share the data stored in the data storage server 110, that is, the data stored in the data storage server 110 can be shared between the client and the web page end. Thus, the data stored in the data storage server 110 may be presented in either the client or the web page.
In summary, in the data display system provided by the embodiment of the invention, the data is stored in the data storage server, and the client and the webpage end share the data stored in the data storage server, so that compared with the related art, the client and the webpage end can share the data, the same data can be displayed in the client and the webpage end, the platform conversion between the client and the webpage end is realized, and the flexibility of the platform is improved.
Optionally, the data stored in the data storage server 110 may be from other servers, or may be from at least one of a client and a web page. The data stored in the data storage server 110 may be data generated when operations are performed in a client and a web page, for example.
At this time, the client and the web page are both configured to execute the operation indicated by the operation instruction after receiving the operation instruction, and send the operation data generated during the execution of the operation to the data storage server 110, so that the data storage server 110 stores the operation data.
In addition, because the operation instruction carries the task identifier of the task to be operated, and the operation data generated based on the operation instruction carries the task identifier, the implementation manner of the data stored in the client and web page side shared data storage server 110 may be: when the first operation data sent by the client and the second operation data sent by the webpage end carry the same task identification, the first operation data and the second operation data are stored in the same storage address.
Further, since the data formats supported by the client and the web page terminal are different, when the client and the web page terminal share data, the data format of the data stored in the data storage server 110 may be different from the data format supported by at least one of the client and the web page terminal. For example, the data format of the data stored in the data storage server 110 is different from the data format supported by the client, but is the same as the data format supported by the web page, or is the same as the data format supported by the client, but is different from the data format supported by the web page, or is different from both the data formats supported by the client and the web page. Therefore, before the data storage server 110 stores the received data, it is also necessary to perform data conversion processing on the data and store the converted data.
According to different situations of data formats supported by the client and the webpage, the data conversion processing can be divided into the following three situations:
in the first case, the data format of the data stored in the data storage server 110 does not conform to the data formats supported by the client and the web page, and at this time, it is necessary to perform data conversion processing on the data sent by the client and also on the data sent by the web page.
For example, since the client and the data storage server 110 may communicate data through the first data interface, the web page end and the data storage server 110 may communicate data through the second data interface, and accordingly, the data storage server 110 may convert operation data generated in the client into data of a reference data format using the first data interface, and store the converted data. And, the data storage server 110 may convert the operation data generated in the web page terminal into data of the reference data format using the second data interface, and store the converted data. The reference data format is a data format supported by the data storage server 110. For example, the reference data format may be json format.
In the second case, the data format of the data stored in the data storage server 110 does not conform to the data format supported by the client, and at this time, data conversion processing needs to be performed on the data transmitted by the client.
For example, since the client and the data storage server 110 may communicate data through the first data interface, the data storage server 110 may convert operation data generated in the client into data of a reference data format using the first data interface, and store the converted data.
In the third case, the data format of the data stored in the data storage server 110 does not conform to the data format supported by the web page, and at this time, data conversion processing needs to be performed on the data transmitted by the web page.
For example, since the web page terminal and the data storage server 110 may communicate data through the second data interface, the data storage server 110 may convert operation data generated in the web page terminal into data of a reference data format using the second data interface, and store the converted data.
Similarly, before the data storage server 110 sends data to at least one of the client and the web page, data conversion processing is further required to be performed on the data, so as to send data that can be used by the data storage server to at least one of the client and the web page. And the data conversion process can be divided into the following three cases:
In the first case, the data format of the data stored in the data storage server 110 does not conform to the data formats supported by the client and the web page. In this case, the data to be transmitted to the client side and the data to be transmitted to the web page side need to be converted.
For example, since the client and the data storage server 110 may perform data communication through the first data interface, the web page end and the data storage server 110 may perform data communication through the second data interface, and accordingly, the data storage server 110 may perform data conversion processing on the data sent to the client by using the first data interface, so that the client may perform data display according to the converted data. And, the data storage server 110 may perform data conversion processing on the data sent to the web page end by using the second data interface, so that the web page end performs data display according to the converted data.
In the second case, the data format of the data stored in the data storage server 110 does not conform to the data format supported by the client. At this time, data conversion processing is required for the data transmitted to the client.
For example, since the client and the data storage server 110 may perform data communication through the first data interface, accordingly, the data storage server 110 may perform data conversion processing on the data sent to the client by using the first data interface, so that the client performs data presentation according to the converted data.
In the third case, the data format of the data stored in the data storage server 110 does not conform to the data format supported by the web page side. At this time, data conversion processing is required for the data transmitted to the web page side.
For example, since the web page end and the data storage server 110 may perform data communication through the second data interface, correspondingly, the data storage server 110 may perform data conversion processing on the data sent to the web page end by using the second data interface, so that the web page end performs data display according to the converted data.
It should be noted that, the first data interface and the second data interface may be data interfaces defined by using a protubuf (a data protocol). By performing data conversion processing on the data in the data storage server 110, the data can be converted into a data format that can be used by a corresponding client or web page terminal, so that the client and the web page terminal can share the data stored in the data storage server 110.
And, the data conversion process can be understood as converting data into a format recognizable by a different compiling language. For example, assuming that the compiled language used by the client is Java (a compiled language), the data stored in the data storage server 110 is converted into data that can be used by the client, which can be understood as converting the data into a data format that can be recognized by Java, assuming that the language used by the web page terminal is Python (a compiled language), the data stored in the data storage server 110 is converted into data that can be used by the web page terminal, which can be understood as converting the data into a data format that can be recognized by Python. Because protubuf can be compiled into different languages, the data interface defined by protubuf is adopted, so that the workload in the data conversion process can be reduced, unnecessary work is reduced, and the conversion efficiency is improved.
Optionally, the operation instructions are at least for instructing to perform one or more of the following operations: creating tasks, editing tasks and running tasks.
For example, the client may be a machine learning experiment client (i.e. a machine learning platform may be operated in the client), the web page end is a machine learning experiment web page end (i.e. a machine learning platform may be operated in the web page end), the task may be a machine learning experiment, and the operation instruction may be used to instruct at least one of creating the machine learning experiment, editing the machine learning experiment, and running the machine learning experiment, accordingly.
At this time, since the client and the web page end can share data, operation data generated by operations performed on any one of the client and the web page end can be stored in the data storage server 110 to update data in the data storage server 110, so that when the other one of the client and the web page end obtains data from the data storage server 110, updated data can be obtained, and synchronous update of the data in the client and the web page end can be realized.
Illustratively, assuming that user A is adept at designing a machine learning experiment with a client, when the user A downloads the client and begins a machine learning platform operating in the client, data generated during its operation is saved to the data storage server 110. For example, specific algorithm components (e.g., data source address, algorithm components, data format conversion, etc. codes) used in the machine learning experiment are all saved as configuration information for the machine learning experiment to the data storage server 110. Correspondingly, when the user B views the machine learning experiment through the webpage end, the machine learning experiment can be displayed at the webpage end according to the configuration information of the machine learning experiment, namely, the experiment framework of the machine learning experiment can be displayed in the canvas according to the connection mode of the algorithm component designed in the client.
For example, assume that the algorithm flow of a machine learning experiment designed in a client is: the data acquired from the data source component 1 (corresponding data source component-1) is classified by adopting an iterative decision tree (Gradient Boosting Decision Tree, GBDT) algorithm (corresponding algorithm component GBDT classification-1), the classified data is stored in the data storage component 1 (corresponding data storage component-1), and meanwhile, the data acquired from the data source component 2 (corresponding data source component-2) is classified by adopting the GBDT algorithm, and the classified data is stored in the data storage component 2 (corresponding data storage component-2). After the operation data in the algorithm design process is stored in the data storage server 110, after the web page end obtains the data, the machine learning experimental framework displayed on the web page end is shown in fig. 2, and it can be seen from fig. 2 that the algorithm flow represented by the experimental framework is the same as the algorithm flow designed in the client, so that the data synchronization is realized in the client and the web page end.
Further, if the user B desires to edit the machine learning experiment at the web page end, for example, adjust parameters of the data source address and algorithm, the user B may directly edit the experiment frame without returning to the client, so as to facilitate operation. In addition, by the method, different users can select the client or the webpage end to edit the experiment according to the needs, and inconvenience brought by the fact that the users are not good at using the client or the webpage end can be avoided. Meanwhile, the operation parameters generated in the editing operation process can be stored in the data storage server 110, so that the client and the webpage end can be in seamless butt joint with experimental parameters.
The operation principle of the client is as follows: after the client is started, the client can be logged in through an account number and a password, required algorithm components are selected in an algorithm editing interface shown in fig. 3 after the login is successful, the algorithm components located at the upstream and downstream of each algorithm component are determined, then a configuration file of each algorithm component is obtained, and parameter values of parameters involved in the algorithm are configured to create an experimental task of a machine learning experiment. In fig. 3, the first column is the real algorithm name of the algorithm component, the second column is the display algorithm name (i.e., the name used in display) of the algorithm component, the third column is the identification number of the current algorithm component, the fourth column is the identification number of the algorithm component located upstream of the current algorithm component (abbreviated as upstream algorithm component), and the fifth column is the identification number of the algorithm component located downstream of the current algorithm component (abbreviated as downstream algorithm component).
In addition, the log and the running result of the machine learning experiment can be checked in the client, for example, the running state, the log, the running result, the detailed information and the like of the machine learning experiment can be queried by inputting a query command. It is even possible to query the currently submitted machine learning task, query the historically submitted machine learning task, and obtain a configuration file of the historical machine learning task, etc. Further, the data output format of the client may also be defined in the client by modifying the client code, etc.
The operation principle of the webpage end is as follows: logging in a webpage end of the machine learning platform through an account number and a password in a second terminal, creating an experimental task on a first page or a preset experimental page of the webpage end, selecting algorithm components in a canvas by using a dragging algorithm component mode, and carrying out parameter configuration on each algorithm component to create the experimental task of the machine learning experiment. The parameter configuration of the algorithm component can be performed by clicking the algorithm component in the canvas according to a preset mode, so that a parameter configuration dialog box of the algorithm component is displayed in the canvas, and parameters are configured in the parameter configuration dialog box. And, be provided with operation and stop button in the canvas, after experimental task creation is accomplished, can click operation button to control algorithm start operation, and electrode stop button when the algorithm operation need stop.
Illustratively, assume that the experimental tasks created are: training the classification model according to training samples in the data source model through an Ftrl training algorithm (corresponding to an algorithm component Ftrl training-1), and then predicting the prediction samples provided by the predicted data source component (corresponding to the algorithm component Ftrl prediction-1) by adopting the trained classification model (corresponding to the algorithm component Ftrl prediction-1), wherein an experimental block diagram is shown in fig. 4. FIG. 5 is a parameter configuration dialog box (as shown in box A) of an Ftrl training algorithm component in which parameters such as the number of machines performing the Ftrl training algorithm and the dimensions of the feature space used in the training process may be configured.
Moreover, the log and the running result of the machine learning experiment can be checked in the web page end, for example, the running result of the algorithm component can be queried by clicking the algorithm component, and the running state of the machine learning experiment can be checked in the log system.
In the webpage end and the client end, the algorithm components are independent components after being packaged, and the calling interfaces of the same algorithm component in the client end are the same as the calling interfaces in the webpage end, so that the client end and the webpage end can be guaranteed to realize data sharing.
And the data storage server can also carry the storage time of the data, so that the data in different time periods can be queried according to the application requirements. For example, the data storage server 110 stores a plurality of data carrying the same task identifier, and after receiving the data acquisition request, the data storage server 110 may send the latest stored data to the sending end of the data acquisition request according to the storage time of the plurality of data, so as to display the latest data in the sending end.
In summary, in the data display system provided by the embodiment of the invention, the data is stored in the data storage server, and the client and the webpage end share the data stored in the data storage server, so that compared with the related art, the client and the webpage end can share the data, the same data can be displayed in the client and the webpage end, the platform conversion between the client and the webpage end is realized, and the flexibility of the platform is improved.
And moreover, users with different use requirements can execute related operations in the corresponding platforms according to the respective requirements, so that the usability of each platform is improved. For example, different users can edit tasks in the client and the webpage end respectively. Or, the operation result generated in the client is conveniently and rapidly counted by utilizing the counting function of the webpage end, so that the difficulty of data counting in the client is reduced. Or, batch operation is performed on the tasks created in the webpage end by utilizing the advantages of batch operation in the client. Or, the experimental function can be conveniently searched through the experimental task list in the webpage end, so that the complexity of searching through the client is reduced.
Meanwhile, the data sharing between the client and the webpage end enables users at different positions to display the framework of the algorithm through the webpage end when communicating the algorithm scheme, so that the users at different positions can conveniently and quickly know the algorithm, the communication difficulty can be reduced, and the communication cost is reduced.
The embodiment of the invention provides a data display method which can be applied to the data display system provided by the embodiment of the invention. Fig. 6 is a flowchart of a data display method according to an embodiment of the present invention, where, as shown in fig. 6, the method may include:
In step 601, when any one of the client and the web page end receives the display instruction, a data acquisition request is sent to the data storage server, where the data acquisition request is used for requesting to acquire data indicated by the display instruction, and the client and the web page end share the data stored in the data storage server.
Step 602, the data storage server sends a data acquisition response to a sending end of the data acquisition request based on the data acquisition request.
Step 603, the sending end in the client and the web page end displays the data carried in the data acquisition response based on the data acquisition response.
In summary, in the data display system provided by the embodiment of the invention, the data is stored in the data storage server, and the client and the webpage end share the data stored in the data storage server, so that compared with the related art, the client and the webpage end can share the data, the same data can be displayed in the client and the webpage end, the platform conversion between the client and the webpage end is realized, and the flexibility of the platform is improved.
Fig. 7 is a flowchart of another data display method according to an embodiment of the present invention, as shown in fig. 7, the method may include:
Step 701, after any one of the client and the web page end receives the operation instruction, executing the operation indicated by the operation instruction in the receiving end of the operation instruction.
Because the operation instruction carries the task identifier of the task to be operated, after any one of the client and the webpage end receives the operation instruction, the operation to be executed can be determined according to the task identifier, and then the corresponding operation is executed. And the operation data generated based on the operation instruction carries a task identifier so as to identify the operation data as the operation data generated in the process of executing the corresponding operation.
Wherein the operation instructions are at least for instructing to perform one or more of the following operations: creating tasks, editing tasks, and running created tasks. For example, the operational instructions may be used to instruct the creation of a machine learning experiment, to modify parameters in a machine learning experiment, or to run a machine learning experiment that has been created.
Step 702, the receiving end of the operation instruction sends the operation data generated in the execution process of the operation to the data storage server.
Step 703, the data storage server stores the operation data.
Optionally, when the first operation data sent by the client and the second operation data sent by the web page end carry the same task identifier, the data storage server may store the first operation data and the second operation data in the same storage address, so as to ensure that the client and the web page end can share the data stored in the data storage server.
And, since the data formats supported by the client and the web page end are different, when the client and the web page end share data, the data format of the data stored in the data storage server may be different from the data format supported by at least one of the client and the web page end, and since the client and the data storage server perform data communication through the first data interface and the web page end and the data storage server perform data communication through the second data interface, the data storage server storing operation data may include: the data storage server converts operation data generated in the client into data of a reference data format by using a first data interface, and stores the converted data. And/or the data storage server adopts a second data interface to convert the operation data generated in the webpage end into data in a reference data format, and stores the converted data.
Step 704, when any one of the client and the web page end receives the presentation instruction, a data acquisition request is sent to the data storage server, where the data acquisition request is used to request to acquire the data indicated by the presentation instruction.
Wherein, the client and the webpage end share the data stored in the data storage server.
Step 705, the data storage server sends a data acquisition response to the sender of the data acquisition request based on the data acquisition request.
As described above, since the data formats supported by the client and the web page are different, when the client and the web page share data, the data format of the data stored in the data storage server does not conform to the data format supported by at least one of the client and the web page, and therefore, before the data storage server transmits the data to the client and/or the web page, it is also necessary to perform a data conversion process on the data so as to transmit the data that it can use to at least one of the client and the web page. And because the client side and the data storage server perform data communication through the first data interface, and the web side and the data storage server perform data communication through the second data interface, the implementation process that the data storage server sends a data acquisition response to the sending side of the data acquisition request based on the data acquisition request may include at least one of the following:
when the client is a transmitting end, the data storage server adopts a first data interface to convert the data indicated by the display instruction into client data used by the client, and transmits a data acquisition response carrying the converted client data to the client for data display on the client.
When the webpage end is the transmitting end, the data storage server adopts a second data interface to convert the data indicated by the display instruction into webpage end data used by the webpage end, and transmits a data acquisition response carrying the converted webpage end data to the webpage end for data display on the webpage end.
In step 706, the client and the sending end in the web page end display the data carried in the data acquisition response based on the data acquisition response.
Because the principle of data display between the client and the webpage is different, after the client and the webpage acquire the data indicated by the display instruction, the acquired data can be transformed according to the display principle of the client and the webpage so as to obtain the data which can be displayed. For example, after the web page end obtains the data, the data may be converted into a form of an experimental block diagram to present the experimental block diagram in the web page end.
In summary, in the data display system provided by the embodiment of the invention, the data is stored in the data storage server, and the client and the webpage end share the data stored in the data storage server, so that compared with the related art, the client and the webpage end can share the data, the same data can be displayed in the client and the webpage end, the platform conversion between the client and the webpage end is realized, and the flexibility of the platform is improved.
And moreover, users with different use requirements can execute related operations in the corresponding platforms according to the respective requirements, so that the usability of each platform is improved. For example, different users can edit tasks in the client and the webpage end respectively. Or, the operation result generated in the client is conveniently and rapidly counted by utilizing the counting function of the webpage end, so that the difficulty of data counting in the client is reduced. Or, batch operation is performed on the tasks created in the webpage end by utilizing the advantages of batch operation in the client. Or, the experimental function can be conveniently searched through the experimental task list in the webpage end, so that the complexity of searching through the client is reduced.
Meanwhile, the data sharing between the client and the webpage end enables users at different positions to display the framework of the algorithm through the webpage end when communicating the algorithm scheme, so that the users at different positions can conveniently and quickly know the algorithm, the communication difficulty can be reduced, and the communication cost is reduced.
It should be noted that, the sequence of the steps of the data display method provided in the embodiment of the present invention may be appropriately adjusted, the steps may also be increased or decreased according to the situation, and any method that is easily conceivable to be changed by those skilled in the art within the technical scope of the present disclosure should be covered within the protection scope of the present disclosure, so that no further description is provided.
It will be clear to those skilled in the art that, for convenience and brevity of description, reference may be made to the corresponding process in the foregoing system embodiment for the specific working process of the above-described method, which is not repeated here.
The embodiment of the invention also provides a server, which comprises a processor and a memory, wherein at least one instruction, at least one section of program, a code set or an instruction set is stored in the memory, and the at least one instruction, the at least one section of program, the code set or the instruction set is loaded and executed by the processor to realize the function of any server in the data display system provided by the embodiment of the invention.
Fig. 8 is a schematic structural diagram of a server according to an embodiment of the present invention. The server 800 includes a Central Processing Unit (CPU) 801, a system memory 804 including a Random Access Memory (RAM) 802 and a Read Only Memory (ROM) 803, and a system bus 805 connecting the system memory 804 and the central processing unit 801. The server 800 also includes a basic input/output system (I/O system) 806 for facilitating the transfer of information between various devices within the computer, and a mass storage device 807 for storing an operating system 813, application programs 814, and other program modules 815.
The basic input/output system 806 includes a display 808 for displaying information and an input device 809, such as a mouse, keyboard, or the like, for user input of information. Wherein both the display 808 and the input device 809 are connected to the central processing unit 801 via an input output controller 810 connected to the system bus 805. The basic input/output system 806 may also include an input/output controller 810 for receiving and processing input from a number of other devices, such as a keyboard, mouse, or electronic stylus. Similarly, the input output controller 810 also provides output to a display screen, a printer, or other type of output device.
The mass storage device 807 is connected to the central processing unit 801 through a mass storage controller (not shown) connected to the system bus 805. The mass storage device 807 and its associated computer-readable media provide non-volatile storage for the server 800. That is, the mass storage device 807 may include a computer readable medium (not shown) such as a hard disk or CD-ROM drive.
Computer readable media may include computer storage media and communication media without loss of generality. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media includes RAM, ROM, EPROM, EEPROM, flash memory or other solid state memory technology, CD-ROM, DVD or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices. Of course, those skilled in the art will recognize that computer storage media are not limited to the ones described above. The system memory 804 and mass storage device 807 described above may be collectively referred to as memory.
According to various embodiments of the invention, server 800 may also operate by a remote computer connected to the network through a network, such as the Internet. I.e., server 800 may be connected to a network 812 through a network interface unit 811 connected to the system bus 805, or may be connected to other types of networks or remote computer systems (not shown) using the network interface unit 811.
The memory also includes one or more programs, one or more programs being stored in the memory, and the central processor 801 implements the functions of the server in which the central processor 801 resides by executing the one or more programs.
The embodiment of the invention also provides a terminal, and fig. 9 shows a block diagram of a terminal 900 provided by an exemplary embodiment of the invention. The terminal 900 may be a portable mobile terminal such as: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, motion picture expert compression standard audio plane 3), an MP4 (Moving Picture Experts Group Audio Layer IV, motion picture expert compression standard audio plane 4) player, a notebook computer, or a desktop computer. Terminal 900 may also be referred to by other names of user devices, portable terminals, laptop terminals, desktop terminals, etc.
In general, the terminal 900 includes: a processor 901 and a memory 902.
Processor 901 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 901 may be implemented in at least one hardware form of DSP (Digital Signal Processing ), FPGA (Field-Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array ). The processor 901 may also include a main processor, which is a processor for processing data in an awake state, also called a CPU (Central Processing Unit ), and a coprocessor. A coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 901 may integrate a GPU (Graphics Processing Unit, image processor) for rendering and drawing of content required to be displayed by the display screen. In some embodiments, the processor 901 may also include an AI (Artificial Intelligence ) processor for processing computing operations related to machine learning.
The memory 902 may include one or more computer-readable storage media, which may be non-transitory. The memory 902 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 902 is used to store at least one instruction for execution by processor 901 to implement the data presentation methods provided by the method embodiments herein.
In some embodiments, the terminal 900 may further optionally include: a peripheral interface 903, and at least one peripheral. The processor 901, memory 902, and peripheral interface 903 may be connected by a bus or signal line. The individual peripheral devices may be connected to the peripheral device interface 903 via buses, signal lines, or circuit boards. Specifically, the peripheral device includes: radio frequency circuitry 904, a display 905, and the like.
The peripheral interface 903 may be used to connect at least one peripheral device associated with an I/O (Input/Output) to the processor 901 and the memory 902. In some embodiments, the processor 901, memory 902, and peripheral interface 903 are integrated on the same chip or circuit board. In some other embodiments, either or both of the processor 901, the memory 902, and the peripheral interface 903 may be implemented on separate chips or circuit boards, which is not limited in this embodiment.
The Radio Frequency circuit 904 is configured to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 904 communicates with a communication network and other communication devices via electromagnetic signals. The radio frequency circuit 904 converts an electrical signal into an electromagnetic signal for transmission, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 904 includes: antenna systems, RF transceivers, one or more amplifiers, tuners, oscillators, digital signal processors, codec chipsets, subscriber identity module cards, and so forth. The radio frequency circuit 904 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: the world wide web, metropolitan area networks, intranets, generation mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and/or WiFi (Wireless Fidelity ) networks. In some embodiments, the radio frequency circuit 904 may also include NFC (Near Field Communication ) related circuits, which are not limited in this application.
The display 905 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display 905 is a touch display, the display 905 also has the ability to capture touch signals at or above the surface of the display 905. The touch signal may be input as a control signal to the processor 901 for processing. At this time, the display 905 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display 905 may be one, providing a front panel of the terminal 900. In other embodiments, the display 905 may be at least two, respectively disposed on different surfaces of the terminal 900 or in a folded design. In still other embodiments, the display 905 may be a flexible display disposed on a curved surface or a folded surface of the terminal 900. Even more, the display 905 may be arranged in an irregular pattern other than rectangular, i.e., a shaped screen. The display 905 may be an LCD (Liquid Crystal Display, liquid crystal display array) display or an OLED (Organic Light-Emitting Diode) display.
The embodiment of the invention also provides a computer readable storage medium, which is a non-volatile storage medium, and at least one instruction, at least one section of program, code set or instruction set is stored in the storage medium, and the at least one instruction, the at least one section of program, the code set or instruction set is loaded and executed by a processor to realize the functions of any server in the data presentation system provided by the embodiment of the invention. The storage medium may be, among other things, ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
In the embodiment of the present invention, the relationship qualifier "and/or" indicates three logical relationships, and a and/or B indicates that a alone, B alone, and both a and B exist.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program for instructing relevant hardware, where the program may be stored in a computer readable storage medium, and the storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The foregoing description of the preferred embodiments of the present application is not intended to limit the invention to the particular embodiments of the present application, but to limit the scope of the invention to the particular embodiments of the present application.

Claims (11)

1. A data presentation system, the system comprising: the system comprises a data storage server, a client and a webpage end;
the client and the web page end are used for sending a data acquisition request to the data storage server as a sending end when receiving a display instruction, wherein the data acquisition request is used for requesting to acquire data indicated by the display instruction, the client and the web page end share the data stored in the same storage address of the data storage server, the same storage address is used for storing operation data generated when a machine learning platform on the client performs an operation on a task and operation data generated when the machine learning platform on the web page end performs the operation on the task, and the operation mechanism of the machine learning platform operating in the client is different from that of the machine learning platform operating in the web page end;
The data storage server is used for sending a data acquisition response to a sending end of the data acquisition request based on the data acquisition request;
the client and the sending end in the webpage end are used for displaying data carried in the data acquisition response based on the data acquisition response, the data carried in the data acquisition response is the latest data stored in the same storage address, and the latest data is uploaded by any one of the client and the webpage end.
2. The system of claim 1, wherein the system further comprises a controller configured to control the controller,
the client side and the data storage server are in data communication through a first data interface, and data in the data storage server are converted into client side data used by the client side through the first data interface so as to be used for data display on the client side;
and/or the webpage end and the data storage server are in data communication through a second data interface, and data in the data storage server are converted into webpage end data used by the webpage end after passing through the second data interface so as to be used for data display on the webpage end.
3. The system according to claim 1 or 2, wherein,
and the client and the webpage end are used for executing the operation indicated by the operation instruction after receiving the operation instruction, and transmitting the operation data generated in the execution process of the operation to the data storage server so that the data storage server stores the operation data.
4. The system of claim 3, wherein the system further comprises a controller configured to control the controller,
the client side and the data storage server are in data communication through a first data interface, and operation data generated in the client side are converted into data in a reference data format through the first data interface so as to be stored in the data storage server;
and/or the webpage end and the data storage server are in data communication through a second data interface, and operation data generated in the webpage end are converted into data in the reference data format through the second data interface so as to be stored in the data storage server.
5. The system of claim 3, wherein the system further comprises a controller configured to control the controller,
the operating instructions are at least for instructing one or more of the following operations to be performed: creating a task, editing the task, and running the task.
6. The system of claim 5, wherein the operation instruction carries a task identifier of a task to be operated, and the operation data generated based on the operation instruction carries the task identifier, and when the first operation data sent by the client and the second operation data sent by the web page end carry the same task identifier, the first operation data and the second operation data are stored in the same storage address.
7. A data presentation method, the method being applied to a data presentation system, the system comprising: the method comprises the steps of:
when receiving a presentation instruction, any one of the client and the web page end sends a data acquisition request to the data storage server, wherein the data acquisition request is used for requesting to acquire data indicated by the presentation instruction, and the client and the web page end share the data stored in the same storage address of the data storage server, and the same storage address is used for storing operation data generated when a task is executed in a machine learning platform on the client and operation data generated when the task is executed in the machine learning platform in the web page end, wherein the operation mechanism of the machine learning platform operated in the client is different from the operation mechanism of the machine learning platform operated in the web page end;
The data storage server sends a data acquisition response to a sending end of the data acquisition request based on the data acquisition request;
and the client and the sending end in the webpage end display the data carried in the data acquisition response based on the data acquisition response, wherein the data carried in the data acquisition response is the latest data stored in the same storage address, and the latest data is uploaded by any one of the client and the webpage end.
8. The method of claim 7, wherein the client is in data communication with the data storage server via a first data interface, the web page is in data communication with the data storage server via a second data interface, and the data storage server sends a data acquisition response to a sender of the data acquisition request based on the data acquisition request, comprising at least one of:
when the client is the transmitting end, the data storage server adopts the first data interface to convert the data indicated by the display instruction into client data used by the client, and sends a data acquisition response carrying the converted client data to the client for data display on the client;
When the webpage end is the transmitting end, the data storage server adopts the second data interface to convert the data indicated by the display instruction into webpage end data used by the webpage end, and sends a data acquisition response carrying the converted webpage end data to the webpage end for data display on the webpage end.
9. The method according to claim 7 or 8, characterized in that the method further comprises:
after any one of the client and the webpage end receives an operation instruction, executing an operation indicated by the operation instruction in a receiving end of the operation instruction;
the receiving end of the operation instruction sends operation data generated in the execution process of the operation to the data storage server;
the data storage server stores the operation data.
10. The method of claim 9, wherein the operational instructions are at least for instructing to perform one or more of the following: creating a task, editing the task and running the created task, wherein the operation instruction carries a task identifier of the task to be operated, the operation data generated based on the operation instruction carries the task identifier, and the data storage server stores the operation data, and the method comprises the following steps:
When the first operation data sent by the client and the second operation data sent by the webpage end carry the same task identifier, the data storage server stores the first operation data and the second operation data in the same storage address.
11. A computer readable storage medium having stored therein at least one instruction that is loaded and executed by a processor to implement the functionality of any one of the servers in the data presentation system of any one of claims 1-6.
CN201910620756.9A 2019-07-10 2019-07-10 Data display method and system Active CN110309462B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910620756.9A CN110309462B (en) 2019-07-10 2019-07-10 Data display method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910620756.9A CN110309462B (en) 2019-07-10 2019-07-10 Data display method and system

Publications (2)

Publication Number Publication Date
CN110309462A CN110309462A (en) 2019-10-08
CN110309462B true CN110309462B (en) 2023-05-16

Family

ID=68080678

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910620756.9A Active CN110309462B (en) 2019-07-10 2019-07-10 Data display method and system

Country Status (1)

Country Link
CN (1) CN110309462B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112417341B (en) * 2020-12-09 2023-04-28 福建天晴在线互动科技有限公司 Method and system for displaying news data on multiple platforms
CN112559933B (en) * 2020-12-09 2023-04-11 福建天晴在线互动科技有限公司 Method and system for general display of html news data on app client and webpage

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101986652A (en) * 2010-09-27 2011-03-16 北京泰豪智能工程有限公司 Data sharing method and system based on embedded servers as well as client
CN105677680A (en) * 2014-11-20 2016-06-15 国家电网公司 Networked synchronization and conversion method for geographical wiring diagrams
CN108305092A (en) * 2017-01-11 2018-07-20 谷歌有限责任公司 The User Status prediction of information for rendering
US10198399B1 (en) * 2018-03-06 2019-02-05 KenSci Inc. Cryptographically secure machine learning

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8510237B2 (en) * 2011-03-15 2013-08-13 Qualcomm Incorporated Machine learning method to identify independent tasks for parallel layout in web browsers
CN102843437A (en) * 2012-09-17 2012-12-26 北京星网锐捷网络技术有限公司 Conversion method and device for webpage application and network device
US10783565B2 (en) * 2014-10-30 2020-09-22 Ebay Inc. Method, manufacture, and system of transferring authenticated sessions and states between electronic devices
CN106230792A (en) * 2016-07-21 2016-12-14 北京百度网讯科技有限公司 Machine learning method based on mobile office, terminal unit and system
US10769549B2 (en) * 2016-11-21 2020-09-08 Google Llc Management and evaluation of machine-learned models based on locally logged data
CN109993316B (en) * 2016-12-06 2023-08-29 第四范式(北京)技术有限公司 Method and system for executing machine learning process
CN107578107A (en) * 2017-08-08 2018-01-12 阿里巴巴集团控股有限公司 Model training method and device
US10262271B1 (en) * 2018-02-14 2019-04-16 DataTron Technologies Inc. Systems and methods for modeling machine learning and data analytics

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101986652A (en) * 2010-09-27 2011-03-16 北京泰豪智能工程有限公司 Data sharing method and system based on embedded servers as well as client
CN105677680A (en) * 2014-11-20 2016-06-15 国家电网公司 Networked synchronization and conversion method for geographical wiring diagrams
CN108305092A (en) * 2017-01-11 2018-07-20 谷歌有限责任公司 The User Status prediction of information for rendering
US10198399B1 (en) * 2018-03-06 2019-02-05 KenSci Inc. Cryptographically secure machine learning

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
机器学习在网络空间安全研究中的应用;张蕾 等;计算机学报;第41卷(第09期);1943-1975 *

Also Published As

Publication number Publication date
CN110309462A (en) 2019-10-08

Similar Documents

Publication Publication Date Title
CN112257135B (en) Model loading method and device based on multithreading, storage medium and terminal
CN108984064B (en) Split screen display method and device, storage medium and electronic equipment
JP7320016B2 (en) Vehicle call command transmission method, device and electronic device
CN105373534B (en) List display method and device and list display terminal
CN106681817B (en) Terminal control method and terminal
CN110309462B (en) Data display method and system
CN114726906B (en) Device interaction method, device, electronic device and storage medium
CN112347545A (en) Building model processing method and device, computer equipment and storage medium
CN112287256A (en) Page display method, terminal device, cloud server, system and storage medium
CN105359104A (en) Synchronization points for state information
CN110088719B (en) Display method of mobile equipment and mobile equipment
CN111949187B (en) Electronic whiteboard content editing and sharing method, system, equipment and server
CN111766987B (en) Application program management method and device and electronic equipment
CN110517079B (en) Data processing method and device, electronic equipment and storage medium
CN115904514B (en) Method for realizing cloud rendering pixel flow based on three-dimensional scene and terminal equipment
CN113641439B (en) Text recognition and display method, device, electronic equipment and medium
CN112558833B (en) Application running method and device and electronic equipment
CN112559867B (en) Business content output method, device, equipment, storage medium and program product
CN111177558B (en) Channel service construction method and device
CN108549695A (en) Data interactive method, device, terminal device and storage medium
CN110609671B (en) Sound signal enhancement method, device, electronic equipment and storage medium
CN114721785B (en) Configuration method, device, equipment and storage medium of software application library of virtual machine
CN109657179A (en) A kind of method for processing business, system and storage medium
CN105279175B (en) Data transmission method and device
CN108563752A (en) Data interactive method, device, terminal device 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
GR01 Patent grant