Disclosure of Invention
Therefore, the cloud computing resource allocation method based on the intelligent management platform can solve the problem of low resource allocation efficiency.
In order to achieve the above object, the present invention provides a cloud computing resource allocation method based on an intelligent management platform, including:
receiving request information of a user, wherein the request information comprises a user identity identifier and request content, receiving data uploaded to the intelligent management platform by the plurality of networking terminals, and storing the data in a corresponding database;
calling user login information according to the user identity, and determining user authority according to the user login information;
extracting keywords and labeling the request content according to a preset keyword library, and calling data from a corresponding database according to the labels, the keywords and the user permission to obtain request data;
and selecting a transmission channel according to the user authority to transmit the request data to a corresponding user side.
Further, when receiving data uploaded to the intelligent management platform by a plurality of terminals, classifying the data of any terminal according to the terminal ID, classifying the data according to a data format, extracting keywords of the classified data of any format by using an AI technology, matching the extracted keywords with a preset keyword library, labeling the classified data according to the matched keywords if the matching is successful, and not labeling the classified data if the matching is failed;
respectively storing the labeled classification data and the unlabeled classification data, storing the classification data of the same label in the same database, separately storing the unlabeled classification data in the databases, recording the label content and the database access key of each database, and forming a database record table.
Further, when labeling the classified data, judging the confidentiality grade of the classified data according to a preset confidential keyword library, calculating the matching rate P between the keywords of the classified data and the preset confidential keyword library, wherein the number of the matched confidential keywords is calculated to be a, the total number of the confidential keywords of the preset confidential keyword library is calculated to be b, and P = a/b,
if P is more than or equal to P2, judging the classified data to be classified into A class;
if P1 is not more than P and less than P2, judging the confidentiality level of the classified data as B level;
if P is more than or equal to 0 and less than P1, judging the classified data to be classified as class C;
wherein, P1 and P2 are preset matching rates, P1 is more than P2, and the confidentiality level is A level more than B level more than C level;
and recording the confidentiality level of each classified data into the database record table.
Further, when the user login information is called according to the user identity, the user login information comprises user registration time length, the user registration time length t is compared with preset first grading standard time length t1 and preset second grading standard time length t2, the first authority level of the user is judged,
if t is more than or equal to t2, judging that the first permission level of the user is one level;
if t1 is more than or equal to t and less than t2, judging that the first authority level of the user is in a second level;
if t is more than 0 and less than t1, the first authority level of the user is judged to be three levels;
wherein the duration t2 is greater than t1, and the first authority level is greater than one level, greater than two levels and greater than three levels.
Further, after the first authority level of the user is judged, the user login information further comprises a user history record, the user history record is obtained, whether the user history record in the user login information is empty is judged, and if the user history record is empty, the first authority level is not updated; if the user history record is not empty, upgrading or degrading the first permission level;
judging the operation behavior of the user history record, scoring the operation behavior in the user history record according to a preset operation behavior scoring rule, comparing the actual score M with a preset qualified score M0,
if M is larger than or equal to M0, upgrading the first permission level of the user;
if M is less than M0, degrading the first authority level of the user;
when upgrading or degrading is carried out, only one level is increased or decreased each time, the authority level is the highest level and the lowest level is the third level, the authority level is not increased after being upgraded to the first level and is not decreased after being degraded to the third level, and the first authority level of the user is upgraded or degraded to obtain a second authority level;
and after each time T, updating the second permission level according to the user registration duration and the user history record of the user.
Further, before data is called from a corresponding database, keyword extraction is carried out on the request content, the extracted keyword of the request content is matched with a preset tag library, the matched tag is matched with the tag table of the database, and data is called from the corresponding database according to the matched tag of the database to obtain request data;
and for the database storing the non-labeled classification data, performing data calling in the database according to the keywords of the request content to obtain the request data.
And further, before data is called to a corresponding database, a database access key of the corresponding database in the database record table is obtained, the database is verified according to the database access key, the verification is successful, and data is called to the corresponding database according to the label and the keyword of the request content.
Further, when data is called to the corresponding database, the data is called according to the updated second authority level of the user, the higher the second authority level of the user is, the higher the data secret level called by the user is, wherein,
if the second permission level of the user is recognized to be one level, the user calls the data with the confidentiality levels of A level, B level and C level in each database;
if the second permission level of the user is identified to be the second level, the user calls the data with the confidential levels of the B level and the C level in each database;
if the second authority level of the user is identified to be three levels, the user calls the data with the confidentiality level of C level in each database.
Further, when the request data is transmitted, the transmission channel is selected according to the user authority, the updated second authority level of the user is selected,
if the second authority level of the user is identified to be one level, selecting a transmission channel with the maximum transmission quantity;
if the second authority level of the user is identified to be two levels, selecting a transmission channel with a medium transmission quantity;
if the second authority level of the user is identified to be three levels, selecting a transmission channel with the minimum transmission quantity;
and when the request data is transmitted in any transmission channel, the data is transmitted in sequence from large to small according to the confidentiality level of the data in the request data.
Further, after the non-labeled classification data is stored in the corresponding database and called by the user side, the processing record of the non-labeled classification data by the user side is acquired and analyzed, the label is labeled on the non-labeled classification data according to the label classification content in the processing record of the user side, and the label is stored in the preset keyword library;
and extracting the re-labeled classification data in the database in which the non-labeled classification data is stored, independently storing the re-labeled classification data in a new database, and updating the label content and the database access key of each database in the database record table.
Compared with the prior art, the intelligent management platform has the advantages that the request information of the user and the data uploaded to the intelligent management platform by the plurality of networking terminals are received and stored in the corresponding database, then the user login information is called according to the user identity, the user permission is determined according to the user login information, the keyword extraction and the labeling are carried out on the request content according to the preset keyword library, the data calling is carried out on the corresponding database according to the label or the keyword to obtain the request data, the transmission channel is selected according to the user permission to transmit the request data to the corresponding user side, the data are stored in the database, the corresponding data which can be called by the permission are called from the corresponding database according to the label, the keyword and the user permission, and the data extraction and data distribution efficiency is improved.
Particularly, the received data uploaded by the terminals are classified and labeled, so that the uploaded data are more clearly represented, then the labeled classification data and the unlabeled classification data are respectively stored, the classification data of the same label are stored in the same database, and the unlabeled classification data are separately stored in the database, so that the data are called according to the label directly corresponding to the database when being called, and the accuracy of calling the resource data and the efficiency of calling the resource data are improved.
Particularly, the classified data is judged according to the confidentiality level of the classified data, the confidentiality level of the classified data is judged according to the matching rate of the keywords of the classified data and the preset confidential keyword library and the preset matching rate, and the data is added with the access authority by judging the confidentiality level of the classified data, so that the data security is improved, and the data resource allocation efficiency is improved.
Particularly, the user login information is called according to the user identity, the first authority level of the user is judged according to the user registration time, and corresponding data are distributed according to the authority of the user, so that the data distribution efficiency is improved.
In particular, the first authority level of the user is updated by scoring the operation behavior of the historical record of the user, so that the user is evaluated, data distribution is performed according to the authority level of the user, and the efficiency of data distribution is improved.
Particularly, keyword extraction is carried out on the request content, matching with a corresponding database is further achieved, the database storing the labeled classified data is called when data are called, then the database storing the unlabeled classified data is called, the database storing the labeled classified data and the database storing the unlabeled classified data are called, universality is achieved, the extracted data are more comprehensive, and data calling is carried out through the labels and the keywords, so that the data calling efficiency is improved.
Particularly, the database access key of the corresponding database in the database record table is obtained, the database is verified according to the database access key, the verification is successful, and the data is called from the corresponding database according to the label and the keyword of the request content, so that malicious attack to the database is prevented, and the safety of data calling is improved.
Particularly, data is called according to the second authority level of the user, the higher the second authority level of the user is, the higher the secret level of the data called by the user is, the more the data called by the higher the second authority level of the user is, when the second authority level of the user is one level, the data of all the secret levels can be called, when the second authority level of the user is two levels, the data of B level and C level can be called, when the second authority level of the user is three levels, only the data of C level can be called, and by the higher the second authority level of the user is, the higher the secret level of the data called by the user is, the data security and the data distribution efficiency can be improved.
Particularly, the transmission channel is selected according to the updated second authority level of the user, and if the second authority level of the user is identified to be one level, the transmission channel with the maximum transmission quantity is selected; if the second authority level of the user is identified to be two levels, selecting a transmission channel with a medium transmission quantity; if the second permission level of the user is identified to be three levels, the transmission channel with the minimum transmission quantity is selected, and the transmission efficiency of the request data and the allocation efficiency of the resources are improved.
Particularly, the processing records of the non-labeled classified data are analyzed by the acquisition user end, the non-labeled classified data are labeled again, so that the data are more accurate, the accuracy of data calling is improved, meanwhile, the database record table is updated, the data calling and data distribution are more efficient, and the data calling and data distribution efficiency is improved.
Detailed Description
In order that the objects and advantages of the invention will be more clearly understood, the invention is further described below with reference to examples; it should be understood that the specific embodiments described herein are merely illustrative of the invention and do not delimit the invention.
Preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only for explaining the technical principle of the present invention, and do not limit the scope of the present invention.
It should be noted that in the description of the present invention, the terms of direction or positional relationship indicated by the terms "upper", "lower", "left", "right", "inner", "outer", etc. are based on the directions or positional relationships shown in the drawings, which are only for convenience of description, and do not indicate or imply that the device or element must have a specific orientation, be constructed and operated in a specific orientation, and thus, should not be construed as limiting the present invention.
Furthermore, it should be noted that, in the description of the present invention, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
Referring to fig. 1, a cloud computing resource management allocation method based on an intelligent management platform according to an embodiment of the present invention includes:
step S110, receiving request information of a user, wherein the request information comprises a user identity and request content, receiving data uploaded to an intelligent management platform by a plurality of networking terminals, and storing the data in a corresponding database;
step S120, calling user login information according to the user identity, and determining user authority according to the user login information;
step S130, extracting keywords and labeling the request content according to a preset keyword library, and calling data from a corresponding database according to the labels, the keywords and the user authority to obtain request data;
step S140, selecting a transmission channel according to the user authority to transmit the request data to a corresponding user side.
Specifically, the embodiment of the invention improves the data extraction and data distribution efficiency by receiving the request information of a user and receiving the data uploaded to the intelligent management platform by a plurality of networking terminals and storing the data in a corresponding database, then calling the user login information according to the user identity, determining the user permission according to the user login information, extracting and tagging the keyword of the request content according to a preset keyword library, calling the data in the corresponding database according to the tag or the keyword to obtain the request data, selecting a transmission channel according to the user permission to transmit the request data to a corresponding user side, storing the data in the database, and calling the corresponding data which can be called by the permission from the corresponding database according to the tag, the keyword and the user permission.
Specifically, when user login information is called according to the user identity, the user login information comprises user registration time length, the user registration time length t is compared with preset first grading standard time length t1 and preset second grading standard time length t2, the first authority level of the user is judged,
if t is more than or equal to t2, judging that the first permission level of the user is one level;
if t1 is more than or equal to t and less than t2, judging that the first authority level of the user is in a second level;
if t is more than 0 and less than t1, the first authority level of the user is judged to be three levels;
wherein the duration t2 is greater than t1, and the first authority level is greater than one level, greater than two levels and greater than three levels.
Specifically, the embodiment of the invention calls the user login information according to the user identity, judges the first authority level of the user according to the user registration time, and distributes the corresponding data according to the authority of the user, thereby improving the data distribution efficiency.
Specifically, after the first authority level of the user is judged, the user login information further comprises a user history record, the user history record is obtained, whether the user history record in the user login information is empty or not is judged, and if the user history record is empty, the first authority level is not updated; if the user history record is not empty, upgrading or degrading the first permission level;
judging the operation behavior of the user history record, grading the operation behavior in the user history record according to a preset operation behavior grading rule, comparing the actual grade M with a preset qualified grade M0,
if M is larger than or equal to M0, upgrading the first permission level of the user;
if M is less than M0, degrading the first authority level of the user;
when upgrading or degrading is carried out, only one level is increased or decreased each time, the authority level is the highest level and the lowest level is the third level, the authority level is not increased after being upgraded to the first level and is not decreased after being degraded to the third level, and the first authority level of the user is upgraded or degraded to obtain a second authority level;
and after each time T, updating the second permission level according to the user registration duration and the user history record of the user.
Specifically, the embodiment of the invention updates the first permission level of the user by scoring the operation behavior of the historical record of the user, realizes the evaluation of the user, further performs data distribution according to the permission level of the user, and improves the efficiency of data distribution.
Specifically, when data uploaded to an intelligent management platform by a plurality of terminals is received, classifying the data of any terminal according to a terminal ID, classifying the data according to a data format, extracting keywords from the classified data of any format by using an AI technology, matching the extracted keywords with a preset keyword library, labeling the classified data according to the matched keywords if the matching is successful, and not labeling the classified data if the matching is failed;
respectively storing the labeled classification data and the unlabeled classification data, storing the classification data of the same label in the same database, separately storing the unlabeled classification data in the databases, recording the label content and the database access key of each database, and forming a database record table.
Specifically, the data format may be text, picture, voice, video, and the like, and the AI technology analyzes the data format into the text, the picture, the voice, the video, and the like by using text segmentation, image recognition, voice recognition, and the like.
Specifically, the embodiment of the invention classifies and labels the received data uploaded by a plurality of terminals, so that the representation of the uploaded data is clearer, then the labeled classified data and the unlabeled classified data are respectively stored, the classified data with the same label are stored in the same database, and the unlabeled classified data are separately stored in the database, so that the data are directly called corresponding to the database according to the label during data calling, and the accuracy of calling the resource data and the efficiency of calling the resource data are improved.
Specifically, when labeling is performed on classified data, the confidentiality level of the classified data is judged according to a preset confidential keyword library, and the matching rate P between the keywords of the classified data and the preset confidential keyword library is calculated, wherein the number of the matched confidential keywords is calculated to be a, the total number of the confidential keywords of the preset confidential keyword library is calculated to be b, and P = a/b,
if P is more than or equal to P2, judging the classified data to be classified into A class;
if P1 is less than or equal to P < P2, judging the classified data to be classified as B grade;
if P is more than or equal to 0 and less than P1, judging the confidentiality level of the classified data to be C level;
wherein, P1 and P2 are preset matching rates, P1 is more than P2, and the secret level size is A level more than B level more than C level;
and recording the confidentiality level of each classified data into the database record table.
Specifically, the embodiment of the invention judges the confidentiality level of the classified data according to the matching rate of the keywords of the classified data with the preset confidential keyword library and the preset matching rate, and adds the access authority to the data by judging the confidentiality level of the classified data, thereby increasing the security of the data and further improving the efficiency of data resource allocation.
Specifically, before data is called to a corresponding database, keyword extraction is carried out on the request content, the extracted keyword of the request content is matched with a preset tag database, the matched tag is matched with the database tag table, and data is called to the corresponding database according to the matched database tag to obtain request data;
and for the database storing the classification data without the label, performing data calling in the database according to the keywords of the request content to obtain the request data.
Specifically, when data is called, the data is called first from the database in which the labeled classification data is stored, and then from the database in which the unlabeled classification data is stored.
Specifically, the embodiment of the invention extracts keywords from the request content to further realize matching with the corresponding database, calls the database storing labeled classification data during data calling, then calls the database storing unlabeled classification data, and calls the database storing labeled classification data and the database storing unlabeled classification data, so that the embodiment of the invention has universality, makes the extracted data more comprehensive, and improves the data calling efficiency by performing data calling through the labels and the keywords.
Specifically, before data is called to a corresponding database, a database access key of the corresponding database in the database record table is obtained, the database is verified according to the database access key, the verification is successful, and data is called to the corresponding database according to the label and the keyword of the request content.
Specifically, the embodiment of the invention obtains the database access key corresponding to the database in the database record table, the database verifies the database access key successfully according to the database access key, and data is called from the corresponding database according to the label and the keyword of the request content, thereby preventing malicious attack to the database and improving the security of data calling.
Specifically, when data is called to the corresponding database, the data is called according to the updated second authority level of the user, and the higher the second authority level of the user is, the higher the confidentiality level of the data called by the user is, wherein,
if the second permission level of the user is recognized to be one level, the user calls the data with the confidentiality levels of A level, B level and C level in each database;
if the second permission level of the user is identified to be the second level, the user calls the data with the confidential levels of the B level and the C level in each database;
if the second authority level of the user is identified to be three levels, the user calls the data with the confidentiality level of C level in each database.
Specifically, the data is called according to the second authority level of the user, the higher the second authority level of the user is, the higher the secret level of the data called by the user is, the more the data called by the user is, when the second authority level of the user is one level, the data of all the secret levels can be called, when the second authority level of the user is two levels, the data of B level and C level can be called, when the second authority level of the user is three levels, only the data of C level can be called, and by the higher the second authority level of the user is, the higher the secret level of the data called by the user is, the data security and the data distribution efficiency can be improved.
Specifically, when the request data is transmitted, the transmission channel is selected according to the user authority, the transmission channel is selected according to the updated second authority level of the user,
if the second authority level of the user is identified to be one level, selecting a transmission channel with the maximum transmission quantity;
if the second authority level of the user is identified to be the second level, selecting a transmission channel with a medium transmission quantity;
if the second authority level of the user is identified to be three levels, selecting a transmission channel with the minimum transmission quantity;
and when any transmission channel transmits the request data, transmitting the request data in sequence from large to small according to the confidentiality level of the data in the request data.
Specifically, the embodiment of the invention selects the transmission channel according to the updated second authority level of the user, and if the second authority level of the user is identified to be one level, the transmission channel with the maximum transmission quantity is selected; if the second authority level of the user is identified to be two levels, selecting a transmission channel with a medium transmission quantity; if the second permission level of the user is identified to be three levels, the transmission channel with the minimum transmission quantity is selected, and the transmission efficiency of the request data and the allocation efficiency of resources are improved.
Specifically, after the non-labeled classified data is stored in a corresponding database and is called by a user, the processing record of the user for the non-labeled classified data is acquired and analyzed, the non-labeled classified data is labeled according to the label classification content in the processing record of the user, and the label is stored in a preset keyword library;
and extracting the re-labeled classification data in the database in which the non-labeled classification data is stored, separately storing the re-labeled classification data in a new database, and updating the label content and the database access key of each database in the database record table.
Specifically, after the user side receives the labeled classification data and the unlabeled data, the user side provides a processing item for the unlabeled classification data, the user can classify the labels of the user by himself, and the processing record of the user label classification is stored.
Specifically, the embodiment of the invention analyzes the processing record of the non-labeled classified data by the user end, re-labels the non-labeled classified data, so that the data is more accurate, the accuracy of data calling is improved, and meanwhile, the database record table is updated, so that the data calling and data distribution are more efficient, and the data calling and data distribution efficiency is improved.
So far, the technical solutions of the present invention have been described in connection with the preferred embodiments shown in the drawings, but it is easily understood by those skilled in the art that the scope of the present invention is obviously not limited to these specific embodiments. Equivalent changes or substitutions of related technical features can be made by those skilled in the art without departing from the principle of the invention, and the technical scheme after the changes or substitutions can be within the protection scope of the invention.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention; various modifications and alterations to this invention will become apparent to those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.