Coal mine industry communication technology uniapp plug-in installation and application based on sip protocol

By deploying the UniApp plug-in for the communication technology of the coal mine industry based on SIP protocol underground in coal mines, the communication interruption problem caused by insufficient coverage of the underground public network of coal mines has been solved, efficient and stable audio and video calls and instant messaging have been achieved, and accident handling efficiency and work efficiency have been improved.

CN119690463APending Publication Date: 2025-03-25ZHENGZHOU HENGDA INTELLIGENT CONTROL TECHNOLOGY CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411469297.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-21
Publication Date
2025-03-25

AI Technical Summary

Technical Problem

Due to insufficient public network coverage in coal mines, existing communication applications cannot achieve real-time communication, which affects production efficiency and security, and cannot meet specific communication needs of the coal mine industry, such as emergency calls and location tracking.

Method used

Design a UniApp plug-in for communication technology in coal mine industry based on SIP protocol. By creating or opening projects in HBuilderX, checking the communication module plug-in, packaging custom docking, and deploying SIP servers, implementing point-to-point and mass voice and video calls, and supporting real-time messages and video calls.

Benefits of technology

It realizes efficient and stable audio and video calls and instant messaging in a coal mine without public network signal environment, improves accident handling efficiency, supports team collaboration and remote meetings in daily work, and ensures the security and reliability of communication.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119690463A_ABST
    Figure CN119690463A_ABST
Patent Text Reader

Abstract

According to the installation and application of the uniapp plug-in of the communication technology in the coal mine industry based on the sip protocol, a corresponding project is created or opened in HBuilder X, the communication module plug-in is checked in app native plug-in configuration of project mangist, a user-defined base is packaged, the project for loading the communication module plug-in is selected, the user-defined base is obtained, then the user-defined base is selected when the project is operated, and the user-defined base is used for installing the uniapp plug-in of the communication technology in the coal mine industry according to the installation and application of the uniapp plug-in of the communication technology in the coal mine industry. An SIP server is deployed on the ground or under the ground to serve as a core node of communication, and projects loaded with the communication module plug-ins are communicated through the SIP server. According to the coal mine industry communication technology uniapp plug-in based on the sip protocol, the high efficiency and stability of audio and video calls are ensured through the optimized coding and decoding technology and the SIP protocol, and the safety of communication content is ensured by adopting the advanced encryption technology. The plug-in is developed based on a UniApp framework, supports multi-platform deployment, is suitable for different types of mobile devices, provides abundant APIs and event monitoring mechanisms, and is convenient for developers to quickly integrate and use.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of underground coal mine communication technology, and in particular to a coal mine industry communication technology UniApp plug-in installation and application based on a SIP protocol. Background Art

[0002] The underground environment of coal mines has the following notable characteristics: Complex terrain: The underground terrain of coal mines is complex, with a large number of tunnels, supporting structures and mechanical equipment, which will interfere with the propagation of wireless signals.

[0003] Electromagnetic interference: There are many underground devices, especially electrical and mechanical equipment, which will generate strong electromagnetic interference and affect the stability and reliability of wireless communication.

[0004] Closed space: The underground space is relatively closed, the air circulation is poor, and the temperature and humidity are high. These factors will affect the performance and life of electronic equipment.

[0005] High safety requirements: The underground working environment of coal mines is highly dangerous, and the communication system must have high reliability and safety to ensure timely communication in emergency situations.

[0006] Insufficient public network signal coverage in coal mines can lead to communication interruptions, especially in emergency situations. Information cannot be transmitted in time, increasing the risk of accidents. Poor communication can affect production scheduling and coordination, reducing production efficiency. In the event of an accident, it is impossible to contact the ground or other underground personnel in time, delaying rescue time and increasing the risk of casualties.

[0007] Existing communication applications (such as WeChat) rely on the public network environment and cannot work in underground environments without public network signals; these applications are mainly for ordinary users, with relatively simple functions, and cannot meet the specific communication needs of the coal mining industry, such as emergency calls, positioning tracking, etc.; existing communication applications are difficult to integrate with other information systems of coal mining enterprises (such as production management systems, safety monitoring systems), and cannot form a unified communication platform.

[0008] In summary, due to insufficient public network coverage in coal mines, existing communication apps cannot achieve real-time communication, which seriously affects the instant communication and efficiency of coal mine production. Currently, social applications such as WeChat can only communicate in the public network environment and cannot be integrated into third-party applications according to their own needs, which limits their use occasions. Summary of the invention

[0009] In view of the problem of underground communication in coal mines, the present invention provides a coal mine industry communication technology UniApp plug-in installation and application based on SIP protocol.

[0010] The solution adopted by the present invention to solve its technical problems is: a coal mining industry communication technology uniapp plug-in installation and application based on the sip protocol, creating or opening a corresponding project in HBuilderX, checking the communication module plug-in in the app native plug-in configuration of the project manifest, packaging a custom base, selecting a project to load the communication module plug-in, obtaining a custom base, and then selecting the custom base when running the project, deploying a SIP server above or below the well as a core node for communication, and connecting the projects loaded with the communication module plug-in through the SIP server.

[0011] This project and plug-in use the provided global events to monitor call information in real time and call the API to implement the following functional applications: Login and registration: Establish a connection with the server through the SIP protocol, and listen to the onRegistrationState event to obtain the login and registration results; Dial: Initiate a call request through the SIP protocol and monitor the onCallState call status; Answering a call: Call the accept interface, monitor the onCallState call status, and obtain the call quality in real time; Reject or hang up: call the reject interface and monitor the onCallState call status; Turn on the camera during a call and start instant audio and video communication after the other party accepts the call.

[0012] Furthermore, the communication module plug-in uses an AMR algorithm to automatically adjust the encoding rate according to network conditions and call quality to provide better voice quality and higher network efficiency.

[0013] Furthermore, the codec for video calls in the communication module plug-in supports H.264 (AVC) and H.265 (HEVC), which is responsible for compressing and encoding the video signal, transmitting it to the receiving end, and then decoding it back into the video signal.

[0014] Furthermore, the communication module plug-in realizes secure and reliable information transmission through the m3u8 data encryption algorithm.

[0015] Furthermore, the call information acquired through monitoring includes registration status, call status, call quality, audio device and audio device list.

[0016] Beneficial effects of the invention: The uniapp plug-in for coal mining industry communication technology based on the sip protocol provided by the invention ensures the efficiency and stability of audio and video calls through optimized coding and decoding technology and the sip protocol, and adopts advanced encryption technology to ensure the security of communication content. Developed based on the uniapp framework, it supports multi-platform deployment and is suitable for different types of mobile devices. The plug-in provided by the invention provides a rich API and event monitoring mechanism, which is convenient for developers to quickly integrate and use.

[0017] The coal mining industry communication technology UniApp plug-in based on the SIP protocol provided by the present invention can quickly respond through efficient audio and video communications in emergency situations, improve accident handling efficiency, support team collaboration and remote conferencing in daily work, improve work efficiency, and maintain unimpeded communications when disasters occur, ensuring the smooth progress of rescue operations.

[0018] The present invention fully complies with the development specifications of the SIP protocol and the uniapp plug-in, facilitates efficient third-party integration, quickly realizes instant communication of audio and video calls according to personal business needs, subscribes to global events during calls to obtain call status information in a timely manner, and realizes secure and reliable instant communication functions within the local area network through encryption technology. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 It is a schematic diagram of the communication application deployment structure of the present invention.

[0020] Figure 2 It is the plug-in application operation process frame view. DETAILED DESCRIPTION

[0021] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be described in detail below.

[0022] Example 1: Due to insufficient public network coverage in coal mines, existing communication apps cannot achieve real-time communication, which seriously affects the instant communication and efficiency of coal mine production. Currently, social applications such as WeChat can only communicate in the public network environment and cannot be integrated into third-party applications according to their own needs.

[0023] Based on this, the present invention designs a uniapp plug-in that can realize point-to-point and group voice and video call communication technology in a coal mine with an intranet.

[0024] The system architecture of the present invention: Local network: Deploy a local area network (LAN) underground in a coal mine, using wireless or wired methods to cover the main operating areas.

[0025] SIP server: Deploy SIP server above or below the well as the core node of communication, responsible for managing user registration, call control and media stream forwarding.

[0026] Client application: Develop client applications based on UniApp, support multi-platform (Android, iOS, Web) operation, and realize functions such as audio and video calls and instant messaging.

[0027] Use SIP (Session Initiation Protocol) for communication. SIP is a communication protocol used to establish, modify and terminate multimedia sessions. It is suitable for audio and video calls. Deploy Wi-Fi or dedicated wireless networks underground to ensure that the signal covers the main operating areas.

[0028] like Figure 1 As shown, the coal mining industry communication technology uniapp plug-in based on the sip protocol provided by the present invention is installed on phone A and phone B, and phone B dials and sends a request to the SIP server. The SIP server connects to phone A according to the request, and phone A returns to answer / hang up, thereby realizing the communication connection between phones A and B.

[0029] Specific plug-in installation process: 1. Find the project in HBuilderX and check the module in the app native plug-in configuration in the manifest: Open HBuilderX and load or create a new corresponding project; Find and open the manifest.json file in the Project Explorer; Go to the "App Native Plug-in" tab and check the required communication plug-in module; Save the manifest.json file.

[0030] 2. Package the custom base, select the plug-in, get the custom base, and then select the custom base when running: In HBuilderX, select "Tools" -> "Build Base"; Select the plugins you want to include, especially the communication plugin you just checked in manifest.json; After the build is complete, get the custom base file and select the base when you run the app.

[0031] Plugin usage process: The core of this plug-in is to facilitate making and receiving calls, and making one-to-one or group audio and video calls.

[0032] Through the provided global events, real-time monitoring is used to obtain call information, such as registration status (onRegistrationState), call status (onCallState), call quality, audio device (onAudioDevice), audio device list (onAudioDevicesList), etc.

[0033] like Figure 2 As shown, calling the API can complete the following functions: Login and registration: Establish a connection with the server through the SIP protocol, and listen to the onRegistrationState event to obtain the login and registration results Dial: Initiate a call request through the SIP protocol and monitor the onCallState call status Answering a call: Call the accept interface, monitor the onCallState call status, and obtain the call quality in real time.

[0034] Reject or hang up: call the reject interface and monitor the onCallState call status.

[0035] If you want to video chat during a call, you can turn on the camera at any time, and the other party will immediately communicate via audio or video once they accept.

[0036] During the session, SIP (Session Initiation Protocol) is a communication protocol used to establish, modify, and terminate multimedia sessions. It defines a series of message formats and interaction rules so that users can initiate and manage multimedia communication sessions.

[0037] The plug-in of the present invention can automatically adjust the encoding rate according to the network status and call quality through the AMR algorithm specially used for voice encoding and decoding, so as to provide better voice quality and higher network efficiency. In a mobile network call, the voice signals of both parties will be sampled, compressed and encoded into digital signals, and then transmitted through the network. The receiving end will then decode the digital signals into analog signals to realize the call.

[0038] The codecs used in its video calls support H.264 (AVC) and H.265 (HEVC), which are responsible for compressing and encoding the video signal, transmitting it to the receiving end, and then decoding it back into a video signal. During a video call, the video signals captured by the cameras of both parties will be compressed and encoded by the encoder, and then transmitted over the network. The receiving end will then decode the received data into a video signal through the decoder, thus achieving real-time video calls. This process ensures the quality and smoothness of the video call through efficient encoding and decoding algorithms and network transmission technology.

[0039] The plug-in projects provided by the present invention realize secure and reliable transmission of information through the m3u8 data encryption algorithm.

[0040] The present invention ensures the efficiency and stability of audio and video calls through optimized coding and decoding technology and SIP protocol, adopts advanced encryption technology to ensure the security of communication content, is developed based on the UniApp framework, supports multi-platform deployment, is suitable for different types of mobile devices, and provides rich APIs and event monitoring mechanisms to facilitate developers to quickly integrate and use.

[0041] The uniapp plug-in for coal mining industry communication technology based on the sip protocol provided by the present invention relies on the sip server deployed in the intranet for communication. In an emergency, it can quickly respond through efficient audio and video communication to improve the efficiency of accident handling. At the same time, it supports team collaboration and remote conferencing in daily work, improves work efficiency, and keeps communication unimpeded when a disaster occurs, ensuring the smooth progress of rescue operations.

[0042] In summary, the UniApp plug-in system of coal mining industry communication technology based on the SIP protocol not only meets the coal mining industry's needs for efficient and secure communication, but also provides a flexible development and deployment solution, which is suitable for wide application in various scenarios in the coal mining industry.

[0043] Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other implementation methods obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

Claims

1. A uniapp plug-in installation and application of coal mining industry communication technology based on sip protocol, characterized in that: Create or open the corresponding project in HBuilderX, check the communication module plug-in in the app native plug-in configuration of the project manifest, package the custom base, select the project to load the communication module plug-in, get the custom base, and then select the custom base when running the project; Deploy a SIP server above or below the well as the core node of communication. The projects loaded with the communication module plug-in are connected through the SIP server. This project and plug-in use the provided global events to monitor call information in real time and call the API to implement the following functional applications: Login and registration: Establish a connection with the server through the SIP protocol, and listen to the onRegistrationState event to obtain the login and registration results; Dial: Initiate a call request through the SIP protocol and monitor the onCallState call status; Answering a call: Call the accept interface, monitor the onCallState call status, and obtain the call quality in real time; Reject or hang up: call the reject interface and monitor the onCallState call status; Turn on the camera during a call and start instant audio and video communication after the other party accepts.

2. According to claim 1, the uniapp plug-in installation and application of coal mining industry communication technology based on sip protocol is characterized in that: The communication module plug-in uses the AMR algorithm to automatically adjust the encoding rate according to the network status and call quality to provide better voice quality and higher network efficiency.

3. According to claim 1, the installation and application of the uniapp plug-in for coal mining industry communication technology based on the sip protocol is characterized in that: The codec for video calls in the communication module plug-in supports H.264 (AVC) and H.265 (HEVC), and is responsible for compressing and encoding the video signal, transmitting it to the receiving end, and then decoding it back into the video signal.

4. According to claim 1, the uniapp plug-in installation and application of coal mining industry communication technology based on sip protocol is characterized in that: The communication module plug-in realizes safe and reliable information transmission through the m3u8 data encryption algorithm.

5. According to claim 1, the installation and application of the uniapp plug-in for coal mining industry communication technology based on the sip protocol is characterized in that: The call information obtained by monitoring includes registration status, call status, call quality, audio device and audio device list.