CN113207112B - Mobile interactive ledger management method, system, device and storage medium thereof - Google Patents
Mobile interactive ledger management method, system, device and storage medium thereof Download PDFInfo
- Publication number
- CN113207112B CN113207112B CN202110422982.3A CN202110422982A CN113207112B CN 113207112 B CN113207112 B CN 113207112B CN 202110422982 A CN202110422982 A CN 202110422982A CN 113207112 B CN113207112 B CN 113207112B
- Authority
- CN
- China
- Prior art keywords
- image block
- image
- device processing
- mobile terminal
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/14—Direct-mode setup
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/15—Setup of multiple wireless link connections
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/02—Terminal devices
- H04W88/06—Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
本申请涉及一种移动式交互的台账管理方法、系统、装置及其存储介质,方法包括:设备处理端定时自动记录或者获取键入的台账信息,设备处理端内部预设更新标记与已读标记,更新标记与已读标记不同时置位,台账信息更新后,设备处理端置位更新标记;移动端定时与设备处理端无线连接;移动端查询设备处理端的当前置位;若查询到更新标记被置位,则移动端请求设备处理端上传最新的台账信息;若查询到已读标记被置位,则请求设备处理端进行自动记录并通过摄像模块拍摄设备实况形成图像信息,移动端请求设备处理端上传图像信息;设备处理端将图像信息上传至移动端。本申请具有降低台账管理的错误率以及提高效率的效果。
The present application relates to a mobile interactive ledger management method, system, device and its storage medium. The method includes: the equipment processing terminal automatically records or obtains the entered ledger information at regular intervals, and the device processing terminal internally presets update marks and read Flag, the update flag and the read flag are not set at the same time, after the ledger information is updated, the device processing end sets the update flag; the mobile terminal regularly connects wirelessly with the device processing end; the mobile terminal queries the current setting of the device processing end; When the update flag is set, the mobile terminal requests the equipment processing terminal to upload the latest ledger information; if the read flag is found to be set, the mobile terminal requests the equipment processing terminal to automatically record and form image information through the camera module to capture the equipment in real time. The terminal requests the device processing terminal to upload image information; the device processing terminal uploads the image information to the mobile terminal. The application has the effects of reducing the error rate of ledger management and improving efficiency.
Description
技术领域technical field
本申请涉及设备台账管理的领域,尤其是涉及一种移动式交互的台账管理方法、系统、装置及其存储介质。The present application relates to the field of equipment ledger management, in particular to a mobile interactive ledger management method, system, device and storage medium thereof.
背景技术Background technique
台账,指摆放在台上供人翻阅的账簿,也指是流水账,它包括文件、工作计划或工作汇报。在工业生产中,生产安全管理方面的台账即安全生产台账是反映一个单位安全生产管理的整体情况的资料记录。安全生产台账的主要作用有:在台账资料的记录、整理和积累过程中起到自我督促、强化安全生产管理的作用;让企业规范管理上档次,提高企业管理水平;对单位和安全管理人员起到自我保护的作用。Ledger refers to the account book placed on the platform for people to read, and also refers to the running account, which includes documents, work plans or work reports. In industrial production, the ledger of production safety management, that is, the safety production ledger is a data record that reflects the overall situation of a unit's safety production management. The main functions of the safety production ledger are: in the process of recording, organizing and accumulating ledger data, it plays a role in self-supervision and strengthening safety production management; it allows enterprises to standardize management and improve enterprise management levels; Personnel play the role of self-protection.
现有的安全生产台账都是一本纸质本被挂在设备旁,巡检人员或者操作人员按照规定定时用笔进行登记,若车间内的设备数量不多,巡检人员或者操作人员还能按时完成操作,若是车间内的设备数量过多,巡检人员或者操作人员则会忙于按时完成登记,会加大登记出错的概率。The existing safety production ledger is a paper book that is hung next to the equipment, and the inspectors or operators use pens to register regularly according to regulations. If the number of equipment in the workshop is not large, the inspectors or operators still The operation can be completed on time. If there are too many devices in the workshop, the inspection personnel or operators will be busy completing the registration on time, which will increase the probability of registration errors.
针对上述中的相关技术,发明人认为若是车间内的设备数量过多,还是采用按照规定定时用笔进行登记的方式进行台账记录、管理的方式,会存在有出错率高、效率低下的缺陷。In view of the related technologies mentioned above, the inventor believes that if there are too many devices in the workshop, the method of recording and managing the ledger by using a pen to register regularly according to the regulations will have the defects of high error rate and low efficiency .
发明内容Contents of the invention
为了降低台账管理的错误率以及提高效率,本申请提供一种移动式交互的台账管理方法、系统、装置及其存储介质。In order to reduce the error rate of ledger management and improve efficiency, the present application provides a mobile interactive ledger management method, system, device and storage medium thereof.
第一方面,本申请提供一种移动式交互的台账管理方法,采用如下的技术方案:In the first aspect, the present application provides a mobile interactive ledger management method, which adopts the following technical solution:
一种移动式交互的台账管理方法,基于连接有摄像模块的设备处理端与移动端,包括如下步骤:A mobile interactive ledger management method, based on a device processing terminal connected with a camera module and a mobile terminal, comprising the following steps:
S1:所述设备处理端定时自动记录或者获取键入的台账信息,所述设备处理端内部预设更新标记与已读标记,所述更新标记与所述已读标记不同时置位,所述台账信息更新后,所述设备处理端置位更新标记;S1: The device processing terminal automatically records or acquires the entered ledger information at regular intervals, and the device processing terminal presets an update flag and a read flag internally, and the update flag and the read flag are not set at the same time, and the After the ledger information is updated, the device processing end sets an update flag;
S2:所述移动端定时与所述设备处理端无线连接;S2: The mobile terminal regularly wirelessly connects with the device processing terminal;
S3:所述移动端查询所述设备处理端的当前置位;S3: The mobile terminal queries the current setting of the processing terminal of the device;
S4:若查询到所述更新标记被置位,则所述移动端请求所述设备处理端上传最新的台账信息;S4: If it is found that the update flag is set, the mobile terminal requests the device processing terminal to upload the latest ledger information;
S5:若查询到所述已读标记被置位,则请求所述设备处理端进行自动记录并通过摄像模块拍摄设备实况形成图像信息,所述移动端请求所述设备处理端上传所述图像信息;以及,S5: If it is found that the read flag is set, request the device processing end to automatically record and capture the device through the camera module to form image information in real time, and the mobile terminal requests the device processing end to upload the image information ;as well as,
S6:所述设备处理端将所述图像信息上传至所述移动端,置位所述已读标记,复位所述更新标记。S6: The device processing end uploads the image information to the mobile end, sets the read flag, and resets the update flag.
通过采用上述技术方案,设备正常运行时,设备处理端能自动记录台账信息,员工也可在现场记录台账信息,进行台账管理的员工持有移动端,在现场巡逻的过程中即可收集来自设备处理端的台账信息,做好日常台账记录,台账记录包括设备实况的图像信息,降低人为的台账管理的错误率,提高了台账管理的效率。By adopting the above technical solution, when the equipment is in normal operation, the equipment processing terminal can automatically record the ledger information, and the employees can also record the ledger information on site, and the employees who carry out the ledger management hold the mobile terminal and can do it during the on-site patrol. Collect the ledger information from the equipment processing end, and make daily ledger records. The ledger records include the image information of the device's live situation, which reduces the error rate of artificial ledger management and improves the efficiency of ledger management.
优选的,所述S2中,还包括:Preferably, in said S2, it also includes:
S21:所述设备处理端设有多个,相邻所述设备处理端之间相互数据连接;S21: There are multiple processing ends of the device, and data connection between adjacent processing ends of the device;
S22:所述移动端通过第一通信协议连接至第一个所述设备处理端;以及,S22: The mobile terminal is connected to the first device processing terminal through the first communication protocol; and,
S23:第一个所述设备处理端通过所述第一通信协议向所述移动端发送数据的过程中,所述移动端通过第二通信协议连接至第二个所述设备处理端,第一个所述设备处理端与第二个所述设备处理端相邻。S23: During the process of sending data from the first device processing terminal to the mobile terminal through the first communication protocol, the mobile terminal is connected to the second device processing terminal through the second communication protocol, and the first One said device processing end is adjacent to a second said device processing end.
通过采用上述技术方案,当第一通信协议的带宽或者网络环境不佳导致传输速率不快时,可以在传输数据的过程中与第二个设备处理端建立连接,节省时间,实现无间隙连接。By adopting the above technical solution, when the bandwidth of the first communication protocol or the network environment is poor and the transmission rate is not fast, a connection can be established with the processing end of the second device during the data transmission process, saving time and realizing seamless connection.
优选的,所述S6中,还包括:Preferably, in said S6, it also includes:
S61:若所述图像信息的数据量大于预设的信息数据量,则第一个所述设备处理端将所述图像信息拆分为第一图像块与第二图像块;S61: If the data amount of the image information is greater than the preset information data amount, the first processing end of the device splits the image information into a first image block and a second image block;
S62:第一个所述设备处理端将所述第一图像块通过第一通信协议发送至所述移动端,同时,第一个所述设备处理端将所述第二图像块通过第二个所述设备处理端经过所述第二通信协议发送至所述移动端;以及,S62: The first device processing end sends the first image block to the mobile terminal through the first communication protocol, and at the same time, the first device processing end sends the second image block through the second The device processing terminal sends to the mobile terminal through the second communication protocol; and,
S63:所述移动端接收所述第一图像块与所述第二图像块,将所述第一图像块与所述第二图像块合并成所述图像信息,存储所述图像信息。S63: The mobile terminal receives the first image block and the second image block, combines the first image block and the second image block into the image information, and stores the image information.
通过采用上述技术方案,当第一通信协议的带宽或者网络环境不佳导致传输速率不快时,可以通过相邻的设备处理端辅助传输图像信息,节省时间,提高工作效率。By adopting the above technical solution, when the bandwidth of the first communication protocol or the network environment is not good and the transmission rate is not fast, the adjacent device processing terminal can be used to assist in the transmission of image information, saving time and improving work efficiency.
优选的,所述第一图像块与所述第一图像中对应像素点的数据为所述图像信息中相邻像素点的数据;Preferably, the data of corresponding pixel points in the first image block and the first image are the data of adjacent pixel points in the image information;
所述S63中,还包括:In said S63, it also includes:
S631:所述移动端接收到所述第一图像块后,存储所述第一图像块;S631: After the mobile terminal receives the first image block, store the first image block;
S632:所述移动端接收到所述第二图像块后,使用所述第一图像块验证所述第二图像块,验证步骤为:将所述第一图像块与所述第二图像块对齐,然后将第一图像块向左偏移一个像素的位置后与第二图像块相减,得到多个像素差值,取所有像素差值的和值为第一和值;将所述第一图像块与所述第二图像块对齐,然后将第一图像块向下偏移一个像素的位置后与第二图像块相减,得到多个像素差值,取所有像素差值的和值为第二和值;S632: After the mobile terminal receives the second image block, use the first image block to verify the second image block, the verification step is: align the first image block with the second image block , and then subtract the position of the first image block to the left by one pixel from the second image block to obtain a plurality of pixel difference values, and take the sum of all pixel difference values as the first sum value; the first The image block is aligned with the second image block, and then the first image block is shifted down by one pixel and subtracted from the second image block to obtain a plurality of pixel differences, and the sum of all pixel differences is taken as second sum;
S633:若所述第一和值与所述第二和值的差位于预设的第一区间值内,则将所述第一图像块与所述第二图像块合并成所述图像信息,存储所述图像信息;S633: If the difference between the first sum and the second sum is within a preset first interval value, combine the first image block and the second image block into the image information, storing the image information;
S634:若所述第一和值与所述第二和值的差位于预设的第二区间值内,则将所述第二图像块转换为成白背景,再将所述第一图像块与所述第二图像块合并成所述图像信息,存储所述图像信息;以及,S634: If the difference between the first sum value and the second sum value is within the preset second interval value, convert the second image block into a white background, and then convert the first image block Merging with the second image block to form the image information, storing the image information; and,
S635:若所述第一和值与所述第二和值的差位于预设的第三区间值内,则将所述第一图像块与所述第二图像块均转换为成白背景,再将所述第一图像块与所述第二图像块合并成所述图像信息,存储所述图像信息。S635: If the difference between the first sum value and the second sum value is within a preset third interval value, convert both the first image block and the second image block into a white background, Then combine the first image block and the second image block to form the image information, and store the image information.
通过采用上述技术方案,正常情况下,第一图像块与第二图像块的差距不大,通过第一图像块对第二图像块进行验证,验证后也能降低传输过程对图像信息带来的影响。By adopting the above technical solution, under normal circumstances, the difference between the first image block and the second image block is not large, and the second image block is verified through the first image block, and the transmission process can also reduce the impact on the image information after verification. influences.
第二方面,本申请提供一种移动式交互的台账管理系统,采用如下的技术方案:In the second aspect, the application provides a mobile interactive ledger management system, which adopts the following technical solutions:
一种移动式交互的台账管理系统,包括连接有摄像模块的设备处理端与移动端,所述移动端定时与所述设备处理端无线连接;还包括:A mobile interactive ledger management system, comprising a device processing terminal connected with a camera module and a mobile terminal, and the mobile terminal is wirelessly connected to the device processing terminal at regular intervals; and also includes:
自动记录模块,位于所述设备处理端内,用于定时自动记录或者获取键入的台账信息,所述设备处理端内部预设更新标记与已读标记,所述更新标记与所述已读标记不同时置位,所述台账信息更新后,所述设备处理端置位更新标记;The automatic recording module is located in the processing end of the device, and is used to automatically record or obtain the entered ledger information at regular intervals. The processing end of the device presets an update mark and a read mark, and the update mark and the read mark Not set at the same time, after the ledger information is updated, the device processing end sets the update flag;
查询模块,位于所述移动端内,用于查询所述设备处理端的当前置位;A query module, located in the mobile terminal, is used to query the current setting of the processing terminal of the device;
第一判断执行模块,位于所述移动端内,用于判断若查询到所述更新标记被置位,则请求所述设备处理端上传最新的台账信息;The first judgment execution module is located in the mobile terminal, and is used for judging that if the update flag is found to be set, then request the device processing end to upload the latest ledger information;
第二判断执行模块,位于所述移动端内,用于判断若查询到所述已读标记被置位,则请求所述设备处理端进行自动记录并通过摄像模块拍摄设备实况形成图像信息,并请求所述设备处理端上传所述图像信息;以及,The second judgment execution module is located in the mobile terminal, and is used for judging that if the read flag is found to be set, then request the equipment processing terminal to perform automatic recording and take pictures of the equipment through the camera module to form image information in real time, and requesting the device processing end to upload the image information; and,
上传模块,位于所述设备处理端内,用于将所述图像信息上传至所述移动端,置位所述已读标记,复位所述更新标记。The upload module is located in the processing end of the device, and is used for uploading the image information to the mobile end, setting the read flag, and resetting the update flag.
通过采用上述技术方案,设备处理端正常运行时,自动记录模块能自动记录台账信息,员工也可在现场通过操作自动记录模块记录台账信息,进行台账管理的员工持有移动端,在现场巡逻的过程中,查询模块会查询设备处理端,第一判断执行模块与第二判断执行模块可对设备处理端的情况进行分析与执行,上传模块让移动端能收集来自设备处理端的台账信息,做好日常台账记录,台账记录包括设备实况的图像信息,降低人为的台账管理的错误率,提高了台账管理的效率。By adopting the above-mentioned technical solution, when the equipment processing end is running normally, the automatic recording module can automatically record the ledger information, and the employees can also record the ledger information by operating the automatic recording module on site. During the on-site patrol, the query module will query the device processing end, the first judgment execution module and the second judgment execution module can analyze and execute the situation of the device processing end, and the upload module allows the mobile terminal to collect account information from the device processing end , Do a good job in daily ledger records, ledger records include image information of equipment live conditions, reduce the error rate of artificial ledger management, and improve the efficiency of ledger management.
优选的,所述设备处理端设有多个,相邻所述设备处理端之间相互数据连接;Preferably, there are multiple processing ends of the device, and data connections between adjacent processing ends of the device;
所述移动端通过第一通信协议连接至第一个所述设备处理端;以及,said mobile terminal is connected to a first said device processing terminal through a first communication protocol; and,
第一个所述设备处理端通过所述第一通信协议向所述移动端发送数据的过程中,所述移动端通过第二通信协议连接至第二个所述设备处理端,第一个所述设备处理端与第二个所述设备处理端相邻。During the process of sending data from the first device processing terminal to the mobile terminal through the first communication protocol, the mobile terminal is connected to the second device processing terminal through the second communication protocol, and the first device processing terminal is connected to the second device processing terminal through the second communication protocol. The processing end of the device is adjacent to the second processing end of the device.
通过采用上述技术方案,当第一通信协议的带宽或者网络环境不佳导致传输速率不快时,可以在传输数据的过程中与第二个设备处理端建立连接,节省时间,实现无间隙连接。By adopting the above technical solution, when the bandwidth of the first communication protocol or the network environment is poor and the transmission rate is not fast, a connection can be established with the processing end of the second device during the data transmission process, saving time and realizing seamless connection.
优选的,第一个所述设备处理端中包括:Preferably, the first device processing end includes:
图像拆分模块,用于判断若所述图像信息的数据量大于预设的信息数据量,则第一个所述设备处理端将所述图像信息拆分为第一图像块与第二图像块;The image splitting module is used to judge that if the data amount of the image information is greater than the preset information data amount, the first device processing end splits the image information into a first image block and a second image block ;
图像发送模块,用于将所述第一图像块通过第一通信协议发送至所述移动端,同时,将所述第二图像块通过第二个所述设备处理端经过所述第二通信协议发送至所述移动端;以及,An image sending module, configured to send the first image block to the mobile terminal through the first communication protocol, and at the same time, send the second image block through the second device processing end through the second communication protocol sent to the mobile terminal; and,
所述移动端中包括图像合并模块,用于接收所述第一图像块与所述第二图像块,将所述第一图像块与所述第二图像块合并成所述图像信息,存储所述图像信息。The mobile terminal includes an image combining module, configured to receive the first image block and the second image block, combine the first image block and the second image block into the image information, and store the image information.
通过采用上述技术方案,当第一通信协议的带宽或者网络环境不佳导致传输速率不快时,图像拆分模块将图像信息进行拆分,图像发送模块通过相邻的设备处理端辅助传输图像信息至移动端,图像合并模块再还原图像信息,节省时间,提高工作效率。By adopting the above technical solution, when the bandwidth of the first communication protocol or the network environment is poor and the transmission rate is not fast, the image splitting module splits the image information, and the image sending module assists in transmitting the image information to the On the mobile terminal, the image merging module restores the image information, saving time and improving work efficiency.
优选的,所述第一图像块与所述第一图像中对应像素点的数据为所述图像信息中相邻像素点的数据;Preferably, the data of corresponding pixel points in the first image block and the first image are the data of adjacent pixel points in the image information;
所述图像合并模块中,还包括:In the image merging module, it also includes:
存储单元用于接收到所述第一图像块后,存储所述第一图像块;The storage unit is configured to store the first image block after receiving the first image block;
处理单元,用于接收到所述第二图像块后,使用所述第一图像块验证所述第二图像块,验证步骤为:将所述第一图像块与所述第二图像块对齐,然后将第一图像块向左偏移一个像素的位置后与第二图像块相减,得到多个像素差值,取所有像素差值的和值为第一和值;将所述第一图像块与所述第二图像块对齐,然后将第一图像块向下偏移一个像素的位置后与第二图像块相减,得到多个像素差值,取所有像素差值的和值为第二和值;a processing unit, configured to use the first image block to verify the second image block after receiving the second image block, and the verification step is: align the first image block with the second image block, Then the first image block is shifted to the left by one pixel and subtracted from the second image block to obtain a plurality of pixel difference values, and the sum of all pixel difference values is the first sum value; the first image block The block is aligned with the second image block, and then the first image block is shifted down by one pixel and subtracted from the second image block to obtain a plurality of pixel difference values, and the sum of all pixel difference values is taken as the first Second sum value;
第一判定单元,用于判断若所述第一和值与所述第二和值的差位于预设的第一区间值内,则将所述第一图像块与所述第二图像块合并成所述图像信息,存储所述图像信息;A first judging unit, configured to judge that if the difference between the first sum and the second sum is within a preset first interval value, merge the first image block with the second image block forming the image information, and storing the image information;
第二判定单元,用于判断若所述第一和值与所述第二和值的差位于预设的第二区间值内,则将所述第二图像块转换为成白背景,再将所述第一图像块与所述第二图像块合并成所述图像信息,存储所述图像信息;以及,The second judging unit is configured to judge that if the difference between the first sum and the second sum is within a preset second interval value, convert the second image block into a white background, and then convert the second image block into a white background The first image block and the second image block are combined into the image information, and the image information is stored; and,
第三判定单元,用于判断若所述第一和值与所述第二和值的差位于预设的第三区间值内,则将所述第一图像块与所述第二图像块均转换为成白背景,再将所述第一图像块与所述第二图像块合并成所述图像信息,存储所述图像信息。A third determining unit, configured to determine that if the difference between the first sum and the second sum is within a preset third interval value, equalize the first image block and the second image block Convert to a white background, then merge the first image block and the second image block into the image information, and store the image information.
通过采用上述技术方案,正常情况下,第一图像块与第二图像块的差距不大,第一判定单元、第二判定单元与第三判定单元通过第一图像块对第二图像块进行验证,验证后能降低传输过程对图像信息带来的影响。By adopting the above technical solution, under normal circumstances, the difference between the first image block and the second image block is not large, and the first judging unit, the second judging unit and the third judging unit verify the second image block through the first image block , after verification, the influence of the transmission process on the image information can be reduced.
第三方面,本申请提供一种计算机存储介质,采用如下的技术方案:In a third aspect, the present application provides a computer storage medium, adopting the following technical solution:
一种移动式交互的台账管理装置,包括上述任意一种移动式交互的台账管理系统。A mobile interactive ledger management device includes any mobile interactive ledger management system described above.
第四方面,本申请提供一种计算机存储介质,采用如下的技术方案:In a fourth aspect, the present application provides a computer storage medium, adopting the following technical solution:
一种计算机可读存储介质,存储有能够被处理器加载并执行上述任意一种移动式交互的台账管理方法的计算机程序。A computer-readable storage medium stores a computer program capable of being loaded by a processor and executing any one of the above-mentioned mobile interactive ledger management methods.
本申请至少具有如下有益效果:设备正常运行时,设备处理端能自动记录台账信息,员工也可在现场记录台账信息,进行台账管理的员工持有移动端,在现场巡逻的过程中即可收集来自设备处理端的台账信息,做好日常台账记录,台账记录包括设备实况的图像信息,降低人为的台账管理的错误率,提高了台账管理的效率。在传输数据的过程中,当第一通信协议的带宽或者网络环境不佳导致传输速率不快时,可以在传输数据的过程中与第二个设备处理端建立连接,节省时间,实现无间隙连接;同时与第二个设备处理端连接后,当前的设备处理端可以通过相邻的设备处理端辅助传输图像信息,节省时间,提高工作效率。This application has at least the following beneficial effects: when the equipment is in normal operation, the equipment processing terminal can automatically record the ledger information, and the employees can also record the ledger information on site. It can collect the ledger information from the equipment processing end, and make daily ledger records. The ledger records include the image information of the device's live situation, which reduces the error rate of artificial ledger management and improves the efficiency of ledger management. In the process of data transmission, when the bandwidth of the first communication protocol or the network environment is not good and the transmission rate is not fast, a connection can be established with the second device processing end during the data transmission process, saving time and realizing seamless connection; At the same time, after connecting with the second device processing end, the current device processing end can assist in the transmission of image information through the adjacent device processing end, saving time and improving work efficiency.
附图说明Description of drawings
图1是本申请移动式交互的台账管理方法的方法流程示意图;Fig. 1 is the method flow schematic diagram of the ledger management method of mobile interaction of the present application;
图2是本申请移动式交互的台账管理系统的系统结构框图;Fig. 2 is the system structural block diagram of the ledger management system of mobile interaction of the present application;
图3是本申请中图像信息的显示信息图;Fig. 3 is a display information diagram of image information in the present application;
图4是本申请中第一图像块的显示信息图;Fig. 4 is a display information diagram of the first image block in the present application;
图5是本申请中第二图像块的显示信息图。Fig. 5 is a display information diagram of the second image block in the present application.
附图标记:1、设备处理端;2、移动端。Reference signs: 1. Device processing terminal; 2. Mobile terminal.
具体实施方式Detailed ways
以下结合附图1-5对本申请作进一步详细说明。The present application will be described in further detail below in conjunction with accompanying drawings 1-5.
下面结合说明书附图对本申请实施例作进一步详细描述。The embodiments of the present application will be further described in detail below in conjunction with the accompanying drawings.
本申请实施例公开一种移动式交互的台账管理方法,如图1与图2所示,基于连接有摄像模块的设备处理端1与移动端2,设备处理端1可采用工业处理器或者PLC等可用于恶劣工作环境的处理器,摄像模块可采用具有工业防护的摄像头,摄像头与处理器数据连接,摄像模块对准设备,拍摄设备的实况形成图像并传输给处理器。处理器也可连接有多种无线通信模块与有线通信模块,无线通信模块可采用蓝牙模块、GPRS模块、WIFI模块以及其它短距通信模块,有限通信模块可采用有线网卡模块,RS485模块或者CAN总线模块。移动端2可采用智能终端,如智能手机,智能终端内置有与处理器实现无线配对的多种无线通信模块,无线通信模块可采用蓝牙模块、GPRS模块、WIFI模块以及其它短距通信模块。The embodiment of the present application discloses a mobile interactive ledger management method, as shown in Figure 1 and Figure 2, based on the
方法包括如下步骤:The method includes the following steps:
S1:设备处理端1定时自动记录或者获取键入的台账信息,设备处理端1内部预设更新标记与已读标记,更新标记与已读标记不同时置位,台账信息更新后,设备处理端1置位更新标记。台账信息可包括设备状态信息、员工信息以及工件信息等。设备处理端1可每隔1个小时就自动记录台账信息,每次记录好台账信息后就将更新标记置位为1,在初始化时,更新标记为0。巡检人员或操作人员也可手动控制设备处理端1记录台账信息,每次记录好台账信息后,设备处理端1就将更新标记置位为1。S1: The
S2:移动端2定时与设备处理端1无线连接。S2中,还包括:S21:设备处理端1设有多个,相邻设备处理端1之间相互数据连接;S22:移动端2通过第一通信协议连接至第一个设备处理端1;以及,S23:第一个设备处理端1通过第一通信协议向移动端2发送数据的过程中,移动端2通过第二通信协议连接至第二个设备处理端1,第一个设备处理端1与第二个设备处理端1相邻。移动端2可通过蓝牙与设备处理端1连接进行通信,相邻设备处理端1之间可通过有线的RS485或者通过网线以及TCP/IP协议进行有线通信。S2: The mobile terminal 2 is wirelessly connected to the
S3:移动端2查询设备处理端1的当前置位。本文中的设备处理端1若非额外释义,均为上述步骤S2中释义的第一个设备处理端1。S3: The mobile terminal 2 queries the current setting of the
S4:若查询到更新标记被置位,则移动端2请求设备处理端1上传最新的台账信息。移动端2通过蓝牙模块向第一个设备处理端1发送上传请求。S4: If it is found that the update flag is set, the mobile terminal 2 requests the
S5:若查询到已读标记被置位,则请求设备处理端1进行自动记录并通过摄像模块拍摄设备实况形成图像信息,移动端2请求设备处理端1上传图像信息。S5: If it is found that the read flag is set, request the
以及,as well as,
S6:设备处理端1将图像信息上传至移动端2,置位已读标记,复位更新标记。S6中,还包括:S61:若图像信息的数据量大于预设的信息数据量,则第一个设备处理端1将图像信息拆分为第一图像块与第二图像块。图像信息的显示信息图参考图3,第一图像块的显示信息图参考图4,第二图像块的显示信息图参考图5。第一图像块与第一图像中对应像素点的数据为图像信息中相邻像素点的数据。S62:第一个设备处理端1将第一图像块通过第一通信协议发送至移动端2,同时,第一个设备处理端1将第二图像块通过第二个设备处理端1经过第二通信协议发送至移动端2;以及,S63:移动端2接收第一图像块与第二图像块,将第一图像块与第二图像块合并成图像信息,存储图像信息。例如,图像信息约30M,则将图像信息按照预设的算法分为约15M的第一图像块与约15M的第二图像块。第一图像块被第一个设备处理端1通过蓝牙模块发送至移动端2,在上述过程中,若是移动端2与第二个设备处理端1位于可连接的范围内,如10米内,则移动端2与第二个设备处理端1建立连接。第二图像块被第一个设备处理端1通过网线及TCP/IP协议发送至第二个设备处理端1,第二个设备处理端1在通过WIFI模块将第二图像块发送至移动端2。移动端2接收到第一图像块后,从该次传输的数据中获知还需要等待第二图像块,然后在接收到第二图像块后,将第一图像块与第二图像块按照另一预设的算法合并成图像信息。S6: The
S63中,还包括:S63 also includes:
S631:移动端2接收到第一图像块后,存储第一图像块;S631: After the mobile terminal 2 receives the first image block, store the first image block;
S632:移动端2接收到第二图像块后,使用第一图像块验证第二图像块,验证步骤为:将第一图像块与第二图像块对齐,然后将第一图像块向左偏移一个像素的位置后与第二图像块相减,得到多个像素差值,取所有像素差值的和值为第一和值;将第一图像块与第二图像块对齐,然后将第一图像块向下偏移一个像素的位置后与第二图像块相减,得到多个像素差值,取所有像素差值的和值为第二和值。正常情况下,第一图像块与第二图像块的差距不大,其第二和值也不会太大,若是太大则可能会发生传输过程错误,或者程序运行错误。S632: After receiving the second image block, the mobile terminal 2 uses the first image block to verify the second image block. The verification step is: align the first image block with the second image block, and then shift the first image block to the left The position of one pixel is subtracted from the second image block to obtain multiple pixel difference values, and the sum of all pixel difference values is taken as the first sum value; the first image block is aligned with the second image block, and then the first The image block is shifted downward by one pixel and then subtracted from the second image block to obtain multiple pixel difference values, and the sum of all pixel difference values is taken as the second sum value. Under normal circumstances, the difference between the first image block and the second image block is not large, and the second sum value is not too large. If it is too large, errors in the transmission process or program operation errors may occur.
S633:若第一和值与第二和值的差位于预设的第一区间值内,则将第一图像块与第二图像块合并成图像信息,存储图像信息。此时,移动端2判断接收到的第一图像块与第二图像块为正常情况。S633: If the difference between the first sum value and the second sum value is within the preset first interval value, combine the first image block and the second image block into image information, and store the image information. At this time, the mobile terminal 2 judges that the received first image block and the second image block are normal.
S634:若第一和值与第二和值的差位于预设的第二区间值内,则将第二图像块转换为成白背景,再将第一图像块与第二图像块合并成图像信息,存储图像信息。移动端2判断接收到的第一图像块为正常情况,第二图像块为异常情况,此时将第二图像块转换成白背景能够凸显第一图像块的内容,又能让查看的人知道第二图像块出现了异常。S634: If the difference between the first sum value and the second sum value is within the preset second interval value, convert the second image block into a white background, and then merge the first image block and the second image block into an image Information, store image information. The mobile terminal 2 judges that the received first image block is normal and the second image block is abnormal. At this time, converting the second image block into a white background can highlight the content of the first image block and let the viewer know An exception occurred in the second image block.
S635:若第一和值与第二和值的差位于预设的第三区间值内,则将第一图像块与第二图像块均转换为成白背景,再将第一图像块与第二图像块合并成图像信息,存储图像信息。移动端2判断接收到的第一图像块为异常情况,第二图像块也为异常情况,此时将第一图像块与第二图像块转换成白背景让查看的人知道第一图像块与第二图像块均出现了异常。通过第一图像块对第二图像块进行验证,验证后也能降低传输过程对图像信息带来的影响。S635: If the difference between the first sum value and the second sum value is within the preset third interval value, convert both the first image block and the second image block into a white background, and then convert the first image block and the second image block The two image blocks are combined into image information, and the image information is stored. The mobile terminal 2 judges that the first image block received is abnormal, and the second image block is also abnormal. At this time, the first image block and the second image block are converted into a white background to let the viewer know that the first image block and the second image block are abnormal. The second image block is abnormal. The second image block is verified through the first image block, and the influence of the transmission process on the image information can also be reduced after verification.
实施原理为:将多个设备处理端1设置好,并初始化,让更新标记与已读标记均复位成0。设备正常运行时,设备处理端1能自动记录台账信息,员工也可在现场通过操作设备处理端1记录台账信息,记录后更新标记置位成1,已读标记复位成0。进行台账管理的员工持有移动端2,在现场巡逻的过程中即可收集来自设备处理端1的台账信息,设备处理端1将数据发送至移动端2后,更新标记复位成0,已读标记置位成1。做好日常台账记录,台账记录包括设备实况的图像信息,降低人为的台账管理的错误率,提高了台账管理的效率。当第一通信协议的带宽或者网络环境不佳导致传输速率不快时,可以在传输数据的过程中与第二个设备处理端1建立连接,节省时间,实现无间隙连接。也可以通过相邻的设备处理端1辅助传输图像信息,节省时间,提高工作效率。The implementation principle is as follows: multiple
本申请实施例还公开一种移动式交互的台账管理系统,如图2所示,包括连接有摄像模块的设备处理端1与移动端2,移动端2定时与设备处理端1无线连接。The embodiment of the present application also discloses a mobile interactive ledger management system, as shown in FIG. 2 , which includes a
还包括:Also includes:
自动记录模块,位于设备处理端1内,用于定时自动记录或者获取键入的台账信息,设备处理端1内部预设更新标记与已读标记,更新标记与已读标记不同时置位,台账信息更新后,设备处理端1置位更新标记;The automatic recording module is located in the
查询模块,位于移动端2内,用于查询设备处理端1的当前置位;The query module, located in the mobile terminal 2, is used to query the current setting of the
第一判断执行模块,位于移动端2内,用于判断若查询到更新标记被置位,则请求设备处理端1上传最新的台账信息;The first judgment execution module is located in the mobile terminal 2, and is used for judging that if the query finds that the update flag is set, then request the
第二判断执行模块,位于移动端2内,用于判断若查询到已读标记被置位,则请求设备处理端1进行自动记录并通过摄像模块拍摄设备实况形成图像信息,并请求设备处理端1上传图像信息;以及,The second judgment execution module, located in the mobile terminal 2, is used to judge that if the read flag is set, it requests the
上传模块,位于设备处理端1内,用于将图像信息上传至移动端2,置位已读标记,复位更新标记。The upload module is located in the
设备处理端1设有多个,相邻设备处理端1之间相互数据连接;There are multiple
移动端2通过第一通信协议连接至第一个设备处理端1;以及,The mobile terminal 2 is connected to the first
第一个设备处理端1通过第一通信协议向移动端2发送数据的过程中,移动端2通过第二通信协议连接至第二个设备处理端1,第一个设备处理端1与第二个设备处理端1相邻。During the process that the first
第一个设备处理端1中包括:The first
图像拆分模块,用于判断若图像信息的数据量大于预设的信息数据量,则第一个设备处理端1将图像信息拆分为第一图像块与第二图像块;The image splitting module is used to judge that if the data amount of the image information is greater than the preset information data amount, the first
图像发送模块,用于将第一图像块通过第一通信协议发送至移动端2,同时,将第二图像块通过第二个设备处理端1经过第二通信协议发送至移动端2;以及,The image sending module is used to send the first image block to the mobile terminal 2 through the first communication protocol, and at the same time, send the second image block to the mobile terminal 2 through the second
移动端2中包括图像合并模块,用于接收第一图像块与第二图像块,将第一图像块与第二图像块合并成图像信息,存储图像信息。The mobile terminal 2 includes an image combining module for receiving the first image block and the second image block, combining the first image block and the second image block into image information, and storing the image information.
第一图像块与第一图像中对应像素点的数据为图像信息中相邻像素点的数据;The first image block and the data corresponding to the pixel in the first image are data of adjacent pixels in the image information;
图像合并模块中,还包括:In the image merging module, it also includes:
存储单元用于接收到第一图像块后,存储第一图像块;The storage unit is used to store the first image block after receiving the first image block;
处理单元,用于接收到第二图像块后,使用第一图像块验证第二图像块,验证步骤为:将第一图像块与第二图像块对齐,然后将第一图像块向左偏移一个像素的位置后与第二图像块相减,得到多个像素差值,取所有像素差值的和值为第一和值;将第一图像块与第二图像块对齐,然后将第一图像块向下偏移一个像素的位置后与第二图像块相减,得到多个像素差值,取所有像素差值的和值为第二和值;The processing unit is configured to use the first image block to verify the second image block after receiving the second image block, and the verification step is: align the first image block with the second image block, and then shift the first image block to the left The position of one pixel is subtracted from the second image block to obtain multiple pixel difference values, and the sum of all pixel difference values is taken as the first sum value; the first image block is aligned with the second image block, and then the first After the image block is shifted downward by one pixel, it is subtracted from the second image block to obtain a plurality of pixel difference values, and the sum of all pixel difference values is taken as the second sum value;
第一判定单元,用于判断若第一和值与第二和值的差位于预设的第一区间值内,则将第一图像块与第二图像块合并成图像信息,存储图像信息;The first judging unit is configured to judge that if the difference between the first sum and the second sum is within a preset first interval value, then merge the first image block and the second image block into image information, and store the image information;
第二判定单元,用于判断若第一和值与第二和值的差位于预设的第二区间值内,则将第二图像块转换为成白背景,再将第一图像块与第二图像块合并成图像信息,存储图像信息;以及,The second determination unit is used to determine that if the difference between the first sum value and the second sum value is within the preset second interval value, then convert the second image block into a white background, and then convert the first image block and the second image block into a white background. The two image blocks are merged into image information, and the image information is stored; and,
第三判定单元,用于判断若第一和值与第二和值的差位于预设的第三区间值内,则将第一图像块与第二图像块均转换为成白背景,再将第一图像块与第二图像块合并成图像信息,存储图像信息。正常情况下,第一图像块与第二图像块的差距不大,第一判定单元、第二判定单元与第三判定单元通过第一图像块对第二图像块进行验证,验证后能降低传输过程对图像信息带来的影响。The third judging unit is used for judging that if the difference between the first sum value and the second sum value is within the preset third interval value, both the first image block and the second image block are converted into a white background, and then The first image block and the second image block are combined to form image information, and the image information is stored. Under normal circumstances, the difference between the first image block and the second image block is not large, and the first judgment unit, the second judgment unit, and the third judgment unit verify the second image block through the first image block, and the transmission can be reduced after verification. The impact of the process on the image information.
实施原理为:设备处理端1正常运行时,自动记录模块能自动记录台账信息,员工也可在现场通过操作自动记录模块记录台账信息,进行台账管理的员工持有移动端2,在现场巡逻的过程中,查询模块会查询设备处理端1,第一判断执行模块与第二判断执行模块可对设备处理端1的情况进行分析与执行,上传模块让移动端2能收集来自设备处理端1的台账信息,做好日常台账记录,台账记录包括设备实况的图像信息,降低人为的台账管理的错误率,提高了台账管理的效率。当第一通信协议的带宽或者网络环境不佳导致传输速率不快时,可以在传输数据的过程中与第二个设备处理端1建立连接,节省时间,实现无间隙连接。图像拆分模块将图像信息进行拆分,图像发送模块通过相邻的设备处理端1辅助传输图像信息至移动端2,图像合并模块再还原图像信息,节省时间,提高工作效率。The implementation principle is as follows: when the
本申请实施例还公开一种移动式交互的台账管理装置,包括上述记载的移动式交互的台账管理系统。The embodiment of the present application also discloses a mobile interactive ledger management device, including the mobile interactive ledger management system described above.
本申请实施例还公开一种计算机可读存储介质,存储有能够被处理器加载并执行上述记载的移动式交互的台账管理方法的计算机程序。The embodiment of the present application also discloses a computer-readable storage medium storing a computer program capable of being loaded by a processor and executing the above-mentioned mobile interactive ledger management method.
以上均为本申请的较佳实施例,并非依此限制本申请的保护范围,故:凡依本申请的结构、形状、原理所做的等效变化,均应涵盖于本申请的保护范围之内。All of the above are preferred embodiments of the application, and are not intended to limit the protection scope of the application. Therefore, all equivalent changes made according to the structure, shape, and principle of the application should be covered by the protection scope of the application. Inside.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110422982.3A CN113207112B (en) | 2021-04-20 | 2021-04-20 | Mobile interactive ledger management method, system, device and storage medium thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110422982.3A CN113207112B (en) | 2021-04-20 | 2021-04-20 | Mobile interactive ledger management method, system, device and storage medium thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113207112A CN113207112A (en) | 2021-08-03 |
CN113207112B true CN113207112B (en) | 2022-11-15 |
Family
ID=77027331
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110422982.3A Active CN113207112B (en) | 2021-04-20 | 2021-04-20 | Mobile interactive ledger management method, system, device and storage medium thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113207112B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115002048B (en) * | 2022-05-31 | 2023-09-12 | 珠海格力电器股份有限公司 | Data transmission method and device, electronic equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107292991A (en) * | 2017-06-28 | 2017-10-24 | 国网山东省电力公司济南市历城区供电公司 | A kind of substation equipment examination and repair system based on Quick Response Code |
CN110111056A (en) * | 2019-05-09 | 2019-08-09 | 苏州浪潮智能科技有限公司 | It is a kind of to realize that SAP module of receiving obtains the method and system of SN account data automatically |
CN111133480A (en) * | 2019-02-14 | 2020-05-08 | 深圳市中联创新自控系统有限公司 | Moving ring equipment inspection method, moving ring platform and moving ring equipment inspection system |
CN111212263A (en) * | 2019-12-26 | 2020-05-29 | 视联动力信息技术股份有限公司 | A filtering method and device for monitoring resource data |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4729440B2 (en) * | 2006-06-07 | 2011-07-20 | 日立オートモティブシステムズ株式会社 | Communication system, communication terminal, and information processing apparatus |
US10915874B2 (en) * | 2015-11-10 | 2021-02-09 | Loyyal Corporation | System and process for tokenization of digital media |
WO2021072592A1 (en) * | 2019-10-14 | 2021-04-22 | 深圳市大疆创新科技有限公司 | Connected domain analysis method, data processing device, and computer readable storage medium |
-
2021
- 2021-04-20 CN CN202110422982.3A patent/CN113207112B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107292991A (en) * | 2017-06-28 | 2017-10-24 | 国网山东省电力公司济南市历城区供电公司 | A kind of substation equipment examination and repair system based on Quick Response Code |
CN111133480A (en) * | 2019-02-14 | 2020-05-08 | 深圳市中联创新自控系统有限公司 | Moving ring equipment inspection method, moving ring platform and moving ring equipment inspection system |
WO2020164059A1 (en) * | 2019-02-14 | 2020-08-20 | 深圳市中联创新自控系统有限公司 | Power and environment monitoring device inspection method, power and environment monitoring platform, and power and environment monitoring device inspection system |
CN110111056A (en) * | 2019-05-09 | 2019-08-09 | 苏州浪潮智能科技有限公司 | It is a kind of to realize that SAP module of receiving obtains the method and system of SN account data automatically |
CN111212263A (en) * | 2019-12-26 | 2020-05-29 | 视联动力信息技术股份有限公司 | A filtering method and device for monitoring resource data |
Non-Patent Citations (1)
Title |
---|
电力信息网络中IP地址状态管理及终端台账自动更新方法;屈德建等;《电子技术与软件工程》;20181204(第22期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN113207112A (en) | 2021-08-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN210605801U (en) | A construction information monitoring system for construction projects | |
CN104200620B (en) | The healthy remote supervision system of building and method | |
CN103763122A (en) | Fault information processing method and service system | |
CN102673611B (en) | A kind of goat indication rod breach video monitoring method and system | |
CN106547814A (en) | A kind of power transmission line unmanned machine patrols and examines the structuring automatic archiving method of image | |
CN101325784A (en) | A patrol mobile communication terminal, system and method | |
CN113207112B (en) | Mobile interactive ledger management method, system, device and storage medium thereof | |
CN216287021U (en) | Roadbed slope deformation early warning system | |
CN210348563U (en) | Wireless inspection system | |
CN110992512A (en) | Power transmission line inspection arrival rate online monitoring system and method based on electronic tag | |
CN205862590U (en) | A kind of break in traffic rules and regulations monitoring system | |
CN109255408A (en) | A kind of Construction Safety hidden troubles removing method for positioning and taking pictures based on electronic beacon | |
CN113834435B (en) | Foundation pit deformation detection method, device and system | |
CN103236168B (en) | Traffic data online collection system and method | |
CN103871185B (en) | The anti-external force processing method of transmission line of electricity, Apparatus and system | |
CN103763532A (en) | Remote monitoring system and method for outdoor environment information collecting and video image processing | |
CN112804499A (en) | Holographic construction safety monitoring system | |
CN205405176U (en) | Building site management system | |
CN112785745A (en) | Night patrol management method and system | |
CN219512689U (en) | Agricultural machinery equipment monitoring device | |
CN114202171A (en) | Digital safety control system for power grid operation field | |
CN103269379A (en) | Water source information acquisition system and water source information uploading method | |
CN209803990U (en) | Road network data acquisition system device | |
CN209895090U (en) | Intelligent glasses system for property patrol and other reports | |
CN114636969A (en) | Wireless radio frequency and vision integrated composite positioning method, system, equipment and medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |