Human-computer interactive intelligent printing method and system based on blockchain

Through decentralized identity authentication and smart contract analysis of blockchain technology, the problem of insufficient security and personalized services of the printing system is solved, efficient and secure personalized printing services are achieved, and user experience and printing efficiency are improved.

CN118819435BActive Publication Date: 2025-01-17SHENZHEN FEAHENG SCI & TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411293632.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-14
Publication Date
2025-01-17
Estimated Expiration
2044-09-14

AI Technical Summary

Technical Problem

The existing printing system has shortcomings in terms of security and personalized services. It relies on a centralized authentication mechanism to be susceptible to single point of failure and security threats, and users need to manually select the printing configuration, which leads to time-consuming and poor experience.

Method used

Adopt blockchain-based intelligent printing method for human-computer interaction, and analyze user historical printing data through decentralized identity authentication and smart contracts, providing personalized printing configuration recommendations and device selection to improve security and user experience.

Benefits of technology

Ensure the security of identity information through blockchain technology, realize automated risk management and personalized printing services, reduce user manual configuration operations, improve printing efficiency and experience, and prevent unauthorized access and data leakage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118819435B_ABST
    Figure CN118819435B_ABST
Patent Text Reader

Abstract

The present invention provides a human-computer interaction intelligent printing method and system based on blockchain, which relates to the field of data processing technology. The method includes: after receiving a user's print task request, calling a first smart contract in the blockchain system to authenticate the user's identity, performing behavioral risk analysis and behavioral authentication on the print task request, calling a second smart contract in the blockchain system to generate a personalized print configuration plan for the user, determining a target printing device, encrypting and storing the target print file based on the blockchain system, extracting the encrypted and stored target print file from the blockchain system after receiving a user's operation request for the target printing device, decrypting the target print file and sending it to the target printing device, and after completing the printing of the target print file, recording the print status data through the blockchain system. The present invention achieves the improvement of the security of printing jobs and the user's printing experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to a human-computer interaction intelligent printing method and system based on blockchain. Background Art

[0002] With the rapid development of information technology, printing technology has evolved from a single document output to a complex system that integrates multiple functions. However, existing printing systems still have some shortcomings in terms of security, personalized services, and device selection. For example, traditional printing systems usually rely on centralized authentication mechanisms, which makes the system vulnerable to single point failures and security threats, and there is a risk of information leakage. In addition, traditional printing systems rarely provide personalized printing services based on users' printing history and preferences. Users need to manually select printing configurations during the printing process, which is not only time-consuming but may also lead to a poor printing experience due to users' unfamiliarity with configuration options. Summary of the invention

[0003] In order to solve the above technical problems, the present invention proposes a human-computer interaction intelligent printing method and system based on blockchain, which utilizes the advantages of blockchain technology to improve the security and reliability of the system through decentralized identity authentication and data storage. At the same time, through the introduction of smart contracts, it can automatically analyze the user's historical printing data, thereby providing personalized printing configuration recommendations and equipment selection, greatly improving user experience and printing efficiency.

[0004] The first aspect of the present invention provides a human-computer interactive intelligent printing method based on blockchain, comprising:

[0005] After receiving the user's print task request, calling the first smart contract in the blockchain system to authenticate the user, and in response to the user's identity authentication being passed, extracting the task feature information of the print task request, including the request time, request location, and target print file;

[0006] Performing a behavior risk analysis on the printing task request based on the task feature information and generating a behavior analysis result, including calculating a behavior risk score for the printing task request based on the user's historical printing data and task feature information recorded in the blockchain;

[0007] Performing behavior authentication on the user's print task request according to the behavior analysis result, and in response to the behavior authentication of the user's print task request passing, calling a second smart contract in the blockchain system to generate a personalized print configuration plan for the user;

[0008] Generate a target printing configuration plan according to the user's adjustment operation on the personalized printing configuration plan, and determine the target printing device according to the target printing configuration plan;

[0009] Generate a target print task and add it to the print queue of the target print device. Encrypt and store the target print file based on the blockchain system. Estimate the waiting time based on the print queue and send request feedback information to the user.

[0010] After receiving the user's operation request for the target printing device, the encrypted and stored target printing file is extracted from the blockchain system, the target printing file is decrypted and sent to the target printing device;

[0011] After the printing of the target print file is completed, the printing status data is recorded through the blockchain system, including the print request time, print completion time, target print configuration plan and target printing device.

[0012] Preferably, a behavior risk analysis is performed on the print task request based on the task feature information to generate a behavior analysis result, including:

[0013] According to the historical printing data and task feature information of the user recorded in the blockchain, the vocabulary sensitivity, time anomaly and location anomaly of the task feature information are determined, and the behavioral risk score of the printing task request is calculated according to the following weighted formula:

[0014]

[0015] In the formula, R represents the behavior risk score, E represents the vocabulary sensitivity, T represents the time abnormality, and P represents the location abnormality. and are the weight parameters for lexical sensitivity, temporal abnormality, and location abnormality, respectively.

[0016] Preferably, the vocabulary sensitivity, time abnormality and location abnormality of the task feature information are determined based on the historical printing data and task feature information of the user recorded in the blockchain, including:

[0017] Scan and match the target print file through the sensitive keyword library, determine the number of sensitive words in the target print file and perform normalization processing to obtain the word sensitivity of the task feature information;

[0018] Counting and normalizing the number of requests involved in the historical printing data in multiple preset time periods, determining a first score for each preset time period and sorting the multiple preset time periods according to the first score, accumulating the first scores of multiple preset time periods whose first scores are not lower than the preset time period to which the request time in the task feature information belongs, and obtaining the time anomaly degree of the task feature information;

[0019] The number of requests involved in multiple request locations in the historical printing data is counted and normalized, the second score of each request location is determined and the multiple request locations are sorted according to the second score, the second scores of multiple request locations whose second scores are not lower than the request locations corresponding to the task feature information are accumulated to obtain the location abnormality of the task feature information.

[0020] Preferably, calling the second smart contract in the blockchain system to generate a personalized printing configuration plan for the user includes:

[0021] Calling the second smart contract in the blockchain system to analyze the historical printing data and construct a set of configuration parameters for each print file type;

[0022] For any configuration parameter set of a print file type, extract configuration parameter vectors of multiple groups of print configuration parameters in the configuration parameter set, count the occurrence frequency of each sub-configuration parameter, and construct a first frequency vector and a second frequency vector;

[0023] Calculate the distance between each configuration parameter vector in the configuration parameter set and the first frequency vector and the second frequency vector respectively to obtain the first distance and the second distance of each configuration parameter vector, determine the weight factor of each configuration parameter vector according to the first distance and the second distance, and perform weighted processing on multiple configuration parameter vectors in the configuration parameter set based on the weight factor of each configuration parameter vector to obtain a configuration habit vector of the configuration parameter set;

[0024] A configuration habit vector corresponding to the print file type to which the target print file belongs is determined, and a personalized print configuration scheme for the target print file is generated according to the configuration habit vector.

[0025] Preferably, the user's print task request is authenticated according to the behavior analysis result, including:

[0026] If the behavior risk score of the user's print task request is lower than the risk score threshold, it means that the behavior authentication of the user's print task request is passed, otherwise it means that the behavior authentication of the user's print task request is not passed.

[0027] Preferably, calling the first smart contract in the blockchain system to authenticate the user includes:

[0028] Check whether the identity information provided by the user in the print task request is consistent with the identity information stored on the blockchain. If the identity information provided by the user is consistent with the identity information stored on the blockchain, determine whether the user has the authority to execute the print task based on the user's access control list stored in the blockchain system. If so, it means that the user's identity authentication is successful.

[0029] The second aspect of the present invention provides a human-computer interaction intelligent printing system based on blockchain, and the system is used to implement the above-mentioned human-computer interaction intelligent printing method based on blockchain, including:

[0030] A request response module, configured to call the first smart contract in the blockchain system to authenticate the user after receiving the user's print task request;

[0031] A feature extraction module, for extracting task feature information of a print task request, including request time, request location and target print file, in response to the identity authentication of the user being passed;

[0032] A behavior risk analysis module, used to perform a behavior risk analysis on a printing task request based on the task feature information, and generate a behavior analysis result, including calculating a behavior risk score of the printing task request based on the user's historical printing data and task feature information recorded in the blockchain;

[0033] A behavior authentication module, used for performing behavior authentication on the user's print task request according to the behavior analysis result;

[0034] A configuration scheme generating module, configured to, in response to the behavior authentication of the user's printing task request being passed, call a second smart contract in the blockchain system to generate a personalized printing configuration scheme for the user;

[0035] A device determination module, used to generate a target printing configuration scheme according to the user's adjustment operation on the personalized printing configuration scheme, and determine a target printing device according to the target printing configuration scheme;

[0036] The task preprocessing module is used to generate the target printing task and add it to the print queue of the target printing device, and encrypt and store the target printing file based on the blockchain system;

[0037] The printing management module is used to extract the encrypted target printing file from the blockchain system after receiving the user's operation request for the target printing device, decrypt the target printing file and send it to the target printing device;

[0038] The behavior recording module is used to record the printing status data through the blockchain system after completing the printing of the target print file, including the print request time, the print completion time, the target print configuration plan and the target printing device.

