CN109921875A - Data transmission method, system and equipment - Google Patents
Data transmission method, system and equipment Download PDFInfo
- Publication number
- CN109921875A CN109921875A CN201711325970.9A CN201711325970A CN109921875A CN 109921875 A CN109921875 A CN 109921875A CN 201711325970 A CN201711325970 A CN 201711325970A CN 109921875 A CN109921875 A CN 109921875A
- Authority
- CN
- China
- Prior art keywords
- mapping relations
- character string
- field
- transmitting terminal
- receiving end
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a kind of data transmission method, system and equipment, are related to technical field of data processing.Data transmission method therein includes: that transmitting terminal establishes user agent's field and length less than the mapping relations between the character string of first threshold;Mapping relations are sent to receiving end by transmitting terminal;Transmitting terminal replaces user agent's field in message with corresponding character string according to mapping relations;Transmitting terminal sends a message to receiving end, so that receiving end is according to corresponding character string and mapping relations, determines user agent's field.The present invention can be improved data transmission efficiency, reduce the bandwidth consumed in data transmission procedure.
Description
Technical field
The present invention relates to technical field of data processing, in particular to a kind of data transmission method, system and equipment.
Background technique
In traditional data transmission technology, equipment and equipment are carried out data transmission based on message.Under normal circumstances, message
In be that field just transmits corresponding field value.Fig. 1 shows the schematic diagram of traditional data transfer mode.As shown in Figure 1,
Transmitting terminal sends messages directly to receiving end, and message body fields do not do any pretreatment.
For improve data transfer efficiency, the bandwidth consumed in data transmission procedure is reduced, incremental data simultaneous techniques is answered
It transports and gives birth to.In incremental data simultaneous techniques, the data of transmission are no longer the fields for needing to transmit, but the increment of field or change
Change amount.
It is also the increment or variable quantity itself of transmissions field in transmission process however, even incremental data is synchronous, therefore
The bandwidth consumed in data transmission procedure is still larger, intelligence improve data transfer efficiency in limited amplitude.
Summary of the invention
The study found that due to there is a kind of field, such as user agent UserAgent, master in transmission message in inventor
Machine Host field, such field value generally take up biggish byte number in message, while can if such message frequent transmission
Occupy many limited data bandwidths.This kind of field generally has apparent rule, and the UserAgent value of such as each user also exists
It is updated in certain variation range, Host field also changes in limited range, generally changes over time also seldom, in certain conditions
Lower even variation is very few.Therefore, inventor proposes to be pre-processed on a small quantity before carrying out data transmission, to reduce data transmission
Amount reduces transmission cost, improves efficiency of transmission.
The technical problem that the present invention solves is, how improve data transfer efficiency, reduce and disappear in data transmission procedure
The bandwidth of consumption.
According to an aspect of an embodiment of the present invention, a kind of data transmission method is provided, comprising: transmitting terminal establishes user
Agent field and length are less than the mapping relations between the character string of first threshold;Mapping relations are sent to reception by transmitting terminal
End;Transmitting terminal replaces user agent's field in message with corresponding character string according to mapping relations;Transmitting terminal sends out message
It send to receiving end, so that receiving end is according to corresponding character string and mapping relations, determines user agent's field.
In some embodiments, transmitting terminal establishes user agent's field and length less than the mapping between the character string of threshold value
Relationship includes: that transmitting terminal establishes each segment identification in user agent's field and each segment length less than between the character string of second threshold
Mapping relations.
In some embodiments, mapping relations include: the mapping relations between browser mark and two hexadecimal numbers;
Mapping relations between operating system identifies and two hexadecimal numbers;Between secret grade mark and a hexadecimal number
Mapping relations;Mapping relations between browser language identification and two hexadecimal numbers;Rendering engine identifies and one 16
Mapping relations between system number;Mapping relations between version information mark and two hexadecimal numbers.
In some embodiments, the length that length is less than the character string of first threshold is variable.
In some embodiments, data transmission method further include: transmitting terminal establishes host field and length is less than third threshold
Corresponding relationship between the character string of value;Corresponding relationship is sent to receiving end by transmitting terminal;Transmitting terminal will disappear according to corresponding relationship
Host field in breath is replaced with corresponding character string;Transmitting terminal sends a message to receiving end, so that receiving end is according to corresponding
Character string and mapping relations, determine that user agent's field includes: that transmitting terminal sends a message to receiving end, so as to receiving end
Determine user agent's field and receiving end according to corresponding character string and right according to corresponding character string and mapping relations
It should be related to, determine host field.
In some embodiments, corresponding relationship includes: the mapping relations between host field and eight hexadecimal numbers.
In some embodiments, the length that length is less than the character string of third threshold value is variable.
Other side according to an embodiment of the present invention provides a kind of data transmission method, comprising: receiving end is from transmission
End receives user agent's field and length less than the mapping relations between the character string of first threshold;Receiving end is received from transmitting terminal
Message, user agent's field is replaced by corresponding character string in message;Receiving end according to corresponding character string and mapping relations,
Determine user agent's field.
In some embodiments, data transmission method further include: receiving end is small from transmitting terminal receiving host field and length
Corresponding relationship between the character string of third threshold value;Receiving end receives message from transmitting terminal, and host field is by corresponding in message
Character string replace;Receiving end determines host field according to corresponding character string and corresponding relationship.
Another aspect according to an embodiment of the present invention provides a kind of data transmission transmitting terminal, comprising: mapping relations are built
Formwork erection block, for establishing user agent's field and length less than the mapping relations between the character string of first threshold;Mapping relations
Sending module, for mapping relations to be sent to receiving end;First character string replaces module, for will disappear according to mapping relations
User agent's field in breath is replaced with corresponding character string;Message transmission module, for sending a message to receiving end, so as to
Receiving end determines user agent's field according to corresponding character string and mapping relations.
In some embodiments, mapping relations are established module and are used for: establishing each segment identification in user agent's field and each
Segment length is less than the mapping relations between the character string of second threshold.
In some embodiments, mapping relations include: the mapping relations between browser mark and two hexadecimal numbers;
Mapping relations between operating system identifies and two hexadecimal numbers;Between secret grade mark and a hexadecimal number
Mapping relations;Mapping relations between browser language identification and two hexadecimal numbers;Rendering engine identifies and one 16
Mapping relations between system number;Mapping relations between version information mark and two hexadecimal numbers.
In some embodiments, the length that length is less than the character string of first threshold is variable.
In some embodiments, data transmit transmitting terminal further include: corresponding relation building module, for establishing host field
The corresponding relationship being less than between the character string of third threshold value with length;Corresponding relationship sending module, for sending corresponding relationship
To receiving end;Second character string replaces module, is used for according to corresponding relationship, by the corresponding character string of the host field in message
Instead of;Message transmission module also in: receiving end is sent a message to, so that receiving end according to corresponding character string and corresponding is closed
System, determines host field.
In some embodiments, corresponding relationship includes: the mapping relations between host field and eight hexadecimal numbers.
In some embodiments, the length that length is less than the character string of third threshold value is variable.
Another aspect according to an embodiment of the present invention provides a kind of data transmission receiving end, comprising: mapping relations connect
Module is received, for receiving the mapping relations between the character string of user agent's field and length less than first threshold from transmitting terminal;
Message reception module, for receiving message from transmitting terminal, user agent's field is replaced by corresponding character string in message;User's generation
Field determining module is managed, for determining user agent's field according to corresponding character string and mapping relations.
In some embodiments, data transmission receiving end further includes corresponding relationship receiving module, for receiving from transmitting terminal
Host field and length are less than the corresponding relationship between the character string of third threshold value;Message reception module is also used to: from transmitting terminal
Message is received, host field is replaced by corresponding character string in message;It further includes that host field determines mould that data, which transmit receiving end,
Block, for determining host field according to corresponding character string and corresponding relationship.
Other side according to an embodiment of the present invention provides a kind of data transmission system, including data above-mentioned pass
Defeated transmitting terminal and data above-mentioned transmit receiving end.
The present invention can be improved data transmission efficiency, reduce the bandwidth consumed in data transmission procedure.
By referring to the drawings to the detailed description of exemplary embodiment of the present invention, other feature of the invention and its
Advantage will become apparent.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention without any creative labor, may be used also for those of ordinary skill in the art
To obtain other drawings based on these drawings.
Fig. 1 shows the schematic diagram of traditional data transfer mode.
Fig. 2 shows the flow diagrams of the domain name analytic method of one embodiment of the invention.
Fig. 3 shows the flow diagram of the domain name analytic method of another embodiment of the present invention.
Fig. 4 shows the structural schematic diagram of one embodiment of data transmission transmitting terminal of the present invention.
Fig. 5 shows the structural schematic diagram of one embodiment of data transmission of the present invention receiving end.
Fig. 6 shows the structural schematic diagram of one embodiment of data transmission system of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Below
Description only actually at least one exemplary embodiment be it is illustrative, never as to the present invention and its application or make
Any restrictions.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work premise
Under all other embodiment obtained, shall fall within the protection scope of the present invention.
Fig. 2 is combined to introduce the domain name analytic method of one embodiment of the invention first.
Fig. 2 shows the flow diagrams of the domain name analytic method of one embodiment of the invention.As shown in Fig. 2, this implementation
Example in domain name analytic method include:
Step S202, transmitting terminal establish the mapping relations between user agent's field and short character strings.
Wherein, transmitting terminal can establish each segment identification in user agent's field and the mapping relations between short character strings.
For example, the mapping relations between browser mark and two hexadecimal numbers, can indicate 256 kinds of different browsers altogether;Operation
Mapping relations between system banner and two hexadecimal numbers can indicate 256 kinds of different operating systems altogether;Secret grade mark
Know the mapping relations between a hexadecimal number, can indicate 16 kinds of different secret grades altogether;Browser language identification with
Mapping relations between two hexadecimal numbers can indicate 256 kinds of different language altogether;Rendering engine mark with one 16 into
Mapping relations between number processed can indicate 16 kinds of different rendering engines altogether;Version information mark and two hexadecimal numbers it
Between mapping relations, can indicate 256 kinds of different versions altogether.
Mapping relations are sent to receiving end by step S204, transmitting terminal.
Step S206, transmitting terminal is according to mapping relations, by user agent's field in message with corresponding short character strings generation
It replaces.
Optionally, the length of short character strings is variable.For example, transmitting terminal according to user agent's field and short character strings it
Between mapping relations, successively match browser mark, operating system identifies, secret grade mark, browser language identification, rendering
Engine identification, version information mark.If this kind can be identified less than certain mark therein and be added to mapping pass by matching
In system, and with short character strings to its assignment.The value model that can be indicated if necessary to the numerical value of imparting beyond section string length
It encloses, then after the length of short character strings being increased by one, with short character strings to its assignment.
Step S208, transmitting terminal send a message to receiving end, and user agent's field is by corresponding short character strings in message
Instead of.
Wherein it is possible to which each short character strings are split using separator " | ".
Step S220, receiving end determine user agent's field according to corresponding short character strings and mapping relations.
In above-described embodiment, for user agent's field, its identification information is distinguished, can be had using these identification informations
The limited feature of limit exhaustion, number of combinations, generates and saves mapping relations in transmitting terminal before sending these fields, and use
Short character strings substitute former field.Transmitting terminal is when sending message to receiving end, for different identification field in user agent's field
Unique short character strings corresponding relationship value substitution is applied in combination, receiving end receives the mapping sent after message according to transmitting terminal
The above-mentioned field of relation decomposing is worth accordingly, the transmitted data amount being greatly decreased in the case where not losing information, improves number
According to efficiency of transmission, the bandwidth consumed in data transmission procedure is reduced.Meanwhile above-described embodiment can be greatly decreased to distributed text
The memory requirement of part system, and facilitate subsequent module calling directly and applying to user agent's field.
The domain name analytic method of another embodiment of the present invention is introduced below with reference to Fig. 3.
Fig. 3 shows the flow diagram of the domain name analytic method of another embodiment of the present invention.As shown in figure 3, this reality
The domain name analytic method applied in example includes:
Step S302, transmitting terminal establish the mapping relations between user agent's field and short character strings.
Step S303, transmitting terminal establish the corresponding relationship between host field and short character strings.
For example, can establish the mapping relations between host field and eight hexadecimal numbers.By Host field with eight
Hexadecimal number indicates, can indicate 4294967296 kinds of different host domain names altogether.
Optionally, the length of short character strings is all variable.Transmitting terminal can also regularly update above-mentioned mapping according to demand
Relationship and corresponding relationship, and receiving end is sent to incremental mode.
Mapping relations are sent to receiving end by step S304, transmitting terminal.
Corresponding relationship is sent to receiving end by step S305, transmitting terminal.
Step S306, transmitting terminal is according to mapping relations, by user agent's field in message with corresponding short character strings generation
It replaces.
Step S307, transmitting terminal are replaced according to corresponding relationship, by the host field in message with corresponding short character strings.
Step S308, transmitting terminal send a message to receiving end, and user agent's field is by corresponding short character strings in message
Instead of host field is replaced by corresponding short character strings in message.
For example, transmitting terminal, which can send customer service to receiving end, orders notification message
UserServiceConsumeNotifyReq, user agent's field therein are replaced by corresponding short character strings, host in message
Field is replaced by corresponding short character strings.
Step S309, receiving end receive message from transmitting terminal, and according to corresponding short character strings and corresponding relationship, determine
Host field.
Step S310, receiving end determine user agent's field according to corresponding short character strings and mapping relations.
Above-described embodiment data transmission between platform includes the limited non-frequent updatings such as user agent's field, host field
Field devises new processing and transmission mode.One user agent's field and host field expressed with short character strings only need using
18 length, and existing net transmission user agent's field and host field require greatly 50 to 100 length at present.Therefore,
Above-described embodiment can further increase data transmission efficiency in the case where not losing any information, reduce data and be transmitted across
The bandwidth consumed in journey.
Transmitting terminal is transmitted below with reference to the data that Fig. 4 introduces one embodiment of the invention.
Fig. 4 shows the structural schematic diagram of one embodiment of data transmission transmitting terminal of the present invention.As shown in figure 4, this reality
Apply in example data transmission transmitting terminal 40 include:
Mapping relations establish module 402, for establish user agent's field and length be less than first threshold character string it
Between mapping relations;
Mapping relations sending module 404, for mapping relations to be sent to receiving end;
First character string replaces module 406, for user agent's field in message being used corresponding according to mapping relations
Character string replaces;
Message transmission module 408, for sending a message to receiving end, so as to receiving end according to corresponding character string and
Mapping relations determine user agent's field.
In some embodiments, mapping relations are established module 402 and are used for: establish each segment identification in user agent's field with
Each segment length is less than the mapping relations between the character string of second threshold.
In some embodiments, mapping relations include: the mapping relations between browser mark and two hexadecimal numbers;
Mapping relations between operating system identifies and two hexadecimal numbers;Between secret grade mark and a hexadecimal number
Mapping relations;Mapping relations between browser language identification and two hexadecimal numbers;Rendering engine identifies and one 16
Mapping relations between system number;Mapping relations between version information mark and two hexadecimal numbers.
In some embodiments, the length that length is less than the character string of first threshold is variable.
In above-described embodiment, for user agent's field, its identification information is distinguished, can be had using these identification informations
The limited feature of limit exhaustion, number of combinations, generates and saves mapping relations in transmitting terminal before sending these fields, and use
Short character strings substitute former field.Transmitting terminal is when sending message to receiving end, for different identification field in user agent's field
Unique short character strings corresponding relationship value substitution is applied in combination, receiving end receives the mapping sent after message according to transmitting terminal
The above-mentioned field of relation decomposing is worth accordingly, the transmitted data amount being greatly decreased in the case where not losing information, improves number
According to efficiency of transmission, the bandwidth consumed in data transmission procedure is reduced.Meanwhile above-described embodiment can be greatly decreased to distributed text
The memory requirement of part system, and facilitate subsequent module calling directly and applying to user agent's field.
In some embodiments, data transmit transmitting terminal 40 further include:
Corresponding relation building module 403 is less than between the character string of third threshold value for establishing host field and length
Corresponding relationship;
Corresponding relationship sending module 405, for corresponding relationship to be sent to receiving end;
Second character string replaces module 407, is used for according to corresponding relationship, by the corresponding character of the host field in message
String replaces;
Message transmission module 408 is also used to: send a message to receiving end, so as to receiving end according to corresponding character string with
And corresponding relationship, determine host field.
In some embodiments, corresponding relationship includes: the mapping relations between host field and eight hexadecimal numbers.
In some embodiments, the length that length is less than the character string of third threshold value is variable.
Above-described embodiment data transmission between platform includes the limited non-frequent updatings such as user agent's field, host field
Field devises new processing and transmission mode.One user agent's field and host field expressed with short character strings only need using
18 length, and existing net transmission user agent's field and host field require greatly 50 to 100 length at present.Therefore,
Above-described embodiment can further increase data transmission efficiency in the case where not losing any information, reduce data and be transmitted across
The bandwidth consumed in journey.
Receiving end is transmitted below with reference to the data that Fig. 5 introduces one embodiment of the invention.
Fig. 5 shows the structural schematic diagram of one embodiment of data transmission of the present invention receiving end.As shown in figure 5, this reality
The data transmission receiving end 50 applied in example includes:
Mapping relations receiving module 502, for receiving user agent's field and length less than first threshold from transmitting terminal
Mapping relations between character string;
Message reception module 504, for receiving message from transmitting terminal, user agent's field is by corresponding character string in message
Instead of;
User agent's field determining module 506, for determining user agent according to corresponding character string and mapping relations
Field.
In above-described embodiment, for user agent's field, its identification information is distinguished, can be had using these identification informations
The limited feature of limit exhaustion, number of combinations, generates and saves mapping relations in transmitting terminal before sending these fields, and use
Short character strings substitute former field.Transmitting terminal is when sending message to receiving end, for different identification field in user agent's field
Unique short character strings corresponding relationship value substitution is applied in combination, receiving end receives the mapping sent after message according to transmitting terminal
The above-mentioned field of relation decomposing is worth accordingly, the transmitted data amount being greatly decreased in the case where not losing information, improves number
According to efficiency of transmission, the bandwidth consumed in data transmission procedure is reduced.Meanwhile above-described embodiment can be greatly decreased to distributed text
The memory requirement of part system, and facilitate subsequent module calling directly and applying to user agent's field.
In some embodiments, data transmission receiving end 50 further includes corresponding relationship receiving module 503, is used for from transmitting terminal
Receiving host field and length are less than the corresponding relationship between the character string of third threshold value;
Message reception module 504 is also used to: receiving message from transmitting terminal, host field is by corresponding character string generation in message
It replaces;
It further includes host field determining module 508 that data, which transmit receiving end 50, for according to corresponding character string and right
It should be related to, determine host field.
Above-described embodiment data transmission between platform includes the limited non-frequent updatings such as user agent's field, host field
Field devises new processing and transmission mode.One user agent's field and host field expressed with short character strings only need using
18 length, and existing net transmission user agent's field and host field require greatly 50 to 100 length at present.Therefore,
Above-described embodiment can further increase data transmission efficiency in the case where not losing any information, reduce data and be transmitted across
The bandwidth consumed in journey.
The data transmission system of one embodiment of the invention is introduced below with reference to Fig. 6.
Fig. 6 shows the structural schematic diagram of one embodiment of data transmission system of the present invention.As shown in fig. 6, this implementation
Example in data transmission system 60 include:
Data transmit transmitting terminal 40 and data transmit receiving end 50.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more,
The calculating implemented in non-transient storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) can be used
The form of machine program product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and
Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.
Claims (19)
1. a kind of data transmission method, comprising:
Transmitting terminal establishes user agent's field and length less than the mapping relations between the character string of first threshold;
The mapping relations are sent to receiving end by transmitting terminal;
Transmitting terminal replaces user agent's field in message with corresponding character string according to the mapping relations;
Transmitting terminal sends the message to receiving end, so that receiving end is closed according to corresponding character string and the mapping
System, determines user agent's field.
2. data transmission method as described in claim 1, wherein the transmitting terminal is established user agent's field and is less than with length
Mapping relations between the character string of threshold value include:
Transmitting terminal establishes each segment identification in user agent's field and each segment length is less than reflecting between the character string of second threshold
Penetrate relationship.
3. data transmission method as claimed in claim 2, wherein the mapping relations include:
Mapping relations between browser mark and two hexadecimal numbers;
Mapping relations between operating system identifies and two hexadecimal numbers;
Mapping relations between secret grade mark and a hexadecimal number;
Mapping relations between browser language identification and two hexadecimal numbers;
Mapping relations between rendering engine mark and a hexadecimal number;
Mapping relations between version information mark and two hexadecimal numbers.
4. data transmission method as described in claim 1, wherein the length of character string that the length is less than first threshold is
Variable.
5. data transmission method as described in claim 1, wherein
The data transmission method further include:
Transmitting terminal establishes host field and length less than the corresponding relationship between the character string of third threshold value;
The corresponding relationship is sent to receiving end by transmitting terminal;
Transmitting terminal is replaced according to the corresponding relationship, by the host field in message with corresponding character string;
The transmitting terminal sends the message to receiving end, so that receiving end according to corresponding character string and described is reflected
Relationship is penetrated, determines that user agent's field includes:
Transmitting terminal sends the message to receiving end, so that receiving end is closed according to corresponding character string and the mapping
It is to determine that user agent's field and receiving end according to the corresponding character string and the corresponding relationship, determine host word
Section.
6. data transmission method as claimed in claim 5, wherein the corresponding relationship includes:
Mapping relations between host field and eight hexadecimal numbers.
7. data transmission method as claimed in claim 5, wherein the length of character string that the length is less than third threshold value is
Variable.
8. a kind of data transmission method, comprising:
Receiving end receives the mapping relations between the character string of user agent's field and length less than first threshold from transmitting terminal;
Receiving end receives message from transmitting terminal, and user agent's field is replaced by corresponding character string in the message;
Receiving end determines user agent's field according to corresponding character string and the mapping relations.
9. data transmission method as claimed in claim 8, wherein the data transmission method further include:
Receiving end is less than the corresponding relationship between the character string of third threshold value from transmitting terminal receiving host field and length;
Receiving end receives message from transmitting terminal, and host field is replaced by corresponding character string in the message;
Receiving end determines host field according to the corresponding character string and the corresponding relationship.
10. a kind of data transmit transmitting terminal, comprising:
Mapping relations establish module, for establishing user agent's field and length less than the mapping between the character string of first threshold
Relationship;
Mapping relations sending module, for the mapping relations to be sent to receiving end;
First character string replaces module, is used for according to the mapping relations, by the corresponding word of user agent's field in message
Symbol string replaces;
Message transmission module, for sending the message to receiving end, so as to receiving end according to corresponding character string with
And the mapping relations, determine user agent's field.
11. data as claimed in claim 10 transmit transmitting terminal, wherein the mapping relations are established module and are used for:
Each segment identification in user agent's field and each segment length are established less than the mapping relations between the character string of second threshold.
12. data as claimed in claim 11 transmit transmitting terminal, wherein the mapping relations include:
Mapping relations between browser mark and two hexadecimal numbers;
Mapping relations between operating system identifies and two hexadecimal numbers;
Mapping relations between secret grade mark and a hexadecimal number;
Mapping relations between browser language identification and two hexadecimal numbers;
Mapping relations between rendering engine mark and a hexadecimal number;
Mapping relations between version information mark and two hexadecimal numbers.
13. data as claimed in claim 10 transmit transmitting terminal, wherein the length is less than the length of the character string of first threshold
Degree is variable.
14. data as claimed in claim 10 transmit transmitting terminal, wherein
The data transmit transmitting terminal further include:
Corresponding relation building module, for establishing host field with length less than the corresponding pass between the character string of third threshold value
System;
Corresponding relationship sending module, for the corresponding relationship to be sent to receiving end;
Second character string replaces module, is used for according to the corresponding relationship, by the corresponding character string of the host field in message
Instead of;
The message transmission module also in:
Receiving end is sent the message to, so that receiving end is according to the corresponding character string and the corresponding relationship, really
Determine host field.
15. data transmission method as claimed in claim 14, wherein the corresponding relationship includes:
Mapping relations between host field and eight hexadecimal numbers.
16. data transmission method as claimed in claim 14, wherein the length is less than the length of the character string of third threshold value
It is variable.
17. a kind of data transmit receiving end, comprising:
Mapping relations receiving module, for from transmitting terminal receive user agent's field and length be less than first threshold character string it
Between mapping relations;
Message reception module, for receiving message from transmitting terminal, user agent's field is by corresponding character string generation in the message
It replaces;
User agent's field determining module, for determining user's generation according to corresponding character string and the mapping relations
Manage field.
18. data as claimed in claim 17 transmit receiving end, wherein
Data transmission receiving end further includes corresponding relationship receiving module, for small from transmitting terminal receiving host field and length
Corresponding relationship between the character string of third threshold value;
The message reception module is also used to: receiving message from transmitting terminal, host field is by corresponding character string in the message
Instead of;
Data transmission receiving end further includes host field determining module, for according to the corresponding character string and described
Corresponding relationship determines host field.
19. a kind of data transmission system transmits transmitting terminal including the data as described in any one of claim 10 to 16, and
Data as described in claim 17 or 18 transmit receiving end.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711325970.9A CN109921875A (en) | 2017-12-13 | 2017-12-13 | Data transmission method, system and equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711325970.9A CN109921875A (en) | 2017-12-13 | 2017-12-13 | Data transmission method, system and equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109921875A true CN109921875A (en) | 2019-06-21 |
Family
ID=66958426
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711325970.9A Pending CN109921875A (en) | 2017-12-13 | 2017-12-13 | Data transmission method, system and equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109921875A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110912671A (en) * | 2019-11-22 | 2020-03-24 | 北京和德宇航技术有限公司 | Data transmission method, device, communication node and storage medium |
CN112434231A (en) * | 2020-11-05 | 2021-03-02 | 北京奇艺世纪科技有限公司 | Data processing method and device and electronic equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101523857A (en) * | 2006-10-13 | 2009-09-02 | 高通股份有限公司 | Message compression methods and apparatus |
CN101557399A (en) * | 2009-05-20 | 2009-10-14 | 深圳市汇海科技开发有限公司 | Method for compression and decompression of XMPP protocol transmission data |
CN106686032A (en) * | 2015-11-06 | 2017-05-17 | 五八同城信息技术有限公司 | Method of pushing PUSH message, apparatus and mobile terminal thereof |
CN106878054A (en) * | 2016-12-26 | 2017-06-20 | 新华三技术有限公司 | A kind of method and device for business processing |
-
2017
- 2017-12-13 CN CN201711325970.9A patent/CN109921875A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101523857A (en) * | 2006-10-13 | 2009-09-02 | 高通股份有限公司 | Message compression methods and apparatus |
CN101557399A (en) * | 2009-05-20 | 2009-10-14 | 深圳市汇海科技开发有限公司 | Method for compression and decompression of XMPP protocol transmission data |
CN106686032A (en) * | 2015-11-06 | 2017-05-17 | 五八同城信息技术有限公司 | Method of pushing PUSH message, apparatus and mobile terminal thereof |
CN106878054A (en) * | 2016-12-26 | 2017-06-20 | 新华三技术有限公司 | A kind of method and device for business processing |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110912671A (en) * | 2019-11-22 | 2020-03-24 | 北京和德宇航技术有限公司 | Data transmission method, device, communication node and storage medium |
CN112434231A (en) * | 2020-11-05 | 2021-03-02 | 北京奇艺世纪科技有限公司 | Data processing method and device and electronic equipment |
CN112434231B (en) * | 2020-11-05 | 2023-09-08 | 北京奇艺世纪科技有限公司 | Data processing method and device and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107330522B (en) | Method, device and system for updating deep learning model | |
CN105378662A (en) | Bundle package generation | |
CN103647870A (en) | Terminal and terminal expression display method | |
CN110297944B (en) | Distributed XML data processing method and system | |
CN104753804B (en) | A kind of data stream transmitting control method, apparatus and system | |
CN110597888A (en) | Method, device, medium and equipment for acquiring virtual resources based on block chains | |
CN109921875A (en) | Data transmission method, system and equipment | |
CN110912805B (en) | Message reading state synchronization method, terminal, server and system | |
CN112631884A (en) | Pressure measurement method and device based on data synchronization, computer equipment and storage medium | |
CN108733527B (en) | System, method and apparatus for testing server functionality | |
CN109379245A (en) | A kind of wifi report form generation method and system | |
CN112486825A (en) | Multi-lane environment architecture system, message consumption method, device, equipment and medium | |
CN112073488A (en) | Method and device for processing request | |
CN101448136B (en) | Method for realizing video on-demand function and system thereof | |
CN101419618B (en) | In-text information displaying method and apparatus | |
CN111343220A (en) | Transponder, distributed file transmission method, system, medium and electronic equipment | |
CN110022323A (en) | A kind of method and system of the cross-terminal real-time, interactive based on WebSocket and Redux | |
CN112099957B (en) | Resource allocation method, system, device and electronic equipment | |
CN110489430B (en) | Tracing method and system based on data block signature and verification | |
CN114637531A (en) | Method and device for dynamically generating application program interface | |
CN105453522B (en) | Method and system for providing a function in a computer system of a vehicle | |
CN103051528B (en) | A kind of message rapid distribution method for bus and device | |
CN106776497A (en) | Information processing method and information processor | |
CN106503135A (en) | A kind of method and apparatus of WEB page loading | |
CN112738823A (en) | Interface data interaction method, distributed unit and central unit |
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: 20190621 |
|
RJ01 | Rejection of invention patent application after publication |