A personalized preference printing method and device based on cloud-edge collaboration

Through cloud-edge collaboration technology, personalized attribute values ​​of printers and users are established, realizing personalized customization and common customization of thermal printers, solving the problem that existing technology cannot meet the problem of shared use of personalized settings, and improving printing efficiency and user Satisfaction.

CN118363548BActive Publication Date: 2024-09-20ZHUHAI XPRINTER ELECTRONICS TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410777504.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-17
Publication Date
2024-09-20
Estimated Expiration
2044-06-17

AI Technical Summary

Technical Problem

Existing thermal printers cannot meet the shared use needs of personalized settings, especially in commercial scenarios, such as takeout or dine-in, and cannot display personalized prompts, such as adjusting font size or blessings.

Method used

Adopting a personalized preference printing method based on cloud-edge collaboration, through the steps of data collection, model customization and optimization, content caching and distribution, printing task generation and execution, monitoring and feedback, the printer's personality attribute values ​​and user characteristic values ​​are established to achieve personalization. Personalized customization and common customization, using two-level caching and edge model optimization to ensure that the printer can perform personalized printing according to user preferences.

Benefits of technology

It enables repeated use of user preference settings on the same printer and the same APP, and can be used repeatedly on different printers, improving printing efficiency and user satisfaction, and meeting personalized needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118363548B
    Figure CN118363548B
Patent Text Reader

Abstract

This invention relates to a personalized preference printing method and device based on cloud-edge collaboration, belonging to the field of personalized printing technology for thermal printers. This invention establishes printer-specific attribute values, user characteristic values, and user-specific attribute values ​​for personalized and common customization. It can distinguish between user preferences and general preferences. After a user activates the printer, a mapping relationship is established between the printer's characteristic values ​​and the user's characteristic values, allowing printing based on past preferences. This enables the same user's preference settings to be repeatedly used on the same printer; the same user's preference settings to be repeatedly used on the same printer within the same app; and the same user's preference settings to be repeatedly used on different printers within the same app.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of personalized printing of thermal printers, and specifically to a personalized preference printing method and device based on cloud-edge collaboration. Background Art

[0002] Printers print text or graphics onto physical media, where common text or graphics are electronic documents and pictures. With the rapid development of computer networks, existing technologies have allowed regional sharing of printers by connecting several computers in a certain area, such as in an office area, to the same printer. However, this only allows printers to be shared in an independent office environment, that is, only the computer connected to the printer can print on the printer.

[0003] Existing patents, such as an interactive bill printing module with application number 201810732472.4, include a host computer, an intelligent hardware module, a printer and a cloud business logic module; the beneficial effect of the present invention is that in addition to printing the transaction content, the present invention submits the data to the cloud before printing, and obtains a dynamic QR code from the cloud and prints it behind the transaction content. After scanning the QR code, the customer can realize a series of extended services including but not limited to following the official account, earning points, participating in activities and issuing invoices, etc., so that the ordinary bill printing function becomes an Internet + printer with interactive marketing functions.

[0004] However, offline thermal receipt printers cannot meet this demand, and frequently used personalized settings cannot be shared. In some business scenarios where thermal printers are used, such as takeout or dine-in, users have some personalized needs. For example, they want some general prompts to be displayed in large fonts to remind the chef to pay special attention when cooking, such as not adding spicy food, or to make the food particularly spicy; or to remind the delivery person to put the food in a designated place; or when sending items to designated people, they want certain blessings to be displayed large enough, etc. Personal needs are not listed one by one. Summary of the invention

[0005] The present invention aims to solve the above-mentioned technical problems and provide a personalized preference printing method and device based on cloud-edge collaboration.

[0006] In order to solve the above technical problems, the technical solution provided by the present invention is:

[0007] A personalized preference printing method based on cloud-edge collaboration includes the following steps:

[0008] S1. Data collection:

[0009] Collect user behavior data and preference information, establish printer personality attribute values ​​for each printer's printer characteristic values, and simultaneously establish user characteristic values ​​and user personality attribute values ​​for the user;

[0010] S2. Model customization and optimization:

[0011] Based on the analysis of data and preference information, an edge model is established on the printer side for personalized and common customization.

[0012] S3, content caching and distribution:

[0013] A two-level content cache solution is adopted. The first-level cache is located at the edge node to store commonly used content that meets user preferences; the second-level cache is located in the cloud to store a wider range of content;

[0014] S4. Printing task generation and execution:

