Nothing Special   »   [go: up one dir, main page]

CN107094285A - A kind of data transmission method and device - Google Patents

A kind of data transmission method and device Download PDF

Info

Publication number
CN107094285A
CN107094285A CN201710326754.XA CN201710326754A CN107094285A CN 107094285 A CN107094285 A CN 107094285A CN 201710326754 A CN201710326754 A CN 201710326754A CN 107094285 A CN107094285 A CN 107094285A
Authority
CN
China
Prior art keywords
data
transmitted
title
user interface
coding
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710326754.XA
Other languages
Chinese (zh)
Inventor
王震
徐松兴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201710326754.XA priority Critical patent/CN107094285A/en
Publication of CN107094285A publication Critical patent/CN107094285A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a kind of data transmission method and device, methods described includes:The title and password of attachable Wireless Local Area network are determined, and the Wireless Local Area network title and password are defined as data to be transmitted;The data to be transmitted is encoded, and sent the data after coding as bluetooth title to no user interface terminal, so that no user interface terminal is obtained.It can be seen that, the data transmission scheme that the present invention is provided, by WIFI title and cipher coding in bluetooth title, no user interface terminal can directly obtain the WIFI titles and password, it is done directly WIFI configuration, no longer need again to be transmitted the data of needs after no user interface terminal is established a connection with mobile terminal, so as to reduce WIFI setup time, be user-friendly.

Description

A kind of data transmission method and device
Technical field
The present invention relates to communication technical field, more particularly to a kind of data transmission method and device.
Background technology
When equipment at no user end connects AP (Access Point, WAP) for the first time, due to no keyboard etc. Input medium, input WIFI (Wireless-Fidelidy, WLAN) configuration information can be using shared model Mode is configured, and collocation method is the first step, and the equipment at no user end enters shared model;Second step, mobile terminal connection Upper shared model;WiFi configuration informations are transferred to TV fruit by the 3rd step, mobile terminal;5th step, the equipment at no user end is broken Connection is opened, the equipment at no user end enters mode of operation from shared model, the WiFi come using mobile terminal configuration matches somebody with somebody confidence Breath is connected to AP (Access Point, unlimited access point).
Second of WIFI collocation method is to carry out transmission of configuration information using bluetooth, and idiographic flow is as follows:The first step:Scanning Discovering device;Second step:Set up the equipment at no user end and the connection of mobile terminal;3rd step:Transmitted in the connection of foundation Data;4th step:Transmission data are disconnected after finishing.The WIFI configuration informations that the equipment utilization at no user end is received are completed AP connection.
By above step it can be seen that the process that the equipment at no user end is configured by mobile terminal to WIFI, all Need to establish a connection mobile terminal with TV box, the problems such as causing setup time long.
The content of the invention
The invention provides a kind of data transmission method and device, to solve equipment in the prior art for no user end WIFI configuration process overlong times the problems such as.
In order to solve the above problems, the invention discloses a kind of data transmission method, methods described includes:
Determine the title and password of attachable Wireless Local Area network, and by the Wireless Local Area network title and close Code is defined as data to be transmitted;The data to be transmitted is encoded, and the data after coding are sent as bluetooth title To no user interface terminal, so that no user interface terminal is obtained.
Preferably, it is described that the data to be transmitted is encoded, and the data after coding are sent as bluetooth title The step of to the no user interface terminal, including:Judge whether the length of the data to be transmitted exceedes preset value;If so, Then the data to be transmitted is cut into slices, at least two data slicers are obtained;Any data slicer is obtained, judges current Time interval that time of the data slicer to a preceding logarithm encoded according to section is obtained whether more than preset time;If Not less than the preset time, the data slicer of acquisition is encoded, and regard the data after coding as bluetooth title Send to the no user interface terminal.
Preferably, if exceeding the preset time described, the data slicer of acquisition is encoded, and will coding Data afterwards are sent to after the step of the no user interface terminal as bluetooth title, and methods described also includes:Judgement is It is no to there is the data slicer not sent, if so, returning to the step of performing the acquisition any data slicer.
Preferably, after the step of whether length for judging the data to be transmitted exceedes preset value, the side Method also includes:If the length of the data to be transmitted is encoded not less than preset value to the data to be transmitted, and will coding Data afterwards are sent to the no user interface terminal as bluetooth title.
Preferably, the bluetooth title includes following field:MagicNumber, the MagicNumber are beginning field For writing spcial character;TotalPkgNum, the TotalPkgNum are used to write section number;Index, the Index For writing initial count slice information;Length, the Length are used to write the corresponding length information of each section.
In order to solve the above problems, the invention also discloses a kind of data transmission device, described device includes:Determine mould Block, for determining attachable Wireless Local Area network title and password, and by the title and password of the Wireless Local Area network It is defined as data to be transmitted;Coding module, for being encoded to the data to be transmitted, and regard the data after coding as indigo plant Tooth title is sent to no user interface terminal, so that the no user interface terminal is obtained.
Preferably, the coding module includes:First judging submodule, for judging that the length of the data to be transmitted is It is no to exceed preset value;Section submodule, the judged result for first judging submodule is yes, then by the number to be transmitted According to being cut into slices, at least two data slicers are obtained;Second judging submodule, for obtaining any data slicer, judges Currently obtain whether the time interval that time of the data slicer to a preceding logarithm encoded according to section exceedes when presetting Between;Sending submodule, for being more than the preset time, to the institute of acquisition when the judged result of second judging submodule State data slicer to be encoded, and sent the data after coding as bluetooth title to the no user interface terminal.
Preferably, described device also includes:Judge module, for sending submodule to work as second judging submodule described Judged result be more than the preset time, the data slicer of acquisition is encoded, and by after coding data work Sent for bluetooth title to the no user interface terminal, judge whether the data slicer not sent;Return Performing module, for being yes when the judged result of the judge module, returns and performs any data slicer of acquisition Step.
Preferably, described device also includes:Sending module is encoded, if the length for the data to be transmitted is not less than pre- If during value, being encoded to the data to be transmitted, and sent the data after coding as bluetooth title to the no user Interface terminal.
Preferably, the bluetooth title includes following field:MagicNumber, the MagicNumber are beginning field For writing spcial character;TotalPkgNum, the TotalPkgNum are used to write section number;Index, the Index For writing initial count slice information;Length, the Length are used to write the corresponding length information of each section.
Compared with prior art, the present invention has advantages below:
Data transmission scheme provided in an embodiment of the present invention, when mobile terminal such as mobile phone determines there is no user interface terminal When, attachable WLAN title and password are determined, and WLAN title and password be defined as to be transmitted Data;Data to be transmitted is encoded, and the data after coding are sent whole to the no user interface as bluetooth title End.It can be seen that, the data transmission scheme that the present invention is provided, by WIFI title and cipher coding in bluetooth title, no user Interface terminal can directly obtain the WIFI titles and password, be done directly WIFI configuration, it is no longer necessary to by no user circle The data of needs are transmitted by face terminal again after being established a connection with mobile terminal, so that when reducing WIFI configuration Between, it is user-friendly.
Brief description of the drawings
Fig. 1 is a kind of step flow chart of data transmission method of the embodiment of the present invention one;
Fig. 2 is a kind of step flow chart of data transmission method of the embodiment of the present invention two;
Fig. 3 is a kind of structured flowchart of data transmission device of the embodiment of the present invention three;
Fig. 4 is a kind of structured flowchart of data transmission device of the embodiment of the present invention four.
Embodiment
In order to facilitate the understanding of the purposes, features and advantages of the present invention, it is below in conjunction with the accompanying drawings and specific real Applying mode, the present invention is further detailed explanation.
Embodiment one
Reference picture 1, shows a kind of step flow chart of data transmission method of the embodiment of the present invention one.
Data transmission method provided in an embodiment of the present invention comprises the following steps:
Step 101:Determine attachable WLAN title and password, and by wireless sentence networking title and Password is defined as data to be transmitted.
Mobile terminal determines that attachable WIFI SSID (Service Set Identifie, service set) is WIFI title and password, and WLAN title and password are defined as data to be transmitted, no user interface terminal The data of bluetooth equipment and the transmission of active obtaining mobile terminal in calling system bluetooth scanning surrounding environment, realize that a key is fast Even.
Step 102:Data to be transmitted is encoded, and sent the data after coding as bluetooth title to no user Interface terminal, so that the no user interface terminal is obtained.
When being encoded to data to be transmitted, when the bluetooth title is ASCII character, bluetooth title volume is directly carried out The transmission of code;When the bluetooth title is Non-American Standard Code for Information Interchange, call coding method that bluetooth title is encoded translated for code, progress The bluetooth title transmission.
For example, the bluetooth title of mobile phone is encoded, by WIFI title and cipher coding into bluetooth title, only When the bluetooth equipment of mobile phone is arrived in no user interface terminal and TV fruit scanning, the bluetooth title after active obtaining mobile phone coding, according to WIFI configuration is carried out according to the bluetooth title after the coding of acquisition, it is TV box WIFI configurations to complete no user interface terminal, So that TV box may be coupled to WIFI.
It should be noted that except the method for the present invention can be used to realize setting for no user interface terminal and no user end Standby connection, can also realize other-end and the connection of the equipment at no user end, this is not specifically limited.
When the bluetooth title that TV box is scanned is common title, then WIFI configurations will not succeed.
It should be noted that those skilled in the art can be selected mobile terminal according to actual conditions, wherein, move Dynamic terminal can be without limitation for mobile phone, tablet personal computer etc., as long as the mobile terminal with bluetooth equipment.
Data transmission method provided in an embodiment of the present invention, when mobile terminal is mobile phone terminal scanning no user interface terminal When, attachable WLAN title and password are determined, and WLAN title and password are defined as treating Transmit data;Data to be transmitted is encoded, and sent the data after coding as bluetooth title to no user circle Face terminal.It can be seen that, the data transmission method that the present invention is provided, by WIFI title and cipher coding in bluetooth title, nothing User interface terminal can directly obtain the WIFI titles and password, be done directly WIFI configuration, it is no longer necessary to will be useless The data of needs are transmitted by family interface terminal again after being established a connection with mobile terminal, so as to reduce matching somebody with somebody for the WIFI that knows clearly The time is put, is user-friendly.
Embodiment two
Reference picture 2, shows a kind of step flow chart of data transmission method of the embodiment of the present invention two.
Data transmission method provided in an embodiment of the present invention comprises the following steps:
Step 201:Determine the title and password of attachable Wireless Local Area network, and by the title of WLAN And password is defined as data to be transmitted.
Mobile terminal determines that attachable WIFI SSID (Service Set Identifie, service set) is WIFI title and password, and WLAN is claimed and password is defined as data to be transmitted, no user interface terminal is adjusted The bluetooth equipment in surrounding environment, and the data that active obtaining mobile terminal is transmitted are scanned with system bluetooth, realize that a key is fast Even.
Step 202:Judge whether the length of data to be transmitted exceedes preset value;If so, step 202 is then performed, if it is not, then Perform step 208.
Because the length of bluetooth device name is that limitation of limited, the different system to length is different, this limitation is Both sides, it is allowed to which the maximum length of the bluetooth title of surrounding devices, bluetooth rule are arrived in the maximum length of the name of setting and scanning Lattice provide that the maximum length of bluetooth title is 248 bytes, but many remote-control devices can only scan preceding 40 bytes, or even have Can only scan preceding 20 bytes, the limitation for compatible different equipment to bluetooth title length, conveying length is more than indigo plant Data can be just transmitted, it is necessary to handle data by the data of tooth title limit for length.
Whether the length for first judge data to be transmitted to data waiting for transmission exceedes preset value, it is necessary to illustrate, Those skilled in the art can be configured according to actual conditions to preset value, for example:It could be arranged to 20 bytes, 30 bytes Deng being not specifically limited to this.
Step 203:If so, then data to be transmitted is cut into slices, at least two data slicers are obtained.
When data waiting for transmission are more than preset value, then data to be transmitted is cut into slices.
After data cutting, these scrappy data are called burst i.e. data slicer, the main mesh that data are cut into slices Be to will be transmitted beyond the data to be transmitted of preset value.
Step 204:Any data section is obtained, judges the current time for obtaining data slicer to a preceding logarithm according to section Whether the time interval encoded exceedes preset time.
When being encoded to data to be transmitted, when the bluetooth title is ASCII character, bluetooth title volume is directly carried out The transmission of code;When the bluetooth title is Non-American Standard Code for Information Interchange, call coding method that bluetooth title is encoded translated for code, progress The bluetooth title transmission.
After being cut into slices to data waiting for transmission, two or more section can be generated, any one is obtained Data slicer, and whether the time interval that judging distance last time is encoded to data slicer exceedes preset time, this area skill Art personnel can set according to actual conditions to preset time, can be set as 1s, 2s, 3s etc., not make specific limit to this System.
Where it is determined whether more than preset time purpose be in order to ensure last time success has been encoded to data slicer.
Step 205:If more than preset time, the data slicer of acquisition is encoded, and using the data after coding as Bluetooth title is sent to no user interface terminal.
If being judged as not less than preset time, need to wait the regular hour, until more than preset time, it is therefore an objective to really After guarantor encodes successfully the last time to data slicer, just data slicer below is encoded, sent after data slicer is encoded To no user interface terminal.
Step 206:Judge whether the data slicer not sent.
Step 207:The step of obtaining any data slicer is performed if so, then returning.
In order to ensure that the data to be transmitted beyond preset value has all carried out coding, it is necessary to judge whether the number not sent According to section, to ensure that no user interface terminal can complete WIFI configuration.
Step 208:If the length of data to be transmitted is not less than preset value, data to be transmitted is encoded, and will be compiled Data after code are sent to no user interface terminal as bluetooth title.
When the length for judging data to be transmitted and not less than preset value, directly data to be transmitted is encoded, and will be compiled Data after code are arranged in bluetooth title, it is ensured that no user interface terminal can directly obtain WIFI titles and password, complete Into WIFI configuration.
When no user interface terminal scans the bluetooth title to after encoding by bluetooth, after the coding for obtaining mobile terminal Bluetooth title;Obtain the Infiniband title and code data of the bluetooth title after coding;By Infiniband title and Code data carries out parsing generation parsing data;WIFI configuration is completed according to parsing data.
It should be noted that the bluetooth title includes following field:MagicNumber, the MagicNumber are to open Head field is used to write spcial character;TotalPkgNum, the TotalPkgNum are used to write section number;Index, it is described Index is used to write initial count slice information;Length, the Length are used to write the corresponding length information of each section. MagicNumber is:Spcial character starts, to be distinguished with other bluetooth equipments in environment, TVG@beginnings, and below The character that 0-F only occurs.Configuration information may more than an implementor name limit for length, it is necessary to cut into slices, TotalPkgNum tables How many subpackage altogether shown.Lengt represents that this is which subpackage is started counting up from 0.
Data transmission method provided in an embodiment of the present invention, when mobile terminal is mobile phone terminal scanning no user interface terminal When, the title and password of attachable WLAN are determined, and the title of WLAN and password are determined For data to be transmitted;Data to be transmitted is encoded, and sent the data after coding as bluetooth title to described useless Family interface terminal.It can be seen that, by data transmission method provided in an embodiment of the present invention, WIFI title and cipher coding are existed In bluetooth title, no user interface terminal can directly obtain the WIFI titles and password, be done directly WIFI configuration, no Need again to be transmitted the data of needs after no user interface terminal is established a connection with mobile terminal again, so as to reduce WIFI setup time, it is user-friendly.
Embodiment three
Reference picture 3, shows a kind of step flow chart of data transmission method of the embodiment of the present invention three.
Data transmission device provided in an embodiment of the present invention includes:Determining module 301, for determining attachable unlimited office The title and password of domain network, and the Wireless Local Area network title and password are defined as data to be transmitted;Encode mould Block 302, for being encoded to the data to be transmitted, and the data after coding is sent to no user circle as bluetooth title Face terminal, so that the no user interface terminal is obtained.
Data transmission device provided in an embodiment of the present invention, when mobile terminal is mobile phone terminal scanning no user interface terminal When, the title and password of attachable Wireless Local Area network are determined, and Wireless Local Area network title and password are defined as Data to be transmitted;Data to be transmitted is encoded, and sent the data after coding as bluetooth title to the no user Interface terminal.It can be seen that, by data transmission device provided in an embodiment of the present invention, by WIFI title and cipher coding in indigo plant In tooth title, no user interface terminal can directly obtain the WIFI titles and password, be done directly WIFI configuration, no longer Need again to be transmitted the data of needs after no user interface terminal is established a connection with mobile terminal, so as to reduce WIFI setup time, it is user-friendly.
Example IV
Reference picture 4, shows a kind of step flow chart of data transmission method of the embodiment of the present invention four.
Data transmission device provided in an embodiment of the present invention includes:Determining module 401, for determining attachable unlimited office The title and password of domain network, and the Wireless Local Area network title and password are defined as data to be transmitted;Encode mould Block 402, for being encoded to the data to be transmitted, and the data after coding is sent to no user circle as bluetooth title Face terminal, so that the no user interface terminal is obtained.
Preferably, the coding module 402 includes:First judging submodule 4021, for judging the data to be transmitted Length whether exceed preset value;Section submodule 4022, the judged result for first judging submodule is yes, then will The data to be transmitted is cut into slices, and obtains at least two data slicers;Second judging submodule 4023, for obtaining any institute Data slicer is stated, judgement currently obtains the time interval encoded to a preceding logarithm according to section the time of the data slicer Whether preset time is exceeded;Sending submodule 4024, for being more than described when the judged result of second judging submodule Preset time, is encoded, and sent the data after coding as bluetooth title to described to the data slicer of acquisition No user interface terminal.
Preferably, described device also includes:Judge module 403, judges for working as described second in the sending submodule The judged result of submodule is, more than the preset time, the data slicer of acquisition to be encoded, and by after coding Data are sent to the no user interface terminal as bluetooth title, judge whether that the data not sent are cut Piece;Performing module 404 is returned, for being yes when the judged result of the judge module, the execution acquisition is returned to any described The step of data slicer.
Preferably, described device also includes:Sending module 405 is encoded, if the length for the data to be transmitted does not surpass When crossing preset value, the data to be transmitted is encoded, and sent the data after coding as bluetooth title to the nothing User interface terminal.
Preferably, the bluetooth title includes following field:MagicNumber, the MagicNumber are beginning field For writing spcial character;TotalPkgNum, the TotalPkgNum are used to write section number;Index, the Index For writing initial count slice information;Length, the Length are used to write the corresponding length information of each section.
Data transmission device provided in an embodiment of the present invention, when mobile terminal is mobile phone terminal scanning no user interface terminal When, the title and password of attachable WLAN are determined, and the title of WLAN and password are determined For data to be transmitted;Data to be transmitted is encoded, and sent the data after coding as bluetooth title to described useless Family interface terminal.It can be seen that, by data transmission device provided in an embodiment of the present invention, WIFI title and cipher coding are existed In bluetooth title, no user interface terminal can directly obtain the WIFI titles and password, be done directly WIFI configuration, no Need again to be transmitted the data of needs after no user interface terminal is established a connection with mobile terminal again, so as to reduce WIFI setup time, it is user-friendly.
Each embodiment in this specification is described by the way of progressive, what each embodiment was stressed be with Between the difference of other embodiment, each embodiment identical similar part mutually referring to.For system embodiment For, because it is substantially similar to embodiment of the method, so description is fairly simple, referring to the portion of embodiment of the method in place of correlation Defend oneself bright.
Above to a kind of method and device of data transfer provided by the present invention, it is described in detail, herein should The principle and embodiment of the present invention are set forth with specific case, the explanation of above example is only intended to help and managed Solve the method and its core concept of the present invention;Simultaneously for those of ordinary skill in the art, according to the thought of the present invention, It will change in embodiment and application, in summary, this specification content should not be construed as to this hair Bright limitation.

