CN105094819A - Control method and device for local and remote equipment - Google Patents

Control method and device for local and remote equipment Download PDF

Info

Publication number
CN105094819A
CN105094819A CN201510415161.1A CN201510415161A CN105094819A CN 105094819 A CN105094819 A CN 105094819A CN 201510415161 A CN201510415161 A CN 201510415161A CN 105094819 A CN105094819 A CN 105094819A
Authority
CN
China
Prior art keywords
program file
executable program
module
local device
file corresponding
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.)
Pending
Application number
CN201510415161.1A
Other languages
Chinese (zh)
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.)
CHENGDU THUNDERSOFT SOFTWARE TECHNOLOGY Co Ltd
Original Assignee
CHENGDU THUNDERSOFT SOFTWARE 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 CHENGDU THUNDERSOFT SOFTWARE TECHNOLOGY Co Ltd filed Critical CHENGDU THUNDERSOFT SOFTWARE TECHNOLOGY Co Ltd
Priority to CN201510415161.1A priority Critical patent/CN105094819A/en
Publication of CN105094819A publication Critical patent/CN105094819A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The application provides a control method for local equipment. The control method comprises following steps: acquiring an executable program file corresponding to operation for security settings of a target module; utilizing the executable program file to replace a locally-stored original program file corresponding to the executable program file; and operating the executable program file.The control method for local equipment has following beneficial effects: only by utilizing the acquired executable program file to replace the locally-stored original program file corresponding to the executable program file, control over terminal equipment is achieved easily and efficiently in order to ensure safety of terminal equipment without calling many interfaces and logics and interference of codes in large quantity.

Description

