Comprehensive jewelry detection management system
By designing a comprehensive jewelry inspection and management system, using WebSocket real-time communication and automation processes, the inefficiency and data inconsistency in inventory management and anti-theft in the jewelry industry are solved, and efficient and accurate jewelry inspection and data collection are achieved.
Patent Information
- Application Number
- CN202510136447.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-07
- Publication Date
- 2025-05-30
AI Technical Summary
The jewelry industry has problems of inefficiency and inconsistent data in inventory management and anti-theft, and traditional manual inventory and monitoring methods are difficult to effectively solve these problems.
A comprehensive jewelry inspection and management system was designed, including cloud chain installation and configuration module, communication module, integral module of the test, map collection module, map upload module, certificate generation module, print management module and interactive process module. Through real-time communication and automation processes of WebSocket, jewelry inspection, data collection and certificate generation are realized.
Through automated processes, manual intervention is reduced, the efficiency of jewelry detection and data collection is improved, data accuracy and real-timeness are ensured, information lag and repetitive errors are avoided, and overall reliability is improved.
Smart Images

Figure CN120069792A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of precious item protection, and more specifically, particularly relates to an integrated jewelry detection and management system. Background Art
[0002] The jewelry industry involves high-value and diverse styles of commodities. In the management process of such precious commodities, it is required to quickly and accurately count and manage store and inventory management data, and ensure security and anti-theft during the sales process of commodities. The timely accuracy and security anti-theft of jewelry inventory are two major pain points in this industry. All along, relying on traditional manual inventory taking and monitoring and anti-theft methods cannot well solve the problem of inventory counting management efficiency and better anti-theft management methods. Especially in sales stores, when salespersons face many customers selecting and trying on jewelry, service problems may lead to customer loss, poor customer consumption experience, and even the loss of precious jewelry, the security and anti-theft problems of swapping goods when there are many people, bringing great losses to merchants. At the end of work shift handover and daily business, it is necessary to take inventory and statistics of the jewelry in the current store to ensure the accuracy of inventory data. The timely accuracy of these data is crucial for operators and managers. However, traditional methods require a large amount of manpower and time for manual inventory taking, with low efficiency and prone to errors in inventory data.
[0003] Different jewelry detection links use different systems or databases, which results in data being scattered in multiple places and difficult to integrate and uniformly manage. Due to the lack of an effective data synchronization mechanism between systems, data is often not transmitted to relevant systems or personnel in a timely manner after being updated, resulting in information lag and data inconsistency. Due to manual data input or operations, it is easy to cause input errors, omissions, or inconsistencies, especially in a busy or stressful working environment, with a higher error rate. A large number of processes that require manual intervention, such as spectrum acquisition, certificate generation, etc., increase the manual operation time and reduce the overall work efficiency. Summary of the Invention
[0004] The purpose of this part is to outline some aspects of the embodiments of the present invention and briefly introduce some preferred embodiments. Simplifications or omissions may be made in this part, as well as in the abstract and title of the present application, to avoid obscuring the purpose of this part, the abstract, and the title of the invention. Such simplifications or omissions shall not be used to limit the scope of the present invention.
[0005] In view of the above problems of the existing integrated jewelry detection and management system, the present invention is proposed.
[0006] To solve the above technical problems, the present invention provides the following technical solutions:
[0007] An embodiment of the present invention provides a comprehensive jewelry detection management system, including: a cloud chain installation and configuration module, which is used to install the cloud chain program on the staff's computer, set the functions of automatic startup and automatic login when the computer boots, and when logging in, the user needs to confirm that the configuration parameters are correct and perform parameter configuration. Through the parameter configuration page, the WebSocket port and the service startup status are set to connect the Web side and the cloud chain server;
[0008] A communication module, which is used for the Web side to send instructions through WebSocket, and after the cloud chain receives them, it executes relevant operations, and all the collected data is uploaded to the server and the client in real time through the Web side;
[0009] A weighing and photographing integrated module, which is used for the cloud chain to send an instruction to the electronic balance after receiving a weighing request, obtain the weight data of the item, and the cloud chain takes a picture of the jewelry through a USB high-definition camera and synchronously uploads it to the server and the client;
[0010] A spectrum collection module, which is used for the cloud chain to take a screenshot of a specified area and save the picture after receiving a screenshot instruction, and the spectrum is manually uploaded to the server;
[0011] A spectrum upload module, which is used in the stand-alone mode. The spectrum picture is saved locally, and the spectrum picture is uploaded to the server through the spectrum upload function;
[0012] A certificate generation module, which is used for the cloud chain to receive a certificate generation instruction from the Web side through a WebSocket client, obtain certificate data from the application server, generate a PDF format certificate copy according to FastReport.NET and upload it to the FTP server for archiving through SFTP;
[0013] A printing management module, which is used for the cloud chain to analyze the printing requirements after receiving a printing instruction, obtain certificate data from the application server, call FastReport.NET to generate a certificate, and display it on the cloud chain client;
[0014] An interaction process module, which is used for the Web side to obtain jewelry detection data from the cloud chain in real time through WebSocket and display it on the user interface. On the Web side, the cloud chain executes corresponding functions according to instructions, and the cloud chain feeds back the operation results to the Web side in real time.
[0015] As a preferred solution of the comprehensive jewelry detection management system described in the present invention, where: the setting of the functions of automatic startup and automatic login when the computer boots, and when logging in, the user needs to confirm that the configuration parameters are correct and perform parameter configuration, includes:
[0016] When the cloud chain program starts, check whether there are saved configuration parameters. If not, automatically pop up the parameter configuration page;
[0017] On the parameter configuration page, options are provided for users to choose whether to enable the functions of automatic startup and automatic login when the device boots up. According to the user's selection, the corresponding system settings are modified.
[0018] As a preferred solution of the integrated jewelry detection management system described in the present invention, wherein: the Web terminal sends instructions through WebSocket, and the cloud chain executes relevant operations after receiving them. All the collected data is uploaded to the server and the client in real time through the Web terminal, including:
[0019] The cloud chain listens for instructions from the Web terminal through WebSocket. When an instruction is received, the cloud chain parses the instruction and determines the specific operation to be performed according to the action field.
[0020] According to different action fields, the cloud chain executes corresponding operations. After the cloud chain executes the corresponding operations, it sends the operation result to the Web terminal. The Web terminal updates the user interface according to the feedback result, displays the operation result or further prompts the user for operations.
[0021] As a preferred solution of the integrated jewelry detection management system described in the present invention, wherein: after the cloud chain receives a weighing request, it sends an instruction to the electronic balance to obtain the weight data of the item, including:
[0022] The Web terminal sends a weighing request containing the item identifier to the cloud chain through WebSocket. The cloud chain, as a WebSocket server, receives the weighing request. The cloud chain parses the received request, checks whether the request content meets the expectations, and confirms that the action of the request is a weighing operation.
[0023] The cloud chain establishes a communication connection with the electronic balance. After the connection is established, the cloud chain sends a weighing instruction to the electronic balance. The electronic balance starts weighing according to the instruction and will return the weight data of the currently weighed item. After receiving the instruction sent by the cloud chain, the electronic balance performs the weighing operation of the item and calculates the weight of the item.
[0024] As a preferred solution of the integrated jewelry detection management system described in the present invention, wherein: after the cloud chain receives a screenshot instruction, it takes a screenshot of the specified area and saves the picture. The picture is uploaded to the server, and the URL of the picture is returned to the Web terminal, including:
[0025] The Web terminal sends a screenshot instruction through WebSocket. The instruction includes the requested item ID. The cloud chain, as a WebSocket server or other communication interface, receives the screenshot instruction. The cloud chain parses the instruction, extracts the coordinates and size information of the screenshot area and the item ID. According to the screenshot area parameters received from the Web terminal, the cloud chain determines the screenshot area on the screen. The cloud chain uploads the saved screenshot file to the server through the configured protocol.
[0026] As a preferred solution of the comprehensive jewelry inspection management system of the present invention, in which: in the stand-alone mode, the atlas picture is saved locally, and the atlas picture is uploaded to the server through the atlas upload function, including:
[0027] Cloud Chain captures the specified area of the current screen and saves the atlas image in local storage. At this time, there is no real-time connection with the Web end, and the image only exists locally. Cloud Chain uploads the atlas image to the server via HTTP.
[0028] As a preferred solution of the comprehensive jewelry inspection management system of the present invention, the cloud chain receives the certificate generation instruction from the Web end through the WebSocket client, obtains the certificate data from the application server, and generates a PDF format certificate copy according to FastReport.NET, including:
[0029] According to the item ID, CloudChain initiates a request to the application server to obtain the relevant data of the item; CloudChain fills the data obtained from the application server into the placeholder in the certificate template. For pictures, CloudChain fills the image data of the item into the specified position in the template. After completing the data filling, CloudChain generates the final PDF format certificate through the FastReport.NET engine.
[0030] As a preferred solution of the comprehensive jewelry inspection management system of the present invention, the analysis of printing requirements, obtaining certificate data from the application server, calling FastReport.NET to generate a certificate, and displaying it on the cloud chain client, includes:
[0031] CloudChain parses the printing instructions received from the Web end, extracts the certificate type, item ID, and customer information parameters to be printed, and determines the type of certificate or order to be generated based on the parameters;
[0032] Based on the object ID, CloudChain initiates a request to the application server to obtain detailed data of the object. If customer information needs to be displayed in the certificate, CloudChain also needs to query the application server for relevant customer information.
[0033] As a preferred solution of the comprehensive jewelry inspection management system of the present invention, the Web end obtains jewelry inspection data in real time through WebSocket and Cloud Chain, and displays it on the user interface, including:
[0034] Use JavaScript's WebSocket API on the Web side to establish a connection with the CloudChain server. After the connection is successful, the client sends a request to the server through the send method to obtain jewelry testing data;
[0035] If the server receives a request from the client, it processes the corresponding business logic and sends the jewelry detection data back to the client via WebSocket. The server pushes the acquired data to the current client via WebSocket.
[0036] As a preferred embodiment of the integrated jewelry detection management system of the present invention, wherein: on the Web side, the cloud chain executes corresponding functions according to instructions, and the cloud chain feeds back the operation results to the Web side in real time, including:
[0037] According to the parsing result, the cloud chain executes corresponding functions such as data processing and device control. After the function execution is completed, the cloud chain sends the operation result back to the client via WebSocket;
[0038] The client receives the operation result sent by the server through the onmessage event listener, and the client updates the user interface according to the received result.
[0039] The beneficial effects of the present invention are as follows: Through a systematic and automated process, the present invention reduces manual intervention and can quickly complete operations such as jewelry detection, data collection, and certificate generation. Especially in the links of weighing, spectrum collection, and picture uploading, the system greatly improves the efficiency and reduces the operation time through automated means. Real-time communication is carried out between the Web side and the cloud chain via WebSocket, and all operation results and data can be quickly fed back to the operator, avoiding information lag and improving the work response speed. Through automated data collection and processing, manual input errors are reduced, and the accuracy of data is improved. The unified management and data transmission of the system avoid repetitive errors in manual operations and improve the overall reliability. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0041] Figure 1 It is a schematic structural diagram of an integrated jewelry detection management system provided by an embodiment of the present invention. DETAILED DESCRIPTION OF THE INVENTION
[0042] In order to make the above objects, features, and advantages of the present invention more obvious and understandable, the following will make a detailed description of the specific embodiments of the present invention in conjunction with the drawings of the specification.
[0043] In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention. However, the present invention may be practiced in other ways than those specifically described herein. Those skilled in the art can make similar generalizations without departing from the spirit of the present invention. Therefore, the present invention is not limited by the specific embodiments disclosed below.
[0044] Secondly, as used herein, an "embodiment" or "embodiments" refer to specific features, structures, or characteristics that may be included in at least one implementation of the present invention. The phrase "in an embodiment" that appears in different places in this specification does not necessarily refer to the same embodiment, nor is it an individual or alternative embodiment that is mutually exclusive with other embodiments.
[0045] Embodiment 1
[0046] The following refers to Figure 1 , which is an embodiment of the present invention.
[0047] S1: The cloud chain installation and configuration module is used to install the cloud chain program on the staff's computer, set the functions of automatic startup and automatic login when the computer boots, and when logging in, the user needs to confirm that the configuration parameters are correct and perform parameter configuration. Through the parameter configuration page, set the WebSocket port and service startup status to connect the Web side and the cloud chain server.
[0048] Preferably, when the cloud chain program starts, check whether there are saved configuration parameters. If not, automatically pop up the parameter configuration page;
[0049] On the parameter configuration page, provide options for the user to choose whether to enable the functions of automatic startup and automatic login when the computer boots, and modify the corresponding system settings according to the user's selection.
[0050] Further, determine the storage path of the configuration file. For example, config.json is located in the program installation directory or the user's application data directory. When the program starts, check whether the configuration file exists in the above path. If the configuration file exists, the program will read the parameters therein and execute the corresponding functions according to the configuration. If the configuration file does not exist, the program will automatically pop up the parameter configuration page to prompt the user to make necessary settings.
[0051] In the case where it is detected that the configuration file does not exist, the program should pop up the parameter configuration page for the user to input and set the necessary parameters. On this page, the user can set various parameters of the program, including whether to enable the functions of automatic startup and automatic login when the computer boots. On the parameter configuration page, provide options for the user to choose whether to enable the automatic startup function.
[0052] Based on the user's selection, the program will perform the following operations to achieve automatic startup. Use the startup folder, open the Windows startup folder, and copy the shortcut of the program to the startup folder.
[0053] After placing the shortcut of the program in the startup folder, the system will automatically run the program every time the computer boots. On the parameter configuration page, provide options for the user to choose whether to enable the automatic login function.
[0054] Based on the user's selection, the program will perform the following operations to achieve automatic login: prompt the user to enter the credentials required for login (such as username and password), encrypt the user's login credentials, and securely store them in the local configuration file. When the program starts, read and decrypt the stored login credentials and automatically perform the login operation. The user's login credentials should be encrypted using a secure encryption algorithm before storage to prevent the leakage of sensitive information. After the user completes the parameter settings, the program should save these configuration parameters to the configuration file for reading when starting up next time. When the program starts, read the parameters in the configuration file and set the behavior of the program according to these parameters, such as whether to automatically log in at startup, whether to set to start automatically when the computer boots, etc.
[0055] S2: Communication module, used for the Web side to send instructions via WebSocket, and the cloud chain executes relevant operations after receiving them. All the collected data is uploaded to the server and the client in real time via the Web side.
[0056] Preferably, the cloud chain listens for instructions from the Web side via WebSocket. When an instruction is received, the cloud chain parses the instruction and determines the specific operation to be performed according to the action field.
[0057] According to the different values of the action field, the cloud chain performs corresponding operations. After the cloud chain finishes performing the corresponding operations, it sends the operation result to the Web side. The Web side updates the user interface according to the feedback result, displays the operation result or further prompts the user for operations.
[0058] Furthermore, configure a WebSocket service on the cloud chain server to listen on a specific port and wait for connection requests from the Web side. The Web side creates a WebSocket object through JavaScript and connects to the specified address of the cloud chain server. The cloud chain server listens for messages from the Web side through the onmessage event of WebSocket. It is agreed that the messages are in JSON format, containing an action field and other necessary parameters. Parse the received message into a JSON object, extract the action field and related parameters. According to the value of the action field, call the corresponding function or method to perform the specified operation. After the operation is completed, generate a JSON object containing the result. Send the result back to the Web side through the send method of WebSocket. The Web side receives the feedback message from the cloud chain through the onmessage event of WebSocket. According to the feedback result, update the user interface to display the operation result or prompt the user for further operations.
[0059] S3: The weighing and photographing integrated module is used to send an instruction to the electronic balance after the cloud chain receives a weighing request, obtain the weight data of the item, and the cloud chain takes a picture of the jewelry through a USB high-definition camera and synchronously uploads it to the server and the client.
[0060] Preferably, the Web side sends a weighing request containing the item identifier to the cloud chain through WebSocket. The cloud chain, as a WebSocket server, receives the weighing request, parses the received request, checks whether the request content meets the expectations, and confirms that the action of the request is a weighing operation;
[0061] The cloud chain establishes a communication connection with the electronic balance. After the connection is established, the cloud chain sends a weighing instruction to the electronic balance. The electronic balance starts weighing according to the instruction and will return the weight data of the currently weighed item. After receiving the instruction sent by the cloud chain, the electronic balance performs the weighing operation on the item and calculates the weight of the item.
[0062] Furthermore, select an appropriate communication method according to the interface type of the electronic balance. The cloud chain establishes a communication connection with the electronic balance to ensure that it can send instructions and receive feedback from the balance. The cloud chain sends a weighing instruction to the electronic balance, instructing the balance to start measuring the weight of the current item. After the electronic balance performs the weighing operation, it returns the measured weight data to the cloud chain through the communication interface. After receiving the weight data returned by the electronic balance, the cloud chain performs necessary parsing and formatting to ensure the accuracy of the data. Send the processed weight data back to the Web side through WebSocket. According to the received weight data, update the user interface to display the weighing result or prompt the user for subsequent operations
[0063] S4: Atlas acquisition module, which is used to take screenshots of the specified area and save the images after the cloud link receives the screenshot command. The atlas is manually uploaded to the server.
[0064] Preferably, the Web terminal sends a screenshot instruction via WebSocket, the instruction including the requested item ID, and Cloud Chain receives the screenshot instruction as a WebSocket server or other communication interface, Cloud Chain parses the instruction, extracts the coordinates, size information and item ID of the screenshot area, and determines the screenshot area on the screen based on the screenshot area parameters received from the Web terminal, and Cloud Chain uploads the saved screenshot file to the server via the configured protocol.
[0065] Furthermore, a WebSocket service is configured on the cloud chain server to listen to a specific port and wait for a connection request from the Web end. The Web end establishes a connection with the cloud chain server through the WebSocket client to ensure that the two-way communication channel is open. The cloud chain server receives a message from the Web end through WebSocket, which contains the coordinates, size information and item ID of the screenshot area. Cloud chain parses the received message, extracts the coordinates (such as x, y), size (such as width, height) and item ID of the screenshot area, and verifies the integrity and validity of the request content. According to the coordinates and size information obtained by the analysis, the area to be screenshotted is determined on the screen. Ensure that the screenshot area is within the screen range and avoid exceeding the screen boundary. Use the screenshot function provided by the system or a third party to screenshot the specified area. Save the screenshot result as an image file of a specified format (such as PNG, JPEG), and the file name can contain the item ID for easy identification. According to the system configuration, select the appropriate file upload protocol (such as HTTP, FTP, SFTP). Upload the saved screenshot file to the specified server path through the selected protocol. Check the return result of the upload operation to ensure that the file is successfully transferred to the server.
[0066] S5: A map upload module is used to save the map images locally in stand-alone mode and upload the map images to the server through the map upload function.
[0067] Preferably, CloudChain captures a specified area of the current screen and saves the atlas image in local storage. At this time, there is no real-time connection with the Web end, and the image only exists locally. CloudChain uploads the atlas image to the server via HTTP.
[0068] Further, according to requirements, determine the coordinates and dimensions of the area to be intercepted on the screen. Use the graphics processing functions provided by C# to intercept the screen content of the specified area. Save the intercepted image as a file in a specified format (such as PNG, JPEG) and store it in a specified local path. Determine the upload interface URL of the server, as well as the necessary request headers and parameters. Use the HttpClient class in C# to create an HTTP POST request and upload the image file as part of the form data. After sending the request, receive the response from the server, determine whether the upload is successful, and perform subsequent processing as needed.
[0069] S6: The certificate generation module is used for the cloud chain to receive the certificate generation instruction from the Web side through the WebSocket client, obtain the certificate data from the application server, generate a PDF format certificate copy according to FastReport.NET, and upload it to the FTP server for archiving through SFTP.
[0070] Preferably, according to the item ID, the cloud chain sends a request to the application server to obtain the relevant data of the item; the cloud chain fills the data obtained from the application server into the placeholders in the certificate template. For pictures, the cloud chain fills the image data of the item into the specified position in the template. After completing the data filling, the cloud chain generates the final PDF format certificate through the FastReport.NET engine.
[0071] Further, construct an HTTP request using the item ID and send a request to a specific API endpoint of the application server to obtain the detailed information and image data of the item. Use the HttpClient class to send the request, receive and parse the data returned by the server in JSON or XML format, and extract the required fields, such as item name, description, specifications, image, etc. Use the designer of FastReport.NET to create a certificate template, define placeholders and image placeholder areas in the template for inserting the item's image. Save the designed template as a.frx format file for subsequent loading and data filling. Use the Report class of FastReport.NET in the code to load the.frx template file. Organize the item data obtained from the application server into a data source suitable for binding, such as using a DataTable or a custom object collection.
[0072] Bind the data source to the corresponding placeholder in the report to ensure that the text data is correctly filled into the specified position in the template. Convert the image data of the item into a System.Drawing.Image object and bind it to the predefined image control in the template to ensure that the image is correctly displayed in the certificate. Define the save path and file name of the generated PDF file. Configure the parameters for PDF export, such as page settings, compression options, etc., to meet specific requirements. Call the export function of FastReport.NET to export the report filled with data as a PDF format and save it to the specified path.
[0073] S7: Printing management module, which is used to analyze the printing requirements after receiving the printing instruction by the cloud link, obtain the certificate data from the application server, call FastReport.NET to generate the certificate, and display it on the cloud link client.
[0074] Preferably, the cloud link parses the printing instruction received from the Web side, extracts the certificate type, item ID, and customer information parameters to be printed, and determines the type of certificate or order form to be generated according to the parameters.
[0075] According to the item ID, the cloud link sends a request to the application server to obtain the detailed data of the item. If customer information needs to be displayed in the certificate, the cloud link also needs to query the relevant customer information from the application server.
[0076] Furthermore, extract the certificate type, item ID, and customer information from the received instruction. Use HttpClient to send a GET request to obtain the detailed information of the item and the customer. Parse the response and extract the required data fields. Create a Report object and load the corresponding.frx template file. Add the item and customer data to the DataTable and register it as the data source of the report. Convert the image data into an Image object and bind it to the image control in the template. Configure the export parameters using the PDFExport object. Call Report.Prepare() to prepare the report, and then use Report.Export() to export it as a PDF file.
[0077] S8: Interaction process module, which is used for the Web side to obtain the jewelry detection data from the cloud link in real time through WebSocket and display it on the user interface. On the Web side, the cloud link executes the corresponding functions according to the instructions, and the cloud link feeds back the operation results to the Web side in real time.
[0078] Preferably, use the WebSocket API of JavaScript on the Web side to establish a connection with the cloud link server. After the connection is successful, the client sends a request to the server through the send method to obtain the jewelry detection data.
[0079] If the server receives a request from the client, it processes the corresponding business logic and sends the jewelry detection data back to the client via WebSocket. The server pushes the acquired data to all connected clients via WebSocket.
[0080] Preferably, according to the parsing result, the cloud chain performs corresponding functions such as data processing and device control. After the function execution is completed, the cloud chain sends the operation result back to the client via WebSocket;
[0081] The client receives the operation result sent by the server through the onmessage event listener, and the client updates the user interface according to the received result.
[0082] Furthermore, the server uses the WebSocket protocol to listen for connection requests from the client. When the client successfully connects, the server can receive requests from the client. The server parses the requests sent by the client and extracts the request parameters. According to the content of the request, the server executes the corresponding business logic, such as obtaining jewelry detection data or performing specific operations. The server encapsulates the processing result into a data packet and sends it back to the client through the WebSocket connection. For example, it sends a data packet containing the jewelry detection result for the client to update the user interface. If the server needs to push the acquired data to all connected clients, the server can maintain a list of client connections. After obtaining the data, the server traverses this list and pushes the data to all connected clients.
[0083] Embodiment 2
[0084] The present invention also includes an NFC card identification and reading / writing module.
[0085] This module realizes the automatic identification of jewelry items by reading the unique identifier in the NFC card, ensuring the uniqueness of the identity of each piece of jewelry. The detection number corresponding to the detected item in the system is stored in the NFC card. It supports real-time updating of the information in the NFC card to ensure that the data stored in the system is consistent with the actual situation. It works in coordination with other modules to more conveniently and quickly query the detection data of the goods in the system, improving work efficiency. It protects the sensitive data in the NFC card through encryption technology to prevent unauthorized access and tampering, ensuring the security of information. Through the above functions, the NFC card identification and reading / writing module plays a key role in the jewelry detection management system, improving the automation level of the system and the accuracy of data management.
[0086] In the description of the present invention, it should be noted that the terms "first", "second", and "third" are only used for descriptive purposes and cannot be construed as indicating or implying relative importance.
[0087] Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working processes of the systems, devices, and units described above can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated herein.
[0088] In several embodiments provided by the present invention, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of the units is only a logical function division, and there can be other division methods in actual implementation. For another example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed couplings or direct couplings or communication connections to each other can be through some communication interfaces, and the indirect couplings or communication connections of the devices or units can be in electrical, mechanical, or other forms.
[0089] 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 can be located in one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0090] In addition, in each embodiment of the present invention, the functional units can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit.
[0091] Finally, it should be noted that the above-described embodiments are only specific implementation manners of the present invention, used to illustrate the technical solutions of the present invention, and are not intended to limit them. The protection scope of the present invention is not limited thereto. Although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that any person skilled in the art within the technical scope disclosed by the present invention can still modify the technical solutions described in the foregoing embodiments or can easily think of changes, or perform equivalent replacements for some of the technical features; and these modifications, changes, or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention and should all be covered by the protection scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.
[0092] In addition, although the operations of the method of the present invention are described in a specific order in the drawings, this does not require or imply that these operations must be performed in that specific order, or that all the operations shown must be performed to achieve the desired result. Additionally or alternatively, some steps can be omitted, multiple steps can be combined into one step for execution, and / or one step can be decomposed into multiple steps for execution.
Claims
1. A comprehensive jewelry inspection and management system, characterized in that: include: The cloud chain installation configuration module is used to install the cloud chain program on the staff's computer, set the automatic startup and automatic login functions. When logging in, the user needs to confirm that the configuration parameters are correct and configure the parameters. Set the WebSocket port and service enable status through the parameter configuration page to connect the Web terminal and the cloud chain server; The communication module is used for the Web end to send instructions through WebSocket, and the cloud link executes related operations after receiving them. All collected data is uploaded to the server and client in real time through the Web end; The weighing and shooting module is used for receiving weighing requests and sending instructions to the electronic balance to obtain the weight data of the items. The cloud chain takes pictures of the jewelry through a USB high-definition camera and uploads them to the server and client simultaneously. The atlas acquisition module is used to take screenshots of the specified area and save the images after the cloud link receives the screenshot command. The atlas is manually uploaded to the server; The atlas upload module is used to save the atlas images locally in the stand-alone mode and upload the atlas images to the server through the atlas upload function; The certificate generation module is used by CloudChain to receive the certificate generation instruction from the Web end through the WebSocket client, obtain the certificate data from the application server, generate a PDF format certificate copy according to FastReport.NET and upload it to the FTP server for archiving through SFTP; The printing management module is used to analyze the printing requirements after the cloud link receives the printing instruction, obtain the certificate data from the application server, call FastReport.NET to generate the certificate, and display it on the cloud link client; The interactive process module is used for the Web end to obtain jewelry inspection data in real time through WebSocket and Cloud Chain, and display it on the user interface. On the Web end, Cloud Chain executes corresponding functions according to instructions, and Cloud Chain feeds back the operation results to the Web end in real time.
2. The comprehensive jewelry inspection and management system as claimed in claim 1, characterized in that: The above settings are for automatic startup and automatic login. When logging in, the user needs to confirm that the configuration parameters are correct and configure the parameters, including: When the cloud chain program is started, check whether there are saved configuration parameters. If not, the parameter configuration page will pop up automatically; On the parameter configuration page, options are provided for the user to choose whether to enable the automatic startup and automatic login functions, and the corresponding system settings are modified according to the user's selection.
3. The comprehensive jewelry inspection and management system as claimed in claim 1, characterized in that: The Web client sends instructions via WebSocket, and the cloud link performs related operations after receiving them. All collected data is uploaded to the server and client in real time via the Web client, including: CloudChain listens to instructions from the Web client through WebSocket. After receiving the instructions, CloudChain parses the instructions and determines the specific operations to be performed based on the action field; Depending on the action field, CloudChain performs the corresponding operation. After completing the corresponding operation, CloudChain sends the operation result to the Web end. The Web end updates the user interface based on the feedback result, displays the operation result or further prompts the user to operate.
4. The comprehensive jewelry inspection and management system as claimed in claim 1, characterized in that: After receiving the weighing request, the cloud link sends instructions to the electronic balance to obtain the item weight data, including: The Web client sends a weighing request containing the item ID to CloudChain via WebSocket. CloudChain receives the weighing request as a WebSocket server. CloudChain parses the received request, checks whether the request content meets expectations, and confirms that the requested action is a weighing operation. Cloud Chain establishes a communication connection with the electronic balance. After the connection is established, Cloud Chain sends a weighing instruction to the electronic balance. The electronic balance starts weighing according to the instruction and returns the weight data of the currently weighed item. After receiving the instruction sent by Cloud Chain, the electronic balance weighs the item and calculates the weight of the item.
5. The comprehensive jewelry inspection and management system as claimed in claim 1, characterized in that: After the cloud link receives the screenshot instruction, it takes a screenshot of the designated area and saves the image, and the image is manually uploaded to the server, including: The Web client sends a screenshot command through WebSocket, which includes the requested item ID. Cloud Chain receives the screenshot command as a WebSocket server or other communication interface. Cloud Chain parses the command, extracts the coordinates, size information and item ID of the screenshot area, and determines the screenshot area on the screen based on the screenshot area parameters received from the Web client. Cloud Chain uploads the saved screenshot file to the server through the configured protocol.
6. The comprehensive jewelry inspection and management system as claimed in claim 1, characterized in that: In the stand-alone mode, the atlas image is saved locally, and the atlas image is uploaded to the server through the atlas upload function, including: Cloud Chain captures the specified area of the current screen and saves the atlas image in local storage. At this time, there is no real-time connection with the Web end, and the image only exists locally. Cloud Chain uploads the atlas image to the server via HTTP.
7. The comprehensive jewelry inspection and management system as claimed in claim 1, characterized in that: The cloud chain receives the certificate generation instruction from the Web end through the WebSocket client, obtains the certificate data from the application server, and generates a PDF format certificate copy according to FastReport.NET, including: According to the item ID, CloudChain initiates a request to the application server to obtain the relevant data of the item; CloudChain fills the data obtained from the application server into the placeholder in the certificate template. For pictures, CloudChain fills the image data of the item into the specified position in the template. After completing the data filling, CloudChain generates the final PDF format certificate through the FastReport.NET engine.
8. The comprehensive jewelry inspection and management system as claimed in claim 1, characterized in that: The analysis of printing requirements, obtaining certificate data from the application server, calling FastReport.NET to generate a certificate, and displaying it on the cloud chain client, includes: CloudChain parses the printing instructions received from the Web end, extracts the certificate type, item ID, and customer information parameters to be printed, and determines the type of certificate or order to be generated based on the parameters; Based on the object ID, CloudChain initiates a request to the application server to obtain detailed data of the object. If customer information needs to be displayed in the certificate, CloudChain also needs to query the application server for relevant customer information.
9. The comprehensive jewelry inspection and management system as claimed in claim 1, characterized in that: The Web client obtains jewelry inspection data in real time through WebSocket and CloudChain, and displays it on the user interface, including: Use JavaScript's WebSocket API on the Web side to establish a connection with the CloudChain server. After the connection is successful, the client sends a request to the server through the send method to obtain jewelry testing data; If the server receives a request from the client, it processes the corresponding business logic and sends the jewelry detection data back to the client via WebSocket. The server pushes the acquired data to the current client via WebSocket.
10. The comprehensive jewelry inspection and management system according to claim 1, characterized in that: On the Web side, the cloud chain executes the corresponding functions according to the instructions, and the cloud chain feeds back the operation results to the Web side in real time, including: According to the analysis results, CloudChain performs corresponding functions such as data processing and device control. After the functions are executed, CloudChain sends the operation results back to the client via WebSocket. The client receives the operation results sent by the server through the onmessage event listener, and updates the user interface based on the received results.
Citation Information
Patent Citations
Intelligent counter system with linear polarization near-field antennas applied to gold and jewelry industry
CN106785331A
Intelligent warehousing management system and management method of RFID
CN107730189A
Inventory system and method based on data preprocessing model
CN115936550A
Data processing method and device for digital certificate
CN116542679A
System and method for enabling jewelry certification at local jeweler sites
US20050246239A1
Cited By
Gold and jewelry industry e-commerce SaaS cloud service implementation method and system
CN121094841A