Claims (10)

1. a kind of data transmission method, it is characterised in that methods described includes:
The title and password of attachable Wireless Local Area network are determined, and the Wireless Local Area network title and password is true It is set to data to be transmitted;
The data to be transmitted is encoded, and the data after coding are sent whole to no user interface as bluetooth title End, so that no user interface terminal is obtained.
2. according to the method described in claim 1, it is characterised in that described that the data to be transmitted is encoded, and will compile The step of data after code are sent to the no user interface terminal as bluetooth title, including:
Judge whether the length of the data to be transmitted exceedes preset value;
If so, then the data to be transmitted is cut into slices, at least two data slicers are obtained;
Any data slicer is obtained, judges that time to the preceding logarithm for currently obtaining the data slicer is carried out according to section Whether the time interval of coding exceedes preset time;
If more than the preset time, being encoded to the data slicer of acquisition, and regard the data after coding as bluetooth Title is sent to the no user interface terminal.
3. method according to claim 2, it is characterised in that if exceeding the preset time described, to the institute of acquisition Data slicer is stated to be encoded, and using the data after coding as bluetooth title send to the no user interface terminal the step of Afterwards, methods described also includes:
Judge whether the data slicer not sent;
If so, then returning to the step of performing the acquisition any data slicer.
4. method according to claim 2, it is characterised in that whether surpass in the length for judging the data to be transmitted After the step of crossing preset value, methods described also includes:
If the length of the data to be transmitted is encoded not less than preset value to the data to be transmitted, and by after coding Data are sent to the no user interface terminal as bluetooth title.
5. according to the method described in claim 1, it is characterised in that the bluetooth title includes following field:
MagicNumber, the MagicNumber are used to write spcial character for beginning field;
TotalPkgNum, the TotalPkgNum are used to write section number;
Index, the Index are used to write initial count slice information;
Length, the Length are used to write the corresponding length information of each section.
6. a kind of data transmission device, it is characterised in that described device includes:
Determining module, for determining attachable Wireless Local Area network title and password, and by the Wireless Local Area network Claim and password is defined as data to be transmitted;
Coding module, for being encoded to the data to be transmitted, and using the data after coding as bluetooth title send to No user interface terminal, so that the no user interface terminal is obtained.
7. device according to claim 6, it is characterised in that the coding module includes:
First judging submodule, for judging whether the length of the data to be transmitted exceedes preset value;
Section submodule, the judged result for first judging submodule is yes, then is cut the data to be transmitted Piece, obtains at least two data slicers;
Second judging submodule, for obtaining any data slicer, judgement currently obtains the time of the data slicer extremely Whether the time interval that a preceding logarithm is encoded according to section exceedes preset time;
Sending submodule, for being more than the preset time, to acquisition when the judged result of second judging submodule The data slicer is encoded, and is sent the data after coding as bluetooth title to the no user interface terminal.
8. device according to claim 7, it is characterised in that described device also includes:
Judge module, the judged result for working as second judging submodule in the sending submodule is default more than described Time, the data slicer of acquisition is encoded, and sent the data after coding as bluetooth title to described useless After the interface terminal of family, the data slicer not sent is judged whether;
Implementation sub-module is returned, for being yes when the judged result of the judge module, the execution acquisition is returned to any described The step of data slicer.
9. device according to claim 7, it is characterised in that described device also includes:
Sending module is encoded, if the length for the data to be transmitted is not less than preset value, the data to be transmitted is entered Row coding, and sent the data after coding as bluetooth title to the no user interface terminal.
10. device according to claim 6, it is characterised in that the bluetooth title includes following field:
MagicNumber, the MagicNumber are used to write spcial character for beginning field;
TotalPkgNum, the TotalPkgNum are used to write section number;
Index, the Index are used to write initial count slice information;
Length, the Length are used to write the corresponding length information of each section.
CN201710326754.XA 2017-05-10 2017-05-10 A kind of data transmission method and device Pending CN107094285A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710326754.XA CN107094285A (en) 2017-05-10 2017-05-10 A kind of data transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710326754.XA CN107094285A (en) 2017-05-10 2017-05-10 A kind of data transmission method and device

