CN117573631A - Underground coal mine mobile terminal data processing method and system - Google Patents

Underground coal mine mobile terminal data processing method and system Download PDF

Info

Publication number
CN117573631A
CN117573631A CN202311323965.XA CN202311323965A CN117573631A CN 117573631 A CN117573631 A CN 117573631A CN 202311323965 A CN202311323965 A CN 202311323965A CN 117573631 A CN117573631 A CN 117573631A
Authority
CN
China
Prior art keywords
data
format
business logic
mobile terminal
writing
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.)
Pending
Application number
CN202311323965.XA
Other languages
Chinese (zh)
Inventor
梁旭
王忠强
秦昳
高峰
李奕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shaanxi Xiaobaodang Mining Co ltd
Xian University of Science and Technology
Original Assignee
Shaanxi Xiaobaodang Mining Co ltd
Xian University of Science and Technology
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shaanxi Xiaobaodang Mining Co ltd, Xian University of Science and Technology filed Critical Shaanxi Xiaobaodang Mining Co ltd
Priority to CN202311323965.XA priority Critical patent/CN117573631A/en
Publication of CN117573631A publication Critical patent/CN117573631A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/174Redundancy elimination performed by the file system
    • G06F16/1744Redundancy elimination performed by the file system using compression, e.g. sparse files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/14Details of searching files based on file metadata
    • G06F16/148File search processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/178Techniques for file synchronisation in file systems
    • G06F16/1794Details of file format conversion
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/149Adaptation of the text data for streaming purposes, e.g. Efficient XML Interchange [EXI] format
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Library & Information Science (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The disclosure relates to a method and a system for processing data of a coal mine underground mobile terminal, comprising the following steps: writing service logic in mine operation; packaging the written business logic according to a preset format by using a preset open source tool, wherein the preset format is a data format which can be identified by an uniapp platform; analyzing the packed business logic; and storing the analyzed business logic in the SQLite database. According to the embodiment, the business logic is written and packaged according to the data format which can be identified by the uniapp platform, so that the form of packaging and compressing the carrying resources and the dependent files is realized; when the data in the mine operation is processed, only simple business logic is needed to be processed, other complex business data do not need to be written, and the data are stored after being directly packed, so that the processing pressure of a terminal is greatly reduced, and the complexity is reduced; the SQLite database is used as a storage medium, so that the memory occupied by data is small, and the purpose of light weight is achieved.

Description

Underground coal mine mobile terminal data processing method and system
Technical Field
The embodiment of the disclosure relates to the technical field of mining data processing, in particular to a method and a system for processing data of a coal mine underground mobile terminal.
Background
Along with the development of coal mine informatization and intellectualization, a large amount of intelligent system and equipment transformation and upgrading are brought, so that a large amount of generated data is summarized to a central machine room through a network, other systems such as telephones, industrial videos, positioning, emergency broadcasting, extraction and the like are transmitted through an industrial ring network except a monitoring system, the data volume is increased, and the current requirement cannot be met by the bandwidth of the existing industrial ring network.
In the prior art, data collected by a terminal are transmitted to a server for processing through an industrial ring network, so that the problem of increasing the data transmission pressure of the industrial ring network is caused. In order to avoid the above problems, it is necessary to provide a scheme for completing data processing through a terminal device without transmitting data.
Accordingly, there is a need to improve one or more problems in the related art as described above.
It is noted that this section is intended to provide a background or context for the technical solutions of the present disclosure as set forth in the claims. The description herein is not admitted to be prior art by inclusion in this section.
Disclosure of Invention
An object of an embodiment of the present disclosure is to provide a method and a system for processing data of a mobile terminal in a coal mine, which overcome at least some of one or more of the problems caused by the limitations and disadvantages of the related art.
The embodiment of the disclosure firstly provides a coal mine underground mobile terminal data processing method, which comprises the following steps:
writing service logic in mine operation;
packaging the written business logic according to a preset format by using a preset open source tool, wherein the preset format is a data format which can be identified by an uniapp platform;
analyzing the packaged business logic in the preset format;
and storing the analyzed service logic in an SQLite database.
In one embodiment of the disclosure, the step of writing business logic in mine operation includes:
and writing the business logic in the mine operation in an operating system of the open source code.
In one embodiment of the disclosure, the operating system of the open source code includes: microsoft Windows, macOS, linux, google chrome OS, iOS, android, wash's HongMong System, kaios, ipad OS and fuchsia OS.
In an embodiment of the disclosure, the preset open source tool includes: gradle.
In an embodiment of the disclosure, the preset format includes aar format.
In an embodiment of the disclosure, the step of packaging the written business logic with a preset open source tool according to a preset format, where the preset format is a data format identifiable by the uniapp platform further includes:
and writing a package.xml integrated file, and placing the package.xml integrated file under the same directory as the aar format package file.
In an embodiment of the disclosure, the step of parsing the packaged service logic in the preset format includes:
and establishing a mapping table about the packed data, wherein the mapping table is used for analyzing the data in the aar format so that the analyzed data can be called by the uniapp platform.
The embodiment of the disclosure also provides a coal mine underground mobile terminal data processing system, which comprises:
the writing module is used for writing service logic in mine operation;
the packaging module is used for packaging the written business logic according to a preset format by using a preset open source tool, wherein the preset format is a data format which can be identified by an uniapp platform;
the analysis module is used for analyzing the packaged business logic in the preset format;
and the storage module is used for storing the parsed business logic in an SQLite database.
In an embodiment of the disclosure, the writing module includes:
and the business logic writing unit is used for writing the business logic in the mine operation in an operating system of the open source code.
In an embodiment of the disclosure, the preset open source tool includes: gradle; the preset format includes aar format.
In an embodiment of the disclosure, the processing system further comprises:
and the integrated file writing module is used for writing package.xml integrated files and placing the package.xml integrated files under the same catalogue as the aar format package files.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects:
according to the method and the system for processing the data of the underground mobile terminal of the coal mine, through writing service logic in mine operation and packaging the service logic according to a data format identifiable by an uniapp platform, the mode of carrying resources and packaging and compressing depending files together is adopted when codes are packaged; when the data in the mine operation is processed, only simple business logic is needed to be processed, other complex business data do not need to be written, and the data are stored after being directly packed, so that the processing pressure of a terminal is greatly reduced, and the complexity is reduced; the SQLite database is used as a storage medium, so that the memory occupied by data is small, and the purpose of light weight is achieved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure. It will be apparent to those of ordinary skill in the art that the drawings in the following description are merely examples of the disclosure and that other drawings may be derived from them without undue effort.
FIG. 1 illustrates a flow diagram of a method of processing data for an under-mine mobile terminal in an exemplary embodiment of the present disclosure;
FIG. 2 illustrates a flow diagram for writing business logic in a mine operation in an exemplary embodiment of the present disclosure;
FIG. 3 shows a flow diagram of a method of processing data of an under-mine mobile terminal in yet another exemplary embodiment of the present disclosure;
FIG. 4 illustrates a block diagram of a mobile terminal data processing system under a coal mine in an exemplary embodiment of the present disclosure;
FIG. 5 shows a block diagram of a write module in an exemplary embodiment of the present disclosure;
FIG. 6 illustrates a block diagram of a mobile terminal data processing system under a coal mine in yet another exemplary embodiment of the present disclosure;
fig. 7 illustrates a schematic structure of an electronic device in an exemplary embodiment of the present disclosure;
fig. 8 illustrates a schematic structure of a program product for implementing a coal mine downhole mobile terminal data processing method in an exemplary embodiment of the present disclosure.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. However, the exemplary embodiments may be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
Furthermore, the drawings are merely schematic illustrations of embodiments of the disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus a repetitive description thereof will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities.
In this example embodiment, a method for processing data of a mobile terminal in a coal mine is provided first, where the method in this embodiment may be implemented based on an uniapp platform, where uniapp is a framework for developing all front-end applications using vue.js, and a developer writes a set of codes and may issue the codes to platforms such as IOS, android, web and various applets, quick applications, and so on.
Because of the traditional nature of the coal mine industry, the content of the Internet of each system serving the coal mine industry is low, and development of business by developers in the coal mine industry can be facilitated by means of uniapp. The uniapp is a technical logic which can help a front-end developer to quickly generate a mobile terminal application and simultaneously avoid the developer from perceiving too many mobile terminals.
In the coal mine work, due to the safety problem of the mine side, an explosion-proof safety mobile phone based on an Android system is generally arranged for mobile terminal equipment. Android is an operating system based on free and open source codes of Linux kernels, and is mainly applicable to mobile equipment such as smart phones and tablet computers.
Referring to fig. 1, a method for processing data of a coal mine underground mobile terminal according to this example embodiment may include: step S101 to step S104. The method comprises the following specific steps:
and step S101, writing service logic in mine operation, and directly entering a subsequent packaging step without writing data which do not relate to the service logic. In mine operation, a great deal of flow data is generated underground every day, and particularly, underground data is important, and the data comprises business logic data related to business and a great deal of other data unrelated to business. The business logic is an important component in mine data processing, and mainly comprises functions related to business rule assignment, business process realization and business requirement. When the method and the device are used for processing the data, only the business logic is required to be written with codes to form business logic codes. And the non-business logic data does not need to be coded, and the data analysis is not needed at the receiving end, so that the code flow in the data transmission process is greatly reduced, the processing pressure of the mobile end is greatly reduced, and the complexity of data transmission is reduced.
Step S102, packaging the written business logic according to a preset format by using a preset open source tool, wherein the preset format is a data format which can be identified by an uniapp platform. Wherein, preset open source tool includes: gradle. gradle is an open source tool for project automation construction based on Apache Ant and Apache Maven concepts. It uses a Groovy-based Domain Specific Language (DSL) to declare project settings, adding kotlen-based DSL to the Kotlen language, and discarding various cumbersome XML-based configurations. The gradle file is a construction script, the gradle is used as an open source tool to package the written business logic, the Android mainly executes the script to package the business logic, and the script refers to an executable file written according to a certain format and is used for replacing a manual operation computer. The gradle is more suitable for an Android system, the code quantity is small, and the configuration is clear.
And step S103, analyzing the packaged business logic edited into the preset format. Wherein the preset format includes aar format. aar (AndroidArchive) is a binary archive file of Android library items, and is particularly suitable for an Android system. Specifically, a mapping table is established for the packed data, and the mapping table is used for parsing the data in the format of aar, so that the parsed data can be called by the uniapp platform. Because the Android language is used for the development of the native mobile terminal, the Android mobile terminal cannot integrate with the uniapp to complete the business target, but after the Android is used for completing business logic writing, the Android mobile terminal uses gradle to package, and the packaged file can be used for uniapp integration.
And step S104, storing the parsed business logic in an SQLite database. SQLite is a lightweight database, an ACID-compliant relational database management system, contained in a relatively small C-library. It is a public domain project established by d.richardsipp. Its design goal is embedded and it has been used in many embedded products, which occupy very low resources, and in embedded devices it may be sufficient to only require a few hundred K of memory. The system can support mainstream operating systems such as Windows/Linux/Unix and the like, can be combined with a plurality of programming languages such as Tcl, C#, PHP, java and the like, and also has an ODBC interface, and has a higher SQLite processing speed compared with a Mysql, postgreSQL open-source database management system. The SQLite database is used as a storage medium, and the data compression algorithm of the SQLite is utilized, so that the data occupies small memory, and the requirement of light weight is met.
It can be understood that in the embodiment, the SQLite is utilized to store the data applicable to the uniapp platform, so that mine operation data can be processed in the uniapp platform and Android, the data size is small, the gateway pressure in the data transmission process is reduced, and the requirement on hardware is reduced.
In the embodiment, by writing the business logic in the mine operation and packing the business logic according to the data format identifiable by the uniapp platform, the method adopts a form of packing and compressing carrying resources and dependent files together when packing codes; when the data in the mine operation is processed, only simple business logic is needed to be processed, other complex business data do not need to be written, and the data are stored after being directly packed, so that the processing pressure of a terminal is greatly reduced, and the complexity is reduced; the SQLite database is used as a storage medium, so that the memory occupied by data is small, and the purpose of light weight is achieved.
Optionally, in some embodiments, referring to fig. 2, the step S101 may specifically include step S201:
step S201, writing business logic in the mine operation in an operating system of the open source code. The operating system of the open source code includes: microsoft Windows, macOS, linux, google chrome OS, iOS, android, wash's HongMong System, kaios, ipad OS and fuchsia OS. The method can be applied to various operating systems, is not limited to Android, and is mainly used for explaining the data processing process of the mining platform by taking Android as an example.
In this embodiment, the above various operating systems may be used to process mine data, so that the purpose of light weight can be achieved.
On the basis of the above embodiment, referring to fig. 3, step S102 may further include step S301:
and step S301, writing a package.xml integrated file, and placing the package file under the same directory as the aar format package file.
Specifically, step S301 includes:
introducing dependence;
opening a resource file (assets, images, fonts, etc.);
creating a management file;
creating an AAR package file;
placing the AAR package file under the same directory as the Manifest file;
placing the management file under the same directory as the AAR package file;
creating a management.mf file for setting an initial value of the resource;
placing the AAR package file under the same directory as the manifest. Mf file;
creating an assembly folder for storing the resource file;
adding corresponding code content in the management. Mf file;
placing the AAR package file under the same directory as the manifest. Mf file;
placing the management.mf file under the same directory as the AAR package file;
creating a management.txt file for setting an initial value of a resource;
placing the AAR package file under the same directory as the manifest.
Creating an assembly folder for storing the resource file;
adding corresponding code content in the manifest.
Placing the AAR package file under the same directory as the manifest.
Placing the maniest. Txt file under the same directory as the AAR package file;
creating a management.xml file for setting an initial value of the resource;
placing the AAR package file under the same directory as the manifest.
Creating an assembly folder for storing the resource file;
the corresponding code content is added in the manifest.
Placing the AAR package file under the same directory as the manifest.
Placing the maniest.xml file under the same directory as the AAR package file;
creating a management file for converting the AAR package file into an AAR package file;
placing the AAR package file under the same directory as the manifest.
The application is built and packaged using the compilation tools of the AAR packages (e.g., maven, gradle, etc.).
The package. Xml integrated file written in the step S301 is equivalent to writing a corresponding table about the aar file, and is placed under the same directory as the aar format package file, and when the corresponding aar format package file needs to be queried or extracted, the package. Xml integrated file is used for querying, so that the query time is reduced.
In this embodiment, the above method is specifically described below by way of one specific example.
(1) Building apps
First, the front-end developer completes basic front-end page development based on the uniapp, and completes all presentation layer services that do not involve logic processing, where the presentation layer services may include, for example: the method comprises the steps of specifying business rules, realizing business processes, pushing business information, distributing work of management personnel and technicians and the like. After the presentation layer service is completed, a mobile terminal app primitive can be constructed, and then a back-end service intervention is needed. Each worker can search the content related to the work of the worker through the login app, so that the work content can be conveniently checked and processed, and the work delay is avoided. For example, when an alarm event occurs, the app can be utilized to accept alarm information, and timely process the alarm event to ensure mine safety.
(2) Writing plug-in
The Android language is used for developing a native mobile terminal, and cannot be integrated with an uniapp to complete a business target, but after Android is used for completing business logic writing, the business target is packaged by using gradle, the packaged target format is aar format acceptable by the uniapp, other acceptable formats of the uniapp platform can be used, and the business target can be achieved in the prior art and is not repeated herein.
And after packaging, the package is delivered to a front-end developer, and a package.xml integrated file is manually written and placed under the same directory as the aar package. The operation is to "disguise" the originally developed back-end business logic as an uniapp acceptable plug-in, and can identify the code as a module of the module when the uniapp is packaged, thereby achieving the purpose of realizing the mine complex business logic. In the actual plug-in writing process, configuration writing can be carried out according to specific business logic according to business requirements of mine operation so as to generate plug-ins suitable for actual requirements of mines, and data processing is more efficient.
(3) Link DB (Database)
After the upper layer service is finished, the last problem to be faced is data storage, and the mysql database in the traditional sense is aimed at a server and cannot be applied to a mobile terminal. Meanwhile, the self cache of the mobile terminal cannot meet the complex service scene and occupies more resources. For the extreme scene of mines, the application adopts the lightweight embedded SQLite which is very friendly as a storage medium. The SQLite database is used as a storage medium, and the data compression algorithm of the SQLite is utilized, so that the data occupies small memory, and the requirement of light weight is met.
After the data enter the storage medium SQLite, the storage medium SQLite is not only used for processing of a mobile terminal, but also added with the concept of version numbers after entering storage, meanwhile, the server also stores own version numbers, and when the network of the user using environment is unobstructed, the user selects synchronization, and at the moment, comparison of the version numbers and bidirectional synchronization of the data are carried out. The data compression of the SQLite is performed once again, and the user side only stores the necessary data of the user side, so that the data pressure of the user side is reduced by more than 80%.
Next, in this example embodiment, a system for processing data of a mobile terminal in a coal mine is provided, referring to fig. 4, where the processing system includes: a writing module 101, a packaging module 102, a parsing module 103 and a storage module 104. Specifically, the writing module 101 is configured to write business logic in mine operation; the packaging module 102 is configured to package the written business logic according to a preset format by using a preset open source tool, where the preset format is a data format identifiable by the uniapp platform, and the preset open source tool includes: gradle; the parsing module 103 is configured to parse the packaged service logic in the preset format, where the preset format includes aar format; the storage module 104 is configured to store the parsed service logic in an SQLite database.
In the embodiment, by writing the business logic in the mine operation and packing the business logic according to the data format identifiable by the uniapp platform, the method adopts a form of packing and compressing carrying resources and dependent files together when packing codes; when the data in the mine operation is processed, only simple business logic is needed to be processed, other complex business data do not need to be written, and the data are stored after being directly packed, so that the processing pressure of a terminal is greatly reduced, and the complexity is reduced; the SQLite database is used as a storage medium, so that the memory occupied by data is small, and the purpose of light weight is achieved.
In one embodiment, referring to fig. 5, the writing module 101 may include a business logic writing unit 201, where the business logic writing unit 201 is configured to write, in an operating system of open source code, business logic in the mine job. Further, the operating system of the open source code includes: microsoft Windows, macOS, linux, google chrome OS, iOS, android, wash's HongMong System, kaios, ipad OS and fuchsia OS.
Based on the above embodiments, it may be appreciated that referring to fig. 6, the processing system may further include: and the integrated file writing module 301 is used for writing a package.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
It should be noted that although several modules of the system for action execution are mentioned in the detailed description above, this partitioning is not mandatory. Indeed, the features and functions of two or more modules described above may be embodied in one module in accordance with embodiments of the present invention. Conversely, the features and functions of one module described above may be further divided into a plurality of modules to be embodied. The components shown as modules may or may not be physical units, may be located in one place, or may be distributed across multiple network elements. Some or all modules can be selected according to actual needs to realize the purpose of the wood invention scheme. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
Referring to fig. 7, an embodiment of the present invention also provides an electronic device 300, the electronic device 300 comprising at least one memory 310, at least one processor 320, and a bus 330 connecting the different platform systems.
Memory 310 may include readable media in the form of volatile memory, such as Random Access Memory (RAM) 211 and/or cache memory 312, and may further include Read Only Memory (ROM) 313.
The memory 310 further stores a computer program, where the computer program may be executed by the processor 320, so that the processor 320 executes the steps of the method for processing data of a mobile terminal under a coal mine in any embodiment of the present invention, and a specific implementation manner of the method is consistent with the implementation manner and the achieved technical effect described in the embodiment of the method for processing data of a mobile terminal under a coal mine, and some contents are not repeated.
Memory 310 may also include utility 314 having at least one program module 315, such program modules 315 include, but are not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment.
Accordingly, processor 320 may execute the computer programs described above, as well as may execute utility 314.
Bus 330 may represent one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures.
The electronic device 300 may also communicate with one or more external devices 340, such as a keyboard, pointing device, bluetooth device, etc., as well as with one or more devices capable of interacting with the electronic device 300, and/or with any device (e.g., router, modem, etc.) that enables the electronic device 300 to communicate with one or more other computing devices. Such communication may occur through input-output interface 350. Also, electronic device 300 may communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet, through network adapter 360. The network adapter 360 may communicate with other modules of the electronic device 300 via the bus 330. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with electronic device 300, including, but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, data backup storage platforms, and the like.
The embodiment of the invention also provides a computer readable storage medium, which is used for storing a computer program, and the specific implementation mode of the computer program is consistent with the implementation mode and the achieved technical effect recorded in the embodiment of the underground coal mine mobile terminal data processing method, and part of contents are not repeated.
Fig. 8 shows a program product 400 provided in this embodiment for implementing the above-described method for processing data of a coal mine downhole mobile terminal, which may employ a portable compact disc read only memory (CD-ROM) and comprise program code and may be run on a terminal device, such as a personal computer. However, the program product 400 of the present invention is not limited thereto, and in the present invention, the readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. Program product 400 may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium can be, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium would include the following: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The computer readable storage medium may include a data signal propagated in baseband or as part of a carrier wave, with readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A readable storage medium may also be any readable medium that can transmit, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing. Program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C++ or the like and conventional procedural programming languages, such as the C programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., connected via the Internet using an Internet service provider).
The embodiments of the present invention have been described above with reference to the accompanying drawings, but the present invention is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present invention and the scope of the claims, which are to be protected by the present invention.

Claims (10)

1. The data processing method of the underground coal mine mobile terminal is characterized by comprising the following steps of:
writing service logic in mine operation;
packaging the written business logic according to a preset format by using a preset open source tool, wherein the preset format is a data format which can be identified by an uniapp platform;
analyzing the packaged business logic in the preset format;
and storing the analyzed service logic in an SQLite database.
2. The method for processing data of a coal mine underground mobile terminal according to claim 1, wherein the step of compiling business logic in mine operation comprises:
and writing the business logic in the mine operation in an operating system of the open source code.
3. The method for processing the data of the mobile terminal in the coal mine well according to claim 2, wherein the operating system of the open source code comprises: microsoft Windows, macOS, linux, google chrome OS, iOS, android, wash's HongMong System, kaios, ipad OS and fuchsia OS.
4. The method for processing data of a coal mine underground mobile terminal according to claim 1, wherein the preset open source tool comprises: gradle; the preset format includes aar format.
5. The method for processing data of a mobile terminal in a coal mine according to claim 4, wherein the step of packaging the written business logic according to a preset format by using a preset open source tool, wherein the preset format is a data format identifiable by a uniapp platform, further comprises:
and writing a package.xml integrated file, and placing the package.xml integrated file under the same directory as the aar format package file.
6. The method for processing data of a coal mine underground mobile terminal according to claim 5, wherein the step of parsing the packaged service logic in the preset format includes:
and establishing a mapping table about the packed data, wherein the mapping table is used for analyzing the data in the aar format so that the analyzed data can be called by the uniapp platform.
7. A coal mine underground mobile terminal data processing system, comprising:
the writing module is used for writing service logic in mine operation;
the packaging module is used for packaging the written business logic according to a preset format by using a preset open source tool, wherein the preset format is a data format which can be identified by an uniapp platform;
the analysis module is used for analyzing the packaged business logic in the preset format;
and the storage module is used for storing the parsed business logic in an SQLite database.
8. The coal mine downhole mobile terminal data processing system of claim 7, wherein the writing module comprises:
and the business logic writing unit is used for writing the business logic in the mine operation in an operating system of the open source code.
9. The system of claim 8, wherein the pre-set open source tool comprises: gradle; the preset format includes aar format.
10. The coal mine downhole mobile terminal data processing system of claim 9, wherein the processing system further comprises:
and the integrated file writing module is used for writing package.xml integrated files and placing the package.xml integrated files under the same catalogue as the aar format package files.
CN202311323965.XA 2023-10-13 2023-10-13 Underground coal mine mobile terminal data processing method and system Pending CN117573631A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311323965.XA CN117573631A (en) 2023-10-13 2023-10-13 Underground coal mine mobile terminal data processing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311323965.XA CN117573631A (en) 2023-10-13 2023-10-13 Underground coal mine mobile terminal data processing method and system

