CN110444003A - Control method, device, storage medium and electronic equipment - Google Patents
Control method, device, storage medium and electronic equipment Download PDFInfo
- Publication number
- CN110444003A CN110444003A CN201910677883.2A CN201910677883A CN110444003A CN 110444003 A CN110444003 A CN 110444003A CN 201910677883 A CN201910677883 A CN 201910677883A CN 110444003 A CN110444003 A CN 110444003A
- Authority
- CN
- China
- Prior art keywords
- target device
- information
- optical signal
- control
- electronic equipment
- 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
- 238000000034 method Methods 0.000 title claims abstract description 55
- 230000003287 optical effect Effects 0.000 claims abstract description 125
- 238000013475 authorization Methods 0.000 claims description 21
- 238000004590 computer program Methods 0.000 claims description 12
- 238000010586 diagram Methods 0.000 description 14
- 239000011159 matrix material Substances 0.000 description 11
- 230000006870 function Effects 0.000 description 10
- 230000005540 biological transmission Effects 0.000 description 7
- 238000012545 processing Methods 0.000 description 7
- 238000004378 air conditioning Methods 0.000 description 4
- 230000005611 electricity Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 238000013507 mapping Methods 0.000 description 3
- 238000012544 monitoring process Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G08—SIGNALLING
- G08C—TRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
- G08C23/00—Non-electrical signal transmission systems, e.g. optical systems
- G08C23/04—Non-electrical signal transmission systems, e.g. optical systems using light waves, e.g. infrared
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Selective Calling Equipment (AREA)
Abstract
This application discloses a kind of control method, device, storage medium and electronic equipments.This method comprises: receiving control instruction;According to the control instruction, determine that optical signal, the optical signal carry control information;The optical signal is sent at least one target device, so that the target device carries out corresponding operation according to the control information.The flexibility controlled equipment can be improved in the application.
Description
Technical field
The application belongs to electronic technology field more particularly to a kind of control method, device, storage medium and electronic equipment.
Background technique
With popularizing for smart office, it can all be used in more and more working environments and arrive smart office, come with this
The intelligence of office is promoted, brings convenience for office.
In existing smart office, it will usually there are more equipment, as computer, air-conditioning, projector, visual telephone,
TV, massage armchair etc..If desired these equipment are used, then need to control these equipment, such as booting, shutdown.To open
For machine, when these equipment need to boot up, it will usually boot up using linked switch or manually.It is opened according to linkage
Pass boots up, it will usually so that all devices are switched on simultaneously.If being switched on manually, an equipment can only be once opened.
As it can be seen that in the related technology, the flexibility controlled equipment is poor.
Summary of the invention
The embodiment of the present application provides a kind of control method, device, storage medium and electronic equipment, can be improved to equipment into
The flexibility of row control.
The embodiment of the present application provides a kind of control method, is applied to electronic equipment, comprising:
Receive control instruction;
According to the control instruction, determine that optical signal, the optical signal carry control information;
The optical signal is sent at least one target device so that the target device according to the control information into
Row corresponding operation.
The embodiment of the present application provides a kind of control device, is applied to electronic equipment, comprising:
Receiving module, for receiving control instruction;
Determining module, for determining that optical signal, the optical signal carry control information according to the control instruction;
Sending module, for the optical signal to be sent at least one target device so that the target device according to
The control information carries out corresponding operation.
The embodiment of the present application provides a kind of storage medium, is stored thereon with computer program, when the computer program exists
When being executed on computer, so that the computer executes the process in control method provided by the embodiments of the present application.
The embodiment of the present application also provides a kind of electronic equipment, including memory, and processor, the processor is by calling institute
The computer program stored in memory is stated, for executing the process in control method provided by the embodiments of the present application.
In the embodiment of the present application, due to the coverage area of optical signal be it is controllable, when want control some range
When at least one interior equipment, at least one equipment within the scope of this can be sent optical signals to, so that within the scope of this
At least one equipment can carry out corresponding operation according to the control information carried in optical signal, and therefore, the application can be improved
The flexibility that equipment is controlled.
Detailed description of the invention
With reference to the accompanying drawing, it is described in detail by the specific embodiment to the application, the technical solution of the application will be made
And its advantages are apparent.
Fig. 1 is the first flow diagram of control method provided by the embodiments of the present application.
Fig. 2 is second of flow diagram of control method provided by the embodiments of the present application.
Fig. 3 is the third flow diagram of control method provided by the embodiments of the present application.
Fig. 4 is the schematic diagram of a scenario of control method provided by the embodiments of the present application.
Fig. 5 is the structural schematic diagram of control device provided by the embodiments of the present application.
Fig. 6 is the first structural schematic diagram of electronic equipment provided by the embodiments of the present application.
Fig. 7 is second of structural schematic diagram of electronic equipment provided by the embodiments of the present application.
Specific embodiment
Diagram is please referred to, wherein identical component symbol represents identical component, the principle of the application is to implement one
It is illustrated in computing environment appropriate.The following description be based on illustrated by the application specific embodiment, should not be by
It is considered as limitation the application other specific embodiments not detailed herein.
It is understood that the executing subject of the embodiment of the present application can be the electronics such as smart phone or tablet computer
Equipment.
Referring to Fig. 1, Fig. 1 is the first flow diagram of control method provided by the embodiments of the present application, process can be with
Include:
101, control instruction is received.
For example, user can trigger a control instruction, then when user wants to control target device by electronic equipment
Electronic equipment can receive the control instruction.
For example, being equipped with one in electronic equipment for controlling the application program of target device, user can click unlatching, and this is answered
Use program.Electronic equipment is to enter the main interface of the application program, can be shown in the main interface of the application program it is some by
Button, such as " booting of control target device " button, " shutdown of control target device " button, " status information for obtaining target device "
Button etc..When the user clicks wherein a button when, electronic equipment receives control instruction.
Wherein, which can be the equipment with optical signal launch function, for example, equipped with visible light source
The equipment of (for example, LED).Target device is the arbitrary equipment with optical signal receive capabilities, for example, equipped with photodetector
Computer, air-conditioning or projector etc..
102, according to control instruction, optical signal is determined, which carries control information.
For example, electronic equipment can determine optical signal according to the control instruction after receiving control instruction.Wherein,
The optical signal carries control information.
For example, electronic equipment can first obtain the corresponding control information of the control instruction after receiving control instruction,
The control information is converted into optical code matrix.Then, electronic equipment can generate corresponding optical signal according to the optical code matrix.
Wherein, the optical code matrix can for 3 row n column matrix, matrix element be 0 to 1 real number, wherein n be greater than or
Natural number equal to 2.
103, at least one target device is sent optical signals to, so that target device carries out accordingly according to the control information
Operation.
For example, electronic equipment can send optical signals at least one target device after obtaining optical signal, so that
Target device carries out corresponding operation according to the control information.
In the embodiment of the present application, after receiving optical signal, it is corresponding that target device can read optical signal acquisition
Optical code matrix, then optical code matrix is converted into corresponding control information.Then, target device can be carried out according to the control information
Corresponding operation.For example, it is assumed that the control information is boot-strap information, when electronic equipment sends optical signals at least one target
After equipment, target device can be booted up according to the boot-strap information.
Wherein, the corresponding boot-strap information of target device can be identical, can not also be identical.When the corresponding booting of target device
When information is not identical, electronic equipment can determine optical signal according to the corresponding boot-strap information of each target information.Then, electronics
The optical signal is sent at least one target device by equipment.It, can root after each target device receives the optical signal
It is booted up according to boot-strap information corresponding to entrained its in the optical signal.
In some embodiments, optical signal can be visible light signal.For example, if equipped with LED light, electricity in electronic equipment
Sub- equipment to transmit optical signal, i.e., can transmit signal by visible light by controlling the LED light high speed scintillation.Due to electricity
Sub- equipment is that signal is transmitted by visible light, therefore, as long as the equipment in the coverage area of the LED light of electronic equipment, all
It can receive the optical signal.And it is appreciated that electronic equipment is closer from target device, it is seen that the coverage area of light is got over
It is small;Electronic equipment is remoter from target device, it is seen that the coverage area of light is bigger.Therefore, electronic equipment can according to need control
Target device locating for range determine electronic equipment at a distance from target device so that the LED light of electronic equipment issued
Light can cover these target devices.
In the embodiment of the present application, due to the coverage area of optical signal be it is controllable, when want control some range
When at least one interior equipment, at least one equipment within the scope of this can be sent optical signals to, so that within the scope of this
At least one equipment can carry out corresponding operation according to the control information carried in optical signal, and therefore, the application can be improved
The flexibility that equipment is controlled.
In some embodiments, its corresponding authentication information can be set in each target device, and only the authentication is passed just may be used
Success controls target device.
When needing to control target device, electronic equipment can generate light letter with authentication information according to the control information
Number, i.e., optical signal carries control information and authentication information.Then, which can be sent at least one by electronic equipment
Target device, so that target device carries out corresponding operation according to the control information and authentication information.For example, working as target device root
When determining that the authentication is passed according to the authentication information, target device can carry out corresponding operation according to the control information.When target is set
Standby to determine that authentication is obstructed out-of-date according to the authentication information, target device can be not processed, or directly abandon the optical signal.
Wherein, the corresponding authentication information of each target device can be identical, can not also be identical.When each target device is corresponding
When authentication information is not identical, electronic equipment can be raw according to the control information and the corresponding authentication information of each target device
At optical signal, i.e., the optical signal carries control information and the corresponding authentication information of each target device.When each target is set
It is standby receive the optical signal after, each target device can be determined from the optical signal control information and its corresponding to
Authentication information.Then, each target device can carry out corresponding operation when the authentication is passed according to the control information.
Referring to Fig. 2, Fig. 2 is second of flow diagram of control method provided by the embodiments of the present application, process can be with
Include:
201, electronic equipment receives control instruction.
For example, user can trigger a control instruction, then when user wants to control target device by electronic equipment
Electronic equipment can receive the control instruction.
For example, being equipped with one in electronic equipment for controlling the application program of target device, user can click unlatching, and this is answered
Use program.Electronic equipment is to enter the main interface of the application program, can be shown in the main interface of the application program it is some by
Button, such as " booting of control target device " button, " shutdown of control target device " button, " status information for obtaining target device "
Button etc..When the user clicks wherein a button when, electronic equipment receives control instruction.
Wherein, which can be the equipment with optical signal launch function, for example, equipped with visible light source
The equipment of (for example, LED).Target device is the arbitrary equipment with optical signal receive capabilities, for example, equipped with photodetector
Computer, air-conditioning or projector etc..
202, electronic equipment determines optical signal according to control instruction, which carries control information.
For example, electronic equipment can preset the mapping relations of control instruction and optical signal.When receiving control instruction
When, electronic equipment can determine the corresponding optical signal of control signal according to the mapping relations.Wherein, which carries this
The corresponding control information of control instruction.
For example, it is assumed that control instruction is " status information for obtaining target device ", and after receiving the control instruction, electricity
Sub- equipment can determine optical signals according to mapping relations.Wherein, which carries control information, and the control information is for obtaining
Take the status information of target device.
203, electronic equipment sends optical signals at least one target device, so that target device obtains according to the control information
Status information is taken, and status information is sent to electronic equipment.
For example, target device receives the light letter after electronic equipment sends optical signals to a target device
Number.Then, target device can get control information from the optical signal, determine operation corresponding to control information.Wherein,
Assuming that the control information obtains status information for controlling target device, then, the available status information of target device, and will
The status information is sent to electronic equipment.It should be noted that status information can be converted to optical code matrix by target device, so
Optical signal is generated according to optical code matrix afterwards, the optical signal is finally sent to electronic equipment again.Wherein, which can wrap
Include: whether target device is switched on except preset time range or the state that target device is presently in etc..
Wherein, preset time range can be preset by user.
In some embodiments, target device can be collected in the past period, such as in 10 days in the past when its booting
Corresponding system time.Then, target device can determine available machine time and available machine time the latest earliest in this 10 days.
Assuming that earliest the available machine time be 7 points of the morning, the available machine time is at 12 points in afternoon the latest, and target device can be by 7 points in the morning to afternoon
12 points are determined as preset time range.
204, electronic equipment receives the status information that target device is sent.
205, electronic equipment generates prompt information according to status information.
For example, electronic equipment can receive the status information of target device transmission.When the shape for receiving target device transmission
After state information, electronic equipment can generate prompt information according to the status information.
206, electronic equipment display reminding information is reminded with the operating status to target device.
For example, electronic equipment can show the prompt information after generating prompt information, i.e., the prompt information is shown
To display screen, reminded with the operating status to target device.For example, can show on a display screen " target device: A,
State: be switched on " prompt information so that user can grasp the state of each target device at any time by electronic equipment.
207, electronic equipment detects whether target device is switched on except preset time range according to status information.
If 208, target device is switched on except preset time range, electronic equipment obtains target device in preset time
Received boot-strap information when being switched on except range.
209, electronic equipment determines the sending device of boot-strap information.
210, blacklist is added in sending device by electronic equipment, so that sending device is unable to control target device.
211, blacklist is sent to target device by electronic equipment.
Such as, it is assumed that the status information that electronic equipment receives include target device whether preset time range external-open
The information of machine.So, after receiving status information, electronic equipment, which can also detect target device according to the status information, is
It is no to be switched on except preset time range.That is, the preset time range of its booting can be set in target device.For example,
It is 7 points of the morning at 12 points in afternoon that preset time range, which is arranged, if target device is switched in the preset time range, target is set
It is standby to be not processed;If target device is switched on except the preset time range, it is default that target device can recorde down this
The sending device of received boot-strap information and the boot-strap information and preservation when being switched on except time range.
In the embodiment of the present application, using the visible light signal communication technology.As long as i.e. equipment is arranged just like LED light etc.
Light emitting device can be communicated.That is, all equipment for being provided with light emitting device can by issue optical signal come
Control target device.For guarantee target device in information safety, when electronic equipment is according to the status information of target device
Detect that target device is switched on except preset time range, electronic equipment can obtain target device pre- from target device
If received boot-strap information when being switched on except time range, and determine the sending device of the boot-strap information.Then, electronics is set
It is standby blacklist to be added in the sending device, to prevent the sending device from controlling target device again.Then, electronic equipment can
The blacklist is sent to target device.
After target device receives optical signal again, target device can determine that the transmission for sending the optical signal is set
It is standby, then detect blacklist in the presence or absence of with the matched equipment of the sending device, if in blacklist exist and the sending device
Matched equipment, then target device can directly abandon the optical signal of sending device transmission.
In the embodiment of the present application, certain electronic equipment can be set to the master control equipment of target device, the main control
Equipment possesses highest permission.For example, target device only receive the master control equipment transmission blacklist when, can just store
The blacklist.
Referring to Fig. 3, Fig. 3 is the third flow diagram of control method provided by the embodiments of the present application, process can be with
Include:
301, electronic equipment receives authorized order, authorized order Portable device mark.
302, equipment corresponding to device identification is determined as authorisation device by electronic equipment.
Wherein, which can be the master control equipment of target device.It is understood that in the embodiment of the present application
In, master control equipment possesses highest permission.
In the embodiment of the present application, which can be determined as some equipment authorisation device, and target device can be with
The control information carried in the optical signal sent according to the authorisation device carries out corresponding operation, and when target device receives not
When the optical signal that authorisation device is sent, target device can be without any processing, or directly abandons the optical signal, to improve mesh
The safety of information in marking device.
For example, electronic equipment can receive authorized order, authorized order Portable device mark.Then, electronic equipment can
Equipment corresponding to the device identification is determined as authorisation device.For example, user can input in the electronic equipment
The device identification of equipment after electronic equipment receives the device identification, the corresponding equipment of the device identification can be determined as
Authorisation device.
303, electronic equipment generates grant column list according to authorisation device.
304, grant column list is sent at least one target device by electronic equipment.
After determining authorisation device, electronic equipment can generate grant column list according to the authorisation device.Then, electronics
The grant column list can be sent at least one target device by equipment.
In some embodiments, after receiving the grant column list, target device, which can also detect, sends the grant column list
Sending device whether be master control equipment.If the sending device for sending the grant column list is master control equipment, target device
The grant column list can be saved.If the sending device for sending the grant column list is not master control equipment, target device can be direct
The grant column list is abandoned, to prevent non-master control equipment to set authorisation device for itself or some equipment, to steal this
The phenomenon that information in target device, occurs.
305, electronic equipment receives control instruction.
For example, user can trigger a control instruction, then when user wants to control target device by electronic equipment
Electronic equipment can receive the control instruction.
For example, being equipped with one in electronic equipment for controlling the application program of target device, user can click unlatching, and this is answered
Use program.Electronic equipment is to enter the main interface of the application program, can be shown in the main interface of the application program it is some by
Button, such as " booting of control target device " button, " shutdown of control target device " button, " status information for obtaining target device "
Button etc..When the user clicks wherein a button when, electronic equipment receives control instruction.
Wherein, which can be the equipment with optical signal launch function, for example, equipped with visible light source
The equipment of (for example, LED).Target device is the arbitrary equipment with optical signal receive capabilities, for example, equipped with photodetector
Computer, air-conditioning or projector etc..
306, electronic equipment generates optical signal according to control instruction, which carries control information.
For example, electronic equipment can determine optical signal according to the control instruction after receiving control instruction.Wherein,
The optical signal carries control information.
For example, electronic equipment can first obtain the corresponding control information of the control instruction after receiving control instruction,
The control information is converted into optical code matrix.Then, electronic equipment can generate corresponding optical signal according to the optical code matrix.
307, electronic equipment sends optical signals at least one target device, so that target device is according to grant column list
It determines and carries out corresponding operation according to the control information when the electronic equipment is authorisation device.
After obtaining optical signal, electronic equipment can send optical signals at least one target device.For each
Target device, after receiving optical signal, the available sending device for sending the optical signal of target device.Then, target
Equipment obtains grant column list, and detects in the grant column list and whether there is and the matched equipment of the sending device.If the authorization arranges
Phase can be carried out according to the control information carried in the optical signal with the matched equipment of the sending device, target device by existing in table
The operation answered.If in the grant column list there is no with the matched equipment of the sending device, target device can be without any processing,
Or target device can directly abandon the optical signal, so as to prevent unauthorized device from illegally controlling target device, in turn
The phenomenon that preventing the information in unauthorized device unauthorized theft target device generation.
Referring to Fig. 4, Fig. 4 is the schematic diagram of a scenario of control method provided by the embodiments of the present application.
When user wants to control target device A and target device B booting by electronic equipment, user can click the electricity
The button of " booting of control target device " in sub- equipment, electronic equipment receive corresponding control instruction.Then, electronics is set
It is standby optical signal to be determined according to the control instruction.Wherein, which carries boot-strap information.Then, electronic equipment can be with
It controls the light emitting device being disposed thereon and issues optical signal.Meanwhile user can move the electronic equipment, so that the target device
A and target device B is in the coverage area of the light of light emitting device sending, i.e. the covering model of the optical signal in electronic equipment
It encloses, so that target device A and target device B can receive the optical signal of electronic equipment transmission, and according to the optical signal
The boot-strap information of middle carrying boots up.
Referring to Fig. 5, Fig. 5 is the structural schematic diagram of control device provided by the embodiments of the present application.The control device can answer
For electronic equipment.The control device includes: receiving module 401, determining module 402 and sending module 403.
Receiving module 401, for receiving control instruction.
Determining module 402, for determining that optical signal, the optical signal carry control information according to the control instruction.
Sending module 403, for the optical signal to be sent at least one target device, so that the target device root
Corresponding operation is carried out according to the control information.
In some embodiments, the sending module 403, can be used for: the optical signal is sent at least one target
Equipment so that the target device is according to the control acquisition of information status information, and the status information is sent to described
Electronic equipment;Receive the status information that the target device is sent;According to the state information, prompt information is generated;Display institute
Prompt information is stated, is reminded with the operating status to the target device.
In some embodiments, the sending module 403, can be used for: according to the state information, detecting the target and sets
It is standby whether to be switched on except preset time range;If the target device is switched on except preset time range, described in acquisition
The target device boot-strap information received when being switched on except preset time range;Determine that the transmission of the boot-strap information is set
It is standby;Blacklist is added in the sending device, so that the sending device is unable to control the target device;By the blacklist
It is sent to the target device.
In some embodiments, the receiving module 401, can be used for: receive authorized order, the authorized order carrying is set
Standby mark;Equipment corresponding to the device identification is determined as authorisation device;Grant column list is generated according to the authorisation device;
The grant column list is sent at least one target device.
In some embodiments, the sending module 403, can be used for: the optical signal is sent at least one target
Equipment, so that the target device is when determining that the electronic equipment is authorisation device according to the grant column list according to the control
Information processed carries out corresponding operation.
In some embodiments, the optical signal also carries authentication information, which can be used for: by institute
It states optical signal and is sent at least one target device, so that the target device is believed according to the control information and the authentication
Breath carries out corresponding operation.
In some embodiments, the control information includes boot-strap information, which can be used for: will be described
Optical signal is sent at least one target device, so that the target device is booted up according to the boot-strap information.
The embodiment of the present application provides a kind of computer-readable storage medium, computer program is stored thereon with, when described
When computer program executes on computers, so that the computer is executed such as the stream in control method provided in this embodiment
Journey.
The embodiment of the present application also provides a kind of electronic equipment, including memory, and processor, the processor is by calling institute
The computer program stored in memory is stated, for executing the process in control method provided in this embodiment.
For example, above-mentioned electronic equipment can be the mobile terminals such as tablet computer or smart phone.Referring to Fig. 6,
Fig. 6 is the structural schematic diagram of electronic equipment provided by the embodiments of the present application.
The electronic equipment 500 may include the components such as memory 501, processor 502, light emitting device 503.Art technology
Personnel are appreciated that electronic devices structure shown in Fig. 6 does not constitute the restriction to electronic equipment, may include than illustrating more
More or less component perhaps combines certain components or different component layouts.
Memory 501 can be used for storing application program and data.It include that can hold in the application program that memory 501 stores
Line code.Application program can form various functional modules.Processor 502 is stored in the application journey of memory 501 by operation
Sequence, thereby executing various function application and data processing.
Processor 502 is the control centre of electronic equipment, utilizes each of various interfaces and the entire electronic equipment of connection
A part by running or execute the application program being stored in memory 501, and is called and is stored in memory 501
Data execute the various functions and processing data of electronic equipment, to carry out integral monitoring to electronic equipment.
Light emitting device 503 can be used for sending optical signal.
In the present embodiment, the processor 502 in electronic equipment can be according to following instruction, will be one or more
The corresponding executable code of the process of application program is loaded into memory 501, and is run by processor 502 and be stored in storage
Application program in device 501, thus implementation process:
Receive control instruction;
According to the control instruction, determine that optical signal, the optical signal carry control information;
The optical signal is sent at least one target device so that the target device according to the control information into
Row corresponding operation.
Referring to Fig. 7, electronic equipment 600 may include memory 601, processor 602, light emitting device 603, input unit
604, the components such as output unit 605, display screen 606.
Memory 601 can be used for storing application program and data.It include that can hold in the application program that memory 601 stores
Line code.Application program can form various functional modules.Processor 602 is stored in the application journey of memory 601 by operation
Sequence, thereby executing various function application and data processing.
Processor 602 is the control centre of electronic equipment, utilizes each of various interfaces and the entire electronic equipment of connection
A part by running or execute the application program being stored in memory 601, and is called and is stored in memory 601
Data execute the various functions and processing data of electronic equipment, to carry out integral monitoring to electronic equipment.
Light emitting device 603 can be used for sending optical signal.
Input unit 604 can be used for receiving number, character information or the user's characteristic information (such as fingerprint) of input, and
Generate keyboard related with user setting and function control, mouse, operating stick, optics or trackball signal input.
Output unit 605 can be used for showing information input by user or the information and electronic equipment that are supplied to user
Various graphical user interface, these graphical user interface can be made of figure, text, icon, video and any combination thereof.
Output unit may include display panel.
Display screen 606 is displayed for the information such as text, picture.
In the present embodiment, the processor 602 in electronic equipment can be according to following instruction, will be one or more
The corresponding executable code of the process of application program is loaded into memory 601, and is run by processor 602 and be stored in storage
Application program in device 601, thus implementation process:
Receive control instruction;
According to the control instruction, determine that optical signal, the optical signal carry control information;
The optical signal is sent at least one target device so that the target device according to the control information into
Row corresponding operation.
In some embodiments, processor 602, which is executed, is sent at least one target device for the optical signal, so that
When the target device carries out corresponding operation according to the control information, it can execute: the optical signal is sent at least
One target device so that the target device is according to the control acquisition of information status information, and the status information is sent out
It send to the electronic equipment;Receive the status information that the target device is sent;According to the state information, prompt letter is generated
Breath;It shows the prompt information, is reminded with the operating status to the target device.
In some embodiments, processor 602 executes receive the status information that the target device is sent after, at this
Reason device 602 can also be performed: according to the state information, detect the target device whether preset time range external-open
Machine;If the target device is switched on except preset time range, the target device is obtained except preset time range
Received boot-strap information when booting;Determine the sending device of the boot-strap information;Blacklist is added in the sending device,
So that the sending device is unable to control the target device;The blacklist is sent to the target device.
In some embodiments, processor 602 can also be performed: receive authorized order, the authorized order carrying is set
Standby mark;Equipment corresponding to the device identification is determined as authorisation device;Grant column list is generated according to the authorisation device;
The grant column list is sent at least one target device.
In some embodiments, processor 602, which is executed, is sent at least one target device for the optical signal, so that
When the target device carries out corresponding operation according to the control information, it can execute: the optical signal is sent at least
One target device, so that target device root when determining that the electronic equipment is authorisation device according to the grant column list
Corresponding operation is carried out according to the control information.
In some embodiments, the optical signal also carries authentication information, and processor 602 is executed the optical signal
It is sent at least one target device, it, can be with when so that the target device carrying out corresponding operation according to the control information
Execute: the optical signal be sent at least one target device so that the target device according to the control information and
The authentication information carries out corresponding operation.
In some embodiments, the control information includes boot-strap information, and the optical signal is sent out in the execution of processor 602
It send at least one target device, when so that the target device carrying out corresponding operation according to the control information, can hold
Row: the optical signal is sent at least one target device, so that the target device is opened according to the boot-strap information
Machine.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment
Point, it may refer to the detailed description above with respect to control method, details are not described herein again.
Control method in the control device provided by the embodiments of the present application and foregoing embodiments belongs to same design, In
Either offer method, specific implementation process in the control method embodiment can be provided on the control device and are detailed in institute
Control method embodiment is stated, details are not described herein again.
It should be noted that those of ordinary skill in the art can manage for the control method described in the embodiment of the present application
Solution realizes all or part of the process of control method described in the embodiment of the present application, is that can control correlation by computer program
Hardware complete, the computer program can be stored in a computer-readable storage medium, such as storage in memory,
And executed by least one processor, it in the process of implementation may include the process such as the embodiment of the control method.Wherein, institute
The storage medium stated can be magnetic disk, CD, read-only memory (ROM, Read Only Memory), random access memory
(RAM, Random Access Memory) etc..
For the control device of the embodiment of the present application, each functional module be can integrate in a processing chip
In, it is also possible to modules and physically exists alone, can also be integrated in two or more modules in a module.It is above-mentioned
Integrated module both can take the form of hardware realization, can also be realized in the form of software function module.It is described integrated
If module realized in the form of software function module and when sold or used as an independent product, also can store one
In a computer-readable storage medium, the storage medium is for example read-only memory, disk or CD etc..
A kind of control method, device, storage medium and electronic equipment provided by the embodiment of the present application are carried out above
It is discussed in detail, specific examples are used herein to illustrate the principle and implementation manner of the present application, above embodiments
Illustrate to be merely used to help understand the present processes and its core concept;Meanwhile for those skilled in the art, according to this
The thought of application, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification is not answered
It is interpreted as the limitation to the application.
Claims (10)
1. a kind of control method is applied to electronic equipment characterized by comprising
Receive control instruction;
According to the control instruction, determine that optical signal, the optical signal carry control information;
The optical signal is sent at least one target device, so that the target device carries out phase according to the control information
The operation answered.
2. control method according to claim 1, which is characterized in that described that the optical signal is sent at least one mesh
Marking device, so that the target device carries out corresponding operation according to the control information, comprising:
The optical signal is sent at least one target device, so that the target device is according to the control acquisition of information shape
State information, and the status information is sent to the electronic equipment;
Receive the status information that the target device is sent;
According to the state information, prompt information is generated;
It shows the prompt information, is reminded with the operating status to the target device.
3. control method according to claim 2, which is characterized in that in the state for receiving the target device and sending
After information, the method also includes:
According to the state information, detect whether the target device is switched on except preset time range;
If the target device is switched on except preset time range, the target device is obtained except preset time range
Received boot-strap information when booting;
Determine the sending device of the boot-strap information;
Blacklist is added in the sending device, so that the sending device is unable to control the target device;
The blacklist is sent to the target device.
4. control method according to claim 1, which is characterized in that the method also includes:
Receive authorized order, the authorized order Portable device mark;
Equipment corresponding to the device identification is determined as authorisation device;
Grant column list is generated according to the authorisation device;
The grant column list is sent at least one target device.
5. control method according to claim 4, which is characterized in that described that the optical signal is sent at least one mesh
Marking device, so that the target device carries out corresponding operation according to the control information, comprising:
The optical signal is sent at least one target device, so that the target device is determined according to the grant column list
Corresponding operation is carried out according to the control information when electronic equipment is authorisation device.
6. control method according to claim 1, which is characterized in that the optical signal also carries authentication information, described
The optical signal is sent at least one target device, so that the target device carries out accordingly according to the control information
Operation, comprising:
The optical signal is sent at least one target device, so that the target device is according to the control information and institute
It states authentication information and carries out corresponding operation.
7. control method according to claim 1, which is characterized in that the control information includes boot-strap information, described to incite somebody to action
The optical signal is sent at least one target device, so that the target device is grasped accordingly according to the control information
Make, comprising:
The optical signal is sent at least one target device, so that the target device is opened according to the boot-strap information
Machine.
8. a kind of control device is applied to electronic equipment characterized by comprising
Receiving module, for receiving control instruction;
Determining module, for determining that optical signal, the optical signal carry control information according to the control instruction;
Sending module, for the optical signal to be sent at least one target device, so that the target device is according to
It controls information and carries out corresponding operation.
9. a kind of storage medium, which is characterized in that computer program is stored in the storage medium, when the computer program
When running on computers, so that the computer perform claim requires 1 to 7 described in any item control methods.
10. a kind of electronic equipment, which is characterized in that the electronic equipment includes processor and memory, is deposited in the memory
Computer program is contained, the processor is used for right of execution by calling the computer program stored in the memory
Benefit requires 1 to 7 described in any item control methods.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910677883.2A CN110444003A (en) | 2019-07-25 | 2019-07-25 | Control method, device, storage medium and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910677883.2A CN110444003A (en) | 2019-07-25 | 2019-07-25 | Control method, device, storage medium and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110444003A true CN110444003A (en) | 2019-11-12 |
Family
ID=68431579
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910677883.2A Pending CN110444003A (en) | 2019-07-25 | 2019-07-25 | Control method, device, storage medium and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110444003A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113162927A (en) * | 2021-04-19 | 2021-07-23 | 维沃移动通信有限公司 | Data transmission method, sending terminal, receiving terminal and electronic equipment |
Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1381781A (en) * | 2001-04-13 | 2002-11-27 | 三星电子株式会社 | System and method for control device of home network |
CN1413010A (en) * | 2001-10-12 | 2003-04-23 | 贺田工业有限公司 | Method for realizing telecontrol to equipment by mobile telephone, mobile telephone and equipment |
CN1481122A (en) * | 2002-11-06 | 2004-03-10 | 联想(北京)有限公司 | Method for controlling and managing electrical appliances in household network |
CN101115216A (en) * | 2006-07-24 | 2008-01-30 | 福建省冠林科技有限公司 | Interphone structure having night non-disturbance function |
CN102264042A (en) * | 2010-05-31 | 2011-11-30 | 张正舟 | Method for preventing disturbance of incoming call |
CN103227988A (en) * | 2012-01-31 | 2013-07-31 | 海尔集团公司 | Intelligent IoT (Internet of things) and control method thereof |
CN103297136A (en) * | 2012-02-29 | 2013-09-11 | 深圳光启创新技术有限公司 | LED control system and LED control method |
CN104320723A (en) * | 2014-11-17 | 2015-01-28 | 深圳市芯通信息科技有限公司 | Voice intercom system based on visible light communication |
CN204576102U (en) * | 2015-05-21 | 2015-08-19 | 湖南科技大学 | Based on the intelligent control system of LED visible light communication |
CN104869248A (en) * | 2015-05-15 | 2015-08-26 | 广东欧珀移动通信有限公司 | Mobile terminal information prompting method and apparatus |
CN105025350A (en) * | 2015-07-09 | 2015-11-04 | 广东欧珀移动通信有限公司 | Play terminal control method and play terminal |
CN105933317A (en) * | 2016-04-08 | 2016-09-07 | 上海海漾软件技术有限公司 | Mobile terminal remote control method and device |
CN106231081A (en) * | 2016-07-22 | 2016-12-14 | 乐视控股(北京)有限公司 | Method of not disturbing, device and the terminal of a kind of information |
CN106408913A (en) * | 2016-09-22 | 2017-02-15 | 纳恩博(北京)科技有限公司 | Device control method and mobile control device |
CN207099079U (en) * | 2017-04-26 | 2018-03-13 | 淮安信息职业技术学院 | Visible light communication lamp |
-
2019
- 2019-07-25 CN CN201910677883.2A patent/CN110444003A/en active Pending
Patent Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1381781A (en) * | 2001-04-13 | 2002-11-27 | 三星电子株式会社 | System and method for control device of home network |
CN1413010A (en) * | 2001-10-12 | 2003-04-23 | 贺田工业有限公司 | Method for realizing telecontrol to equipment by mobile telephone, mobile telephone and equipment |
CN1481122A (en) * | 2002-11-06 | 2004-03-10 | 联想(北京)有限公司 | Method for controlling and managing electrical appliances in household network |
CN101115216A (en) * | 2006-07-24 | 2008-01-30 | 福建省冠林科技有限公司 | Interphone structure having night non-disturbance function |
CN102264042A (en) * | 2010-05-31 | 2011-11-30 | 张正舟 | Method for preventing disturbance of incoming call |
CN103227988A (en) * | 2012-01-31 | 2013-07-31 | 海尔集团公司 | Intelligent IoT (Internet of things) and control method thereof |
CN103297136A (en) * | 2012-02-29 | 2013-09-11 | 深圳光启创新技术有限公司 | LED control system and LED control method |
CN104320723A (en) * | 2014-11-17 | 2015-01-28 | 深圳市芯通信息科技有限公司 | Voice intercom system based on visible light communication |
CN104869248A (en) * | 2015-05-15 | 2015-08-26 | 广东欧珀移动通信有限公司 | Mobile terminal information prompting method and apparatus |
CN204576102U (en) * | 2015-05-21 | 2015-08-19 | 湖南科技大学 | Based on the intelligent control system of LED visible light communication |
CN105025350A (en) * | 2015-07-09 | 2015-11-04 | 广东欧珀移动通信有限公司 | Play terminal control method and play terminal |
CN105933317A (en) * | 2016-04-08 | 2016-09-07 | 上海海漾软件技术有限公司 | Mobile terminal remote control method and device |
CN106231081A (en) * | 2016-07-22 | 2016-12-14 | 乐视控股(北京)有限公司 | Method of not disturbing, device and the terminal of a kind of information |
CN106408913A (en) * | 2016-09-22 | 2017-02-15 | 纳恩博(北京)科技有限公司 | Device control method and mobile control device |
CN207099079U (en) * | 2017-04-26 | 2018-03-13 | 淮安信息职业技术学院 | Visible light communication lamp |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113162927A (en) * | 2021-04-19 | 2021-07-23 | 维沃移动通信有限公司 | Data transmission method, sending terminal, receiving terminal and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102405453B (en) | Context-based state change for an adaptive input device | |
US7007238B2 (en) | Computer pointing device having theme identification means | |
CN112162665B (en) | Operation method and device | |
CN108646958A (en) | A kind of application program launching method and terminal | |
CN109002340A (en) | A kind of screen locking method and electronic equipment | |
CN112148198A (en) | Display method and device of payment interface and electronic equipment | |
CN106484479A (en) | A kind of management method, device and intelligent terminal for opening application more | |
CN110147186A (en) | A kind of control method and terminal device of application | |
CN110444003A (en) | Control method, device, storage medium and electronic equipment | |
CN109669710A (en) | Note processing method and terminal | |
CN104573477A (en) | Method for operating electronic device | |
CN116126197B (en) | Application program recommendation method | |
CN110502295A (en) | A kind of interface switching method and terminal device | |
CN115033153B (en) | Application program recommendation method and electronic device | |
CN114489414A (en) | File processing method and device | |
CN106874751A (en) | Input method, device and mobile terminal under system protection pattern | |
CN109298906A (en) | Window call-out method, window calling device and mobile terminal | |
CN113835576B (en) | Icon operation method and device | |
CN112765582B (en) | Authority management method and device for application program and electronic equipment | |
CN117076265A (en) | Process indication method and device | |
CN116257154A (en) | Display control method and device and electronic equipment | |
CN115933945A (en) | Screen locking interface display method and device and electronic equipment | |
CN117289847A (en) | Equipment control method and device and electronic equipment | |
CN116795471A (en) | Page display method, device, equipment and medium | |
CN113903107A (en) | Door lock control method and device for robot, robot and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191112 |