Publications (1)

Publication Number Publication Date
CN107094285A true CN107094285A (en) 2017-08-25

Family

ID=59637593

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710326754.XA Pending CN107094285A (en) 2017-05-10 2017-05-10 A kind of data transmission method and device

Country Status (1)

Country Link
CN (1) CN107094285A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107801229A (en) * 2017-08-31 2018-03-13 捷开通讯(深圳)有限公司 Smart home is with network method, terminal, equipment and the device with store function
CN108093384A (en) * 2017-12-12 2018-05-29 北京快乐茄信息技术有限公司 Terminal establishes direct-connected method, first terminal, second terminal
CN109756848A (en) * 2019-03-26 2019-05-14 深圳创维数字技术有限公司 Wireless distribution method, apparatus, equipment and storage medium
CN113595839A (en) * 2021-07-19 2021-11-02 中移(杭州)信息技术有限公司 Device binding method, terminal device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103747441A (en) * 2013-12-10 2014-04-23 北京智谷睿拓技术服务有限公司 Wireless network accessing method and accessing apparatus
WO2014169633A1 (en) * 2013-08-23 2014-10-23 中兴通讯股份有限公司 Method for establishing wireless local area network by mobile terminal, and mobile terminal
CN104602112A (en) * 2014-12-12 2015-05-06 小米科技有限责任公司 Configuration method and device
CN104780556A (en) * 2015-04-29 2015-07-15 广东美的暖通设备有限公司 Method and system for accessing domestic appliance to WiFi
CN104902429A (en) * 2015-04-10 2015-09-09 北京爱丽丝幻橙科技有限公司 Method for short-range message broadcast

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014169633A1 (en) * 2013-08-23 2014-10-23 中兴通讯股份有限公司 Method for establishing wireless local area network by mobile terminal, and mobile terminal
CN104427579A (en) * 2013-08-23 2015-03-18 中兴通讯股份有限公司 Method for establishing wireless local area network through mobile terminal and mobile terminal
CN103747441A (en) * 2013-12-10 2014-04-23 北京智谷睿拓技术服务有限公司 Wireless network accessing method and accessing apparatus
CN104602112A (en) * 2014-12-12 2015-05-06 小米科技有限责任公司 Configuration method and device
CN104902429A (en) * 2015-04-10 2015-09-09 北京爱丽丝幻橙科技有限公司 Method for short-range message broadcast
CN104780556A (en) * 2015-04-29 2015-07-15 广东美的暖通设备有限公司 Method and system for accessing domestic appliance to WiFi

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107801229A (en) * 2017-08-31 2018-03-13 捷开通讯(深圳)有限公司 Smart home is with network method, terminal, equipment and the device with store function
WO2019042389A1 (en) * 2017-08-31 2019-03-07 捷开通讯(深圳)有限公司 Method and system for smart home network configuration and connection
CN108093384A (en) * 2017-12-12 2018-05-29 北京快乐茄信息技术有限公司 Terminal establishes direct-connected method, first terminal, second terminal
CN109756848A (en) * 2019-03-26 2019-05-14 深圳创维数字技术有限公司 Wireless distribution method, apparatus, equipment and storage medium
CN113595839A (en) * 2021-07-19 2021-11-02 中移(杭州)信息技术有限公司 Device binding method, terminal device and storage medium
CN113595839B (en) * 2021-07-19 2022-09-13 中移(杭州)信息技术有限公司 Device binding method, terminal device and storage medium

