Mobile terminal data monitoring method, device, equipment and medium
Through the dynamic role switching mechanism between charging devices and mobile terminals, and the PD protocol is used for authentication, the problems of complex authorization processes and unstable data transmission in the prior art are solved, and data access and stable data transmission to the closed operating system are realized.
Patent Information
- Application Number
- CN202510567339.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-30
- Publication Date
- 2025-06-24
AI Technical Summary
Due to the limitation of system permissions, existing mobile terminal data monitoring technology leads to complex authorization processes and unstable data transmission.
Through the dynamic role switching mechanism between the charging device and the mobile terminal, the PD protocol is used for authentication to realize the monitoring and transmission of mobile terminal data. The charging device acts as a host to trigger an authorization request, causing the mobile terminal to enter the slave mode, and maintains the slave role during the data transmission stage to ensure continuous data transmission.
It solves the problems of complex authorization process and unstable data transmission caused by permission restrictions in traditional monitoring technology, and realizes data access to closed operating systems to ensure the stability and integrity of data transmission.
Smart Images

Figure CN120201431A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data monitoring, and particularly to a method, device, equipment and medium for monitoring mobile terminal data. Background Art
[0003] Limited by the permission control mechanism of the mobile operating system for third-party applications, such technologies have significant limitations. For example, some operating systems, for privacy protection and security considerations, strictly restrict the access permissions of third-party APPs to sensitive data (such as text messages and instant messaging content), resulting in the monitoring program being unable to fully obtain the required information. Summary of the Invention
[0004] Embodiments of the present invention provide a method, device, equipment and medium for monitoring mobile terminal data, aiming to solve the problem that the existing monitoring solutions cannot comprehensively collect data in the mobile phone.
[0005] In a first aspect, embodiments of the present invention provide a method for monitoring mobile terminal data. A charging device is connected to a mobile terminal through a data cable. The method is applied to the charging device and includes:
[0006] If it is detected that the mobile terminal is connected, adjust the charging device to be the host and the mobile terminal to be the slave device, so that the mobile terminal completes the authorization authentication for the charging device;
[0007] Adjust the charging device to be the slave device and the mobile terminal to be the host, and complete the authorization authentication for the mobile terminal;
[0008] Receive the monitoring data sent by the mobile phone and send the monitoring data to a preset monitoring server. Among them, before the monitoring data is completely sent, keep the mobile terminal as the host and the charging device as the slave device.
[0009] A further technical solution thereof is that the adjustment of the charging device to be the host and the mobile terminal to be the slave device includes:
[0010] Pull down the control GPIO of the charging device to a low level.
[0011] A further technical solution thereof is that the enabling the mobile terminal to complete the authorization authentication for the charging device includes:
[0012] Send a first authorization authentication request to the mobile terminal, where the mobile terminal receives the first authorization authentication request sent by the charging device.
[0013] A further technical solution thereof is that the adjustment of the charging device to be the slave device and the mobile terminal to be the host includes:
[0014] Pull up the control GPIO of the charging device to a high level.
[0015] A further technical solution thereof is that the authorization authentication for the mobile terminal includes:
[0016] Receive the second authorization authentication request sent by the mobile terminal and pass the second authorization authentication request sent by the mobile terminal.
[0017] A further technical solution thereof is that sending the monitoring data to a preset monitoring server includes:
[0018] Judge whether the wireless transmission rate between the charging device and the monitoring server is less than a preset transmission rate threshold;
[0019] If the wireless transmission rate between the charging device and the monitoring server is less than the preset transmission rate threshold, store the monitoring data in a preset storage device, and read the monitoring data from the storage device and send it to the monitoring server by wireless transmission.
[0020] A further technical solution thereof is that sending the monitoring data to a preset monitoring server further includes:
[0021] If the wireless transmission rate between the charging device and the monitoring server is not less than the preset transmission rate threshold, send the monitoring data to the monitoring server by wireless transmission.
[0022] In a second aspect, an embodiment of the present invention further provides a mobile terminal data monitoring device, which includes a unit for executing the above method.
[0023] In a third aspect, an embodiment of the present invention further provides a computer device, which includes a memory and a processor, and a computer program is stored on the memory, and when the processor executes the computer program, the above method is implemented.
[0024] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, and the storage medium stores a computer program, and when the computer program is executed by a processor, the above method can be implemented.
[0025] An embodiment of the present invention provides a method, apparatus, device, and medium for monitoring mobile terminal data. Among them, the method includes: if it is detected that a mobile terminal is connected, adjusting the charging device to be the host and the mobile terminal to be the slave device, so that the mobile terminal completes the authorization authentication for the charging device; adjusting the charging device to be the slave device and the mobile terminal to be the host, and completing the authorization authentication for the mobile terminal; receiving the monitoring data sent by the mobile phone and sending the monitoring data to a preset monitoring server, where before the monitoring data is completely sent, keep the mobile terminal as the host and the charging device as the slave device. Through the dynamic role switching mechanism between the charging device and the mobile terminal, the problems of complex authorization process and unstable data transmission caused by system permission restrictions in traditional monitoring technologies are solved. Specifically, when a mobile terminal is connected to a charging device, the charging device first acts as the host to trigger an authorization request, so that the mobile terminal enters the slave device mode to complete the authentication for the charging device; then it switches to the slave device mode, making the mobile terminal the host and completing the authorization authentication in the reverse direction. The present invention performs authentication based on the PD protocol and does not require installing a monitoring APP in the mobile terminal, thereby breaking through the strict restrictions on data access by a closed operating system (such as iOS). In the data transmission stage, the charging device always maintains the slave device role to ensure that the mobile terminal continuously sends data and avoid transmission interruption caused by role switching. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0027] Figure 1 It is a flowchart of a method for monitoring mobile terminal data provided by an embodiment of the present invention;
[0028] Figure 2 It is a hardware structure block diagram of a computer device provided by an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0029] The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are some, but not all, of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts fall within the protection scope of the present invention.
[0030] It should be understood that, as used in this specification and the appended claims, the terms "comprising" and "including" indicate the presence of the described features, integers, steps, operations, elements, and / or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof.
[0031] It should also be understood that the terminology used in this specification of the present invention is for the purpose of describing particular embodiments only and is not intended to limit the present invention. As used in this specification and the appended claims, unless the context clearly dictates otherwise, the singular forms "a", "an", and "the" are intended to include the plural forms.
[0032] It should be further understood that the term "and / or" used in this specification and the appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0033] As used in this specification and the appended claims, the term "if" may be construed, depending on the context, as "when", "once", "in response to determining", or "in response to detecting". Similarly, the phrase "if determined" or "if [the described condition or event] is detected" may be construed, depending on the context, as meaning "once determined", "in response to determining", "once [the described condition or event] is detected", or "in response to detecting [the described condition or event]".
[0034] Please refer to Figure 1 , an embodiment of the present invention provides a method for monitoring mobile terminal data. The charging device is connected to the mobile terminal through a data cable. As Figure 1 shown, the method includes the following steps:
[0035] S1, if it is detected that the mobile terminal is accessed, adjust the charging device to be the host and the mobile terminal to be the slave, so that the mobile terminal completes the authorization authentication of the charging device.
[0036] In a specific implementation, after the charging device is plugged into an AC power source, the charging device completes voltage conversion and system initialization. After the mobile phone is connected, the charging device is adjusted as the host (Host) in the PD protocol, and the mobile terminal is adjusted as the slave (Device) in the PD protocol. An authorization authentication is initiated to the mobile terminal, and accordingly, the mobile terminal completes the authorization authentication for the charging device (an authorization confirmation box pops up in the mobile terminal, and the user clicks to confirm to complete the authorization). The authorization authentication is used to obtain permission to read the mobile terminal data. After the authorization authentication is passed, the mobile terminal trusts the charging device and sends the monitoring data to the charging device. Monitoring data includes but is not limited to text messages, application usage records, and network behavior data, and the specific scope can be expanded according to demand.
[0037] Optionally, the above step of “adjusting the charging device as a host and the mobile terminal as a slave device” specifically includes: pulling down the control GPIO of the charging device to a low level.
[0038] In the specific implementation, the master-slave role switching between the charging device and the mobile terminal is realized by controlling the hardware signal of the GPIO level, which enhances the reliability and execution efficiency of the authorization process. Specifically, the control GPIO of the charging device is pulled down to a low level, forcing it to enter the host mode and trigger the slave state of the mobile terminal. The level signal at the hardware level is used to directly drive the behavior of the protocol layer, avoiding the risk of failure of traditional software authorization due to system delays or permission interception.
[0039] Optionally, the above step of “enabling the mobile terminal to complete authorization authentication of the charging device” specifically includes: sending a first authorization authentication request to the mobile terminal, wherein the mobile terminal sends the first authorization authentication request through the charging device.
[0040] In the specific implementation, the charging device actively sends a first authorization authentication request to the mobile terminal to clarify the ownership of the active control of the authorization process. This solution directly initiates the request when the charging device is the host. The first authorization authentication request is used to obtain the permission to read the mobile terminal data. After the request is passed, the mobile terminal trusts the charging device and sends the monitoring data to the charging device.
[0041] S2, adjusting the charging device as a slave device, the mobile terminal as a host, and completing authorization authentication for the mobile terminal.
[0042] In a specific implementation, the charging device is adjusted to be a slave device, the mobile terminal is used as a host, and authorization authentication for the mobile terminal is completed. After the authorization authentication is completed, the charging device trusts the mobile terminal and allows the mobile terminal to transmit data to itself.
[0043] Optionally, the above step of "adjusting the charging device to a slave device and the mobile terminal as the host" specifically includes: pulling up the control GPIO of the charging device to a high level.
[0044] In specific implementation, by pulling up the control GPIO of the charging device to a high level, the role switch from the host to the slave device is realized, ensuring the dominant position of the mobile terminal during the data transmission stage. After the first authorization is completed, the charging device switches to the slave device mode, enabling the mobile terminal to act as the host and actively upload monitoring data, avoiding protocol conflicts or data interruptions caused by the charging device continuously occupying the main control right. For example, in the iOS system, when the mobile terminal acts as the host, it can call the system native interface (such as the iCloud synchronization function) to directly push data, solving the problem that the traditional monitoring solution cannot access private interfaces due to insufficient permissions. This level-driven switching mechanism further optimizes protocol compatibility and ensures the stability of data transmission between different operating systems and device models.
[0045] Optionally, the above step of "completing the authorization and authentication for the mobile terminal" specifically includes: receiving the second authorization and authentication request sent by the mobile terminal and passing the second authorization and authentication request sent by the mobile terminal.
[0046] In specific implementation, by receiving the second authorization and authentication request sent by the mobile terminal, two-way authorization verification is achieved, enhancing the security of data interaction.
[0047] S3. Receive the monitoring data sent by the mobile phone and send the monitoring data to a preset monitoring server. Among them, before the monitoring data is completely sent, keep the mobile terminal as the host and the charging device as the slave device.
[0048] In specific implementation, receive the monitoring data sent by the mobile phone and send the monitoring data to a preset monitoring server. The monitoring server analyzes the monitoring data. If an anomaly is found, the monitoring server sends an anomaly warning message to the parent terminal. Among them, before the monitoring data is completely sent, keep the mobile terminal as the host and the charging device as the slave device. At the same time, the monitoring data can be transmitted to the parent terminal to facilitate parents to understand the situation of their children.
[0049] In specific implementation, the Host / Device switch is introduced as follows:
[0050] Device initialization: The charging device acts as the Host, the GPIO is pulled low (low level), and an authorization request is sent to the mobile phone.
[0051] Authorization and authentication: After the mobile phone, acting as the Device, completes the trust authorization, the GPIO is pulled high (high level) and it switches to the Host role.
[0052] Data transmission: The mobile phone continuously acts as the Host to actively push data, and the charging device remains in the Device role until the transmission is completed.
[0053] Furthermore, the present invention adopts multiple data storage methods: Path 1: Directly upload to the cloud server. Path 2: Store in eMMC (high-speed read and write). Path 3: Save to the SD card (supporting offline caching and adapting to weak network environments).
[0054] In some preferred embodiments, the above step of "sending the monitoring data to a preset monitoring server" specifically includes: determining whether the wireless transmission rate between the charging device and the monitoring server is less than a preset transmission rate threshold; if the wireless transmission rate between the charging device and the monitoring server is less than the preset transmission rate threshold, storing the monitoring data in a preset storage device, and reading the monitoring data from the storage device and sending it to the monitoring server by wireless transmission.
[0055] In specific implementation, through the linkage mechanism of wireless transmission rate threshold judgment and local storage, the problem of data transmission delay or interruption in weak network environments is solved. When the charging device detects that the wireless rate between it and the monitoring server is lower than the preset threshold, it first temporarily stores the monitoring data in a local storage device (such as an SD card or eMMC), and then resends it after the network conditions improve. For example, when the home WiFi signal is unstable, the device gives priority to ensuring the complete storage of data, avoiding the loss of monitoring information due to transmission failure. This design not only realizes the data caching ability in the offline scenario but also ensures the final data synchronization through the subsequent retransmission mechanism, significantly improving the adaptability of the solution to complex network environments and reducing the real-time dependence on the user's network resources.
[0056] Furthermore, if the wireless transmission rate between the charging device and the monitoring server is not less than the preset transmission rate threshold, the monitoring data is sent to the monitoring server by wireless transmission.
[0057] In specific implementation, by dynamically selecting a hybrid strategy of direct wireless transmission or local storage, the data transmission efficiency and resource utilization rate are optimized. When the wireless rate meets the threshold, the charging device directly uploads the monitoring data to the server in real time through high-speed dual-band WiFi (2.4G / 5G), shortening the transmission delay and reducing the write loss of the local storage device; otherwise, local caching is enabled as a redundant backup. For example, when the 5G band is available, the device directly completes the upload of hundreds of GB of data at a rate of 867Mbps, avoiding frequent read and write of the storage medium. This hierarchical transmission strategy takes into account both real-time performance and reliability, while extending the hardware life and reducing the operation and maintenance costs, and is applicable to long-term and high-frequency monitoring scenarios.
[0058] It should be noted that the transmission efficiency comparison of common transmission methods is as follows:
[0059] Bluetooth transmission: rate 1 - 2 Mbps, time taken to transmit 100 Gb of data is about 55 hours;
[0060] SD card transmission: rate 80 - 480 Mbps, time taken to transmit 100 Gb of data is about 3 hours.
[0061] It can be seen that the SD card can quickly store monitoring data, avoiding the situation where the monitoring data fails to be transmitted within the charging time.
[0062] Furthermore, the hardware structure of the charging device proposed in the embodiments of the present invention is as follows:
[0063] 1. Hardware configuration
[0064] Main control chip: Adopt Renesas G2L dual-core processor (main frequency 1.2 GHz), equipped with 8 GB eMMC storage and 1 GB DDR4 memory, supporting parallel processing of data pulling, encryption and transmission tasks to ensure that charging and data operations do not interfere with each other.
[0065] Communication module: Integrate dual-band WiFi module, support 2.4 GHz (40 MHz bandwidth, 2x2 MIMO, rate 300 Mbps, compliant with 802.11n protocol) suitable for long-distance and wall-penetrating scenarios. Support 5 GHz (80 MHz bandwidth, 2x2 MIMO, rate 867 Mbps, compliant with 802.11ac protocol) suitable for high-density data transmission, and equipped with dual antennas to enhance signal stability.
[0066] In the laboratory environment, it takes about 2.5 hours (theoretical value 3 hours) to transmit 100 GB of data through the 5 GHz band, with an efficiency improvement of 95% compared to the traditional Bluetooth solution (55 hours).
[0067] Interface and expansion:
[0068] USB 2.0 Type-C interface, supporting PD 10W fast charging and OTG function, compatible with Type-C and Lightning interface devices.
[0069] Integrated SD card slot (supporting Micro SD card), maximum expansion capacity 2 TB, compliant with SDHC / SDXC protocol.
[0070] Auxiliary function unit:
[0071] Power status indicator (Power LED), reset button (Reset Button).
[0072] 2. Motherboard design
[0073] Power Management: It supports AC input of 90V - 240V and converts it to 12V DC to supply power to the main board.
[0074] Core Module Division:
[0075] CPU Module:
[0076] Two groups of SDIO interfaces: SDIO0 communicates with eMMC, and SDIO1 communicates with the WiFi module. Both support voltage regulation of 1.8V / 3.3V, and the 1.8V mode is used to improve the transmission rate.
[0077] Two groups of USB 2.0 interfaces: One group is connected to the mobile phone through Type-C, and the other group converts the signal to an SD card interface signal through a USB controller, supporting a rate of 480Mbps.
[0078] Storage Module: It supports duplex reading and writing of eMMC and SD cards, and WiFi communication and storage operations run in parallel without interference.
[0079] Furthermore, the technical advantages of the embodiments of the present invention are as follows:
[0080] 1. Breaking through the permission restrictions of the closed system
[0081] Dynamic switching mechanism: The master - slave role is automatically switched through the PD protocol and GPIO level control, avoiding the data access restrictions of the iOS system on third - party devices.
[0082] Interface compatibility: It supports both Type-C and Lightning interfaces, adapting to mainstream mobile phone models. The Lightning interface is compatible with iOS devices through an MFi certified chip (such as C94), ensuring that the authorization process is legal and compliant.
[0083] 2. Efficiently processing large - scale data
[0084] Hardware acceleration: The duplex reading and writing of eMMC and SD cards and the dual - band WiFi module (up to 867Mbps) work together to ensure the rapid storage and transmission of data in the order of hundreds of GB.
[0085] Offline caching strategy: When the network is unstable, data is preferentially cached in the SD card and then uploaded through WiFi later to ensure data integrity.
[0086] 3. Concealment and user experience
[0087] Form design: It adopts a wall - plug - in appearance, disguised as an ordinary charger, supports the 5V / 2A charging function, and completes data transmission invisibly during the charging process.
[0088] Automation process: Plug - and - play, parents do not need to operate or intervene, and the device automatically completes authorization, data pulling, and uploading.
[0089] An embodiment of the present invention provides a method for monitoring mobile terminal data. A charging device is connected to a mobile terminal through a data cable. The method is applied to the charging device and includes: if it is detected that the mobile terminal is connected, adjusting the charging device to be the host and the mobile terminal to be the slave, so that the mobile terminal completes the authorization authentication of the charging device; adjusting the charging device to be the slave and the mobile terminal to be the host, and completing the authorization authentication of the mobile terminal; receiving the monitoring data sent by the mobile phone and sending the monitoring data to a preset monitoring server, wherein, before the monitoring data is completely sent, keeping the mobile terminal as the host and the charging device as the slave. Through the dynamic role switching mechanism between the charging device and the mobile terminal, the problems of complex authorization process and unstable data transmission caused by system permission restrictions in traditional monitoring technologies are solved. Specifically, when the mobile terminal is connected to the charging device, the charging device first acts as the host to trigger an authorization request, so that the mobile terminal enters the slave device mode to complete the authentication of the charging device; then it switches to the slave device mode, making the mobile terminal the host and completing the authorization authentication in the reverse direction. The present invention performs authentication based on the PD protocol, and there is no need to install a monitoring APP in the mobile terminal, thus breaking through the strict restrictions on data access of a closed operating system (such as iOS). In the data transmission stage, the charging device always maintains the role of the slave device to ensure that the mobile terminal continuously sends data and avoid transmission interruption caused by role switching.
[0090] Corresponding to the above method for monitoring mobile terminal data, the present invention also provides a device for monitoring mobile terminal data. The device for monitoring mobile terminal data includes units for executing the above method for monitoring mobile terminal data, and the device for monitoring mobile terminal data can be configured in terminals such as desktop computers, tablet computers, laptop computers, etc. Specifically, the device for monitoring mobile terminal data includes:
[0091] A first authentication unit, configured to, if it is detected that the mobile terminal is connected, adjust the charging device to be the host and the mobile terminal to be the slave, so that the mobile terminal completes the authorization authentication of the charging device;
[0092] A second authentication unit, configured to adjust the charging device to be the slave and the mobile terminal to be the host, and complete the authorization authentication of the mobile terminal;
[0093] A data transmission unit, configured to receive the monitoring data sent by the mobile phone and send the monitoring data to a preset monitoring server, wherein, before the monitoring data is completely sent, keeping the mobile terminal as the host and the charging device as the slave.
[0094] In some embodiments, the adjusting the charging device to be the host and the mobile terminal to be the slave includes:
[0095] Pull down the control GPIO of the charging device to a low level.
[0096] In some embodiments, enabling the mobile terminal to complete the authorization authentication of the charging device includes:
[0097] Send a first authorization authentication request to the mobile terminal, where the mobile terminal receives the first authorization authentication request sent by the charging device.
[0098] In some embodiments, adjusting the charging device to be a slave device and the mobile terminal as a host includes:
[0099] Pull up the control GPIO of the charging device to a high level.
[0100] In some embodiments, completing the authorization authentication for the mobile terminal includes:
[0101] Receive the second authorization authentication request sent by the mobile terminal and pass the second authorization authentication request sent by the mobile terminal.
[0102] In some embodiments, sending the monitoring data to a preset monitoring server includes:
[0103] Determine whether the wireless transmission rate between the charging device and the monitoring server is less than a preset transmission rate threshold;
[0104] If the wireless transmission rate between the charging device and the monitoring server is less than the preset transmission rate threshold, store the monitoring data in a preset storage device, read the monitoring data from the storage device and send it to the monitoring server by wireless transmission.
[0105] In some embodiments, sending the monitoring data to a preset monitoring server further includes:
[0106] If the wireless transmission rate between the charging device and the monitoring server is not less than the preset transmission rate threshold, send the monitoring data to the monitoring server by wireless transmission.
[0107] It should be noted that those skilled in the art can clearly understand that the specific implementation processes of the above mobile terminal data monitoring device and each unit can refer to the corresponding descriptions in the foregoing method embodiments. For the sake of convenience and brevity of description, they will not be repeated here.
[0108] The above mobile terminal data monitoring device can be implemented in the form of a computer program, and this computer program can run on a computer device as shown in Figure 2 shown.
[0109] Please refer to Figure 2 , Figure 2 which is a hardware block diagram of a computer device provided by an embodiment of the present application. The computer device 500 can be a terminal or a server. Among them, the terminal can be an electronic device with communication functions such as a smart phone, a tablet computer, a notebook computer, a desktop computer, a personal digital assistant, and a wearable device. The server can be an independent server or a server cluster composed of multiple servers.
[0110] The computer device 500 includes a processor 502, a memory, and a network interface 505 connected through a system bus 501. Among them, the memory can include a non-volatile storage medium 503 and an internal memory 504.
[0111] The non-volatile storage medium 503 can store an operating system 5031 and a computer program 5032. When the computer program 5032 is executed, the processor 502 can be caused to execute a mobile terminal data monitoring method.
[0112] The processor 502 is used to provide computing and control capabilities to support the operation of the entire computer device 500.
[0113] The internal memory 504 provides an environment for the operation of the computer program 5032 in the non-volatile storage medium 503. When the computer program 5032 is executed by the processor 502, the processor 502 can be caused to execute a mobile terminal data monitoring method.
[0114] The network interface 505 is used for network communication with other devices. Those skilled in the art can understand that the above structure is only a block diagram of some structures related to the solution of the present application, and does not constitute a limitation on the computer device 500 to which the solution of the present application is applied. The specific computer device 500 may include more or fewer components than those shown in the figure, or combine some components, or have different component arrangements.
[0115] Among them, the processor 502 is used to run the computer program 5032 stored in the memory to implement the steps of a mobile terminal data monitoring method provided by any embodiment of the present invention.
[0116] It should be understood that in the embodiments of the present application, the processor 502 may be a central processing unit (CPU), and the processor 502 may also be other general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0117] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a storage medium, and the storage medium is a computer-readable storage medium. The computer program is executed by at least one processor in the computer system to implement the process steps of the embodiments of the above methods.
[0118] Therefore, the present invention also provides a storage medium. The storage medium may be a computer-readable storage medium. The storage medium stores a computer program. When the computer program is executed by a processor, the processor is caused to execute the steps of a method for monitoring mobile terminal data provided in any embodiment of the present invention.
[0119] The storage medium is a physical, non-transitory storage medium, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a magnetic disk, or an optical disc, etc., which are various physical storage media that can store program codes. The computer-readable storage medium may be non-volatile or volatile.
[0120] Those of ordinary skill in the art can realize that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. To clearly illustrate the interchangeability of hardware and software, the components and steps of the examples have been generally described according to their functions in the above description. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered to exceed the scope of the present invention.
[0121] The technical solution of the present invention strictly complies with the GDPR and COPPA regulations to ensure the encrypted storage and transmission of user data.
[0122] In several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of each unit is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.
[0123] The steps in the method embodiments of the present invention can be adjusted, combined, and deleted according to actual needs. The units in the device embodiments of the present invention can be combined, divided, and deleted according to actual needs. In addition, the functional units in each embodiment of the present invention can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit.
[0124] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, a terminal, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention.
[0125] In the above embodiments, the descriptions of the various embodiments have their own emphases. For the parts not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0126] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, provided that these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention also intends to include these changes and modifications.
[0127] The above is only the specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present invention can easily think of various equivalent modifications or substitutions, and these modifications or substitutions should all be covered by the protection scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.
Claims
1. A mobile terminal data monitoring method, characterized in that: The charging device is connected to the mobile terminal via a data line, and the method is applied to the charging device, and the method includes: If a mobile terminal is detected to be connected, the charging device is adjusted to be a host device, and the mobile terminal is adjusted to be a slave device, so that the mobile terminal completes the authorization authentication of the charging device; Adjust the charging device as a slave device, the mobile terminal as a host, and complete the authorization authentication for the mobile terminal; The monitoring data sent by the mobile phone is received, and the monitoring data is sent to a preset monitoring server, wherein, before the monitoring data is sent, the mobile terminal is kept as the host and the charging device is kept as the slave device.
2. The mobile terminal data monitoring method according to claim 1, characterized in that: The step of adjusting the charging device as a host and the mobile terminal as a slave device includes: Pull the control GPIO of the charging device to a low level.
3. The mobile terminal data monitoring method according to claim 2, characterized in that: The step of enabling the mobile terminal to complete the authorization authentication of the charging device includes: A first authorization authentication request is sent to the mobile terminal, wherein the mobile terminal sends the first authorization authentication request through the charging device.
4. The mobile terminal data monitoring method according to claim 3, characterized in that: The step of adjusting the charging device to be a slave device and the mobile terminal to be a host device includes: Pull the control GPIO of the charging device to a high level.
5. The mobile terminal data monitoring method according to claim 4, characterized in that: The completing the authorization authentication for the mobile terminal includes: A second authorization authentication request sent by the mobile terminal is received, and the second authorization authentication request sent by the mobile terminal is passed.
6. The mobile terminal data monitoring method according to claim 1, characterized in that: Sending the monitoring data to a preset monitoring server includes: Determine whether the wireless transmission rate between the charging device and the monitoring server is less than a preset transmission rate threshold; If the wireless transmission rate between the charging device and the monitoring server is less than a preset transmission rate threshold, the monitoring data is stored in a preset storage device, and the monitoring data is read from the storage device and sent to the monitoring server via wireless transmission.
7. The mobile terminal data monitoring method according to claim 6, characterized in that: Sending the monitoring data to a preset monitoring server also includes: If the wireless transmission rate between the charging device and the monitoring server is not less than a preset transmission rate threshold, the monitoring data is sent to the monitoring server by wireless transmission.
8. A mobile terminal data monitoring device, characterized in that: The method comprises a unit for executing the method according to any one of claims 1 to 7.
9. A computer device, characterized in that: The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 7 can be implemented.
Citation Information
Cited By
High-precision holder control method and system
CN120669764A