CN107483576B - System and method for remotely controlling Android APP - Google Patents

System and method for remotely controlling Android APP Download PDF

Info

Publication number
CN107483576B
CN107483576B CN201710688504.0A CN201710688504A CN107483576B CN 107483576 B CN107483576 B CN 107483576B CN 201710688504 A CN201710688504 A CN 201710688504A CN 107483576 B CN107483576 B CN 107483576B
Authority
CN
China
Prior art keywords
auxiliary function
main control
control server
app
instruction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710688504.0A
Other languages
Chinese (zh)
Other versions
CN107483576A (en
Inventor
熊超
庄良基
胡小挺
温宗轩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiamen shushengqiyoutong Technology Co.,Ltd.
Original Assignee
Xiamen Duominuo Data Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiamen Duominuo Data Technology Co ltd filed Critical Xiamen Duominuo Data Technology Co ltd
Priority to CN201710688504.0A priority Critical patent/CN107483576B/en
Publication of CN107483576A publication Critical patent/CN107483576A/en
Application granted granted Critical
Publication of CN107483576B publication Critical patent/CN107483576B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a system and a method for remotely controlling Android APP (application), which comprises a webpage end, a main control server and mobile equipment provided with auxiliary function APP, wherein a TCP/IP (transmission control protocol/Internet protocol) long connection is established between the main control server and the auxiliary function APP, the webpage end issues a binding authorization instruction and a control instruction to the auxiliary function APP of the mobile equipment through the main control server, and then other controlled APPs of the mobile equipment are controlled; the main control server sends the corresponding binding authorization instruction and the control instruction to the auxiliary function APP of the corresponding mobile equipment, and simultaneously feeds back the authorization condition of the binding authorization instruction and the execution result of the control instruction to the webpage end; and the auxiliary function APP of the mobile equipment is used for acquiring the binding authorization instruction and the control instruction sent by the main control server and controlling other controlled APPs of the mobile equipment according to the control instruction. The invention realizes the control of any APP or system function on the mobile equipment by the webpage end, so that the system is more humanized and more suitable for the requirements of operators.

Description

System and method for remotely controlling Android APP
Technical Field
The invention relates to a system and a method for remotely controlling an Android APP.
Background
With the increasing popularization of mobile devices, mobile devices such as mobile phones and the like are devices that cannot be separated from daily life and work, the mobile devices can be carried about, and the portability and the stronger and stronger computing power of the mobile devices enable a plurality of application scenes to be changed, and the mobile internet is driven to develop vigorously. However, we also find that the traditional PC market is not completely replaced, and many usage scenarios still require the use of a PC, such as PC client and mobile client in office OA, call-out, etc., which still account for a large proportion, because although the mobile phone has a good portability, the mobile phone screen is much smaller than the PC screen, and the content that can be presented at the same time is much less, and the input efficiency of the input method of the mobile phone touch screen on the small screen is completely unable to be compared with that of the PC keyboard, so that the application scenarios that need to view a large amount of text content at the same time efficiently and the application on the PC in the application scenario that needs to input quickly still have the irreplaceable advantages of the mobile phone application. Meanwhile, the scenes that the PC and the multiple mobile phones need to work cooperatively are also multiple, for example, the synchronous work of the multiple mobile phones of different models can be controlled simultaneously by batch mobile phone APP automatic tests, and the final test result can be managed remotely on the PC. If the business person who calls outside the electricity sales needs to work on a PC seat, but needs to pick up the mobile phone and the WeChat friends and send data after the telephone call, the work needing to be finished on the mobile phone can be automatically finished on the PC without picking up the mobile phone, and the office efficiency of the business person is greatly improved.
There are various technical implementation schemes for controlling a mobile phone APP from a PC, and besides a remote control scheme that a mobile phone screen is directly reproduced on the PC like a VNC, a scheme that tasks such as APP installation, debugging and the like are performed on the mobile phone on the PC through an adb command tool in a debugging bridge toolkit provided in an Android system SDK is also provided. Most Android automatic test systems and mobile phone group control systems in the market at present are realized by adopting adb toolkits, a physical connection of a USB is required between a mobile phone and a PC, and USB Hub bridging is required for a plurality of mobile phones. The adb command also supports wireless connection through a WIFI intranet, but the service port can be opened only after the ROOT authorization of the mobile phone terminal is needed. For a group control system with a large number of mobile phones needing to be controlled simultaneously, the mobile phones are mostly purchased by a system administrator in a unified way and are specially used for testing or automation, all hardware and software system configurations are configured by professionals at one time, so although the scheme needs additional hardware and software configurations, the cost of one time is acceptable, and the control scheme is widely applied to various scenes. However, when the controlled mobile phone is used for daily work and life besides partial automation, the scheme exposes a lot of problems. For example, in terms of security, there is a great security risk that the ROOT needs to be turned on or the adb debugging function needs to be turned on. This solution also requires physical connections or must be under the same lan for ease of use, limiting convenience and flexibility in use.
Another method for controlling the APP on the Android system is to use the Android auxiliary function service, and the auxiliary function service of the system is designed at the beginning because some users cannot see a complete screen or use a touch screen due to problems of eyesight, body and age, and the auxiliary function service enables the program to be available by converting text information into voice, tactile feedback, gestures, a trackball and a handle through text-to-speech and tactile feedback. However, after simple authorization, the auxiliary function service can have a strong capability of monitoring and notifying operations and a capability of checking and controlling window contents, so that the auxiliary function service has been used for controlling various applications, such as WeChat automatic red packet grabbing application. However, the auxiliary function service is only applied to the local mobile phone and lacks a corresponding remote control mechanism, so that the auxiliary function service is not widely applied to the fields of remote mobile phone group control and automatic test.
In view of this, the present inventors have specially designed a system and a method for remotely controlling an Android APP, and have developed this application.
Disclosure of Invention
The invention aims to provide a system and a method for remotely controlling Android APP (application), so that the webpage end can control any APP or system function on mobile equipment, and the system is more humanized and more suitable for the requirements of operators.
In order to achieve the purpose, the technical scheme adopted by the invention is as follows:
a system for remotely controlling Android APP comprises a webpage end, a main control server and mobile equipment provided with auxiliary function APP, wherein a TCP/IP long connection is established between the main control server and the auxiliary function APP, wherein,
the webpage side issues a binding authorization instruction and a control instruction to an auxiliary function APP of the mobile equipment through the main control server, and then other controlled APPs of the mobile equipment are controlled;
the main control server is responsible for registration and state management of the auxiliary function APP, sends corresponding binding authorization instructions and control instructions to the auxiliary function APP corresponding to the mobile equipment, and simultaneously feeds back authorization conditions of the binding authorization instructions and execution results of the control instructions to the webpage end;
the auxiliary function APP of the mobile device is used for acquiring the binding authorization instruction and the control instruction sent by the main control server, executing an automatic control script carried by the control instruction to further control other controlled APPs of the mobile device, and simultaneously returning an instruction execution result or an intermediate state to the webpage end through the main control server and finally presenting the instruction execution result or the intermediate state to an operator of the webpage end.
The binding authorization instruction and the control instruction issued by the webpage end are compiled by using a script, and the script is a script which can run in a PC browser in the webpage content provided by the Web server.
The control instruction comprises the content of the control script and the input parameters required by the script.
And the master control server is responsible for managing the state list of the auxiliary function APP.
And an encryption handshake protocol is realized among the main control server, the auxiliary function APP of the mobile equipment and the webpage end.
The webpage end is a webpage end on a PC browser, a webpage end on a PAD, a webpage end on a large-screen mobile phone or a PC application program and an APP realized by sleeving a browser shell.
A method for remotely controlling an Android APP comprises the following steps:
s01, an operator inputs a mobile phone number in a mobile phone binding request page of a webpage end and clicks 'request binding' to request controlled binding authorization of an auxiliary function APP corresponding to the specified mobile phone number;
s02, the webpage side forwards a binding authorization instruction of an operator to the main control server, the main control server judges whether the mobile equipment corresponding to the mobile phone number is provided with an auxiliary function APP started and registered on the main control server, if so, the main control server sends the binding authorization instruction to the auxiliary function APP of the mobile equipment and executes the step S03;
s03, the auxiliary function APP of the mobile device receives the prompt of the binding authorization, if the operator of the mobile device clicks 'reject', the 'reject' message is notified to the webpage end through the main control server and prompts the operator that the 'binding request is rejected', if the operator of the mobile device clicks 'agree' button, the authorization is confirmed, and the auxiliary function APP of the mobile device establishes the TCP/IP long connection with the main control server;
s04, checking whether the auxiliary function service authority of the auxiliary function APP is started, if so, informing the main control server that the auxiliary function APP is successfully controlled by the auxiliary function APP, setting the state of the auxiliary function APP to be bound online by the main control server, informing the webpage end that the mobile equipment is controlled to be bound by the main control server, and executing the step S05;
s05, the webpage end prompts the operator that the controlled binding is successful, the webpage end sends a control instruction to the main control server, the main control server issues the control instruction to an auxiliary function APP of the mobile equipment, and the auxiliary function APP executes an automatic control script carried by the control instruction, so that other controlled APPs of the mobile equipment are controlled, and the function specified by the control instruction is realized;
and S06, the auxiliary function APP sends the execution result or the intermediate state data back to the main control server, and the main control server returns a notification to the webpage end.
By adopting the scheme, the invention realizes that the webpage end can remotely control any APP or system function on the mobile equipment, and the system is reliable, real-time, safe and easy to use, convenient to use, more humanized and more suitable for the requirements of operators.
The invention is further described with reference to the following figures and detailed description.
Drawings
Fig. 1 is a schematic structural view of the present invention.
Detailed Description
As shown in fig. 1, the system for remotely controlling an Android APP disclosed by the present invention includes a web page terminal, a main control server, and a mobile device installed with an auxiliary function APP (the auxiliary function APP is an APP with an auxiliary function service right enabled, and the purpose of monitoring any APP is achieved by using the APP as a springboard, and the APP is hereinafter referred to as an auxiliary function APP), wherein a TCP/IP long connection is established between the main control server and the auxiliary function APP, wherein,
the webpage side issues a binding authorization instruction and a control instruction to an auxiliary function APP of the mobile equipment through the main control server, and then other controlled APPs of the mobile equipment are controlled;
the main control server is responsible for registration and state management of the auxiliary function APP, sends corresponding binding authorization instructions and control instructions to the auxiliary function APP corresponding to the mobile equipment, and simultaneously feeds back authorization conditions of the binding authorization instructions and execution results of the control instructions to the webpage end;
the auxiliary function APP of the mobile device is used for acquiring the binding authorization instruction and the control instruction sent by the main control server, executing an automatic control script carried by the control instruction to further control other controlled APPs of the mobile device, and simultaneously returning an instruction execution result or an intermediate state to the webpage end through the main control server and finally presenting the instruction execution result or the intermediate state to an operator of the webpage end.
The binding authorization instruction and the control instruction issued by the webpage end are compiled by using a script, and the script is a script which can run in a PC browser in the webpage content provided by the Web server.
The control instruction comprises the content of the control script and input parameters required by the script, the name and the version of the JavasScript script are contained in the content of the control script, and the target mobile phone number is required in the script input parameters by taking 'WeChat plus friend' as an example.
The master control server is responsible for managing the state list of the auxiliary function APP, and when the mobile phone is off-line, the user needs to be prompted to keep the network of the controlled mobile phone smooth.
Realize encrypting handshake protocol between the auxiliary function APP and the webpage end of master control server, mobile device, webpage end and auxiliary function APP both ends all need artifical affirmation to authorize could accomplish the safety at master control server and mate simultaneously.
The webpage end is a webpage end on a PC browser, a webpage end on a PAD, a webpage end on a large-screen mobile phone or a PC application program and an APP realized by sleeving a browser shell, for example, a control instruction can be sent out on the IPAD to execute an automatic script on another mobile phone bound with an auxiliary function APP to realize a remote control function of other APPs.
The auxiliary function APP comprises three modules inside, including a connection state management module, an instruction script management module and an auxiliary function service module, wherein the connection state management module is connected with the main control server, and the instruction script management module is respectively connected with the main control server and the auxiliary function service module, wherein:
the system comprises a connection state management module, a main control server and a plurality of auxiliary functions APP, wherein the connection state management module needs to actively maintain heartbeat packet communication with the main control server, monitor the internet connection state of the mobile equipment, display the offline state on the auxiliary functions APP when the mobile equipment is in the offline state, and automatically reconnect the main control server after the networking is recovered;
and the command script management module is used as a middle scheduling layer of the main control server and the auxiliary function service module and is used for issuing commands and decrypting script data by the main control server, encrypting data returned by the script function execution middle state, binding authorized command processing and rejecting unauthorized execution of the control command script. The command script management module runs in WebView of an Android built-in browser and can execute Javascript, and the script can complete a remote control function by monitoring the state event of the auxiliary function service module and calling an interface of the auxiliary function service module;
and the auxiliary function service module is used for packaging various operation monitoring and control functions by using the specific control functions of the system and other controlled APPs realized by the Android auxiliary function service, and receiving the management and control of the instruction script management module through an externally provided event and interface.
A method for remotely controlling an Android APP comprises the following steps:
s01, an operator inputs a mobile phone number in a mobile phone binding request page of a webpage end and clicks 'request binding' to request controlled binding authorization of an auxiliary function APP corresponding to the specified mobile phone number;
s02, the webpage side forwards a binding authorization instruction of an operator to the main control server, the main control server judges whether the mobile equipment corresponding to the mobile phone number is provided with an auxiliary function APP started and registered on the main control server, if so, the main control server sends the binding authorization instruction to the auxiliary function APP of the mobile equipment and executes the step S03;
s03, the auxiliary function APP of the mobile device receives a prompt of binding authorization, a TCP/IP long connection between the auxiliary function APP of the mobile phone and a main control server is not required to be established before the step, the main control server can realize the notification to the mobile phone through a push message, if an operator of the mobile device clicks ' reject ', the ' reject ' message is notified to a webpage end through the main control server again and prompts the operator that a binding request is rejected ', if the operator of the mobile device clicks an ' agree ' button, authorization is confirmed, the auxiliary function APP of the mobile device establishes a TCP/IP long connection with the main control server, and meanwhile, when the mobile phone network disconnection long connection is disconnected, the main control server actively notifies the PC webpage end that the bound auxiliary function APP is disconnected and offline;
s04, checking whether the auxiliary function service authority of the auxiliary function APP is started, if so, informing the main control server that the auxiliary function APP is successfully controlled by the auxiliary function APP, setting the state of the auxiliary function APP to be bound online by the main control server, informing the webpage end that the mobile equipment is controlled to be bound by the main control server, and executing the step S05;
s05, the webpage end prompts the operator that the controlled binding is successful, the webpage end sends a control instruction to the main control server, the main control server issues the control instruction to an auxiliary function APP of the mobile equipment, and the auxiliary function APP executes an automatic control script carried by the control instruction, so that other controlled APPs of the mobile equipment are controlled, and the function specified by the control instruction is realized;
and S06, the auxiliary function APP sends the execution result or the intermediate state data back to the main control server, and the main control server returns a notification to the webpage end.
The following describes the flow in detail by taking an example that an operator controls an auxiliary function APP of a mobile phone end on a PC webpage end to perform 'WeChat plus friend':
1. an operator only needs to input a target telephone number of a friend to be added at a PC webpage end and clicks a 'execute WeChat plus friend' button;
2. the webpage end submits the corresponding target telephone number to the main control server together as the automatic script parameter of the WeChat plus the friend;
3. the main control server forwards the control script content and the input parameters to an auxiliary function APP on the bound authorized mobile phone, then the auxiliary function APP automatically executes a JavaScript control script of 'WeChat plus friend', the script controls other controlled APPs to complete an automatic processing function, the script function in the example is 'WeChat plus friend', other controlled APPs mean WeChat APPs, the automatic control script executed by the auxiliary function APP controls the WeChat APPs, and the automatic control function of searching for a contact person with a specified mobile phone number in the WeChat APPs and sending a friend adding request is completed;
4. the auxiliary function APP monitors and checks whether the WeChat program package is started or not through an operation event monitoring function provided by the system auxiliary function service in the script execution process, if the WeChat program package is not started, the WeChat program package is started, after the WeChat program package is started, the important state of the started WeChat can be notified to a webpage end in an event notification mode through the main control server to prompt a user, after the auxiliary function APP executes the event notification, the WeChat window element is checked by using a window content checking function authorized by the auxiliary function service, an address book button of the WeChat APP is found, the button is clicked, the WeChat APP enters an address book page at the moment, the script checking window is switched, the state change is notified to the webpage end after the script checking window is switched, then the script is continuously executed, the 'new friend' button is searched and clicked, the target mobile phone number is subsequently input and clicked for searching, if the contact person with the mobile phone number is found, clicking an adding button to finish the whole operation of the WeChat plus friend, and finally reporting the state of successful execution of the script, thereby finishing the automatic control process of the WeChat plus friend;
5. the auxiliary function APP sends back the state data to the main control server, the main control service can record all instructions and the data change history of the states, the latest states can be notified to the PC webpage browser in real time, the main control service also provides an external interface, and all scheduling operation history data on the appointed binding mobile phone can be inquired at any time.
Thus, the operation of any APP or system function on the remote control mobile device initiated from the PC web page end is completed once, it should be noted that the language of the control script may use other languages instead of JavaScript, or the script language may use a configurable rule engine or other descriptive language such as XML or JSON to complete similar control functions, which is also an embodiment variant of the present invention. In addition, the binding process is not limited to the binding of one mobile phone, and one operator can also bind a plurality of controlled mobile phones at the same time, so that the simultaneous remote automatic group control task of the plurality of mobile phones is realized.
Because a large part of control logic of the invention is in the cloud, the deployment and implementation costs are much lower than those in the local area network, and the cloud service can have a more flexible deployment scheme, so that for a small studio or a small team, expensive group control servers, special mobile phones and other hardware devices are not needed to be purchased, and the automatic group control function can be used only by granting auxiliary function service authorization by using a daily mobile phone and then opening a service function on the Web. And the remote automatic control is not limited to a local area network any more, but can realize a more flexible and autonomous automatic control scheme crossing the region and the city through the mobile internet.
The development and debugging of the remote control logic only need to use a JavaScript script, the development is simpler than the realization of an adb toolkit, various automatic control functions can be realized quickly, the control script can be pushed and updated in real time through the Internet, the application of a mobile phone end does not need to be upgraded, and the deployment and implementation cost is higher compared with that of the traditional control mode.
In functional application, because the scheme of the invention is not limited by physical connection or intranet connection, the controlled end APP can have a more flexible popularization scheme, and the mobile phones of the participating users can be rented in a payment mode, so that idle calculation and network resources on the mobile phones with stronger and stronger computing capacity can be better utilized to realize some automatic control functions, such as obtaining the use data acquisition and the like authorized by the users aiming at the mobile phone APPs.
The method can control other controlled APPs and can also control and call various capabilities of the existing mobile phone, for example, the function of automatically adding friends after a specified phone is dialed can be realized through a script, the auxiliary function APP at the mobile phone end monitors the phone state, and after the phone is hung up, the function of automatically starting WeChat to execute the friend request for sending the number is automatically started.
The master control service system can be deployed to a cloud end to become public cloud service, the scripted automatic control function of the master control service system can be embedded into other mobile APPs in a standardized SDK mode, a service scene needing to remotely realize automatic control of other applications or system functions on mobile equipment can be conveniently accessed into the public cloud service, the application scene is not limited to a mobile phone due to the openness of an Android system, the access of Android internet of things equipment can be further provided, and the requirement of realizing automatic interactive control of the application of the internet of things and the internet of vehicles Android systems at the cloud end at low cost is met.
The above embodiments and drawings are not intended to limit the form and style of the present invention, and any suitable changes or modifications thereof by those skilled in the art should be considered as not departing from the scope of the present invention.

Claims (4)

1. A method for remotely controlling an Android APP is characterized by comprising the following steps: the system comprises a webpage end, a main control server and mobile equipment provided with auxiliary function APP, wherein TCP/IP long connection is established between the main control server and the auxiliary function APP, the webpage end issues a binding authorization instruction and a control instruction to the auxiliary function APP of the mobile equipment through the main control server, and then other controlled APPs of the mobile equipment are controlled; the main control server is responsible for registration and state management of the auxiliary function APP, sends corresponding binding authorization instructions and control instructions to the auxiliary function APP corresponding to the mobile equipment, and simultaneously feeds back authorization conditions of the binding authorization instructions and execution results of the control instructions to the webpage end; the auxiliary function APP of the mobile device is used for acquiring a binding authorization instruction and a control instruction sent by the main control server, executing an automatic control script carried by the control instruction to further control other controlled APPs of the mobile device, and simultaneously returning an instruction execution result or an intermediate state to the webpage end through the main control server and finally presenting the instruction execution result or the intermediate state to an operator of the webpage end;
the auxiliary function APP comprises three modules inside, including a connection state management module, an instruction script management module and an auxiliary function service module, wherein the connection state management module is connected with the main control server, and the instruction script management module is respectively connected with the main control server and the auxiliary function service module, wherein:
the system comprises a connection state management module, a main control server and a plurality of auxiliary functions APP, wherein the connection state management module needs to actively maintain heartbeat packet communication with the main control server, monitor the internet connection state of the mobile equipment, display the offline state on the auxiliary functions APP when the mobile equipment is in the offline state, and automatically reconnect the main control server after the networking is recovered;
the command script management module is used as an intermediate scheduling layer of the main control server and the auxiliary function service module, is used for decrypting commands and script data issued by the main control server, encrypting data returned by executing an intermediate state of script function execution, binding authorized command processing and rejecting the execution of unauthorized control command scripts, runs in WebView of an Android built-in browser and can execute Javascript scripts, and the scripts can complete a remote control function by monitoring state events of the auxiliary function service module and calling an auxiliary function service module interface;
the auxiliary function service module is used for packaging various operation monitoring and control functions by using the specific control functions of the system and other controlled APPs realized by the Android auxiliary function service, and the management and control of the instruction script management module are authorized through an externally provided event and interface;
the method comprises the following steps: SO1, an operator inputs a mobile phone number in a mobile phone binding request page of a webpage end and clicks 'request binding' to request controlled binding authorization of an auxiliary function APP corresponding to the specified mobile phone number;
the SO2 and the webpage side forward a binding authorization instruction of an operator to the main control server, the main control server judges whether the mobile equipment corresponding to the mobile phone number is provided with an auxiliary function APP started and registered on the main control server, if SO, the main control server sends the binding authorization instruction to the auxiliary function APP of the mobile equipment and executes the step S03;
s03, the auxiliary function APP of the mobile device receives the prompt of the binding authorization, if the operator of the mobile device clicks 'reject', the 'reject' message is notified to the webpage end through the main control server and prompts the operator that the 'binding request is rejected', if the operator of the mobile device clicks 'agree' button, the authorization is confirmed, and the auxiliary function APP of the mobile device establishes the TCP/IP long connection with the main control server;
s04, checking whether the auxiliary function service authority of the auxiliary function APP is started, if so, informing the main control server that the auxiliary function APP is successfully controlled by the auxiliary function APP, setting the state of the auxiliary function APP to be bound online by the main control server, informing the webpage end that the mobile equipment is controlled to be bound by the main control server, and executing the step S05;
s05, the webpage end prompts the operator that the controlled binding is successful, the webpage end sends a control instruction to the main control server, the main control server issues the control instruction to an auxiliary function APP of the mobile equipment, and the auxiliary function APP executes an automatic control script carried by the control instruction, so that other controlled APPs of the mobile equipment are controlled, and the function specified by the control instruction is realized;
and S06, the auxiliary function APP sends the execution result or the intermediate state data back to the main control server, and the main control server returns a notification to the webpage end.
2. The method of claim 1, wherein: and the master control server is responsible for managing the state list of the auxiliary function APP.
3. The method of claim 1, wherein: and an encryption handshake protocol is realized among the main control server, the auxiliary function APP of the mobile equipment and the webpage end.
4. A method according to claim 1 or 2 or 3, characterized in that: the webpage end is a webpage end on a PC browser, a webpage end on a PAD, a webpage end on a large-screen mobile phone or a PC application program and an APP realized by sleeving a browser shell.
CN201710688504.0A 2017-08-12 2017-08-12 System and method for remotely controlling Android APP Active CN107483576B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710688504.0A CN107483576B (en) 2017-08-12 2017-08-12 System and method for remotely controlling Android APP

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710688504.0A CN107483576B (en) 2017-08-12 2017-08-12 System and method for remotely controlling Android APP

Publications (2)

Publication Number Publication Date
CN107483576A CN107483576A (en) 2017-12-15
CN107483576B true CN107483576B (en) 2020-09-18

Family

ID=60600362

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710688504.0A Active CN107483576B (en) 2017-08-12 2017-08-12 System and method for remotely controlling Android APP

Country Status (1)

Country Link
CN (1) CN107483576B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108595941B (en) * 2018-03-30 2021-11-16 联想(北京)有限公司 Data processing method and system and electronic equipment
CN108973931B (en) * 2018-07-25 2019-10-25 安徽江淮汽车集团股份有限公司 A kind of control method for vehicle based on car networking
CN109040990B (en) * 2018-08-15 2022-04-01 平安科技(深圳)有限公司 Information acquisition method and device, computer equipment and storage medium
CN110049098B (en) * 2019-03-06 2021-11-23 湖南多行云计算机科技有限公司 Distributed operation quick starting system and method for mobile phone application
CN110049040A (en) * 2019-04-16 2019-07-23 深思数盾(天津)科技有限公司 To the methods, devices and systems of the control authority authorization of smart machine
CN111431844B (en) * 2019-04-23 2023-04-18 杭州海康威视数字技术股份有限公司 Authority authentication method and device
CN110113495A (en) * 2019-05-10 2019-08-09 北京奇艺世纪科技有限公司 Long-range control method, device, electronic equipment and the system of APP
CN112260882B (en) * 2019-07-02 2022-06-24 北京融核科技有限公司 Mobile application and network service integrated test device capable of being deployed rapidly and method thereof
CN110516132A (en) * 2019-07-18 2019-11-29 浙江子不语电子商务有限公司 A kind of 1688 mobile terminal acquisition systems
CN111459437A (en) * 2020-04-01 2020-07-28 杭州盈高科技有限公司 Control method, controlled end, control end and system of remote screen
CN115291883B (en) * 2022-07-12 2023-05-05 湖南于一科技有限公司 Method for realizing development and operation of robot by custom script parser
CN116055227B (en) * 2023-03-31 2023-06-16 北京国信会视科技有限公司 Intelligent terminal management and control method, system and device based on android device online security

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102685791A (en) * 2012-05-22 2012-09-19 北京东方文骏软件科技有限责任公司 Method for evaluating user quality of experience (QoE) of WAP (Wireless Application Protocol) services by simulating user behavior
US9313218B1 (en) * 2014-07-23 2016-04-12 Symantec Corporation Systems and methods for providing information identifying the trustworthiness of applications on application distribution platforms
US9323518B1 (en) * 2014-07-29 2016-04-26 Symantec Corporation Systems and methods for modifying applications without user input
CN106951774A (en) * 2017-03-03 2017-07-14 绿网天下(福建)网络科技股份有限公司 A kind of anti-method for killing anti-uninstall of Android applications

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102685791A (en) * 2012-05-22 2012-09-19 北京东方文骏软件科技有限责任公司 Method for evaluating user quality of experience (QoE) of WAP (Wireless Application Protocol) services by simulating user behavior
US9313218B1 (en) * 2014-07-23 2016-04-12 Symantec Corporation Systems and methods for providing information identifying the trustworthiness of applications on application distribution platforms
US9323518B1 (en) * 2014-07-29 2016-04-26 Symantec Corporation Systems and methods for modifying applications without user input
CN106951774A (en) * 2017-03-03 2017-07-14 绿网天下(福建)网络科技股份有限公司 A kind of anti-method for killing anti-uninstall of Android applications

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
APP推荐;ASUS ZenTalk;《https://www.asus.com/zentalk/tw/thread23959811.html》;20170803;第1-3页 *

Also Published As

Publication number Publication date
CN107483576A (en) 2017-12-15

Similar Documents

Publication Publication Date Title
CN107483576B (en) System and method for remotely controlling Android APP
US10341468B2 (en) System and method for managing communications between a portable data terminal and a server
EP3053052B1 (en) Managing a number of secondary clouds by a master cloud service manager
EP3335128B1 (en) Restoration of ui state in transactional systems
US10307906B2 (en) System and method for providing a proactive process automation among a plurality of software robotic agents in a network
US9774658B2 (en) Orchestration framework for connected devices
EP2661014B1 (en) Polling sub-system and polling method for communication network system and communication apparatus
CN108123925B (en) Resource sharing method, device and system
US20130332524A1 (en) Data service on a mobile device
CN103477322B (en) Web data is transmitted between operating system environment
CN111052776B (en) Monitoring of embedded subscriber identity modules
US11924056B2 (en) User interface tools for device-driven management workflows
US20220239550A1 (en) Device-driven management workflow status and impact
CN113110864A (en) Application program updating method and device and storage medium
US11689636B2 (en) Delegating network data exchange
CN112565225B (en) Method and device for data transmission, electronic equipment and readable storage medium
CN109669785A (en) Page sharing method, device, server and the storage medium of terminal applies
US9577967B2 (en) Method and system for managing an informational site using a social networking application
US11513823B2 (en) Chat interface for resource management
US10997002B2 (en) Quick actions
US10680905B1 (en) Application help desk
US11665065B2 (en) Network integration and workflow generation tools for device-driven management
CN114338178B (en) SOAR script model, script construction method, electronic device and storage medium
CN115248912B (en) System login method and device based on cloud terminal and computer readable storage medium
Zhang et al. Lightweight SOA-based twin-engine architecture for enterprise systems in fixed and mobile environments

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210603

Address after: Room 1901, No.1 Jinzhong Road, Huli District, Xiamen City, Fujian Province 361000

Patentee after: Xiamen shushengqiyoutong Technology Co.,Ltd.

Address before: Unit 1202, No.5 Jinzhong Road, Huli District, Xiamen City, Fujian Province 361000

Patentee before: XIAMEN DUOMINUO DATA TECHNOLOGY Co.,Ltd.