CN110492935A - Data processing system, method, apparatus and terminal device - Google Patents
Data processing system, method, apparatus and terminal device Download PDFInfo
- Publication number
- CN110492935A CN110492935A CN201910646057.1A CN201910646057A CN110492935A CN 110492935 A CN110492935 A CN 110492935A CN 201910646057 A CN201910646057 A CN 201910646057A CN 110492935 A CN110492935 A CN 110492935A
- Authority
- CN
- China
- Prior art keywords
- communication key
- video
- gateway
- duration
- visible light
- 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.)
- Granted
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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/08—Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
- H04L9/0816—Key establishment, i.e. cryptographic processes or cryptographic protocols whereby a shared secret becomes available to two or more parties, for subsequent use
- H04L9/0819—Key transport or distribution, i.e. key establishment techniques where one party creates or otherwise obtains a secret value, and securely transfers it to the other(s)
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/03—Protecting confidentiality, e.g. by encryption
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The application is suitable for field of communication technology, provides data processing system, method, apparatus, terminal device and computer readable storage medium, comprising: described to issue visible light signal according to communication key to log equipment to log equipment, server and gateway;The server obtains the corresponding video of the visible light signal, determines the corresponding communication key of the video, the communication key is sent to gateway;The gateway is for obtaining the communication key.By above system, the safety of communication can be improved.
Description
Technical field
The application belong to field of communication technology more particularly to a kind of data processing system, method, apparatus, terminal device and
Computer readable storage medium.
Background technique
Nowadays, information technology is fast-developing, and Internet of Things is exactly the important component of generation information technology.
However, there is also some insoluble problems in the practice of Internet of Things.For example, only supporting purple honeybee
(ZigBee) for the equipment of agreement when entering ZigBee-network, which can only utilize Zigbee protocol by communication key with data packet
Form be sent to gateway, in the process, the communication key be easy by malice wireless network detectaphone capture, cause communication
Safety is low.
Summary of the invention
In view of this, the embodiment of the present application provides a kind of data processing system, method, apparatus, terminal device and calculating
Machine readable storage medium storing program for executing only supports the equipment of purple honeybee (ZigBee) agreement when entering ZigBee-network to solve the prior art, leads to
The low problem of the safety of letter.
The first aspect of the embodiment of the present application provides a kind of data processing system, comprising: to log equipment, server with
And gateway, it is described that visible light signal is issued according to communication key to log equipment;
The server obtains the corresponding video of the visible light signal, determines the corresponding communication key of the video, will
The communication key is sent to gateway;
The gateway is for obtaining the communication key.
The second aspect of the embodiment of the present application provides a kind of data processing method, comprising:
The corresponding video of visible light signal is obtained, the visible light signal is by sending to log equipment;
Determine the corresponding communication key of the video;
The communication key is sent to gateway.
The third aspect of the embodiment of the present application provides a kind of data processing equipment, comprising:
Video acquisition unit, for obtaining the corresponding video of visible light signal, the visible light signal is by setting wait network
What preparation was sent;
Determination unit, for determining the corresponding communication key of the video;
Transmission unit, for the communication key to be sent to gateway.
The fourth aspect of the embodiment of the present application provides a kind of terminal device, comprising: memory, processor and is stored in
In the memory and the computer program that can run on the processor, when the processor executes the computer program
It realizes such as the step of the data processing method.
5th aspect of the embodiment of the present application provides a kind of computer readable storage medium, the computer-readable storage
Media storage has computer program, and the step such as the data processing method is realized when the computer program is executed by processor
Suddenly.
Existing beneficial effect is the embodiment of the present application compared with prior art: the agreement no matter supported to log equipment
Whether Zigbee protocol is only had, it is described to issue visible light signal according to communication key to log equipment, and server obtains
The corresponding video of the visible light signal is taken, then determines the corresponding communication key of the video, then the communication key is sent out
Send to gateway, since malice wireless network detectaphone can not detect visible light signal, malice wireless network detectaphone without
Method obtains communication key, to substantially increase the safety of communication.
Detailed description of the invention
It in order to more clearly explain the technical solutions in the embodiments of the present application, below will be to embodiment or description of the prior art
Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only some of the application
Embodiment for those of ordinary skill in the art without creative efforts, can also be attached according to these
Figure obtains other attached drawings.
Fig. 1 is a kind of schematic diagram of data processing system provided by the embodiments of the present application;
Fig. 2 is the schematic diagram of seed parameter provided by the embodiments of the present application;
Fig. 3 is a kind of flow diagram of data processing method provided by the embodiments of the present application;
Fig. 4 is a kind of structural schematic diagram of data processing equipment provided by the embodiments of the present application;
Fig. 5 is the schematic diagram of terminal device provided by the embodiments of the present application.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed
Body details, so as to provide a thorough understanding of the present application embodiment.However, it will be clear to one skilled in the art that there is no these specific
The application also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricity
The detailed description of road and method, so as not to obscure the description of the present application with unnecessary details.
In order to illustrate technical solution described herein, the following is a description of specific embodiments.It should be appreciated that working as
Use in this specification and in the appended claims, term " includes " indicates described feature, entirety, step, operation, member
Element and/or component presence, but be not precluded one or more of the other feature, entirety, step, operation, element, component and/or
Its presence or addition for gathering.
It is also understood that mesh of the term used in this present specification merely for the sake of description specific embodiment
And be not intended to limit the application.As present specification and it is used in the attached claims, unless on
Other situations are hereafter clearly indicated, otherwise " one " of singular, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in present specification and the appended claims is
Refer to any combination and all possible combinations of one or more of associated item listed, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt
Be construed to " when ... " or " once " or " in response to determination " or " in response to detecting ".Similarly, phrase " if it is determined that " or
" if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true
It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In the specific implementation, terminal device described in the embodiment of the present application is including but not limited to such as with the sensitive table of touch
Mobile phone, laptop computer or the tablet computer in face (for example, touch-screen display and/or touch tablet) etc it is other
Portable device.It is to be further understood that in certain embodiments, above equipment is not portable communication device, but is had
The desktop computer of touch sensitive surface (for example, touch-screen display and/or touch tablet).
In following discussion, the terminal device including display and touch sensitive surface is described.However, should manage
Solution, terminal device may include that one or more of the other physical User of such as physical keyboard, mouse and/or control-rod connects
Jaws equipment.
Terminal device supports various application programs, such as one of the following or multiple: drawing application program, demonstration application
Program, word-processing application, website creation application program, disk imprinting application program, spreadsheet applications, game are answered
With program, telephony application, videoconference application, email application, instant messaging applications, forging
Refining supports application program, photo management application program, digital camera application program, digital camera application program, web-browsing to answer
With program, digital music player application and/or video frequency player application program.
At least one of such as touch sensitive surface can be used in the various application programs that can be executed on the terminal device
Public physical user-interface device.It can be adjusted among applications and/or in corresponding application programs and/or change touch is quick
Feel the corresponding information shown in the one or more functions and terminal on surface.In this way, terminal public physical structure (for example,
Touch sensitive surface) it can support the various application programs with user interface intuitive and transparent for a user.
Embodiment one:
Fig. 1 shows a kind of flow diagram of data processing system provided by the embodiments of the present application, and details are as follows:
The data processing system includes: to log equipment 101, server 102 and gateway 103.
It is described to log equipment 101, for issuing visible light signal according to communication key.It is described to have to log equipment 101
Body is used for: according to the first default system transformation rule, the corresponding system of the communication key prestored is converted into coded data,
In, the system of communication key and the system of coded data are different, for example, when the system of communication key is hexadecimal, coded number
According to system can be binary system;Visible light source, which is controlled, according to the coded data issues visible light signal, the coded data
Including multiple sub- parameters, the sub- parameter can be 0 or 1, for example, coded data 11110111 includes 8 sub- parameters, 8 son ginsengs
Amount is respectively 1,1,1,1,0,1,1,1, described to support Zigbee protocol to log equipment 101.
Optionally, a sub- parameter only corresponds to a kind of visible brightness in the prior art, increases subsequent server institute really
The error probability for the communication key made illustrates with the networking efficiency to log equipment, act following examples is reduced: assuming that prestoring
The corresponding system of communication key be hexadecimal, the communication key be FF, communication key FF is converted into coded data
11111111, since coded data 11111111 only has a seed parameter " 1 ", which only corresponds to a kind of visible light
Brightness, then subsequent server is easy to appear the sub- parameter position in coded data when determining coded data according to visible brightness
The abnormal conditions for miscounting mistake, the communication key mistake for causing server to be determined, and then cause to network to log equipment and fail.
It is therefore, described to log equipment 101 in order to improve the accuracy of data and to the networking efficiency of log equipment, described in execution
When controlling visible light source sending visible light signal according to the coded data, it is specifically used for:
A1, it according to the sub- parameter in the coded data and presets sub- parameter time span and determines the first visible brightness
The duration of duration and the second visible brightness, duration of the first visible brightness and described second visible
The duration of brightness meets the following conditions: the duration of the first visible brightness and the second visible brightness it is lasting when
Between the sum of time be equal to and preset sub- parameter time span, and duration of the described first visible brightness need to be guaranteed divided by the
The quotient of the duration of two visible brightness is equal to default quotient, and different sub- parameters corresponds to different default quotient, the default son
Parameter time span is described to the control visible light source sending visible light signal of log equipment 101, to show a sub- parameter
Time span.
A2, it is controlled according to the duration of the described first visible brightness and the duration of the second visible brightness
Visible light source issues visible light signal.
For example, as illustrated in fig. 2, it is assumed that sub- parameter 1 it is corresponding preset sub- parameter time span be 0.96 millisecond, sub- parameter 1
Corresponding default quotient is 3, then can determine that the duration of the first visible brightness, the duration point of the second visible brightness
Not Wei 0.72 millisecond, 0.24 millisecond, to meet the following conditions: the duration of the first visible brightness and the second visible brightness
The sum of time of duration be equal to and preset 0.96 millisecond of sub- parameter time span, and need to guarantee the described first visible brightness
Duration be equal to default quotient 3 divided by the quotient of the duration of the second visible brightness, it is subsequent according to first visible light
The duration of brightness and the duration of second visible brightness control visible light source issue visible light signal and can have
Body are as follows: after the duration of the visible light signal of control visible light source the first visible brightness of sending is 0.72 millisecond, control
The duration that visible light source issues the visible light signal of the second visible brightness is 0.24 millisecond.
Due to the corresponding two kinds of visible brightness of a sub- parameter, for example, having 8 sub- parameters in coded data 11111111
1, every sub- parameter 1 all corresponds to two kinds of visible brightness, to show a coded data 11111111 by visible light source, need
It controls visible light source repeatedly to be jumped between two kinds of visible brightness, enable the server to more easily and more acurrate
The digit of the sub- parameter in coded data is determined on ground, therefore substantially increases the accurate of the coded data that server is determined
Property and networking efficiency to log equipment.
Optionally, the network process that enters of log equipment is waited in order to facilitate user's control, therefore, which also wraps
It includes: user terminal.
The user terminal is used for: it is described to log equipment 101 execute it is described according to communication key issue visible light letter
Before number, for receiving the networking function enabled instruction of user's operation, the networking function enabled instruction is sent to the service
Device 102, to indicate that the server 102 sends the networking function enabled instruction to the gateway 103.
Accordingly, the server 102 can be used for receiving the networking function enabled instruction, and send the networking function
Energy enabled instruction is to the gateway 103, to indicate that the gateway 103 starts networking function.
Accordingly, the gateway 103 can be used for receiving the networking function enabled instruction, start the networking function.
The user terminal can also be used in: it is described to log equipment 101 execute it is described according to communication key issue it is visible
After optical signal, the visible light signal is shot, to generate the corresponding video of the visible light signal, and the visible light is believed
Number corresponding video is sent to the server 102.
The server 102, is used for:
B1, the corresponding video of the visible light signal is obtained.
B2, the corresponding communication key of the video is determined.
B3, the communication key is sent to gateway.
The server 102 is specifically used for: when executing the step B1 by wired data transfer mode or nothing
Line data transfer mode obtains the corresponding video of visible light signal, and the video is made of several video frames, the server
102 can support cloud computing platform.
The server 102 is specifically used for when executing the step B2: determining the pixel of video frame in the video
Value, determines the corresponding communication key of the video according to the pixel value.
Optionally, for the speed that server can be improved determining communication key, therefore, the server 102 is being executed
When the step B2, it is specifically used for:
C1, the duration that the first visible brightness is determined according to the video and the second visible brightness it is lasting when
Between.
C2, communication is determined according to the duration of the described first visible brightness and the duration of the second visible brightness
Key.
Optionally, the server 102 is specifically used for when executing the step C1: according to it is described preset sub- parameter when
Between length mark off several set of video in video, the sum of corresponding time span of each set of video is equal to described pre-
If sub- parameter time span, determines the pixel value of the video frame, the visible light of the video frame is judged according to the pixel value
Brightness is the first visible brightness or the second visible brightness, and the server 102 is obtained first in the set of video
It can be seen that the time needed for the corresponding successive video frames of brightness is determined as the duration of the first visible brightness, by the service
It is visible that time needed for device 102 obtains in the set of video the corresponding successive video frames of the second visible brightness is determined as second
The duration of brightness.
For example, it is assumed that certain section of video is 0.96 second, described to preset sub- parameter time span be 0.12 millisecond, then the service
Device 102 marks off eight set of video in video, and eight set of video are respectively first, second, third, fourth, penta, oneself, heptan and pungent,
The corresponding time span of each set of video is equal to 0.12 millisecond, by taking set of video first as an example, it is assumed that in set of video first
Video frame is respectively A, B, C and D, and the server 102 determines the pixel value of video frame A, B, C and D respectively, according to described
Pixel value judges that the visible brightness of video frame is the first visible brightness or the second visible brightness, it is assumed that video frame A, B,
C, the visible brightness of D is the first visible brightness, the first visible brightness, the first visible brightness, the second visible light respectively
Brightness, it is 0.03 millisecond that server 102, which obtains each video frame required time, then the visible brightness of set of video first first is corresponding
Successive video frames include A, B and C, i.e., the duration of the first visible brightness is 0.09 millisecond, by each set of video
0.12 millisecond of corresponding time span subtracts 0.09 millisecond of duration of the first visible brightness, can obtain the second visible brightness
Duration be 0.03 millisecond, and so on can obtain set of video second, third, fourth, penta, oneself, heptan and the first pungent visible light
The duration of the duration of brightness and the second visible brightness.
Optionally, the server 102 is specifically used for when executing the step C2: by the described first visible brightness
Duration and duration of the second visible brightness determine calculated result according to default computation rule, according to default
Data corresponding relationship determines the corresponding sub- parameter of calculated result, determines coded data according to the sub- parameter, default according to second
The coded data is converted into communication key by system transformation rule, and the default computation rule can be by first visible light
The duration of brightness, accordingly, calculated result was the described first visible light divided by the duration of the second visible brightness
The duration of degree, the preset data corresponding relationship was to calculate divided by the duration obtained quotient of the second visible brightness
As a result the preset corresponding relationship between sub- parameter.
Quote above example, it is assumed that the default computation rule is to remove the duration of the described first visible brightness
With the duration of the second visible brightness, by the duration of the described first visible brightness and the second visible brightness
Duration calculated according to default computation rule, obtain calculated result be the described first visible brightness duration divided by
The duration obtained quotient of second visible brightness, it is assumed that the corresponding calculated result of set of video first is 3, according to present count
Determining that the corresponding sub- parameter of calculated result 3 is 1 according to corresponding relationship, i.e., the corresponding sub- parameter of set of video first is 1, and so on,
Set of video second, third, fourth, penta, oneself, heptan and pungent corresponding sub- parameter can be obtained, it is assumed that set of video second, third, fourth, penta, oneself,
Heptan, pungent corresponding sub- parameter are respectively 1,1,0,1,1,1,1, according to the described second default system transformation rule by 11101111 turns
It is changed to communication key EF.
Optionally, in order to improve the safety of communication, therefore, the server 102 execute it is described that the communication is close
When key is sent to gateway, it is specifically used for: the communication key is sent to by gateway by Wi-Fi technology.
Optionally, the server 102 execute it is described the communication key is sent to gateway before, be also used to: obtaining
It takes to networking solicited message transmitted by log equipment;Accordingly, the server 102 is described by the communication key in execution
When being sent to gateway, it is specifically used for: the communication key and the networking solicited message is sent to gateway.
The server 102 is specifically used for when executing the step B3: according to gateway identification information by the communication
Key is sent to gateway.
The gateway 103, for obtaining the communication key.
Optionally, in order to improve the safety of communication, therefore, described to obtain the communication close executing for the gateway 103
When key, be specifically used for: the communication key obtained by Wi-Fi technology, wherein the gateway 103 support ZigBee-network and
Wi-Fi network.
Optionally, in order to improve the networking efficiency to log equipment, therefore, the gateway 103 is used for: being obtained described in the execution
After taking the communication key, allows information to encrypt to networking according to the communication key, encrypted networking is allowed into information
It is sent to described to log equipment 101.
Accordingly, described to be used for log equipment 101: to be executed in the gateway 103 described by encrypted networking permission
Information be sent to it is described to log equipment 101 after, encrypted the networkings permission information is received, according to the communication key
Allow information to decrypt the encrypted networking, judge whether successful decryption, if decryption failure, generates networking and unsuccessfully believe
Breath, and the networking failure information is sent to the user terminal;If successful decryption, networking successful information is generated, according to
The communication key encrypts the networking successful information, and encrypted networking successful information is sent to gateway 103.
Accordingly, the gateway 103 is used for: described being networked encrypted successfully in described execute to log equipment 101
Information is sent to after gateway 103, the encrypted networking successful information is received, according to the communication key to the encryption
Networking successful information decryption afterwards, after decryption obtains the networking successful information, by the facility information to log equipment 101
The white list in gateway 103 is added, the facility information can be Media Access Control address.
In the embodiment of the present application, whether the agreement no matter supported to log equipment only has Zigbee protocol, described wait enter
Net equipment can issue visible light signal according to communication key, and server obtains the corresponding video of the visible light signal,
Then it determines the corresponding communication key of the video, then the communication key is sent to gateway, since malice wireless network is detectd
Listen device that can not detect visible light signal, therefore, malice wireless network detectaphone can not obtain communication key, to greatly improve
The safety of communication.
Embodiment two:
Fig. 3 shows a kind of flow diagram of data processing method provided by the embodiments of the present application, and details are as follows:
Step S301 obtains the corresponding video of visible light signal, and the visible light signal is by sending to log equipment.
Specifically, the corresponding view of visible light signal is obtained by wired data transfer mode or wireless data transmission mode
Frequently, the video is made of several video frames, and the video is to shoot the visible light signal by user terminal to obtain, institute
Zigbee protocol can be supported to log equipment by stating.
Optionally, before the step S301, comprising: send networking function enabled instruction to gateway, described in indicating
Gateways and starting networking function.
Specifically, networking function enabled instruction transmitted by the user terminal is received, then the networking function is started
Instruction sends networking function enabled instruction to gateway.
Step S302 determines the corresponding communication key of the video.
Specifically, it is determined that in the video video frame pixel value, determine that the video is corresponding according to the pixel value
Communication key.
Optionally, in order to improve the speed of determining communication key, therefore, the step S302 includes:
D1, the duration that the first visible brightness is determined according to the video and the second visible brightness it is lasting when
Between.
D2, communication is determined according to the duration of the described first visible brightness and the duration of the second visible brightness
Key.
Specifically, the step D1 includes: to preset sub- parameter time span according to described and mark off several in video
Set of video, the sum of corresponding time span of each set of video be equal to it is described preset sub- parameter time span, determine described in
The pixel value of video frame judges that the visible brightness of the video frame is the first visible brightness or according to the pixel value
Two visible brightness, time needed for will acquire in the set of video the corresponding successive video frames of the first visible brightness determine
For the duration of the first visible brightness, it will acquire in the set of video the corresponding successive video frames of the second visible brightness
The required time is determined as the duration of the second visible brightness.
Specifically, the step D2 includes: by the duration of the described first visible brightness and second visible light
The duration of brightness calculates according to default computation rule, determines the corresponding sub- ginseng of calculated result according to preset data corresponding relationship
Amount, determines coded data according to the sub- parameter, is converted into leading to by the coded data according to the second default system transformation rule
Believe that key, the default computation rule can be by the duration of the described first visible brightness divided by the second visible brightness
Duration, accordingly, calculated result are duration the holding divided by the second visible brightness of the described first visible brightness
Continuous time obtained quotient, the preset data corresponding relationship preset corresponding relationship between calculated result and sub- parameter.
The communication key is sent to gateway by step S303.
Specifically, the step S303 includes: that the communication key is sent to gateway according to gateway identification information.
Optionally, in order to improve the safety of communication, therefore, the step S303 includes: will be described by Wi-Fi technology
Communication key is sent to gateway.
Optionally, for the accuracy of transmitted communication key, therefore, it is described by Wi-Fi technology by the communication
It includes: to carry out format check and correction to the communication key that key, which is sent to gateway, and format is proofreaded correct result by Wi-Fi technology
Corresponding communication key is sent to gateway.
Optionally, before the step S303, comprising: obtain to networking solicited message transmitted by log equipment;It is right
Ying Di, the step S303 include: that the communication key and the networking solicited message are sent to gateway.
Specifically, the acquisition includes to networking solicited message transmitted by log equipment: being obtained by the user terminal
Take to facility information transmitted by log equipment and networking solicited message, accordingly, it is described by the communication key and it is described enter
It includes: to send the communication key, the networking solicited message and the facility information that net solicited message, which is sent to gateway,
To gateway, the gateway 103 supports ZigBee-network and Wi-Fi network.
In the embodiment of the present application, since malice wireless network detectaphone can not detect visible light signal, by obtaining
The corresponding video of visible light signal is taken, then determines the corresponding communication key of the video, then the communication key is sent to
Gateway can be avoided communication key and be obtained by malice wireless network detectaphone, to substantially increase the safety of communication.
Embodiment three:
Corresponding with above-described embodiment two, Fig. 4 shows a kind of structure of data processing equipment provided by the embodiments of the present application
Schematic diagram illustrates only part relevant to the embodiment of the present application for ease of description.
The data processing equipment includes: video acquisition unit 401, determination unit 402 and transmission unit 403.
The video acquisition unit 401, for obtaining the corresponding video of visible light signal, the visible light signal be by
What log equipment was sent.
The video acquisition unit 401 is specifically used for: passing through wired data transfer mode or wireless data transmission mode
The corresponding video of visible light signal is obtained, the video is made of several video frames, and the video is shot by user terminal
What the visible light signal obtained, it is described to support Zigbee protocol to log equipment.
Optionally, data processing equipment further include: instruction sending unit.
Described instruction transmission unit is used for: it is corresponding to execute the acquisition visible light signal in the video acquisition unit 401
Video before, send networking function enabled instruction to gateway, to indicate the gateways and starting networking function.
The determination unit 402, for determining the corresponding communication key of the video.
The determination unit 402 is specifically used for: determine the pixel value of video frame in the video, it is true according to the pixel value
Determine the corresponding communication key of the video.
Optionally, in order to improve the speed of determining communication key, therefore, the determination unit 402 includes: first to determine son
Unit and second determines subelement.
Described first determines subelement, for determining the duration and second of the first visible brightness according to the video
It can be seen that the duration of brightness.
It is described second determine subelement, for according to the described first visible brightness duration and the second visible light
The duration of degree determines communication key.
Described first determines subelement, if specifically for presetting sub- parameter time span according to described and marking off in video
A dry set of video, the sum of corresponding time span of each set of video be equal to it is described preset sub- parameter time span, determine
The pixel value of the video frame, according to the pixel value judge the video frame visible brightness be the first visible brightness also
It is the second visible brightness, the time needed for will acquire in the set of video the corresponding successive video frames of the first visible brightness
It is determined as the duration of the first visible brightness, will acquire in the set of video the corresponding continuous view of the second visible brightness
Time needed for frequency frame is determined as the duration of the second visible brightness.
Described second determines subelement, for by the duration of the described first visible brightness and second visible light
The duration of brightness calculates according to default computation rule, determines the corresponding sub- ginseng of calculated result according to preset data corresponding relationship
Amount, determines coded data according to the sub- parameter, is converted into leading to by the coded data according to the second default system transformation rule
Believe that key, the default computation rule can be by the duration of the described first visible brightness divided by the second visible brightness
Duration, accordingly, calculated result are duration the holding divided by the second visible brightness of the described first visible brightness
Continuous time obtained quotient, the preset data corresponding relationship preset corresponding relationship between calculated result and sub- parameter.
The transmission unit 403, for the communication key to be sent to gateway.
Optionally, in order to improve the safety of communication, therefore, the transmission unit 403 is specifically used for: by Wi-Fi skill
The communication key is sent to gateway by art.
Optionally, for the accuracy of transmitted communication key, therefore, the transmission unit 403 is executing described lead to
It crosses when the communication key is sent to gateway by Wi-Fi technology and is specifically used for: format check and correction being carried out to the communication key, is passed through
The corresponding communication key of format check and correction correct result is sent to gateway by Wi-Fi technology.
Optionally, data processing equipment further include: information acquisition unit.
The information acquisition unit is used for: being executed in the transmission unit 403 and described the communication key is sent to net
Before pass, obtain to networking solicited message transmitted by log equipment;Accordingly, the transmission unit 403 is executing described incite somebody to action
When the communication key is sent to gateway, it is specifically used for: the communication key and the networking solicited message is sent to gateway.
In the embodiment of the present application, since malice wireless network detectaphone can not detect visible light signal, by obtaining
The corresponding video of visible light signal is taken, then determines the corresponding communication key of the video, then the communication key is sent to
Gateway can be avoided communication key and be obtained by malice wireless network detectaphone, to substantially increase the safety of communication.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process
Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present application constitutes any limit
It is fixed.
Example IV:
Fig. 5 is the schematic diagram of terminal device provided by the embodiments of the present application.As shown in figure 5, the terminal device 5 of the embodiment
Include: processor 50, memory 51 and is stored in the calculating that can be run in the memory 51 and on the processor 50
Machine program 52.The processor 50 is realized when executing the computer program 52 in above-mentioned each data processing method embodiment
Step, such as step S301 to S303 shown in Fig. 3.Alternatively, realization when the processor 50 executes the computer program 52
The function of each unit in above-mentioned each Installation practice, such as the function of unit 401 to 403 shown in Fig. 4.
Illustratively, the computer program 52 can be divided into one or more module/units, it is one or
Multiple module/units are stored in the memory 51, and are executed by the processor 50, to complete the application.Described one
A or multiple module/units can be the series of computation machine program instruction section that can complete specific function, which is used for
Implementation procedure of the computer program 52 in the terminal device 5 is described.For example, the computer program 52 can be divided
It is cut into video acquisition unit, determination unit and transmission unit, each unit concrete function is as follows:
Video acquisition unit, for obtaining the corresponding video of visible light signal, the visible light signal is by setting wait network
What preparation was sent.
Determination unit, for determining the corresponding communication key of the video.
Transmission unit, for the communication key to be sent to gateway.
The terminal device 5 can be the calculating such as desktop PC, notebook, palm PC and cloud server and set
It is standby.The terminal device may include, but be not limited only to, processor 50, memory 51.It will be understood by those skilled in the art that Fig. 5
The only example of terminal device 5 does not constitute the restriction to terminal device 5, may include than illustrating more or fewer portions
Part perhaps combines certain components or different components, such as the terminal device can also include input-output equipment, net
Network access device, bus etc..
Alleged processor 50 can be central processing unit (Central Processing Unit, CPU), can also be
Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit
(Application Specific Integrated Circuit, ASIC), field programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor
Deng.
The memory 51 can be the internal storage unit of the terminal device 5, such as the hard disk or interior of terminal device 5
It deposits.The memory 51 is also possible to the External memory equipment of the terminal device 5, such as be equipped on the terminal device 5
Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card dodge
Deposit card (Flash Card) etc..Further, the memory 51 can also both include the storage inside list of the terminal device 5
Member also includes External memory equipment.The memory 51 is for storing needed for the computer program and the terminal device
Other programs and data.The memory 51 can be also used for temporarily storing the data that has exported or will export.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function
Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different
Functional unit, module are completed, i.e., the internal structure of described device is divided into different functional unit or module, more than completing
The all or part of function of description.Each functional unit in embodiment, module can integrate in one processing unit, can also
To be that each unit physically exists alone, can also be integrated in one unit with two or more units, it is above-mentioned integrated
Unit both can take the form of hardware realization, can also realize in the form of software functional units.In addition, each function list
Member, the specific name of module are also only for convenience of distinguishing each other, the protection scope being not intended to limit this application.Above system
The specific work process of middle unit, module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment
The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
Scope of the present application.
In embodiment provided herein, it should be understood that disclosed device/terminal device and method, it can be with
It realizes by another way.For example, device described above/terminal device embodiment is only schematical, for example, institute
The division of module or unit is stated, only a kind of logical function partition, there may be another division manner in actual implementation, such as
Multiple units or components can be combined or can be integrated into another system, or some features can be ignored or not executed.Separately
A bit, shown or discussed mutual coupling or direct-coupling or communication connection can be through some interfaces, device
Or the INDIRECT COUPLING or communication connection of unit, it can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated module/unit be realized in the form of SFU software functional unit and as independent product sale or
In use, can store in a computer readable storage medium.Based on this understanding, the application realizes above-mentioned implementation
All or part of the process in example method, can also instruct relevant hardware to complete, the meter by computer program
Calculation machine program can be stored in a computer readable storage medium, the computer program when being executed by processor, it can be achieved that on
The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program generation
Code can be source code form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium
It may include: any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic that can carry the computer program code
Dish, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM,
Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that described
The content that computer-readable medium includes can carry out increasing appropriate according to the requirement made laws in jurisdiction with patent practice
Subtract, such as does not include electric carrier signal and electricity according to legislation and patent practice, computer-readable medium in certain jurisdictions
Believe signal.
Embodiment described above is only to illustrate the technical solution of the application, rather than its limitations;Although referring to aforementioned reality
Example is applied the application is described in detail, those skilled in the art should understand that: it still can be to aforementioned each
Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified
Or replacement, the spirit and scope of each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution should all
Comprising within the scope of protection of this application.
Claims (10)
1. a kind of data processing system, which is characterized in that described to be set wait network including to log equipment, server and gateway
It is standby that visible light signal is issued according to communication key;
The server obtains the corresponding video of the visible light signal, determines the corresponding communication key of the video, will be described
Communication key is sent to gateway;
The gateway is for obtaining the communication key.
2. a kind of data processing method characterized by comprising
The corresponding video of visible light signal is obtained, the visible light signal is by sending to log equipment;
Determine the corresponding communication key of the video;
The communication key is sent to gateway.
3. data processing method as claimed in claim 2, which is characterized in that the corresponding communication of the determination video is close
Key, comprising:
The duration of the first visible brightness and the duration of the second visible brightness are determined according to the video;
Communication key is determined according to the duration of the duration of the described first visible brightness and the second visible brightness.
4. data processing method as claimed in claim 2, which is characterized in that it is described that the communication key is sent to gateway,
Include:
The communication key is sent to gateway by WiMAX Wi-Fi technology.
5. data processing method as claimed in claim 2, which is characterized in that in the corresponding video of the acquisition visible light signal
Before, comprising:
Networking function enabled instruction is sent to gateway, to indicate the gateways and starting networking function.
6. data processing method as claimed in claim 2, which is characterized in that the communication key is sent to gateway described
Before, comprising:
It obtains to networking solicited message transmitted by log equipment;
Accordingly, described the communication key is sent to gateway to include:
The communication key and the networking solicited message are sent to gateway.
7. a kind of data processing equipment characterized by comprising
Video acquisition unit, for obtaining the corresponding video of visible light signal, the visible light signal is by sending out to log equipment
It send;
Determination unit, for determining the corresponding communication key of the video;
Transmission unit, for the communication key to be sent to gateway.
8. data processing equipment as claimed in claim 7, which is characterized in that the determination unit includes:
First determines subelement, for determining duration and the second visible light of the first visible brightness according to the video
The duration of degree;
Second determines subelement, for according to the duration of the described first visible brightness and continuing for the second visible brightness
Time determines communication key.
9. a kind of terminal device, including memory, processor and storage are in the memory and can be on the processor
The computer program of operation, which is characterized in that the processor realizes such as claim 1 to 6 when executing the computer program
The step of any one the method.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists
In when the computer program is executed by processor the step of any one of such as claim 1 to 6 of realization the method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910646057.1A CN110492935B (en) | 2019-07-17 | 2019-07-17 | Data processing system, method and device and terminal equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910646057.1A CN110492935B (en) | 2019-07-17 | 2019-07-17 | Data processing system, method and device and terminal equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110492935A true CN110492935A (en) | 2019-11-22 |
CN110492935B CN110492935B (en) | 2020-11-10 |
Family
ID=68547293
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910646057.1A Active CN110492935B (en) | 2019-07-17 | 2019-07-17 | Data processing system, method and device and terminal equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110492935B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021213039A1 (en) * | 2020-04-23 | 2021-10-28 | 京东方科技集团股份有限公司 | Optical communication device, optical communication system, and communicational connection establishment method |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102801473A (en) * | 2012-08-06 | 2012-11-28 | 南京邮电大学 | Visible light video communication system based on digital signal processing |
US20160127600A1 (en) * | 2014-11-02 | 2016-05-05 | Clover Network, Inc. | Point of sale platform and associated methods |
CN107360165A (en) * | 2017-07-13 | 2017-11-17 | 北京元心科技有限公司 | Terminal device, cloud server and method and device for managing and controlling operating system |
-
2019
- 2019-07-17 CN CN201910646057.1A patent/CN110492935B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102801473A (en) * | 2012-08-06 | 2012-11-28 | 南京邮电大学 | Visible light video communication system based on digital signal processing |
US20160127600A1 (en) * | 2014-11-02 | 2016-05-05 | Clover Network, Inc. | Point of sale platform and associated methods |
CN107360165A (en) * | 2017-07-13 | 2017-11-17 | 北京元心科技有限公司 | Terminal device, cloud server and method and device for managing and controlling operating system |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021213039A1 (en) * | 2020-04-23 | 2021-10-28 | 京东方科技集团股份有限公司 | Optical communication device, optical communication system, and communicational connection establishment method |
Also Published As
Publication number | Publication date |
---|---|
CN110492935B (en) | 2020-11-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110245220A (en) | Electronic document signs method, apparatus and server, storage medium | |
CN110071940A (en) | Software package encipher-decipher method, server, user equipment and storage medium | |
CN111814179A (en) | User authority management and data control method and related equipment thereof | |
CN110473104B (en) | Transaction processing method and related equipment | |
CN110225104A (en) | Data capture method, device and terminal device | |
CN109905293A (en) | A kind of terminal device recognition methods, system and storage medium | |
CN106790727A (en) | Information push method and device | |
CN111414374B (en) | Block chain transaction concurrent processing method, device and equipment | |
TW201426593A (en) | Method and apparatus for information verification | |
CN113038396B (en) | Scheduling method, device and equipment of short message channel and storage medium | |
CN110322582A (en) | Lightguide cable link method for inspecting, device and terminal device | |
CN112631924A (en) | Automatic testing method and device, computer equipment and storage medium | |
CN108446989B (en) | Method for determining commission charge and terminal equipment | |
US7961614B2 (en) | Information processing device, information processing method, and recording medium for reducing consumption of memory capacity | |
CN109769010A (en) | Method, apparatus, equipment and storage medium based on SDK access CloudStack server | |
CN108092921A (en) | Data exchange system and method | |
CN109636460B (en) | Service processing method, device, equipment and storage medium | |
CN108183889A (en) | Identity identifying method and identification authentication system | |
CN110492935A (en) | Data processing system, method, apparatus and terminal device | |
CN109522457A (en) | Data capture method and device | |
CN107704734A (en) | A kind of recognition methods of user account and its equipment | |
CN109104481A (en) | file integrity detection method, file integrity detection device and terminal device | |
CN114036364B (en) | Method, apparatus, device, medium, and system for identifying crawlers | |
WO2018196613A1 (en) | Application control method and device using function switches, server, and medium | |
CN105519069A (en) | Data processing system, center apparatus and program |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |