CN110324419B - Data processing method and equipment based on cloud service - Google Patents

Data processing method and equipment based on cloud service Download PDF

Info

Publication number
CN110324419B
CN110324419B CN201910586812.1A CN201910586812A CN110324419B CN 110324419 B CN110324419 B CN 110324419B CN 201910586812 A CN201910586812 A CN 201910586812A CN 110324419 B CN110324419 B CN 110324419B
Authority
CN
China
Prior art keywords
cloud server
data
server cluster
cloud
service
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
CN201910586812.1A
Other languages
Chinese (zh)
Other versions
CN110324419A (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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201910586812.1A priority Critical patent/CN110324419B/en
Publication of CN110324419A publication Critical patent/CN110324419A/en
Application granted granted Critical
Publication of CN110324419B publication Critical patent/CN110324419B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a data processing method and equipment based on cloud service. The data processing method based on the cloud service comprises the following steps: the terminal equipment sends a service request message to a first cloud server in the cloud server cluster; the service request message comprises a program code, the program code is used for processing data to be processed, and the data to be processed is stored in the cloud server cluster; and the terminal equipment receives a service response message sent by the first cloud server. The terminal equipment sends the program code for processing the data to the cloud server, so that the data downloading by the user is avoided, the cost for sharing the data by the user is saved, and the security of data sharing is improved.

Description

Data processing method and equipment based on cloud service
Technical Field
The invention relates to the technical field of data processing, in particular to a data processing method and data processing equipment based on cloud service.
Background
With the advent of globalization and the big data era, data resources need to be transmitted, exchanged, shared and processed between different units and different individuals. Sharing of data resources may be accomplished in a variety of ways. For example, publishing data resources on a network, creating a shared platform, etc.
Currently, a user may obtain shared data by downloading.
However, data providers are often reluctant to share data for free to users. The user needs to pay to download the data. This results in a high cost for the user to obtain the data. Moreover, the user can use the data randomly after obtaining the data, and for a data provider, the risk of uncontrollable data use is also caused, and the security of data sharing is reduced.
Disclosure of Invention
The data processing method and device based on the cloud service save the cost of data sharing for users and improve the security of data sharing.
In a first aspect, the present invention provides a data processing method based on cloud services, including:
the terminal equipment sends a service request message to a first cloud server in the cloud server cluster; the service request message comprises a program code, wherein the program code is used for processing data to be processed, and the data to be processed is stored in the cloud server cluster;
and the terminal equipment receives a service response message sent by the first cloud server.
Optionally, in a possible implementation manner of the first aspect, before the terminal device sends the service request message to the first cloud server in the cloud server cluster, the method further includes:
the terminal equipment sends a data query request message to a second cloud server in the cloud server cluster;
the terminal equipment receives data classification information sent by the second cloud server; the data classification information comprises data catalogues respectively corresponding to a plurality of data products stored in the cloud server cluster;
and the terminal equipment displays the data classification information.
Optionally, in a possible implementation manner of the first aspect, the data classification information further includes storage correspondence between the plurality of data products and a cloud server;
if the terminal device determines that the data to be processed is stored on the plurality of cloud servers in the cloud server cluster according to the storage corresponding relation, the terminal device sends a service request message to a first cloud server in the cloud server cluster, and the method includes:
and the terminal equipment sends the service request message to any one of a plurality of cloud servers storing the data to be processed in the cloud server cluster.
Optionally, in a possible implementation manner of the first aspect, the plurality of data products include all data products stored in the cloud server cluster, and the data classification information further includes usage right information corresponding to each of the plurality of data products;
alternatively, the first and second electrodes may be,
the data query request message comprises account information of a user, and the plurality of data products comprise data products which can be used by the user and are determined by the second cloud server according to the account information of the user.
Optionally, in a possible implementation manner of the first aspect, the service response message includes an operation result of the program code.
Optionally, in a possible implementation manner of the first aspect, the service response message includes display tag information; the display tag information is generated by the first cloud server according to the storage address of the operation result of the program code in the cloud server cluster;
the method further comprises the following steps:
the terminal equipment generates and displays a viewing interface according to the display label information;
the terminal equipment receives a viewing instruction input by a user through the viewing interface; the viewing instruction is used for the user to view the operation result of the program code stored in the cloud server cluster.
Optionally, in a possible implementation manner of the first aspect, storage areas respectively corresponding to different data products stored in the cloud server cluster do not have an overlapping area.
In a second aspect, the present invention provides a data processing method based on cloud services, including:
the cloud server receives a service request message sent by the terminal equipment; the service request message comprises a program code, wherein the program code is used for processing data to be processed, and the data to be processed is stored in a cloud server cluster;
the cloud server runs the program code to obtain a running result;
and the cloud server sends a service response message to the terminal equipment.
Optionally, in a possible implementation manner of the second aspect, before the cloud server receives the service request message sent by the terminal device, the method further includes:
the cloud server receives a data query request message sent by the terminal equipment;
the cloud server sends data classification information to the terminal equipment; the data classification information includes data catalogues respectively corresponding to a plurality of data products stored in the cloud server cluster.
Optionally, in a possible implementation manner of the second aspect, the data classification information further includes storage correspondence between the plurality of data products and a cloud server.
Optionally, in a possible implementation manner of the second aspect, the plurality of data products include all data products stored in the cloud server cluster, and the data classification information further includes usage right information corresponding to each of the plurality of data products;
alternatively, the first and second liquid crystal display panels may be,
the data query request message comprises account information of a user, and the plurality of data products comprise data products which are determined by the cloud server according to the account information of the user and can be used by the user.
Optionally, in a possible implementation manner of the second aspect, the service response message includes an operation result of the program code.
Optionally, in a possible implementation manner of the second aspect, before the cloud server sends the service response message to the terminal device, the method further includes:
the cloud server stores the operation result in the cloud server cluster;
the cloud server generates display label information according to the storage address of the operation result in the cloud server cluster;
correspondingly, the service response message includes the display tag information.
Optionally, in a possible implementation manner of the second aspect, the storage areas corresponding to different data products stored in the cloud server cluster do not have an overlapping area.
Optionally, in a possible implementation manner of the second aspect, the running the program code by the cloud server to obtain a running result includes:
acquiring to-be-processed data of the program code stored in the cloud server cluster;
and operating the program code according to the data to be processed to obtain the operation result.
In a third aspect, the present invention provides a terminal device, including:
the first sending module is used for sending a service request message to a first cloud server in the cloud server cluster; the service request message comprises a program code, wherein the program code is used for processing data to be processed, and the data to be processed is stored in the cloud server cluster;
the first receiving module is used for receiving the service response message sent by the first cloud server.
Optionally, in a possible implementation manner of the third aspect, the method further includes:
the second sending module is used for sending a data query request message to a second cloud server in the cloud server cluster;
the second receiving module is used for receiving the data classification information sent by the second cloud server; the data classification information comprises data catalogues respectively corresponding to a plurality of data products stored in the cloud server cluster;
and the display module is used for displaying the data classification information.
Optionally, in a possible implementation manner of the third aspect, the data classification information further includes storage correspondences between the plurality of data products and a cloud server;
if the processing module determines that the data to be processed is stored on the plurality of cloud servers in the cloud server cluster according to the storage correspondence, the first sending module is specifically configured to:
and sending the service request message to any one of a plurality of cloud servers storing the to-be-processed data in the cloud server cluster.
Optionally, in a possible implementation manner of the third aspect, the plurality of data products include all data products stored in the cloud server cluster, and the data classification information further includes usage right information corresponding to each of the plurality of data products;
alternatively, the first and second electrodes may be,
the data query request message comprises account information of a user, and the plurality of data products comprise data products which are determined by the second cloud server according to the account information of the user and can be used by the user.
Optionally, in a possible implementation manner of the third aspect, the service response message includes an operation result of the program code.
Optionally, in a possible implementation manner of the third aspect, the service response message includes display tag information; the display tag information is generated by the first cloud server according to the storage address of the operation result of the program code in the cloud server cluster;
further comprising:
the processing module is used for generating and displaying a viewing interface according to the display label information;
the third receiving module is used for receiving a viewing instruction input by a user through the viewing interface; the viewing instruction is used for the user to view the operation result of the program code stored in the cloud server cluster.
Optionally, in a possible implementation manner of the third aspect, there is no overlapping area in the storage areas corresponding to different data products stored in the cloud server cluster.
In a fourth aspect, the present invention provides a cloud server, including:
the first receiving module is used for receiving a service request message sent by the terminal equipment; the service request message comprises a program code, wherein the program code is used for processing data to be processed, and the data to be processed is stored in a cloud server cluster;
the processing module is used for operating the program codes to obtain an operating result;
and the first sending module is used for sending the service response message to the terminal equipment.
Optionally, in a possible implementation manner of the fourth aspect, the method further includes:
a second receiving module, configured to receive a data query request message sent by the terminal device;
the second sending module is used for sending data classification information to the terminal equipment; the data classification information includes data catalogues respectively corresponding to a plurality of data products stored in the cloud server cluster.
Optionally, in a possible implementation manner of the fourth aspect, the data classification information further includes storage correspondence between the plurality of data products and a cloud server.
Optionally, in a possible implementation manner of the fourth aspect, the plurality of data products include all data products stored in the cloud server cluster, and the data classification information further includes usage right information corresponding to each of the plurality of data products;
alternatively, the first and second electrodes may be,
the data query request message comprises account information of a user, and the plurality of data products comprise data products which are determined by the processing module according to the account information of the user and can be used by the user.
Optionally, in a possible implementation manner of the fourth aspect, the service response message includes an operation result of the program code.
Optionally, in a possible implementation manner of the fourth aspect, the apparatus further includes a storage module;
the storage module is used for storing the operation result in the cloud server cluster;
the processing module is further used for generating display label information according to the storage address of the operation result in the cloud server cluster;
correspondingly, the service response message includes the display tag information.
Optionally, in a possible implementation manner of the fourth aspect, the storage areas corresponding to different data products stored in the cloud server cluster do not have an overlapping area.
Optionally, in a possible implementation manner of the fourth aspect, the processing module is specifically configured to:
acquiring to-be-processed data of the program code stored in the cloud server cluster;
and running the program code according to the data to be processed to obtain the running result.
In a fifth aspect, the present invention provides a terminal device, including: a memory, a processor, and a transceiver;
the transceiver is used for communicating with other equipment;
the memory to store program instructions;
the processor is configured to call the program instructions stored in the memory to implement the data processing method based on the cloud service provided in any implementation manner of the first aspect of the present invention.
In a sixth aspect, the present invention provides a cloud server, including: a memory, a processor, and a transceiver;
the transceiver is used for communicating with other equipment;
the memory to store program instructions;
the processor is configured to call the program instructions stored in the memory to implement the data processing method based on the cloud service provided in any implementation manner of the second aspect of the present invention.
In a seventh aspect, the present invention provides a storage medium comprising: the computer program is used for implementing the data processing method based on the cloud service provided by any one of the first aspect or the second aspect of the invention.
The invention provides a data processing method and equipment based on cloud service. The data downloading by the user to the local is avoided, and the cost of sharing the data by the user is saved. Moreover, the data processing is controllable, and the data sharing safety is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is an architecture diagram of a cloud services-based data processing system to which the present invention is applicable;
fig. 2 is a message interaction diagram of a data processing method based on cloud services according to an embodiment of the present invention;
fig. 3 is a message interaction diagram of a data processing method based on cloud services according to a second embodiment of the present invention;
fig. 4 is a schematic structural diagram of a terminal device according to a first embodiment of the present invention;
fig. 5 is a schematic structural diagram of a cloud server according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a terminal device according to a second embodiment of the present invention;
fig. 7 is a schematic structural diagram of a cloud server according to a second embodiment of the present invention.
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. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is an architecture diagram of a cloud service-based data processing system to which the present invention is applicable. As shown in fig. 1, a cloud service-based data processing system may include a terminal device and a cloud server cluster 200. Cloud server cluster 200 may include a plurality of cloud servers. The plurality of cloud servers can communicate with each other. The number of the terminal devices and the number of the cloud servers are not limited. For example, cloud server cluster 200 may include only 1 cloud server. For example, in fig. 1, the cloud server cluster 200 may include 3 cloud servers, specifically, a cloud server 201, a cloud server 202, and a cloud server 203. Illustratively, the cloud server 201 and the cloud server 202 may communicate with each other. The cloud server 201 may obtain data stored on the cloud server 202, and the cloud server 202 may also obtain data stored on the cloud server 201.
In the data processing system based on the cloud service, communication can be carried out between the terminal device and the cloud server. For example, in fig. 1, the terminal device 100 may communicate with a cloud server 201 and a cloud server 203.
It should be noted that the implementation manner of the terminal device is not limited in the present invention. For example, the terminal device may be a computer, a smart terminal, a tablet computer, and the like.
Fig. 2 is a message interaction diagram of a data processing method based on cloud services according to an embodiment of the present invention. In the data processing method based on the cloud service provided by this embodiment, the execution subject may include a terminal device and a cloud server. As shown in fig. 2, the data processing method based on cloud service provided in this embodiment may include:
s201, the terminal device sends a service request message to a first cloud server in the cloud server cluster.
The service request message comprises a program code, the program code is used for processing data to be processed, and the data to be processed is stored in the cloud server cluster.
Correspondingly, the first cloud server receives a service request message sent by the terminal device.
S202, the first cloud server runs the program codes to obtain a running result.
S203, the first cloud server sends a service response message to the terminal device.
Correspondingly, the terminal device receives the service response message sent by the first cloud server.
Specifically, the first cloud server may be any one cloud server in a cloud server cluster. In this embodiment, in order to distinguish different cloud servers, the cloud server that the terminal device sends the service request message is referred to as a first cloud server. When a user needs to share and use data stored in the cloud server cluster, a service request message is sent to the first cloud server through the terminal device, wherein the service request message comprises program codes. The data to be processed for which the program code is intended is stored in a cloud server cluster. In this way, after receiving the service request message, the first cloud server may execute the program code therein, thereby implementing processing on the data to be processed stored in the cloud server cluster and obtaining the operation result.
As can be seen, according to the data processing method based on the cloud service provided in this embodiment, when a user needs to share and use data stored in the cloud server cluster, the terminal device may send a program code for processing the shared data to the cloud server. The cloud server executes the program code to obtain an operation result in a mode of providing cloud service for the user. For the user, the user does not need to download the data to the local, so that the cost of downloading and sharing the data by the user is saved. For a data provider, data are stored in the cloud server cluster, and a user can control the processing of the data, so that the security of data sharing is improved.
It should be noted that, in this embodiment, specific data stored in the cloud server cluster is not limited, and may be different according to different application fields.
Optionally, the cloud server cluster stores data of at least one data product. The data product refers to a product form which can exert data value to assist users in making decisions and even actions better. In this embodiment, the classification of the data product and the storage mode of the data product in the cloud server cluster are not limited. Alternatively, one cloud server may store data of a plurality of data products. Optionally, data of the same data product may be stored in blocks on different cloud servers.
Optionally, the storage areas corresponding to different data products stored in the cloud server cluster do not have an overlapping area.
By storing the data of different data products in a cloud server cluster in an isolated manner, the safety of data storage and sharing is further improved.
The following describes data stored in a cloud server cluster, taking the field of unmanned vehicles as an example.
For unmanned vehicles, the data product may include: sensor data on the vehicle, physical parameter data of the vehicle itself, vehicle travel data, data relating to the unmanned vehicle, etc.
The sensor data on the vehicle may include data detected by a camera, radar, infrared sensor, ultrasonic sensor, etc. provided on the vehicle.
The physical parameter data of the vehicle itself may include battery consumption data, engine data, brake data, steering wheel data, etc.
The vehicle travel data may include speed data, acceleration data, attitude data, and the like.
Data associated with the unmanned vehicle may include map data, signal light data, base station data communicated with the vehicle, and the like.
It should be noted that, in this embodiment, how the program code processes the data to be processed is not limited. For example, machine learning, deep learning, simulation analysis, simulation modeling, regression analysis, and the like may be performed based on the data to be processed.
It should be noted that, in this embodiment, a manner of implementing the cloud service between the terminal device and the cloud server is not limited. For example, the user may pre-register account information. After a user logs in the terminal equipment by using the account information, cloud service is provided for the user through interactive information between the terminal equipment and the cloud server. The cloud service is to put software and hardware resources, data, and the like on a network, and achieve the purposes of data access, operation, and the like by using different communication devices to be connected with each other at any time and place. Optionally, the account information of the user may include access authority information of the user on data stored in the cloud server cluster. The access authority of the user to the data is different, and the data range which can be viewed and used by the user can be different.
Optionally, in S202, the running of the program code by the first cloud server to obtain the running result may include:
and acquiring to-be-processed data of the program codes stored in the cloud server cluster.
And running the program code according to the data to be processed to obtain a running result.
Specifically, the to-be-processed data of the program code may be stored in different cloud servers in the cloud server cluster, and therefore, the to-be-processed data stored in the cloud server cluster is first obtained according to the program code. And then, executing the program codes according to the data to be processed to obtain an operation result.
Optionally, in an implementation manner, the program code may include a storage address of the to-be-processed data in the cloud server cluster. Correspondingly, acquiring to-be-processed data of the program code stored in the cloud server cluster may include: and acquiring the data to be processed stored in the cloud server cluster according to the storage address of the data to be processed in the cloud server cluster.
Optionally, in another implementation manner, the program code may include identification information corresponding to the data to be processed. The cloud server may pre-store a correspondence between the identification information and the data storage address. The data storage address is a storage address of data corresponding to the identification information in the cloud server cluster. Correspondingly, acquiring to-be-processed data of program codes stored in the cloud server cluster may include:
and obtaining the storage address of the data to be processed in the cloud server cluster according to the identification information corresponding to the data to be processed and the corresponding relation between the identification information and the data storage address.
And acquiring the data to be processed stored in the cloud server cluster according to the storage address of the data to be processed in the cloud server cluster.
Optionally, in an implementation manner, the service response message in S203 may include an operation result of the program code.
In this implementation, the first cloud server transmits the operation result of the program code to the terminal device. Therefore, the user can obtain the result of processing the to-be-processed data stored in the cloud server cluster.
Optionally, in another implementation manner, before S203, the method may further include:
the first cloud server stores the operation result in the cloud server cluster.
And the first cloud server generates display label information according to the storage address of the operation result in the cloud server cluster.
Accordingly, in S203, the service response message includes the display tag information.
After S203, the method may further include:
and the terminal equipment generates and displays a viewing interface according to the display label information.
The terminal equipment receives a viewing instruction input by a user through a viewing interface. The viewing instruction is used for a user to view an operation result of the program codes stored in the cloud server cluster.
Specifically, in this implementation, the first cloud server stores the execution result of the program code in a cloud server cluster. It should be noted that, in this embodiment, the storage location of the operation result in the cloud server cluster is not limited. For example, the first cloud server may store the operation result on the first cloud server, and may also store the operation result on another cloud server. And the first cloud server generates display tag information according to the storage address of the operation result in the cloud server cluster, and sends the display tag information to the terminal equipment. The display tag information is used for displaying the operation result of the program code on the terminal device. After the terminal device receives the display tag information, the terminal device can generate and display a viewing interface according to the display tag information. It should be noted that, in this embodiment, the display information included in the display interface and the layout of the display interface are not limited. For example, a "show" button may be included on the display interface. For another example, when there are a plurality of items as a result of execution of the program code, each item corresponds to a "display" button. Therefore, the terminal equipment can receive the viewing instruction input by the user through the viewing interface. Subsequently, the terminal device can send the viewing instruction to the first cloud server, so that the user can directly view the operation result of the program code stored in the cloud server cluster.
The embodiment provides a data processing method based on cloud service, which comprises the following steps: the terminal equipment sends a service request message to a first cloud server in the cloud server cluster. The service request message comprises a program code, the program code is used for processing data to be processed, and the data to be processed is stored in the cloud server cluster. And the first cloud server runs the program code to obtain a running result. And the first cloud server sends a service response message to the terminal equipment. According to the data processing method based on the cloud service, the terminal device sends the program code for processing the data to the cloud server, and the cloud server executes the program code to obtain the operation result in a manner of providing the cloud service for the user. The data downloading by the user to the local is avoided, and the cost of sharing the data by the user is saved. Moreover, the data processing is controllable, and the data sharing safety is improved.
Fig. 3 is a message interaction diagram of a data processing method based on cloud services according to a second embodiment of the present invention. The embodiment provides another implementation manner of the data processing method based on the cloud service on the basis of the embodiment shown in fig. 2. As shown in fig. 3, before S201, the cloud service-based data processing method provided in this embodiment may further include:
s301, the terminal device sends a data query request message to a second cloud server in the cloud server cluster.
Correspondingly, the second cloud server receives the data query request message sent by the terminal device.
S302, the second cloud server sends data classification information to the terminal equipment.
The data classification information comprises data catalogues respectively corresponding to a plurality of data products stored in the cloud server cluster.
Correspondingly, the terminal equipment receives the data classification information sent by the second cloud server.
And S303, displaying the data classification information by the terminal equipment.
Specifically, the second cloud server may be any one cloud server in the cloud server cluster. In this embodiment, in order to distinguish different cloud servers, the cloud server that the terminal device sends the data query request message is referred to as a second cloud server.
The terminal equipment sends the data query request message to the second cloud server, so that the user can know which data are stored in the cloud server cluster, and further determine the data which need to be shared and used. And the data sharing efficiency is improved.
The second cloud server may be the same as or different from the first cloud server.
It should be noted that, in this embodiment, the implementation manner of the data catalog corresponding to each data product is not limited. For example, the data catalog may include at least one of a storage name and identification information of data of the data product in the cloud server cluster. Wherein the identification information can uniquely distinguish different data.
Optionally, the data classification information may further include storage correspondence between a plurality of data products and the cloud server.
If the terminal device determines that the data to be processed is stored in the plurality of cloud servers in the cloud server cluster according to the storage correspondence, in S201, the terminal device sends a service request message to a first cloud server in the cloud server cluster, which may include:
the terminal device sends a service request message to any one of a plurality of cloud servers storing data to be processed in the cloud server cluster.
The implementation mode is applied to a scene that the to-be-processed data of the program codes are stored on a plurality of cloud servers. Optionally, the storage correspondence between the plurality of data products and the cloud server may include storage addresses of data of the data products in the cloud server cluster.
Next, a plurality of data products included in the data classification information in S302 will be described.
Optionally, in an implementation manner, the plurality of data products may include all data products stored in the cloud server cluster, and the data classification information further includes usage right information corresponding to each of the plurality of data products.
In this implementation manner, a user may determine which data may be shared and used in the data stored in the cloud server cluster according to the usage right information corresponding to each of the plurality of data products.
Optionally, in another implementation manner, the data query request message may include account information of the user, and the plurality of data products include data products that are determined by the second cloud server according to the account information of the user and are usable by the user.
In this implementation manner, when the terminal device sends the data query request message, the account information of the user may be sent to the cloud server. The account information of the user may include access authority information of the user to data stored in the cloud server cluster. Therefore, the second cloud server can determine which data products can be used by the user according to the account information of the user. And the second cloud server sends the data catalog corresponding to the data product which can be shared and used by the user to the terminal equipment through the data classification information. The safety of data sharing is further improved.
The embodiment provides a data processing method based on cloud services, wherein a terminal device sends a data query request message to a second cloud server, so that a user can know which data stored in a cloud server cluster are, and further determine the data which needs to be shared and used. And the data sharing efficiency is improved.
Fig. 4 is a schematic structural diagram of a terminal device according to a first embodiment of the present invention. The terminal device provided in this embodiment is configured to perform the operations performed by the terminal device in the embodiments shown in fig. 2 to fig. 3. As shown in fig. 4, the terminal device provided in this embodiment may include:
a first sending module 41, configured to send a service request message to a first cloud server in the cloud server cluster. The service request message comprises program codes, the program codes are used for processing data to be processed, and the data to be processed is stored in the cloud server cluster.
The first receiving module 42 is configured to receive the service response message sent by the first cloud server.
Optionally, the method further includes:
a second sending module 43, configured to send the data query request message to a second cloud server in the cloud server cluster.
The second receiving module 44 is configured to receive the data classification information sent by the second cloud server. The data classification information includes data catalogues respectively corresponding to a plurality of data products stored in the cloud server cluster.
And a display module 46 for displaying the data classification information.
Optionally, the data classification information further includes a storage correspondence between the plurality of data products and the cloud server.
If the processing module 45 determines that the data to be processed is stored in the plurality of cloud servers in the cloud server cluster according to the storage correspondence, the first sending module 41 is specifically configured to:
and sending the service request message to any one of the cloud servers storing the data to be processed in the cloud server cluster.
Optionally, the plurality of data products include all data products stored in the cloud server cluster, and the data classification information further includes usage right information corresponding to each of the plurality of data products.
Alternatively, the first and second electrodes may be,
the data query request message comprises account information of the user, and the plurality of data products comprise data products which are determined by the second cloud server according to the account information of the user and can be used by the user.
Optionally, the service response message includes a result of the execution of the program code.
Optionally, the service response message includes display tag information. And displaying the label information generated by the first cloud server according to the storage address of the operation result of the program code in the cloud server cluster.
Further comprising:
and the processing module 45 is configured to generate and display a viewing interface according to the display tag information.
And the third receiving module 47 is configured to receive a viewing instruction input by a user through the viewing interface. The viewing instruction is used for the user to view the operation result of the program codes stored in the cloud server cluster.
Optionally, the storage areas corresponding to different data products stored in the cloud server cluster do not have an overlapping area.
The terminal device provided in this embodiment is configured to perform the operations performed by the terminal device in the embodiments shown in fig. 2 to fig. 3. The technical principle and the technical effect are similar, and the detailed description is omitted here.
Fig. 5 is a schematic structural diagram of a cloud server according to an embodiment of the present invention. The cloud server provided in this embodiment is configured to execute operations executed by the cloud server in the embodiments shown in fig. 2 to fig. 3. As shown in fig. 5, the cloud server provided in this embodiment may include:
a first receiving module 51, configured to receive a service request message sent by a terminal device. The service request message comprises program codes, the program codes are used for processing data to be processed, and the data to be processed is stored in the cloud server cluster.
And the processing module 55 is used for operating the program codes to obtain an operation result.
A first sending module 52, configured to send a service response message to the terminal device.
Optionally, the method further includes:
the second receiving module 53 is configured to receive a data query request message sent by the terminal device.
And a second sending module 54, configured to send the data classification information to the terminal device. The data classification information includes data catalogues respectively corresponding to a plurality of data products stored in the cloud server cluster.
Optionally, the data classification information further includes a storage correspondence between the plurality of data products and the cloud server.
Optionally, the plurality of data products include all data products stored in the cloud server cluster, and the data classification information further includes usage right information corresponding to each of the plurality of data products.
Alternatively, the first and second electrodes may be,
the data query request message includes account information of the user, and the plurality of data products include data products that are usable by the user and determined by the processing module 55 according to the account information of the user.
Optionally, the service response message includes a result of the execution of the program code.
Optionally, a memory module 56 is also included.
And a storage module 56, configured to store the operation result in the cloud server cluster.
The processing module 55 is further configured to generate display tag information according to the storage address of the operation result in the cloud server cluster.
Accordingly, the service response message includes display tag information.
Optionally, the storage areas corresponding to different data products stored in the cloud server cluster do not have an overlapping area.
Optionally, the processing module 55 is specifically configured to:
and acquiring to-be-processed data of the program codes stored in the cloud server cluster.
And running the program code according to the data to be processed to obtain a running result.
The cloud server provided in this embodiment is configured to execute operations executed by the cloud server in the embodiments shown in fig. 2 to fig. 3. The technical principle and the technical effect are similar, and the detailed description is omitted here.
Fig. 6 is a schematic structural diagram of a terminal device according to a second embodiment of the present invention. As shown in fig. 6, the terminal device may include a processor 61, a memory 62, and a transceiver 63. The transceiver 63 is used for communication with other devices. The memory 62 is configured to store instructions, and the processor 61 is configured to execute the instructions stored in the memory 62, so that the terminal device executes the operations executed by the terminal device in the embodiments shown in fig. 2 to fig. 3.
Fig. 7 is a schematic structural diagram of a cloud server according to a second embodiment of the present invention. As shown in fig. 7, the cloud server may include a processor 71, a memory 72, and a transceiver 73. The transceiver 73 is used to communicate with other devices. The memory 72 is configured to store instructions, and the processor 71 is configured to execute the instructions stored in the memory 72, so that the cloud server executes operations executed by the cloud server in the embodiments shown in fig. 2 to fig. 3, where specific implementation manners and technical effects are similar, and are not described herein again.
It is to be noted that all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
It should be noted that, in some embodiments of the present invention, features in examples and examples may be combined with each other without conflict.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the embodiments of the present invention, and are not limited thereto; although embodiments of the present invention have been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (15)

1. A data processing method based on cloud service is characterized by comprising the following steps:
the terminal equipment sends a data query request message to a second cloud server in the cloud server cluster;
the terminal equipment receives data classification information sent by the second cloud server; the data classification information comprises data catalogues respectively corresponding to a plurality of data products stored in the cloud server cluster;
the terminal equipment displays the data classification information;
the terminal equipment sends a service request message to a first cloud server in the cloud server cluster, so that the first cloud server executes a program code in the service request message after receiving the service request message, and processes to-be-processed data stored in the cloud server cluster to obtain an operation result;
and the terminal equipment receives a service response message sent by the first cloud server.
2. The method of claim 1, wherein the data classification information further comprises storage correspondence between the plurality of data products and a cloud server;
if the terminal device determines that the data to be processed is stored on the plurality of cloud servers in the cloud server cluster according to the storage corresponding relation, the terminal device sends a service request message to a first cloud server in the cloud server cluster, and the method includes:
and the terminal equipment sends the service request message to any one of the cloud servers storing the data to be processed in the cloud server cluster.
3. The method according to claim 1, wherein the plurality of data products include all data products stored in the cloud server cluster, and the data classification information further includes usage right information corresponding to each of the plurality of data products;
alternatively, the first and second electrodes may be,
the data query request message comprises account information of a user, and the plurality of data products comprise data products which are determined by the second cloud server according to the account information of the user and can be used by the user.
4. A method according to any of claims 1-3, characterized in that the service response message comprises the result of the execution of the program code.
5. The method according to any of claims 1-3, wherein the service response message comprises display tag information; the display tag information is generated by the first cloud server according to the storage address of the operation result of the program code in the cloud server cluster;
the method further comprises the following steps:
the terminal equipment generates and displays a viewing interface according to the display label information;
the terminal equipment receives a viewing instruction input by a user through the viewing interface; the viewing instruction is used for the user to view the operation result of the program code stored in the cloud server cluster.
6. The method according to any one of claims 1 to 3, wherein the storage areas corresponding to the different data products stored in the cloud server cluster do not have overlapping areas.
7. A data processing method based on cloud service is characterized by comprising the following steps:
the method comprises the steps that a cloud server receives a data query request message sent by terminal equipment;
the cloud server sends data classification information to the terminal equipment; the data classification information comprises data catalogues respectively corresponding to a plurality of data products stored in the cloud server cluster;
the cloud server receives a service request message sent by the terminal equipment;
the cloud server executes the program code in the service request message, processes the data to be processed stored in the cloud server cluster and obtains an operation result;
and the cloud server sends a service response message to the terminal equipment.
8. The method of claim 7, wherein the data classification information further comprises storage correspondence between the plurality of data products and a cloud server.
9. The method according to claim 7, wherein the plurality of data products include all data products stored in the cloud server cluster, and the data classification information further includes usage right information corresponding to each of the plurality of data products;
alternatively, the first and second liquid crystal display panels may be,
the data query request message comprises account information of a user, and the plurality of data products comprise data products which are determined by the cloud server according to the account information of the user and can be used by the user.
10. The method according to any of claims 7-9, wherein the service response message comprises a result of the execution of the program code.
11. The method according to any one of claims 7 to 9, wherein before the cloud server sends the service response message to the terminal device, the method further comprises:
the cloud server stores the operation result in the cloud server cluster;
the cloud server generates display label information according to the storage address of the operation result in the cloud server cluster;
correspondingly, the service response message includes the display tag information.
12. The method according to any one of claims 7 to 9, wherein the storage areas corresponding to the different data products stored in the cloud server cluster do not have overlapping areas.
13. A terminal device, comprising: a memory, a processor, and a transceiver;
the transceiver is used for communicating with other equipment;
the memory to store program instructions;
the processor to invoke the program instructions stored in the memory to implement the cloud service-based data processing method of any of claims 1-6.
14. A cloud server, comprising: a memory, a processor, and a transceiver;
the transceiver is used for communicating with other equipment;
the memory to store program instructions;
the processor to invoke the program instructions stored in the memory to implement the cloud service-based data processing method of any of claims 7-12.
15. A storage medium, comprising: a readable storage medium and a computer program for implementing the cloud service-based data processing method according to any one of claims 1 to 6 or 7 to 12.
CN201910586812.1A 2019-07-01 2019-07-01 Data processing method and equipment based on cloud service Active CN110324419B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910586812.1A CN110324419B (en) 2019-07-01 2019-07-01 Data processing method and equipment based on cloud service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910586812.1A CN110324419B (en) 2019-07-01 2019-07-01 Data processing method and equipment based on cloud service

Publications (2)

Publication Number Publication Date
CN110324419A CN110324419A (en) 2019-10-11
CN110324419B true CN110324419B (en) 2022-08-30

Family

ID=68122150

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910586812.1A Active CN110324419B (en) 2019-07-01 2019-07-01 Data processing method and equipment based on cloud service

Country Status (1)

Country Link
CN (1) CN110324419B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111062470A (en) * 2019-10-29 2020-04-24 华为技术有限公司 AI processing method and device
CN111367654A (en) * 2020-02-12 2020-07-03 吉利汽车研究院(宁波)有限公司 Data processing method and device based on heterogeneous cloud platform
CN114553890B (en) * 2020-11-24 2023-08-08 腾讯科技(深圳)有限公司 System message processing method, device, computer equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102281473A (en) * 2011-09-09 2011-12-14 青岛海信电器股份有限公司 Information processing method for television terminal and television terminal
CN102609507A (en) * 2012-02-03 2012-07-25 浙江工业大学 Data visualization system based on Web
CN102647470A (en) * 2012-04-01 2012-08-22 杭州格畅科技有限公司 Cloud download method in on-line application platform and on-line application platform system
CN102882932A (en) * 2012-09-04 2013-01-16 健雄职业技术学院 Information safety virtual experimental system based on cloudy server
CN104202417A (en) * 2014-09-16 2014-12-10 腾讯科技(深圳)有限公司 Cloud computing based information processing method, client, cloud server and cloud computing based information processing system
CN105718250A (en) * 2014-12-03 2016-06-29 镇江金软计算机科技有限责任公司 Android platform based data processing system
CN107193950A (en) * 2017-05-22 2017-09-22 环球智达科技(北京)有限公司 WEB data visualisation systems based on relational database

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130262559A1 (en) * 2012-03-28 2013-10-03 Diy Media, Inc. System and method for tracking use of portable objects

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102281473A (en) * 2011-09-09 2011-12-14 青岛海信电器股份有限公司 Information processing method for television terminal and television terminal
CN102609507A (en) * 2012-02-03 2012-07-25 浙江工业大学 Data visualization system based on Web
CN102647470A (en) * 2012-04-01 2012-08-22 杭州格畅科技有限公司 Cloud download method in on-line application platform and on-line application platform system
CN102882932A (en) * 2012-09-04 2013-01-16 健雄职业技术学院 Information safety virtual experimental system based on cloudy server
CN104202417A (en) * 2014-09-16 2014-12-10 腾讯科技(深圳)有限公司 Cloud computing based information processing method, client, cloud server and cloud computing based information processing system
CN105718250A (en) * 2014-12-03 2016-06-29 镇江金软计算机科技有限责任公司 Android platform based data processing system
CN107193950A (en) * 2017-05-22 2017-09-22 环球智达科技(北京)有限公司 WEB data visualisation systems based on relational database

Also Published As

Publication number Publication date
CN110324419A (en) 2019-10-11

Similar Documents

Publication Publication Date Title
CN110324419B (en) Data processing method and equipment based on cloud service
CN111447185B (en) Push information processing method and related equipment
WO2015101313A1 (en) Information push method, server, user terminal and system
US20160294738A1 (en) Method and device for implementing instant messaging
CN104885065A (en) System and method for communicating and interacting with a display screen using a remote device
US20200403822A1 (en) Methods for operator control unit and payload communication
CN109656706A (en) Distributed task dispatching method, system, equipment and medium
CN113079216A (en) Cloud application implementation method and device, electronic equipment and readable storage medium
CN112036558A (en) Model management method, electronic device, and medium
CN114373047A (en) Method, device and storage medium for monitoring physical world based on digital twin
CN112991064B (en) Service processing method, device, computer equipment and storage medium
CN111580883B (en) Application program starting method, device, computer system and medium
CN111401423B (en) Data processing method and device for automatic driving vehicle
CN111325160A (en) Method and apparatus for generating information
CN113472598B (en) Cloud service method, electronic device, and computer-readable storage medium
CN111127126A (en) Information feedback method and device and computer readable storage medium
CN114022256A (en) Information acquisition method, terminal, system and medium based on offline shopping
CN111210216B (en) Activation method and activation system of advanced driving assistance system
CN113554493A (en) Interactive ordering method, device, electronic equipment and computer readable medium
US8977785B2 (en) Machine to machine development environment
CN112631638A (en) Terminal application updating method and device, storage medium and electronic equipment
CN108616751B (en) Media information processing method, device and system
CN113452670B (en) Phishing blocking method, device, equipment and medium based on SDN network
CN108885447B (en) Method and system for analyzing and controlling cold chain system
EP4075369A2 (en) Method and apparatus for processing information

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