[0015] When the printer is connected to the Internet, the printer feature value and the printer personality attribute value of the printer are uploaded, a print task is generated on the user side, and the task information is uploaded to the edge server. After receiving the print task, the edge server performs preliminary processing according to the user's task information and enters the first-level cache or the second-level cache;

[0016] S5. Monitoring and feedback:

[0017] When the user activates the printer, a mapping relationship is established between the printer feature value and the user feature value.

[0018] When the user sets common customization through the terminal application APP multiple times, it will be synchronized to the cloud and printer through the network;

[0019] When users customize their settings through the printer, they are synchronized to the cloud through the network;

[0020] Through the above steps, personalized customization and common customization are synchronized to the cloud, edge printers and terminal applications, and a mapping relationship is established with user feature values;

[0021] When the printer receives an order again, it can quickly call up the user personality attribute value of the specified user through the edge node.

[0022] Preferably, the content of the first-level cache bits enters a homogeneous mode, and the content of the second-level cache bits enters an individualized mode.

[0023] The task information includes the content to be printed, the format and the user preference.

[0024] A personalized preference printing device based on cloud-edge collaboration, comprising a user end, a printer and a cloud;

[0025] The printer includes a data receiving module, an edge model, a model optimization module, a cache module, an execution module and a monitoring module for data reception;

[0026] The model optimization module optimizes the edge model, the model optimization modules are interconnected with the cache modules, the cache module provides a route for the execution module, the execution module receives the printing task from the user end, and the monitoring module establishes a mapping relationship with the user feature value so that the user end calls the user personality attribute value of the specified user for printing.

[0027] Preferably, the edge model includes a large model and a small model, the small model corresponds to personalized customization, and the large model corresponds to common customization.

[0028] Preferably, the personalized customization and common customization are combined and work together through a model optimization module.

[0029] Preferably, the model optimization module performs meta-learning on the edge model to initialize model parameters, so that the edge model can adapt to new tasks or new devices more flexibly. The model optimization module performs model pruning and parameter quantization technology on the edge model to reduce the scale of the edge model, improve the calculation speed and reduce the calculation burden of the edge device.

[0030] A device comprises a processor and a memory; the processor is used to execute instructions stored in the memory so that the device executes the personalized preference printing method based on cloud-edge collaboration.

[0031] A computer-readable storage medium includes instructions, wherein the instructions instruct a device to execute a personalized preference printing method based on cloud-edge collaboration.

[0032] After adopting the above method, the present invention has the following advantages:

[0033] The present invention establishes printer personality attribute values, user characteristic values, and user personality attribute values ​​to perform personalized customization and common customization, and can distinguish the preferences and preferences of the user end. After the user activates the printer, a mapping relationship is established between the printer characteristic value and the user characteristic value, and printing is performed according to previous preferences. The preference settings of the same user can be repeatedly used on the same printer; the preference settings of the same user on the same APP can be repeatedly used on the same printer; the preference settings of the same user on the same APP can be repeatedly used on different printers.

[0034] The above summary is for illustrative purposes only and is not intended to be limiting in any way. In addition to the illustrative aspects, embodiments and features described above, further aspects, embodiments and features of the present invention will be readily apparent by reference to the accompanying drawings and the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0036] Figure 1 It is a structural schematic diagram of the device of the present invention;

[0037] Figure 2 It is a structural schematic diagram of the edge model of the present invention.

[0038] As shown in the figure: 1. User end; 2. Printer; 3. Cloud; 4. Data receiving module; 5. Edge model; 6. Model optimization module; 7. Cache module; 8. Execution module; 9. Monitoring module. DETAILED DESCRIPTION

[0039] Specific embodiments of the present invention will now be mentioned in detail. Although the present invention is described in conjunction with these specific embodiments, it should be appreciated that it is not intended to limit the present invention to these specific embodiments. On the contrary, these embodiments are intended to cover substitutions, changes or equivalent embodiments that may be included in the spirit and scope of the invention defined by the claims. In the following description, a large number of specific details are set forth in order to provide a comprehensive understanding of the present invention. The present invention can be implemented without some or all of these specific details. In other cases, in order not to make the present invention unnecessarily obscure, well-known process operations are not described in detail.

[0040] When used in conjunction with "including," "methods comprising," or similar language in this specification and the appended claims, the singular forms "a," "an," and "the" include plural references unless the context clearly dictates otherwise. Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.

[0041] The present invention is further described in detail below in conjunction with the full text.

[0042] Combined with Figure 1 and Figure 2 , a personalized preference printing method based on cloud-edge collaboration, comprising the following steps:

[0043] S1. Data collection:

[0044] Collect user behavior data and preference information, establish printer personality attribute values ​​for each printer's printer characteristic values, and simultaneously establish user characteristic values ​​and user personality attribute values ​​for the user;

[0045] S2. Model customization and optimization:

[0046] Based on the analysis of data and preference information, an edge model is established on the printer side for personalized and common customization.

[0047] S3, content caching and distribution:

[0048] A two-level content cache solution is adopted. The first-level cache is located at the edge node to store commonly used content that meets user preferences; the second-level cache is located in the cloud to store a wider range of content;

[0049] S4. Printing task generation and execution:

[0050] When the printer is connected to the Internet, the printer feature value and the printer personality attribute value of the printer are uploaded, a print task is generated on the user side, and the task information is uploaded to the edge server. After receiving the print task, the edge server performs preliminary processing according to the user's task information and enters the first-level cache or the second-level cache;

[0051] S5. Monitoring and feedback:

[0052] When the user activates the printer, a mapping relationship is established between the printer feature value and the user feature value.

[0053] When the user sets common customization through the terminal application APP multiple times, it will be synchronized to the cloud and printer through the network;

[0054] When users customize their settings through the printer, they are synchronized to the cloud through the network;

[0055] Through the above steps, personalized customization and common customization are synchronized to the cloud, edge printers and terminal applications, and a mapping relationship is established with user feature values;

[0056] When the printer receives an order again, it can quickly call up the user personality attribute value of the specified user through the edge node.

[0057] The content of the first level cache bits enters the same-sex mode, and the content of the second level cache bits enters the individuality mode.

[0058] The task information includes the content to be printed, the format and the user preference.

[0059] A personalized preference printing device based on cloud-edge collaboration, comprising a user terminal 1, a printer 2 and a cloud 3;

[0060] The printer 2 includes a data receiving module 4 for data reception, an edge model 5, a model optimization module 6, a cache module 7, an execution module 8 and a monitoring module 9;

[0061] The model optimization module 6 optimizes the edge model 5, and the model optimization module 6 is interconnected with the cache module 7. The cache module 7 provides a route for the execution module 8. The execution module 8 receives the printing task from the user terminal 1, and the monitoring module 9 establishes a mapping relationship with the user feature value so that the user terminal 1 calls the user personality attribute value of the specified user for printing.

[0062] The edge model 5 includes a large model and a small model, the small model corresponds to personalized customization, and the large model corresponds to common customization.

[0063] The individual customization and common customization are combined and work together through the model optimization module 6.

[0064] The model optimization module 6 performs meta-learning to initialize model parameters of the edge model 5, so that the edge model 5 can adapt to new tasks or new devices more flexibly. The model optimization module 6 performs model pruning and parameter quantization technology on the edge model 5 to reduce the scale of the edge model 5, improve the calculation speed and reduce the calculation burden of the edge device.

[0065] Specifically, the learning efficiency of the model optimization module 6 becomes a core issue. It is necessary to use limited computing resources to significantly improve the real-time, efficiency and feasibility of specific model training and inference tasks performed in the end environment.

[0066] Model compression technology is used to improve learning efficiency on edge devices. Model pruning and parameter quantization technologies are widely used to reduce the size of models, which can increase computing speed and reduce the computing burden of edge devices. Model pruning can remove unnecessary model parameters or layers to simplify the model, and parameter quantization can reduce the number of bits required for parameters to reduce the storage and computing requirements of the model. These methods effectively alleviate the constraints on model deployment on edge devices (such as computing power and storage space limitations).

[0067] The continuous improvement of edge device hardware performance also provides direct support for optimizing edge learning efficiency, and to some extent alleviates the limitations of model size and structure deployed on edge devices. Through the collaboration of software and hardware, the training and inference speed and overall computing efficiency of models on edge devices are improved, making AI models more efficient in edge computing environments.

[0068] Edge devices can usually only collect a limited amount of data and the quality of data label annotation is often not high, so the few-sample learning problem on the end side and the overfitting phenomenon caused by it become a challenge. Considering the need for user privacy protection, direct data sharing is limited, and the data collected by different edge devices based on their type, geographical location, and sensor characteristics are significantly different, which will aggravate the problem of data sparsity. There are two typical strategies to solve this problem: ① Federated learning allows the merging of model updates on different devices without sharing the original user data, thereby achieving model optimization, which can reduce data transmission risks and improve the performance of the global model while protecting user privacy; ② Data sharing under privacy protection conditions, using differential privacy and other technologies to maintain user data privacy and introduce specific noise interference, so that the statistical information extracted from the data will not leak personal sensitive information, and a certain degree of data sharing can be achieved on a secure basis.