A kind of this locality, Remote Device Control method and device
Technical field
The application relates to the communications field, particularly a kind of this locality, Remote Device Control method and device.
Background technology
Along with the development of technology, the requirement that people control Android device is more and more higher.
The existing strategy controlled Android device is more single, only has this control of camera, and the interface that the control operation of camera is called and logic many, size of code is larger, relatively loaded down with trivial details.
Therefore, how simple and effective terminal device to be controlled, ensure that the security of terminal device is the current technical issues that need to address of those skilled in the art.
Summary of the invention
Technical problems to be solved in this application are to provide a kind of this locality, Remote Device Control method and device, solve the strategy in prior art, Android device controlled more single, only have this control of camera, and the interface that the control operation of camera is called and logic many, size of code is larger, relatively loaded down with trivial details problem.
Its concrete scheme is as follows:
A kind of local device control method, the method comprises:
Obtain the executable program file corresponding with operation object module being carried out to security setting;
Described executable program file is utilized to replace the local original program file corresponding with described executable program file stored;
Run described executable program file.
Above-mentioned method, alternatively, the executable program file that described acquisition is corresponding with operation object module being carried out to security setting, comprising:
There is provided equipment control operation interface, described interface has the mark being used to indicate equipment control operation;
Obtain the instruction that user selects to identify, described instruction comprises user carries out security setting operation information to object module;
Generate the executable program file corresponding with described operation information.
Above-mentioned method, alternatively, the executable program file that described acquisition is corresponding with operation object module being carried out to security setting, comprising:
Reception remote terminal sends, the executable program file corresponding with operation object module being carried out to security setting.
A kind of local device control device, this device comprises:
First acquisition module, for the executable program file that the operation obtained with object module is carried out to security setting is corresponding;
Replacement module, replaces the local original program file corresponding with described executable program file stored for utilizing described executable program file;
Run module, for running described executable program file.
Above-mentioned device, alternatively, described first acquisition module comprises:
There is provided module, for providing equipment control operation interface, described interface has the mark being used to indicate equipment control operation;
Second acquisition module, for obtaining the instruction that user selects to identify, described instruction comprises user carries out security setting operation information to object module;
Generation module, for generating the executable program file corresponding with described operation information.
Above-mentioned device, alternatively, described first acquisition module comprises:
Receiver module, for receive remote terminal send, the executable program file corresponding with operation object module being carried out to security setting.
A kind of Remote Device Control method, the method comprises:
Obtain the instruction that local device object module is operated;
Select the executable program file corresponding with described instruction;
Send described executable program file to local device, and replace the original program file corresponding with described executable program file that local device stores.
Above-mentioned method, optionally, the described executable program file of described transmission to local device, and replaces the original program file corresponding with described executable program file that local device stores, and comprising:
Transmitting time is preset in setting;
According to described default transmitting time, described in timed sending, executable program file is to local device, and replaces the original program file corresponding with described executable program file that local device stores.
A kind of Remote Device Control device, this device comprises:
Acquisition module, for obtaining the instruction operated local device object module;
Select module, for selecting the executable program file corresponding with described instruction;
Sending module, for sending described executable program file to local device, and replaces the original program file corresponding with described executable program file that local device stores.
Above-mentioned device, optionally, described sending module comprises:
Setting module, for setting default transmitting time;
Send submodule, for according to described default transmitting time, described in timed sending, executable program file is to local device, and replaces the original program file corresponding with described executable program file that local device stores.
In the apparatus control method that the application provides, first, the executable program file corresponding with operation object module being carried out to security setting is obtained; Then, described executable program file is utilized to replace the local original program file corresponding with described executable program file stored; Finally, described executable program file is run.Only need in the application to utilize the executable program file obtained to replace the local original program file corresponding with described executable program file stored, do not need to call a lot of interfaces and logic, a large amount of codes is not related to yet, simple and effective terminal device can be controlled, ensure the security of terminal device.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present application, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the application, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the process flow diagram of a kind of local device control method of the application embodiment;
Fig. 2 is the process flow diagram of another embodiment of a kind of local device control method of the application;
Fig. 3 is the structural representation that a kind of local device opertaing device of the application arranges interface;
Fig. 4 is the structural representation of a kind of local device control device of the application;
Fig. 5 is the structural representation of another embodiment of a kind of local device control device of the application;
Fig. 6 is the process flow diagram of a kind of Remote Device Control embodiment of the method for the application;
Fig. 7 is the structural representation of a kind of Remote Device Control device of the application embodiment.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present application, be clearly and completely described the technical scheme in the embodiment of the present application, obviously, described embodiment is only some embodiments of the present application, instead of whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not making the every other embodiment obtained under creative work prerequisite, all belong to the scope of the application's protection.
With reference to figure 1, show the process flow diagram of a kind of local device control method of the application embodiment, can comprise the following steps:
Step S101: obtain the executable program file corresponding with operation object module being carried out to security setting.
Object module in the application relate in terminal device each can carry out the module of security control, comprise terminal prot module and termination function module, wherein, terminal prot module and termination function module relate to Bluetooth, Camera, Hotspot, SDcard, UsbData, UsbDrive, USBPort, WiFi or GPS, but are not restricted to these modules.
Both can carry out security setting to termination function module in the application, also can carry out security setting to terminal prot module, the security of terminal device can be ensured like this, reduce the risk of terminal device.
In the application is the proprietary feature of customization on mobile phone to the security setting of terminal device, and regular handset does not possess such function.Described customization machine allows received by remote port and upgrade control program file, also allows normal client to go to set local security strategy by customization app.
Comprise two kinds in operation object module being carried out to security setting, forbidding and unlatching, when needs carry out deactivation operation to object module, need to obtain and carry out the corresponding executable program file of deactivation operation with to object module; When needs carry out open operation to object module, need to obtain and carry out the corresponding executable program file of open operation with to object module.
Step S102: utilize described executable program file to replace the local original program file corresponding with described executable program file stored.
When needs carry out deactivation operation to object module, the executable program file corresponding with deactivation operation obtained is utilized to replace the local original program file corresponding with described executable program file stored; When needs carry out open operation to object module, the executable program file corresponding with open operation obtained is utilized to replace the local original program file corresponding with described executable program file stored.
Step S103: run described executable program file.
After having replaced the local original program file corresponding with described executable program file stored, run described executable program file, to complete the security setting to object module.
In the apparatus control method that the application provides, only need to utilize the executable program file obtained to replace the local original program file corresponding with described executable program file stored, do not need to call a lot of interfaces and logic, a large amount of codes is not related to yet, simple and effective terminal device can be controlled, ensure the security of terminal device.
With reference to figure 2, show the process flow diagram of another embodiment of a kind of local device control method of the application, the executable program file that described acquisition is corresponding with operation object module being carried out to security setting, can comprise the following steps:
Step S201: provide equipment control operation interface, described interface has the mark being used to indicate equipment control operation.
In the application, the situation of security setting can be carried out voluntarily to terminal device for user, user needs in terminal device, download the apk that may be used for security setting voluntarily, when needs carry out security setting, apk is run for needs, the operation interface that described apk provides as shown in Figure 3, described interface adopts RelativeLayout and LinerLayout mixed layout, be divided into 3 regions, uppermost region, the region on the left side and the region on the right side, uppermost region adopts 3 RadioButton buttons, three kinds of states of control GPS, and GPS can only keep a kind of state.The region on the left side is object module list, and the corresponding Button button of each object module, uses TextView and ImageView to carry.The region on the right adopts Button button, is used for carrying out security setting to the object module in left region, makes described object module be in ON or OFF state.
Each module is provided with different module ids, as the USB interface in terminal prot module can use Usb as module id, bluetooth module in termination function module can use Bluetooth as module id, the English name of general use module as module id, but also can identify by user defined logic interface.
Step S202: obtain the instruction that user selects to identify, described instruction comprises user carries out security setting operation information to object module.
When user needs to carry out security setting to bluetooth module, need user click Bluetooth mark below button is set, now, namely the instruction that user selects to identify is obtained, and include user carries out security setting operation information to object module in instruction, if the present Bluetooth mark button that arranges below is ON state, when user's click is in the button of ON state, be equivalent to user now want to change ON state into OFF state, that is, the identification instruction that user selects is OFF instruction, now, the OFF command information that the user that instruction comprises operates object module.
Step S203: generate the executable program file corresponding with described operation information.
When user needs Bluetooth mark button to be below arranged to OFF, the executable program file of generation is the executable program file that the execution OFF corresponding with Bluetooth module operates.
In the application, the executable program file that described acquisition is corresponding with operation object module being carried out to security setting, comprising:
Reception remote terminal sends, the executable program file corresponding with operation object module being carried out to security setting.
Except user can carry out except security setting to terminal device voluntarily in the application, can also be arranged by the equipment of remote terminal unification to user, setting now does not need user to participate in, user is not needed to download apk yet, in the complete unwitting situation of user, security setting operation can be carried out by remote terminal to the terminal device of user.
When the terminal device of remote control user, the executable program file corresponding with operation object module being carried out to security setting that terminal device obtains is sended over by remote terminal, instead of terminal device oneself generation, the executable program file set in advance that terminal device only needs reception remote terminal to send over.
Corresponding with a kind of local device control method of above-mentioned the application, see Fig. 4, present invention also provides a kind of local device control device, this device comprises:
First acquisition module 401, for the executable program file that the operation obtained with object module is carried out to security setting is corresponding.
Replacement module 402, replaces the local original program file corresponding with described executable program file stored for utilizing described executable program file.
Run module 403, for running described executable program file.
See Fig. 5, present invention also provides a kind of another embodiment of local device control device, described first acquisition module 401 comprises:
There is provided module 501, for providing equipment control operation interface, described interface has the mark being used to indicate equipment control operation.
Second acquisition module 502, for obtaining the instruction that user selects to identify, described instruction comprises user carries out security setting operation information to object module.
Generation module 503, for generating the executable program file corresponding with described operation information.
In the application, described first acquisition module 401 comprises:
Receiver module, for receive remote terminal send, the executable program file corresponding with operation object module being carried out to security setting.
See Fig. 6, additionally provide a kind of method of Remote Device Control in the application, the method can comprise the following steps:
Step S601: obtain the instruction that local device object module is operated.
Equipment in the application controls to be controlled by remote terminal, carries out any operation, even can arrange in the complete unwitting situation of user without the need to user.
When remote terminal needs to carry out security setting to local device, remote terminal needs the object module first determining to arrange local device, and to the security setting operation that object module is carried out.
Step S602: select the executable program file corresponding with described instruction.
After the security setting operation of the object module in the local device having determined pending security setting and correspondence, remote terminal, according to this instruction, selects the executable program file corresponding with described instruction pre-set.
Step S603: send described executable program file to local device, and replace the original program file corresponding with described executable program file that local device stores.
Remote terminal, by executable program file corresponding for the and instruction that chooses, is sent to local device, and replaces the original program file corresponding with described executable program file stored in local device, complete and operate the security setting of local device.
This kind of method, secret unit can be used in, or the unit that security is higher, as the mobile phone port of staff can be arranged, making the mobile phone of staff when connecting the computer of unit, just charging, and do not open storage operation, with the secret preventing staff from downloading unit, the security of guarantor unit's information.
In the application, the described executable program file of described transmission to local device, and replaces the original program file corresponding with described executable program file that local device stores, and comprising:
Transmitting time is preset in setting.
According to described default transmitting time, described in timed sending, executable program file is to local device, and replaces the original program file corresponding with described executable program file that local device stores.
In the application, can set default transmitting time, as 8:00 in morning, now the executable program file relevant to operation is sent to user terminal by remote terminal, carries out security setting.
Remote terminal can the work hours send the executable program file of the deactivation operation corresponding with object module to employee's mobile phone in the morning, forbid that employee's time of being on duty carries out affecting the operation of unit information safety, then the quitting time sends the executable program file of the open operation corresponding with object module to employee's mobile phone in the afternoon, and the mobile phone of employee is recovered normal.
Corresponding with a kind of local device control method of above-mentioned the application, see Fig. 7, present invention also provides a kind of Remote Device Control device, this device comprises:
Acquisition module 701, for obtaining the instruction operated local device object module;
Select module 702, for selecting the executable program file corresponding with described instruction;
Sending module 703, for sending described executable program file to local device, and replaces the original program file corresponding with described executable program file that local device stores.
In the application, described sending module comprises:
Setting module, for setting default transmitting time;
Send submodule, for according to described default transmitting time, described in timed sending, executable program file is to local device, and replaces the original program file corresponding with described executable program file that local device stores.
It should be noted that, each embodiment in this instructions all adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar part mutually see.For device class embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
Finally, also it should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
For convenience of description, various unit is divided into describe respectively with function when describing above device.Certainly, the function of each unit can be realized in same or multiple software and/or hardware when implementing the application.
As seen through the above description of the embodiments, those skilled in the art can be well understood to the mode that the application can add required general hardware platform by software and realizes.Based on such understanding, the technical scheme of the application can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product can be stored in storage medium, as ROM/RAM, magnetic disc, CD etc., comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform the method described in some part of each embodiment of the application or embodiment.
The one provided the application is above local, Remote Device Control method and device are described in detail, apply specific case herein to set forth the principle of the application and embodiment, the explanation of above embodiment is just for helping method and the core concept thereof of understanding the application; Meanwhile, for one of ordinary skill in the art, according to the thought of the application, all will change in specific embodiments and applications, in sum, this description should not be construed as the restriction to the application.

