CN108848127A - Data transmission method, device, computer equipment and computer readable storage medium - Google Patents
Data transmission method, device, computer equipment and computer readable storage medium Download PDFInfo
- Publication number
- CN108848127A CN108848127A CN201810504148.7A CN201810504148A CN108848127A CN 108848127 A CN108848127 A CN 108848127A CN 201810504148 A CN201810504148 A CN 201810504148A CN 108848127 A CN108848127 A CN 108848127A
- Authority
- CN
- China
- Prior art keywords
- data
- communication
- preset
- protocol
- identification field
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/34—Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/2866—Architectures; Arrangements
- H04L67/30—Profiles
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephonic Communication Services (AREA)
- Telephone Function (AREA)
Abstract
The invention proposes a kind of data transmission method, device, computer equipment and storage mediums, wherein method includes:When sending the communication information to receiving end, the communication information is configured according to communication data format preset in preset data communication protocol, obtains communication data;The communication data is sent to the receiving end by preset data transmission channel.The present invention is by implementing above scheme, effectively enhance communication ability between the functional unit of different scripting language exploitations, it is effectively simplified data communication process between the functional unit of different scripting language exploitations, reduces the functional unit development cost of different scripting language exploitations.
Description
Technical field
The present invention relates to field of computer technology more particularly to a kind of data transmission method, device, computer equipment and meters
Calculation machine readable storage medium storing program for executing.
Background technique
With the fast development of computer equipment, APP (Application, application program) has obtained quickly universal.APP
Generally use primary design language based on computer equipment operating system and other setting scripting languages (such as:Scripting language
JavaScript mixed developing mode) is developed, but passes through API preset in terminal native system in the prior art
(Application Programming Interface, Application Programming Interface) carry out application program in be arranged based on setting
The functional unit of scripting language exploitation is with the functional unit based on the exploitation of terminal native system (for example, being based on Android operation system
The functional unit of exploitation, or based on iOS operating system exploitation functional unit) between data communication, since terminal is primary
The limitation of preset API in system leads to the functional unit based on setting scripting language exploitation and is based on terminal native system
It only can be carried out simple data communication between the functional unit of exploitation, a large amount of and complicated number can not be carried out under complex scene
According to data communication.
Summary of the invention
The invention proposes a kind of data transmission method, device, computer equipment and computer readable storage medium, to
Solve the problems, such as that communication ability is poor between the functional unit of different scripting language exploitations in application program in the prior art.
The technical solution adopted by the present invention is that providing a kind of data transmission method, opened applied to based on mixed developing mode
In the application program of hair, the method includes:
When sending the communication information to receiving end, by the communication information according to preset logical in preset data communication protocol
Letter data format is configured, and communication data is obtained;
The communication data is sent to the receiving end by preset data transmission channel.
Optionally, described to carry out the communication information according to communication data format preset in the data communication protocol
Configuration, obtains communication data, including:
By calling the Application Programming Interface API of the data communication protocol, the communication information leads to the data
Believe that each field of preset communication data format in agreement carries out assignment, obtains the communication data.
Optionally, it is described by the communication data by preset data transmission channel be sent to the receiving end it
Before, the method also includes:
By calling the API of the data communication protocol, Data Format Transform, coding are successively carried out to the communication data
And symmetric encryption operation.
The present invention also provides a kind of data transmission methods, applied to the application program developed based on mixed developing mode
In, the method includes:
When receiving the communication data of transmitting terminal transmission by preset data transmission channel, communicated based on preset data
Preset communication data format in agreement, parses the communication data, obtains the communication carried in the communication data
Information.
Optionally, described based on preset communication data format in preset data communication protocol, to the communication data into
Row parsing, obtains the communication information carried in the communication data, including:
According to communication data format preset in the data communication protocol, by calling answering for the data communication protocol
With programming interface API, each field of the communication data is parsed, obtains the communication carried in the communication data letter
Breath.
Optionally, described based on preset communication data format in preset data communication protocol, to the communication data
It is parsed, before obtaining the communication information carried in the communication data, the method also includes:
By calling the API of the data communication protocol, the communication data is successively symmetrically decrypted, decodes sum number
According to format conversion operation.
Optionally, the method also includes:
In the case that the communication information carried in the communication data includes data callback information, returned according to the data
Information is adjusted, data back is carried out to the transmitting terminal by the data transmission channel.
The present invention also provides a kind of data transmission device, applied to being provided with the application developed based on mixed developing mode
In the terminal of program, described device includes:
Configuration module, for when sending the communication information to receiving end, the communication information to be communicated according to preset data
Preset communication data format is configured in agreement, obtains communication data;
Sending module, for the communication data to be sent to the receiving end by preset data transmission channel.
Optionally, the configuration module, is specifically used for:
It, will by calling the Application Programming Interface API of the data communication protocol when sending the communication information to receiving end
The communication information carries out assignment to each field of preset communication data format in the data communication protocol, obtains described
Communication data.
Optionally, described device further includes:
First security module, for it is described the communication data is sent to by preset data transmission channel it is described
Before receiving end, by calling the API of the data communication protocol, the communication data is successively carried out Data Format Transform,
Coding and symmetric encryption operation.
The present invention also provides a kind of data transmission device, applied to being provided with the application developed based on mixed developing mode
In the terminal of program, described device includes:
Parsing module, for when by preset data transmission channel receive transmitting terminal transmission communication data when, base
The preset communication data format in preset data communication protocol, parses the communication data, obtains the communication number
According to the communication information of middle carrying.
Optionally, the parsing module, is specifically used for:
When receiving the communication data of transmitting terminal transmission by preset data transmission channel, according to the data communication
Preset communication data format in agreement, by calling the Application Programming Interface API of the data communication protocol, to the communication
Each field of data is parsed, and the communication information carried in the communication data is obtained.
Optionally, described device further includes:
Second security module, for being based on preset communication data format in preset data communication protocol described, to institute
It states communication data to be parsed, before obtaining the communication information carried in the communication data, by calling the data communication
The API of agreement successively symmetrically decrypts the communication data, is decoded and data format conversion operation.
Optionally, described device further includes:
Callback module, in the case that the communication information for carrying in the communication data includes data callback information,
According to the data callback information, data back is carried out to the transmitting terminal by the data transmission channel.
The present invention also provides a kind of computer equipment, the computer equipment includes processor and memory;
The processor is used to execute the program of the data transmission stored in memory, to realize above-mentioned transmission side data
The step of method.
The present invention also provides a kind of computer readable storage medium, the computer-readable recording medium storage have one or
The multiple programs of person, one or more of programs can be executed by one or more processor, to realize that above-mentioned data pass
The step of transmission method.
By adopting the above technical scheme, the present invention at least has following advantages:
A kind of data transmission method, device, computer equipment and computer readable storage medium of the present invention effectively increase
Communication ability between the strong functional unit of different scripting languages exploitations, is effectively simplified the function of different scripting languages exploitations
Data communication process between energy component reduces the functional unit development cost of different scripting languages exploitations.
Detailed description of the invention
Fig. 1 is the data transmission method flow chart of first embodiment of the invention;
Fig. 2 is the data transmission method flow chart of second embodiment of the invention;
Fig. 3 is the data transmission method flow chart of third embodiment of the invention;
Fig. 4 is the data transmission method flow chart of sixth embodiment of the invention;
Fig. 5 is the data transmission method flow chart of seventh embodiment of the invention;
Fig. 6 is the data transmission device composed structure schematic diagram of the 8th and the 9th embodiment of the invention;
Fig. 7 is the data transmission device composed structure schematic diagram of tenth embodiment of the invention;
Fig. 8 is the data transmission device composed structure schematic diagram of thriteenth embodiment of the invention;
Fig. 9 is the data transmission device composed structure schematic diagram of fourteenth embodiment of the invention;
Figure 10 is the computer equipment composed structure schematic diagram of fifteenth embodiment of the invention.
Specific embodiment
Further to illustrate the present invention to reach the technical means and efficacy that predetermined purpose is taken, below in conjunction with attached drawing
And preferred embodiment, the present invention is described in detail as after.
Data transmission method provided in an embodiment of the present invention, applied to the application program developed based on mixed developing mode
In, for realizing the data interaction in the dynamic updating process of above-mentioned application program, to solve application package in the prior art
It only can be carried out simple data communication between the functional unit of the different scripting languages exploitation contained, mass data communication can not be carried out
Or the problem of complex data communication.
Wherein, receiving end can be:Based on setting scripting language (such as scripting language in above-mentioned application program
Javascript) functional unit developed, transmitting terminal can be:Function based on the exploitation of terminal native system in above-mentioned application program
Energy component (for example, the functional unit based on Android operation system exploitation, or the functional group based on the exploitation of iOS operating system
Part);
Alternatively, receiving end can be:In above-mentioned application program based on terminal native system exploitation functional unit (for example,
Based on the functional unit of Android operation system exploitation, or the functional unit based on the exploitation of iOS operating system), transmitting terminal can be with
For:Functional unit based on setting scripting language (such as scripting language Javascript) exploitation in above-mentioned application program.
First embodiment of the invention, a kind of data transmission method, be applied to transmitting terminal, as shown in Figure 1, this method include with
Lower specific steps:
Step S101, when sending the communication information to receiving end, by the communication information according to pre- in preset data communication protocol
If communication data format configured, obtain communication data.
In the present embodiment, it to preset communication data format in preset data communication protocol, is not specifically limited, it can be with
It is the communication data format that the characteristics of Developmental Engineer is transmitted according to the data of data transmission channel is arranged, is also possible to basis and connects
The communication data format that the characteristics of communication data parsing of receiving end is arranged.
Optionally, receiving end includes but is not limited to:Based on the functional unit of scripting language JavaScript exploitation, and/or
Functional unit based on terminal operating system exploitation;Wherein, the functional unit based on terminal operating system exploitation includes but unlimited
In:The function of Mobile operating system iOS exploitation based on the functional unit of Android operation system exploitation, and/or based on Apple Inc.
It can component.
The communication data is sent to receiving end by preset data transmission channel by step S102.
Optionally, data transmission channel building mode includes but is not limited to:
Based on preset data communication protocol, data transmission channel is constructed by terminal operating system API.
Such as:Based on preset data communication protocol, data transmission channel is constructed by Android operation system API.
For another example:Based on preset data communication protocol, data are constructed by the API of the Mobile operating system iOS of Apple Inc.
Transmission channel.
Based on preset data communication protocol, data transmission channel is constructed by terminal operating system API, overcomes existing skill
It only can be carried out the defect of simple data communication between the functional unit for the different scripting languages exploitation that application program includes in art,
It can not realize the complex data communication or big between the functional unit for the different scripting languages exploitation that application program includes
Data communication is measured, communication ability between the functional unit that different scripting languages are developed in application program is effectively enhanced, has
Effect simplifies data communication process between the functional unit that different scripting languages are developed in application program, reduces in application program
Data communication development cost between the functional unit of different scripting language exploitations.
The data transmission method of first embodiment of the invention, effectively enhance the exploitation of different scripting languages functional unit it
Between communication ability, be effectively simplified data communication process between the functional unit of different scripting languages exploitation, reduce not
With the functional unit development cost of scripting language exploitation.
Second embodiment of the invention, a kind of data transmission method, be applied to transmitting terminal, as shown in Fig. 2, this method include with
Lower specific steps:
Step S201, when sending the communication information to receiving end, by the communication information according to pre- in preset data communication protocol
If communication data format configured, obtain communication data;
Optionally, step S201, including:
When sending the communication information to receiving end, by calling the API of preset data communication protocol, by the communication information pair
Each field of preset communication data format carries out assignment in data communication protocol, obtains communication data.
Optionally, preset communication data format includes but is not limited to following field in data communication protocol:
Protocol type field, method identification field, class identification field, activity (interaction) identification field, fragment
(frame) identification field, view identification field, protocol identification field, needreturn (passback) identification field, parameter array mark
The character learning fields such as section and sub-protocol identification field.
Optionally, protocol-identifier is session mark.
Such as:Step S201 passes through tune when sending the communication information to the functional unit developed based on Android operation system
With the API of preset data communication protocol, by the communication information to each of communication data format preset in data communication protocol
Field carries out assignment, obtains communication data;Wherein, preset communication data format includes in data communication protocol:Protocol type
Field, method identification field, class identification field, activity identification field, fragment identification field, view identification field,
Session identification field, needreturn identification field, parameter array identification field and sub-protocol identification field.
For another example:Step S201 passes through calling when sending the communication information to the functional unit developed based on JavaScript
The API of preset data communication protocol, by the communication information to each word of communication data format preset in data communication protocol
Duan Jinhang assignment, obtains communication data;Wherein, preset communication data format includes in data communication protocol:Protocol class type-word
Section, method identification field, class identification field, activity identification field, fragment identification field, view identification field,
Session identification field, needreturn identification field, parameter array identification field and sub-protocol identification field.
For another example:Step S201, when the functional unit developed to the Mobile operating system iOS based on Apple Inc. sends communication
When information, by calling the API of preset data communication protocol, by the communication information to communication number preset in data communication protocol
Assignment is carried out according to each field of format, obtains communication data;Wherein, preset communication data format packet in data communication protocol
It includes:Protocol type field, method identification field, class identification field, activity identification field, fragment identification field, view
Map logo field, session identification field, needreturn identification field, parameter array identification field and sub-protocol identifier word
Section.
Optionally, receiving end includes but is not limited to:Based on the functional unit of scripting language JavaScript exploitation, and/or
Functional unit based on terminal operating system exploitation;Wherein, the functional unit based on terminal operating system exploitation includes but unlimited
In:The function of Mobile operating system iOS exploitation based on the functional unit of Android operation system exploitation, and/or based on Apple Inc.
It can component.
Each field of the communication information to communication data format preset in data communication protocol is subjected to assignment, is led to
Letter data, the communication data by setting format are communicated, and the communication of mass data or the communication of complex data are realized,
Greatly improve communication capacity between the functional unit for the different scripting languages exploitation that application program includes.
The communication data is sent to receiving end by preset data transmission channel by step S202.
Optionally, data transmission channel building mode includes but is not limited to:
Based on preset data communication protocol, data transmission channel is constructed by terminal operating system API.
Such as:Based on preset data communication protocol, data transmission channel is constructed by Android operation system API.
For another example:Based on preset data communication protocol, data are constructed by the API of the Mobile operating system iOS of Apple Inc.
Transmission channel.
Based on preset data communication protocol, data transmission channel is constructed by terminal operating system API, overcomes existing skill
It only can be carried out the defect of simple data communication between the functional unit for the different scripting languages exploitation that application program includes in art,
It can not realize the complex data communication or big between the functional unit for the different scripting languages exploitation that application program includes
Data communication is measured, communication ability between the functional unit that different scripting languages are developed in application program is effectively enhanced, has
Effect simplifies data communication process between the functional unit that different scripting languages are developed in application program, reduces in application program
Data communication development cost between the functional unit of different scripting language exploitations.
The data transmission method of second embodiment of the invention, effectively enhance the exploitation of different scripting languages functional unit it
Between communication ability, be effectively simplified data communication process between the functional unit of different scripting languages exploitation, reduce not
With the functional unit development cost of scripting language exploitation.
Third embodiment of the invention, a kind of data transmission method, be applied to transmitting terminal, as shown in figure 3, this method include with
Lower specific steps:
Step S301, when sending the communication information to receiving end, by the communication information according to pre- in preset data communication protocol
If communication data format configured, obtain communication data;
Optionally, step S301, including:
When sending the communication information to receiving end, by calling the API of preset data communication protocol, by the communication information pair
Each field of preset communication data format carries out assignment in data communication protocol, obtains communication data.
Optionally, preset communication data format includes but is not limited to following field in data communication protocol:
Protocol type field, method identification field, class identification field, activity (interaction) identification field, fragment
(frame) identification field, view identification field, protocol identification field, needreturn (passback) identification field, parameter array mark
The character learning fields such as section and sub-protocol identification field.
Optionally, protocol-identifier is session mark.
Such as:Step S301 passes through tune when sending the communication information to the functional unit developed based on Android operation system
With the API of preset data communication protocol, by the communication information to each of communication data format preset in data communication protocol
Field carries out assignment, obtains communication data;Wherein, preset communication data format includes in data communication protocol:Protocol type
Field, method identification field, class identification field, activity identification field, fragment identification field, view identification field,
Session identification field, needreturn identification field, parameter array identification field and sub-protocol identification field.
For another example:Step S301 passes through calling when sending the communication information to the functional unit developed based on JavaScript
The API of preset data communication protocol, by the communication information to each word of communication data format preset in data communication protocol
Duan Jinhang assignment, obtains communication data;Wherein, preset communication data format includes in data communication protocol:Protocol class type-word
Section, method identification field, class identification field, activity identification field, fragment identification field, view identification field,
Session identification field, needreturn identification field, parameter array identification field and sub-protocol identification field.
For another example:Step S301, when the functional unit developed to the Mobile operating system iOS based on Apple Inc. sends communication
When information, by calling the API of preset data communication protocol, by the communication information to communication number preset in data communication protocol
Assignment is carried out according to each field of format, obtains communication data;Wherein, preset communication data format packet in data communication protocol
It includes:Protocol type field, method identification field, class identification field, activity identification field, fragment identification field, view
Map logo field, session identification field, needreturn identification field, parameter array identification field and sub-protocol identifier word
Section.
Optionally, receiving end includes but is not limited to:Based on the functional unit of scripting language JavaScript exploitation, and/or
Functional unit based on terminal operating system exploitation;Wherein, the functional unit based on terminal operating system exploitation includes but unlimited
In:The function of Mobile operating system iOS exploitation based on the functional unit of Android operation system exploitation, and/or based on Apple Inc.
It can component.
Each field of the communication information to communication data format preset in data communication protocol is subjected to assignment, is led to
Letter data has standardized communication data, realizes the communication of mass data or the communication of complex data, greatly improves application
Communication capacity between the functional unit for the different scripting languages exploitation that program includes.
Step S302 successively carries out data format to the communication data and turns by calling the API of the data communication protocol
It changes, encode and symmetric encryption operation.
Optionally, step S302, including:
By calling the API of the data communication protocol, which is converted into json data format;
The communication data of json data format is subjected to base64 encoding operation;
Communication data after base64 is encoded carries out symmetric encryption operation, obtains the communication data of symmetric cryptography.
Data Format Transform, coding and symmetric encryption operation are successively carried out to the communication data, it is logical to effectively increase data
The safety of letter, the data avoided in data communication process are illegally accessed, caused leaking data.
The communication data is sent to receiving end by preset data transmission channel by step S303.
Optionally, data transmission channel building mode includes but is not limited to:
Based on preset data communication protocol, data transmission channel is constructed by terminal operating system API.
Such as:Based on preset data communication protocol, data transmission channel is constructed by Android operation system API.
For another example:Based on preset data communication protocol, data are constructed by the API of the Mobile operating system iOS of Apple Inc.
Transmission channel.
Based on preset data communication protocol, data transmission channel is constructed by terminal operating system API, overcomes existing skill
It only can be carried out the defect of simple data communication between the functional unit for the different scripting languages exploitation that application program includes in art,
It can not realize the complex data communication or big between the functional unit for the different scripting languages exploitation that application program includes
Data communication is measured, communication ability between the functional unit that different scripting languages are developed in application program is effectively enhanced, has
Effect simplifies data communication process between the functional unit that different scripting languages are developed in application program, reduces in application program
Data communication development cost between the functional unit of different scripting language exploitations.
The data transmission method of third embodiment of the invention, effectively enhance the exploitation of different scripting languages functional unit it
Between communication ability, be effectively simplified data communication process between the functional unit of different scripting languages exploitation, reduce not
With development cost between the functional unit of scripting language exploitation.
Fourth embodiment of the invention, a kind of data transmission method are applied to receiving end, and this method includes walking in detail below
Suddenly:
Step S401, when receiving the communication data of transmitting terminal transmission by preset data transmission channel, based on pre-
Preset communication data format in data communication protocol is set, communication data is parsed, obtains carrying in communication data logical
Letter information.
In the present embodiment, it to preset communication data format in preset data communication protocol, is not specifically limited, it can be with
It is the communication data format that the characteristics of Developmental Engineer is transmitted according to the data of data transmission channel is arranged, is also possible to basis and connects
The communication data format that the characteristics of communication data parsing of receiving end is arranged.
Optionally, transmitting terminal includes but is not limited to:Based on the functional unit of scripting language JavaScript exploitation, and/or
Functional unit based on terminal operating system exploitation;Wherein, the functional unit based on terminal operating system exploitation includes but unlimited
In:The function of Mobile operating system iOS exploitation based on the functional unit of Android operation system exploitation, and/or based on Apple Inc.
It can component.
Optionally, data transmission channel building mode includes but is not limited to:
Based on preset data communication protocol, data transmission channel is constructed by terminal operating system API.
Such as:Based on preset data communication protocol, data transmission channel is constructed by Android operation system API.
For another example:Based on preset data communication protocol, data are constructed by the API of the Mobile operating system iOS of Apple Inc.
Transmission channel.
The communication data that transmitting terminal is sent is received by preset data transmission channel, is overcome in the prior art using journey
The defect that only can be carried out simple data communication between the functional unit for the different scripting languages exploitation that sequence includes, can not be real
Complex data communication or mass data communication between the functional unit for the different scripting languages exploitation that existing application program includes,
Communication ability between the functional unit that different scripting languages are developed in application program is effectively enhanced, application is effectively simplified
Data communication process between the functional unit of different scripting language exploitations, reduces different scripting languages in application program in program
Data communication development cost between the functional unit of exploitation.The data transmission method of fourth embodiment of the invention, effectively enhances
Communication ability between the functional unit of different scripting language exploitations is effectively simplified the functional group of different scripting language exploitations
Data communication process between part reduces the functional unit development cost of different scripting language exploitations.
Fifth embodiment of the invention, a kind of data transmission method are applied to receiving end, and this method includes walking in detail below
Suddenly:
Step S501, when receiving the communication data of transmitting terminal transmission by preset data transmission channel, based on pre-
Preset communication data format in data communication protocol is set, communication data is parsed, obtains carrying in communication data logical
Letter information.
Optionally, based on preset communication data format in preset data communication protocol, communication data is parsed, is obtained
The mode of the communication information carried into communication data, including:
According to communication data format preset in data communication protocol, by calling the application programming of data communication protocol to connect
Mouth API, parses each field of communication data, obtains the communication information carried in communication data.
In the present embodiment, it to preset communication data format in preset data communication protocol, is not specifically limited, it can be with
It is the communication data format that the characteristics of Developmental Engineer is transmitted according to the data of data transmission channel is arranged, is also possible to basis and connects
The communication data format that the characteristics of communication data parsing of receiving end is arranged.
Optionally, preset communication data format includes but is not limited to following field in data communication protocol:
Protocol type field, method identification field, class identification field, activity (interaction) identification field, fragment
(frame) identification field, view identification field, protocol identification field, needreturn (passback) identification field, parameter array mark
The character learning fields such as section and sub-protocol identification field.
Optionally, protocol-identifier is session mark.
Such as:Step S501, when by preset data transmission channel receive based on Android operation system exploitation function
When the communication data that energy component is sent, according to communication data format preset in data communication protocol, passes through and call data communication
The Application Programming Interface API of agreement parses each field of communication data, obtains the communication carried in communication data letter
Breath;Wherein, preset communication data format includes in data communication protocol:Protocol type field, method identification field, class mark
Field, activity identification field, fragment identification field, view identification field, protocol identification field, needreturn mark
Character learning section, parameter array identification field and sub-protocol identification field.
For another example:Step S501, when receiving the moving operation system based on Apple Inc. by preset data transmission channel
When the communication data that the functional unit that iOS is developed of uniting is sent, according to communication data format preset in data communication protocol, pass through
The Application Programming Interface API for calling data communication protocol, parses each field of communication data, obtains in communication data
The communication information of carrying;Wherein, preset communication data format includes in data communication protocol:Protocol type field, method mark
Character learning section, class identification field, activity identification field, fragment identification field, view identification field, Protocol Standard character learning
Section, needreturn identification field, parameter array identification field and sub-protocol identification field.
For another example:Step S501 is opened when being received by preset data transmission channel based on scripting language JavaScript
When the communication data that the functional unit of hair is sent, according to communication data format preset in data communication protocol, by calling number
According to the Application Programming Interface API of communication protocol, each field of communication data is parsed, obtains carrying in communication data
The communication information;Wherein, preset communication data format includes in data communication protocol:Protocol type field, method identification field,
Class identification field, activity identification field, fragment identification field, view identification field, protocol identification field,
Needreturn identification field, parameter array identification field and sub-protocol identification field.
Based on preset communication data format in preset data communication protocol, communication data is parsed, is communicated
The communication information carried in data, by set format communication data communicated, realize mass data communication or
The communication of complex data greatly improves and communicates energy between the functional unit for the different scripting languages exploitation that application program includes
Power.
Optionally, transmitting terminal includes but is not limited to:Based on the functional unit of scripting language JavaScript exploitation, and/or
Functional unit based on terminal operating system exploitation;Wherein, the functional unit based on terminal operating system exploitation includes but unlimited
In:The function of Mobile operating system iOS exploitation based on the functional unit of Android operation system exploitation, and/or based on Apple Inc.
It can component.
Optionally, data transmission channel building mode includes but is not limited to:
Based on preset data communication protocol, data transmission channel is constructed by terminal operating system API.
Such as:Based on preset data communication protocol, data transmission channel is constructed by Android operation system API.
For another example:Based on preset data communication protocol, data are constructed by the API of the Mobile operating system iOS of Apple Inc.
Transmission channel.
The communication data that transmitting terminal is sent is received by preset data transmission channel, is overcome in the prior art using journey
The defect that only can be carried out simple data communication between the functional unit for the different scripting languages exploitation that sequence includes, can not be real
Complex data communication or mass data communication between the functional unit for the different scripting languages exploitation that existing application program includes,
Communication ability between the functional unit that different scripting languages are developed in application program is effectively enhanced, application is effectively simplified
Data communication process between the functional unit of different scripting language exploitations, reduces different scripting languages in application program in program
Data communication development cost between the functional unit of exploitation.
The data transmission method of fifth embodiment of the invention, effectively enhance the exploitation of different scripting languages functional unit it
Between communication ability, be effectively simplified data communication process between the functional unit of different scripting languages exploitation, reduce not
With the functional unit development cost of scripting language exploitation.
Sixth embodiment of the invention, a kind of data transmission method, be applied to receiving end, as shown in figure 4, this method include with
Lower specific steps:
Step S601 passes through tune when receiving the communication data of transmitting terminal transmission by preset data transmission channel
With the API of preset data communication protocol, communication data is successively symmetrically decrypted, is decoded and data format conversion operation.
Optionally, by calling the API of preset data communication protocol, communication data is successively symmetrically decrypted, is solved
The mode of code and data format conversion operation, including but not limited to:
By calling the API of preset data communication protocol, which is symmetrically decrypted, after being decrypted
Communication data;
Communication data after decryption is subjected to base64 decoding operate, obtains decoded communication data;
Decoded communication data is converted to the communication data of json data format.
Optionally, transmitting terminal includes but is not limited to:Based on the functional unit of scripting language JavaScript exploitation, and/or
Functional unit based on terminal operating system exploitation;Wherein, the functional unit based on terminal operating system exploitation includes but unlimited
In:The function of Mobile operating system iOS exploitation based on the functional unit of Android operation system exploitation, and/or based on Apple Inc.
It can component.
Optionally, data transmission channel building mode includes but is not limited to:
Based on preset data communication protocol, data transmission channel is constructed by terminal operating system API.
Such as:Based on preset data communication protocol, data transmission channel is constructed by Android operation system API.
For another example:Based on preset data communication protocol, data are constructed by the API of the Mobile operating system iOS of Apple Inc.
Transmission channel.
Communication data is successively symmetrically decrypted, is decoded and data format conversion operation, data communication is effectively increased
Safety, the data avoided in data communication process are illegally accessed, caused leaking data.
Step S602 parses communication data based on preset communication data format in preset data communication protocol,
Obtain the communication information carried in communication data.
Optionally, based on preset communication data format in preset data communication protocol, communication data is parsed, is obtained
The mode of the communication information carried into communication data, including:
According to communication data format preset in data communication protocol, by calling the application programming of data communication protocol to connect
Mouth API, parses each field of communication data, obtains the communication information carried in communication data.
In the present embodiment, it to preset communication data format in preset data communication protocol, is not specifically limited, it can be with
It is the communication data format that the characteristics of Developmental Engineer is transmitted according to the data of data transmission channel is arranged, is also possible to basis and connects
The communication data format that the characteristics of communication data parsing of receiving end is arranged.
Optionally, preset communication data format includes but is not limited to following field in data communication protocol:
Protocol type field, method identification field, class identification field, activity (interaction) identification field, fragment
(frame) identification field, view identification field, protocol identification field, needreturn (passback) identification field, parameter array mark
The character learning fields such as section and sub-protocol identification field.
Optionally, protocol-identifier is session mark.
Such as:Step S602, according to communication data format preset in data communication protocol, by calling data communication association
The Application Programming Interface API of view parses each field of communication data, obtains the communication carried in communication data letter
Breath;Wherein, preset communication data format includes in data communication protocol:Protocol type field, method identification field, class mark
Field, activity identification field, fragment identification field, view identification field, protocol identification field, needreturn mark
Character learning section, parameter array identification field and sub-protocol identification field.
For another example:Step S602, according to communication data format preset in data communication protocol, by calling data communication association
The Application Programming Interface API of view parses each field of communication data, obtains the communication carried in communication data letter
Breath;Wherein, preset communication data format includes in data communication protocol:Protocol type field, method identification field, class mark
Field, activity identification field, fragment identification field, view identification field, protocol identification field, needreturn mark
Character learning section, parameter array identification field and sub-protocol identification field.
For another example:Step S602, according to communication data format preset in data communication protocol, by calling data communication association
The Application Programming Interface API of view parses each field of communication data, obtains the communication carried in communication data letter
Breath;Wherein, preset communication data format includes in data communication protocol:Protocol type field, method identification field, class mark
Field, activity identification field, fragment identification field, view identification field, protocol identification field, needreturn mark
Character learning section, parameter array identification field and sub-protocol identification field.
Based on preset communication data format in preset data communication protocol, communication data is parsed, is communicated
The communication information carried in data, by set format communication data communicated, realize mass data communication or
The communication of complex data greatly improves and communicates energy between the functional unit for the different scripting languages exploitation that application program includes
Power.
The communication data that transmitting terminal is sent is received by preset data transmission channel, is overcome in the prior art using journey
The defect that only can be carried out simple data communication between the functional unit for the different scripting languages exploitation that sequence includes, can not be real
Complex data communication or mass data communication between the functional unit for the different scripting languages exploitation that existing application program includes,
Communication ability between the functional unit that different scripting languages are developed in application program is effectively enhanced, application is effectively simplified
Data communication process between the functional unit of different scripting language exploitations, reduces different scripting languages in application program in program
Data communication development cost between the functional unit of exploitation.
The data transmission method of sixth embodiment of the invention, effectively enhance the exploitation of different scripting languages functional unit it
Between communication ability, be effectively simplified data communication process between the functional unit of different scripting languages exploitation, reduce not
With the functional unit development cost of scripting language exploitation.
Seventh embodiment of the invention, a kind of data transmission method, be applied to receiving end, as shown in figure 5, this method include with
Lower specific steps:
Step S701 passes through tune when receiving the communication data of transmitting terminal transmission by preset data transmission channel
With the API of preset data communication protocol, communication data is successively symmetrically decrypted, is decoded and data format conversion operation.
Optionally, by calling the API of preset data communication protocol, communication data is successively symmetrically decrypted, is solved
The mode of code and data format conversion operation, including but not limited to:
By calling the API of preset data communication protocol, which is symmetrically decrypted, after being decrypted
Communication data;
Communication data after decryption is subjected to base64 decoding operate, obtains decoded communication data;
Decoded communication data is converted to the communication data of json data format.
Optionally, transmitting terminal includes but is not limited to:Based on the functional unit of scripting language JavaScript exploitation, and/or
Functional unit based on terminal operating system exploitation;Wherein, the functional unit based on terminal operating system exploitation includes but unlimited
In:The function of Mobile operating system iOS exploitation based on the functional unit of Android operation system exploitation, and/or based on Apple Inc.
It can component.
Optionally, data transmission channel building mode includes but is not limited to:
Based on preset data communication protocol, data transmission channel is constructed by terminal operating system API.
Such as:Based on preset data communication protocol, data transmission channel is constructed by Android operation system API.
For another example:Based on preset data communication protocol, data are constructed by the API of the Mobile operating system iOS of Apple Inc.
Transmission channel.
Communication data is successively symmetrically decrypted, is decoded and data format conversion operation, data communication is effectively increased
Safety, the data avoided in data communication process are illegally accessed, caused leaking data.
Step S702 is based on preset communication data format in preset data communication protocol, parses to communication data,
Obtain the communication information carried in communication data.
Optionally, based on preset communication data format in preset data communication protocol, communication data is parsed, is obtained
The mode of the communication information carried into communication data, including:
According to communication data format preset in data communication protocol, by calling the application programming of data communication protocol to connect
Mouth API, parses each field of communication data, obtains the communication information carried in communication data.
In the present embodiment, it to preset communication data format in preset data communication protocol, is not specifically limited, it can be with
It is the communication data format that the characteristics of Developmental Engineer is transmitted according to the data of data transmission channel is arranged, is also possible to basis and connects
The communication data format that the characteristics of communication data parsing of receiving end is arranged.
Optionally, preset communication data format includes but is not limited to following field in data communication protocol:
Protocol type field, method identification field, class identification field, activity (interaction) identification field, fragment
(frame) identification field, view identification field, protocol identification field, needreturn (passback) identification field, parameter array mark
The character learning fields such as section and sub-protocol identification field.
Optionally, protocol-identifier is session mark.
Such as:Step S702, according to communication data format preset in data communication protocol, by calling data communication association
The Application Programming Interface API of view parses each field of communication data, obtains the communication carried in communication data letter
Breath;Wherein, preset communication data format includes in data communication protocol:Protocol type field, method identification field, class mark
Field, activity identification field, fragment identification field, view identification field, protocol identification field, needreturn mark
Character learning section, parameter array identification field and sub-protocol identification field.
For another example:Step S702, according to communication data format preset in data communication protocol, by calling data communication association
The Application Programming Interface API of view parses each field of communication data, obtains the communication carried in communication data letter
Breath;Wherein, preset communication data format includes in data communication protocol:Protocol type field, method identification field, class mark
Field, activity identification field, fragment identification field, view identification field, protocol identification field, needreturn mark
Character learning section, parameter array identification field and sub-protocol identification field.
For another example:Step S702, according to communication data format preset in data communication protocol, by calling data communication association
The Application Programming Interface API of view parses each field of communication data, obtains the communication carried in communication data letter
Breath;Wherein, preset communication data format includes in data communication protocol:Protocol type field, method identification field, class mark
Field, activity identification field, fragment identification field, view identification field, protocol identification field, needreturn mark
Character learning section, parameter array identification field and sub-protocol identification field.
Based on preset communication data format in preset data communication protocol, communication data is parsed, is communicated
The communication information carried in data, by set format communication data communicated, realize mass data communication or
The communication of complex data greatly improves and communicates energy between the functional unit for the different scripting languages exploitation that application program includes
Power.
The communication data that transmitting terminal is sent is received by preset data transmission channel, is overcome in the prior art using journey
The defect that only can be carried out simple data communication between the functional unit for the different scripting languages exploitation that sequence includes, can not be real
Complex data communication or mass data communication between the functional unit for the different scripting languages exploitation that existing application program includes,
Communication ability between the functional unit that different scripting languages are developed in application program is effectively enhanced, application is effectively simplified
Data communication process between the functional unit of different scripting language exploitations, reduces different scripting languages in application program in program
Data communication development cost between the functional unit of exploitation.
Step S703, in the case that the communication information carried in communication data includes data callback information, according to data
Callback information carries out data back to transmitting terminal by data transmission channel.
The data transmission method of seventh embodiment of the invention, effectively enhance the exploitation of different scripting languages functional unit it
Between communication ability, be effectively simplified data communication process between the functional unit of different scripting languages exploitation, reduce not
With the functional unit development cost of scripting language exploitation.
Data transmission device provided in an embodiment of the present invention is answered applied to being provided with based on what mixed developing mode was developed
With in the terminal of program, for realizing the data interaction in the dynamic updating process of above-mentioned application program, to solve the prior art
It only can be carried out simple data communication between the functional unit for the different scripting languages exploitation that middle application program includes, can not carry out
The problem of mass data communication or complex data communicate.
Wherein, receiving end can be:Based on setting scripting language (such as scripting language in above-mentioned application program
Javascript) functional unit developed, transmitting terminal can be:Function based on the exploitation of terminal native system in above-mentioned application program
Energy component (for example, the functional unit based on Android operation system exploitation, or the functional group based on the exploitation of iOS operating system
Part);
Alternatively, receiving end can be:In above-mentioned application program based on terminal native system exploitation functional unit (for example,
Based on the functional unit of Android operation system exploitation, or the functional unit based on the exploitation of iOS operating system), transmitting terminal can be with
For:Functional unit based on setting scripting language (such as scripting language Javascript) exploitation in above-mentioned application program.
A kind of eighth embodiment of the invention, data transmission device, is set to transmitting terminal, as shown in fig. 6, the device include with
Lower component part:
Configuration module 101 is used for when sending the communication information to receiving end, by the communication information according to preset data communication protocols
Preset communication data format is configured in view, obtains communication data;
In the present embodiment, it to preset communication data format in preset data communication protocol, is not specifically limited, it can be with
It is the communication data format that the characteristics of Developmental Engineer is transmitted according to the data of data transmission channel is arranged, is also possible to basis and connects
The communication data format that the characteristics of communication data parsing of receiving end is arranged.
Optionally, receiving end includes but is not limited to:Based on the functional unit of scripting language JavaScript exploitation, and/or
Functional unit based on terminal operating system exploitation;Wherein, the functional unit based on terminal operating system exploitation includes but unlimited
In:The function of Mobile operating system iOS exploitation based on the functional unit of Android operation system exploitation, and/or based on Apple Inc.
It can component.
Sending module 102, for the communication data to be sent to receiving end by preset data transmission channel.
Optionally, data transmission channel building mode includes but is not limited to:
Based on preset data communication protocol, data transmission channel is constructed by terminal operating system API.
Such as:Based on preset data communication protocol, data transmission channel is constructed by Android operation system API.
For another example:Based on preset data communication protocol, data are constructed by the API of the Mobile operating system iOS of Apple Inc.
Transmission channel.
Based on preset data communication protocol, data transmission channel is constructed by terminal operating system API, overcomes existing skill
It only can be carried out the defect of simple data communication between the functional unit for the different scripting languages exploitation that application program includes in art,
It can not realize the complex data communication or big between the functional unit for the different scripting languages exploitation that application program includes
Data communication is measured, communication ability between the functional unit that different scripting languages are developed in application program is effectively enhanced, has
Effect simplifies data communication process between the functional unit that different scripting languages are developed in application program, reduces in application program
Data communication development cost between the functional unit of different scripting language exploitations.
The data transmission device of eighth embodiment of the invention, effectively enhance the exploitation of different scripting languages functional unit it
Between communication ability, be effectively simplified data communication process between the functional unit of different scripting languages exploitation, reduce not
With the functional unit development cost of scripting language exploitation.
A kind of ninth embodiment of the invention, data transmission device, is set to transmitting terminal, as shown in fig. 6, the device include with
Lower component part:
Configuration module 101 is used for when sending the communication information to receiving end, by the communication information according to preset data communication protocols
Preset communication data format is configured in view, obtains communication data;
Optionally, configuration module 101 are specifically used for:
For by calling the API of preset data communication protocol, communication being believed when sending the communication information to receiving end
It ceases and assignment is carried out to each field of communication data format preset in data communication protocol, obtain communication data.
Optionally, preset communication data format includes but is not limited to following field in data communication protocol:
Protocol type field, method identification field, class identification field, activity (interaction) identification field, fragment
(frame) identification field, view identification field, protocol identification field, needreturn (passback) identification field, parameter array mark
The character learning fields such as section and sub-protocol identification field.
Optionally, protocol-identifier is session mark.
Such as:Configuration module 101 sends the communication information for working as to the functional unit developed based on Android operation system
When, by calling the API of preset data communication protocol, by the communication information to communication data lattice preset in data communication protocol
Each field of formula carries out assignment, obtains communication data;Wherein, preset communication data format includes in data communication protocol:
Protocol type field, method identification field, class identification field, activity identification field, fragment identification field, view mark
Character learning section, session identification field, needreturn identification field, parameter array identification field and sub-protocol identification field.
For another example:Configuration module 101, for when sending the communication information to the functional unit developed based on JavaScript,
By calling the API of preset data communication protocol, by the communication information to communication data format preset in data communication protocol
Each field carry out assignment, obtain communication data;Wherein, preset communication data format includes in data communication protocol:Association
Discuss type field, method identification field, class identification field, activity identification field, fragment identification field, view identification
Field, session identification field, needreturn identification field, parameter array identification field and sub-protocol identification field.
For another example:Configuration module 101, for when the functional unit developed to the Mobile operating system iOS based on Apple Inc.
When sending the communication information, by calling the API of preset data communication protocol, the communication information is preset in data communication protocol
Communication data format each field carry out assignment, obtain communication data;Wherein, preset communication number in data communication protocol
Include according to format:Protocol type field, method identification field, class identification field, activity identification field, fragment mark
Field, view identification field, session identification field, needreturn identification field, parameter array identification field and sub-protocol
Identification field.
Optionally, receiving end includes but is not limited to:Based on the functional unit of scripting language JavaScript exploitation, and/or
Functional unit based on terminal operating system exploitation;Wherein, the functional unit based on terminal operating system exploitation includes but unlimited
In:The function of Mobile operating system iOS exploitation based on the functional unit of Android operation system exploitation, and/or based on Apple Inc.
It can component.
Each field of the communication information to communication data format preset in data communication protocol is subjected to assignment, is led to
Letter data, the communication data by setting format are communicated, and the communication of mass data or the communication of complex data are realized,
Greatly improve communication capacity between the functional unit for the different scripting languages exploitation that application program includes.
Sending module 102, for the communication data to be sent to receiving end by preset data transmission channel.
Optionally, data transmission channel building mode includes but is not limited to:
Based on preset data communication protocol, data transmission channel is constructed by terminal operating system API.
Such as:Based on preset data communication protocol, data transmission channel is constructed by Android operation system API.
For another example:Based on preset data communication protocol, data are constructed by the API of the Mobile operating system iOS of Apple Inc.
Transmission channel.
Based on preset data communication protocol, data transmission channel is constructed by terminal operating system API, overcomes existing skill
It only can be carried out the defect of simple data communication between the functional unit for the different scripting languages exploitation that application program includes in art,
It can not realize the complex data communication or big between the functional unit for the different scripting languages exploitation that application program includes
Data communication is measured, communication ability between the functional unit that different scripting languages are developed in application program is effectively enhanced, has
Effect simplifies data communication process between the functional unit that different scripting languages are developed in application program, reduces in application program
Data communication development cost between the functional unit of different scripting language exploitations.
The data transmission device of ninth embodiment of the invention, effectively enhance the exploitation of different scripting languages functional unit it
Between communication ability, be effectively simplified data communication process between the functional unit of different scripting languages exploitation, reduce not
With the functional unit development cost of scripting language exploitation.
A kind of tenth embodiment of the invention, data transmission device, is set to transmitting terminal, as shown in fig. 7, the device include with
Lower component part:
Configuration module 101 is used for when sending the communication information to receiving end, by the communication information according to preset data communication protocols
Preset communication data format is configured in view, obtains communication data;
Optionally, configuration module 101 are specifically used for:
By calling the API of preset data communication protocol, by the communication information to communication preset in data communication protocol
Each field of data format carries out assignment, obtains communication data.
Optionally, preset communication data format includes but is not limited to following field in data communication protocol:
Protocol type field, method identification field, class identification field, activity (interaction) identification field, fragment
(frame) identification field, view identification field, protocol identification field, needreturn (passback) identification field, parameter array mark
The character learning fields such as section and sub-protocol identification field.
Optionally, protocol-identifier is session mark.
Such as:Configuration module 101 sends the communication information for working as to the functional unit developed based on Android operation system
When, by calling the API of preset data communication protocol, by the communication information to communication data lattice preset in data communication protocol
Each field of formula carries out assignment, obtains communication data;Wherein, preset communication data format includes in data communication protocol:
Protocol type field, method identification field, class identification field, activity identification field, fragment identification field, view mark
Character learning section, session identification field, needreturn identification field, parameter array identification field and sub-protocol identification field.
For another example:Configuration module 101, for when sending the communication information to the functional unit developed based on JavaScript,
By calling the API of preset data communication protocol, by the communication information to communication data format preset in data communication protocol
Each field carry out assignment, obtain communication data;Wherein, preset communication data format includes in data communication protocol:Association
Discuss type field, method identification field, class identification field, activity identification field, fragment identification field, view identification
Field, session identification field, needreturn identification field, parameter array identification field and sub-protocol identification field.
For another example:Configuration module 101, for when the functional unit developed to the Mobile operating system iOS based on Apple Inc.
When sending the communication information, by calling the API of preset data communication protocol, the communication information is preset in data communication protocol
Communication data format each field carry out assignment, obtain communication data;Wherein, preset communication number in data communication protocol
Include according to format:Protocol type field, method identification field, class identification field, activity identification field, fragment mark
Field, view identification field, session identification field, needreturn identification field, parameter array identification field and sub-protocol
Identification field.
Optionally, receiving end includes but is not limited to:Based on the functional unit of scripting language JavaScript exploitation, and/or
Functional unit based on terminal operating system exploitation;Wherein, the functional unit based on terminal operating system exploitation includes but unlimited
In:The function of Mobile operating system iOS exploitation based on the functional unit of Android operation system exploitation, and/or based on Apple Inc.
It can component.
Each field of the communication information to communication data format preset in data communication protocol is subjected to assignment, is led to
Letter data has standardized communication data, realizes the communication of mass data or the communication of complex data, greatly improves application
Communication capacity between the functional unit for the different scripting languages exploitation that program includes.First security module 103 is called for passing through
The API of the data communication protocol successively carries out Data Format Transform, coding and symmetric encryption operation to the communication data.
Optionally, the first security module 103, is specifically used for:
By calling the API of the data communication protocol, which is converted into json data format;
The communication data of json data format is subjected to base64 encoding operation;
Communication data after base64 is encoded carries out symmetric encryption operation, obtains the communication data of symmetric cryptography.
Data Format Transform, coding and symmetric encryption operation are successively carried out to the communication data, it is logical to effectively increase data
The safety of letter, the data avoided in data communication process are illegally accessed, caused leaking data.
Sending module 102, for the communication data to be sent to receiving end by preset data transmission channel.
Optionally, data transmission channel building mode includes but is not limited to:
Based on preset data communication protocol, data transmission channel is constructed by terminal operating system API.
Such as:Based on preset data communication protocol, data transmission channel is constructed by Android operation system API.
For another example:Based on preset data communication protocol, data are constructed by the API of the Mobile operating system iOS of Apple Inc.
Transmission channel.
Based on preset data communication protocol, data transmission channel is constructed by terminal operating system API, overcomes existing skill
It only can be carried out the defect of simple data communication between the functional unit for the different scripting languages exploitation that application program includes in art,
It can not realize the complex data communication or big between the functional unit for the different scripting languages exploitation that application program includes
Data communication is measured, communication ability between the functional unit that different scripting languages are developed in application program is effectively enhanced, has
Effect simplifies data communication process between the functional unit that different scripting languages are developed in application program, reduces in application program
Data communication development cost between the functional unit of different scripting language exploitations.The data of tenth embodiment of the invention transmit dress
It sets, effectively enhances communication ability between the functional unit of different scripting language exploitations, be effectively simplified different script languages
It says data communication process between the functional unit of exploitation, reduces the functional unit development cost of different scripting language exploitations.
A kind of eleventh embodiment of the invention, data transmission device, is set to receiving end, which includes consisting of portion
Point:
Parsing module 201, for when by preset data transmission channel receive transmitting terminal transmission communication data when,
Based on preset communication data format in preset data communication protocol, communication data is parsed, obtains taking in communication data
The communication information of band.
In the present embodiment, it to preset communication data format in preset data communication protocol, is not specifically limited, it can be with
It is the communication data format that the characteristics of Developmental Engineer is transmitted according to the data of data transmission channel is arranged, is also possible to basis and connects
The communication data format that the characteristics of communication data parsing of receiving end is arranged.
Optionally, transmitting terminal includes but is not limited to:Based on the functional unit of scripting language JavaScript exploitation, and/or
Functional unit based on terminal operating system exploitation;Wherein, the functional unit based on terminal operating system exploitation includes but unlimited
In:The function of Mobile operating system iOS exploitation based on the functional unit of Android operation system exploitation, and/or based on Apple Inc.
It can component.
Optionally, data transmission channel building mode includes but is not limited to:
Based on preset data communication protocol, data transmission channel is constructed by terminal operating system API.
Such as:Based on preset data communication protocol, data transmission channel is constructed by Android operation system API.
For another example:Based on preset data communication protocol, data are constructed by the API of the Mobile operating system iOS of Apple Inc.
Transmission channel.
The communication data that transmitting terminal is sent is received by preset data transmission channel, is overcome in the prior art using journey
The defect that only can be carried out simple data communication between the functional unit for the different scripting languages exploitation that sequence includes, can not be real
Complex data communication or mass data communication between the functional unit for the different scripting languages exploitation that existing application program includes,
Communication ability between the functional unit that different scripting languages are developed in application program is effectively enhanced, application is effectively simplified
Data communication process between the functional unit of different scripting language exploitations, reduces different scripting languages in application program in program
Data communication development cost between the functional unit of exploitation.
The data transmission device of eleventh embodiment of the invention effectively enhances the functional unit of different scripting language exploitations
Between communication ability, be effectively simplified data communication process between the functional unit of different scripting languages exploitation, reduce
The functional unit development cost of different scripting language exploitations.
A kind of twelveth embodiment of the invention, data transmission device, is set to receiving end, which includes consisting of portion
Point:
Second security module 202, for when the communication number for receiving transmitting terminal transmission by preset data transmission channel
According to when, based on preset communication data format in preset data communication protocol, communication data is parsed, communication data is obtained
The communication information of middle carrying.
Optionally, based on preset communication data format in preset data communication protocol, communication data is parsed, is obtained
The mode of the communication information carried into communication data, including:
According to communication data format preset in data communication protocol, by calling the application programming of data communication protocol to connect
Mouth API, parses each field of communication data, obtains the communication information carried in communication data.
In the present embodiment, it to preset communication data format in preset data communication protocol, is not specifically limited, it can be with
It is the communication data format that the characteristics of Developmental Engineer is transmitted according to the data of data transmission channel is arranged, is also possible to basis and connects
The communication data format that the characteristics of communication data parsing of receiving end is arranged.
Optionally, preset communication data format includes but is not limited to following field in data communication protocol:
Protocol type field, method identification field, class identification field, activity (interaction) identification field, fragment
(frame) identification field, view identification field, protocol identification field, needreturn (passback) identification field, parameter array mark
The character learning fields such as section and sub-protocol identification field.
Optionally, protocol-identifier is session mark.
Such as:Parsing module 201 is opened for working as to receive by preset data transmission channel based on Android operation system
When the communication data that the functional unit of hair is sent, according to communication data format preset in data communication protocol, by calling number
According to the Application Programming Interface API of communication protocol, each field of communication data is parsed, obtains carrying in communication data
The communication information;Wherein, preset communication data format includes in data communication protocol:Protocol type field, method identification field,
Class identification field, activity identification field, fragment identification field, view identification field, protocol identification field,
Needreturn identification field, parameter array identification field and sub-protocol identification field.
For another example:Parsing module 201 receives the movement based on Apple Inc. by preset data transmission channel for working as
When the communication data that the functional unit of operating system iOS exploitation is sent, according to communication data lattice preset in data communication protocol
Formula parses each field of communication data, is led to by calling the Application Programming Interface API of data communication protocol
The communication information carried in letter data;Wherein, preset communication data format includes in data communication protocol:Protocol class type-word
Section, method identification field, class identification field, activity identification field, fragment identification field, view identification field, association
Discuss identification field, needreturn identification field, parameter array identification field and sub-protocol identification field.
For another example:Parsing module 201 is received by preset data transmission channel based on scripting language for working as
When the communication data that the functional unit of JavaScript exploitation is sent, according to communication data lattice preset in data communication protocol
Formula parses each field of communication data, is led to by calling the Application Programming Interface API of data communication protocol
The communication information carried in letter data;Wherein, preset communication data format includes in data communication protocol:Protocol class type-word
Section, method identification field, class identification field, activity identification field, fragment identification field, view identification field, association
Discuss identification field, needreturn identification field, parameter array identification field and sub-protocol identification field.
Based on preset communication data format in preset data communication protocol, communication data is parsed, is communicated
The communication information carried in data, by set format communication data communicated, realize mass data communication or
The communication of complex data greatly improves and communicates energy between the functional unit for the different scripting languages exploitation that application program includes
Power.Optionally, transmitting terminal includes but is not limited to:Based on the functional unit of scripting language JavaScript exploitation, and/or based on eventually
Hold the functional unit of operating system exploitation;Wherein, based on terminal operating system exploitation functional unit include but is not limited to:It is based on
The functional unit of Android operation system exploitation, and/or the functional unit of the exploitation of the Mobile operating system iOS based on Apple Inc..
Optionally, data transmission channel building mode includes but is not limited to:
Based on preset data communication protocol, data transmission channel is constructed by terminal operating system API.
Such as:Based on preset data communication protocol, data transmission channel is constructed by Android operation system API.
For another example:Based on preset data communication protocol, data are constructed by the API of the Mobile operating system iOS of Apple Inc.
Transmission channel.
The communication data that transmitting terminal is sent is received by preset data transmission channel, is overcome in the prior art using journey
The defect that only can be carried out simple data communication between the functional unit for the different scripting languages exploitation that sequence includes, can not be real
Complex data communication or mass data communication between the functional unit for the different scripting languages exploitation that existing application program includes,
Communication ability between the functional unit that different scripting languages are developed in application program is effectively enhanced, application is effectively simplified
Data communication process between the functional unit of different scripting language exploitations, reduces different scripting languages in application program in program
Data communication development cost between the functional unit of exploitation.
The data transmission device of twelveth embodiment of the invention effectively enhances the functional unit of different scripting language exploitations
Between communication ability, be effectively simplified data communication process between the functional unit of different scripting languages exploitation, reduce
The functional unit development cost of different scripting language exploitations.
A kind of thriteenth embodiment of the invention, data transmission device, is set to receiving end, as shown in figure 8, the device includes
Consisting of part:
Second security module 202, for when the communication number for receiving transmitting terminal transmission by preset data transmission channel
According to when, by calling the API of preset data communication protocol, communication data is successively symmetrically decrypted, is decoded and data lattice
Formula conversion operation.
Optionally, by calling the API of preset data communication protocol, communication data is successively symmetrically decrypted, is solved
The mode of code and data format conversion operation, including but not limited to:
By calling the API of preset data communication protocol, which is symmetrically decrypted, after being decrypted
Communication data;
Communication data after decryption is subjected to base64 decoding operate, obtains decoded communication data;
Decoded communication data is converted to the communication data of json data format.
Optionally, transmitting terminal includes but is not limited to:Based on the functional unit of scripting language JavaScript exploitation, and/or
Functional unit based on terminal operating system exploitation;Wherein, the functional unit based on terminal operating system exploitation includes but unlimited
In:The function of Mobile operating system iOS exploitation based on the functional unit of Android operation system exploitation, and/or based on Apple Inc.
It can component.
Optionally, data transmission channel building mode includes but is not limited to:
Based on preset data communication protocol, data transmission channel is constructed by terminal operating system API.
Such as:Based on preset data communication protocol, data transmission channel is constructed by Android operation system API.
For another example:Based on preset data communication protocol, data are constructed by the API of the Mobile operating system iOS of Apple Inc.
Transmission channel.
Communication data is successively symmetrically decrypted, is decoded and data format conversion operation, data communication is effectively increased
Safety, the data avoided in data communication process are illegally accessed, caused leaking data.
Parsing module 201, for based on preset communication data format in preset data communication protocol, to communication data into
Row parsing, obtains the communication information carried in communication data.
Optionally, based on preset communication data format in preset data communication protocol, communication data is parsed, is obtained
The mode of the communication information carried into communication data, including:
According to communication data format preset in data communication protocol, by calling the application programming of data communication protocol to connect
Mouth API, parses each field of communication data, obtains the communication information carried in communication data.
In the present embodiment, it to preset communication data format in preset data communication protocol, is not specifically limited, it can be with
It is the communication data format that the characteristics of Developmental Engineer is transmitted according to the data of data transmission channel is arranged, is also possible to basis and connects
The communication data format that the characteristics of communication data parsing of receiving end is arranged.
Optionally, preset communication data format includes but is not limited to following field in data communication protocol:
Protocol type field, method identification field, class identification field, activity (interaction) identification field, fragment
(frame) identification field, view identification field, protocol identification field, needreturn (passback) identification field, parameter array mark
The character learning fields such as section and sub-protocol identification field.
Optionally, protocol-identifier is session mark.
Such as:Parsing module 201, for passing through calling number according to communication data format preset in data communication protocol
According to the Application Programming Interface API of communication protocol, each field of communication data is parsed, obtains carrying in communication data
The communication information;Wherein, preset communication data format includes in data communication protocol:Protocol type field, method identification field,
Class identification field, activity identification field, fragment identification field, view identification field, protocol identification field,
Needreturn identification field, parameter array identification field and sub-protocol identification field.
For another example:Parsing module 201, for passing through calling number according to communication data format preset in data communication protocol
According to the Application Programming Interface API of communication protocol, each field of communication data is parsed, obtains carrying in communication data
The communication information;Wherein, preset communication data format includes in data communication protocol:Protocol type field, method identification field,
Class identification field, activity identification field, fragment identification field, view identification field, protocol identification field,
Needreturn identification field, parameter array identification field and sub-protocol identification field.
For another example:Parsing module 201, for passing through calling number according to communication data format preset in data communication protocol
According to the Application Programming Interface API of communication protocol, each field of communication data is parsed, obtains carrying in communication data
The communication information;Wherein, preset communication data format includes in data communication protocol:Protocol type field, method identification field,
Class identification field, activity identification field, fragment identification field, view identification field, protocol identification field,
Needreturn identification field, parameter array identification field and sub-protocol identification field.
Based on preset communication data format in preset data communication protocol, communication data is parsed, is communicated
The communication information carried in data, by set format communication data communicated, realize mass data communication or
The communication of complex data greatly improves and communicates energy between the functional unit for the different scripting languages exploitation that application program includes
Power.
The communication data that transmitting terminal is sent is received by preset data transmission channel, is overcome in the prior art using journey
The defect that only can be carried out simple data communication between the functional unit for the different scripting languages exploitation that sequence includes, can not be real
Complex data communication or mass data communication between the functional unit for the different scripting languages exploitation that existing application program includes,
Communication ability between the functional unit that different scripting languages are developed in application program is effectively enhanced, application is effectively simplified
Data communication process between the functional unit of different scripting language exploitations, reduces different scripting languages in application program in program
Data communication development cost between the functional unit of exploitation.
The data transmission device of thriteenth embodiment of the invention effectively enhances the functional unit of different scripting language exploitations
Between communication ability, be effectively simplified data communication process between the functional unit of different scripting languages exploitation, reduce
The functional unit development cost of different scripting language exploitations.
A kind of fourteenth embodiment of the invention, data transmission device, is set to receiving end, as shown in figure 9, the device includes
Consisting of part:
Second security module 202, for when the communication number for receiving transmitting terminal transmission by preset data transmission channel
According to when, by calling the API of preset data communication protocol, communication data is successively symmetrically decrypted, is decoded and data lattice
Formula conversion operation.
Optionally, by calling the API of preset data communication protocol, communication data is successively symmetrically decrypted, is solved
The mode of code and data format conversion operation, including but not limited to:
By calling the API of preset data communication protocol, which is symmetrically decrypted, after being decrypted
Communication data;
Communication data after decryption is subjected to base64 decoding operate, obtains decoded communication data;
Decoded communication data is converted to the communication data of json data format.
Optionally, transmitting terminal includes but is not limited to:Based on the functional unit of scripting language JavaScript exploitation, and/or
Functional unit based on terminal operating system exploitation;Wherein, the functional unit based on terminal operating system exploitation includes but unlimited
In:The function of Mobile operating system iOS exploitation based on the functional unit of Android operation system exploitation, and/or based on Apple Inc.
It can component.
Optionally, data transmission channel building mode includes but is not limited to:
Based on preset data communication protocol, data transmission channel is constructed by terminal operating system API.
Such as:Based on preset data communication protocol, data transmission channel is constructed by Android operation system API.
For another example:Based on preset data communication protocol, data are constructed by the API of the Mobile operating system iOS of Apple Inc.
Transmission channel.
Communication data is successively symmetrically decrypted, is decoded and data format conversion operation, data communication is effectively increased
Safety, the data avoided in data communication process are illegally accessed, caused leaking data.
Parsing module 201, for based on preset communication data format in preset data communication protocol, to communication data into
Row parsing, obtains the communication information carried in communication data.
Optionally, based on preset communication data format in preset data communication protocol, communication data is parsed, is obtained
The mode of the communication information carried into communication data, including:
According to communication data format preset in data communication protocol, by calling the application programming of data communication protocol to connect
Mouth API, parses each field of communication data, obtains the communication information carried in communication data.
In the present embodiment, it to preset communication data format in preset data communication protocol, is not specifically limited, it can be with
It is the communication data format that the characteristics of Developmental Engineer is transmitted according to the data of data transmission channel is arranged, is also possible to basis and connects
The communication data format that the characteristics of communication data parsing of receiving end is arranged.
Optionally, preset communication data format includes but is not limited to following field in data communication protocol:
Protocol type field, method identification field, class identification field, activity (interaction) identification field, fragment
(frame) identification field, view identification field, protocol identification field, needreturn (passback) identification field, parameter array mark
The character learning fields such as section and sub-protocol identification field.
Optionally, protocol-identifier is session mark.
Such as:Parsing module 201, for passing through calling number according to communication data format preset in data communication protocol
According to the Application Programming Interface API of communication protocol, each field of communication data is parsed, obtains carrying in communication data
The communication information;Wherein, preset communication data format includes in data communication protocol:Protocol type field, method identification field,
Class identification field, activity identification field, fragment identification field, view identification field, protocol identification field,
Needreturn identification field, parameter array identification field and sub-protocol identification field.
For another example:Parsing module 201, for passing through calling number according to communication data format preset in data communication protocol
According to the Application Programming Interface API of communication protocol, each field of communication data is parsed, obtains carrying in communication data
The communication information;Wherein, preset communication data format includes in data communication protocol:Protocol type field, method identification field,
Class identification field, activity identification field, fragment identification field, view identification field, protocol identification field,
Needreturn identification field, parameter array identification field and sub-protocol identification field.
For another example:Parsing module 201, for passing through calling number according to communication data format preset in data communication protocol
According to the Application Programming Interface API of communication protocol, each field of communication data is parsed, obtains carrying in communication data
The communication information;Wherein, preset communication data format includes in data communication protocol:Protocol type field, method identification field,
Class identification field, activity identification field, fragment identification field, view identification field, protocol identification field,
Needreturn identification field, parameter array identification field and sub-protocol identification field.
Based on preset communication data format in preset data communication protocol, communication data is parsed, is communicated
The communication information carried in data, by set format communication data communicated, realize mass data communication or
The communication of complex data greatly improves and communicates energy between the functional unit for the different scripting languages exploitation that application program includes
Power.
The communication data that transmitting terminal is sent is received by preset data transmission channel, is overcome in the prior art using journey
The defect that only can be carried out simple data communication between the functional unit for the different scripting languages exploitation that sequence includes, can not be real
Complex data communication or mass data communication between the functional unit for the different scripting languages exploitation that existing application program includes,
Communication ability between the functional unit that different scripting languages are developed in application program is effectively enhanced, application is effectively simplified
Data communication process between the functional unit of different scripting language exploitations, reduces different scripting languages in application program in program
Data communication development cost between the functional unit of exploitation.
Callback module 203, in the case that the communication information for carrying in communication data includes data callback information, root
According to data callback information, data back is carried out to transmitting terminal by data transmission channel.
The data transmission device of fourteenth embodiment of the invention effectively enhances the functional unit of different scripting language exploitations
Between communication ability, be effectively simplified data communication process between the functional unit of different scripting languages exploitation, reduce
The functional unit development cost of different scripting language exploitations.
Fifteenth embodiment of the invention, a kind of computer equipment, as shown in Figure 10, including consisting of part:
Processor 501 and memory 502.In some embodiments of the invention, processor 501 and memory 502 pass through
Bus or other way connection.
Processor 501 can be general processor, such as central processing unit (Central Processing Unit,
CPU), it can also be digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (English:
Application Specific Integrated Circuit, ASIC), or be arranged to implement the embodiment of the present invention
One or more integrated circuits.Wherein, memory 502 is used for the executable instruction of storage processor 501;
Memory 502 is transferred to processor 501 for storing program code, and by the program code.Memory 502 can
To include volatile memory (Volatile Memory), such as random access memory (Random Access Memory,
RAM);Memory 502 also may include nonvolatile memory (Non-Volatile Memory), such as read-only memory
(Read-Only Memory, ROM), flash memory (Flash Memory), hard disk (Hard Disk Drive, HDD) or solid
State hard disk (Solid-State Drive, SSD);Memory 502 can also include the combination of the memory of mentioned kind.
Wherein, the program code management code that processor 501 is used to that memory 502 to be called to store executes the present invention first
Embodiment into seventh embodiment of the invention in any embodiment part or Overall Steps.
Computer equipment described in fifteenth embodiment of the invention effectively enhances the functional group of different scripting language exploitations
Communication ability between part is effectively simplified data communication process between the functional unit of different scripting language exploitations, reduces
The functional unit development cost of different scripting languages exploitations.
Sixteenth embodiment of the invention, a kind of computer readable storage medium.
Computer storage medium can be RAM memory, flash memory, ROM memory, eprom memory, EEPROM storage
Device, register, hard disk, mobile hard disk, CD-ROM or any other form known in the art storage medium.
Computer-readable recording medium storage has one or more program, one or more program can by one or
The multiple processors of person execute, with realize first embodiment of the invention into third embodiment of the invention in any embodiment part or
Overall Steps, and/or, to realize fourth embodiment of the invention part or complete in any embodiment into seventh embodiment of the invention
Portion's step.
Computer readable storage medium described in sixteenth embodiment of the invention is stored with one or more program,
One or more program can be executed by one or more processor, can effectively enhance different scripting language exploitations
Communication ability between functional unit is effectively simplified data communication mistake between the functional unit of different scripting language exploitations
Journey reduces development cost between the functional unit of different scripting language exploitations.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service
Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form, all of these belong to the protection of the present invention.
Claims (16)
1. a kind of data transmission method, which is characterized in that applied in the application program developed based on mixed developing mode, institute
The method of stating includes:
When sending the communication information to receiving end, by the communication information according to communication number preset in preset data communication protocol
It is configured according to format, obtains communication data;
The communication data is sent to the receiving end by preset data transmission channel.
2. the method according to claim 1, wherein described assist the communication information according to the data communication
Preset communication data format is configured in view, obtains communication data, including:
By calling the Application Programming Interface API of the data communication protocol, the communication information assists the data communication
Each field of preset communication data format carries out assignment in view, obtains the communication data.
3. according to the method described in claim 2, it is characterized in that, the communication data is passed by preset data described
Defeated channel is sent to before the receiving end, the method also includes:
By calling the API of the data communication protocol, Data Format Transform, coding and right are successively carried out to the communication data
Claim cryptographic operation.
4. a kind of data transmission method, which is characterized in that applied in the application program developed based on mixed developing mode, institute
The method of stating includes:
When receiving the communication data of transmitting terminal transmission by preset data transmission channel, it is based on preset data communication protocol
In preset communication data format, the communication data is parsed, the communication information carried in the communication data is obtained.
5. according to the method described in claim 4, it is characterized in that, described based on preset communication in preset data communication protocol
Data format parses the communication data, obtains the communication information carried in the communication data, including:
According to communication data format preset in the data communication protocol, by calling the application of the data communication protocol to compile
Journey interface API parses each field of the communication data, obtains the communication information carried in the communication data.
6. according to the method described in claim 4, it is characterized in that, described based on preset logical in preset data communication protocol
Letter data format parses the communication data, before obtaining the communication information carried in the communication data, the side
Method further includes:
By calling the API of the data communication protocol, the communication data is successively symmetrically decrypted, is decoded and data lattice
Formula conversion operation.
7. the method according to any one of claim 4 to 6, which is characterized in that the method also includes:
In the case that the communication information carried in the communication data includes data callback information, is adjusted back and believed according to the data
Breath carries out data back to the transmitting terminal by the data transmission channel.
8. a kind of data transmission device, which is characterized in that applied to being provided with the application journey developed based on mixed developing mode
In the terminal of sequence, described device includes:
Configuration module is used for when sending the communication information to receiving end, by the communication information according to preset data communication protocol
In preset communication data format configured, obtain communication data;
Sending module, for the communication data to be sent to the receiving end by preset data transmission channel.
9. device according to claim 8, which is characterized in that the configuration module is specifically used for:
It, will be described by calling the Application Programming Interface API of the data communication protocol when sending the communication information to receiving end
The communication information carries out assignment to each field of preset communication data format in the data communication protocol, obtains the communication
Data.
10. device according to claim 9, which is characterized in that described device further includes:
First security module, for the communication data to be sent to the reception by preset data transmission channel described
Before end, by calling the API of the data communication protocol, Data Format Transform, coding are successively carried out to the communication data
And symmetric encryption operation.
11. a kind of data transmission device, which is characterized in that applied to being provided with the application journey developed based on mixed developing mode
In the terminal of sequence, described device includes:
Parsing module, for being based on pre- when receiving the communication data of transmitting terminal transmission by preset data transmission channel
Preset communication data format in data communication protocol is set, the communication data is parsed, is obtained in the communication data
The communication information of carrying.
12. device according to claim 11, which is characterized in that the parsing module is specifically used for:
When receiving the communication data of transmitting terminal transmission by preset data transmission channel, according to the data communication protocol
In preset communication data format, by calling the Application Programming Interface API of the data communication protocol, to the communication data
Each field parsed, obtain the communication information carried in the communication data.
13. device according to claim 11, which is characterized in that described device further includes:
Second security module, for, based on preset communication data format in preset data communication protocol, leading to described described
Letter data is parsed, before obtaining the communication information carried in the communication data, by calling the data communication protocol
API, the communication data is successively symmetrically decrypted, is decoded and data format conversion operation.
14. device described in any one of 1 to 13 according to claim 1, which is characterized in that described device further includes:
Callback module, in the case that the communication information for carrying in the communication data includes data callback information, according to
The data callback information carries out data back to the transmitting terminal by the data transmission channel.
15. a kind of computer equipment, which is characterized in that the computer equipment includes processor and memory;
The processor is used to execute the program of the data transmission stored in memory, is appointed with realizing according to claim 1~3
The step of data transmission method described in one, and/or, to realize that the data according to any one of claim 4~7 pass
The step of transmission method.
16. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage have one or
Multiple programs, one or more of programs can be executed by one or more processor, with realize according to claim 1~
The step of data transmission method described in any one of 3, and/or, to realize according to any one of claim 4~7
The step of data transmission method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810504148.7A CN108848127B (en) | 2018-05-23 | 2018-05-23 | Data transmission method and device, computer equipment and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810504148.7A CN108848127B (en) | 2018-05-23 | 2018-05-23 | Data transmission method and device, computer equipment and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108848127A true CN108848127A (en) | 2018-11-20 |
CN108848127B CN108848127B (en) | 2022-02-25 |
Family
ID=64213353
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810504148.7A Active CN108848127B (en) | 2018-05-23 | 2018-05-23 | Data transmission method and device, computer equipment and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108848127B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110677827A (en) * | 2019-08-23 | 2020-01-10 | 珠海格力电器股份有限公司 | Network distribution method, device, system, electronic equipment and storage medium |
CN113347615A (en) * | 2021-05-21 | 2021-09-03 | 深圳市飞易通科技有限公司 | Bluetooth communication method, device and readable storage medium |
CN114124465A (en) * | 2021-10-28 | 2022-03-01 | 济南浪潮数据技术有限公司 | Data transmission method, system, equipment and computer readable storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101946248A (en) * | 2007-12-14 | 2011-01-12 | 三星电子株式会社 | Method and apparatus for providing API service and making API mash-up, and computer readable recording medium thereof |
CN102137123A (en) * | 2010-01-25 | 2011-07-27 | 腾讯科技(北京)有限公司 | Device and method for realizing process-to-process communication of different application programs on mobile terminal |
CN106681734A (en) * | 2016-12-30 | 2017-05-17 | 广州华多网络科技有限公司 | Response method and device for function interface call |
US20170153932A1 (en) * | 2013-06-27 | 2017-06-01 | Ebay Inc. | Adapting legacy endpoints to modern apis |
CN107193565A (en) * | 2017-05-22 | 2017-09-22 | 北京思序软件有限公司 | Across the mobile terminal primary APP of exploitation method |
CN107438097A (en) * | 2017-06-26 | 2017-12-05 | 北京五八信息技术有限公司 | Network request processing method and processing device |
CN107908541A (en) * | 2017-07-26 | 2018-04-13 | 平安壹钱包电子商务有限公司 | Interface test method, device, computer equipment and storage medium |
-
2018
- 2018-05-23 CN CN201810504148.7A patent/CN108848127B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101946248A (en) * | 2007-12-14 | 2011-01-12 | 三星电子株式会社 | Method and apparatus for providing API service and making API mash-up, and computer readable recording medium thereof |
CN102137123A (en) * | 2010-01-25 | 2011-07-27 | 腾讯科技(北京)有限公司 | Device and method for realizing process-to-process communication of different application programs on mobile terminal |
US20170153932A1 (en) * | 2013-06-27 | 2017-06-01 | Ebay Inc. | Adapting legacy endpoints to modern apis |
CN106681734A (en) * | 2016-12-30 | 2017-05-17 | 广州华多网络科技有限公司 | Response method and device for function interface call |
CN107193565A (en) * | 2017-05-22 | 2017-09-22 | 北京思序软件有限公司 | Across the mobile terminal primary APP of exploitation method |
CN107438097A (en) * | 2017-06-26 | 2017-12-05 | 北京五八信息技术有限公司 | Network request processing method and processing device |
CN107908541A (en) * | 2017-07-26 | 2018-04-13 | 平安壹钱包电子商务有限公司 | Interface test method, device, computer equipment and storage medium |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110677827A (en) * | 2019-08-23 | 2020-01-10 | 珠海格力电器股份有限公司 | Network distribution method, device, system, electronic equipment and storage medium |
CN110677827B (en) * | 2019-08-23 | 2020-09-22 | 珠海格力电器股份有限公司 | Network distribution method, device, system, electronic equipment and storage medium |
CN113347615A (en) * | 2021-05-21 | 2021-09-03 | 深圳市飞易通科技有限公司 | Bluetooth communication method, device and readable storage medium |
CN114124465A (en) * | 2021-10-28 | 2022-03-01 | 济南浪潮数据技术有限公司 | Data transmission method, system, equipment and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108848127B (en) | 2022-02-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102059079B1 (en) | Method and system for secured communication of control information in a wireless network environment | |
CN108848127A (en) | Data transmission method, device, computer equipment and computer readable storage medium | |
CN103109509B (en) | For the method and apparatus using receiver's identifier to provide the communication with service | |
CN104040930B (en) | For covering the method and apparatus extended | |
US10726162B2 (en) | Security plugin for a system-on-a-chip platform | |
CN108769740A (en) | Video data encrypted transmission method, system, equipment and storage medium | |
EP3185466B1 (en) | Encrypted communications method and communications terminal, and computer storage medium | |
RU2018126780A (en) | NETWORK SECURITY COMMUNICATION SYSTEM | |
US8856883B2 (en) | System and method for protecting MAC control messages | |
CN110620762A (en) | RDMA (remote direct memory Access) -based data transmission method, network card, server and medium | |
CN104754565A (en) | Wireless parameter sending and receiving method and device | |
CN109831775B (en) | Processor, baseband chip and SIM card information transmission method | |
JP2016541148A5 (en) | ||
CN110633575A (en) | Data encryption method, device, equipment and storage medium | |
CN109241459A (en) | Content share method, device, computer equipment and computer readable storage medium | |
CN111225370B (en) | Profile generation method based on eUICC, electronic device and computer-readable storage medium | |
CN108966217A (en) | A kind of secret communication method, mobile terminal and secrecy gateway | |
KR102024532B1 (en) | System and method for one-way security communication | |
CN113595966A (en) | Serial port communication control, configuration and test method and device, electronic equipment and storage medium | |
CN111356178B (en) | Transmission method, transmitting side PDCP entity and receiving side PDCP entity | |
CN107343001B (en) | Data processing method and device | |
EP2887613A1 (en) | Method and apparatus for performing secure voice call | |
CN114978485A (en) | Voice data transmission method, system, electronic device and storage medium | |
WO2018076242A1 (en) | Information transmition method and device | |
CN114500167B (en) | Information processing method and device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |