CN110298166A - Control method, terminal device and the commissioning device of operating system debugging permission - Google Patents

Control method, terminal device and the commissioning device of operating system debugging permission Download PDF

Info

Publication number
CN110298166A
CN110298166A CN201910510587.3A CN201910510587A CN110298166A CN 110298166 A CN110298166 A CN 110298166A CN 201910510587 A CN201910510587 A CN 201910510587A CN 110298166 A CN110298166 A CN 110298166A
Authority
CN
China
Prior art keywords
terminal device
operating system
password
commissioning
debugging
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
CN201910510587.3A
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.)
Deep Blue Technology Shanghai Co Ltd
Original Assignee
Deep Blue Technology Shanghai 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 Deep Blue Technology Shanghai Co Ltd filed Critical Deep Blue Technology Shanghai Co Ltd
Priority to CN201910510587.3A priority Critical patent/CN110298166A/en
Publication of CN110298166A publication Critical patent/CN110298166A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/44Program or device authentication
    • G06F21/445Program or device authentication by mutual authentication, e.g. between devices or programs

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Testing And Monitoring For Control Systems (AREA)

Abstract

The invention discloses control method, terminal device and the commissioning devices of a kind of operating system debugging permission, this method comprises: terminal device receives the first password that commissioning device is sent;Terminal device determines whether first password and the second password built in terminal device are consistent;If first password is consistent with the second password, the debugging permission of the operating system for the equipment that opens a terminal.In this way, whether terminal device can consistent by the first password and the second built-in password that determine commissioning device transmission, come the debugging permission of the operating system for the equipment that opens a terminal, improves the debugging efficiency of the operating system of terminal device.

Description

Control method, terminal device and the commissioning device of operating system debugging permission
Technical field
The present invention relates to terminal device technical field, espespecially a kind of control method, the terminal of operating system debugging permission are set Standby and commissioning device.
Background technique
Android (Android) is the operating system of a kind of freedom based on Linux and open source code, is mainly used for end End equipment, such as smart phone and tablet computer.For the operational safety of Android system, terminal device is in listing, Android system Debugging permission be close.Therefore, when user or developer have found the Android system existing defects of some terminal device Or when breaking down, the Android system of the terminal device can not be debugged, so that debugging efforts are restricted.
Summary of the invention
The embodiment of the present invention provides control method, terminal device and the commissioning device of a kind of operating system debugging permission, uses To improve the debugging efficiency of the operating system of terminal device.
In a first aspect, the embodiment of the present invention provides a kind of control method of operating system debugging permission, set applied to terminal It is standby, which comprises
The terminal device receives the first password that commissioning device is sent;
The terminal device determines whether the first password and the second password built in the terminal device are consistent;
If the first password is consistent with second password, the debugging power of the operating system of the terminal device is opened Limit.
Optionally, the method also includes:
When the terminal device determination meets preset condition, the debugging permission of the operating system is closed.
Optionally, the preset condition includes:
The terminal device receives the second prompt information that the commissioning device is sent;Second prompt information is used for Prompt the commissioning device that the debugging to the operating system is completed;
And/or
The terminal device determines that the opening duration of the debugging permission reaches preset duration.
Optionally, before the first password that the terminal device receives that commissioning device is sent, the terminal device is opened The function of the debugging permission of the operating system is disabled.
Optionally, before the first password that the terminal device receives that commissioning device is sent, the method also includes:
The terminal device sends solicited message to the commissioning device;The solicited message is for requesting to the operation System is debugged.
Optionally, after the terminal device opens the debugging permission of the operating system, the method also includes:
The terminal device sends the first prompt information to the commissioning device, and first prompt information is for prompting institute The debugging permission for stating operating system described in commissioning device has been opened.
Optionally, the terminal device encrypts second password.
Second aspect, the embodiment of the present invention provide a kind of control method of operating system debugging permission, set applied to debugging It is standby, which comprises
The commissioning device sends first password to terminal device;
After the commissioning device determines that the debugging permission of the operating system of the terminal device is opened, the operation is read The running log information of system;
The commissioning device modifies the operating system according to the running log information, to solve the operating system Operation troubles.
Optionally, before commissioning device sends first password to terminal device, the method also includes:
The commissioning device receives the solicited message that the terminal device is sent;The solicited message is for requesting to described The operation information of terminal device is debugged.
Optionally, before the commissioning device reads the running log information of the operation information, the method is also wrapped It includes:
The commissioning device receives the first prompt information that the terminal device is sent, and first prompt information is for mentioning Show that the debugging permission of operating system described in the commissioning device has been opened.
Optionally, the commissioning device encrypts the first password.
The third aspect, the embodiment of the present invention provide a kind of terminal device, comprising:
Receiving unit, for receiving the first password of commissioning device transmission;
Processing unit, for determining whether the first password and the second password built in the terminal device are consistent;
The processing unit is also used to open the terminal device when determining that first password is consistent with second password Operating system debugging permission.
Optionally, the processing unit is also used to:
When determination meets preset condition, the debugging permission of the operating system is closed.
Optionally, the preset condition includes:
The receiving unit receives the second prompt information that the commissioning device is sent;Second prompt information is used for Prompt the commissioning device that the debugging to the operating system is completed;
And/or
The processing unit determines that the opening duration of the debugging permission reaches preset duration.
Optionally, before the first password that the receiving unit is used to receive commissioning device transmission, the terminal device The function of opening the debugging permission of the operating system is disabled.
Optionally, the terminal device further includes transmission unit;The transmission unit is specifically used for:
Solicited message is sent to the commissioning device;The solicited message adjusts the operating system for requesting Examination.
Optionally, after the processing unit is used to open the debugging permission of the operating system, the transmission unit It is also used to:
The first prompt information is sent to the commissioning device, first prompt information is for prompting the commissioning device institute The debugging permission for stating operating system has been opened.
Optionally, the processing unit is also used to encrypt second password.
Fourth aspect, the embodiment of the present invention provide a kind of commissioning device, comprising:
Transmission unit, for sending first password to terminal device;
Processing unit reads the operation when for determining that the debugging permission of operating system of the terminal device is opened The running log information of system;
The processing unit is also used to modify the operating system according to the running log information, to solve the operation The operation troubles of system.
Optionally, the commissioning device further includes receiving unit;The receiving unit is specifically used for:
Receive the solicited message that the terminal device is sent;The solicited message is used to request the behaviour to the terminal device It is debugged as information.
Optionally, before the processing unit is used to read the running log information of the operation information, the reception Unit is also used to:
The first prompt information that the terminal device is sent is received, first prompt information is for prompting the operation The debugging permission of system has been opened.
Optionally, the processing unit is also used to encrypt the first password.
5th aspect, the embodiment of the present invention provide a kind of terminal device, comprising:
Receiver, for receiving the first password of commissioning device transmission;
Processor, for determining whether the first password and the second password built in the terminal device are consistent;
The processor is also used to open the terminal device when determining that first password is consistent with second password The debugging permission of operating system.
Optionally, the processor is also used to:
When determination meets preset condition, the debugging permission of the operating system is closed.
Optionally, the preset condition includes:
The receiver receives the second prompt information that the commissioning device is sent;Second prompt information is for mentioning Show that the debugging to the operating system is completed in the commissioning device;
And/or
The processor determines that the opening duration of the debugging permission reaches preset duration.
Optionally, before the first password that the receiver is used to receive commissioning device transmission, the terminal device is beaten The function of opening the debugging permission of the operating system is disabled.
Optionally, the terminal device further includes transmitter;The transmitter is specifically used for:
Solicited message is sent to the commissioning device;The solicited message adjusts the operating system for requesting Examination.
Optionally, after the processor is used to open the debugging permission of the operating system, the transmitter is also used In:
The first prompt information is sent to the commissioning device, first prompt information is for prompting the commissioning device institute The debugging permission for stating operating system has been opened.
Optionally, the processor is also used to encrypt second password.
6th aspect, the embodiment of the present invention provide a kind of commissioning device, comprising:
Transmitter, for sending first password to terminal device;
Processor when for determining that the debugging permission of operating system of the terminal device is opened, reads the operation system The running log information of system;
The processor is also used to modify the operating system according to the running log information, to solve the operation system The operation troubles of system.
Optionally, the commissioning device further includes receiver;The receiver is specifically used for:
Receive the solicited message that the terminal device is sent;The solicited message is used to request the behaviour to the terminal device It is debugged as information.
Optionally, before the processor is used to read the running log information of the operation information, the receiver It is also used to:
The first prompt information that the terminal device is sent is received, first prompt information is for prompting the operation The debugging permission of system has been opened.
Optionally, the processor is also used to encrypt the first password.
7th aspect, the embodiment of the present invention provide a kind of computer readable storage medium, the computer-readable storage medium Matter is stored with computer program, and the computer program includes program instruction, and described program instructs when executed by a computer, makes The method that the computer executes any one possible design of first aspect or above-mentioned first aspect, and/or execute second The method of the possible design of any one of aspect or above-mentioned second aspect.
The present invention has the beneficial effect that:
In the technical solution of the embodiment of the present invention, terminal device receives the first password that commissioning device is sent;Terminal device Determine whether first password and the second password built in terminal device are consistent;If first password is consistent with the second password, open eventually The debugging permission of the operating system of end equipment.In this way, terminal device can be sent by determining commissioning device the Whether one password and the second built-in password are consistent, come the debugging permission of the operating system for the equipment that opens a terminal, improve terminal The debugging efficiency of the operating system of equipment.
Detailed description of the invention
Fig. 1 is a kind of flow diagram in the production life cycle stage of terminal device provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic diagram of application scenarios provided in an embodiment of the present invention;
Fig. 3 is the flow diagram for the control method that a kind of operating system provided in an embodiment of the present invention debugs permission;
Fig. 4 is a kind of structural schematic diagram of terminal device provided in an embodiment of the present invention;
Fig. 5 is a kind of structural schematic diagram of commissioning device provided in an embodiment of the present invention;
Fig. 6 is the structural schematic diagram of another terminal device provided in an embodiment of the present invention;
Fig. 7 is the structural schematic diagram of another commissioning device provided in an embodiment of the present invention.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention make into It is described in detail to one step, it is clear that the described embodiment is only a part of the embodiment of the present invention, instead of all the embodiments. Based on the embodiments of the present invention, obtained by those of ordinary skill in the art without making creative efforts all Other embodiments shall fall within the protection scope of the present invention.
The shapes and sizes of each component do not reflect actual proportions in attached drawing, and purpose is schematically illustrate the content of present invention.
Understanding in order to facilitate those skilled in the art to the embodiment of the present invention, below to terminal device 4 product weeks How the debugging permission of its operating system of stage phase, which is opened, is described.It please refers to shown in Fig. 1, is provided in an embodiment of the present invention A kind of flow diagram in the production life cycle stage of terminal device.As shown in Figure 1, the production life cycle of terminal device includes research and development rank Section, production test stage, listing launch phase, this 4 stages in after-sales service stage.
Optionally, before the after-sales service stage of terminal device, Adb can be stored in advance in the memory of terminal device Disable mark, terminal device can by the value of setting Adb disable mark come the debugging permission of opening operation system, Or the value of Adb disable mark is set come the debugging permission of opening operation system by commissioning device.For example, in research and development rank The value for setting Adb disable mark can be set as 1 by section, commissioning device.When terminal device detects that Adb disable is marked When the value of will is set as 1, the debugging permission of terminal device opening operation system.It is weighed in the debugging of terminal device opening operation system After limit, commissioning device can be debugged the operating system of terminal device, for example increase the application of operating system, or starting Or stop a process, user is deleted or increases, increase or disable hardware etc..In the production test stage, terminal device is beaten The debugging permission for opening operating system is similar to the above or identical, does not repeat to repeat herein.
Optionally, in the listing launch phase of terminal device, for the operational safety of the operating system of terminal device, production The Adb disable stored in the memory of terminal device the value indicated is set as 0 by quotient, closes the operating system of terminal device Debugging permission.
It should be noted that Adb disable cannot be indicated again after the value of Adb disable mark is set as 0 Value be set as 1 come the operating system for the equipment that opens a terminal.In this way, terminal device can have further been ensured The operational safety of operating system.
Optionally, since in listing launch phase, the debugging permission of the operating system of terminal device is to close, therefore, In the after-sales service stage later, when user or developer's discovery operating system existing defects or failure, Can not opening operation system debugging permission, influence the debugging efficiency of the operating system of terminal device.
To solve the above-mentioned problems, the control method of a kind of operating system debugging permission provided in an embodiment of the present invention, is used In the after-sales service stage in terminal device, the debugging efficiency of the operating system of terminal device is improved.
The application scenarios of the control method of operating system debugging permission are described below.
It please refers to shown in Fig. 2, is a kind of schematic diagram of application scenarios provided in an embodiment of the present invention.As shown in Fig. 2, this is answered It include terminal device 201 and commissioning device 202 with scene.Terminal device 201 can be smart phone and tablet computer etc., this Inventive embodiments do not limit terminal device 201 specifically.Commissioning device 202 can be with smart phone, tablet computer, desktop Brain, laptop etc., the embodiment of the present invention do not limit commissioning device 202 specifically.
Optionally, in the after-sales service stage of terminal device, when user or developer have found terminal device 201 Operating system existing defects need to improve operating system or break down when needing to solve failure, need the equipment that opens a terminal The debugging permission of 201 operating system.The process of debugging permission about 201 opening operation system of terminal device will be situated between later It continues.
Optionally, the operating system of terminal device 201 can be Android system, is also possible to IOS system, can also be not The other operating systems come, the embodiment of the present invention do not limit the operating system of terminal device 201 specifically.
It optionally, can be with after commissioning device 202 knows that the debugging permission of the operating system of terminal device 201 has been opened The operating system of terminal device 201 is debugged, reads the running log information of the operating system, and according to the operating system Running log information modify the operating system, so as to improve the operating system or solve the failure of the operating system.
Optionally, there are many connection types of terminal device 201 and commissioning device 202.Such as:
Mode 1: terminal device 201 is connect by USB data line with commissioning device 202.
Mode 2: terminal device 201 is connected by wireless network (such as WiFi, mobile hot spot, bluetooth etc.) with commissioning device 202 It connects.
Mode 3: terminal device 201 is connect by intermediate equipments such as servers with commissioning device 202.
The embodiment of the present invention does not limit terminal device 201 and the connection type of commissioning device 202 specifically.
Lower mask body introduction how to open a terminal equipment 201 operating system debugging permission.
It please refers to shown in Fig. 3, for a kind of stream of the control method of operating system debugging permission provided in an embodiment of the present invention Journey schematic diagram.This method can be applied in above-mentioned application scenarios shown in Fig. 2 or similar application scenarios.As shown in figure 3, This method process includes:
S301, terminal device send solicited message to commissioning device, which carries out operating system for requesting Debugging.
Optionally, due in the after-sales service stage of terminal device, the debugging permission of terminal device opening operation system Function it is disabled, so, when the operating system existing defects of terminal device need to improve operating system or break down need When solving failure, terminal device can to commissioning device send solicited message, solicited message for request to operating system into Row debugging.
Optionally, the process that can also establish connection including terminal device and commissioning device before S301, establishes connection Process above it has been described that journey, does not repeat to repeat herein.
S302, commissioning device send first password to terminal device.
Optionally, when the solicited message that commissioning device receiving terminal apparatus is sent, commissioning device is sent to terminal device First password.Wherein, which is used to trigger the debugging permission of the operating system for the equipment that opens a terminal.
Optionally, the safety of the transmission process of first password is sent to terminal device for commissioning device, commissioning device can Can be encrypted to first password before sending first password to terminal device.Wherein, commissioning device can be using public affairs The cipher modes such as key or private key encrypt first password.
It should be noted that be in the embodiment of the present invention with commissioning device receive terminal device send solicited message after It is certainly, main after commissioning device can also establish connection detecting terminal device for sending first password to terminal device Trend terminal device sends first password, and the embodiment of the present invention does not limit.
S303, terminal device determine whether first password and the second password built in terminal device are consistent, if unanimously, holding Row S304;If inconsistent, terminal device is not responding to first password, or abandons first password.
Optionally, in order to which the second password built in terminal device is not easy to be cracked, the operating system of terminal device is ensured Operational safety, terminal device can encrypt the second password using cipher modes such as public key or private keys.
Optionally, when terminal device connect determining first password it is consistent with the second password when, the operation system for the equipment that opens a terminal The debugging permission of system.If terminal device connects determining first password and the second password is inconsistent, the tune of the operating system of terminal device Examination permission can not be opened.In this way, the debugging permission of the operating system for the equipment that can neatly open a terminal.
The debugging permission of S304, terminal device opening operation system.
Optionally, the mode of the debugging permission of the operating system for the equipment that opens a terminal can there are many.For example, terminal device When determining that first password is consistent with the second password, automatic trigger is used to manage the first control of the debugging permission of operating system, Carry out the debugging permission of opening operation system.For another example, terminal device works as terminal when determining that first password is consistent with the second password When equipment detects the first control of the debugging permission of commissioning device trigger action system, the tune of terminal device opening operation system Try permission.The embodiment of the present invention does not limit the mode of the debugging permission of the operating system for the equipment that opens a terminal, as long as can open The debugging permission of the operating system of terminal device.
S305, terminal device send the first prompt information to commissioning device, and first prompt information is for prompting debugging to set The debugging permission of standby operating system has been opened.
Optionally, when the permission of the operating system of terminal device is opened, terminal device can send the to commissioning device One prompt information, for prompting the debugging permission of commissioning device operating system to open, so that commissioning device starts to set terminal Standby operating system is debugged.
The running log information of S306, commissioning device read operation system, the log information is for recording in operating system The event occurred in hardware, the information of software and system problem and monitoring operating system.
Optionally, when the first prompt information that commissioning device receiving terminal apparatus is sent, commissioning device starts to terminal The operating system of equipment is debugged, the running log information of read operation system.Wherein, the running log of read operation system There are many modes of information.For example, terminal device, after sending the first prompt information to commissioning device, device end can be certainly The running log information of operating system dynamicly is sent to commissioning device, commissioning device reads the running log information received, Either, the operating system of the accessible terminal device of commissioning device, thus the running log information of read operation system.
Optionally, commissioning device can check at the defect place of operating system according to running log information or occur event The reason of barrier, modifies the operating system so as to find out solution, to solve the operation troubles of the operating system, or Upgrade the operating system.
The second prompt information that S307, commissioning device are sent to terminal device, the prompt information is for prompting commissioning device The debugging to operating system is completed.
Optionally, when commissioning device is completed to the debugging of the operating system of terminal device, commissioning device is to terminal device Send the second prompt information.Wherein, the second prompt information is for prompting commissioning device that the debugging to operating system is completed.
The debugging permission of S308, terminal device shutoff operation system.
Optionally, when terminal device, which determines, meets preset condition, terminal device can be with the tune of automatic trigger operating system The second control for trying permission, carrys out the debugging permission of shutoff operation system.
Optionally, after the debugging permission of terminal device shutoff operation system, terminal device can delete first password, When then terminal device is again started up, the functional status of the debugging permission of disabling opening operation system can be restored to.
Optionally, preset condition has multiple.Such as:
Condition 1, when terminal device receives the second prompt information of commissioning device transmission, terminal device determines that debugging is set The standby debugging being completed to operating system, terminal device can be closed with the second control of the debugging permission of automatic trigger operating system The debugging permission of operating system.
Condition 2, when terminal device determines that the opening duration of debugging permission reaches preset duration (such as 30 minutes, 1 hour Deng), for terminal device for the operational safety of operating system, terminal device can be with automatic trigger for managing the debugging of operating system Second control of permission carrys out the debugging permission of shutoff operation system.
Certainly, terminal device can also carry out the debugging permission of shutoff operation system with conjugation condition 1 and condition 2.For example, when adjusting The opening duration of examination permission is not up to preset duration, but when terminal device receives the second prompt information of commissioning device transmission, Terminal device can be with the debugging permission of automatic trigger the second control shutoff operation system.For another example, when debugging the opening of permission It is long to have reached preset duration, but when terminal device does not receive the second prompt information of commissioning device transmission also, terminal device from The debugging permission of the second control shutoff operation system of dynamic triggering.
It should be noted that above-mentioned is to be with the debugging permission of terminal device automatic trigger the second control shutoff operation system Example, certainly, terminal device can also be when detecting that commissioning device triggers the second control, the debugging permission of shutoff operation system. The embodiment of the present invention does not limit the mode of the debugging permission of shutoff operation system specifically.
It should be noted that the first control and the second control can be the same control, it is also possible to different controls, this Inventive embodiments do not limit.
It should be noted that part steps can not execute in Fig. 3.For example, one in step S301, S305, S307 Or multiple steps can not execute.For example, being detected in commissioning device when not executing step S301 and establishing company with terminal device When connecing relationship, commissioning device can send first password to terminal device immediately.
By foregoing teachings description it is found that terminal device receives the first password that commissioning device is sent;Terminal device determines Whether one password and the second password built in terminal device are consistent;If first password is consistent with the second password, open a terminal equipment Operating system debugging permission.In this way, the first password that terminal device can be sent by determining commissioning device It is whether consistent with the second built-in password, come the debugging permission of the operating system for the equipment that opens a terminal, improve terminal device The debugging efficiency of operating system.
Under based on the same inventive concept, the embodiment of the invention provides a kind of terminal devices.It please refers to shown in Fig. 4, for this A kind of structural schematic diagram for terminal device that inventive embodiments provide.
As shown in figure 4, terminal device 400 includes:
Receiving unit 401, for receiving the first password of the transmission of commissioning device 500;
Processing unit 402, for determining whether first password and the second password built in terminal device 400 are consistent;
Processing unit 402 is also used to open a terminal when determining that first password is consistent with the second password the operation of equipment 400 The debugging permission of system.
Optionally, processing unit 402 is also used to:
When determination meets preset condition, the debugging permission of shutoff operation system.
Optionally, preset condition includes:
Receiving unit 401 receives the second prompt information of the transmission of commissioning device 500;Second prompt information is adjusted for prompting The debugging to operating system is completed in examination equipment 500;
And/or
Processing unit 402 determines that the opening duration of debugging permission reaches preset duration.
Optionally, before the first password that receiving unit 401 is used to receive the transmission of commissioning device 500, terminal device 400 The function of the debugging permission of opening operation system is disabled.
Optionally, terminal device 400 further includes transmission unit (being not shown in Fig. 4);Transmission unit is specifically used for:
Solicited message is sent to commissioning device 500;Solicited message debugs operating system for requesting.
Optionally, after processing unit 402 is used to open the debugging permission of operating system, transmission unit is also used to:
The first prompt information is sent to commissioning device 500, the first prompt information is for prompting 500 operating system of commissioning device Debugging permission opened.
Optionally, processing unit 402 is also used to encrypt the second password.
The control method of terminal device 400 and aforementioned operating system debugging permission shown in Fig. 3 in the present embodiment is base Invention under same design passes through the detailed description of the aforementioned control method that permission is debugged to operating system, art technology Personnel can be apparent from the implementation process of terminal device 400 in the present embodiment, so in order to illustrate the succinct of book, herein not It repeats again.
Under based on the same inventive concept, the embodiment of the invention provides a kind of commissioning devices.It please refers to shown in Fig. 5, for this A kind of structural schematic diagram for commissioning device that inventive embodiments provide.
As shown in figure 5, commissioning device 500 includes:
Transmission unit 501, for sending first password to terminal device 400;
Processing unit 502, when for determining that the debugging permission of operating system of terminal device 400 is opened, read operation system The running log information of system;
Processing unit 502 is also used to modify operating system according to running log information, to solve the operation event of operating system Barrier.
Optionally, commissioning device 500 further includes receiving unit (being not shown in Fig. 5);Receiving unit is specifically used for:
The solicited message that receiving terminal apparatus 400 is sent;Solicited message is used to request the operation information to terminal device 400 It is debugged.
Optionally, before the running log information in processing unit 502 for read operation information, receiving unit is also used In:
The first prompt information that receiving terminal apparatus 400 is sent, the first prompt information are used to prompt the debugging of operating system Permission has been opened.
Optionally, processing unit 502 is also used to encrypt first password.
The control method of commissioning device 500 and aforementioned operating system debugging permission shown in Fig. 3 in the present embodiment is base Invention under same design passes through the detailed description of the aforementioned control method that permission is debugged to operating system, art technology Personnel can be apparent from the implementation process of commissioning device 500 in the present embodiment, so in order to illustrate the succinct of book, herein not It repeats again.
Under based on the same inventive concept, the embodiment of the invention provides another terminal devices.It please refers to shown in Fig. 6, is The structural schematic diagram of another kind terminal device provided in an embodiment of the present invention.
As shown in fig. 6, terminal device 600 includes:
Receiver 601, for receiving the first password of the transmission of commissioning device 700;
Processor 602, for determining whether first password and the second password built in terminal device 600 are consistent;
Processor 602 is also used to open a terminal when determining that first password is consistent with the second password the operation system of equipment 600 The debugging permission of system.
Optionally, receiver 601 can be wireless receiver or Bluetooth Receiver.Processor 602 can be in general Central processor (Central Processing Unit, CPU) or application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), it can be one or more for controlling the integrated circuit of program execution.
Optionally, processor 602 is also used to:
When determination meets preset condition, the debugging permission of shutoff operation system.
Optionally, preset condition includes:
Receiver 601 receives the second prompt information of the transmission of commissioning device 700;Second prompt information is for prompting debugging The debugging to operating system is completed in equipment 700;
And/or
Processor 602 determines that the opening duration of debugging permission reaches preset duration.
Optionally, before the first password that receiver 601 is used to receive the transmission of commissioning device 700, terminal device 600 is beaten The function of opening the debugging permission of operating system is disabled.
Optionally, terminal device 600 further includes transmitter (being not shown in Fig. 6), transmitter can be radio transmitter or Bluetooth transmitters.
Optionally, transmitter is specifically used for:
Solicited message is sent to commissioning device 700;Solicited message debugs operating system for requesting.
Optionally, after processor 602 is used to open the debugging permission of operating system, transmitter is also used to:
The first prompt information is sent to commissioning device 700, the first prompt information is for prompting 700 operating system of commissioning device Debugging permission opened.
Optionally, processor 602 is also used to encrypt the second password.
The control method of terminal device 600 and aforementioned operating system debugging permission shown in Fig. 3 in the present embodiment is base Invention under same design passes through the detailed description of the aforementioned control method that permission is debugged to operating system, art technology Personnel can be apparent from the implementation process of terminal device 600 in the present embodiment, so in order to illustrate the succinct of book, herein not It repeats again.
Under based on the same inventive concept, the embodiment of the invention provides another commissioning devices.It please refers to shown in Fig. 7, is The structural schematic diagram of another kind commissioning device provided in an embodiment of the present invention.
As shown in fig. 7, commissioning device 700 includes:
Transmitter 701, for sending first password to terminal device 600;
Processor 702, when for determining that the debugging permission of operating system of terminal device 600 is opened, read operation system Running log information;
Processor 702 is also used to modify operating system according to running log information, to solve the operation troubles of operating system.
Optionally, transmitter 701 can be radio transmitter or bluetooth transmitters.Processor 702 can be in general Central processor (Central Processing Unit, CPU) or application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), it can be one or more for controlling the integrated circuit of program execution.
Optionally, commissioning device 700 further includes receiver (being not shown in Fig. 7);Receiver can be wireless receiver or Bluetooth Receiver.
Optionally, receiver is specifically used for:
The solicited message that receiving terminal apparatus 600 is sent;Solicited message is used to request the operation information to terminal device 600 It is debugged.
Optionally, it before the running log information in processor 702 for read operation information, receives utensil and is also used to:
The first prompt information that receiving terminal apparatus 600 is sent, the first prompt information are used to prompt the debugging of operating system Permission has been opened.
Optionally, processor 702 is also used to encrypt first password.
The control method of commissioning device 700 and aforementioned operating system debugging permission shown in Fig. 3 in the present embodiment is base Invention under same design passes through the detailed description of the aforementioned control method that permission is debugged to operating system, art technology Personnel can be apparent from the implementation process of commissioning device 700 in the present embodiment, so in order to illustrate the succinct of book, herein not It repeats again.
Under based on the same inventive concept, the embodiment of the invention provides a kind of computer readable storage mediums.Optionally, it counts Calculation machine readable storage medium storing program for executing has a computer program, and computer program includes program instruction, program instruction when executed by a computer, The step of making computer execute the control method of aforesaid operations system debug permission.By in this present embodiment computer program with The control method of aforementioned operating system debugging permission shown in Fig. 3 is based on the invention under same design, by aforementioned to operation The detailed description of the control method of system debug permission, those skilled in the art can be apparent from computer in the present embodiment The implementation process of program, so details are not described herein in order to illustrate the succinct of book.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (23)

