Leader idle state real-time display system and method
By designing a real-time display system for leader idle status and using wireless communication and local LAN transmission, it solves the problem that employees find it difficult to understand leader idle status in real time, achieving time saving, efficiency improvement and information security.
Patent Information
- Application Number
- CN202411972041.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-30
- Publication Date
- 2025-04-18
AI Technical Summary
In large companies, it is difficult for employees to understand the leader’s idle status in real time, resulting in waste of time and reduced efficiency. The existing technology relies on Internet instant communication software, which poses the potential for information leakage.
A real-time display system for leader idle status is designed. Through wireless communication between the master control module and the slave control module, the leader idle status is obtained in real time, and transmitted to the client computer through the local LAN for employees to view.
Real-time display of leader idle status is realized, saving employees' time, improving work efficiency, and transmitting through local LAN, ensuring the security of information.
Smart Images

Figure CN119847031A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of status display, and in particular to a system and method for real-time display of leader idle status. Background Art
[0002] When a company reaches a certain scale, general and management positions are usually located in different rooms or even floors from the company's business and R&D. However, R&D review and approval at work often require the signature of the leader. Therefore, when employees need to find the corresponding leader for something, they usually run over to check whether the leader is in the office. If the leader is in the office, whether he is meeting guests, and then determine whether he is free to handle the employee's corresponding affairs. If he is not in the office or is meeting guests in the office, this will be a "wasted trip" and you will need to come over next time to check whether the leader is free. This wastes employees' time and reduces their work efficiency.
[0003] In addition, instant messaging software is commonly used in the workplace to inquire about the other party's status. When the company's operations reach a certain scale, many people will constantly ask the leader about the status in real time, which makes the leader "overwhelmed". When the leader is busy receiving important customers, it is often difficult for him to reply in real time, making it difficult for employees to obtain the latest developments, so it is difficult to understand the leader's free status, resulting in the phenomenon of employees running back and forth.
[0004] The existing technology completely relies on Internet instant messaging software, and employees need to ask in advance and reply one by one before they can obtain the leader's free status. In addition, since the status information is exposed to the Internet, there is a risk of data leakage. Summary of the invention
[0005] The present invention provides a real-time display system and method for the idle state of a leader, so as to solve the technical problems mentioned in the background technology.
[0006] To achieve the above object, the technical solution of the present invention is achieved as follows:
[0007] The present invention provides a real-time display system for leader idle status, comprising:
[0008] The main control module includes a server host computer, a USB to serial port module, and a wireless module 1; the server host computer is electrically connected to the USB to serial port module via a USB interface; the UBS to serial port module is electrically connected to the wireless module 1 via a serial port;
[0009] Several slave control modules are arranged in different leaders' rooms respectively, each of which includes a single-chip control board, a wireless module 2 and an idle state button, and the idle state button and the wireless module 2 are electrically connected to the single-chip control board;
[0010] Several client computers are connected to the server computer on the main control module through the local area network to view the idle status of the leader in real time.
[0011] Furthermore, several client host computers are configured as one for each employee, one shared by all employees in the same office, or one shared by multiple offices.
[0012] Furthermore, the master control module is used to communicate with several slave control modules in an ID number polling manner, obtain the idle status of the leaders corresponding to the several slave control modules in real time, and then update it in the local area network through the server host computer;
[0013] The slave control module is used to feed back the idle state of the corresponding leader to the master control module;
[0014] The client host computer is used to obtain and display the idle status of the leader from the local area network.
[0015] Furthermore, the slave control module also includes an idle state LED light and a power supply; the power supply is electrically connected to the single-chip control board, wireless module 2, and the idle state LED light respectively; the idle state LED light is electrically connected to the single-chip control board.
[0016] Furthermore, there are multiple slave control modules and multiple client host computers.
[0017] Furthermore, the USB to serial port module is CH340.
[0018] Another aspect of the present invention provides a method for real-time display of leader idle status, which uses the above real-time display system for leader idle status to perform display, and specifically comprises the following steps:
[0019] S1. The server host computer in the master control module performs index coding for the IDs of several slave control modules so that the ID codes correspond to different leaders, and obtains the request frame IDs sent by the server host computer for several slave control modules according to the IDs of the slave control modules;
[0020] S2. construct local IDs corresponding to the request frame IDs for each of the several slave control modules;
[0021] S3, the server host computer obtains the idle status of the corresponding leader from several slave control modules in a polling manner, and updates it on the display interface of the server host computer;
[0022] S4. The server host computer transmits the idle status of the corresponding leader to several client host computers in real time through the local LAN, so that employees can view the idle status of the leader in real time.
[0023] Furthermore, the S1 specifically includes the following steps:
[0024] S11, counting the total number of slave control modules;
[0025] S12, the server host computer in the master control module plans several slave control module ID codes according to the total number of slave control modules, and pre-sets the values of the dip switches of the slave control modules, so that the server host computer obtains the request frame IDs allocated to the several slave control module codes, and then the server host computer completes the parameter initialization;
[0026] S13, then the server host computer initializes the computer USB interface connected to the USB to serial port module, and builds a transmission control protocol server (TCP Server-Transmission Control Protocol Server) in the local area network, thereby completing the server host computer network port initialization;
[0027] S14, determine whether the client host computer is connected to the server host computer through the local area network, if not, wait until the client host computer is connected to the server host computer; if yes, enter S15;
[0028] S15. Building a communication thread on the server host computer to facilitate data exchange and communication between the server host computer and the connected client host computer.
[0029] Furthermore, the S2 specifically includes the following steps:
[0030] S21, firstly, a number of slave control modules are powered and then the hardware interface is initialized;
[0031] S22, then the single-chip control board on the control module collects the preset dip switch value from the main control module, and constructs a local ID corresponding to the request frame ID according to the dip switch value.
[0032] Furthermore, the S3 specifically includes the following steps:
[0033] S31, the server host computer sends the status query data with the request frame ID of the corresponding slave control module code through the USB interface, the USB to serial port module converts the status query data into the corresponding serial port protocol, and then sends the communication waveform of the corresponding serial port protocol to the corresponding slave control module in the form of transparent transmission through the wireless module 1, and the communication waveform is the wireless signal;
[0034] S32, after the corresponding slave control module receives the communication waveform, it collects the idle state button state; if the corresponding slave control module does not respond, causing the corresponding slave control module reply timeout, then replace the next request frame ID and jump to S31;
[0035] S33, the slave control module collects the idle state button status and sets the idle state LED light on and off, so that the leader can check his idle state, and then determines whether the request frame ID has been received. If not, jump to S32; if yes, determine whether the request frame ID matches the local ID. If so, return the idle state of the leader corresponding to the slave control module, and update the idle state of the leader corresponding to the slave control module on the display interface of the server host computer; if not, replace the next request frame ID and jump to S31;
[0036] If the corresponding slave control module does not respond, causing the corresponding slave control module reply timeout, the display interface of the server host computer updates the slave control module to a timeout state, replaces the next request frame ID, and jumps to S31.
[0037] Beneficial effects of the present invention:
[0038] 1. The present invention discloses a real-time display system for the idle status of a leader. First, the idle status key information of the leader is collected by the slave control module, and then the main control module sends a wireless signal in the form of an inquiry, requiring the slave control module to respond and return the currently collected idle status information of the leader, and sends it to the client host computer through the main control module, so that the employee can view the current status of the leader in real time through the client host computer;
[0039] Based on the above implementation method, at the leader's end, there is no need for a PC, and only a slave control module needs to be placed on the table. At the employee's end, there is no need to place a main control module, and the client host computer can be directly opened with the intranet computer at work. At the server end, only one main control module is required to implement it. Only a USB to serial port module, a wireless module and a server host computer (software) need to be installed on the original server computer. Therefore, the present invention has the advantages of low cost and low power consumption.
[0040] 2. The present invention discloses a real-time display system for the idle status of leaders. Since it adopts a local area network and is not connected to the Internet, all information is stored on the intranet server through the server-side host computer, which can effectively ensure the security of all status information.
[0041] 3. The present invention discloses a real-time display system for the idle status of leaders. Employees can open the client host computer according to their needs to view the idle status of leaders in real time. Employees can go to the leader's office for conversation or signature at the right time, which saves time and improves efficiency while achieving the purpose of non-interference. Employees do not need to run back and forth to the leader's office for signature and other processes. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1It is the overall framework diagram of the real-time display system of the leader idle state in the present invention;
[0043] Figure 2 This is a connection diagram of the main control module in the present invention;
[0044] Figure 3 This is a physical picture of the main control module in the present invention;
[0045] Figure 4 This is a workflow diagram of the server host computer in the main control module of the present invention;
[0046] Figure 5 This is a display interface diagram of the server host computer in the present invention;
[0047] Figure 6 It is a connection diagram of the slave control module in the present invention;
[0048] Figure 7 A physical diagram of a slave control module in the present invention;
[0049] Figure 8 is a working flow chart of the slave control module in the present invention;
[0050] Fig. 9 It is the working flow diagram of the client host computer in the present invention;
[0051] Fig.10 This is a display interface diagram of the client host computer in the present invention;
[0052] Fig.11 This is an overall physical diagram of the real-time display system for the leader idle state in the present invention. DETAILED DESCRIPTION
[0053] In order to facilitate the understanding of the present invention, the present invention will be described more fully below with reference to the relevant drawings. Preferred embodiments of the present invention are provided in the drawings. However, the present invention can be implemented in many other different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosure of the present invention more thorough and comprehensive.
[0054] It should also be noted that, in the embodiments of the present application, the same figure mark is used to represent the same component or the same part. For the same parts in the embodiments of the present application, the figure may only mark one of the parts or components as an example. It should be understood that the figure mark also applies to other identical parts or components.
[0055] Reference Figure 1 and Fig.11 The embodiment of the present application provides a system for real-time display of leader idle status, including:
[0056] The main control module includes a server host computer, a USB to serial port module, and a wireless module 1; the server host computer is electrically connected to the wireless module 1 through the USB interface and the USB to serial port module in sequence; wherein the USB to serial port module is electrically connected to the wireless module 1 through the UART serial port; the connection relationship between the server host computer, the USB to serial port module, and the wireless module 1 inside the main control module is shown in Figure 2 As shown; the main control module is shown in Figure 3 As shown;
[0057] Several slave control modules are arranged in different leaders' rooms. Each slave control module includes a single-chip control board, a wireless module 2 and an idle state button. The idle state button and the wireless module 2 are electrically connected to the single-chip control board. See the connection diagram of the slave control module. Figure 6 ; From the physical diagram of the control module, see Figure 7 As shown;
[0058] Several client computers communicate with the server computer on the main control module through the local area network (TCP / IP) to view the leader idle status in real time.
[0059] Since the present invention adopts a local area network and is not connected to the Internet, all information is stored on the intranet server through the server-side host computer, effectively ensuring the security of all status information.
[0060] At the same time, employees can open the client computer according to their needs, which will display the leader's idle status in real time. Employees can go to the leader's office for conversations or signatures at the appropriate time. This not only saves time and improves efficiency, but also achieves the goal of non-interference. Employees do not need to run back and forth to the leader's office for signatures and other processes.
[0061] In some embodiments, the plurality of client host computers are configured to have one computer for each employee, one computer shared by all employees in the same office, or one computer shared by multiple offices.
[0062] In some embodiments, the master control module is used to communicate with several slave control modules in an ID number (the ID number is preset for each slave control module and corresponds to several leaders) polling mode, obtain the idle status of the leaders corresponding to the several slave control modules in real time, and then update it in the local area network through the server host computer;
[0063] The slave control module is used to feed back the idle state of the corresponding leader to the master control module;
[0064] The client host computer is used to obtain and display the idle status of the leader from the local area network.
[0065] In some embodiments, reference Figure 6 and Figure 7The slave control module also includes an idle state LED light and a power supply integrated on the slave control board; the power supply is electrically connected to the single-chip control board, wireless module 2, and the idle state LED light, respectively, for the leader to observe its own idle state. The idle state LED light is electrically connected to the single-chip control board. Preferably, the power supply is a 5V power supply, specifically as Figure 7 shown.
[0066] In some embodiments, the number of the slave control module and the client host computer is one or more.
[0067] In some embodiments, the USB to serial port module uses CH340.
[0068] The present invention discloses a real-time display system for the idle status of a leader. First, the idle status key information of the leader is collected by the slave control module. Then, the master control module sends a wireless signal in the form of an inquiry to request the slave control module to respond and return the currently collected idle status information of the leader. The information is sent to a client host computer through the master control module, so that the employee can view the current status of the leader in real time through the client host computer.
[0069] Based on the above implementation method, at the leader's end, there is no need for a PC, and only a slave control module needs to be placed on the table. At the employee's end, there is no need to place a main control module, and the client host computer can be directly opened with the intranet computer at work. At the server end, only one main control module is required to implement it. Only a USB to serial port module, a wireless module and a server host computer (software) need to be installed on the original server computer. Therefore, the present invention has the advantages of low cost and low power consumption.
[0070] Another aspect of the present invention provides a method for real-time display of leader idle status, which uses the above real-time display system for leader idle status to perform display, and specifically comprises the following steps:
[0071] S1. The server host computer in the master control module performs index coding for the IDs of several slave control modules so that the ID codes correspond to different leaders, and obtains the request frame IDs sent by the server host computer for several slave control modules according to the IDs of the slave control modules;
[0072] S2. construct local IDs corresponding to the request frame IDs for each of the several slave control modules;
[0073] S3, the server host computer obtains the idle status of the corresponding leader from several slave control modules in a polling manner, and updates it on the display interface of the server host computer; the display interface of the server host computer is as follows Figure 5 As shown;
[0074] S4. The server host computer transmits the idle status of the corresponding leader to several client host computers in real time through the local area network, and displays it on the display interface of the client host computer, so that employees can view the idle status of the leader in real time. Fig.10 shown.
[0075] Specifically, during the process of receiving the leader idle status data in real time, the client computer will determine whether the server computer's reply has timed out. If so, the communication timeout will be printed on the client computer display interface. If not, after receiving the leader idle status data, the client computer will parse it and display the parsed data on the client computer display interface.
[0076] In some embodiments, the S1 specifically includes the following steps:
[0077] S11, counting the total number of slave control modules;
[0078] S12, the server host computer in the master control module plans several slave control module ID codes according to the total number of slave control modules, and pre-sets the values of the dip switches of the slave control modules, so that the server host computer obtains the request frame IDs allocated to the several slave control module codes, and then the server host computer completes the parameter initialization;
[0079] S13, then the server host computer initializes the computer USB interface connected to the USB to serial port module, and builds a transmission control protocol server (TCP Server-Transmission Control Protocol Server) in the local area network, thereby completing the server host computer network port initialization;
[0080] S14, determine whether the client host computer is connected to the server host computer through the local area network, if not, wait until the client host computer is connected to the server host computer; if yes, enter S15;
[0081] S15. Construct a communication thread on the client host computer so that the client host computer is interconnected with the server host computer through the local area network; thereby facilitating data exchange communication between the server host computer and the connected client host computer
[0082] In some embodiments, S2 specifically includes the following steps:
[0083] S21, firstly, after powering up several slave control modules, the hardware interface (including the serial port, the idle state LED light and the idle state button on the slave control board) is initialized;
[0084] S22, then the single-chip control board on the control module collects the preset dip switch value from the main control module, and constructs a local ID corresponding to the request frame ID according to the dip switch value.
[0085] In some embodiments, reference Figure 4 and Figure 8 , the S3 specifically includes the following steps:
[0086] S31, the server host computer sends the status query data with the request frame ID of the corresponding slave control module code through the USB interface, the USB to serial port module converts the status query data into the corresponding serial port protocol, and then sends the communication waveform of the corresponding serial port protocol to the corresponding slave control module in the form of transparent transmission through the wireless module 1, and the communication waveform is the wireless signal;
[0087] S32, after receiving the wireless signal, the corresponding slave control module sends its own idle state button state;
[0088] S33, the slave control module collects the idle state button status and sets the idle state LED light on and off, so that the leader can check his idle state, and then determines whether the request frame ID has been received. If not, jump to S32; if yes, determine whether the request frame ID matches the local ID. If so, return the idle state of the leader corresponding to the slave control module, and update the idle state of the leader corresponding to the slave control module on the display interface of the server host computer; if not, replace the next request frame ID and jump to S31;
[0089] If the corresponding slave control module does not respond, causing the corresponding slave control module reply timeout, the display interface of the server host computer updates the slave control module to a timeout state, replaces the next request frame ID, and jumps to S31.
[0090] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be covered within the protection scope of the present invention. In addition, the technical solutions between the various embodiments of the present invention can be combined with each other, but it must be based on the ability of ordinary technicians in the field to implement. When the combination of technical solutions is contradictory or cannot be implemented, it should be considered that such a combination of technical solutions does not exist and is not within the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.
Claims
1. A real-time display system for leader idle status, characterized in that: include: The main control module includes a server host computer, a USB to serial port module, and a wireless module 1; the server host computer is electrically connected to the UBS to serial port module via a USB interface, and the UBS to serial port module is electrically connected to the wireless module 1 via a serial port; Several slave control modules are arranged in different leaders' rooms respectively, and each slave control module includes a single-chip control board, an idle state button, and a wireless module 2; the idle state button and the wireless module 2 are both electrically connected to the single-chip control board; Several client computers are connected to the server computer on the main control module through the local area network to view the idle status of the leader in real time.
2. The real-time display system of leader idle status according to claim 1 is characterized in that: Several client host computers are configured as one for each employee, one shared by all employees in the same office, or one shared by multiple offices.
3. The real-time display system of leader idle status according to claim 1 is characterized in that: The master control module is used to communicate with several slave control modules in an ID number polling manner, obtain the idle status of the leaders corresponding to the several slave control modules in real time, and then update it in the local area network through the server host computer; The slave control module is used to feed back the idle state of the corresponding leader to the master control module; The client host computer is used to obtain and display the idle status of the leader from the local area network.
4. The real-time display system of leader idle status according to claim 1 is characterized in that: The slave control module also includes an idle state LED light and a power supply; the power supply is electrically connected to the single-chip control board, wireless module 2, and the idle state LED light respectively; the idle state LED light is electrically connected to the single-chip control board.
5. The real-time display system of leader idle status according to claim 1 is characterized in that: The number of the slave control modules and the client host computer is multiple.
6. The real-time display system of leader idle status according to claim 1 is characterized in that: The USB to serial port module is CH340.
7. A method for real-time display of leader idle status, characterized in that: The method of displaying the leader idle status real-time display system according to any one of claims 1 to 6 comprises the following steps: S1. The server host computer in the master control module performs index coding for the IDs of several slave control modules so that the ID codes correspond to different leaders, and obtains the request frame IDs sent by the server host computer for several slave control modules according to the IDs of the slave control modules; S2. construct local IDs corresponding to the request frame IDs for each of the several slave control modules; S3, the server host computer obtains the idle status of the corresponding leader from several slave control modules in a polling manner, and updates it on the display interface of the server host computer; S4. The server host computer transmits the idle status of the corresponding leader to several client host computers in real time through the local LAN, so that employees can view the idle status of the leader in real time.
8. The method for real-time display of leader idle status according to claim 7, characterized in that: The S1 specifically includes the following steps: S11, counting the total number of slave control modules; S12, the server host computer in the master control module plans several slave control module ID codes according to the total number of slave control modules, and pre-sets the values of the dip switches of the slave control modules, so that the server host computer obtains the request frame IDs allocated to the several slave control module codes, and then the server host computer completes the parameter initialization; S13, then the server host computer initializes the computer USB interface connected to the USB to serial port module, and builds a transmission control protocol server in the local area network, thereby completing the server host computer network port initialization; S14, determine whether the client host computer is connected to the server host computer through the local area network, if not, wait until the client host computer is connected to the server host computer; if yes, enter S15; S15. Building a communication thread on the server host computer to facilitate data exchange and communication between the server host computer and the connected client host computer.
9. The method for real-time display of leader idle status according to claim 7, characterized in that: The S2 specifically includes the following steps: S21, firstly, a number of slave control modules are powered and then the hardware interface is initialized; S22, then the single-chip control board on the control module collects the preset dip switch value from the main control module, and constructs a local ID corresponding to the request frame ID according to the dip switch value.
10. The method for real-time display of leader idle status according to any one of claims 7 to 9, characterized in that: The S3 specifically includes the following steps: S31, the server host computer sends the status query data with the request frame ID of the corresponding slave control module code through the USB interface, the USB to serial port module converts the status query data into the corresponding serial port protocol, and then sends the communication waveform of the corresponding serial port protocol to the corresponding slave control module in the form of transparent transmission through the wireless module 1, and the communication waveform is the wireless signal; S32, after receiving the wireless signal, the corresponding slave control module sends its own idle state button state; S33, collect the idle state button status from the control module and set the idle state LED light on and off, so that the leader can check his idle state, and then determine whether the reception of the request frame ID has been completed. If not, jump to S32; If yes, determine whether the request frame ID matches the local ID. If yes, return the idle state of the leader corresponding to the slave control module, and update the idle state of the leader corresponding to the slave control module on the display interface of the server host computer; if no, replace the next request frame ID and jump to S31; If the corresponding slave control module does not respond, causing the corresponding slave control module reply timeout, the display interface of the server host computer updates the slave control module to a timeout state, replaces the next request frame ID, and jumps to S31.