CN115022451A - Terminal and back splint - Google Patents

Terminal and back splint Download PDF

Info

Publication number
CN115022451A
CN115022451A CN202210610386.2A CN202210610386A CN115022451A CN 115022451 A CN115022451 A CN 115022451A CN 202210610386 A CN202210610386 A CN 202210610386A CN 115022451 A CN115022451 A CN 115022451A
Authority
CN
China
Prior art keywords
terminal
component
bluetooth
clip
data
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
CN202210610386.2A
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.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications Technology Co Ltd
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 Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN202210610386.2A priority Critical patent/CN115022451A/en
Publication of CN115022451A publication Critical patent/CN115022451A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72412User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories using two-way short-range wireless interfaces
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N33/00Investigating or analysing materials by specific methods not covered by groups G01N1/00 - G01N31/00
    • G01N33/0004Gaseous mixtures, e.g. polluted air
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/21Combinations with auxiliary equipment, e.g. with clocks or memoranda pads
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72415User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories for remote control of appliances
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • 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
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Chemical & Material Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Food Science & Technology (AREA)
  • Combustion & Propulsion (AREA)
  • Medicinal Chemistry (AREA)
  • Physics & Mathematics (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application provides a terminal and a back clip, which are applied to the technical field of equipment control; the back splint at least comprises: the first communication interface is used for data interaction between the back clip and the terminal; the controller is used for monitoring a control instruction sent by the terminal aiming at the at least one entity component and/or transmitting data information associated with the at least one entity component to the terminal when the terminal is determined to meet a data transmission condition associated with the at least one entity component, so that the terminal controls the working state of at least one function device associated with the terminal based on the data information, wherein the entity component comprises: at least one of a talkback component, a radio frequency identification component, a gas detection component and a positioning component. Realize function, video identification function, gaseous detection function and the locate function of talkbacking in the back splint, and can carry out data interaction between back splint and the terminal, consequently at the during operation, only need carry back splint and terminal, conveniently carry and unified operation, lifting means ease for use promotes work efficiency.

Description

Terminal and back splint
Technical Field
The application relates to the technical field of equipment control, in particular to a terminal and a back clip.
Background
At present, in the detection industries of petroleum, coal, metallurgy, chemical industry, environmental monitoring and the like, when carrying out on-site detection, a detector needs to carry a plurality of devices in a terminal, an interphone, a radio frequency monitoring and identifying device, a positioning device and a gas detection device, and all the devices are mutually independent.
Obviously, mutual independence between a plurality of equipment, inconvenient carrying and unified operation reduce the equipment ease for use, further reduce work efficiency.
Disclosure of Invention
The application provides a terminal and back splint for lifting means ease of use, and promotion work efficiency.
In a first aspect, an embodiment of the present application provides a back clip, including:
the first communication interface is used for data interaction between the back clip and the terminal;
the controller is used for monitoring a control instruction sent by the terminal aiming at the at least one entity component and/or transmitting data information associated with the at least one entity component to the terminal when the terminal is determined to meet a data transmission condition associated with the at least one entity component, so that the terminal controls the working state of at least one function device associated with the terminal based on the data information, wherein the entity component comprises: at least one of a talkback component, a radio frequency identification component, a gas detection component and a positioning component.
In the application, a back splint is provided, in which at least one of an intercom component, a radio frequency identification component, a gas detection component and a positioning component is arranged, that is, at least one of an intercom function, a radio frequency identification function and a gas detection function is realized in the back splint; when monitoring a control instruction sent by the terminal aiming at the at least one entity component and/or determining that the back clip meets the data transmission condition associated with the at least one entity component, the back clip transmits data information associated with the at least one entity component to the terminal so that the terminal controls the working state of at least one functional device associated with the terminal based on the data information; when detecting the during operation, only need carry back splint and terminal, conveniently carry, and can carry out data interaction when satisfying data transmission between terminal and the back splint, realize the operation unified to the extended function in the back splint, lifting means ease of use to and provide work efficiency.
In one possible implementation, the controller is specifically configured to:
when a radio frequency tag reading instruction sent by the radio frequency identification component by the terminal is monitored, transmitting the tag data acquired by the radio frequency identification component to the terminal so that the terminal can display the tag data through the display unit; and/or
When monitoring that the terminal reads the instruction aiming at the positioning data sent by the positioning component, the positioning data obtained by the positioning component is transmitted to the terminal, so that the terminal uploads the positioning data to the server.
In the application, when the back clip transmits data information to the terminal, the back clip can be in a passive transmission state, that is, when the back clip monitors a radio frequency tag reading instruction sent by the terminal to a radio frequency identification component, the back clip transmits tag data obtained by the radio frequency identification component to the terminal, and when the back clip monitors a positioning data reading instruction sent by the terminal to a positioning component, the back clip transmits a positioning instruction obtained by the positioning component to the terminal; and when the control instruction is monitored, data information is transmitted to the terminal, so that transmission resources of the back clip are saved.
In one possible implementation, the controller is specifically configured to:
when the concentration of the gas obtained by the gas detection component is monitored to reach a concentration threshold value, sending an interruption notice to the terminal so that the terminal controls the current limiting unit to start current limiting work; and/or
The Bluetooth headset connection state determined by the Bluetooth component connected with the talkback component is transmitted to the terminal in real time so that the terminal controls the connection mode of the Bluetooth headset and the talkback component, wherein the Bluetooth headset connection state is used for representing whether the Bluetooth headset is connected into the back clip or not; and/or
The tag data acquired by the radio frequency identification component is transmitted to the terminal at regular time, so that the terminal displays the tag data through the display unit; and/or
And the positioning data acquired by the positioning component is transmitted to the terminal at regular time, so that the terminal uploads the positioning data to the server.
In the application, when the back clamp transmits data information to the terminal, the back clamp can be in an active transmission state, namely when the concentration of the gas acquired by the gas detection component is monitored to reach a concentration threshold value, an interrupt notification is sent to the terminal, so that the terminal controls the current limiting unit to start current limiting work; and/or regularly transmitting the connection state of the Bluetooth headset, the tag data and the positioning data to the terminal; and when the back clip is determined to meet the data transmission condition associated with at least one entity component, the back clip transmits data information to the terminal, so that the timeliness of data transmission is ensured.
In one possible implementation, the controller upgrades the bluetooth component by:
after monitoring a Bluetooth upgrading control instruction sent by a terminal, switching the working mode of a Bluetooth component from a master mode to a slave mode;
when the Bluetooth component is in the slave mode and a Bluetooth upgrading data instruction transmitted by the terminal in a Bluetooth mode is monitored, upgrading operation is carried out on the Bluetooth component based on the Bluetooth upgrading data instruction.
In this application, in order to guarantee the accuracy of bluetooth part work in the back splint, still need to upgrade the bluetooth part in the back splint. After monitoring a Bluetooth upgrading control instruction sent by the terminal, the controller switches the working mode of the Bluetooth component from a master mode to a slave mode, and when monitoring a Bluetooth upgrading data instruction transmitted by the terminal in a Bluetooth mode when the Bluetooth component is in the slave mode, the controller upgrades the Bluetooth component based on the Bluetooth upgrading data instruction to realize the upgrading operation of the Bluetooth component and ensure the working accuracy of the Bluetooth component in the back splint.
In a possible implementation manner, before monitoring a control instruction sent by the terminal for the at least one entity component and/or determining that the terminal itself satisfies a data transmission condition associated with the at least one entity component, the controller is further configured to:
and when a handshake data packet returned by the terminal based on the back-clip access notification is monitored, a handshake response data packet is returned to the terminal, and the back clip and the terminal are determined to be successfully connected.
If data interaction between the terminal and the back clip is to be realized, the terminal and the back clip are required to be ensured to be successfully connected, in the application, after the back clip monitors a back clip starting-up instruction through a power management part, a back clip access notification is sent to the terminal, and when a handshake data packet returned by the terminal based on the back clip access notification is monitored, a handshake response data packet is returned to the terminal, and at the moment, the back clip and the terminal are determined to be successfully connected; handshaking operation is carried out between the terminal and the back clip, and the accuracy of successful connection between the terminal and the back clip is ensured.
In one possible implementation, before transmitting the data information associated with the at least one entity component to the terminal, the controller activates the at least one entity component by:
after monitoring a back splint starting-up instruction through the power management part, starting the radio frequency identification part and the gas detection part according to a default mode; and/or
After the back clip is successfully connected with the terminal, a starting instruction sent by the terminal aiming at least one entity component is monitored, and the corresponding entity component is started according to the starting instruction.
Before transmitting the data information associated with at least one entity component to the terminal, the entity component is started, and after the entity component is started, each entity component can acquire the data information associated with the entity component and transmit the data information to the terminal. In the application, after a back splint starting-up instruction is monitored by a power management part, a radio frequency identification part and a gas detection part are started according to a default model; and/or after the back clip and the terminal are successfully connected, after a starting instruction sent by the terminal aiming at least one entity component is monitored, the corresponding entity component is started according to the starting instruction, the realization mode of starting the entity component is given, and the accuracy of starting the entity component is ensured.
In a second aspect, an embodiment of the present application provides a terminal, including:
the second communication interface is used for data interaction between the back clip and the terminal;
the processor is configured to control an operating state of at least one functional device associated with the terminal based on data information when the data information associated with at least one entity component and sent by the back folder is monitored, where the data information is sent when the back folder monitors a control instruction for the at least one entity component and sent by the terminal, and/or determines that the data information satisfies a data transmission condition associated with the at least one entity component, and the entity component includes: at least one of a talkback component, a radio frequency identification component, a gas detection component and a positioning component.
In the application, a terminal is provided, wherein data interaction is performed between the terminal and a back clip, and when data information related to at least one entity component sent by the back clip is monitored, the working state of at least one functional device related to the terminal is controlled based on the data information, so that the accuracy of the working state of the functional device in the terminal is ensured; wherein, realized at least one extended functionality in talkbacking function, radio frequency identification function, gaseous detection function in the back splint, make when surveying the work, only need carry back splint and terminal, conveniently carry and unified operation, lifting means ease for use to and promote work efficiency.
In one possible implementation, the processor is specifically configured to:
if the talkback component starting notice sent by the back clip is received and the notice that the earphone is not accessed is monitored, the loudspeaker is controlled to be connected with the output end of the talkback component, the microphone is connected with the input end of the talkback component, wherein the notice that the earphone is not accessed is characterized: the terminal has no wired earphone access, and the back clip has no Bluetooth earphone access; or
If the talkback component starting notice sent by the back clip is received, the wired earphone access notice is monitored, and the Bluetooth earphone does not access the notice, controlling a microphone of the wired earphone to be connected with the output end of the talkback component, and controlling a microphone of the wired earphone to be connected with the input end of the talkback component; or
And if the talkback component starting notice sent by the back clip is received and the Bluetooth headset access notice sent by the back clip is monitored, the control terminal is disconnected with the talkback component.
In the application, after the terminal determines that the talkback component in the back clip is started, according to whether the Bluetooth headset is connected into the back clip or not and whether the wired headset is connected into the terminal or not, the functional device in the terminal or the functional device connected with the terminal is controlled to be in a connection state with the talkback component in the back clip, so that the talkback component in the back clip realizes talkback voice under three scenes of the wired headset, the hands-free headset and the Bluetooth headset, and free switching of public network conversation and talkback voice is realized.
In one possible implementation, the processor is specifically configured to:
after the radio frequency application is monitored to be started and a radio frequency part starting notice returned by the back clamp is received, a radio frequency tag reading instruction is sent to the back clamp, and tag data returned by the back clamp is displayed in a display unit; and/or
And after the positioning application is monitored to be started and a positioning component starting notice returned by the back clamp is received, sending a positioning data reading instruction to the back clamp and uploading the positioning data returned by the back clamp to a server.
In the method, after monitoring that the back clamp reads the tag data returned by the instruction based on the radio frequency tag, the terminal displays the tag data in the display unit so as to accurately acquire the tag data; and after monitoring the positioning data returned by the back splint based on the positioning data reading instruction, the terminal reports the positioning data to the server so as to realize the accuracy of positioning and realize the function of emergency positioning rescue based on the positioning data.
In one possible implementation, the processor is specifically configured to:
after monitoring an interrupt notification sent by the back clip, controlling the current limiting unit to start current limiting work; or
And after monitoring an interruption notice sent when the concentration of the gas in the back clamp exceeds a concentration threshold value, controlling the current limiting unit to start current limiting work.
In the application, after the terminal monitors the terminal notification sent by the back clip or the interruption notification sent by the called party when the gas concentration exceeds the concentration threshold value, the current limiting unit is controlled to start the current limiting work, so that the fault is prevented, and the safety is improved.
In a third aspect, an embodiment of the present application provides a function control method, which is applied to a back clip, and the method includes:
when monitoring a control instruction sent by a terminal aiming at least one entity component and/or determining that the terminal meets a data transmission condition associated with the at least one entity component, acquiring data information associated with the at least one entity component, wherein the entity component comprises: at least one of a talkback component, a radio frequency identification component, a gas detection component and a positioning component;
and transmitting the data information to the terminal so that the terminal controls the working state of at least one functional device related to the terminal based on the data information.
In a fourth aspect, an embodiment of the present application provides a function control method, which is applied to a terminal, and the method includes:
monitoring data information which is sent by a back clip and is associated with at least one entity component, wherein the data information is sent by the back clip when the back clip monitors a control instruction which is sent by a terminal and aims at the at least one entity component and/or determines that the back clip meets the data transmission condition associated with the at least one entity component, and the entity component comprises: at least one of a talkback component, a radio frequency identification component, a gas detection component and a positioning component;
and controlling the working state of at least one functional device associated with the terminal based on the data information.
In a fifth aspect, an embodiment of the present application provides a function control apparatus, including:
an obtaining unit, configured to obtain data information associated with at least one entity component when monitoring a control instruction sent by a terminal for the at least one entity component and/or determining that the terminal satisfies a data transmission condition associated with the at least one entity component, where the entity component includes: at least one of a talkback component, a radio frequency identification component, a gas detection component and a positioning component;
and the transmission unit is used for transmitting the data information to the terminal so that the terminal controls the working state of at least one functional device related to the terminal based on the data information.
In a sixth aspect, an embodiment of the present application provides a function control apparatus, including:
the monitoring unit is used for monitoring data information which is sent by a back clip and is associated with at least one entity component, wherein the data information is sent by the back clip when the back clip monitors a control command which is sent by a terminal and aims at the at least one entity component and/or determines that the back clip meets a data transmission condition associated with the at least one entity component, and the entity component comprises: at least one of a talkback component, a radio frequency identification component, a gas detection component and a positioning component;
and the control unit is used for controlling the working state of at least one functional device related to the terminal based on the data information.
In a seventh aspect, an embodiment of the present application provides a computer-readable storage medium, where computer instructions are stored, and when executed by a processor, the computer instructions implement the steps of the function control method on the terminal side provided in the embodiment of the present application, and implement the steps of the function control method on the folder side provided in the embodiment of the present application.
In an eighth aspect, embodiments of the present application provide a computer program product, which includes computer instructions stored in a computer-readable storage medium; when the processor of the electronic device reads the computer instructions from the computer-readable storage medium, the processor executes the computer instructions, so that the electronic device executes the steps of the function control method on the terminal side provided in the embodiment of the present application and the steps of the function control method on the folder side provided in the embodiment of the present application.
Additional features and advantages of the application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the application. The objectives and other advantages of the application may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic view of an application scenario provided in an embodiment of the present application;
fig. 2 is a structural diagram of a terminal according to an embodiment of the present application;
fig. 3 is a schematic diagram of a control circuit at a terminal side according to an embodiment of the present disclosure;
fig. 4 is a structural view of a back clip according to an embodiment of the present disclosure;
fig. 5 is a schematic diagram of a control circuit on the back-clip side according to an embodiment of the present disclosure;
fig. 6 is a schematic diagram of an overall control circuit for connecting a terminal and a back clip according to an embodiment of the present disclosure;
fig. 7 is a flowchart of a specific implementation manner of function control according to an embodiment of the present application;
fig. 8 is a flowchart of a method for a terminal to successfully access a back clip according to an embodiment of the present application;
fig. 9 is a control flow chart of an rfid function according to an embodiment of the present application;
fig. 10 is a control flow chart of a positioning function provided in an embodiment of the present application;
FIG. 11 is a flow chart illustrating a control of a gas detection function according to an embodiment of the present disclosure;
fig. 12 is a control flow diagram of a talk-back function provided in an embodiment of the present application;
fig. 13 is a schematic diagram of a control circuit when a back clip implements a talk-back function through a speaker and a microphone according to an embodiment of the present disclosure;
fig. 14 is a schematic diagram of a control circuit when a back clip implements a talk-back function through a wired headset according to an embodiment of the present disclosure;
fig. 15 is a schematic diagram of a control circuit when a back clip implements a talk-back function through a bluetooth headset according to an embodiment of the present application;
fig. 16 is a flowchart illustrating a control procedure for upgrading a bluetooth component in a back clip according to an embodiment of the present disclosure;
fig. 17 is a flowchart of a method for controlling a function of a terminal side according to an embodiment of the present application;
fig. 18 is a flowchart of a method for controlling functions of a back splint side according to an embodiment of the present disclosure;
FIG. 19 is a schematic diagram of a function control apparatus according to an embodiment of the present application;
fig. 20 is a schematic diagram of a function control apparatus according to an embodiment of the present application.
Detailed Description
In order to make the purpose, technical solution and advantages of the present application more clearly and clearly understood, the technical solution in the embodiments of the present application will be described below in detail and completely with reference to the accompanying drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some embodiments of the present application, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In order to facilitate those skilled in the art to better understand the technical solutions of the present application, some concepts related to the present application will be described below.
The talkback refers to Digital Mobile Radio (DMR) talkback, which has the advantages of efficient utilization of frequency spectrum resources, large-area networking mode, compatibility with analog conventions, rich service functions, expandability, backward compatibility, low system and terminal cost, high network construction speed and low overall operation and maintenance cost. Besides the detection industry, the system is also suitable for the industries such as schools, hospitals, hotels, property industries and the like.
Radio Frequency Identification (RFID), also known as RFID, is a communication technology commonly called electronic tag. The specific target can be identified and the related data can be read and written by radio signals without establishing mechanical or optical contact between the identification system and the specific target. In the embodiment of the application, the radio frequency identification is mainly used for equipment point inspection, namely, the running state of the equipment is fed back in real time, and relevant data is automatically recorded so as to be displayed in the terminal, so that a detector can timely and accurately know the equipment state. It should be noted that the related data may also be referred to as tag data.
The positioning refers to Real-time Kinematic (RTK) positioning, and is a new common satellite positioning measurement method, RTK positioning can obtain centimeter-level positioning accuracy measurement in Real time in the field, a carrier phase dynamic Real-time difference method is adopted, RTK positioning is engineering lofting and terrain mapping, various control measurements bring new measurement principles and methods, and operation efficiency is greatly improved.
Gas detection refers to the detection of toxic, explosive, and other types of gases, such as: hydrogen sulfide (H) 2 S)。
The serial communication is realized by a Universal Asynchronous Receiver/Transmitter (UART) serial communication protocol, the UART is a Universal serial data bus and is used for Asynchronous communication and can realize bidirectional communication, and in the embodiment of the application, the UART is used for communication between the terminal and the back clip in a sending/receiving mode.
The control circuit provided by the embodiment of the application corresponds to the interface or the pin:
a General-Purpose Input/Output interface (GPIO) corresponding to a GPIO signal, which is a high level or a low level in the embodiment of the present application;
transmit Data (tx) Data, TXD), corresponding to the TXD communication signal, in this embodiment, is interactive Data, for example: control instructions, physical component start instructions, and the like;
receive Data (receive (rx) Data, RXD), corresponding to RXD communication signals, in this embodiment, interactive Data, such as: control instructions, tag data, positioning data, and the like;
a Microphone Interface (MIC), which is an energy conversion device that converts a sound signal into an electrical signal corresponding to an MIC signal, and may also be referred to as a Microphone and a Microphone;
the talkback component outputs audio (AU _ OUT) corresponding to the talkback component to output audio signals;
the talkback component inputs audio (AU _ IN) and inputs audio signals corresponding to the talkback component;
the wired earphone outputs audio (EAR _ OUT), and the audio signal is output corresponding to the wired earphone;
a speaker output audio (LS _ OUT) corresponding to the speaker output audio signal;
the Bluetooth component outputs audio (LINE _ OUT), and an audio signal is output corresponding to the Bluetooth component;
the Bluetooth component inputs audio (LINE _ IN), and audio signals are input corresponding to the Bluetooth component;
monitoring an interface (Detector, DET) of the back clip access identification signal, corresponding to the DET signal, in the embodiment of the present application, monitoring the back clip access identification signal through a contact manner;
an interrupt Interface (INT), corresponding to the INT signal, which is an interrupt notification in this embodiment, when an external device pulls down an INT pin, an external interrupt is triggered, and the INT signal in this embodiment includes: the method comprises the following steps that the terminal interrupts the interrupt notification of a back splint and interrupts the interrupt notification of the terminal by the back splint;
the Ground (GND) of the electric wire corresponds to a reference Ground level signal;
the system comprises an analog switch common end (COM), an analog switch normally open contact (NO) and an analog switch normally closed contact (NC);
an Analog-to-Digital Converter (ADC) converts a continuously varying Analog signal into a discrete Digital signal;
a bus (I2C) for connecting the microcontroller and its peripheral devices;
a Push to Talk interface (PTT) which corresponds to a PTT signal, i.e., a Talk transmission signal, and is used to realize a conversation similar to an interphone between terminals; in the embodiment of the application, talkback voice is sent when the PTT signal is at a low level;
a travel Switch (SQ) corresponding to the SQ signal, wherein the SQ signal is a received voice effective signal; in the embodiment of the application, when the SQ signal is at a high level, the receiving of the effective talkback voice is indicated to inform the starting of the audio power amplifier and the like;
an Enable (EN) responsible for controlling the input and output of signals, which only outputs when the pin is activated;
bluetooth connection (bluetooth _ LINK, BT _ LINK);
bluetooth Dual Link (BT DL) means that the bluetooth component has two operating modes, namely, a master mode and a slave mode in the embodiment of the present application.
The word "exemplary" is used hereinafter to mean "serving as an example, embodiment, or illustration. Any embodiment described as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments.
The terms "first" and "second" in the following description are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, features defined as "first" and "second" may explicitly or implicitly include one or more features, and in the description of embodiments of the application, unless otherwise indicated, "plurality" means two or more.
The following briefly introduces the design concept of the embodiments of the present application:
at present, in the detection industries of petroleum, coal, metallurgy, chemical industry, environmental monitoring and the like, when on-site detection is carried out, a plurality of devices in a terminal, an interphone, a radio frequency identification device, a positioning device and a gas detection device need to be carried by a detector, and all the devices are mutually independent.
Obviously, mutual independence between a plurality of equipment, inconvenient carrying and unified operation reduce the equipment ease for use, further reduce work efficiency.
In view of the above, embodiments of the present application provide a back splint and a terminal, in which at least one entity component of an intercom component, a radio frequency identification component, a positioning component and a gas detection component is integrated; at this time, at least one extended function among a talk-back function, a radio frequency tag identification function, a positioning function, and a gas detection function is realized in the back splint. That is to say, in surveying the trade, will survey the function integration of at least one equipment that the operation in-process need carry in the back splint, only need at this moment carry terminal and back splint can, conveniently carry.
The terminal and the back clip can be disassembled and spliced; exemplarily, in a working environment, the terminal and the back clip are spliced, that is, the back clip is installed on the terminal, so that the extension functions of talkback, radio frequency identification, positioning, gas detection and the like are realized, and meanwhile, data transmission is performed between the terminal and the back clip, so that unified operation is realized; under the non-working environment, the back clip is detached from the terminal, and the terminal is a common communication terminal at the moment; the usability is improved.
Therefore, according to the back clip and the terminal provided by the embodiment of the application, at least one expansion function of a talkback function, a radio frequency identification function and a gas detection function is realized in the back clip; the back clip performs data interaction with the terminal, and transmits data information associated with at least one entity component to the terminal when monitoring a control instruction sent by the terminal aiming at the at least one entity component and/or determining that the back clip meets a data transmission condition associated with the at least one entity component, so that the terminal controls the working state of at least one functional device associated with the terminal based on the data information; when detecting the during operation, only need carry back splint and terminal, conveniently carry, and can carry out data interaction when satisfying data transmission between terminal and the back splint, realize the operation unified to the extended function in the back splint, the lifting means ease of use guarantees terminal operating condition's accuracy, provides work efficiency.
In a possible implementation mode, when the talkback function is realized, talkback voice under three voice scenes of wired earphones, Bluetooth earphones and hands-free devices is realized, and free switching is realized with public network conversation voice of the terminal, so that the problem that the public network and talkback integrated terminal does not support the talkback of the Bluetooth earphones is solved.
In a possible implementation mode, when a radio frequency identification function, a gas detection function and a positioning function are realized, different working modes of the terminal are set according to the monitored gas concentration, namely, corresponding explosion-proof settings such as current and voltage limiting are carried out, so that the performance of the terminal is ensured in a common scene, the safety of the terminal is ensured in an explosive environment, and the terminal uploads positioning information to a server, so that the emergency positioning and rescue function is realized, and the safety of detection personnel is ensured.
The following description of the preferred embodiments of the present application with reference to the drawings of the specification is provided to illustrate the application scenarios, which are described below, for the purpose of facilitating understanding of the spirit and principles of the present application, and the embodiments of the present application are not limited in this respect; and the embodiments described below are only for illustrating and explaining the present application, are not intended to limit the present application, and may be combined with each other without conflict.
Referring to fig. 1, fig. 1 exemplarily provides an application scenario diagram in an embodiment of the present application. The application scenario includes the terminal 10 and the back clip 20, and data interaction between the terminal 10 and the back clip 20 is possible.
In a possible implementation manner, the terminal and the back splint are connected through a contact, and a path of UART communication interface and a custom command/data format are adopted to perform data interaction between the terminal and the back splint and transmit TXD communication signals and RXD communication signals; the data interaction process includes transmission of various instructions, for example: a radio frequency tag reading instruction, a positioning data reading instruction and the like; and, the data interaction process also includes the transmission of data information, for example: tag data, location data, etc. In the back clip, the controller in the back clip realizes the distribution of instructions and data of the terminal to each entity component, thereby reducing the number of contacts and improving the reliability.
It should be noted that, the terminal and the back clip are connected through a contact, and the connected signals include, in addition to the TXD communication signal and the RXD communication signal corresponding to the UART communication interface: the talkback component outputs an audio signal, the talkback component outputs an input audio signal, the monitoring back clip access identification signal, the interruption notification of the terminal interruption back clip, the interruption notification of the back clip interruption terminal, the reference ground level signal and the like.
In the embodiment of the present application, the terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a desktop computer, an electronic book reader, an intelligent voice interaction device, an intelligent appliance, a vehicle-mounted terminal, and the like.
In this embodiment, when the terminal is a mobile phone, the structure of the terminal may refer to fig. 2, and fig. 2 exemplarily provides a structure diagram of a terminal in this embodiment; the terminal includes: a communication assembly 110, a memory 120, a display unit 130, a camera 140, a sensor 150, an audio circuit 160, a bluetooth module 170, a processor 180, and the like.
The communication component 110 includes a communication interface for data interaction with the back clip. In some embodiments, the communication component 110 may further include a Wireless Fidelity (WiFi) module, where the WiFi module belongs to a short-distance Wireless transmission technology, and the electronic device transmits and receives information through the WiFi module.
The memory 120 may be used to store software programs and data. The processor 180 performs various functions of the terminal 10 and data processing by executing software programs or data stored in the memory 120. The memory 120 may include high speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. The memory 120 stores an operating system that enables the terminal 10 to operate. The memory 120 may store an operating system and various application programs, and may also store codes for performing the function control method according to the embodiment of the present application.
The display unit 130 may also be used to display a Graphical User Interface (GUI) for displaying information input by or provided to the User and various menus of the terminal 10. Specifically, the display unit 130 may include a display screen 132 disposed on the front surface of the terminal 10. The display screen 132 may be configured in the form of a liquid crystal display, a light emitting diode, or the like. The display unit 130 can be used to display the tag data, the positioning data, and the like returned by the rfid component in the embodiment of the present application.
The display unit 130 may also be used to receive input numeric or character information and generate signal inputs related to user settings and function control of the terminal 10, and particularly, the display unit 130 may include a touch screen 131 disposed on the front surface of the terminal 10 and may collect touch operations of a user thereon or nearby, such as clicking a button, dragging a scroll box, and the like. In one possible implementation manner, the display unit 130 is configured to receive a start signal triggered by a user for a radio frequency identification (Android Package, APK), receive a start signal triggered by the user for an RTK positioning installation Package, receive a start signal triggered by the user for a DMR talkback installation Package, receive a start signal triggered by the user for a gas detection installation Package, and the like.
The touch screen 131 may cover the display screen 132, or the touch screen 131 and the display screen 132 may be integrated to implement the input and output functions of the terminal 10, and after the integration, the touch screen may be referred to as a touch display screen for short. In the present application, the display unit 130 may display the application programs and the corresponding operation steps.
The camera 140 may be used to capture still images and the user may transmit the images captured by the camera 140 to other devices. The number of the cameras 140 may be one or plural. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a Complementary Metal-Oxide-Semiconductor (CMOS) phototransistor. The light sensing elements convert the light signals into electrical signals which are then passed to the processor 180 for conversion into digital image signals.
The terminal may further comprise at least one sensor 150, such as an acceleration sensor 151, a distance sensor 152, a fingerprint sensor 153, a temperature sensor 154. The terminal may also be configured with other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, light sensors, motion sensors, etc.
The audio circuitry 160, speaker 161, microphone 162 may provide an audio interface between a user and the terminal 10. The audio circuit 160 may transmit the electrical signal converted from the received audio data to the speaker 161, and convert the electrical signal into a sound signal for output by the speaker 161. The terminal 10 may also be provided with a volume button for adjusting the volume of the sound signal. On the other hand, the microphone 162 converts the collected sound signals into electrical signals, which are received by the audio circuit 160 and converted into audio data, which are then output to the communication assembly 110 for transmission to other devices or to the memory 120 for further processing.
The bluetooth module 170 is used for information interaction with other bluetooth devices having bluetooth modules through a bluetooth protocol. For example, the terminal 10 can establish a bluetooth connection with a wearable electronic device (e.g., a smart watch) also equipped with a bluetooth module through the bluetooth module 170, so as to perform data interaction. In this embodiment of the application, the terminal 10 establishes a bluetooth connection with a back folder having a bluetooth function through the bluetooth module 170, and transmits a bluetooth upgrade data instruction to the back folder in a bluetooth manner, so that the back folder performs upgrade update operation on a bluetooth component in the back folder based on the bluetooth upgrade data instruction sent by the terminal.
The processor 180 is a control center of the terminal 10, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the terminal and processes data by running or executing software programs stored in the memory 120 and calling data stored in the memory 120. In some embodiments, processor 180 may include one or more processing units; the processor 180 may also integrate an application processor, which mainly handles operating systems, user interfaces, applications, etc., and a baseband processor, which mainly handles wireless communications. It will be appreciated that the baseband processor described above may not be integrated into the processor 180. The processor 180 may run an operating system, an application program, a user interface display, a touch response, and a function control method according to the embodiment of the present application.
It should be noted that the processor 180 in the terminal 10 is coupled to the display unit 130.
In order to implement function control more accurately on the terminal side, the present application provides a control circuit on the terminal side, and with reference to fig. 3, fig. 3 exemplarily provides a schematic diagram of a control circuit on the terminal side in an embodiment of the present application.
The control circuit comprises a terminal processor, a plurality of analog switches and a current limiting unit, wherein the analog switches and the current limiting unit are connected with the terminal processor;
the other end of the current limiting unit is connected with the battery and used for controlling the output current of the battery;
the plurality of analog switches comprise an analog switch U1 connected with a loudspeaker, an analog switch U6 connected with a microphone, an analog switch U3 and an analog switch U4 connected with wired earphones, and an analog switch U2 and an analog switch U5 which directly control the connection of the terminal 10 and the talkback part of the back clip; when the talkback function is realized in the back clip, the states of the analog switch U2, the analog switch U3, the analog switch U4 and the analog switch U5 are controlled when the hand-free talkback voice is switched with the public network call voice of the terminal; when the switching between the wired earphone talkback voice and the public network conversation voice of the terminal is realized, the states of the analog switch U1, the analog switch U2, the analog switch U5 and the analog switch U6 are controlled; when the Bluetooth headset talkback voice is realized, the Bluetooth module of the terminal is not passed, so that the analog switch U2 and the analog switch U5 are controlled to be in a closed state, an audio channel is switched through the analog switch, the complexity of a software flow is greatly reduced, and the free switching of the public network call voice and the talkback voice of the terminal is realized.
The working state of the current limiting unit can be controlled through the terminal processor, the current limiting unit is controlled to start current limiting work when the gas concentration is determined to exceed the concentration threshold, and otherwise, the current limiting unit is controlled to be in a common working state when the gas concentration is determined not to exceed the concentration threshold; at the moment, the performance of the terminal is guaranteed in a common scene, and the safety of the terminal is guaranteed in dangerous environments such as explosive environment.
In one possible implementation, the analog switch is a two-way single pole double throw switch. And the analog switch is configured to: when SEL is low, COM1 and NC1 are connected, and COM2 and NC2 are connected; when SEL is high, COM1 is connected with NO1, and COM2 is connected with NO 2.
In this embodiment, reference may be made to fig. 4 for the structure of the back clip, fig. 4 exemplarily providing a structural view of a back clip in an embodiment of the present application; this back splint includes: communication module 200, memory 210, bluetooth unit 220, intercom unit 230, rfid unit 240, locating unit 250, gas detection unit 260, power management unit 270, power-on detection unit 280, battery 290, charging interface 2100, controller 2110, and the like.
The communication component 200 includes a communication interface for data interaction with the back clip. In some embodiments, the communication component 200 may further include a Wireless Fidelity (WiFi) module, where the WiFi module belongs to a short-distance Wireless transmission technology, and the electronic device transmits and receives information through the WiFi module.
Memory 210 may be used to store software programs and data. The controller 2110 performs various functions of the back clip 20 and data processing by operating software programs or data stored in the memory 210. The memory 210 may include high speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. The memory 210 stores an operating system that enables the clip back 20 to operate. The memory 210 may store an operating system and codes for performing the function control method according to the embodiment of the present application.
The bluetooth component 220 is used for monitoring whether a bluetooth headset is connected to implement a bluetooth headset intercom function, and for performing information interaction with other bluetooth devices having a bluetooth module through a bluetooth protocol. In this embodiment of the application, the back clip 20 establishes a bluetooth connection with a terminal that also has a bluetooth module through the bluetooth component 220, and switches the working mode of the bluetooth component from the master mode to the slave mode after monitoring a bluetooth upgrade control instruction sent by the terminal; when the Bluetooth component is in the slave mode and a Bluetooth upgrading data instruction transmitted by the terminal in a Bluetooth mode is monitored, upgrading operation is carried out on the Bluetooth component based on the Bluetooth upgrading data instruction.
The intercom component 230 is used to enable the back clip 20 to perform an intercom function.
The rfid component 240 is used to enable the back clip 20 to realize an rfid function, perform a device check, and obtain tag data.
The positioning unit 250 is used to enable the back splint 20 to perform a positioning function and acquire positioning data.
The gas detection unit 260 is used to cause the back clip 20 to perform a gas detection function and acquire a gas concentration.
The power management part 270 serves to manage charging and discharging of the battery 290 and to supply power in the battery 290 to other parts.
The boot detection component 280 is used to monitor the boot of the back-cover, i.e. determine the boot command of the back-cover
The charging interface 2100 is used to connect with a charger of the back clip to charge the battery 290 of the back clip.
The controller 2110 is the control center for the back clip 20 and is connected to various parts of the overall back clip by various interfaces and lines for managing and controlling the other components of the back clip. The controller 2110 performs various functions of the folder and processes data by running or executing software programs stored in the memory 210 and calling data stored in the memory 210. In some embodiments, the controller 2110 may run an operating system and a function control method related to the embodiments of the present application.
In order to more accurately realize function control on the back splint side, the application provides a control circuit on the back splint side, and referring to fig. 5, fig. 5 exemplarily provides a schematic diagram of a control circuit on the back splint side in an embodiment of the application.
Data transmission is carried out between the terminal and the back clip, and in the embodiment of the application, the terminal is connected with the back clip in a working environment, and the implementation mode of function control provided by the application is realized based on the connected terminal and the back clip; therefore, the present application provides a schematic diagram of an overall control circuit for connecting a terminal and a back clip, and refers to fig. 6 to implement a function control method based on the overall control circuit shown in fig. 6.
Referring to fig. 7, fig. 7 exemplarily provides a flowchart of a specific implementation manner of function control in an embodiment of the present application, where the method includes:
and S700, the terminal is successfully connected with the back clip.
In the embodiment of the application, data interaction can be carried out between the terminal and the back clip only after the terminal is successfully connected with the back clip. Therefore, the terminal and the back clip should be guaranteed to be successfully connected before the terminal sends a control command to at least one entity component in the back clip and/or receives data information associated with at least one entity component sent by the back clip.
In step S701, the terminal sends a control command to at least one entity component in the back clip.
Step S702, after receiving a control command sent by the terminal for at least one entity component, the back clip transmits data information associated with the at least one entity component to the terminal.
Illustratively, a terminal sends a radio frequency tag reading instruction to a radio frequency identification component in a back splint, and after receiving the radio frequency tag reading instruction sent by the terminal, the back splint acquires tag data through the radio frequency identification component and transmits the acquired tag data to the terminal;
the terminal sends a positioning data reading instruction to a positioning component in the back clip, and the back clip acquires positioning data through the positioning component after receiving the positioning data reading instruction sent by the terminal and transmits the acquired positioning data to the terminal.
Similarly, the above manner can be adopted for other solid components in the back clip, and the details are not repeated herein.
Step S703, when the back-end determines that the back-end meets the data transmission condition associated with the at least one entity component, transmitting the data information associated with the at least one entity component to the terminal.
Illustratively, when monitoring that the concentration of the gas acquired by the gas detection component reaches a concentration threshold value, the back clip determines that a data transmission condition associated with the gas detection component is met, and sends an interrupt notification to the terminal;
transmitting the connection state of the Bluetooth headset determined by the Bluetooth component connected with the talkback component to the terminal in real time, wherein the connection state of the Bluetooth headset is used for representing whether the Bluetooth headset is accessed into the back splint or not;
regularly transmitting the label data acquired by the radio frequency identification component to a terminal;
and transmitting the positioning data acquired by the positioning component to the terminal at regular time.
Step S704, after receiving the data information, the terminal controls the working state of at least one functional device associated with the terminal based on the data information.
Exemplarily, after receiving a bluetooth headset access notification sent by a back clip, the terminal is controlled to be disconnected from the talkback component, so as to realize the talkback of the bluetooth headset; or the terminal receives a notice that the Bluetooth headset sent by the back clip is not accessed, and controls the microphone of the wired headset to be connected with the output end of the talkback component after monitoring the notice that the wired headset is accessed, and the microphone of the wired headset is connected with the input end of the talkback component so as to realize the talkback of the wired headset; or the terminal receives the notice that the Bluetooth headset sent by the back clip is not accessed, and controls the loudspeaker to be connected with the output end of the talkback component and the microphone to be connected with the input end of the talkback component after monitoring the notice that the wired headset is not accessed, so as to realize hands-free talkback.
For another example, after receiving the tag data returned by the folder, the terminal displays the tag data in the display unit.
For another example, after receiving the positioning data returned by the back clip, the terminal uploads the positioning data to the server.
In another example, after the terminal receives the interrupt notification, the terminal controls the current limiting unit to start the current limiting operation.
The contents described in steps S701 to S702 and step S703 are implemented in two ways, and may be executed independently or synchronously, or step S703 may be executed first and then step S701 to step S702 may be executed during the execution.
In step S700, in order to ensure that the terminal is successfully connected to the back clip and the connection accuracy is ensured, a method for determining that the terminal is successfully connected to the back clip is provided in this embodiment of the present application, and referring to fig. 8, fig. 8 exemplarily provides a flowchart of a method for determining that the terminal is successfully connected to the back clip in this embodiment of the present application.
Step S800, after the terminal monitors a terminal startup instruction, an interface for monitoring a back clip access identification signal is set to be in an input pull-down state.
The interface for monitoring the back splint access identification signal is a DET monitoring interface, and the back splint access identification signal between the back splint and the back splint is set to be in an input pull-down state at the moment, wherein the input pull-down state indicates that the monitoring interface inputs low level under the default condition.
In a possible implementation manner, after the terminal monitors a terminal power-on instruction, except that the back clip access identification signal is set to be in an input pull-down state, other signals are set to be in an output low level through the processor, so that the outer leakage contact is prevented from being electrified.
Step S801, after the back clip monitors a back clip power-on instruction, the back clip of the connection terminal is connected to the interface of the identification signal, and is set to output a high level.
Wherein, the interface of the back clip access identification signal of the connecting terminal is a GPIO2 output interface.
In the embodiment of the application, after the power-on detection component of the back clip detects that the power-on key of the back clip is pressed, the detected power-on instruction of the back clip is confirmed, and the power-on instruction of the back clip is transmitted to the power management component of the back clip, after the power management component receives the power-on instruction of the back clip, power is supplied to the back clip controller, and at the moment, the back clip controller enters a working state.
When the back clip controller enters the working state, the controller configures each interface signal to control and manage the working state of each entity component in the back clip.
Illustratively, besides setting the GPIO2 output interface for connecting the folder access identification signal of the terminal to output high level, each entity component in the folder is controlled and managed according to a default mode:
configuring the GPIO6 output interface enabled by the radio frequency identification component to output low level so as to control the radio frequency identification component in the back clip not to start;
configuring the GPIO3 output interface enabled by the talkback component to output low level so as to control the talkback component in the back clip not to be started;
starting a positioning component through a TXD3 interface and an RXD3 interface to enable the positioning component to be in a working state and obtain positioning data;
initializing an ADC (analog to digital converter) channel for gas transmission, starting a gas detection component, enabling the gas detection component to be in a working state, and detecting the concentration of gas;
the bluetooth enable (BT _ EN) interface is set to output low to control the bluetooth feature in the back clip not to activate.
Step S802, the back clip sends back clip access notice to the terminal.
Illustratively, the back clip sends a high-level signal to the DET monitoring interface of the terminal through the GPIO2 output interface, that is, the back clip sends a back clip access notification to the terminal.
Step S803, after receiving the folder access notification, the terminal determines that there is folder access.
For example, after monitoring a high level input through the DET monitoring interface, the terminal confirms that a back-clip access notification sent by the back clip is received, and determines that the back clip is accessed.
Step S804, the terminal configures and initializes a communication interface with the folder. Wherein, the communication interface is a UART communication interface.
In step S805, the terminal sends a handshake packet to the folder through the communication interface.
Illustratively, the terminal sends the handshake packet to the back-clip through a TXD interface in the UART communication interface.
Step 806, after receiving the handshake data packet sent by the terminal, the back clip feeds back a handshake response data packet to the terminal.
For example, after receiving the handshake data packet sent by the terminal through the RXD0 interface in the UART communication interface, the back splint feeds back a handshake response data packet to the terminal through the TXD0 interface in the UART communication interface.
And step S807, after receiving the handshake response data packet sent by the back clip, the terminal determines to complete the identification and configuration with the back clip.
Illustratively, the terminal receives a handshake response data packet sent by the back clip through an RXD interface in the UART communication interface.
At this time, the terminal and the back clip are successfully accessed, and the terminal can send any instruction to the back clip and receive data information sent by the back clip so as to call at least one entity component in the back clip to realize a corresponding extended function.
In the embodiment of the present application, the back clip includes an intercom component, a radio frequency identification component, a gas detection component, a positioning component, a bluetooth component, and the like, and different physical components are controlled in different manners.
In order to realize accurate control for each entity component, in the embodiment of the application, a set of interaction command packet and data format packet of the terminal and the back folder is customized, so that after the controller of the back folder receives data sent by the terminal, the received data is identified according to the appointed interaction command packet and data format packet, which entity component is controlled is determined, and then distribution and corresponding control are performed on the entity component.
The following embodiments are described in detail with respect to specific implementations of control of each physical component.
Firstly, a control flow of a radio frequency identification function:
referring to fig. 9, fig. 9 exemplarily provides a control flow diagram of an rfid function in an embodiment of the present application, including the following steps:
and step S900, after monitoring that the RFID APK application installed on the terminal is started, the terminal sends a radio frequency identification component starting instruction to the back clamp.
Illustratively, the terminal sends the rfid component start instruction to the back-clip through the TXD interface in the UART communication interface.
In step S901, after the back clip receives a radio frequency identification component start instruction sent by the terminal, the back clip starts the radio frequency identification component.
For example, the controller of the back clip receives a radio frequency identification component start instruction sent by the terminal through an RXD0 interface in the UART communication interface, identifies the radio frequency identification component start instruction, and sets the GPIO6 output interface to output a high level to start the radio frequency identification component after determining that the command is a command for controlling the radio frequency identification component, that is, the radio frequency identification component is in an on state to wait for reading the radio frequency identification tag.
It should be noted that, the back cover may also start the rfid component when the back cover is powered on, and at this time, the steps S900 to S901 do not need to be executed.
Step S902, the back clip feeds back a radio frequency identification component start notification to the terminal to notify that the radio frequency identification component of the terminal has been started successfully.
Illustratively, the controller of the back clip feeds back the rfid component activation notification to the terminal via the TXD0 interface in the UART communication interface.
And step S903, after receiving the starting notice of the radio frequency identification component, the terminal sends a radio frequency tag reading instruction to the back clamp.
Illustratively, the terminal receives a radio frequency identification component start notification through an RXD interface in the UART communication interface; and after monitoring the pressing operation of a soft key for reading the tag in the RFID APK application, the terminal sends a radio frequency tag reading instruction to the controller of the back clamp through a TXD interface in the UART communication interface.
Step S904, after receiving the rf tag reading instruction sent by the terminal, the back clip obtains tag data.
For example, the controller of the back-pack receives a radio frequency tag reading instruction sent by the terminal through an RXD0 interface in the UART communication interface, identifies the radio frequency tag reading instruction, and after determining that the radio frequency tag reading instruction is an instruction for controlling the radio frequency identification component, the controller of the back-pack distributes the radio frequency tag reading instruction to the radio frequency identification component through a TXD2 interface, so that the radio frequency identification component acquires tag data.
And step S905, the back clip feeds the acquired tag data back to the terminal.
Illustratively, the controller of the back clip receives the tag data acquired by the rfid component via the RXD2 interface, and then the controller feeds the tag data back to the terminal.
Step S906, after receiving the tag data, the terminal displays the tag data in the display unit.
Illustratively, the terminal receives the tag data through an RXD interface in the UART communication interface.
Secondly, a control flow of the positioning function:
referring to fig. 10, fig. 10 exemplarily provides a control flow diagram of a positioning function in an embodiment of the present application, including the following steps:
and step S1000, the terminal sends a positioning data reading instruction to the back clip.
For example, the mobile terminal sends the positioning data reading instruction to the back clip through the TXD interface in the UART communication interface at regular time.
Step S1001, after the back clip receives a positioning data reading instruction sent by the terminal, positioning data is obtained.
For example, the controller of the back splint receives a positioning data reading instruction sent by the terminal through an RXD0 interface in the UART communication interface, recognizes the positioning data reading instruction, and after determining that the positioning data reading instruction is an instruction for controlling the positioning component, the controller of the back splint distributes the positioning data reading instruction to the positioning component through a TXD3 interface, so that the positioning component acquires the positioning data.
It should be noted that the positioning component is already set to the activated state according to the default mode when the back clip is powered on. In another possible implementation manner, the positioning component may also be activated together with the rfid component after receiving an activation instruction sent by the terminal.
And step S1002, the back clip feeds back the acquired positioning data to the terminal.
For example, the controller of the back clip receives the positioning data acquired by the positioning component through RXD3, and then the controller feeds back the positioning data to the terminal through TXD0 interface in the UART communication interface.
And step S1003, the terminal reports the positioning data to the server.
Illustratively, the terminal receives the positioning data through a TXD interface in the UART communication interface, and reports the positioning data to the server in time when receiving the positioning data; or periodically reporting the received positioning data to the server.
The positioning data is accurate positioning information obtained through an RTK positioning mode, the accurate positioning information is reported to the server, the position information of the detecting personnel can be accurately monitored in real time, the emergency positioning rescue effect is achieved, and the safety of the detecting personnel is guaranteed.
In a possible implementation manner, the back clip can feed back the positioning data to the terminal at regular time without instruction triggering of the terminal.
Thirdly, a control flow of the gas detection function:
referring to fig. 11, fig. 11 is a control flow chart for providing a gas detection function in the embodiment of the present application, including the following steps:
step S1100, the back clip detects the gas concentration.
Illustratively, the controller of the back clip acquires the gas concentration detected by the gas detection component through the ADC interface.
It should be noted that the gas detection component may be started in a default mode when the back clip is started; the back clip may be activated after receiving an opening instruction for the gas detection unit sent from the terminal.
In step S1101, the back clip compares the detected gas concentration with a preset concentration threshold.
Step S1102, when it is determined that the monitored gas concentration exceeds the concentration threshold, the back clip sends an interrupt notification to the terminal.
Illustratively, when the controller of the back clip determines that the monitored gas concentration exceeds the concentration threshold, an interrupt notification is sent to the terminal through the GPIO1 output interface.
Step S1103, after receiving the interrupt notification sent by the back clip, the terminal controls the current limiting unit to start current limiting operation.
In a possible implementation manner, the interruption notification carries warning information that the gas concentration exceeds the concentration threshold, and when the terminal determines that the interruption notification carries the warning information that the gas concentration exceeds the concentration threshold, the terminal controls the current limiting unit to start the current limiting operation.
In another possible implementation manner, after receiving the interrupt notification, the terminal sends interrupt source reading information to the back-clip through a TXD interface in the UART communication interface, and receives an alarm, which is returned by the back-clip and is caused by the gas concentration exceeding a concentration threshold, through an RXD interface in the UART communication interface, and then controls the current limiting unit to start current limiting operation.
In the application, the terminal controls the current limiting unit to start the current limiting operation, so that the current limiting unit works in a current limiting working state, the maximum power consumption of the terminal is limited, a flash lamp and high-power-consumption applications are limited, and the terminal works in an explosion-proof state.
In another implementation, the current limiting unit is placed in a normal operation mode when the terminal determines that the gas concentration does not exceed the concentration threshold.
It should be noted that, in the embodiment of the present application, the terminal may periodically send a gas concentration reading instruction to the back clamp, and when it is determined that the gas concentration exceeds the concentration threshold, the current limiting unit is controlled to start the current limiting operation; or, the back clip periodically sends the gas concentration to the terminal, and when the terminal determines that the gas concentration exceeds the concentration threshold, the current limiting unit is controlled to start the current limiting operation.
Fourthly, controlling the talkback function:
referring to fig. 12, fig. 12 is a control flow chart for providing an intercom function in the embodiment of the present application, including the following steps:
and step S1200, after monitoring that the talkback APK application installed on the terminal is started, the terminal sends a talkback component starting instruction to the back clip.
Illustratively, the terminal sends the talkback component start instruction to the back clip through a TXD interface in the UART communication interface.
In a possible implementation manner, after the terminal is successfully connected with the back clip, the terminal waits for public network communication or talkback voice, specifically, after the terminal monitors that the talkback APK application installed on the terminal is started, the terminal determines to enter the talkback voice, if the talkback APK application is not monitored to be started, the terminal switches an audio channel to a public network communication channel, and switches the audio to a corresponding channel according to the monitored connection state of the wired earphone and the bluetooth earphone.
And step S1201, after the back clip receives the talkback part starting instruction sent by the terminal, starting the talkback part and the Bluetooth part.
Illustratively, a controller of the back splint receives an intercom component starting instruction sent by a terminal through an RXD0 interface in a UART communication interface, identifies the intercom component starting instruction, and sets an output interface of a GPIO3 to output high level to start the intercom component after determining that the intercom component starting instruction is an instruction for controlling the intercom component, namely the intercom component is in an on state; meanwhile, BT _ EN is set to be high level so as to start the Bluetooth component, and the Bluetooth component is in a state of waiting for connection of the Bluetooth headset after being started.
It should be noted that, the back clip may also start the intercom component and the bluetooth component when the device is powered on, and at this time, the steps S1200 to S1201 do not need to be executed.
And step S1202, the back clip sends the connection state of the Bluetooth headset to the terminal.
Illustratively, the controller of the back splint transmits the connection state of the bluetooth headset determined by the bluetooth component connected with the intercom component to the terminal in real time through the TXD0 interface in the UART communication interface, so that the terminal controls the connection mode of the terminal and the intercom component, wherein the connection state of the bluetooth headset is used for representing whether the back splint has the bluetooth headset to be connected.
Step S1203, the terminal determines the earphone access condition based on the received connection status of the bluetooth earphone and the monitored wired earphone access status.
At this time, there are three access situations, namely bluetooth headset access, wired headset access, and no bluetooth headset or wired headset access, and the connection modes between the terminal and the intercom component are all different under the three access situations, which refer to steps S1204 to S1205 specifically.
And step S1204, the terminal monitors that the earphone is not accessed to notify, controls the loudspeaker to be connected with the output end of the talkback part of the back clip, and controls the microphone to be connected with the input end of the talkback part of the back clip.
The earphone is not accessed to inform the representation terminal that no wired earphone is accessed, and the back clip is not accessed to the Bluetooth earphone.
When the terminal does not monitor the access of the wired earphone and does not receive the notice of the back clip that the Bluetooth earphone is accessed or does not receive the notice of the back clip that the Bluetooth earphone is accessed, the speaker and the microphone of the terminal are adopted to realize the talkback voice.
At the moment, the terminal sets the output interface of the GPIO12 to output low level, controls the COM1 and NC1 in the analog switch U2 to be connected and controls the COM2 and NC2 to be connected; the GPIO10 is set to be high level, COM1 in the analog switch U1 is controlled to be connected with NO1, and COM2 is controlled to be connected with NO 2; at this time, the speaker of the terminal is switched to the output voice (AU _ OUT) path of the intercom component on the back clip for receiving the intercom voice. Meanwhile, the GPIO14 is set to be low level, the COM1 in the analog switch U2 is controlled to be connected with the NC1, and the COM2 is controlled to be connected with the NC 2; the GPIO11 is set to be high level, COM1 in the analog switch U6 is controlled to be connected with NO1, and COM2 is controlled to be connected with NO 2; at this time, the microphone of the terminal is switched to the audio input (AU _ IN) path of the intercom component on the back clip for sending the intercom voice. Referring to fig. 13, fig. 13 exemplarily provides a schematic diagram of a control circuit when a back clip implements a talk-back function through a speaker and a microphone in an embodiment of the present application.
And S1205, the terminal monitors the wired earphone access notification, and the Bluetooth earphone does not access the notification, so that the microphone of the wired earphone is controlled to be connected with the output end of the talkback part, and the microphone of the wired earphone is connected with the input end of the talkback part.
When the terminal monitors that the wired earphone is accessed, and does not receive the back clip to inform that the Bluetooth earphone is accessed, or receives the back clip to inform that the Bluetooth earphone is not accessed, the microphone and the microphone of the wired earphone are adopted to realize the talkback voice.
At the moment, the terminal sets the output interface of the GPIO12 to output high level, and controls the COM1 and the NO1 in the analog switch U2 to be connected and controls the COM2 and the NO2 to be connected; the GPIO13 is set to be high level, COM1 in the analog switch U3 is controlled to be connected with NO1, and COM2 is controlled to be connected with NO 2; at this time, the microphone of the wired earphone is switched to the output voice (AU _ OUT) path of the intercom component on the back clip for receiving the intercom voice. Meanwhile, GPIO14 is set to be high level, COM1 in the analog switch U5 is controlled to be connected with NO1, and COM2 is controlled to be connected with NO 2; the GPIO15 is set to be high level, COM1 in the analog switch U4 is controlled to be connected with NO1, and COM2 is controlled to be connected with NO 2; at this time, the microphone of the wired earphone is switched to the audio input (AU _ IN) path of the intercom component on the back clip for sending the intercom voice. Referring to fig. 14, fig. 14 exemplarily provides a schematic diagram of a control circuit when a back clip implements a talk-back function through a wired headset in an embodiment of the present application.
And step S1206, if the terminal monitors the Bluetooth headset access notification, the terminal is controlled to be disconnected with the talkback component of the back clip.
When monitoring that the Bluetooth component on the back clip has standard Bluetooth headset access, the Bluetooth component automatically pairs with the Bluetooth headset, namely, the Bluetooth headset model preset through a Bluetooth chip, and after the Bluetooth component successfully pairs, the Bluetooth component informs the controller of the back clip through a BT _ LINK signal, the controller transmits the information of the Bluetooth headset connection back clip to the terminal through a TXD0 interface, and the terminal monitors the Bluetooth headset access notification at the moment. And after monitoring the Bluetooth headset access notification sent by the back clip, closing the analog switch U2 and the analog switch U5, namely connecting COM1 and COM2 IN the analog switches U2 and U5 with NO1 and NO2, and connecting NC1 and NC2 to cut off audio channels of the talkback component and the terminal, wherein the output audio (AU _ OUT) of the talkback component is connected to LINE _ IN (input audio) of the Bluetooth component, the input audio (AU _ IN) of the talkback component is connected to LINE _ OUT (output audio) of the Bluetooth component, and the talkback voice is transmitted through the Bluetooth headset. Referring to fig. 15, fig. 15 exemplarily provides a schematic diagram of a control circuit when a back clip implements a talk-back function through a bluetooth headset in an embodiment of the present application.
It should be noted that, after the terminal receives the bluetooth headset access notification sent by the folder, the terminal is notified that the bluetooth module is not connected to the bluetooth headset, so as to avoid voice collision. When it is determined that the talk-back function is not used, the bluetooth module of the terminal may be connected to the bluetooth headset.
In a possible implementation manner, after the bluetooth component of the back clip is connected to the bluetooth headset, the connection state of the bluetooth headset is also monitored in real time, and after the disconnection of the bluetooth headset is determined, the bluetooth component sends a notification to the controller of the back clip, and the controller sends a notification that the bluetooth headset is not connected or the bluetooth headset is disconnected to the terminal. When the terminal receives the notice that the Bluetooth headset is not connected or the Bluetooth headset is disconnected, which is sent by the back clip, the analog switch U2 and the analog switch U5 are turned on, and the default state is restored.
In the embodiment of the application, the talkback PTT key is placed on the terminal, when the talkback function is used, the PTT key is pressed down when talkback voice is to be sent, the terminal monitors that the information of the key is pressed down by a serial port after the PTT key is pressed down, the GPIO4 is set to be low level after the information is received by the controller of the back clip, the terminal is used for starting the talkback voice sending, and if the terminal is in the talkback mode of the Bluetooth headset, the controller of the back clip synchronously sets the PTT (BT) to be low level to inform the Bluetooth component of starting the talkback voice sending path.
Set up the high level with the SQ signal when the effectual speech signal is received to the module of talkbacking, the back splint passes through the controller and gives the terminal with this information transfer, and the terminal is opened speaker or earphone and is enabled for receive the pronunciation of talkbacking. If the Bluetooth headset is in the talkback mode, the controller on the back clip sets SQ (BT) to high level for informing the Bluetooth component to start a voice receiving path.
In the application, at least one expansion function of a talkback function, a radio frequency identification function and a gas detection function is realized in the back clip; the back clip performs data interaction with the terminal, and transmits data information associated with at least one entity component to the terminal when monitoring a control instruction sent by the terminal aiming at the at least one entity component and/or determining that the back clip meets a data transmission condition associated with the at least one entity component, so that the terminal controls the working state of at least one functional device associated with the terminal based on the data information; when detecting the during operation, only need carry back splint and terminal, conveniently carry, and can carry out data interaction when satisfying data transmission between terminal and the back splint, realize the operation unified to the extended function in the back splint, the lifting means ease of use guarantees terminal operating condition's accuracy, provides work efficiency.
Fifthly, upgrading the Bluetooth part and controlling the process:
referring to fig. 16, fig. 16 exemplarily provides a control flow chart for upgrading a bluetooth component in a back clip in an embodiment of the present application, including the following steps:
and step S1600, after the terminal monitors that the upgrading APK application of the Bluetooth component installed on the terminal is started, upgrading a control instruction to the back clip Bluetooth.
Illustratively, the terminal sends a bluetooth upgrade control command to the cradle through a TXD interface in the UART communication interface.
Step S1601, after receiving the Bluetooth upgrading control instruction sent by the terminal, the back splint switches the working mode of the Bluetooth component from the master mode to the slave mode.
For example, the controller of the folder receives a folder bluetooth upgrade control instruction sent by the terminal through an RXD0 interface in the UART communication interface, recognizes the folder bluetooth upgrade control instruction, and sets the BT _ DL signal to a high level after determining that the folder bluetooth upgrade control instruction is an instruction for controlling the bluetooth component to upgrade, so that the bluetooth component changes the operating mode from the master mode to the slave mode when monitoring the high level.
And step S1602, the terminal is connected with the back clip in a Bluetooth mode.
At this moment, the working mode of the Bluetooth module in the terminal is a master mode, the terminal can be connected to the Bluetooth component of the back splint through Bluetooth, and at this moment, the software of the Bluetooth component of the back splint can be upgraded through Bluetooth connection.
Step S1603, the terminal transmits a Bluetooth upgrading data instruction to the back folder in a Bluetooth mode.
At this moment, the terminal directly transmits the Bluetooth upgrading data instruction to the Bluetooth component of the back splint in a Bluetooth mode.
And step S1604, the back clip upgrades the Bluetooth component based on the Bluetooth upgrade data instruction.
It should be noted that, after the back clip switches the working mode of the bluetooth component from the master mode to the slave mode, the back clip may feed back a notification that the working mode has been switched to the terminal, so as to notify the terminal that the back clip can be connected in a bluetooth manner; the terminal can also not be fed back with the notification that the working mode is switched, and the terminal determines whether the Bluetooth of the back clip can be connected or not in a self-scanning mode and directly connects after the connection is determined.
Still realized bluetooth function in the back splint to support bluetooth headset pronunciation of talkbacking, still need upgrade the bluetooth part in the back splint in order to guarantee the accuracy of bluetooth part work in the back splint simultaneously. After monitoring a Bluetooth upgrading control instruction sent by the terminal, the controller switches the working mode of the Bluetooth component from a master mode to a slave mode, and when monitoring a Bluetooth upgrading data instruction transmitted by the terminal in a Bluetooth mode when the Bluetooth component is in the slave mode, the controller upgrades the Bluetooth component based on the Bluetooth upgrading data instruction to realize the upgrading operation of the Bluetooth component and ensure the working accuracy of the Bluetooth component in the back splint.
Next, the function control method provided in the embodiment of the present application will be separately described with respect to the terminal side and the clip side.
Referring to fig. 17, fig. 17 exemplarily provides a flowchart of a method for controlling a function of a back splint side in an embodiment of the present application, including the following steps:
step S1700, when monitoring a control command sent by the terminal for at least one entity component and/or determining that the terminal itself satisfies a data transmission condition associated with the at least one entity component, acquiring data information associated with the at least one entity component, where the entity component includes: at least one of a talkback component, a radio frequency identification component, a gas detection component and a positioning component;
step S1701, transmitting the data information to the terminal so that the terminal controls an operating state of at least one functional device associated with the terminal based on the data information.
In a possible implementation manner, when a radio frequency tag reading instruction sent by a terminal aiming at a radio frequency identification component is monitored, the tag data obtained by the radio frequency identification component is transmitted to the terminal, so that the terminal displays the tag data through a display unit; and/or
When monitoring that the terminal reads the instruction aiming at the positioning data sent by the positioning component, the positioning data obtained by the positioning component is transmitted to the terminal, so that the terminal uploads the positioning data to the server.
In a possible implementation manner, when the concentration of the gas acquired by the gas detection component is monitored to reach a concentration threshold, an interruption notice is sent to the terminal, so that the terminal controls the current limiting unit to start current limiting work; and/or
The Bluetooth headset connection state determined by the Bluetooth component connected with the talkback component is transmitted to the terminal in real time so that the terminal controls the connection mode of the Bluetooth headset and the talkback component, wherein the Bluetooth headset connection state is used for representing whether the Bluetooth headset is connected into the back clip or not; and/or
The tag data acquired by the radio frequency identification component is transmitted to the terminal at regular time, so that the terminal displays the tag data through the display unit; and/or
And the positioning data acquired by the positioning component is transmitted to the terminal at regular time, so that the terminal uploads the positioning data to the server.
In one possible implementation, the bluetooth module is upgraded by:
after monitoring a Bluetooth upgrading control instruction sent by a terminal, switching the working mode of a Bluetooth component from a master mode to a slave mode;
when the Bluetooth component is in the slave mode and a Bluetooth upgrading data instruction transmitted by the terminal in a Bluetooth mode is monitored, upgrading operation is carried out on the Bluetooth component based on the Bluetooth upgrading data instruction.
In a possible implementation manner, before monitoring a control instruction sent by the terminal for the at least one entity component and/or determining that the terminal satisfies a data transmission condition associated with the at least one entity component, the method further includes:
and when a handshake data packet returned by the terminal based on the back-clip access notification is monitored, a handshake response data packet is returned to the terminal, and the back clip and the terminal are determined to be successfully connected.
In a possible implementation manner, before monitoring a control instruction sent by a terminal for at least one entity component and/or determining that the terminal satisfies a data transmission condition associated with the at least one entity component, the at least one entity component is started by:
after monitoring a back splint starting-up instruction through the power management part, starting the radio frequency identification part and the gas detection part according to a default mode; and/or
After the back clip is successfully connected with the terminal, a starting instruction sent by the terminal aiming at least one entity component is monitored, and the corresponding entity component is started according to the starting instruction.
Referring to fig. 18, fig. 18 exemplarily provides a flowchart of a method for controlling a terminal-side function in an embodiment of the present application, including the following steps:
step S1800, monitoring data information associated with at least one entity component sent by a back-pack, where the data information is sent by the back-pack when the back-pack monitors a control command for the at least one entity component sent by a terminal and/or determines that the back-pack satisfies a data transmission condition associated with the at least one entity component, and the entity component includes: at least one of a talkback component, a radio frequency identification component, a gas detection component and a positioning component;
step S1801, controlling the working state of at least one functional device associated with the terminal based on the data information.
In a possible implementation manner, if the intercom component start notification sent by the back clip is received and the earphone non-access notification is monitored, the speaker is controlled to be connected with the output end of the intercom component, the microphone is connected with the input end of the intercom component, wherein the earphone non-access notification represents that: the terminal has no wired earphone access, and the back clip has no Bluetooth earphone access; or
If the talkback component starting notice sent by the back clip is received, the wired earphone access notice is monitored, and the Bluetooth earphone does not access the notice, controlling a microphone of the wired earphone to be connected with the output end of the talkback component, and controlling a microphone of the wired earphone to be connected with the input end of the talkback component; or
And if the talkback component starting notice sent by the back clip is received and the Bluetooth headset access notice sent by the back clip is monitored, the control terminal is disconnected with the talkback component.
In a possible implementation mode, after the radio frequency application is monitored to be started and a radio frequency part starting notice returned by the back clamp is received, a radio frequency tag reading instruction is sent to the back clamp, and tag data returned by the back clamp is displayed in a display unit; and/or
And after the positioning application is monitored to be started and a positioning component starting notice returned by the back clamp is received, sending a positioning data reading instruction to the back clamp and uploading the positioning data returned by the back clamp to a server.
In a possible implementation mode, after an interruption notice sent by a back clip is monitored, a current limiting unit is controlled to start current limiting work; or
And after monitoring an interruption notice sent when the concentration of the gas in the back clamp exceeds a concentration threshold value, controlling the current limiting unit to start current limiting work.
Based on the same inventive concept as the above method embodiment of the present application, the embodiment of the present application further provides a function control apparatus, and the principle of the function control apparatus to solve the problem is similar to the function control method at the terminal side in the above embodiment, so the implementation of the apparatus can refer to the implementation of the function control method at the terminal side, and repeated details are not repeated.
Referring to fig. 19, fig. 19 exemplarily provides a function control apparatus 1900 according to an embodiment of the present application, where the function control apparatus 1900 includes:
an obtaining unit 1910, configured to obtain data information associated with at least one entity component when monitoring a control instruction sent by a terminal for the at least one entity component and/or determining that the terminal satisfies a data transmission condition associated with the at least one entity component, where the entity component includes: at least one of a talkback component, a radio frequency identification component, a gas detection component and a positioning component;
the transmitting unit 1920 is configured to transmit the data information to the terminal, so that the terminal controls an operating state of at least one functional device associated with the terminal based on the data information.
In a possible implementation manner, the transmission unit 1920 is specifically configured to:
when a radio frequency tag reading instruction sent by the radio frequency identification component by the terminal is monitored, transmitting the tag data acquired by the radio frequency identification component to the terminal so that the terminal can display the tag data through the display unit; and/or
When monitoring that the terminal reads the instruction aiming at the positioning data sent by the positioning component, the positioning data obtained by the positioning component is transmitted to the terminal, so that the terminal uploads the positioning data to the server.
In a possible implementation manner, the transmission unit 1920 is specifically configured to:
when the concentration of the gas obtained by the gas detection component is monitored to reach a concentration threshold value, sending an interruption notice to the terminal so that the terminal controls the current limiting unit to start current limiting work; and/or
The Bluetooth headset connection state determined by the Bluetooth component connected with the talkback component is transmitted to the terminal in real time so that the terminal controls the connection mode of the Bluetooth headset and the talkback component, wherein the Bluetooth headset connection state is used for representing whether the Bluetooth headset is connected into the back clip or not; and/or
The tag data acquired by the radio frequency identification component is transmitted to the terminal at regular time, so that the terminal displays the tag data through the display unit; and/or
And the positioning data acquired by the positioning component is transmitted to the terminal at regular time, so that the terminal uploads the positioning data to the server.
In one possible implementation, the bluetooth module is upgraded by:
after a Bluetooth upgrading control instruction sent by a terminal is monitored, switching the working mode of a Bluetooth component from a master mode to a slave mode;
when the Bluetooth component is in the slave mode and a Bluetooth upgrading data instruction transmitted by the terminal in a Bluetooth mode is monitored, upgrading operation is carried out on the Bluetooth component based on the Bluetooth upgrading data instruction.
In a possible implementation manner, before monitoring a control instruction sent by the terminal for at least one entity component and/or determining that the terminal satisfies a data transmission condition associated with at least one entity component, the obtaining unit 1910 is further configured to:
and when a handshake data packet returned by the terminal based on the back-clip access notification is monitored, a handshake response data packet is returned to the terminal, and the back clip and the terminal are determined to be successfully connected.
In a possible implementation manner, before monitoring a control instruction sent by the terminal for at least one entity component and/or determining that the terminal itself meets a data transmission condition associated with the at least one entity component, the obtaining unit 1910 starts the at least one entity component by:
after monitoring a back splint starting-up instruction through the power management part, starting the radio frequency identification part and the gas detection part according to a default mode; and/or
After the back clip is successfully connected with the terminal, a starting instruction sent by the terminal aiming at least one entity component is monitored, and the corresponding entity component is started according to the starting instruction.
Based on the same inventive concept as the above method embodiment of the present application, the embodiment of the present application further provides a function control device, and the principle of the function control device to solve the problem is similar to the function control method on the back-clip side in the above embodiment, so the implementation of the device can refer to the implementation of the function control method on the terminal side, and repeated details are not repeated.
Referring to fig. 20, fig. 20 exemplarily provides a function control apparatus 2000 in an embodiment of the present application, where the function control apparatus 2000 includes:
a monitoring unit 2010, configured to monitor data information sent by a back clip and associated with at least one entity component, where the data information is sent by the back clip when the back clip monitors a control instruction sent by a terminal and addressed to the at least one entity component, and/or determines that the back clip satisfies a data transmission condition associated with the at least one entity component, and the entity component includes: at least one of a talkback component, a radio frequency identification component, a gas detection component and a positioning component;
the control unit 2020 is configured to control an operating state of at least one functional device associated with the terminal based on the data information.
In one possible implementation, the control unit 2020 is specifically configured to:
if the talkback component starting notice sent by the back clip is received and the notice that the earphone is not accessed is monitored, the loudspeaker is controlled to be connected with the output end of the talkback component, the microphone is connected with the input end of the talkback component, wherein the notice that the earphone is not accessed is characterized: the terminal has no wired earphone access, and the back clip has no Bluetooth earphone access; or
If the talkback component starting notice sent by the back clip is received, the wired earphone access notice is monitored, and the Bluetooth earphone does not access the notice, controlling a microphone of the wired earphone to be connected with the output end of the talkback component, and controlling a microphone of the wired earphone to be connected with the input end of the talkback component; or
If the talkback component starting notice sent by the back clip is received and the Bluetooth headset access notice sent by the back clip is monitored, the control terminal is disconnected with the talkback component.
In one possible implementation, the control unit 2020 is specifically configured to:
after the radio frequency application is monitored to be started and a radio frequency part starting notice returned by the back clip is received, a radio frequency tag reading instruction is sent to the back clip, and tag data returned by the back clip is displayed in a display unit; and/or
And after the positioning application is monitored to be started and a positioning component starting notice returned by the back clamp is received, sending a positioning data reading instruction to the back clamp and uploading the positioning data returned by the back clamp to a server.
In one possible implementation, the control unit 2020 is specifically configured to:
after monitoring an interrupt notification sent by the back clip, controlling the current limiting unit to start current limiting work; or
And after monitoring an interruption notice sent when the concentration of the gas in the back clamp exceeds a concentration threshold value, controlling the current limiting unit to start current limiting work.
In some possible embodiments, the various aspects of the function control method provided by the present application may also be implemented in the form of a program product comprising a computer program for causing a terminal to perform the steps of the function control method at the terminal side according to various exemplary embodiments of the present application described above in this specification when the program product is run on the terminal; and a computer program for causing the back clip to execute the steps of the back clip side function control method according to various exemplary embodiments of the present application described above in the present specification when the program product is run on the back clip.
The program product 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 may be, for example, but 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 include: 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 program product of embodiments of the present application may employ a portable compact disc read only memory (CD-ROM) and include a computer program, and may be run on a computing device. However, the program product of the present application is not limited thereto, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with a command execution system, apparatus, or device.
A readable signal medium may include a propagated data signal with a readable computer program embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with a command execution system, apparatus, or device.
The computer program embodied on the readable 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.
It should be noted that although several units or sub-units of the apparatus are mentioned in the above detailed description, such division is merely exemplary and not mandatory. Indeed, the features and functions of two or more units described above may be embodied in one unit, according to embodiments of the application. Conversely, the features and functions of one unit described above may be further divided into embodiments by a plurality of units.
Further, while the operations of the methods of the present application are depicted in the drawings in a particular order, this does not require or imply that these operations must be performed in this particular order, or that all of the illustrated operations must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (10)

1. A back clip, comprising:
the first communication interface is used for data interaction between the back clip and the terminal;
a controller, configured to transmit data information associated with at least one entity component to the terminal when monitoring a control instruction sent by the terminal for the at least one entity component and/or determining that the terminal satisfies a data transmission condition associated with the at least one entity component, so that the terminal controls an operating state of at least one functional device associated with the terminal based on the data information, where the entity component includes: at least one of a talkback component, a radio frequency identification component, a gas detection component and a positioning component.
2. The back clip of claim 1, wherein the controller is specifically configured to:
when a radio frequency tag reading instruction sent by the radio frequency identification component by the terminal is monitored, transmitting the tag data acquired by the radio frequency identification component to the terminal so that the terminal displays the tag data through a display unit; and/or
When the terminal is monitored to read the positioning data sent by the positioning component, the positioning data acquired by the positioning component is transmitted to the terminal, so that the terminal uploads the positioning data to a server.
3. The back clip of claim 1, wherein the controller is specifically configured to:
when the concentration of the gas acquired by the gas detection component is monitored to reach a concentration threshold value, sending an interruption notice to the terminal so that the terminal controls the current limiting unit to start current limiting work; and/or
Transmitting the connection state of the Bluetooth headset determined by the Bluetooth component connected with the talkback component to the terminal in real time so that the terminal controls the connection mode of the talkback component, wherein the connection state of the Bluetooth headset is used for representing whether the Bluetooth headset is accessed into the back clip; and/or
Regularly transmitting the label data acquired by the radio frequency identification component to the terminal so that the terminal displays the label data through a display unit; and/or
And transmitting the positioning data acquired by the positioning component to the terminal at regular time so that the terminal uploads the positioning data to a server.
4. The back clip of claim 3, wherein the controller upgrades the Bluetooth component by:
after monitoring a Bluetooth upgrading control instruction sent by the terminal, switching the working mode of the Bluetooth component from a master mode to a slave mode;
and when the Bluetooth component is in the slave mode and a Bluetooth upgrading data instruction transmitted by the terminal in a Bluetooth mode is monitored, upgrading the Bluetooth component based on the Bluetooth upgrading data instruction.
5. The back clip of any one of claims 1-4, wherein the controller is further configured to, prior to monitoring a control command sent by the terminal for at least one physical component and/or determining that the terminal itself satisfies a data transmission condition associated with the at least one physical component:
and after monitoring a back-up clip starting-up instruction through a power management part, sending a back-up clip access notification to the terminal, and when monitoring a handshake data packet returned by the terminal based on the back-up clip access notification, returning a handshake response data packet to the terminal and determining that the back-up clip is successfully connected with the terminal.
6. The clip of any of claims 1-4, wherein the controller activates the at least one physical component by, prior to transmitting data information associated with the at least one physical component to the terminal:
after a power management part monitors a back splint starting-up instruction, the radio frequency identification part and the gas detection part are started according to a default mode; and/or
After the back clamp and the terminal are successfully connected, monitoring a starting instruction sent by the terminal aiming at the at least one entity component, and starting the corresponding entity component according to the starting instruction.
7. A terminal, comprising:
the second communication interface is used for data interaction between the back clip and the terminal;
a processor, configured to control an operating state of at least one functional device associated with a terminal based on data information sent by the back-clip when the data information associated with at least one entity component is monitored, where the data information is sent when the back-clip monitors a control instruction sent by the terminal for the at least one entity component and/or determines that the back-clip satisfies a data transmission condition associated with the at least one entity component, and the entity component includes: at least one of a talkback component, a radio frequency identification component, a gas detection component and a positioning component.
8. The terminal of claim 7, wherein the processor is further configured to:
if receiving the intercom part starting notice sent by the back clip and monitoring that the earphone is not accessed to the notice, controlling the loudspeaker to be connected with the output end of the intercom part and the microphone to be connected with the input end of the intercom part, wherein the earphone is not accessed to the notice representation: the terminal has no wired earphone access, and the back clip has no Bluetooth earphone access; or
If the talkback component starting notice sent by the back clip is received, the wired earphone access notice is monitored, and the Bluetooth earphone does not access the notice, controlling a microphone of the wired earphone to be connected with the output end of the talkback component, and connecting a microphone of the wired earphone with the input end of the talkback component; or
And if receiving the starting notice of the talkback part sent by the back clip and monitoring the access notice of the Bluetooth headset sent by the back clip, controlling the terminal to be disconnected with the talkback part.
9. The terminal of claim 7, wherein the processor is further configured to:
after the radio frequency application is monitored to be started and a radio frequency part starting notice returned by the back clip is received, sending a radio frequency tag reading instruction to the back clip and displaying tag data returned by the back clip in a display unit; and/or
And after the situation that the positioning application is started is monitored, and after a positioning component starting notice returned by the back clamp is received, a positioning data reading instruction is sent to the back clamp, and the positioning data returned by the back clamp is uploaded to a server.
10. The terminal of claim 7, wherein the processor is further configured to:
after monitoring an interrupt notification sent by the back clip, controlling a current limiting unit to start current limiting work; or
And controlling the current limiting unit to start current limiting work after monitoring an interruption notice sent when the concentration of the gas in the back clamp exceeds a concentration threshold.
CN202210610386.2A 2022-05-31 2022-05-31 Terminal and back splint Pending CN115022451A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210610386.2A CN115022451A (en) 2022-05-31 2022-05-31 Terminal and back splint

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210610386.2A CN115022451A (en) 2022-05-31 2022-05-31 Terminal and back splint

Publications (1)

Publication Number Publication Date
CN115022451A true CN115022451A (en) 2022-09-06

Family

ID=83071125

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210610386.2A Pending CN115022451A (en) 2022-05-31 2022-05-31 Terminal and back splint

Country Status (1)

Country Link
CN (1) CN115022451A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104516845A (en) * 2014-12-22 2015-04-15 乾润技术有限公司 Function terminal and intelligent terminal data interaction device
WO2016123880A1 (en) * 2015-02-03 2016-08-11 尤奎特科技(深圳)有限公司 Smart terminal accessory system having expandable function
CN107329646A (en) * 2017-06-02 2017-11-07 五邑大学 Software systems and its operating method based on modularization portable power source
CN113613220A (en) * 2021-02-04 2021-11-05 深圳市冠旭电子股份有限公司 Method for inputting instruction to terminal equipment, method and device for receiving instruction

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104516845A (en) * 2014-12-22 2015-04-15 乾润技术有限公司 Function terminal and intelligent terminal data interaction device
WO2016123880A1 (en) * 2015-02-03 2016-08-11 尤奎特科技(深圳)有限公司 Smart terminal accessory system having expandable function
CN107329646A (en) * 2017-06-02 2017-11-07 五邑大学 Software systems and its operating method based on modularization portable power source
CN113613220A (en) * 2021-02-04 2021-11-05 深圳市冠旭电子股份有限公司 Method for inputting instruction to terminal equipment, method and device for receiving instruction

Similar Documents

Publication Publication Date Title
KR102505264B1 (en) Wireless audio output devices
CN112469015B (en) Bluetooth connection method and electronic equipment
WO2021114952A1 (en) Data processing method, terminal device, bluetooth device, and storage medium
US8150318B2 (en) Apparatus for collecting environmental data and method of monitoring environment in real time
EP3209003B1 (en) Information processing device
EP4123444A1 (en) Voice information processing method and apparatus, and storage medium and electronic device
KR100690243B1 (en) Apparatus and method for controlling of the camera in a portable terminal
CN111784335B (en) Analog card management method, analog card management device, storage medium, and electronic apparatus
KR20150126549A (en) Method and apparatus for controlling smart terminal
CN103916975A (en) Network connection management method and device
JP2017513416A (en) Data transmission method, apparatus, facility, program, and recording medium
CA2906854A1 (en) Proximity-based control of media devices
KR20150078263A (en) mobile terminal, and method for operating the same
CN111492678A (en) File transmission method and electronic equipment
CN105468176A (en) Air mouse remote control optimization method and device as well as air mouse remote control
CN210112219U (en) Multi-channel Bluetooth microphone system based on USB control
CN115022451A (en) Terminal and back splint
KR20150009072A (en) Method for controlling operating mode and an electronic device thereof
KR101685361B1 (en) Mobile terminal and operation method thereof
KR101562272B1 (en) Mobile terminal capable of conncting an audio device using short-range communication and operation control method thereof
CN104410755A (en) Intelligent mobile phone with detecting, identifying and learning functions
KR20130142974A (en) An extension interface device for a smart phone
US20210211760A1 (en) Display device and operation method therefor
CN116074793A (en) Bluetooth pairing method, device, system and storage medium
CN216561772U (en) Embedded equipment and millimeter wave-based debugging system

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