Method and system for automatically operating mobile phone based on BLE (Bluetooth Low Energy) technology

Through the automatic operation of mobile phone system based on BLE technology, using BLE HID and GATT services, problems such as insufficient accuracy and permission restrictions in the existing technology are solved, and the automated operation effect is achieved that is efficient, convenient, safe, compliant and widely adapted.

CN120128650APending Publication Date: 2025-06-10XIAMEN SIXIN MICRO TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510239658.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-03
Publication Date
2025-06-10

AI Technical Summary

Technical Problem

The existing automated mobile phone operation technology has problems such as insufficient accuracy, limited permissions, poor cross-platform adaptability, large resource usage, high privacy risks, and hidden dangers of illegal programs in gaming and testing scenarios.

Method used

The automatic operation mobile phone system based on BLE technology is adopted. Through the cooperation of the BLE host and the BLE slave, the BLE HID service and GATT service are used to accurately simulate human-computer interactions, and the control script is transmitted through the GATT protocol to drive the mobile phone to automatically perform tasks.

Benefits of technology

It realizes accurate and flexible automated operations, efficient and convenient completion of complex tasks, ensures safety, compliance and extensive adaptability, and avoids resource occupation and privacy risks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120128650A_ABST
    Figure CN120128650A_ABST
Patent Text Reader

Abstract

The invention provides an innovative scheme for automatically operating a mobile phone based on a BLE (Bluetooth Low Energy) technology, belongs to the technical field of BLE, and can be widely applied to games, tests and diversified daily operation scenes. A core equipment system is composed of a common mobile phone serving as a BLE host and BLE equipment serving as a slave, and a specially customized APP is carried on the mobile phone. By means of a BLE communication protocol and an APP, a script containing a detailed operation instruction is transmitted to the BLE device through a GATT protocol, after the BLE device achieves BLE HID and common GATT services and stores the script, a mobile phone is accurately controlled by means of an HID protocol according to preset conditions, and then the flexible, efficient, safe and reliable automatic operation effect is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of BLE technology, and in particular to a method and system for automatically operating a mobile phone based on BLE technology. Background Art

[0002] As smartphones have fully penetrated into people's lives, the demand for mobile phone automation in gaming entertainment and various application testing scenarios has exploded. However, the existing related technical solutions have exposed many drawbacks that are difficult to ignore:

[0003] Game scenarios are heavily constrained: With popular games now popular, players often need to perform a series of repetitive and mechanical operations, such as daily routine sign-in, regular collection of in-game rewards, or releasing skill combinations according to fixed routines in competitive games. Traditional automation solutions that rely on built-in scripts on mobile phones are subject to the strict permission control mechanism established by the mobile phone system to ensure game balance and prevent cheating. It is difficult to accurately simulate those complex and coherent game actions, and it is impossible to smoothly implement the automation process, which greatly reduces the player's gaming experience and wastes a lot of unnecessary time and energy.

[0004] The difficulty of testing scenarios is highlighted: In the testing phase of mobile applications, testers must simulate a variety of operations that fit the usage habits of real users in order to verify the compatibility and stability of the software. However, the existing testing methods that rely on mobile scripts are powerless when faced with high-frequency operations such as cross-application interactions and complex gesture simulations due to the permission restrictions of the operating system. For example, when testing an APP that combines social sharing and offline consumer payment functions, the script often cannot switch smoothly and naturally between the social APP and the payment APP due to insufficient permissions, and it is difficult to fully execute the entire payment process, which ultimately leads to deviations in the test results and many potential vulnerabilities are difficult to be accurately discovered.

[0005] Compatibility barriers are difficult to overcome: Android and iOS systems dominate the current mobile phone market, and there is a huge difference between the underlying architecture and development specifications of the two. If traditional script-based automation solutions are to adapt to these two completely different systems, developers have to invest a huge amount of manpower and a long time to write multiple sets of targeted codes. In the future, they have to continue to track system updates and continuously perform adaptation and optimization. The versatility is extremely limited and is far behind the rapid iteration and update pace of the application market.

[0006] Resource and privacy risks coexist: Running scripts will greatly occupy the CPU and memory resources of the phone, directly causing the phone to heat up quickly and the battery life to be sharply reduced, seriously interfering with the user's normal daily use. In addition, in order to realize the automation function, the script often needs to apply for many sensitive permissions involving privacy, such as reading call records and photo album access rights. In the context of the unprecedented rise in the public's awareness of privacy protection, users are full of concerns about such solutions, fearing that their personal sensitive information will be leaked, and their acceptance is extremely low.

[0007] Illegal programs pose huge risks: There have been some illegal programs on the market. Although these programs claim to be able to realize automatic operation of mobile phones, they often achieve their goals through non-compliant means such as tampering with game data and illegally obtaining high permissions. Such illegal programs are easily detected and identified by the game anti-cheating system and banned, which seriously undermines the fair competition environment of the game. In addition, malicious programs may be secretly implanted, bringing immeasurable huge risks to the security of users' mobile phones. They must not be used as long-term and reliable automation solutions.

[0008] Therefore, the art is in urgent need of a technical solution that can solve the above problems.

[0009] The information disclosed in this background technology section is only intended to enhance the understanding of the overall background of the invention and should not be regarded as an acknowledgment or any form of suggestion that the information constitutes the prior art already known to a person skilled in the art. Summary of the invention

[0010] The purpose of the present invention is to provide a technical solution that is accurate and flexible, efficient and convenient, safe and compliant, and widely adaptable.

[0011] To achieve the above object, the present invention provides the following solutions:

[0012] A system for automatically operating a mobile phone based on BLE technology, comprising:

[0013] BLE host and BLE slave;

[0014] The BLE host includes:

[0015] Configuration module, used to set relevant parameters for games, tests or other task scenarios;

[0016] The instruction generation module is used to convert the operation content planned by the user into standard control instructions;

[0017] Communication module, used to transmit data with BLE devices according to GATT protocol;

[0018] The BLE slave adopts a professional hardware device equipped with a BLE chip, integrating BLE HID service and common GATT service.

[0019] Optionally, the BLE HID service strictly follows the human-machine interface device standard and can simulate various human-machine interaction actions very accurately; the GATT service focuses on device connection management, data reception, and feedback of the device's own execution status to the mobile phone.

[0020] Optionally, the various human-computer interaction actions include: clicking, sliding and long pressing.

[0021] A method for automatically operating a mobile phone based on BLE technology, comprising:

[0022] Preliminary preparation: The user opens the APP on the phone and first selects a specific task scenario in the configuration module, including daily game tasks and new APP function testing, and then fills in the corresponding parameters according to actual needs; then, edits the control script in the instruction generation module. The script content is rich and varied, covering the operation sequence, delay time, and number of loops;

[0023] Connection and transmission: Turn on the Bluetooth function of the mobile phone and the BLE device to complete the BLE pairing connection between the two. The communication module of the APP uses the GATT protocol to accurately send the edited control script to the receiving characteristic value corresponding to the common GATT service of the BLE device. After receiving the data, the BLE device stores it in its own built-in storage unit.

[0024] Automatic execution: When the preset trigger conditions are met, the BLE device quickly calls out the control script from the storage unit, and uses the BLE HID service to send simulated operation instructions to the mobile phone in accordance with the HID protocol, driving the mobile phone to automatically execute the corresponding task.

[0025] Compared with the prior art, the present invention has the following beneficial effects:

[0026] Accurate and flexible: Compared with traditional automation solutions, this invention relies on customizable scripts to accurately reproduce a variety of preset actions, and the deviation is controlled within a very small range. Whether it is dealing with complex and changeable tactical arrangements in the game or diverse process requirements in the test scenario, it can be quickly adjusted according to the specific situation, with excellent flexibility.

[0027] Efficient and convenient: Taking typical tasks such as brushing resources in popular games as an example, manual operation may take up to half an hour in the past, but with the method of the present invention, it only takes a few minutes to complete; in the test scenario, it can also greatly reduce the time spent on the process and improve the overall work efficiency.

[0028] Security and Compliance: This invention operates based on the communication link of the BLE technical standard, strictly following the security specifications and privacy policies of each platform throughout the process. It neither involves tampering with in-game or app internal data, nor illegally requests high permissions, fully conforming to the fair criteria of game operation and formal testing specifications, effectively ensuring the system security of the user's mobile phone and the privacy of data from being violated.

[0029] Wide Adaptability: Relying on the strong compatibility of the BLE general standard, this solution is not picky about the type of mobile phone system. As long as the mobile phone supports the BLE function, writing a script once can adapt to the vast majority of mobile phones on the market, with a very wide coverage range. Brief Description of the Drawings

[0030] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required to be used in the embodiments. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.

[0031] Figure 1 It is a schematic diagram of the system structure and connection provided for the embodiments of the present invention. Detailed Embodiments

[0032] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, rather than all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts belong to the scope of protection of the present invention.

[0033] The purpose of the present invention is to provide a technical solution that is precise, flexible, efficient, convenient, secure, compliant, and widely adaptable.

[0034] To make the above objects, features, and advantages of the present invention more obvious and understandable, the present invention will be further described in detail below in conjunction with the drawings and specific embodiments.

[0035] Embodiment 1:

[0036] This embodiment provides a system and method for automatically operating a mobile phone based on BLE technology, as Figure 1 shown. The system includes:

[0037] Mobile device (BLE host): Select a common smartphone with BLE function on the market and install a custom-developed APP. This APP is carefully divided into three key modules: a configuration module, an instruction generation module, and a communication module. The configuration module is specifically used to set the relevant parameters of game, test, or other various task scenarios; the instruction generation module is responsible for converting the carefully planned operation content of the user into standard control instructions; the communication module, according to the GATT protocol, undertakes the important task of transmitting data with the BLE device.

[0038] BLE device (BLE slave): Adopt a professional hardware device equipped with a BLE chip, integrating BLE HID service and ordinary GATT service. Among them, the BLE HID service strictly follows the human-machine interface device standard and can accurately simulate various human-machine interaction actions such as clicking, swiping, and long pressing; the ordinary GATT service focuses on device connection management, data reception, and feedback of the device's own execution status to the mobile phone.

[0039] The method includes:

[0040] Preliminary preparation: The user opens the APP on the mobile phone, first selects a specific task scenario in the configuration module, such as daily game tasks, new APP function tests, etc., and then fills in the corresponding parameters according to actual needs. Immediately afterwards, edit the control script in the instruction generation module, and the script content is rich and diverse, covering a series of key information such as operation sequence, delay time, loop times, etc.

[0041] Connection and transmission: Turn on the Bluetooth function of the mobile phone and the BLE device to complete the BLE pairing connection between the two. The communication module of the APP, with the help of the GATT protocol, accurately sends the well-edited control script to the receiving characteristic value corresponding to the ordinary GATT service of the BLE device. After the BLE device receives the data, it stores it in its own built-in storage unit.

[0042] Automatic execution: When the preset trigger condition is met, the BLE device quickly retrieves the control script from the storage unit and, relying on the BLE HID service, sends the simulated operation instructions to the mobile phone according to the HID protocol to drive the mobile phone to automatically execute the corresponding tasks.

[0043] Operation process:

[0044] Write the script and store it on the mobile phone;

[0045] Turn on the Bluetooth of the mobile phone and connect to the BLE device in the figure;

[0046] Transfer the script to the BLE device through the GATT service that receives the script;

[0047] The BLE device executes the script through the HID protocol.

[0048] The various embodiments in this specification are described in a progressive manner. Each embodiment focuses on the differences from other embodiments. For the same or similar parts among the embodiments, reference can be made to each other. For the systems disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple. For the relevant parts, reference can be made to the description in the method section.

[0049] Specific examples are used in this article to elaborate on the principles and implementation manners of the present invention. The descriptions of the above embodiments are only used to help understand the method of the present invention and its core idea. At the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation manners and application scopes. In summary, the content of this specification should not be construed as a limitation to the present invention.

Claims

1. A system for automatically operating a mobile phone based on BLE technology, characterized in that: include: BLE host and BLE slave; The BLE host includes: Configuration module, used to set relevant parameters for games, tests or other task scenarios; The instruction generation module is used to convert the operation content planned by the user into standard control instructions; Communication module, used to transmit data with BLE devices according to GATT protocol; The BLE slave adopts a professional hardware device equipped with a BLE chip, integrating BLE HID service and common GATT service.

2. The system for automatically operating a mobile phone based on BLE technology according to claim 1, characterized in that: The BLEHID service strictly follows the human-machine interface device standard and can simulate various human-machine interaction actions with great accuracy; the GATT service focuses on device connection management, data reception, and feedback of the device's own execution status to the mobile phone.

3. The system for automatically operating a mobile phone based on BLE technology according to claim 2, characterized in that: The various human-computer interaction actions include: clicking, sliding and long pressing.

4. A method for automatically operating a mobile phone based on BLE technology, characterized in that: include: Preliminary preparation: The user opens the APP on the phone and first selects a specific task scenario in the configuration module, including daily game tasks and new APP function testing, and then fills in the corresponding parameters according to actual needs; then, edits the control script in the instruction generation module. The script content is rich and varied, covering the operation sequence, delay time, and number of loops; Connection and transmission: Turn on the Bluetooth function of the mobile phone and the BLE device to complete the BLE pairing connection between the two. The communication module of the APP uses the GATT protocol to accurately send the edited control script to the receiving characteristic value corresponding to the common GATT service of the BLE device. After receiving the data, the BLE device stores it in its own built-in storage unit. Automatic execution: When the preset trigger conditions are met, the BLE device quickly calls out the control script from the storage unit, and uses the BLE HID service to send simulated operation instructions to the mobile phone in accordance with the HID protocol, driving the mobile phone to automatically execute the corresponding task.