[0069] When the present invention is specifically implemented, Figure 1 As shown. The present invention integrates the real-time perception and response capabilities and the large-scale computing and storage capabilities of the cloud side, and provides a good solution for multi-party (especially multi-terminal) data sharing and integrated applications. The main features are: the computing resources of the user end 1 and the cloud end 3 complement each other, train in the cloud, optimize the edge model 5 through the model optimization module 6, and output the model capabilities to the small model on the end. The end model is responsible for the actual reasoning and feeds back the algorithm and execution results to the cloud model, forming an "organic cycle" capability enhancement system, realizing efficient use of data resources and improving the robustness of services.

[0070] The advantages of the present invention are as follows: ① It can significantly improve the utilization rate of data resources while protecting user privacy, support multi-party data sharing and integrated applications, and promote technical research and application innovation in many fields; ② Collaboration can significantly improve the real-time response capability of the system and the robustness of services, and provide key solutions for application scenarios with high real-time and reliability requirements; ③ Provide a flexible and scalable platform to fully utilize and optimize the resources of the user end 1 and the cloud 3, and promote the integration and innovation of cloud computing and edge computing technologies; ④ Application-driven technological innovation and business model exploration in fields such as AI and the Internet of Things (IoT) lay a solid foundation for the medium- and long-term evolution and improvement of the corresponding fields.

[0071] When the present invention is specifically implemented, Figure 2As shown. On the user side 1, different users often show unique behavior patterns, resulting in significant differences in data distribution between users. For individual users, the data distribution of a person is usually quite different from the global data. Therefore, if a model trained based on global data distribution is used to process the data of individual users, the accuracy of reasoning may drop significantly. Taking the recommendation system as an example, each user has his or her own unique habits and interests. If a model trained with different data distributions is used to serve all users, it is difficult to say that everyone has a good experience.

[0072] One of the feasible strategies is to first train large and small models in the cloud, and adopt a two-level content cache solution. The first-level cache is located in the edge node to store commonly used content that meets user preferences; the second-level cache is located in the cloud to store a wider range of content, corresponding to large and small models, and then adjust their applicability on the edge device to form personalized customization and common customization that matches specific devices or application environments. Fine-tuning the model parameters can improve model performance and ensure efficient operation on edge devices. In addition, meta-learning technology can better initialize model parameters, making the model more flexible to adapt to new tasks or new devices. Through training on a series of tasks, the model learns more general feature expressions and can show better adaptability when facing new tasks. In the end-cloud collaborative mode, the model first receives meta-learning training in the cloud, and then can adapt to various edge devices more quickly.

[0073] In cloud 3, data heterogeneity is prevalent, which has an impact on many key issues, allowing the model optimization module 6 to effectively generalize to the generalization problems existing on edge devices with different data distributions. The cloud 3 collaborative algorithm is prone to "client drift" when facing data heterogeneity, that is, the parameters of each independently updated client model gradually deviate from the global model parameters, resulting in unstable system convergence or slow convergence speed.

[0074] Models trained on heterogeneous data are prone to absorb data that does not have a causal relationship and false correlation information between features and labels. The negative impacts of false correlation on end-cloud collaborative intelligent computing are: ① Interfering with the weak generalization ability of cloud models in a wide range of end environments, making it difficult for cloud models to adapt to different application scenarios and data distributions; ② Inhibiting the effective separation of biased knowledge and stable knowledge in the model convergence process, reducing the reliability and fairness of the model; ③ Degrading the robustness of information knowledge transfer in end-cloud collaborative inference, which may lead to unstable model inference results and accumulated errors.

[0075] When the user sets common customization through the terminal application APP multiple times, it is synchronized to the cloud and printer through the network, and the personalized customization and common customization are synchronized to the cloud, edge printer and terminal application, and a mapping relationship is established with the user feature value. When the printer receives the order again, it can quickly call the user personality attribute value of the specified user through the edge node, and send the processed print content to the printer for output.

[0076] During the entire process, the monitoring module 9 continuously monitors the user's behavior and feedback in order to continuously optimize the personalized preference printing method, collect user feedback on the printing results, and further adjust and optimize the model and caching strategy to better meet the user's personalized needs, realize the personalized preference printing method of cloud-edge collaboration, and improve printing efficiency and user satisfaction.

