Intelligent management method and device for industrial data, equipment and storage medium
By designing an intelligent operation interface on the PDA terminal, detecting and processing cached data, it realizes the direct viewing and managing historical data on the PDA terminal, solving the problem of low operation efficiency in the existing technology, and enhancing the functionality of data management.
Patent Information
- Application Number
- CN202411165868.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-23
- Publication Date
- 2024-12-13
- Estimated Expiration
- Not applicable · inactive patent
Smart Images

Figure CN119127945A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of industrial management, and in particular to an intelligent management method, device, equipment and storage medium for industrial data. Background Art
[0002] With economic growth and the construction of an information society, information technology and intelligent management technologies are becoming more and more popular in industrial applications. PDA terminals (portable data terminals) are one example. At present, PDA terminals are usually used to identify object tags, obtain corresponding data, and then upload the data to the server for data upload and management. However, the current PDA terminals have a single function, which only has the functions of identification and automatic upload. When users need to view historical data, they can only rescan or view the data through the BS terminal, which is very troublesome, with low operating efficiency and poor data management effect. Summary of the invention
[0003] The embodiments of the present application provide an intelligent management method, device, equipment and storage medium for industrial data to solve at least one problem existing in the related art. The technical solution is as follows:
[0004] In a first aspect, an embodiment of the present application provides a method for intelligent management of industrial data, including:
[0005] In response to a first operation instruction on the self-designed operation interface of the PDA terminal, entering the industrial data operation interface;
[0006] When entering the industrial data operation interface, detecting the data cache status of the front-end database of the PDA terminal;
[0007] Determine target industrial data according to the cache state; the target industrial data includes cache data in the front-end database or data obtained through the PDA terminal;
[0008] In response to a second operation instruction on the self-designed operation interface, the target industrial data is uploaded to a target device.
[0009] In one embodiment, when entering the industrial data operation interface, detecting the data cache status of the front-end database of the PDA terminal includes:
[0010] When entering the industrial data operation interface, detecting whether there is cached data in the front-end database indexDb of the PDA terminal;
[0011] When cached data exists, determining a data cache state indicating the existence of cached data;
[0012] When there is no cached data, a data cache state indicating that there is no cached data is determined.
[0013] In one implementation, determining the target industrial data according to the cache status includes:
[0014] When the cache state indicates that cache data exists, determining the cache data as target industrial data;
[0015] When the cache status indicates that there is no cache data, obtaining the target industrial data from the target device through the PDA terminal, or obtaining the target industrial data through the scanning function of the PDA terminal;
[0016] Wherein, the target industrial data is displayed on the industrial data operation interface.
[0017] In one implementation, acquiring target industrial data from a target device through the PDA terminal includes:
[0018] In response to a download instruction of the industrial data operation interface, a download request is sent to a target device, so that the target device performs Json serialization on the target industrial data, compresses the Json serialized target industrial data to obtain compressed data, and sends the compressed data to the PDA terminal;
[0019] The compressed data is decompressed by the Pako library of the PDA terminal to obtain the target industrial data in the form of a character string, and the target industrial data in the form of a character string is deserialized to obtain the target industrial data.
[0020] In one embodiment, the method further comprises:
[0021] In the case of acquiring target industrial data through the scanning function of the PDA terminal, caching the target industrial data through the front-end database, and storing the target industrial data in the SQLite database;
[0022] The SQLite database is used for offline storage and query of the target industrial data.
[0023] In one embodiment, the method further comprises:
[0024] In response to an editing instruction on the industrial data operation interface, the displayed target industrial data is edited to obtain updated target industrial data;
[0025] The updated target industrial data is updated in real time to the cache data of the front-end database.
[0026] In one embodiment, in response to the second operation instruction of the self-designed operation interface, uploading the target industrial data to the target device includes:
[0027] In response to a second operation instruction on the self-designed operation interface, determining an upload sub-interface corresponding to a data type of the target industrial data;
[0028] In response to an upload instruction on the upload sub-interface, uploading the target industrial data to a target device;
[0029] During the process of uploading the target industrial data, the upload status is detected in real time. When the upload status indicates an error, an error prompt message is fed back or breakpoint resume is performed.
[0030] In a second aspect, an embodiment of the present application provides an intelligent management device for industrial data, including:
[0031] A first response module, used to respond to a first operation instruction of the self-designed operation interface of the PDA terminal and enter the industrial data operation interface;
[0032] A detection module, used to detect the data cache status of the front-end database of the PDA terminal when entering the industrial data operation interface;
[0033] A determination module, configured to determine target industrial data according to the cache state; the target industrial data includes cache data in the front-end database or data acquired through the PDA terminal;
[0034] The second response module is used to upload the target industrial data to the target device in response to a second operation instruction of the self-designed operation interface.
[0035] In one embodiment, the determining module is further configured to:
[0036] In the case of acquiring target industrial data through the scanning function of the PDA terminal, caching the target industrial data through the front-end database, and storing the target industrial data in an SQLite database;
[0037] The SQLite database is used for offline storage and query of the target industrial data.
[0038] In one embodiment, the determining module is further configured to:
[0039] In response to an editing instruction on the industrial data operation interface, the displayed target industrial data is edited to obtain updated target industrial data;
[0040] The updated target industrial data is updated in real time to the cache data of the front-end database.
[0041] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a processor and a memory, wherein the memory stores instructions, and the instructions are loaded and executed by the processor to implement a method in any one of the above-mentioned embodiments.
[0042] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed, the method in any one of the above-mentioned embodiments is implemented.
[0043] The beneficial effects of the above technical solution include at least:
[0044] By responding to a first operation instruction on a self-designed operation interface of a PDA terminal, an industrial data operation interface is entered, and the operation functions of the PDA terminal are enriched through the self-designed operation interface; when entering the industrial data operation interface, the data cache status of the front-end database of the PDA terminal is detected, and the target industrial data is determined according to the cache status, and in response to a second operation instruction on the self-designed operation interface, the target industrial data is uploaded to the target device. The target industrial data includes cached data in the front-end database or data obtained through the PDA terminal. Data caching can be performed by setting the front-end database, which is convenient for users to directly view historical data on the PDA terminal. At the same time, multiple ways to obtain target industrial data are provided, and the functionality is strong.
[0045] The above summary is for illustrative purposes only and is not intended to be limiting in any way. In addition to the illustrative aspects, embodiments and features described above, further aspects, embodiments and features of the present application will be readily apparent by reference to the accompanying drawings and the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] In the accompanying drawings, unless otherwise specified, the same reference numerals throughout the multiple drawings represent the same or similar parts or elements. These drawings are not necessarily drawn to scale. It should be understood that these drawings only depict some embodiments disclosed in the present application and should not be regarded as limiting the scope of the present application.
[0047] Figure 1 This is a schematic diagram of the steps of the intelligent management method of industrial data according to an embodiment of the present application;
[0048] Figure 2 This is a structural block diagram of an intelligent management device for industrial data according to an embodiment of the present application;
[0049] Figure 3 This is a structural block diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0050] In the following, only some exemplary embodiments are briefly described. As those skilled in the art will appreciate, the described embodiments may be modified in various ways without departing from the spirit or scope of the present application. Therefore, the drawings and descriptions are considered to be exemplary and non-restrictive in nature.
[0051] Reference Figure 1 , a flow chart of an intelligent management method for industrial data according to an embodiment of the present application is shown, and the intelligent management method for industrial data may at least include steps S100-S400:
[0052] S100 , in response to a first operation instruction on a self-designed operation interface of a PDA terminal, entering an industrial data operation interface.
[0053] Optionally, in the PDA terminal, the self-designed operation interface is designed through the framework of Vue2.5, and the operation and function implementation code of the self-designed operation interface is written using H5 technology, i.e., the fifth generation version of HTML (Hypertext Markup Language), and the interface code of the interface connected to the back end and the server is implemented based on NETCore 6.0, which can build high-performance and scalable applications. Therefore, the PDA terminal of the embodiment of the present application can be more intelligent, rich in functions and applications.
[0054] S200. When entering the industrial data operation interface, detecting the data cache status of the front-end database of the PDA terminal.
[0055] S300. Determine target industrial data according to the cache status; the target industrial data includes cache data in the front-end database or data obtained through the PDA terminal.
[0056] S400: In response to a second operation instruction on the self-designed operation interface, upload the target industrial data to a target device.
[0057] The technical solution of the embodiment of the present application enters the industrial data operation interface by responding to a first operation instruction of the self-designed operation interface of the PDA terminal, and enriches the operation functions of the PDA terminal through the self-designed operation interface; when entering the industrial data operation interface, the data cache status of the front-end database of the PDA terminal is detected, and the target industrial data is determined according to the cache status, and in response to a second operation instruction of the self-designed operation interface, the target industrial data is uploaded to the target device, and the target industrial data includes the cached data in the front-end database or the data obtained through the PDA terminal. By setting the front-end database, data caching can be performed, which is convenient for users to directly view historical data on the PDA terminal, and at the same time, multiple ways to obtain target industrial data are provided, and the functionality is strong.
[0058] In one embodiment, a user can operate on a self-designed operation interface of a PDA terminal to generate a first operation instruction. The PDA terminal responds to the first operation instruction and enters an industrial data operation interface, where data acquisition (such as identification or downloading), data viewing, data uploading, and other related operations can be performed.
[0059] In one implementation, step S200 includes steps S210-S220:
[0060] S210. When entering the industrial data operation interface, detecting whether there is cached data in the front-end database indexDb of the PDA terminal.
[0061] Optionally, the PDA terminal of the embodiment of the present application introduces a cache mechanism of the front-end database indexDb. If the user has previously acquired data, it will be cached in indexDb. When entering the industrial data operation interface, it is automatically detected whether there is cached data in the front-end database indexDb of the PDA terminal.
[0062] S220: When cached data exists, determine a data cache state indicating that cached data exists; when cached data does not exist, determine a data cache state indicating that cached data does not exist.
[0063] Optionally, when cached data exists, a data cache state characterizing the existence of cached data is determined; and when cached data does not exist, a data cache state characterizing the absence of cached data is determined, indicating that the user has not previously acquired relevant industrial data.
[0064] In one implementation, step S300 includes steps S310-S320:
[0065] S310: When the cache state indicates that cache data exists, determine the cache data as target industrial data.
[0066] Optionally, when the cache status indicates the existence of cached data, the cached data is determined as target industrial data, and the target industrial data is displayed on the industrial data operation interface. Therefore, when the user enters the industrial data operation interface, the cached data is automatically displayed, which effectively reduces the user's operation time and facilitates improving the user's viewing and operation efficiency.
[0067] S320: When the cache status indicates that there is no cache data, the target industrial data is obtained from the target device through the PDA terminal, or the target industrial data is obtained through the scanning function of the PDA terminal.
[0068] Optionally, when the cache state indicates that there is no cached data, the industrial data operation interface does not display the cached data. At this time, the user can perform a download operation to obtain the target industrial data from the target device, so that the industrial data operation interface displays the obtained target industrial data, or scan the label through the scanning function of the PDA terminal to obtain the target industrial data and display it on the industrial data operation interface. Optionally, in the embodiment of the present application, the target industrial data is taken as a document involved in industrial production as an example, and other embodiments may be other types of data without specific limitation. For example, by scanning the label of the corresponding object, the document of the object can be obtained, and the relevant information of the object can be understood, which is convenient for inventory, outbound and inbound processes; the target device includes but is not limited to a server.
[0069] For example, taking industrial data as a document, when entering the industrial data operation interface, if there is cached document data, the data is obtained from indexDB as the target industrial data, and the target industrial data is used to fill the industrial data operation interface. If the user performs an editing operation in the industrial data operation interface, an editing instruction is generated, and the industrial data operation interface jumps to the document operation interface, and the cached target industrial data is displayed on the corresponding field in the form of the document operation interface, so as to display and allow the user to edit the displayed target industrial data and update the target industrial data. It should be noted that during the user editing, the user's operations and edited data will be updated in real time to the cached data in indexDB to ensure the real-time and consistency of the data, and the cache will be updated when leaving the industrial data operation interface so that the latest cached data can be used the next time the user enters the page again.
[0070] By using indexDB to cache data, the embodiment of the present application can quickly load the previously cached data when the user leaves the page and re-enters the page, avoiding the trouble of re-entering, selecting, downloading or querying by the user, thereby improving the user's operating efficiency and experience. At the same time, indexDB provides a large storage capacity and can store a large amount of document data, which is suitable for scenarios that require offline operation or frequent page switching.
[0071] Optionally, in addition to downloading, identifying, editing, etc., in the industrial data operation interface, uploading (submitting operation) can also be performed to upload the target industrial data to the target device.
[0072] In one implementation, the step S300 of acquiring target industrial data from the target device through the PDA terminal includes steps S3201-S3202:
[0073] S3201. In response to the download instruction of the industrial data operation interface, a download request is sent to the target device, so that the target device can perform Json serialization on the target industrial data, compress the Json serialized target industrial data to obtain compressed data, and send the compressed data to the PDA terminal.
[0074] Optionally, the user can perform a download operation in the industrial data operation interface to select the target industrial data to be downloaded and generate a corresponding download instruction. The PDA terminal responds to the download instruction and sends a download request to the target device. After receiving the download request, the target device performs Json serialization on the target industrial data and converts it into a string form. The Json serialized target industrial data is compressed using the GZip compression algorithm to obtain compressed data. Finally, the compressed data is sent to the PDA terminal, effectively reducing the size of the data, improving the transmission rate and reducing bandwidth consumption.
[0075] S3202. Decompress the compressed data through the Pako library of the PDA terminal to obtain target industrial data in the form of a string, and deserialize the target industrial data in the form of a string to obtain the target industrial data.
[0076] Optionally, after receiving the compressed data, the PDA terminal uses its Pako library (JavaScript compression library that supports multiple compression algorithms, including GZip's decompression function) to decompress the compressed data to obtain the target industrial data in string form, thereby ensuring the integrity of the data and controlling the data size within a minimum range, making it more suitable for use on PDA terminals with limited resources; finally, the target industrial data in string form is deserialized to obtain the target industrial data.
[0077] In one implementation, the method of the embodiment of the present application further includes step S301:
[0078] S301. When target industrial data is acquired through the scanning function of the PDA terminal, the target industrial data is cached through the front-end database, and the target industrial data is stored in a SQLite database.
[0079] Optionally, the PDA terminal of the embodiment of the present application is also provided with a lightweight relational database SQLite, which is used to store and query the target industrial data offline for users to perform offline business operations. Specifically, when the target industrial data is acquired through the scanning function of the PDA terminal, in addition to caching the target industrial data through the front-end database, the target industrial data can also be stored in the SQLite database, which provides efficient data storage and query functions and can meet the needs of offline business operations.
[0080] In one implementation, the method of the embodiment of the present application further includes steps S302-S303:
[0081] S302 . In response to an editing instruction on the industrial data operation interface, the displayed target industrial data is edited to obtain updated target industrial data.
[0082] Optionally, the user can operate on the industrial data operation interface to determine the editing instructions (including the first instruction and the second instruction). The PDA terminal enters the document operation interface in response to the first instruction. The user can generate the second instruction through the editing operation. The PDA terminal edits the displayed target industrial data in response to the second instruction to obtain updated target industrial data.
[0083] S303: updating the updated target industrial data to the cache data of the front-end database in real time.
[0084] Optionally, the updated target industrial data is updated in real time to the cache data of the front-end database indexDB, and can be stored in the lightweight database SQLite for offline query and utilization.
[0085] In one implementation, step S400 includes steps S410-S430:
[0086] S410. In response to a second operation instruction on the self-designed operation interface, determine an upload sub-interface corresponding to a data type of the target industrial data.
[0087] Optionally, taking the target industrial data as document data as an example, based on different document types, the corresponding data types may include receipts, picking orders, delivery orders, inventory adjustment orders, inventory movement orders, and other data types. The self-designed operation interface may provide an upload sub-interface corresponding to each data type for users to select as needed for easy management. For example, the current target industrial data is a delivery order. At this time, the user can select an operation in the self-designed operation interface to generate a second operation instruction. The PDA terminal responds to the second operation instruction of the self-designed operation interface and determines to jump to the upload sub-interface corresponding to the data type of the delivery order.
[0088] S420: In response to an upload instruction on the upload sub-interface, upload the target industrial data to a target device.
[0089] Optionally, the user generates an upload instruction through an upload operation in the corresponding upload sub-interface, and the PDA terminal responds to the upload instruction to upload the target industrial data to the target device.
[0090] S430. During the process of uploading the target industrial data, the upload status is detected in real time. When the upload status indicates an error, an error prompt message is fed back or breakpoint resuming is performed.
[0091] In the embodiment of the present application, during the process of uploading the target industrial data, the upload status will be continuously detected in real time. When the upload status indicates an error, an error prompt message will be fed back or the upload will be resumed.
[0092] Optionally, in an embodiment of the present application, each data type is divided into segments. When uploading target industrial data of different data types, if an error occurs, such as an interruption or failure, breakpoint resumption can be achieved. The interrupted segment needs to be re-uploaded without re-uploading all the data, which can save time and bandwidth and improve the stability and efficiency of the upload process.
[0093] Optionally, in order to help users quickly find problems and re-operate in the embodiment of the present application, an error feedback mechanism for real-time detection of upload conditions is added. When the upload condition indicates an error, the PDA terminal will give specific error prompts and feedback information to help users find the root cause of the problem and take corresponding measures. For example, based on documents of different data types, judgments will be made according to the business logic of different data types, such as whether the warehouse inventory of the delivery order is sufficient, whether the code disk of the receipt conflicts with the code disk in the warehouse, whether the receiving warehouse and the warehouse location are valid, etc.; then all information of the erroneous target industrial data is recorded in the upload log interface of the BS end (the BS end (Browser / Server) refers to a network architecture mode of accessing server resources through a browser. It should be noted that in this mode, the client only needs to install a browser, and the user accesses the Web server through the browser, and then accesses the database and the target device), so that the user can judge and process the error prompts and feedback information fields of the BS end, helping the user to quickly find the problem and re-operate, and improve the accuracy of the operation.
[0094] Reference Figure 2 , shows a structural block diagram of an intelligent management device for industrial data according to an embodiment of the present application, the device may include:
[0095] A first response module, used to respond to a first operation instruction of the self-designed operation interface of the PDA terminal and enter the industrial data operation interface;
[0096] A detection module, used to detect the data cache status of the front-end database of the PDA terminal when entering the industrial data operation interface;
[0097] A determination module, configured to determine target industrial data according to the cache state; the target industrial data includes cache data in the front-end database or data acquired through the PDA terminal;
[0098] The second response module is used to upload the target industrial data to the target device in response to a second operation instruction of the self-designed operation interface.
[0099] In one embodiment, the determining module is further configured to:
[0100] In the case of acquiring target industrial data through the scanning function of the PDA terminal, caching the target industrial data through the front-end database, and storing the target industrial data in an SQLite database;
[0101] The SQLite database is used for offline storage and query of the target industrial data.
[0102] In one embodiment, the determining module is further configured to:
[0103] In response to an editing instruction on the industrial data operation interface, the displayed target industrial data is edited to obtain updated target industrial data;
[0104] The updated target industrial data is updated in real time to the cache data of the front-end database.
[0105] The functions of each module in each device in the embodiments of the present application can be found in the corresponding description in the above method, and will not be repeated here.
[0106] Reference Figure 3 , shows a structural block diagram of an electronic device according to an embodiment of the present application, the electronic device includes: a memory 310 and a processor 320, the memory 310 stores instructions that can be run on the processor 320, and the processor 320 loads and executes the instructions to implement the intelligent management method of industrial data in the above embodiment. The number of the memory 310 and the processor 320 can be one or more.
[0107] In one embodiment, the electronic device also includes a communication interface 330 for communicating with external devices and performing data exchange transmission. If the memory 310, the processor 320 and the communication interface 330 are implemented independently, the memory 310, the processor 320 and the communication interface 330 can be interconnected through a bus and complete mutual communication. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 3 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0108] Optionally, in a specific implementation, if the memory 310, the processor 320 and the communication interface 330 are integrated on a chip, the memory 310, the processor 320 and the communication interface 330 can communicate with each other through an internal interface.
[0109] An embodiment of the present application provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the intelligent management method for industrial data provided in the above embodiment.
[0110] An embodiment of the present application also provides a chip, which includes a processor for calling and executing instructions stored in the memory from the memory, so that a communication device equipped with the chip executes the method provided by the embodiment of the present application.
[0111] An embodiment of the present application also provides a chip, including: an input interface, an output interface, a processor and a memory, wherein the input interface, the output interface, the processor and the memory are connected via an internal connection path, and the processor is used to execute the code in the memory. When the code is executed, the processor is used to execute the method provided in the embodiment of the application.
[0112] It should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc. It is worth noting that the processor may be a processor supporting the advanced RISC machines (ARM) architecture.
[0113] Further, optionally, the above-mentioned memory may include a read-only memory and a random access memory, and may also include a non-volatile random access memory. The memory may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may include a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may include a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available. For example, static RAM (SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct rambus RAM (DR RAM).
[0114] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function according to the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium.
[0115] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example" or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. Moreover, the described specific features, structures, materials or characteristics may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine different embodiments or examples described in this specification and the features of different embodiments or examples, unless they are contradictory.
[0116] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0117] Any process or method description in the flow chart or otherwise described herein can be understood to represent a module, fragment or portion of a code including one or more executable instructions for implementing the steps of a specific logical function or process. And the scope of the preferred embodiment of the present application includes other implementations, in which the functions may not be performed in the order shown or discussed, including in a substantially simultaneous manner or in a reverse order according to the functions involved.
[0118] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, which can be embodied in any computer-readable medium for use by an instruction execution system, apparatus or device (such as a computer-based system, a system including a processor or other system that can fetch instructions from an instruction execution system, apparatus or device and execute instructions), or used in combination with these instruction execution systems, apparatuses or devices.
[0119] It should be understood that the various parts of the present application can be implemented with hardware, software, firmware or a combination thereof. In the above embodiments, multiple steps or methods can be implemented with software or firmware stored in a memory and executed by a suitable instruction execution system. All or part of the steps of the above embodiment method can be completed by instructing the relevant hardware through a program, which can be stored in a computer-readable storage medium, and when the program is executed, it includes one of the steps of the method embodiment or a combination thereof.
[0120] In addition, each functional unit in each embodiment of the present application can be integrated into a processing module, or each unit can exist physically separately, or two or more units can be integrated into one module. The above-mentioned integrated module can be implemented in the form of hardware or in the form of a software functional module. If the above-mentioned integrated module is implemented in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. The storage medium can be a read-only memory, a disk or an optical disk, etc.
[0121] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. An intelligent management method for industrial data, characterized in that: include: In response to a first operation instruction on the self-designed operation interface of the PDA terminal, entering the industrial data operation interface; When entering the industrial data operation interface, detecting the data cache status of the front-end database of the PDA terminal; Determining target industrial data according to the cache status; The target industrial data includes cached data in the front-end database or data acquired through the PDA terminal; In response to a second operation instruction on the self-designed operation interface, the target industrial data is uploaded to a target device.
2. The intelligent management method for industrial data according to claim 1, characterized in that: When entering the industrial data operation interface, detecting the data cache status of the front-end database of the PDA terminal includes: When entering the industrial data operation interface, detecting whether there is cached data in the front-end database indexDb of the PDA terminal; When cached data exists, determining a data cache state indicating the existence of cached data; When there is no cached data, a data cache state indicating that there is no cached data is determined.
3. The intelligent management method for industrial data according to claim 1 or 2, characterized in that: The determining the target industrial data according to the cache state includes: When the cache state indicates that cache data exists, determining the cache data as target industrial data; When the cache status indicates that there is no cache data, obtaining the target industrial data from the target device through the PDA terminal, or obtaining the target industrial data through the scanning function of the PDA terminal; Wherein, the target industrial data is displayed on the industrial data operation interface.
4. The intelligent management method for industrial data according to claim 3 is characterized by: The acquiring target industrial data from the target device through the PDA terminal comprises: In response to a download instruction of the industrial data operation interface, a download request is sent to a target device, so that the target device performs Json serialization on the target industrial data, compresses the Json serialized target industrial data to obtain compressed data, and sends the compressed data to the PDA terminal; The compressed data is decompressed by the Pako library of the PDA terminal to obtain the target industrial data in the form of a character string, and the target industrial data in the form of a character string is deserialized to obtain the target industrial data.
5. The intelligent management method for industrial data according to claim 3 is characterized by: The method further comprises: In the case of acquiring target industrial data through the scanning function of the PDA terminal, caching the target industrial data through the front-end database, and storing the target industrial data in the SQLite database; The SQLite database is used for offline storage and query of the target industrial data.
6. The intelligent management method for industrial data according to claim 3, characterized in that: The method further comprises: In response to an editing instruction on the industrial data operation interface, the displayed target industrial data is edited to obtain updated target industrial data; The updated target industrial data is updated in real time to the cache data of the front-end database.
7. The intelligent management method for industrial data according to claim 1, characterized in that: In response to the second operation instruction of the self-designed operation interface, uploading the target industrial data to the target device includes: In response to a second operation instruction on the self-designed operation interface, determining an upload sub-interface corresponding to a data type of the target industrial data; In response to an upload instruction on the upload sub-interface, uploading the target industrial data to a target device; During the process of uploading the target industrial data, the upload status is detected in real time. When the upload status indicates an error, an error prompt message is fed back or breakpoint resume is performed.
8. An intelligent management device for industrial data, characterized in that: include: A first response module, used to respond to a first operation instruction of the self-designed operation interface of the PDA terminal and enter the industrial data operation interface; A detection module, used to detect the data cache status of the front-end database of the PDA terminal when entering the industrial data operation interface; A determination module, used for determining target industrial data according to the cache state; The target industrial data includes cached data in the front-end database or data acquired through the PDA terminal; The second response module is used to upload the target industrial data to the target device in response to a second operation instruction of the self-designed operation interface.
9. An electronic device, characterized in that: include: A processor and a memory, wherein the memory stores instructions, and the instructions are loaded and executed by the processor to implement the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed, the method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Load balancing method and device, computer device and computer readable storage medium
CN112019627A
Automatic quantity calculation method based on cloud service and mobile platform
CN116757757A
Data caching method and device, electronic equipment and storage medium
CN117891840A
Printing apparatus
JP2009039952A