1. a kind of control method of operating system debugging permission, is applied to terminal device, which is characterized in that the described method includes:
The terminal device receives the first password that commissioning device is sent;
The terminal device determines whether the first password and the second password built in the terminal device are consistent;
If the first password is consistent with second password, the debugging permission of the operating system of the terminal device is opened.
2. the method as described in claim 1, which is characterized in that the method also includes:
When the terminal device determination meets preset condition, the debugging permission of the operating system is closed.
3. method according to claim 2, which is characterized in that the preset condition includes:
The terminal device receives the second prompt information that the commissioning device is sent;Second prompt information is for prompting The debugging to the operating system is completed in the commissioning device;
And/or
The terminal device determines that the opening duration of the debugging permission reaches preset duration.
4. method a method according to any one of claims 1-3, which is characterized in that receive what commissioning device was sent in the terminal device Before first password, the function that the terminal device opens the debugging permission of the operating system is disabled.
5. method a method according to any one of claims 1-3, which is characterized in that receive what commissioning device was sent in the terminal device Before first password, the method also includes:
The terminal device sends solicited message to the commissioning device;The solicited message is for requesting to the operating system It is debugged.
6. method a method according to any one of claims 1-3, which is characterized in that open the operating system in the terminal device After debugging permission, the method also includes:
The terminal device sends the first prompt information to the commissioning device, and first prompt information is for prompting the tune The debugging permission of operating system described in examination equipment has been opened.
7. method a method according to any one of claims 1-3, which is characterized in that the terminal device adds second password It is close.
8. a kind of control method of operating system debugging permission, is applied to commissioning device, which is characterized in that the described method includes:
The commissioning device sends first password to terminal device;
After the commissioning device determines that the debugging permission of the operating system of the terminal device is opened, the operating system is read Running log information;
The commissioning device modifies the operating system according to the running log information, to solve the operation of the operating system Failure.
9. method according to claim 8, which is characterized in that before commissioning device sends first password to terminal device, The method also includes:
The commissioning device receives the solicited message that the terminal device is sent;The solicited message is for requesting to the terminal The operation information of equipment is debugged.
10. method as claimed in claim 8 or 9, which is characterized in that read the fortune of the operation information in the commissioning device Before row log information, the method also includes:
The commissioning device receives the first prompt information that the terminal device is sent, and first prompt information is for prompting institute The debugging permission for stating operating system described in commissioning device has been opened.
11. method as claimed in claim 8 or 9, which is characterized in that the commissioning device adds the first password It is close.
12. a kind of terminal device characterized by comprising
Receiving unit, for receiving the first password of commissioning device transmission;
Processing unit, for determining whether the first password and the second password built in the terminal device are consistent;
The processing unit is also used to open the behaviour of the terminal device when determining that first password is consistent with second password Make the debugging permission of system.
13. terminal device as claimed in claim 12, which is characterized in that the processing unit is also used to:
When determination meets preset condition, the debugging permission of the operating system is closed.
14. terminal device as claimed in claim 13, which is characterized in that the preset condition includes:
The receiving unit receives the second prompt information that the commissioning device is sent;Second prompt information is for prompting The debugging to the operating system is completed in the commissioning device;
And/or
The processing unit determines that the opening duration of the debugging permission reaches preset duration.
15. the terminal device as described in claim 12-14 is any, which is characterized in that adjusted in the receiving unit for receiving Before trying the first password that equipment is sent, the function that the terminal device opens the debugging permission of the operating system is disabled.
16. the terminal device as described in claim 12-14 is any, which is characterized in that the terminal device further includes sending list Member;The transmission unit is specifically used for:
Solicited message is sent to the commissioning device;The solicited message debugs the operating system for requesting.
17. the terminal device as described in claim 12-14 is any, which is characterized in that be used to open institute in the processing unit After the debugging permission for stating operating system, the transmission unit is also used to:
The first prompt information is sent to the commissioning device, first prompt information is for prompting behaviour described in the commissioning device The debugging permission for making system has been opened.
18. the terminal device as described in claim 12-14 is any, which is characterized in that the processing unit is also used to described Second password is encrypted.
19. a kind of commissioning device characterized by comprising
Transmission unit, for sending first password to terminal device;
Processing unit reads the operating system when for determining that the debugging permission of operating system of the terminal device is opened Running log information;
The processing unit is also used to modify the operating system according to the running log information, to solve the operating system Operation troubles.
20. commissioning device as claimed in claim 19, which is characterized in that the commissioning device further includes receiving unit;It is described Receiving unit is specifically used for:
Receive the solicited message that the terminal device is sent;The solicited message is for requesting the operation to the terminal device to be believed Breath is debugged.
21. the commissioning device as described in claim 19 or 20, which is characterized in that in the processing unit for reading the behaviour Before making the running log information of information, the receiving unit is also used to:
The first prompt information that the terminal device is sent is received, first prompt information is for prompting the operating system Debugging permission has been opened.
22. the commissioning device as described in claim 19 or 20, which is characterized in that the processing unit is also used to described first Password is encrypted.
23. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has computer journey Sequence, the computer program include program instruction, and described program instructs when executed by a computer, execute the computer such as Any method in claim 1-11.
CN201910510587.3A 2019-06-13 2019-06-13 Control method, terminal device and the commissioning device of operating system debugging permission Pending CN110298166A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910510587.3A CN110298166A (en) 2019-06-13 2019-06-13 Control method, terminal device and the commissioning device of operating system debugging permission

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910510587.3A CN110298166A (en) 2019-06-13 2019-06-13 Control method, terminal device and the commissioning device of operating system debugging permission

