Disclosure of Invention
This section provides a general summary of the disclosure, and is not a comprehensive disclosure of its full scope or all of its features.
The disclosed objective is to provide a cache data security management system, which is applied to an esim card and specifically includes: the device comprises a receiving unit (1), a data acquisition unit (2), a sequence generation unit (3), an insertion unit (4) and a buffer unit (5);
the receiving unit (1) receives user request information, wherein the user request information comprises a current request data identifier and a previous user request data identifier;
the data acquisition unit (2) acquires data acquired by a user before according to the data identification acquired before, and simultaneously acquires data required by the user according to the current request data identification;
the sequence generating unit (3) generates an additional sequence according to a preset rule according to data acquired by a user;
the inserting unit (4) inserts the additional sequence into the data required by the user to obtain the processed data sequence required by the user and requested currently;
the caching unit (5) caches the processed data sequence required by the current requested user.
The invention also provides a cache data security management method, which is applied to the esim card and specifically comprises the following steps:
(1) sending data request information to an esim card;
(2) extracting a data identifier input by a user and a data identifier acquired last time from the request from the time from the request information, and sending the data identifier input by the user and the data identifier acquired last time to a data acquisition unit;
(3) after receiving the data identification sent by the receiving unit, acquiring a corresponding data file according to the data identification input by a user, and sending the data file to the inserting unit; meanwhile, according to the data identification obtained last time, obtaining the corresponding data file last time, and sending the data file last time and the data identification obtained last time to the sequence generation unit;
(4) after receiving a latest data file sent by a data acquisition unit and a latest acquired data identifier, extracting creation time, header information and a partial data sequence in the data file, wherein the partial data sequence is a sequence with a certain length intercepted from a random position in an original data sequence;
then, the creation time, the header information and a part of data sequence are spliced to form an additional sequence;
(5) after receiving the data sequence requested by the user and the encapsulation information sent by the sequence generation unit, the data acquisition unit acquires the additional sequence and the length information, inserts the additional sequence into the random position in the data sequence requested by the user, generates the processed data requested by the user, sends the data and the length information to the user mobile terminal, and simultaneously sends the data and the length information to the cache unit.
Has the advantages that: by using the system and the method, the data safety can be improved, meanwhile, the recovery data has certain basis, and the data reading and recovery speed is ensured.
Further areas of applicability will become apparent from the description provided herein. The description and specific examples in this summary are intended for purposes of illustration only and are not intended to limit the scope of the present disclosure.
Detailed Description
Examples of the present disclosure will now be described more fully with reference to the accompanying drawings. The following description is merely exemplary in nature and is not intended to limit the present disclosure, application, or uses.
Example embodiments are provided so that this disclosure will be thorough, and will fully convey the scope to those skilled in the art. Numerous specific details are set forth such as examples of specific components, devices, and methods to provide a thorough understanding of embodiments of the present disclosure. It will be apparent to those skilled in the art that specific details need not be employed, that example embodiments may be embodied in many different forms and that neither should be construed to limit the scope of the disclosure. In certain example embodiments, well-known processes, well-known structures, and well-known technologies are not described in detail.
The technical problems posed by the present disclosure will be explained in detail below. It is to be noted that this technical problem is merely exemplary and is not intended to limit the application of the present invention.
As shown in fig. 1, the present invention provides a cache data security management system, which is applied to an esim card, and specifically includes: a receiving unit 1, a data acquisition unit 2, a sequence generation unit 3, an insertion unit 4, and a buffer unit 5.
The receiving unit 1 receives user request information, which includes a current request data identifier and a previous user request data identifier.
The request information comprises a request data identification input by the user and a data identification which is automatically acquired by the mobile terminal of the user and requested by the user before. The request data identification input by the user is information such as file name and type, and the data identification requested by the user is the data identification which is obtained by the mobile terminal from the esim card last time through file obtaining time of the mobile terminal of the user.
The data obtaining unit 2 obtains the data obtained by the previous user according to the data identifier obtained before, and obtains the data required by the user according to the data identifier requested currently.
The data acquired by the previous user and the data required by the user can be interactive information, video information, audio information and the like, and the information specifically comprises time and date, equipment identification, image and sound sequence and the like.
The sequence generating unit 3 generates an additional sequence according to a preset rule based on data acquired by a previous user.
The sequence generating unit 3 extracts one or more of interaction information, video information and audio information in data acquired by a user according to a preset rule, then combines the extracted information to obtain an additional sequence, generates specific rule information at the same time, and encapsulates the additional sequence and the rule information.
The inserting unit 4 inserts the additional sequence into the user required data to obtain the processed currently requested user required data sequence.
And inserting the additional sequence into the random position of the data sequence required by the current requested user to form the processed data sequence required by the current requested user.
And storing the data acquired by the previous user in a legal user mobile terminal associated with the esim card, quickly positioning the position of the additional sequence and acquiring the content of all the additional sequences according to the rule information, and removing the additional sequences to obtain the correct data required by the user.
And the data acquired by the previous user is not stored in the illegal user mobile terminal which is not associated with the esim card, the position of the additional sequence cannot be positioned according to the rule information, the correct additional sequence cannot be acquired, and the acquired data is incomplete or incorrect.
The buffer unit 5 buffers the processed data sequence required by the user and requested currently, and deletes the additional sequence after the mobile terminal of the user successfully acquires the data sequence. The buffer unit 5 also stores all data interacting with the user's mobile terminal.
The method specifically comprises the following steps: the buffer unit 5 buffers the processed data sequence required by the user and requested currently, receives a feedback notification sent by the mobile terminal after the user mobile terminal obtains the required data, and deletes the additional sequence according to the feedback notification.
The manner in which the units of the above system work cooperatively to accomplish the security management of the cached data will be described in detail below.
The user sends data request information to a receiving unit 1 in the esim card through the mobile terminal, and the receiving unit 1 extracts data identification input by the user and data identification acquired from the current request at the latest time in time from the request information. The receiving unit 1 sends the data identification input by the user and the data identification acquired last time to the data acquiring unit 2.
For example: the user inputs the name and source information of the file a, the user mobile terminal judges the last request according to the time and date of the request, acquires the data from the esim card as the file b 10 hours ago, and sends the name and creation time information of the file b, the name and the source information of the file a to the receiving unit 1. The files a and b are both stored in the cache unit 5 and are both data files sent by the esim card to the same user mobile terminal.
After receiving the data identifier sent by the receiving unit 1, the data obtaining unit 2 obtains the corresponding data file from the cache unit 5 according to the data identifier input by the user, and sends the data file to the inserting unit 4. Meanwhile, the data obtaining unit 2 obtains the corresponding data file from the cache unit 5 according to the data identifier obtained last time, and sends the data file and the data identifier to the sequence generating unit 3.
For example: the data acquisition unit 2 acquires all data files including the name of the file a, which are sent by a sender identified by the source information, according to the name of the file a and the source information; and acquiring the data of the file b according to the name and the creation time information of the file b, wherein the file b is the file data which is stored in the cache unit 5 and is sent to the mobile terminal of the user before 10 hours.
After receiving the data which is obtained last and sent by the data obtaining unit 2 and the corresponding data identification, the sequence generating unit 3 extracts the creation time, the header information and a partial data sequence in the data, wherein the partial data sequence is a sequence which is obtained by intercepting a certain length from a random position in the original data sequence. The sequence generating unit 3 concatenates the creation time, the header information, and the partial data sequence to form an additional sequence. Subsequently, the sequence generating unit 3 encapsulates the length of the additional sequence with the additional sequence, and transmits the encapsulated information to the inserting unit 4.
For example: the current request time is 201901011923, and when the sequence generating unit 3 receives the file b, the extracted creation time is 201901010923, and then the header information of the file b is extracted. The sequence generating unit 3 intercepts a data sequence with the length of 200 from the random position p of the file b, and then generates an additional sequence in the form of header information + creation time + data sequence with the length of 200 after splicing the creation information, the header information and the intercepted data sequence. It is assumed that the length of the header information is 20, and thus the length of the resulting additional sequence is 232.
The inserting unit 4 receives the data sequence requested by the user and the encapsulation information sent by the sequence generating unit 3, which are sent by the data acquiring unit 2, acquires the additional sequence and the length information, inserts the additional sequence into a random position in the data sequence requested by the user, generates the processed data requested by the user, sends the data and the length information to the user mobile terminal, and simultaneously sends the data and the length information to the buffer unit 5.
For example: the insertion unit 4 inserts the data sequence of header information + creation time + length 200 into a random position of the data sequence of the file a, which may be a front, middle or rear part of the sequence. Since the associated legal user mobile terminal can acquire the header information and the creation time of the correct file b, the user mobile terminal can quickly locate the additional sequence in the received file a sent by the inserting unit 4 according to the header information of the file b, and acquire the content of all the additional sequences according to the length information of the received additional sequences sent by the inserting unit 4, so that the correct data content of the file a can be obtained after the additional sequences are removed.
The invention also provides a cache data security management method, which is applied to the esim card and specifically comprises the following steps:
(1) and sending data request information to the esim card.
(2) And extracting the data identification input by the user and the data identification acquired last time from the request from the time from the request information, and sending the data identification input by the user and the data identification acquired last time to the data acquisition unit.
The specific mode is as follows: the user inputs the name and source information of the file a, the mobile terminal of the user judges through the time and date of the request, requests and obtains the file b with the data being 10 hours before from the esim card last time, and sends the name and the creation time information of the file b to the receiving unit together with the name and the source information of the file a. The file a and the file b are both stored in the cache unit and are both data files transmitted by the esim card to the same user mobile terminal.
(3) And after receiving the data identification sent by the receiving unit, acquiring a corresponding data file according to the data identification input by the user, and sending the data file to the inserting unit. Meanwhile, according to the data identification obtained last time, the corresponding data file obtained last time is obtained and sent to the sequence generation unit together with the data identification obtained last time.
The specific mode is as follows: acquiring all data files including the file a name sent by a sender of a source information identifier according to the file a name and the source information; and acquiring the data of the file b according to the name and the creation time information of the file b, wherein the file b is the file data which is stored in the cache unit 5 and is sent to the mobile terminal of the user before 10 hours.
(4) After receiving the latest data file sent by the data acquisition unit and the latest acquired data identifier, extracting the creation time, the header information and a partial data sequence in the data file, wherein the partial data sequence is a sequence with a certain length intercepted from a random position in the original data sequence. And then, splicing the creation time, the header information and the partial data sequence to form an additional sequence. Further, the length of the additional sequence is encapsulated with the additional sequence, and the encapsulated information is transmitted to an insertion unit.
The specific mode is as follows: the current request time is 201901011923, and after receiving the file b, the extracted creation time is 201901010923, and then the header information of the file b is extracted. And intercepting a data sequence with the length of 200 from the random position p of the file b, and splicing the creation information, the header information and the intercepted data sequence to generate an additional sequence in the form of header information + creation time + data sequence with the length of 200. It is assumed that the length of the header information is 20, and thus the length of the resulting additional sequence is 232.
(5) After receiving the data sequence requested by the user and the encapsulation information sent by the sequence generation unit, the data acquisition unit acquires the additional sequence and the length information, inserts the additional sequence into the random position in the data sequence requested by the user, generates the processed data requested by the user, sends the data and the length information to the user mobile terminal, and simultaneously sends the data and the length information to the cache unit.
The specific mode is as follows: the data sequence of header information + creation time + length 200 is inserted into the random position of the data sequence of the file a, and the position can be the front section, the middle section or the rear section of the sequence. Because the associated legal user mobile terminal can obtain the correct header information and the creation time of the file b, the additional sequence can be quickly positioned in the received file a sent by the inserting unit according to the header information of the file b, and the content of all the additional sequences can be obtained according to the length information of the received additional sequence sent by the inserting unit, so that the data content of the correct file a can be obtained after the additional sequences are removed.
The preferred embodiments of the present disclosure are described above with reference to the drawings, but the present disclosure is of course not limited to the above examples. Various changes and modifications within the scope of the appended claims may be made by those skilled in the art, and it should be understood that these changes and modifications naturally will fall within the technical scope of the present disclosure.
For example, a plurality of functions included in one unit may be implemented by separate devices in the above embodiments. Alternatively, a plurality of functions implemented by a plurality of units in the above embodiments may be implemented by separate devices, respectively. In addition, one of the above functions may be implemented by a plurality of units. Needless to say, such a configuration is included in the technical scope of the present disclosure.
In this specification, the steps described in the flowcharts include not only the processing performed in time series in the described order but also the processing performed in parallel or individually without necessarily being performed in time series. Further, even in the steps processed in time series, needless to say, the order can be changed as appropriate.
Although the embodiments of the present disclosure have been described in detail with reference to the accompanying drawings, it should be understood that the above-described embodiments are merely illustrative of the present disclosure and do not constitute a limitation of the present disclosure. It will be apparent to those skilled in the art that various modifications and variations can be made in the above-described embodiments without departing from the spirit and scope of the disclosure. Accordingly, the scope of the disclosure is to be defined only by the claims appended hereto, and by their equivalents.