Background
With the development of network technology and computer technology, government departments or other departments issuing certificates manage issued certificates, and digital certificates are gradually used for replacing traditional paper certificates. The digital certificate refers to certificate information which is stored in a storage medium such as a magnetic disk, an optical disk and the like in a digital form, is read and processed by a computer system and can be transmitted on a network, and the digital certificate comprises a digital certificate and a digital batch certificate, and has the advantages of easiness in storage, easiness in query and the like.
The applicant finds, through retrieval, that a chinese patent discloses a method and a system for processing license data, whose application number is '200910077998.4', when applying for the present invention, the patent integrates license data in different service management systems from different sources into a specific digital license node system mainly through a preset data conversion module, and when storing the converted digital license data in the digital license node system, a uniform storage format is adopted, which facilitates storage, transmission and analysis of license data of different digital license node systems, but has the following disadvantages:
different certificate photos need different background colors, some need red background, some need blue background, some need white background, etc., the background that this patent can't revise the photo, need to shoot the photo under different backgrounds, it is tedious to operate.
Disclosure of Invention
Technical problem to be solved
Aiming at the defects of the prior art, the invention provides a license data processing method and a license data processing system, which solve the problems that the background of a photo cannot be modified and the photo needs to be shot under different backgrounds.
(II) technical scheme
In order to achieve the purpose, the invention is realized by the following technical scheme: the license data processing system comprises a portrait acquisition unit, a first storage device, a first processing mechanism, a format processing unit and an uploading device, wherein the portrait acquisition unit is respectively in communication connection with the first storage device and the first processing mechanism, the processing mechanism is in communication connection with the format processing unit, and the format processing unit is in communication connection with the uploading device.
Preferably, the processing mechanism includes a background subtraction unit, a background library, a background pasting unit and a second storage device.
Preferably, the format processing unit comprises an information extracting unit, a format converting unit, a folder generating unit and a storage device III.
Preferably, the portrait acquisition unit may be a camera or a mobile phone or other clear shooting equipment.
Preferably, the storage device I, the storage device II and the storage device III are in communication connection, information of the same person is marked as same-group information, and when the information is extracted, the same-group information in the storage device I, the storage device II and the storage device III can be called out together.
The license data processing method comprises the following steps:
s1, acquiring the portrait through the portrait acquisition unit, storing the acquired data in a first storage device, and uploading the data to a processing mechanism;
s2, the processing mechanism strips the background of the portrait data after receiving the portrait data, extracts and adjusts different backgrounds from the background library, then carries out background pasting through the background pasting unit, synthesizes photos of different backgrounds at one time, marks the photos and the portrait data in S1 as the same group of information, stores the photos in a second storage device, and sends the photos to the format processing unit;
s3, the format processing unit extracts the photos from the storage device II through the information extracting unit, transmits the data to the format converting unit, converts the photos into different formats through the format converting unit, transmits the photos to the folder generating unit, summarizes the photos into the same folder, names the folder, stores the photos in the storage device III, and marks the photos as the same group of information as the photos in the S2.
(III) advantageous effects
The invention provides a license data processing method and system. The method has the following beneficial effects:
1. according to the certificate data processing method and system, after receiving portrait data, a processing mechanism peels off the background of the portrait data, extracts and adjusts different backgrounds from a background library, then background pasting is carried out through a background pasting unit, photos with different backgrounds are synthesized at one time, the photos and portrait data in S1 are marked as the same group of information, the same group of information is stored in a storage device II, when certificates with different backgrounds are needed, the photos are extracted and adjusted from the storage device II, and therefore the certificate data processing method and system are more convenient.
2. According to the license data processing method and system, the information of the same person is marked as the same group of information, and when the information is extracted, the same group of information in the first storage device, the second storage device and the third storage device can be called out together, so that the data can be extracted conveniently.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The first embodiment is as follows:
as shown in fig. 1 to 4, an embodiment of the present invention provides a license data processing system, which includes a portrait acquisition unit, a first storage device, a processing mechanism, a format processing unit, and an uploading device, where the portrait acquisition unit is respectively in communication connection with the first storage device and the processing mechanism, the processing mechanism is in communication connection with the format processing unit, the format processing unit is in communication connection with the uploading device, and the portrait acquisition unit is a device with clear shooting, such as a camera or a mobile phone;
the storage equipment I, the storage equipment II and the storage equipment III are in communication connection, information of the same person is marked as same-group information, and when the information is extracted, the same-group information in the storage equipment I, the storage equipment II and the storage equipment III can be called out together;
the license data processing method comprises the following steps:
s1, acquiring the portrait through the portrait acquisition unit, storing the acquired data in a first storage device, and uploading the data to a processing mechanism;
s2, the processing mechanism comprises a background deduction unit, a background library, a background pasting unit and a second storage device, the processing mechanism strips the background of the portrait data after receiving the portrait data, extracts and adjusts different backgrounds from the background library, then carries out background pasting through the background pasting unit, synthesizes photos with different backgrounds at one time, marks the photos and the portrait data in S1 as the same group of information, stores the same into the second storage device, and sends the photos to the format processing unit;
and S3, the format processing unit comprises an information extracting unit, a format converting unit, a folder generating unit and a third storage device, the format processing unit extracts the photos from the second storage device through the information extracting unit, transmits the data to the format converting unit, converts the data into different formats through the format converting unit, transmits the different formats to the folder generating unit, summarizes the photos into the same folder, names the folder, stores the folders in the third storage device, and marks the photos as the same group of information as the photos in S2.
Example two:
the difference with the first embodiment is that the license data processing method comprises the following steps:
s1, the user takes the picture or submits the taken picture;
s2, the processing mechanism comprises a background deduction unit, a background library, a background pasting unit and a second storage device, the processing mechanism strips the background of the submitted information after receiving the submitted information, extracts and tunes different backgrounds from the background library, then carries out background pasting through the background pasting unit, synthesizes photos with different backgrounds at one time, marks the photos and the portrait data in S1 as the same group of information, stores the same into the second storage device, and sends the photos to the format processing unit;
and S3, the format processing unit comprises an information extracting unit, a format converting unit, a folder generating unit and a third storage device, the format processing unit extracts the photos from the second storage device through the information extracting unit, transmits the data to the format converting unit, converts the data into different formats through the format converting unit, transmits the different formats to the folder generating unit, summarizes the photos into the same folder, names the folder, stores the folders in the third storage device, and marks the photos as the same group of information as the photos in S2.
Example three:
the difference from the first embodiment is that when the background of the taken picture matches the background of the certificate which needs to be transacted, and no other certificate needs to be transacted, S2 in the first embodiment can be passed, and the certificate data processing method comprises the following steps:
s1, acquiring the portrait through the portrait acquisition unit, storing the acquired data in a first storage device, wherein the background of the shot photo is the same as the background of the license to be dealt with;
and S2, the format processing unit comprises an information extracting unit, a format converting unit, a folder generating unit and a third storage device, wherein the format processing unit extracts the photos from the first storage device through the information extracting unit, transmits the data to the format converting unit, converts the data into different formats through the format converting unit, transmits the different formats to the folder generating unit, summarizes the photos into the same folder, names the folder, stores the folders in the third storage device, and marks the photos as the same group of information as the photos in S2.
Example four:
the difference with the first embodiment is that the license data processing method comprises the following steps under the condition that the format of the photo does not need to be changed:
s1, acquiring the portrait through the portrait acquisition unit, storing the acquired data in a first storage device, and uploading the data to a processing mechanism;
s2, the processing mechanism comprises a background deduction unit, a background library, a background pasting unit and a second storage device, the processing mechanism strips the background of the portrait data after receiving the portrait data, extracts and adjusts different backgrounds from the background library, then carries out background pasting through the background pasting unit, synthesizes photos with different backgrounds at one time, marks the photos and the portrait data in S1 as the same group of information, stores the same into the second storage device, and sends the photos to the format processing unit;
s3, the format processing unit extracts the photos from the second storage device through the information extracting unit, transmits the photos to the folder generating unit, summarizes the photos into the same folder, names the folder, stores the photos in the third storage device, and marks the photos as the same group of information as the photos in the S2.
Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.