Communication method and device
A communication method and feature information technology, which is applied in the electronic field, can solve problems such as the failure of communication between the webpage and the operating system, and the inability of the webpage to communicate with the operating system, so as to achieve the effect of improving user experience and enhancing functions
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment approach 1
[0128] Embodiment 1: The target message is extracted from the target network request through the Hooked Send interface.
[0129] After the Hooked Send interface identifies the target network request, it can parse the request data packet, and then extract the target message from the parsed request data according to the preset strategy such as the preset key field APP ID. Taking the target network request as the target HTTP request as an example, the above process can be found in Figure 2-2 Step S1070 in.
[0130] Exemplarily, assuming that the target HTTP request sent by the web page such as a web browser is a GET request, and the request data parsed by the Hooked Send interface is: GET: / APP ID=efg, then the Hooked Send interface can use the key field APPID from the above Extract the target message from the parsed request data.
Embodiment approach 2
[0131] Embodiment 2: The target message is extracted from the target response message through the Hooked Receive interface.
[0132] Similarly, after the Hooked Receive interface identifies the target response message, it can parse the response data packet, and then extract the target message from the parsed response data according to a preset strategy, such as the preset key field APP ID. Taking the target response message as the target HTTP response as an example, the above process can be found in Figure 2-4 Step S2010 in.
[0133] Exemplarily, assuming that the response data parsed by the Hooked Receive interface includes: APP ID=efg, then the Hooked Receive interface can extract the identity of the target application from the above parsed response data according to the key field APP ID: efg, extract target message.
[0134] In the second manner, the target message is extracted from the first message through a preset message service.
[0135] see Figure 7According to ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


