Method and apparatus for mining information template.
Abstract
The present disclosure refers to a method and a device for extracting an information template, and belongs to the technical field of information; The method includes: acquiring a modeling information set, the modeling information set including multiple modeling information; respectively encrypt numerical information included in the multiple modeling information to obtain multiple encrypted information; and grouping the multiple encrypted information to obtain at least one information template; In accordance with the present disclosure, the template information is extracted through the study of multiple modeling information, and the numerical information included in the modeling information is encrypted during the template extraction process, which prevents the privacy of the user will leak through the extracted template, thus providing a more scientific method of extracting an information template.

Term
9.3 yearsleft in the term
Expires 29 December 2035.
- Priority
- Filed
- Granted
- Today
- Expires
31 claims: 3 independent, 28 dependent
- 1CLAIMS REIVINDICACIONES 1 .- Un método para extraer una plantilla de información que comprende:one .- A method to extract an information template that includes: acquiring a set of modeling information, the set of modeling information comprises multiple modeling information;adquirir un conjunto de información de modelado, el conjunto de información de modelado comprende múltiple información de modelado;encriptar respectivamente información numérica comprendida en la múltiple información de modelado para obtener múltiple información encriptada;y agrupar la múltiple información encriptada para obtener al menos una plantilla de información. respectively encrypt numerical information comprised in the multiple modeling information to obtain multiple encrypted information;and grouping the multiple encrypted information to obtain at least one information template.
- 16- A device to extract an information template, comprising:16 .- Un dispositivo para extraer una plantilla de información, que comprende: an acquisition module configured to acquire a set of modeling information, the set of modeling information comprises multiple modeling information;un módulo de adquisición configurado para adquirir un conjunto de información de modelado, el conjunto de información de modelado comprende múltiple información de modelado;an encryption module configured to respectively encrypt numerical information comprised in the multiple modeling information to obtain multiple encrypted information;and a grouping module configured to group the multiple encrypted information to obtain at least one information template. un módulo de encriptación configurado para encriptar respectivamente información numérica comprendida en la múltiple información de modelado para obtener múltiple información encriptada;y un módulo de agrupamiento configurado para agrupar la múltiple información encriptada para obtener al menos una plantilla de información.
- 3131, - A device to extract an information template, comprising:31,- Un dispositivo para extraer una plantilla de información, que comprende: 103 a processor;and a memory for storing instructions executable by the processor;103 un procesador;y una memoria para almacenar instrucciones ejecutables por el procesador;en donde el procesador está configurado para: where the processor is configured to: 5 acquiring a set of modeling information, the set of modeling information comprising multiple modeling information;5 adquirir un conjunto de información de modelado, el conjunto de información de modelado comprendiendo múltiple información de modelado;encriptar respectivamente información numérica comprendida en la múltiple información de modelado para 10 obtener múltiple información encriptada;y agrupar la múltiple información encriptada para obtener al menos una plantilla de información. respectively encrypt numerical information comprised in the multiple modeling information to obtain multiple encrypted information;and grouping the multiple encrypted information to obtain at least one information template. 104 104
Independent claims3
278 paragraphs in 6 sections, as filed
(54) Title: METHOD AND DEVICE TO EXTRACT INFORMATION TEMPLATE.
(54) Title: METHOD AND APPARATUS FOR MINING INFORMATION TEMPLATE.
(57) Summary
The present disclosure refers to a method and a device for extracting an information template, and belongs to the technical field of information; The method includes: acquiring a modeling information set, the modeling information set including multiple modeling information; respectively encrypt numerical information included in the multiple modeling information to obtain multiple encrypted information; and grouping the multiple encrypted information to obtain at least one information template; In accordance with the present disclosure, the template information is extracted through the study of multiple modeling information, and the numerical information included in the modeling information is encrypted during the template extraction process, which prevents the privacy of the user will leak through the extracted template, thus providing a more scientific method of extracting an information template.
(57) Abstract
A method and apparatus for mining an information template, relating to the technical field of Information. The method comprises: obtaining a modeling information set, wherein the modeling information set comprises multiple pieces of modeling information (101); separately encrypting numerical information contained in the multiple pieces of modeling information to obtain multiple pieces of encrypted information (102); and clustering the multiple pieces of encrypted information to obtain at least one information template (103). By learning multiple pieces of modeling information to mine out an information template, and meanwhile encrypting numerical information contained in the modeling information during the template mining process to prevent the mined template from leaking user privacy, a more scientific Information template mining method is provided.
METHOD AND DEVICE TO EXTRACT INFORMATION TEMPLATE
FIELD OF THE INVENTION
The present disclosure relates to the technical field of information, and more particularly to a method and a device for extracting an information template.
BACKGROUND OF THE INVENTION
In modern life, users will receive a lot of notification information sent via short messages, email, and instant messages every day. When this information is studied, it is discovered that this information usually has similar text schemes, and information templates extracted on the basis of these text schemes are very important for aspects such as improving the user experience, and the promotion of natural language processing technologies.
Today, frequent sequence extraction is a common method of extracting an information template, which extracts information templates from information in bulk through a preset threshold. During practical applications, if the frequency of certain information is greater than the preset threshold, then the information is used as the information template.
BACKGROUND OF THE INVENTION
The present disclosure provides a method and a device for extracting an information template.
In accordance with a first aspect of the embodiments of the present disclosure, a method is provided for extracting an information template, including:
acquire a set of modeling information, the set of modeling information includes multiple modeling information;
respectively encrypt numerical information included in the multiple modeling information to obtain multiple encrypted information; and grouping the multiple encrypted information to obtain at least one information template.
In accordance with a second aspect of the embodiments of the present disclosure, a device is provided for extracting an information template, including:
an acquisition module configured to acquire a set of modeling information, the set of modeling information including multiple modeling information;
an encryption module configured to respectively encrypt numerical information included in the multiple modeling information to obtain multiple encrypted information; and a grouping module configured to group the multiple encrypted information to obtain at least one information template.
In accordance with a third aspect of the embodiments of the present disclosure, a device is provided for extracting an information template, including:
a processor; and a memory for storing instructions executable by the processor;
where the processor is configured to:
acquiring a modeling information set, the modeling information set including multiple modeling information;
respectively encrypt numerical information included in the multiple modeling information to obtain multiple encrypted information; and grouping the multiple encrypted information to obtain at least one information template.
The technical solutions provided by the embodiments of the present disclosure have the following beneficial effects:
The template information is extracted through the study of multiple modeling information, and the numerical information included in the modeling information is encrypted during the template extraction process, which prevents user privacy from leaking through the extracted template, so that a more scientific method is provided to extract a template and information.
It will be understood that both the above general description as well as the following detailed description are exemplary and serve for explanation only and are not restrictive of the invention.
BRIEF DESCRIPTION OF THE FIGURES
The accompanying drawings, which are incorporated into and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
FIG. 1 is a flow chart of a method for extracting an information template, according to an exemplary embodiment.
Fig. 2 is a flow chart of a method for extracting an information template, according to an exemplary embodiment.
Figure 3 is a structure diagram illustrating a device for extracting an information template, according to an exemplary embodiment.
Figure 4 is a block diagram illustrating a device for extracting an information template, in accordance with an exemplary embodiment.
DETAILED DESCRIPTION OF THE INVENTION
Reference will now be made in detail to exemplary embodiments, the examples of which are illustrated in the accompanying drawings. The following description refers to the accompanying drawings in which the same numbers in different drawings represent the same or similar elements unless otherwise represented. The implementations set forth in the following description of the exemplary embodiments do not represent all implementations consistent with the invention. Rather, they are simply examples of devices and methods consistent with some aspects related to the invention as mentioned in the appended claims.
FIG. 1 is a flow chart of a method for extracting an information template, according to an exemplary embodiment. As shown in Figure 1, the method for extracting an information template is used on a server, including the following steps.
In step 101, a set of modeling information is acquired, the set of modeling information including multiple modeling information.
In step 102, numerical information included in the multiple modeling information is respectively encrypted to obtain multiple encrypted information.
In step 103, the multiple encrypted information is grouped to obtain at least one information template.
According to the method provided by the modality of the present disclosure, the information template is extracted (excavated) through the study of multiple modeling information, and the numerical information included in the modeling information is encrypted during the extraction process. template, which prevents user privacy from being disclosed by the extracted template, so that a more scientific method is provided for extracting an information template.
In another embodiment of the present disclosure, acquiring the modeling information set includes: acquiring multiple information to be processed, each information to be processed includes at least one sending end identity;
dividing the multiple information to be processed into different information sets, the information to be processed in each information set has the same sending end identity;
acquiring a first preset number of information to be processed from the corresponding information set according to the sending end identity of any information to be processed; and composing the first preset number of information to be processed in the modeling information set.
In another embodiment of the present disclosure, the encryption respectively of the numerical information included in the multiple modeling information to obtain the multiple encrypted information includes:
with respect to any modeling information, acquiring a territory identity of the modeling information in accordance with a receiving end identity of the modeling information;
encrypting the receiving end identity of the modeling information to obtain a first characteristic code of the modeling information;
encrypting the numerical information in the modeling information according to a type of the numerical information included in the modeling information to obtain a second feature code of the modeling information; and composing the territory identity, the first feature code, the second feature code, and the time of reception of the modeling information into an encrypted information.
In another embodiment of the present disclosure, grouping the multiple encrypted information to obtain at least one information template includes:
respectively consolidating the encrypted information that satisfies a first consolidation condition in the multiple encrypted information to obtain multiple first consolidated information;
respectively consolidate the encrypted information that satisfies a second consolidation condition in the multiple first consolidated information to obtain multiple second consolidated information; and grouping the multiple second consolidated information to obtain at least one information template.
In another embodiment of the present disclosure, the consolidation respectively of the encrypted information that satisfies the first condition of consolidation in the multiple encrypted information to obtain the multiple first consolidated information includes:
acquiring multiple first blocks of target encrypted information from the multiple encrypted information, the encrypted information in each first block of target encrypted information having the same territory identity, the first feature code and the second feature code;
sequencing the encrypted information in any first target encrypted information block according to the reception time in a late-to-early order; and saving the encrypted information in the first target encrypted information block having the latest reception time and deleting the remaining encrypted information in the first target encrypted information block to obtain a consolidated first information.
In another form of this disclosure, the consolidation respectively of the encrypted information that satisfies the second consolidation condition in the multiple first consolidated information to obtain the multiple second consolidated information includes:
acquiring multiple second blocks of target encrypted information from the multiple first consolidated information, the first consolidated information in every second block of target encrypted information has the same territory identity and the second feature code;
with respect to any second target encrypted information block, acquiring the number of the first consolidated information in the second target encrypted information block and the latest reception time of the first consolidated information in the second target encrypted information block; and compose the territory identity of the second target encrypted information block, the number of the first consolidated information in the second target information block, the second characteristic code of the second target encrypted information block and the last reception time of the first information consolidated in the second block of target encrypted information into a second consolidated information.
In another embodiment of the present disclosure, the grouping of the multiple second consolidated information to obtain at least one information template includes:
dividing the multiple second information consolidated into multiple third blocks of target encrypted information, the second information consolidated into every third block of target encrypted information having the same territory identity;
with respect to any third block of objective encrypted information, acquire the number of the first consolidated information, consolidated through any second information consolidated in the third block of objective encrypted information, and when the number of the first consolidated information, consolidated by the second consolidated information is greater than a first threshold, compose information contents corresponding to the second consolidated information, the number of the first consolidated information, consolidated through the second consolidated information and the last reception time of the third block of target encrypted information in an entry; and consolidate multiple entries having the same information contents in the third target encrypted information block to obtain an information template, the number of the applicable encrypted information of the information template is a sum of the number of the encrypted information consolidated by the multiple entries, and the time of reception of the information template being the last time of reception of the multiple entries.
In another embodiment of the present disclosure, the method, after grouping the multiple encrypted information to obtain at least one information template, further includes:
verify a coverage rate for each information template; and determining an actual information template from at least one information template according to the verification result.
In another form of this disclosure, the verification of the coverage rate of each information template includes:
acquiring a set of test information, the set of test information including multiple test information;
respectively processing the multiple test information to obtain multiple first blocks of test information; and verifying the coverage rate of each information template according to the first multiple blocks of test information.
In another embodiment of this disclosure, the acquisition of the test information set includes:
acquire a second pre-established number of information to be processed from the remaining information to be processed in the information set corresponding to the identity of the sending end of the information to be processed to obtain the information set test.
In another embodiment of the present disclosure, respectively processing the multiple test information to obtain the first multiple blocks of test information includes:
respectively encrypt the multiple test information to obtain multiple encrypted test information;
respectively consolidating the encrypted test information satisfying a third consolidation condition into the multiple encrypted test information to obtain multiple third consolidated information; and dividing the multiple third information consolidated into multiple first blocks of test information, the third information consolidated into each first block of test information having the same territory identity.
In another embodiment of the present disclosure, the encryption of the multiple test information to obtain the multiple encrypted test information includes: with reference to any test information, acquiring a territory identity of the test information according to an identity of end of receiving test information;
encrypting the receiving end identity of the test information to obtain a first feature code of the test information; and composing the territory identity of the test information, the first feature code, and the information contents of the test information into an encrypted test information.
In another embodiment of the present disclosure, the consolidation of the multiple encrypted test information to obtain the multiple third consolidated information includes:
acquiring multiple second test information blocks from the encrypted test information, the encrypted test information in every second test information block having the same territory identity and information contents;
acquiring the number of the encrypted test information in any second test information block; and composing the territory identity of the second block of test information, the number of the encrypted test information in the second block of test information, and the information contents of the second block of test information into a consolidated test information.
In another embodiment of this disclosure, checking the coverage rate of each information template according to the first multiple blocks of test information includes:
with reference to any information template, acquiring the number of the information paired with the information template in each first test information block; and if the number of the information in the information template matched with any first block of test information is greater than a second threshold, acquiring a relationship between the number of the matched information and the number of the test information included in the first test information block.
In another embodiment of the present disclosure, determining the actual information template from at least one information template according to the verification result includes:
If the relationship between the number of the paired information and the number of the test information included in the first test information block is within a preset range, determining the information template as being the actual information template.
All the optional technical solutions mentioned above can form an optional embodiment of the present disclosure using any combination, which will not be elaborated one by one here.
Fig. 2 is a flow chart of a method for extracting an information template, according to an exemplary embodiment. As shown in figure 2, the method to extract an information template is used on a server, including the following steps.
In step 201, a server acquires a set of modeling information, the set of modeling information including multiple modeling information.
In modern life, users will receive notification information sent by service providers through ways such as short message, email, and instant message every day. While this information is being sent, generally, a uniform information template will be employed and the related information of the users is populated by the servers of the service providers, and then the information is sent automatically to each user. Through the study of this information, information templates applied to that information can be extracted. These information templates can not only help users understand the latest news from service providers and improve the effects of the experience, but they can also promote the development of natural language processing technologies.
It should be illustrated that because different types of information refer to different service providers, and the information contents sent by the providers of different service providers are generally different, in order to perform a focused template extraction and improve accuracy. of the extracted information templates, the method provided by the modality needs to collect the information of the same type while extracting the information templates, in order to extract the information template from this type of information.
For example, the server may collect various short messages sent to users by the servers of service providers such as China Mobile, China Telecom, and China Unicom, in order to extract the template information from the collected short messages. The server can also collect instant messages sent to users by different instant application servers, in order to extract the information template from the collected instant messages. The server can also collect the notification mails sent to users by different mail servers, in order to extract the template information from the collected notification mails.
The information collected that is going to be processed is large in quantity, and the process of extracting the information template will be very slow in case the information template is extracted according to all the information collected that is going to be processed. In this way, the server can acquire a set of modeling information according to the collected information to be processed. The modeling information set includes a plurality of modeling information, the modeling information being information to be processed to extract the information template. For example, the following steps 2011-2014 can be employed when the server acquires the modeling information set.
In step 2011, the server acquires multiple information to be processed, each information to be processed including at least one sending end identity.
The server, while acquiring the multiple information to be processed, can collect information sent to users from the server of each service provider, in order to take the collected information as the multiple acquired information that is going to be processed. In one embodiment, each information to be processed may include at least a sending end identity, a receiving end identity, an information receiving time, or the like. If the information to be processed is a short message, then the sending end identity included in each information to be processed should be a number of a sender, and the identity of the receiving end should be a number of one. addressee. If the information to be processed is mail, then the sending end identity included in each information to be processed should be a mailbox corresponding to a mail server, and the receiving end identity should be a user's mailbox. If the information to be processed is an instant message, then the sending end identity included in each information to be processed should be an instant communication number corresponding to an instant application server, and the end identity of reception should be an instant communication number of the user, or similar.
In general, the information to be processed, collected by the server, can possibly be sent to the users by the server of each service provider at a different time, and some of this information is irrelevant to the user because the information is too old, and the extracted information template, based on this information, will certainly be lost due to its values. Therefore, in order to ensure that the extracted information templates are irrelevant, the server can preset a designated time after acquiring multiple information to be processed, and mainly display the information to be processed according to with the designated time, in order to save the information that is going to be processed having a reception time after the designated time, and eliminate the information that is going to be processed having a reception time prior to the designated time.
In step 2012, the server divides the multiple information to be processed into different information sets, the information to be processed in each information set has the same sending end identity.
The server divides the information to be processed having the same identity of the sending end into an information set according to the identity of the sending end, the information that is going to be processed in each set of information having the same identity of shipping end. By dividing the multiple information to be processed, each information set and the sending end identity will be in a one-to-one correspondence. For example, the information to be processed having a sending end identity of 10086 can be divided into an information set A, and the information to be processed having a sending end identity of 10011 can be divided into an information set B, or the like.
In step 2013, the server acquires a first preset number of information to be processed from the corresponding information set according to the identity of the sending end of any information to be processed.
In the present embodiment, the information set and the sending end identity are in a one-to-one correspondence, and the server can acquire the corresponding information set according to any sending end identity. Because each information set includes a large number of information to be processed, the operational complexity is high in case the information template is extracted according to all the information to be processed. In this way, in order to improve the information template extraction speed, the method provided by the present embodiment can acquire partial information to be processed from the acquired information set to form a modeling information set. Taking as an example the selection of a first preset number of information to be processed, the first preset number may be 1000, 2000, 3000 or the like, and the first preset number will not be particularly defined in the mode.
In step 2014, the server composes the first preset number of information to be processed into a set of modeling information.
Based on the first preset number of acquired information to be processed, the server can compose the first preset number of information to be processed into the modeling information set.
It should be illustrated that since the modality refers to different information that is going to be processed, to facilitate the distinction of different information that is going to be processed, the information that is going to be processed can be divided into modeling information and information of test in this modality according to different uses of the information to be processed. The modeling information is used mainly to extract the information template, and the test information is used mainly to verify the extracted information templates.
In step 202, the server respectively encrypts numerical information included in the multiple modeling information to obtain multiple encrypted information.
Generally, the information received by the user can include certain privacy information, for example, a name, a telephone number, a date of birth, a bank card number, a member card number, a consumption amount, a code of validation, an order number, or similar. In this modality, the name is text privacy information, and the telephone number, date of birth, bank card number, member card number, consumption amount, validation code, order number order form, or the like belong to numerical privacy information which is referred to as numerical information.
Text privacy information is distinctive for users, and different text privacy information is generally different or not completely.
4 identical for different users. With regard to text information without a distinctive character, for example, dear customers texts or the like frequently appear in the short message, the user's identity information cannot be speculated according to the information; therefore, the information does not belong to the privacy information. With reference to the text information that has the distinctive character, for example, San ZHANG and Si LI or similar, related information such as the identity of the user can be speculated through this information. Therefore, in order to prevent user privacy from being disclosed, the server may select an appropriate wildcard character to replace this information.
In order to better protect the prevalence of the user, with reference to the numerical information included in the modeling information, the server can encrypt this information using an encryption algorithm to obtain a plurality of encrypted information. The following steps 2021-2024 can be employed to execute the particular process.
In step 2021, the server, with respect to any modeling information, acquires a territory identity of the modeling information in accordance with a receiving endpoint identity of the modeling information.
Generally, different service providers use different information templates in different positions or regions with respect to different region characteristics. Because the receiving end identity can locate the positions or regions of different users, the server can acquire the territory identity of the modeling information according to the receiving end identity of the modeling information. In the present mode, the identity of territory can be represented by place, and the identities of territory (place) corresponding to different positions of territory are different, for example, the identity of territory of Beijing is beijing, and the identity of territory of Shanghai is Shanghai, or similar.
In step 2022, the server encrypts the receiving endpoint identity of the modeling information to obtain a first characteristic code of the modeling information.
The server, while encrypting the receiving end identity of the shaping information, may employ a preset encryption algorithm for encryption, the preset encryption algorithm is determined by the server. A ciphertext corresponding to the identity of the receiving end of the modeling information can be acquired through the encryption of the identity of the receiving end of the modeling information using the preset encryption algorithm, the ciphertext is called the first feature code. In the present embodiment, the first feature code can be represented by encrypted text, the encrypted text of different receiving end identities are different, for example, the encrypted text of a receiving end identity 123456 is a, and the encrypted text of an identity receiving end 258369 is b, or the like.
It should be noted that the first feature codes obtained by encrypting different receiving end entities using the preset encryption algorithm are different, and the first feature code corresponding to each receiving end identity is unique; that is, the receiving end identity and the first feature code are in a one-to-one correspondence.
In step 2023, the server encrypts the numerical information in the modeling information according to a type of the numerical information included in the modeling information to obtain a second feature code of the modeling information.
In the present embodiment, the ciphertext corresponding to different types of numerical information are also different, for example, if the type of the numerical information is a telephone number, then the ciphertext corresponding to the numerical information can be <Telephone Number> ; if the type of numerical information is a date, then the ciphertext corresponding to the numerical information can be <Time>; and if the type of the second information is a number, then the ciphertext corresponding to the numeric information can be <Number>.
The server, while encrypting the numerical information included in the modeling information, can use the ciphertext corresponding to the type of numerical information to replace the corresponding numeric information in the modeling information, in order to obtain the second characteristic code of the information modeling. In the present embodiment, the second feature code can be represented by contentNew.
For example, if the type of the numerical information of the modeling information is a telephone number 10086, then the second feature code <Telephone Number corresponding to the telephone number is used to replace 10086, in order to obtain the second code of <Phone Number> characteristic of the modeling information.
In step 2024, the server composes the territory identity, the first feature code, the second feature code, and the reception time of the modeling information into an encrypted information.
The server forms the territory identity, the first feature code, the second feature code, and the time of reception of the modeling information into an encrypted information. In the present embodiment, the reception time can be represented by a date stamp. At this time, the encrypted information can be tetrad information that can be represented by <place, encrypted text, contentNew, datetime>.
It should be illustrated that taking the above encryption, any modeling information in the modeling information set, for example, the encryption process other than the modeling information is identical to the encryption process of the modeling information during practical application. Please refer to the modeling data encryption process above for details, and the process will not be elaborated here.
In order to intuitively show the process of performed on the numerical information included in the multiple modeling information, hereinafter a detailed explanation and illustration will be provided taking a short message 1, a short message 2 and a short message 3 as examples .
For example, short message 1 is: [Bank] Dear Mr / Ms Fei LIU, you have changed your original mobile phone number (registration number 0102) to mobile phone number (registration number 0988) on August 21, 2014, Please use the new mobile phone number to conduct business transactions through electronic banking, and please call 95580 if you have any questions.
Short message 2 is: [Bank] Dear Mr / Ms Jie ZHANG, you have changed your original mobile phone number (registration number 0209) to mobile phone number (registration number 0898) on July 13, 2014, please use the new mobile phone number for commercial electronic banking transactions, and please call 95580 with any questions.
Short message 3 is: [Bank] Dear Mr / Ms Changjiang WANG, you have changed your original mobile phone number (registration number 0109) to mobile phone number (registration number 1234) on August 7, 2014, please use the new mobile phone number to carry out commercial electronic banking transactions, and please call 95580 in case of any questions.
Because short message 1, short message 2 and short message 3 refer to user privacy information such as time, mobile phone number, phone number or the like, in order to protect privacy from the user, the method provided by the modality can be used to encrypt the numerical information in these short messages, and the following encrypted information can be obtained after encryption:
encrypted information 1: [Bank] Dear Mr / Ms Fei LIU, you have changed your original mobile phone number (registration number <Number>} to mobile phone number (registration number <Number>) on <Time>, please to use the new mobile phone number to carry out commercial electronic banking transactions, and please call <Phone number in case of any questions;
encrypted information 2: [Bank] Dear Mr / Ms Jie ZHANG, you have changed your original mobile phone number (registration number <Number>} to mobile phone number (registration number <Number>) on <Time>, please to use the new mobile phone number to carry out commercial electronic banking transactions, and please call <Phone Number> in case of any questions; and encrypted information 3: [Bank] Dear Mr / Ms Changjiang WANG, you have changed your original mobile phone number (registration number <Number>) to mobile phone number (registration number <Number> ') on <Time. po>, please use the new mobile phone number to conduct commercial electronic banking transactions, and please call <Phone Number> if you have any questions.
Furthermore, in order to facilitate the management of the encrypted information, the server can compose the multiple encrypted information into a set of encrypted information. In the present embodiment, the set of encrypted information can be represented by body, and the body includes multiple tetrad encrypted information that can be represented by <place, encrypted text<sub>r </sub>contentNew, datetime>.
In step 203, the server groups the multiple encrypted information to obtain at least one information template.
In order to reduce the complexity of the process to extract the information templates and improve the efficiency of the information template extraction, the server, based on the multiple encrypted information obtained, can group the multiple encrypted information to obtain at least one template of information.
In the present embodiment, the process for the server to group the multiple encrypted information to obtain at least one information template can be shown in the following steps 2031-2033.
In step 2031, the server respectively consolidates the encrypted information satisfying a first consolidation condition into the multiple encrypted information to obtain multiple first consolidated information.
The first consolidation condition refers to having the same territory identity, first characteristic code and second characteristic code, or similar.
Exemplary, the process for the server to respectively consolidate the encrypted information satisfying the first consolidation condition into the multiple encrypted information to obtain the multiple first consolidated information can be shown in the following steps 20311-20313.
In step 20311, the server acquires multiple first target encrypted information blocks from the multiple encrypted information, the encrypted information in each first target encrypted information block having the same territory identity, first feature code, and second feature code. .
Because each encrypted information can be represented in the tetrad information composed of the territory identity, the first characteristic code, the second characteristic code and the reception time, the server can acquire the encrypted information having the same territory identity. , the first feature code, and the second feature code according to the tetrad representation form of each encrypted information, in order to form the encrypted information block having the same territory identity, the first feature code and the second feature code in the first target encrypted information block.
For example, the server can acquire multiple encrypted information, where the encrypted information 1 can be <beijing, a, Number, 2015/06/01 / 12:00:00>, the encrypted information 2 can be <beijing, a, Number, 2015/01/04 / 07:00:00>, encrypted information 3 can be <beijing, a, Number, 2015/02/01 / 08:30>, encrypted information 4 can be <tianj in, c , Telephone Number, 2015/04/04 / 10:15:00>, the encrypted information 5 can be <tianjin, c, Telephone Number, 2015/07/14 / 10:15:00> the encrypted information 6 can be <tianj in, c, Telephone Number, 2015/07/12 / 06:20:00>. In the present embodiment, the server forms the encrypted information 1, the encrypted information 2 and the encrypted information 3 having the Beijing territory identity, the first characteristic code of A and the second characteristic code of Number in a first information block encrypted target. The server forms the encrypted information 4, the encrypted information 5 and the encrypted information 6 having the territory identity of tianjin, the first feature code of c, and the second feature code of Phone Number in another first target encrypted information block.
At step 20312, the server sorts the encrypted information into any first target encrypted information block according to the reception time in a descending order (from most recent to least recent).
Taking the encrypted information in any first target encrypted information block for an example, the server can also sort the encrypted information in the first target encrypted information block according to the reception time in a descending order.
Taking the first target encrypted information block composed of the encrypted information 1, the encrypted information 2, and the encrypted information 3 in the above example as an example, the server sorts the encrypted information according to the reception time in a descending order to Get the encrypted information 1, the encrypted information 2 and the encrypted information 3.
In step 20313, the server saves the encrypted information in the first target encrypted information blog having the latest reception time and removes the rest of the encrypted information in the first target encrypted information block, in order to obtain a first consolidated information. .
In general, the information that has the same territory identity, the first identity code and the second identity code refers to notification information that has the same information contents sent by a service provider to the same user, and the information is sent for multiple times due to server failures. While the information templates are being extracted, in order to reduce the calculation amount to extract the information templates, the server can save the encrypted information that has the latest reception time in the first target encrypted information block, and can delete the rest of the encrypted information in the first target encrypted information block. The encrypted information that has the last reception time is specifically the first consolidated information.
For example, encrypted information 1 in the first target encrypted information block is <beijing, a, Number, 2015/06/01 / 12:00:00>, encrypted information 2 is <beijing, a, Number, 2015 / 01/04 / 07:00:00>, the encrypted information 3 is <beijing, a, Number, 2015/02/01 / 08:30>, and the encrypted information 4 is <tianjin, or, Phone Number, 2015/04 / 04 / 10:15:00>, then the server can save the encrypted information 1 and can delete the encrypted information 2 and the encrypted information 3.
In step 2032, the server respectively consolidates the encrypted information satisfying a second consolidation condition in the multiple first consolidated information to obtain multiple second consolidated information.
In one embodiment, the second condition of consolidation refers to having the same territory and second characteristic code, or similar.
Exemplary, the process for the server to respectively consolidate the encrypted information satisfying the second consolidation condition into the multiple first consolidated information to obtain the multiple second consolidated information can be shown in the following steps 20231-30323.
In step 20321, the server acquires multiple second target encrypted information blocks from the multiple consolidated first information, the first information consolidates into every second target encrypted information block having the same territory identity and the second feature code.
Because each first consolidated information can be represented by the tetrad information composed of the territory identity, the first characteristic code, the second characteristic code and the reception time, the server can acquire the first consolidated information that has the same territory identity and the second characteristic code according to the form of tetrad representation of each first consolidated information, in order to form the first consolidated information having the same territory identity and the second feature code in the second target encrypted information block.
For example, the server respectively consolidates the encrypted information satisfying the first consolidation condition in the multiple encrypted information to obtain the multiple first encrypted information, where the first consolidation condition 1 is <shanghai, c,
Number, 2016/07/03 / 10:00:00>, the first consolidated information 2 is <shanghai, a, Number, 2015/01/08 / 07:00:00>, the first consolidated information 3 is <beijing, b, Telephone Number, 2015/02/05 / 08:30:12>, the first consolidated information 4 is <shanghai, b, Telephone Number, 2014/07/18 / 09:00:02>, the first consolidated information 5 is < beijing, b, Telephone Number, 2015/05/04 / 10:20:12>, and the first consolidated information 6 is <tianjin, c, Telephone Number, 2015/07/12 / 06:20:00>. The server forms the first consolidated information 1 and the first consolidated information 2 having the Shanghai territory identity and the second characteristic code of Number in a second target encrypted information block; and the server forms the first consolidated information 3 and the first consolidated information 5 having the Beijing territory identity and the second Telephone Number characteristic code in a second target encrypted information block.
In step 20322, with reference to any second block of target encrypted information, the server acquires the number of the first consolidated information in the second block of target encrypted information and the last reception time of the first consolidated information in the second block of target encrypted information.
In the present embodiment, the number of the first consolidated information in the second target encrypted information block may be 2, 3, or the like, and the number of the first consolidated information in the second target encrypted information blocks will not be defined in such a way. specific in this modality. In the present embodiment, the number of the first consolidated information in the second target encrypted information block can be represented by the.
In the present mode, the server also classifies the first consolidated information in the second block of target encrypted information according to the reception time from most recent to least recent, and acquires the last reception time of the first consolidated information in the second. blog of target encrypted information according to the ranking result. In the present embodiment, the last time of reception of the first consolidated information in the second target encrypted information block can be represented by last datetime.
Taking the above second objective encrypted information block composed of the first consolidated information 3 and the first consolidated information 5 as an example, the server can acquire that the number of the first consolidated information in the second objective encrypted information block is 2. Because the reception time of the first consolidated information 3 is <2015/02/05 / 08:30:12>, and the reception time of the first consolidated information is <2015/05/04 / 10:20: 00>, the server can acquire that the last time of reception of the first consolidated information in the second block of target encrypted information is 2015/05/04 / 10:20:00.
In step 20323, the server forms the territory identity of the second target encrypted information block, the number of the first consolidated information in the second target encrypted information block, the second feature code of the second target encrypted information block, and the last time of reception of the second information consolidated in the second block of information encrypted target in a second consolidated information.
In one embodiment, every second consolidated information is tetrad information that can be represented by place, the, contentNew, last date, time>.
It should be illustrated that the above is explained by consolidating the multiple first consolidated information into a second block of objective encrypted information. The process of consolidating the multiple first consolidated information into another second block of target encrypted information may refer to the above process of consolidating the multiple first consolidated information into any second block of target encrypted information, and will not be elaborated here.
In order to facilitate the handling of the multiple second consolidated information, the server also forms the multiple second consolidated information into a set body2.
In step 2033, the server groups the multiple consolidated information to obtain at least one information template.
Although the multiple modeling information in the modeling information set has been consolidated into multiple second consolidated information through the above process, the number of the second consolidated information obtained after consolidation is still too much, and the second partial consolidated information between This second consolidated information continues to have the same characteristics. In this way, the server can group the multiple second consolidated information to obtain at least one information template.
In another embodiment of the present disclosure, the following steps 20331-20333 may be employed when the server groups the multiple second consolidated information together to obtain at least one information template.
At step 20331, the server splits the multiple second consolidated information into multiple third target encrypted information blocks, the second information consolidated into every third target encrypted information block having the same territory identity.
In general, the information contents sent by service providers to users are different according to different territory characteristics, and the information templates extracted by the server, according to different information contents, are certainly different. Therefore, in order to conduct a template extraction of target information, the server can divide the multiple second consolidated information into multiple third blocks of encrypted target information according to the territory identity of the second consolidated information, the second consolidated information. in every third block of target encrypted information having the same territory identity.
During the specific implementation, the server can divide the body2 set into n disjointed subsets according to the territory identity of the second consolidated information included in body2, for example, body2 (placei), body2 (place2), body 2 (place3) , body2 (placen). With respect to any body 2 {place!), The identity of territory corresponding to each second information consolidated in body 2 {placei) is placei, and every second information consolidated in body2 {placei) is triad information that can be represented by <count, newcontent, datetime>.
In step 20332, with reference to any third target encrypted information block, the server acquires the number of the consolidated encrypted information by any second consolidated information in the third target encrypted information block, and then if the number of the consolidated encrypted information for the second consolidated information is greater than a first threshold, it forms the information contents corresponding to the second consolidated information, the number of the encrypted information consolidated by the second consolidated information and the last time of receipt of the second consolidated information in an entry.
Ά In order to guarantee the accuracy of the extracted information templates, with reference to any third block of target encrypted information, the server can preset a first threshold that can be 10, 20, 30 or similar, in order to extract the templates from information from the target encrypted information block based on a frequent subsequence extraction method. During this process, the server can compare the number of the encrypted information consolidated by any second information consolidated in the third block of target encrypted information with the territory threshold, and if the number of the encrypted information consolidated by the second consolidated information is greater that the first threshold forms the information contents corresponding to the second consolidated information, the number of the encrypted information consolidated by the second consolidated information and the last reception time and the third block of target encrypted information in an entry, and the entry can be indicated by <pat, c2, lastDatetime2>, where pat refers to to the information contents, c2 refers to the number of the information consolidated by the second consolidated information, and lastDatetime2 refers to the last time of receipt of the second consolidated information.
In step 20333, the server consolidates multiple entries having the same information contents into the third target encrypted information block to obtain an information template, the number of the applicable encrypted information from the information template being a sum of the number of the encrypted information consolidated by the multiple entries, and the time of reception of the information template being the last time of reception of the multiple entries.
The server consolidates multiple entries having the same information contents in the third target encrypted information block to obtain an information template, the number of the applicable encrypted information from the information template being the sum of the number of the encrypted information consolidated by the multiple entries, and the time of receipt of the information template being the last time of receipt of the multiple entries.
It should be illustrated that the above is explained by grouping any third block of target encrypted information to obtain an information template. The process of grouping another third block of objective encrypted information to obtain the information templates can refer to the previous step 2033, and will not be elaborated in the modality.
It can be seen, from the previous steps 201 to 203, that the process of extracting the information template in the modalities of the present disclosure is substantively a process of abstraction of the average templates and the coverage of the privacy information in the same as the name of the people, name of the place, or similar, as well as numerical information such as bank card number, mobile phone number or similar. Taking the extraction of the information template for short message 1, short message 2, short message 3 in step 2024 above for an example, employing the method provided by the embodiments of the present disclosure, the following template can be obtained of information:
[Bank] Dear Mr / Ms <*>, you have changed your original mobile phone number (registration number <Number>) to mobile phone number (registration number <Number>) on <Time>, please use the new mobile phone number for commercial electronic banking transactions, and please call <Phone Number> in case of any questions.
In step 204, the server checks a coverage rate of each information template.
Generally, the user's privacy information can be completely protected in the template through the above information template extraction process. However, to avoid that the user's privacy information is not completely protected in the information template due to a bug program, the method provided by the modality will also validate the coverage rate of all extracted information templates. The coverage rate validation refers to the calculation of the coverage ratio of the information template in the test information set, that is, the ratio of the number of paired information to all the information.
With reference to the triad <pat, c2, lastDatetime2> of each information template, in theory, the minimum coverage rate of each information template in the information that is to be processed in the corresponding body2 (placei) is c, establishes that the information to be processed included in body2 (placei) is N, then the coverage rate of pat in body2 (placei) is: rate = c / N.
In general, the expected value of the coverage rate of the template of information extracted pat on other established information should also be rate, and the expected value will generally fluctuate by ε. In other words, the expected value of the coverage rate of the pat information template in another set of information should be between [rate-ε, rate + ε], for the pat that has a coverage rate between [0, rate- a], it can be eliminated from the corresponding information template because the coverage rate is relatively small. A coverage number threshold m is provided, and the pat that has a coverage number less than m should also be removed from the corresponding information template, so that the coverage rate of the actual information template is between [rate -ε, Ι] and has a certain absolute cover number.
It should be illustrated that the information template extraction process is the process of concluding an information template from the information to be processed, while the process of verifying the coverage rate is the process of using the template. to match the test information. The two are contrary processes, which can ensure that the extracted information template does not include the user's privacy information from the positive and negative aspects. In addition, there is no intersection between the information set used in the process of verifying the coverage rate and the information set used in the template extraction process, which are randomly extracted from the original information set. The two groups of different information sets having similar distributions further ensure that the extracted information template does not include the user's privacy information.
For example, the following steps 2041-2043 can be employed while the server validates the coverage rate of each information template.
In step 2041, the server acquires a set of test information, the set of test information including multiple test information.
In order to improve the accuracy of the verification result, the server will acquire a second preset number of information to be processed from the remaining information to be processed in the information set corresponding to the sending end identity of the information to be processed, and will form the second preset number of information to be processed in a set of test information. The second preset number can be 100, 200 or 300 or the like, and the second preset number will not be specifically defined in the mode.
In step 2042, the server respectively processes the multiple test information to obtain multiple first blocks of test information.
The following steps 20421-20423 can be employed when the server respectively processes the multiple test information to obtain the first multiple blocks of test information.
In step 20421, the server respectively encrypts the multiple test information to obtain multiple encrypted test information.
The following steps 204211-204213 can be employed when the server encrypts the multiple test information to get the multiple encrypted test information.
In step 204211, the server, with reference to any test information, acquires the territory identity of the test information according to a receiving end entity of the test information.
Typically, different service providers use different information templates in different positions or regions with respect to different region characteristics. Because the receiving end identity can locate the positions or regions of different users, the server can acquire the territory identity of the test information according to the receiving end identity of the test information. In the present embodiment, the territory identity can be represented by place, and the corresponding territory identities (place) are different when the territory positions are different, for example, the territory identity of Beijing is beij ing and the identity of Shanghai's territory is Shanghai or similar.
In pasp 204212, the server encrypts the receiving end identity of the test information to obtain a first feature code of the test information.
The server, while encrypting the receiving end identity of the test information, may employ a preset encryption algorithm for encryption, the preset encryption algorithm is determined by the server. A ciphertext corresponding to the identity of the receiving end of the test information can be acquired through the encryption of the identity of the receiving end of the test information using the preset encryption algorithm, the ciphertext is also called the first feature code. In the present embodiment, the first feature module can also be represented by encrypted text, and different receiving end entities have different encrypted text, for example, encrypted text of a receiving end identity 123456 is a, and encrypted text of an identity receiving end 258369 is c, or the like.
It should be noted that the first feature codes obtained by encrypting different receiving end entities using the preset encryption algorithm are different, and the first feature code corresponding to each receiving end identity is unique; that is, the receiving end identity and the first feature code are in a one-to-one correspondence.
In step 204213, the server forms the territory identity of the test information, the first feature code, and the information contents of the test information into an encrypted test information.
The server forms the territory identity of the test information, the first feature code and the information contents of the test information into an encrypted information. In the present embodiment, the information contents of the test information can be represented by content. At this time, the encrypted test information can be triad information that can be represented by <place, encrypted text, content>.
It should be illustrated that taking the above encryption of any test information in the test information set for example, the encryption process of other test information is identical to the process of encryption of the test information during practical application. Please refer to the test data encryption process above for details, and the process will not be elaborated here.
In step 20422, the server respectively consolidates the encrypted test information satisfying a third consolidation condition into the multiple encrypted test information to obtain multiple third consolidated information.
During the specific implementation, the following steps 204221-204223 can be employed for the server to consolidate the multiple encrypted test information to obtain the multiple third consolidated information.
In step 204221, the server acquires multiple second blocks of test information from the multiple encrypted test information, the encrypted test information in every second block of test information has the same territory identity and information contents.
Because each encrypted test information can be represented in the triad information made up of the territory identity, the first feature code, and the information contents of the test information, the server can acquire the encrypted test information that it has. the same identity of territory and information contents according to the triad representation form of each encrypted test information, and can form the encrypted information block having the same territory identity and information contents in the second test information block.
For example, the server acquires multiple encrypted test information, where the encrypted test information 1 is <beij ing, a, content 1>, the encrypted test information 2 is <beij ing, b, content 1>, the information Encrypted test information 3 is <beij ing, c, content 1>, encrypted test information 4 is <tianjin, d, content 2>, and encrypted test information 5 is <tianj in, c, content 2>. The server forms the encrypted test information 1, the encrypted test information 2 and the encrypted test information 3 having the identity of beijing territory and the contents of content information 1 into a second test information block; and forms the encrypted information 4 and the encrypted information 5 having the Tianjin territory identity and the contents of content information 2 into another second test information block.
At step 204222, the server acquires the number of the encrypted test information in any second block of test information.
The number of the encrypted test information in the second test information block can be 2, 3 or similar, and the number of the encrypted test information in the second test information block will not be specifically defined in the mode . In the present embodiment, the number of the encrypted test information in the second test information block can be represented by c3.
In step 204223, the server forms the territory identity of the second test information block, the number of the encrypted test information in the second test information block, and the information contents of the second test information block in a consolidated test information.
Every second consolidated information is triad information that can be represented by <place, c3, content>.
It should be illustrated that the foregoing is explained by combining the encrypted test information in any second block of test information. The process of combining the encrypted test information into another second test information block may refer to the above process of combining the encrypted test information into any second test information block, and will not be elaborated here.
In order to facilitate the handling of the consolidated test information, the server also forms the multiple consolidated test information into a set body3.
In step 20423, the server divides the multiple third information consolidated into multiple first blocks of test information, the third information consolidated into each first block of test information having the same territory identity.
In general, the information contents sent by service providers to users are different according to the different characteristics of the territory, and the information templates that can be validated by the server according to the different information contents are certainly different Therefore, in order to perform target information template validation, the server can divide the multiple third information consolidated into multiple first blocks of test information, and the third information consolidated in each first block of test information has the same territory identity. During the possible specific implementation, the server can divide the body3 set into n disjointed subsets according to the territory identity of the second consolidated information included in body3, for example, validate body3 (place2), validate body3 (place3), and validate body3 (place). With reference to any validate body3 (placei), the identity of the territory corresponding to every third information consolidated in the validate body3 (placei) is placei, and every third information consolidated in the validate body3 (placei) in triad information that can be represented by <place, c4, content>, where, c4 is the number of the third consolidated information included in each first block of test information.
In step 2043, the server validates a coverage rate of each information template according to the first multiple blocks of test information.
The following steps 20431-20432 can be employed when the server validates the coverage rate for each information template according to the first multiple blocks of test information.
In step 20431, with reference to any information template, the server acquires the number of the information paired with the information template in each first test information block.
Taking any extracted information template as an example, the server will also match the information template with every first test information block in the first multiple test information blocks. During matching, the template content of the information template can be matched with the information content of every third consolidated information included in each first test information; when the template content of the information template is identical to the information content of any third consolidated information included in any first test information or a similarity between them is greater than a specific value, the information template is determined to be paired with any third consolidated information included in any first test information.
The number of the information template information paired with each first test information block in the first multiple test information blocks can be acquired through matching using this way.
With reference to the above process, in order to facilitate understanding, a detailed explanation and illustration will be provided hereinafter taking the pairing between an information template and a first test information block as an example.
For example, the extracted information template is [Bank] Dear Mr / Mrs <*>, you have changed your mobile phone number (registration number <Number>) to mobile phone number (registration number <Number>) in <Time>, please use the new mobile phone number for commercial electronic banking transactions, and please call <Phone Number> in case of any questions. The test information included in the first test information block is respectively a short message 1, a short message 2, a short message 3, a short message 4 and a short message 5, where the short message 1 is [Bank ] Dear Mr / Ms Fei LIU, you have changed your original mobile phone number (registration number 0102) to mobile phone number (registration number 0988) on August 21, 2014, Please use the new mobile phone number to perform electronic banking transactions, and please call 95580 in case of any questions; short message 2 is: [Bank] Dear Mr / Ms Jie ZHANG, you have changed your original mobile phone number (registration number 0209) to mobile phone number (registration number 8988) on July 13, 2014, please to use the new mobile phone number to carry out electronic banking transactions, and please call 95580 in case of any questions; short message 3 is: [Bank] Dear Mr / Ms Changjiang WANG, you have changed your original mobile phone number (registration number 0109) to mobile phone number (registration number 1234) on August 7, 2014, please to use the new mobile phone number to carry out electronic banking transactions, and please call 95580 in case of any questions; short message 4 is Dear customer, you can avoid entering ID card number or card number if you call using mobile phone 186 (registration number 1234) forced into the system to avoid tedious operation and enjoy simple life; and short message 5 is Dear customer, your order 10142389122 has been delivered and is en route, please wait patiently. Our shopping center will not ask you to provide your bank card information to operate the refund due to an invalid order, please keep an eye out for fraud. When the information template is paired with the five short messages in the first test information block, it can be found that the short message 1, the short message 2 and the short message 3 are paired with the information template, while the short message 4 and short message 5 are not paired with the information template.
In step 20432, if the number of the information matched to any first block of test information by the information template is greater than a second threshold, then the server acquires the ratio of the number of the matched information to the number of the test information. test included in the first block of test information.
The second threshold may be 3, 5, 8, or the like, and the second threshold will not be specifically defined in the mode. When the number of the information matched with any first block of test information by the information template is greater than the second threshold, the server will also acquire the ratio of the number of the matched information to the number of the test information included in the first test information block. For example, the number of the information paired with any first test information block by the information template is t, and the number of the test information included in the first test information block is o, then it can be acquired that the ratio of the number of the paired information to the number of the test information included in the first block of test information = t / o.
For example, when the information template is matched with any first test information block, the server acquires that the number of the information matched with the first test information block by the information template is 100; if the second threshold is set to be 120, then the server can acquire that the ratio of the number of the paired information to the number of the test information included in the first block of test information is 100/120 = 83.3%.
In step 205, the server determines an actual information template from at least one information template according to the verification result.
When the method according to the previous step 204 is employed to validate any extracted information template, if the ratio of the number of the paired information to the number of the test information included in the first block of test information is within a range By default, this information template can be considered as the actual information template, where the preset range can be [50%, 100%], [70%, 100%], or similar, and the preset range will not be specifically defined in the mode.
Also, in order to guarantee 100% user privacy information, after verifying the coverage rate of the information template, the server will also provide the actual validated information template to audit the personnel for manual audit, and only when Information template passes audit, provides information template to relevant technicians for use.
According to the method provided by the modalities of the present disclosure, the information template is extracted through the study of the multiple modeling information, and the numerical information included in the modeling information is encrypted during the template extraction process. , which prevents user privacy from being disclosed by the extracted template, so that a more scientific method for extracting an information template is provided.
Figure 3 is a structure diagram illustrating a device for extracting an information template, according to an exemplary embodiment. Referring to Figure 3, the device includes an acquisition module 301, an encryption module 302, and a grouping module 303.
The acquisition module 301 is configured to acquire a set of modeling information, the set of modeling information including multiple modeling information.
The encryption module 302 is configured to respectively encrypt numerical information included in the multiple modeling information to obtain multiple encrypted information. .
The grouping module 303 is configured to group the multiple encrypted information to obtain at least one information template.
In another embodiment of the present disclosure, the acquisition module 301 is configured to acquire multiple information to be processed, each information to be processed includes at least one sending end identity; dividing the multiple information to be processed into different information sets, the information to be processed in each information set has the same sending end identity; acquiring a first preset number of information to be processed from the corresponding information set according to the sending end identity of any information to be processed; and composing the first preset number of information to be processed in the modeling information set.
In another embodiment of the present disclosure, the encryption module 302 is configured to, with reference to any modeling information, acquire the territory identity of the modeling information in accordance with a receiving endpoint identity of the modeling information; encrypting the receiving end identity of the modeling information to obtain a first characteristic code of the modeling information; encrypting the numerical information in the modeling information according to a type of the numerical information included in the modeling information to obtain a second feature code of the modeling information; and composing the territory identity, the first feature code, the second feature code, and the time of reception of the modeling information into an encrypted information.
In yet another embodiment of the present disclosure, the grouping module 303 is configured to respectively consolidate the encrypted information satisfying a first consolidation condition into the multiple encrypted information to obtain multiple first consolidated information; respectively consolidate the encrypted information that satisfies a second consolidation condition in the multiple first consolidated information to obtain multiple second consolidated information; and grouping the multiple second consolidated information to obtain at least one information template.
In yet another embodiment of the present disclosure, the clustering module 303 is configured to acquire multiple first blocks of target encrypted information from the multiple encrypted information, the information encrypted in each first block of target encrypted information having the same territory identity. , the first feature code and the second feature code; sequencing the encrypted information in any first target encrypted information block according to the reception time in a descending order (ie, from most recent to least recent); and saving the encrypted information in the first target encrypted information block having the latest reception time and deleting the rest of the encrypted information in the first target encrypted information block to obtain a consolidated first information.
In yet another embodiment of the present disclosure, the clustering module 303 is configured to acquire multiple second blocks of target encrypted information from the multiple first consolidated information, the first information consolidated in every second block of target encrypted information has the same territory identity and the second characteristic code; with reference to any second target encrypted information block, acquiring the number of the first consolidated information in the second target encrypted information block and the last reception time of the first consolidated information in the second target encrypted information block; and composing the territory identity of the second target encrypted information block, the number of the first consolidated information in the second target encrypted information block, the second characteristic code of the second target encrypted information block, and the last reception time of the first information consolidated in the second block of encrypted information objectively in a second consolidated information.
In yet another embodiment of the present disclosure, the clustering module 303 is configured to divide the multiple second consolidated information into multiple third target encrypted information blocks, the second information consolidated into every third target encrypted information block having the same territory identity. ; with reference to any third block of objective encrypted information, acquire the number of the first consolidated information, consolidated through any second information consolidated in the third block of objective encrypted information, and then compose the information contents corresponding to the second consolidated information , the number of the first consolidated information by the second consolidated information, and the last receiving time of the third target encrypted information block in an entry when the number of the first consolidated information, consolidated by the second consolidated information, is greater than a first threshold; and consolidate multiple entries that have the same information contents in the third target encrypted information block to obtain an information template, the number of the applicable encrypted information of the information template being the sum of the number of the encrypted information consolidated by the multiple entries, and the time of reception of the information template being the last time of reception of the multiple entries.
In yet another embodiment of the present disclosure, the device further includes a verification module and a determination module.
The verification module is configured to verify the coverage rate for each information template.
The determining module is configured to determine an actual information template from at least one information template according to the verification result.
In another embodiment of the present disclosure, the verification module is configured to acquire a set of test information, the set of test information including multiple test information; respectively processing the multiple test information to obtain multiple first blocks of test information; and verifying a coverage rate of each information template in accordance with the first multiple test information blocks.
In another embodiment of the present disclosure, the verification module is configured to acquire a second preset number of information to be processed from the remaining information to be processed in the information set corresponding to the end identity of sending the information to be processed, in order to obtain the set of test information.
In still another embodiment of the present disclosure, the verification module is configured to respectively encrypt the multiple test information to obtain multiple encrypted test information; respectively consolidating the encrypted test information satisfying a third consolidation condition into the multiple encrypted test information to obtain multiple third consolidated information; and dividing the multiple third information consolidated into multiple first blocks of test information, the third information consolidated into each first block of test information having the same territory identity.
In yet another embodiment of the present disclosure, the verification module is configured to, with reference to any test information, acquire the territory identity of the test information in accordance with the receiving end identity of the test information. ; encrypting the receiving end identity of the test information to obtain a first information characteristic code; and composing the territory identity of the test information, the first feature code, and the information contents of the test information into an encrypted test information.
In yet another embodiment of the present disclosure, the verification module is configured to acquire multiple second blocks of test information from the multiple encrypted test information, the encrypted test information in every second block of test information having the same identity of territory and information content; acquiring the number of the encrypted test information in any second test information block; and composing the territory identity of the second block of test information, the number of the encrypted test information in the second block of test information, and the information contents of the second block of test information into a consolidated test information.
In yet another embodiment of the present disclosure, the verification module is configured to, with reference to any information template, acquire the number of the information paired with the information template in each first test information block; and when the number of the information paired with any first block of test information by the information template is greater than a second threshold, acquiring the ratio of the number of the paired information to the number of the test information included in the first block of test information.
In yet another embodiment of the present disclosure, the determination module is configured for, when the ratio of the number of the paired information to the number of the test information included in the first block of test information is within a preset range, determine the information template to be the actual information template.
According to the device provided by the modalities of the present disclosure, the information template is extracted through the study of the multiple modeling information, and the numerical information included in the modeling information is encrypted during the template extraction process. , which prevents user privacy from being disclosed by the extracted template, so that a more scientific method is provided for extracting an information template.
With respect to the devices in the above embodiments, the specific ways to perform operations for individual modules therein have been described in detail in the embodiments with reference to the methods, which will not be elaborated here.
FIG. 4 is a block diagram illustrating a device 400 for extracting an information template, in accordance with an exemplary embodiment. For example, device 400 can be provided as a server. Referring to FIG. 4, device 400 includes a processing component 422 that further includes one or more processors, and memory resources represented by memory 432 for storing instructions executable by processing component 422, such as application programs. The application programs stored in memory 4 32 may include one or more modules, each corresponding to a set of instructions. Additionally, the processing component 422 is configured to execute the instructions to perform the above method for extracting an information template:
acquiring a modeling information set, the modeling information set including multiple modeling information;
respectively encrypt numerical information included in the multiple modeling information to obtain multiple encrypted information; and grouping the multiple encrypted information to obtain at least one information template.
In another embodiment of the present disclosure, the acquisition of the modeling information set includes:
acquiring multiple information to be processed, each information to be processed includes at least one sending end identity;
dividing the multiple information to be processed into different information sets, the information to be processed in each information set has the same sending end identity;
acquiring a first preset number of information to be processed from the corresponding information set according to the sending end identity of any information to be processed; and composing the first preset number of information to be processed in the modeling information set.
In yet another embodiment of the present disclosure, the respective encryption of the numerical information included in the multiple modeling information to obtain the multiple encrypted information includes:
with reference to any modeling information, acquiring the territory identity of the modeling information in accordance with the receiving end identity of the modeling information;
encrypt the identity of the receiving end of the modeling information to obtain a first code of
4 modeling information characteristic;
encrypting the numerical information in the modeling information according to a type of the numerical information included in the modeling information to obtain a second feature code of the modeling information; and composing the territory identity, the first feature code, the second feature code, and the time of reception of the modeling information into an encrypted information.
In yet another embodiment of the present disclosure, grouping the multiple encrypted information to obtain at least one information template includes:
respectively consolidating the encrypted information that satisfies a first consolidation condition in the multiple encrypted information to obtain multiple first consolidated information;
respectively consolidate the encrypted information that satisfies a second consolidation condition in the multiple first consolidated information to obtain multiple second consolidated information; and grouping the multiple second consolidated information to obtain at least one information template.
In still another embodiment of the present disclosure, the respective consolidation of the encrypted information that satisfies the first condition of consolidation in the multiple encrypted information to obtain the multiple first consolidated information includes:
acquiring multiple first blocks of target encrypted information from the multiple encrypted information, the encrypted information in each first block of target encrypted information has the same territory identity, the first feature code and the second feature code;
sequencing the encrypted information in any first target encrypted information block according to the reception time from the most recent to the least recent; and saving the encrypted information in the first target encrypted information block having the latest reception time and deleting the rest of the encrypted information in the first target encrypted information block in order to obtain a consolidated first information.
In yet another additional embodiment of the present disclosure, the respective consolidation of the encrypted information that satisfies the second consolidation condition in the multiple first consolidated information to obtain the multiple second consolidated information
6 It includes:
acquiring multiple second blocks of target encrypted information from the multiple first consolidated information, the first information consolidated in each second block of encrypted information has the same territory identity and the second feature code;
with reference to any second target encrypted information block, acquiring the number of the first consolidated information in the second target encrypted information block and the last reception time of the first consolidated information in the second target encrypted information block; and compose the territory identity of the second target encrypted information block, the number of the first consolidated information in the second target information block, the second characteristic code of the second target encrypted information block and the last reception time of the first information consolidated in the second block of target encrypted information into a second consolidated information.
In yet another embodiment of the present disclosure, grouping the multiple second consolidated information to obtain at least one information template includes:
dividing the multiple second consolidated information into multiple third target encrypted information blocks, the second information consolidated into every third target encrypted information block has the same territory identity;
with reference to any third block of objective encrypted information, acquire the number of the first consolidated information, consolidated by any second consolidated information in the third block of objective encrypted information, and then compose the information contents corresponding to the second consolidated information, the number of the first consolidated information, consolidated by the second consolidated information, and the, last reception time of the third target encrypted information block in an entry in case the number of the first consolidated information, consolidated by the second consolidated information, is greater than a first threshold; and consolidate multiple entries having the same information contents in the third target encrypted information block to obtain an information template, the number of the applicable encrypted information of the information template being a sum of the number of the encrypted information consolidated by the multiple entries, and the time of reception of the information template being the last time of reception of the multiple entries.
In yet another embodiment of the present disclosure, the method, after grouping the multiple encrypted information to obtain at least one information template, further includes:
verify a coverage rate for each information template; and determining an actual information template from at least one information template according to the verification result.
In yet another form of this disclosure, the verification of the coverage rate of each information template includes:
acquiring a set of test information, the set of test information including multiple test information;
respectively processing the multiple test information to obtain multiple first blocks of test information; and verifying the coverage rate of each information template according to the first multiple blocks of test information.
In yet another embodiment of the present disclosure, the acquisition of the test information set includes:
acquire a second pre-established number of information to be processed from the remaining information to be processed in the information set corresponding to the identity of the sending end of the information to be processed to obtain the information set test.
In yet another embodiment of the present disclosure, the respective processing of the multiple test information to obtain the first multiple blocks of test information includes:
respectively encrypt the multiple test information to obtain multiple encrypted test information;
respectively consolidating the encrypted test information satisfying a third consolidation condition into the multiple encrypted test information to obtain multiple third consolidated information; and dividing the multiple third information consolidated into multiple first blocks of test information, the third information consolidated in each first block of test information has the same territory identity.
In yet another embodiment of the present disclosure, the encryption of the multiple test information to obtain the multiple encrypted test information includes:
with reference to any test information, acquiring a territory identity of the test information in accordance with a receiving end identity of the test information;
encrypting the receiving end identity of the test information to obtain a first feature code of the test information; and composing the territory identity of the test information, the first feature code, and the information contents of the test information into an encrypted test information.
In yet another embodiment of the present disclosure, the consolidation of the multiple encrypted test information to obtain the multiple third consolidated information includes:
acquiring multiple second test information blocks from the multiple encrypted test information, the encrypted test information in every second test information block has the same territory identity and information contents;
acquiring the number of the encrypted test information in any second test information block; and composing the territory identity of the second block of test information, the number of the encrypted test information in the second block of test information, and the information contents of the second block of test information into a consolidated test information.
In another embodiment of this disclosure, checking the coverage rate of each information template according to the first multiple blocks of test information includes:
with reference to any information template, acquiring the number of the information paired with the information template in each first test information block; and if the number of the information matched with any first block of test information by the information template is greater than a second threshold, acquiring a ratio of the number of the matched information to the number of the test information included in the first block of test information.
In yet another embodiment of the present disclosure, determining the actual information template from at least one information template according to the verification result includes:
If the ratio of the number of the paired information to the number of the test information included in the first test information block is within a preset range, determining the information template to be the actual information template.
Device 400 may also include a power component 426 configured to perform device 400 power handling, wired or wireless network interfaces 450 configured to connect device 400 to a network, and an input / output (I / O) interface. 458. Device 400 may operate based on an operating system stored in memory 432, such as Windows Server ™, Mac OS X ™, Unix ™, Linux ™, FreeBSD ™, or the like.
According to the device provided by the modalities of the present disclosure, the information template is extracted through the study of the multiple modeling information, and the numerical information included in the modeling information is encrypted during the template extraction process. , which prevents user privacy from being disclosed by the extracted template, so that a more scientific method is provided for extracting an information template.
Other embodiments of the invention will be apparent to those skilled in the art from a consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses or adaptations of the invention by following the general principles thereof and including such sections of the present disclosure as they arise within known or usual practice in the art. The specification and examples are intended to be considered as exemplary only, with the true scope and spirit of the invention being indicated by the following claims.
It will be appreciated that the present invention is not limited to the exact construction that has been described above and illustrated in the accompanying drawings, and that various modifications and changes can be made without departing from the scope thereof. The scope of the invention is intended to be limited only by the appended claims.
NOVELTY OF ΙΛ INVENTION
Having described the present invention, it is considered as a novelty and, therefore, the content of the following is claimed as property:
Contents6
2 sheets
Sheet 1 Sheet 2
13 members in 8 offices
Priority claims7
| Document | Office | Kind | Date |
|---|---|---|---|
| 201510791533 | China | A | |
| 2015107915330 | China | – | |
| 2015099400 | China | W | |
| 2015107915330 | – | – | – |
| CN20151791533 | – | – | – |
| PCTCN2015099400 | – | – | – |
| WO2015CN99400 | – | – | – |
Members13
| Document | Office | Kind | |
|---|---|---|---|
| CN105468694A | China | A | |
| US2017140026A1 | United States of America | A1 | |
| EP3171285A1 | European Patent Office (EPO) | A1 | |
| WO2017084179A1 | World Intellectual Property Organization (WIPO) | A1 | |
| MX2016005103AThis record | Mexico | A | |
| KR101777069B1 | Republic of Korea | B1 | |
| RU2016114552A | Russian Federation | A | |
| JP2018503145A | Japan | A | |
| RU2647628C2 | Russian Federation | C2 | |
| JP6405370B2 | Japan | B2 | |
| US10180976B2 | United States of America | B2 | |
| MX362890B | Mexico | B | |
| CN105468694B | China | B |
1 legal event, as the office reported them to INPADOC
Events
| Event | Code | |
|---|---|---|
| Grant or registrationFG | FG |
Numbers
- Publication
- 2016005103
- Publication, DOCDB
- 2016005103
- Publication, EPODOC
- MX2016005103
- Application
- 2016005103
- Application, DOCDB
- 2016005103
- Application, EPODOC
- MX20160005103
Titles2
- Spanish
- METODO Y DISPOSITIVO PARA EXTRAER PLANTILLA DE INFORMACION.
- English
- METHOD AND DEVICE FOR EXTRACTING THE INFORMATION TEMPLATE.
Classification
- CPC, 5
- G06F16/907
- G06F16/285
- G06F16/355
- G06F21/72
- G06F2221/2107
- IPC, 1
- G06F17 30