[0039] Preferably, for the configuration scheme generation module, calling the second smart contract in the blockchain system to generate a personalized printing configuration scheme for the user includes:

[0040] Calling the second smart contract in the blockchain system to analyze the historical printing data and construct a set of configuration parameters for each print file type;

[0041] For any configuration parameter set of a print file type, extract configuration parameter vectors of multiple groups of print configuration parameters in the configuration parameter set, count the occurrence frequency of each sub-configuration parameter, and construct a first frequency vector and a second frequency vector;

[0042] Calculate the distance between each configuration parameter vector in the configuration parameter set and the first frequency vector and the second frequency vector respectively to obtain the first distance and the second distance of each configuration parameter vector, determine the weight factor of each configuration parameter vector according to the first distance and the second distance, and perform weighted processing on multiple configuration parameter vectors in the configuration parameter set based on the weight factor of each configuration parameter vector to obtain a configuration habit vector of the configuration parameter set;

[0043] A configuration habit vector corresponding to the print file type to which the target print file belongs is determined, and a personalized print configuration scheme for the target print file is generated according to the configuration habit vector.

[0044] The present invention has the following beneficial effects:

[0045] The present invention combines blockchain technology to authenticate users, ensures the security of user identity information and the legitimacy of printing requests, and calls smart contracts to analyze users' historical printing data to analyze whether there are abnormalities in users' printing behavior, thereby realizing automated risk management and ensuring the security of printing jobs. The present invention also analyzes users' historical printing data through smart contracts to determine personalized configuration requirements for users' printing, and provides personalized printing services based on users' printing history and preferences, thereby reducing the need for users to perform manual parameter configuration operations during the printing process. Blockchain technology is used to pre-store users' print files to ensure the security of the files. When users operate the printing device, the files are securely extracted and printed from the blockchain, thereby preventing unauthorized access and data leakage. The entire printing process reduces the complexity of users' operations through intelligent analysis and recommendation, realizes more humanized human-computer interaction, and improves users' printing experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] Figure 1 This is a flowchart of a human-computer interactive intelligent printing method based on blockchain in an embodiment of the present invention.

[0047] Figure 2 This is a structural diagram of a blockchain-based human-computer interactive intelligent printing system in an embodiment of the present invention. DETAILED DESCRIPTION

[0048] In order to make those skilled in the art better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0049] See also Figure 1 As one aspect of the embodiments of the present invention, a human-computer interaction intelligent printing method based on blockchain is provided, which is applied to a printing platform and specifically includes the following steps:

[0050] S1. After receiving a print task request from a user, call the first smart contract in the blockchain system to authenticate the user. In response to the user's identity authentication being successful, extract task feature information of the print task request.

[0051] In this embodiment, a user who needs to print a document and issues a print task request is authenticated through a first smart contract pre-stored in the blockchain system, wherein the print task request includes at least the user's identity information and relevant information of the print file. The user can issue a print task request through a smart device. After receiving the print task request issued by the user, the printing platform sends it to the blockchain system. The first smart contract verifies the legitimacy of the user's identity based on the user's identity information, including verifying the consistency of the identity information provided by the user with the identity information stored on the blockchain, and determining whether the user has the right to execute the print task based on the user's authority data stored in the blockchain system, such as querying the user's access control list for verification. After completing the consistency verification and authority verification of the identity information, the user is authenticated and task feature information is extracted from the print task request, including the request time, request location and target print file, for subsequent further analysis of the user.

[0052] It is worth noting that the present invention can be applied to printing management in multiple scenarios such as parks, buildings or campuses. Users can log in to the printing platform using personal computers, laptops, mobile phones or other devices. The specific printing management process is implemented by the solution provided in this embodiment. Multiple smart contracts are pre-set in the blockchain to execute different data analysis methods to achieve operations such as analysis of the user's historical printing data. Among them, the deployment of smart contracts in the blockchain is a technical means well known to those skilled in the art, and will not be repeated in this embodiment.

[0053] S2. Perform a behavioral risk analysis on the printing task request based on the task feature information to generate a behavioral analysis result, perform behavioral authentication on the user's printing task request according to the behavioral analysis result, and in response to the behavioral authentication of the user's printing task request passing, call the second smart contract in the blockchain system to generate a personalized printing configuration plan for the user.

[0054] This embodiment further performs a behavioral risk analysis on the user through a first smart contract pre-stored in the blockchain system, specifically, calculates a behavioral risk score for a print task request based on the user's historical printing data and task feature information recorded in the blockchain, obtains a behavioral analysis result, and performs behavioral authentication on the user's print task request based on a pre-set risk score threshold, wherein, if the behavioral risk score of the user's print task request this time is lower than the risk score threshold, it means that the behavioral authentication of the user's print task request is passed. In this case, the user's historical printing data is further analyzed based on a second smart contract pre-stored in the blockchain system to extract and analyze the user's printing behavior habits, so as to generate a personalized printing configuration plan suitable for the user's print task request this time and recommend it to the user.

[0055] S3. Generate a target printing configuration plan according to the user's adjustment operation on the personalized printing configuration plan, and determine a target printing device according to the target printing configuration plan.

[0056] In this embodiment, for the personalized printing configuration plan generated by the second smart contract by analyzing the user's historical printing data, the user can adjust it according to actual needs, so as to obtain a target printing configuration plan that meets his own printing needs. The printing platform selects and determines the target printing device that meets the user's printing needs from the multiple printing devices managed according to the target printing configuration plan, wherein multiple printing devices that meet the target printing configuration plan can be screened out according to the target printing configuration plan, and then the closest target printing device is selected according to the distance between the user and the multiple printing devices. Optionally, on the basis of considering the distance, the current printing task queues of different printing devices can also be considered, such as estimating the estimated waiting time of each printing device, to provide users with multiple options to complete the printing job faster.

[0057] S4. Generate a target printing task for the target printing device according to the target printing configuration plan and add it to the print queue of the target printing device. Encrypt and store the target printing file based on the blockchain system. Estimate the waiting time according to the print queue and send request feedback information to the user.

[0058] In this embodiment, after the target printing device is determined, a target printing task for the target printing file of the target printing device is generated according to the target printing configuration plan, and the target printing task is added to the printing queue of the target printing device to realize the update of the printing queue, and the target printing file is temporarily encrypted and stored through the blockchain system to ensure the security of the printing data. At the same time, based on the multiple printing tasks recorded by the target printing device, the estimated waiting time of the target printing task is determined, and the corresponding request feedback information is generated and sent to the user, so that the user can determine the appropriate time to perform the printing operation on the target printing device to complete the printing job.

[0059] S5. After receiving the user's operation request for the target printing device, the encrypted and stored target printing file is extracted from the blockchain system, the target printing file is decrypted and sent to the target printing device, and the printing status data after the printing of the target printing file is recorded through the blockchain system.

[0060] In this embodiment, after the user operates the target printing device, for example, by sending an operation request through a human-computer interaction interface to instruct the target printing device to execute the printing operation of the target printing file, the printing platform extracts the encrypted and stored target printing file from the blockchain system, decrypts it, and sends it to the target printing device through a secure transmission channel, wherein the secure transmission channel uses an asymmetric encryption algorithm to process the transmitted data to ensure the security and integrity of data transmission. After receiving the decrypted target printing file, the target printing device performs a printing operation on the target printing file according to the target printing task corresponding to the target printing file previously sent by the printing platform. After completing the printing of the target printing file, the printing platform integrates the printing status data of the user's printing operation according to the printing completion time fed back by the target printing device, and records the printing status data through the blockchain system, wherein the printing status data at least includes information such as the printing request time, printing completion time, target printing configuration scheme, and target printing device involved in the user's printing operation, and updates the user's historical printing data to complete the recording of relevant information in the printing process, providing reference information for the user's subsequent printing behavior analysis.

[0061] A human-computer interaction intelligent printing method based on blockchain provided in an embodiment of the present invention combines blockchain technology to authenticate users, ensures the security of user identity information and the legitimacy of printing requests, and calls smart contracts to analyze users' historical printing data to analyze whether there are abnormalities in users' printing behavior, realizes automated risk management, ensures the security of printing jobs, and analyzes users' historical printing data through smart contracts to determine users' personalized configuration requirements for printing, provides personalized printing services based on users' printing history and preferences, reduces the manual configuration operations of parameters that users need to perform during the printing process, and pre-stores users' print files through blockchain technology to ensure the security of files. When users operate the printing device, files are securely extracted and printed from the blockchain, preventing unauthorized access and data leakage. The entire printing process reduces the complexity of users' operations through intelligent analysis and recommendation, realizes more humanized human-computer interaction, and improves users' printing experience.

[0062] As a more optimal implementation process, in the above step S2, a behavior risk analysis is performed on the printing task request based on the task feature information to generate a behavior analysis result, including:

[0063] According to the historical printing data and task feature information of the user recorded in the blockchain, the vocabulary sensitivity, time anomaly and location anomaly of the task feature information are determined, and the behavioral risk score of the printing task request is calculated according to the weighted formula.

[0064] In this embodiment, the vocabulary sensitivity is used to characterize the relative importance of sensitive words involved in the target print file, the time anomaly is used to characterize the degree of deviation between the request time of this print and historical habits, and the location anomaly is used to characterize the degree of deviation between the user's request location for this print and historical habits.