Claims (10)

1. a local device control method, is characterized in that, the method comprises:
Obtain the executable program file corresponding with operation object module being carried out to security setting;
Described executable program file is utilized to replace the local original program file corresponding with described executable program file stored;
Run described executable program file.
2. method according to claim 1, is characterized in that, the executable program file that described acquisition is corresponding with operation object module being carried out to security setting, comprising:
There is provided equipment control operation interface, described interface has the mark being used to indicate equipment control operation;
Obtain the instruction that user selects to identify, described instruction comprises user carries out security setting operation information to object module;
Generate the executable program file corresponding with described operation information.
3. method according to claim 1, is characterized in that, the executable program file that described acquisition is corresponding with operation object module being carried out to security setting, comprising:
Reception remote terminal sends, the executable program file corresponding with operation object module being carried out to security setting.
4. a local device control device, is characterized in that, this device comprises:
First acquisition module, for the executable program file that the operation obtained with object module is carried out to security setting is corresponding;
Replacement module, replaces the local original program file corresponding with described executable program file stored for utilizing described executable program file;
Run module, for running described executable program file.
5. device according to claim 4, is characterized in that, described first acquisition module comprises:
There is provided module, for providing equipment control operation interface, described interface has the mark being used to indicate equipment control operation;
Second acquisition module, for obtaining the instruction that user selects to identify, described instruction comprises user carries out security setting operation information to object module;
Generation module, for generating the executable program file corresponding with described operation information.
6. device according to claim 4, is characterized in that, described first acquisition module comprises:
Receiver module, for receive remote terminal send, the executable program file corresponding with operation object module being carried out to security setting.
7. a Remote Device Control method, is characterized in that, the method comprises:
Obtain the instruction that local device object module is operated;
Select the executable program file corresponding with described instruction;
Send described executable program file to local device, and replace the original program file corresponding with described executable program file that local device stores.
8. method according to claim 7, is characterized in that, the described executable program file of described transmission to local device, and replaces the original program file corresponding with described executable program file that local device stores, and comprising:
Transmitting time is preset in setting;
According to described default transmitting time, described in timed sending, executable program file is to local device, and replaces the original program file corresponding with described executable program file that local device stores.
9. a Remote Device Control device, is characterized in that, this device comprises:
Acquisition module, for obtaining the instruction operated local device object module;
Select module, for selecting the executable program file corresponding with described instruction;
Sending module, for sending described executable program file to local device, and replaces the original program file corresponding with described executable program file that local device stores.
10. device according to claim 9, is characterized in that, described sending module comprises:
Setting module, for setting default transmitting time;
Send submodule, for according to described default transmitting time, described in timed sending, executable program file is to local device, and replaces the original program file corresponding with described executable program file that local device stores.
CN201510415161.1A 2015-07-15 2015-07-15 Control method and device for local and remote equipment Pending CN105094819A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510415161.1A CN105094819A (en) 2015-07-15 2015-07-15 Control method and device for local and remote equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510415161.1A CN105094819A (en) 2015-07-15 2015-07-15 Control method and device for local and remote equipment

Publications (1)

Publication Number Publication Date
CN105094819A true CN105094819A (en) 2015-11-25

Family

ID=54575347

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510415161.1A Pending CN105094819A (en) 2015-07-15 2015-07-15 Control method and device for local and remote equipment

Country Status (1)

Country Link
CN (1) CN105094819A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105975335A (en) * 2016-04-28 2016-09-28 乐视控股(北京)有限公司 Program exception recovery method and device
CN112070946A (en) * 2020-09-02 2020-12-11 平安信托有限责任公司 Gate-based social application program control method, device, equipment and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103488481A (en) * 2013-09-11 2014-01-01 华为技术有限公司 Application program control method, terminal equipment and remote control system
CN103503494A (en) * 2011-03-09 2014-01-08 埃塞特科学有限责任公司 Systems and methods for modifying content of mobile communication devices
CN103577747A (en) * 2013-10-16 2014-02-12 北京奇虎科技有限公司 Mobile equipment privacy protection device and method
CN103676911A (en) * 2013-12-25 2014-03-26 上海寰创通信科技股份有限公司 Equipment control system and control method
CN104537311A (en) * 2015-01-20 2015-04-22 宇龙计算机通信科技(深圳)有限公司 Terminal system control method and device, and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103503494A (en) * 2011-03-09 2014-01-08 埃塞特科学有限责任公司 Systems and methods for modifying content of mobile communication devices
CN103488481A (en) * 2013-09-11 2014-01-01 华为技术有限公司 Application program control method, terminal equipment and remote control system
CN103577747A (en) * 2013-10-16 2014-02-12 北京奇虎科技有限公司 Mobile equipment privacy protection device and method
CN103676911A (en) * 2013-12-25 2014-03-26 上海寰创通信科技股份有限公司 Equipment control system and control method
CN104537311A (en) * 2015-01-20 2015-04-22 宇龙计算机通信科技(深圳)有限公司 Terminal system control method and device, and terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105975335A (en) * 2016-04-28 2016-09-28 乐视控股(北京)有限公司 Program exception recovery method and device
CN112070946A (en) * 2020-09-02 2020-12-11 平安信托有限责任公司 Gate-based social application program control method, device, equipment and medium