[0077] Data collection can be done through user surveys: collecting user feedback and opinions on products and services through questionnaires, telephone interviews, etc., so as to understand user needs and behaviors.

[0078] Server log collection: Record detailed information about user visits through the Web server, including page access time, access path, request parameters, etc.

[0079] Event tracking: Use event tracking technology to record the user's specific operations in the application, such as clicking buttons, submitting forms, etc.

[0080] Tracking technology: By embedding lightweight code (SDK) in web pages or applications, user behavior data is collected in real time and parameters are sent back. This method can ensure the integrity and accuracy of the data.

[0081] After data collection, it is necessary to pre-process the data for analysis. This includes steps such as data cleaning, deduplication, and format unification. For example, invalid or abnormal data records can be removed to ensure the accuracy of the analysis results.

[0082] A device comprises a processor and a memory; the processor is used to execute instructions stored in the memory so that the device executes the personalized preference printing method based on cloud-edge collaboration.

[0083] A computer-readable storage medium includes instructions, wherein the instructions instruct a device to execute a personalized preference printing method based on cloud-edge collaboration.

[0084] A computer program product comprising instructions, when running on a computer, enables the computer to execute the personalized preference printing method based on cloud-edge collaboration. Embodiment 1:

[0085] Mr. Li from a certain community orders takeout at noon every day, and the food he orders is from the same restaurant.

[0086] The following steps are involved:

[0087] S1. Data collection:

[0088] The store's printer has collected Li's user feature values ​​and user personality attribute values, and established the printer's personality attribute values.

[0089] S2. Model customization and optimization:

[0090] Based on the analysis of data and preference information, an edge model is established on the printer side for personalization and common customization of Li.

[0091] S3, content caching and distribution:

[0092] We ordered the same meal and entered the first level cache.

[0093] S4. Printing task generation and execution:

[0094] When the printer is connected to the Internet, it will upload the printer feature value and printer personality attribute value of the printer, generate a print task on the user side, and upload the task information to the edge server. After receiving the print task, the edge server will perform preliminary processing according to the user's task information and enter the first-level cache.

[0095] S5. Monitoring and feedback:

[0096] After the user activates the printer, a mapping relationship is established between the printer characteristic value and the user characteristic value.

[0097] After Li places an order, when the printer receives the order, it can quickly call the user personality attribute value of the specified user through the edge node and print it. Embodiment 2:

[0098] Mr. Li from a certain community orders takeout at noon every day. He orders from the same restaurant, but because Li has been having stomach problems recently, he makes a note not to put chili in the food.

[0099] The following steps are involved:

[0100] S1. Data collection:

[0101] The store's printer has collected Li's user feature values ​​and user personality attribute values, and established the printer's personality attribute values;

[0102] S2. Model customization and optimization:

[0103] Based on the analysis of data and preference information, an edge model is established on the printer side for personalization and common customization of Li.

[0104] S3, content caching and distribution:

[0105] If you order the same meal from the same restaurant, you will enter the first-level cache. If you specify that you don't want to add chili, you will enter the second-level cache.

[0106] S4. Printing task generation and execution:

[0107] When the printer is connected to the Internet, it will upload the printer feature value and printer personality attribute value of the printer, generate a print task on the user side, and upload the task information to the edge server. After receiving the print task, the edge server will perform preliminary processing according to the user's task information and enter the first-level cache and the second-level cache;

[0108] S5. Monitoring and feedback:

[0109] After the user activates the printer, a mapping relationship is established between the printer characteristic value and the user characteristic value.

[0110] After Li places an order, when the printer receives the order, it can quickly call the user personality attribute value of the specified user through the edge node and print it.

[0111] It should also be noted that the device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed over multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the drawings of the device embodiments provided by the present application, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines.

[0112] Through the description of the above implementation mode, the technicians in the field can clearly understand that the present application can be implemented by means of software plus necessary general hardware, and of course, it can also be implemented by special hardware including special integrated circuits, special CPUs, special memories, special components, etc. In general, all functions completed by computer programs can be easily implemented by corresponding hardware, and the specific hardware structure used to implement the same function can also be various, such as analog circuits, digital circuits or special circuits. However, for the present application, software program implementation is a better implementation mode in more cases. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a readable storage medium, such as a computer floppy disk, a U disk, a mobile hard disk, a ROM, a RAM, a magnetic disk or an optical disk, etc., including a number of instructions to enable a computer device (which can be a personal computer, a training device, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0113] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or part of the embodiments may be implemented in the form of a computer program product.

