Distribution and processing method and system for long-connection network data in IOS system
A network data and processing method technology, applied in transmission systems, electrical components, etc., can solve problems such as inefficiency in the program development process, and achieve the effects of efficiency improvement, efficient code processing, and efficient decryption and encryption
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0054] figure 1 It is a schematic diagram of the steps of the long connection network data distribution and processing method in the IOS system in the embodiment of the present invention.
[0055] Such as figure 1 As shown, the network data distribution and processing method of this embodiment has steps S1-S5.
[0056] Step S1, using C++ code to write the network interface layer of the IOS system client to send and receive the network data of the long connection.
[0057] figure 2 It is a schematic diagram of the sending and receiving steps of the network data of the persistent connection performed by the network interface layer in the embodiment of the present invention.
[0058] The present invention is aimed at mobile intelligent terminal or desktop computer IOS application program, in order to carry out the network communication of long connection in the third layer transmission layer, the second layer network layer and the first layer network interface of network commun...
specific example
[0128] void SetCallback(ICallback*callback);
[0129] This interface function is used to set the concrete instance of ICallback for the application layer.
[0130] As for the bottom layer of the C++ layer, it is used to realize the purpose of the SetCallback function storing the interface instance set by the application layer.
[0131] For the C++ layer, define a global ICallback pointer to store the application setting instance:
[0132] ICallback*g_callback = NULL;
[0133] Then set it in SetCallback.
[0134]
[0135] For the data of the network decryption server and the data of the analysis server written before, after the analysis is completed, the callback function callback will be called to pass the message to the object-c code of the application layer. The specific code is as follows:
[0136] g_callback->OnPush(type, encryptbuf);
[0137] Among them, OnPush is the interface written.
[0138] Where type is the type of the message.
[0139] Among them, encryptb...
Embodiment 2
[0170] Figure 4 It is a schematic structural diagram of a long connection network data distribution and processing system in the IOS system in the embodiment of the present invention.
[0171] The persistent connection network data distribution and processing system in the IOS system provided by this embodiment will be described in detail below with reference to the accompanying drawings.
[0172] Such as Figure 4 As shown, the long-connection network data distribution and processing system 100 in the IOS system includes a network interface module 101 , a decryption and unpacking module 102 , a delivery module 103 , and a push module 104 .
[0173] The network interface module 101 is used for constructing a network interface of C++ codes to send and receive long-connected network data.
[0174] The decryption and unpacking module 102 is used to decrypt and unpack the received network data.
[0175] The transfer module 103 is configured to transfer the network data receive...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com