CN109698720A - Method, apparatus, mobile terminal and the readable storage medium storing program for executing communicated with monitoring device - Google Patents
Method, apparatus, mobile terminal and the readable storage medium storing program for executing communicated with monitoring device Download PDFInfo
- Publication number
- CN109698720A CN109698720A CN201811598134.2A CN201811598134A CN109698720A CN 109698720 A CN109698720 A CN 109698720A CN 201811598134 A CN201811598134 A CN 201811598134A CN 109698720 A CN109698720 A CN 109698720A
- Authority
- CN
- China
- Prior art keywords
- monitoring device
- lifi
- communicated
- communication
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B10/00—Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
- H04B10/11—Arrangements specific to free-space transmission, i.e. transmission through air or vacuum
- H04B10/114—Indoor or close-range type systems
- H04B10/116—Visible light communication
Abstract
The invention discloses a kind of method, apparatus communicated with monitoring device, mobile terminal and readable storage medium storing program for executing, this method comprises: when the LIFI switch for detecting terminal is in the open state, judge whether there is in can the first monitoring device under LIFI communications status;If it exists in can the first monitoring device under LIFI communications status, LIFI communication is carried out with first monitoring device, to carry out the transmission of information.The present invention solves the low efficiency of existing acquisition for mobile terminal monitor data, the low technical problem of convenient degree.
Description
Technical field
The present invention relates to field of communication technology more particularly to a kind of method, apparatus communicated with monitoring device, mobile terminal
And readable storage medium storing program for executing.
Background technique
Currently, monitoring device is increasingly common, safety and the convenience of family or society are improved, however, to
Monitor data in checking monitoring equipment needs user to open the display screen of monitoring device or by USB from monitoring device
It after downloading monitor data, could view on mobile terminals, it reduce the efficiency that user obtains monitor data.
Summary of the invention
The main purpose of the present invention is to provide a kind of method, apparatus communicated with monitoring device, mobile terminal and readable
Storage medium, it is intended to solve the low efficiency of existing acquisition for mobile terminal monitor data, the low technical problem of convenient degree.
To achieve the above object, the embodiment of the present invention provides a kind of method communicated with monitoring device, described to set with monitoring
The method of standby communication is applied to terminal, and the method communicated with monitoring device includes:
When the LIFI switch for detecting terminal is in the open state, judge whether there is in can be under LIFI communications status
The first monitoring device;
If it exists in can the first monitoring device under LIFI communications status, it is logical to carry out LIFI with first monitoring device
Letter, to carry out the transmission of information.
Optionally, it is described detect LIFI switch it is in the open state when, judge whether there is in can LIFI communication
The first monitoring device step under state includes:
When the LIFI switch for detecting terminal is in the open state, judge whether to detect the default of any monitoring device
The white light source of type camera, wherein the light carrier of LIFI transmission is carried in the preset kind camera;
If detecting the white light source of the preset kind camera of any monitoring device, determination presence is in can LIFI communication
The first monitoring device under state.
Optionally, it is described if it exists in can the first monitoring device under LIFI communications status, set with first monitoring
It is standby to carry out LIFI communication, include: to carry out the transmitting step of information
If it exists in can the first monitoring device under LIFI communications status, obtain the number of first monitoring device;
If the number of first monitoring device is greater than one, returns and choose the company of determination from first monitoring device
The selection interface of the monitoring device connect, to obtain the second monitoring device;
LIFI communication is carried out with second monitoring device, to carry out the transmission of information.
Optionally, described to carry out LIFI communication with second monitoring device, include: to carry out the transmitting step of information
LIFI communication is carried out with second monitoring device, to obtain monitor data from second monitoring device.
Optionally, described to carry out LIFI communication with second monitoring device, to be obtained from second monitoring device request
The monitor data step is taken to include:
It obtains user and executes the first operation information after default first operation on the terminal, wherein the operation letter
It include the information of period in breath;
LIFI communication is carried out according to first operation information and second monitoring device, to set from second monitoring
The monitor data of period described in standby middle request.
Optionally, described to carry out LIFI communication with second monitoring device, include: to carry out the transmitting step of information
LIFI communication is carried out with second monitoring device, with shared monitor data synchronous with second monitoring device.
Optionally, described to carry out LIFI communication with second monitoring device, with synchronous with second monitoring device total
Enjoying monitor data step includes:
It obtains user and executes the second operation information after default second operation on the terminal;
LIFI communication is carried out according to second operation information and second monitoring device, to set with second monitoring
It is standby to synchronize shared monitor data.
The present invention also provides the devices communicated described in a kind of device communicated with monitoring device with monitoring device to be applied to eventually
End, the device communicated with monitoring device include:
Judgment module, for judging whether there is in can when the LIFI switch for detecting terminal is in the open state
The first monitoring device under LIFI communications status;
Communication module, for if it exists in can the first monitoring device under LIFI communications status, with first monitoring
Equipment carries out LIFI communication, to carry out the transmission of information.
Optionally, the judgment module includes:
Judging unit, for judging whether to detect any when the LIFI switch for detecting terminal is in the open state
The white light source of the preset kind camera of monitoring device, wherein the light of LIFI transmission is carried in the preset kind camera
Carrier;
Determination unit determines and exists if the white light source of the preset kind camera for detecting any monitoring device
In can the first monitoring device under LIFI communications status.
Optionally, the communication module includes:
First acquisition unit, for if it exists in can the first monitoring device under LIFI communications status, obtain described the
The number of one monitoring device;
Second acquisition unit returns if the number for first monitoring device is greater than one from first prison
The selection interface chosen in equipment and determine the monitoring device of connection is controlled, to obtain the second monitoring device;
Communication unit, for carrying out LIFI communication with second monitoring device, to carry out the transmission of information.
Optionally, the communication unit includes:
Subelement is obtained, for carrying out LIFI communication with second monitoring device, to obtain from second monitoring device
Take monitor data.
Optionally, the acquisition subelement for realizing:
It obtains user and executes the first operation information after default first operation on the terminal, wherein the operation letter
It include the information of period in breath;
LIFI communication is carried out according to first operation information and second monitoring device, to set from second monitoring
The monitor data of period described in standby middle request.
Optionally, the communication unit includes:
Shared subelement, for carrying out LIFI communication with second monitoring device, with same with second monitoring device
Walk shared monitor data.
Optionally, the shared subelement for realizing:
It obtains user and executes the second operation information after default second operation on the terminal;
LIFI communication is carried out according to second operation information and second monitoring device, to set with second monitoring
It is standby to synchronize shared monitor data.
The present invention also provides a kind of mobile terminal, the mobile terminal includes: memory, processor and is stored in described deposit
On reservoir and the program communicated with monitoring device that can run on the processor, the program quilt communicated with monitoring device
It realizes when the processor executes such as the step of the above-mentioned method communicated with monitoring device.
The present invention also provides a kind of readable storage medium storing program for executing, it is stored on the readable storage medium storing program for executing and communicates with monitoring device
Program is realized when the program communicated with monitoring device is executed by processor such as the above-mentioned method communicated with monitoring device
Step.
The present invention detect terminal LIFI switch it is in the open state when, judge whether there is in can LIFI communication
The first monitoring device under state;If it exists in can the first monitoring device under LIFI communications status, with first monitoring
Equipment carries out LIFI communication, to carry out the transmission of information.In this application, a kind of new acquisition monitoring device monitor data is provided
Mode be provided with LIFI switch namely in the terminal, thus, when LIFI switch is in the open state, communicated by LIFI
Mode in can the first monitoring device under LIFI communications status carry out LIFI communication, to obtain the letter of the first monitoring device
Breath, the transmission without being monitored data by USB again, thus, the acquisition efficiency of monitor data is improved, and obtain
Convenient degree, and then solve the low efficiency of existing acquisition for mobile terminal monitor data, the low technical problem of convenient degree.
Detailed description of the invention
Fig. 1 is the hardware structural diagram of the embodiment of the present invention one optional mobile terminal;
Fig. 2 is the wireless communication device schematic diagram of mobile terminal in Fig. 1;
Fig. 3 is the flow diagram for one embodiment of method that the present invention is communicated with monitoring device;
Fig. 4 is a schematic diagram of a scenario of the method that the present invention is communicated with monitoring device;
Fig. 5 is another schematic diagram of a scenario for the method that the present invention is communicated with monitoring device.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element
Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix
Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, plate
Computer, laptop, palm PC, personal digital assistant (PersonalDigital Assistant, PDA), portable matchmaker
Body player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer etc. are mobile
The fixed terminals such as terminal, and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special
Except element for moving purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware structural diagram of its mobile terminal of each embodiment to realize the present invention, the shifting
Dynamic terminal 100 may include: RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit
103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit
108, the components such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1
Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal may include components more more or fewer than diagram,
Perhaps certain components or different component layouts are combined.
It is specifically introduced below with reference to all parts of the Fig. 1 to mobile terminal:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station
Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101
Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating
Frequency unit 101 can also be communicated with network and other equipment by wireless communication.Any communication can be used in above-mentioned wireless communication
Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications
System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code
Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division
Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code
Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division
Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division
Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102
Sub- mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1 shows
Go out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need
It to omit within the scope of not changing the essence of the invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100
When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is received or
The audio data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103
Audio output relevant to the specific function that mobile terminal 100 executes can also be provided (for example, call signal receives sound, disappears
Breath receives sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor
(Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode
Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out
Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited
Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike
Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042
Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can
To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model.
Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition)
The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear
Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify the application of mobile phone posture
(such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;
The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer,
The other sensors such as hygrometer, thermometer, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap
Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal
Family setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with
And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch operation of user on it or nearby
(for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071
Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection
Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band
The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it
It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can
To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel
1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap
It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc.
It is one or more, specifically herein without limitation.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or
After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing
The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel
1061 be the function that outputs and inputs of realizing mobile terminal as two independent components, but in certain embodiments, it can
The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically
It limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example,
External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing
Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end
Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number
It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with
For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storing software program and various data, and memory 109 can be situated between for a kind of storage of computer
Matter, the memory 109 are stored with the program that the present invention is communicated with monitoring device.Memory 109 can mainly include storing program area
The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection
A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage
Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Such as
Processor 110 executes the program communicated with monitoring device in memory 109, to realize the side of the invention communicated with monitoring device
The step of each embodiment of method.
Processor 110 may include one or more processing units;Optionally, processor 110 can integrate application processor and
Modem processor, wherein the main processing operation system of application processor, user interface and application program etc., modulation /demodulation
Processor mainly handles wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110
In.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, optionally, power supply 111
Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put
The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
Embodiment to facilitate the understanding of the present invention, the communications network system that mobile terminal of the invention is based below into
Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention, the communication network system
System is the LTE system of universal mobile communications technology, which includes UE (User Equipment, the use of successively communication connection
Family equipment) (the land Evolved UMTS Terrestrial Radio Access Network, evolved UMTS 201, E-UTRAN
Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation
204。
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning
Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203,
ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include MME (Mobility Management Entity, mobility management entity) 2031, HSS
(Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way,
Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and
Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and
The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers
Such as the function of home location register (not shown) etc, and preserves some related service features, data rates etc. and use
The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201
Address distribution and other functions, PCRF2036 are strategy and the charging control strategic decision-making of business data flow and IP bearing resource
Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia
System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art should know the present invention is not only
Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with
And the following new network system etc., herein without limitation.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the method for the present invention is proposed.
The present invention provides a kind of method communicated with monitoring device, and the method that should be communicated with monitoring device is mainly used in end
On the especially mobile terminal of end, in one embodiment of method communicated with monitoring device, referring to Fig. 3, communicated with monitoring device
Method includes:
Step S10, when the LIFI switch for detecting terminal is in the open state, judge whether there is in can LIFI it is logical
The first monitoring device under letter state;
Step S20, if it exists in can the first monitoring device under LIFI communications status, with first monitoring device into
Row LIFI communication, to carry out the transmission of information.
Specific step is as follows:
Step S10, when the LIFI switch for detecting terminal is in the open state, judge whether there is in can LIFI it is logical
The first monitoring device under letter state;
In the present embodiment, terminal is provided with LIFI switch, referring to Fig. 5, the LIFI switch of the terminal include open and
Closed state, when the LIFI switch of terminal is in the open state, carrying out can the first monitoring device under LIFI communications status
It searches, namely judges whether there is in can the first monitoring device under LIFI communications status.
When the LIFI switch of terminal is in the open state, carry out can the first monitoring device under LIFI communications status look into
It looks for including following several post processing modes:
Mode one: when the LIFI switch of terminal is in the open state, carrying out can the first monitoring under LIFI communications status
The lookup of equipment searches and obtains i.e. request to communicate after the first monitoring device under LIFI communications status;
Mode two: when the LIFI switch of terminal is in the open state, carrying out can the first monitoring under LIFI communications status
The lookup of equipment searches and obtains carrying out pairing judgement after the first monitoring device under LIFI communications status, to judge first
Whether monitoring device is monitoring device with terminal coupling, if the first monitoring device is the monitoring device with terminal coupling, is asked
Ask communication.
It should be noted that in mode one, searches and obtain asking after the first monitoring device under LIFI communications status
Communication is asked, thus judges whether the first monitoring device operates with the judgement of terminal coupling and is executed in the first monitoring device.And
In mode two, judges whether the first monitoring device is monitoring device with terminal coupling, judge that operation executes in the terminal.
Specifically, when the LIFI switch for detecting terminal is in the open state, judge whether there is in can LIFI it is logical
The first monitoring device step under letter state includes:
Step S11 judges whether to detect that any monitoring is set when the LIFI switch for detecting terminal is in the open state
The white light source of standby preset kind camera, wherein the light carrier of LIFI transmission is carried in the preset kind camera;
Judge whether to detect predetermined luminance when the LIFI switch for detecting terminal is in the open state referring to Fig. 4
White light source, if detecting the white light source of predetermined luminance, based on the white light source carry out can LIFI communication judgement information
Transmission, the judgement information transmission after, then further judge the white light source whether be any monitoring device preset kind
The white light source of camera, specifically, further judge the white light source whether be any monitoring device preset kind camera shooting
The white light source of head includes: to judge whether to receive feedback information of any monitoring device based on the judgement information, if receiving
Any feedback information of the monitoring device based on the judgement information then determines the preset kind camera for detecting any monitoring device
White light source, if not receiving feedback information of any monitoring device based on the judgement information, judgement is not detected any
The white light source of the preset kind camera of monitoring device.
Further judge whether the white light source is that the white light source of preset kind camera of any monitoring device also wraps
It includes: judging whether to receive feedback information of any monitoring device based on the judgement information, if receiving any monitoring device base
In the feedback information of the judgement information, then further determine that whether the model comprising preset kind camera is believed in feedback information
Breath determines the preset kind camera for detecting any monitoring device if the type information comprising preset kind camera
White light source determines the default class that any monitoring device is not detected if not including the type information of preset kind camera
The white light source of type camera.
Wherein, the light carrier namely the preset kind camera of carrying LIFI transmission in the preset kind camera
White light source can be the medium of connection terminal and monitoring device light carrier.
Step S12, if detecting the white light source of the preset kind camera of any monitoring device, determination presence is in can
The first monitoring device under LIFI communications status.
If detecting the white light source of the preset kind camera of any monitoring device, determination presence is in can LIFI communication
The first monitoring device under state determines not if the white light source of the preset kind camera of any monitoring device is not detected
In the presence of in can the first monitoring device under LIFI communications status.It should be noted that the first monitoring device may include one
Or multiple monitoring devices.
Step S20, if it exists in can the first monitoring device under LIFI communications status, with first monitoring device into
Row LIFI communication, to carry out the transmission of information.
In the present embodiment, if it exists in can the first monitoring device under LIFI communications status, with first monitoring
Equipment carries out LIFI communication, to carry out the transmission of information, it should be noted that it is logical to carry out LIFI with first monitoring device
Believe, includes: to carry out the transmission of information
First, terminal transmission conveys information to the first monitoring device, sets for example, terminal sends control information to the first monitoring
It is standby, so that the first monitoring device is received.
The transmission of the second, the first monitoring device conveys information to terminal, for example, the first monitoring device sends monitor data to end
End, so that terminal is received.
It is described if it exists in can the first monitoring device under LIFI communications status, carried out with first monitoring device
LIFI is communicated, and includes: to carry out the transmitting step of information
If it exists in can the first monitoring device under LIFI communications status, it is logical to carry out LIFI with first monitoring device
Letter, and the action type that user is operated at the terminal is obtained, determine that terminal transmission conveys information to according to the action type
First monitoring device or the transmission of the first monitoring device convey information to terminal.
Specifically, when the action type that user is operated at the terminal is the first kind, determine that terminal sends transmission letter
It ceases to the first monitoring device;
When the action type that user is operated at the terminal is Second Type, determine that the first monitoring device sends transmission letter
It ceases to terminal.
The present invention detect terminal LIFI switch it is in the open state when, judge whether there is in can LIFI communication
The first monitoring device under state;If it exists in can the first monitoring device under LIFI communications status, with first monitoring
Equipment carries out LIFI communication, to carry out the transmission of information.In this application, a kind of new acquisition monitoring device monitor data is provided
Mode be provided with LIFI switch namely in the terminal, thus, when LIFI switch is in the open state, communicated by LIFI
Mode in can the first monitoring device under LIFI communications status carry out LIFI communication, to obtain the letter of the first monitoring device
Breath, the transmission without being monitored data by USB again, thus, the acquisition efficiency of monitor data is improved, and obtain
Convenient degree, and then solve the low efficiency of existing acquisition for mobile terminal monitor data, the low technical problem of convenient degree.
Further, another embodiment of method communicated in present invention offer with monitoring device, it is in this embodiment, described
If it exists in can the first monitoring device under LIFI communications status, carry out LIFI communication with first monitoring device, with into
The transmitting step of row information includes:
Step S21, if it exists in can the first monitoring device under LIFI communications status, obtain first monitoring device
Number;
In the present embodiment, the first monitoring device may include multiple monitoring devices, namely there may be multiple monitoring to set
It is standby to meet communication condition, thus, if it exists in can the first monitoring device under LIFI communications status, obtain first monitoring
The number of equipment.
Step S22, if the number of first monitoring device is greater than one, return is selected from first monitoring device
The selection interface for determining the monitoring device connected is taken, to obtain the second monitoring device;
If the number of first monitoring device is greater than one, returns and choose the company of determination from first monitoring device
The selection interface of the monitoring device connect, for user's selection, to obtain the monitoring device of user's selection, by the monitoring of user's selection
Equipment is set as the second monitoring device, if first monitoring device is one, which is set as user and is chosen
The second monitoring device.
Step S23 carries out LIFI communication with second monitoring device, to carry out the transmission of information.
After obtaining the second monitoring device, LIFI communication is carried out with second monitoring device, to carry out the transmission of information.
It should be noted that in the present embodiment, if detect the change directive of the second monitoring device change, the is carried out
The change of two monitoring devices, to be communicated with the second monitoring device after change, to carry out the transmission of information.
Wherein, described to carry out LIFI communication with second monitoring device, include: to carry out the transmitting step of information
Step S231 carries out LIFI communication with second monitoring device, is monitored with obtaining from second monitoring device
Data.
In the present embodiment, terminal obtains monitor data, monitoring money by LIFI communication mode from the second monitoring device
Material is specially pictorial information either video information, wherein when the second monitoring device carries out picture bat at interval of preset time period
When taking the photograph, what terminal obtained is pictorial information, and when the second monitoring device carries out video capture at interval of preset time period, terminal is obtained
What is taken is video information.
In the present embodiment, communicating with second monitoring device progress LIFI can make terminal from the second monitoring device
Middle acquisition monitor data, promotes the convenience that monitor data obtains, and includes the monitor data of each period in the monitor data.
It is described to carry out LIFI communication with second monitoring device, it is provided with being monitored from the second monitoring device request
Expect that step includes:
Step A1 obtains user and executes the first operation information after default first operation on the terminal, wherein is described
It include the information of period in operation information;
In the present embodiment, it after carrying out LIFI communication with second monitoring device, is communicated based on LIFI, obtains user
The first operation information after presetting the first operation is executed on the terminal, includes time segment information in first operation information,
For example, including the 0.00 time segment information on October 2,0.00 to 2018 year on the 1st October in 2018 in the first operation information.
Step A2 carries out LIFI communication according to first operation information and second monitoring device, with from described the
The monitor data of period described in request in two monitoring devices.
LIFI communication is carried out according to first operation information and second monitoring device, to set from second monitoring
The monitor data of period described in standby middle request, for example, according to first operation information and second monitoring device
LIFI communication is carried out, to obtain the monitor data of 0.00 period on October 2,0.00 to 2018 year on the 1st October in 2018.
In the present embodiment, it can also be monitored the acquisition of data according to the demand of user time section, improve the experience of user.
In the present embodiment, by if it exists in can the first monitoring device under LIFI communications status, obtain described the
The number of one monitoring device;If the number of first monitoring device is greater than one, return from first monitoring device
The selection interface for determining the monitoring device of connection is chosen, to obtain the second monitoring device;It is carried out with second monitoring device
LIFI communication, to carry out the transmission of information.In the present embodiment, a kind of more monitoring devices are provided and meet prison under LIFI communication condition
Control data obtains scheme.
Further, another embodiment of method communicated in present invention offer with monitoring device, it is in this embodiment, described
LIFI communication is carried out with second monitoring device, includes: to carry out the transmitting step of information
Step S232 carries out LIFI communication with second monitoring device, with synchronous shared with second monitoring device
Monitor data.
In the present embodiment, terminal and the second monitoring device can be made by communicating with second monitoring device progress LIFI
In share monitor data, promote the reading or browsing convenience of monitor data, include each period in the monitor data
Monitor data.
It is described to carry out LIFI communication with second monitoring device, with shared monitoring money synchronous with second monitoring device
Expect that step includes:
Step B1 obtains user and executes the second operation information after default second operation on the terminal;
Step B2 carries out LIFI communication according to second operation information and second monitoring device, with described the
Two monitoring devices synchronize shared monitor data.
In the present embodiment, sharing monitor data has determining trigger action, and the trigger action of the determination can be phase
To the gesture operation of sliding, thus, as long as detect the gesture operation information of opposite sliding in the second operation information, determine
Carry out shared monitor data, need to illustrate when, shared monitor data refer to when synchronize it is shared.
In the present embodiment, believed by obtaining the second operation that user is executed on the terminal after default second operation
Breath;LIFI communication is carried out according to second operation information and second monitoring device, with same with second monitoring device
Walk shared monitor data.In the present embodiment, realization synchronizes shared monitor data, widened monitor data obtain or when browse
Channel, the user experience is improved.
In addition, the embodiment of the present invention also proposes a kind of device communicated with monitoring device, the dress that should be communicated with monitoring device
It sets and includes:
Judgment module, for judging whether there is in can when the LIFI switch for detecting terminal is in the open state
The first monitoring device under LIFI communications status;
Communication module, for if it exists in can the first monitoring device under LIFI communications status, with first monitoring
Equipment carries out LIFI communication, to carry out the transmission of information.
Optionally, the judgment module includes:
Judging unit, for judging whether to detect any when the LIFI switch for detecting terminal is in the open state
The white light source of the preset kind camera of monitoring device, wherein the light of LIFI transmission is carried in the preset kind camera
Carrier;
Determination unit determines and exists if the white light source of the preset kind camera for detecting any monitoring device
In can the first monitoring device under LIFI communications status.
Optionally, the communication module includes:
First acquisition unit, for if it exists in can the first monitoring device under LIFI communications status, obtain described the
The number of one monitoring device;
Second acquisition unit returns if the number for first monitoring device is greater than one from first prison
The selection interface chosen in equipment and determine the monitoring device of connection is controlled, to obtain the second monitoring device;
Communication unit, for carrying out LIFI communication with second monitoring device, to carry out the transmission of information.
Optionally, the communication unit includes:
Subelement is obtained, for carrying out LIFI communication with second monitoring device, to obtain from second monitoring device
Take monitor data.
Optionally, the acquisition subelement for realizing:
It obtains user and executes the first operation information after default first operation on the terminal, wherein the operation letter
It include the information of period in breath;
LIFI communication is carried out according to first operation information and second monitoring device, to set from second monitoring
The monitor data of period described in standby middle request.
Optionally, the communication unit includes:
Shared subelement, for carrying out LIFI communication with second monitoring device, with same with second monitoring device
Walk shared monitor data.
Optionally, the shared subelement for realizing:
It obtains user and executes the second operation information after default second operation on the terminal;
LIFI communication is carried out according to second operation information and second monitoring device, to set with second monitoring
It is standby to synchronize shared monitor data.
In addition, the embodiment of the present invention also proposes that a kind of mobile terminal, mobile terminal include: memory 109, processor 110
And it is stored in the program communicated with monitoring device that can be run on memory 109 and on processor 110, it is communicated with monitoring device
Program the step of realizing each embodiment of the above-mentioned method communicated with monitoring device when being executed by processor 110.
In addition, the present invention also provides a kind of computer readable storage medium, the computer-readable recording medium storage
Having one, perhaps more than one program the one or more programs can also be by one or more than one processor
The step of executing with embodiment each for realizing the above-mentioned method communicated with monitoring device.
The specific embodiment of mobile terminal and readable storage medium storing program for executing (i.e. computer readable storage medium) of the present invention is opened up
It opens up content and above-mentioned each embodiment of the method communicated with monitoring device is essentially identical, this will not be repeated here.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service
Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form, all of these belong to the protection of the present invention.
Claims (10)
1. a kind of method communicated with monitoring device, which is characterized in that the method communicated with monitoring device is applied to terminal,
The method communicated with monitoring device includes:
When the LIFI switch for detecting terminal is in the open state, judge whether there is in can under LIFI communications status the
One monitoring device;
If it exists in can the first monitoring device under LIFI communications status, carry out LIFI communication with first monitoring device,
To carry out the transmission of information.
2. the method communicated as described in claim 1 with monitoring device, which is characterized in that described to detect at LIFI switch
When open state, judge whether there is in can the first monitoring device step under LIFI communications status include:
When the LIFI switch for detecting terminal is in the open state, judge whether the preset kind for detecting any monitoring device
The white light source of camera, wherein the light carrier of LIFI transmission is carried in the preset kind camera;
If detecting the white light source of the preset kind camera of any monitoring device, determination presence is in can LIFI communications status
Under the first monitoring device.
3. the method communicated as described in claim 1 with monitoring device, which is characterized in that it is described if it exists in can LIFI it is logical
The first monitoring device under letter state carries out LIFI communication with first monitoring device, to carry out the transmitting step packet of information
It includes:
If it exists in can the first monitoring device under LIFI communications status, obtain the number of first monitoring device;
If the number of first monitoring device is greater than one, returns and choose determining connection from first monitoring device
The selection interface of monitoring device, to obtain the second monitoring device;
LIFI communication is carried out with second monitoring device, to carry out the transmission of information.
4. the method communicated as claimed in claim 3 with monitoring device, which is characterized in that described and second monitoring device
LIFI communication is carried out, includes: to carry out the transmitting step of information
LIFI communication is carried out with second monitoring device, to obtain monitor data from second monitoring device.
5. the method communicated as claimed in claim 4 with monitoring device, which is characterized in that described and second monitoring device
LIFI communication is carried out, to include: from the second monitoring device request monitor data step
It obtains user and executes the first operation information after default first operation on the terminal, wherein in the operation information
Information including the period;
LIFI communication is carried out according to first operation information and second monitoring device, from second monitoring device
The monitor data of period described in request.
6. the method communicated as claimed in claim 3 with monitoring device, which is characterized in that described and second monitoring device
LIFI communication is carried out, includes: to carry out the transmitting step of information
LIFI communication is carried out with second monitoring device, with shared monitor data synchronous with second monitoring device.
7. the method communicated as claimed in claim 6 with monitoring device, which is characterized in that described and second monitoring device
LIFI communication is carried out, includes: with shared monitor data step synchronous with second monitoring device
It obtains user and executes the second operation information after default second operation on the terminal;
LIFI communication is carried out according to second operation information and second monitoring device, with same with second monitoring device
Walk shared monitor data.
8. a kind of device communicated with monitoring device, which is characterized in that the device communicated with monitoring device is applied to terminal,
The device communicated with monitoring device includes:
Judgment module, for judging whether there is in can LIFI when the LIFI switch for detecting terminal is in the open state
The first monitoring device under communications status;
Communication module, for if it exists in can the first monitoring device under LIFI communications status, with first monitoring device
LIFI communication is carried out, to carry out the transmission of information.
9. a kind of mobile terminal, which is characterized in that the mobile terminal includes: memory, processor and is stored in the storage
On device and the program communicated with monitoring device that can run on the processor, the program communicated with monitoring device is by institute
State the step of realizing the method communicated with monitoring device as described in any one of claims 1 to 7 when processor executes.
10. a kind of readable storage medium storing program for executing, which is characterized in that be stored with the journey communicated with monitoring device on the readable storage medium storing program for executing
Sequence, when the program communicated with monitoring device is executed by processor realize as described in any one of claims 1 to 7 with prison
The step of controlling the method for equipment communication.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811598134.2A CN109698720A (en) | 2018-12-25 | 2018-12-25 | Method, apparatus, mobile terminal and the readable storage medium storing program for executing communicated with monitoring device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811598134.2A CN109698720A (en) | 2018-12-25 | 2018-12-25 | Method, apparatus, mobile terminal and the readable storage medium storing program for executing communicated with monitoring device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109698720A true CN109698720A (en) | 2019-04-30 |
Family
ID=66232052
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811598134.2A Pending CN109698720A (en) | 2018-12-25 | 2018-12-25 | Method, apparatus, mobile terminal and the readable storage medium storing program for executing communicated with monitoring device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109698720A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113014319A (en) * | 2019-12-19 | 2021-06-22 | Oppo广东移动通信有限公司 | Method and apparatus for controlling communication between electronic devices, electronic device, and medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101448072A (en) * | 2008-12-29 | 2009-06-03 | 北京中星微电子有限公司 | Video viewing method and system of Internet video monitoring system |
US20140218517A1 (en) * | 2012-12-14 | 2014-08-07 | Samsung Electronics Co., Ltd. | Home monitoring method and apparatus |
CN106685528A (en) * | 2017-01-03 | 2017-05-17 | 京东方科技集团股份有限公司 | Monitoring system and monitoring method based on visible light communication |
CN107578591A (en) * | 2017-10-23 | 2018-01-12 | 林楚莲 | A kind of long distance wireless intelligent safety-protection system |
CN207573512U (en) * | 2017-08-29 | 2018-07-03 | 上海罗捷信息系统科技有限公司 | A kind of safety defense monitoring system |
CN108462678A (en) * | 2017-02-21 | 2018-08-28 | 北京视联动力国际信息技术有限公司 | A kind of method and apparatus of checking monitoring video recording |
CN108986394A (en) * | 2018-09-13 | 2018-12-11 | 北京城建十六建筑工程有限责任公司 | A kind of security system for construction area |
-
2018
- 2018-12-25 CN CN201811598134.2A patent/CN109698720A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101448072A (en) * | 2008-12-29 | 2009-06-03 | 北京中星微电子有限公司 | Video viewing method and system of Internet video monitoring system |
US20140218517A1 (en) * | 2012-12-14 | 2014-08-07 | Samsung Electronics Co., Ltd. | Home monitoring method and apparatus |
CN106685528A (en) * | 2017-01-03 | 2017-05-17 | 京东方科技集团股份有限公司 | Monitoring system and monitoring method based on visible light communication |
CN108462678A (en) * | 2017-02-21 | 2018-08-28 | 北京视联动力国际信息技术有限公司 | A kind of method and apparatus of checking monitoring video recording |
CN207573512U (en) * | 2017-08-29 | 2018-07-03 | 上海罗捷信息系统科技有限公司 | A kind of safety defense monitoring system |
CN107578591A (en) * | 2017-10-23 | 2018-01-12 | 林楚莲 | A kind of long distance wireless intelligent safety-protection system |
CN108986394A (en) * | 2018-09-13 | 2018-12-11 | 北京城建十六建筑工程有限责任公司 | A kind of security system for construction area |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113014319A (en) * | 2019-12-19 | 2021-06-22 | Oppo广东移动通信有限公司 | Method and apparatus for controlling communication between electronic devices, electronic device, and medium |
WO2021121083A1 (en) * | 2019-12-19 | 2021-06-24 | Oppo广东移动通信有限公司 | Communication control method and apparatus between electronic devices, electronic devices and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108391025A (en) | A kind of network access management method, mobile terminal and computer readable storage medium | |
CN107343083A (en) | One kind lifting game experiencing method, apparatus and computer-readable recording medium | |
CN109151169A (en) | Camera right management method, mobile terminal and computer readable storage medium | |
CN108345426A (en) | A kind of terminal control method, terminal and computer readable storage medium | |
CN109195213A (en) | Mobile terminal screen control method, mobile terminal and computer readable storage medium | |
CN110300435A (en) | A kind of communication pattern switching method, terminal and computer readable storage medium | |
CN109660973A (en) | Bluetooth control method, mobile terminal and storage medium | |
CN109543474A (en) | A kind of method for controlling mobile terminal and mobile terminal | |
CN110180181A (en) | Screenshot method, device and the computer readable storage medium of Wonderful time video | |
CN109618049A (en) | Terminal screen method for handover control, terminal and computer readable storage medium | |
CN109587329A (en) | Screen lighting method, mobile terminal and computer readable storage medium | |
CN108958936A (en) | Application programe switch-over method, mobile terminal and computer readable storage medium | |
CN110198173A (en) | A kind of adjusting method of mobile terminal, radio circuit, mobile terminal and storage medium | |
CN110087267A (en) | Method for switching network, device, electronic equipment and readable storage medium storing program for executing | |
CN110064196A (en) | Method for controlling mobile terminal, mobile terminal and computer readable storage medium | |
CN109445660A (en) | A kind of wearable device control method, mobile terminal and wearable device | |
CN109889651A (en) | A kind of notification message processing method, terminal and computer readable storage medium | |
CN109063444A (en) | Mobile terminal screen unlocking method, mobile terminal and computer readable storage medium | |
CN108900765A (en) | A kind of shooting based reminding method, mobile terminal and computer readable storage medium | |
CN109151163A (en) | A kind of method for controlling mobile terminal, mobile terminal and computer readable storage medium | |
CN109561221A (en) | A kind of call control method, equipment and computer readable storage medium | |
CN108879117A (en) | Mobile terminal and its antenna structure | |
CN108880591A (en) | A kind of wearable device and wearable device control method | |
CN109698720A (en) | Method, apparatus, mobile terminal and the readable storage medium storing program for executing communicated with monitoring device | |
CN108419221A (en) | A kind of document transmission method, mobile terminal and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190430 |
|
RJ01 | Rejection of invention patent application after publication |