Terminal MAC address acquisition method, device and system, terminal and medium

A MAC address and acquisition method technology, applied in security devices, transmission systems, electrical components, etc., can solve the problem that applications cannot obtain terminal MAC addresses through API, achieve fast encryption and decryption, improve security, and prevent information leakage Effect

Pending Publication Date: 2020-05-08
NINGBO AUX ELECTRIC +1
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the prior art, in order to protect user privacy, the terminal performs special processing on the API (Application Programming Interface, application programming interface) for obtaining the MAC address of the terminal

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Terminal MAC address acquisition method, device and system, terminal and medium
  • Terminal MAC address acquisition method, device and system, terminal and medium
  • Terminal MAC address acquisition method, device and system, terminal and medium

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0049] Example one

[0050] figure 1 This is a flowchart of a method for obtaining a MAC address of a terminal according to the first embodiment of the present invention. This embodiment is applicable to a situation in which an application program obtains the MAC address of the terminal. The method can be executed by the device for obtaining the MAC address of the terminal. The device can be implemented in software and / or hardware, and the device can be configured in the first terminal. For example, smart phones and tablets. The first terminal is provided with an application program. The first terminal can communicate with the second terminal through a wireless local area network. Such as figure 1 As shown, the method specifically includes the following steps:

[0051] Step 110: The application program detects that the MAC address query request is triggered, and broadcasts the first data frame through the listening port, so that the second terminal receives the first data frame ...

Example Embodiment

[0068] Example two

[0069] figure 2 This is a flowchart of a method for obtaining a MAC address of a terminal according to the second embodiment of the present invention. This embodiment is applicable to a situation where an application program obtains the MAC address of the terminal. The method can be executed by an apparatus for obtaining the MAC address of the terminal. The device may be implemented in software and / or hardware, and the device may be configured in the second terminal, and the second terminal may be provided with a wireless module. For example, air conditioners and smart TVs. The first terminal is provided with an application program. The second terminal can communicate with the first terminal through a wireless local area network. Such as figure 2 As shown, the method specifically includes the following steps:

[0070] Step 210: The first data frame broadcast by the application program through the monitoring port is received through the target port, and the...

Example Embodiment

[0082] Example three

[0083] image 3 This is a signaling diagram of a method for obtaining the MAC address of a terminal provided in the third embodiment of the present invention. This embodiment is applicable to a situation where an application program obtains the MAC address of the terminal. The method can be executed by the device for obtaining the MAC address of the terminal. The device can be implemented in software and / or hardware, and the device can be configured in a terminal. For example, the first terminal and the second terminal. Such as image 3 As shown, the method specifically includes the following steps:

[0084] Step 310: The application program detects that the MAC address query request is triggered, and then broadcasts the first data frame through the listening port. The first data frame includes preset data and the MAC address of the first terminal.

[0085] Step 320: The second terminal receives, through the target port, the first data frame broadcasted by th...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention discloses a terminal MAC address obtaining method, device and system, a terminal and a storage medium. The method comprises the steps that when an application program monitors that an MAC address query request is triggered, a first data frame is broadcasted through a monitoring port, so that a second terminal receives the first data frame through a target port, a second data frame is generated according to the first data frame, and the second data frame comprises an MAC address of the first terminal; and the application receives the second data frame sent by thesecond terminal through the monitoring port, and analyzes the second data frame to obtain the MAC address of the first terminal. According to the embodiment of the invention, the second terminal obtains the MAC address of the first terminal through the data frame, and sends the MAC address of the first terminal to the application program through the data frame, so that the application program obtains the MAC address of the first terminal, and the application program obtains the MAC address of the terminal.

Description

technical field [0001] Embodiments of the present invention relate to the field of communication technologies, and in particular, to a method, device, system, first terminal, second terminal, and storage medium for acquiring a terminal MAC address. Background technique [0002] At present, terminals such as smartphones and tablets have become necessities in users' daily life. Usually, an application program (Application, APP) is installed in the terminal to enrich the functions of the terminal. Because the MAC (Media Access Control, Media Access Control) address can be used as an identifier to identify the identity of the terminal, it can be used to count user information to indirectly obtain the user's usage requirements, so that different customized information can be pushed to the terminal according to the user's needs. Therefore, In order to collect user information, the application program needs to obtain the address of the terminal. [0003] In the prior art, in orde...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): H04L29/12H04W8/24H04W12/02
CPCH04W8/24H04W12/02H04W12/03H04L2101/622
Inventor 陈凯
Owner NINGBO AUX ELECTRIC
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products