Method and computation node for processing application data
First Claim
1. A method for processing application data, applied to a mobile computation node, the mobile computation node comprising an operating system, wherein the method comprising:
- providing a service process, a backup software and an application software running on the operating system within the mobile computation node;
determining whether a root operation right and a provider interface are provided;
in response to determining that the root operation right and the provider interface are not provided;
starting, by the operating system, the service process;
setting the root operation right of the service process;
establishing, by the operating system, a socket connection between the service process and the backup software, wherein the service process has the root operation right;
setting a user identifier (uid) for the service process and the backup software to the same user identifier;
performing a signature verification on a processing request;
sending, by the backup software through the socket, a length of the processing request for application data after the signature verification passes;
determining, based on the length of the processing request, a specific content for the application data;
sending, by the backup software through the socket, the specific content;
receiving, by the service process through the socket, the processing request for application data, wherein the processing request is sent by the backup software;
sending, by the service process, the processing request for application data to corresponding application software;
receiving, by the service process, application data returned by the corresponding application software, wherein the application data is application data returned in response to the processing request; and
sending, by the service process through the socket, the returned application data to the backup software.
3 Assignments
0 Petitions
Accused Products
Abstract
The present invention provides a method and a computation node for processing application data. The method includes: starting, by an operating system, a service process; establishing, by the operating system, a socket connection between the service process and backup software, where the service process has a root operation right, and the service process and the backup software have the same user identifier; sending, by the backup software through the socket, a processing request for application data; receiving, by the service process through the socket, the processing request for application data, where the processing request is sent by the backup software, sending the processing request for application data to corresponding application software, receiving application data returned by the corresponding application software, and sending the returned application data to the backup software through the socket.
23 Citations
18 Claims
-
1. A method for processing application data, applied to a mobile computation node, the mobile computation node comprising an operating system, wherein the method comprising:
-
providing a service process, a backup software and an application software running on the operating system within the mobile computation node; determining whether a root operation right and a provider interface are provided; in response to determining that the root operation right and the provider interface are not provided; starting, by the operating system, the service process; setting the root operation right of the service process; establishing, by the operating system, a socket connection between the service process and the backup software, wherein the service process has the root operation right; setting a user identifier (uid) for the service process and the backup software to the same user identifier; performing a signature verification on a processing request; sending, by the backup software through the socket, a length of the processing request for application data after the signature verification passes; determining, based on the length of the processing request, a specific content for the application data; sending, by the backup software through the socket, the specific content; receiving, by the service process through the socket, the processing request for application data, wherein the processing request is sent by the backup software; sending, by the service process, the processing request for application data to corresponding application software; receiving, by the service process, application data returned by the corresponding application software, wherein the application data is application data returned in response to the processing request; and sending, by the service process through the socket, the returned application data to the backup software. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A mobile computation node, comprising a hardware layer, an operating system operating on the hardware layer, wherein the mobile computation node comprising:
-
a service process, a backup software and an application software running on the operating system within the mobile computation node wherein the service process has a root operation right and the backup software is provided a provider interface; a starting module, configured to enable the operating system to start the service process and set the root operation right of the service process; a connection establishing module, configured to enable the operating system to establish a socket connection between the service process and the backup software, wherein the service process has the root operation right, set a user identifier (uid) for the service process and the backup software to the same user identifier, and perform a signature verification on a processing request; a first sending module, configured to enable the backup software to send, through the socket, a length of the processing request for application data after the signature verification passes, determine, based on the length of the processing request, a specific content for the application data, and send, by the backup software through the socket, the specific content; a first receiving module, configured to enable the service process to receive, through the socket, the processing request for application data, wherein the processing request is sent by the backup software; a second sending module, configured to enable the service process to send the processing request for application data to corresponding application software; a second receiving module, configured to enable the service process to receive application data returned by the corresponding application software, wherein the application data is application data returned in response to the processing request; and a third sending module, configured to enable the service process to send, through the socket, the returned application data to the backup software. - View Dependent Claims (14, 15, 16, 17, 18)
-
Specification