[0114] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website site, a computer, a training device, or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, training device, or data center. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a training device, a data center, etc. that includes one or more available media integrations. The available medium may be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk (SSD)), etc.

[0115] The present invention and its embodiments are described above, and such description is not restrictive. What is shown in the full text is only one of the embodiments of the present invention, and the actual structure is not limited thereto. In short, if ordinary technicians in the field are inspired by it, without departing from the purpose of the invention, they can design a structure and embodiment similar to the technical solution without creativity, which should belong to the protection scope of the present invention.

Claims

1. A personalized preference printing method based on cloud-edge collaboration, characterized in that: The following steps are involved: S1. Data collection: Collect user behavior data and preference information, establish printer personality attribute values ​​for each printer's printer characteristic values, and simultaneously establish user characteristic values ​​and user personality attribute values ​​for the user; S2. Model customization and optimization: Based on the analysis of data and preference information, an edge model is established on the printer side for personalized and common customization. S3, content caching and distribution: A two-level content cache solution is adopted. The first-level cache is located at the edge node and is used to store commonly used content that meets user preferences. The second level cache is located in the cloud and is used to store a wider range of content; S4. Printing task generation and execution: When the printer is connected to the Internet, the printer feature value and the printer personality attribute value of the printer are uploaded, a print task is generated on the user side, and the task information is uploaded to the edge server. After receiving the print task, the edge server performs preliminary processing according to the user's task information and enters the first-level cache or the second-level cache; S5. Monitoring and feedback: When the user activates the printer, a mapping relationship is established between the printer feature value and the user feature value. When the user sets common customization through the terminal application APP multiple times, it will be synchronized to the cloud and printer through the network; When users customize their settings through the printer, they are synchronized to the cloud through the network; Through the above steps, personalized customization and common customization are synchronized to the cloud, edge printers and terminal applications, and a mapping relationship is established with user feature values; When the printer receives an order again, it can quickly call up the user personality attribute value of the specified user through the edge node.

2. According to claim 1, a personalized preference printing method based on cloud-edge collaboration is characterized in that: The content of the first-level cache enters the homogeneous mode, and the content of the second-level cache enters the individualized mode.

3. According to claim 1, a personalized preference printing method based on cloud-edge collaboration is characterized in that: The task information includes the content to be printed, the format and the user preference.

4. A personalized preference printing device using a personalized preference printing method based on cloud-edge collaboration as described in any one of claims 1 to 3, characterized in that: It includes a user end (1), a printer (2) and a cloud (3); The printer (2) comprises a data receiving module (4) for receiving data, an edge model (5), a model optimization module (6), a cache module (7), an execution module (8) and a monitoring module (9); The model optimization module (6) optimizes the edge model (5), the model optimization module (6) is interconnected with the cache module (7), the cache module (7) provides a route for the execution module (8), the execution module (8) receives the printing task from the user end (1), and the monitoring module (9) establishes a mapping relationship with the user feature value so that the user end (1) calls the user personality attribute value of the specified user for printing.

5. The personalized preference printing device according to claim 4, characterized in that: The edge model (5) includes a large model and a small model, the small model corresponds to personalized customization, and the large model corresponds to common customization.

6. The personalized preference printing device according to claim 5, characterized in that: The individual customization and common customization are combined and work together through the model optimization module (6).

7. The personalized preference printing device according to claim 4, characterized in that: The model optimization module (6) performs meta-learning to initialize model parameters of the edge model (5), so that the edge model (5) can be more flexibly adapted to new tasks or new devices. The model optimization module (6) performs model pruning and parameter quantization technology on the edge model (5) to reduce the scale of the edge model (5), improve the computing speed and reduce the computing burden of the edge device.

8. A device, characterized in that The device includes a processor and a memory; the processor is used to execute instructions stored in the memory, so that the device executes a personalized preference printing method based on cloud-edge collaboration as described in any one of claims 1 to 3.

9. A computer-readable storage medium, characterized in that: It includes instructions that instruct the device to execute a personalized preference printing method based on cloud-edge collaboration as described in any one of claims 1 to 3.

10. A computer program product comprising instructions, which, when executed on a computer, enables the computer to execute a personalized preference printing method based on cloud-edge collaboration as described in any one of claims 1 to 3.