[0065] Among them, determining the vocabulary sensitivity, time abnormality and location abnormality of the task feature information includes:

[0066] The target print file is scanned and matched through the sensitive keyword library, the number of sensitive words in the target print file is determined and normalized, and the word sensitivity of the task feature information is obtained.

[0067] In this embodiment, after scanning the target print file through the sensitive keyword library, the number of sensitive words in the target print file is determined, and the ratio of the number of sensitive words in the target print file to the total number of words in the target print file is calculated to achieve normalization of the number of sensitive words and obtain the lexical sensitivity of the task feature information.

[0068] The number of requests involved in the historical printing data in multiple preset time periods is counted and normalized, a first score for each preset time period is determined and the multiple preset time periods are sorted according to the first score, and the first scores of multiple preset time periods whose first scores are not lower than the preset time period to which the request time in the task feature information belongs are accumulated to obtain the time anomaly degree of the task feature information.

[0069] In this implementation, for historical printing data, the request time is analyzed based on multiple preset time periods divided in advance, wherein the preset time period can be a certain time interval such as 0.5h, 1h, etc., to divide a day into multiple preset time periods, analyze the request time involved in each printing operation of the user in the historical printing data, obtain the corresponding number of requests in each preset time period by statistics, and normalize the number of requests in multiple preset time periods based on the total number of requests involved in the historical printing data to obtain the first score of each preset time period. Based on the scores of multiple preset time periods and the preset time period to which the user's current printing task request belongs, the time abnormality of the task feature information corresponding to the current printing task request is calculated.

[0070] Specifically, multiple preset time periods are sorted according to the first score, and after determining the preset time period to which the user's print task request belongs, the remaining preset time periods whose first scores are higher than the preset time period to which the user's print task request belongs are determined, and the first score of the preset time period to which the user's print task request belongs is added to the first scores of the remaining preset time periods whose first scores are higher than the preset time period to which the user's print task request belongs, to obtain the time anomaly degree of the task characteristic information.

[0071] It is worth noting that if the first score of the preset time period to which the user's print task request belongs is the highest first score among multiple preset time periods, the calculated time anomaly degree only involves the first score of a single preset time period, and the time anomaly degree value is relatively small. Since the number of requests in the preset time period involved is the highest, it means that the degree of deviation between the user's request time and historical behavior is relatively small. If the first score of the preset time period to which the user's print task request belongs is lower, the greater the time anomaly degree calculated by the above method, indicating that the degree of deviation between the user's request time and historical behavior is relatively large. The above method can achieve a quantitative representation of the degree of deviation between the user's print request time and historical habits.

[0072] The number of requests involved in multiple request locations in the historical printing data is counted and normalized, the second score of each request location is determined and the multiple request locations are sorted according to the second score, the second scores of multiple request locations whose second scores are not lower than the request locations corresponding to the task feature information are accumulated to obtain the location abnormality of the task feature information.

[0073] In this embodiment, for historical printing data, multiple request locations involved in the historical printing data are determined, and the number of requests involved in each request location is counted, and the number of requests involved in each request location is normalized based on the total number of requests involved in the historical printing data to obtain a second score for each request location. The same analysis method as the above-mentioned time anomaly is used to calculate the location anomaly of the task feature information.

[0074] Specifically, multiple request locations are sorted according to the second score, and the second scores of multiple request locations are accumulated with reference to the request location to which the user's print task request belongs. The higher the second score corresponding to the request location to which the user's print task request belongs, the lower the location abnormality of the task feature information, indicating that the degree of deviation between the user's request location and historical behavior is smaller. Conversely, the greater the degree of deviation between the user's request location and historical behavior, in this way, a quantitative representation of the degree of deviation between the user's request location for printing this time and historical habits is achieved.

[0075] After determining the vocabulary sensitivity, time abnormality and location abnormality of the task feature information, the behavior risk score of the printing task request is calculated according to the following weighted formula:

[0076]

[0077] In the formula, R represents the behavior risk score, E represents the vocabulary sensitivity, T represents the time abnormality, and P represents the location abnormality. and are the weight parameters for lexical sensitivity, temporal abnormality, and location abnormality, respectively.

[0078] The above method realizes the behavioral analysis of the user's print task request. The higher the behavioral risk score, the greater the deviation of the user's print request behavior from historical behavior habits. The behavioral risk score is measured based on the pre-set risk score threshold to determine whether the user's print request behavior is abnormal.

[0079] As a better implementation process, in the above step S2, calling the second smart contract in the blockchain system to generate a personalized printing configuration plan for the user includes:

