POE digital acquisition terminal based on serial port screen interactive networking and its working method
Through the POE digital acquisition terminal of the serial interface screen interactive network, the Linux system and cyclic redundancy verification algorithm are used to solve the problem of insufficient information processing capabilities in the factory's digital business process, realize the accurate collection and processing of card information, and support factory production optimization and management.
Patent Information
- Application Number
- CN202410928558.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-11
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2044-07-11
AI Technical Summary
The existing factory digital business processes lack the ability to manage or process information collected by the hardware acquisition terminal, and cannot effectively feedback information about the current work order production progress and equipment operation status.
Using a POE digital acquisition terminal based on the serial interface screen interactive network, the card swiping action information is collected through the Linux system, the card information is analyzed by the frequency area method and the aliquot information comparison method, and the data frame integrity is ensured through the cyclic redundancy verification algorithm. Accuracy, realize information processing.
It realizes effective processing of the information collected by the hardware acquisition terminal, ensures the accuracy and completeness of the information, and supports the optimization of the factory production process and network manufacturing.
Smart Images

Figure CN118627524B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of information-carrying signal transmission, and in particular relates to a POE digital acquisition terminal based on serial port screen interactive networking and a working method thereof. Background Art
[0002] Factory digitalization is a new development stage of enterprise digital auxiliary engineering, including product development digitalization, production preparation digitalization, manufacturing digitalization, management digitalization, and marketing digitalization. In addition to modeling and simulating the product development process, it is also necessary to simulate the reorganization and operation of the production system according to product changes, so that the production system can understand the system's performance before it is put into operation, analyze its reliability, economy, quality, construction period, etc., and provide support for production process optimization and network manufacturing.
[0003] With the development of the information age, the concept of factory digitization has become more and more popular. The high degree of factory digitization often represents efficient equipment productivity, production scheduling, low inventory rate and scientific and efficient management process. In the existing technology, the traditional hardware acquisition module on the market collects information through I / O signal points. Simple data information collection or data information storage has little practical significance in factory production business, and cannot effectively feedback to users the current work order production progress, current equipment operation status and other valuable information. In other words, in the existing factory digital business process, there is a lack of information management or information processing capabilities for the information collected by the hardware acquisition terminal. Summary of the invention
[0004] The technical problem to be solved by the present invention is the lack of the ability to process the information collected by the hardware acquisition terminal. The present invention provides a POE digital acquisition terminal based on serial port screen interactive networking and a working method thereof. The card swiping action information of the card is collected through the Linux system. As long as the card is stably placed on the card swiper, the card information is collected according to the Linux system and the card information is input into the Linux system in an equally distributed manner. The Linux system adopts an equally divided information comparison method to analyze the card information and outputs the analyzed card information to the collector. The collector adopts a cyclic redundancy check algorithm to ensure the integrity and accuracy of the card information data frame, thereby realizing the ability to process the information collected by the hardware acquisition terminal.
[0005] In order to achieve the above object, the present invention is implemented by the following technical solutions:
[0006] The working method of the POE digital acquisition terminal based on the serial port screen interactive networking includes the following steps:
[0007] Step 1): Place the card on the card reader for multiple times, and use the Linux system to collect the card swiping action information; wherein the Linux system uses the frequency-area method to collect the card swiping action information;
[0008] Step 2): After the card is placed on the card reader stably, the Linux system collects the card information and inputs the card information into the Linux system in a distributed manner according to the epoll mechanism of the Linux system;
[0009] Step 3): The Linux system uses the equal information comparison method to analyze the card information and outputs the analyzed card information to the collector;
[0010] Step 4): The collector uses a cyclic redundancy check algorithm to ensure the integrity and accuracy of the card information data frame.
[0011] Optionally, in step 1), the card is repeatedly placed on and detached from the card reader, and the card is swiped on the card reader multiple times.
[0012] Optionally, the frequency area method is used to collect the card swiping action information, using the following steps:
[0013] Step 11): Place the card on the card reader multiple times, and calculate the time the card is placed on the card reader each time;
[0014] Step 12): Calculate the contact area between the card and the card reader each time the card is placed on the card reader;
[0015] Step 13): Calculate the longest time the card is placed on the card reader and the maximum area of the card attached to the card reader during a certain card swiping action, and determine that the card is placed stably on the card reader.
[0016] Optionally, the frequency area method is used to collect the card swiping action information, using the following formula (1):
[0017] (1);
[0018] in, The time each time the card is placed on the card reader; It is the time collection of each time the card is placed on the card reader; The maximum time a card is placed on the card reader during a card swiping action;
[0019] It is the area of the card that fits the card reader each time; It is the collection of the areas where the card fits with the card reader each time; The maximum area of the card that fits on the card reader during a card swiping action;
[0020] The maximum time the card is placed on the card reader and the maximum area of the card that is attached to the card reader during a card swiping action; It is the maximum time the card is placed on the card reader and the maximum area of the card that is attached to the card reader during a certain card swiping action.
[0021] Optionally, in step 2), the Linux system inputs the card information into the Linux system in the distributed manner, using the following steps:
[0022] Step 21): Distribute the card numbers of the cards to the input ports in the Linux system in sequence according to the card number arrangement order; wherein the card numbers in the input ports in the Linux system are arranged in sequence according to the card number arrangement order;
[0023] Step 22): The Linux system detects whether the card numbers in each input port in the Linux system are arranged in sequence according to the arrangement order of the card numbers.
[0024] Optionally, in step 21), the card numbers of the cards are distributed to the input ports of the Linux system in the order of the card numbers, using the following formula (2):
[0025] (2);
[0026] in, is a card number, Arrange the card numbers of the cards in order. Arrange the card numbers of a certain card in order. Represents a card; For a certain moment, it represents a certain card number moment of the card; correspond , correspond , correspond ; is the time corresponding function; For a card in Time card number Enter it into an input port in the Linux system. Time card number Enter it into other input ports in the Linux system. Time card number To another input port in the Linux system; The card numbers representing a certain card are distributed to various input ports in the Linux system in the order in which the card numbers are arranged.
[0027] Optionally, in step 3), the equal division information comparison method adopts the following steps:
[0028] Step 31): Detect whether the card number codes in each input port in the Linux system are the same as the card number codes of the card;
[0029] Step 32): If the card number codes in the various input ports in the Linux system are the same as the card number codes of the card, the Linux system collects the card information correctly, otherwise the Linux system re-collects the card information.
[0030] Optionally, in step 4), the collector uses a cyclic redundancy check algorithm, and the collector checks the card numbers of the cards in order of arrangement.
[0031] POE digital acquisition terminal based on serial port screen interactive networking, including:
[0032] Card reader;
[0033] Linux system, the Linux system is used to collect card swiping action information of the card being attached to the card reader and card information, and analyze the card information, and the Linux system is connected to the card reader circuit;
[0034] The collector receives the card information analyzed by the Linux system. The collector is used to verify the integrity and accuracy of the card information data frame. The collector is connected to the card reader circuit.
[0035] Beneficial effects of the present invention:
[0036] The present invention mainly collects the card swiping action information of the card through the Linux system. As long as the card is stably placed on the card reader, the card information is collected according to the Linux system and the card information is input into the Linux system in an equally distributed manner. The Linux system uses an equally distributed information comparison method to analyze the card information and outputs the analyzed card information to the collector. The collector uses a cyclic redundancy check algorithm to ensure the integrity and accuracy of the card information data frame, thereby realizing the ability of the hardware collection terminal to process the information collected. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0038] Figure 1 It is a schematic diagram of the overall circuit structure of the present invention;
[0039] Figure 2 It is a work flow chart of the present invention;
[0040] Figure 3 It is a principle diagram of distributing each card number of the card of the present invention to each input port in the Linux system;
[0041] Figure 4 This is a diagram showing the principle of checking the card numbers in the collector according to the arrangement sequence. DETAILED DESCRIPTION
[0042] The embodiments of the present application are described in detail below with reference to the accompanying drawings.
[0043] Embodiment 1:
[0044] like Figure 1 As shown, this embodiment provides a POE digital acquisition terminal based on serial port screen interactive networking, including: a card reader, a Linux system and a collector, namely, a BG102 collector.
[0045] The Linux system is used to collect the card swiping action information and card information, and analyze the card information. The Linux system is connected to the card swiping device circuit;
[0046] The collector receives the card information analyzed by the Linux system. The collector is used to verify the integrity and accuracy of the card information data frame. The collector is connected to the card reader circuit;
[0047] After the card is swiped on the card reader, the Linux system collects and analyzes the card information. The Linux system can monitor the card information. After the Linux system analyzes the card information, the collector starts the subsequent workflow based on the card information.
[0048] Embodiment 2:
[0049] Based on Example 1, Figure 2 As shown, this embodiment provides a working method of a POE digital acquisition terminal based on serial port screen interactive networking, including the following steps:
[0050] Step 1): Place the card on the card reader for multiple times, and use the Linux system to collect the card swiping action information; wherein the Linux system uses the frequency-area method to collect the card swiping action information;
[0051] Step 2): After the card is placed on the card reader steadily, according to the epoll mechanism of the Linux system, the Linux system collects the card information and inputs the card information (the ID card number of the corresponding user corresponding to the card) into the Linux system in a distributed manner;
[0052] Step 3): The Linux system uses the equal information comparison method to analyze the card information and outputs the analyzed card information to the collector;
[0053] Step 4): The collector uses a cyclic redundancy check algorithm to ensure the integrity and accuracy of the card information data frame.
[0054] Specifically, in step 1), the card is repeatedly placed on and detached from the card reader, and the card is swiped on the card reader multiple times.
[0055] Furthermore, the frequency area method is used to collect the card swiping action information, using the following steps:
[0056] Step 11): Place the card on the card reader multiple times, and calculate the time the card is placed on the card reader each time;
[0057] Step 12): Calculate the contact area between the card and the card reader each time the card is placed on the card reader;
[0058] Step 13): Calculate the longest time the card is placed on the card reader and the maximum area of the card attached to the card reader during a certain card swiping action, and determine that the card is placed stably on the card reader.
[0059] Furthermore, the frequency area method is used to collect the card swiping action information, using the following formula (1):
[0060] (1);
[0061] in, The time each time the card is placed on the card reader; It is the time collection of each time the card is placed on the card reader; The maximum time a card is placed on the card reader during a card swiping action;
[0062] It is the area of the card that fits the card reader each time; It is the collection of the areas where the card fits with the card reader each time; The maximum area of the card that fits on the card reader during a card swiping action;
[0063] The maximum time the card is placed on the card reader and the maximum area of the card that is attached to the card reader during a card swiping action; It is the maximum time the card is placed on the card reader and the maximum area of the card that is attached to the card reader during a certain card swiping action.
[0064] Therefore, in a certain card swiping action, if the card is placed on the card reader for the longest time and the area of the card attached to the card reader is the largest (the card may be completely attached to the card swiping area on the card reader), it is determined that the card is placed stably on the card reader.
[0065] Specifically, in step 2), the Linux system inputs the card information into the Linux system in a distributed manner, using the following steps:
[0066] Step 21): Distribute the card numbers of the cards to the input ports in the Linux system in sequence according to the card number arrangement order; wherein the card numbers in the input ports in the Linux system are arranged in sequence according to the card number arrangement order;
[0067] Step 22): The Linux system detects whether the card numbers in each input port in the Linux system are arranged in sequence according to the arrangement order of the card numbers.
[0068] Further, in step 21), if Figure 3 As shown, the card numbers (located in Figure 3 The card numbers are arranged in the order of the card numbers and are distributed to the input ports in the Linux system ( Figure 3 In the position below ), the following formula (2) is used:
[0069] (2);
[0070] in, is a card number, Arrange the card numbers of the cards in order. Arrange the card numbers of a certain card in order. Represents a card; For a certain moment, it represents a certain card number moment of the card; correspond , correspond , correspond ; is the time corresponding function; For a card in Time card number Enter it into an input port in the Linux system. Time card number Enter it into other input ports in the Linux system. Time card number To another input port in the Linux system; The card numbers representing a certain card are distributed to various input ports in the Linux system in the order in which the card numbers are arranged.
[0071] Select a card, use the different card numbers on the card corresponding to different times, and distribute the corresponding different card numbers at different times to various input ports in the Linux system in the order of the card numbers.
[0072] Specifically, in step 3), the equal information comparison method adopts the following steps:
[0073] Step 31): Check whether the card number codes in each input port in the Linux system are the same as the card number codes of the card;
[0074] Step 32): If the card number codes in the various input ports in the Linux system are the same as the card number codes of the card, the Linux system collects the card information correctly, otherwise the Linux system re-collects the card information, that is, the card number information.
[0075] Specifically, in step 4), if Figure 4 As shown, the collector, namely the BG102 collector, uses a cyclic redundancy check algorithm, and the collector checks the card numbers in the order of arrangement. That is, in the collector, it checks whether the card numbers are arranged in the order of arrangement from left to right for many times.
[0076] Embodiment 3:
[0077] Based on Example 2, each card number (located in Figure 3 The card numbers are arranged in the order of the card numbers and are distributed to the various input ports in the Linux system ( Figure 3 The material ensures that each card number is distributed to each input port in the Linux system.
[0078] Embodiment 4:
[0079] Based on all the above embodiments and Figure 1The present invention mainly collects the card swiping action information of the card through the Linux system. As long as the card is stably placed on the card reader, the card information is collected according to the Linux system and the card information is equally distributed and input into the Linux system. The Linux system uses the equal information comparison method to analyze the card information and outputs the analyzed card information to the collector. The collector uses a cyclic redundancy check algorithm to ensure the integrity and accuracy of the card information data frame. The Linux system mainly analyzes whether the corresponding users correspond to their respective number information. After the number information of each user corresponds, the collector collects information to monitor the industrial processing process, etc. The present invention mainly protects the circuit and working principle of the card reader, Linux system and collector.
[0080] like Figure 1 As shown, the present invention is the connection relationship of the entire circuit. As for program design, it does not belong to the protection scope of the present invention. The present invention is to use the entire Figure 1 The MINI display can also check whether the user's identity information is correct and monitor the industrial processing process through the collector. In this way, each user can monitor the industrial processing process with his own number.
[0081] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. The working method of the POE digital acquisition terminal based on the serial port screen interactive networking is characterized in that: The steps include: Step 1): Place the card on the card reader for multiple times, and use the Linux system to collect the card swiping action information; wherein the Linux system uses the frequency-area method to collect the card swiping action information; The frequency-area method collects the card swiping action information by using the following steps: Step 11): Place the card on the card reader multiple times, and calculate the time the card is placed on the card reader each time; Step 12): Calculate the contact area between the card and the card reader each time the card is placed on the card reader; Step 13): Calculate the longest time the card is placed on the card reader and the maximum area of the card attached to the card reader during a certain card swiping action, and determine that the card is stably placed on the card reader; Alternatively, the frequency-area method is used to collect the card swiping action information, using the following formula (1): (1); in, The time each time the card is placed on the card reader; It is the time collection of each time the card is placed on the card reader; The maximum time a card is placed on the card reader during a card swiping action; It is the area of the card that fits the card reader each time; It is the collection of the areas where the card fits with the card reader each time; The maximum area of the card that fits on the card reader during a card swiping action; The maximum time the card is placed on the card reader and the maximum area of the card that is attached to the card reader during a card swiping action; It is the maximum time the card is placed on the card reader and the maximum area of the card attached to the card reader during a certain card swiping action; Step 2): After the card is placed on the card reader stably, the Linux system collects the card information and inputs the card information into the Linux system in a distributed manner according to the epoll mechanism of the Linux system; In the step 2), the Linux system inputs the card information into the Linux system in a distributed manner, using the following steps: Step 21): Distribute the card numbers of the cards to the input ports in the Linux system in sequence according to the card number arrangement order; wherein the card numbers in the input ports in the Linux system are arranged in sequence according to the card number arrangement order; Step 22): The Linux system detects whether the card numbers in each input port in the Linux system are arranged in sequence according to the arrangement order of the card numbers; In the step 21), the card numbers of the cards are distributed to the input ports of the Linux system in the order of the card numbers, using the following formula (2): (2); in, is a card number, Arrange the card numbers of the cards in order. Arrange the card numbers of a certain card in order. Represents a card; For a certain moment, it represents a certain card number moment of the card; correspond , correspond , correspond ; is the time corresponding function; For a card in Time card number Enter it into an input port in the Linux system. Time card number Enter it into other input ports in the Linux system. Time card number To another input port in the Linux system; The card numbers representing a certain card are distributed to the input ports in the Linux system in the order in which the card numbers are arranged; Step 3): The Linux system uses the equal information comparison method to analyze the card information and outputs the analyzed card information to the collector; In step 3), the equal division information comparison method adopts the following steps: Step 31): Detect whether the card number codes in each input port in the Linux system are the same as the card number codes of the card; Step 32): If the card number codes in the input ports of the Linux system are the same as the card number codes of the card, the Linux system collects the card information correctly, otherwise the Linux system re-collects the card information; Step 4): The collector uses a cyclic redundancy check algorithm to ensure the integrity and accuracy of the card information data frame.
2. The working method of the POE digital acquisition terminal based on serial port screen interactive networking according to claim 1 is characterized in that: In the step 1), the card is repeatedly placed on and removed from the card reader, and the card is swiped on the card reader multiple times.
3. The working method of the POE digital acquisition terminal based on serial port screen interactive networking according to claim 1 is characterized in that: In the step 4), the collector adopts a cyclic redundancy check algorithm, and the collector checks the card numbers of the cards in the order in which they are arranged.
4. A POE digital acquisition terminal based on serial port screen interactive networking, used to execute the working method of the POE digital acquisition terminal based on serial port screen interactive networking according to any one of claims 1-3, characterized in that: include: Card reader; Linux system, the Linux system is used to collect card swiping action information of the card being attached to the card reader and card information, and analyze the card information, and the Linux system is connected to the card reader circuit; The collector receives the card information analyzed by the Linux system. The collector is used to verify the integrity and accuracy of the card information data frame. The collector is connected to the card reader circuit.