Similar Documents

Publication Publication Date Title
CN109361638B (en) Method, system and storage medium for sharing control authority of intelligent device
CN102200922B (en) Application program installation method and terminal
CN102752369B (en) The supplying method of TV applications service and virtual content service platform
US20090063179A1 (en) System and method for customizing user interfaces of electronic devices
CN105554736A (en) System, apparatus, and method for dynamically configuring application access point settings
CN106469071B (en) Application theme changing method and device
CN105338011A (en) Cloud-service-based system configuration method and apparatus, and cloud server
CN101557584A (en) Method for realizing application authority control of mobile terminal and device
CN108664799B (en) Permission setting method and device for equipment management application
CN106445309A (en) Display method and device of application download entry
CN111367506B (en) Data generation method, data generation device, storage medium and electronic device
CN108646577B (en) Client operation management method and client
CN110059472A (en) Menu authority configuring method, device, equipment and readable storage medium storing program for executing
CN103457964A (en) Synchronization method and electronic equipment
CN103312881A (en) Mobile terminal state control method, device, system and mobile terminal
CN107092507B (en) Application program skin changing method, device and system
CN105094819A (en) Control method and device for local and remote equipment
CN105357385A (en) Multiple APP profile management method and terminal
CN104243568A (en) Data traffic sharing method and device
CN112463169B (en) File processing method and device based on online working system and storage medium
CN107786367B (en) Virtual network element configuration method and device
CN106527979B (en) Data migration method and device
CN103677865A (en) Method and device for replacing wallpaper
CN111367561A (en) Software program remote development method and device
KR20110118324A (en) Smart phone application install system and its method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20151125

RJ01 Rejection of invention patent application after publication