CN107402866A - The external equipment guard method of a kind of electronic equipment and electronic equipment - Google Patents

The external equipment guard method of a kind of electronic equipment and electronic equipment Download PDF

Info

Publication number
CN107402866A
CN107402866A CN201710547824.4A CN201710547824A CN107402866A CN 107402866 A CN107402866 A CN 107402866A CN 201710547824 A CN201710547824 A CN 201710547824A CN 107402866 A CN107402866 A CN 107402866A
Authority
CN
China
Prior art keywords
electronic equipment
connecting line
equipment
paragraph
line
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.)
Granted
Application number
CN201710547824.4A
Other languages
Chinese (zh)
Other versions
CN107402866B (en
Inventor
陈安然
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius 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 Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN201710547824.4A priority Critical patent/CN107402866B/en
Publication of CN107402866A publication Critical patent/CN107402866A/en
Application granted granted Critical
Publication of CN107402866B publication Critical patent/CN107402866B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3041Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is an input/output interface
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • G06F11/327Alarm or error message display
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/82Protecting input, output or interconnection devices
    • G06F21/85Protecting input, output or interconnection devices interconnection devices, e.g. bus-connected or in-line devices

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Mathematical Physics (AREA)
  • Telephone Function (AREA)

Abstract

The external equipment guard method of a kind of electronic equipment and electronic equipment, this method include:Detect whether the electronic equipment is moved;If the electronic equipment is moved, identify whether the electronic equipment connects external equipment in a wired fashion;If the electronic equipment connects external equipment in a wired fashion, judge whether the speed that the electronic equipment is moved reaches predetermined threshold value;If the speed that the electronic equipment is moved reaches predetermined threshold value, the electronic equipment is controlled to perform operation of warning.Implement the embodiment of the present invention, can avoid damaging the external equipment of electronic equipment wired connection.

Description

The external equipment guard method of a kind of electronic equipment and electronic equipment
Technical field
The present invention relates to technical field of electronic equipment, and in particular to the external equipment guard method of a kind of electronic equipment and electricity Sub- equipment.
Background technology
At present, the electronic equipment such as smart mobile phone, tablet personal computer has become the requirement of people's life, and earphone, charging Device etc. is the most common external equipment of the electronic equipments such as smart mobile phone, tablet personal computer.In daily life, user is in mobile electron If careless during equipment be used to connect electronic equipment and the connecting line (such as earphone cord, USB line) of external equipment is not unplugged, Easily cause connecting line to be pulled off, so as to injure external equipment.
The content of the invention
The embodiment of the invention discloses and the external equipment guard method of a kind of electronic equipment and electronic equipment, can avoid The external equipment of electronic equipment wired connection is damaged.
First aspect of the embodiment of the present invention discloses the external equipment guard method of a kind of electronic equipment, and methods described includes:
Detect whether the electronic equipment is moved;
If the electronic equipment is moved, identify the electronic equipment whether with connecting line connection external equipment;
If the electronic equipment connects external equipment with connecting line, judge whether is speed that the electronic equipment moved Reach predetermined threshold value;
If the speed that the electronic equipment is moved reaches predetermined threshold value, the electronic equipment is controlled to perform the behaviour that warns Make.
As an alternative embodiment, in first aspect of the embodiment of the present invention, the control electronic equipment Execution is warned after operation, and methods described also includes:
Control the electronic equipment to disconnect the connecting line between the external equipment to connect.
As an alternative embodiment, in first aspect of the embodiment of the present invention, the connecting line includes first paragraph Connecting line and second segment connecting line, the first end electrical connection electronic equipment of the first paragraph connecting line, and the second segment The first end of connecting line electrically connects the external equipment;The central area of the end face at the second end of the first paragraph connecting line is exposed There is male to transmit line terminals, and be laid with the end face at the second end of the first paragraph connecting line around the male transmission line The energization solenoid of the built-in iron core of terminal;The outside that the energization solenoid of the built-in iron core passes through the first paragraph connecting line Connecting line electrically connects the electronic equipment by the first end through the first paragraph connecting line, and the first paragraph connecting line is outer Transmission line where side connecting line transmits line terminals with the male is electrically isolated from one;Second end of the second segment connecting line The central area of end face is exposed to have female to transmit line terminals, and is laid with the end face at the second end of the second segment connecting line Around the iron-cobalt-nickel ring of female transmission line terminals, led in the energization solenoid of the built-in iron core by the electronic equipment When the outside connecting line for crossing the first paragraph connecting line is powered and produces magnetic field and attracted each other with the iron-cobalt-nickel ring, institute State that male transmission line terminals and the female transmission line terminals are identical to be contacted.
As an alternative embodiment, in first aspect of the embodiment of the present invention, the electronic equipment is controlled to disconnect Connecting line between the external equipment is connected, including:
Control the electronic equipment to disconnect to lead to the built-in iron core by the outside connection of the first paragraph connecting line Electrical solenoid is powered, with drive the energization solenoid of the built-in iron core stop produce magnetic field and with the iron-cobalt-nickel ring Separation so that the identical contact separation of the male transmission line terminals and female transmission line terminals, realize that the electronics is set The disconnection of the standby connecting line between the external equipment.
As an alternative embodiment, in first aspect of the embodiment of the present invention, the control electronic equipment Execution is warned operation, including:
Control the electronic equipment to perform warn operation, vibrations of buzzing and warn operation or audio is warned and any of operated Or several operations of warning.
Second aspect of the embodiment of the present invention discloses a kind of electronic equipment, and the electronic equipment includes:
Detection unit, for detecting whether the electronic equipment is moved;
Recognition unit, for when the detection unit detects that the electronic equipment is moved, identifying that the electronics is set For whether with connecting line connection external equipment;
Judging unit, for the recognition unit identify the electronic equipment with connecting line connect external equipment when, Judge whether the speed that the electronic equipment is moved reaches predetermined threshold value;
First control unit, for judging that the speed that the electronic equipment is moved reaches default in the judging unit During threshold value, the electronic equipment is controlled to perform operation of warning.
As an alternative embodiment, in second aspect of the embodiment of the present invention, in addition to:
Second control unit, after controlling the electronic equipment to perform operation of warning in first control unit, Control the electronic equipment to disconnect the connecting line between the external equipment to connect.
As an alternative embodiment, in first aspect of the embodiment of the present invention, the connecting line includes first paragraph Connecting line and second segment connecting line, the first end electrical connection electronic equipment of the first paragraph connecting line, and the second segment The first end of connecting line electrically connects the external equipment;The central area of the end face at the second end of the first paragraph connecting line is exposed There is male to transmit line terminals, and be laid with the end face at the second end of the first paragraph connecting line around the male transmission line The energization solenoid of the built-in iron core of terminal;The outside that the energization solenoid of the built-in iron core passes through the first paragraph connecting line Connecting line electrically connects the electronic equipment by the first end through the first paragraph connecting line, and the first paragraph connecting line is outer Transmission line where side connecting line transmits line terminals with the male is electrically isolated from one;Second end of the second segment connecting line The central area of end face is exposed to have female to transmit line terminals, and is laid with the end face at the second end of the second segment connecting line Around the iron-cobalt-nickel ring of female transmission line terminals, led in the energization solenoid of the built-in iron core by the electronic equipment When the outside connecting line for crossing the first paragraph connecting line is powered and produces magnetic field and attracted each other with the iron-cobalt-nickel ring, institute State that male transmission line terminals and the female transmission line terminals are identical to be contacted.
As an alternative embodiment, in first aspect of the embodiment of the present invention, the second control unit control The electronic equipment disconnects the mode connected the connecting line between the external equipment:
Second control unit controls the electronic equipment to disconnect the outside connection pair by the first paragraph connecting line The energization solenoid of the built-in iron core is powered, with drive the energization solenoid of the built-in iron core stop produce magnetic field and Separated with the iron-cobalt-nickel ring so that the identical contact point of the male transmission line terminals and female transmission line terminals From realizing the disconnection of the connecting line between the electronic equipment and the external equipment.
As an alternative embodiment, in first aspect of the embodiment of the present invention, the first control unit control The mode that the electronic equipment performs operation of warning is specially:
First control unit controls the electronic equipment to perform warn operation, vibrations of buzzing and warns and operate or audio shows Any of alert operation or several operations of warning.
The third aspect of the embodiment of the present invention discloses a kind of electronic equipment, including:
It is stored with the memory of executable program code;
The processor coupled with the memory;
The processor calls the executable program code stored in the memory, performs the embodiment of the present invention the The external equipment guard method of the electronic equipment disclosed in one side.
Fourth aspect of the embodiment of the present invention discloses a kind of computer-readable recording medium, and it stores computer program, wherein, The computer program causes computer to perform the external equipment of the electronic equipment disclosed in first aspect of the embodiment of the present invention Guard method.
Compared with prior art, the embodiment of the present invention has the advantages that:
In the embodiment of the present invention, when detecting that electronic equipment is moved, electronic equipment can be identified whether with connecting line External equipment is connected, if electronic equipment connects external equipment with connecting line, it can be determined that the speed that electronic equipment is moved is It is no to reach predetermined threshold value, if the speed that electronic equipment is moved reaches predetermined threshold value, it can be performed and warned with control electronics Operation.It can be seen that implement the embodiment of the present invention, can prevent user in mobile electronic device it is careless will be used to connecting electronics set The standby and connecting line of external equipment (such as earphone cord, USB line) is pulled up and causes connecting line to be pulled off, so as to avoid to electronics The external equipment of equipment wired connection damages.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, it will use below required in embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for ability For the those of ordinary skill of domain, on the premise of not paying creative work, it can also be obtained according to these accompanying drawings other attached Figure.
Fig. 1 is the schematic flow sheet of the external equipment guard method of a kind of electronic equipment disclosed in the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of the external equipment guard method of another electronic equipment disclosed in the embodiment of the present invention;
Fig. 3 is the schematic diagram that a kind of electronic equipment disclosed in the embodiment of the present invention connects external equipment by connecting line;
Fig. 4 is the second end x2 of first paragraph connecting line a disclosed in embodiment of the present invention end view;
Fig. 5 is the second end y2 of second segment connecting line b disclosed in embodiment of the present invention end view;
Fig. 6 is the structural representation of a kind of electronic equipment disclosed in the embodiment of the present invention;
Fig. 7 is the structural representation of another electronic equipment disclosed in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.Based on this Embodiment in invention, the every other reality that those of ordinary skill in the art are obtained under the premise of creative work is not made Example is applied, belongs to the scope of protection of the invention.
It should be noted that term " comprising " and " having " and their any changes in the embodiment of the present invention and accompanying drawing Shape, it is intended that cover non-exclusive include.Such as contain the process of series of steps or unit, method, system, product or The step of equipment is not limited to list or unit, but alternatively also include the step of not listing or unit, or it is optional Ground is also included for the intrinsic other steps of these processes, method, product or equipment or unit.
The embodiment of the invention discloses and the external equipment guard method of a kind of electronic equipment and electronic equipment, can avoid The external equipment of electronic equipment wired connection is damaged.It is described in detail individually below.
Embodiment one
Referring to Fig. 1, Fig. 1 is the flow of the external equipment guard method of a kind of electronic equipment disclosed in the embodiment of the present invention Schematic diagram.Wherein, the external equipment guard method of the electronic equipment described by Fig. 1 can suitable for smart mobile phone, tablet personal computer etc. To connect the electronic equipment of external equipment by connecting line (such as earphone cord, USB line), the embodiment of the present invention does not limit.Wherein, The operating system of electronic equipment may include but be not limited to Android operation system, IOS, Symbian (Saipan) operations System, Black Berry (blackberry, blueberry) operating system, Windows Phone8 operating systems etc., the embodiment of the present invention does not limit It is fixed.As shown in figure 1, the external equipment guard method of the electronic equipment may comprise steps of:
101st, whether electronic equipment detection electronic equipment is moved, if electronic equipment is moved, performs step 102;Such as Fruit electronic equipment is un-shifted, terminates this flow.
In the embodiment of the present invention, electronic equipment can detect whether electronic equipment is moved using acceleration transducer, If electronic equipment is moved, step 102 is performed;If electronic equipment is un-shifted, terminate this flow.
102nd, whether electronic equipment identification electronic equipment is with connecting line connection external equipment, if electronic equipment is with connecting line External equipment is connected, performs step 103;If electronic equipment does not connect external equipment with connecting line, terminate this flow.
103rd, electronic equipment judges whether the speed that electronic equipment is moved reaches predetermined threshold value, if electronic equipment is moved Dynamic speed reaches predetermined threshold value, performs step 104;If the speed that electronic equipment is moved is not up to predetermined threshold value, terminate This flow.
104th, electronic equipment control electronics perform operation of warning.
As an alternative embodiment, the mode that electronic equipment control electronics perform operation of warning can be:
Electronic equipment control electronics perform buzzing warn operation, vibrations warn operation or audio warn operation in times One or more are warned operation, and the embodiment of the present invention is not construed as limiting.
In the method described by Fig. 1, when detecting that electronic equipment is moved, electronic equipment can be identified whether with even Wiring connects external equipment, if electronic equipment connects external equipment with connecting line, it can be determined that the speed that electronic equipment is moved Whether degree reaches predetermined threshold value, if the speed that electronic equipment is moved reaches predetermined threshold value, can be performed with control electronics Warn operation.It can be seen that implementing in the method described by Fig. 1, it can prevent user is careless in mobile electronic device will be used for The connecting line (such as earphone cord, USB line) of connection electronic equipment and external equipment is pulled up and causes connecting line to be pulled off, so as to Avoid damaging the external equipment of electronic equipment wired connection.
Embodiment two
Referring to Fig. 2, Fig. 2 is the stream of the external equipment guard method of another electronic equipment disclosed in the embodiment of the present invention Journey schematic diagram.As shown in Fig. 2 the external equipment guard method of the electronic equipment may comprise steps of:
201st, whether electronic equipment detection electronic equipment is moved, if electronic equipment is moved, performs step 202;Such as Fruit electronic equipment is un-shifted, terminates this flow.
In the embodiment of the present invention, electronic equipment can detect whether electronic equipment is moved using acceleration transducer, If electronic equipment is moved, step 202 is performed;If electronic equipment is un-shifted, terminate this flow.
202nd, whether electronic equipment identification electronic equipment is with connecting line connection external equipment, if electronic equipment is with connecting line External equipment is connected, performs step 203;If electronic equipment does not connect external equipment with connecting line, terminate this flow.
203rd, electronic equipment judges whether the speed that electronic equipment is moved reaches predetermined threshold value, if electronic equipment is moved Dynamic speed reaches predetermined threshold value, performs step 204;If the speed that electronic equipment is moved is not up to predetermined threshold value, terminate This flow.
204th, electronic equipment control electronics perform operation of warning.
As an alternative embodiment, the mode that electronic equipment control electronics perform operation of warning can be:
Electronic equipment control electronics perform buzzing warn operation, vibrations warn operation or audio warn operation in times One or more are warned operation, and the embodiment of the present invention is not construed as limiting.
205th, the connecting line that electronic equipment control electronics are disconnected between external equipment connects.
Also referring to Fig. 3, Fig. 3 is that a kind of electronic equipment disclosed in the embodiment of the present invention connects external set by connecting line Standby schematic diagram.As shown in figure 3, connecting line includes first paragraph connecting line a and second segment connecting line b, the of first paragraph connecting line a One end x1 electrically connects electronic equipment, and second segment connecting line b first end y1 electrically connects external equipment;First paragraph connecting line a's Second end x2 electrically connects with second segment connecting line b the second end y2.
Also referring to Fig. 4, the end face that Fig. 4 is the second end x2 of first paragraph connecting line a disclosed in the embodiment of the present invention shows It is intended to.There is male to transmit line terminals s1 as shown in figure 4, the central area of first paragraph connecting line a the second end x2 end face is exposed, And the energization of the built-in iron core around male transmission line terminals s1 is laid with first paragraph connecting line a the second end x2 end face Solenoid s2;Wherein, the outside connecting line (not shown) that the energization solenoid s2 of built-in iron core passes through first paragraph connecting line a Electronic equipment, and first paragraph connecting line a outside connecting line and male are electrically connected by the first end x1 through first paragraph connecting line a Transmission line where transmitting line terminals s1 is electrically isolated from one.
Please refer to fig. 5, the end face that Fig. 5 is the second end y2 of second segment connecting line b disclosed in the embodiment of the present invention shows It is intended to.There is female to transmit line terminals s3 as shown in figure 5, the central area of second segment connecting line b the second end y2 end face is exposed, And the iron-cobalt-nickel ring s4 around female transmission line terminals s3 is laid with second segment connecting line b the second end y2 end face, It is powered in the energization solenoid s2 of built-in iron core by electronic equipment by first paragraph connecting line a outside connecting line to produce When magnetic field attracts each other with iron-cobalt-nickel ring s4, male transmission line terminals s1 coincide with female transmission line terminals s3 to be contacted.
On the basis of shown in Fig. 3~Fig. 5, in above-mentioned steps 205, electronic equipment control electronics disconnect to be set with external The mode of connecting line connection between standby can be:
Electronic equipment can be disconnected with control electronics to be led to by first paragraph connecting line a outside connection to built-in iron core Electrical solenoid s2 is powered, and is divided with driving the energization solenoid s2 of built-in iron core to stop generation magnetic field with iron-cobalt-nickel ring s4 From the identical contact separation that so that male transmits line terminals s1 and female transmission line terminals s3, so as to realize electronic equipment with it is outer Connect the disconnection of the connecting line between equipment.
In daily life, it is connected when user needs to carry out connecting line between electronic equipment and external equipment (such as charger) When, first paragraph connecting line a first end x1 first can be electrically connected electronic equipment by user, and now electronic equipment can pass through first Section connecting line a outside connecting line on first paragraph connecting line a the second end x2 end face to laying around male transmission line end The energization solenoid s2 of sub- s1 built-in iron core is powered so that the energization solenoid s2 of built-in iron core can produce magnetic field; On this basis, user can electrically connect second segment connecting line b first end y1 external equipment, and by second segment connecting line B the second end y2 end face is close to first paragraph connecting line a the second end x2 end face, such first paragraph connecting line a the second end The energization solenoid s2 for the built-in iron core around male transmission line terminals s1 laid on x2 end face can connect with second segment The iron-cobalt-nickel ring s4 around female transmission line terminals s3 laid on line b the second end y2 end face attracts each other so that Male transmits that line terminals s1 and female transmission line terminals s3 are identical to be contacted, to form transmission line, realize electronic equipment with it is external Normal transmission between equipment.
It can be seen that implementing in the method described by Fig. 2, it can prevent user is careless in mobile electronic device will be used to connect The connecting line (such as earphone cord, USB line) for connecing electronic equipment and external equipment is pulled up and causes connecting line to be pulled off, so as to keep away Exempt to damage the external equipment of electronic equipment wired connection.
Embodiment three
Referring to Fig. 6, Fig. 6 is the structural representation of a kind of electronic equipment disclosed in the embodiment of the present invention.As shown in fig. 6, The electronic equipment can include:
Detection unit 601, for detecting whether electronic equipment is moved;
Recognition unit 602, for when detection unit 601 detects that electronic equipment is moved, whether identification electronic equipment External equipment is connected with connecting line;
Judging unit 603, for when recognition unit 602 identifies that electronic equipment connects external equipment with connecting line, sentencing Whether the speed that disconnected electronic equipment is moved reaches predetermined threshold value;
First control unit 604, for judging that the speed that electronic equipment is moved reaches default threshold in judging unit 603 During value, control electronics perform operation of warning.
As an alternative embodiment, the electronic equipment shown in Fig. 6 can also include:
Second control unit 605, after performing operation of warning in the control electronics of the first control unit 604, control The connecting line that electronic equipment processed is disconnected between external equipment connects.
Also referring to Fig. 3, Fig. 3 is that a kind of electronic equipment disclosed in the embodiment of the present invention connects external set by connecting line Standby schematic diagram.As shown in figure 3, connecting line includes first paragraph connecting line a and second segment connecting line b, the of first paragraph connecting line a One end x1 electrically connects electronic equipment, and second segment connecting line b first end y1 electrically connects external equipment;First paragraph connecting line a's Second end x2 electrically connects with second segment connecting line b the second end y2.
Also referring to Fig. 4, the end face that Fig. 4 is the second end x2 of first paragraph connecting line a disclosed in the embodiment of the present invention shows It is intended to.There is male to transmit line terminals s1 as shown in figure 4, the central area of first paragraph connecting line a the second end x2 end face is exposed, And the energization of the built-in iron core around male transmission line terminals s1 is laid with first paragraph connecting line a the second end x2 end face Solenoid s2;Wherein, the outside connecting line (not shown) that the energization solenoid s2 of built-in iron core passes through first paragraph connecting line a Electronic equipment, and first paragraph connecting line a outside connecting line and male are electrically connected by the first end x1 through first paragraph connecting line a Transmission line where transmitting line terminals s1 is electrically isolated from one.
Please refer to fig. 5, the end face that Fig. 5 is the second end y2 of second segment connecting line b disclosed in the embodiment of the present invention shows It is intended to.There is female to transmit line terminals s3 as shown in figure 5, the central area of second segment connecting line b the second end y2 end face is exposed, And the iron-cobalt-nickel ring s4 around female transmission line terminals s3 is laid with second segment connecting line b the second end y2 end face, It is powered in the energization solenoid s2 of built-in iron core by electronic equipment by first paragraph connecting line a outside connecting line to produce When magnetic field attracts each other with iron-cobalt-nickel ring s4, male transmission line terminals s1 coincide with female transmission line terminals s3 to be contacted.
On the basis of shown in Fig. 3~Fig. 5, the control electronics of the second control unit 605 are disconnected between external equipment Connecting line connection mode can be:
Second control unit 605 can be disconnected with control electronics connects s3 to interior by first paragraph connecting line a outside The energization solenoid s2 for putting iron core is powered, with drive the energization solenoid s2 of built-in iron core stop produce magnetic field and with iron cobalt Nickel ring s4 is separated so that male transmits line terminals s1 and female transmission line terminals s3 identical contact separation, so as to realize electricity The disconnection of connecting line between sub- equipment and external equipment.
In the embodiment of the present invention, the first control unit 604 can with control electronics perform buzzing warn operation, shake show Any of operation that police is operated or audio is warned or several operations of warning, the embodiment of the present invention are not construed as limiting.
Example IV
Referring to Fig. 7, Fig. 7 is the structural representation of another electronic equipment disclosed in the embodiment of the present invention.Such as Fig. 7 institutes Show, the electronic equipment can also include:
It is stored with the memory 701 of executable program code;
The processor 702 coupled with memory 701;
Wherein, processor 702 calls the executable program code stored in memory 701, and it is any to perform Fig. 1~Fig. 2 The external equipment guard method of electronic equipment.
It should be noted that electronic equipment shown in Fig. 7 can also include Peripheral Interface (such as earphone interface, USB interface), Not shown group of power supply, input button, camera, loudspeaker, screen, RF circuits, Wi-Fi module, bluetooth module, sensor etc. Part, the present embodiment do not repeat.
The embodiment of the present invention discloses a kind of computer-readable recording medium, and it stores computer program, wherein, the computer Program causes computer to perform the external equipment guard method of any electronic equipments of Fig. 1~Fig. 2.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can To instruct the hardware of correlation to complete by program, the program can be stored in a computer-readable recording medium, storage Medium include read-only storage (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), programmable read only memory (Programmable Read-only Memory, PROM), erasable programmable is read-only deposits Reservoir (Erasable Programmable Read Only Memory, EPROM), disposable programmable read-only storage (One- Time Programmable Read-Only Memory, OTPROM), the electronics formula of erasing can make carbon copies read-only storage (Electrically-Erasable Programmable Read-Only Memory, EEPROM), read-only optical disc (Compact Disc Read-Only Memory, CD-ROM) or other disk storages, magnetic disk storage, magnetic tape storage or can For carrying or any other computer-readable medium of data storage.
The external equipment guard method of a kind of electronic equipment disclosed in the embodiment of the present invention and electronic equipment are carried out above It is discussed in detail, specific case used herein is set forth to the principle and embodiment of the present invention, above example Explanation be only intended to help understand the present invention method and its core concept;Meanwhile for those of ordinary skill in the art, According to the thought of the present invention, there will be changes in specific embodiments and applications, in summary, in this specification Appearance should not be construed as limiting the invention.

Claims (10)

1. the external equipment guard method of a kind of electronic equipment, it is characterised in that methods described includes:
Detect whether the electronic equipment is moved;
If the electronic equipment is moved, identify the electronic equipment whether with connecting line connection external equipment;
If the electronic equipment connects external equipment with connecting line, judge whether the speed that the electronic equipment is moved reaches Predetermined threshold value;
If the speed that the electronic equipment is moved reaches predetermined threshold value, the electronic equipment is controlled to perform operation of warning.
2. external equipment guard method according to claim 1, it is characterised in that the control electronic equipment performs Warn after operation, methods described also includes:
Control the electronic equipment to disconnect the connecting line between the external equipment to connect.
3. external equipment guard method according to claim 2, it is characterised in that the connecting line connects including first paragraph Line and second segment connecting line, the first end of the first paragraph connecting line electrically connects the electronic equipment, and the second segment connects The first end of line electrically connects the external equipment;The central area of the end face at the second end of the first paragraph connecting line is exposed have it is convex Formula transmits line terminals, and is laid with the end face at the second end of the first paragraph connecting line and transmits line terminals around the male Built-in iron core energization solenoid;The energization solenoid of the built-in iron core is connected by the outside of the first paragraph connecting line Line electrically connects the electronic equipment by the first end through the first paragraph connecting line, and connects on the outside of the first paragraph connecting line Transmission line where wiring transmits line terminals with the male is electrically isolated from one;The end face at the second end of the second segment connecting line Central area it is exposed there is female to transmit line terminals, and be laid with and surround on the end face at the second end of the second segment connecting line The iron-cobalt-nickel ring of the female transmission line terminals, passes through institute in the energization solenoid of the built-in iron core by the electronic equipment It is described convex when the outside connecting line for stating first paragraph connecting line is powered and produces magnetic field and attracted each other with the iron-cobalt-nickel ring Formula transmission line terminals are coincide with female transmission line terminals to be contacted.
4. external equipment guard method according to claim 3, it is characterised in that control the electronic equipment disconnection and institute The connecting line connection between external equipment is stated, including:
The electronic equipment is controlled to disconnect the energization spiral shell connected by the outside of the first paragraph connecting line to the built-in iron core Spool is powered, and is divided with driving the energization solenoid of the built-in iron core to stop generation magnetic field with the iron-cobalt-nickel ring From so that the identical contact separation of the male transmission line terminals and female transmission line terminals, realize the electronic equipment The disconnection of connecting line between the external equipment.
5. the external equipment guard method according to any one of Claims 1 to 4, it is characterised in that the control electricity Sub- equipment performs operation of warning, including:
Control the electronic equipment to perform warn operation, vibrations of buzzing and warn operation or audio is warned and any of operated or several Plant operation of warning.
6. a kind of electronic equipment, it is characterised in that the electronic equipment includes:
Detection unit, for detecting whether the electronic equipment is moved;
Recognition unit, for when the detection unit detects that the electronic equipment is moved, identifying that the electronic equipment is It is no that external equipment is connected with connecting line;
Judging unit, for when the recognition unit identifies that the electronic equipment connects external equipment with connecting line, judging Whether the speed that the electronic equipment is moved reaches predetermined threshold value;
First control unit, for judging that the speed that the electronic equipment is moved reaches predetermined threshold value in the judging unit When, control the electronic equipment to perform operation of warning.
7. electronic equipment according to claim 1, it is characterised in that also include:
Second control unit, after controlling the electronic equipment to perform operation of warning in first control unit, control The connecting line that the electronic equipment is disconnected between the external equipment connects.
8. electronic equipment according to claim 7, it is characterised in that the connecting line includes first paragraph connecting line and second Section connecting line, the first end electrical connection electronic equipment of the first paragraph connecting line, and the first of the second segment connecting line End electrically connects the external equipment;The central area of the end face at the second end of the first paragraph connecting line is exposed male transmission line Terminal, and the built-in iron around male transmission line terminals is laid with the end face at the second end of the first paragraph connecting line The energization solenoid of core;The energization solenoid of the built-in iron core is by the outside connecting line of the first paragraph connecting line by through institute The first end for stating first paragraph connecting line electrically connects the electronic equipment, and the outside connecting line of the first paragraph connecting line and institute Transmission line where stating male transmission line terminals is electrically isolated from one;The center of the end face at the second end of the second segment connecting line Domain is exposed to have female to transmit line terminals, and is laid with the end face at the second end of the second segment connecting line around the female The iron-cobalt-nickel ring of line terminals is transmitted, the first paragraph is passed through by the electronic equipment in the energization solenoid of the built-in iron core When the outside connecting line of connecting line is powered and produces magnetic field and the iron-cobalt-nickel ring and attract each other, the male transmission line Terminal coincide with female transmission line terminals to be contacted.
9. electronic equipment according to claim 8, it is characterised in that second control unit controls the electronic equipment Disconnecting the mode connected the connecting line between the external equipment is specially:
Second control unit controls the electronic equipment to disconnect and connected by the outside of the first paragraph connecting line to described The energization solenoid of built-in iron core is powered, with drive the energization solenoid of the built-in iron core stop produce magnetic field and with institute State the separation of iron-cobalt-nickel ring so that the identical contact separation of the male transmission line terminals and female transmission line terminals, it is real The disconnection of existing connecting line between the electronic equipment and the external equipment.
10. according to the electronic equipment described in any one of Claims 1 to 4, it is characterised in that first control unit controls institute State electronic equipment and perform the mode of operation of warning and be specially:
First control unit controls the electronic equipment to perform warn operation, vibrations of buzzing and warns and operate or audio is warned behaviour Any of work or several operations of warning.
CN201710547824.4A 2017-07-06 2017-07-06 External equipment protection method of electronic equipment and electronic equipment Active CN107402866B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710547824.4A CN107402866B (en) 2017-07-06 2017-07-06 External equipment protection method of electronic equipment and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710547824.4A CN107402866B (en) 2017-07-06 2017-07-06 External equipment protection method of electronic equipment and electronic equipment

Publications (2)

Publication Number Publication Date
CN107402866A true CN107402866A (en) 2017-11-28
CN107402866B CN107402866B (en) 2020-11-03

Family

ID=60404982

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710547824.4A Active CN107402866B (en) 2017-07-06 2017-07-06 External equipment protection method of electronic equipment and electronic equipment

Country Status (1)

Country Link
CN (1) CN107402866B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN204706725U (en) * 2015-05-13 2015-10-14 李陶 A kind of charging data line
CN105007356A (en) * 2015-07-30 2015-10-28 Tcl移动通信科技(宁波)有限公司 Method and system for preventing battery output current from being hopped and mobile terminal
CN105825153A (en) * 2016-03-17 2016-08-03 广东欧珀移动通信有限公司 Method and device for protecting mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN204706725U (en) * 2015-05-13 2015-10-14 李陶 A kind of charging data line
CN105007356A (en) * 2015-07-30 2015-10-28 Tcl移动通信科技(宁波)有限公司 Method and system for preventing battery output current from being hopped and mobile terminal
CN105825153A (en) * 2016-03-17 2016-08-03 广东欧珀移动通信有限公司 Method and device for protecting mobile terminal

Also Published As

Publication number Publication date
CN107402866B (en) 2020-11-03

Similar Documents

Publication Publication Date Title
CN107465240B (en) A kind of intelligent movable power supplies and the method for carrying out usb data communication with it
US10373457B2 (en) Merchandise security system with optical communication
US10978920B2 (en) Assisting wireless transfer of power to a machine
US20170179741A1 (en) Charging Control Method and Apparatus
WO2015113463A1 (en) Power adapter, terminal, and method for processing impedance exception of charging loop
CN105207687B (en) The Communication Jamming of wireless charger receiver side is eliminated
JP2006302733A (en) Battery pack and its connection system
US10693320B2 (en) Wireless charging
KR20140120699A (en) Control Method for Charging and Electronic Device, and Charging Device supporting the same
CN106264910B (en) A kind of general electric wheelchair control system
CN204916202U (en) Unmanned vehicles's protector , Protection system and unmanned vehicles
CN111817380B (en) Charger, data line, charging equipment and electronic equipment
CN112152276B (en) Abnormality detection method and apparatus, and storage medium
CN112803539B (en) Charging method and related equipment
CN105449737A (en) Cable installment type charging control device and method of operating the same
CN104617643A (en) Charging method, equipment to be charged, power supply equipment and charging system
CN106374152A (en) Battery abnormity processing method, device and system and mobile terminal
US20180075734A1 (en) Powering Peripheral Devices
CN107402866A (en) The external equipment guard method of a kind of electronic equipment and electronic equipment
KR101462120B1 (en) Method and system for wireless power charging for portable device and battery operated thereof
CN105896677B (en) The management method and device of battery charging
CN112039150A (en) Charging control method and device, computer readable storage medium and electronic device
GB2553778A (en) Powering peripheral devices
CN107707001A (en) A kind of wireless charging method, device, mobile terminal containment vessel and mobile terminal
CN103391352A (en) Fingerprint recognition and alarm mobile terminal

Legal Events

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