CN104853447B - A kind of data information processing method and device - Google Patents

A kind of data information processing method and device Download PDF

Info

Publication number
CN104853447B
CN104853447B CN201510218704.0A CN201510218704A CN104853447B CN 104853447 B CN104853447 B CN 104853447B CN 201510218704 A CN201510218704 A CN 201510218704A CN 104853447 B CN104853447 B CN 104853447B
Authority
CN
China
Prior art keywords
information
setting position
multicast
byte
address
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.)
Active
Application number
CN201510218704.0A
Other languages
Chinese (zh)
Other versions
CN104853447A (en
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 CN201510218704.0A priority Critical patent/CN104853447B/en
Publication of CN104853447A publication Critical patent/CN104853447A/en
Application granted granted Critical
Publication of CN104853447B publication Critical patent/CN104853447B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5069Address allocation for group communication, multicast communication or broadcast communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Landscapes

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

Abstract

The embodiment of the invention provides a kind of data information processing methods, comprising: obtains the first byte information under current data grouping, and the instruction current data is grouped in the first instruction information of the logical order in multiple data groupings;First byte information and the first instruction information are written to the setting position of multicast ip address;Wherein, the setting position includes: latter 23 of the multicast ip address;According to the multicast ip address for having been written into first byte information and the first instruction information, setting IP multicast packets are generated and sent;Wherein, it is also carried in the multicast ip address: being used to indicate the second indication information that IP multicast packets are the setting IP multicast packets.Solve the problems, such as the transmitting of data information how is carried out in the case where the corresponding password of WIFI network has not been obtained through the invention.

Description

A kind of data information processing method and device
Technical field
The present invention relates to fields of communication technology, and in particular to a kind of data information processing method and device.
Background technique
With the development of internet, terminal device can access network in several ways, e.g., can by 2G, 3G or The mobile networks such as 4G access network, alternatively, can access network by WIFI (WIreless-Fidelity, wireless network).
It, can be by PC, handheld device (such as palm PC, mobile phone) terminal device by WIFI by taking WIFI as an example Network is wirelessly accessed, and can also realize the interconnection between terminal device.Currently, WIFI is in use By encryption, terminal device then needs to obtain corresponding password, on through password authentification connection to access WIFI network After WIFI network, the transmitting of data information can be carried out by the WIFI network of connection.
However, terminal device can not connect the WIFI network if the corresponding password of WIFI can not be got, it can not Carry out the transmitting of data information.As it can be seen that the problem of this field urgent need to resolve, is: how that WIFI network has not been obtained is corresponding close The transmitting of data information is carried out in the case where code.
Summary of the invention
The embodiment of the present invention provides a kind of data information processing method and device, to solve how WIFI net is having not been obtained The transmitting of data information is carried out in the case where the corresponding password of network.
To solve the above-mentioned problems, the invention discloses a kind of data information processing methods, comprising:
The first byte information under current data grouping is obtained, and the instruction current data is grouped in multiple data point First instruction information of the logical order in group;Wherein, the current data grouping are as follows: logarithm is it is believed that breath obtains after being split Multiple data groupings in any one data grouping;
First byte information and the first instruction information are written to the setting position of multicast ip address;Its In, the setting position includes: latter 23 of the multicast ip address;
According to the multicast ip address for having been written into first byte information and the first instruction information, generates and sends and set Determine IP multicast packets;Wherein, also carry in the multicast ip address: being used to indicate IP multicast packets is the setting IP multicast packets Second indication information.
Preferably, first byte information and the first instruction information are written to the setting position of multicast ip address Place, comprising:
First byte information is written to the first sub- setting position under the setting position;And it will be described First instruction information is written to the second sub- setting position under the setting position.
Preferably, the bit wide of the described first sub- setting position is 8;The bit wide of the second sub- setting position is 6.
Preferably, the method also includes:
The second indication information is written to the sub- setting position of third under the setting position;Wherein, described The bit wide of three sub- setting positions is 4.
Preferably, also carry in the multicast ip address: check information is with the current data grouping is used to indicate No is the third instruction information of the last one data grouping.
Preferably, the method also includes:
The check information is written to the 4th sub- setting position under the setting position;Wherein, the 4th son The bit wide of setting position is 4;
Third instruction information is written to the 5th sub- setting position under the setting position;Wherein, described The bit wide of five sub- setting positions is 1.
Preferably, determine that the third indicates information by following steps:
Determine that the current data is grouped in the multiple data groupings obtained after fractionation according to the first instruction information Logical order serial number;
Judge whether the current data grouping is the last one data grouping according to the serial number of the logical order, and really The fixed third indicates information.
Preferably, data information is split by following steps:
Data information is converted into byte information;
According to setting byte length rule, the byte information is split as multistage byte information;Wherein, each section of byte Information corresponds to a data grouping.
Correspondingly, the invention also discloses a kind of processing data information devices characterized by comprising
Module is obtained, for obtaining the first byte information under current data grouping, and the instruction current data point First instruction information of logical order of the group in multiple data groupings;Wherein, the current data grouping are as follows: logarithm is it is believed that breath Any one data grouping in multiple data groupings obtained after being split;
First writing module, for being written first byte information and the first instruction information to multicast ip address Setting position;Wherein, the setting position includes: latter 23 of the multicast ip address;
Generation module, for according to the multicast IP for having been written into first byte information and the first instruction information Location generates and sends setting IP multicast packets;Wherein, it is also carried in the multicast ip address: being used to indicate IP multicast packets as institute State the second indication information of setting IP multicast packets.
Preferably, first writing module, for being written first byte information to the setting position First sub- setting position;And the first instruction information is written to the second sub- setting position under the setting position Place.
Preferably, the bit wide of the described first sub- setting position is 8;The bit wide of the second sub- setting position is 6.
Preferably, described device further include:
Second writing module sets position for being written the second indication information to third under the setting position Set place;Wherein, the bit wide of the sub- setting position of the third is 4.
Preferably, also carry in the multicast ip address: check information is with the current data grouping is used to indicate No is the third instruction information of the last one data grouping.
Preferably, described device further include:
Third writing module, for being written the check information to the 4th sub- setting position under the setting position Place;Wherein, the bit wide of the 4th sub- setting position is 4;
4th writing module, for being written third instruction information to the 5th son setting position under the setting position Set place;Wherein, the bit wide of the 5th sub- setting position is 1.
Preferably, by determining that the third indicates information with lower module:
Serial number determining module, for the first byte information under the acquisition module acquisition current data grouping, and After the first instruction information for indicating the logical order that the current data is grouped in multiple data groupings, according to described first Indicate the serial number for the logical order that information determines that the current data is grouped in the multiple data groupings obtained after fractionation;
Indicate information determination module, for according to the serial number of the logical order judge current data be grouped whether be The last one data grouping, and determine that the third indicates information.
Preferably, by being split with lower module logarithm it is believed that ceasing:
Conversion module, for data information to be converted to byte information;
Module is split, for according to setting byte length rule, the byte information to be split as multistage byte information;Its In, the corresponding data grouping of each section of byte information.
Compared with prior art, the embodiment of the present invention includes following advantages: in embodiments of the present invention, can be by current number It is written according to the first byte information under grouping to the setting position of multicast IP destination address, e.g., latter 23 of multicast ip address. On encryption WIFI channel, although the Payload (payload) of WLAN is encryption, the multicast ip address of encryption data Rear 23Bit be an exposure in the non-encrypted head of WLAN, so being written first byte information to the destination multicast IP In latter 23 of location, the transmitting of the first byte information can be carried out in the case where the corresponding password of WIFI network has not been obtained, Receiving device can indicate information according to each byte information corresponding first after receiving all byte informations, By multiple byte informations, logically sequence integration is complete data information, realizes data information in encryption WIFI network Transmitting.Meanwhile reducing password acquisition.Input, verifying and etc., saved the time, improved efficiency.
Further, data information is transmitted based on multicast ip address, hard to system and WIFI router chip etc. Part equipment does not have particular/special requirement, can be used in any case, applied widely, at the same saved the exploitation of hardware device at This.
Detailed description of the invention
Fig. 1 is a kind of step flow chart of data information processing method in the embodiment of the present invention one;
Fig. 2 is a kind of step flow chart of data information processing method in the embodiment of the present invention two;
Fig. 3 is a kind of step flow chart of the transmitting data information in WIFI encryption in the embodiment of the present invention three;
Fig. 4 is a kind of structural block diagram of processing data information device in the embodiment of the present invention four;
Fig. 5 is a kind of structural block diagram of processing data information device in the embodiment of the present invention five.
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing and specific real Applying mode, the present invention is described in further detail.
Embodiment one
Referring to Fig.1, a kind of step flow chart of data information processing method in the embodiment of the present invention one is shown.In this reality It applies in example, the data information processing method includes:
Step 102, the first lower byte information of current data grouping is obtained, and to indicate that the current data is grouped in more First instruction information of the logical order in a data grouping.
In the present embodiment, during data information transfer, data information can be split as according to its logical order Multiple data groupings, each data grouping have corresponding packet numbering.Such as, it is seen that a data information is split are as follows: data Grouping 0, data grouping 1 and data grouping 2.Preferably, the current data grouping may is that after splitting to data information Obtained any one data grouping in multiple data groupings.
Step 104, first byte information and the first instruction information are written to the setting position of multicast ip address Set place.
Multicasting technology is one of IP (Internet Protocol, network protocol) three kinds of modes of network data transmission, is being sent out Point-to-point configuration connection is realized between the person of sending and each recipient.IP multicast (IP multicasting) is to hardware multicast It is abstract, be the extension to standard IP network layer protocol.It is by using specific multicast ip address, the original delivered according to maximum Then, IP data packet is transferred to the host complexes of a multicast group (multicast group).Multicast ip address can be used for An IP multicast group is identified, range is from 224.0.0.0 to 239.255.255.255.Multicast ip address can using two into Tabulation is shown as,Total 32 Position.Preferably, the setting position can be latter 23 of the multicast ip address.
Step 106, it according to the multicast ip address for having been written into first byte information and the first instruction information, generates And send setting IP multicast packets.
In the present embodiment, also carry in the multicast ip address: being used to indicate IP multicast packets is the setting IP group Broadcast the second indication information of packet.That is, the second indication information is also written into the multicast ip address.Preferably Specific multicast IP address (can be carried the first byte information, the first instruction by any one known appropriate ways by ground The multicast ip address of information and second indication information) it is packaged, setting IP multicast packets are generated, and send the setting IP multicast packets.
In conclusion in the present embodiment, the first byte information under current data being grouped is written to multicast IP The setting position of destination address, e.g., latter 23 of multicast ip address.On encryption WIFI channel, although the Payload of WLAN (payload) is encryption, but the rear 23Bit of the multicast ip address of encryption data is an exposure in the non-encrypted head of WLAN , so being written first byte information into latter 23 of multicast IP destination address, WIFI net can have not been obtained Carry out the transmitting of the first byte information in the case where the corresponding password of network, receiving device receive all byte informations it Afterwards, can be according to the corresponding first instruction information of each byte information, by multiple byte informations, logically sequence integration has been Whole data information realizes transmitting of the data information in encryption WIFI network.Meanwhile reducing password acquisition.It inputs, test Card and etc., the time has been saved, efficiency is improved.
Further, data information is transmitted based on multicast ip address, hard to system and WIFI router chip etc. Part equipment does not have particular/special requirement, can be used in any case, applied widely, at the same saved the exploitation of hardware device at This.
Embodiment two
Referring to Fig. 2, a kind of step flow chart of data information processing method in the embodiment of the present invention two is shown.The side Method by intelligent terminal or the device being arranged in intelligent terminal or can be arranged in intelligent terminal Using realization.
In the present embodiment, the data information processing method includes:
Step 202, intelligent terminal obtains the first byte information under current data grouping, and the instruction current data It is grouped in the first instruction information of the logical order in multiple data groupings.
In the present embodiment, current data grouping may is that data information is split after obtained multiple numbers According to any one data grouping in grouping.Preferably, a kind of feasible the step of splitting to data information, is as follows: first First, data information is converted to byte information by intelligent terminal.Then, intelligent terminal, will be described according to setting byte length rule Byte information is split as multistage byte information.Wherein, each section of byte information can correspond to a data grouping.Preferably, institute State setting byte length rule to include but are not limited to: the size of the byte in data grouping obtained after fractionation is not more than 8 (binary system).
For example, being directed to data information Z, data information Z can be converted into byte information Z first, then according to setting word Section length rule is split as data grouping A, data grouping B and data grouping C.Preferably, can determine respectively data grouping A, The logical order of data grouping B and the corresponding byte information of data grouping C in byte information Z, and according to data grouping A, number The logic of each data grouping is determined according to the logical order of grouping B and the corresponding byte information of data grouping C in byte information Z Sequentially, and will be used to indicate each data grouping logical order information as first instruction information, e.g., A pairs of data grouping The the first instruction information answered can be 1, and the corresponding first instruction information of data grouping B can be 3, data grouping C corresponding the One instruction information can be 2, then can determine the logical order of data grouping A, B, C are as follows: data grouping A+ data grouping C+ number According to grouping B, that is to say, that according to data grouping A, data grouping C, this logical order of data grouping B combination byte information can To obtain complete byte information Z.
Step 204, first byte information and the first instruction information are written to multicast ip address intelligent terminal Setting position.
Preferably, the setting position can be latter 23 of the multicast ip address.A kind of feasible method is as follows: intelligence First byte information is written to the first sub- setting position under the setting position energy terminal;And by described One instruction information is written to the second sub- setting position under the setting position.Wherein, the position of the described first sub- setting position Width is 8;The bit wide of the second sub- setting position is 6.That is, can be from latter 23 of the multicast ip address Select wherein 8 writing positions as first byte information;And it is selected wherein from latter 23 of multicast ip address 6 writing positions as the first instruction information.
Step 206, intelligent terminal is according to the multicast IP for having been written into first byte information and the first instruction information Address generates and sends setting IP multicast packets.
Preferably, in the present embodiment, it can also be carried in the multicast ip address: be used to indicate IP multicast packets as institute State the second indication information of setting IP multicast packets.Preferably, the method can also include:
Step 208, the second indication information is written to third under the setting position and sets position by intelligent terminal Set place;Wherein, the bit wide of the sub- setting position of the third is 4.That is, intelligent terminal can be from the multicast ip address Latter 23 in select wherein 4 writing positions as the second indication information.
What needs to be explained here is that the step 208 can before above-mentioned steps 202 and step 204 either step or Execute later, the present embodiment to this with no restriction.
It is another preferably, in the present embodiment, can also be carried in the multicast ip address: check information and for referring to Show current data grouping whether be the last one data grouping third instruction information.Preferably, the method can be with Include:
Step 210, the check information is written to the 4th sub- setting position under the setting position intelligent terminal; Wherein, the bit wide of the 4th sub- setting position is 4.That is, intelligent terminal can be after the multicast ip address Wherein 4 writing positions as the check information are selected in 23.
What needs to be explained here is that the step 210 can before above-mentioned steps 202 and step 204 either step or Execute later, the present embodiment to this with no restriction
Step 212, third instruction information is written to the 5th son setting position under the setting position intelligent terminal Set place;Wherein, the bit wide of the 5th sub- setting position is 1.That is, intelligent terminal can be from the multicast ip address Wherein 1 writing position as third instruction information is selected in 23 afterwards.
Preferably, a kind of the step of feasible determining third instruction information is as follows: intelligent terminal is obtaining current data point The first byte information under group, and the instruction current data are grouped in first of the logical order in multiple data groupings and refer to After the step of showing information, determine that the current data is grouped in the multiple numbers obtained after fractionation according to the first instruction information According to the serial number of the logical order in grouping;Then, whether the current data grouping is judged according to the serial number of the logical order It is the last one data grouping, and determines that the third indicates information.
What needs to be explained here is that the step 212 can execute before or after above-mentioned steps 204, the present embodiment With no restriction to this.
Further, the step 208, step 210 and step 212 be preferred steps, the step 208, step 210 and Step 212 may be performed simultaneously, and can also select an execution, the present embodiment to this with no restriction.If step 208, step 210 and step Rapid 212 are performed simultaneously, then in above-mentioned steps 206, intelligent terminal generate set IP multicast packets when, will be according to carrying first Byte information, first indicate described in the multicast ip address generation of information, second indication information, third execution information and check information Set IP multicast packets.
In conclusion in the present embodiment, the first byte information under current data being grouped is written to multicast IP The setting position of destination address, e.g., latter 23 of multicast ip address.On encryption WIFI channel, although the Payload of WLAN (payload) is encryption, but the rear 23Bit of the multicast ip address of encryption data is an exposure in the non-encrypted head of WLAN , so being written first byte information into latter 23 of multicast IP destination address, WIFI net can have not been obtained Carry out the transmitting of the first byte information in the case where the corresponding password of network, receiving device receive all byte informations it Afterwards, can be according to the corresponding first instruction information of each byte information, by multiple byte informations, logically sequence integration has been Whole data information realizes transmitting of the data information in encryption WIFI network.Meanwhile reducing password acquisition.It inputs, test Card and etc., the time has been saved, efficiency is improved.
Further, data information is transmitted based on multicast ip address, hard to system and WIFI router chip etc. Part equipment does not have particular/special requirement, can be used in any case, applied widely, at the same saved the exploitation of hardware device at This.
Embodiment three
In conjunction with above-described embodiment, for the present embodiment is by the transmitting data information when WIFI is encrypted the step of, logarithm It is described in detail according to information processing method.
Generally, the range of multicast ip address is 224.0.0.0 to 239.255.255.255, when MAC layer transmits IP multicast Bao Shi, high three byte of multicast mac address can be 01:00:5e or 01:00:5f beginning, and low 23 (Bit) can be multicast IP The low 23bit of address, so multicast ip address and multicast mac address will have mapping relations below (table 1, multicast ip address With the mapping table of multicast mac address):
Table 1
As it can be seen that on encryption WIFI channel, although the Payload (payload) of WLAN is encryption, encryption data The rear 23Bit of multicast ip address be an exposure in the non-encrypted head of WLAN.In the present embodiment, the multicast can be passed through The rear 23Bit of IP address transmits data information.It is alternatively possible to which the rear 23Bit of the multicast ip address is divided For 5 parts, such as table 2, the definition table of the rear 23Bit of multicast ip address:
Is_last_flag:1bit Sequence:6bit Magic:4bit CRC:4bit PayLoad:8bit
Table 2
Preferably, corresponding the 5th sub- setting position that can be in above-described embodiment Is_last_flag in table 2, position Width is 1;Corresponding the second sub- setting position that can be in above-described embodiment Sequence, bit wide 6;Magic is corresponding can To be the sub- setting position of third in above-described embodiment, bit wide 4;Corresponding the 4th son that can be in above-described embodiment of CRC Setting position, bit wide 4;Corresponding the first sub- setting position that can be in above-described embodiment Payload, bit wide 8.Specifically Ground, the definition of Is_last_flag, Sequence, Magic, CRC and Payload are referred to table 3, Is_last_flag, The definition table of Sequence, Magic, CRC and Payload:
Table 3
As shown in Table 3, Is_last_flag, Sequence, Magic, CRC and Payload are after multicast ip address Specific location in 23Bit successively may is that the 22nd, 16-21,12-15,8-11,0-7.Certainly, Can adjust the position Bit according to the actual situation, the present embodiment to this with no restriction.
Referring to Fig. 3, one kind is shown in the embodiment of the present invention three in WIFI encryption the step of transmitting data information Flow chart.In the present embodiment, it can be such that the step of transmitting data information when WIFI is encrypted
Step 302, data information is converted to byte information by APP (Application, application program), and will be after conversion Byte information be split as multistage byte information according to octet length.
In the present embodiment, the APP can be the application program of setting in an intelligent terminal.Wherein, one section of byte letter Cease a corresponding data grouping.
Step 304, APP selects a data grouping A from multiple data groupings.
Step 306, APP determines the corresponding byte information A of the data grouping A, designation date grouping A in the multiple number According to the instruction information A1 of the logical order in grouping, instruction IP multicast packets be set IP multicast packets instruction information A2, be used for pair Check information A that IP multicast packets are verified, be used to indicate data grouping A whether be the last one data grouping instruction information A3。
Step 308, APP is by the byte information A, instruction information A1, instruction information A2, instruction information A3 and check information A is respectively written into the setting position of multicast ip address.
In the present embodiment, APP byte information A can be written to Payload, will instruction information A1 be written to Instruction information A2 is written to Magic Sequence, and instruction information A3 is written to Is_last_flag, check information is write Enter to Magic.
Step 310, APP is determining the byte information A, instruction information A1, instruction information A2, instruction information A3 and verification After the completion of information A write-in, the multicast ip address that above- mentioned information are written is determined as to set multicast ip address;And according to the setting Multicast ip address generates setting IP multicast packets.
Step 312, APP sends the setting IP multicast packets.
What needs to be explained here is that APP can be sequentially completed multiple data groupings according to above-mentioned steps in the present embodiment The transmission of middle byte information.Receiving end after receiving all data groupings, can root setting IP multicast packets in multicast IP First instruction information of the designation date grouping logical order carried under address, the data group in data grouping is combined into completely Byte information, and it is converted to complete data information.What needs to be explained here is that receiving end is when receiving IP multicast packets, it can Determine whether the IP multicast packets received are setting IP multicast packets with the second indication information carried according to it, and according to its carrying Check information determine the correctness and/or safety of IP multicast packets received.
In conclusion in the present embodiment, the first byte information under current data being grouped is written to multicast IP The setting position of destination address, e.g., latter 23 of multicast ip address.On encryption WIFI channel, although the Payload of WLAN (payload) is encryption, but the rear 23Bit of the multicast ip address of encryption data is an exposure in the non-encrypted head of WLAN , so being written first byte information into latter 23 of multicast IP destination address, WIFI net can have not been obtained Carry out the transmitting of the first byte information in the case where the corresponding password of network, receiving device receive all byte informations it Afterwards, can be according to the corresponding first instruction information of each byte information, by multiple byte informations, logically sequence integration has been Whole data information realizes transmitting of the data information in encryption WIFI network.Meanwhile reducing password acquisition.It inputs, test Card and etc., the time has been saved, efficiency is improved.
For example, with the development of science and technology, all kinds of terminal devices are all more and more intelligent, e.g., smart phone, palm PC, intelligence Energy refrigerator, intelligent washing machine etc..Preferably, can be by this kind of equipment input inconvenience such as intelligent refrigerator, intelligent washing machine, key Less, lack display screen, the smart machine of software solidification is known as UI less equipment, by smart phone, palm PC etc. have display The strong smart machine of the interactivity such as screen, input equipment is known as UI rich equipment.According to traditional data information transfer mode, Since UI less equipment is difficult to realize the input of WIFI password, therefore, UI less equipment is difficult to connect WIFI network.And pass through The UI into multicast ip address can be written by UI rich equipment in WIFI configuration information (e.g., WIFI password) by the present embodiment Less, which does not need decryption (not needing to obtain WIFI password), can get the configuration information carried in multicast ip address, in turn The configuration for realizing UI less equipment allows UI less equipment to be connected into WIFI network.Solves UI less device network Configure difficult problem.
It should be noted that for simple description, therefore, it is stated as a series of action groups for embodiment of the method It closes, but those skilled in the art should understand that, embodiment of that present invention are not limited by the describe sequence of actions, because according to According to the embodiment of the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art also should Know, the embodiments described in the specification are all preferred embodiments, and the related movement not necessarily present invention is implemented Necessary to example.
Example IV
On the basis of the above embodiments, the present embodiment additionally provides a kind of processing data information device, which can be with It is intelligent terminal (or setting in an intelligent terminal) also, the device can be used to implement above method embodiment, it is therefore, above-mentioned Feature in embodiment of the method can be applied in the present embodiment.Referring to Fig. 4, a kind of number in the embodiment of the present invention four is shown According to the structural block diagram of information processing unit.In the present embodiment, the processing data information device includes:
Module 402 is obtained, for obtaining the first byte information under current data grouping, and the instruction current data It is grouped in the first instruction information of the logical order in multiple data groupings.
Wherein, the current data grouping are as follows: logarithm is it is believed that appointing in multiple data groupings that breath obtains after being split It anticipates a data grouping.
First writing module 404, for being written first byte information and the first instruction information to multicast IP The setting position of address.
Wherein, the setting position includes: latter 23 of the multicast ip address.
Generation module 406, for according to the multicast IP for having been written into first byte information and the first instruction information Address generates and sends setting IP multicast packets.
Wherein, it is also carried in the multicast ip address: being used to indicate that IP multicast packets are the setting IP multicast packets Two instruction information.
In conclusion in the present embodiment, the first byte information under current data being grouped is written to multicast IP The setting position of destination address, e.g., latter 23 of multicast ip address.On encryption WIFI channel, although the Payload of WLAN (payload) is encryption, but the rear 23Bit of the multicast ip address of encryption data is an exposure in the non-encrypted head of WLAN , so being written first byte information into latter 23 of multicast IP destination address, WIFI net can have not been obtained Carry out the transmitting of the first byte information in the case where the corresponding password of network, receiving device receive all byte informations it Afterwards, can be according to the corresponding first instruction information of each byte information, by multiple byte informations, logically sequence integration has been Whole data information realizes transmitting of the data information in encryption WIFI network.Meanwhile reducing password acquisition.It inputs, test Card and etc., the time has been saved, efficiency is improved.
Further, data information is transmitted based on multicast ip address, hard to system and WIFI router chip etc. Part equipment does not have particular/special requirement, can be used in any case, applied widely, at the same saved the exploitation of hardware device at This.
Embodiment five
Referring to Fig. 5, a kind of structural block diagram of processing data information device in the embodiment of the present invention five is shown.In this implementation In example, the processing data information device includes:
Module 502 is obtained, for obtaining the first byte information under current data grouping, and the instruction current data It is grouped in the first instruction information of the logical order in multiple data groupings.
In the present embodiment, current data grouping may is that data information is split after obtained multiple numbers According to any one data grouping in grouping.
It preferably, can be by being split with lower module logarithm it is believed that ceasing:
Conversion module, for data information to be converted to byte information.
Module is split, for according to setting byte length rule, the byte information to be split as multistage byte information;Its In, the corresponding data grouping of each section of byte information.
First writing module 504, for being written first byte information and the first instruction information to multicast IP The setting position of address;Wherein, the setting position includes: latter 23 of the multicast ip address.
Preferably, the first writing module 504, for first byte information being written to the setting position One sub- setting position;And the first instruction information is written to the second sub- setting position under the setting position. Wherein, the bit wide of the described first sub- setting position is 8;The bit wide of the second sub- setting position is 6.
Generation module 506, for according to the multicast IP for having been written into first byte information and the first instruction information Address generates and sends setting IP multicast packets.
Preferably, also carry in the multicast ip address: being used to indicate IP multicast packets is the setting IP multicast packets Second indication information, described device further include:
Second writing module 508 is set for being written the second indication information to third under the setting position Place is set in positioning;Wherein, the bit wide of the sub- setting position of the third is 4.
It is another preferably, also carried in the multicast ip address: check information and being used to indicate the current data point Group whether be the last one data grouping third instruction information, described device further include:
Third writing module 510, for being written the check information to the 4th son setting position under the setting position Set place;Wherein, the bit wide of the 4th sub- setting position is 4.
4th writing module 512 is set for being written third instruction information to the 5th son under the setting position Place is set in positioning;Wherein, the bit wide of the 5th sub- setting position is 1.
It preferably, can be by determining that the third indicates information with lower module:
Serial number determining module, for obtaining the first byte information under current data grouping in the acquisition module 502, with And the instruction current data is grouped in after the first instruction information of the logical order in multiple data groupings, according to described the One instruction information determines the serial number for the logical order that the current data is grouped in the multiple data groupings obtained after fractionation;
Indicate information determination module, for according to the serial number of the logical order judge current data be grouped whether be The last one data grouping, and determine that the third indicates information.
In conclusion in the present embodiment, the first byte information under current data being grouped is written to multicast IP The setting position of destination address, e.g., latter 23 of multicast ip address.On encryption WIFI channel, although the Payload of WLAN (payload) is encryption, but the rear 23Bit of the multicast ip address of encryption data is an exposure in the non-encrypted head of WLAN , so being written first byte information into latter 23 of multicast IP destination address, WIFI net can have not been obtained Carry out the transmitting of the first byte information in the case where the corresponding password of network, receiving device receive all byte informations it Afterwards, can be according to the corresponding first instruction information of each byte information, by multiple byte informations, logically sequence integration has been Whole data information realizes transmitting of the data information in encryption WIFI network.Meanwhile reducing password acquisition.It inputs, test Card and etc., the time has been saved, efficiency is improved.
Further, data information is transmitted based on multicast ip address, hard to system and WIFI router chip etc. Part equipment does not have particular/special requirement, can be used in any case, applied widely, at the same saved the exploitation of hardware device at This.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple Place illustrates referring to the part of embodiment of the method.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present invention can provide as method, apparatus or calculate Machine program product.Therefore, the embodiment of the present invention can be used complete hardware embodiment, complete software embodiment or combine software and The form of the embodiment of hardware aspect.Moreover, the embodiment of the present invention can be used one or more wherein include computer can With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code The form of the computer program product of implementation.
The embodiment of the present invention be referring to according to the method for the embodiment of the present invention, terminal device (system) and computer program The flowchart and/or the block diagram of product describes.It should be understood that flowchart and/or the block diagram can be realized by computer program instructions In each flow and/or block and flowchart and/or the block diagram in process and/or box combination.It can provide these Computer program instructions are set to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals Standby processor is to generate a machine, so that being held by the processor of computer or other programmable data processing terminal devices Capable instruction generates for realizing in one or more flows of the flowchart and/or one or more blocks of the block diagram The device of specified function.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing terminal devices In computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates packet The manufacture of command device is included, which realizes in one side of one or more flows of the flowchart and/or block diagram The function of being specified in frame or multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing terminal devices, so that Series of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thus The instruction executed on computer or other programmable terminal equipments is provided for realizing in one or more flows of the flowchart And/or in one or more blocks of the block diagram specify function the step of.
Although the preferred embodiment of the embodiment of the present invention has been described, once a person skilled in the art knows bases This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as Including preferred embodiment and fall into all change and modification of range of embodiment of the invention.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap Those elements are included, but also including other elements that are not explicitly listed, or further includes for this process, method, article Or the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited Element, it is not excluded that there is also other identical elements in process, method, article or the terminal device for including the element.
A kind of data information processing method provided by the present invention and device are described in detail above, answered herein With a specific example illustrates the principle and implementation of the invention, the explanation of above example is only intended to help to manage Solve method and its core concept of the invention;At the same time, for those skilled in the art, according to the thought of the present invention, There will be changes in specific embodiment and application range, in conclusion the content of the present specification should not be construed as to this hair Bright limitation.

Claims (14)

1. a kind of data information processing method characterized by comprising
The first byte information under current data grouping is obtained, and the instruction current data is grouped in multiple data groupings Logical order first instruction information;Wherein, current data grouping are as follows: logarithm it is believed that breath obtained after being split it is more Any one data grouping in a data grouping;
First byte information and the first instruction information are written to the setting position of multicast ip address;Wherein, institute State latter 23 that setting position includes: the multicast ip address;
According to the multicast ip address for having been written into first byte information and the first instruction information, setting IP is generated and sent Multicast packets;Wherein, it is also carried in the multicast ip address: being used to indicate second that IP multicast packets are the setting IP multicast packets Indicate information;
The second indication information is written to the sub- setting position of third under the setting position;Wherein, third The bit wide of setting position is 4.
2. the method as described in claim 1, which is characterized in that write first byte information and the first instruction information Enter to the setting position of multicast ip address, comprising:
First byte information is written to the first sub- setting position under the setting position;And by described first Instruction information is written to the second sub- setting position under the setting position.
3. method according to claim 2, which is characterized in that the bit wide of the first sub- setting position is 8;Described second The bit wide of sub- setting position is 6.
4. the method as described in claim 1, which is characterized in that also carried in the multicast ip address: check information and use In indicating whether current data grouping is that the third of the last one data grouping indicates information.
5. method as claimed in claim 4, which is characterized in that further include:
The check information is written to the 4th sub- setting position under the setting position;Wherein, the 4th son setting The bit wide of position is 4;
Third instruction information is written to the 5th sub- setting position under the setting position;Wherein, the 5th son The bit wide of setting position is 1.
6. method as described in claim 4 or 5, which is characterized in that determine that the third indicates information by following steps:
Determine that the current data is grouped in patrolling in the multiple data groupings obtained after fractionation according to the first instruction information Collect the serial number of sequence;
Judge whether the current data grouping is the last one data grouping according to the serial number of the logical order, and determines institute State third instruction information.
7. the method as described in claim 1, which is characterized in that split by following steps to data information:
Data information is converted into byte information;
According to setting byte length rule, the byte information is split as multistage byte information;Wherein, each section of byte information A corresponding data grouping.
8. a kind of processing data information device characterized by comprising
Module is obtained, for obtaining the first lower byte information of current data grouping, and indicates that the current data is grouped in First instruction information of the logical order in multiple data groupings;Wherein, the current data grouping are as follows: logarithm is it is believed that breath carries out Any one data grouping in multiple data groupings obtained after fractionation;
First writing module, for setting to multicast ip address to be written in first byte information and the first instruction information Place is set in positioning;Wherein, the setting position includes: latter 23 of the multicast ip address;
Generation module, for according to the multicast ip address for having been written into first byte information and the first instruction information, life At and send setting IP multicast packets;Wherein, also carry in the multicast ip address: being used to indicate IP multicast packets is the setting The second indication information of IP multicast packets;
Second writing module, for being written the second indication information to the sub- setting position of third under the setting position Place;Wherein, the bit wide of the sub- setting position of the third is 4.
9. device as claimed in claim 8, which is characterized in that first writing module, for first byte to be believed Breath is written to the first sub- setting position under the setting position;And the first instruction information is written to described and is set Position the second sub- setting position under setting.
10. device as claimed in claim 9, which is characterized in that the bit wide of the first sub- setting position is 8;Described The bit wide of two sub- setting positions is 6.
11. device as claimed in claim 8, which is characterized in that also carried in the multicast ip address: check information and use In indicating whether current data grouping is that the third of the last one data grouping indicates information.
12. device as claimed in claim 11, which is characterized in that further include:
Third writing module, for being written the check information to the 4th sub- setting position under the setting position;Its In, the bit wide of the 4th sub- setting position is 4;
4th writing module, for being written third instruction information to the 5th sub- setting position under the setting position Place;Wherein, the bit wide of the 5th sub- setting position is 1.
13. device as claimed in claim 11, which is characterized in that by determining that the third indicates information with lower module:
Serial number determining module, for obtaining the first byte information under current data grouping, and instruction in the acquisition module The current data is grouped in after the first instruction information of the logical order in multiple data groupings, according to first instruction Information determines the serial number for the logical order that the current data is grouped in the multiple data groupings obtained after fractionation;
Information determination module is indicated, for judging whether the current data grouping is last according to the serial number of the logical order One data grouping, and determine that the third indicates information.
14. device as claimed in claim 8, which is characterized in that by being split with lower module logarithm it is believed that ceasing:
Conversion module, for data information to be converted to byte information;
Module is split, for according to setting byte length rule, the byte information to be split as multistage byte information;Wherein, The corresponding data grouping of each section of byte information.
CN201510218704.0A 2015-04-30 2015-04-30 A kind of data information processing method and device Active CN104853447B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510218704.0A CN104853447B (en) 2015-04-30 2015-04-30 A kind of data information processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510218704.0A CN104853447B (en) 2015-04-30 2015-04-30 A kind of data information processing method and device

Publications (2)

Publication Number Publication Date
CN104853447A CN104853447A (en) 2015-08-19
CN104853447B true CN104853447B (en) 2019-03-26

Family

ID=53852712

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510218704.0A Active CN104853447B (en) 2015-04-30 2015-04-30 A kind of data information processing method and device

Country Status (1)

Country Link
CN (1) CN104853447B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105704654A (en) * 2016-02-17 2016-06-22 深圳市贝美互动科技有限公司 Wireless communication method and device
CN105847246B (en) * 2016-03-18 2019-08-16 深圳创维-Rgb电子有限公司 Verification information sending, receiving method and device
CN108055360B (en) * 2017-10-20 2021-08-17 深圳创维数字技术有限公司 Network data transmission method, system, transmission device and storage medium
CN113596742B (en) * 2021-09-27 2022-01-25 北京高德品创科技有限公司 Data transmission method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103841523A (en) * 2014-03-14 2014-06-04 上海庆科信息技术有限公司 Information transmission method for conducting Wi-Fi message length based on multicast physical address
CN104243103A (en) * 2014-10-13 2014-12-24 福州瑞芯微电子有限公司 Method, system, transmitting terminal and receiving terminal for disconnected WIFI (wireless fidelity) data transmission
CN104581647A (en) * 2015-01-30 2015-04-29 青岛海尔智能家电科技有限公司 Network access method and device of intelligent equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9386423B2 (en) * 2012-03-02 2016-07-05 Qualcomm Incorporated Apparatus and methods for access identifier based multicast communication

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103841523A (en) * 2014-03-14 2014-06-04 上海庆科信息技术有限公司 Information transmission method for conducting Wi-Fi message length based on multicast physical address
CN104243103A (en) * 2014-10-13 2014-12-24 福州瑞芯微电子有限公司 Method, system, transmitting terminal and receiving terminal for disconnected WIFI (wireless fidelity) data transmission
CN104581647A (en) * 2015-01-30 2015-04-29 青岛海尔智能家电科技有限公司 Network access method and device of intelligent equipment

Also Published As

Publication number Publication date
CN104853447A (en) 2015-08-19

Similar Documents

Publication Publication Date Title
CN104853447B (en) A kind of data information processing method and device
CN103338475B (en) The method of testing of WAP (wireless access point) and device, test terminal
CN103124267B (en) The method, system and the cloud server that log in/register is carried out by mobile terminal
CN102891890B (en) Exchange method between a kind of terminal and relevant device, system
CN107872290B (en) Method for identifying UE, network side equipment, UE and system
CN105704837A (en) Method and equipment for establishing wireless connection
US10149181B2 (en) Signal output apparatus, board, and signal output method
CN104581647A (en) Network access method and device of intelligent equipment
CN108401037A (en) User terminal and the binding method of equipment, device and system
CN109561395A (en) A kind of blue-tooth transmission method and device
CN109379742A (en) Access method, device and storage medium of wireless local area network
CN108123775A (en) The method and apparatus of transmission packet
CN104619040A (en) Method and system for quickly connecting WIFI equipment
CN105049280B (en) The interface Behavior modeling test macro and method of Business Management Platform
CN106817346A (en) Data transmission method and device and electronic equipment
CN105848145A (en) WIFI intelligent configuration method and device
CN105141627A (en) Data sending and receiving method, device and equipment
CN105072212B (en) To code method and to code system
CN111225077B (en) Network distribution method, device and system for Internet of things equipment
CN107222296A (en) Method, terminal device and the computer-readable recording medium of information transfer
CN108076089A (en) A kind of long-range control method and device
CN112019358A (en) Network configuration method, device, equipment and system
CN110417804A (en) A kind of bidirectional identity authentication encryption communication method and system suitable for chip microcontroller
CN107548058A (en) Equipment cut-in method and intelligent terminal
WO2022227484A1 (en) Data communication method and apparatus, computer device, and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant