Data processing method and device
By deploying the target access component on the client for data preprocessing and encryption, the problem of poor data security in cloud application scenarios is solved, and effective protection of user privacy is achieved.
Patent Information
- Application Number
- CN202510300347.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-13
- Publication Date
- 2025-06-27
AI Technical Summary
In some cloud application scenarios, the data uploaded by the client is at risk of leaking user privacy and poor security.
By deploying the target access component on the client, the component preprocesses the local data, filters out the data that needs to be processed, and encrypts it if necessary to ensure that only pending data that meets security requirements is reported.
It effectively prevents data leakage from user privacy, improves data security, and ensures user privacy protection.
Smart Images

Figure CN120217432A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of data processing, and in particular, to a data processing method and apparatus. Background Art
[0002] Cloud applications are a common application scenario at present. In the cloud application scenario, multiple application programs can be installed in the cloud. When a user needs to use a certain application program in the cloud to process data, only the permission of the application program needs to be opened for the user, and the user can upload the data to be processed to the cloud at the client. After the application program in the cloud processes the data, the processing result is fed back to the client.
[0003] The problem with this solution is that in some application scenarios, the data uploaded by the client has a risk of leaking user privacy and the security is poor. Summary of the Invention
[0004] In view of this, this application provides a data processing method and apparatus to solve the problem of poor data security in the existing cloud application scenario.
[0005] To achieve the above object, this application provides the following technical solutions:
[0006] The first aspect of this application provides a data processing method, including:
[0007] Receiving a first subscription request from a client for subscribing to a target application in the cloud;
[0008] Deploying offline resources and online resources corresponding to the target application, where the offline resources include a target access component installed on the client, and the target access component is used to preprocess local data of the client to obtain data to be processed required by the target application, and the online resources at least include network resources and storage resources required to run the target application in the cloud;
[0009] Processing the data to be processed reported by the target access component based on the target application.
[0010] Optionally, deploying the offline resources corresponding to the target application includes:
[0011] Checking whether the client has deployed the offline resources corresponding to the target application;
[0012] When it is determined that the client has not deployed the offline resources, outputting offline assistance point information, where the offline assistance point information is used to trigger the deployment of the offline resources.
[0013] Optionally, deploying the online resources corresponding to the target application includes:
[0014] Check whether the online resources corresponding to the target application have been deployed on the cloud for running the target application;
[0015] In the case where it is determined that the online resources have not been deployed on the cloud, deploy the online resources on the cloud.
[0016] Optionally, the deploying the online resources on the cloud includes:
[0017] Automatically deploy the online resources on the cloud based on preset automatic deployment information;
[0018] In the case of automatic deployment failure, output online auxiliary point information, which is used to trigger the deployment of the online resources.
[0019] Optionally, before processing the data to be processed reported by the target access component based on the target application, it further includes:
[0020] Perform application authorization for the client based on the user identity information of the client;
[0021] In the case of application authorization failure, output authorization auxiliary point information, which is used to trigger manual application authorization.
[0022] The processing the data packet to be processed reported by the target access component based on the target application includes:
[0023] After the client authorization is successful, process the data to be processed reported by the target access component based on the target application.
[0024] Optionally, it further includes:
[0025] When the usage duration of the target application by the client reaches the first subscription duration, revoke the application authorization of the client and recycle the online resources corresponding to the deployed target application.
[0026] Optionally, it further includes:
[0027] In response to the second subscription request of the client, update the first subscription duration of the client for the target application to the second subscription duration, and update the function authorization information of the client for the target application.
[0028] Optionally, the target access component preprocesses the local data of the client, including at least one of the following:
[0029] Encrypt the local data of the client;
[0030] Filter out the data that needs to be processed by the target application from the local data of the client;
[0031] Filter out the data that meets the target reporting conditions from the local data of the client.
[0032] The second aspect of the present application provides a data processing method, including:
[0033] Obtain the local data of the client;
[0034] Preprocess the local data to obtain the data to be processed by the target application;
[0035] Report the data to be processed to the cloud so that the target application in the cloud processes the data to be processed.
[0036] Optionally, the preprocessing of the local data includes at least one of the following:
[0037] Encrypt the local data of the client;
[0038] Filter out the data that needs to be processed by the target application from the local data of the client;
[0039] Filter out the data that meets the target reporting conditions from the local data of the client.
[0040] The third aspect of the present application provides a data processing device, including:
[0041] A receiving unit, configured to receive a first subscription request from the client for subscribing to a target application in the cloud;
[0042] A deployment unit, configured to deploy the offline resources and online resources corresponding to the target application, where the offline resources include a target access component installed on the client, and the target access component is configured to preprocess the local data of the client to obtain the data to be processed required by the target application, and the online resources at least include the network resources and storage resources required for running the target application in the cloud;
[0043] A processing unit, configured to process the data to be processed reported by the target access component based on the target application.
[0044] The fourth aspect of the present application provides a data processing device, including:
[0045] An obtaining unit, configured to obtain the local data of the client;
[0046] A preprocessing unit, configured to preprocess the local data to obtain the data to be processed required by the target application;
[0047] A reporting unit, configured to report the data to be processed to the cloud so that the target application in the cloud processes the data to be processed.
[0048] The beneficial effects of this solution are as follows:
[0049] In this solution, when the client reports data to the cloud, the target access component deployed on the client preprocesses the local data of the client and then reports the data to be processed obtained after preprocessing. Thus, the target access component can control the data to be processed reported to the cloud based on the security requirements of the client, achieving the effect of preventing the reported data from leaking user privacy and improving data security. Brief Description of the Drawings
[0050] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only the embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on the provided drawings.
[0051] Figure 1 It is a flowchart of a data processing method disclosed in an embodiment of the present application;
[0052] Figure 2 It is a schematic diagram of the connection relationship between the cloud and the client disclosed in an embodiment of the present application;
[0053] Figure 3 It is a schematic diagram of an interface for initiating a subscription request disclosed in an embodiment of the present application;
[0054] Figure 4 It is another schematic diagram of an interface for initiating a subscription request provided by an embodiment of the present application;
[0055] Figure 5 It is a flowchart of subscribing to a target application provided by an embodiment of the present application;
[0056] Figure 6 It is a schematic diagram of an interface for confirming the completion of offline resource deployment provided by an embodiment of the present application;
[0057] Figure 7 It is a schematic diagram of an interface for confirming the completion of online resource deployment provided by an embodiment of the present application;
[0058] Figure 8 It is a schematic diagram of the display interface of the client after sending the second subscription request provided by an embodiment of the present application;
[0059] Figure 9 It is a flowchart of another data processing method provided by an embodiment of the present application;
[0060] Figure 10 It is a schematic diagram of the structure of a data processing device provided by an embodiment of the present application;
[0061] Figure 11 This is a schematic structural diagram of another data processing device provided by an embodiment of the present application. Specific embodiments
[0062] Next, the technical solutions in the embodiments of the present application will be clearly and completely described with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present application without creative efforts shall fall within the protection scope of the present application.
[0063] In the present application, the term "comprising", "including" or any other variant thereof is intended to cover a non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article or device. Without further limitation, an element defined by the phrase "comprising a..." does not exclude the presence of additional identical elements in the process, method, article or device comprising the element.
[0064] Moreover, in this document, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations.
[0065] An embodiment of the present application provides a data processing method. Please refer to Figure 1 which is a flowchart of this method. The method may include the following steps.
[0066] S101: Receive a first subscription request from a client for subscribing to a target application in the cloud.
[0067] The data processing method provided in this embodiment may be executed by the cloud.
[0068] The cloud may include one or more server devices, and several applications with different data processing capabilities may be installed on the server devices, such as data analysis applications, alarm analysis applications, image processing applications, etc.
[0069] The client may be an application program running on a terminal device, and the terminal device may be any terminal device that communicates with the cloud through a network, such as a smart phone, a computer, etc.
[0070] The connection relationship between the cloud and the client may be referred to Figure 2 .
[0071] In this embodiment, the client can send a first subscription request to the cloud in response to a user's subscription operation. The first subscription request may carry the application identifier of the target application. After receiving the first subscription request, the cloud can determine the target application to be subscribed to based on the application identifier.
[0072] As an example, the client can send a first subscription request to the cloud during the display of various pages such as Figure 3 or Figure 4 shown, in response to the user's click operation on the subscription link displayed on the page.
[0073] For the client to subscribe to an application means that the client requests to use the application on the cloud to process the client's data within a specific subscription duration. For example, it requests to use the image processing application on the cloud to process the client's image data within the next 1 month.
[0074] The subscription duration can be determined by the client based on the user's operation and added to the first subscription request. For example, the cloud can send multiple optional subscription durations to the client. The client displays these options and prompts the user to select one, and then the client adds the selected item to the first subscription request and sends it to the cloud. Exemplarily, the subscription duration carried in the first subscription request can be 1 year, indicating that the client requests to use the target application to process data within the next 1 year.
[0075] The first subscription request may also carry subscription mode information, which can be trial subscription or formal subscription. Depending on the different subscription mode information, the cloud can automatically set different subscription durations for this client. For example, in the case of a trial subscription, it automatically sets a two - week subscription duration, and in the case of a formal subscription, it automatically sets a 1 - year subscription duration. Depending on the different subscription mode information, the cloud can allow the client to use different functions of the target application. For example, in the case of a trial subscription, only the image cropping and scaling functions of the image processing application are allowed, and in the case of a formal subscription, functions such as image cropping, scaling, beautifying, and custom editing of the image processing application are allowed. Depending on the different subscription mode information, the cloud can allow the client different online resources. For example, in the case of a trial subscription, only 500 megabytes (MB) of storage space on the cloud is allowed, and in the case of a formal subscription, 10 gigabytes (GB) of storage space on the cloud is allowed.
[0076] S102, Deploy the offline resources and online resources corresponding to the target application. The offline resources include the target access component installed on the client, and the target access component is used to pre - process the client's local data to obtain the data to be processed required by the target application. The online resources at least include the network resources and storage resources required to run the target application on the cloud.
[0077] In step S102, the cloud can respond to the first subscription request, deploy offline resources required for using the target application at the client, and deploy online resources corresponding to the client and required for running the target application at the cloud.
[0078] Among them, the online resources can include, but are not limited to, network resources, storage resources, computing power resources, etc. required for running the target application at the cloud. Exemplarily, the online resources of the target application deployed for the client can include: 500MB of network bandwidth for data interaction between the client and the target application at the cloud; 2GB of storage space on the server device at the cloud for storing the data to be processed reported by the client and the processing results of the target application; 4 cores of processors (CPUs) of the server device for running the target application to process data.
[0079] In step S102, the cloud can automatically deploy online resources and offline resources based on a pre-configured script or other program, or trigger relevant personnel to manually deploy online resources and offline resources when any resource automatic deployment fails.
[0080] The offline resources include the target access component. Among them, different applications at the cloud can correspond to different access components so as to preprocess the local data of the client in the corresponding manner of the application. In step S102, the cloud can determine the corresponding target access component based on the target application, and then deploy the target access component at the client.
[0081] S103, process the data to be processed reported by the target access component based on the target application.
[0082] After the target access component is deployed at the client, the target access component can automatically collect and preprocess the local data to obtain the data to be processed, and then report the data to be processed to the target application. The target application can process the received data to be processed and feedback the processing result to the target access component, and the target access component then displays the processing result on the client.
[0083] The beneficial effect of this embodiment is as follows:
[0084] In this solution, when the client reports data to the cloud, the target access component deployed at the client preprocesses the local data of the client, and then reports the data to be processed obtained after preprocessing. Thus, the target access component can control the data to be processed reported to the cloud based on the security requirements of the client, achieving the effect of preventing the reported data from leaking user privacy and improving data security.
[0085] Optionally, the target access component preprocesses the local data of the client, including at least one of the following:
[0086] Encrypt the local data of the client;
[0087] Filter out the data that needs to be processed by the target application from the local data of the client;
[0088] Filter out the data that meets the target reporting conditions from the local data of the client.
[0089] In some embodiments, the target access component can encrypt the local data of the client based on a preset encryption algorithm, and send the encrypted data to the target application as the data to be processed. In this case, the processing result feedback by the target application can be the encrypted processing result, and the target access component can decrypt the encrypted processing result and then output the decrypted processing result on the client.
[0090] Through the above preprocessing method, it is possible to process data involving user privacy and security in the target application, and avoid reporting these data, resulting in user privacy leakage.
[0091] In some embodiments, the target access component can filter the local data of the client. On the one hand, it can filter based on the data types that the target application can process, filtering out the data of those data types that the target application cannot process. On the other hand, it can select the data that the user needs to upload to the target application for processing from the local data based on the user's operation.
[0092] Exemplarily, when the target application is an image processing application, the target access component can filter out the data other than image data in the local data, and only report the image data on the client side as the data to be processed. And, based on the user's operation, a part of the images in the client local can be selected as the data to be processed and reported.
[0093] Preprocess in the above manner. On the one hand, it can avoid uploading data that the target application cannot process, reducing bandwidth occupancy. On the other hand, it can selectively upload data based on the user's operation, avoiding uploading data involving user privacy to the cloud.
[0094] In some embodiments, the target access component can identify which of the local data of the client meets the target reporting conditions and which does not meet the target reporting conditions based on certain rules, and upload the local data that meets the target reporting conditions as the data to be processed.
[0095] As some examples, the target access component can identify which local data involves user privacy and which local data does not involve user privacy, and report the local data that does not involve user privacy as the data to be processed. The identification method can be to detect whether there are preset keywords related to user privacy, or to use a pre-constructed large language model or other neural network models for identification.
[0096] According to this preprocessing method, the target access component can automatically screen out the eligible data to be processed for reporting, without the need for selection based on user operations. This can not only improve data security and avoid privacy leakage, but also simplify user operations and improve the convenience of use.
[0097] As Figure 5 shown, in this embodiment, after the cloud receives the first subscription request, it can create a corresponding subscription event to process the first subscription request through the event mechanism.
[0098] Each application in the cloud can correspond to an application template. Through this application template, it can be determined whether it is necessary to check and deploy offline resources, whether it is necessary to check and deploy online resources, and the tasks to be processed when the target application is authorized to the client or the authorization is revoked. As an example, the application template of the target application can include the following information.
[0099] productSpu: skyopsPlus # Application name
[0100] parameters:
[0101] sceneType: trial # Scene type, trial, formal
[0102] validDuration: 30 # Effective duration for annual or monthly package (including trial duration), unit: day
[0103] deployFlow:
[0104] - name: offlineResourceCheck # Offline resource check (optional)
[0105] task: "offlineResourceCheckTask" # Task for offline resource check
[0106] - name: onlineResourceCheck # Online resource check task (optional)
[0107] task: "onlineResourceCheckTask" # Task for online resource check task
[0108] - name: onlineResourceDeploy # Online resource deployment task (optional)
[0109] task: "onlineResourceDeployTask" # Task for online resource deployment task
[0110] authorize:
[0111] authActivate:
[0112] task: "authActivateTask" # The task for executing trial / full authorization start
[0113] authTerminate:
[0114] task: "authTerminateTask" # The task for ending authorization
[0115] lifeCircle: # Application lifecycle tasks
[0116] beforeExpireHook: "checkAuthDetailTask" # Tasks to be executed before expiration
[0117] After creating the subscription event corresponding to the first subscription request, the cloud can monitor the above application template of the target application and find that the application template contains an option for offline resource check (i.e., name: offlineResourceCheck). Thus, the offline resource deployment can be performed according to the method of this embodiment. Correspondingly, if the application template of a certain application does not contain the option for offline resource check, the cloud can skip the steps of checking and deploying offline resources after receiving the subscription request for this application.
[0118] Optionally, after receiving the first subscription request and when creating the subscription event, the cloud can monitor whether the subscription event is successfully created. If the subscription event is not successfully created, the cloud can output the Figure 5 shown creation auxiliary point information to notify the corresponding operation and maintenance personnel (such as Figure 5 the notification follow-up person) to manually create the subscription event and trigger Figure 5 the subsequent processes in
[0119] Optionally, please refer to Figure 5 for the method of deploying the offline resources corresponding to the target application, which can be:
[0120] Check whether the client has deployed the offline resources corresponding to the target application;
[0121] In the case where it is determined that the client has not deployed the offline resources, output the offline auxiliary point information, which is used to trigger the deployment of offline resources.
[0122] In this embodiment, the cloud can send component-related information of the target access component to the client, including but not limited to information such as the name and identifier of the target access component, enabling the client to retrieve whether the target access component has been installed locally on the client based on the component-related information, and then receiving the retrieval result feedback from the client, and determining whether the offline resources have been deployed on the client based on the retrieval result (i.e., checking whether there are offline resources).
[0123] If the target access component has been installed locally on the client, the cloud can determine that the check is successful. At this time, the step of deploying offline resources ends, and the subsequent process can be executed.
[0124] If the target access component has not been installed locally on the client, the cloud can determine that the check fails. In the case of a failed check, the cloud can output the offline auxiliary point information shown in Figure 5 to notify the offline delivery follow-up personnel to manually deploy the offline resources.
[0125] After the manual deployment of the offline resources ends, the client can display the offline deployment confirmation interface shown in Figure 6 After the user clicks the confirmation button on the interface, the client can report a notification message indicating that the offline deployment is ready to the cloud. After receiving this notification message, the cloud can check again whether the offline resources corresponding to the target application have been deployed on the client. After the check is successful, the step of deploying the offline resources ends, and the subsequent process is executed.
[0126] In some alternative embodiments, the cloud can also attempt to automatically deploy the offline resources after the check fails, and then send the offline auxiliary point information after the automatic deployment fails.
[0127] For example, the cloud can send the installation package of the target access component to the client and notify the client to install the target access component based on the installation package. After receiving the notification that the installation has ended from the client, it checks again whether the offline resources have been deployed. If the check fails, it outputs the offline auxiliary point information. If the check is successful, the step of deploying the offline resources ends.
[0128] Deploying the offline resources in the above manner can, on the one hand, avoid repeatedly deploying the offline resources when the offline resources have already been deployed on the client, and on the other hand, can timely notify the relevant personnel to deploy the offline resources by outputting the offline auxiliary point information, improving the user experience.
[0129] Optionally, please refer to Figure 5 , the method of deploying the online resources corresponding to the target application can be:[[]]
[0130] Check whether the online resources corresponding to the target application have been deployed on the cloud used to run the target application (equivalent to checking whether there are online resources);
[0131] In the case where online resources are not deployed in the cloud, deploy online resources in the cloud.
[0132] Before performing the check in the above manner, it is possible to first determine whether there are options for checking online resources in the template corresponding to the target application. If there are such options, such as name: onlineResourceCheck in the foregoing example, then check the online resources according to the method of this embodiment. If there are no such options, the steps of checking and deploying online resources may not be executed.
[0133] When checking for the presence of online resources, the cloud can traverse the network resources, storage resources, and computing resources of the server device to check whether there are resources allocated for use by the target application and the client. If there are, it is determined that the online resources corresponding to the target application have been deployed, and the check is successful. In this case, the subsequent authorization steps can be executed. If not, it is determined that the online resources corresponding to the target application have not been deployed, the check fails, and the process begins to deploy the online resources in the cloud.
[0134] Performing the check in the manner of the above embodiment can avoid repeatedly deploying online resources for the target application and prevent waste of online resources.
[0135] After the check fails, if the template of the target application does not include an option for automatically deploying online resources, such as not including the name: onlineResourceDeploy option in the foregoing example, then the online resources can be deployed in the following manner:
[0136] Output to the terminal device of the relevant operation and maintenance personnel Figure 5 the online auxiliary point information shown to notify the online delivery follow-up personnel to manually deploy the online resources.
[0137] After the manual deployment of the online resources is completed, the client can display an online deployment confirmation interface as shown in Figure 7 After the user clicks the confirmation button on the interface, the client can report a notification message indicating that the online deployment is ready to the cloud. After receiving this notification message, the cloud can check again whether the client has deployed the online resources corresponding to the target application. After the check is successful, the step of deploying the online resources ends, and the subsequent online application authorization steps are executed.
[0138] After the check fails, if the template of the target application includes an option for automatically deploying online resources, such as including the name: onlineResourceDeploy option in the foregoing example, then the online resources can be deployed in the following manner:
[0139] Automatically deploy the online resources in the cloud based on the preset automatic deployment information;
[0140] In the case of automatic deployment failure, output the online auxiliary point information, which is used to trigger the deployment of online resources.
[0141] The automatic deployment information can be pre-configured by relevant personnel in the server devices in the cloud. Each application in the cloud can correspond to the automatic deployment information of that application, and the automatic deployment information of different applications can be different.
[0142] The automatic deployment information can indicate the types and quantities of online resources required to process the data of a client using the application in the cloud. Exemplarily, the automatic deployment information of the target application can indicate that to process the data of a client using the target application, it is necessary to occupy 3 CPU cores, 5 GPU cores, 2 GB of hard disk storage space, 500 MB of running memory (such as static random access memory SRAM), and 100 MB of network bandwidth in the server device.
[0143] When performing automatic deployment, the cloud can find the automatic deployment information of the target application, and then, based on the indication of the automatic deployment information, allocate various types of online resources for the target application to use to complete the deployment of online resources.
[0144] After automatically deploying the online resources in the above manner, it is possible to check whether the deployment is successful. If the deployment is successful, perform the subsequent online application authorization steps. If the deployment fails and the online resources of the target application cannot be deployed, the online auxiliary point information shown in Figure 5 can be output to the terminal device of relevant operation and maintenance personnel to notify the online delivery follow-up personnel to manually deploy the online resources.
[0145] Through the above deployment method, this embodiment can automatically complete the deployment of online resources based on the automatic deployment information after the user subscribes to the application, thereby completing the resource deployment faster and shortening the time required from when the client initiates a subscription request to when the client starts using the target application.
[0146] It should be noted that there is no precedence between the deployment of offline resources and the deployment of online resources, that is, it is possible to deploy offline first and then online, or deploy online first and then offline, or deploy offline and online simultaneously, not limited to the Figure 5 sequence.
[0147] In some alternative embodiments, after the online resources and offline resources are deployed, application authorization can be performed on the client, and only after the authorization is successful, the target application is used to process the data to be processed reported by the client, so as to facilitate the management of the permissions of multiple clients accessing the cloud.
[0148] As Figure 5 shown, the way to perform application authorization can be:
[0149] Perform application authorization for the client based on the user identity information of the client (equivalent to Figure 5 online application authorization);
[0150] In the case of application authorization failure, output authorization assistance point information, which is used to trigger manual application authorization.
[0151] Correspondingly, Figure 1 In step S103 of
[0152] processing the to-be-processed data packet reported by the target access component based on the target application may include:
[0153] After the client authorization is successful, process the to-be-processed data reported by the target access component based on the target application.
[0153] Application authorization can be specifically performed by Figure 2 the subscription center in the cloud. The subscription center can obtain the user identity information of the client and the first subscription duration carried in the first subscription request, and then verify whether the user identity information meets the authorization conditions. If the authorization conditions are met, the subscription center determines that the authorization is successful and records the authorization information, which may include user identity information, the first subscription duration, the application identifier of the target application for authorization use, the function authorization information of the client for the target application, etc. After that, the client can report the to-be-processed data to the cloud based on the authorized user identity information and obtain the processing result after the target application processes it. If the authorization conditions are not met, the subscription center determines that the authorization fails.
[0154] Among them, the function authorization information is used to indicate which functions of the target application the client is authorized to use.
[0155] Among them, the authorization conditions may include that the password of the user identity information provided by the client is correct. If the target application needs to be paid for use, the authorization conditions may further include that a payment record corresponding to the user identity information can be queried.
[0156] In the case of authorization failure, the subscription center can output Figure 5 the authorization assistance point information shown in
[0157] to the terminal device of the relevant operation and maintenance personnel to notify the authorization follow-up person to perform manual authorization.
[0158] Optionally, as Figure 5As shown, after successful authorization and the client starts using the target application, the subscription center can also regularly detect whether the authorization of the client has expired. If the usage duration of the client for the target application reaches the first subscription duration, it can be determined that the authorization has expired, and the following steps can be executed:
[0159] When the usage duration of the client for the target application reaches the first subscription duration, revoke the application authorization of the client and recycle the online resources corresponding to the deployed target application.
[0160] When revoking the application authorization, the subscription center deletes the authorization information corresponding to the user identity information previously recorded, so that the user identity information no longer has the usage permission for the target application. When recycling the online resources, the subscription center can terminate the process that runs the target application and occupies the previously deployed online resources, and mark these online resources as idle online resources.
[0161] After the probation period ends, the system will automatically revoke the application authorization, and the online application will no longer provide this feature.
[0162] Optionally, if the revocation of the application authorization fails or the recycling of the online resources fails, the subscription center can output the Figure 5 expiration assistance point information shown to the terminal device of the relevant operation and maintenance personnel to notify the relevant follow-up person to revoke the authorization or manually recycle the online resources.
[0163] As an example, assume that the first subscription duration is two weeks. Then the subscription center can start counting the usage duration from the day of successful authorization. After two weeks of successful authorization, it is determined that the usage duration reaches the first subscription duration, and the above revocation operation is executed.
[0164] Optionally, the subscription center can also send an expiration notice to the client when the usage duration is close to the first subscription duration to notify the client that the application authorization is about to expire. Exemplarily, assume that the first subscription duration is two weeks. The subscription center can send an expiration notice to the client two days in advance, that is, when the usage duration reaches 12 days.
[0165] Through the above embodiments, the subscription center can manage the permissions of each client according to the subscription duration of the client, and timely revoke the application authorization of the client whose permissions have expired.
[0166] In some alternative embodiments, the subscription center can also execute the following steps:
[0167] In response to the second subscription request of the client, update the first subscription duration of the client for the target application to the second subscription duration, and update the function authorization information of the client for the target application.
[0168] In the above embodiments, the first subscription request may be a subscription request for applying to trial the target application, and the second subscription request may be a subscription request for officially subscribing to the target application.
[0169] The second subscription duration may be the default subscription duration at the time of official subscription. For example, if each official subscription defaults to a one-year subscription, the second subscription duration is 1 year. Alternatively, the second subscription duration may be determined by the client based on the user's operation and added to the second subscription request.
[0170] After obtaining the second subscription request, the subscription center may read the authorization information corresponding to the user identity information of the client, change the first subscription duration recorded in the authorization information to the second subscription duration, and update the function authorization information in the authorization information, so that the functions available to the client are changed to the functions available in the case of official subscription.
[0171] Optionally, after completing the above update, the subscription center may send an official subscription notice to the client. After receiving the notice, the client may display an interface as shown in Figure 8 to indicate that the official subscription has been completed.
[0172] After completing the above update, the subscription center may still monitor whether the authorization of the client expires according to the process shown in Figure 5 and perform the foregoing steps after expiration, which will not be elaborated here.
[0173] Through the above solution, this embodiment can update the subscription duration and function authorization information in a timely manner based on the user's needs to meet the user's usage requirements for the target application.
[0174] In some embodiments, after the authorization expires, the client may send the first subscription request again to use the target application again. When the first subscription request for trying out the target application is received again, since the offline resources and online resources have been deployed for the target application, the step of deploying resources may not be executed, and application authorization may be directly performed. After successful authorization, the client can continue to use the target application to process the data to be processed.
[0175] The embodiment of the present application also provides a data processing method. Please refer to Figure 9 and the method may include the following steps.
[0176] The data processing method of this embodiment may be executed by the foregoing target access component.
[0177] S901, Obtain the local data of the client.
[0178] S902, Preprocess the local data to obtain the data to be processed by the target application.
[0179] S903. Report the data to be processed to the cloud so that the target application in the cloud processes the data to be processed.
[0180] Optionally, preprocessing the local data may include at least one of the following:
[0181] Encrypt the local data of the client;
[0182] Filter out the data that needs to be processed by the target application from the local data of the client;
[0183] Filter out the data that meets the target reporting conditions from the local data of the client.
[0184] For the implementation manners of the relevant steps in the above data processing method, reference may be made to the content about the target access component in the foregoing embodiments, which will not be elaborated here.
[0185] The embodiment of the present application further provides a data processing device. Please refer to Figure 10 , and the device may include the following units.
[0186] The receiving unit 1001 is configured to receive a first subscription request from the client for subscribing to a target application in the cloud.
[0187] The deployment unit 1002 is configured to deploy the offline resources and online resources corresponding to the target application. The offline resources include the target access component installed on the client, and the target access component is used to preprocess the local data of the client to obtain the data to be processed required by the target application. The online resources at least include the network resources and storage resources required to run the target application in the cloud.
[0188] The processing unit 1003 is configured to process the data to be processed reported by the target access component based on the target application.
[0189] Optionally, when the deployment unit 1002 deploys the offline resources corresponding to the target application, it may be used to:
[0190] Check whether the client has deployed the offline resources corresponding to the target application;
[0191] When it is determined that the client has not deployed the offline resources, output the offline auxiliary point information, and the offline auxiliary point information is used to trigger the deployment of the offline resources.
[0192] Optionally, when the deployment unit 1002 deploys the online resources corresponding to the target application, it may be used to:
[0193] Check whether the cloud for running the target application has deployed the online resources corresponding to the target application;
[0194] When it is determined that the cloud has not deployed the online resources, deploy the online resources in the cloud.
[0195] Optionally, when the deployment unit 1002 deploys online resources in the cloud, it can be used for:
[0196] Automatically deploy online resources in the cloud based on preset automatic deployment information;
[0197] In the case of automatic deployment failure, output online auxiliary point information, which is used to trigger the deployment of online resources.
[0198] Optionally, the device may further include an authorization unit 1004, which is used to perform the following steps before processing the data to be processed reported by the target access component based on the target application:
[0199] Perform application authorization for the client based on the user identity information of the client;
[0200] In the case of application authorization failure, output authorization auxiliary point information, which is used to trigger manual application authorization.
[0201] When the processing unit 1003 processes the data packet to be processed reported by the target access component based on the target application, it can be used for:
[0202] After the client is successfully authorized, process the data to be processed reported by the target access component based on the target application.
[0203] Optionally, the authorization unit 1004 can also be used for:
[0204] When the usage duration of the target application by the client reaches the first subscription duration, revoke the application authorization of the client and recycle the online resources corresponding to the deployed target application.
[0205] Optionally, the authorization unit 1004 can also be used for:
[0206] In response to the second subscription request of the client, update the first subscription duration of the client for the target application to the second subscription duration, and update the function authorization information of the client for the target application.
[0207] Optionally, the target access component preprocesses the local data of the client, including at least one of the following:
[0208] Encrypt the local data of the client;
[0209] Filter out the data that needs to be processed by the target application from the local data of the client;
[0210] Filter out the data that meets the target reporting conditions from the local data of the client.
[0211] The embodiment of the present application also provides a data processing device. Please refer to Figure 11 and the device may include the following units.
[0212] An acquisition unit 1101, configured to acquire local data of a client.
[0213] A preprocessing unit 1102, configured to preprocess the local data to obtain data to be processed by a target application.
[0214] A reporting unit 1103, configured to report the data to be processed to the cloud, so that the target application in the cloud processes the data to be processed.
[0215] Optionally, when the preprocessing unit 1102 preprocesses the local data, it may perform at least one of the following:
[0216] Encrypt the local data of the client;
[0217] Screen out the data that needs to be processed by the target application from the local data of the client;
[0218] Screen out the data that meets the target reporting condition from the local data of the client.
[0219] For the data processing device provided in this embodiment, its working principle can refer to the relevant steps in the data processing method provided in any embodiment of this application, which will not be elaborated here.
[0220] Each embodiment in this specification is described in a progressive manner. The same or similar parts among the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for a system or a system embodiment, since it is basically similar to a method embodiment, the description is relatively simple, and the relevant parts can refer to the partial description of the method embodiment. The systems and system embodiments described above are merely illustrative. The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art can understand and implement it without creative work.
[0221] Those skilled in the art can further realize that the units and algorithm steps of each example described in combination with the embodiments disclosed in this article can be implemented by electronic hardware, computer software, or a combination of the two. To clearly illustrate the interchangeability of hardware and software, the components and steps of each example have been generally described according to functions in the above description. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods for each specific application to implement the described functions, but such implementation should not be considered to exceed the scope of the present invention.
[0222] The foregoing description of the disclosed embodiments enables those skilled in the art to practice or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A data processing method, characterized in that: include: Receive a first subscription request from a client for subscribing to a target application in the cloud; Deploy offline resources and online resources corresponding to the target application, wherein the offline resources include a target access component installed on the client, the target access component is used to pre-process the local data of the client to obtain the to-be-processed data required by the target application, and the online resources include at least network resources and storage resources required to run the target application in the cloud; The data to be processed reported by the target access component is processed based on the target application.
2. The method according to claim 1, characterized in that Deploy offline resources corresponding to the target application, including: Checking whether the client has deployed offline resources corresponding to the target application; When it is determined that the client has not deployed the offline resource, offline auxiliary point information is output, where the offline auxiliary point information is used to trigger deployment of the offline resource.
3. The method according to claim 1, characterized in that Deploy the online resources corresponding to the target application, including: Check whether the cloud used to run the target application has deployed online resources corresponding to the target application; When it is determined that the online resource is not deployed on the cloud, the online resource is deployed on the cloud.
4. The method according to claim 1, characterized in that Deploying the online resources in the cloud includes: Automatically deploy the online resources in the cloud based on preset automatic deployment information; In the case of automatic deployment failure, online auxiliary point information is output, and the online auxiliary point information is used to trigger the deployment of the online resources.
5. The method according to claim 1, characterized in that Before the processing of the to-be-processed data reported by the target access component based on the target application, the method further includes: Performing application authorization for the client based on the user identity information of the client; In the case of application authorization failure, outputting authorization assistance point information, wherein the authorization assistance point information is used to trigger manual application authorization; The processing of the to-be-processed data packet reported by the target access component based on the target application includes: After the client is successfully authorized, the to-be-processed data reported by the target access component is processed based on the target application.
6. The method according to claim 5, characterized in that Also includes: When the usage duration of the target application by the client reaches the first subscription duration, the application authorization of the client is revoked, and the online resources corresponding to the deployed target application are recovered.
7. The method according to claim 5, characterized in that Also includes: In response to the second subscription request of the client, the first subscription duration of the client for the target application is updated to a second subscription duration, and the function authorization information of the client for the target application is updated.
8. The method according to claim 1, characterized in that The target access component pre-processes the local data of the client, including at least one of the following: Encrypting local data of the client; Filtering data that needs to be processed by the target application from the local data of the client; Data that meets the target reporting condition is screened out from the local data of the client.
9. A data processing method, characterized in that: include: Get the client's local data; Preprocessing the local data to obtain data to be processed of the target application; The data to be processed is reported to the cloud, so that the target application in the cloud processes the data to be processed.
10. The method according to claim 9, characterized in that The preprocessing of the local data includes at least one of the following: Encrypting local data of the client; Filtering data that needs to be processed by the target application from the local data of the client; Data that meets the target reporting condition is screened out from the local data of the client.
11. A data processing device, characterized in that: include: A receiving unit, configured to receive a first subscription request from a client for subscribing to a target application on the cloud; A deployment unit, configured to deploy offline resources and online resources corresponding to the target application, wherein the offline resources include a target access component installed on the client, the target access component is configured to pre-process local data of the client to obtain data to be processed required by the target application, and the online resources include at least network resources and storage resources required to run the target application in the cloud; A processing unit is used to process the to-be-processed data reported by the target access component based on the target application.
12. A data processing device, characterized in that: include: An acquisition unit, used for acquiring local data of a client; A preprocessing unit, used for preprocessing the local data to obtain data to be processed of a target application; The reporting unit is used to report the data to be processed to the cloud, so that the target application in the cloud processes the data to be processed.