[0080] Calling the second smart contract in the blockchain system to analyze the historical printing data and construct a set of configuration parameters for each print file type;

[0081] For any configuration parameter set of a print file type, extract configuration parameter vectors of multiple groups of print configuration parameters in the configuration parameter set, count the occurrence frequency of each sub-configuration parameter, and construct a first frequency vector and a second frequency vector.

[0082] In this embodiment, each element in the configuration parameter vector represents a printing configuration parameter, such as paper size, print quality, print color mode, single-sided and double-sided printing, etc. The document types involved in each printing are different, such as PDF, Word, Excel and other types of documents. In the actual printing process, each type of printing configuration parameter may adopt different sub-configuration parameters, such as printing configuration parameters such as paper size, including multiple optional sub-configuration parameters. Taking any document type as an example, the occurrence frequency of each sub-configuration parameter in multiple configuration parameter vectors is counted, such as the occurrence frequency corresponding to different paper sizes, etc., to construct a first frequency vector and a second frequency vector, wherein the first frequency vector and the second frequency vector are the lowest frequency vector and the highest frequency vector, respectively. Specifically, the occurrence frequency of the sub-configuration parameter corresponding to each element in the lowest frequency vector is the lowest, and the occurrence frequency of the sub-configuration parameter corresponding to each element in the highest frequency vector is the highest.

[0083] The distances between each configuration parameter vector in the configuration parameter set and the first frequency vector and the second frequency vector are calculated respectively to obtain the first distance and the second distance of each configuration parameter vector, the weight factor of each configuration parameter vector is determined according to the first distance and the second distance, and the multiple configuration parameter vectors in the configuration parameter set are weighted based on the weight factor of each configuration parameter vector to obtain the configuration habit vector of the configuration parameter set.

[0084] In this embodiment, the weight factor of each configuration parameter vector is specifically the inverse of the sum of the first distance and the second distance of each configuration parameter vector, and the configuration parameter vector corresponding to each configuration parameter vector is weighted by the weight factor of each configuration parameter vector to obtain a configuration habit vector representing the user's behavior habits. Each file type corresponds to a configuration habit vector, which is used to represent the printing configuration parameters that the user prefers when printing documents of that file type. After determining the configuration habit vector corresponding to the printing file type to which the target printing file belongs, a personalized printing configuration plan for the target printing file is generated according to the configuration habit vector, so as to provide personalized printing services for the user.

[0085] See also Figure 2 As another aspect of an embodiment of the present invention, a human-computer interactive intelligent printing system based on blockchain is provided, comprising:

[0086] A request response module, configured to call the first smart contract in the blockchain system to authenticate the user after receiving the user's print task request;

[0087] Specifically, it includes checking whether the identity information provided by the user in the print task request is consistent with the identity information stored on the blockchain. When the identity information provided by the user is consistent with the identity information stored on the blockchain, it is determined whether the user has the authority to execute the print task based on the user's access control list stored in the blockchain system. If so, it means that the user's identity authentication is passed.

[0088] A feature extraction module, configured to extract task feature information of a print task request in response to the identity authentication of the user being passed, wherein the task feature information includes request time, request location and target print file;

[0089] A behavior risk analysis module, used to perform a behavior risk analysis on a printing task request based on the task feature information, and generate a behavior analysis result, including calculating a behavior risk score of the printing task request based on the user's historical printing data and task feature information recorded in the blockchain;

[0090] Wherein, based on the task feature information, a behavior risk analysis is performed on the printing task request to generate a behavior analysis result, including:

[0091] According to the historical printing data and task feature information of the user recorded in the blockchain, the vocabulary sensitivity, time anomaly and location anomaly of the task feature information are determined, and the behavioral risk score of the printing task request is calculated according to the following weighted formula:

[0092]

[0093] In the formula, R represents the behavior risk score, E represents the vocabulary sensitivity, T represents the time abnormality, and P represents the location abnormality. and are the weight parameters for lexical sensitivity, temporal abnormality, and location abnormality, respectively.

[0094] A behavior authentication module, used for performing behavior authentication on the user's print task request according to the behavior analysis result;

[0095] If the behavior risk score of the user's print task request is lower than the risk score threshold, it means that the behavior authentication of the user's print task request is passed, otherwise it means that the behavior authentication of the user's print task request is not passed.

[0096] A configuration scheme generating module, configured to, in response to the behavior authentication of the user's printing task request being passed, call a second smart contract in the blockchain system to generate a personalized printing configuration scheme for the user;

[0097] Specifically, a second smart contract in the blockchain system is called to analyze the historical printing data and construct a configuration parameter set for each print file type;