Publications (1)

Publication Number Publication Date
CN110298166A true CN110298166A (en) 2019-10-01

Family

ID=68027926

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910510587.3A Pending CN110298166A (en) 2019-06-13 2019-06-13 Control method, terminal device and the commissioning device of operating system debugging permission

Country Status (1)

Country Link
CN (1) CN110298166A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110753051A (en) * 2019-10-22 2020-02-04 四川长虹电器股份有限公司 Outdoor intelligent advertising machine safety debugging system and debugging method
CN111177732A (en) * 2019-12-23 2020-05-19 杭州宇泛智能科技有限公司 System debugging mode control method and system and electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110753051A (en) * 2019-10-22 2020-02-04 四川长虹电器股份有限公司 Outdoor intelligent advertising machine safety debugging system and debugging method
CN111177732A (en) * 2019-12-23 2020-05-19 杭州宇泛智能科技有限公司 System debugging mode control method and system and electronic equipment

Similar Documents

Publication Publication Date Title
KR101673238B1 (en) Method, apparatus, electronic device, program and recording medium for connection management
CN110719166A (en) Chip burning method, chip burning device, chip burning system and storage medium
KR101281825B1 (en) Apparatus and method that enhance security using virtual interface in cloud system
JP2015092374A5 (en)
US20180018161A1 (en) Updating firmware at enterprise devices
CN111355684B (en) Internet of things data transmission method, device and system, electronic equipment and medium
CN101984575A (en) Method and device for protecting mobile terminal software
CN105701427B (en) A kind of method and device of smart card write-in data
CN104065482A (en) Method and device for improving terminalself-flashing safety through ciphertext handshaking
US9430638B2 (en) Authentication method, authentication apparatus and authentication device
CN106130808A (en) A kind of method and system of WIFI device upgrade
CN110298166A (en) Control method, terminal device and the commissioning device of operating system debugging permission
CN107104484B (en) Method and equipment for charging user equipment through charging device
CN107168699A (en) application program repairing method and terminal device
CN105141756A (en) Abnormity processing method and abnormity processing device
CN109688434A (en) Offline open a court session processing method, device, terminal, system and storage medium
WO2022257927A1 (en) Key burning method and apparatus, electronic device board card, and storage medium
CN111786820A (en) Firmware updating method and device and network equipment
CN110007956A (en) A kind of method and device of dynamic configuration log
CN104580652A (en) Mobile terminal and session authentication method based on DTMF (dual-tone multifrequency) for mobile terminal
CN102622254B (en) Television outage disposal route and system
CN110045969A (en) Application program installation method, server, system, device and storage medium
CN111680336B (en) Firmware safety protection method, device, system and equipment
CN107943622B (en) Standby operation and maintenance method, device and system
CN110446197B (en) Communication control method, device, equipment and storage medium of intelligent equipment

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