Publications (1)

Publication Number Publication Date
CN117573631A true CN117573631A (en) 2024-02-20

Family

ID=89886973

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311323965.XA Pending CN117573631A (en) 2023-10-13 2023-10-13 Underground coal mine mobile terminal data processing method and system

Country Status (1)

Country Link
CN (1) CN117573631A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050160361A1 (en) * 2001-07-05 2005-07-21 Alan Young System and method for transforming business process policy data
CN114253537A (en) * 2021-12-20 2022-03-29 北京沃东天骏信息技术有限公司 Form generation method and device, electronic equipment and storage medium
CN114968192A (en) * 2022-05-06 2022-08-30 北京结慧科技有限公司 Project creation method and device, computer equipment and storage medium
CN115098117A (en) * 2022-06-28 2022-09-23 苏州宏软信息技术有限公司 uniApp-based automatic packaging method, computing device and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050160361A1 (en) * 2001-07-05 2005-07-21 Alan Young System and method for transforming business process policy data
CN114253537A (en) * 2021-12-20 2022-03-29 北京沃东天骏信息技术有限公司 Form generation method and device, electronic equipment and storage medium
CN114968192A (en) * 2022-05-06 2022-08-30 北京结慧科技有限公司 Project creation method and device, computer equipment and storage medium
CN115098117A (en) * 2022-06-28 2022-09-23 苏州宏软信息技术有限公司 uniApp-based automatic packaging method, computing device and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
侯济恭;赖礼袍;: "电子政务系统开发平台关键技术研发", 武汉理工大学学报(信息与管理工程版), no. 06, 15 December 2010 (2010-12-15) *

Similar Documents

Publication Publication Date Title
US9804862B2 (en) Translatable texts identification in in-context localization utilizing pseudo-language and an external server
US11667033B2 (en) Systems and methods for robotic process automation
CN111740948B (en) Data packet issuing method, dynamic updating method, device, equipment and medium
CN111240684B (en) Cutting method and device of JS codes, medium and electronic equipment
US20180024848A1 (en) Translatable Texts Identification in In-Context Localization Utilizing Pseudo-Language and an External Server
CN111176629A (en) Application development method and device
CN111367510A (en) Android function module development method and device
CN110688096B (en) Method and device for constructing application program containing plug-in, medium and electronic equipment
US11816479B2 (en) System and method for implementing a code audit tool
CN109284126B (en) Automatic class library updating method and device, electronic equipment and storage medium
CN113127136B (en) Docker mirror image generation method and device, storage medium and electronic equipment
CN113127050B (en) Application resource packaging process monitoring method, device, equipment and medium
CN110659210A (en) Information acquisition method and device, electronic equipment and storage medium
CN112835568A (en) Project construction method and device
CN113377342B (en) Project construction method and device, electronic equipment and storage medium
EP3519964B1 (en) Electronic apparatus for recording debugging information and control method thereof
CN113138768A (en) Application package generation method and device, electronic equipment and readable storage medium
CN117573631A (en) Underground coal mine mobile terminal data processing method and system
CN111258802A (en) Method for capturing application program crash information and related equipment
CN108984221B (en) Method and device for acquiring multi-platform user behavior logs
CN116227625A (en) Intelligent model development method, medium and equipment
US9069643B1 (en) Creating a prerequisite checklist corresponding to a software application
CN112506871B (en) Automated task management and log management method, system, electronic device and medium
CN114090514A (en) Log retrieval method and device for distributed system
US11797277B2 (en) Neural network model conversion method server, and storage 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