Similar Documents

Publication Publication Date Title
CN107094285A (en) A kind of data transmission method and device
CN106657521A (en) Smart device voice communication method, apparatus and system
CN104754536A (en) Method and system for realizing communication between different languages
MX2007013129A (en) Eletronic equipment for a wireless communication system and method for operating an electronic equipment for a wireless communication system.
CN104038613B (en) The method and apparatus of information security management
RU2004130051A (en) SERIAL MULTIMODAL INPUT
CN101588366B (en) System and method for accessing enterprise information system based on SaaS
CN105516964A (en) Method and terminal for realizing remote control
CN105490872A (en) Real-time monitoring system and monitoring method of internet instant messaging information
CN104135754A (en) Method and device of adding and connecting hidden Chinese wifi hotspot
CN108200093A (en) Transmit the encryption and decryption approaches and encryption and decryption devices of file
CN101340611B (en) Method for remote controlling computer by mobile phone
JP5823185B2 (en) Sender information providing apparatus and program
CN102255994A (en) Data recording storage method and system for mobile terminal
CN103888264A (en) Inter-mobile-phone data transferring method based on background data exchange, terminal and system
CN105490913A (en) Instant message processing method and device
CN101808298A (en) Method for transmitting prompt language and terminal
CN103595855B (en) Business card system for mobile phone
CN105208556A (en) Authentication management method, device, WLAN access apparatus and communication system
CN104158954A (en) Method and system for controlling mobile terminals
CN107888482B (en) Instant messaging method and device
CN112235315A (en) Communication system and method based on WeChat pairing and cloud data transmission
CN205017376U (en) Intelligent telephone set and because intelligent telephone set's extension communication system
KR100629453B1 (en) Method and system for controlling application run on personal computer by using mobile telecommunication terminal
CN105828412A (en) Network connection method and network connection device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170825

RJ01 Rejection of invention patent application after publication