[0098] For any configuration parameter set of a print file type, extract configuration parameter vectors of multiple groups of print configuration parameters in the configuration parameter set, count the occurrence frequency of each sub-configuration parameter, and construct a first frequency vector and a second frequency vector;

[0099] Calculate the distance between each configuration parameter vector in the configuration parameter set and the first frequency vector and the second frequency vector respectively to obtain the first distance and the second distance of each configuration parameter vector, determine the weight factor of each configuration parameter vector according to the first distance and the second distance, and perform weighted processing on multiple configuration parameter vectors in the configuration parameter set based on the weight factor of each configuration parameter vector to obtain a configuration habit vector of the configuration parameter set;

[0100] A configuration habit vector corresponding to the print file type to which the target print file belongs is determined, and a personalized print configuration scheme for the target print file is generated according to the configuration habit vector.

[0101] A device determination module, used to generate a target printing configuration scheme according to the user's adjustment operation on the personalized printing configuration scheme, and determine a target printing device according to the target printing configuration scheme;

[0102] The task preprocessing module is used to generate the target printing task and add it to the print queue of the target printing device, and encrypt and store the target printing file based on the blockchain system;

[0103] The printing management module is used to extract the encrypted target printing file from the blockchain system after receiving the user's operation request for the target printing device, decrypt the target printing file and send it to the target printing device;

[0104] The behavior recording module is used to record the printing status data through the blockchain system after completing the printing of the target print file, including the print request time, the print completion time, the target print configuration plan and the target printing device.

[0105] The above is only a specific embodiment of the present invention, so that those skilled in the art can understand or implement the present invention. Various modifications to these embodiments will be obvious to those skilled in the art. Parts not described in detail in this specification belong to the prior art known to those skilled in the art.

Claims

1. A human-computer interactive intelligent printing method based on blockchain, characterized in that: include: After receiving the user's print task request, calling the first smart contract in the blockchain system to authenticate the user, and in response to the user's identity authentication being passed, extracting the task feature information of the print task request, including the request time, request location, and target print file; Performing a behavior risk analysis on the printing task request based on the task feature information and generating a behavior analysis result, including calculating a behavior risk score for the printing task request based on the user's historical printing data and task feature information recorded in the blockchain; Performing behavior authentication on the user's print task request according to the behavior analysis result, and in response to the behavior authentication of the user's print task request passing, calling a second smart contract in the blockchain system to generate a personalized print configuration plan for the user; Generate a target printing configuration plan according to the user's adjustment operation on the personalized printing configuration plan, and determine the target printing device according to the target printing configuration plan; Generate a target print task and add it to the print queue of the target print device. Encrypt and store the target print file based on the blockchain system. Estimate the waiting time based on the print queue and send request feedback information to the user. After receiving the user's operation request for the target printing device, the encrypted and stored target printing file is extracted from the blockchain system, the target printing file is decrypted and sent to the target printing device; After the printing of the target print file is completed, the printing status data is recorded through the blockchain system, including the print request time, print completion time, target print configuration plan and target printing device.

2. According to the blockchain-based human-computer interactive intelligent printing method of claim 1, it is characterized in that: Perform behavioral risk analysis on the print task request based on the task feature information and generate behavioral analysis results, including: According to the historical printing data and task feature information of the user recorded in the blockchain, the vocabulary sensitivity, time anomaly and location anomaly of the task feature information are determined, and the behavioral risk score of the printing task request is calculated according to the following weighted formula: In the formula, R represents the behavior risk score, E represents the vocabulary sensitivity, T represents the time abnormality, and P represents the location abnormality. and are the weight parameters for lexical sensitivity, temporal abnormality, and location abnormality, respectively.

3. According to a blockchain-based human-computer interactive intelligent printing method according to claim 2, it is characterized in that: According to the historical printing data and task feature information of the user recorded in the blockchain, the vocabulary sensitivity, time anomaly and location anomaly of the task feature information are determined, including: Scan and match the target print file through the sensitive keyword library, determine the number of sensitive words in the target print file and perform normalization processing to obtain the word sensitivity of the task feature information; Counting and normalizing the number of requests involved in the historical printing data in multiple preset time periods, determining a first score for each preset time period and sorting the multiple preset time periods according to the first score, accumulating the first scores of multiple preset time periods whose first scores are not lower than the preset time period to which the request time in the task feature information belongs, and obtaining the time anomaly degree of the task feature information; The number of requests involved in multiple request locations in the historical printing data is counted and normalized, the second score of each request location is determined and the multiple request locations are sorted according to the second score, the second scores of multiple request locations whose second scores are not lower than the request locations corresponding to the task feature information are accumulated to obtain the location abnormality of the task feature information.

4. According to the blockchain-based human-computer interactive intelligent printing method of claim 1, it is characterized in that: Call the second smart contract in the blockchain system to generate the user's personalized printing configuration plan, including: Calling the second smart contract in the blockchain system to analyze the historical printing data and construct a set of configuration parameters for each print file type; For any configuration parameter set of a print file type, extract configuration parameter vectors of multiple groups of print configuration parameters in the configuration parameter set, count the occurrence frequency of each sub-configuration parameter, and construct a first frequency vector and a second frequency vector; Calculate the distance between each configuration parameter vector in the configuration parameter set and the first frequency vector and the second frequency vector respectively to obtain the first distance and the second distance of each configuration parameter vector, determine the weight factor of each configuration parameter vector according to the first distance and the second distance, and perform weighted processing on multiple configuration parameter vectors in the configuration parameter set based on the weight factor of each configuration parameter vector to obtain a configuration habit vector of the configuration parameter set; A configuration habit vector corresponding to the print file type to which the target print file belongs is determined, and a personalized print configuration scheme for the target print file is generated according to the configuration habit vector.

5. According to the blockchain-based human-computer interactive intelligent printing method of claim 1, it is characterized in that: Perform behavior authentication on the user's print task request based on the behavior analysis results, including: If the behavior risk score of the user's print task request is lower than the risk score threshold, it means that the behavior authentication of the user's print task request is passed, otherwise it means that the behavior authentication of the user's print task request is not passed.

6. According to a blockchain-based human-computer interactive intelligent printing method according to claim 1, it is characterized in that: Call the first smart contract in the blockchain system to authenticate the user, including: Check whether the identity information provided by the user in the print task request is consistent with the identity information stored on the blockchain. If the identity information provided by the user is consistent with the identity information stored on the blockchain, determine whether the user has the authority to execute the print task based on the user's access control list stored in the blockchain system. If so, it means that the user's identity authentication is successful.

7. A human-computer interactive intelligent printing system based on blockchain, characterized in that: The system is used to implement a human-computer interactive intelligent printing method based on blockchain as described in any one of claims 1 to 6, including: A request response module, configured to call the first smart contract in the blockchain system to authenticate the user after receiving the user's print task request; A feature extraction module, for extracting task feature information of a print task request, including request time, request location and target print file, in response to the identity authentication of the user being passed; A behavior risk analysis module, used to perform a behavior risk analysis on a printing task request based on the task feature information, and generate a behavior analysis result, including calculating a behavior risk score of the printing task request based on the user's historical printing data and task feature information recorded in the blockchain; A behavior authentication module, used for performing behavior authentication on the user's print task request according to the behavior analysis result; A configuration scheme generating module, configured to, in response to the behavior authentication of the user's printing task request being passed, call a second smart contract in the blockchain system to generate a personalized printing configuration scheme for the user; A device determination module, used to generate a target printing configuration scheme according to the user's adjustment operation on the personalized printing configuration scheme, and determine a target printing device according to the target printing configuration scheme; The task preprocessing module is used to generate the target printing task and add it to the print queue of the target printing device, and encrypt and store the target printing file based on the blockchain system; The printing management module is used to extract the encrypted target printing file from the blockchain system after receiving the user's operation request for the target printing device, decrypt the target printing file and send it to the target printing device; The behavior recording module is used to record the printing status data through the blockchain system after completing the printing of the target print file, including the print request time, the print completion time, the target print configuration plan and the target printing device.

8. According to claim 7, a blockchain-based human-computer interactive intelligent printing system is characterized in that: For the configuration scheme generation module, the second smart contract in the blockchain system is called to generate a personalized printing configuration scheme for the user, including: Calling the second smart contract in the blockchain system to analyze the historical printing data and construct a set of configuration parameters for each print file type; For any configuration parameter set of a print file type, extract configuration parameter vectors of multiple groups of print configuration parameters in the configuration parameter set, count the occurrence frequency of each sub-configuration parameter, and construct a first frequency vector and a second frequency vector; Calculate the distance between each configuration parameter vector in the configuration parameter set and the first frequency vector and the second frequency vector respectively to obtain the first distance and the second distance of each configuration parameter vector, determine the weight factor of each configuration parameter vector according to the first distance and the second distance, and perform weighted processing on multiple configuration parameter vectors in the configuration parameter set based on the weight factor of each configuration parameter vector to obtain a configuration habit vector of the configuration parameter set; A configuration habit vector corresponding to the print file type to which the target print file belongs is determined, and a personalized print configuration scheme for the target print file is generated according to the configuration habit vector.

Citation Information

Patent Citations

  • Digital file printing method and device, electronic equipment and storage medium

    CN115129276A

  • Personalized content recommendation method based on user behaviors and preferences

    CN118568359A